CN105391545A - Method of generating pseudo-random sequence in LTE system - Google Patents
Method of generating pseudo-random sequence in LTE system Download PDFInfo
- Publication number
- CN105391545A CN105391545A CN201510848523.6A CN201510848523A CN105391545A CN 105391545 A CN105391545 A CN 105391545A CN 201510848523 A CN201510848523 A CN 201510848523A CN 105391545 A CN105391545 A CN 105391545A
- Authority
- CN
- China
- Prior art keywords
- sequence
- pseudo random
- random sequence
- mask code
- scramble
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/065—Encryption by serially and continuously modifying data stream elements, e.g. stream cipher systems, RC4, SEAL or A5/3
- H04L9/0656—Pseudorandom key sequence combined element-for-element with data sequence, e.g. one-time-pad [OTP] or Vernam's cipher
- H04L9/0662—Pseudorandom key sequence combined element-for-element with data sequence, e.g. one-time-pad [OTP] or Vernam's cipher with particular pseudorandom sequence generator
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The invention discloses a method of generating a pseudo-random sequence in an LTE system. The method comprises the steps of obtaining an initial sequence of a first pseudo-random sequence according to communication information of the LTE system; obtaining an initial sequence of a second pseudo-random sequence; performing phase mask sequence operation of the first pseudo-random sequence to obtain a self-scrambling sequence; performing phase mask sequence operation of the second pseudo-random sequence to obtain a self-scrambling sequence; and performing XOR operation of the two self-scrambling sequences to finally obtain a scrambling sequence for scrambling or descrambling. The invention can effectively improve the generation time of a scramble code without increasing the computational complexity, and the overall performance of a communication system is improved.
Description
Technical field
The present invention relates to a kind of method using scrambler sequence to carry out scrambling or descrambling, belong to wide-band mobile communication technical field.
Background technology
Along with the development of modern technologies, wide-band mobile communication system is widely used, and people can communicate whenever and wherever possible.But if be not encrypted operation to data in communication system, user data is easy to be stolen by third party, and therefore cryptographic operation is most important.A kind of cryptographic operation of current comparative maturity carries out scrambling by scrambler sequence to data at transmitting terminal exactly, uses identical scrambler sequence to carry out descrambling to data at receiving terminal.So just can effectively prevent data from being obtained by third party.
The time that the generation method of usual scrambler sequence expends is long, and this does not obviously meet the requirement of high-speed communication.For this reason, the present invention proposes a kind of new pseudo random sequence generation method, while not increasing computation complexity, can significantly shorten the rise time of scrambler sequence.
Summary of the invention
Goal of the invention: in order to overcome the deficiencies in the prior art, the invention provides the generation method of pseudo random sequence in a kind of LTE system, solves the generation long problem consuming time of scrambler in a communications system.
Technical scheme: for achieving the above object, the technical solution used in the present invention is:
A generation method for pseudo random sequence in LTE system, obtains the initiation sequence of the first pseudo random sequence, the initiation sequence of the second pseudo random sequence according to the communication information; Carrying out the operation of phase place mask code sequence to the first pseudo random sequence obtains from scramble sequence; Carrying out the operation of phase place mask code sequence to the second pseudo random sequence obtains from scramble sequence; Carry out xor operation to two groups from scramble sequence, finally obtain the scrambler sequence for scrambling or descrambling, specifically comprise the following steps:
Step 1, obtains the initiation sequence of the first pseudo random sequence, the initiation sequence of the second pseudo random sequence according to the communication information of LTE system;
Step 2, the mask code sequence of first, second pseudo random sequence is generated respectively according to the initiation sequence of the first pseudo random sequence, the initiation sequence of the second pseudo random sequence, wherein, the mask code sequence of the first pseudo random sequence is a fixing sequence relevant to phase place, the sequence of fixing that the mask code sequence of the second pseudo random sequence is relevant with sequence initial value with phase place;
Step 3, the mask code sequence of the initiation sequence of the first pseudo random sequence that step 1 obtains and the first pseudo random sequence that step 2 generates carries out step-by-step xor operation, obtain the first pseudo random sequence from scramble sequence; The mask code sequence of the initiation sequence of the second pseudo random sequence that step 1 obtains and the second pseudo random sequence that step 2 generates carries out step-by-step xor operation, obtain the second pseudo random sequence from scramble sequence;
Step 4, what step 3 obtained the first pseudo random sequence carries out xor operation from scramble sequence and the second pseudo random sequence from scramble sequence, obtains the scrambler sequence for scrambling or descrambling.
Preferred: the method producing the mask code sequence of the first pseudo random sequence in described step 2:
Step 211, the figure place N that scrambler sequence produces in LTE system determined by the initial value according to the first pseudo random sequence of step 1 acquisition
cvalue, wherein, the initial value of described first pseudo random sequence is x
1(0)=1, x
2(n)=0; N=1...30, N
cvalue be 1600;
Step 212, the initial value of the first pseudo random sequence obtained according to step 1 set up the first pseudo random sequence from scramble sequence generator polynomial:
x
1(n+31)=(x
1(n)+x
1(n+3))mod2;
Wherein, x
1be the first pseudo random sequence, n is scrambler sequence figure place, and n is the integer from 0 to 30, and mod is mod;
Step 213, according to the initial value of the first pseudo random sequence, the figure place N of scrambler sequence generation that step 1 obtains
cvalue and the mask code sequence M obtaining the first pseudo random sequence from scramble sequence generator polynomial of the first pseudo random sequence that determines of step 212
1; Wherein:
M
1=[0101111001001000010110000100000]。
Preferred: in described step 3 first pseudo random sequence after scramble sequence the 1600th from scramble sequence data:
Wherein, x
1be the first pseudo random sequence, n is scrambler sequence figure place, and mod is mod, M
1be the mask code sequence of the first pseudo random sequence, M
1=[0101111001001000010110000100000].
Preferred: the method producing the mask code sequence of the second pseudo random sequence in described step 2:
Step 221, the figure place N that scrambler sequence produces in LTE system determined by the initial value according to the second pseudo random sequence of step 1 acquisition
cvalue, wherein, the initial value of described second pseudo random sequence is x
2(0)=1, x
2(n)=0; N=1...30, the figure place N that scrambler sequence produces
cvalue be 1600;
Step 222, the initial value of the second pseudo random sequence obtained according to step 1 set up the second pseudo random sequence from scramble sequence generator polynomial:
x
2(n+31)=(x
2(n)+x
2(n+1)+x
2(n+2)+x
2(n+3))mod2;
Wherein, x
2be the second pseudo random sequence, n is scrambler sequence figure place, and n is the integer from 0 to 30, and mod is mod;
Step 223, defines 31 phase sequences, is respectively:
α
0(0)=1,α
0(n)=0;n=1...30
α
1(1)=1,α
1(n)=0;n=0,2...30
α
2(2)=1,α
2(n)=0;n=0...1,3...30
……
α
30(30)=1,α
30(n)=0;n=0...29;
These 31 phase sequences form one group of base, represent any one sequence of 31;
Step 224, according to step 222 set up the second pseudo random sequence set up mask code sequence generator polynomial from scramble sequence generator polynomial:
x
2(n+1600)
=sum[x
2(n+1)x
2(n+2)x
2(n+3)x
2(n+8)x
2(n+12)x
2(n+16)x
2(n+19)x
2(n+20)x
2(n+23)]mod2;
31 phase sequences step 223 defined obtain the mask code sequence (M corresponding to 31 phase sequences by mask code sequence generator polynomial successively
α 0; M
α 1; M
α 2; ...; M
α 30), and then obtain mask code matrix M
2:
Step 225, according to the initialization value C of the initiation sequence of the second pseudo random sequence
initwith the mask code matrix M that step 224 obtains
2=[M
α 0; M
α 1; M
α 2; ...; M
α 30] obtain the mask code sequence M of the second pseudo random sequence
3:
Preferred: in described step 3 second pseudo random sequence after scramble sequence the 1600th from scramble sequence data:
Wherein, x
2be the second pseudo random sequence, n is scrambler sequence figure place, and mod is mod.
Preferred: in described step 4, the formula of scrambler sequence is:
c(n)=(x
1(n+N
c)+x
2(n+N
c))mod2
Wherein, c (n) scrambler sequence, x
1be the first pseudo random sequence, x
2be the second pseudo random sequence, n is scrambler sequence figure place, and mod is mod.
Beneficial effect: the generation method of pseudo random sequence in a kind of LTE system provided by the invention, compared to existing technology, has following beneficial effect:
While not increasing computation complexity, effectively can improve the rise time of scrambler, improve the overall performance of communication system.
Accompanying drawing explanation
The scrambling that Fig. 1 adopts for the embodiment of the present invention or descrambling system structured flowchart.
First pseudo random sequence from scramble sequence generative process in the scrambler sequence that Fig. 2 adopts for the embodiment of the present invention.
Second pseudo random sequence from scramble sequence generative process in the scrambler sequence that Fig. 3 adopts for the embodiment of the present invention.
Mask code sequence M in the second pseudo random sequence that Fig. 4 adopts for the embodiment of the present invention
3acquisition.
Phase place mask code matrix M in the second pseudo random sequence that Fig. 5 adopts for the embodiment of the present invention
2acquisition.
Embodiment
Below in conjunction with the drawings and specific embodiments, illustrate the present invention further, these examples should be understood only be not used in for illustration of the present invention and limit the scope of the invention, after having read the present invention, the amendment of those skilled in the art to the various equivalent form of value of the present invention has all fallen within the application's claims limited range.
A generation method for pseudo random sequence in LTE system, as Figure 1-5, obtains the initiation sequence of the first pseudo random sequence, the initiation sequence of the second pseudo random sequence according to the communication information; Carrying out the operation of phase place mask code sequence to the first pseudo random sequence obtains from scramble sequence; Carrying out the operation of phase place mask code sequence to the second pseudo random sequence obtains from scramble sequence; Carry out xor operation to two groups from scramble sequence, finally obtain the scrambler sequence for scrambling or descrambling, specifically comprise the following steps:
Step 1, obtains the initiation sequence of the first pseudo random sequence, the initiation sequence of the second pseudo random sequence according to the communication information of LTE system.
Step 2, the mask code sequence of first, second pseudo random sequence is generated respectively according to the initiation sequence of the first pseudo random sequence, the initiation sequence of the second pseudo random sequence, wherein, the mask code sequence of the first pseudo random sequence is a fixing sequence relevant to phase place, the sequence of fixing that the mask code sequence of the second pseudo random sequence is relevant with sequence initial value with phase place.
Produce the method for the mask code sequence of the first pseudo random sequence:
Step 211, the figure place N that scrambler sequence produces in LTE system determined by the initial value according to the first pseudo random sequence of step 1 acquisition
cvalue, wherein, the initial value of described first pseudo random sequence is x
1(0)=1, x
2(n)=0; N=1...30, N
cvalue be 1600;
Step 212, the initial value of the first pseudo random sequence obtained according to step 1 set up the first pseudo random sequence from scramble sequence generator polynomial:
x
1(n+31)=(x
1(n)+x
1(n+3))mod2;
Wherein, x
1be the first pseudo random sequence, n is scrambler sequence figure place, and n is the integer from 0 to 30, and mod is mod;
Step 213, according to the initial value of the first pseudo random sequence, the figure place N of scrambler sequence generation that step 1 obtains
cvalue and the mask code sequence M obtaining the first pseudo random sequence from scramble sequence generator polynomial of the first pseudo random sequence that determines of step 212
1; Wherein:
M
1=[0101111001001000010110000100000]。
Produce the method for the mask code sequence of the second pseudo random sequence:
Step 221, the figure place N that scrambler sequence produces in LTE system determined by the initial value according to the second pseudo random sequence of step 1 acquisition
cvalue, wherein, the initial value of described second pseudo random sequence is x
2(0)=1, x
2(n)=0; N=1...30, the figure place N that scrambler sequence produces
cvalue be 1600;
Step 222, the initial value of the second pseudo random sequence obtained according to step 1 set up the second pseudo random sequence from scramble sequence generator polynomial:
x
2(n+31)=(x
2(n)+x
2(n+1)+x
2(n+2)+x
2(n+3))mod2;
Wherein, x
2be the second pseudo random sequence, n is scrambler sequence figure place, and n is the integer from 0 to 30, and mod is mod;
Step 223, defines 31 phase sequences, is respectively:
α
0(0)=1,α
0(n)=0;n=1...30
α
1(1)=1,α
1(n)=0;n=0,2...30
α
2(2)=1,α
2(n)=0;n=0...1,3...30
……
α
30(30)=1,α
30(n)=0;n=0...29;
These 31 phase sequences form one group of base, represent any one sequence of 31;
Step 224, according to step 222 set up the second pseudo random sequence set up mask code sequence generator polynomial from scramble sequence generator polynomial:
x
2(n+1600)
=sum[x
2(n+1)x
2(n+2)x
2(n+3)x
2(n+8)x
2(n+12)x
2(n+16)x
2(n+19)x
2(n+20)x
2(n+23)]mod2;
31 phase sequences step 223 defined obtain the mask code sequence (M corresponding to 31 phase sequences by mask code sequence generator polynomial successively
α 0; M
α 1; M
α 2; ...; M
α 30), and then obtain mask code matrix M
2:
M
2=[M
α0;M
α1;M
α2;...;M
α30];
Step 225, according to the initialization value C of the initiation sequence of the second pseudo random sequence
initwith the mask code matrix M that step 224 obtains
2=[M
α 0; M
α 1; M
α 2; ...; M
α 30] obtain the mask code sequence M of the second pseudo random sequence
3:
Step 3, the mask code sequence of the initiation sequence of the first pseudo random sequence that step 1 obtains and the first pseudo random sequence that step 2 generates carries out step-by-step xor operation, obtain the first pseudo random sequence from scramble sequence; The mask code sequence of the initiation sequence of the second pseudo random sequence that step 1 obtains and the second pseudo random sequence that step 2 generates carries out step-by-step xor operation, obtain the second pseudo random sequence from scramble sequence.
First pseudo random sequence after scramble sequence the 1600th from scramble sequence data:
Wherein, x
1be the first pseudo random sequence, n is scrambler sequence figure place, and mod is mod, M
1be the mask code sequence of the first pseudo random sequence, M
1=[0101111001001000010110000100000].
Second pseudo random sequence after scramble sequence the 1600th from scramble sequence data:
Wherein, x
2be the second pseudo random sequence, n is scrambler sequence figure place, and mod is mod.
Step 4, what step 3 obtained the first pseudo random sequence carries out xor operation from scramble sequence and the second pseudo random sequence from scramble sequence, obtains the scrambler sequence for scrambling or descrambling.
The formula of scrambler sequence is:
c(n)=(x
1(n+N
c)+x
2(n+N
c))mod2
Wherein, c (n) scrambler sequence, x
1be the first pseudo random sequence, x
2be the second pseudo random sequence, n is scrambler sequence figure place, and mod is mod.
In order to better the present invention is described, present first chance principle of the present invention illustrates as follows:
As shown in Figure 1, scrambling is that transfer sequence and scrambler sequence are carried out xor operation, and the transfer sequence obtained is uncorrelated with original transferring content, serves the effect of protected data.At receiving terminal, use identical scrambler sequence correctly can go out data by descrambling, otherwise the data that descrambling makes mistake.
The formula of scrambler sequence is:
C (n)=(x
1(n+N
c)+x
2(n+N
c)) mod2 (formula 1)
Wherein x
1be the first pseudo random sequence, x
2be the second pseudo random sequence, these two sequences are Gold sequence, and initial value is 31, and namely n is from 0 to 30.Therefore, c (n) is also a Gold sequence.As shown in Figure 2, for the first pseudo random sequence, its initial value is x
1(0)=1, x
2(n)=0; N=1...30.Like this, can by mask code sequence produce the first pseudo random sequence from scramble sequence, specific implementation process is as follows.
First pseudo random sequence from scramble sequence generator polynomial be:
X
1(n+31)=(x
1(n)+x
1(n+3)) mod2 (formula 2)
Can be known by formula 2, from scramble sequence from the 31st, all with above sequence is relevant for each.Know that scrambler sequence is by N according to formula 1 again
cposition produces.N in LTE system
cvalue is 1600.Therefore, from scramble sequence from the 1600th, ordered sequence is only, for generation of scrambler sequence c (n).Obviously, the calculating of 1600 times had both wasted the time and had wasted resource.In order to accelerate computing, can find a mask code sequence, the effect of this mask code sequence makes the initiation sequence of pseudo random sequence by after mask, obtains the 1600th from scramble sequence.Then, as shown in Figure 3, initiation sequence produces from scrambling sequence values by formula 2, the data window biased forwards of 31, obtain new sequence, this sequence is the data of the 1600th by what produce after mask, but for whole from scramble sequence, these data are the 1601st from scramble sequence, namely offset along with the skew of data window from scramble sequence.Because phase difference is constant, thus mask code sequence is remained unchanged.Finally, 1600 and later all from scramble sequence data can be drawn.By calculating, this mask code sequence is:
M
1=[0101111001001000010110000100000] (formula 3)
Can draw:
Like this, first carry out biased forwards by formula 2, then calculate 1600 and later from scramble sequence by mask code sequence.
As shown in Figure 4, the maximum difference of the second pseudo random sequence and the first pseudo random sequence is initiation sequence and the C of the second pseudo random sequence
initbe worth relevant, wherein, C
initvalue is the initialization value of the initiation sequence of the second pseudo random sequence, according to 3GPP agreement regulation, and C
initvalue has different definition value at different channels, the second pseudo random sequence from scramble sequence generator polynomial be:
X
2(n+31)=(x
2(n)+x
2(n+1)+x
2(n+2)+x
2(n+3)) mod2 (formula 5)
Equally, the second pseudo random sequence from scramble sequence at the 1600th and the generation of scrambler sequence could be used for later.Similar with the method for process first pseudo random sequence, different places is the mask code sequence M calculated
3with C
initbe worth relevant.Definition initiation sequence is x
2(0)=1, x
2(n)=0; N=1...30, makes data window biased forwards by generator polynomial, constantly produces new for scrambling sequence values.
As shown in Figure 5, in order to obtain mask code sequence M
3, first define 31 phase sequences, be respectively:
α
0(0)=1,α
0(n)=0;n=1...30
α
1(1)=1,α
1(n)=0;n=0,2...30
α
2(2)=1,α
2(n)=0;n=0...1,3...30
……
α
30(30)=1,α
30(n)=0;n=0...29
31 phase sequences form one group of base above, can represent any one sequence of 31.Find out the mask code sequence of each phase sequence, draw phase place mask code matrix M
2, as follows:
First phase sequence is α
0(0)=1, α
0(n)=0; N=1...30, calculating generator polynomial is:
x
2(n+1600)
=sum [x
2(n+1) x
2(n+2) x
2(n+3) x
2(n+8) x
2(n+12) x
2(n+16) x
2(n+19) x
2(n+20) x
2(n+23)] mod2 (formula 6)
Namely phase sequence α
0mask code sequence be:
M
α0=[011100001000100010011001000000]
By that analogy, after calculating the mask code sequence of all phase sequences, obtain mask code matrix M
2.
Mask code matrix M
2formula is:
M
2=[M
α 0; M
α 1; M
α 2; ...; M
α 30] (formula 7)
Calculate matrix M
2value be:
Then, C
initvalue and matrix M
2make matrix multiplication, obtain mask code sequence:
M
3=M
2* Cinit
t(formula 8)
M
3the value of every a line represents C
initthe value calculated after being updated to the generator polynomial of this phase place.
Initiation sequence x
2(0)=1, x
2(n)=1; N=1...30 and mask code sequence M
3be multiplied, obtain the numerical value from scramble sequence of the 1600th, then the data window of initiation sequence 31 bit wide calculates new data window sequence by formula 5 biased forwards.
At acquisition first pseudo random sequence and the second pseudo random sequence the 1600th and later after the numerical value of scramble sequence, just scrambler sequence can be calculated according to formula 1.Finally, it should be noted that above mask code sequence is only applicable to N
cthe situation of=1600, works as N
cwhen value is different, mask code sequence also can be different, but method is constant.
In the embodiment that the application provides, should be understood that, disclosed method, not exceeding in the spirit and scope of the application, can realize in other way.Current embodiment is a kind of exemplary example, should as restriction, and given particular content should in no way limit the object of the application.Such as, multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform
The above is only the preferred embodiment of the present invention; be noted that for those skilled in the art; under the premise without departing from the principles of the invention, can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (6)
1. the generation method of pseudo random sequence in LTE system, is characterized in that, comprise the following steps:
Step 1, obtains the initiation sequence of the first pseudo random sequence, the initiation sequence of the second pseudo random sequence according to the communication information of LTE system;
Step 2, the mask code sequence of first, second pseudo random sequence is generated respectively according to the initiation sequence of the first pseudo random sequence, the initiation sequence of the second pseudo random sequence, wherein, the mask code sequence of the first pseudo random sequence is a fixing sequence relevant to phase place, the sequence of fixing that the mask code sequence of the second pseudo random sequence is relevant with sequence initial value with phase place;
Step 3, the mask code sequence of the initiation sequence of the first pseudo random sequence that step 1 obtains and the first pseudo random sequence that step 2 generates carries out step-by-step xor operation, obtain the first pseudo random sequence from scramble sequence; The mask code sequence of the initiation sequence of the second pseudo random sequence that step 1 obtains and the second pseudo random sequence that step 2 generates carries out step-by-step xor operation, obtain the second pseudo random sequence from scramble sequence;
Step 4, what step 3 obtained the first pseudo random sequence carries out xor operation from scramble sequence and the second pseudo random sequence from scramble sequence, obtains the scrambler sequence for scrambling or descrambling.
2. the generation method of pseudo random sequence in LTE system according to claim 1, is characterized in that: the method producing the mask code sequence of the first pseudo random sequence in described step 2:
Step 211, the figure place N that scrambler sequence produces in LTE system determined by the initial value according to the first pseudo random sequence of step 1 acquisition
cvalue, wherein, the initial value of described first pseudo random sequence is x
1(0)=1, x
2(n)=0; N=1...30, N
cvalue be 1600;
Step 212, the initial value of the first pseudo random sequence obtained according to step 1 set up the first pseudo random sequence from scramble sequence generator polynomial:
x
1(n+31)=(x
1(n)+x
1(n+3))mod2;
Wherein, x
1be the first pseudo random sequence, n is scrambler sequence figure place, and n is the integer from 0 to 30, and mod is mod;
Step 213, according to the initial value of the first pseudo random sequence, the figure place N of scrambler sequence generation that step 1 obtains
cvalue and the mask code sequence M obtaining the first pseudo random sequence from scramble sequence generator polynomial of the first pseudo random sequence that determines of step 212
1; Wherein:
M
1=[0101111001001000010110000100000]。
3. the generation method of pseudo random sequence in LTE system according to claim 1, is characterized in that: in described step 3 first pseudo random sequence after scramble sequence the 1600th from scramble sequence data:
Wherein, x
1be the first pseudo random sequence, n is scrambler sequence figure place, and mod is mod, M
1be the mask code sequence of the first pseudo random sequence, M
1=[0101111001001000010110000100000].
4. the generation method of pseudo random sequence in LTE system according to claim 1, is characterized in that: the method producing the mask code sequence of the second pseudo random sequence in described step 2:
Step 221, the figure place N that scrambler sequence produces in LTE system determined by the initial value according to the second pseudo random sequence of step 1 acquisition
cvalue, wherein, the initial value of described second pseudo random sequence is x
2(0)=1, x
2(n)=0; N=1...30, the figure place N that scrambler sequence produces
cvalue be 1600;
Step 222, the initial value of the second pseudo random sequence obtained according to step 1 set up the second pseudo random sequence from scramble sequence generator polynomial:
x
2(n+31)=(x
2(n)+x
2(n+1)+x
2(n+2)+x
2(n+3))mod2;
Wherein, x
2be the second pseudo random sequence, n is scrambler sequence figure place, and n is the integer from 0 to 30, and mod is mod;
Step 223, defines 31 phase sequences, is respectively:
α
0(0)=1,α
0(n)=0;n=1...30
α
1(1)=1,α
1(n)=0;n=0,2...30
α
2(2)=1,α
2(n)=0;n=0...1,3...30
……
α
30(30)=1,α
30(n)=0;n=0...29;
These 31 phase sequences form one group of base, represent any one sequence of 31;
Step 224, according to step 222 set up the second pseudo random sequence set up mask code sequence generator polynomial from scramble sequence generator polynomial:
x
2(n+1600)
=sum[x
2(n+1)x
2(n+2)x
2(n+3)x
2(n+8)x
2(n+12)x
2(n+16)x
2(n+19)x
2(n+20)x
2(n+23)]mod2;
31 phase sequences step 223 defined obtain the mask code sequence (M corresponding to 31 phase sequences by mask code sequence generator polynomial successively
α 0; M
α 1; M
α 2; ...; M
α 30), and then obtain mask code matrix M
2:
M
2=[M
α0;M
α1;M
α2;...;M
α30];
=[0111000010001000100110010000000;
0100100011001100110101011000000;
1010100111011101111001111000000;
1111011111111111000001110000011;
0000111111111110000011100000111;
0001111111111100000111000001110;
0011111111111000001110000011100;
0111111111110000011100000111000;
1111111111100000111000001110000;
0001111111000001110000011100001;
0011111110000011100000111000010;
0111111100000111000001110000100;
1111111000001110000011100001000;
0001110000011100000111000010001;
0011100000111000001110000100010;
0111000001110000011100001000100;
1110000011100000111000010001000;
0010000111000001110000100010001;
0100001110000011100001000100010;
1000011100000111000010001000100;
1110111000001110000100010001001;
0011110000011100001000100010011;
0111100000111000010001000100110;
1111000001110000100010001001100;
0000000011100001000100010011001;
0000000111000010001000100110010;
0000001110000100010001001100100;
0000011100001000100010011001000;
0000111000010001000100110010000;
0001110000100010001001100100000;
0011100001000100010011001000000];
Step 225, according to the initialization value C of the initiation sequence of the second pseudo random sequence
initwith the mask code matrix M that step 224 obtains
2=[M
α 0; M
α 1; M
α 2; ...; M
α 30] obtain the mask code sequence M of the second pseudo random sequence
3:
5. the generation method of pseudo random sequence in LTE system according to claim 1, is characterized in that: in described step 3 second pseudo random sequence after scramble sequence the 1600th from scramble sequence data:
Wherein, x
2be the second pseudo random sequence, n is scrambler sequence figure place, and mod is mod.
6. the generation method of pseudo random sequence in LTE system according to claim 5, is characterized in that: in described step 4, the formula of scrambler sequence is:
c(n)=(x
1(n+N
c)+x
2(n+N
c))mod2
Wherein, c (n) scrambler sequence, x
1be the first pseudo random sequence, x
2be the second pseudo random sequence, n is scrambler sequence figure place, and mod is mod.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510848523.6A CN105391545B (en) | 2015-11-27 | 2015-11-27 | The generation method of pseudo-random sequence in a kind of LTE system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510848523.6A CN105391545B (en) | 2015-11-27 | 2015-11-27 | The generation method of pseudo-random sequence in a kind of LTE system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105391545A true CN105391545A (en) | 2016-03-09 |
CN105391545B CN105391545B (en) | 2018-11-16 |
Family
ID=55423400
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510848523.6A Active CN105391545B (en) | 2015-11-27 | 2015-11-27 | The generation method of pseudo-random sequence in a kind of LTE system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105391545B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107483152A (en) * | 2017-08-15 | 2017-12-15 | 京信通信系统(中国)有限公司 | A kind of method for sending, receiving data, device and computer read/write memory medium |
WO2018108007A1 (en) * | 2016-12-16 | 2018-06-21 | 中兴通讯股份有限公司 | Method and apparatus for generating data, device, computer storage medium |
WO2020001499A1 (en) * | 2018-06-28 | 2020-01-02 | 南京中兴新软件有限责任公司 | Data processing method, device, and computer-readable storage medium |
CN110831013A (en) * | 2018-08-07 | 2020-02-21 | 黎光洁 | Co-frequency multi-system coexistence method |
CN111711587A (en) * | 2020-06-15 | 2020-09-25 | 中国人民解放军63892部队 | Physical layer modulation scrambling method based on pseudo-random sequence |
CN112019324A (en) * | 2019-05-31 | 2020-12-01 | 中国移动通信有限公司研究院 | Method and device for generating initial phase of pseudorandom sequence and communication equipment |
CN112019325A (en) * | 2019-05-31 | 2020-12-01 | 中国移动通信有限公司研究院 | Method and device for generating initial phase of pseudorandom sequence and communication equipment |
CN112306458A (en) * | 2020-11-13 | 2021-02-02 | Oppo广东移动通信有限公司 | Sequence generation method and device, signal receiving/transmitting equipment and storage medium |
CN112579045A (en) * | 2020-12-22 | 2021-03-30 | Oppo广东移动通信有限公司 | Method and device for generating pseudorandom sequence and storage medium |
CN113595672A (en) * | 2021-07-28 | 2021-11-02 | 重庆重邮汇测电子技术研究院有限公司 | Modular implementation method based on 5G pseudo-random sequence |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101925056A (en) * | 2009-06-10 | 2010-12-22 | 华为技术有限公司 | Scrambling code sequence generation method, device and system for scrambling or descrambling |
CN102025696A (en) * | 2009-09-16 | 2011-04-20 | 中兴通讯股份有限公司 | Parallel scrambling and descrambling processing device and method |
CN103873181A (en) * | 2014-04-04 | 2014-06-18 | 中国科学院自动化研究所 | Pseudorandom sequence parallel generation method in LTE system |
CN104636115A (en) * | 2013-11-14 | 2015-05-20 | 国家电网公司 | Post processing device and method for true random numbers |
-
2015
- 2015-11-27 CN CN201510848523.6A patent/CN105391545B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101925056A (en) * | 2009-06-10 | 2010-12-22 | 华为技术有限公司 | Scrambling code sequence generation method, device and system for scrambling or descrambling |
CN102025696A (en) * | 2009-09-16 | 2011-04-20 | 中兴通讯股份有限公司 | Parallel scrambling and descrambling processing device and method |
CN104636115A (en) * | 2013-11-14 | 2015-05-20 | 国家电网公司 | Post processing device and method for true random numbers |
CN103873181A (en) * | 2014-04-04 | 2014-06-18 | 中国科学院自动化研究所 | Pseudorandom sequence parallel generation method in LTE system |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018108007A1 (en) * | 2016-12-16 | 2018-06-21 | 中兴通讯股份有限公司 | Method and apparatus for generating data, device, computer storage medium |
CN108207028A (en) * | 2016-12-16 | 2018-06-26 | 中兴通讯股份有限公司 | A kind of data creation method and device, equipment |
CN108207028B (en) * | 2016-12-16 | 2023-07-14 | 中兴通讯股份有限公司 | Data generation method, device and equipment |
CN107483152A (en) * | 2017-08-15 | 2017-12-15 | 京信通信系统(中国)有限公司 | A kind of method for sending, receiving data, device and computer read/write memory medium |
CN107483152B (en) * | 2017-08-15 | 2020-04-14 | 京信通信系统(中国)有限公司 | Method, device and computer readable storage medium for sending and receiving data |
WO2020001499A1 (en) * | 2018-06-28 | 2020-01-02 | 南京中兴新软件有限责任公司 | Data processing method, device, and computer-readable storage medium |
CN110831013A (en) * | 2018-08-07 | 2020-02-21 | 黎光洁 | Co-frequency multi-system coexistence method |
CN110831013B (en) * | 2018-08-07 | 2023-06-02 | 黎光洁 | Co-frequency multi-system coexistence method |
CN112019325A (en) * | 2019-05-31 | 2020-12-01 | 中国移动通信有限公司研究院 | Method and device for generating initial phase of pseudorandom sequence and communication equipment |
CN112019324A (en) * | 2019-05-31 | 2020-12-01 | 中国移动通信有限公司研究院 | Method and device for generating initial phase of pseudorandom sequence and communication equipment |
CN111711587B (en) * | 2020-06-15 | 2023-05-19 | 中国人民解放军63892部队 | Physical layer modulation scrambling method based on pseudo-random sequence |
CN111711587A (en) * | 2020-06-15 | 2020-09-25 | 中国人民解放军63892部队 | Physical layer modulation scrambling method based on pseudo-random sequence |
CN112306458A (en) * | 2020-11-13 | 2021-02-02 | Oppo广东移动通信有限公司 | Sequence generation method and device, signal receiving/transmitting equipment and storage medium |
CN112306458B (en) * | 2020-11-13 | 2024-03-19 | Oppo广东移动通信有限公司 | Sequence generation method and device, signal receiving/transmitting device and storage medium |
CN112579045A (en) * | 2020-12-22 | 2021-03-30 | Oppo广东移动通信有限公司 | Method and device for generating pseudorandom sequence and storage medium |
CN113595672A (en) * | 2021-07-28 | 2021-11-02 | 重庆重邮汇测电子技术研究院有限公司 | Modular implementation method based on 5G pseudo-random sequence |
Also Published As
Publication number | Publication date |
---|---|
CN105391545B (en) | 2018-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105391545A (en) | Method of generating pseudo-random sequence in LTE system | |
CN105262557B (en) | A kind of generation method of pseudo-random sequence in LTE system | |
US10396996B2 (en) | Generating cryptographic checksums | |
US10623187B2 (en) | Generating cryptographic checksums | |
CN104380651B (en) | The method for generating the method for pseudo-random sequence and data stream being encoded or decoded | |
CN110661618B (en) | Data transmission method and device and electronic equipment | |
CN110071794B (en) | AES algorithm-based information encryption method, system and related components | |
CN104158557B (en) | Gold sequence method for parameter estimation | |
US9049007B2 (en) | Low-power encryption apparatus and method | |
CN108989309A (en) | Encryption communication method and its encrypted communication device based on narrowband Internet of Things | |
CN104113420A (en) | Identity based aggregate signcryption method | |
CN103746803A (en) | Multi-sequence joint spectrum-spreading secret communication method based on weighted fractional Fourier transform | |
CN103458296B (en) | Intelligent set top box safe key generates method | |
CN110650119B (en) | Data transmission method and device and electronic equipment | |
JunLi et al. | Email encryption system based on hybrid AES and ECC | |
US20150188703A1 (en) | Key processing method and apparatus | |
WO2018196638A1 (en) | Information bearing method and device | |
CN114866312B (en) | Shared data determining method and device for protecting data privacy | |
CN110661591B (en) | Data processing method, apparatus and computer readable storage medium | |
CN106452743A (en) | Communication secret key acquisition method and apparatus and a communication message decryption method and apparatus | |
Park et al. | Efficient implementation of Simeck family block cipher on 8-bit processor | |
CN102281116A (en) | Method and device for generating GOLD sequence | |
CN102201912A (en) | Blind recognition method for self-synchronization scrambling code generation polynomial | |
CN105117199A (en) | True random number post-processing system and method | |
TWI731770B (en) | Computer system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP02 | Change in the address of a patent holder | ||
CP02 | Change in the address of a patent holder |
Address after: 210093 Nanjing University Science Park, 22 Hankou Road, Gulou District, Nanjing City, Jiangsu Province Patentee after: Southeast University Address before: 211103 No. 59 Wan'an West Road, Dongshan Street, Jiangning District, Nanjing City, Jiangsu Province Patentee before: Southeast University |