CN107547197A - The detection method and device of speech frame decrypted result - Google Patents
The detection method and device of speech frame decrypted result Download PDFInfo
- Publication number
- CN107547197A CN107547197A CN201610493943.1A CN201610493943A CN107547197A CN 107547197 A CN107547197 A CN 107547197A CN 201610493943 A CN201610493943 A CN 201610493943A CN 107547197 A CN107547197 A CN 107547197A
- Authority
- CN
- China
- Prior art keywords
- decrypted
- result
- frame
- bit sequence
- decrypted result
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
This application discloses a kind of detection method and device of speech frame decrypted result, wherein method includes:The speech frame being currently received is decrypted receiving terminal;Obtain the filling bit sequence S ' in the decrypted result;The default filling bit sequence S used when being transmitted according to the filling bit sequence S ' of the acquisition and the transmitting terminal currently preserved, determine the correctness of the decrypted result.Using the present invention, the correctness of speech frame decrypted result can effectively be identified.
Description
Technical field
The present invention relates to mobile communication technology, more particularly to a kind of detection method and device of speech frame decrypted result.
Background technology
When voice communication is by common transmission system bearing, for secrecy generally use End to End Encryption technology, that is, sending out
Speech data is encrypted sending end, and speech data is decrypted in receiving terminal.
General Transmission system can ensure the correct transmission of data, as long as key and decipherment algorithm are correct, be correctly received
Encryption data can be decrypted correctly.But for the very high voice application of real-time, Transmission system can only ensure the portion of data
Divide and be properly received, some data are because the limitation of transmission conditions makes a mistake or has little time to transmit and is dropped.In this case,
Can the data that part is properly received be properly decrypt, depending on whether AES has correlation.Calculated when using associated encryption
During method, i.e. the encryption of current frame data can depend on former frame or the ciphertext of a few frames.This related several frame data are needed during decryption
Present frame could correctly be solved by being all correctly received.
In order to allow receiving terminal to detect the correctness and integrality of present frame ciphertext data, usual transmitting terminal can be to original number
Just transmit with check bit and after check bit is also encrypted according to increase check bit or former data, decrypted by receiving terminal again
Afterwards, it is whether correct by detecting the check bit, to judge whether ciphertext data is correct.Or relied on according to present frame former
The situation that frame is correctly received, to judge whether present frame has the possibility being properly decrypt.
Voice coding as message sink coding exports, and because its requirement of real-time is strong, VoP information content is smaller, its
Coded format does not all include check bit typically.The reliability of transmission is responsible for by Transmission system, therefore check bit is needed by transmission system
System addition.Common transmission system designs generally be directed to the voice transfer of unencryption, and the length to speech data frame is solid
Fixed requirement.Encryption system is between information source system and Transmission system, can not extend check field.So, lead to for voice
, can not be by increasing check bit in speech frame, using the detection to check bit, to judge whether present frame is correct for letter
Decryption.
In actual applications, the decryption system of receiving terminal sometimes can only be after Transmission system obtains the encryption being correctly received
Speech data frame, incorrect data frame can be transmitted system discarding, and decryption system can not even lead in some application scenarios
Know which data frame is Transmission system abandoned.And AES improves the difficulty being cracked to strengthen anti-ability of tracking, can make
With related algorithm, i.e. the encryption of current frame data can depend on former frame or the ciphertext of a few frames, now correctly decrypt present frame
Encryption data, it is also necessary to correctly former frame or the ciphertext of a few frames are got, to determine corresponding decruption key.Therefore, have
Even if the encryption data of possible present frame is correctly received, but because former frame or a few frames are dropped due to receiving mistake, and
Cause that correct decruption key can not be calculated, so as to cause present frame not to be properly decrypt out.If which data frame
The information being dropped can not also be got, and receiving terminal can not just know whether former frame data of present frame decryption foundation are correct,
So as to judge whether the data that current decryption comes out are correct.
As can be seen here, when Transmission system can not provide the data frame information being dropped, for using associated encryption method
The decrypted result of the speech data frame (such as AMR codings) of encrypted transmission, existing voice communication plan can not determine its correctness.
The content of the invention
In view of this, it is a primary object of the present invention to provide a kind of detection method and device of speech frame decrypted result,
The correctness of speech frame decrypted result can effectively be identified.
In order to achieve the above object, technical scheme proposed by the present invention is:
A kind of detection method of speech frame decrypted result, including:
The speech frame being currently received is decrypted receiving terminal;
Obtain the filling bit sequence S ' in the decrypted result;
The default packing ratio used when being transmitted according to the filling bit sequence S ' of the acquisition and the transmitting terminal currently preserved
Special sequence S, determine the correctness of the decrypted result.
A kind of detection means of speech frame decrypted result, including:
Decryption unit, for the speech frame being currently received to be decrypted;
Extraction unit, for obtaining the filling bit sequence S ' in the decrypted result;
Detection unit, used when being transmitted for the filling bit sequence S ' according to the acquisition and the transmitting terminal currently preserved
Default filling bit sequence S, determine the correctness of the decrypted result.
In summary, the detection method and device of a kind of speech frame decrypted result proposed by the present invention, utilizes current data
Filling bit sequence in the decrypted result of frame, you can realize the effective detection to decrypted result correctness.So, when using phase
, can also be quickly true when Transmission system can not provide the data frame information being dropped when transmission is encrypted in pass encryption method
Make the correctness that current data frame is decrypted.
Brief description of the drawings
Fig. 1 is the method flow schematic diagram of the embodiment of the present invention;
Fig. 2 is the apparatus structure schematic diagram of the embodiment of the present invention.
Embodiment
It is right below in conjunction with the accompanying drawings and the specific embodiments to make the object, technical solutions and advantages of the present invention clearer
The present invention is described in further detail.
Generally, the transmission payload of Transmission system is needed by byte-aligned, is usually by certain week for voice compression coding
The constant code rate coding of phase, is exported in units of the data frame of regular length.The length of the data frame is using bit to be substantially single
Position, is not by byte-aligned.Therefore, speech data frame needs to fill extra bit and allowed it to by byte in transmission
Alignment.
Based on These characteristics, core concept of the invention is:Receiving terminal can be by judging the filling in speech data frame
Whether bit is decrypted, to determine the correctness of decrypted speech data frame.In this way, receiving terminal need not know related add
The reception condition for former frames that current speech data frame is relied on when close, you can quickly judge the speech data that current decryption goes out
Whether frame is correct.
Fig. 1 is the method flow schematic diagram of the embodiment of the present invention, as shown in figure 1, the embodiment mainly includes:
The speech frame being currently received is decrypted for step 101, receiving terminal.
The those skilled in the art that are implemented as of this step are grasped, and will not be repeated here.
Filling bit sequence S ' in step 102, the acquisition decrypted result.
This step from the result decrypted, it is necessary to extract filling bit sequence S ' therein, so as in step 103
Correctness based on this determination decrypted result.
Step 103, use when being transmitted according to the filling bit sequence S ' of the acquisition and the transmitting terminal currently preserved it is pre-
If filling bit sequence S, determine the correctness of the decrypted result.
This step, by what is currently preserved according to the filling bit sequence S ' and receiving terminal that are extracted from the data frame of reception
The default filling bit sequence S that transmitting terminal uses when transmitting, whether the result to determine to decrypt in step 101 is correct.
As described in core concept above, here due to the reception condition of data frame before needing not rely on, to determine current data frame
Decryption correctness, therefore, when using associated encryption method transmission is encrypted when, can not provide what is be dropped in Transmission system
During data frame information, the correctness that current data frame is decrypted can also be quickly determined.Specifically, can use following
Method determines the correctness of the decrypted result:
If S '=S, judge that the result of the decryption is correct, otherwise, it is determined that the result mistake of the decryption.
The filling bit sequence S is parameter preset, identical with existing scheme, is transmitting terminal Transmission system transmitting data frame
When filling is needed to carry out byte-aligned to the bit sequence in data frame.
Using above-mentioned technical proposal, can be achieved only in accordance with the decrypted result of current data frame correct to decrypted result
The detection of property.By taking AMR12.2Kbps voice coding as an example, the length of a speech frame is 244bit, for byte-aligned, is needed
4bit filling bit position is added, addition 0000 can be fixed.Voice frame length after filling is 248bit, is sent into encryption
System is encrypted.In receiving terminal, the 248bit received speech frame is sent into decryption system, and detects filling out of decrypting
Fill whether bit is complete zero, if complete zero is thought that present frame decryption is correct, think that present frame is decrypted if not complete zero
Failure.
Fig. 2 is a kind of structure of the detecting device schematic diagram of speech frame decrypted result corresponding with the above method, such as Fig. 2 institutes
Show, the device includes:
Decryption unit, for the speech frame being currently received to be decrypted;
Extraction unit, for obtaining the filling bit sequence S ' in the decrypted result;
Detection unit, used when being transmitted for the filling bit sequence S ' according to the acquisition and the transmitting terminal currently preserved
Default filling bit sequence S, determine the correctness of the decrypted result.
It is preferred that the detection unit, for as S '=S, judging that the result of the decryption is correct, as S ' ≠ S, sentencing
The result mistake of the fixed decryption.
In summary, presently preferred embodiments of the present invention is these are only, is not intended to limit the scope of the present invention.
Within the spirit and principles of the invention, any modification, equivalent substitution and improvements made etc., it should be included in the present invention's
Within protection domain.
Claims (4)
- A kind of 1. detection method of speech frame decrypted result, it is characterised in that including:The speech frame being currently received is decrypted receiving terminal;Obtain the filling bit sequence S ' in the decrypted result;The default filling bit sequence used when being transmitted according to the filling bit sequence S ' of the acquisition and the transmitting terminal currently preserved S is arranged, determines the correctness of the decrypted result.
- 2. according to the method for claim 1, it is characterised in that the correctness for determining the decrypted result includes:If S '=S, judge that the result of the decryption is correct, otherwise, it is determined that the result mistake of the decryption.
- A kind of 3. detection means of speech frame decrypted result, it is characterised in that including:Decryption unit, for the speech frame being currently received to be decrypted;Extraction unit, for obtaining the filling bit sequence S ' in the decrypted result;Detection unit, used when being transmitted for the filling bit sequence S ' according to the acquisition and the transmitting terminal currently preserved pre- If filling bit sequence S, determine the correctness of the decrypted result.
- 4. device according to claim 3, it is characterised in that the detection unit, for as S '=S, described in judgement The result of decryption is correct, as S ' ≠ S, judges the result mistake of the decryption.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610493943.1A CN107547197A (en) | 2016-06-28 | 2016-06-28 | The detection method and device of speech frame decrypted result |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610493943.1A CN107547197A (en) | 2016-06-28 | 2016-06-28 | The detection method and device of speech frame decrypted result |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107547197A true CN107547197A (en) | 2018-01-05 |
Family
ID=60961911
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610493943.1A Pending CN107547197A (en) | 2016-06-28 | 2016-06-28 | The detection method and device of speech frame decrypted result |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107547197A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1681003A (en) * | 2004-04-08 | 2005-10-12 | 华为技术有限公司 | Method for realizing end-to-end phonetic encryption |
US20140195428A1 (en) * | 2013-01-10 | 2014-07-10 | Mg Systems Consultoria E Sistemas Ltda | Audio-based electronic transaction authorization system and method |
CN104468020A (en) * | 2013-09-13 | 2015-03-25 | 成都鼎桥通信技术有限公司 | Method for processing voice error, sending end apparatus and receiving end apparatus |
US20150134947A1 (en) * | 2012-05-23 | 2015-05-14 | University Of Leeds | Secure communication |
-
2016
- 2016-06-28 CN CN201610493943.1A patent/CN107547197A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1681003A (en) * | 2004-04-08 | 2005-10-12 | 华为技术有限公司 | Method for realizing end-to-end phonetic encryption |
US20150134947A1 (en) * | 2012-05-23 | 2015-05-14 | University Of Leeds | Secure communication |
US20140195428A1 (en) * | 2013-01-10 | 2014-07-10 | Mg Systems Consultoria E Sistemas Ltda | Audio-based electronic transaction authorization system and method |
CN104468020A (en) * | 2013-09-13 | 2015-03-25 | 成都鼎桥通信技术有限公司 | Method for processing voice error, sending end apparatus and receiving end apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105516139B (en) | A kind of transmission method of network data, apparatus and system | |
KR100770485B1 (en) | Automatic resynchronization of crypto-sync information | |
HU223910B1 (en) | Method of transmitting information data from a sender to a reciever via a transcoder, method of transcoding information data, method of receiving transcoded information data, sender, receiver and transcoder | |
CN104301911A (en) | Correcting deciphering mis-synchronization in mobile communication terminal | |
CN105430640A (en) | Short message encryption and authentication method, terminal and system | |
KR20090084320A (en) | Apparatus and method for transmitting and receiving mac pdu in mobile communication system | |
CN111294639A (en) | System and method for preventing video from being tampered during real-time online sharing and browsing | |
CN103023630B (en) | Method for hiding information of speech stream on basis of speech coding by pulse code modulation | |
US10207725B2 (en) | Method and device for transmitting signal among compartments of train | |
JP2002135241A (en) | Data communications equipment and its method for encrypting and decoding | |
US20150341651A1 (en) | Jpeg file format based encoding and decoding method in mobile apparatus and device thereof | |
CN111327631B (en) | Secret information transmission method and system based on TCP and UDP | |
CN109996025B (en) | Quantum communication-based adaptive audio and video communication method, device and system | |
CN102325025A (en) | Data processing method and system for verifying provision source authenticity | |
KR101342423B1 (en) | An apparatus and a method for reporting the error of each level of the tunnel data packet in a communication network | |
CN107547197A (en) | The detection method and device of speech frame decrypted result | |
CN103634098B (en) | Information concealing method based on time interval | |
CN112291063B (en) | Image data transmission method and device, and image data receiving method and device | |
CN111869160A (en) | Method and apparatus for secure transmission of a message from a sending device to a receiving device | |
KR100644594B1 (en) | Apparatus for transmitting/receiving wireless data and method thereof | |
CN104363098B (en) | A kind of distributed monitoring end message safety protecting method based on digital encryption | |
EP2887613A1 (en) | Method and apparatus for performing secure voice call | |
CN106604275A (en) | Information transmission, encryption and decryption method and system based on mobile internet | |
US20050002524A1 (en) | Baud rate modulation encoding/decoding method and device for remote controller | |
CN106102025A (en) | A kind of Encrypted short message coding method based on Android |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180105 |
|
RJ01 | Rejection of invention patent application after publication |