Data transmission method, device, and system
10313044 ยท 2019-06-04
Assignee
Inventors
Cpc classification
H04W72/21
ELECTRICITY
H04B7/1858
ELECTRICITY
H04W72/23
ELECTRICITY
H04B1/70712
ELECTRICITY
H04W16/00
ELECTRICITY
H04W16/14
ELECTRICITY
H04W48/16
ELECTRICITY
International classification
H04B7/185
ELECTRICITY
Abstract
The present invention relates to the communications field, and discloses a data transmission method, a device, and a system, so as to resolve a problem in the prior art that user equipment cannot correctly parse data or measure a channel due to incapability of identifying different operators. A specific solution is: obtaining a scrambling code sequence, where the scrambling code sequence is generated according to a specific sequence of an operator to which a first device belongs; scrambling data according to the scrambling code sequence to obtain the scrambled data; and sending the scrambled data. The present invention is used for data transmission.
Claims
1. A data transmission method comprising: obtaining, by a first device, a scrambling code sequence by: generating, by the first device, a scrambling code seed according to a specific sequence of an operator to which the first device belongs, and generating, by the first device, the scrambling code sequence according to the scrambling code seed by representing the specific sequence of the operator to which the first device belongs as a k-bit binary number to be used as k bits of the scrambling code seed, wherein remaining bits of the scrambling code seed are 0, the scrambling code seed comprises 31 bits in total, and k is an integer between 1 and 31; scrambling, by the first device, data according to the scrambling code sequence, wherein scrambling the data distinguishes the data as being associated with the operator; and sending, by the first device, the scrambled data.
2. The method according to claim 1, wherein generating the scrambling code seed comprises: generating, by the first device, the scrambling code seed according to the specific sequence of the operator to which the first device belongs and a cell-specific sequence of the first device.
3. The method according to claim 1, wherein the method further comprises: sending, by the first device, the scrambling code seed.
4. The method according to claim 1, wherein the data is a cyclic redundancy check (CRC) code.
5. The method according to claim 1, wherein the specific sequence of the operator to which the first device belongs comprises a mobile network code (MNC) and/or a mobile country code (MCC).
6. The method according to claim 1, wherein the data is data on a physical broadcast channel (PBCH), a physical downlink shared channel (PDSCH), a physical downlink control channel (PDCCH), a physical control format indicator channel (PCFICH), a physical multicast channel (PMCH), a cell-specific reference signal (CRS), an enhanced physical downlink control channel (EPDCCH), a demodulation reference signal (DM-RS), a positioning reference signal (PRS), a channel state information-reference signal (CSI-RS), a physical uplink shared channel (PUSCH), a physical uplink control channel (PUCCH), a sounding reference signal (SRS), or a demodulation reference signal (DM-RS) for a physical uplink shared channel.
7. A first device comprising: a memory configured to store computer executable instructions; a processor configured to execute the computer executable instructions; a bus; a transmitter, wherein the processor, the memory, and the transmitter are connected to each other via the bus; wherein the processor is further configured, when executing the computer executable instructions, to obtain a scrambling code sequence by: generating a scrambling code seed according to a specific sequence of an operator to which the first device belongs, and generating the scrambling code sequence according to the scrambling code seed by representing the specific sequence of the operator to which the first device belongs as a k-bit binary number to be used as k bits of the scrambling code seed, wherein remaining bits of the scrambling code seed are 0, the scrambling code seed comprises 31 bits in total, and k is an integer between 1 and 31, and scrambling data according to the scrambling code sequence for distinguishing the data as being associated with the operator, and the transmitter is configured to cooperate with the processor to send the data scrambled by the processor.
8. The device according to claim 7, wherein the processor is further configured to generate the scrambling code seed according to the specific sequence of the operator to which the first device belongs and a cell-specific sequence of the first device.
9. The device according to claim 7, wherein the transmitter is further configured to send the scrambling code seed.
10. The device according to claim 7, wherein the first device is a base station or user equipment.
11. A second device comprising: a memory configured to store computer executable instructions; a processor configured to execute the computer executable instructions; a bus; a receiver, wherein the processor, the memory, and the receiver are connected to each other via the bus; wherein the processor is further configured, when executing the computer executable instructions, to: obtain a scrambling code sequence, wherein a scrambling code seed is generated according to a specific sequence of an operator to which the first device belongs, and the scrambling code sequence is generated according to the scrambling code seed by representing the specific sequence of the operator to which the second device belongs as a k-bit binary number to be used as k bits of the scrambling code seed, wherein remaining bits of the scrambling code seed are 0, the scrambling code seed comprises 31 bits in total, and k is an integer between 1 and 31; the receiver is configured to cooperate with the processor to receive scrambled data associated with the operator; and the processor is further configured to demodulate, according to the obtained scrambling code sequence, the scrambled data and, based on a successful demodulation, determine that the scrambled data is associated with the operator.
12. The device according to claim 11, wherein the processor is further configured to generate the scrambling code seed according to the specific sequence of the operator to which the second device belongs and a cell-specific sequence of the second device.
13. The device according to claim 11, wherein the receiver is further configured to cooperate with the processor to receive the scrambling code seed; and wherein the processor is further configured to generate the scrambling code sequence according to the scrambling code seed received by the receiver.
14. The device according to claim 11, wherein the second device is a base station or user equipment.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1) To describe the technical solutions in the embodiments of the present invention more clearly, the following briefly describes the accompanying drawings for describing the embodiments. The accompanying drawings in the following description show merely some embodiments of the present invention, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
DESCRIPTION OF EMBODIMENTS
(10) The following clearly describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. The described embodiments are merely some but not all of the embodiments of the present invention. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
(11) An embodiment of the present invention provides a data transmission method. Optionally, the data transmission method is applicable to a first device in a wireless network. Optionally, the first device may be a base station or user equipment. Certainly, the first device may be another network device. This is not limited in the present invention. In the present invention, the name of the first device is only used for convenience of distinguishing, but is not used to limit the device. Referring to
(12) 101: The first device obtains a scrambling code sequence.
(13) The scrambling code sequence is generated according to a specific sequence of an operator to which the first device belongs. The specific sequence of the operator to which the first device belongs is used to indicate that data to be transmitted is data of the operator to which the first device belongs.
(14) Preferably, a scrambling code seed may be generated according to the specific sequence of the operator to which the first device belongs, and the scrambling code sequence is generated according to the scrambling code seed. The first device may further send the scrambling code seed to a receiving device, so that the receiving device generates a scrambling code sequence according to the scrambling code seed and then descrambles received data.
(15) Optionally, the specific sequence of the operator to which the first device belongs may be an ID (identity) of the operator to which the first device belongs. The ID of the operator to which the first device belongs may include an MNC (mobile network code), or the ID of the operator to which the first device belongs includes an MNC and an MCC (mobile country code).
(16) 102: The first device scrambles data according to the scrambling code sequence.
(17) Preferably, the data may be scrambled according to the scrambling code sequence and a first formula. The first formula is B(i)=(b(i)+c(i))mod 2. B(i) is a value of an i.sup.th bit of the scrambled data, b(i) is a value of an i.sup.th bit of the unscrambled data, c(i) is a value of an i.sup.th bit of the scrambling code sequence, and i is an integer greater than or equal to 0. mod 2 represents performing a binary modulo-2 operation on two numbers. That is, no carry is produced during binary calculation. For example, 1+1=0, 0+1=1, and 0+0=0. Certainly, the first formula is used herein merely as an example for description, and it does not represent that the scrambling can be performed by using only the first formula in the present invention. For details about how to perform scrambling and for a scrambling algorithm to be used, no limitation is imposed in the present invention.
(18) 103: The first device sends the scrambled data.
(19) Optionally, the first device may further send the scrambling code seed or the scrambling code sequence. Optionally, the first device sends the scrambled data on a first time-frequency resource. The first time-frequency resource may be a time-frequency resource shared by the operator to which the first device belongs and another operator.
(20) According to the data transmission method provided in this embodiment of the present invention, data is scrambled by using a scrambling code sequence that is generated according to a specific sequence of an operator to which a first device belongs. In this way, user equipment performs descrambling according to the corresponding scrambling code sequence, and data of another operator cannot be correctly descrambled and therefore can be directly discarded. Data of different operators is distinguished. Therefore, a problem that user equipment cannot correctly parse data or measure a channel due to incapability of identifying different operators is resolved.
(21) Corresponding to the embodiment that corresponds to
(22) 201: The second device obtains a scrambling code sequence.
(23) The scrambling code sequence is generated according to a specific sequence of an operator to which the second device belongs. The specific sequence of the operator to which the second device belongs is used to indicate that scrambled data is data of the operator to which the second device belongs.
(24) Preferably, a first device and the second device belong to a same operator. The second device may receive the scrambling code sequence sent by the first device, or receive a scrambling code seed sent by the first device, or receive a scrambling code seed sent by a third party device, or obtain a prestored scrambling code seed. Preferably, the scrambling code seed may be generated by the first device according to the specific sequence of the operator to which the second device belongs. The first device and the second device belong to a same operator. The second device generates the scrambling code sequence according to the received scrambling code seed. Alternatively, the second device generates a scrambling code seed according to the specific sequence of the operator to which the second device belongs, and generates the scrambling code sequence according to the scrambling code seed.
(25) 202: The second device receives scrambled data.
(26) Preferably, the second device receives the scrambled data that is sent by the first device on a first time-frequency resource. The first device and the second device belong to a same operator. The first time-frequency resource is a time-frequency resource shared by the operator to which the second device belongs and another operator.
(27) 203: The second device descrambles the scrambled data according to the scrambling code sequence.
(28) According to the data transmission method provided in this embodiment of the present invention, received scrambled data is scrambled according to a scrambling code sequence that is generated according to a specific sequence of an operator to which a second device belongs. In this way, user equipment performs descrambling according to the corresponding scrambling code sequence, and data of another operator cannot be correctly descrambled and therefore can be directly discarded. Operators are distinguished. Therefore, a problem that user equipment cannot correctly parse data or measure a channel due to incapability of identifying different operators is resolved.
(29) Based on the embodiments that correspond to
(30) Preferably, the first device and the second device may be network side devices, for example, eNBs (evolved Node B) in an LTE (Long Term Evolution) system. Alternatively, the first device is a network side device, and the second device is user equipment. Alternatively, the first device and the second device are both user equipment. In this case, the first device and the second device communicate in a D2D (device to device) manner. Certainly, it is only an example for description herein, and it does not represent that the present invention is limited thereto. Referring to
(31) 301: The first device generates a scrambling code seed according to a specific sequence of an operator to which the first device belongs.
(32) Optionally, the specific sequence of the operator to which the first device belongs may be an ID of the first operator. The ID of the first operator may include an MNC, or the ID of the operator to which the first device belongs includes an MNC and a mobile country code MCC. Preferably, the specific sequence of the operator to which the first device belongs may be a PLMN (public land mobile network) ID, and the PLMN ID includes an MNC and an MCC. Certainly, it is only an example for description herein. Specific content of the specific sequence of the operator to which the first device belongs is not limited in the present invention.
(33) Optionally, the scrambling code seed totally includes 31 bits. The specific sequence of the operator to which the first device belongs is represented as a k-bit binary number to be used as k bits of the scrambling code seed. Remaining bits of the scrambling code seed are 0, and k is an integer falling within a range of (0, 31]. Preferably, the k-bit binary number represented by using the specific sequence of the operator to which the first device belongs is used as first k bits or last k bits of the scrambling code seed.
(34) Alternatively, optionally, the scrambling code seed is generated according to the specific sequence of the operator to which the first device belongs, a first seed, and a first algorithm. Further, optionally, the first seed is a cell-specific sequence or an original seed. The original seed is a scrambling code seed originally used for scrambling in the prior art. The first algorithm is an exclusive OR algorithm. Certainly, the first algorithm may be another algorithm. This is not limited in the present invention.
(35) The exclusive OR algorithm is used as an example. Specifically, the scrambling code seed may be generated according to the specific sequence of the operator to which the first device belongs and a fourth formula. The fourth formula is c.sub.init=R.sub.IDN.sub.ID, where c.sub.init is the scrambling code seed, R.sub.ID is the specific sequence of the operator to which the first device belongs, N.sub.ID is the first seed, and represents an exclusive OR operation. Certainly, the scrambling code seed may be generated by using another operation. This is not limited in the present invention.
(36) A cell ID is used as an example. Specifically, the scrambling code seed may be PLMN IDcell ID ( represents connecting two specific serial numbers together), or the scrambling code seed may be MNCcell ID. Certainly, the two ID combination manners are not limited to simply connecting together.
(37) Certainly, the first device may obtain the scrambling code seed by other means, and the scrambling code seed is not necessarily generated by the first device. In addition, generation of the scrambling code seed by the first device is not limited to the foregoing manners. The scrambling code seed may be generated by means of another operation, as long as different operators can be distinguished by using different scrambling code seeds. A specific form of the scrambling code seed is not limited in the present invention.
(38) Preferably, the first device may send the scrambling code seed to the second device. The scrambling code seed may be sent by means of a broadcast, and this is not limited in the present invention. Alternatively, a third party device may separately send the scrambling code seed to the first device and the second device.
(39) 302: The first device generates a scrambling code sequence according to the scrambling code seed.
(40) Specifically, optionally, a first sequence is generated according to the scrambling code seed and a second formula, and the scrambling code sequence is generated according to the first sequence, a second sequence, and a third formula. The second formula is c.sub.init=.sub.i=0.sup.30x(i).Math.2.sup.i, the second sequence is y(0)=1, y(m)=0, m=1, 2, . . . , 30, and the third formula is C(n)=(x(n+Nc)+y(n+Nc))mod 2.
(41) In the present invention, mod 2 represents performing a modulo-2 operation on binary numbers. That is, no carry is produced during binary calculation. For example, 1+1=0, 0+1=1, and 01=1. n is an integer greater than or equal to 0, i is an integer falling within a range of [0, 30], m is an integer falling within a range of [1, 30], c.sub.init is the scrambling code seed, x(i) represents an i.sup.th bit of the first sequence, C(n) represents a value of an n.sup.th bit of the scrambling code sequence, Nc is a preset parameter, where preferably Nc=1600, and x(n+Nc) and y(n+Nc) respectively represent values of an (n+Nc).sup.th bit of the first sequence and an (n+Nc).sup.th bit of the second sequence. The first sequence and the second sequence satisfy the following equations:
x(n+31)=(x(n+3)+x(n+2)+x(n+1)+x(n))mod 2
y(y+31)=(y(n+3)+y(n))mod 2
(42) x(n+31) and y(n+31) respectively represent values of an (n+31).sup.th bit of the first sequence and an (n+31).sup.th bit of the second sequence, and n is an integer greater than or equal to 0.
(43) Certainly, the scrambling code sequence may be generated according to the scrambling code seed in another manner. An algorithm of generating the scrambling code sequence is not limited in the present invention.
(44) 303: The first device scrambles data according to the scrambling code sequence.
(45) Preferably, the first device scrambles the data according to the scrambling code sequence and a first formula to obtain the scrambled data. The first formula is B(i)=(b(i)+c(i)) mod 2.
(46) B(i) is a value of an i.sup.th bit of the scrambled data, b(i) is a value of an i.sup.th bit of the unscrambled data, c(i) is a value of an i.sup.th bit of the scrambling code sequence, and i is an integer greater than or equal to 0. Certainly, the first formula is used herein merely as an example for description, and data may be scrambled according to the scrambling code sequence in another manner. A specific scrambling algorithm is not limited in the present invention.
(47) Optionally, the data may be a CRC (cyclic redundancy check) code. That is, the CRC check code may be scrambled according to the specific sequence of the operator to which the first device belongs or the scrambling code seed generated by the first device. Certainly, the data may be other control information or data information. This is not limited in the present invention.
(48) Preferably, data on a PBCH (physical broadcast channel) in a subframe may be scrambled. Alternatively, other downlink and uplink data signals, reference signals or control signals may be scrambled. This is not limited in the present invention. Specifically, optionally, the downlink signal includes, but is not limited to a PDSCH (physical downlink shared channel), a PDCCH (physical downlink control channel), a PCFICH (physical control format indicator channel), a PMCH (physical multicast channel), a CRS (cell-specific reference signal), an EPDCCH (enhanced physical downlink control channel), a DM-RS (demodulation reference signal), a PRS (positioning reference signal), and a CSI-RS (channel state information-reference signal). The uplink signal includes, but is not limited to a PUSCH (physical uplink shared channel), a PUCCH (physical uplink control channel), an SRS (sounding reference signal), and a DM-RS (a demodulation reference signal for a physical uplink shared channel). Certainly, the several specific channels are only used as examples for description herein, and it does not represent that the present invention is limited thereto.
(49) 304: The second device obtains a scrambling code sequence.
(50) Preferably, the second device receives the scrambling code sequence sent by the first device. Alternatively, the second device receives the scrambling code seed sent by the first device and generates the scrambling code sequence according to the scrambling code seed. Alternatively, the second device obtains a prestored scrambling code seed, and generates the scrambling code sequence according to the scrambling code seed. Certainly, the second device may obtain the scrambling code seed in another manner. This is not limited in the present invention.
(51) Specifically, optionally, a process in which the second device generates the scrambling code sequence according to the scrambling code seed is the same as a process in which the first device generates the scrambling code sequence according to the scrambling code seed in step 302, and details are not described again herein.
(52) 305: The first device sends the scrambled data to the second device.
(53) Optionally, the first device sends the scrambled data to the second device on the first time-frequency resource. The first time-frequency resource is a time-frequency resource shared by the operator to which the first device belongs and another operator. Because the first time-frequency resource may also be used by another operator, the second device may receive both the data of the operator to which the first device belongs and data of the another operator by using the first time-frequency resource. Moreover, the first device scrambles the data by using the scrambling code sequence that is generated according to the specific sequence of the operator to which the first device belongs. Correspondingly, the second device may correctly receive the data by performing descrambling by using the scrambling code sequence that is generated according to the specific sequence of the operator to which the first device belongs. However, the data of the another operator cannot be correctly descrambled and therefore can be directly discarded. In this way, a manner of performing scrambling by using a specific sequence of an operator, enables the second device to distinguish data sent by different operators.
(54) 306: The second device descrambles the scrambled data according to the scrambling code sequence.
(55) According to the data transmission method provided in this embodiment of the present invention, data is scrambled by using a scrambling code sequence that is generated according to a specific sequence of an operator to which a first device belongs. In this way, user equipment performs descrambling according to the corresponding scrambling code sequence, and data of another operator cannot be correctly descrambled and therefore can be directly discarded. Data of different operators is distinguished. Therefore, a problem that user equipment cannot correctly parse data or measure a channel due to incapability of identifying different operators is resolved.
(56) Based on the embodiments that correspond to
(57) The scrambling code unit 401 is configured to obtain a scrambling code sequence, where the scrambling code sequence is generated according to a specific sequence of an operator to which the first device belongs.
(58) The data processing unit 402 is configured to scramble data according to the scrambling code sequence obtained by the scrambling code unit.
(59) The sending unit 403 is configured to send the data scrambled by the data processing unit.
(60) Optionally, the scrambling code unit 401 is specifically configured to: generate a scrambling code seed according to the specific sequence of the operator to which the first device belongs, and generate the scrambling code sequence according to the scrambling code seed.
(61) In an application scenario, the scrambling code unit 401 is further specifically configured to represent the specific sequence of the operator to which the first device belongs as a k-bit binary number to be used as k bits of the scrambling code seed, where remaining bits of the scrambling code seed are 0, the scrambling code seed totally includes 31 bits, and k is an integer falling within a range of (0, 31].
(62) In another application scenario, the scrambling code unit 401 is further specifically configured to generate the scrambling code seed according to the specific sequence of the operator to which the first device belongs and a cell-specific sequence of the first device.
(63) Optionally, the sending unit 403 is further configured to send the scrambling code seed.
(64) Optionally, the data is a cyclic redundancy check code CRC.
(65) Optionally, the specific sequence of the operator to which the first device belongs includes a mobile network code MNC and/or a mobile country code MCC.
(66) Optionally, the data is data on a physical broadcast channel PBCH, a physical downlink shared channel PDSCH, a physical downlink control channel PDCCH, a physical control format indicator channel PCFICH, a physical multicast channel PMCH, a cell-specific reference signal CRS, an enhanced physical downlink control channel EPDCCH, a demodulation reference signal DM-RS, a positioning reference signal PRS, a channel state information-reference signal CSI-RS, a physical uplink shared channel PUSCH, a physical uplink control channel PUCCH, a sounding reference signal SRS, or a demodulation reference signal DM-RS for a physical uplink shared channel.
(67) According to the first device provided in this embodiment of the present invention, data is scrambled by using a scrambling code sequence that is generated according to a specific sequence of an operator to which the first device belongs. In this way, user equipment performs descrambling according to the corresponding scrambling code sequence, and data of another operator cannot be correctly descrambled and therefore can be directly discarded. Data of different operators is distinguished. Therefore, a problem that user equipment cannot correctly parse data or measure a channel due to incapability of identifying different operators is resolved.
(68) Based on the embodiments that correspond to
(69) The scrambling code unit is configured to obtain a scrambling code sequence, where the scrambling code sequence is generated according to a specific sequence of an operator to which the second device belongs.
(70) The receiving unit is configured to receive scrambled data.
(71) The data processing unit is configured to descramble, according to the scrambling code sequence obtained by the scrambling code unit, the scrambled data received by the receiving unit.
(72) Optionally, the scrambling code unit is specifically configured to: generate a scrambling code seed according to the specific sequence of the operator to which the second device belongs, and generate the scrambling code sequence according to the scrambling code seed.
(73) Further, in an application scenario, the scrambling code unit is further specifically configured to represent the specific sequence of the operator to which the second device belongs as a k-bit binary number to be used as k bits of the scrambling code seed, where remaining bits of the scrambling code seed are 0, the scrambling code seed totally includes 31 bits, and k is an integer falling within a range of (0, 31].
(74) In another application scenario, the scrambling code unit is further specifically configured to generate the scrambling code seed according to the specific sequence of the operator to which the second device belongs and a cell-specific sequence of the second device.
(75) Optionally, the receiving unit is further configured to receive a scrambling code seed.
(76) The scrambling code unit, is further configured to generate the scrambling code sequence according to the scrambling code seed received by the receiving unit.
(77) Optionally, the data is a cyclic redundancy check code CRC.
(78) Optionally, the specific sequence of the operator to which the second device belongs includes a mobile network code MNC and/or a mobile country code MCC.
(79) Optionally, the data is data on a physical broadcast channel PBCH, a physical downlink shared channel PDSCH, a physical downlink control channel PDCCH, a physical control format indicator channel PCFICH, a physical multicast channel PMCH, a cell-specific reference signal CRS, an enhanced physical downlink control channel EPDCCH, a demodulation reference signal DM-RS, a positioning reference signal PRS, a channel state information-reference signal CSI-RS, a physical uplink shared channel PUSCH, a physical uplink control channel PUCCH, a sounding reference signal SRS, or a demodulation reference signal DM-RS for a physical uplink shared channel.
(80) According to the second device provided in this embodiment of the present invention, received scrambled data is scrambled according to a scrambling code sequence that is generated according to a specific sequence of an operator to which the second device belongs. In this way, user equipment performs descrambling according to the corresponding scrambling code sequence, and data of another operator cannot be correctly descrambled and therefore can be directly discarded. Operators are distinguished. Therefore, a problem that user equipment cannot correctly parse data or measure a channel due to incapability of identifying different operators is resolved.
(81) Based on the embodiments that correspond to
(82) The bus 603 may be an ISA (industry standard architecture) bus, a PCI (peripheral component interconnect) bus, an EISA (extended industry standard architecture) bus, or the like. The bus 603 may be classified into an address bus, a data bus, a control bus, and the like. For ease of representation, the bus in
(83) The memory 602 is used for application program code for executing the solution of the present invention. The application program code for executing the solution of the present invention is stored in the memory, and is controlled and executed by the processor 601.
(84) The memory may be a read-only memory (ROM) or a static storage device of another type that can store static information and an instruction; a random access memory (RAM) or a dynamic storage device of another type that can store information and an instruction; or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or another optical disk storage, optical disc storage (including a compact disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, or the like), a disk storage medium or another magnetic storage device, or any other medium that can be used to carry or store expected program code in a form of an instruction or a data structure and can be accessed by a computer, but is not limited thereto. These memories are connected to the processor by using the bus.
(85) The processor 601 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement this embodiment of the present invention.
(86) The processor 601 is configured to invoke the program code in the memory 602. In a possible implementation manner, when the foregoing application program is executed by the processor 601, the following functions are implemented.
(87) The processor 601 is configured to obtain a scrambling code sequence, and scramble data according to the scrambling code sequence, where the scrambling code sequence is generated according to a specific sequence of an operator to which the first device belongs.
(88) The transmitter 604 is configured to send the data scrambled by the processor 601.
(89) Optionally, the processor 601 is specifically configured to: generate a scrambling code seed according to the specific sequence of the operator to which the first device belongs, and generate the scrambling code sequence according to the scrambling code seed.
(90) Further, optionally, in an application scenario, the processor 601 is further specifically configured to represent the specific sequence of the operator to which the first device belongs as a k-bit binary number to be used as k bits of the scrambling code seed, where remaining bits of the scrambling code seed are 0, the scrambling code seed totally includes 31 bits, and k is an integer falling within a range of (0, 31].
(91) In another application scenario, the processor 601 is further specifically configured to generate the scrambling code seed according to the specific sequence of the operator to which the first device belongs and a cell-specific sequence of the first device.
(92) Optionally, the transmitter 604 is further configured to send the scrambling code seed.
(93) Optionally, the data is a cyclic redundancy check code CRC.
(94) Optionally, the specific sequence of the operator to which the first device belongs includes a mobile network code MNC and/or a mobile country code MCC.
(95) Optionally, the data is data on a physical broadcast channel PBCH, a physical downlink shared channel PDSCH, a physical downlink control channel PDCCH, a physical control format indicator channel PCFICH, a physical multicast channel PMCH, a cell-specific reference signal CRS, an enhanced physical downlink control channel EPDCCH, a demodulation reference signal DM-RS, a positioning reference signal PRS, a channel state information-reference signal CSI-RS, a physical uplink shared channel PUSCH, a physical uplink control channel PUCCH, a sounding reference signal SRS, or a demodulation reference signal DM-RS for a physical uplink shared channel.
(96) According to the first device provided in this embodiment of the present invention, data is scrambled by using a scrambling code sequence that is generated according to a specific sequence of an operator to which the first device belongs. In this way, user equipment performs descrambling according to the corresponding scrambling code sequence, and data of another operator cannot be correctly descrambled and therefore can be directly discarded. Data of different operators is distinguished. Therefore, a problem that user equipment cannot correctly parse data or measure a channel due to incapability of identifying different operators is resolved.
(97) Based on the embodiments that correspond to
(98) The bus 703 may be an ISA (industry standard architecture) bus, a PCI (peripheral component interconnect) bus, an EISA (extended industry standard architecture) bus, or the like. The bus 703 may be classified into an address bus, a data bus, a control bus, and the like. For ease of representation, the bus in
(99) The memory 702 is used for application program code for executing the solution of the present invention. The application program code for executing the solution of the present invention is stored in the memory, and is controlled and executed by the processor 701.
(100) The memory may be a read-only memory (ROM) or a static storage device of another type that can store static information and an instruction; a random access memory (RAM) or a dynamic storage device of another type that can store information and an instruction; or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or another optical disk storage, optical disc storage (including a compact disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, or the like), a disk storage medium or another magnetic storage device, or any other medium that can be used to carry or store expected program code in a form of an instruction or a data structure and can be accessed by a computer, but is not limited thereto. These memories are connected to the processor by using the bus.
(101) The processor 701 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement this embodiment of the present invention.
(102) The processor 701 is configured to invoke the program code in the memory 702. In a possible implementation manner, when the foregoing application program is executed by the processor 701, the following functions are implemented.
(103) The processor 701 is configured to obtain a scrambling code sequence, where the scrambling code sequence is generated according to a specific sequence of an operator to which the second device belongs.
(104) The receiver 704 is configured to receive scrambled data.
(105) The processor 701 is further configured to demodulate, according to the obtained scrambling code sequence, the scrambled data received by the receiver 704.
(106) Optionally, the processor 701 is specifically configured to: generate a scrambling code seed according to the specific sequence of the operator to which the second device belongs, and generate the scrambling code sequence according to the scrambling code seed.
(107) Further, optionally, in an application scenario, the processor 701 is further specifically configured to represent the specific sequence of the operator to which the second device belongs as a k-bit binary number to be used as k bits of the scrambling code seed, where remaining bits of the scrambling code seed are 0, the scrambling code seed totally includes 31 bits, and k is an integer falling within a range of (0, 31].
(108) In another application scenario, the processor 701 is further specifically configured to generate the scrambling code seed according to the specific sequence of the operator to which the second device belongs and a cell-specific sequence of the second device.
(109) Optionally, the receiver 704 is further configured to receive a scrambling code seed.
(110) The processor 701 is further configured to generate the scrambling code sequence according to the scrambling code seed received by the receiver 704.
(111) Optionally, the data is a cyclic redundancy check code CRC.
(112) Optionally, the specific sequence of the operator to which the second device belongs includes a mobile network code MNC and/or a mobile country code MCC.
(113) Optionally, the data is data on a physical broadcast channel PBCH, a physical downlink shared channel PDSCH, a physical downlink control channel PDCCH, a physical control format indicator channel PCFICH, a physical multicast channel PMCH, a cell-specific reference signal CRS, an enhanced physical downlink control channel EPDCCH, a demodulation reference signal DM-RS, a positioning reference signal PRS, a channel state information-reference signal CSI-RS, a physical uplink shared channel PUSCH, a physical uplink control channel PUCCH, a sounding reference signal SRS, or a demodulation reference signal DM-RS for a physical uplink shared channel.
(114) According to the second device provided in this embodiment of the present invention, received scrambled data is scrambled according to a scrambling code sequence that is generated according to a specific sequence of an operator to which the second device belongs. In this way, user equipment performs descrambling according to the corresponding scrambling code sequence, and data of another operator cannot be correctly descrambled and therefore can be directly discarded. Operators are distinguished. Therefore, a problem that user equipment cannot correctly parse data or measure a channel due to incapability of identifying different operators is resolved.
(115) Based on the embodiment that corresponds to
(116) The first device is the first device described in the embodiment that corresponds to
(117) Alternatively, the first device is the first device described in the embodiment that corresponds to
(118) According to the wireless network system provided in this embodiment of the present invention, data is scrambled by using a scrambling code sequence that is generated according to a specific sequence of an operator to which a first device belongs. In this way, user equipment performs descrambling according to the corresponding scrambling code sequence, and data of another operator cannot be correctly descrambled and therefore can be directly discarded. Data of different operators is distinguished. Therefore, a problem that user equipment cannot correctly parse data or measure a channel due to incapability of identifying different operators is resolved.
(119) With descriptions of the foregoing embodiments, a person skilled in the art may clearly understand that the present invention may be implemented by hardware, firmware or a combination thereof. When the present invention is implemented by software, the foregoing functions may be stored in a computer-readable medium or transmitted as one or more instructions or code in the computer-readable medium. The computer-readable medium includes a computer storage medium and a communications medium, where the communications medium includes any medium that enables a computer program to be transmitted from one place to another. The storage medium may be any available medium accessible to a computer. The following is taken as an example but is not limited: The computer readable medium may include a RAM (random access memory), a ROM (read-only memory), an EEPROM (electrically erasable programmable read-only memory), a CD-ROM (compact disc read-only memory) or other optical disk storage, a disk storage medium or other disk storage, or any other medium that can be used to carry or store expected program code in a command or data structure form and can be accessed by a computer. In addition, any connection may be appropriately defined as a computer-readable medium. For example, if software is transmitted from a website, a server or another remote source by using a coaxial cable, an optical fiber/cable, a twisted pair, a DSL (digital subscriber line) or wireless technologies such as infrared ray, radio and microwave, the coaxial cable, optical fiber/cable, twisted pair, DSL or wireless technologies such as infrared ray, radio and microwave are included in a definition of a medium to which they belong. For example, a disk and a disc used by the present invention includes a CD (compact disc), a laser disc, an optical disc, a DVD disc (digital versatile disc), a floppy disk and a Blu-ray disc, where the disk generally copies data by a magnetic means, and the disc copies data optically by a laser means. The foregoing combination should also be included in the protection scope of the computer-readable medium.
(120) The foregoing descriptions are merely specific implementation manners of the present invention, but are not intended to limit the protection scope of the present invention. Any variation or replacement readily figured out by a person skilled in the art within the technical scope disclosed in the present invention shall fall within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims. Additionally, statements made herein characterizing the invention refer to an embodiment of the invention and not necessarily all embodiments.