CN101014060A - Voice encryption method for GoTone handset with anti longterm prediction rule pulse excitation compression coding - Google Patents

Voice encryption method for GoTone handset with anti longterm prediction rule pulse excitation compression coding Download PDF

Info

Publication number
CN101014060A
CN101014060A CN 200710019924 CN200710019924A CN101014060A CN 101014060 A CN101014060 A CN 101014060A CN 200710019924 CN200710019924 CN 200710019924 CN 200710019924 A CN200710019924 A CN 200710019924A CN 101014060 A CN101014060 A CN 101014060A
Authority
CN
China
Prior art keywords
module
data
speech
encryption
voice
Prior art date
Application number
CN 200710019924
Other languages
Chinese (zh)
Other versions
CN101014060B (en
Inventor
蒋睿
齐宏飞
周世健
杨晓辉
胡爱群
Original Assignee
东南大学
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 东南大学 filed Critical 东南大学
Priority to CN 200710019924 priority Critical patent/CN101014060B/en
Publication of CN101014060A publication Critical patent/CN101014060A/en
Application granted granted Critical
Publication of CN101014060B publication Critical patent/CN101014060B/en

Links

Abstract

The invention relates to one anti-long time prediction rules impulse excitation compression codes global cell phone language coding method, which comprises the following steps: connecting cell phone language coding and decoding modules for coding computation to realize decoding function between A/D module and decoding module, wherein, the said decoding and coding module is one digital signal minimum system hardware module and the DSP process module is to process language signals coding computation; the power module is connected to power interface of DSP process module.

Description

抗长时预测规则脉冲激励压缩编码全球通手机语音加密方法 Forecast GSM mobile phone voice encryption rules excitation pulse compression coding when anti length

技术领域 FIELD

本发明是一种全球通(GSM)手机端到端语音加密方法。 The present invention is a GSM (GSM) phone-end voice encryption. 它基于抗长时预测规则脉冲激励(RPE-LTP)压缩编码语音加解密算法,采用数字信号处理(DSP)芯片TMS320C5402为基础平台,是一种无线网络终端的端到端安全通信方法。 It predicts regular pulse excitation (RPE-LTP) speech compression coding encryption and decryption algorithms, digital signal processing (DSP) chip TMS320C5402 based platform, an end to end security communication method in a wireless network based on the terminal when the anti length.

背景技术 Background technique

随着移动通信技术的飞速发展,特别是GSM系统在全球的广泛应用,GSM手机通信的安全需求正日益增长,用户对手机安全通信的要求也越来越高。 With the rapid development of mobile communication technology, especially in the GSM system is widely used around the world, the security needs of GSM mobile phone communications is growing, demand for mobile phone users have become more sophisticated secure communications. 标准的GSM系统中虽然存在着一套较为完整的手机安全通信规范和技术,但由于仅采用无线信道加密技术,只能保证手机至基站间无线传输过程中语音信号的加密通信,语音信号在基站间的中继过程中仍是以明文形式传输,因此无法保证手机间端到端的语音安全加密通信。 Although the standard GSM system, there is a more complete specifications and technical phone communications safety, but using only the radio channel encryption, to ensure that the phone can only be encrypted communication, inter-base station radio transmission voice signal during voice signals in a base station the relay is still in the process of inter-clear text transmission can not be guaranteed secure encrypted voice communications between mobile phones from end to end. 一旦攻击者能够接入或控制运营商网络的中继传输系统,整个用户的通信内容将暴露无疑。 Once an attacker to access or control a relay transmission system operator network, the entire contents of the user communications will be exposed. 同时,由于运营商可以随时监听网间的通信流量,对于一些具有高安全通信要求的个人和部门,在通信过程中也存在着相当的安全隐患。 Also, because the operator can monitor the inter-network traffic at any time, for some individuals and departments with high safety communications requirements in the communication process there is considerable security risks.

鉴于此,近年来先后有德国、以色列、美国等国家的研究机构和团体在GSM手机端到端安全通信领域进行了研究,并相继推出了端到端的GSM网络加密终端。 In view of this, in recent years there have been Germany, Israel, the United States and other countries of the research institutions and groups were studied in GSM mobile phones end communications security, and have launched end-to-end encryption of GSM networks. 其中德国GSMK公司于2003年11月采用其开发的语音加密技术,发布了名为Cryptophone的语音加密手机;以色列公司Snapshield于2005年初,提出了一种基于GSM智能手机的语音加密技术;美国的TCC公司也于2006年推出了采用语音加密技术的加密手机CipherTalk-8000。 German company which GSMK in November 2003, using its voice encryption technology developed, released a phone called Cryptophone of voice encryption; Snapshield Israeli company in early 2005, raised voice encryption technology based on GSM smart phone; the United States of TCC the company also launched in 2006 a mobile phone CipherTalk-8000 uses encryption voice encryption technology. 国内也有一些象北京天正合商业秘密保护中心等机构,基于国外相似的技术推出了各自的产品。 There are also a few like Beijing Tengen close trade secret protection centers and other institutions, based on similar foreign technology introduced their own products.

然而,诸如德国GSMK、以色列Snapshield、美国TCC以及北京天正合等采用的语音加密技术,都是基于传统的密码学加密技术(DES、3DES、AES等),通过GSM网络的数据通道对数字信号进行加密传输。 However, such as Germany GSMK, Israel Snapshield, the United States and other co-TCC and Beijing Tengen voice encryption technology used, it is based on the traditional cryptography encryption (DES, 3DES, AES, etc.), a digital signal through the data channel of the GSM network encrypted transmission. 即首先把语音信号数字化,并借助于GSM网络的数据通道(如GPRS通道等),对数字化信号进行加密,然后采用VOIP(VoiceOver IP)技术进行传输。 I.e., the first speech signal is digitized, and by means of the GSM network data channel (such as GPRS channels, etc.), the digitized signals are encrypted, and then using VOIP (VoiceOver IP) transmission technology. 这类加密方法的优点是可以避开语音通道中的RPE-LTP声码器(由于采用传统密码学加密技术加密后的数据信号,通过RPE-LTP声码器压缩编码后,无法解密恢复),技术上易于实现,并且方式灵活,技术众多(因采用的密码学加密方法不同)。 Advantage of such an encryption method can avoid the RPE-LTP speech vocoder channels (thanks to a conventional data signal cryptography encryption technology, compressed by RPE-LTP coding vocoder, recovery can not be decrypted), technically easy to implement, and flexible, many technologies (cryptography because different encryption method used). 但是,这类技术也存在着明显的缺陷:第一,由于建立IP连接和运用自动重传机制造成的延时问题无法克服,其中建立连接延时可达20-30秒,处理延时0.5-1秒,因此严重影响通话效果。 However, such techniques are also obvious drawbacks: First, establish IP connectivity latency issues due to the use of automatic retransmission mechanism and cause can not be overcome, which establishes a connection delay of up to 20-30 seconds, processing delay 0.5 1 second, thus seriously affecting call quality. 第二,该类技术基于GSM数据通道,因此在通过不同运行商及国际网络时存在互用性的问题,跨网不能互连互通。 Second, the type of technology based on GSM data channel, therefore interoperability problems when different operators and international network, can not cross-network interconnection. 第三,不支持现有GSM的增值业务,如数据通道的两端不能使用现有的电话卡以及移动网络的一些其他增值业务。 Third, do not support the existing GSM value-added services, such as both ends of the data channel can not use some of the existing telephone cards and other value-added services in mobile networks.

发明内容 SUMMARY

技术问题:本发明的目的在于提出一种直接在GSM传统语音通道上进行语音信源加密和传输的“抗长时预测规则脉冲激励(RPE-LTP)压缩编码全球通(GSM)手机语音加密方法”,该方法具有抗RPE-LTP压缩编码的能力,因此可以克服采用上述GSM数据通道加密技术的所有缺陷。 Technical problem: The purpose of the present invention is to propose "(GSM) mobile phone voice encryption method for predicting regular pulse excitation (RPE-LTP) when the anti-length compression coding GSM" a direct voice channel source encrypted and transmitted on a GSM traditional voice channel this method has the ability to resist compression RPE-LTP coding, it is possible to overcome all the above-mentioned defects GSM data channel encryption technology. 采用本发明的技术,首先可以提供GSM加密手机端到端安全通信;其次可以大幅降低通话延迟(0.2秒);而且由于不改变GSM系统中语音通道的特性,支持跨网的互连互通;同时支持现有GSM网络中所有的增值业务。 Using the techniques of the present invention, first encryption GSM mobile phone may be provided end to end security communication; Then the call can be significantly reduced delay (0.2 seconds); and because the system does not change the characteristics of the GSM speech channel, to support inter-network interconnection; while support existing GSM networks in all value-added services. 此外,本发明的原理同样可以拓展应用于第三代移动通信网络(3G)和CDMA1X移动网络的语音加密通信中。 Further, the principles of the present invention may also be applied to develop the third generation mobile voice communication network (3G) mobile network CDMA1X and encrypted communication.

技术方案:本发明的抗长时预测规则脉冲激励压缩编码全球通手机语音加密方法是在全球通手机语音通信系统的模/数模块和长时预测规则脉冲激励编解码模块之间,接入手机语音加/解密模块,进行语音加解密运算,实现语音加解密功能;其中,所述的手机语音加/解密模块是一个数字信号处理最小系统硬件模块,主要包括:DSP处理器模块、电源模块、时钟模块、RAM存储模块以及ROM存储模块;所述的DSP处理器模块作为硬件系统的核心,处理语音信号的加解密运算;电源模块连接DSP处理器模块的电源接口,负责供电;时钟模块连接DSP处理器模块的时钟接口,为DSP处理器模块提供脉冲振荡波;RAM存储模块连接DSP处理器模块的RAM存储接口,为DSP处理器模块正常工作提供存储空间;ROM存储模块连接DSP处理器模块的ROM存储接口,使DSP处理器模块在初始化时加载 Technical Solution: prediction anti-long of the present invention, regular pulse excitation compression coding in GSM mobile voice encryption method between the excitation codec module in the mold in GSM mobile telephony system / module number and length prediction regular pulse, the access phone speech plus / decryption module, a voice encryption and decryption, voice encryption and decryption functions; wherein said mobile voice encryption / decryption module is a digital signal processing module minimum system hardware, including: DSP processor module, power module, clock module , the RAM and ROM memory module storing module; DSP processor module as recited in core hardware system, encryption and decryption processing a speech signal; a power supply module connected to the power supply DSP processor module interfaces for power; DSP processor clock module is connected clock interface module, to provide for the DSP processor block pulse oscillation; DSP RAM memory module connected to the processor module interface to a RAM memory, to provide storage space for the DSP processor module operation; ROM memory module connected to the processor module DSP ROM stores interfaces the DSP processor module is loaded upon initialization 统软件。 System software.

DSP处理器模块的内存中包含一个语音加解密方法;该语音加解密方法分别运行语音分解/合成算法模块、语音加/解密算法模块、类语音合成/分解算法模块以及语音信号同步模块,从而实现手机语音的加解密通信;具体方法为:1.)系统初始化:系统初始化过程中,首先完成DSP配置以及时钟、存储器接口等的配置,2.)发送数据:当存在模/数模块输入的发送数据时,首先运行语音分解/合成算法模块,把数据信号分解成一定大小的帧;接着运行语音加/解密算法模块,对分帧的语音按特定方式进行加密;然后运行类语音合成/分解算法模块,对加密后的类语音以倒相等方式进行合成;最后运行语音信号同步模块,对合成的类语音信号加上特定的同步信号头,然后输出;3.)接收数据:当存在RPE-LTP编解码模块解码输入的接收数据时,首先运行语音信号同步模块 DSP processor memory module comprises a speech encryption and decryption method; method of the speech encryption and decryption, respectively, running the voice analysis / synthesis algorithm module, voice encryption / decryption algorithm module, a speech synthesis / decomposition algorithm module and the speech signal synchronization module, in order to achieve cryptographic communication handset voice; specific methods are: 1) system initialization: system initialization process, the first to complete the configuration DSP configuration and a clock, a memory interface and the like, 2) the transmission data: when transmitting the presence / D module inputs. data, first run the speech analysis / synthesis algorithm module, the data signal into frames of a certain size; then running the voice encryption / decryption algorithm module, the speech sub-frame is encrypted in a particular manner; then run a speech synthesis / decomposition algorithm module, based on the encrypted voice inverted equal synthesized; the last operation of the voice signal synchronization module, for a speech signal synthesized by adding specific synchronization signal header, and then outputs; 3) Receive data: when there is RPE-LTP when encoding and decoding module decodes the received data input, first run the speech signal synchronization module 判断是否获得信号同步,若否,则重新进行同步运算,若是,则接着运行后续模块;接着运行类语音合成/分解模块,对同步后的信号以倒相等方式进行类语音分解;然后运行语音加/解密算法模块,按特定方式对信号进行解密;最后运行语音分解/合成算法模块,对解密后的语音信号帧按一定大小进行合成,然后输出。 Determining whether the obtained signal synchronization, and if not, re-synchronization operation, if yes, then run subsequent module; then run a speech synthesis / decomposition module, the signal after the synchronized speech like an exploded inverted equal manner; then run speech plus / decryption algorithm module, decrypting the signal a particular manner; last operation of the voice analysis / synthesis algorithm module, the frame of the speech signal by synthesizing the decrypted certain size, and then output.

所述的语音分解/合成算法模块包含主程序调用、发送/接收数据、缓存输入、帧分解/合成算法以及输出等几个步骤,实现语音的分解和合成;具体方法为:1.)主程序调用:系统运行语音分解/合成算法模块时,主程序调用该模块进行运算, The speech analysis / synthesis algorithm module comprises a main program calls, send / receive data, the input buffer, the frame decomposition / synthesis algorithm and an output, and several steps to achieve a speech analysis and synthesis; Specific methods are: 1) the main program call: the system is running speech analysis / synthesis algorithm module, the main program calls the module operation,

2.)发送数据:当数据需要发送时,首先对数据进行缓存输入,然后采用帧分解算法对数据进行分帧,最后输出分解好的数据帧;3.)接收数据:当接收到数据后,首先对数据进行缓存输入,然后采用帧合成算法对数据帧进行合成,最后输出合成后的数据。 2.) Send Data: When data to be transmitted, the data is first input buffer, and frame decomposition algorithm using the data sub-frame, the final output data frame exploded good; 3) Receive data: Upon receipt of the data, first, the data input buffer, and frame synthesis algorithm using the synthesized data frame, and finally outputs the combined data.

所述的语音加/解密算法模块包含主程序调用、发送/接收数据、缓存输入、加/解密参数确定、矩阵加/解密算法以及输出等几个步骤,实现语音的加密和解密;具体方法为:1.)主程序调用:系统运行语音加/解密算法模块时,主程序调用该模块进行加/解密运算,2.)发送数据:当数据需要发送时,首先对数据进行缓存输入,接着确定加密参数,然后采用矩阵加密算法对数据进行加密,最后输出加密后的数据;3.)接收数据:当接收到数据后,首先对数据进行缓存输入,接着确定解密参数,然后采用矩阵解密算法对数据进行解密,最后输出解密后的数据。 The speech encryption / decryption algorithm module comprises a main program calls, send / receive data, input buffer, encryption / decryption parameter determination, matrix encryption / decryption algorithm and output and several steps, voice encryption and decryption; specific methods : 1) the main program calls: the system is running speech encryption / decryption algorithm module, the main program module calls the encryption / decryption operation, 2) data transmission: when the data needs to be sent, the data is first input buffer, then determines encryption parameters, and a matrix encryption algorithm to encrypt the data, and finally outputs the encrypted data; 3) Receive data: Upon receipt of the data, the first data buffer input, then determine the decryption parameters, and a matrix decryption algorithm data is decrypted, the decrypted data output last.

所述的类语音合成/分解算法模块包含主程序调用、发送/接收数据、倒序、类语音映射变换/逆变换、语音增强以及输出等几个步骤,实现类语音的合成和分解;具体方法为:1.)主程序调用:系统运行类语音合成/分解算法模块时,主程序调用该模块进行类语音的合成/分解,2.)发送数据:当数据需要发送时,首先对数据进行倒序,接着对数据进行类语音映射变换,然后采用语音增强,最后输出合成后的类语音数据;3.)接收数据:当接收到数据后,首先对数据进行类语音映射逆变换,接着对数据进行倒序,然后采用语音增强,最后输出分解后的语音数据。 In a class of speech synthesis / decomposition algorithm module comprises a main program calls, send / receive data, descending, voice mapping type transform / inverse transform, and an output speech enhancement, and several steps to achieve a speech synthesis and degradation; in particular to a method : 1) the main program calls: the system is running a speech synthesis / decomposition algorithm module, the main program calls the module-based speech synthesis / decomposition, 2) data transmission: when the data needs to be sent, the data is first reverse, Next, the data type voice mapping transformation, and then employed speech enhancement, a speech data after final output synthesized; 3) Receive data: Upon receipt of the data, the first data-based voice mapping inverse transform, and then the data is reverse then by using a voice enhancement, voice data output after the final decomposition.

所述的语音信号同步算法模块包含主程序调用、发送/接收数据、同步波形参数确定/同步相关运算、加上/去掉同步头以及输出等几个步骤,实现信号的同步发送和接收;具体方法为:1.)主程序调用:系统运行语音信号同步算法模块时,主程序调用该模块进行信号的同步发送和接收,2.)发送数据:当数据需要发送时,首先确定同步波形参数,然后加上同步头,最后输出带有同步信号的数据;3.)接收数据:当接收到数据后,首先进行同步相关运算,然后去掉同步头,最后输出纯粹的数据。 Said speech signal comprises a synchronization algorithm for the main program module calls, send / receive data, the synchronization waveform parameter determining / synchronization correlation computation, plus / synchronization header is removed, and an output, and several steps to achieve simultaneous transmission and reception signals; specific methods is: 1) the main program calls: when the system runs the speech signal synchronization algorithm module, the main program calls the module to synchronize the transmitting and receiving signals, 2) data transmission: when data to be transmitted, synchronization is first determined waveform parameters, and synchronization with the first, with the final output data of the synchronization signal; 3) Receive data: Upon receipt of the data, the first correlation operation synchronization, and the synchronization header is removed, the pure final output data.

有益效果:本发明抗长时预测规则脉冲激励压缩编码全球通(GSM)手机语音加密方法具有良好的功能特性:实现了GSM手机端到端的安全通信,加密强度不低于3DES;经加解密后,语音信号的可懂度不受损失,音质达到GSM网络的要求,通话可懂度≥99%;满足通信的实时性要求,应用于GSM网络无延迟,处理时延≤200ms;支持跨网的互连互通以及现有GSM网络中的所有增值业务。 Advantageous Effects: Regular Pulse Excitation prediction compression encoded GSM (GSM) mobile phone voice encryption method has good functional characteristics of the present invention, an anti length: the end to achieve a secure communications GSM mobile phone, encryption strength of not less than 3DES; decrypted by adding, intelligibility of the speech signal is not lost, the sound quality to meet the requirements of the GSM network, the call intelligibility ≥99%; meet the requirements of real-time communication, GSM network is applied without delay, processing delay ≤ 200ms; mutual support inter-network and even the exchange of all existing GSM network value-added services. 此外,基于相同的语音加密原理,在实现技术上修改某些参数即可应用于3G和CDMA 1X移动网络中。 Further, based on the same principle voice encryption, modify certain parameters can be applied to achieve technically and 3G CDMA 1X mobile network.

附图说明 BRIEF DESCRIPTION

图1是本发明方法在全球通手机中的应用结构图;图2是本发明方法的系统原理图;图3是本发明方法的软、硬件模块关系图;图4是电原理图;图5是本发明方法的系统软件流程图。 FIG 1 is a method of the present invention is applied to a configuration diagram in the GSM mobile phone; FIG. 2 is a system schematic diagram of the method of the present invention; FIG. 3 is a hardware and software modules relation diagram of a method of the present invention; FIG. 4 is an electrical schematic diagram; FIG. 5 is the method of the present invention system software flowchart.

图6是语音分解/合成算法模块流程图。 FIG 6 is a speech analysis / synthesis module algorithm flowchart.

图7是语音加/解密算法模块流程图。 FIG 7 is a voice encryption / decryption algorithm module flowchart.

图8是类语音合成/分解算法模块流程图。 FIG 8 is a speech synthesis / decomposition algorithm module flowchart.

图9是语音信号同步算法模块流程图。 9 is a flowchart of the speech signal synchronization algorithm module.

具体实施方式 detailed description

本发明抗长时预测规则脉冲激励(RPE-LTP)压缩编码的全球通(GSM)手机语音加密方法,采用独特的硬件接入方法,包含DSP最小系统硬件模块和软件系统模块两个部分。 The present invention is predicted regular pulse excitation (RPE-LTP) coding compression GSM (GSM) mobile phone voice encryption, unique hardware access method, comprising two portions DSP minimum system hardware modules and software modules anti length.

其中:1.本发明在全球通(GSM)手机语音通信系统的模/数(A/D)模块和RPE-LTP编解码模块之间,接入手机语音加/解密模块,从而运行语音加解密算法。 Wherein: 1. the present invention between the mold GSM (GSM) mobile phone voice communication system / digital (A / D) modules and RPE-LTP codec module, access phone voice encryption / decryption modules to run the speech encryption and decryption algorithm .

2.本发明的DSP最小系统硬件模块主要包括以下几个子模块:1)一个DSP处理器模块1:TMS320C5402至少包含一个16位定点处理器,具有独立的程序和数据空间,用于加解密运算。 2. The DSP minimum system hardware module of the present invention includes the following sub-modules: a) a DSP processor module 1: contains a 16-bit fixed point of TMS320C5402 processor, at least, having a separate program and data space, for encryption and decryption.

2)电源模块2:至少提供两组电压,为DSP芯片内核和片上外设供电。 2) Power Module 2: providing at least two sets of voltage as a DSP chip on-chip peripherals and core power.

3)时钟模块3:产生系统时钟。 3) clock module 3: generating a system clock.

4)RAM存储模块4:为系统外扩程序和数据区。 4) the RAM memory module 4: expanding a program and data for the area outside of the system.

5)ROM存储模块5:用于固化程序。 5) a ROM memory module 5: a curing process.

3.本发明的软件系统模块包括:1)语音分解/合成算法模块6:把语音信号分解成合适的帧尺寸,以便在后续的类语音合成算法中有效地进行信号合成。 3. The present invention comprises software modules: 1) speech analysis / synthesis algorithm module 6 of: dividing the speech signal into the appropriate frame size, for effectively synthesizing a signal based on subsequent speech synthesis algorithm.

2)语音加/解密算法模块7:对分解的语音信号进行加解密,确保加密强度达到3DES的要求。 2) speech plus / decryption algorithm module 7: decomposed speech signal encryption and decryption, the encryption strength to ensure that meet the requirements of 3DES.

3)类语音合成/分解算法模块8:将加密后的信号合成符合RPE-LTP编码要求的信号,便于在接收端有效解码。 3) a speech synthesis / decomposition algorithm module 8: Synthesis of the encrypted signal coincidence signal is RPE-LTP coding requirements, to facilitate efficient decoding at the receiving end.

4)语音信号同步算法模块9:用于接收端信号的同步接收和恢复。 4) speech signal synchronization algorithm module 9: a synchronization signal receiving terminal for receiving and recovery.

以下结合附图,对本发明方法各个模块的结构和流程进行详细说明。 Conjunction with the drawings, the structure and flow of the method of the present invention, each module will be described in detail. 本发明方法是一种抗长时预测规则脉冲激励压缩编码全球通手机语音加密方法。 The present invention is a method of predicting the encryption method in GSM mobile voice compression coding rule excitation pulse when an anti long.

具体方法为:在全球通手机语音通信系统的模/数模块和长时预测规则脉冲激励编解码模块之间,接入手机语音加/解密模块,进行语音加解密运算,实现语音加解密功能;其中,所述的手机语音加/解密模块是一个数字信号处理最小系统硬件模块,主要包括:DSP处理器模块1、电源模块2、时钟模块3、RAM存储模块4以及ROM存储模块5;所述的DSP处理器模块1作为硬件系统的核心,处理语音信号的加解密运算;电源模块2连接DSP处理器模块1的电源接口,负责供电;时钟模块3连接DSP处理器模块1的时钟接口,为DSP处理器模块1提供脉冲振荡波;RAM存储模块4连接DSP处理器模块1的RAM存储接口,为DSP处理器模块1正常工作提供存储空间;ROM存储模块5连接DSP处理器模块1的ROM存储接口,使DSP处理器模块1在初始化时加载系统软件。 The specific method is: the voice mode in GSM mobile communication system / module and a number of long-pulse excitation prediction rules between encoding and decoding module, the access phone voice encryption / decryption module, a voice encryption and decryption, voice encryption and decryption functions; wherein the phone voice encryption / decryption module is a digital signal processing module minimum system hardware, including: DSP processor module 1, the power module 2, the clock module 3, RAM memory and a ROM memory module 4 module 5; the DSP core processor module 1 as hardware system, encryption and decryption processing a speech signal; a power supply module connected to the interface 2 DSP processor module 1 responsible for the power supply; DSP processor clock module 3 is connected to a clock module interface 1, the DSP 1 processor module to provide a pulse oscillation; RAM memory module 4 is connected to the DSP processor RAM memory module interface 1, provide storage space for a DSP processor module work; ROM memory module 5 connected to the DSP processor memory interface module ROM 1 the DSP processor module 1 loading system software at initialization. DSP处理器模块1的内存中包含一个语音加解密方法;该语音加解密方法分别运行语音分解/合成算法模块6、语音加/解密算法模块7、类语音合成/分解算法模块8以及语音信号同步模块9,从而实现手机语音的加解密通信;具体方法为:1.)系统初始化:系统初始化过程中,首先完成DSP配置以及时钟、存储器接口等的配置,2.)发送数据:当存在模/数模块输入的发送数据时,首先运行语音分解/合成算法模块6,把数据信号分解成一定大小的帧;接着运行语音加/解密算法模块(7),对分帧的语音按特定方式进行加密;然后运行类语音合成/分解算法模块(8),对加密后的类语音以倒相等方式进行合成;最后运行语音信号同步模块(9),对合成的类语音信号加上特定的同步信号头,然后输出;3.)接收数据:当存在RPE-LTP编解码模块解码输入的接收数据时,首先运行语音信 DSP processor module comprises a method for speech encryption and decryption in a memory; the speech encryption and decryption method for each running speech analysis / synthesis algorithm module 6, voice encryption / decryption algorithm module 7, a speech synthesis / decomposition algorithm module 8 and a voice signal in synchronization module 9, in order to achieve encryption communication handset voice; specific methods are: 1) system initialization: system initialization process, the first to complete the configuration DSP configuration and a clock, a memory interface and the like, 2) the transmission data: when there is an analog /. when transmitting the number of data module inputs, first run the speech analysis / synthesis algorithm module 6, the decomposition of the data signal into a frame of a certain size; then running the voice encryption / decryption algorithm module (7), the speech sub-frame is encrypted in a particular manner ; then run a speech synthesis / decomposition algorithm module (8), for a speech synthesizing encrypted equal inverted manner; the last operation of the voice signal synchronization module (9), for a speech signal synthesized by adding specific synchronization signal head , then outputs; 3) Receive data: when there is a received data encoding and decoding module decodes the input RPE-LTP, first run the voice channel 同步模块9,判断是否获得信号同步,若否,则重新进行同步运算,若是,则接着运行后续模块;接着运行类语音合成/分解模块8,对同步后的信号以倒相等方式进行类语音分解;然后运行语音加/解密算法模块7,按特定方式对信号进行解密;最后运行语音分解/合成算法模块6,对解密后的语音信号帧按一定大小进行合成,然后输出。 Synchronization module 9 determines whether the obtained signal synchronization, and if not, re-synchronization operation, if yes, then run subsequent module; then run a speech synthesis / decomposition module 8, the signal after the synchronized type speech exploded inverted equal manner ; then running the voice encryption / decryption algorithm module 7, the signal is decrypted by specific manner; last operation of the voice analysis / synthesis algorithm module 6, a frame of the speech signal by synthesizing the decrypted certain size, and then output.

所述的DSP处理器模块1的型号为TMS320C5402。 The DSP processor module 1 model TMS320C5402. 所述的电源模块2提供两种电压:1.8V和3.3V;所述的时钟模块(输出时钟为20 MHz,经DSP处理器模块1内部接口“PLL”5倍频后,使DSP处理器模块1工作在100 MHz。 Said power module 2 provides two voltage: 1.8V and 3.3V; the clock module (the output clock of 20 MHz, the DSP-1 processor module internal interface "PLL" 5 frequency, so that the DSP processor module 1 work at 100 MHz.

所述的语音分解/合成算法模块6包含主程序调用、发送/接收数据、缓存输入、帧分解/合成算法以及输出等几个步骤,实现语音的分解和合成;具体方法为:1.)主程序调用:系统运行语音分解/合成算法模块时,主程序调用该模块进行运算,2.)发送数据:当数据需要发送时,首先对数据进行缓存输入,然后采用帧分解算法对数据进行分帧,最后输出分解好的数据帧;3.)接收数据:当接收到数据后,首先对数据进行缓存输入,然后采用帧合成算法对数据帧进行合成,最后输出合成后的数据。 The speech analysis / synthesis algorithm module 6 comprises a main program calls, send / receive data, the input buffer, the frame decomposition / synthesis algorithm and an output, and several steps to achieve a speech analysis and synthesis; specific methods of: 1) a main program calls: the system running the voice analysis / synthesis algorithm module, the main program calls the module operation, 2) data transmission: when the data needs to be sent, the data is first input buffer, and frame decomposition algorithm using the data sub-frame Finally, the output data frame exploded good; 3) Receive data: after receiving the data, the data is first input buffer, and frame synthesis algorithm using the synthesized data frame, and finally outputs the combined data.

所述的语音加/解密算法模块7包含主程序调用、发送/接收数据、缓存输入、加/解密参数确定、矩阵加/解密算法以及输出等几个步骤,实现语音的加密和解密;具体方法为:1.)主程序调用:系统运行语音加/解密算法模块时,主程序调用该模块进行加/解密运算,2.)发送数据:当数据需要发送时,首先对数据进行缓存输入,接着确定加密参数,然后采用矩阵加密算法对数据进行加密,最后输出加密后的数据;3.)接收数据:当接收到数据后,首先对数据进行缓存输入,接着确定解密参数,然后采用矩阵解密算法对数据进行解密,最后输出解密后的数据。 The speech encryption / decryption algorithm module 7 comprises a main program calls, send / receive data, input buffer, encryption / decryption parameter determination, matrix encryption / decryption algorithm and output and several steps to achieve the speech encryption and decryption; specific methods is: 1) the main program calls: the system is running speech encryption / decryption algorithm module, the main program module calls the encryption / decryption operation, 2) data transmission: when the data needs to be sent, the data is first input buffer, followed by determines encryption parameters, and a matrix encryption algorithm to encrypt the data, and finally outputs the encrypted data; 3) Receive data: Upon receipt of the data, the first data buffer input, then determine the decryption parameters, and a matrix decryption algorithm decrypt the data, the final output data is decrypted.

所述的类语音合成/分解算法模块8包含主程序调用、发送/接收数据、倒序、类语音映射变换/逆变换、语音增强以及输出等几个步骤,实现类语音的合成和分解;具体方法为:1.)主程序调用:系统运行类语音合成/分解算法模块时,主程序调用该模块进行类语音的合成/分解,2.)发送数据:当数据需要发送时,首先对数据进行倒序,接着对数据进行类语音映射变换,然后采用语音增强,最后输出合成后的类语音数据;3.)接收数据:当接收到数据后,首先对数据进行类语音映射逆变换,接着对数据进行倒序,然后采用语音增强,最后输出分解后的语音数据。 In a class of speech synthesis / decomposition algorithm module 8 comprises a main program calls, send / receive data, descending, voice mapping type transform / inverse transform, and an output speech enhancement, and several steps to achieve a speech synthesis and degradation; in particular methods is: 1) the main program calls: the system is running a speech synthesis / decomposition algorithm module, the main program calls the module-based speech synthesis / decomposition, 2) data transmission: when the data needs to be sent, the data is first reverse , then the data type voice mapping transformation, and then employed speech enhancement, a speech data after final output synthesized; 3) Receive data: Upon receipt of the data, the first data-based voice mapping inverse transform, and then the data reverse, and then enhanced by using a voice, the voice data output after the final decomposition.

所述的语音信号同步算法模块9包含主程序调用、发送/接收数据、同步波形参数确定/同步相关运算、加上/去掉同步头以及输出等几个步骤,实现信号的同步发送和接收;具体方法为:1.)主程序调用:系统运行语音信号同步算法模块时,主程序调用该模块进行信号的同步发送和接收,2.)发送数据:当数据需要发送时,首先确定同步波形参数,然后加上同步头,最后输出带有同步信号的数据;3.)接收数据:当接收到数据后,首先进行同步相关运算,然后去掉同步头,最后输出纯粹的数据。 The speech signal synchronization algorithm module 9 comprises a main program calls, send / receive data, the synchronization waveform parameter determining / synchronization correlation computation, plus / synchronization header is removed, and an output, and several steps to achieve the synchronization of the transmitting and receiving signals; Specific method: 1) the main program calls: when the system runs the speech signal synchronization algorithm module, the main program calls the module to send data to synchronize the transmitting and receiving signals, 2): when the data to be transmitted, synchronization is first determined waveform parameters, then add the sync header, the final output data with the synchronizing signal; 3) Receive data: Upon receipt of the data, the first correlation operation synchronization, and the synchronization header is removed, the pure final output data.

如图1所示的系统架构可知,本发明方法采用独特的硬件接入方法,在通常GSM手机语音通道系统中,增加实现手机语音加/解密模块,其接入点为A/D模块和RPE-LTP编解码模块之间。 The system architecture shown in Figure 1 can be seen, the method of the present invention employs a unique hardware access method, the speech channel in a normal GSM mobile phone system, phone achieve increased speech encryption / decryption module of the access point A / D module and RPE -LTP between the codec module. 应用本发明专利方法,对A/D变换后的语音进行信源加密,然后送入RPE-LTP编解码模块进行压缩编码,经交织、无线信道加密、调制,最后射频发送;相似地,在手机接收信号时,对RPE-LTP编解码模块解压缩后的信号进行信源解密,最后经D/A变换后输出语音。 Patent Application of the method of the present invention, the speech after A / D conversion for the source encrypted and then sent to codec module RPE-LTP coding, the interleaved, encrypted wireless channel, the modulation of the last radio frequency transmitter; similarly, in the mobile phone upon receiving the signal, the signal is decompressed RPE-LTP codec module to decrypt the source, and finally, after D / a conversion output speech.

如图2所示的抗RPE-LTP压缩编码的GSM手机语音加密方法主要包括两大部分:DSP最小系统硬件模块和软件系统模块。 GSM Mobile Voice Encryption anti RPE-LTP method of compression coding shown in Figure 2 includes two parts: DSP minimum system hardware modules and software modules. 其中,DSP最小系统硬件模块部分包括DSP处理器模块1、电源模块2、时钟模块3、RAM存储模块4以及ROM存储模块5;软件系统模块则由语音分解/合成算法模块6、语音加/解密算法模块7、类语音合成/分解算法模块8以及语音信号同步算法模块9组成。 Wherein, the minimum hardware DSP module portion comprises a DSP processor module, power module 2, the clock module 3, RAM memory and a ROM memory module 4 module 5; software module by the speech analysis / synthesis algorithm module 6, voice encryption / decryption algorithm module 7, a speech synthesis / decomposition algorithm module 8 and a voice signal in synchronization algorithm module 9 composed.

本发明方法对语音信号的加解密过程为:当系统上电以后,首先执行引导程序,将ROM存储模块5中固化的程序引导到片内或片外RAM存储模块4中,然后跳转到系统程序,在完成初始化和外设配置后,执行用户程序。 The method of the present invention, the process of encryption and decryption of the voice signal: when the power on the system later, the boot program is first executed, the ROM stores a program module 5 cured sheet guided into the off-chip RAM or the storage module 4, and then jump to the system program, after initialization and peripheral configuration, execution of the user program. 语音加密发送过程:在DSP最小系统中,由GSM手机语音输入模块引入的语音信号,经A/D采样变换后,通过McBSP接口(其中McBSP以时钟停止模式工作在DMA方式),送入DSP处理器模块1。 Transmitting voice encryption process: In the DSP minimum system, the speech signal introduced by the speech input module GSM mobile phone, after A / D conversion sampling, by McBSP ports (McBSP clock stop mode operation in DMA mode), into the DSP processing 1 module. DSP处理器模块1先后调用语音分解/合成算法模块6、语音加/解密算法模块7和类语音合成/分解算法模块8,对语音信号进行加密,并合成符合RPE-LTP编码特性的类语音信号,在加入同步信号头后通过McBSP串口送至手机的RPE-LTP编解码模块进行压缩编码,经交织、无线信道加密、高斯最小频移键控GMSK调制,最后经射频处理,通过天线输出。 DSP processor module has a voice call separation / synthesis algorithm module 6, voice encryption / decryption algorithm and a speech synthesis module 7 / decomposition algorithm module 8, the speech signal is encrypted, and the synthetic speech signal is RPE-LTP coding compliance characteristics , performed after the addition of the first synchronization signal to the mobile phone via the serial port McBSP RPE-LTP codec module compression encoding, interleaved, encrypted radio channel, Gaussian minimum shift keying GMSK modulation, the final radio frequency processing, through an antenna output. 语音解密接收过程为上述发送过程的逆过程。 Receiving voice decryption process is the reverse process of the transmission process.

本发明方法中的DSP处理器,采用美国TI公司的TMS320C5402。 The method of the present invention, a DSP processor, US TI's TMS320C5402. 它是一款16位定点DSP芯片,内置有16K*16位RAM,4K*16 ROM,两个McBSP串口,有一个16位数据总线,三条16位数据总线,4条16位地址总线,独立的程序和数据空间,程序运算能力高达200 MIPS(兆指令/秒)。 It is a 16-bit fixed-point DSP chip, built 16K * 16-bit RAM, 4K * 16 ROM, McBSP two serial ports, one 16-bit data bus, three 16-bit data bus, four 16-bit address bus, separate program and data space, computing power up program 200 MIPS (million instructions / second). 电源模块2用于给系统供电,提供两种电压:1.8V和3.3V,其中3.3V为DSP芯片片上外设供电,1.8V为内核电压。 2 for power module powers the system provides two voltage: 1.8V and 3.3V, 3.3V wherein the DSP chip is a power chip peripherals, 1.8V for the core voltage. 时钟模块3为系统提供时种,其中的晶体输出时钟为20MHz,经DSP内部的PLL 5倍频后,使C5402 DSP芯片工作在100MHz。 Clock module provides the system as species 3, wherein the output of the crystal clock 20MHz, after multiplication PLL 5 inside the DSP, the DSP chip operates at making the C5402 100MHz. RAM存储模块4为系统外扩程序和数据区,可运行程序和存放数据。 4 is a RAM memory module outside of the system expansion program and data areas store data and programs can be run. ROM存储模块5用于固化程序,使系统能脱机运行。 ROM for storing firmware module 5, the system can run offline.

本发明方法的系统软、硬件模块间的关系如图3所示。 The relationship between the method of the invention the system software, hardware modules as shown in FIG. DSP处理器在加载ROM存储模块5中固化的系统程序后,通过McBSP串口模块输入手机A/D采样后的数据,在DMA控制下调入语音分解/合成算法模块、语音加/解密算法模块以及类语音合成/分解算法模块,对输入语音进行分解、加密、类语音合成,最后加上同步信号头,在DMA控制下经McBSP串口模块输出,进入手机的RPE-LTP压缩编码模块。 After curing of the DSP processor loads the system program in the ROM memory module 5, the input data after the mobile phone A / D sampling by serial module McBSP, DMA transferred under the control of voice decomposition / synthesis algorithm module, a voice encryption / decryption algorithm module and class speech synthesis / decomposition algorithm module, the decomposition of the input speech, encryption, voice synthesis based last synchronization with the first signal, via output module McBSP port under DMA control, RPE-LTP into the phone compression encoding module. 语音的接收解密过程是上述加密过程的逆过程,DSP处理器通过McBSP串口模块输入手机从RPE-LTP解压缩后的数据,在DMA控制下调入语音信号同步算法模块,在完成信号同步处理后,调入类语音合成/分解算法模块、语音加/解密算法模块以及语音分解/合成算法模块,对输入语音进行类语音分解、解密、合成,最后在DMA控制下经McBSP串口模块输出,进入手机的D/A模块进行语音输出。 Receiving voice decryption process is the inverse process of the encrypted data decompressed RPE-LTP from the transferred speech signal synchronization algorithm module under control of the DSP processor input DMA McBSP phone via the serial port module, after completing the synchronization signal, transferred to a speech synthesis / decomposition algorithm module, a voice encryption / decryption algorithm module and a speech analysis / synthesis algorithm module, a speech input speech decomposition, decryption, synthesis, and finally outputs the serial module McBSP under DMA control, into the phone D / A module for voice output.

本发明方法中的语音分解/合成算法模块,采用的语音分解/合成帧大小为1-20ms;语音加/解密算法模块,采用的加/解密处理帧数为5-30;类语音合成/分算法模块,采用倒序、类语音映射变换、语音增强等技术,实现抗长时预测规则脉冲激励压缩的语音加密;语音信号同步模块,用于为加密后的语音提供同步,通过选取一定形式的正弦波,频率在100-4000Hz之间,使得接收端能够同步接收信号。 The method of the present invention in speech analysis / synthesis module algorithm, using speech analysis / synthesis frame size 1-20ms; voice encryption / decryption algorithm module, used plus / decryption process frames 5-30; type speech synthesis / min algorithm module, using reverse, the projective transformation based voice, speech enhancement techniques, regular pulse excitation prediction compressed speech encryption implementing anti length; speech signal synchronization means for providing encrypted voice synchronization, by selecting a form of a sine wave frequency between 100-4000Hz, so that the receiving end can receive signals synchronously.

下面给出本发明方法在松下GD 90手机中应用的一个实例(参见图4)。 Here's an example of the method of the present invention applied in a mobile phone Panasonic GD 90 (see FIG. 4). 该手机语音通道中的信号处理由芯片TCM4400E统一完成。 The phone signal processing in a unified voice channel is completed by the chip TCM4400E. 如图4所示,通过加入由本发明方法实现的手机语音加/解密模块(结构参见图2),从而实现抗RPE-LTP压缩编码的GSM手机语音端到端的安全加密通信。 As shown, the encryption / decryption module (See Figure 2), to achieve secure encryption communication anti RPE-LTP GSM mobile phone end the voice compression-encoded speech handset 4 by adding realized by the method of the present invention. 整个技术实现过程如下:语音信号上行部分:语音从话筒MIC输出,送入TCM4400E芯片的27、28引脚,经滤波和A/D采样量化后,语音信号流在16管脚VCLK(时钟信号)和13管脚VFS(同步信号)作用下,从14管脚VDX输出至手机语音加/解密模块(结构参见图2)中的McBSP串行输入口,在TMS320C5402系统中进行如图3所描述的语音分解、加密以及类语音合成,在加上同步信号头后将加密信号输出。 Technology throughout the process is as follows: the upstream part of the speech signal: the output of voice from a microphone MIC, 27, 28 into the pin TCM4400E chip, after filtering and A / D sampling quantized speech signal flow in the VCLK pin 16 (clock signal) the VFS 13 and the lower pin (synchronization signal) output after VDX ​​pin 14 from the input port to the serial McBSP phone voice encryption / decryption module (see Figure 2), as described for 3 in FIG TMS320C5402 system voice decomposition, and encryption type speech synthesis, coupled with an output the encrypted signal after the synchronization signal head. 信号输出至TCM4400E芯片的4管脚BDR,由TCM4400E芯片处理该信号的RPE-LPT编码、交织、无线信道加密、GMSK调制,最后通过56--59管脚送入外部射频芯片,经射频处理后通过手机天线输出。 Signal is output to the fourth pin BDR TCM4400E chip, the chip is processed by the signal TCM4400E RPE-LPT coding, interleaving, radio channel encryption, the GMSK modulation, and finally fed by the external RF chip pins 56--59, radiofrequency treatment output by phone antenna.

语音信号下行部分:手机天线接收信号,输入射频处理模块,然后通过TCM4400E芯片的51--54管脚,进行GMSK解调、无线信道解密、去交织、RPE-LPT解码等基带处理,所得语音流通过McBSP口的3管脚,在2管脚BCLKX(时钟信号)和1管脚BFSX(同步信号)作用下,输入手机语音加/解密模块中的McBSP串行输入口,在TMS320C5402系统中进行如图3所描述的信号同步检测、类语音分解、解密、语音合成,然后将解密后的语音信号输出。 Signal in the downlink portion of the speech: Mobile antenna reception signals, the RF input processing module, and then through the pins 51--54 TCM4400E chip performs GMSK demodulation, decryption radio channel, deinterleaving, RPE-LPT baseband decoding, etc., the resulting voice stream McBSP port through the third pin, the pin 2 BCLKX (clock signal) and a lower pin BFSX (synchronization signal) action, McBSP input phone serial input speech encryption / decryption module, the system performed as TMS320C5402 FIG 3 described synchronization detection signal, a speech decomposition, decryption, speech synthesis, speech signal is then output the decrypted. 输出信号至TCM4400E芯片的15管脚VDR,经D/A变换和滤波,最后通过32、33管脚输出至听筒EAR PHONE。 Outputs a signal to the VDR pin TCM4400E chip 15, the D / A conversion and filtering, and finally to the output pins 32 and 33 through the earpiece EAR PHONE.

如图5,本发明技术的系统软件运行流程如下:系统在上电后执行初始化过程,首先完成DSP配置以及时钟、存储器接口等的配置。 5, the present technology system software running process is as follows: The system performs an initialization process after power on, the first configuration and the clock to complete the configuration DSP, a memory interface and the like. 当存在数/模模块输入的发送数据时,首先运行语音分解/合成算法模块(6),把数据信号分解成一定大小的帧;接着运行语音加/解密算法模块(7),对分帧的语音按特定方式进行加密;然后运行类语音合成/分解算法模块(8),对加密后的类语音以倒相等方式进行合成;最后运行语音信号同步模块(9),对合成的类语音信号加上特定的同步信号头,然后输出。 When transmission data exists D / A module inputs, first run the speech analysis / synthesis algorithm module (6), the decomposition of the data signal into a frame of a certain size; then running the voice encryption / decryption algorithm module (7), of the sub-frame speech is encrypted in a particular manner; then run a speech synthesis / decomposition algorithm module (8), for a speech encrypted synthesized inverted equal manner; last operation of the voice signal synchronization module (9), for a speech synthesis signal is applied specific header sync signal, and then output. 当存在RPE-LTP编解码模块解码输入的接收数据时,首先运行语音信号同步模块(9),去掉同步头获得信号同步;接着运行类语音合成/分解模块(8),对同步后的信号以倒相等方式进行类语音分解;然后运行语音加/解密算法模块(7),按特定方式对信号进行解密;最后运行语音分解/合成算法模块(6),对解密后的语音信号帧按一定大小进行合成,然后输出。 When the received data exists RPE-LTP codec module decodes the input, first run the speech signal synchronization module (9), removing the sync header obtained signal synchronized; then run a speech synthesis / decomposition module (8), of the synchronized signal to pour equal manner a speech exploded; then running the voice encryption / decryption algorithm module (7), the signal is decrypted by specific manner; last operation of the voice analysis / synthesis algorithm module (6), of the speech signal frame decrypted certain size synthesis, and then output.

应当理解的是,对本领域普通技术人员来说,可以根据本发明技术的较佳实施例以及其技术构思做出各种可能的改变或替换,而所有这些改变或替换都应属于本发明所附权利要求的保护范围。 It should be understood that those of ordinary skill in the art may make various changes or substitutions may be in accordance with the preferred embodiment as well as the technical concept of the present invention art, and all such modifications or substitutions of the present invention should belong to the appended the scope of the claims.

加密方法针对松下GD 90手机,在芯片TCM4400E的1-6管脚以及13-16管脚,接入语音加/解密系统,实现手机的端到端加密通信。 Method for the encryption GD 90 Panasonic phones, pins 1-6 and 13-16 TCM4400E chip pins, access to voice encryption / decryption system, the phone-end encrypted communication.

Claims (9)

1.一种抗长时预测规则脉冲激励压缩编码全球通手机语音加密方法,其特征在于在全球通手机语音通信系统的模/数模块和长时预测规则脉冲激励编解码模块之间,接入手机语音加/解密模块,进行语音加解密运算,实现语音加解密功能;其中,所述的手机语音加/解密模块是一个数字信号处理最小系统硬件模块,主要包括:DSP处理器模块(1)、电源模块(2)、时钟模块(3)、RAM存储模块(4)以及ROM存储模块(5);所述的DSP处理器模块(1)作为硬件系统的核心,处理语音信号的加解密运算;电源模块(2)连接DSP处理器模块(1)的电源接口,负责供电;时钟模块(3)连接DSP处理器模块(1)的时钟接口,为DSP处理器模块(1)提供脉冲振荡波;RAM存储模块(4)连接DSP处理器模块(1)的RAM存储接口,为DSP处理器模块(1)正常工作提供存储空间;ROM存储模块(5)连接DSP处理器模块(1)的ROM存储接口 1. A method of predicting an encryption method in GSM mobile voice compression coding rule when the anti-pulse excitation long, characterized in that between the encoding and decoding module in the voice mode in GSM mobile communication system / module and a number of long-pulse excitation prediction rules, access voice phone encryption / decryption module, a voice encryption and decryption, voice encryption and decryption functions; wherein said mobile voice encryption / decryption module is a digital signal processing module minimum system hardware, including: DSP processor module (1), power supply module (2), clock module (3), RAM memory module (4) and a ROM memory module (5); said DSP processor module (1) as the core of the system hardware, encryption and decryption processing a speech signal; power module (2) connected to DSP processor module (1) of the power connector, the power supply is responsible; clock module (3) connected to DSP processor module (1) of the clock interface, a pulse oscillation to provide DSP processor module (1); the RAM storage means (4) connected to DSP processor module (1) interface to a RAM memory, to provide storage for the DSP processor module (1) normal operation; ROM memory module (5) connected to DSP processor module (1) a ROM memory interface 使DSP处理器模块(1)在初始化时加载系统软件。 That the DSP processor module (1) loading system software at initialization.
2.一种抗长时预测规则脉冲激励压缩编码全球通手机语音加密方法,其特征在于DSP处理器模块(1)的内存中包含一个语音加解密方法;该语音加解密方法分别运行语音分解/合成算法模块(6)、语音加/解密算法模块(7)、类语音合成/分解算法模块(8)以及语音信号同步模块(9),从而实现手机语音的加解密通信;具体方法为:1.)系统初始化:系统初始化过程中,首先完成DSP配置以及时钟、存储器接口等的配置,2.)发送数据:当存在模/数模块输入的发送数据时,首先运行语音分解/合成算法模块(6),把数据信号分解成一定大小的帧;接着运行语音加/解密算法模块(7),对分帧的语音按特定方式进行加密;然后运行类语音合成/分解算法模块(8),对加密后的类语音以倒相等方式进行合成;最后运行语音信号同步模块(9),对合成的类语音信号加上特定的同步信号头,然 2. An anti-long predicted GSM mobile phone encryption Regular Pulse Excitation speech compression encoding, wherein the DSP processor memory module (1) contains a speech encryption and decryption method; method of the speech encryption and decryption, respectively, running the voice analysis / synthesis algorithm module (6), a voice encryption / decryption algorithm module (7), a speech synthesis / decomposition algorithm module (8) and the speech signal synchronization module (9), in order to achieve encryption communication handset voice; specific methods of: a. ) system initialization: system initialization process is completed first DSP configuration and configuring a clock, a memory interface and the like, 2) transmits data: when the transmission data presence / D module inputs, first run the speech analysis / synthesis algorithm module (6 ), the data signal into frames of a certain size; then running the voice encryption / decryption algorithm module (7), the speech sub-frame is encrypted in a particular manner; then run a speech synthesis / decomposition algorithm module (8), encrypted after a speech synthesis inverted equal manner; final operation of the voice signal synchronization module (9), for a speech signal synthesizing particular synchronization signal plus head, then 输出;3.)接收数据:当存在RPE-LTP编解码模块解码输入的接收数据时,首先运行语音信号同步模块(9),判断是否获得信号同步,若否,则重新进行同步运算,若是,则接着运行后续模块;接着运行类语音合成/分解模块(8),对同步后的信号以倒相等方式进行类语音分解;然后运行语音加/解密算法模块(7),按特定方式对信号进行解密;最后运行语音分解/合成算法模块(6),对解密后的语音信号帧按一定大小进行合成,然后输出。 Output; 3) Receive data: when the received data exists RPE-LTP codec module decodes the input, first run the speech signal synchronization module (9), it is determined whether the obtained signal synchronization, and if not, re-synchronization operation, if yes, it is then run subsequent module; then run a speech synthesis / decomposition module (8), the signal after the synchronized type speech exploded inverted equal manner; and then running the voice encryption / decryption algorithm module (7), the signal in a specific manner decryption; last ran speech analysis / synthesis algorithm module (6), the frame of the speech signal by synthesizing the decrypted certain size, and then output.
3.根据权利要求1所述的抗长时预测规则脉冲激励压缩编码的全球通手机语音加密方法,其特征在于所述的DSP处理器模块(1)的型号为TMS320C5402。 The prediction of the anti-long regular pulse excitation GSM mobile voice compression coding method of encryption, wherein said DSP processor module (1) when a model TMS320C5402 claims.
4.根据权利要求1所述的抗长时预测规则脉冲激励压缩编码全球通手机语音加密方法,其特征在于所述的电源模块(2)提供两种电压:1.8V和3.3V;所述的时钟模块(3)输出时钟为20MHz,经DSP处理器模块(1)内部接口“PLL”5倍频后,使DSP处理器模块(1)工作在100MHz。 The length of the anti-prediction when encoding rules pulse in GSM mobile voice encryption stimulus compression, characterized in that said power module (2) as claimed in claim provides two voltage: 1.8V and 3.3V; the clock module (3) as the output clock 20MHz, after DSP processor module (1) internal interface "PLL" 5 multiplier that DSP processor module (1) operates in 100MHz.
5.根据权利要求2所述的抗长时预测规则脉冲激励压缩编码全球通手机语音加密方法,其特征在于所述的语音分解/合成算法模块(6)包含主程序调用、发送/接收数据、缓存输入、帧分解/合成算法以及输出等几个步骤,实现语音的分解和合成;具体方法为:1.)主程序调用:系统运行语音分解/合成算法模块时,主程序调用该模块进行运算,2.)发送数据:当数据需要发送时,首先对数据进行缓存输入,然后采用帧分解算法对数据进行分帧,最后输出分解好的数据帧;3.)接收数据:当接收到数据后,首先对数据进行缓存输入,然后采用帧合成算法对数据帧进行合成,最后输出合成后的数据。 The length of the two anti-regular pulse prediction coding in GSM mobile voice encryption stimulus compression, characterized in that the speech analysis / synthesis algorithm module (6) comprises a main program calls, send / receive data as claimed in claim Cache input, the frame analysis / synthesis algorithm and output and several steps to achieve a speech analysis and synthesis; specific methods are: 1) the main program calls: the system is running speech analysis / synthesis algorithm module, the main program calls the module operation, 2.) send data: when data to be transmitted, the data is first input buffer, and frame decomposition algorithm using the data sub-frame, the final output data frame exploded good; 3) Receive data: upon receipt of the data, first, the data input buffer, and frame synthesis algorithm using the synthesized data frame, and finally outputs the combined data.
6.根据权利要求2所述的抗长时预测规则脉冲激励压缩编码全球通手机语音加密方法,其特征在于所述的语音加/解密算法模块(7)包含主程序调用、发送/接收数据、缓存输入、加/解密参数确定、矩阵加/解密算法以及输出等几个步骤,实现语音的加密和解密;具体方法为:1.)主程序调用:系统运行语音加/解密算法模块时,主程序调用该模块进行加/解密运算,2.)发送数据:当数据需要发送时,首先对数据进行缓存输入,接着确定加密参数,然后采用矩阵加密算法对数据进行加密,最后输出加密后的数据;3.)接收数据:当接收到数据后,首先对数据进行缓存输入,接着确定解密参数,然后采用矩阵解密算法对数据进行解密,最后输出解密后的数据。 The length of the two anti-regular pulse prediction coding in GSM mobile voice encryption stimulus compression, characterized in that the speech encryption / decryption algorithm module (7) comprises a main program calls, send / receive data as claimed in claim Cache input, encryption / decryption parameter determination, matrix encryption / decryption algorithm and output and several steps to achieve the speech encryption and decryption; specific methods are: 1) the main program calls: when the system runs the speech encryption / decryption algorithm module, the main program invoking the module encryption / decryption, 2) transmits data: when the data needs to be sent, the first data buffer input, then determines encryption parameters, and a matrix encryption algorithm to encrypt the data, and finally outputs the encrypted data; 3) Receive data: after receiving the data, the data is first input buffer, and then deciphering parameter is determined, a matrix and a decryption algorithm to decrypt the data, the final output data is decrypted.
7.根据权利要求2所述的抗长时预测规则脉冲激励压缩编码全球通手机语音加密方法,其特征在于所述的类语音合成/分解算法模块(8)包含主程序调用、发送/接收数据、倒序、类语音映射变换/逆变换、语音增强以及输出等几个步骤,实现类语音的合成和分解;具体方法为:1.)主程序调用:系统运行类语音合成/分解算法模块时,主程序调用该模块进行类语音的合成/分解,2.)发送数据:当数据需要发送时,首先对数据进行倒序,接着对数据进行类语音映射变换,然后采用语音增强,最后输出合成后的类语音数据;3.)接收数据:当接收到数据后,首先对数据进行类语音映射逆变换,接着对数据进行倒序,然后采用语音增强,最后输出分解后的语音数据。 The length of the two anti-regular pulse prediction coding in GSM mobile voice encryption stimulus compression, wherein said speech synthesis class / decomposition algorithm module (8) comprises a main program calls, send / receive data as claimed in claim, reverse, voice mapping type transform / inverse transform, and an output speech enhancement, and several steps to achieve the synthesis and decomposition of a speech; specific methods are: 1) the main program calls: the system runs a speech synthesis / decomposition algorithm module, the main the program calls the module-based speech synthesis / decomposition, 2) transmits data: when data to be transmitted, the data is first performed in reverse order, followed by the data type voice mapping transformation, and then using the enhancement, the class after the final output synthesized voice data; 3) Receive data: after receiving the data, the data is first mapped inverse transform a speech, then the data in reverse order, and then enhanced by using a voice, the voice data output after the final decomposition.
8.根据权利要求2所述的抗长时预测规则脉冲激励压缩编码全球通手机语音加密方法,其特征在于所述的语音信号同步算法模块(9)包含主程序调用、发送/接收数据、同步波形参数确定/同步相关运算、加上/去掉同步头以及输出等几个步骤,实现信号的同步发送和接收;具体方法为:1.)主程序调用:系统运行语音信号同步算法模块时,主程序调用该模块进行信号的同步发送和接收,2.)发送数据:当数据需要发送时,首先确定同步波形参数,然后加上同步头,最后输出带有同步信号的数据;3.)接收数据:当接收到数据后,首先进行同步相关运算,然后去掉同步头,最后输出纯粹的数据。 The length of the two anti-regular pulse encoder prediction GSM mobile voice encryption stimulus compression, wherein said speech signal synchronization algorithm module (9) comprises a main program calls, send / receive data, the synchronization waveform claims parameter determination / synchronization correlation computation, plus / synchronization header is removed, and an output, and several steps to achieve synchronous transmission and reception of signals; specific methods of: 1) the main program calls: when the system runs the speech signal synchronization algorithm module, the main program calling module the synchronization signal transmission and reception, and 2) data transmission: when data to be transmitted, synchronization is first determined waveform parameters, and then add the sync header, the final output data with the synchronizing signal; 3) Receive data: after receiving the data, the first correlation operation synchronization, and the synchronization header is removed, the pure final output data.
9.根据权利要求1所述的抗长时预测规则脉冲激励压缩编码的全球通手机语音加密方法,其特征在于加密方法针对松下GD 90手机,在芯片TCM4400E的1-6管脚以及13-16管脚,接入语音加/解密系统,实现手机的端到端加密通信。 9. The Prediction GSM mobile phone encryption Regular Pulse Excitation speech compression encoding anti long time according to claim 1, characterized in that the encryption method for the Panasonic phones GD 90, pins 1-6 and 13-16 of the chip tube TCM4400E foot, access to voice encryption / decryption system, end to end encrypted communication handsets.
CN 200710019924 2007-02-02 2007-02-02 Voice encryption method for GSM handset with anti longterm prediction rule pulse excitation compression coding CN101014060B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710019924 CN101014060B (en) 2007-02-02 2007-02-02 Voice encryption method for GSM handset with anti longterm prediction rule pulse excitation compression coding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710019924 CN101014060B (en) 2007-02-02 2007-02-02 Voice encryption method for GSM handset with anti longterm prediction rule pulse excitation compression coding

Publications (2)

Publication Number Publication Date
CN101014060A true CN101014060A (en) 2007-08-08
CN101014060B CN101014060B (en) 2010-05-19

Family

ID=38701339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710019924 CN101014060B (en) 2007-02-02 2007-02-02 Voice encryption method for GSM handset with anti longterm prediction rule pulse excitation compression coding

Country Status (1)

Country Link
CN (1) CN101014060B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101847427A (en) * 2010-03-08 2010-09-29 深圳市同洲电子股份有限公司 Recorder and encrypting and decrypting units thereof as well as record encrypting and decrypting methods
CN104410966A (en) * 2014-11-27 2015-03-11 成都远为天胜科技有限公司 Secure wireless communication method
CN104469753A (en) * 2014-11-27 2015-03-25 成都远为天胜科技有限公司 Wireless communication connecting method
CN104994500A (en) * 2015-05-22 2015-10-21 南京科烁志诺信息科技有限公司 Voice secrecy transmission method and device used for mobile phone
CN105743912A (en) * 2016-03-31 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Voice encryption method and voice sending terminal
CN105788602A (en) * 2016-03-28 2016-07-20 北京密耳科技有限公司 Voice encryption method and device for voice band compression system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1592141A (en) 2004-01-17 2005-03-09 中国电子科技集团公司第三十研究所 Terminal to terminal encryption method of cell phone voice and data
CN1592185A (en) 2004-01-17 2005-03-09 中国电子科技集团公司第三十研究所 Terminal to terminal encryption method of cell phone voice and data

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101847427A (en) * 2010-03-08 2010-09-29 深圳市同洲电子股份有限公司 Recorder and encrypting and decrypting units thereof as well as record encrypting and decrypting methods
CN104410966A (en) * 2014-11-27 2015-03-11 成都远为天胜科技有限公司 Secure wireless communication method
CN104469753A (en) * 2014-11-27 2015-03-25 成都远为天胜科技有限公司 Wireless communication connecting method
CN104994500A (en) * 2015-05-22 2015-10-21 南京科烁志诺信息科技有限公司 Voice secrecy transmission method and device used for mobile phone
CN104994500B (en) * 2015-05-22 2018-07-06 南京科烁志诺信息科技有限公司 A kind of speech security transmission method and device for mobile phone
CN105788602A (en) * 2016-03-28 2016-07-20 北京密耳科技有限公司 Voice encryption method and device for voice band compression system
CN105743912A (en) * 2016-03-31 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Voice encryption method and voice sending terminal

Also Published As

Publication number Publication date
CN101014060B (en) 2010-05-19

Similar Documents

Publication Publication Date Title
JP4308533B2 (en) Mobile communications using high-bandwidth terminals that enable non-tandem operation
JP3774255B2 (en) Integrated circuits that perform multiplexed communication tasks
US7299049B2 (en) Devices, softwares and methods for handling off live calls between legs of CSV and VoX modalities
US5592555A (en) Wireless communications privacy method and system
JP4003839B2 (en) Expandable wireless telephone for internet telephone communication
EP1860851B1 (en) Method for implementing voice over IP through and electronic device connected to a packed switched network
US9553848B2 (en) Secure conditional access and digital rights management in a multimedia processor
JP2012157032A (en) Communicating multi-part messages between cellular devices using standardized interface
TW200525999A (en) Cellular modem processing
CN1145301C (en) Digital radio equipment with voice coding encrypted decoder
US20040179555A1 (en) System and method for compressing data in a communications environment
US20070280200A1 (en) System and method for controlling a voip client using a wireless personal-area-network enabled device
US20020183050A1 (en) Method for direct voice telephone call using bluetooth terminal
JPH08316789A (en) Dsp co-processor for use on integrated circuit for executing multiple communication tasks
TWI287371B (en) Method and system for dynamically changing audio stream bit rate based on condition of a bluetooth connection
JPH07303139A (en) Telecommunications security module
CN1575612A (en) Communication equipment, transcoder device and method for processing frames associated with a plurality of wireless protocols
US8160043B2 (en) Baseband chip and method to implement multi-mode switching for mobile terminal based on baseband chip
US20050208893A1 (en) Bluetooth earphone module with audio player function
TW200805901A (en) Method and system for optimized architecture for bluetooth streaming audio applications
CN101304391A (en) Voice call method and system based on instant communication system
TWI416911B (en) Method and system for a processor that handles a plurality of wireless access communication protocols
US9525569B2 (en) Enhanced circuit-switched calls
CN1886964B (en) Reconfigurable frame parser
EP2011320A1 (en) System and method of conferencing endpoints

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted
C17 Cessation of patent right