Invention content
The technical problems to be solved by the invention are to be difficult to penetrate vocoder for the prior art, can not be in information source end reality
Existing data synchronizing function or synchronous error are too big, lack the deficiency of practical value, provide one kind and have good pseudorandom spy
Property and typical phonic signal character are suitable as all kinds of vocoders that penetrate in voice channel transferring non-speech data
Data transmission method and system.
The technical solution that the present invention solves above-mentioned technical problem is as follows:A kind of transmission side data for penetrating all kinds of vocoders
Method includes the following steps:
Transmitting terminal will be travelling through synchronizing sequence and be inserted into target data to be sent, form transmission data;
Transmission data is sent to vocoder or modem.
The beneficial effects of the invention are as follows:Pass through synchronizing sequence can effectively penetrate various types of voice communication vocoder, this be
Voice channel transferring non-speech data has paved road, has highly important application value, especially in coded communication, long-range peace
Fields, the meanings such as full control are huge;What is proposed passes through synchronizing sequence using two-part structure, avoids the conventional data that solve and synchronizes
It needs to track each input data always, so as to significantly reduce operand.
Based on the above technical solution, the present invention can also be improved as follows.
Further, the synchronizing sequence that passes through is inserted into target data front end or a position of target data internal reservation
It puts.
Further, it will be travelling through synchronizing sequence to be inserted into before target data, according to the symbol of target data, (positive number is first
1, negative is 0), symbolism to be carried out to passing through synchronizing sequence for -1,0.
Further, the synchronizing sequence that passes through includes boot sequence and positioning sequence;
The boot sequence avoids synchronous parsing from introducing a large amount of operands for judging whether positioning sequence reaches;Judgement
Rule can ask for the correlation of boot sequence, if 50% of correlation more than maximum related value can determine that positioning sequence
The normalized energy of positioning sequence is reached or directly asks for, if energy value, which is more than 50%, can determine that positioning sequence reaches.
The positioning sequence is used to be accurately positioned sync bit.
Further, the boot sequence S1Calculation formula such as formula (1) shown in:
S1(k)=cos (2 π * Fa*k*T+R0) formula (1);
Wherein, k=0..N1-1;N1 is S1 sequence lengths;Usual N1>2*P;P is natural number;T=1/Fs, Fs are voice
Sample rate;Fa is some frequency of voice gene frequency range;R0For initial phase.
The technical solution that the present invention solves above-mentioned technical problem is as follows:A kind of data for penetrating all kinds of vocoders are sent
End forms module and sending module including data;
The data composition module will be travelling through synchronizing sequence for transmitting terminal and be inserted into target data to be sent, form
Transmission data;
The sending module is used to transmission data being sent to vocoder or modem.
The technical solution that the present invention solves above-mentioned technical problem is as follows:A kind of data receiver for penetrating all kinds of vocoders
Method includes the following steps:
Step 1:The data from vocoder or modem are received, split data into the more of protection fixed number data
A data group;
Step 2:Choose the signal energy that a data group seeks frequency component;
Step 3:Judge whether signal energy is more than predetermined threshold value, if so, performing step 4;Otherwise, step 2 is performed;
Step 4:Synchronous search is opened, by the way that repeatedly the position of synchronizing sequence, positioning are passed through in search in the data group
Sync bit;
Step 5:Judge whether to find sync bit, if so, terminating;Otherwise, step 2 is performed.
The beneficial effects of the invention are as follows:It proposes and passes through fast algorithm, by tabling look-up rather than multiply-add operation asks for correlation
Value, arithmetic speed faster, occupy memory space smaller, and the ability for fighting channel disturbance and vocoder modulated interferer is remarkably reinforced.
Based on the above technical solution, the present invention can also be improved as follows.
Further, the step 4 specifically includes following steps:
Step 4.1:Synchronous search positioning sequence is opened, by positioning sequence positioning synchronous position, by synchronous searching times
It is set to zero;
Step 4.2:Add one by the data group symbolism, and by synchronous searching times;
Step 4.3:Correlation component is obtained in associative search table according to the data group and sync bit, according to correlation
Value component acquires correlation;
Step 4.4:Judge whether correlation is more than threshold value, if so, performing step 4.5;Otherwise, step 4.2 is performed;
Step 4.5:Correlation replaces becoming new threshold value, and record the sync bit of the data group;
Step 4.6:Judge whether searching times are more than preset value, if so, performing step 5;Otherwise, step 4.2 is performed.
Further, the method for the parsing sync bit includes related or peak value judgement etc..
Further, the method for the data group symbolism is that when being more than 0 according to the value that data are judged in data group, this is counted
According to being set to 1;The value of its data is less than 0, this data is set to -1;When the value of its data is equal to 0, this data is set to 0.
The technical solution that the present invention solves above-mentioned technical problem is as follows:A kind of data receiver for penetrating all kinds of vocoders
Module, threshold decision block, synchronous search module and judgment module including receiving module, are chosen in end;
The receiving module splits data into the multiple of protection fixed number data for receiving the data from vocoder
Data group;
It is described to choose module for choosing the signal energy that a data group seeks frequency component;
The threshold decision block is for judging whether signal energy is more than predetermined threshold value, if so, triggering is synchronized and searched
Rope module;Otherwise, module is chosen in triggering;
The synchronous search module is used for by the way that repeatedly the position of synchronizing sequence, positioning are passed through in search in the data group
Sync bit;
The judgment module is for judging whether to find sync bit, if so, terminating;Otherwise, module is chosen in triggering.
Specific embodiment
The principle and features of the present invention will be described below with reference to the accompanying drawings, and the given examples are served only to explain the present invention, and
It is non-to be used to limit the scope of the present invention.
As shown in Figure 1, for a kind of data transmission method for penetrating all kinds of vocoders of the present invention, including following step
Suddenly:
Transmitting terminal will be travelling through synchronizing sequence and be inserted into target data to be sent, form transmission data;
Transmission data is sent to vocoder or modem.
As shown in Fig. 2, for a kind of data transmission system for penetrating all kinds of vocoders of the present invention, including data structure
Into module 1 and sending module 2;
The data composition module 1 will be travelling through synchronizing sequence for transmitting terminal and be inserted into target data to be sent, structure
Into transmission data;
The sending module 2 is used to transmission data being sent to vocoder or modem.
As shown in figure 3, for a kind of data receiver method for penetrating all kinds of vocoders of the present invention, including following step
Suddenly:
Step 1:The data from vocoder or modem are received, split data into the more of protection fixed number data
A data group;
Step 2:Choose the signal energy that a data group seeks frequency component;
Step 3:Judge whether signal energy is more than predetermined threshold value, if so, performing step 4;Otherwise, step 2 is performed;
Step 4:Synchronous search is opened, by the way that repeatedly the position of synchronizing sequence, positioning are passed through in search in the data group
Sync bit;
Step 5:Judge whether to find sync bit, if so, terminating;Otherwise, step 2 is performed.
As shown in figure 4, for a kind of data analyzing system for penetrating all kinds of vocoders of the present invention, including receiving mould
Block 3 chooses module 4, threshold decision block 5, synchronous search module 6 and judgment module 7;
The receiving module 3 splits data into the more of protection fixed number data for receiving the data from vocoder
A data group;
It is described to choose module 4 for choosing the signal energy that a data group seeks frequency component;
The threshold decision block 5 is for judging whether signal energy is more than predetermined threshold value, if so, triggering is synchronized and searched
Rope module 6;Otherwise, module 4 is chosen in triggering;
The synchronous search module 6 is used for by the way that repeatedly the position of synchronizing sequence is passed through in search in the data group, fixed
Bit synchronization position;
The judgment module 7 is for judging whether to find sync bit, if so, terminating;Otherwise, module 4 is chosen in triggering.
It is proposed a kind of two-part tectonic sequence, for convenience of describing, after chat and be referred to as to pass through synchronizing sequence.Pass through synchronizing sequence
Have good pseudo-random characteristics and typical phonic signal character, be suitable as in voice channel transferring non-speech data
Information source end synchronizing sequence, and the present invention gives the fast algorithm that synchronizing sequence is passed through in parsing.
Synchronizing sequence S is passed through by boot sequence S1With positioning sequence S2Two sections of compositions, are expressed as S=【S1, S2】.Guide sequence
Arrange S1For quick and easy judgement positioning sequence S2Whether arrive, synchronous parsing is avoided to introduce big operand;Positioning sequence S2
For being accurately positioned sync bit.
S1(k)=cos (2 π * Fa*k*T+R0), k=0..N1-1.
N1For S1Sequence length, usual N1>2*P, P are natural number.T=1/Fs, Fs are speech sample rate.Fa is voice base
Because of some frequency of frequency range.R0For initial phase.
The synchronizing sequence S2Building method include the following steps:
An empty sequence is provided as initial synchronization sequence S2;
Initialize F1, F2And FN, 0<F1<F2<FN;F1, F2And FNFor some signal frequency in audiorange;
Fb=cos (2*pi/FN)-j*sin(2*pi/FN);FbExpression maximum frequency is FNBasis signal.
For k=F1 to F2
S(k-F1+ 1)=real (Fb.^(k*k/2));
end
N2=F2-F1+ 1 is S2Sequence length, and N2=M+M.Usual N2More than 2*N1。
As shown in figure 5, for a kind of data receiver method stream for penetrating all kinds of vocoders described in specific example of the present invention
Cheng Tu, synchronous process of analysis are as follows:
Step 1:To every P data { DkSeek the signal energy En (1) of frequency component Fa.What receiving terminal received is comprising letter
Road interferes and the modulated data sequence D of vocoder, is not the initial data that transmitting terminal is sent out, for P data { DkConduct
One group, it is regarded as possible boot sequence S1, calculate ENERGY E n of the frequency for the signal component of Fa.The method of computing capability En is very
It is more, FFT (Fast Fourier Transform) can be used.
Step 2:Judge whether En is more than some threshold value.If En is more than some threshold value, illustrate { Dk } for guiding
Sequence, then be then achieved with positioning sequence S2, immediately to S2Sync bit is parsed, continues to walk if sync bit is found
Rapid 3, otherwise return to step 1.The method of parsing sync bit can ask related either peak value judgement etc.;
Step 3:The synchronous searching times C=0 of initialization.Maximum search number Cmax is set, more than maximum search number
Cmax then judges whether to find sync bit k;
Step 4:To Dk symbolism and cumulative searching times C=C+1.So-called symbolism is exactly to judge it is big according to the value of Dk
In 0, less than 0, either equal to 0, Dk is set to 1,0 or -1 respectively;
Step 5:Correlation components R k is obtained in associative search table according to Dk and k values.The construction of associative search table is seen below
Text;
Step 6:Correlation Y=sum (Rm), m=k-M+1..k is asked subsequently to give and pass through fast algorithm, without direct
Correlation is solved by multiply-add operation, only need to correlation can be obtained by according to look-up table;
Step 7:Judge whether correlation Y is more than threshold T H, if so, performing step 8;Otherwise continue step 4;
Step 8:Update threshold T H=Y, memory sync bit k;
Step 9:Judge whether searching times are more than Cmax, if it does, performing step 10;Otherwise, step 4 is performed;
Step 10:Judge whether to find sync bit k, if so, terminating;Otherwise, step 1 is returned to.
Correlated components look-up table building method is as follows:
It directly asks related for synchronizing sequence S2 or search peak finds sync bit and needs very big operand, this is directly
Constrain the application of similar scheme.It needs, using fast algorithm, to construct correlated components look-up table, be not required to do multiplication in practical application
Operation and data-moving obtain the correlated components value Rm of each Dk data only by lookup table mode, and cumulative Rm just can obtain phase
Pass value, so as to which quick and easy acquires sync bit.For convenience of description, after chat the calculation that this rapid solving is claimed to pass through synchronizing sequence
Method is passes through fast algorithm.
Fast algorithm is passed through to be described as follows:
Obtain S2Data length L1;
The columns group variables L KTable (L1,3) of L1 rows/3 is defined, and is initialized as full 0
For k=1 to L1
If (symbol of (S2 (k)) is 1)
Then the row k of LKTable is set to { -1,0,1 };
Elseif (symbol of (S2 (k)) is 0)
Then the row k of LKTable is set to { 0,0,0 };
Elseif (symbol of (S2 (k)) is -1)
Then the row k of LKTable is set to { 1,0, -1 };
end
end
It is proposed by the present invention to penetrate synchronizing sequence and pass through fast algorithm relative to other channel synchronization sequences and parsing tool
There is apparent diacritical point:
(1), it is a kind of synchronizing sequence for serving the synchronization of information source end data to pass through synchronizing sequence.Different from common channel
Synchronizing sequence is designed for channel characteristics, this is the fundamental difference of the two;
(2) synchronizing sequence is passed through as sequence of real numbers, and is two-part sequence, is mostly plural number relative to channel synchronization sequence
Sequence, more convenient calculation process;
(3), it passes through synchronizing sequence and has apparent sound characteristic, all kinds of vocoders can be passed through, realize and believe in information source end
Source data synchronizes;Common channel synchronization sequence does not have the ability for passing through vocoder substantially;
(4), it passes through fast algorithm and solves correlation relative to common direct multiply-add operation, arithmetic speed faster, occupies
Memory space smaller, the ability for fighting channel disturbance are remarkably reinforced.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.