WO2017143489A1 - Method, apparatus and system for initializing scrambling code generator - Google Patents

Method, apparatus and system for initializing scrambling code generator Download PDF

Info

Publication number
WO2017143489A1
WO2017143489A1 PCT/CN2016/074255 CN2016074255W WO2017143489A1 WO 2017143489 A1 WO2017143489 A1 WO 2017143489A1 CN 2016074255 W CN2016074255 W CN 2016074255W WO 2017143489 A1 WO2017143489 A1 WO 2017143489A1
Authority
WO
WIPO (PCT)
Prior art keywords
bits
subsequence
sequence
scrambling code
reduced
Prior art date
Application number
PCT/CN2016/074255
Other languages
French (fr)
Chinese (zh)
Inventor
李强
冯淑兰
刘劲楠
吴毅凌
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2016/074255 priority Critical patent/WO2017143489A1/en
Publication of WO2017143489A1 publication Critical patent/WO2017143489A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/02Details ; arrangements for supplying electrical power along data transmission lines
    • H04L25/03Shaping networks in transmitter or receiver, e.g. adaptive shaping networks

Definitions

  • the present application relates to the field of wireless communications, and in particular, to a method, an apparatus, and a system for initializing a scrambling code generator.
  • GSM Global System for Mobile Communication
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • the service object of the Internet of Things is “things” rather than “people”.
  • An example of an Internet of Things service is the uploading of monitoring information in a video surveillance system (the communication device is embedded in the surveillance camera, and the monitoring information is periodically uploaded to the network).
  • the number of terminals in a cell is greatly increased, so the length of the user identification needs to be extended to support a large number of terminals to communicate; on the other hand, the transmission rate of the Internet of Things is low, one frame (English) The length of the frame is longer, and the number of subframes included in one frame is larger. Therefore, the length of the current subframe sequence number needs to be extended to support identification of a large number of subframes in one frame in the Internet of Things.
  • the lengths of the user identifier and the subframe number may be extended at the same time, or only one of them may be extended.
  • the shift register depth refers to the number of registers contained in the shift register. If the scrambling code generator initialization method is still adopted according to the current cellular radio communication system such as GSM, WCDMA or LTE, the length of the seed sequence is increased due to the increase of the length of the user identifier and the subframe number, so that the number of bits of the seed sequence is larger than the scrambling code. The shift register depth of the generator, thus Initialization of the scrambling code generator is not possible.
  • the embodiment of the present application provides a method, an apparatus, and a system for initializing a scrambling code generator, and implementing initialization of a scrambling code generator for a scenario in which a length of a subsequence for generating a seed sequence needs to be increased.
  • the number of bits used to generate all or part of the subsequence of the seed sequence is reduced to obtain a subsequence to be used;
  • the scrambling code generator is initialized using the seed sequence.
  • said reducing the number of bits used to generate all or a portion of the subsequence of the seed sequence comprises:
  • the number of bits of the N subsequences is respectively reduced according to the number of bits reduced for each of the N subsequences.
  • the number of bits used in each subsequence is reduced in the same manner; or, in the subsequence in which the number of bits is reduced, the number of bits used in at least 2 subsequences is reduced by each other. The same, thus providing a variety of reduction methods for flexible selection as needed.
  • the number of bits of a subsequence is reduced by one of the following bit number reduction methods:
  • Intercepting one or more bits from the low bit of a subsequence the number of bits intercepted is less than the total number of bits of the subsequence.
  • the above method of reducing the number of bits is technically easy to implement and requires less processing overhead.
  • the subsequence whose number of bits is reduced comprises one or more of the following subsequences:
  • the obtained to-be-used sub-sequence includes: a user identifier, a subframe sequence number or a frame sequence number, and a cell identifier;
  • Generating a seed sequence according to the obtained sub-sequence to be used including:
  • the user identifier, the subframe number or the frame sequence number, and the cell identifier are cascaded to obtain a seed sequence according to an order from a high bit to a low bit.
  • the total number of bits of the obtained subsequence to be used is less than or equal to the shift register depth of the scrambling code generator, so that the scrambling code generator can be initialized using the generated seed sequence.
  • a reduction module configured to reduce a number of bits used to generate all or a partial subsequence of the seed sequence to obtain a subsequence to be used
  • Generating a module configured to generate a seed sequence according to the sub-sequence to be used obtained by the reduction module;
  • an initialization module configured to initialize the scrambling code generator by using the seed sequence generated by the generating module.
  • the reduction module is specifically configured to:
  • the reduction module performs a bit number reduction on the plurality of sub-sequences, then:
  • the number of bits used in each subsequence is reduced in the same manner;
  • the number of bits used in at least two subsequences is reduced in different ways.
  • the reduction module is specifically configured to:
  • the number of bits in a subsequence is reduced by one of the following bit number reduction methods:
  • Intercepting one or more bits from the low bit of a subsequence the number of bits intercepted is less than the total number of bits of the subsequence.
  • the reduction module reduces the number of bits of one or more of the following subsequences:
  • the generating module is specifically configured to: when the obtained sub-sequence to be used includes: a user identifier, a subframe sequence number or a frame sequence number, and a cell identifier, the user is in an order from a high bit to a low bit
  • the identifier, the subframe sequence number or the frame sequence number, and the cell identifier are cascaded to obtain a seed sequence.
  • the total number of bits of the subsequence to be used obtained by the reduction module is less than or equal to the shift register depth of the scrambling code generator.
  • Another scrambling code generator initializing apparatus includes: a processing unit and a memory;
  • the processing unit may be configured to perform the scrambling code generator initialization process described in the above embodiments, and the process may include:
  • the number of bits used to generate all or part of the subsequence of the seed sequence is reduced to obtain Using subsequences
  • the scrambling code generator is initialized using the seed sequence.
  • the embodiment of the present application further provides a scrambling system, including: a scrambling code generator, a scrambling module, and the above scrambling code generator initializing device;
  • the scrambling code generator initializing means reduces the number of bits used to generate all or part of the subsequence of the seed sequence to obtain a subsequence to be used, generates a seed sequence according to the subsequence to be used, and uses the seed sequence Initializing the scrambling code generator;
  • the scrambling code generator is configured to generate a scrambling code sequence
  • a scrambling module configured to scramble the input encoded sequence according to the scrambling code sequence generated by the scrambling code generator.
  • the scrambling code generator when the scrambling code generator is initialized, the number of bits used to generate all or part of the subsequence of the seed sequence is performed. The reduction is performed to obtain a subsequence to be used, a seed sequence is generated according to the obtained subsequence to be used, and the scrambler is initialized using the generated seed sequence.
  • the number of bits used to generate all or part of the subsequence of the seed sequence is reduced, and the seed sequence is generated based on the reduced subsequence, the number of bits of the seed sequence is controllable, and the generated The seed sequence initializes the scrambling code generator.
  • FIG. 1 is a schematic diagram of a coding and scrambling process of a data channel in an LTE system in the prior art
  • 2 is a schematic diagram of interference randomization of neighboring cells using different scrambling code sequences in the prior art
  • FIG. 3 is a schematic structural diagram of a scrambling code generator in an LTE system in the prior art
  • FIG. 4 is a schematic diagram of a process of initializing a scrambling code generator according to an embodiment of the present application
  • FIG. 5 is a schematic structural diagram of an apparatus for initializing a scrambling code generator according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of an apparatus for initializing a scrambling code generator according to another embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a scrambling system according to an embodiment of the present application.
  • the signals transmitted in the LTE system can be roughly divided into control signaling (control information in English) and data (data in English), wherein the data is transmitted through the data channel.
  • the downlink data is transmitted in a physical downlink shared channel (Physical Downlink Shared CHannel, abbreviated as PDSCH)
  • the uplink data is transmitted in a physical uplink shared channel (Physical Uplink Shared CHannel, abbreviated as PUSCH).
  • the data needs to be scrambled (scrambling in English).
  • the so-called scrambling means that the bit sequence after encoding and the scrambling code sequence of the same length are subjected to modulo-addition operation. By scrambling, the interference of signal transmission between adjacent cells can be randomized (in English).
  • FIG. 1 exemplarily shows a coding and scrambling procedure of a data channel in an LTE system.
  • the scrambling of the bit sequence b(i) is achieved by performing a modulo two-addition operation on the bit sequence b(i) and the scrambling sequence c(i), as shown in the following expression:
  • the mutual interference is randomized to be close to the characteristics of Gaussian white noise. Therefore, signal transmission between adjacent cells that interfere with each other requires different scrambling code sequences for scrambling. As shown in FIG. 2, two adjacent cells use different scrambling code sequences c 1 (i) and c 2 (i) to achieve randomization of interference.
  • the scrambling code sequence is generated by a scrambling code generator.
  • Fig. 3 exemplarily shows the structure of a scrambling code generator. It can be seen that the scrambling code generator is composed of two m-sequence generators (m-sequence generator 1 and m-sequence generator 2 as shown in the figure), and the bit sequences output by the two m-sequence generators are modulo-added.
  • the scrambling code sequence is obtained after the operation.
  • Each m-sequence generator is composed of a shift register having a depth of 31, and the m-sequence is outputted bit by bit by an operation.
  • the shift register depth is represented by the number of bits. For example, the depth of the shift register is 31. It can be understood that 31 bit memory cells are connected in series, and each time data is moved from one memory cell to the next.
  • the scrambling code generator is initialized with different seed sequences, and different scrambling code sequences can be generated based on different seed sequences.
  • the seed sequence is also called a random seed (initialization seed in English).
  • the seed sequence of the m sequence generator 1 is fixed, that is, the initial value of the register 0 is set to 1, and the initial value of the remaining registers is set to zero.
  • the seed sequence of the m sequence generator 2 is generated according to the following formula:
  • n sf indicates the subframe number
  • q indicates the sequence number of the codeword of the data transmitted this time
  • n RNTI indicates the user ID (identification) of the current transmission
  • the user ID may be the RNTI allocated to the user.
  • Radio Network Tempory Identity wireless network temporary identity
  • the seed sequences are different, and therefore the scrambling code sequences of the neighboring cells are also different.
  • Adjacent cells if the cell IDs are the same, as long as the RNTIs of the transmission target terminals are different, the seed sequences for different users are different from each other, so the scrambling code sequences used for data transmission of different users are also different.
  • the seed sequence of the scrambling sequence is also different; for the data transmitted by the same user in different subframes, the seed sequence of the scrambling sequence is also different.
  • the length of the RNTI is 16 bits, and 2 16 users can be assigned different RNTIs in one cell.
  • the number of terminals served by one cell is greatly increased, and the number of bits of the existing RNTI needs to be expanded, for example, the RNTI is extended from 16 bits to 20 bits, thereby enabling Support for assigning different RNTIs to 2 20 users.
  • the number of subframes included in one frame (or superframe) (or the number of frames included in the superframe) is large, so it is necessary to extend the length of the sequence number of the subframe (or frame), for example, now
  • the subframe number length in the LTE system is 4 bits, which needs to be extended to 6 bits in the Internet of Things.
  • generating the seed sequence according to the above formula (2) causes the number of bits of the generated seed sequence to exceed the shift register depth of the m sequence generator 2, and further This prevents the m sequence generator 2 from being initialized.
  • the generated seed sequence is composed of RNTI (20 bits), subframe (frame) number (6 bits), and cell ID (9 bits), for a total of 35 bits. Exceeded the shift register depth (31 bits) of the scrambling code generator. It should be noted that the single stream transmission technology is adopted in the Internet of Things, so the codeword ID is not required when generating the seed sequence.
  • the embodiment of the present application provides an initialization scheme of the scrambling code generator for a scenario in which the length of the subsequence for generating the seed sequence needs to be increased.
  • the embodiment of the present application is applicable to a scenario in which a length of a subsequence for generating a seed sequence needs to be increased in a wireless communication system.
  • IoT systems such as video surveillance systems.
  • a terminal refers to a terminal in a wireless communication system, and can communicate with one or more core networks via a radio access network (Radio Access Network, RAN for short).
  • the terminal may be a physical network terminal such as a mobile station (MS), for example, a surveillance camera implanted with a wireless communication device, and implanted.
  • MS mobile station
  • the electric meter of the wireless communication device or the water meter or the like in which the wireless communication device is implanted will not be enumerated here.
  • the base station may be an evolved base station in an LTE system or an Internet of Things system.
  • Evolutional Node B referred to as eNB or e-NodeB
  • macro base station referred to as "eNB”
  • micro base station also referred to as "small base station”
  • pico base station
  • access point AP
  • transmission Point Transmission Point
  • FIG. 4 is a schematic diagram of a process of initializing a scrambling code generator according to an embodiment of the present application. As shown, the process can include the following steps:
  • Step 401 Reduce the number of bits used to generate all or part of the subsequence of the seed sequence to obtain a subsequence to be used.
  • the resulting total number of bits of the subsequence to be used is less than or equal to the shift register depth of the scrambling code generator.
  • the seed sequence of the scrambling code sequence is generated by M (M is an integer greater than or equal to 1) sub-sequences.
  • M is an integer greater than or equal to 1 sub-sequences.
  • the shift register depth of the scrambling code generator and the M sub-segments used to generate the seed sequence may be used.
  • the number of bits per subsequence in each subsequence is reduced, and the number of bits of the N subsequences is respectively reduced.
  • the N subsequences whose number of bits is reduced and the remaining (M-N, ie, M minus N) subsequences constitute the "subsequent to be used".
  • N>1 the number of bits used in each of the N subsequences is reduced in the same manner. In other embodiments, if N>1, the number of bits used in at least two of the N subsequences is reduced in different ways. Which method is used in advance can be pre-agreed.
  • the number of bits used to generate all or part of the subsequence of the seed sequence is reduced, so that the total number of bits of the obtained subsequence to be used is less than or equal to the shift register depth of the scrambling code generator, so that it can be generated.
  • the seed sequence initializes the scrambling code generator.
  • a plurality of bit number reduction methods may be used to achieve the above purpose.
  • the number of bits of the sub-sequence may be reduced according to a manner in which the sub-sequence is intercepted according to a set order or a rule, or may be used according to a set operation rule.
  • a part of the bits in the subsequence is operated with another part of the bits (such as an exclusive OR operation), and the obtained result is used as a result of reducing the number of bits in the subsequence.
  • the number of bits of the sub-sequence is reduced by taking the interception according to the set order or the rule.
  • the truncation may be performed from the high-order bit of the sub-sequence, and the truncated bit sequence is used as the sub-sequence after the number of bits is reduced; It can also be intercepted from the low bit of the subsequence, and the truncated bit sequence is used as a subsequence after the number of bits is reduced; it can also be intercepted according to other rules, such as taking the high (or low) bit every 2 bits.
  • the bits are not listed here.
  • one or more bits may be intercepted from the high bit of the subsequence, and the number of bits intercepted is smaller than the total number of bits of the subsequence;
  • One or more bits may also be truncated starting from the lower bits of the subsequence, the number of bits intercepted being less than the total number of bits of the subsequence.
  • the seed sequence is composed of a user ID, a subframe (or frame) sequence number, and a cell ID.
  • the sub-sequence whose bit number is reduced may include one or more of the following sub-sequences:
  • a user ID such as an RNTI assigned to the user
  • subframe number for identifying a subframe in the radio frame, or a frame sequence number for identifying a frame in the superframe
  • a cell ID such as a PCI (Physical Cell Identifier) of a cell.
  • PCI Physical Cell Identifier
  • Step 402 Generate a seed sequence according to the sub-sequence to be used obtained in step 401.
  • all sub-sequences to be used may be spliced in a set order to obtain a seed sequence.
  • the seed sequence is composed of a user ID, a subframe or a frame number, and a cell ID, and the user ID, the subframe or the frame number, and the cell ID may be cascaded according to the order from the high bit to the low bit. Seed sequence.
  • Step 403 Initialize the scrambling code generator using the seed sequence generated in step 402.
  • the scrambling code generator is configured to generate a scrambling code sequence, and the generated scrambling code sequence is used to scramble data transmitted on the data channel.
  • the shift register of the scrambling code generator can be assigned according to the seed sequence to implement the initialization process of the scrambling code generator. For example, assign the value of bit0 in the seed sequence to the shift register 0 of the scrambling code generator, assign the value of bit1 in the seed sequence to the shift register 1 of the scrambling code generator, and so on, until The value of bit30 in the seed sequence The value is given to the shift register 30 of the scrambling code generator.
  • the seed sequence is represented by the user ID (denoted as n RNTI ), the subframe ID (denoted as n f ), and the cell ID (represented as ) splicing composition.
  • n RNTI is a 20-bit sequence after being converted into a binary number
  • n f is a 6-bit sequence after being converted into a binary number. After conversion to binary is a 9-bit sequence.
  • the structure of the scrambling code generator is shown in Figure 3.
  • the 16 bits of the low bit of the n RNTI are truncated in step 401, expressed as:
  • the length (after conversion to a binary number) has changed from 20 bits to 16 bits.
  • step 402 16 bits are With other subsequences (6-bit nf and 9-bit After combining, you can get the seed sequence:
  • This seed sequence after being converted to a binary number, is 31 bits in length and can therefore be used to initialize a scrambling code generator with a shift register depth of 31 bits.
  • the 16 bits of the n RNTI high bit are truncated in step 401, expressed as:
  • the length (after conversion to a binary number) has changed from 20 bits to 16 bits.
  • step 402 16 bits are With other subsequences (6-bit nf and 9-bit After combining, you can get the seed sequence:
  • This seed sequence after being converted to a binary number, is 31 bits in length and can therefore be used to initialize a scrambling code generator with a shift register depth of 31 bits.
  • intercepting in step 401 The 5 bits of the high bit are expressed as:
  • the length (after conversion to a binary number) is changed from 9 bits to 5 bits.
  • step 402 5 bits are After combining with other subsequences (20 bits of n RNTI and 6 bits of n f ), a seed sequence can be obtained:
  • This seed sequence after being converted to a binary number, is 31 bits in length and can therefore be used to initialize a scrambling code generator with a shift register depth of 31 bits.
  • intercepting in step 401 The 5 bits of the low bit are expressed as:
  • the length (after conversion to a binary number) is changed from 9 bits to 5 bits.
  • step 402 5 bits are After combining with other subsequences (20 bits of n RNTI and 6 bits of n f ), a seed sequence can be obtained:
  • This seed sequence after being converted to a binary number, is 31 bits in length and can therefore be used to initialize a scrambling code generator with a shift register depth of 31 bits.
  • n f is taken in step 401 the high bit of 2 bits, is represented as:
  • the length (after conversion to a binary number) is changed from 6 bits to 2 bits.
  • step 402 2 bits are With other subsequences (20 bits of n RNTI and 9 bits) After combining, you can get the seed sequence:
  • This seed sequence after being converted to a binary number, is 31 bits in length and can therefore be used to initialize a scrambling code generator with a shift register depth of 31 bits.
  • step 401 taken n f low bits of 2 bits, is represented as:
  • the length (after conversion to a binary number) is changed from 6 bits to 2 bits.
  • step 402 2 bits are With other subsequences (20 bits of n RNTI and 9 bits) After combining, you can get the seed sequence:
  • This seed sequence after being converted to a binary number, is 31 bits in length and can therefore be used to initialize a scrambling code generator with a shift register depth of 31 bits.
  • the initialization process of the above scrambling code generator may be implemented by a scrambling code generator initializing device.
  • the device may be implemented by hardware or by software, or may be implemented by a combination of hardware and software.
  • the apparatus can reduce the number of bits used to generate all or part of the subsequence of the seed sequence, and generate a seed sequence based on the reduced subsequence, and use the species The subsequence initializes the scrambling code generator.
  • the embodiment of the present application further provides a scrambling code generator initializing apparatus.
  • FIG. 5 is a schematic structural diagram of an apparatus for initializing a scrambling code generator according to an embodiment of the present application.
  • the apparatus can implement the scrambling code generator initialization process described in the foregoing embodiments.
  • the apparatus may include: a reduction module 501, a generation module 502, and an initialization module 503, wherein:
  • a reduction module 501 configured to reduce a number of bits used to generate all or a partial subsequence of the seed sequence to obtain a subsequence to be used;
  • a generating module 502 configured to generate a seed sequence according to the sub-sequence to be used obtained by the reducing module 501;
  • the initialization module 503 is configured to initialize the scrambling code generator using the seed sequence generated by the generating module 502.
  • the reduction module 501 may be specifically used when reducing the number of bits used to generate all or part of the subsequence of the seed sequence, according to the shift register depth of the scrambling code generator and the seed sequence used to generate the seed sequence.
  • the number of bits of the M subsequences, the N subsequences to be reduced in number of bits and the number of bits in which each of the N subsequences is reduced; wherein, M and N are integers greater than or equal to 1, M> N.
  • the number of bits of the N subsequences is respectively reduced according to the number of bits reduced for each of the N subsequences.
  • the reduction module 501 performs a bit number reduction on a plurality of (ie, more than one) sub-sequences, the number of bits used in each sub-sequence is reduced in the sub-sequence in which the number of bits is reduced, or In the subsequence in which the number of bits is reduced, the number of bits used in at least two subsequences is reduced in different ways.
  • the reduction module 501 can be specifically used when reducing the number of bits used to generate all or part of the subsequence of the seed sequence:
  • the number of bits in a subsequence is reduced by one of the following bit number reduction methods:
  • Intercepting one or more bits from the low bit of a subsequence the number of bits intercepted is less than the total number of bits of the subsequence.
  • the reduction module 501 can reduce the number of bits of one or more of the following subsequences:
  • the generating module 502 may be specifically configured to: when the obtained sub-sequence to be used includes: a user identifier, a subframe sequence number, a frame sequence number, and a cell identifier, according to an order from a high bit to a low bit, The user identifier, the subframe number (or frame number), and the cell identifier are cascaded to obtain a seed sequence.
  • the total number of bits of the subsequence to be used obtained by the reduction module 501 is less than or equal to the shift register depth of the scrambling code generator.
  • the embodiment of the present application further provides a scrambling code generator initializing apparatus.
  • FIG. 6 is a schematic structural diagram of an apparatus for initializing a scrambling code generator according to another embodiment of the present application.
  • the apparatus can implement the scrambling code generator initialization process described in the foregoing embodiments.
  • the apparatus can include an interface 601, a processing unit 602, and a memory 603.
  • Processing unit 602 is for controlling the operation of the device;
  • memory 603 can include read only memory and random access memory for providing instructions and data to processing unit 602.
  • a portion of the memory 603 may also include non-volatile line random access memory (NVRAM).
  • NVRAM non-volatile line random access memory
  • the various components of the apparatus are coupled together by a bus system, wherein the bus system 609 includes, in addition to the data bus, a power bus, a control bus, and a status signal bus.
  • various buses are labeled as bus system 609 in the figure.
  • the process disclosed in the embodiment of the present application may be applied to the processing unit 602, or by the processing unit. 602 implementation.
  • each step of the flow implemented by the base station may be completed by an integrated logic circuit of hardware in the processing unit 602 or an instruction in the form of software.
  • the processing unit 602 can be a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or a transistor logic device, and a discrete hardware component, which can be implemented or executed in the embodiment of the present application.
  • a general purpose processor can be a microprocessor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 603, and the processing unit 602 reads the information in the memory 603, and completes the steps of the interference indication process implemented by the base station in combination with its hardware.
  • processing unit 602 may be configured to perform the scrambling code generator initialization process described in the foregoing embodiments, where the process may include:
  • the number of bits used to generate all or part of the subsequence of the seed sequence is reduced to obtain a subsequence to be used;
  • the scrambling code generator is initialized using the seed sequence.
  • the processing unit 602 performs bit number reduction on the plurality of sub-sequences, the number of bits used in each sub-sequence is reduced in the sub-sequence in which the number of bits is reduced, or the number of bits is reduced. In the subsequence, the number of bits used in at least two subsequences is reduced in different ways.
  • the processing unit 602 may reduce the number of bits of one subsequence by using one of the following bit number reduction methods:
  • Intercepting one or more bits from the low bit of a subsequence the number of bits intercepted is less than the total number of bits of the subsequence.
  • processing unit 602 reduces the number of bits of one or more of the following subsequences:
  • the processing unit 602 is specifically configured to: when the obtained sub-sequence to be used includes: a user identifier, a subframe sequence number, a frame sequence number, and a cell identifier, according to an order from a high bit to a low bit, The user identifier, the subframe number (or frame number), and the cell identifier are cascading to obtain a seed sequence.
  • the total number of bits of the obtained subsequence to be used is less than or equal to the shift register depth of the scrambling code generator.
  • the embodiment of the present application also provides a scrambling system.
  • FIG. 7 is a schematic structural diagram of a scrambling system according to an embodiment of the present disclosure.
  • the system may include: a scrambling code generator 701, a scrambling module 702, and a scrambling code generator initializing device 703, wherein the scrambling code generator initializing device 703
  • the specific structure may be as described in the foregoing embodiment, such as the code generator initialization device described in FIG. 5 or FIG. 6.
  • the scrambling code generator initializing means 703 can reduce the number of bits used to generate all or part of the subsequence of the seed sequence to obtain a subsequence to be used, generate a seed sequence according to the subsequence to be used, and use the The seed sequence initializes the scrambling code generator.
  • the scrambling code generator 701 can be used to generate a scrambling code sequence.
  • the scrambling code generator 701 may generate a scrambling code sequence based on the scrambling code sequence generation algorithm using the encoded sequence.
  • the scrambling module 702 can be configured to encode the input according to the scrambling code sequence generated by the scrambling code generator 701. The post-sequence is scrambled. In a specific implementation, the scrambling module 702 may perform a modulo two-addition operation on the input bit sequence and the scrambling code sequence to obtain a scrambled bit sequence.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
  • the computer program instructions can be provided to a general purpose computer, a special purpose computer, an embedded processor, or a processor of other programmable data processing device such that instructions executed by a processor of the computer or other programmable data processing device can be implemented in a flowchart
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.

Abstract

A method, apparatus and system for initializing a scrambling code generator. For a scenario in which the lengths of subsequences used for generating seed sequences need to be increased, when a scrambling code generator is initialized, the number of bits of all or part of subsequences used for generating seed sequences is decreased, so as to obtain to-be-used subsequences; seed sequences are generated according to the to-be-used subsequences; and a scrambler is scrambled by using the generated seed sequences. In the embodiment, the number of bits of all or part of subsequences used for generating seed sequences is decreased, and seed sequences are generated based on the subsequences the number of which has been decreased, accordingly the number of bits of seed sequences is not increased as the number of bits of subsequences is increased, and a scrambling code generator can be initialized by using the generated seed sequences.

Description

一种扰码生成器初始化方法、装置及系统Method, device and system for initializing scrambling code generator 技术领域Technical field
本申请涉及无线通信领域,尤其涉及一种扰码生成器初始化方法、装置及系统。The present application relates to the field of wireless communications, and in particular, to a method, an apparatus, and a system for initializing a scrambling code generator.
背景技术Background technique
GSM(Global System for Mobile Communication,全球移动通信系统)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)和LTE(Long Term Evolution,长期演进)是当前全球主流的蜂窝无线通信系统,主要用于为用户提供语音业务和上网服务。GSM (Global System for Mobile Communication), WCDMA (Wideband Code Division Multiple Access) and LTE (Long Term Evolution) are the current mainstream cellular wireless communication systems in the world. To provide users with voice services and Internet services.
随着无线业务应用的拓展,物联网(Internet of Things,简称为IoT)业务逐渐成为无线通信的重要业务。物联网的服务对象是“物”而非“人”。一种物联网业务的例子是视频监控系统中监控信息上传(在监控摄像头中植入通信装置,定时上传监控信息给网络)。With the expansion of wireless service applications, the Internet of Things (IoT) business has gradually become an important business of wireless communication. The service object of the Internet of Things is “things” rather than “people”. An example of an Internet of Things service is the uploading of monitoring information in a video surveillance system (the communication device is embedded in the surveillance camera, and the monitoring information is periodically uploaded to the network).
在物联网中,一方面,一个小区内的终端数量大大增加,因此需要对用户标识的长度进行扩展,以支持大量终端进行通信;另一方面,物联网的传输速率较低,一个帧(英文为frame)的长度较长,一个帧中包含的子帧的数量较大,这样,需要对目前的子帧序号的长度进行扩展,以支持对物联网中一个帧中的大量子帧进行标识。上述用户标识和子帧序号的长度可以同时进行扩展,也可以仅对其中之一进行扩展。In the Internet of Things, on the one hand, the number of terminals in a cell is greatly increased, so the length of the user identification needs to be extended to support a large number of terminals to communicate; on the other hand, the transmission rate of the Internet of Things is low, one frame (English) The length of the frame is longer, and the number of subframes included in one frame is larger. Therefore, the length of the current subframe sequence number needs to be extended to support identification of a large number of subframes in one frame in the Internet of Things. The lengths of the user identifier and the subframe number may be extended at the same time, or only one of them may be extended.
无论是用户标识还是子帧序号,均是扰码生成器的种子序列的组成部分,种子序列的比特数量(即种子序列的长度)小于或者等于该扰码生成器的移位寄存器深度,所述移位寄存器深度指的是移位寄存器中包含的寄存器个数。如果仍按照当前GSM、WCDMA或LTE等蜂窝无线通信系统所采用的扰码生成器初始化方法,势必因用户标识和子帧序号的长度增加导致种子序列的长度增加,使得种子序列的比特数量大于扰码生成器的移位寄存器深度,因而 无法实现对扰码生成器的初始化。Whether the user identifier or the subframe number, is a component of the seed sequence of the scrambling code generator, and the number of bits of the seed sequence (ie, the length of the seed sequence) is less than or equal to the shift register depth of the scrambling code generator, The shift register depth refers to the number of registers contained in the shift register. If the scrambling code generator initialization method is still adopted according to the current cellular radio communication system such as GSM, WCDMA or LTE, the length of the seed sequence is increased due to the increase of the length of the user identifier and the subframe number, so that the number of bits of the seed sequence is larger than the scrambling code. The shift register depth of the generator, thus Initialization of the scrambling code generator is not possible.
发明内容Summary of the invention
本申请实施例提供了一种扰码生成器初始化方法、装置及系统,针对用于生成种子序列的子序列的长度需要增加的场景,实现扰码生成器的初始化。The embodiment of the present application provides a method, an apparatus, and a system for initializing a scrambling code generator, and implementing initialization of a scrambling code generator for a scenario in which a length of a subsequence for generating a seed sequence needs to be increased.
本申请实施例提供的扰码生成器初始化方法,包括:The method for initializing a scrambling code generator provided by the embodiment of the present application includes:
将用于生成种子序列的全部或部分子序列的比特数量进行缩减,得到待使用子序列;The number of bits used to generate all or part of the subsequence of the seed sequence is reduced to obtain a subsequence to be used;
根据所述待使用子序列生成种子序列;Generating a seed sequence according to the subsequence to be used;
使用所述种子序列对扰码生成器进行初始化。The scrambling code generator is initialized using the seed sequence.
优选地,所述将用于生成种子序列的全部或部分子序列的比特数量进行缩减,包括:Advantageously, said reducing the number of bits used to generate all or a portion of the subsequence of the seed sequence comprises:
根据所述扰码生成器的移位寄存器深度以及用于生成种子序列的M个子序列的比特数量,确定待进行比特数量缩减的N个子序列以及所述N个子序列中每个子序列被缩减的比特数量;其中,M和N均为大于或等于1的整数,M>=N;Determining N subsequences to be reduced in number of bits and bits reduced in each of the N subsequences according to a shift register depth of the scrambling code generator and a number of bits of M subsequences for generating a seed sequence Quantity; wherein, M and N are integers greater than or equal to 1, M>=N;
根据所述N个子序列中每个子序列被缩减的比特数量,分别对所述N个子序列的比特数量进行缩减。The number of bits of the N subsequences is respectively reduced according to the number of bits reduced for each of the N subsequences.
优选地,若比特数量被缩减的子序列的数量大于1,则:Preferably, if the number of sub-sequences whose number of bits is reduced is greater than 1, then:
所述比特数量被缩减的子序列中,每个子序列所使用的比特数量缩减方式均相同;或者,所述比特数量被缩减的子序列中,至少2个子序列所使用的比特数量缩减方式互不相同,从而提供了多种缩减方式以供根据需要灵活选择。In the subsequence in which the number of bits is reduced, the number of bits used in each subsequence is reduced in the same manner; or, in the subsequence in which the number of bits is reduced, the number of bits used in at least 2 subsequences is reduced by each other. The same, thus providing a variety of reduction methods for flexible selection as needed.
优选地,采用以下比特数量缩减方式中的一种,将一个子序列的比特数量进行缩减:Preferably, the number of bits of a subsequence is reduced by one of the following bit number reduction methods:
从一个子序列的高比特位开始截取一个或多个比特,所截取的比特数量小于该子序列的总比特数量; Intercepting one or more bits starting from a high bit of a subsequence, the number of bits intercepted being less than the total number of bits of the subsequence;
从一个子序列的低比特位开始截取一个或多个比特,所截取的比特数量小于该子序列的总比特数量。上述比特数量缩减方式在技术上容易实现,且处理开销较少。Intercepting one or more bits from the low bit of a subsequence, the number of bits intercepted is less than the total number of bits of the subsequence. The above method of reducing the number of bits is technically easy to implement and requires less processing overhead.
优选地,比特数量被缩减的子序列包括以下子序列中的一种或多种:Preferably, the subsequence whose number of bits is reduced comprises one or more of the following subsequences:
用户标识;User ID;
子帧序号或帧序号;Subframe number or frame number;
小区标识。Cell identification.
优选地,所述得到的待使用子序列包括:用户标识,子帧序号或帧序号,小区标识;Preferably, the obtained to-be-used sub-sequence includes: a user identifier, a subframe sequence number or a frame sequence number, and a cell identifier;
所述根据所述得到的待使用子序列生成种子序列,包括:Generating a seed sequence according to the obtained sub-sequence to be used, including:
按照从高比特位到低比特位的顺序,将所述用户标识,子帧序号或帧序号,小区标识,进行级联得到种子序列。The user identifier, the subframe number or the frame sequence number, and the cell identifier are cascaded to obtain a seed sequence according to an order from a high bit to a low bit.
优选地,所述得到的待使用子序列的总比特数量,小于或等于所述扰码生成器的移位寄存器深度,从而能够使用生成的种子序列对扰码生成器进行初始化。Preferably, the total number of bits of the obtained subsequence to be used is less than or equal to the shift register depth of the scrambling code generator, so that the scrambling code generator can be initialized using the generated seed sequence.
本申请实施例提供的一种扰码生成器初始化装置,包括:A scrambling code generator initializing apparatus provided by the embodiment of the present application includes:
缩减模块,用于将用于生成种子序列的全部或部分子序列的比特数量进行缩减,得到待使用子序列;a reduction module, configured to reduce a number of bits used to generate all or a partial subsequence of the seed sequence to obtain a subsequence to be used;
生成模块,用于根据所述缩减模块得到的待使用子序列生成种子序列;Generating a module, configured to generate a seed sequence according to the sub-sequence to be used obtained by the reduction module;
初始化模块,用于使用所述生成模块生成的种子序列对扰码生成器进行初始化。And an initialization module, configured to initialize the scrambling code generator by using the seed sequence generated by the generating module.
优选地,所述缩减模块具体用于:Preferably, the reduction module is specifically configured to:
根据所述扰码生成器的移位寄存器深度以及用于生成种子序列的M个子序列的比特数量,确定待进行比特数量缩减的N个子序列以及所述N个子序列中每个子序列被缩减的比特数量;其中,M和N均为大于或等于1的整数,M>=N;Determining N subsequences to be reduced in number of bits and bits reduced in each of the N subsequences according to a shift register depth of the scrambling code generator and a number of bits of M subsequences for generating a seed sequence Quantity; wherein, M and N are integers greater than or equal to 1, M>=N;
根据所述N个子序列中每个子序列被缩减的比特数量,分别对所述N个 子序列的比特数量进行缩减。Determining the N numbers according to the number of bits reduced by each of the N subsequences The number of bits of the subsequence is reduced.
优选地,若所述缩减模块对多个子序列进行了比特数量缩减,则:Preferably, if the reduction module performs a bit number reduction on the plurality of sub-sequences, then:
所述比特数量被缩减的子序列中,每个子序列所使用的比特数量缩减方式均相同;或者,In the subsequence in which the number of bits is reduced, the number of bits used in each subsequence is reduced in the same manner; or
所述比特数量被缩减的子序列中,至少2个子序列所使用的比特数量缩减方式互不相同。In the subsequence in which the number of bits is reduced, the number of bits used in at least two subsequences is reduced in different ways.
优选地,所述缩减模块具体用于:Preferably, the reduction module is specifically configured to:
采用以下比特数量缩减方式中的一种,将一个子序列的比特数量进行缩减:The number of bits in a subsequence is reduced by one of the following bit number reduction methods:
从一个子序列的高比特位开始截取一个或多个比特,所截取的比特数量小于该子序列的总比特数量;Intercepting one or more bits starting from a high bit of a subsequence, the number of bits intercepted being less than the total number of bits of the subsequence;
从一个子序列的低比特位开始截取一个或多个比特,所截取的比特数量小于该子序列的总比特数量。Intercepting one or more bits from the low bit of a subsequence, the number of bits intercepted is less than the total number of bits of the subsequence.
优选地,所述缩减模块对以下一种或多种子序列的比特数量进行缩减:Preferably, the reduction module reduces the number of bits of one or more of the following subsequences:
用户标识;User ID;
子帧序号或帧序号;Subframe number or frame number;
小区标识。Cell identification.
优选地,生成模块具体用于:当所述得到的待使用子序列包括:用户标识、子帧序号或帧序号和小区标识时,按照从高比特位到低比特位的顺序,将所述用户标识、子帧序号或帧序号和小区标识,进行级联得到种子序列。Preferably, the generating module is specifically configured to: when the obtained sub-sequence to be used includes: a user identifier, a subframe sequence number or a frame sequence number, and a cell identifier, the user is in an order from a high bit to a low bit The identifier, the subframe sequence number or the frame sequence number, and the cell identifier are cascaded to obtain a seed sequence.
优选地,所述缩减模块得到的待使用子序列的总比特数量,小于或等于所述扰码生成器的移位寄存器深度。Preferably, the total number of bits of the subsequence to be used obtained by the reduction module is less than or equal to the shift register depth of the scrambling code generator.
本申请实施例提供的另一种扰码生成器初始化装置,包括:处理单元和存储器;Another scrambling code generator initializing apparatus provided by the embodiment of the present application includes: a processing unit and a memory;
处理单元可被配置以执行上述实施例所述的扰码生成器初始化流程,该流程可包括:The processing unit may be configured to perform the scrambling code generator initialization process described in the above embodiments, and the process may include:
将用于生成种子序列的全部或部分子序列的比特数量进行缩减,得到待 使用子序列;The number of bits used to generate all or part of the subsequence of the seed sequence is reduced to obtain Using subsequences;
根据所述待使用子序列生成种子序列;Generating a seed sequence according to the subsequence to be used;
使用所述种子序列对扰码生成器进行初始化。The scrambling code generator is initialized using the seed sequence.
本申请实施例还提供了一种加扰系统,包括:扰码生成器、加扰模块以及上述扰码生成器初始化装置;The embodiment of the present application further provides a scrambling system, including: a scrambling code generator, a scrambling module, and the above scrambling code generator initializing device;
所述扰码生成器初始化装置,将用于生成种子序列的全部或部分子序列的比特数量进行缩减,得到待使用子序列,根据所述待使用子序列生成种子序列,并使用所述种子序列对扰码生成器进行初始化;The scrambling code generator initializing means reduces the number of bits used to generate all or part of the subsequence of the seed sequence to obtain a subsequence to be used, generates a seed sequence according to the subsequence to be used, and uses the seed sequence Initializing the scrambling code generator;
所述扰码生成器,用于生成扰码序列;The scrambling code generator is configured to generate a scrambling code sequence;
加扰模块,用于根据所述扰码生成器生成的扰码序列对输入的编码后序列进行加扰。And a scrambling module, configured to scramble the input encoded sequence according to the scrambling code sequence generated by the scrambling code generator.
本申请的上述实施例中,针对用于生成种子序列的子序列的长度需要增加的场景,在对扰码生成器进行初始化时,将用于生成种子序列的全部或部分子序列的比特数量进行缩减,得到待使用子序列,根据得到的待使用子序列生成种子序列,使用生成的种子序列对扰码器进行初始化。上述实施例中,由于对用于生成种子序列的全部或部分子序列的比特数量进行缩减,并基于缩减后的子序列生成种子序列,因而使得种子序列的比特数量可控,进而能够使用生成的种子序列对扰码生成器进行初始化。In the foregoing embodiment of the present application, for the scenario in which the length of the subsequence for generating the seed sequence needs to be increased, when the scrambling code generator is initialized, the number of bits used to generate all or part of the subsequence of the seed sequence is performed. The reduction is performed to obtain a subsequence to be used, a seed sequence is generated according to the obtained subsequence to be used, and the scrambler is initialized using the generated seed sequence. In the above embodiment, since the number of bits used to generate all or part of the subsequence of the seed sequence is reduced, and the seed sequence is generated based on the reduced subsequence, the number of bits of the seed sequence is controllable, and the generated The seed sequence initializes the scrambling code generator.
附图说明DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following drawings will be briefly described in the description of the embodiments. It is obvious that the drawings in the following description are only some embodiments of the present application, Those skilled in the art can also obtain other drawings based on these drawings without paying for inventive labor.
图1为现有技术中LTE系统中数据信道的编码和加扰流程示意图;1 is a schematic diagram of a coding and scrambling process of a data channel in an LTE system in the prior art;
图2为现有技术中相邻小区采用不同扰码序列进行干扰随机化的示意图;2 is a schematic diagram of interference randomization of neighboring cells using different scrambling code sequences in the prior art;
图3为现有技术中LTE系统中的扰码生成器结构示意图; 3 is a schematic structural diagram of a scrambling code generator in an LTE system in the prior art;
图4为本申请实施例提供的扰码生成器初始化流程示意图;4 is a schematic diagram of a process of initializing a scrambling code generator according to an embodiment of the present application;
图5为本申请一实施例提供的扰码生成器初始化装置结构示意图;FIG. 5 is a schematic structural diagram of an apparatus for initializing a scrambling code generator according to an embodiment of the present disclosure;
图6为本申请另一实施例提供的扰码生成器初始化装置结构示意图;FIG. 6 is a schematic structural diagram of an apparatus for initializing a scrambling code generator according to another embodiment of the present disclosure;
图7为本申请实施例提供的加扰系统的结构示意图。FIG. 7 is a schematic structural diagram of a scrambling system according to an embodiment of the present application.
具体实施方式detailed description
LTE系统中传输的信号大致可以分为控制信令(英文为control information)和数据(英文为data),其中,数据通过数据信道进行传输。具体来说,下行数据在物理下行共享信道(Physical Downlink Shared CHannel,简称为PDSCH)中传输,上行数据在物理上行共享信道(Physical Uplink Shared CHannel,简称为PUSCH)中传输。数据需要进行加扰(英文为scrambling)。所谓加扰,是指将编码之后的比特序列和一个等长的扰码序列进行模二加运算。通过加扰,可以使相邻小区之间信号传输的干扰实现随机化(英文为randomization)。The signals transmitted in the LTE system can be roughly divided into control signaling (control information in English) and data (data in English), wherein the data is transmitted through the data channel. Specifically, the downlink data is transmitted in a physical downlink shared channel (Physical Downlink Shared CHannel, abbreviated as PDSCH), and the uplink data is transmitted in a physical uplink shared channel (Physical Uplink Shared CHannel, abbreviated as PUSCH). The data needs to be scrambled (scrambling in English). The so-called scrambling means that the bit sequence after encoding and the scrambling code sequence of the same length are subjected to modulo-addition operation. By scrambling, the interference of signal transmission between adjacent cells can be randomized (in English).
图1示例性地示出了LTE系统中数据信道的编码和加扰流程。首先对需要传输的数据的比特序列增加校验位,之后经过信道编码与速率匹配,得到编码后的比特序列b(i),(i=1,2,3,...N),该比特序列的长度为N(即包含N个比特)。扰码生成器生成与b(i)长度相同的扰码序列c(i),(i=1,2,3,...N)。通过将比特序列b(i)和扰码序列c(i)进行模二加运算,实现对比特序列b(i)的加扰,运算过程如下面的表达式所示:FIG. 1 exemplarily shows a coding and scrambling procedure of a data channel in an LTE system. First, a parity bit is added to the bit sequence of the data to be transmitted, and then subjected to channel coding and rate matching to obtain a coded bit sequence b(i), (i=1, 2, 3, ... N), the bit The length of the sequence is N (ie contains N bits). The scrambling code generator generates a scrambling code sequence c(i), (i = 1, 2, 3, ... N) of the same length as b(i). The scrambling of the bit sequence b(i) is achieved by performing a modulo two-addition operation on the bit sequence b(i) and the scrambling sequence c(i), as shown in the following expression:
Figure PCTCN2016074255-appb-000001
Figure PCTCN2016074255-appb-000001
其中,
Figure PCTCN2016074255-appb-000002
是加扰之后的比特序列。
among them,
Figure PCTCN2016074255-appb-000002
Is the bit sequence after scrambling.
对互为干扰的信号采用不同的扰码序列进行加扰之后,相互之间的干扰得到随机化而接近高斯白噪声的特性。因此互为干扰的邻小区之间的信号传输,需要分别采用不同的扰码序列进行加扰。如图2所示,相邻的两个小区采用不同的扰码序列c1(i)和c2(i),以实现干扰的随机化。 After the mutually interfered signals are scrambled by different scrambling sequences, the mutual interference is randomized to be close to the characteristics of Gaussian white noise. Therefore, signal transmission between adjacent cells that interfere with each other requires different scrambling code sequences for scrambling. As shown in FIG. 2, two adjacent cells use different scrambling code sequences c 1 (i) and c 2 (i) to achieve randomization of interference.
扰码序列由扰码生成器生成。图3示例性地示出了一种扰码生成器的结构。可以看到,扰码生成器由两个m序列生成器组成(如图中所示的m序列生成器1和m序列生成器2),两个m序列生成器输出的比特序列经过模二加运算后得到扰码序列。每一个m序列生成器由深度为31的移位寄存器构成,通过运算逐比特输出m序列。其中,移位寄存器深度用比特数量表示,比如,移位寄存器的深度是31,可以理解为有31个比特存储单元串联而成,每次数据从一个存储单元向下一个存储单元移入。The scrambling code sequence is generated by a scrambling code generator. Fig. 3 exemplarily shows the structure of a scrambling code generator. It can be seen that the scrambling code generator is composed of two m-sequence generators (m-sequence generator 1 and m-sequence generator 2 as shown in the figure), and the bit sequences output by the two m-sequence generators are modulo-added. The scrambling code sequence is obtained after the operation. Each m-sequence generator is composed of a shift register having a depth of 31, and the m-sequence is outputted bit by bit by an operation. The shift register depth is represented by the number of bits. For example, the depth of the shift register is 31. It can be understood that 31 bit memory cells are connected in series, and each time data is moved from one memory cell to the next.
为了生成不同的扰码序列,LTE系统中,对于不同的小区、不同的终端,扰码生成器初始化时采用了不同的种子序列,基于不同的种子序列可生成不同的扰码序列。其中,种子序列也称为随机种子(英文为initialization seed)。In order to generate different scrambling code sequences, in the LTE system, for different cells and different terminals, the scrambling code generator is initialized with different seed sequences, and different scrambling code sequences can be generated based on different seed sequences. Among them, the seed sequence is also called a random seed (initialization seed in English).
其中,m序列生成器1的种子序列是固定的,即寄存器0的初始值设置为1,其余寄存器的初始值设置为0。m序列生成器2的种子序列根据以下公式生成:The seed sequence of the m sequence generator 1 is fixed, that is, the initial value of the register 0 is set to 1, and the initial value of the remaining registers is set to zero. The seed sequence of the m sequence generator 2 is generated according to the following formula:
Figure PCTCN2016074255-appb-000003
Figure PCTCN2016074255-appb-000003
其中,
Figure PCTCN2016074255-appb-000004
表示小区ID(标识),nsf表示子帧序号,q表示本次传输的数据的码字的序号,nRNTI表示本次传输的用户ID(标识),该用户ID可以是分配给用户的RNTI(Radio Network Tempory Identity,无线网络临时标识)。可以看出,从高比特位到低比特位依次将nRNTI、q、nsf
Figure PCTCN2016074255-appb-000005
这些子序列拼接起来即可得到种子序列cinit
among them,
Figure PCTCN2016074255-appb-000004
Indicates the cell ID (identification), n sf indicates the subframe number, q indicates the sequence number of the codeword of the data transmitted this time, n RNTI indicates the user ID (identification) of the current transmission, and the user ID may be the RNTI allocated to the user. (Radio Network Tempory Identity, wireless network temporary identity). It can be seen that n RNTI , q , n sf and in order from high bit to low bit
Figure PCTCN2016074255-appb-000005
These subsequences are spliced together to obtain the seed sequence c init .
根据上述表达式(2)可以看出,相邻的小区,如果小区ID不相同,则种子序列不同,因此相邻小区的扰码序列也不相同。相邻的小区,如果小区ID相同,只要传输目标终端的RNTI不同,则针对不同用户的种子序列互不相同,因此不同用户的数据传输所使用的扰码序列也不相同。同理,针对同一用户在不同码字传输的数据,其扰码序列的种子序列也不相同;针对同一用户在不同子帧传输的数据,其扰码序列的种子序列也不相同。It can be seen from the above expression (2) that if the cell IDs are different, the seed sequences are different, and therefore the scrambling code sequences of the neighboring cells are also different. Adjacent cells, if the cell IDs are the same, as long as the RNTIs of the transmission target terminals are different, the seed sequences for different users are different from each other, so the scrambling code sequences used for data transmission of different users are also different. Similarly, for the data transmitted by the same user in different codewords, the seed sequence of the scrambling sequence is also different; for the data transmitted by the same user in different subframes, the seed sequence of the scrambling sequence is also different.
在LTE系统中,RNTI的长度是16比特,一个小区内可以为216个用户分 配不同的RNTI。In the LTE system, the length of the RNTI is 16 bits, and 2 16 users can be assigned different RNTIs in one cell.
如前所述,在物联网通信中,一方面,一个小区所服务的终端数量大大增加,需要对现有的RNTI的比特数量进行扩展,例如,将RNTI从16比特扩展到20比特,从而能够支持给220个用户分配不同的RNTI。另一方面,一个帧(或超帧)中包含的子帧数量(或超帧中包含的帧的数量)较多,因此需要对子帧(或帧)的序号的长度进行扩展,例如,现在LTE系统中子帧序号长度是4比特,在物联网中需要将其扩展到6比特。As mentioned above, in the Internet of Things communication, on the one hand, the number of terminals served by one cell is greatly increased, and the number of bits of the existing RNTI needs to be expanded, for example, the RNTI is extended from 16 bits to 20 bits, thereby enabling Support for assigning different RNTIs to 2 20 users. On the other hand, the number of subframes included in one frame (or superframe) (or the number of frames included in the superframe) is large, so it is necessary to extend the length of the sequence number of the subframe (or frame), for example, now The subframe number length in the LTE system is 4 bits, which needs to be extended to 6 bits in the Internet of Things.
无论对RNTI的长度进行扩展还是对子帧序号的长度进行扩展,按照上述公式(2)生成种子序列,均会导致生成的种子序列的比特数量超过m序列生成器2的移位寄存器深度,进而导致无法对m序列生成器2进行初始化。例如,如果在物联网中使用公式(2)生成种子序列,则生成的种子序列由RNTI(20比特)、子帧(帧)序号(6比特)和小区ID(9比特)构成,共计35比特,超过了扰码生成器的移位寄存器深度(31比特)。需要说明的是,物联网中采用单流传输技术,因此生成种子序列时无需使用码字ID。Whether the length of the RNTI is extended or the length of the subframe number is extended, generating the seed sequence according to the above formula (2) causes the number of bits of the generated seed sequence to exceed the shift register depth of the m sequence generator 2, and further This prevents the m sequence generator 2 from being initialized. For example, if the seed sequence is generated using the formula (2) in the Internet of Things, the generated seed sequence is composed of RNTI (20 bits), subframe (frame) number (6 bits), and cell ID (9 bits), for a total of 35 bits. Exceeded the shift register depth (31 bits) of the scrambling code generator. It should be noted that the single stream transmission technology is adopted in the Internet of Things, so the codeword ID is not required when generating the seed sequence.
为了解决上述问题,本申请实施例针对用于生成种子序列的子序列的长度需要增加的场景,给出了扰码生成器的初始化方案。下面结合附图对本申请实施例进行详细描述。In order to solve the above problem, the embodiment of the present application provides an initialization scheme of the scrambling code generator for a scenario in which the length of the subsequence for generating the seed sequence needs to be increased. The embodiments of the present application are described in detail below with reference to the accompanying drawings.
本申请实施例适用于无线通信系统中,用于生成种子序列的子序列的长度需要增加的场景。特别适用于物联网系统,例如视频监控系统。The embodiment of the present application is applicable to a scenario in which a length of a subsequence for generating a seed sequence needs to be increased in a wireless communication system. Especially suitable for IoT systems, such as video surveillance systems.
本申请实施例中,终端是指无线通信系统中的终端,可以经无线接入网(Radio Access Network,简称为RAN)与一个或多个核心网进行通信。将本申请实施例应用于物联网系统时,该终端可以是移动台(Mobile Station,简称为MS)等物理网终端,举例来说,可以是植入有无线通信装置的监控摄像头、植入了无线通信装置的电表或者植入了无线通信装置的水表等,在此不再一一列举。In the embodiment of the present application, a terminal refers to a terminal in a wireless communication system, and can communicate with one or more core networks via a radio access network (Radio Access Network, RAN for short). When the embodiment of the present application is applied to the Internet of Things system, the terminal may be a physical network terminal such as a mobile station (MS), for example, a surveillance camera implanted with a wireless communication device, and implanted. The electric meter of the wireless communication device or the water meter or the like in which the wireless communication device is implanted will not be enumerated here.
本申请实施例中,基站可以是LTE系统或物联网系统中的演进型基站 (Evolutional Node B,简称为eNB或e-NodeB)、宏基站、微基站(也称为“小基站”)、微微基站、接入站点(Access Point,简称为AP)或传输站点(Transmission Point,简称为TP)等。本申请对此并不限定。但为描述方便,下述实施例将以基站和终端为例进行说明。In this embodiment of the present application, the base station may be an evolved base station in an LTE system or an Internet of Things system. (Evolutional Node B, referred to as eNB or e-NodeB), macro base station, micro base station (also referred to as "small base station"), pico base station, access point (AP) or transmission point (Transmission Point, Referred to as TP) and so on. This application is not limited thereto. For convenience of description, the following embodiments will be described by taking a base station and a terminal as an example.
参见图4,为本申请实施例提供的扰码生成器初始化流程示意图。如图所示,该流程可包括如下步骤:FIG. 4 is a schematic diagram of a process of initializing a scrambling code generator according to an embodiment of the present application. As shown, the process can include the following steps:
步骤401:将用于生成种子序列的全部或部分子序列的比特数量进行缩减,得到待使用子序列。所得到的待使用子序列的总比特数量,小于或等于扰码生成器的移位寄存器深度。Step 401: Reduce the number of bits used to generate all or part of the subsequence of the seed sequence to obtain a subsequence to be used. The resulting total number of bits of the subsequence to be used is less than or equal to the shift register depth of the scrambling code generator.
以扰码序列的种子序列是由M(M为大于或等于1的整数)个子序列生成为例,具体实施时,可根据扰码生成器的移位寄存器深度以及用于生成种子序列的M个子序列的比特数量,确定待进行比特数量缩减的N(N为大于或等于1的整数,且M>=N)个子序列以及该N个子序列中每个子序列被缩减的比特数量;然后根据这N个子序列中每个子序列被缩减的比特数量,分别对这N个子序列的比特数量进行缩减。这样,比特数量被缩减的N个子序列以及其余(M-N,即M减N)个子序列构成所述“待使用子序列”。The seed sequence of the scrambling code sequence is generated by M (M is an integer greater than or equal to 1) sub-sequences. In specific implementation, the shift register depth of the scrambling code generator and the M sub-segments used to generate the seed sequence may be used. The number of bits of the sequence, determining N (N is an integer greater than or equal to 1, and M>=N) subsequences to be reduced in number of bits and the number of bits in each of the N subsequences being reduced; and then according to the N The number of bits per subsequence in each subsequence is reduced, and the number of bits of the N subsequences is respectively reduced. Thus, the N subsequences whose number of bits is reduced and the remaining (M-N, ie, M minus N) subsequences constitute the "subsequent to be used".
其中,在一些实施例中,若N>1,则这N个子序列中,每个子序列所使用的比特数量缩减方式均相同。在另一些实施例中,若N>1,则这N个子序列中,至少2个子序列所使用的比特数量缩减方式互不相同。具体采用哪种方式,可预先约定。In some embodiments, if N>1, the number of bits used in each of the N subsequences is reduced in the same manner. In other embodiments, if N>1, the number of bits used in at least two of the N subsequences is reduced in different ways. Which method is used in advance can be pre-agreed.
将用于生成种子序列的全部或部分子序列的比特数量进行缩减,目的是使所得到的待使用子序列的总比特数量,小于或等于扰码生成器的移位寄存器深度,从而可以使用生成的种子序列对扰码生成器进行初始化。The number of bits used to generate all or part of the subsequence of the seed sequence is reduced, so that the total number of bits of the obtained subsequence to be used is less than or equal to the shift register depth of the scrambling code generator, so that it can be generated. The seed sequence initializes the scrambling code generator.
可以采用多种比特数量缩减方式来达到上述目的,比如,可以对子序列按照设定顺序或规则进行截取的方式,对该子序列的比特数量进行缩减,也可以根据设定的运算规则,使用子序列中的部分比特与另一部分比特进行运算(比如异或运算),将得到的结果作为该子序列进行比特数量缩减后的结果。 A plurality of bit number reduction methods may be used to achieve the above purpose. For example, the number of bits of the sub-sequence may be reduced according to a manner in which the sub-sequence is intercepted according to a set order or a rule, or may be used according to a set operation rule. A part of the bits in the subsequence is operated with another part of the bits (such as an exclusive OR operation), and the obtained result is used as a result of reducing the number of bits in the subsequence.
以按照设定顺序或规则进行截取的方式,对子序列的比特数量进行缩减为例,具体可以从子序列的高比特位开始截取,所截取到的比特序列作为比特数量缩减后的子序列;也可以从子序列的低比特位开始截取,所截取到的比特序列作为比特数量缩减后的子序列;还可以按照其他规则来截取,比如每2个比特取其中高(或低)比特位上的比特,在此不再一一列举。For example, the number of bits of the sub-sequence is reduced by taking the interception according to the set order or the rule. Specifically, the truncation may be performed from the high-order bit of the sub-sequence, and the truncated bit sequence is used as the sub-sequence after the number of bits is reduced; It can also be intercepted from the low bit of the subsequence, and the truncated bit sequence is used as a subsequence after the number of bits is reduced; it can also be intercepted according to other rules, such as taking the high (or low) bit every 2 bits. The bits are not listed here.
优选地,为了简化运算,在对一个子序列的比特数量进行缩减时,可从该子序列的高比特位开始截取一个或多个比特,所截取的比特数量小于该子序列的总比特数量;也可以从该子序列的低比特位开始截取一个或多个比特,所截取的比特数量小于该子序列的总比特数量。Preferably, in order to simplify the operation, when the number of bits of one subsequence is reduced, one or more bits may be intercepted from the high bit of the subsequence, and the number of bits intercepted is smaller than the total number of bits of the subsequence; One or more bits may also be truncated starting from the lower bits of the subsequence, the number of bits intercepted being less than the total number of bits of the subsequence.
以种子序列由用户ID、子帧(或帧)序号、小区ID组成为例,比特数量被缩减的子序列可包括以下子序列中的一种或多种:For example, the seed sequence is composed of a user ID, a subframe (or frame) sequence number, and a cell ID. The sub-sequence whose bit number is reduced may include one or more of the following sub-sequences:
-用户ID,比如分配给用户的RNTI;- a user ID, such as an RNTI assigned to the user;
-子帧序号,用于标识无线帧中的子帧;或者帧序号,用于标识超帧中的帧;a subframe number for identifying a subframe in the radio frame, or a frame sequence number for identifying a frame in the superframe;
-小区ID,比如小区的PCI(Physical Cell Identifier,物理小区标识)。a cell ID, such as a PCI (Physical Cell Identifier) of a cell.
步骤402:根据步骤401中得到的待使用子序列生成种子序列。Step 402: Generate a seed sequence according to the sub-sequence to be used obtained in step 401.
具体实施时,可将待使用的所有子序列,按照设定的顺序进行拼接,得到种子序列。以种子序列由用户ID、子帧或帧序号、小区ID依次组成为例,可按照从高比特位到低比特位的顺序,将用户ID、子帧或帧序号以及小区ID进行级联,得到种子序列。In a specific implementation, all sub-sequences to be used may be spliced in a set order to obtain a seed sequence. For example, the seed sequence is composed of a user ID, a subframe or a frame number, and a cell ID, and the user ID, the subframe or the frame number, and the cell ID may be cascaded according to the order from the high bit to the low bit. Seed sequence.
步骤403:使用步骤402中生成的种子序列对扰码生成器进行初始化。其中,该扰码生成器用于生成扰码序列,所生成的扰码序列用于对数据信道传输的数据进行加扰。Step 403: Initialize the scrambling code generator using the seed sequence generated in step 402. The scrambling code generator is configured to generate a scrambling code sequence, and the generated scrambling code sequence is used to scramble data transmitted on the data channel.
该步骤中,在得到种子序列后,可根据种子序列对扰码生成器的移位寄存器进行赋值,实现对扰码生成器的初始化过程。例如,将种子序列中的bit0的取值赋值给扰码生成器的移位寄存器0,将种子序列中的bit1的取值赋值给扰码生成器的移位寄存器1,以此类推,直到将种子序列中的bit30的取值赋 值给扰码生成器的移位寄存器30。In this step, after the seed sequence is obtained, the shift register of the scrambling code generator can be assigned according to the seed sequence to implement the initialization process of the scrambling code generator. For example, assign the value of bit0 in the seed sequence to the shift register 0 of the scrambling code generator, assign the value of bit1 in the seed sequence to the shift register 1 of the scrambling code generator, and so on, until The value of bit30 in the seed sequence The value is given to the shift register 30 of the scrambling code generator.
通过以上描述可以看出,本申请的上述实施例中,针对用于生成种子序列的子序列的长度需要增加的场景,在对扰码生成器进行初始化时,将用于生成种子序列的全部或部分子序列的比特数量进行缩减,得到待使用子序列,根据得到的待使用子序列生成种子序列,使用生成的种子序列对扰码器进行初始化。上述实施例中,由于对用于生成种子序列的全部或部分子序列的比特数量进行缩减,并基于缩减后的子序列生成种子序列,因而不会因子序列比特数量的增加而导致种子序列的比特数量超出扰码器的移位寄存器深度,进而能够使用生成的种子序列对扰码生成器进行初始化。As can be seen from the above description, in the foregoing embodiment of the present application, a scenario in which the length of the subsequence for generating the seed sequence needs to be increased, when the scrambling code generator is initialized, will be used to generate all or The number of bits of the partial subsequence is reduced to obtain a subsequence to be used, a seed sequence is generated according to the obtained subsequence to be used, and the scrambler is initialized using the generated seed sequence. In the above embodiment, since the number of bits used to generate all or part of the subsequence of the seed sequence is reduced, and the seed sequence is generated based on the reduced subsequence, the number of the sequence sequence bits is not increased to cause the bit of the seed sequence. The number exceeds the transcoder's shift register depth, which in turn enables the scrambling code generator to be initialized using the generated seed sequence.
下面结合几个具体例子对上述流程进行说明。这几个例子基于以下场景:种子序列由用户ID(表示为nRNTI)、子帧ID(表示为nf)和小区ID(表示为
Figure PCTCN2016074255-appb-000006
)拼接组成。其中,nRNTI在转换成二进制数之后是20比特的序列,nf在转换为二进制数之后是6比特序列,
Figure PCTCN2016074255-appb-000007
在转换为二进制后是9比特序列。扰码生成器的结构如图3所示。
The above process will be described below in conjunction with several specific examples. These examples are based on the following scenario: the seed sequence is represented by the user ID (denoted as n RNTI ), the subframe ID (denoted as n f ), and the cell ID (represented as
Figure PCTCN2016074255-appb-000006
) splicing composition. Where n RNTI is a 20-bit sequence after being converted into a binary number, and n f is a 6-bit sequence after being converted into a binary number.
Figure PCTCN2016074255-appb-000007
After conversion to binary is a 9-bit sequence. The structure of the scrambling code generator is shown in Figure 3.
作为一个例子,在步骤401中截取nRNTI低比特位的16比特,表示为:As an example, the 16 bits of the low bit of the n RNTI are truncated in step 401, expressed as:
Figure PCTCN2016074255-appb-000008
Figure PCTCN2016074255-appb-000008
经过截取之后,
Figure PCTCN2016074255-appb-000009
(在转换为二进制数之后)的长度从20比特变成了16比特。
After interception,
Figure PCTCN2016074255-appb-000009
The length (after conversion to a binary number) has changed from 20 bits to 16 bits.
在步骤402中,将16比特的
Figure PCTCN2016074255-appb-000010
与其他子序列(6比特的nf和9比特的
Figure PCTCN2016074255-appb-000011
)组合之后,可以得到种子序列:
In step 402, 16 bits are
Figure PCTCN2016074255-appb-000010
With other subsequences (6-bit nf and 9-bit
Figure PCTCN2016074255-appb-000011
After combining, you can get the seed sequence:
Figure PCTCN2016074255-appb-000012
Figure PCTCN2016074255-appb-000012
这个种子序列在转换为二进制数之后,长度是31比特,因而可以用于对移位寄存器深度为31比特的扰码生成器进行初始化。This seed sequence, after being converted to a binary number, is 31 bits in length and can therefore be used to initialize a scrambling code generator with a shift register depth of 31 bits.
作为另一个例子,在步骤401中截取nRNTI高比特位的16比特,表示为:As another example, the 16 bits of the n RNTI high bit are truncated in step 401, expressed as:
Figure PCTCN2016074255-appb-000013
Figure PCTCN2016074255-appb-000013
经过截取之后,
Figure PCTCN2016074255-appb-000014
(在转换为二进制数之后)的长度从20比特变成了16比特。
After interception,
Figure PCTCN2016074255-appb-000014
The length (after conversion to a binary number) has changed from 20 bits to 16 bits.
在步骤402中,将16比特的
Figure PCTCN2016074255-appb-000015
与其他子序列(6比特的nf和9比特的
Figure PCTCN2016074255-appb-000016
)组合之后,可以得到种子序列:
In step 402, 16 bits are
Figure PCTCN2016074255-appb-000015
With other subsequences (6-bit nf and 9-bit
Figure PCTCN2016074255-appb-000016
After combining, you can get the seed sequence:
Figure PCTCN2016074255-appb-000017
Figure PCTCN2016074255-appb-000017
这个种子序列在转换为二进制数之后,长度是31比特,因而可以用于对移位寄存器深度为31比特的扰码生成器进行初始化。This seed sequence, after being converted to a binary number, is 31 bits in length and can therefore be used to initialize a scrambling code generator with a shift register depth of 31 bits.
作为另一个例子,在步骤401中截取
Figure PCTCN2016074255-appb-000018
的高比特位的5比特,表示为:
As another example, intercepting in step 401
Figure PCTCN2016074255-appb-000018
The 5 bits of the high bit are expressed as:
Figure PCTCN2016074255-appb-000019
Figure PCTCN2016074255-appb-000019
经过截取之后,
Figure PCTCN2016074255-appb-000020
(在转换为二进制数之后)的长度从9比特变成了5比特。
After interception,
Figure PCTCN2016074255-appb-000020
The length (after conversion to a binary number) is changed from 9 bits to 5 bits.
在步骤402中,将5比特的
Figure PCTCN2016074255-appb-000021
与其他子序列(20比特的nRNTI和6比特的nf)组合之后,可以得到种子序列:
In step 402, 5 bits are
Figure PCTCN2016074255-appb-000021
After combining with other subsequences (20 bits of n RNTI and 6 bits of n f ), a seed sequence can be obtained:
Figure PCTCN2016074255-appb-000022
Figure PCTCN2016074255-appb-000022
这个种子序列在转换为二进制数之后,长度是31比特,因而可以用于对移位寄存器深度为31比特的扰码生成器进行初始化。This seed sequence, after being converted to a binary number, is 31 bits in length and can therefore be used to initialize a scrambling code generator with a shift register depth of 31 bits.
作为另一个例子,在步骤401中截取
Figure PCTCN2016074255-appb-000023
的低比特位的5比特,表示为:
As another example, intercepting in step 401
Figure PCTCN2016074255-appb-000023
The 5 bits of the low bit are expressed as:
Figure PCTCN2016074255-appb-000024
Figure PCTCN2016074255-appb-000024
经过截取之后,
Figure PCTCN2016074255-appb-000025
(在转换为二进制数之后)的长度从9比特变成了5比特。
After interception,
Figure PCTCN2016074255-appb-000025
The length (after conversion to a binary number) is changed from 9 bits to 5 bits.
在步骤402中,将5比特的
Figure PCTCN2016074255-appb-000026
与其他子序列(20比特的nRNTI和6比特的nf)组合之后,可以得到种子序列:
In step 402, 5 bits are
Figure PCTCN2016074255-appb-000026
After combining with other subsequences (20 bits of n RNTI and 6 bits of n f ), a seed sequence can be obtained:
Figure PCTCN2016074255-appb-000027
Figure PCTCN2016074255-appb-000027
这个种子序列在转换为二进制数之后,长度是31比特,因而可以用于对移位寄存器深度为31比特的扰码生成器进行初始化。This seed sequence, after being converted to a binary number, is 31 bits in length and can therefore be used to initialize a scrambling code generator with a shift register depth of 31 bits.
作为另一个例子,在步骤401中截取nf的高比特位的2比特,表示为:As another example, n f is taken in step 401 the high bit of 2 bits, is represented as:
Figure PCTCN2016074255-appb-000028
Figure PCTCN2016074255-appb-000028
经过截取之后,
Figure PCTCN2016074255-appb-000029
(在转换为二进制数之后)的长度从6比特变成了2比特。
After interception,
Figure PCTCN2016074255-appb-000029
The length (after conversion to a binary number) is changed from 6 bits to 2 bits.
在步骤402中,将2比特的
Figure PCTCN2016074255-appb-000030
与其他子序列(20比特的nRNTI和9比特的
Figure PCTCN2016074255-appb-000031
)组合之后,可以得到种子序列:
In step 402, 2 bits are
Figure PCTCN2016074255-appb-000030
With other subsequences (20 bits of n RNTI and 9 bits)
Figure PCTCN2016074255-appb-000031
After combining, you can get the seed sequence:
Figure PCTCN2016074255-appb-000032
Figure PCTCN2016074255-appb-000032
这个种子序列在转换为二进制数之后,长度是31比特,因而可以用于对移位寄存器深度为31比特的扰码生成器进行初始化。This seed sequence, after being converted to a binary number, is 31 bits in length and can therefore be used to initialize a scrambling code generator with a shift register depth of 31 bits.
作为另一个例子,在步骤401中截取nf的低比特位的2比特,表示为:As another example, in step 401, taken n f low bits of 2 bits, is represented as:
Figure PCTCN2016074255-appb-000033
Figure PCTCN2016074255-appb-000033
经过截取之后,
Figure PCTCN2016074255-appb-000034
(在转换为二进制数之后)的长度从6比特变成了2比特。
After interception,
Figure PCTCN2016074255-appb-000034
The length (after conversion to a binary number) is changed from 6 bits to 2 bits.
在步骤402中,将2比特的
Figure PCTCN2016074255-appb-000035
与其他子序列(20比特的nRNTI和9比特的
Figure PCTCN2016074255-appb-000036
)组合之后,可以得到种子序列:
In step 402, 2 bits are
Figure PCTCN2016074255-appb-000035
With other subsequences (20 bits of n RNTI and 9 bits)
Figure PCTCN2016074255-appb-000036
After combining, you can get the seed sequence:
Figure PCTCN2016074255-appb-000037
Figure PCTCN2016074255-appb-000037
这个种子序列在转换为二进制数之后,长度是31比特,因而可以用于对移位寄存器深度为31比特的扰码生成器进行初始化。This seed sequence, after being converted to a binary number, is 31 bits in length and can therefore be used to initialize a scrambling code generator with a shift register depth of 31 bits.
本申请实施例中,上述扰码生成器的初始化流程可由扰码生成器初始化装置实现。该装置可以由硬件实现或者由软件实现,也可以通过硬件和软件相结合的方式实现。该装置可以实现将用于生成种子序列的全部或部分子序列的比特数量进行缩减,并基于缩减后的子序列生成种子序列,并使用该种 子序列对扰码生成器进行初始化。In the embodiment of the present application, the initialization process of the above scrambling code generator may be implemented by a scrambling code generator initializing device. The device may be implemented by hardware or by software, or may be implemented by a combination of hardware and software. The apparatus can reduce the number of bits used to generate all or part of the subsequence of the seed sequence, and generate a seed sequence based on the reduced subsequence, and use the species The subsequence initializes the scrambling code generator.
基于相同的技术构思,本申请实施例还提供了一种扰码生成器初始化装置。Based on the same technical concept, the embodiment of the present application further provides a scrambling code generator initializing apparatus.
下面结合附图对本申请实施例提供的扰码生成器初始化装置进行详细描述。The scrambling code generator initializing apparatus provided in the embodiment of the present application will be described in detail below with reference to the accompanying drawings.
参见图5,为本申请实施例提供的扰码生成器初始化装置结构示意图。该装置可实现前述实施例描述的扰码生成器初始化流程。该装置可包括:缩减模块501、生成模块502、初始化模块503,其中:FIG. 5 is a schematic structural diagram of an apparatus for initializing a scrambling code generator according to an embodiment of the present application. The apparatus can implement the scrambling code generator initialization process described in the foregoing embodiments. The apparatus may include: a reduction module 501, a generation module 502, and an initialization module 503, wherein:
缩减模块501,用于将用于生成种子序列的全部或部分子序列的比特数量进行缩减,得到待使用子序列;a reduction module 501, configured to reduce a number of bits used to generate all or a partial subsequence of the seed sequence to obtain a subsequence to be used;
生成模块502,用于根据缩减模块501得到的待使用子序列生成种子序列;a generating module 502, configured to generate a seed sequence according to the sub-sequence to be used obtained by the reducing module 501;
初始化模块503,用于使用生成模块502生成的种子序列对扰码生成器进行初始化。The initialization module 503 is configured to initialize the scrambling code generator using the seed sequence generated by the generating module 502.
上述装置中,缩减模块501在将用于生成种子序列的全部或部分子序列的比特数量进行缩减时可具体用于:根据所述扰码生成器的移位寄存器深度以及用于生成种子序列的M个子序列的比特数量,确定待进行比特数量缩减的N个子序列以及所述N个子序列中每个子序列被缩减的比特数量;其中,M和N均为大于或等于1的整数,M>=N;根据所述N个子序列中每个子序列被缩减的比特数量,分别对所述N个子序列的比特数量进行缩减。In the above apparatus, the reduction module 501 may be specifically used when reducing the number of bits used to generate all or part of the subsequence of the seed sequence, according to the shift register depth of the scrambling code generator and the seed sequence used to generate the seed sequence. The number of bits of the M subsequences, the N subsequences to be reduced in number of bits and the number of bits in which each of the N subsequences is reduced; wherein, M and N are integers greater than or equal to 1, M>= N. The number of bits of the N subsequences is respectively reduced according to the number of bits reduced for each of the N subsequences.
其中,若缩减模块501对多个(即多于1个)子序列进行了比特数量缩减,则所述比特数量被缩减的子序列中,每个子序列所使用的比特数量缩减方式均相同,或者,所述比特数量被缩减的子序列中,至少2个子序列所使用的比特数量缩减方式互不相同。Wherein, if the reduction module 501 performs a bit number reduction on a plurality of (ie, more than one) sub-sequences, the number of bits used in each sub-sequence is reduced in the sub-sequence in which the number of bits is reduced, or In the subsequence in which the number of bits is reduced, the number of bits used in at least two subsequences is reduced in different ways.
上述装置中,缩减模块501在将用于生成种子序列的全部或部分子序列的比特数量进行缩减时可具体用于:In the above apparatus, the reduction module 501 can be specifically used when reducing the number of bits used to generate all or part of the subsequence of the seed sequence:
采用以下比特数量缩减方式中的一种,将一个子序列的比特数量进行缩减: The number of bits in a subsequence is reduced by one of the following bit number reduction methods:
从一个子序列的高比特位开始截取一个或多个比特,所截取的比特数量小于该子序列的总比特数量;Intercepting one or more bits starting from a high bit of a subsequence, the number of bits intercepted being less than the total number of bits of the subsequence;
从一个子序列的低比特位开始截取一个或多个比特,所截取的比特数量小于该子序列的总比特数量。Intercepting one or more bits from the low bit of a subsequence, the number of bits intercepted is less than the total number of bits of the subsequence.
上述装置中,缩减模块501可对以下一种或多种子序列的比特数量进行缩减:In the above apparatus, the reduction module 501 can reduce the number of bits of one or more of the following subsequences:
用户标识;User ID;
子帧序号或帧序号;Subframe number or frame number;
小区标识。Cell identification.
上述装置中,生成模块502可具体用于:当所述得到的待使用子序列包括:用户标识、子帧序号或帧序号和小区标识时,按照从高比特位到低比特位的顺序,将所述用户标识,子帧序号(或帧序号)以及小区标识,进行级联得到种子序列。In the foregoing apparatus, the generating module 502 may be specifically configured to: when the obtained sub-sequence to be used includes: a user identifier, a subframe sequence number, a frame sequence number, and a cell identifier, according to an order from a high bit to a low bit, The user identifier, the subframe number (or frame number), and the cell identifier are cascaded to obtain a seed sequence.
上述装置中,缩减模块501得到的待使用子序列的总比特数量,小于或等于所述扰码生成器的移位寄存器深度。In the above apparatus, the total number of bits of the subsequence to be used obtained by the reduction module 501 is less than or equal to the shift register depth of the scrambling code generator.
基于相同的技术构思,本申请实施例还提供了一种扰码生成器初始化装置。Based on the same technical concept, the embodiment of the present application further provides a scrambling code generator initializing apparatus.
参见图6,为本申请另一实施例提供的扰码生成器初始化装置结构示意图。该装置可实现前述实施例描述的扰码生成器初始化流程。FIG. 6 is a schematic structural diagram of an apparatus for initializing a scrambling code generator according to another embodiment of the present application. The apparatus can implement the scrambling code generator initialization process described in the foregoing embodiments.
如图所示,该装置可包括:接口601、处理单元602和存储器603。处理单元602用于控制该装置的操作;存储器603可以包括只读存储器和随机存取存储器,用于向处理单元602提供指令和数据。存储器603的一部分还可以包括非易失行随机存取存储器(NVRAM)。该装置的各个组件通过总线系统耦合在一起,其中总线系统609除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图中将各种总线都标为总线系统609。As shown, the apparatus can include an interface 601, a processing unit 602, and a memory 603. Processing unit 602 is for controlling the operation of the device; memory 603 can include read only memory and random access memory for providing instructions and data to processing unit 602. A portion of the memory 603 may also include non-volatile line random access memory (NVRAM). The various components of the apparatus are coupled together by a bus system, wherein the bus system 609 includes, in addition to the data bus, a power bus, a control bus, and a status signal bus. However, for clarity of description, various buses are labeled as bus system 609 in the figure.
本申请实施例揭示的流程可以应用于处理单元602中,或者由处理单元 602实现。在实现过程中,基站实现的流程的各步骤可以通过处理单元602中的硬件的集成逻辑电路或者软件形式的指令完成。处理单元602可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器603,处理单元602读取存储器603中的信息,结合其硬件完成基站实现的干扰指示流程的步骤。The process disclosed in the embodiment of the present application may be applied to the processing unit 602, or by the processing unit. 602 implementation. In the implementation process, each step of the flow implemented by the base station may be completed by an integrated logic circuit of hardware in the processing unit 602 or an instruction in the form of software. The processing unit 602 can be a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or a transistor logic device, and a discrete hardware component, which can be implemented or executed in the embodiment of the present application. Various methods, steps, and logic blocks of the disclosure. A general purpose processor can be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory 603, and the processing unit 602 reads the information in the memory 603, and completes the steps of the interference indication process implemented by the base station in combination with its hardware.
具体地,处理单元602可被配置以执行上述实施例所述的扰码生成器初始化流程,该流程可包括:Specifically, the processing unit 602 may be configured to perform the scrambling code generator initialization process described in the foregoing embodiments, where the process may include:
将用于生成种子序列的全部或部分子序列的比特数量进行缩减,得到待使用子序列;The number of bits used to generate all or part of the subsequence of the seed sequence is reduced to obtain a subsequence to be used;
根据所述待使用子序列生成种子序列;Generating a seed sequence according to the subsequence to be used;
使用所述种子序列对扰码生成器进行初始化。The scrambling code generator is initialized using the seed sequence.
优选地,处理单元602在将用于生成种子序列的全部或部分子序列的比特数量进行缩减时,可根据所述扰码生成器的移位寄存器深度以及用于生成种子序列的M个子序列的比特数量,确定待进行比特数量缩减的N个子序列以及所述N个子序列中每个子序列被缩减的比特数量;其中,M和N均为大于或等于1的整数,M>=N;根据所述N个子序列中每个子序列被缩减的比特数量,分别对所述N个子序列的比特数量进行缩减。Preferably, processing unit 602 may reduce the shift register depth of the scrambling code generator and the M subsequences used to generate the seed sequence when reducing the number of bits used to generate all or a portion of the subsequence of the seed sequence a number of bits, determining N subsequences to be reduced in number of bits and a number of bits in which each of the N subsequences is reduced; wherein, M and N are integers greater than or equal to 1, M>=N; The number of bits in each of the N subsequences is reduced, and the number of bits of the N subsequences is respectively reduced.
优选地,若处理单元602对多个子序列进行了比特数量缩减,则所述比特数量被缩减的子序列中,每个子序列所使用的比特数量缩减方式均相同,或者,所述比特数量被缩减的子序列中,至少2个子序列所使用的比特数量缩减方式互不相同。 Preferably, if the processing unit 602 performs bit number reduction on the plurality of sub-sequences, the number of bits used in each sub-sequence is reduced in the sub-sequence in which the number of bits is reduced, or the number of bits is reduced. In the subsequence, the number of bits used in at least two subsequences is reduced in different ways.
优选地,处理单元602可采用以下比特数量缩减方式中的一种,将一个子序列的比特数量进行缩减:Preferably, the processing unit 602 may reduce the number of bits of one subsequence by using one of the following bit number reduction methods:
从一个子序列的高比特位开始截取一个或多个比特,所截取的比特数量小于该子序列的总比特数量;Intercepting one or more bits starting from a high bit of a subsequence, the number of bits intercepted being less than the total number of bits of the subsequence;
从一个子序列的低比特位开始截取一个或多个比特,所截取的比特数量小于该子序列的总比特数量。Intercepting one or more bits from the low bit of a subsequence, the number of bits intercepted is less than the total number of bits of the subsequence.
优选地,处理单元602对以下一种或多种子序列的比特数量进行缩减:Preferably, processing unit 602 reduces the number of bits of one or more of the following subsequences:
用户标识;User ID;
子帧序号或帧序号;Subframe number or frame number;
小区标识。Cell identification.
优选地,处理单元602可具体用于:当所述得到的待使用子序列包括:用户标识、子帧序号或帧序号和小区标识时,按照从高比特位到低比特位的顺序,将所述用户标识,子帧序号(或帧序号)以及小区标识,进行级联得到种子序列。Preferably, the processing unit 602 is specifically configured to: when the obtained sub-sequence to be used includes: a user identifier, a subframe sequence number, a frame sequence number, and a cell identifier, according to an order from a high bit to a low bit, The user identifier, the subframe number (or frame number), and the cell identifier are cascading to obtain a seed sequence.
优选地,所述得到的待使用子序列的总比特数量,小于或等于所述扰码生成器的移位寄存器深度。Preferably, the total number of bits of the obtained subsequence to be used is less than or equal to the shift register depth of the scrambling code generator.
基于相同的技术构思,本申请实施例还提供了一种加扰系统。Based on the same technical concept, the embodiment of the present application also provides a scrambling system.
参见图7,为本申请实施例提供的加扰系统的结构示意图,该系统可包括:扰码生成器701、加扰模块702以及扰码生成器初始化装置703,其中扰码生成器初始化装置703的具体结构可如前述实施例所述,比如可以是图5或图6所述的码生成器初始化装置。FIG. 7 is a schematic structural diagram of a scrambling system according to an embodiment of the present disclosure. The system may include: a scrambling code generator 701, a scrambling module 702, and a scrambling code generator initializing device 703, wherein the scrambling code generator initializing device 703 The specific structure may be as described in the foregoing embodiment, such as the code generator initialization device described in FIG. 5 or FIG. 6.
上述系统中,扰码生成器初始化装置703可将用于生成种子序列的全部或部分子序列的比特数量进行缩减,得到待使用子序列,根据所述待使用子序列生成种子序列,并使用所述种子序列对扰码生成器进行初始化。In the above system, the scrambling code generator initializing means 703 can reduce the number of bits used to generate all or part of the subsequence of the seed sequence to obtain a subsequence to be used, generate a seed sequence according to the subsequence to be used, and use the The seed sequence initializes the scrambling code generator.
扰码生成器701可用于生成扰码序列。具体实施时,扰码生成器701可基于扰码序列生成算法,使用编码后的序列生成扰码序列。The scrambling code generator 701 can be used to generate a scrambling code sequence. In a specific implementation, the scrambling code generator 701 may generate a scrambling code sequence based on the scrambling code sequence generation algorithm using the encoded sequence.
加扰模块702可用于根据扰码生成器701生成的扰码序列对输入的编码 后序列进行加扰。具体实施时,加扰模块702可将输入的比特序列和扰码序列进行模二加运算,得到加扰后的比特序列。The scrambling module 702 can be configured to encode the input according to the scrambling code sequence generated by the scrambling code generator 701. The post-sequence is scrambled. In a specific implementation, the scrambling module 702 may perform a modulo two-addition operation on the input bit sequence and the scrambling code sequence to obtain a scrambled bit sequence.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器,使得通过该计算机或其他可编程数据处理设备的处理器执行的指令可实现流程图中的一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. The computer program instructions can be provided to a general purpose computer, a special purpose computer, an embedded processor, or a processor of other programmable data processing device such that instructions executed by a processor of the computer or other programmable data processing device can be implemented in a flowchart The function specified in one or more processes and/or block diagrams in one or more blocks.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图的一个流程或多个流程和/或方框图的一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。While the preferred embodiment of the present application has been described, it will be apparent that those skilled in the art can make further changes and modifications to the embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本 申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。 Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the present disclosure. The spirit and scope of the application. Thus, it is intended that the present invention cover the modifications and variations of the present invention.

Claims (15)

  1. 一种扰码生成器初始化方法,其特征在于,包括:A scrambling code generator initialization method, comprising:
    将用于生成种子序列的全部或部分子序列的比特数量进行缩减,得到待使用子序列;The number of bits used to generate all or part of the subsequence of the seed sequence is reduced to obtain a subsequence to be used;
    根据所述待使用子序列生成种子序列;Generating a seed sequence according to the subsequence to be used;
    使用所述种子序列对扰码生成器进行初始化。The scrambling code generator is initialized using the seed sequence.
  2. 如权利要求1所述的方法,其特征在于,所述将用于生成种子序列的全部或部分子序列的比特数量进行缩减,包括:The method of claim 1 wherein said reducing a number of bits used to generate all or a portion of a subsequence of a seed sequence comprises:
    根据所述扰码生成器的移位寄存器深度以及用于生成种子序列的M个子序列的比特数量,确定待进行比特数量缩减的N个子序列以及所述N个子序列中每个子序列被缩减的比特数量;其中,M和N均为大于或等于1的整数,M>=N;Determining N subsequences to be reduced in number of bits and bits reduced in each of the N subsequences according to a shift register depth of the scrambling code generator and a number of bits of M subsequences for generating a seed sequence Quantity; wherein, M and N are integers greater than or equal to 1, M>=N;
    根据所述N个子序列中每个子序列被缩减的比特数量,分别对所述N个子序列的比特数量进行缩减。The number of bits of the N subsequences is respectively reduced according to the number of bits reduced for each of the N subsequences.
  3. 如权利要求1或2所述的方法,其特征在于,若比特数量被缩减的子序列的数量大于1,则:The method according to claim 1 or 2, wherein if the number of sub-sequences whose number of bits is reduced is greater than 1, then:
    所述比特数量被缩减的子序列中,每个子序列所使用的比特数量缩减方式均相同;或者,In the subsequence in which the number of bits is reduced, the number of bits used in each subsequence is reduced in the same manner; or
    所述比特数量被缩减的子序列中,至少2个子序列所使用的比特数量缩减方式互不相同。In the subsequence in which the number of bits is reduced, the number of bits used in at least two subsequences is reduced in different ways.
  4. 如权利要求1至3中任一项所述的方法,其特征在于,采用以下比特数量缩减方式中的一种,将一个子序列的比特数量进行缩减:The method according to any one of claims 1 to 3, characterized in that the number of bits of a subsequence is reduced by one of the following bit number reduction methods:
    从一个子序列的高比特位开始截取一个或多个比特,所截取的比特数量小于该子序列的总比特数量;Intercepting one or more bits starting from a high bit of a subsequence, the number of bits intercepted being less than the total number of bits of the subsequence;
    从一个子序列的低比特位开始截取一个或多个比特,所截取的比特数量小于该子序列的总比特数量。 Intercepting one or more bits from the low bit of a subsequence, the number of bits intercepted is less than the total number of bits of the subsequence.
  5. 如权利要求1至4中任一项所述的方法,其特征在于,比特数量被缩减的子序列包括以下子序列中的一种或多种:The method according to any one of claims 1 to 4, wherein the subsequence whose number of bits is reduced comprises one or more of the following subsequences:
    用户标识;User ID;
    子帧序号或帧序号;Subframe number or frame number;
    小区标识。Cell identification.
  6. 如权利要求1至5中任一项所述的方法,其特征在于,所述得到的待使用子序列包括:用户标识,子帧序号或帧序号,小区标识;The method according to any one of claims 1 to 5, wherein the obtained subsequence to be used includes: a user identifier, a subframe number or a frame number, and a cell identifier;
    所述根据所述得到的待使用子序列生成种子序列,包括:Generating a seed sequence according to the obtained sub-sequence to be used, including:
    按照从高比特位到低比特位的顺序,将所述用户标识,子帧序号或帧序号,小区标识,进行级联得到种子序列。The user identifier, the subframe number or the frame sequence number, and the cell identifier are cascaded to obtain a seed sequence according to an order from a high bit to a low bit.
  7. 如权利要求1至6中任一项所述的方法,其特征在于,所述得到的待使用子序列的总比特数量,小于或等于所述扰码生成器的移位寄存器深度。The method according to any one of claims 1 to 6, wherein the total number of bits of the obtained subsequence to be used is less than or equal to the shift register depth of the scrambling code generator.
  8. 一种扰码生成器初始化装置,其特征在于,包括:A scrambling code generator initializing device, comprising:
    缩减模块,用于将用于生成种子序列的全部或部分子序列的比特数量进行缩减,得到待使用子序列;a reduction module, configured to reduce a number of bits used to generate all or a partial subsequence of the seed sequence to obtain a subsequence to be used;
    生成模块,用于根据所述缩减模块得到的待使用子序列生成种子序列;Generating a module, configured to generate a seed sequence according to the sub-sequence to be used obtained by the reduction module;
    初始化模块,用于使用所述生成模块生成的种子序列对扰码生成器进行初始化。And an initialization module, configured to initialize the scrambling code generator by using the seed sequence generated by the generating module.
  9. 如权利要求8所述的装置,其特征在于,所述缩减模块具体用于:The device according to claim 8, wherein the reduction module is specifically configured to:
    根据所述扰码生成器的移位寄存器深度以及用于生成种子序列的M个子序列的比特数量,确定待进行比特数量缩减的N个子序列以及所述N个子序列中每个子序列被缩减的比特数量;其中,M和N均为大于或等于1的整数,M>=N;Determining N subsequences to be reduced in number of bits and bits reduced in each of the N subsequences according to a shift register depth of the scrambling code generator and a number of bits of M subsequences for generating a seed sequence Quantity; wherein, M and N are integers greater than or equal to 1, M>=N;
    根据所述N个子序列中每个子序列被缩减的比特数量,分别对所述N个子序列的比特数量进行缩减。The number of bits of the N subsequences is respectively reduced according to the number of bits reduced for each of the N subsequences.
  10. 如权利要求8或9所述的装置,其特征在于,若所述缩减模块对多个子序列进行了比特数量缩减,则: The apparatus according to claim 8 or 9, wherein if said reduction module performs a bit number reduction on a plurality of subsequences, then:
    所述比特数量被缩减的子序列中,每个子序列所使用的比特数量缩减方式均相同;或者,In the subsequence in which the number of bits is reduced, the number of bits used in each subsequence is reduced in the same manner; or
    所述比特数量被缩减的子序列中,至少2个子序列所使用的比特数量缩减方式互不相同。In the subsequence in which the number of bits is reduced, the number of bits used in at least two subsequences is reduced in different ways.
  11. 如权利要求8至10中任一项所述的装置,其特征在于,所述缩减模块具体用于:The apparatus according to any one of claims 8 to 10, wherein the reduction module is specifically configured to:
    采用以下比特数量缩减方式中的一种,将一个子序列的比特数量进行缩减:The number of bits in a subsequence is reduced by one of the following bit number reduction methods:
    从一个子序列的高比特位开始截取一个或多个比特,所截取的比特数量小于该子序列的总比特数量;Intercepting one or more bits starting from a high bit of a subsequence, the number of bits intercepted being less than the total number of bits of the subsequence;
    从一个子序列的低比特位开始截取一个或多个比特,所截取的比特数量小于该子序列的总比特数量。Intercepting one or more bits from the low bit of a subsequence, the number of bits intercepted is less than the total number of bits of the subsequence.
  12. 如权利要求8至11中任一项所述的装置,其特征在于,所述缩减模块对以下一种或多种子序列的比特数量进行缩减:The apparatus according to any one of claims 8 to 11, wherein the reduction module reduces the number of bits of one or more of the following subsequences:
    用户标识;User ID;
    子帧序号或帧序号;Subframe number or frame number;
    小区标识。Cell identification.
  13. 如权利要求8至12中任一项所述的装置,其特征在于,A device according to any one of claims 8 to 12, wherein
    生成模块具体用于:当所述得到的待使用子序列包括:用户标识、子帧序号或帧序号和小区标识时,按照从高比特位到低比特位的顺序,将所述用户标识、子帧序号或帧序号和小区标识,进行级联得到种子序列。The generating module is specifically configured to: when the obtained sub-sequence to be used includes: a user identifier, a subframe sequence number, a frame sequence number, and a cell identifier, the user identifier and the child are in an order from a high bit to a low bit. The frame sequence number or the frame number and the cell identifier are cascaded to obtain a seed sequence.
  14. 如权利要求8至13中任一项所述的装置,其特征在于,所述缩减模块得到的待使用子序列的总比特数量,小于或等于所述扰码生成器的移位寄存器深度。The apparatus according to any one of claims 8 to 13, wherein the total number of bits of the subsequence to be used obtained by the reduction module is less than or equal to the shift register depth of the scrambling code generator.
  15. 一种加扰系统,其特征在于,包括:扰码生成器、加扰模块以及如权利要求8至14中任一项所述的扰码生成器初始化装置;A scrambling system, comprising: a scrambling code generator, a scrambling module, and the scrambling code generator initializing apparatus according to any one of claims 8 to 14;
    所述扰码生成器初始化装置,将用于生成种子序列的全部或部分子序列 的比特数量进行缩减,得到待使用子序列,根据所述待使用子序列生成种子序列,并使用所述种子序列对扰码生成器进行初始化;The scrambling code generator initializing means for generating all or part of the subsequence of the seed sequence The number of bits is reduced, the subsequence to be used is obtained, a seed sequence is generated according to the subsequence to be used, and the scrambling code generator is initialized using the seed sequence;
    所述扰码生成器,用于生成扰码序列;The scrambling code generator is configured to generate a scrambling code sequence;
    加扰模块,用于根据所述扰码生成器生成的扰码序列对输入的编码后序列进行加扰。 And a scrambling module, configured to scramble the input encoded sequence according to the scrambling code sequence generated by the scrambling code generator.
PCT/CN2016/074255 2016-02-22 2016-02-22 Method, apparatus and system for initializing scrambling code generator WO2017143489A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/074255 WO2017143489A1 (en) 2016-02-22 2016-02-22 Method, apparatus and system for initializing scrambling code generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/074255 WO2017143489A1 (en) 2016-02-22 2016-02-22 Method, apparatus and system for initializing scrambling code generator

Publications (1)

Publication Number Publication Date
WO2017143489A1 true WO2017143489A1 (en) 2017-08-31

Family

ID=59685867

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/074255 WO2017143489A1 (en) 2016-02-22 2016-02-22 Method, apparatus and system for initializing scrambling code generator

Country Status (1)

Country Link
WO (1) WO2017143489A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1691656A (en) * 2004-04-26 2005-11-02 上海明波通信技术有限公司 Method for generating scrambling code in digital communication system and apparatus therefor
CN101534174A (en) * 2008-03-12 2009-09-16 华为技术有限公司 Physical channel scrambling and descrambling method and device thereof
CN101578800A (en) * 2007-01-05 2009-11-11 高通股份有限公司 Pilot transmission in a wireless communication system
US20150282183A1 (en) * 2014-03-25 2015-10-01 Alexander Sverdlov Apparatus, method and system of scrambling a wireless transmission

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1691656A (en) * 2004-04-26 2005-11-02 上海明波通信技术有限公司 Method for generating scrambling code in digital communication system and apparatus therefor
CN101578800A (en) * 2007-01-05 2009-11-11 高通股份有限公司 Pilot transmission in a wireless communication system
CN101534174A (en) * 2008-03-12 2009-09-16 华为技术有限公司 Physical channel scrambling and descrambling method and device thereof
US20150282183A1 (en) * 2014-03-25 2015-10-01 Alexander Sverdlov Apparatus, method and system of scrambling a wireless transmission

Similar Documents

Publication Publication Date Title
US11057150B2 (en) Polar code transmission method and apparatus
WO2018137567A1 (en) Decoding method and apparatus for polar code
JP2018512774A (en) Method and apparatus for uplink data transmission
JP5919029B2 (en) Method for reducing latency in LTE downlink implementation
KR20170102173A (en) Data transfer method and device
CN109792298B (en) Sub-channel mapping
US20200359364A1 (en) Channel transmission method and apparatus
AU2018328362A1 (en) Encoding method and apparatus
RU2725430C1 (en) Mcs for long ldpc codes
CN108574558B (en) Method and device for transmitting control information
JP7242541B2 (en) Wireless communication method and wireless communication device
WO2018127139A1 (en) Control information transmission method and apparatus
US11218250B2 (en) Information adding method and apparatus
CN110476357B (en) Polarization code transmission method and device
JP6903390B2 (en) Communication method and communication device
WO2019024815A1 (en) Segmented encoding method and device
KR20200029578A (en) Coding method and device
TWI791023B (en) Method and apparatus for encoding input data as polar code, decoding method and apparatus for decoding code word
WO2016000197A1 (en) Decoding method and device
WO2017143489A1 (en) Method, apparatus and system for initializing scrambling code generator
WO2018171776A1 (en) Method and device for sending broadcast information indication
US11218248B2 (en) Channel encoding method and device
CN111525980B (en) Decoding method and device
WO2018228506A1 (en) Information transmission method, terminal device and network device
CN110741698B (en) Method and apparatus for bit number calculation and scrambling of cyclic redundancy check/parity distributed polarization codes

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16890943

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16890943

Country of ref document: EP

Kind code of ref document: A1