CN1193530C - Method and device for ensuring communication information security in code division multiple access communication system - Google Patents
Method and device for ensuring communication information security in code division multiple access communication system Download PDFInfo
- Publication number
- CN1193530C CN1193530C CNB011156937A CN01115693A CN1193530C CN 1193530 C CN1193530 C CN 1193530C CN B011156937 A CNB011156937 A CN B011156937A CN 01115693 A CN01115693 A CN 01115693A CN 1193530 C CN1193530 C CN 1193530C
- Authority
- CN
- China
- Prior art keywords
- vocoder
- cdma
- information bits
- encrypted
- communication system
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000004891 communication Methods 0.000 title claims abstract description 46
- 238000001228 spectrum Methods 0.000 claims abstract description 6
- 230000008569 process Effects 0.000 claims description 27
- 238000010295 mobile communication Methods 0.000 claims description 18
- 238000013478 data encryption standard Methods 0.000 description 10
- 230000004913 activation Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 230000009849 deactivation Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种CDMA通信系统,更具体地说,涉及一种用于在CDMA通信系统中保证通信信息安全的方法和装置,其使系统能够在防止偷听的情况下进行私人通信。The present invention relates to a CDMA communication system, and more particularly, to a method and device for securing communication information in the CDMA communication system, which enables the system to perform private communication while preventing eavesdropping.
背景技术Background technique
在符合IS-95标准的传统CDMA通信系统中,通话者的声音被声码器(vocoder)经过数字处理和压缩后编码成信息比特,并在反向通信信道中得到调制。调制信号被发射给基站。基站中获得的调制信号被在正向通信信道中还原成原始信息比特,然后被声码器解码成原始话音。通过上述过程,就可在远程移动台之间进行通信。In the traditional CDMA communication system conforming to the IS-95 standard, the caller's voice is coded into information bits after being digitally processed and compressed by a vocoder, and then modulated in the reverse communication channel. The modulated signal is transmitted to the base station. The modulated signal obtained in the base station is restored to the original information bits in the forward communication channel, and then decoded into the original speech by the vocoder. Through the above procedure, communication between remote mobile stations can be performed.
但是,传统的CDMA系统具有一个缺点,即,只要通过该声码器的信息比特就可以在基站或交换机中被检测到,并且检测到的信息比特可被轻易地解码成原始话音。因此,传统的CDMA系统具有易被偷听的缺点。However, the conventional CDMA system has a disadvantage that information bits can be detected in a base station or exchange as long as they pass through the vocoder, and the detected information bits can be easily decoded into original voice. Therefore, the traditional CDMA system has the disadvantage of being easily eavesdropped.
美国专利No.5,727,064揭示了一种用于解决上述缺点的技术,该技术在长密钥发生器上增加了一个保密器。但是,这种技术不能被应用到未做任何改动的传统CDMA系统上,因为它需要对IS-95 CDMA设备进行修改,而且它被局限为只能在使用不同安全密钥的不同用户群之间进行通信。US Patent No. 5,727,064 discloses a technique for solving the above disadvantages, which adds a encryptor to the long key generator. However, this technique cannot be applied to unmodified legacy CDMA systems because it requires modifications to IS-95 CDMA equipment, and it is limited to use between different user groups using different security keys. to communicate.
发明内容Contents of the invention
本发明的一个目的是提供一种用于在CDMA通信系统中保证通信信息安全的装置和方法,它使系统能够在防止偷听或监听的情况下进行私人通信,同时无需对符合IS-95标准的传统基站和交换系统进行修改。An object of the present invention is to provide an apparatus and method for securing communication information in a CDMA communication system, which enables the system to carry out private communication while preventing eavesdropping or interception, without requiring compliance with the IS-95 standard Modify the traditional base station and switching system.
为实现上述目的,本发明提供了一种用于在CDMA通信系统中保证通信信息安全的装置,该装置包括:编码器,用于将输入信号压缩成具有预定长度的信息比特并生成声码器分组信息比特;加密器,用于对从上述编码器生成的声码器分组信息比特进行加密;CDMA成帧器,其在上述加密器输出的加密声码器分组信息比特中加入帧质量指示符以及编码器尾比特,从而构成CDMA帧;CDMA帧发射器,其通过指定的频带将CDMA帧依次经过卷积编码处理、交错处理以及扩频调制后发射给基站CDMA帧接收器,用于接收基站发出的信号并对CDMA帧进行还原;CDMA解帧器,用于从由上述CDMA帧接收器还原出来的CDMA帧中提取加密的声码器分组信息比特;解密器,用于对由上述CDMA解帧器提取的加密声码器分组信息比特进行解密;以及解码器,用于将从上述解密器输出的经解密的声码器分组信息比特进行解码。其中,上述加密器利用分组密码和安全密钥来对声码器分组信息比特进行加密,上述解密器则利用上述分组密码和与对方移动台共有的安全密钥来对声码器分组信息比特进行解密。To achieve the above object, the present invention provides a device for ensuring the security of communication information in a CDMA communication system, the device comprising: an encoder for compressing an input signal into information bits with a predetermined length and generating a vocoder packet information bits; an encryptor for encrypting vocoder packet information bits generated from said encoder; a CDMA framer for adding a frame quality indicator to encrypted vocoder packet information bits output by said encryptor And the tail bits of the encoder to form a CDMA frame; the CDMA frame transmitter, through the specified frequency band, transmits the CDMA frame to the base station CDMA frame receiver after sequentially undergoing convolutional coding processing, interleaving processing, and spread spectrum modulation for receiving the base station The signal sent is restored to the CDMA frame; the CDMA deframer is used to extract the encrypted vocoder grouping information bits from the CDMA frame restored by the above-mentioned CDMA frame receiver; decrypting the encrypted vocoder packet information bits extracted by the framer; and a decoder for decoding the decrypted vocoder packet information bits output from the decryptor. Wherein, the above-mentioned encryptor uses the block cipher and the security key to encrypt the group information bits of the vocoder, and the decryptor uses the above-mentioned block cipher and the security key shared with the other mobile station to encrypt the group information bits of the vocoder. decrypt.
另外,为实现上述目的,本发明提供了一种用于在CDMA通信系统中保证通信信息安全的方法,该方法包括以下步骤:将模拟输入信号编码成具有预定长度的信息比特,并生成声码器分组信息比特;利用分组密码和安全密钥对上述经编码的声码器分组信息比特进行分组加密;在经加密的声码器分组信息比特中加入帧质量指示符以及编码器尾比特以构成CDMA帧;以及通过指定的频带将CDMA帧依次经过卷积编码处理、交错处理以及扩频调制处理后,发射给基站。In addition, to achieve the above object, the present invention provides a method for ensuring the security of communication information in a CDMA communication system, the method comprising the steps of: encoding an analog input signal into information bits with a predetermined length, and generating a voice code grouping information bits of the vocoder; using a block cipher and a security key to block-encrypt the above-mentioned coded vocoder grouping information bits; adding frame quality indicators and coder tail bits to the encrypted vocoder grouping information bits to form CDMA frame; and transmit the CDMA frame to the base station after sequentially undergoing convolutional coding processing, interleaving processing and spread spectrum modulation processing through the specified frequency band.
为实现上述目的,本发明还提供了一种用于在CDMA通信系统中保证通信信息安全的方法,该方法包括以下步骤:接收从基站发出的信号;将其还原成CDMA帧;从还原出来的CDMA帧中提取加密的声码器分组信息比特;利用分组密码和安全密钥对加密的声码器分组信息比特进行解密;以及对经解密的声码器分组信息比特进行解码。To achieve the above object, the present invention also provides a method for ensuring communication information security in a CDMA communication system, the method comprising the following steps: receiving a signal sent from a base station; restoring it to a CDMA frame; extracting the encrypted vocoder packet information bits from the CDMA frame; decrypting the encrypted vocoder packet information bits by using a block cipher and a security key; and decoding the decrypted vocoder packet information bits.
附图说明Description of drawings
通过以下的文字说明并参考附图,本发明的特征和优点将变得更加清晰易懂,在附图中:The features and advantages of the present invention will become more clearly understood by the following text description and with reference to the accompanying drawings, in which:
图1的框图显示了根据本发明所述的通信信道;Figure 1 is a block diagram showing a communication channel according to the present invention;
图2显示了一种适用于本发明的DES算法;Fig. 2 shows a kind of DES algorithm applicable to the present invention;
图3显示了图2所示DES算法中的一个单个迭代;Figure 3 shows a single iteration in the DES algorithm shown in Figure 2;
图4的流程图显示了根据本发明一个优选实施例所述的加密/传输过程;The flowchart of Fig. 4 shows the encryption/transmission process according to a preferred embodiment of the present invention;
图5的流程图显示了根据本发明一个优选实施例所述的接收/解密过程;The flowchart of Fig. 5 shows the receiving/decrypting process according to a preferred embodiment of the present invention;
具体实施方式Detailed ways
1.反向/正向通信信道的构造1. Construction of reverse/forward communication channel
图1的框图显示了根据本发明所述的通信信道。在图1中,点划线指示了本发明的主要部分。Figure 1 is a block diagram showing a communication channel according to the invention. In FIG. 1, dotted lines indicate main parts of the present invention.
以下将参考图1对逆向通信信道进行说明。The reverse communication channel will be described below with reference to FIG. 1 .
从麦克风输入的语音被一声码器100经数字化处理压缩后编码成声码器分组信息比特141,并被发送给加密器140。加密器140利用分组密码170(如DES或三DES)对声码器所输出的声码器分组信息比特141的全部或部分进行加密并产生加密的声码器分组信息比特143,然后将其发送给CDMA成帧器110。在加密过程中使用了安全密钥160,它被保存在加密器140中或以一种安全的方式被交换。CDMA成帧器110执行在加密的声码器分组信息比特142后加入一个帧质量指示符以及编码器尾比特以构成CDMA帧的过程。The voice input from the microphone is digitized and compressed by the vocoder 100 , encoded into vocoder packet information bits 141 , and sent to the scrambler 140 . Encryptor 140 encrypts all or part of the vocoder block information bits 141 output by the vocoder using a block cipher 170 (such as DES or Triple DES) and generates encrypted vocoder block information bits 143, which are then transmitted to the CDMA framer 110. A security key 160 is used in the encryption process, which is stored in the encryptor 140 or exchanged in a secure manner. The CDMA framer 110 performs the process of adding a frame quality indicator and encoder tail bits after the encrypted vocoder packet information bits 142 to form a CDMA frame.
接下来将参考图1对正向通信信道进行说明。Next, the forward communication channel will be described with reference to FIG. 1 .
解密器150利用一个与发送方相同的分组密码170对从CDMA解帧器120输出的加密的声码器分组信息比特152的全部或部分进行解密,以还原出原始声码器分组信息比特151,并将其发送给声码器130。在解密过程中也使用了一个安全密钥160,它被保存在解密器150中或以一种安全的方式被交换。此处,CDMA解帧器120执行的是与CDMA成帧器110相反的过程。The decryptor 150 decrypts all or part of the encrypted vocoder block information bits 152 output from the CDMA deframer 120 using a block cipher 170 identical to that of the sender to restore the original vocoder block information bits 151, and send it to the vocoder 130. A security key 160 is also used in the decryption process, which is stored in the decryptor 150 or exchanged in a secure manner. Here, the CDMA deframer 120 performs the reverse process of the CDMA framer 110 .
2.加密/解密2. Encryption/decryption
对声码器分组信息比特141的加密以及对加密的声码器分组信息比特152的解密是根据分组密码170以字节为单位执行的,因此,只有与8的整数倍相对应的信息比特才会被加密或解密。The encryption of the vocoder block information bits 141 and the decryption of the encrypted vocoder block information bits 152 are performed in units of bytes according to the block cipher 170, so that only information bits corresponding to integer multiples of 8 are will be encrypted or decrypted.
例如,在IS-95A 9600bps帧中,在172位(=1+171或4+8×21)的信息位:For example, in an IS-95A 9600bps frame, information bits at 172 bits (=1+171 or 4+8×21):
(1)如果处于全速率,则除了前1位格式位(0)之外,171比特(声码器输出)全部被加密/解密,以及(1) If at full rate, all 171 bits (vocoder output) are encrypted/decrypted except for the first 1 bit format bit (0), and
(2)如果处于非全速率(例如,1/2速率,80比特),除了前4比特格式位(例如,1/2速率1000)之外,剩余的168位中、相应于所述声码器输出的各位被加密/解密,换句话说,只有172比特中的一部分被加密/解密。(2) If it is at a non-full rate (for example, 1/2 rate, 80 bits), except for the first 4-bit format bits (for example, 1/2 rate 1000), the remaining 168 bits correspond to the vocoder The bits output by the converter are encrypted/decrypted, in other words, only a part of the 172 bits are encrypted/decrypted.
但是,当给定时间内的计算量太多以致于不能进行加密/解密时,则将只有其中的一部分(例如,8个字节)得到加密/解密。另外,当声码器100的输出是一个静音(速率因声码器的规格而不同,并且通常由格式位区分)时,为了防止相同格式的重复传输、或者防止噪声,则可省略加密/解密过程。这样在声码器完成编码之后,加密器140和解密器150可以利用软件或硬件而每隔20ms执行一次加密/解密。However, when the amount of computation in a given time is too large to be encrypted/decrypted, only a part of it (for example, 8 bytes) will be encrypted/decrypted. In addition, when the output of the vocoder 100 is a silence (the rate varies according to the specification of the vocoder, and is usually distinguished by the format bit), in order to prevent repeated transmissions of the same format, or to prevent noise, the encryption/decryption can be omitted process. In this way, after the vocoder finishes encoding, the encryptor 140 and the decryptor 150 can use software or hardware to perform encryption/decryption every 20 ms.
至于加密/解密,可以选用美国的NIST(国家标准和技术研究院)所提供的FIPS PUB 46(联邦信息处理标准46)以作为DES(数据加密标准)。As for encryption/decryption, you can choose FIPS PUB 46 (Federal Information Processing Standard 46) provided by NIST (National Institute of Standards and Technology) in the United States as DES (Data Encryption Standard).
图2显示了一种适用于本发明的DES算法,图3显示了图2所示的采用64位文本和56位安全密钥的DES算法中的一个单个迭代。在全速率的情况下,例如,可以认为只有172位中的前8位得到加密/解密。这样,图2所示的64位纯文本(例如,01 23 45 67 89 ab cd e7)表示从声码器100输出的172个声码器分组信息比特中、对应于纯粹的声码器输出中的8位,而图2中的56位密钥(例如,01 23 45 67 89ab cd)则代表安全密钥,此安全密钥由发送台和接收台共有。172个加密声码器分组信息比特是通过以下方式获得的:在经过加密器140之后,在64位密码文本的前面连接所述格式位、在64位密码文本的后面连接剩余的未加密的声码器位(例如,c9 57 44 25 6a 5e d3 1d)。Figure 2 shows a DES algorithm suitable for use in the present invention, and Figure 3 shows a single iteration of the DES algorithm shown in Figure 2 using 64-bit text and a 56-bit security key. In the case of full rate, for example, only the first 8 bits of the 172 bits can be considered to be encrypted/decrypted. Thus, the 64-bit plain text (for example, 01 23 45 67 89 ab cd e7) shown in FIG. 8 bits, and the 56-bit key (for example, 01 23 45 67 89ab cd) in Figure 2 represents the security key, which is shared by the sending station and the receiving station. The 172 encrypted vocoder block information bits are obtained by concatenating the format bits in front of the 64-bit cipher text and concatenating the remaining unencrypted vocoder bits after the 64-bit cipher text after passing through the scrambler 140. Encoder bits (for example, c9 57 44 25 6a 5e d3 1d).
以下将对作为加密过程逆过程的解密过程进行说明。The decryption process, which is the reverse process of the encryption process, will be described below.
通过按照与加密过程相反的顺序对CDMA解帧器120输出的172个加密的声码器分组信息比特中的8个加密字节(即,图2中的64位密码文本(例如,c9 57 44 25 6a 5e d3 1d))以及图2中的56位密钥(例如,01 23 45 67 89 ab cd)进行解密,就可获得原始的64位纯文本(例如,01 23 45 67 89 ab cd;参考图4)。通过将剩余的108位与64位纯文本相加而生成的172个声码器分组信息比特被发送给声码器130,并在其中得到解码以还原出原始话音。8 encrypted bytes (i.e., the 64-bit ciphertext (e.g., c9 57 44 25 6a 5e d3 1d)) and the 56-bit key in Figure 2 (for example, 01 23 45 67 89 ab cd) to decrypt the original 64-bit plain text (for example, 01 23 45 67 89 ab cd; Refer to Figure 4). The 172 vocoder packet information bits generated by adding the remaining 108 bits with 64 bits of plain text are sent to vocoder 130 where they are decoded to recover the original speech.
上述加密/解密过程中使用了诸如DES和三重DES的分组密码。Block ciphers such as DES and Triple DES are used in the above encryption/decryption process.
3.安全模式的设定/解除3. Setting/disabling of safe mode
对不能采用上述安全模式的移动通信来说,如果在通信开始时有一个预定的密钥被输入,则发送台将被置于安全模式设定或解除状态,而且接收台也会被置于与发送台相同的安全模式设定或解除状态。这样就可使远程台在能够防止偷听的情况下进行安全的私人通信。这种具有特定密钥的安全模式设定/解除可在呼叫设置之前被执行,也可于呼叫设置完成之后在通话期间执行。For mobile communications that cannot use the above-mentioned security mode, if a predetermined key is input at the beginning of the communication, the sending station will be placed in the security mode setting or canceling state, and the receiving station will also be placed in the same state as The same security mode setting or disabling status of the sending station. This allows remote stations to communicate securely and privately while preventing eavesdropping. This setting/unsetting of the security mode with a specific key can be performed before the call setting, and can also be performed during the call after the call setting is completed.
设定安全模式启动的执行过程如下。一个请求启动安全模式的ON密钥被输入进反向通信信道。然后,一个与安全模式启动相对应的第一码型(与声码器话音不同)与信息比特一起被发送给其它的移动台。对方移动台接收并检查此第一码型以将安全模式置于ON(启动)状态。The execution procedure for setting safe mode startup is as follows. An ON key requesting the activation of the security mode is entered into the reverse communication channel. Then, a first pattern (different from vocoder speech) corresponding to security mode activation is sent to other mobile stations along with the information bits. The opposite mobile station receives and checks this first pattern to put the security mode in the ON state.
关闭安全模式的执行过程如下。在通信期间输入一个OFF密钥,并且和一个与解除安全模式相对应的第二码型(与进行声码处理的语音不同)信息比特一起发送给其它的移动台。对方移动台接收并检查此第二码型以将安全模式置于OFF(关闭)状态,并随后返回至正常模式。另外,当通信结束时,安全模式也可被自动设定为OFF。利用这种方法,就可以在通信期间重复进行安全模式的设定/解除。The procedure for turning off Safe Mode is as follows. An OFF key is entered during communication and is transmitted to other mobile stations along with a second pattern (different from vocoded speech) information bits corresponding to the de-security mode. The opposite mobile station receives and checks this second pattern to put the security mode in the OFF state, and then returns to the normal mode. In addition, when the communication ends, the security mode can also be automatically set to OFF. With this method, it is possible to repeatedly set/cancel the security mode during communication.
在弱电波区域中,被发送以用于设定/解除安全模式的码型内可能出现错误,而且会由此使接收台不能被置于安全模式的启动或关闭状态。这样,因为发送台被置于安全模式启动而接收台被置于安全模式关闭,从而就不能在相互间进行通信。可以采用以下方法来解决这个问题:1)重复发送安全模式启动/关闭信号以减少错误的出现;或2)当发送台向接收台发射安全模式启动/关闭信号并进行相互通信时,通过从接收台向发送台发送一个ECHO(回应)信号以将安全模式启动/关闭信号的接收告知给发送台,之后发送台检测到从接收台发出的ECHO信号,并设定安全模式的启动/关闭。In areas of weak radio waves, an error may occur in the pattern transmitted for setting/disabling the security mode, and thus the receiving station cannot be placed in the security mode activation or deactivation state. Thus, since the sending station is put in safe mode enabled and the receiving station is put in safe mode off, it cannot communicate with each other. The following methods can be used to solve this problem: 1) Repeatedly send the safe mode on/off signal to reduce the occurrence of errors; or 2) When the sending station transmits the safe mode on/off signal to the receiving station and communicates with each other, by receiving The station sends an ECHO (Echo) signal to the sending station to inform the sending station of the reception of the security mode ON/OFF signal, and then the sending station detects the ECHO signal sent from the receiving station, and sets the ON/OFF of the security mode.
用于设定安全模式启动/关闭的ON密钥和OFF密钥是从那些不会影响通信的密钥中选取的。另外,在安全模式被设置为ON的情况下,分组密码中的安全密钥可被与ON密钥一起发射出去,或者也可和一个用于找出可与ON密钥一起发射的安全密钥的方案一起被发射出去,这将在后面得到说明。The ON key and the OFF key for setting the security mode ON/OFF are selected from those keys which do not affect communication. In addition, in the case where the security mode is set to ON, the security key in the block cipher can be transmitted with the ON key, or it can be used to find out the security key that can be transmitted with the ON key The program was launched together, which will be explained later.
4.静音控制4. Mute control
一般地说来,静音表示在20ms内话音的电功率小于基准值(检测不到话音)的情况。在静音的情况下,加密器140中的加密过程以及解密器150中的解密过程可以被信号MUTE_TX 143或MUTE_RX153跳过,另外,它们也可以根据安全模式被信号Security_Mode 180跳过。In general, silence means a situation where the electric power of voice is less than a reference value (no voice is detected) within 20 ms. In the case of silence, the encryption process in the encryptor 140 and the decryption process in the decryptor 150 can be skipped by the signal MUTE_TX 143 or MUTE_RX153, in addition, they can also be skipped by the signal Security_Mode 180 according to the security mode.
表1.加密器以安全模式和静音为依据所执行的操作Table 1. Actions performed by the encryptor based on safemode and mute
表2.解密器以安全模式和静音为依据所执行的操作Table 2. Actions performed by the decryptor based on safe mode and silent
表1和表2分别显示了加密器和解密器根据安全模式和静音所执行的操作。参考表1和表2,当信号Security_Mode 180为OFF时,加密器140和解密器150全被跳过。另外,虽然,Security_Mode 180设定为ON,但当信号MUTE_Tx 143或MUTE_Rx 153为ON时,加密器140和解密器150也全被跳过。Table 1 and Table 2 show the operations performed by the encryptor and decryptor according to security mode and mute, respectively. Referring to Table 1 and Table 2, when the signal Security_Mode 180 is OFF, both the encryptor 140 and the decryptor 150 are skipped. In addition, although the Security_Mode 180 is set to ON, when the signal MUTE_Tx 143 or MUTE_Rx 153 is ON, the encryptor 140 and decryptor 150 are all skipped.
信号MUTE_Tx 143或MUTE_Rx 153表示当前的声码器分组中是否含有与静音(MUTE)相对的信息,它们可由应用软件中的标记来表示,并且可作为硬件设备中的附加信号来控制。信号Security_Mode180表示安全模式当前是设定还是解除。The signal MUTE_Tx 143 or MUTE_Rx 153 indicates whether the current vocoder group contains information relative to mute (MUTE), they can be represented by flags in the application software, and can be controlled as additional signals in the hardware device. The signal Security_Mode 180 indicates whether the security mode is currently set or released.
在固定速率的情况下,当出现静音时不需要单独的过程。但是,在可变速率的情况下,当出现静音时,通过声码器分组的格式位很容易检测出该帧的静音状态,无需任何特殊过程。在这种情况下,不执行加密和解密。因此,就无需采用一种新的逻辑来实现本发明。In the case of a fixed rate, no separate process is required when silence occurs. However, in the case of variable rates, when silence occurs, it is easy to detect the silence state of the frame through the format bits of the vocoder packet without any special process. In this case, encryption and decryption are not performed. Therefore, it is not necessary to adopt a new logic to implement the present invention.
5.共有安全密钥5. Shared security key
由于加密器140和解密器150的分组密码使用了相同的算法和相同的安全密钥。因此,需要一种可在相互远离的发送器和接收器之间共有安全密钥的方案。Since the block ciphers of the encryptor 140 and the decryptor 150 use the same algorithm and the same security key. Therefore, there is a need for a scheme that can share a security key between a sender and a receiver that are far away from each other.
第一个方案是在当设定为安全模式时从发送器向接收器发送一个安全密钥。例如,当安全模式被设置为ON时,一个IS-95 9600bps帧中的172比特的信息作为一个代表设定为Security_Mode的特定码型(例如,十六进制中的5555…555)被发送出去,然后,下一个帧内的128比特(如果安全密钥是128位)被定义为一个安全密钥,或者一个经主密钥加密的安全密钥(它一般称为是一个对话密钥并且是一次性使用的)被发送出去。在使用主密钥的情况下,通信中的移动台共有着相同的主密钥,它被保存在一个被授权的组织内。The first scheme is to send a security key from the sender to the receiver when set to secure mode. For example, when the security mode is set to ON, 172 bits of information in an IS-95 9600bps frame are sent as a specific code pattern (for example, 5555...555 in hexadecimal) representing the Security_Mode set , then, 128 bits in the next frame (if the security key is 128 bits) is defined as a security key, or a security key encrypted by the master key (it is generally called a session key and is single-use) are sent out. In the case of the use of master keys, the mobile stations in communication share the same master key, which is kept within an authorized organization.
第二个方案是在设定为安全模式时,指定以相同的方式保存在发送器和接收器中的一个密钥(例如,100个128位的密钥)。换句话说,在一个IS-95 9600bps帧的172个信息比特中,例如,其中的164位被作为一个代表安全模式打开的特定码型(例如,十六进制中的5555…555),而剩余的8位则被用作秘密保存的256个安全密钥的一个索引。此时,保存的安全密钥可以被配置成为移动台制造商所提供的安全密钥以及用户自己输入的安全密钥。The second scheme is to designate a key (for example, 100 keys of 128 bits) stored in the transmitter and receiver in the same manner when the secure mode is set. In other words, among the 172 information bits of an IS-95 9600bps frame, for example, 164 of them are used as a specific pattern representing security mode on (for example, 5555...555 in hexadecimal), while The remaining 8 bits are used as an index into 256 secure keys kept in secret. At this time, the stored security key can be configured as a security key provided by the mobile station manufacturer and a security key input by the user himself.
第三个方案是使两个用户通过另外一个呼叫来只交换“安全密钥”。待被交换的安全密钥可通过用户的输入或由移动台中的一个随机数发生器而获得。当设定为安全模式时,根据第三个方案交换的安全密钥可由第二个方案指定和使用。A third solution is to have the two users exchange only the "Security Key" via another call. The security key to be exchanged can be obtained by user input or by a random number generator in the mobile station. When set to secure mode, security keys exchanged according to the third scheme can be specified and used by the second scheme.
6.加密/传输过程6. Encryption/transmission process
图4的流程图显示了根据本发明一个优选实施例的加密/传输过程。以下将参考图4对加密过程进行详细说明。Figure 4 is a flowchart showing the encryption/transmission process according to a preferred embodiment of the present invention. The encryption process will be described in detail below with reference to FIG. 4 .
首先,当发射器的电源上电时,发射器中的初始化过程被执行(步骤400)。然后,当用户输入一个密钥以请求进行呼叫时(步骤405),将建立呼叫(步骤410)。此时,如果输入的密钥是安全模式启动密钥(步骤415和420),则发射器的安全模式将被置于ON(步骤425),并且表示Security_ON的特定码型以及一个从发射器的多个安全密钥中选取的安全密钥的索引被添加到通信信道内的信息比特中(步骤430)。First, when the power of the transmitter is powered on, an initialization process in the transmitter is performed (step 400). Then, when the user enters a key to request a call (step 405), the call will be established (step 410). At this point, if the key entered is a security mode activation key (
如果输入的密钥是安全模式关闭密钥(步骤415和420),则发射器的安全模式将被置于OFF(步骤435),然后表示Security_OFF的特定码型被添加到通信信道内的信息比特之中(步骤440)。If the key entered is a security mode off key (
如果在步骤415中未输入安全模式密钥,则声码器将把输入信号编码成规定长度的信息比特并生成声码器分组信息比特(步骤445)。如果安全模式是ON(步骤450)并且声码器分组信息比特不是静音(步骤455),则声码器分组信息比特将利用分组密码和安全密钥来加密(步骤460)。否则,步骤455和460将被跳过。在CDMA成帧器中,帧质量指示符和编码器尾比特被添加进加密或未加密的声码器分组信息比特中以构成一个CDMA帧(步骤465),然后此CDMA帧依次经过卷积编码、交错处理以及扩频调制过程并最终通过一个指定的频带被发射给一基站(步骤470)。在步骤475中,如果保持通话,则流程返回至步骤415。如果通话已经结束,则安全模式被设定回正常模式(步骤480),并且流程将返回至步骤405继续执行。If the security mode key is not entered in
与本发明的加密器与解密器有关的各个功能可用软件来实现,也可用诸如ASIC(专用集成电路)的硬件来实现。Various functions related to the encryptor and decryptor of the present invention can be realized by software, and can also be realized by hardware such as ASIC (Application Specific Integrated Circuit).
7.接收/解密过程7. Receive/decrypt process
图5的流程图显示了在与图4所示发射器相对应的接收器上执行的根据本发明一个优选实施例所述的接收/解密过程。以下将参考图5对此接收/解密过程进行详细说明。The flow chart of FIG. 5 shows the reception/decryption process according to a preferred embodiment of the present invention performed at the receiver corresponding to the transmitter shown in FIG. 4 . This receiving/decrypting process will be described in detail below with reference to FIG. 5 .
首先,当接收器接通电源时,接收器中的初始化过程被执行(步骤500)。然后,接收到振铃和呼叫时(步骤505),发射器与接收器之间的通话被建立(步骤510)。之后,接收器接收到从基站发出的一个调制信号并从该信号中还原出CDMA帧(步骤515)。CDMA解帧器从还原出来的CDMA帧中提取出一个经加密的声码器分组信息比特(步骤520)。解密器判断出加密的声码器分组信息比特中是否含有安全模式码型(步骤525)。如果该安全模式码型表示Security_Mode ON(步骤530),则解密器将检查信息比特中所含有的索引,并在接收器的多个安全密钥中确定与该索引对应的安全密钥(步骤535),然后接收器的安全模式被设置为ON(步骤540)。在步骤530中,如果信息比特中的安全模式码型表示Security_ModeOFF,则接收器的安全模式被设置为OFF(步骤545)。First, when the receiver is powered on, an initialization process in the receiver is performed (step 500). Then, when the ringing and calling are received (step 505), a call between the transmitter and receiver is established (step 510). Afterwards, the receiver receives a modulated signal from the base station and recovers the CDMA frame from the signal (step 515). The CDMA deframer extracts an encrypted vocoder packet information bit from the recovered CDMA frame (step 520). The decryptor determines whether the encrypted vocoder packet information bits contain a security mode pattern (step 525). If the security mode code pattern represents Security_Mode ON (step 530), the decryptor will check the index contained in the information bits, and determine the security key corresponding to the index in a plurality of security keys of the receiver (step 535 ), then the security mode of the receiver is set to ON (step 540). In step 530, if the security mode pattern in the information bits indicates Security_ModeOFF, the security mode of the receiver is set to OFF (step 545).
当声码器分组信息比特在步骤525中不含有安全模式码型的情况下,如果接收器的安全模式为ON(步骤550)并且加密的声码器分组信息比特不是静音(步骤555),则解密器将利用分组密码和安全密钥对加密的声码器分组信息比特进行解密(步骤560)。否则,步骤555和560将被跳过(步骤550,555,560)。经解密或跳过的声码器分组信息比特将受到声码器的解码(步骤565)。When the vocoder packet information bits do not contain a security mode pattern in step 525, if the receiver's security mode is ON (step 550) and the encrypted vocoder packet information bits are not silent (step 555), then The decryptor will decrypt the encrypted vocoder packet information bits using the block cipher and the security key (step 560). Otherwise, steps 555 and 560 will be skipped (steps 550, 555, 560). The decrypted or skipped vocoder packet information bits are subjected to decoding by the vocoder (step 565).
在步骤570中,如果通话得到保持,则流程被返回至步骤515。如果通话在步骤570中已经结束,则安全模式被设定回正常模式(步骤575),并且流程将返回至步骤505。In step 570, if the call is placed on hold, the process is returned to step 515. If the call has ended in step 570, the security mode is set back to normal mode (step 575), and the flow will return to step 505.
与本发明所述解密过程有关的各个功能也可用软件或诸如ASIC(专用集成电路)的硬件来实现。Various functions related to the decryption process of the present invention can also be realized by software or hardware such as ASIC (Application Specific Integrated Circuit).
如上所述,本发明可利用分组密码在反向通信信道的声码器和CDMA成帧器之间执行加密过程,并且可利用分组密码在正向通信信道的声码器和CDMA解帧器之间执行解密过程。As described above, the present invention can utilize a block cipher to perform an encryption process between a vocoder and a CDMA framer on a reverse communication channel, and can utilize a block cipher to perform an encryption process between a vocoder and a CDMA deframer on a forward communication channel. during the decryption process.
因此,由于信息比特是以一种加密形式(除发射器和接收器以外)传输的,所以即使在编码信息比特被一种高级技术检测到的情况下,也不可能在不精确知道算法和安全密钥的情况下将加密的信息比特解密成原始声码器分组。Therefore, since the information bits are transmitted in an encrypted form (beyond the transmitter and receiver), it is impossible to detect the coded information bits without precise knowledge of the algorithm and security, even in cases where the encoded information bits are detected by an advanced technique. The encrypted information bits are decrypted into raw vocoder packets using the key.
另外,本发明具有这样一个优点,即,它可在无需修改符合IS-95标准的传统基站和交换系统的情况下,使CDMA系统进行无法偷听的私人通信。In addition, the present invention has the advantage that it enables a CDMA system to conduct private communications that cannot be eavesdropped without modifying conventional base stations and switching systems conforming to the IS-95 standard.
本发明还提供了一种简单和安全的方法以用于安全密钥的共有,由此就可在使用不同安全密钥的不同用户群之间进行通信。从而可以迅速在多个小用户群间建立安全网络。The invention also provides a simple and secure method for the sharing of security keys, whereby communication between different groups of users using different security keys is possible. This allows for the rapid establishment of a secure network among multiple small user groups.
对本发明的说明是以优选实施例的形式来进行的。但是,应该明白,本发明的应用并不仅限于这些特定的实施例。本领域技术人员将会认识到,对本发明的各种修改和变换都不会脱离由以下权利要求所界定的本发明的精神和范围。The invention has been described in terms of preferred embodiments. However, it should be understood that the application of the present invention is not limited to these specific examples. Those skilled in the art will recognize that various modifications and changes can be made to the present invention without departing from the spirit and scope of the invention as defined by the following claims.
Claims (17)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB011156937A CN1193530C (en) | 2001-04-29 | 2001-04-29 | Method and device for ensuring communication information security in code division multiple access communication system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB011156937A CN1193530C (en) | 2001-04-29 | 2001-04-29 | Method and device for ensuring communication information security in code division multiple access communication system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1384632A CN1384632A (en) | 2002-12-11 |
| CN1193530C true CN1193530C (en) | 2005-03-16 |
Family
ID=4662161
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB011156937A Expired - Fee Related CN1193530C (en) | 2001-04-29 | 2001-04-29 | Method and device for ensuring communication information security in code division multiple access communication system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1193530C (en) |
-
2001
- 2001-04-29 CN CNB011156937A patent/CN1193530C/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN1384632A (en) | 2002-12-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP1094634B1 (en) | Automatic resynchronization of crypto-sync information | |
| CN1140974C (en) | method of encrypting information | |
| KR101387799B1 (en) | Encryption method for message authentication | |
| JP4260896B2 (en) | Method and apparatus for encrypting a transmitted signal | |
| US6266412B1 (en) | Encrypting speech coder | |
| CN1054693A (en) | The continous cipher of cellular communication system is synchronous | |
| CN1136738A (en) | Changeable encryption for secret grade | |
| CN1357182A (en) | Method for encrypting information and device for implementing the method | |
| CN1115924C (en) | Encryption method for mobile telephone | |
| CN1801693A (en) | Short block processing method in block encryption algorithm | |
| CN103002406B (en) | A kind of voice encryption method being applied to arrowband radio digital communication system | |
| US6990198B2 (en) | Apparatus and method for securing communication information in CDMA communication system | |
| CN107786574A (en) | The voice communication Source Encryption system of mobile terminal | |
| CN1193530C (en) | Method and device for ensuring communication information security in code division multiple access communication system | |
| GB2385740A (en) | Voice over IP telephone subscriber unit with encryption facilities | |
| CN1237752C (en) | Method and device for multiple CMEA iterative encryption and decryption for improving wireless telephone message security | |
| CN1175643C (en) | Transmission method for signal processing between two transmit/receive interfaces | |
| JP2000514934A (en) | Method and apparatus for enhanced security enhancement of a private key to a lookup table to improve security of wireless telephone messages | |
| KR100408516B1 (en) | Terminal for secure communication in CDMA system and methods for transmitting information using encryption and receiving information using decryption | |
| KR100634495B1 (en) | Wireless communication transceiver with information protection function and method | |
| CN1177431C (en) | Method and mobile device for implementing end-to-end encryption | |
| KR100519783B1 (en) | Wireless communication terminal having information secure function and method therefor | |
| CN1617484A (en) | Two-way communication method using keys | |
| CN119728207A (en) | A method for transmitting encrypted voice data | |
| KR20040059146A (en) | The encrypting device for voice signals and the encrypting method for voice signals |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20050316 |