The content of the invention
In view of the above problems, the embodiment of the present invention provides a kind of solution above-mentioned technical problem or partial solution
The method that sub-audio signal is transmitted in the talkback system and talkback system of above-mentioned technical problem, to reduce
Cost, and it is easy to the frequency of the used sub-audio signal of change.
Wherein one side of the invention, a kind of talkback system provided in an embodiment of the present invention, including
Transmitting terminal intercom and receiving terminal intercom, the transmitting terminal intercom are included:
Transmitting terminal radio station mainboard and transmitting terminal option plate, wherein the transmitting terminal option plate is included:
First memory cell, the program of sub-audio signal is sent for storing;
First central processing unit, performs the program for sending sub-audio signal, for:
The sub-audio signal for sending is sampled according to preset frequency;
The data that sampling is obtained are quantified;
Transmitting terminal radio station mainboard is sent to after the data for quantifying to obtain are carried out into digital coding;
The receiving terminal intercom is included:
End radio station mainboard and receiving terminal option plate are picked, wherein the receiving terminal option plate is included:
Second memory cell, the program of sub-audio signal is received for storing;
Second central processing unit, performs the program for receiving sub-audio signal, for:
The digital encoded data for obtaining will be received from receiving terminal radio station mainboard and enters row decoding;
The data that obtain will be decoded carry out LPF and obtain sub-audio signal.
Wherein, first is provided between the transmitting terminal option plate and transmitting terminal radio station mainboard predetermined logical
Letter interface, the transmitting terminal option plate is sent digital encoded data by the described first predetermined communication interface
Give transmitting terminal radio station mainboard.
Wherein, the described first predetermined communication interface is synchronous serial interface.
Wherein, transmitting terminal radio station mainboard is included:
Check code module, for the digital encoded data that is sended over to the transmitting terminal option plate according to
Verification rule generation check code data;
Error Correction of Coding module, for the check code data to be generated into Error Correction of Coding number according to error-correction rule
According to;
Interweaving encoding module, for the error correction encoded data to be interleaved into coding;
D/A converter module, the data for interweaving encoding to be obtained carry out digital-to-analogue conversion;
Frequency modulation modulation module, the data for digital-to-analogue conversion to be obtained carry out frequency modulation modulation and send.
Wherein, second is provided between the receiving terminal option plate and receiving terminal radio station mainboard predetermined logical
Letter interface, the receiving terminal option plate is by the described second predetermined communication interface from the receiving terminal radio station master
Plate receives digital encoded data.
Wherein, the described second predetermined communication interface is synchronous serial interface.
Wherein, the end radio station mainboard of picking includes:
Fm demodulation module, the frequency modulation modulation data for being sent to transmitting terminal carries out fm demodulation;
Verification decoder module, the data for being obtained to fm demodulation carry out verification decoding according to verification rule;
Error correction decoding module, for carrying out error correction decoding according to error-correction rule to the data that verification decoding is obtained;
Trellis decoded module, for being interleaved decoding to the data that error correction decoding is obtained;
Analog-to-digital conversion module, the data for trellis decoded to be obtained carry out analog-to-digital conversion and obtain digital coding
Data.
Wherein, the digital coding uses pulse code modulation pcm encoder, and the decoding uses pulse
Coded modulation PCM is decoded.
Wherein one side of the invention, it is provided in an embodiment of the present invention a kind of for above-mentioned intercom system
The transmitting terminal option plate of system, it includes:
First memory cell, the program of sub-audio signal is sent for storing;
Central processing unit, performs the program for sending sub-audio signal, for:
The sub-audio signal for sending is sampled according to preset frequency;
The data that sampling is obtained are quantified;
Talkback system transmitting terminal radio station is sent to after the data for quantifying to obtain are carried out into binary digital encoding
Mainboard.
Wherein one side of the invention, it is provided in an embodiment of the present invention a kind of for above-mentioned intercom system
The receiving terminal option plate of system, it includes:
Second memory cell, the program of sub-audio signal is received for storing;
Central processing unit, performs described program, for:
The binary digital encoding data sent from talkback system receiving terminal radio station mainboard are translated
Code;
The data that obtain will be decoded carry out LPF and obtain sub-audio signal.
Wherein one side, a kind of above-mentioned intercom of Yushan Hill provided in an embodiment of the present invention of the invention
The transmitting terminal intercom of system, including transmitting terminal radio station mainboard, in addition, also include transmitting terminal option plate,
The transmitting terminal option plate is included:
First memory cell, the program of sub-audio signal is sent for storing;
Central processing unit, performs the program for sending sub-audio signal, for:
The sub-audio signal for sending is sampled according to preset frequency;
The data that sampling is obtained are quantified;
Transmitting terminal radio station mainboard is sent to after the data for quantifying to obtain are carried out into binary digital encoding.
Wherein one side of the invention, it is provided in an embodiment of the present invention a kind of for above-mentioned intercom system
The receiving terminal intercom of system, including end radio station mainboard is picked, receiving terminal option plate is additionally included, it is described
Receiving terminal option plate is included:
Second memory cell, the program of sub-audio signal is received for storing;
Central processing unit, performs described program, for:
The binary digital encoding data for obtaining will be received from receiving terminal radio station mainboard and enters row decoding;
The data that obtain will be decoded carry out LPF and obtain sub-audio signal.
Wherein one side of the invention, it is provided in an embodiment of the present invention a kind of in talkback system
The method for transmitting sub-audio signal, methods described includes the step that transmitting terminal option plate sends sub-audio signal
The step of rapid and receiving terminal option plate receives sub-audio signal, wherein:
The step of transmitting terminal option plate sends sub-audio signal includes:
First central processing unit reads the program of the transmission sub-audio signal of storage;
First central processing unit performs the program for sending sub-audio signal and specifically performs following steps:
The sub-audio signal for sending is sampled according to preset frequency;
The data that sampling is obtained are quantified;
Transmitting terminal radio station mainboard is sent to after the data for quantifying to obtain are carried out into digital coding;
The step of receiving terminal option plate receives sub-audio signal includes:
Second central processing unit reads the program of the reception sub-audio signal of storage;
Second central processing unit performs the program for receiving sub-audio signal and specifically performs following steps:
The digital encoded data for obtaining will be received from receiving terminal radio station mainboard and enters row decoding;
The data that obtain will be decoded carry out LPF and obtain sub-audio signal.
In addition, also including the step of transmitting terminal radio station mainboard sends sub-audio signal:
Receive the digital encoded data that the transmitting terminal option plate is sended over
The digital encoded data sended over to the transmitting terminal option plate is compiled according to verification rule generation verification
Code data;
The check code data are generated into error correction encoded data according to error-correction rule;
The error correction encoded data is interleaved coding;
The data that interweaving encoding is obtained carry out digital-to-analogue conversion;
The data that digital-to-analogue conversion is obtained carry out frequency modulation modulation and send.
In addition, also including the step of receiving terminal radio station mainboard receives sub-audio signal:
Fm demodulation is carried out to the frequency modulation modulation data that transmitting terminal radio station mainboard is sent;
The data obtained to fm demodulation carry out verification decoding according to verification rule;
Error correction decoding is carried out according to error-correction rule to the data that verification decoding is obtained;
Decoding is interleaved to the data that error correction decoding is obtained;
The data that trellis decoded is obtained carry out analog-to-digital conversion and obtain digital encoded data.
Sub-audio signal is transmitted in the talkback system and talkback system that provide according to embodiments of the present invention
Transmitting terminal intercom in method, wherein talkback system is included:Transmitting terminal radio station mainboard and transmitting terminal
Option plate, wherein the transmitting terminal option plate is included:First memory cell, subsonics is sent for storing
The program of frequency signal;First central processing unit, performs the program for sending sub-audio signal, for
The sub-audio signal for sending is sampled according to preset frequency;The data that sampling is obtained are quantified;
Transmitting terminal radio station mainboard is sent to after the data for quantifying to obtain are carried out into digital coding;And receiving terminal intercom
Include:And end radio station mainboard and receiving terminal option plate are picked, wherein the receiving terminal option plate is included:
Second memory cell, the program of sub-audio signal is received for storing;Second central processing unit, performs institute
The program for receiving sub-audio signal is stated, for the digital coding for obtaining will be received from receiving terminal radio station mainboard
Data enter row decoding;The data that obtain will be decoded carry out LPF and obtain sub-audio signal, due to that can lead to
Cross transmitting terminal option plate perform send sub-audio signal program carry out the sampling of sub-audio signal, quantization,
Coding etc., and receiving terminal option plate perform receive sub-audio signal program carry out sub-audio signal decoding,
Filtering etc., you can by software without special infrasonic coding and decoding chip and the hardware circuit of cooperation
The transmission of sub-audio signal is carried out, therefore, cost needed for the present invention is smaller, and can also pass through in the present invention
Change the software program of execution in transmitting terminal option plate and receiving terminal option plate and easily change what is used
The frequency of sub-audio signal.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the invention, and
It is not all, of embodiment.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained
Every other embodiment, belongs to the scope of protection of the invention.
With reference to Fig. 1, the figure is a kind of talkback system according to the specific embodiment of the invention, and it includes hair
Sending end intercom 1 and receiving terminal intercom 2, wherein transmitting terminal intercom 1 are included:Transmitting terminal radio station
Mainboard 11 and transmitting terminal option plate 12, wherein option plate (including transmitting terminal option plate and receiving terminal option
Plate) it is optional plate that each intercom producer is set, can be realized by option plate various specific
Function and application, and the interface that radio station mainboard can provide standard is realized corresponding function and is answered for option plate
With;
When implementing, the transmitting terminal option plate 12 of the present embodiment is included:
First memory cell 121, the program of sub-audio signal is sent for storing;
First central processing unit 122, performs the program for sending sub-audio signal, for:
The sub-audio signal for sending is sampled according to preset frequency, in practice, sampling is in this step
Analog signal with the frequency abstraction sample value of more than 2 times of its signal bandwidth, it is changed into discrete on a timeline
Sampled signal, for example, for by the way of pulse code modulation pcm encoder, preset frequency can be with
It is 8K hertz;
The data that sampling is obtained are quantified, in practice, although sampled signal is discrete on time shaft
Signal, but still be analog signal, its sample value can have unlimited number of value in certain span.
Therefore, in order to realize with digital representation sample value, it is necessary to sample value is classified " rounding ", making certain value model
Sample value in enclosing is changed into limited value from unlimited number of value, that is, realize quantifying;
Transmitting terminal radio station mainboard is sent to after the data for quantifying to obtain are carried out into digital coding, when implementing,
The sampled signal for quantifying is transformed into the binary code stream of given word length, such as according to pulse code modulation
PCM modes are encoded;
And receiving terminal intercom 2 is included in the present embodiment:Pick end radio station mainboard 21 and receiving terminal option
Plate 22, wherein receiving terminal option plate 22 are included:
Second memory cell 221, the program of sub-audio signal is received for storing;
Second central processing unit 222, performs the program for receiving sub-audio signal, for:
The digital encoded data for obtaining will be received from receiving terminal radio station mainboard 11 and enters row decoding, implemented
When, decoding process needs coded system corresponding, for example, transmitting terminal carries out digital coding being compiled using pulse
The coded system of code modulation PCM, then decoding also needs to enter using the decoded mode of pulse code modulation PCM
Row decoding;
The data that obtain will be decoded carry out LPF and obtain sub-audio signal, when implementing, wave filter
Frequency be configured according to the frequency of the sub-audio signal to be sent.
Need explanation, transmitting terminal option plate described in above-mentioned the present embodiment 11 and the transmitting terminal radio station master
The first predetermined communication interface is provided between plate 12, the first predetermined communication interface can be transmitting terminal choosing
The interface that acquiescence between part plate 11 and transmitting terminal radio station mainboard 12 is reserved, such as it is same in the present embodiment
Step serial line interface SSI, the transmitting terminal option plate 11 can be by the described first predetermined communication interface by numeral
Coded data is sent to transmitting terminal radio station mainboard 12.
Likewise, receiving terminal option plate described in above-mentioned the present embodiment 21 and receiving terminal radio station mainboard
The second predetermined communication interface is provided between 22, the second predetermined communication interface can be the receiving terminal
The interface that acquiescence between option plate 21 and receiving terminal radio station mainboard 22 is reserved, such as the present embodiment
In synchronous serial interface SSI, the receiving terminal option plate 21 can be by the described second predetermined communication interface
Digital encoded data is received from receiving terminal radio station mainboard 22.
In addition, it can also be first that above-mentioned first memory cell 121 both can be independent memory cell
The memory cell that central processing unit 122 is carried, likewise, the second memory cell 221 both can be independent
Memory cell can also be memory cell that the second central processing unit 222 is carried, do not do specific here
Limit.
In addition, with reference to Fig. 2, to realize sub-audio signal in transmitting terminal radio station mainboard and receiving terminal radio station master
Transmission between plate, used as an optional specific embodiment, transmitting terminal radio station mainboard 11 may include:
Check code module 111, for the digital encoded data sended over to the transmitting terminal option plate
According to verification rule generation check code data, when implementing, verification rule for example can be that circulation is superfluous
The verification rule of remaining check code (CRC, Cyclic Redundancy Check), also may be used in practice certainly
With using other verification rules, here without being also not specifically limited;
Error Correction of Coding module 112, for the check code data to be compiled according to error-correction rule generation error correction
Code data, when implementing, Error Correction of Coding rule for example can be forward error correction (FEC, Forward
Error Correction) rule, can also misremember coding rule using other in practice certainly, here without
Need to also be not specifically limited;
Interweaving encoding module 113, for the error correction encoded data to be interleaved into coding, the present embodiment
Middle interweaving encoding is separated into random error by a burst error more long, then with correcting random error
Coding (FEC) technology eliminate random error, interleave depth is bigger, then dispersion is bigger, anti-burst error
Ability is also stronger.Here repeat no more;
D/A converter module 114, the data for interweaving encoding to be obtained carry out digital-to-analogue conversion, specific real
Now, will discrete data signal be converted to connection change analog signal, repeat no more here;
Frequency modulation modulation module 115, the data for digital-to-analogue conversion to be obtained carry out frequency modulation modulation and send,
When implementing, i.e., voice data such as sub-audio signal for having encoded etc. will be sent by intercommunication
The frequency modulation(PFM) that machine is used sends, and repeats no more here.
Need explanation, the present embodiment is only from the angle of sub-audio signal to the phase of transmitting terminal radio station mainboard 11
Close functional module to be described, i.e., the sub-audio signal digital coding number for only sending transmitting terminal option plate
According to carrying out check code, Error Correction of Coding, interweaving encoding, digital-to-analogue conversion and frequency modulation are modulated realizes module,
In practice, sub-audio signal is the audio signal data sent with intercommunication people in transmitting terminal radio station mainboard 11
Check code, Error Correction of Coding, interweaving encoding, digital-to-analogue conversion and frequency modulation modulation etc. is carried out together, here
Do not repeat.
In addition, with reference to Fig. 3, to realize the reception of sub-audio signal, can for receiving terminal radio station mainboard 21
Including:
Fm demodulation module 211, the frequency modulation modulation data for being sent to transmitting terminal carries out fm demodulation,
When implementing, i.e., the frequency modulation modulation data that the frequency for being used according to intercom sends transmitting terminal is carried out
Demodulation, repeats no more here;
Verification decoder module 212, the data for being obtained to fm demodulation are verified according to verification rule
Decoding, when implementing, the verification rule used according to transmitting terminal carries out corresponding verification decoding, for example,
Transmitting terminal is encoded using CRC check, can be decoded using CRC check here;
Error correction decoding module 213, for carrying out error correction according to error-correction rule to the data that verification decoding is obtained
Decoding, when implementing, corresponding error correction decoding is carried out according to the Error Correction of Coding rule that transmitting terminal is used,
For example, transmitting terminal uses FEC Error Corrections of Coding, FEC error correction decodings can be used here;
Trellis decoded module 214, it is specific real for being interleaved decoding to the data that error correction decoding is obtained
Now, corresponding trellis decoded is carried out using interweaving encoding mode also according to transmitting terminal, is no longer gone to live in the household of one's in-laws on getting married here
State;
Analog-to-digital conversion module 215, the data for trellis decoded to be obtained carry out analog-to-digital conversion and obtain numeral
Coded data, when implementing, the analog signal that will connect change is converted to corresponding data signal,
Here repeat no more.
Explanation is needed, the present embodiment only docks the phase of sending end radio station mainboard 21 from the angle of sub-audio signal
Close functional module to be described, i.e., only the sub-audio signal data that transmitting terminal radio station mainboard sends are carried out
Fm demodulation, verification decoding, error correction decoding, trellis decoded, the related realization module of analog-to-digital conversion, it is real
In border, sub-audio signal is the audio signal data one sent with intercommunication people in receiving terminal radio station mainboard 11
Rising carries out fm demodulation, verification decoding, error correction decoding, trellis decoded and analog-to-digital conversion etc., here not
Repeat.
Another aspect of the present invention is illustrated below.
With reference to Fig. 4 and Fig. 5, a kind of method for transmitting sub-audio signal in above-mentioned talkback system,
Methods described mainly included and connect with receiving terminal option plate the step of transmitting terminal option plate sends sub-audio signal
The step of receiving sub-audio signal, wherein:
With reference to Fig. 4, the figure is the specific embodiment flow that transmitting terminal option plate sends sub-audio signal, main
Comprise the following steps:
Step S11, the first central processing unit reads the program of the transmission sub-audio signal of storage;
Step S12, the first central processing unit performs the program for sending sub-audio signal and specifically performs
Following steps:
Step S121, samples according to preset frequency to the sub-audio signal for sending, when implementing,
For example, for by the way of pulse code modulation pcm encoder, preset frequency can be 8K hertz;
Step S122, the data that sampling is obtained are quantified;
Step S123, transmitting terminal radio station mainboard is sent to after the data for quantifying to obtain are carried out into digital coding,
When implementing, for example, digital coding uses pulse code modulation pcm encoder mode;
Accordingly, with reference to Fig. 5, the figure is the specific implementation that receiving terminal option plate receives sub-audio signal
Example flow, mainly comprises the following steps:
Step S21, the second central processing unit reads the program of the reception sub-audio signal of storage;
Step S22, the second central processing unit performs the program for receiving sub-audio signal and specifically performs
Following steps:
Step S226, the digital encoded data for obtaining will be received from receiving terminal radio station mainboard and enters row decoding, is had
When body is realized, for example, coded system of the correspondence transmitting terminal using pulse code modulation PCM, here phase
Row decoding should be entered using the decoded mode of pulse code modulation PCM;
Step S227, will decode the data that obtain and carry out LPF and obtain sub-audio signal, implement
When, the frequency of wave filter is configured according to the frequency of the sub-audio signal to be sent.
In addition, the transmission for sub-audio signal between transmitting terminal radio station mainboard and receiving terminal radio station mainboard
Can be using conventional implementation, for example, with reference to Fig. 6, transmitting terminal is except above-mentioned transmitting terminal option plate
Send sub-audio signal the step of, also including transmitting terminal radio station mainboard send sub-audio signal the step of, tool
Body mainly comprises the following steps:
Step S124, receives the digital encoded data that the transmitting terminal option plate is sended over, and implements
When, for example the SSI interfaces by being reserved between transmitting terminal radio station mainboard and transmitting terminal option plate send
The digital encoded data that end option plate is sended over, repeats no more here;
Step S125, the digital encoded data sended over to the transmitting terminal option plate is according to verification rule
Generation check code data, with reference to preceding description, when implementing, for example, using CRC
The verification rule of code (CRC, Cyclic Redundancy Check) carries out check code, not right here
Verification rule is specifically limited;
The check code data are generated error correction encoded data, reference by step S126 according to error-correction rule
Preceding description, when implementing, for example, using forward error correction (FEC, Forward Error
Correction) rule carries out Error Correction of Coding, error-correction rule is not limited specifically here;
Step S127, coding is interleaved by the error correction encoded data;
Step S128, the data that interweaving encoding is obtained carry out digital-to-analogue conversion, when implementing, Ji Jiangli
Scattered data signal is converted to continuous analog signal, repeats no more here;
Step S129, the data that digital-to-analogue conversion is obtained carry out frequency modulation modulation and send, when implementing,
Will analog signal according to the frequency that intercom is used carry out frequency modulation modulation send.
In addition, herein in connection with Fig. 7, receiving terminal receives the step of sub-audio signal except above-mentioned receiving terminal option plate
Suddenly, the step of also receiving sub-audio signal including receiving terminal radio station mainboard, specifically mainly comprises the following steps:
Step S221, carries out fm demodulation, specifically to the frequency modulation modulation data that transmitting terminal radio station mainboard is sent
When realizing, i.e., the frequency modulation modulation data that the frequency for being used according to intercom sends transmitting terminal is demodulated,
Here repeat no more;
Step S222, the data obtained to fm demodulation carry out verification decoding according to verification rule, specific real
Now, the verification rule for being used according to transmitting terminal carries out corresponding verification decoding, for example, transmitting terminal is used
CRC check is encoded, and can be decoded using CRC check here;
The data that verification decoding is obtained are carried out error correction decoding by step S223 according to error-correction rule, specific real
Now, the Error Correction of Coding rule for being used according to transmitting terminal carries out corresponding error correction decoding, for example, transmitting terminal
Using FEC Error Corrections of Coding, FEC error correction decodings can be used here;
The data that error correction decoding is obtained are interleaved decoding by step S224, when implementing, same root
Corresponding trellis decoded is carried out using interweaving encoding mode according to transmitting terminal, is repeated no more here;
Step S225, the data that trellis decoded is obtained carry out analog-to-digital conversion and obtain digital encoded data, tool
When body is realized, the analog signal that will connect change is converted to corresponding data signal, repeats no more here.
In above-mentioned provided specification, numerous specific details are set forth.It is to be appreciated, however, that this
Inventive embodiment can be put into practice in the case of without these details.In some instances, not
Known method, structure and technology are shown specifically, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand in each inventive aspect
Or it is multiple, in above to the description of exemplary embodiment of the invention, each feature of the invention is sometimes
It is grouped together into single embodiment, figure or descriptions thereof.However, should not be by the disclosure
Method be construed to reflect following intention:I.e. the present invention for required protection requirement ratio is in each claim
The middle more features of feature be expressly recited.More precisely, as the following claims reflect
As, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows
Thus claims of specific embodiment are expressly incorporated in the specific embodiment, wherein each right
It is required that in itself all as separate embodiments of the invention.
It should be noted that above-described embodiment the present invention will be described rather than limiting the invention,
And those skilled in the art can design replacement in fact without departing from the scope of the appended claims
Apply example.