CN106297827A - Detection method that voice encryption is made mistakes and device - Google Patents

Detection method that voice encryption is made mistakes and device Download PDF

Info

Publication number
CN106297827A
CN106297827A CN201510295661.6A CN201510295661A CN106297827A CN 106297827 A CN106297827 A CN 106297827A CN 201510295661 A CN201510295661 A CN 201510295661A CN 106297827 A CN106297827 A CN 106297827A
Authority
CN
China
Prior art keywords
frame
mute frame
value
measured parameter
field
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
CN201510295661.6A
Other languages
Chinese (zh)
Other versions
CN106297827B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510295661.6A priority Critical patent/CN106297827B/en
Priority to PCT/CN2015/088521 priority patent/WO2016192218A1/en
Publication of CN106297827A publication Critical patent/CN106297827A/en
Application granted granted Critical
Publication of CN106297827B publication Critical patent/CN106297827B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/012Comfort noise or silence coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses the detection method that a kind of voice encryption is made mistakes, including: according to the value of the measured parameter of mute frame in the audio data stream got and the code rate of the previous speech frame adjacent with this mute frame, it is judged that the value of the measured parameter of this mute frame is the most legal;By setting whether thresholding exceedes setting thresholding with the illegal accumulated quantity of the value judging the measured parameter of mute frame in detection window, when accumulative illegal quantity exceedes setting thresholding, determine that voice encryption is made mistakes.The present invention also provides for the detection device that a kind of voice encryption is made mistakes.The present invention is determined by voice encryption and makes mistakes and then achieve and cause the detection of singing of the stream to makeing mistakes due to voice encryption, the detection method of some parameter that compensate for dependence speech frame cannot carry out the deficiency of singing of the stream detection in the case of major part is all mute frame in speech data, the method system of perfect singing of the stream detection, and extend the scope of application for singing of the stream detection further.

Description

Detection method that voice encryption is made mistakes and device
Technical field
The present invention relates to field of voice communication, particularly relate to detection method and device that voice encryption is made mistakes.
Background technology
(Universal Mobile Telecommunications System is called for short UMTS UMTS) speech business coding have employed and global system for mobile communications (Global System for Mobile Communications, is called for short GSM) compatible AMR (Adaptive Multi-rate, letter Claim AMR) technology.The security mechanism of UMTS system inherits the security mechanism of GSM, major embodiment In encryption.In umts, encryption function is activated by core net, and encryption parameter is sent to wireless network Controller (Radio Network Controller, be called for short RNC) and subscriber equipment (User Equipment, It is called for short UE), RNC and UE jointly complete ciphering process each other.
Through the speech data of encryption, if the parameter error used during deciphering, then the voice restored Data will be singing of the stream after being decoded by vocoder.UMTS system occurs the reason of singing of the stream mainly The encryption parameter that RNC and UE uses is because some reason occurs in that inconsistent, it is therefore desirable to due to language The singing of the stream that sound encryption makes mistakes and results in detects.For the detection master of singing of the stream in prior art If relying on some parameter detecting of speech frame, and when in speech data, major part is all mute frame, this Plant detection method and the most just lose effect.
Summary of the invention
Present invention is primarily targeted at the detection method and device providing a kind of voice encryption to make mistakes, it is intended to Solve how by the detection of mute frame being determined voice encryption whether mistake, and then realize singing of the stream Detection.
For achieving the above object, the present invention provides the detection method that a kind of voice encryption is made mistakes, described detection Method includes:
Obtain the measured parameter of mute frame in audio data stream and the volume of the previous speech frame of described mute frame Bit rate;
Code rate according to described speech frame, it is judged that whether the value of the measured parameter of described mute frame closes Method;
In detection window, add up the illegal quantity of value of the measured parameter of described mute frame and judge Whether this quantity exceedes setting thresholding;
If, it is determined that voice encryption is made mistakes.
Preferably, the described code rate according to described speech frame, it is judged that the measured parameter of described mute frame Value the most legal include:
Relatively the taking of the MI field of the numbering corresponding to the code rate of described speech frame and described mute frame Being worth the most identical, the measured parameter of described mute frame at least includes MI field;
If, it is determined that the value of the MI field of described mute frame is legal;
If not, it is determined that the value of the MI field of described mute frame is illegal.
Preferably, in described acquisition audio data stream before the measured parameter of mute frame and described mute frame Also include before the code rate of one speech frame:
Before described mute frame occurs, record the code rate of each described speech frame.
Preferably, described determine voice encryption to make mistakes afterwards to include:
The result of output detections.
For achieving the above object, the present invention also provides for the detection device that a kind of voice encryption is made mistakes, described inspection Survey device includes:
Acquisition module, for obtaining the measured parameter of mute frame in audio data stream and described mute frame The code rate of previous speech frame;
Legal judge module, for the code rate according to described speech frame, it is judged that the quilt of described mute frame The value surveying parameter is the most legal;
Accumulation module, in detection window, the value of the measured parameter of accumulative described mute frame does not conforms to The quantity of method;
Threshold decision block, in detection window, it is judged that the value of the measured parameter of described mute frame Whether illegal accumulated quantity exceedes setting thresholding;
Determine module, for determining the result of detection.
Preferably, described legal judge module is specifically additionally operable to:
Relatively the taking of the MI field of the numbering corresponding to the code rate of described speech frame and described mute frame Being worth the most identical, the measured parameter of described mute frame at least includes MI field;
If, it is determined that the value of the MI field of described mute frame is legal;
If not, it is determined that the value of the MI field of described mute frame is illegal.
Preferably, described detection device also includes:
Logging modle, before occurring at described mute frame, records the code rate of each described speech frame.
Preferably, described detection device also includes:
Output module, for the result of output detections.
The present invention is according to the value of the measured parameter of mute frame in the audio data stream got and quiet with this The code rate of the previous speech frame that sound frame is adjacent, it is judged that whether the value of the measured parameter of this mute frame closes Method;Meanwhile, in detection window, thresholding is set illegal with the value judging the measured parameter of mute frame Whether accumulated quantity exceedes setting thresholding, if exceeding setting thresholding, determines that voice encryption is made mistakes, and voice Encryption makes mistakes, and can result in singing of the stream, thus furthermore achieved that the detection to singing of the stream.The present invention The detection method that compensate for relying on some parameter of speech frame cannot major part be all quiet in speech data The deficiency of singing of the stream detection is carried out in the case of frame, the perfect method system of singing of the stream detection, the most also Further expand the scope of application for singing of the stream detection.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of detection method one embodiment that voice encryption of the present invention is made mistakes;
Fig. 2 is the high-level schematic functional block diagram of the detection device first embodiment that voice encryption of the present invention is made mistakes;
Fig. 3 is the high-level schematic functional block diagram of detection device the second embodiment that voice encryption of the present invention is made mistakes;
Fig. 4 is the high-level schematic functional block diagram of detection device the 3rd embodiment that voice encryption of the present invention is made mistakes.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, do referring to the drawings further Explanation.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit The present invention.
Technical scheme can apply to various communication system, such as GSM code division multiple access system, WCDMA broadband CDMA system, GPRS General Packet Radio Service System, LTE Long Term Evolution System etc..
The singing of the stream problem occurred after tone decoding is the intrinsic problem of UMTS network, from its produce former Reason is analyzed, mainly due to the language of UMTS network element radio network controller (RNC) Yu user equipment (UE) side The encryption parameter used in sound communication process is inconsistent and causes voice encryption to be made mistakes, thus ultimately results in stream The generation of the underwater sound.And the detection currently for singing of the stream typically uses magnanimity drive test, testing to reappear stream The underwater sound, is then analyzed searching reason according to the data that obtain of test, but this type of mode not only efficiency Low, and need to expend ample resources.Additionally, also have some parameter to speech frame to detect, but This type of method is time in speech data, major part is all mute frame, and the method will be unable to detect.
With reference to the schematic flow sheet that Fig. 1, Fig. 1 are detection method one embodiment that voice encryption of the present invention is made mistakes. In the present embodiment, described detection method includes:
Step S1, obtains measured parameter and the previous language of described mute frame of mute frame in audio data stream The code rate of sound frame;
Step S2, according to the code rate of described speech frame, it is judged that taking of the measured parameter of described mute frame It is the most legal to be worth;
Step S3, in detection window, the illegal number of value of the measured parameter of accumulative described mute frame Measure and judge whether this quantity exceedes setting thresholding;
Step S4, if, it is determined that voice encryption is made mistakes.
It should be noted that in above-mentioned steps S3, it is also possible to the value of the measured parameter of accumulative mute frame Legal quantity also judges whether this quantity exceedes setting thresholding, specifically can be configured according to actual needs.
Below in conjunction with specific embodiment, above-mentioned steps is implemented and illustrates.
In various embodiments of the present invention, the voice coding modes of audio data stream includes AMR-NB (Adaptive Multi Rate Narrow Band, self-adapting multi-rate narrowband encodes) or AMR-WB (Adaptive Multi Rate Wide Band, AMR-WB encodes), wherein, AMR-NB Code rate have eight kinds, namely to there being eight kinds of different code rates numbering (the most corresponding numberings It is 0~7);And the code rate of AMR-WB has nine kinds, namely to there being nine kinds of different code rates Numbering (the most corresponding numbered 0~8), is illustrated with AMR-NB in detail below.
Embodiment one:
Step S1 is implemented:
The number of speech frames that radio network controller (RNC) receives identifies according to by the transformat combination of its correspondence The ginseng at initial stage is set up in symbol TFCI (Transport Format Combination Indicator) and speech business Number may determine that the code rate of speech frame, and and then can number the code rate that should determine that speech frame.
The measured parameter of mute frame can be obtained by the coded data obtaining mute frame from audio data stream Value.The coded data of mute frame includes multiple field, such as MI (Mode Indication) field, MR (Mode Request) field, FT (Frame Type) field etc..Each field corresponding 3 or 4 bit code, the field value difference that different bit code is corresponding.Therefore, can be using above-mentioned field as quiet The measured parameter of sound frame, in detail below using MI field as the measured parameter of mute frame.
Optionally, before mute frame occurs, need to record the code rate of each speech frame, thus obtain The code rate of the previous speech frame of mute frame, the 8th kind in eight kinds of speed of e.g. AMR-NB, Then corresponding code rate numbered 7, also obtains the measured parameter of mute frame simultaneously.
Step S2 is implemented:
Optionally, by the numbering corresponding to the code rate of relatively described speech frame and described mute frame The value of the most identical MI field judging mute frame of the value of MI field is the most legal;
If it is identical, it is determined that the value of the MI field of described mute frame is legal;
If differing, it is determined that the value of the MI field of described mute frame is illegal.
Specify according to 3GPP agreement, the code rate of speech frame before the value of the field of mute frame and mute frame Relevant, namely the value of the field of mute frame is identical with the code rate numbering of speech frame before mute frame.
It is preferred, therefore, that using the value of the MI field of mute frame as measured parameter, therefore, mute frame The span of MI field (3 bits) be 0~7 (coded system is AMR-NB) or 0~8 (4 bits, coded system is AMR-WB).Such as, the measured parameter MI word of the mute frame of acquisition The value of section is 7 (coded system is AMR-NB).
The code rate numbered 7 of the speech frame owing to obtaining in step S1, with the quilt of the mute frame obtained The value 7 surveying parameter MI field is identical, and therefore, the value of the measured parameter MI field of mute frame " is closed Method ".
Step S3 is implemented:
Such as, detection window is 100, sets thresholding as 80, and accumulative to carry out 100 values illegal Judge, namely repeat 100 steps S1, S2 and to carry out judged result value illegal accumulative, obtain Accumulated result, the illegal quantity of value of the measured parameter MI field of such as accumulative mute frame is 13 Secondary, less than setting thresholding 80, namely the value of the measured parameter MI field of mute frame is illegal accumulative Quantity is not above setting thresholding.
Step S4 is implemented:
If the illegal quantity of value of the measured parameter MI field of accumulative mute frame is not above setting Thresholding, it is determined that voice encryption is not made mistakes, if voice encryption is not made mistakes, then will not produce singing of the stream, Thus, by the detection that voice encryption is made mistakes, furthermore achieved that the detection to singing of the stream.
Optionally, if accumulated quantity is not above setting thresholding, then for there is not stream in the result of output detections The underwater sound.Due in the present embodiment, the illegal accumulated quantity of value of the measured parameter MI field of mute frame 13 are not above setting thresholding 80, namely voice encryption do not makes mistakes, and will not produce singing of the stream, therefore, For there is not singing of the stream in the result of output detections.
Embodiment two:
Step S1 is implemented:
The number of speech frames that radio network controller (RNC) receives identifies according to by the transformat combination of its correspondence The ginseng at initial stage is set up in symbol TFCI (Transport Format Combination Indicator) and speech business Number may determine that the code rate of speech frame, and and then can number the code rate that should determine that speech frame.
The measured parameter of mute frame can be obtained by the coded data obtaining mute frame from audio data stream Value.The coded data of mute frame includes multiple field, such as MI (Mode Indication) field, MR (Mode Request) field, FT (Frame Type) field etc..Each field corresponding 3 or 4 bit code, the field value difference that different bit code is corresponding.Therefore, can be using above-mentioned field as quiet The measured parameter of sound frame, in detail below using MI field as the measured parameter of mute frame.
Optionally, before mute frame occurs, need to record the code rate of each speech frame, thus obtain The code rate of the previous speech frame of mute frame, the second in eight kinds of speed of e.g. AMR-NB, Then corresponding code rate numbered 1, also obtains the measured parameter of mute frame simultaneously.
Step S2 is implemented:
Optionally, by the numbering corresponding to the code rate of relatively described speech frame and described mute frame The value of the most identical MI field judging mute frame of the value of MI field is the most legal;
If it is identical, it is determined that the value of the MI field of described mute frame is legal;
If differing, it is determined that the value of the MI field of described mute frame is illegal.
Specify according to 3GPP agreement, the code rate of speech frame before the value of the field of mute frame and mute frame Relevant, namely the value of the field of mute frame is identical with the code rate numbering of speech frame before mute frame.
It is preferred, therefore, that using the value of the MI field of mute frame as measured parameter, therefore, mute frame The span of MI field (3 bits) be 0~7 (coded system is AMR-NB) or 0~8 (4 bits, coded system is AMR-WB).Such as, the measured parameter MI word of the mute frame of acquisition The value of section is 5 (coded system is AMR-NB).
The code rate numbered 1 of the speech frame owing to obtaining in step S1, with the quilt of the mute frame obtained The value 5 surveying parameter MI field differs, and therefore, the value of the measured parameter MI field of mute frame is " no Legal ".
Step S3 is implemented:
Such as, detection window is 100, sets thresholding as 80, and accumulative to carry out 100 values illegal Judge, namely repeat 100 steps S1, S2 and to carry out judged result value illegal accumulative, obtain Accumulated result, the illegal quantity of value of the measured parameter MI field of such as accumulative mute frame is 83 Secondary, more than setting thresholding 80, namely the value of the measured parameter MI field of mute frame is illegal accumulative Quantity has exceeded setting thresholding.
Step S4 is implemented:
If the illegal quantity of value of the measured parameter MI field of accumulative mute frame has exceeded setting door Limit, it is determined that voice encryption is made mistakes, if voice encryption is made mistakes, then can produce singing of the stream, thus by right The detection that voice encryption is made mistakes, furthermore achieved that the detection to singing of the stream.
Optionally, if accumulated quantity has exceeded setting thresholding, then for there is singing of the stream in the result of output detections. Owing to, in the present embodiment, the illegal accumulated quantity of value of the measured parameter MI field of mute frame 83 surpasses Cross setting thresholding 80, namely voice encryption has been made mistakes, singing of the stream, therefore, the knot of output detections can have been produced For there is singing of the stream in fruit.
The embodiment of the present invention is according to the volume of the value speech frame previous with it of the measured parameter of the mute frame obtained The identical feature of numbering corresponding to bit rate, and then can taking the measured parameter of the mute frame got The legitimacy of value judges, meanwhile, then by repeatedly statistical analysis thus can be determined whether further to deposit At singing of the stream.The inventive method be applicable to when speech data major part be all mute frame singing of the stream detection, Thus the detection method that compensate for relying on some parameter of speech frame cannot major part be all in speech data The deficiency of singing of the stream detection is carried out in the case of mute frame, the perfect method system of singing of the stream detection, with Time also further expanded for singing of the stream detection the scope of application.
The embodiment of the present invention also proposed the detection device that a kind of voice encryption is made mistakes, and this device can realize The detection method that the voice encryption of the invention described above embodiment is made mistakes.Additionally, in the embodiment of the present invention, language The detection device that sound encryption makes mistakes can be integrated in radio network controller (RNC) as processing module, or This detection equipment of person can also be embodied as single network detection device.
With reference to the functional module that Fig. 2, Fig. 2 are the detection device first embodiment that voice encryption of the present invention is made mistakes Schematic diagram.In the present embodiment, the detection device that voice encryption is made mistakes includes:
Acquisition module 10, for obtaining the measured parameter of mute frame in audio data stream and described mute frame The code rate of previous speech frame;
Legal judge module 20, for the code rate according to described speech frame, it is judged that described mute frame The value of measured parameter is the most legal;
Accumulation module 30, in detection window, the value of the measured parameter of accumulative described mute frame is not Legal quantity;
Threshold decision block 40, in detection window, it is judged that taking of the measured parameter of described mute frame It is worth whether illegal accumulated quantity exceedes setting thresholding;
Determine module 50, for determining the result of detection.
Further, reference Fig. 3, Fig. 3 is detection device the second embodiment that voice encryption of the present invention is made mistakes High-level schematic functional block diagram, the detection device that voice encryption of the present invention is made mistakes also can farther include:
Logging modle 60, before occurring at described mute frame, records the speed letter of each described speech frame Breath.
Further, reference Fig. 4, Fig. 4 is detection device the 3rd embodiment that voice encryption of the present invention is made mistakes High-level schematic functional block diagram, the detection device that voice encryption of the present invention is made mistakes also can farther include:
Output module 70, for the result of output detections.
Illustration at the technical characteristic of above-mentioned method part according to embodiments of the present invention can also be suitable Ground is applicable to the detection device that the voice encryption of the embodiment of the present invention is made mistakes, and vice versa.Below in conjunction with tool Body embodiment, the implementing of each functional module of the detection device makeing mistakes voice encryption illustrates.
In various embodiments of the present invention, the voice coding modes of audio data stream includes AMR-NB (Adaptive Multi Rate Narrow Band, self-adapting multi-rate narrowband encodes) or AMR-WB (Adaptive Multi Rate Wide Band, AMR-WB encodes), wherein, AMR-NB Code rate have eight kinds, namely to there being eight kinds of different code rates numbering (the most corresponding numberings It is 0~7);And the code rate of AMR-WB has nine kinds, namely to there being nine kinds of different code rates Numbering (the most corresponding numbered 0~8), is illustrated with AMR-NB in detail below.
Embodiment one:
For implementing of acquisition module 10:
The number of speech frames that acquisition module 10 receives is according to by the transport format combination identifiers TFCI of its correspondence It is permissible that the parameter at initial stage is set up in (Transport Format Combination Indicator) and speech business Judge the code rate of speech frame, and and then the code rate that should determine that speech frame can be numbered.
Acquisition module 10 can obtain mute frame by the coded data obtaining mute frame from audio data stream The value of measured parameter.The coded data of mute frame includes multiple field, such as MI (Mode Indication) field, MR (Mode Request) field, FT (Frame Type) field etc..Often Individual field corresponding 3 or 4 bit code, the field value difference that different bit code is corresponding.Therefore, Can be using above-mentioned field as the measured parameter of mute frame, tested using MI field as mute frame in detail below Parameter.
Optionally, before mute frame occurs, logging modle 60 needs to record the code rate of each speech frame, Thus acquisition module 10 can obtain the code rate of previous speech frame of mute frame, e.g. AMR-NB Eight kinds of speed in the 8th kind, then corresponding code rate numbered 7, acquisition module 10 also obtains simultaneously Obtain the value of the measured parameter of mute frame.
For implementing of legal judge module 20:
Optionally, by the numbering corresponding to the code rate of relatively described speech frame and described mute frame The value of the most identical MI field judging mute frame of the value of MI field is the most legal;
If it is identical, it is determined that the value of the MI field of described mute frame is legal;
If differing, it is determined that the value of the MI field of described mute frame is illegal.
Specify according to 3GPP agreement, the code rate of speech frame before the value of the field of mute frame and mute frame Relevant, namely the value of the field of mute frame is identical with the code rate numbering of speech frame before mute frame.
It is preferred, therefore, that using the value of the MI field of mute frame as measured parameter, therefore, mute frame The span of MI field (3 bits) be 0~7 (coded system is AMR-NB) or 0~8 (4 bits, coded system is AMR-WB).Such as, the measured parameter MI word of the mute frame of acquisition The value of section is 7 (coded system is AMR-NB).
The code rate numbered 7 of the speech frame owing to obtaining in acquisition module 10, with the mute frame obtained The value 7 of measured parameter MI field identical, therefore, the value of the measured parameter MI field of mute frame " legal ".
For implementing of accumulation module 30 and threshold decision block 40:
Such as, detection window is 100, sets thresholding as 80, and accumulation module 30 carries out 100 times with accumulative The illegal quantity of value of the measured parameter of mute frame, obtains accumulated result.Such as accumulative mute frame The illegal quantity of value of measured parameter MI field be 13 times, less than setting thresholding 80, Ye Jijing The illegal accumulated quantity of value of the measured parameter MI field of sound frame is not above setting thresholding.Thresholding is sentenced Disconnected module 40 is judged as less than setting thresholding 80, namely the value of the measured parameter of mute frame is illegal tired Count number is not above setting thresholding.
For determining implementing of module 50:
If the illegal quantity of value of the measured parameter MI field of accumulative mute frame is not above setting Thresholding, it is determined that voice encryption is not made mistakes, if voice encryption is not made mistakes, then will not produce singing of the stream, Thus, by the detection that voice encryption is made mistakes, furthermore achieved that the detection to singing of the stream.
For implementing of output module 70:
If accumulated quantity is not above setting thresholding, then the result of output module 70 output detections is not for exist Singing of the stream.Due in the present embodiment, the illegal accumulative total of value of the measured parameter MI field of mute frame Amount 13 is not above setting thresholding 80, namely voice encryption do not makes mistakes, and will not produce singing of the stream, therefore, For there is not singing of the stream in the result of output module 70 output detections.
Embodiment two:
For implementing of acquisition module 10:
The number of speech frames that acquisition module 10 receives is according to by the transport format combination identifiers TFCI of its correspondence It is permissible that the parameter at initial stage is set up in (Transport Format Combination Indicator) and speech business Judge the code rate of speech frame, and and then the code rate that should determine that speech frame can be numbered.
Acquisition module 10 can obtain mute frame by the coded data obtaining mute frame from audio data stream The value of measured parameter.The coded data of mute frame includes multiple field, such as MI (Mode Indication) field, MR (Mode Request) field, FT (Frame Type) field etc..Often Individual field corresponding 3 or 4 bit code, the field value difference that different bit code is corresponding.Therefore, Can be using above-mentioned field as the measured parameter of mute frame, tested using MI field as mute frame in detail below Parameter.
Optionally, before mute frame occurs, logging modle 60 needs to record the code rate of each speech frame, Thus acquisition module 10 can obtain the code rate of previous speech frame of mute frame, e.g. AMR-NB Eight kinds of speed in the second, then corresponding code rate numbered 1, acquisition module 10 also obtains simultaneously Obtain the value of the measured parameter of mute frame.
For implementing of legal judge module 20:
Optionally, by the numbering corresponding to the code rate of relatively described speech frame and described mute frame The value of the most identical MI field judging mute frame of the value of MI field is the most legal;
If it is identical, it is determined that the value of the MI field of described mute frame is legal;
If differing, it is determined that the value of the MI field of described mute frame is illegal.
Specify according to 3GPP agreement, the code rate of speech frame before the value of the field of mute frame and mute frame Relevant, namely the value of the field of mute frame is identical with the code rate numbering of speech frame before mute frame.
It is preferred, therefore, that using the value of the MI field of mute frame as measured parameter, therefore, mute frame The span of MI field (3 bits) be 0~7 (coded system is AMR-NB) or 0~8 (4 bits, coded system is AMR-WB).Such as, the measured parameter MI word of the mute frame of acquisition The value of section is 5 (coded system is AMR-NB).
The code rate numbered 1 of the speech frame owing to obtaining in acquisition module 10, with the mute frame obtained The value 5 of measured parameter MI field differ, therefore, taking of the measured parameter MI field of mute frame Value " illegal ".
For implementing of accumulation module 30 and threshold decision block 40:
Such as, detection window is 100, sets thresholding as 80, and accumulation module 30 carries out 100 times with accumulative The illegal quantity of value of the measured parameter of mute frame, obtains accumulated result.Such as accumulative mute frame The illegal quantity of value of measured parameter MI field be 83 times, more than setting thresholding 80, Ye Jijing The illegal accumulated quantity of value of the measured parameter MI field of sound frame has exceeded setting thresholding.Thresholding judges Module 40 is judged as more than setting thresholding 80, namely the value of the measured parameter of mute frame is illegal accumulative Quantity has exceeded setting thresholding.
For determining implementing of module 50:
If the illegal quantity of value of the measured parameter MI field of accumulative mute frame has exceeded setting door Limit, it is determined that voice encryption is made mistakes, if voice encryption is made mistakes, then can produce singing of the stream, thus, pass through The detection makeing mistakes voice encryption, furthermore achieved that the detection to singing of the stream
For implementing of output module 70:
If accumulated quantity has exceeded setting thresholding, then for there is flowing water in the result of output module 70 output detections Sound.Due in the present embodiment, the illegal accumulated quantity of value of the measured parameter MI field of mute frame 83 have exceeded setting thresholding 80, namely voice encryption is made mistakes, and can produce singing of the stream, therefore, output module For there is singing of the stream in the result of 70 output detections.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every Utilize equivalent structure or equivalence flow process conversion that description of the invention and accompanying drawing content made, or directly or Connect and be used in other relevant technical fields, be the most in like manner included in the scope of patent protection of the present invention.

Claims (8)

1. the detection method that a voice encryption is made mistakes, it is characterised in that described detection method includes:
Obtain the measured parameter of mute frame in audio data stream and the volume of the previous speech frame of described mute frame Bit rate;
Code rate according to described speech frame, it is judged that whether the value of the measured parameter of described mute frame closes Method;
In detection window, add up the illegal quantity of value of the measured parameter of described mute frame and judge Whether this quantity exceedes setting thresholding;
If, it is determined that voice encryption is made mistakes.
2. detection method as claimed in claim 1, it is characterised in that described according to described speech frame Code rate, it is judged that the value of the measured parameter of described mute frame is the most legal to be included:
Relatively the taking of the MI field of the numbering corresponding to the code rate of described speech frame and described mute frame Being worth the most identical, the measured parameter of described mute frame at least includes MI field;
If, it is determined that the value of the MI field of described mute frame is legal;
If not, it is determined that the value of the MI field of described mute frame is illegal.
3. detection method as claimed in claim 1 or 2, it is characterised in that described acquisition speech data Stream also wraps before the code rate of the previous speech frame of the measured parameter of mute frame and described mute frame Include:
Before described mute frame occurs, record the code rate of each described speech frame.
4. detection method as claimed in claim 3, it is characterised in that described determine that voice encryption is made mistakes Include afterwards:
The result of output detections.
5. the detection device that a voice encryption is made mistakes, it is characterised in that described detection device includes:
Acquisition module, for obtaining the measured parameter of mute frame in audio data stream and described mute frame The code rate of previous speech frame;
Legal judge module, for the code rate according to described speech frame, it is judged that the quilt of described mute frame The value surveying parameter is the most legal;
Accumulation module, in detection window, the value of the measured parameter of accumulative described mute frame does not conforms to The quantity of method;
Threshold decision block, in detection window, it is judged that the value of the measured parameter of described mute frame Whether illegal accumulated quantity exceedes setting thresholding;
Determine module, for determining the result of detection.
Detect device the most as claimed in claim 5, it is characterised in that described legal judge module is concrete It is additionally operable to:
Relatively the taking of the MI field of the numbering corresponding to the code rate of described speech frame and described mute frame Being worth the most identical, the measured parameter of described mute frame at least includes MI field;
If, it is determined that the value of the MI field of described mute frame is legal;
If not, it is determined that the value of the MI field of described mute frame is illegal.
7. the detection device as described in claim 5 or 6, it is characterised in that described detection device also wraps Include:
Logging modle, before occurring at described mute frame, records the code rate of each described speech frame.
Detect device the most as claimed in claim 7, it is characterised in that described detection device also includes:
Output module, for the result of output detections.
CN201510295661.6A 2015-06-02 2015-06-02 Method and device for detecting voice encryption errors Active CN106297827B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510295661.6A CN106297827B (en) 2015-06-02 2015-06-02 Method and device for detecting voice encryption errors
PCT/CN2015/088521 WO2016192218A1 (en) 2015-06-02 2015-08-31 Voice encryption error detection method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510295661.6A CN106297827B (en) 2015-06-02 2015-06-02 Method and device for detecting voice encryption errors

Publications (2)

Publication Number Publication Date
CN106297827A true CN106297827A (en) 2017-01-04
CN106297827B CN106297827B (en) 2020-07-10

Family

ID=57440047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510295661.6A Active CN106297827B (en) 2015-06-02 2015-06-02 Method and device for detecting voice encryption errors

Country Status (2)

Country Link
CN (1) CN106297827B (en)
WO (1) WO2016192218A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111681663A (en) * 2020-07-24 2020-09-18 北京百瑞互联技术有限公司 Method, system, storage medium and device for reducing audio coding computation amount

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004362721A (en) * 2003-06-09 2004-12-24 Sony Corp Method and device for creating data, method and device for reproducing data, and program
WO2008150224A1 (en) * 2007-06-04 2008-12-11 Telefonaktiebolaget L M Ericsson (Publ) Efficient, secure digital wireless voice telephony via selective encryption
CN100450243C (en) * 2007-04-06 2009-01-07 东南大学 Anti vocoder compressed end-to-end voice encryption device and method
CN100499441C (en) * 2005-10-31 2009-06-10 连展科技(天津)有限公司 Method of implementing source control rate of AMR speech sound coding
CN1991977B (en) * 2005-12-29 2011-06-08 Ut斯达康通讯有限公司 Voice coding rate confirming method for radio communication
CN102572929A (en) * 2011-12-21 2012-07-11 华为技术有限公司 Voice detection method and equipment
CN104301911A (en) * 2013-07-18 2015-01-21 马维尔国际贸易有限公司 Correcting deciphering mis-synchronization in mobile communication terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7558286B2 (en) * 2004-10-22 2009-07-07 Sonim Technologies, Inc. Method of scheduling data and signaling packets for push-to-talk over cellular networks
CN101106824B (en) * 2007-08-08 2010-12-08 华为技术有限公司 Method and wireless network controller for enabling encryption in call establishment process

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004362721A (en) * 2003-06-09 2004-12-24 Sony Corp Method and device for creating data, method and device for reproducing data, and program
CN100499441C (en) * 2005-10-31 2009-06-10 连展科技(天津)有限公司 Method of implementing source control rate of AMR speech sound coding
CN1991977B (en) * 2005-12-29 2011-06-08 Ut斯达康通讯有限公司 Voice coding rate confirming method for radio communication
CN100450243C (en) * 2007-04-06 2009-01-07 东南大学 Anti vocoder compressed end-to-end voice encryption device and method
WO2008150224A1 (en) * 2007-06-04 2008-12-11 Telefonaktiebolaget L M Ericsson (Publ) Efficient, secure digital wireless voice telephony via selective encryption
CN102572929A (en) * 2011-12-21 2012-07-11 华为技术有限公司 Voice detection method and equipment
CN104301911A (en) * 2013-07-18 2015-01-21 马维尔国际贸易有限公司 Correcting deciphering mis-synchronization in mobile communication terminal

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
3RD GENERATION PARTNERSHIP PROJECT等: "《3G TS 26.101 V1.4.0》", 31 October 1999 *
3RD GENERATION PARTNERSHIP PROJECT等: "《3GPP TS 26.093 V12.0.O》", 30 September 2014 *
王洪等: "3GPP中语音编码的自适应技术与源控速率(SCR)操作", 《信息工程大学学报》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111681663A (en) * 2020-07-24 2020-09-18 北京百瑞互联技术有限公司 Method, system, storage medium and device for reducing audio coding computation amount
CN111681663B (en) * 2020-07-24 2023-03-31 北京百瑞互联技术有限公司 Method, system, storage medium and device for reducing audio coding computation amount

Also Published As

Publication number Publication date
CN106297827B (en) 2020-07-10
WO2016192218A1 (en) 2016-12-08

Similar Documents

Publication Publication Date Title
US7023880B2 (en) Re-formatting variable-rate vocoder frames for inter-system transmissions
JP5059795B2 (en) Method and apparatus for improved detection of rate errors in variable rate receivers
US7496804B2 (en) Communications system, receiver, and method of estimating received signal quality by using bit error rate
Ren et al. An AMR adaptive steganography algorithm based on minimizing distortion
CN104753634B (en) DCI detection method and device
CN1108834A (en) Method and apparatus for determining data rate of transmitted variable rate data in a communications receiver
KR101081778B1 (en) Systems and methods for dynamic normalization to reduce loss in precision for low-level signals
CN1835625A (en) Method of blind detecting transfer patterns
CN103871405A (en) AMR audio authenticating method
CN106297827A (en) Detection method that voice encryption is made mistakes and device
US6480556B1 (en) Rate detection apparatus and method for variable rate speech encoding
US6519740B1 (en) Bit detection method in a radio communications system
CN102572929B (en) Voice detection method and equipment
US20040157595A1 (en) Device and method for checking the quality of data packets transmitted via a radio channel
CN103384973A (en) Channel coding method, channel decoding method and device of multi-rate voice services
CN104125035A (en) Method and apparatus for DCI false detection screening
CN101145796A (en) Method and device for accurately receiving downlink share control channel data
CN101151836B (en) Blind transport format detection based on decoder metric
Vainio et al. GSM EFR based multi-rate codec family
US20150100318A1 (en) Systems and methods for mitigating speech signal quality degradation
CN100490401C (en) A method and device for voice stream detection
Geiser et al. Steganographic Packet Loss Concealment forWireless VoIP
CN102427393B (en) Reliable cooperative spectrum sensing method
GB2396083A (en) Frame error detection
Strauch et al. Low complexity source controlled channel decoding in a GSM system

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