Secure GPRS Data Systems Based on 3D-Discrete Wavelet and Multiwavelet Transformations
Laith Ali Abdul-Rahaim
Electrical Engineering Department, Babylon University, Babil, Iraq
Laith Ali Abdul-Rahaim. Secure GPRS Data Systems Based on 3D-Discrete Wavelet and Multiwavelet Transformations. American Journal of Embedded Systems and Applications. Vol. 3, No. 2, 2015, pp. 11-22. doi: 10.11648/j.ajesa.20150302.11
Abstract: This paper shows a new efficient data delivery method based on three dimensional discrete Multiwavelet transformations Critically Sampled (3D-DMWTCS). This method was been done by get the data from any data source then catted the stream data to a packets of A certain length then each of these packet will convert to a square matrix, and then collected these square matrices in three dimensional matrix form. The 3D - discrete Multiwavelet transforms Critically Sampled (3D-DMWTCS) will be applied to each three dimensional matrix form and the output of this procedure will be also in three dimensional matrix forms and contain 3D-DMWTCS coefficient as real numbers. After this stage, the 3D matrix will be converting to square matrix and then to serial data stream of samples, then will be sending through USB port to SIM908 GSM GPRS module that must secure a connection between two or more communication points. As well as this encryption method can be done using three dimensional discrete wavelet transformations (3D-DWT) and (2D-DMWTCS) and (2D-DWT). The purposed of these methods is to maintain the confidentiality of the information sent, whether it is written texts, or data, or talk speech, and it is done with a high data rate and excellent coding. It is impossible or difficult to decrypt these methods without knowing how these encryption systems are build. The decryption is done by extracting the encrypted data from the Multiwavelet decomposition vector using the algorithm of inverse of 3D-Discrete Multiwavelet Transformation. The encrypted messages that send to other points consists 3D-DMWTCS decomposition vector. The encryption key that used in this method is 3D-DMWTCS method so the decryption key will be 3D-IDMWTCS. Due to the GSM GPRS mobile communications systems mostly use OFDM technology, therefore these technology has been used in the designed of wireless communication transceivers system using MATLAB2014a to simulate GSM GPRS under multichannel types and run the simulations to determine the specifications of these cryptographic systems under various conditions. The simulation results proved that these methods are retrieving the security and improve the performance of the communications system.
Keywords: 3D-DMWTCS, 3D-DWT Cryptography, GPRS, OFDM, SIM908, UDP, TCP
The implementation of voice, SMS and MMS services into wireless communication system. The main aim of this work focus on using mobile devices, for example tablets and smart phones, to access to multimedia video files and call control session. In an internet-to-mobile data transmitting scenario, the protocol of services employs user datagram protocol (UDP) as their transport protocol . If UDP Compared with transmission control protocol (TCP) , the UDP does not fructify retransmission delay that makes TCP protocol captivating to delay responsive applications. All packets of UDP contain a header and payload. UDP also have a cyclic redundancy check (CRC) to catch the integrity of packets; therefore, it can detect any error in the packet header or payload. If detected an error, the packet is discarded and declared the error. UDP packet transmission in internet is best efforts by network congestion case yields packet loss. At the receiving side with certain data rate (DR) packets are either exact detect or lost.
The physical layer (PHY) and medium access control (MAC), and the current channel status, are usually small compared to the packet length. In the applications of wireless systems like third-generation (3G) [3, 4], which needed low and medium DR, each frame in physical layer corresponds to a transmission unit . To associate high DR services, MAC protocol specifies that radio link protocol (RLP) can partition each physical layer frame into smaller logical frames named logical transmission units (LTUs), each associated with a 16 bits of CRC . The LTU size may be change between [300 - 600] bits. After stage of channel decoding in the receiver side, the residue error will be detected by CRC. This information of frame error is will be available at the RLP layer. Also one can combine the link adaptation with FEC coding at the packet level to get maximum flexibility. But, this way culminate from signaling significant level, delay and complexity . When TCP is used, packet loss will be recovered by using congestion control. The TCP/RLP has been shown in Details in [8, 9]. User datagram protocol (UDP) is part of a miniature TCP/IP suite. The UDP provides any applications full transport layer services. Fig.1 (a) shows UDP in the TCP/IP suite model and it is clear that is located in the transport layer. UDP can be establishing a link or a connection between any two processes at begins and the ends of any data transmission . The transmission of data will done with minimal overhead, without using acknowledgment or flow control of received data. The minimal error control was done by neglect (discard) the received packets which contain error in some bits using checksum test.Fig.2 shows the comparison between TCP and UDP addressing process which defines each domain of its protocol [11,12].
2. The Proposed System Theories
To establish wireless communication between any two points will be the use of sim908 based on ARM926EJ_S core. SIM908 work at 156 MHz, and has redundant MIPS to run programs other than telecommunication protocols . So SIM908 can be integrated into a wide range of applications. Embedded AT is for fully utilizing SIM908 resources, providing interfaces to move some external MCU functions into itself, so as to save customer's cost. SIM908 module is perfect Quad-Band GSM/GPRS modules that integrate GPS technology for satellite navigation [13,14,15,16]. The built-in design that incorporated GPRS and GPS in a SMT package will clearly save both time and costs for users to promote GPS enabled applications. The standard industry interface and GPS function let variable dominions to be tracked easily at any place and time if the signal covering the area. The AT commands used to make a connection between sim908 GSM modules are summarized in table 1. The procedure to establish a connection between two or more points using TCP or UDP protocol with sim908 GSM modules will be according to the following steps are summarized in Fig.(3), Fig.(4) and Fig (5).
|AT+CIPMUX=||OK||Selects single connection (0) or multiple connection (1)|
|AT+CIICR||Brings up wireless connection|
|AT+CIFSR||Get local IP address|
|AT+CIPSTART||Establishes a connection with a server.|
|AT+CIPSEND||Sends data when the connection is established.|
|AT+CIPCLOSE||Closes the connection|
2.1. Computation Method of 3D-DWT and 3D-DMWTCS
Discrete Wavelet and Multiwavelet transform given a good indication in applications of signal processing. Recent work on Multiwavelet have been studies the basic theory, methods of constructing new multifilters and the denoising and compression applications in of video and image [17, 18, 19, 22].The computation methods of 1, 2 and 3D of DWT are shown in [17,20,22,23,24,25] also 1 and 2D of DMWTCS are shown[18,24,25] and 3D-DMWTCS shown below.
2.1.1. A Proposed Computation Method of 3D-DMWTCS
The algorithms for computing three dimensional discrete Multiwavelet transform Critically Sampled (3D-DMWTCS) have been described in this section in a simple and easy way to verify procedure using matrix multiplication and addition. To compute 3D-DMWTCS one must know how compute 1, 2D- discrete Multiwavelet transforms Critically Sampled and its inverse 1,2D-IDMWTCS. In 3D- discrete Multiwavelet transformation Critically Sampled algorithm is defined in 3D, so the transformation procedure will done successively in x-, y- and z-directions.
For a 2D-DMWTCS, the procedure was applied to each vector in x-direction first, and then to each vector in y-direction. Similarly, in 3D- discrete Multiwavelet transformation Critically Sampled the procedure is defined in 3D and the transformation algorithm is applied successively in x-, y- and z-direction.
Let’s take a general 3D signal, for example any NxNxM matrix. The computation 3D-DMWTCS need the following procedure:
1. construct 3D-matrix A to represent the 3D input signal,
2. Using 2D DMWTCS algorithm to each NxN input matrix, which result in a Y matrix (NxNxM).
3. Using 1D-DMWTCS algorithm shown in appendix (A) to compute 1D-DMWTCS to each element of NxN matrix in all M matrices in z-direction, which can summarized as follows:
a. For each i,j element in the 1st matrix construct a vector of Mx1 for each element in z-direction output matrices from 2D-DMWTCS in step 2, this operation is done as below:
b. Applying 1D-DMWTCS algorithm to each the construct vector.
4. Repeat step 3 for all construct vector i, j.
5. Finally, aNxNxM of 3D-DMWTCS matrix results from the NxNxM original matrix using 3D-DMWTCS.
2.1.2. Computation Algorithm of 3D-IDMWTCS
The original 3D signal can be reconstruct from the transformed 3D-discrete Multiwavelet transformed Critically Sampled signal, by applying the inverse discrete 3D- discrete Multiwavelet transform (3D-IDMWTCS) algorithm. The Computation of 3D-IDMWTCS for 3D Signal can be summarized in the following procedure
1. Let X be the N×N×M the 3D-Discrete Multiwavelet transformed using critically sampled scheme matrix
2. Built the reconstruction transformation matrix M×M.
3. Apply 1D- IDMWTCS algorithm shown in  to each construct a vector of M×1 of N×N in the 1st matrix all M matrices in z-direction.
4. Repeat step 3 for all construct vector i, j
5. Built reconstruction transformation matrix N×N.
6. Apply 2D- IDMWTCS algorithm to each N×N matrix result from step 3 in the z-direction.
7. Finally, a N×N×M matrix results from the transform matrix N×N×M to represent original matrix using 3D-IDMWTCS algorithm.
3. Proposed Secure Wireless Transceivers
The proposed secure wireless transceivers using TCP or UDP protocol is shown as in Figure (6). Each transceiver need to laptop and sim908 GSM module. The Matlab 2014a are used to build a Simulink function to represent the proposed secure function based on 3D-DWT or 3D-DMWTCS functions and there inverse. These functions build as Matlab function using M file and these function are call by the Simulink's (S-function) as shown in Fig (7). These functions will compute 3D-DWT or 3D-DMWTCS coefficients and then send to anther function that does OFDM modulation after convert the 3D to 2D matrices, and then these 2D matrices to vectors of 1D then configures these vectors to packets that will be feed to OFDM function. The output of OFDM packet convert to serial and feed to the USB port using UDP or TCP protocol to sim908 and through sim908 to anther sim908 on the other side that will reflect the process that took place in the transmitter.
At the receiving end, all the steps of proposed algorithm applied but in reversely order to retrieve the original data. However frames are divided into 4096 samples to offer 16! × 16! Possible probability permutation for each 2D-Matrices. This changeability of the Encrypted signal is increased to be (16! ×16! ×16!) when interring the total frame permutation (the third dimension permutation) is also performed. Not all permutations give good security quality so the effective permutation used . Fortunately, results offer high security level to the system. The block diagrams of the proposed Encryption and decryption based on this new scheme are shown in Fig.(8).
Although using the subject scheme, in order to have insight of time and frequency domain analyses, the recorded wave files of the various speech segments are implemented and evaluated using Simulink MATLAB® (R2014a). The used of MATLAB® (R2014a) approach for software simulation offers many important advantages in the described applications. Thus, modeling and simulation flexibility is greatly enhanced.
To reinforce the quality of the obtained results, the experiments are conducted not only in English but in Arabic languages as well.
Pauses between talk burst cannot be sensed and there is no residual intelligibility.
In term of security system, the concept of the residual of intelligibility while the quality of the recovered data are subjective quantity, thus the scramble and descramble process techniques are estimated on the results of expert listeners during the test [22, 23].Table 2. Purposed System Specifications.
|Input speech||300 Hz to 3400 Hz|
|Sampling frequency||44100 Hz|
|Type of transformation||3D-Discrete Wavelet Transform 3D-Discrete Multiwavelet Transform|
|Frame length||4096 sample|
|Frame duration||92.879 m sec|
|Total Changeable coefficients||16×16×16 = 4096|
1. Separating digits that are pronounced via male and female as well.
2. Examinations are applied for digits also sentences are included too.
3. Those segments also are proved by male and female too.
4. However, to have more practical results, exchanged segments are carried out via two languages for male and female individually. The results are calculated in terms of correctly identified words IQ, which is equal to Q:
Where E is the difference between the right words, and the wrong words and T is total words [10, 15].
The transmitter sends data in plaintext or clear text; the process of disguising so that the information is hidden is called encryption. The encrypted data is referred to as cipher text. When receiver performs the reversal of the encryption processes, this is called decryption. The terms "encipher" and "decipher" are synonymously used for "encrypt" and "decrypt" [5, 6]. The security of proposed algorithm is based on how the way of the algorithm works as secret key, and named as restricted algorithm. Restricted algorithms have historical interest system.
4. Real Time Results of the Proposed System
The below graphs (Fig. 9 to Fig. 16) shows the results of real time results based on GSM network and sim908 using time and spectrum expressions of Simulink. And GUI of SMS from sim908 to anther sim908 with Simulink over GSM network with and without using 3D-DMWTCS proposed encryption method in receiver side.
5. Performance Enhancement in Simulation Results
In this section, the contents show the simulation results of OFDM with proposed encryption based 3D-DMWTCS and 3D-DWT method.
However, for time-domain it is clearly represented as discrete-time signals. In frequency domain the division of energy is not as original as before the encryption process application. The spectrum is reversed altogether which inverts the distribution of energy level with respect to function of frequency. However, the data is mixed in frequency domain which is similar to convolution in time domain. While transmitted signal is represented in time-domain this leads that any unauthorized access that tries to de-ciphering the data without knowledge about the used scheme, would have to convolve in time-domain which, without doubt would be time consuming process based real-time systems. Furthermore, non- knowledge the permutation order of the system that’s why he would have to apply on each frame could be recognized to take infinite time [20,21] as shown in fig.(17).
These parameters are shown in table (2)
|Frequency selective fading+AWGN|
|0.1µsec||Delay spreading (Td)|
After an extensive tests the results showed over a long period to create those tests clear for listeners, the speech files of that contain wave signals are played and listened by listeners. By following mechanism steps, thirty listeners who are all listened to 50 encrypted wave segments. Segment consists of the digits 0 to 9 is spoken in cluster of four digits. Additional, tests are not restricted to spoken digits only but also to sentence segments. So as to make test stringent and result has oriented feature, the test was hard and consumes time, and the tests are implemented in English as well in Arabic language. However, duplication of spoken digits of the same position is avoided. The tests were inflexible by using:
i. Separating the digits that were spoken by male and female as well.
ii. Test is done for not limited to digits only but also for sentences. The test segments also recorded.
iii. The recorded segments are tested via two languages by male and female.
The recorded data file, contains spoken digits "Zero, One, Two" vocal by a male is showed in. Figs. (18) – (20) which represent time-domain representation of original ciphered data and deciphered files respectively. On the rest, Figs (21) – (23) reveal distribution of power as a function of frequency of original encrypted and retrieved speech, respectively.
5.1. The Encryption-OFDM in AWGN Channel
The MATLAB V8.1 is used to simulate the Encryption - OFDM transceiver proposed system as shown in Fig.(17). Most MATLAB functions are written to simulate the encryption system as shown in Fig.(17). The functions include frame resizing, Encryption-description, the using of pilot carriers, etc. the output of the simulated proposed system is estimated and represented in Fig. (24), and gives the BER performance of the Encryption-OFDM using discrete wavelet and Multiwavelet transformation in AWGN channel. It is represented clearly that the Encryption-OFDM system using proposed Encryption systems 3D-DWT and 3D-DMWTCS gives much better results than OFDM transceiver and the Encryption of 2D-DMWTCS and 2D-DWT OFDM.
5.2. The Encryption-OFDM in Flat Fading Channel
MATLAB V8.1 simulated the results as in Fig. (17) is used here to mimic the results in flat fading channel additional to AWGN excluding a flat fading channel is added to the channel model. For AWGN and flat fading types of channel, the signal is influenced by the fading effect add to AWGN. However, all the frequency assembled of the signal will be influenced with an attenuation and linear distortion for assumed channel and this leads to a Rayleigh's distribution.
The assumption of 10 Hz is used for Doppler frequency which leads to BER of 10-4 and the SNR required for encrypted–OFDM using 3D-DWT is about 17 dB could be seen from Fig (25), while 2D-DWT OFDM scrambling of transceiver is about 23 dB and the SNR in OFDM transceiver is about 36dB.
The same thing are shown in from fig.(25) and fig.(26), therefore from fig.(25), fig.(26) and fig.(27) a gain of 19dB and 6dB for the Encryption-OFDM using 3D-DWT and 3D-DMWTCS Encryption against OFDM 2D-DWT Encryption transceivers are obtained respectively.
Therefore the Encryption-OFDM using 3D-DWT and 3D-DMWTCS outcome bitter results than other Encryption-OFDM system under this model channel.
5.3. The Encryption-OFDM in Selective Fading Channel
According to BER performances of Encryption-OFDM using 3D-DMWTCS are mimicked for AWGN with multi-path frequency selective Rayleigh distributed channels. Assuming two ray channel with gain of -8dB for the second path, the second path would have maximum delay of τmax=0.1µsec for range of values of signal to the noise ratio. Fig. (28) represents results at fDmax =10Hz as maximum Doppler shift. It could be seen clearly from Fig.(28) the BER=10-4 would require SNR for Encryption-OFDM using 3D-DWT and 3D-DMWTCS about 19dB, however Encryption-OFDM utilizing 2D-DWT and OFDM transceivers, the SNR are about 31dB and 37dB respectively. It is clear that a gain of 18dB can be obtained by using Encryption-OFDM with 3D-DMWTCS against OFDM transceiver which obtained and about 14dB using 3D-DWT. In Figs (28-30) the same thing can noted that Encryption-OFDM using 3D-DMWTCS Encryption system outperforms significantly for this channel model. In this sections the results are briefed in table (4), also those results are computed later by testing the system via transferring approximately 1M symbols. Table (4) presents SNR values corresponding to BER.
Since the essential goal of communication security is the hiding of the fact that a secret message is transmitted, and then it is very important to make the recovered process at receiver. The following interpretations points of this work were present.
1. This work is novel in wireless security based on modern DSP techniques, where most algorithms that were used based on inserting dummy packets or based permutation of Fourier Transform, while in this work, Three Dimensional Transformation based Discrete Multiwavelet Transformation Critically Sampled is adapted and has decrease BER over OFDM modulation in different modulated channels as descripted above.
2. It obvious that the proposed system that based on 3D-DWT and 3D-DMWTCS with permutations is secure against brute force attack, when the required process to retrieve data is governed by permutation preprocess it gives system robust against those kinds of attacks.
3. The key length based on the length of the message which is close to the best security algorithm (One Time Pad) according to what Shannon showed. The length of the key = 16×16×16 = 4096 =212.
4. The BER shows great interesting results, the system seems robust and has the immunity for wide range of SNR and this gives two advantages: security and noise immunity.
5. The proposed system fulfills most of the Kerchoff's principles which state that the security of the system based on the assumption that the enemy has full knowledge of the design and implementation details of the security system, i.e. the algorithm could be published in public, only the length of key, permutation algorithm and cipher mode type are kept secret, the resultant message in format will be suitable for transmission, so the system is practically unbreakable, system implementation is easy and it requires a short time.
|System name||AWGN||Flat Fading||Selective Fading|
|Max. Doppler Shift||Max. Doppler Shift|
|10 Hz||100 Hz||500 Hz||10 Hz||100 Hz||500 Hz|
|2D-DWT ENCRYPTION- transceiver||19||24||32||36||31||non||non|
|2D-DMWTCS ENCRYPTION- transceiver||15||18||23||31||27||40||non|
|3D-DWT ENCRYPTION- transceiver||13||15||21||27||23||33||non|
|3D-DMWTCS ENCRYPTION- transceiver||10||12||19||24||18||28||non|
The design of Encryption systems are based on SIM908 GSM module. The Encryption processes are implementing based on 2D-DWT, 2D-DMWTCS, 3D-DWT and 3D-DMWTCS transformations. These methods shows that Bandwidth features are preserved and there is no noise expansion, and quality of the recovered was preserved. Also the fast algorithms with matrices algebraic for 3D-DWT and 3D-DMWTCS calculation will speeds up the transmitter and receiving data rate by of each square matrices parallel computing; the Inverse transforms are found easily for these transformations, and has the same fast algorithm. The encrypted data is meaningless and thus the residual intelligibility is considerably very low. Permutations are better than inserted dummy components. Cryptanalytic efforts are considerably increased due to altered data components in such away will take infinite time to retrieve data if there is no information how the structure of the encrypted system has been built. These encryption methods also have another benefit that is an increase the immunity of decrypting data sent to the influence of the environment in the channel so improves the BER performance to overall encrypted transceiver as show in the simulation results.