This application claims the benefit of Korean Patent Application No. 10-2009-0124348, filed on Dec. 15, 2009, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference.
1. Field of the Invention
The present invention relates to an effective scrambling or descrambling method and system thereof.
2. Description of the Related Art
Referring to
N may not be zero or may not be a great number, and thus, the scrambling scheme may shift the LFSR N times, and may shift the N times-shifted LFSR the same number of times as a length of the data streams to embody the scrambling.
For example, a Pseudo-random sequence defined in a Long Term Evolution (LTE)-Advanced Standard may be applied to the scrambling scheme. In this case, after the initial loading vector is initiated with respect to the LFSR, the scrambling scheme may perform scrambling of the data streams using the sequence output result of the LFSR group that shifts the LFSR N times and the sequence output result being outputted every time the LFSR is further shifted after being shifted N times.
However, according to the LTE-Advanced standard, N is 1600. Accordingly, it is difficult to embody the scrambling by shifting an LFSR 1600 times and further shifting the 1600 times-shifted LFSR the same number of times as a length of data streams. A plurality initial loading vectors exists, and thus, it is more difficult to generate a sequence output for each of the plurality of initial loading vectors and to perform scrambling during a limited time period.
Referring to
N may be different from zero or may be different from a large number, and thus, the descrambling scheme may shift the LFSR N times, and may further shift the N times-shifted LFSR the same number of times as a length of the scrambled data streams to embody the descrambling.
For example, a Pseudo-random sequence defined in an LTE-Advanced Standard may be applied to the descrambling scheme. In this case, after the initial loading vector is initiated with respect to the LFSR, the descrambling scheme may perform descrambling of the scrambled data streams using the sequence output result of the LFSR group that shifts the LFSR N times and the sequence output result being outputted every time the LFSR is further shifted after being shifted N times.
However, according to the LTE-Advanced standard, N is 1600. Accordingly, it is difficult to embody the descrambling by shifting an LFSR 1600 times during a limited time and further shifting the 1600 times-shifted LFSR the same number of times as a length of the scrambled data streams. A plurality initial loading vectors exists, and thus, it is more difficult to generate a sequence output for each of the plurality of initial loading vectors and to perform descrambling during a limited time period.
An aspect of the present invention provides a scrambling or descrambling method and system that directly performs scrambling or descrambling without a time expended for shifting an LFSR N times, and thus, the scrambling or the descrambling may be performed during a limited time period.
Another aspect of the present invention also provides a scrambling or a descrambling method and system that effectively perform scrambling or descrambling in a LTE-Advanced system.
According to an aspect of the present invention, there is provided a scrambling system, and the scrambling system includes a data stream generating unit to generate data streams, a scrambling linear feedback shift register (LFSR) group to calculate a sequence output with respect to each of the generated data streams, and a scrambling processing unit to perform scrambling of the generated data streams based on the calculated sequence outputs.
The scrambling LFSR group may include at least one LFSR, and each of the at least one LFSR may apply a binary irreducible polynomial to an initial loading vector, may calculate a state value of an N times shifted, N being a natural number, and may use the calculated state value as the initial loading vector to calculate the sequence output.
According to another aspect of the present invention, there is provided a descrambling system, and the descrambling system includes a data stream generating unit to generate scrambled data streams using scrambled data, a descrambling LFSR group to calculate a sequence output of each of the generated scrambled data streams, and a descrambling processing unit to perform descrambling of the scrambled data streams using the calculated sequence outputs.
According to another aspect of the present invention, there is provided a scrambling method, and the method includes synchronizing with a clock and generating data streams using data to be scrambled, based on an n-bit unit, n being a number of bits to be scrambled, calculating a sequence output with respect to each of the generated data streams, and scrambling the generated data streams based on the calculated sequence outputs.
According to another aspect of the present invention, there is provided a descrambling method, and the method includes generating scrambled data streams using scrambled data, calculating a sequence output of each of the generated scrambled data streams, and descrambling the scrambled data streams using the calculated sequence outputs.
Additional aspects, features, and/or advantages of the invention will be set forth in part in the description which follows and, in part, will be apparent from the description, or may be learned by practice of the invention.
According to an embodiment, a scrambling or descrambling method and system that directly performs scrambling or descrambling without a time expended for shifting an LFSR N times, and thus, the scrambling or the descrambling may be sequentially performed a plurality of times during a relatively short time period, expended resources and energy may be also reduced.
These and/or other aspects, features, and advantages of the invention will become apparent and more readily appreciated from the following description of embodiments, taken in conjunction with the accompanying drawings of which:
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout. Embodiments are described below to explain the present invention by referring to the figures.
Referring to
The data stream generating unit 310 may generate data streams. Specifically, the data stream generating unit 310 may be synchronized with a clock, and may generate the data streams using data to be scrambled, based on an n-bit unit, n being a number of bits to be scrambled based on a clock unit. For example, the data stream generating unit 310 may generate data streams based on a one-bit unit or based on a four-bit unit.
The LFSR group 320 may calculate a sequence output for each of the generated data streams. The LFSR group 320 may calculate the sequence output based on an n-bit unit, n being a number of bits to be scrambled based on a clock unit. For example, the LFSR group 320 may calculate the sequence output based on a one-bit unit or based on a four-bit unit.
Specifically, the LFSR group 320 may include at least one LFSR. Each of the LFSR 330 and the LFSR 340 may apply a binary irreducible (primitive) polynomial to an initial loading vector, may calculate a state value of an N times shifted, N being a natural number, and may use the calculated state value as the initial loading vector to calculate the sequence output. For example, each of the LFSRs 330 and 340 may include a Simple Shift Register Generator (SSRG) or a Modular Shift Register Generator (MSRG).
According to an embodiment, the LFSR group 320 may apply a one-bit unit based scrambling sequence generator or may apply a four-bit unit based scrambling sequence generator, with respect to a Pseudo-random sequence generator defined in a Third Generation Partnership Project (3GPP) LTE-Advanced Standard.
The LFSR 330 may be predictable based on the LTE-Advanced Standard, and thus, may be used as a default scheme, as illustrated below.
The LFSR 340 may have a variable initial loading vector, and thus, may use an N times-shifted initial loading vector generator as illustrated below.
Referring to
According to an embodiment, the LFSR group 320 may calculate the state value of the 1600 times shifted based on Equation 1.
initial loading vector={a30, a29, . . . a1, a0}
1600 times-shifted initial loading vector={b30, b29, . . . b1, b0}
b0=a23⊕a20⊕a19⊕a16⊕a12⊕a8⊕a3⊕a2⊕a1,
b1=a24⊕a21⊕a20⊕a17⊕a13⊕a9⊕a4⊕a3⊕a2,
b2=a25⊕a22⊕a21⊕a18⊕a14⊕a10⊕a5⊕a4⊕a3,
b3=a26⊕a23⊕a22⊕a19⊕a15⊕a11⊕a6⊕a5⊕a4,
b4=a27⊕a24⊕a23⊕a20⊕a16⊕a12⊕a7⊕a6⊕a5,
b5=a28⊕a25⊕a24⊕a21⊕a17⊕a13⊕a8⊕a7⊕a6,
b6=a29⊕a26⊕a25⊕a22⊕a18⊕a14⊕a9⊕a8⊕a7,
b7=a30⊕a27⊕a26⊕a23⊕a19⊕a15⊕a10⊕a9⊕a8,
b8=a28⊕a27⊕a24⊕a20⊕a16⊕a11⊕a10⊕a9⊕a3⊕a2⊕a1⊕a0,
b9=a29⊕a28⊕a25⊕a21⊕a17⊕a12⊕a11⊕a10⊕a4⊕a3⊕a2⊕a1,
b10=a30⊕a29⊕a26⊕a22⊕a18⊕a13⊕a12⊕a11⊕a5⊕a4⊕a3⊕a2,
b11=a30⊕a27⊕a23⊕a19⊕a14⊕a13⊕a12⊕a6⊕a5⊕a4⊕a2⊕a1⊕a0,
b12=a28⊕a24⊕a20⊕a15⊕a14⊕a13⊕a7⊕a6⊕a5⊕a0,
b13=a29⊕a25⊕a21⊕a16⊕a15⊕a14⊕a8⊕a7⊕a6⊕a1,
b14=a30⊕a26⊕a22⊕a17⊕a16⊕a15⊕a9⊕a8⊕a7⊕a2,
b15=a27⊕a23⊕a18⊕a17⊕a16⊕a10⊕a9⊕a8⊕a2⊕a1⊕a0,
b16=a28⊕a24⊕a19⊕a18⊕a17⊕a11⊕a10⊕a9⊕a3⊕a2⊕a1,
b17=a29⊕a25⊕a20⊕a19⊕a18⊕a12⊕a11⊕a10⊕a4⊕a3⊕a2,
b18=a30⊕a21⊕a20⊕a19⊕a13⊕a12⊕a11⊕a5⊕a4⊕a3,
b19=a27⊕a22⊕a21⊕a20⊕a14⊕a13⊕a12⊕a6⊕a5⊕a4⊕a3⊕a1⊕a0,
b20=a28⊕a23⊕a22⊕a21⊕a15⊕a14⊕a13⊕a7⊕a6⊕a5⊕a4⊕a3⊕a2⊕a1,
b21=a29⊕a24⊕a23⊕a22⊕a16⊕a15⊕a14⊕a8⊕a7⊕a6⊕a5⊕a4⊕a3⊕a2,
b22=a30⊕a25⊕a24⊕a23⊕a17⊕a16⊕a15⊕a9⊕a8⊕a7⊕a6⊕a5⊕a4⊕a3,
b23=a26⊕a25⊕a24⊕a18⊕a17⊕a16⊕a10⊕a9⊕a8⊕a7⊕a6⊕a5⊕a4⊕a3⊕a2⊕a1⊕a0,
b24=a27⊕a26⊕a25⊕a19⊕a18⊕a17⊕a11⊕a10⊕a9⊕a8⊕a7⊕a6⊕a5⊕a4⊕a3⊕a2⊕a1,
b25=a28⊕a27⊕a25⊕a20⊕a19⊕a18⊕a12⊕a11⊕a10⊕a9⊕a8⊕a7⊕a6⊕a5⊕a4⊕a3⊕a2,
b26=a29⊕a28⊕a27⊕a21⊕a20⊕a19⊕a13⊕a12⊕a11⊕a10⊕a9⊕a8⊕a7⊕a6⊕a5⊕a4⊕a3,
b27=a30⊕a29⊕a28⊕a22⊕a21⊕a20⊕a14⊕a13⊕a12⊕a11⊕a10⊕a9⊕a8⊕a7⊕a6⊕a5⊕a4,
b28=a30⊕a29⊕a23⊕a22⊕a21⊕a15⊕a14⊕a13⊕a12⊕a11⊕a10⊕a9⊕a8⊕a7⊕a6⊕a5⊕a3⊕a2⊕a1⊕a0,
b29=a30⊕a24⊕a23⊕a22⊕a16⊕a15⊕a14⊕a13⊕a12⊕a11⊕a10⊕a9⊕a8⊕a7⊕a6⊕a4⊕a0,
b30=a25⊕a24⊕a23⊕a17⊕a16⊕a15⊕a14⊕a13⊕a12⊕a11⊕a10⊕a9⊕a8⊕a7⊕a5⊕a3⊕a2⊕a0 [Equation 1]
The scrambling processing unit 350 may perform scrambling of the data streams generated based on the calculated sequence output. The scrambling processing unit 350 may scramble the data streams using the sequence output based on an n-bit unit, n being a number of bits to be scrambled based on a clock unit. For example, the scrambling processing unit 350 may scramble the data streams based on a one-bit unit or based on a four-bit unit.
Referring to
The scrambled data stream generating unit 510 may generate scrambled data streams based on scrambled data. The scrambled data stream generating unit 510 may be synchronized with a clock, and may generate the scrambled data streams using the scrambled data to be descrambled, based on an n-bit unit, n being a number of bits to be descrambled based on a clock unit. For example, the scrambled data stream generating unit 510 may generate scrambled data steams based on a one-bit unit or based on a four-bit unit.
The LFSR group 520 may calculate a sequence output with respect to each of the generated scrambled data streams. According to an embodiment, the LFSR group 520 may calculate the sequence output based on an n-bit unit, n being a number of bits to be descrambled based on a clock unit. For example, the LFSR group 520 may calculate a sequence output based on a one-bit unit or based on a four-bit unit.
Specifically, the LFSR group 520 may include at least one LFSR. Each of the LFSR 530 and the LFSR 540 may apply a binary irreducible polynomial to an initial loading vector, may calculate an state value of an N times shifted, and may use the calculated state value as the initial loading vector to calculate the sequence output of the LFSR group 520. Similarly, each of the LFSRs 530 and 540 may include an SSRG or an MSRG. Each of the LFSRs 530 and 540 may calculate a sequence output based on a one-bit unit or based on a four-bit unit.
According to an embodiment, an LFSR group 520 may apply a one-bit unit based descrambling sequence generator or may apply a four-bit unit based descrambling sequence generator with respect to a Pseudo-random sequence generator defined in the 3GPP LTE-Advanced Standard. The LFSR 530 may be predictable based on the LTE-Advanced Standard and thus, may be used as a default scheme. The LFSR 540 may have a variable initial loading vector, and thus, may use an N times-shifted initial loading vector generator.
The descrambling processing unit 550 may descramble the scrambled data streams using the calculated sequence output. The descrambling processing unit 550 may descramble the scrambled data streams using the sequence output, based on an n-bit unit, n being a number of bits to be descrambled based on a clock unit. For example, the descrambling processing unit 550 may descramble the scrambled data streams based on a one-bit unit or based on a four-bit unit.
The method according to the above-described embodiments of the present invention may be recorded in non-transitory computer-readable media including program instructions to implement various operations embodied by a computer. The media may also include, alone or in combination with the program instructions, data files, data structures, and the like. Examples of non-transitory computer-readable media include magnetic media such as hard disks, floppy disks, and magnetic tape; optical media such as CD ROM disks and DVDs; magneto-optical media such as optical disks; and hardware devices that are specially configured to store and perform program instructions, such as read-only memory (ROM), random access memory (RAM), flash memory, and the like. Examples of program instructions include both machine code, such as produced by a compiler, and files containing higher level code that may be executed by the computer using an interpreter.
Although a few embodiments of the present invention have been shown and described, the present invention is not limited to the described embodiments. Instead, it would be appreciated by those skilled in the art that changes may be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
10-2009-0124348 | Dec 2009 | KR | national |