WO2017088157A1 - 一种通用公共无线接口cpri比特分配方法及相关设备 - Google Patents

一种通用公共无线接口cpri比特分配方法及相关设备 Download PDF

Info

Publication number
WO2017088157A1
WO2017088157A1 PCT/CN2015/095719 CN2015095719W WO2017088157A1 WO 2017088157 A1 WO2017088157 A1 WO 2017088157A1 CN 2015095719 W CN2015095719 W CN 2015095719W WO 2017088157 A1 WO2017088157 A1 WO 2017088157A1
Authority
WO
WIPO (PCT)
Prior art keywords
bit
carrier
bits
interval
wireless device
Prior art date
Application number
PCT/CN2015/095719
Other languages
English (en)
French (fr)
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/CN2015/095719 priority Critical patent/WO2017088157A1/zh
Priority to CN201580084469.0A priority patent/CN108307690B/zh
Publication of WO2017088157A1 publication Critical patent/WO2017088157A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a CPRI bit allocation method and related devices.
  • CPRI Common Public Radio Interface
  • REC Radio Equipment Controller
  • RE Radio Equipment
  • a base station is divided into two parts, a REC and an RE (one or more), each having one or more carriers, and when the REC allocates a bit for data transmission for a carrier on a certain RE, It is necessary to allocate consecutive bits for this carrier.
  • CPRI transmits bit data between REC and RE in a time-division manner, assuming that 4 bit intervals of different bit numbers (ie, C1, C2, C3, and C4) have been allocated for 4 carriers.
  • the total number of remaining bits that is, the total number of bits of the gap
  • the number of bits to be allocated that is, the total number of remaining bits is sufficient for the carrier, which causes waste of resources.
  • the embodiment of the invention provides a CPRI bit allocation method and related device, which can implement a continuous bit interval for a carrier when the CPRI link has no continuous bit interval, thereby avoiding waste of resources.
  • an embodiment of the present invention provides a wireless device controller, including:
  • a determining unit configured to determine a target number of bits to be allocated for the first carrier
  • An adjusting unit configured to adjust a general public according to the target number of bits determined by the determining unit a position of a bit interval configured for the second carrier in the CPRI link of the radio interface, where the number of remaining consecutive bits in the adjusted CPRI link is not less than the target number of bits;
  • a message generating unit configured to allocate a bit interval corresponding to the target number of bits to the first carrier based on the remaining consecutive bits, and generate interval information including a bit interval of the adjusted second carrier, and the a control message of the section information of the bit interval of the first carrier, the section information including bit number information and location information of the bit section;
  • a communication unit configured to send the control message to the wireless device
  • the communication unit is further configured to notify the wireless device to transmit data based on a bit interval in the control message by using a handover instruction encapsulated in a preset bit position in a CPRI frame where the CPRI link is located.
  • the wireless device controller further includes:
  • a detecting unit configured to detect whether the number of remaining consecutive bits in the CPRI link is less than the target number of bits, and notify the adjusting unit according to the detecting when the number of remaining consecutive bits is less than the target number of bits
  • the target bit number adjusts the position of the bit interval configured for the second carrier in the CPRI link; wherein the remaining consecutive bit number is the number of bits between every two adjacent bit intervals in the CPRI link.
  • the detecting unit is further configured to detect whether the total number of remaining bits in the CPRI link reaches the target number of bits, and notify the adjusting unit to notify the adjusting unit according to detecting that the total number of remaining bits reaches the target number of bits
  • the target number of bits adjusts a position of a bit interval configured for the second carrier in the CPRI link, wherein the total number of remaining bits is a number of bits in the CPRI link other than the bit interval.
  • the communication unit passes And the switching instruction for the preset bit position in the CPRI frame in which the CPRI link is located to notify the wireless device to transmit data based on the bit interval in the control message is:
  • the communication unit passes And the switching instruction for the preset bit position in the CPRI frame in which the CPRI link is located to notify the wireless device to transmit data based on the bit interval in the control message is:
  • the wireless device includes multiple, and the message generating unit is specifically configured to:
  • the control message corresponding to the wireless device is sent to each wireless device separately.
  • an embodiment of the present invention provides a wireless device, including:
  • a communication unit configured to receive, by the wireless device controller, a control message including interval information of a bit interval of the carrier to which the carrier belongs, and store the interval information, where the interval information includes bit number information and location information of the bit interval ;
  • the communication unit is further configured to receive a switching instruction encapsulated in a preset bit position in a CPRI frame where the CPRI link of the common public wireless interface is located;
  • a switching unit configured to switch a bit interval corresponding to the carrier to a bit interval in the control message to transmit data based on the bit interval in the control message, in response to the switching instruction.
  • the communication unit is further configured to, in response to the switching instruction, switch a bit interval corresponding to a carrier to a bit interval in the control message, to be based on a bit interval in the control message.
  • the data is transmitted through a current bit interval corresponding to the carrier in the CPRI link, where the current bit interval is a bit interval configured by the wireless device controller to be a carrier before the control message is received.
  • the preset location is a control in a CPRI frame where the CPRI link is located The word or the data bit in the CPRI frame in which the CPRI link is located.
  • an embodiment of the present invention provides a CPRI bit allocation method, including:
  • the wireless device is notified to transmit data based on a bit interval in the control message by a handover instruction encapsulated in a preset bit position in a CPRI frame in which the CPRI link is located.
  • the method before the adjusting a location of a bit interval configured for the second carrier in the CPRI link according to the target number of bits, the method further includes: :
  • the method further includes:
  • the switching instruction of the preset bit position in the CPRI frame in which the CPRI link is located instructs the wireless device to transmit data based on the bit interval in the control message, including:
  • the wireless device includes multiple, and the generating, by using the adjusted interval information of the bit interval of the second carrier, and the control information of the interval information of the bit interval of the first carrier, include:
  • the sending the control message to the wireless device includes:
  • the control message corresponding to the wireless device is sent to each wireless device separately.
  • an embodiment of the present invention provides a CPRI bit allocation method, including:
  • the method further includes:
  • the preset location is a control in a CPRI frame where the CPRI link is located The word or the data bit in the CPRI frame in which the CPRI link is located.
  • an embodiment of the present invention provides a CPRI bit allocation system, including: a wireless device controller and at least one wireless device; wherein
  • the wireless device controller is configured to determine a target number of bits to be allocated for the first carrier, and adjust a position of the bit interval configured for the second carrier in the CPRI link according to the target number of bits, where the adjusted The number of remaining consecutive bits in the CPRI link is not less than the target number of bits; the bit interval corresponding to the target number of bits is allocated to the first carrier based on the remaining consecutive bits, and the generated a section message of a bit interval of a second carrier and a control message of section information of a bit section of the first carrier, the section information including bit number information and location information of the bit section; and transmitting the control to the wireless device Message
  • the wireless device is configured to receive, by the wireless device controller, a control message that includes interval information of a bit interval of a carrier that is a carrier, and store the interval information;
  • the wireless device controller is further configured to notify the wireless device to transmit data based on a bit interval in the control message by using a switching instruction encapsulated in a preset bit position in a CPRI frame where the CPRI link is located;
  • the wireless device is further configured to receive a switching instruction encapsulated in a preset bit position in a CPRI frame where the CPRI link is located; and, in response to the switching instruction, switch a bit interval corresponding to the carrier to a bit interval in the control message Up, transmitting data based on a bit interval in the control message.
  • an embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a program, and the program includes the step of including part or all of the CPRI bit allocation of the third aspect.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a program, and the program includes some or all of the steps of the CPRI bit allocation method of the fourth aspect.
  • an embodiment of the present invention provides a wireless device controller, including: a communication interface, a memory, and a processor, where the processor is respectively connected to the communication interface and the memory;
  • the memory is used to store driver software
  • the processor reads the driver software from the memory and executes it under the action of the driver software:
  • the wireless device to transmit data based on a bit interval in the control message by a switching instruction encapsulated in a CPRI frame in which the CPRI link is located.
  • the processor before performing the adjusting the position of the bit interval configured for the second carrier in the CPRI link according to the target number of bits, Also used to perform the following steps:
  • the processor is further configured to perform the following steps:
  • the wireless device includes multiple pieces, and the processor performs the generating interval information including a bit interval of the adjusted second carrier and a bit interval of the first carrier. For the control message of the interval information, perform the following steps:
  • the processor is configured to send the control message to the wireless device, and specifically perform the following steps:
  • an embodiment of the present invention provides a wireless device, including: a communication interface, a memory, and a processor, where the processor is respectively connected to the communication interface and the memory;
  • the memory is used to store driver software
  • the processor reads the driver software from the memory and executes it under the action of the driver software:
  • a control message of the section information including the bit interval of the carrier to which the wireless device controller transmits, and storing the section information, wherein the section information includes the bit number information and the location information of the bit section ;
  • the processor is configured to switch the bit interval corresponding to the carrier to the bit interval in the control message by performing the responding to the switching instruction The above steps are also performed before the data is transmitted based on the bit interval in the control message:
  • the preset location is a control in a CPRI frame where the CPRI link is located The word or the data bit in the CPRI frame in which the CPRI link is located.
  • the position of the bit interval is adjusted by the carrier of the configured bit interval, so that the bit number configuration of the existing carrier is not affected.
  • the CPRI bit interval for data transmission is effectively allocated for the new carrier, and the bit interval corresponding to all carriers is switched by the control word or the data bit to notify the RE lossless (minor loss), thereby realizing the full utilization of the CPRI bit, even Reach 100% utilization. Therefore, the problem that the continuous bit allocation of the new carrier cannot be satisfied due to fragmentation of the CPRI bit allocation in one CPRI link is solved, and resource waste is avoided.
  • FIG. 1 is a schematic diagram of a CPRI bit allocation in the prior art
  • FIG. 2 is a network architecture diagram provided by an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a CPRI basic frame according to an embodiment of the present invention.
  • FIG. 3b is a schematic structural diagram of another CPRI basic frame according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a wireless device controller according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a current carrier bit configuration according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram of a sending control message according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of switching of a bit interval according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a wireless device according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic flowchart of a CPRI bit allocation method according to an embodiment of the present invention.
  • FIG. 10 is a schematic flowchart diagram of another CPRI bit allocation method according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a CPRI bit allocation system according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of another wireless device controller according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram of another wireless device according to an embodiment of the present invention.
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • UMTS Universal Mobile Telecommunication System
  • WLAN Wireless Local Area Networks
  • FIG. 2 is a network architecture diagram provided by an embodiment of the present invention.
  • the CPRI specification can be used for data transmission between the REC and the RE of the base station.
  • the base station is divided into an REC and at least one RE (two shown in the figure), and each RE has one or more carriers, and the REC needs to allocate each carrier on each RE for data transmission.
  • the bits are specifically allocated consecutive bit intervals. The bit interval is determined according to the bit number information of the carrier requirement and the location information.
  • the basic concepts of CPRI bit transmission are described below.
  • the data transmission between the REC and the RE is based on the data transmission of the CPRI frame, wherein one CPRI frame period is 10 ms.
  • Each frame is divided into 150 superframes, each of which is approximately 66.7 us (microseconds).
  • a CPRI basic frame contains a control word and an IQ data portion for transmitting IQ data to be transmitted.
  • FIG. 3a when the CPRI rate is 614.4 Mbit/s, the structure of its basic frame is as shown in FIG. 3a.
  • the gray part in Fig. 3a is the IQ data part, which is 120 bits; the black part is the control word.
  • the basic frame is as shown in FIG. 3b, and the number of bits of the IQ data portion is 240 bits, and the same black portion is the control word.
  • the number of IQ bits corresponding to the basic frame is different at other CPRI rates, and is not described here.
  • the allocation of the number of bit bits in the CPRI link in the embodiment of the present invention is the allocation of the number of bits of the IQ part of the CPRI basic frame. That is to say, the CPRI link in the embodiment of the present invention can correspond to the basic frame, and the time period is 260 ns, and the data of each carrier on each RE is transmitted in the bit interval allocated for each basic frame, that is, every successive 260 ns. .
  • the number of bits allocated by a carrier on a basic frame is directly related to its bandwidth, and the bit allocation rule can be set according to different requirements.
  • the UMTS carrier (5Mhz) can allocate 24 bits in a downlink frame in the downlink direction
  • the LTE carrier (20Mhz) 240 bits can be allocated on one basic frame in the downlink direction, and so on, and in the case of data compression, the number of allocated bits is correspondingly reduced.
  • the embodiment of the invention discloses a CPRI bit allocation method, a related device and a system, which can implement a continuous bit interval for a carrier when the CPRI link has no continuous bit interval. The details are explained below.
  • FIG. 4 is a schematic structural diagram of a wireless device controller according to an embodiment of the present invention.
  • the wireless device controller in the embodiment of the present invention includes a determining unit 11 and an adjusting unit 12, The message generating unit 13 and the communication unit 14. among them,
  • the determining unit 11 is configured to determine a target number of bits to be allocated for the first carrier.
  • the target number of bits is the number of bits that need to be allocated for the first carrier for transmitting data.
  • the first carrier is a bit interval that needs to newly allocate a certain number of bits, that is, a target number of bits, for a carrier for data transmission, such as a newly added carrier on a certain RE in a communication system composed of the REC and the RE.
  • the carrier on the new RE added by the addition of the RE, and the like, are not limited in the embodiment of the present invention.
  • the adjusting unit 12 is configured to adjust a position of a bit interval configured for the second carrier in the CPRI link of the universal public radio interface according to the target number of bits determined by the determining unit 11.
  • the second carrier is a carrier in which a bit interval for data transmission is allocated in the CPRI link, and a bit interval configured for the second carrier is based on bit number information of bits allocated for the second carrier. And the location information is determined. Further, the number of remaining consecutive bits in the adjusted CPRI link is not less than the target number of bits.
  • the CPRI link of the embodiment of the present invention may correspond to the IQ data part of the foregoing one of the CPRI basic frames, and allocate data for each carrier based on the IQ data part for data transmission.
  • the determining unit 11 determines the number of bits to be allocated for the new carrier, that is, the first carrier, that is, the target number of bits
  • the adjusting unit 12 can perform position adjustment of the bit interval of the carrier of the allocated bit.
  • FIG. 5 is a schematic structural diagram of a current carrier bit configuration according to an embodiment of the present invention.
  • the base station is divided into REC and RE0, RE1 (ie, two REs), and there are two carriers on RE0, namely C1 and C3, and there are also two carriers on RE1, which are C2 and C4, respectively.
  • the CPRI link that is, the IQ data portion is divided into 20 bit blocks (each bit block) The number of bits is determined by the number of bits corresponding to the IQ data portion.
  • bit intervals ie, the current configuration
  • C1 corresponds to bit block 1-3, that is, the bit interval is 1- 3.
  • the bit interval of C3 is 12-15
  • the bit interval of C2 is 6-9
  • the bit interval of C4 is 18-20
  • the remaining bits include bit blocks 4-5, 10-11 and 16-17.
  • C1, C2, C3, and C4 can be used as the second carrier described above.
  • the message generating unit 13 is configured to allocate a bit interval corresponding to the target number of bits to the first carrier based on the remaining consecutive bits, and generate interval information including a bit interval of the adjusted second carrier. And a control message of the section information of the bit interval of the first carrier.
  • the interval information may include bit number information and location information of the bit interval.
  • the communication unit 14 is configured to send the control message to a wireless device.
  • the message generating unit 13 may determine the location information corresponding to the target number of bits, which is the first carrier. Determining a bit interval corresponding to the position information, that is, the number of target bits determined by the determining unit 11, and generating a control message including the section information of the bit intervals of the adjusted carriers (ie, the first carrier and the second carrier), The communication unit 14 sends the control message to each RE, so that each RE stores the control message, so as to perform subsequent switching of the bit interval in time to transmit data according to the adjusted bit interval.
  • the wireless device controller REC may further include (not shown):
  • the detecting unit 15 is configured to detect whether the number of remaining consecutive bits in the CPRI link is less than the target number of bits, and notify the adjusting unit 12 to notify the adjusting unit 12 according to the detection that the remaining consecutive number of bits is smaller than the target number of bits.
  • the target number of bits adjusts a position of a bit interval configured for the second carrier in the CPRI link; wherein the remaining consecutive number of bits is a number of bits between every two adjacent bit intervals in the CPRI link.
  • the detecting unit 15 is further configured to detect whether the total number of remaining bits in the CPRI link reaches the target number of bits, and notify the adjusting unit when detecting that the total number of remaining bits reaches the target number of bits Adjusting, according to the target number of bits, a position of a bit interval configured for the second carrier in the CPRI link, wherein the total number of remaining bits is the bit interval in the CPRI link The number of bits other than .
  • the detecting unit 15 may detect whether all the remaining bits in the CPRI link, that is, the total number of remaining bits, are sufficient. That is, whether it is not less than the target number of bits, if not less than the target number of bits, the adjustment unit 12 can perform position adjustment of the bit interval of the carrier (ie, the second carrier) of the allocated bit.
  • the detecting unit 15 can also detect whether there are enough consecutive bits in the CPRI link, that is, a bit interval that is not smaller than the target number of bits. If the remaining consecutive bits are insufficient, the allocated unit 12 performs the allocated bits.
  • the detecting unit 15 may further detect whether the total number of remaining bits in the CPRI link reaches the target number of bits when detecting that the number of remaining consecutive bits in the CPRI link is less than the target number of bits, When the target number of bits is reached, that is, not less than the target number of bits, the adjustment unit 12 performs position adjustment of the bit interval of the carrier of the allocated bit.
  • FIG. 6 is a schematic diagram of a sending control message according to an embodiment of the present invention.
  • the new carrier C5 needs to be allocated consecutive bits for data transmission, and the number of target bits allocated for the C5 is assumed to be 4 bit blocks.
  • the adjusting unit 12 adjusts the position of the bit interval allocated for the second carrier according to the 4 bit blocks allocated for the C5, that is, adjusts the positions of C1, C3, C2, and C4 to ensure that 4 consecutive bits are allocated for C5.
  • the bit interval of the block is a schematic diagram of a sending control message according to an embodiment of the present invention.
  • the adjusted (pre-configured) C1 corresponding bit interval is bit block 1-3 (unchanged), the C3 bit interval is 8-11, the C2 bit interval is 4-7, and the C4 bit interval is It is 12-14.
  • the bit interval including the four bit blocks of the bit blocks 15-18 is allocated to the new carrier C5, and the message generating unit 13 can generate a control message including the section information of the bit interval of each carrier, and send it to each by the communication unit 14.
  • RE After receiving the control message including the section information of the bit section corresponding to the carrier, the RE stores the section information and returns an acknowledgement message to the REC.
  • the wireless device may include multiple, and the message generating unit 13 is specifically configured to:
  • the control message corresponding to the wireless device is sent to each wireless device separately.
  • the message generating unit 13 may generate control messages corresponding to different REs according to carriers that belong to different REs, and send them to the corresponding REs through the communication unit 14.
  • the message generating unit 13 may generate two control messages according to RE0 and RE1, that is, a control message corresponding to RE0 and a control message corresponding to RE1.
  • the control message corresponding to the RE0 includes the section information of the bit interval of the adjusted carriers C1 and C3, and the control message corresponding to the RE1 includes the section information of the adjusted carrier C2, C4 and the bit interval of the newly added C5.
  • the control message can be separately sent to the corresponding RE through the communication unit 14.
  • RE0 and RE1 store the adjusted section information and return an acknowledgement message to the REC, respectively.
  • the communication unit 14 is further configured to notify the wireless device to transmit data based on a bit interval in the control message by using a handover instruction encapsulated in a preset bit position in a CPRI frame where the CPRI link is located.
  • the communication unit 14 notifies the wireless device to use the bit interval in the control message by using a switching instruction encapsulated in a preset bit position in a CPRI frame where the CPRI link is located.
  • the specific way to transfer data can be:
  • the preset switching instruction is encapsulated in a control word in a CPRI frame in which the CPRI link is located, and the wireless device is notified by the control word to transmit data according to a bit interval in the control message.
  • the communication unit 14 notifies the wireless device to use the bit interval in the control message by using a switching instruction encapsulated in a preset bit position in a CPRI frame where the CPRI link is located.
  • the specific way to transfer data can also be:
  • the communication unit 14 may also pass through the CPRI frame.
  • the control word even the data bit, that is, the IQ data portion notifies each RE to receive/send data according to the bit interval in the previously received control message, that is, triggers the pre-configuration to take effect.
  • control message cannot be used to notify each RE according to the bit area in the control message.
  • Data is transmitted between, because the control message has no precise time and cannot control the switching time of the CPRI bit interval.
  • the control word or data bit has a clear correspondence with the CPRI slot, which is suitable for switching the CPRI bit interval.
  • FIG. 7 is a schematic diagram of switching of a bit interval according to an embodiment of the present invention.
  • switching control word a preset control word of the CPRI frame
  • the communication unit 14 can notify RE0 and RE1 of the bit interval by the control word.
  • RE0 and RE1 receive the control word
  • the bit interval corresponding to the carrier can be switched from the current bit interval (current configuration) to the bit interval (pre-configuration) indicated by the received control message to be based on the control message.
  • the bit interval in the transmission of data.
  • the RE can notify the REC of the handover success message. Therefore, it is possible to realize a continuous bit interval for the carrier when the CPRI link has no continuous bit interval, thereby avoiding waste of resources.
  • FIG. 8 is a schematic structural diagram of a wireless device according to an embodiment of the present invention.
  • the wireless device in the embodiment of the present invention includes a communication unit 21 and a switching unit 22. among them,
  • the communication unit 21 is configured to receive a control message that is sent by the wireless device controller, including the section information of the bit interval of the carrier, and store the section information, where the section information includes the bit number information of the bit interval. And location information.
  • the REC may adjust the position of the bit interval corresponding to the second carrier of the allocated bits in the CPRI link according to the target number of bits, and allocate the target bit to the first carrier. And corresponding to the bit interval, and generating a control message including the section information of the adjusted bit interval of the second carrier and the section information of the bit interval of the first carrier.
  • the section information includes bit number information and location information of the bit interval.
  • the RE may store the interval information of the bit interval pre-configured (ie, adjusted) for the carrier on the RE included in the control message, so as to be The control message performs a switching of the bit interval and transmits data according to the pre-configured bit interval.
  • the RE can also be returned to the REC through the communication unit 21 for confirmation. An acknowledgment message of the control message is received, so that the REC initiates a bit interval switching indication based on the control message.
  • the communication unit 21 is further configured to receive a switching instruction encapsulated in a preset bit position in a CPRI frame where the general public wireless interface CPRI link is located.
  • the preset location is a control word in a CPRI frame where the CPRI link is located or a data bit in a CPRI frame where the CPRI link is located.
  • the switching unit 22 is configured to, in response to the switching instruction, switch a bit interval corresponding to the carrier to a bit interval in the control message to transmit data based on a bit interval in the control message.
  • the communication unit 21 is further configured to: in response to the switching instruction, switch a bit interval corresponding to a carrier to a bit interval in the control message to transmit data according to a bit interval in the control message. Transmitting data through a current bit interval corresponding to a carrier in the CPRI link.
  • the current bit interval (current configuration) is a bit interval configured by the wireless device controller for the associated carrier before receiving the control message. That is, the switching unit 22 transmits data according to the original bit interval (ie, the current bit interval described above) before switching the bit interval according to the control information to transmit data based on the adjusted bit interval. Thereby, the seamless switching is implemented based on the preset position, such as the switching instruction corresponding to the control word, so that the system capacity is increased, and the CPRI data transmission efficiency is improved to some extent.
  • the communication unit 21 when receiving the switching instruction corresponding to the preset position in the CPRI frame, the communication unit 21 can perform real-time processing by the switching unit 22, and the carriers on the RE are from the original bit interval (ie, the above The current bit interval is switched to the pre-configured bit interval in the control message for data transmission, thereby implementing lossless (minor loss) switching.
  • the REC encapsulates the switching instruction in a preset control word of the CPRI frame (referred to as "switching control word" in the figure), and the control word notifies RE0 and RE1 to perform bit interval switching.
  • the switching unit 22 can switch based on the bit interval corresponding to the carrier from the current bit interval (current configuration) to the bit interval (pre-configuration) indicated by the received control message, based on The bit interval in the control message transmits data.
  • the method for implementing the bit interval switching by using the control word (or data bit) by the switching unit 22 may be various, for example, notifying the CPU to perform switching by using an interrupt, or directly switching by logic or chip, etc., and the embodiment of the present invention does not Make a limit.
  • the RE may notify the REC of the handover success message through the communication unit 21, that is, notify the REC to take effect based on the pre-configuration of the bit interval in the control message.
  • the position of the bit interval is adjusted by the carrier of the configured bit interval, so that the bit number configuration of the existing carrier is not affected.
  • the CPRI bit interval for data transmission is effectively allocated for the new carrier, and the bit interval corresponding to all carriers is switched by the control word or the data bit to notify the RE lossless (minor loss), thereby realizing the full utilization of the CPRI bit, even Reach 100% utilization. Therefore, the problem that the continuous bit allocation of the new carrier cannot be satisfied due to fragmentation of the CPRI bit allocation in one CPRI link is solved, and resource waste is avoided.
  • FIG. 9 is a schematic flowchart of a CPRI bit allocation method according to an embodiment of the present invention. Specifically, the method in the embodiment of the present invention may be specifically applied to the foregoing REC, as shown in FIG.
  • the distribution methods include:
  • the first carrier is a bit interval that needs to newly allocate a certain number of bits, that is, a target number of bits, for a carrier for data transmission, such as a newly added carrier on a certain RE in a communication system composed of the REC and the RE.
  • a carrier for data transmission such as a newly added carrier on a certain RE in a communication system composed of the REC and the RE.
  • the carrier on the new RE added by the addition of the RE, and the like, are not limited in the embodiment of the present invention.
  • the number of bits corresponding to the bit interval to be allocated is the target number of bits.
  • the second carrier is a carrier that has been allocated a bit interval for data transmission in the CPRI link, and the bit interval corresponding to the second carrier is based on the number of bits of the bit allocated for the second carrier. And the location information is determined. Further, the number of remaining consecutive bits in the adjusted CPRI link is not less than the target number of bits.
  • the REC may detect whether the remaining consecutive number of bits in the CPRI link is smaller than the target number of bits The remaining consecutive number of bits is every two neighbors in the CPRI link The number of bits between the bit intervals; if the number of remaining consecutive bits is smaller than the target number of bits, performing the step of adjusting the position of the bit interval configured for the second carrier in the CPRI link according to the target number of bits.
  • the REC may further detect whether the total number of remaining bits in the CPRI link reaches the target number of bits, and the total number of remaining bits is a number of bits in the CPRI link except the bit interval; And the total number of remaining bits reaches the target number of bits, and the step of adjusting the position of the bit interval configured for the second carrier in the CPRI link according to the target number of bits is performed. For example, when the number of remaining consecutive bits is less than the target number of bits, triggering to further detect whether the total number of remaining bits in the CPRI link reaches the target number of bits, so as to reach a target number of bits, that is, not less than the target bit. In the case of a number, the positional adjustment of the bit interval of the carrier (i.e., the second carrier) of the allocated bit is performed.
  • the REC can detect whether there are enough consecutive bits remaining in the CPRI link, that is, bits not less than the target number of bits. In the interval, if the remaining consecutive bits are insufficient, step 102 may be performed to perform position adjustment of the bit interval of the carrier of the allocated bit.
  • step 102 it is also possible to detect whether the remaining bits in the CPRI link, that is, the total number of remaining bits, is sufficient, that is, whether the number of the target bits is not less than the target number of bits, and if not less than the target number of bits, step 102 may be performed to perform allocated bits. Position adjustment of the bit interval of the carrier.
  • Allocate according to the remaining consecutive bits, a bit interval corresponding to the target number of bits, and generate interval information including a bit interval of the adjusted second carrier, and the first carrier. Control message of the interval information of the bit interval.
  • the section information includes bit number information and location information of the bit interval.
  • the REC may determine the corresponding bit interval for the first carrier, and generate and include Adjusting the control message of the section information of the bit interval of each carrier (ie, the first carrier and the second carrier), and sending the control message to each RE, so that each RE stores the control message, so as to perform subsequent bit-time
  • the switching of the interval is to transmit data according to the adjusted bit interval.
  • the wireless device RE may include multiple pieces; and the generating, by using the adjusted interval information of the bit interval of the second carrier, and the control of the interval information of the bit interval of the first carrier And the specific information is: determining the wireless device to which the first carrier and the second carrier belong, and generating a control message corresponding to each wireless device; wherein, the control message corresponding to each wireless device includes the carrier that belongs to the carrier Interval information for the bit interval.
  • the sending the control message to the wireless device may be specifically: sending, to each wireless device, a control message corresponding to the wireless device.
  • the REC may generate control messages corresponding to different REs according to the carriers to which the different REs belong, and send each control message to the corresponding RE.
  • the wireless device notify, by the switching instruction encapsulated in the preset bit position in the CPRI frame where the CPRI link is located, the wireless device to transmit data based on a bit interval in the control message.
  • the switching instruction of the preset bit position in the CPRI frame in which the CPRI link is located is used to notify the wireless device to transmit data based on the bit interval in the control message, which may be specifically: preset switching The instruction is encapsulated in a control word in a CPRI frame where the CPRI link is located, and the control device is notified by the control word to transmit data according to a bit interval in the control message; or, the preset switching instruction is encapsulated And in the data bit in the CPRI frame where the CPRI link is located, and the data bit is notified by the data bit to transmit data according to the bit interval in the control message.
  • the REC may pass the control word in the CPRI frame or even the data bit, ie, IQ.
  • the data part notifies each RE to receive/send data according to the bit interval in the previously received control message, that is, triggers the pre-configuration to take effect.
  • the RE still transmits data according to the original bit interval (ie, the current bit interval described above).
  • the seamless switching is implemented based on the preset position, such as the switching instruction corresponding to the control word, so that the system capacity is increased, and the CPRI data transmission efficiency is improved to some extent.
  • the CPRI bit allocation method includes:
  • the REC when a carrier is newly added to a certain RE in the communication system composed of the REC and the RE, Or, when a new RE is added to the carrier on the new RE, and the newly added carrier (the first carrier) needs to be allocated a certain number of bits, that is, consecutive bits of the target number of bits, the REC can adjust the CPRI according to the target number of bits. Positioning a bit interval corresponding to the second carrier to which the bit has been allocated in the link, assigning a bit interval corresponding to the target number of bits to the first carrier, and generating an interval including the adjusted bit interval of the second carrier Information and control message of the section information of the bit interval of the first carrier.
  • the section information includes bit number information and location information of the bit interval.
  • the carrier to which it belongs may refer to all carriers on the current RE.
  • the RE may store the interval information of the pre-configured (ie, adjusted) bit interval included in the control message, so as to be subsequently performed according to the control message. Switching of the bit interval and transmitting data according to the pre-configured bit interval.
  • the RE may return a confirmation message to the REC for confirming receipt of the control message.
  • the preset location is a control word in a CPRI frame where the CPRI link is located or a data bit in a CPRI frame where the CPRI link is located.
  • the switching instruction may be that the REC is sent by the control word or data bit after receiving an acknowledgment message returned by all REs for confirming receipt of the control message.
  • the wireless The device in the responding to the switching instruction, switching a bit interval corresponding to a carrier to a bit interval in the control message to transmit data according to a bit interval in the control message, transmits data by using a current bit interval corresponding to the carrier in the CPRI link, where the current bit interval (current configuration) is a bit interval allocated by the wireless device controller to the carrier after receiving the control message.
  • the RE when receiving the switching instruction corresponding to the control word in the preset position of the CPRI frame, the RE can perform real-time processing, and switch each carrier on the RE from the original bit interval (that is, the current bit interval described above) to Data transmission is performed on the pre-configured bit interval in the control message, thereby implementing lossless (minor loss) switching.
  • the RE can notify the REC of the handover success message, that is, inform the REC to take effect based on the pre-configuration of the bit interval in the control message.
  • the REC may pass when there are not enough consecutive bits in the CPRI link.
  • the position adjustment of the bit interval of the carrier of the configured bit interval enables the CPRI bit interval for data transmission to be effectively allocated for the new carrier without affecting the bit number configuration of the existing carrier, and passes the control word
  • the data bit informs RE that the lossless (minor loss) switches the bit interval corresponding to all carriers, thereby realizing the full utilization of the CPRI bits and even achieving 100% utilization. Therefore, the problem that the continuous bit allocation of the new carrier cannot be satisfied due to fragmentation of the CPRI bit allocation in one CPRI link is solved, and resource waste is avoided.
  • FIG. 11 is a schematic structural diagram of a CPRI bit allocation system according to an embodiment of the present invention.
  • the CPRI bit allocation system according to an embodiment of the present invention includes: a wireless device controller 1 and at least a wireless device 2; wherein
  • the wireless device controller 1 is configured to determine a target number of bits to be allocated for the first carrier, and adjust a position of a bit interval configured for the second carrier in the CPRI link according to the target number of bits, where the adjusted location The number of remaining consecutive bits in the CPRI link is not less than the target number of bits; the bit interval corresponding to the target number of bits is allocated to the first carrier based on the remaining consecutive bits, and the generated includes the adjusted a section message of a bit interval of the second carrier and a control message of the section information of the bit interval of the first carrier; transmitting the control message to the wireless device 2;
  • the wireless device 2 is configured to receive a control message that is sent by the wireless device controller 1 and includes section information of a bit interval of a carrier that belongs to the carrier, and store the section information.
  • the wireless device controller 1 is further configured to notify the wireless device 2 to transmit data based on a bit interval in the control message by using a switching instruction encapsulated in a preset bit position in a CPRI frame in which the CPRI link is located;
  • the wireless device 2 is further configured to receive a switching instruction that is sent by the wireless device controller 1 and is preset to a preset bit position in a CPRI frame where the CPRI link is located; and, in response to the switching instruction, a bit interval corresponding to the carrier that belongs to the carrier Switching to a bit interval in the control message to transmit data based on a bit interval in the control message.
  • the section information includes bit number information and location information of the bit interval.
  • the wireless device 2 is further configured to, in response to the switching instruction, switch a bit interval corresponding to a carrier to a bit interval in the control message, to be based on a bit in the control message.
  • the data is transmitted through a current bit interval corresponding to the carrier in the CPRI link, where the current bit interval is the wireless device before the control message is received.
  • the controller 1 is a bit interval configured for the carrier to which it belongs.
  • the preset location is a control word in a CPRI frame where the CPRI link is located or a data bit in a CPRI frame where the CPRI link is located.
  • FIG. 12 is a schematic structural diagram of another wireless device controller according to an embodiment of the present invention.
  • the wireless device controller includes: a communication interface 300, a memory 200, and a processor 100, and the processing is performed.
  • the device 100 is connected to the communication interface 300 and the memory 200, respectively.
  • the memory 200 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the communication interface 300, the memory 200, and the processor 100 may be connected to each other through a bus, or may be connected by other means. In the present embodiment, a bus connection will be described. among them,
  • the memory 200 is configured to store driver software
  • the processor 100 reads the driver software from the memory and executes it under the action of the driver software:
  • the wireless device to transmit data based on a bit interval in the control message by a switching instruction encapsulated in a CPRI frame in which the CPRI link is located.
  • the processor 100 is further configured to perform the following steps before performing the determining, according to the target number of bits, a position of a bit interval configured for the second carrier in the CPRI link:
  • the special number adjusts the position of the bit interval configured for the second carrier in the CPRI link.
  • processor 100 is further configured to perform the following steps:
  • the processor 100 notifies the wireless device to transmit data based on a bit interval in the control message by performing a switching instruction that is preset by using a bit position in a CPRI frame in which the CPRI link is located. Specifically perform the following steps:
  • the wireless device includes multiple pieces, and the processor 100 performs the generating interval information including a bit interval of the adjusted second carrier and interval information of a bit interval of the first carrier.
  • Control the message perform the following steps:
  • the processor 100 is configured to send the control message to the wireless device, and specifically perform the following steps:
  • a control message corresponding to the wireless device is sent to each wireless device based on the communication interface 300.
  • FIG. 13 is a schematic structural diagram of another wireless device according to an embodiment of the present invention.
  • the wireless device in the embodiment of the present invention includes: a communication interface 600, a memory 500, and a processor. 400.
  • the processor 400 is connected to the communication interface 600 and the memory 500, respectively.
  • the memory 500 may be a high speed RAM memory or may be non-unstable Non-volatile memory, such as at least one disk storage.
  • the communication interface 600, the memory 500, and the processor 400 may be connected to each other through a bus, or may be connected by other means. In the present embodiment, a bus connection will be described. among them,
  • the memory 500 is configured to store driver software
  • the processor 400 reads the driver software from the memory and executes it under the action of the driver software:
  • a control message of the section information including the bit interval of the carrier to which the wireless device controller transmits, and storing the section information, wherein the section information includes the bit number information and location of the bit section. information;
  • the processor 400 performs the responding to the switching instruction, and switches a bit interval corresponding to the carrier to a bit interval in the control message to transmit data based on a bit interval in the control message.
  • the processor 400 performs the responding to the switching instruction, and switches a bit interval corresponding to the carrier to a bit interval in the control message to transmit data based on a bit interval in the control message.
  • the preset location is a control word in a CPRI frame where the CPRI link is located or a data bit in a CPRI frame where the CPRI link is located.
  • the position of the bit interval is adjusted by the carrier of the configured bit interval, so that the bit number configuration of the existing carrier is not affected.
  • the CPRI bit interval for data transmission is effectively allocated for the new carrier, and the bit interval corresponding to all carriers is switched by the control word or the data bit to notify the RE lossless (minor loss), thereby realizing the full utilization of the CPRI bit, even Reach 100% utilization. Therefore, the problem that the continuous bit allocation of the new carrier cannot be satisfied due to fragmentation of the CPRI bit allocation in one CPRI link is solved, and resource waste is avoided.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. . Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the above software functional unit is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform the methods of the various embodiments of the present invention. Part of the steps.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明实施例公开了一种通用公共无线接口CPRI比特分配方法、相关设备及系统,其中,该方法包括:确定需要为第一载波分配的目标比特数;根据目标比特数调整CPRI链路中为第二载波配置的比特区间的位置,其中,调整后的所述CPRI链路中的剩余连续比特数不小于所述目标比特数;为第一载波分配与目标比特数对应的比特区间,并生成包括调整后的第二载波的比特区间的区间信息和第一载波的比特区间的区间信息的控制消息;向无线设备发送控制消息;通过封装于CPRI链路所在的CPRI帧中的预设位置的切换指令通知无线设备基于控制消息中的比特区间传输数据。实施本发明实施例,能够在CPRI链路没有连续比特区间时实现为载波分配连续的比特区间。

Description

一种通用公共无线接口CPRI比特分配方法及相关设备 技术领域
本发明实施例涉及通信技术领域,尤其涉及一种CPRI比特分配方法及相关设备。
背景技术
通用公共无线接口(Common Public Radio Interface,简称为“CPRI”)规范是由行业合作的多家公司所制定的关于无线电基站内部关键接口的规范,其定义了物理层和数据链路层协议,用于控制和管理无线基站内部无线设备控制器(Radio Equipment Controller,简称为“REC”)和无线设备(Radio Equipment,简称为“RE”)之间,或者两个RE之间的数据传输。
参照CPRI协议,基站分为REC和RE(一个或多个)两个部分,每个RE上有一个或多个载波,REC在为某个RE上的载波分配用于进行数据传输的比特时,需要为该载波分配连续的比特。如图1所示,CPRI以时分的方式在REC和RE之间传输比特数据,假设已经为4个载波分配了不同比特数的4个比特区间(即C1、C2、C3和C4),在这4个比特区间之间存在间隙(又称为“碎片”),该间隙包含的比特数较小,由此,当加入新的载波(如C5),需要为该新的载波分配比特数时,可能无法为该新的载波分配足够的连续比特。然而,剩余比特总数即间隙的总比特数往往是大于该需要分配的比特数的,即剩余比特总数是足够该载波使用的,这就造成了资源浪费。
发明内容
本发明实施例提供一种CPRI比特分配方法及相关设备,能够在CPRI链路没有连续比特区间时实现为载波分配连续的比特区间,以避免资源浪费。
第一方面,本发明实施例提供了一种无线设备控制器,包括:
确定单元,用于确定需要为第一载波分配的目标比特数;
调整单元,用于根据所述确定单元确定出的所述目标比特数调整通用公共 无线接口CPRI链路中为第二载波配置的比特区间的位置,其中,调整后的所述CPRI链路中的剩余连续比特数不小于所述目标比特数;
消息生成单元,用于基于所述剩余连续比特为所述第一载波分配与所述目标比特数对应的比特区间,并生成包括调整后的所述第二载波的比特区间的区间信息和所述第一载波的比特区间的区间信息的控制消息,所述区间信息包括所述比特区间的比特数信息和位置信息;
通信单元,用于向无线设备发送所述控制消息;
所述通信单元,还用于通过封装于所述CPRI链路所在的CPRI帧中预设比特位置的切换指令通知所述无线设备基于所述控制消息中的比特区间传输数据。
结合第一方面,在第一方面的第一种可能的实现方式中,所述无线设备控制器还包括:
检测单元,用于检测所述CPRI链路中剩余连续比特数是否小于所述目标比特数,并在检测到所述剩余连续比特数小于所述目标比特数时,通知所述调整单元根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置;其中,所述剩余连续比特数为所述CPRI链路中每两个相邻比特区间之间的比特数。
结合第一方面,或者第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,
所述检测单元,还用于检测所述CPRI链路中的剩余比特总数是否达到所述目标比特数,并在检测到所述剩余比特总数达到所述目标比特数时,通知所述调整单元根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置,其中,所述剩余比特总数为所述CPRI链路中除所述比特区间以外的比特数。
结合第一方面,或者第一方面的第一种可能的实现方式,或者第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,所述通信单元通过封装于所述CPRI链路所在的CPRI帧中预设比特位置的切换指令通知所述无线设备基于所述控制消息中的比特区间传输数据的具体方式为:
将预设的切换指令封装于所述CPRI链路所在的CPRI帧中的控制字中, 并通过所述控制字通知所述无线设备根据所述控制消息中的比特区间传输数据。
结合第一方面,或者第一方面的第一种可能的实现方式,或者第一方面的第二种可能的实现方式,在第一方面的第四种可能的实现方式中,所述通信单元通过封装于所述CPRI链路所在的CPRI帧中预设比特位置的切换指令通知所述无线设备基于所述控制消息中的比特区间传输数据的具体方式为:
将预设的切换指令封装于所述CPRI链路所在的CPRI帧中的数据比特中,并通过所述数据比特通知所述无线设备根据所述控制消息中的比特区间传输数据。
结合第一方面,或者第一方面的第一种可能的实现方式,或者第一方面的第二种可能的实现方式,或者第一方面的第三种可能的实现方式,或者第一方面的第四种可能的实现方式,在第一方面的第五种可能的实现方式中,所述无线设备包括多个;所述消息生成单元具体用于:
确定所述第一载波和所述第二载波所属的无线设备,并生成每一个无线设备对应的控制消息;其中,每一个无线设备对应的控制消息中包括所属载波的比特区间的区间信息;
所述通信单元向无线设备发送所述控制消息的具体方式为:
分别向每一个无线设备发送该无线设备对应的控制消息。
第二方面,本发明实施例提供了一种无线设备,包括:
通信单元,用于接收无线设备控制器发送的包括所属载波的比特区间的区间信息的控制消息,并存储所述区间信息,其中,所述区间信息包括所述比特区间的比特数信息和位置信息;
所述通信单元,还用于接收封装于通用公共无线接口CPRI链路所在的CPRI帧中预设比特位置的切换指令;
切换单元,用于响应所述切换指令,将所属载波对应的比特区间切换到所述控制消息中的比特区间上,以基于所述控制消息中的比特区间传输数据。
结合第二方面,在第二方面的第一种可能的实现方式中,
所述通信单元,还用于在所述响应所述切换指令,将所属载波对应的比特区间切换到所述控制消息中的比特区间上,以基于所述控制消息中的比特区间 传输数据之前,通过所述CPRI链路中所属载波对应的当前比特区间传输数据,其中,所述当前比特区间为接收到所述控制消息之前所述无线设备控制器为所属载波配置的比特区间。
结合第二方面,或者第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述预设位置为所述CPRI链路所在的CPRI帧中的控制字或所述CPRI链路所在的CPRI帧中的数据比特。
第三方面,本发明实施例提供了一种CPRI比特分配方法,包括:
确定需要为第一载波分配的目标比特数;
根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置,其中,调整后的所述CPRI链路中的剩余连续比特数不小于所述目标比特数;
基于所述剩余连续比特为所述第一载波分配与所述目标比特数对应的比特区间,并生成包括调整后的所述第二载波的比特区间的区间信息和所述第一载波的比特区间的区间信息的控制消息,所述区间信息包括所述比特区间的比特数信息和位置信息;
向无线设备发送所述控制消息;
通过封装于所述CPRI链路所在的CPRI帧中预设比特位置的切换指令通知所述无线设备基于所述控制消息中的比特区间传输数据。
结合第三方面,在第三方面的第一种可能的实现方式中,在所述根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置之前,所述方法还包括:
检测所述CPRI链路中剩余连续比特数是否小于所述目标比特数,所述剩余连续比特数为所述CPRI链路中每两个相邻比特区间之间的比特数;
若所述剩余连续比特数小于所述目标比特数,则执行所述根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置的步骤。
结合第三方面,或者第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,所述方法还包括:
检测所述CPRI链路中的剩余比特总数是否达到所述目标比特数,所述剩余比特总数为所述CPRI链路中除所述比特区间以外的比特数;
若所述剩余比特总数达到所述目标比特数,则执行所述根据所述目标比特 数调整CPRI链路中为第二载波配置的比特区间的位置的步骤。
结合第三方面,或者第三方面的第一种可能的实现方式,或者第三方面的第二种可能的实现方式,在第三方面的第三种可能的实现方式中,所述通过封装于所述CPRI链路所在的CPRI帧中预设比特位置的切换指令通知所述无线设备基于所述控制消息中的比特区间传输数据,包括:
将预设的切换指令封装于所述CPRI链路所在的CPRI帧中的控制字中,并通过所述控制字通知所述无线设备根据所述控制消息中的比特区间传输数据;或,
将预设的切换指令封装于所述CPRI链路所在的CPRI帧中的数据比特中,并通过所述数据比特通知所述无线设备根据所述控制消息中的比特区间传输数据。
结合第三方面,或者第三方面的第一种可能的实现方式,或者第三方面的第二种可能的实现方式,或者第三方面的第三种可能的实现方式,在第三方面的第四种可能的实现方式中,所述无线设备包括多个;所述生成包括调整后的所述第二载波的比特区间的区间信息和所述第一载波的比特区间的区间信息的控制消息,包括:
确定所述第一载波和所述第二载波所属的无线设备,并生成每一个无线设备对应的控制消息;其中,每一个无线设备对应的控制消息中包括所属载波的比特区间的区间信息;
所述向无线设备发送所述控制消息,包括:
分别向每一个无线设备发送该无线设备对应的控制消息。
第四方面,本发明实施例提供了一种CPRI比特分配方法,包括:
接收无线设备控制器发送的包括所属载波的比特区间的区间信息的控制消息,并存储所述区间信息,其中,所述区间信息包括所述比特区间的比特数信息和位置信息;
接收封装于CPRI链路所在的CPRI帧中预设比特位置的切换指令;
响应所述切换指令,将所属载波对应的比特区间切换到所述控制消息中的比特区间上,以基于所述控制消息中的比特区间传输数据。
结合第四方面,在第四方面的第一种可能的实现方式中,在所述响应所述 切换指令,将所属载波对应的比特区间切换到所述控制消息中的比特区间上,以基于所述控制消息中的比特区间传输数据之前,所述方法还包括:
通过所述CPRI链路中所属载波对应的当前比特区间传输数据,其中,所述当前比特区间为接收到所述控制消息之前所述无线设备控制器为所属载波配置的比特区间。
结合第四方面,或者第四方面的第一种可能的实现方式,在第四方面的第二种可能的实现方式中,所述预设位置为所述CPRI链路所在的CPRI帧中的控制字或所述CPRI链路所在的CPRI帧中的数据比特。
第五方面,本发明实施例提供了一种CPRI比特分配系统,包括:无线设备控制器和至少一个无线设备;其中,
所述无线设备控制器,用于确定需要为第一载波分配的目标比特数;根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置,其中,调整后的所述CPRI链路中的剩余连续比特数不小于所述目标比特数;基于所述剩余连续比特为所述第一载波分配与所述目标比特数对应的比特区间,并生成包括调整后的所述第二载波的比特区间的区间信息和所述第一载波的比特区间的区间信息的控制消息,所述区间信息包括所述比特区间的比特数信息和位置信息;向所述无线设备发送所述控制消息;
所述无线设备,用于接收所述无线设备控制器发送的包括所属载波的比特区间的区间信息的控制消息,并存储所述区间信息;
所述无线设备控制器,还用于通过封装于所述CPRI链路所在的CPRI帧中预设比特位置的切换指令通知所述无线设备基于所述控制消息中的比特区间传输数据;
所述无线设备,还用于接收封装于CPRI链路所在的CPRI帧中预设比特位置的切换指令;响应所述切换指令,将所属载波对应的比特区间切换到所述控制消息中的比特区间上,以基于所述控制消息中的比特区间传输数据。
第六方面,本发明实施例还提供了一种计算机存储介质,所述计算机存储介质存储有程序,所述程序执行时包括上述第三方面的CPRI比特分配的部分或全部的步骤。
第七方面,本发明实施例还提供了一种计算机存储介质,所述计算机存储介质存储有程序,所述程序执行时包括上述第四方面的CPRI比特分配方法的部分或全部的步骤。
第八方面,本发明实施例提供了一种无线设备控制器,包括:通信接口、存储器和处理器,所述处理器分别与所述通信接口和存储器连接;其中,
所述存储器用于存储驱动软件;
所述处理器从所述存储器读取所述驱动软件并在所述驱动软件的作用下执行:
确定需要为第一载波分配的目标比特数;
根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置,其中,调整后的所述CPRI链路中的剩余连续比特数不小于所述目标比特数;
基于所述剩余连续比特为所述第一载波分配与所述目标比特数对应的比特区间,并生成包括调整后的所述第二载波的比特区间的区间信息和所述第一载波的比特区间的区间信息的控制消息,所述区间信息包括所述比特区间的比特数信息和位置信息;
基于所述通信接口向无线设备发送所述控制消息;
通过封装于所述CPRI链路所在的CPRI帧中预设比特位置的切换指令并基于所述通信接口通知所述无线设备基于所述控制消息中的比特区间传输数据。
结合第八方面,在第八方面的第一种可能的实现方式中,所述处理器在执行所述根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置之前,还用于执行以下步骤:
检测所述CPRI链路中剩余连续比特数是否小于所述目标比特数,所述剩余连续比特数为所述CPRI链路中每两个相邻比特区间之间的比特数;
若所述剩余连续比特数小于所述目标比特数,则执行所述根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置的步骤。
结合第八方面,或者第八方面的第一种可能的实现方式,在第八方面的第二种可能的实现方式中,所述处理器还用于执行以下步骤:
检测所述CPRI链路中的剩余比特总数是否达到所述目标比特数,所述剩余比特总数为所述CPRI链路中除所述比特区间以外的比特数;
若所述剩余比特总数达到所述目标比特数,则执行所述根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置的步骤。
结合第八方面,或者第八方面的第一种可能的实现方式,或者第八方面的第二种可能的实现方式,在第八方面的第三种可能的实现方式中,所述处理器在执行所述通过封装于所述CPRI链路所在的CPRI帧中预设比特位置的切换指令通知所述无线设备基于所述控制消息中的比特区间传输数据,具体执行以下步骤:
将预设的切换指令封装于所述CPRI链路所在的CPRI帧中的控制字中,基于所述通信接口并通过所述控制字通知所述无线设备根据所述控制消息中的比特区间传输数据;或,
将预设的切换指令封装于所述CPRI链路所在的CPRI帧中的数据比特中,基于所述通信接口并通过所述数据比特通知所述无线设备根据所述控制消息中的比特区间传输数据。
结合第八方面,或者第八方面的第一种可能的实现方式,或者第八方面的第二种可能的实现方式,或者第八方面的第三种可能的实现方式,在第八方面的第四种可能的实现方式中,所述无线设备包括多个;所述处理器在执行所述生成包括调整后的所述第二载波的比特区间的区间信息和所述第一载波的比特区间的区间信息的控制消息,具体执行以下步骤:
确定所述第一载波和所述第二载波所属的无线设备,并生成每一个无线设备对应的控制消息;其中,每一个无线设备对应的控制消息中包括所属载波的比特区间的区间信息;
所述处理器在执行所述向无线设备发送所述控制消息,具体执行以下步骤:
基于所述通信接口分别向每一个无线设备发送该无线设备对应的控制消息。
第九方面,本发明实施例提供了一种无线设备,包括:通信接口、存储器和处理器,所述处理器分别与所述通信接口和存储器连接;其中,
所述存储器用于存储驱动软件;
所述处理器从所述存储器读取所述驱动软件并在所述驱动软件的作用下执行:
基于所述通信接口接收无线设备控制器发送的包括所属载波的比特区间的区间信息的控制消息,并存储所述区间信息,其中,所述区间信息包括所述比特区间的比特数信息和位置信息;
基于所述通信接口接收封装于CPRI链路所在的CPRI帧中预设比特位置的切换指令;
响应所述切换指令,将所属载波对应的比特区间切换到所述控制消息中的比特区间上,以基于所述控制消息中的比特区间传输数据。
结合第九方面,在第九方面的第一种可能的实现方式中,所述处理器在执行所述响应所述切换指令,将所属载波对应的比特区间切换到所述控制消息中的比特区间上,以基于所述控制消息中的比特区间传输数据之前,还用于执行以下步骤:
基于所述通信接口并通过所述CPRI链路中所属载波对应的当前比特区间传输数据,其中,所述当前比特区间为接收到所述控制消息之前所述无线设备控制器为所属载波配置的比特区间。
结合第九方面,或者第九方面的第一种可能的实现方式,在第九方面的第二种可能的实现方式中,所述预设位置为所述CPRI链路所在的CPRI帧中的控制字或所述CPRI链路所在的CPRI帧中的数据比特。
实施本发明实施例,具有如下有益效果:
在本发明实施例中,REC可在CPRI链路中没有足够的连续比特时,通过对已配置比特区间的载波进行比特区间的位置调整,使得能够在不影响已有载波的比特数配置的情况下,有效地为新载波分配用于进行数据传输的CPRI比特区间,并通过控制字或数据比特通知RE无损(微损)切换所有载波对应的比特区间,从而实现了CPRI比特的充分利用,甚至达到100%的利用。由此解决了在一条CPRI链路中由于CPRI比特分配出现碎片而导致的无法满足新的载波的连续比特分配的问题,避免了资源浪费。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是现有技术中的一种CPRI比特分配的示意图;
图2是本发明实施例提供的一种网络架构图;
图3a是本发明实施例提供的一种CPRI基本帧的结构示意图;
图3b是本发明实施例提供的另一种CPRI基本帧的结构示意图;
图4是本发明实施例提供的一种无线设备控制器的结构示意图;
图5是本发明实施例提供的一种当前载波比特配置的结构示意图;
图6是本发明实施例提供的一种发送控制消息的示意图;
图7是本发明实施例提供的一种比特区间的切换示意图;
图8是本发明实施例提供的一种无线设备的结构示意图;
图9是本发明实施例提供的一种CPRI比特分配方法的流程示意图;
图10是本发明实施例提供的另一种CPRI比特分配方法的流程示意图;
图11是本发明实施例提供的一种CPRI比特分配系统的结构示意图;
图12是本发明实施例提供的另一种无线设备控制器的结构示意图;
图13是本发明实施例提供的另一种无线设备的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
应理解,本发明实施例的技术方案可应用于各种制式的无线通信系统,例如:码分多址(Code Division Multiple Access,简称为“CDMA”)系统、宽带码分多址(Wideband Code Division Multiple Access,简称为“WCDMA”)系 统、长期演进(Long Term Evolution,简称为“LTE”)系统、通用移动通信系统(Universal Mobile Telecommunication System,简称为“UMTS”)或无线局域网(Wireless Local Area Networks,简称为“WLAN”)通信系统等,其应用场景可以为室内分布系统或室外分布系统,本发明实施例不做限定。
具体的,请参见图2,是本发明实施例提供的一种网络架构图。从具体应用上来看,CPRI规范可用于基站的REC和RE之间的数据传输。如图2所示,基站分为REC和至少一个RE(图中示出两个),每个RE上有一个或多个载波,REC需要为各RE上的每个载波分配用于进行数据传输的比特,具体是分配连续的比特区间。其中,该比特区间是根据载波需求的比特数信息以及位置信息确定出的。
下面对CPRI比特传输的基本概念进行介绍。REC和RE之间的数据传输是基于CPRI帧的数据传输,其中,一个CPRI帧周期是10ms。每个帧分为150超帧,每个超帧约为66.7us(微秒)。每个超帧又分为256个基本帧,每个基本帧约为260ns(纳秒)(1 chip=1/3.84MHz=260.416667ns)。一个CPRI基本帧包含控制字和IQ数据部分,该IQ数据部分用于传输需要传输的IQ数据。具体的,一个CPRI基本帧包含16个时隙:W=0...15,W=0为包括控制字的控制时隙,W=1...15为IQ数据时隙,不同的CPRI速率对应不同的帧结构。例如,如图3a所示,当CPRI速率为614.4Mbit/s时,其基本帧的结构如图3a所示。其中,图3a中灰色部分是IQ数据部分,为120bit;黑色部分为控制字。又例如,如图3b所示,当CPRI速率为1.25Gbit/s时,基本帧如图3b所示,其IQ数据部分bit数为240bit,同样黑色部分为控制字。其它的CPRI速率下,其基本帧对应的IQ bit数不同,此处不再赘述。
应理解,本发明实施例中对CPRI链路中比特bit数的分配即为对CPRI基本帧IQ部分的bit数的分配。也就是说,本发明实施例中的CPRI链路可对应该基本帧,其时间段为260ns,每个RE上各载波的数据在每个基本帧即每个连续的260ns上分配的比特区间传输。其中,一个载波在一个基本帧上所分配的bit数和它的带宽直接相关,并可根据不同需求设置该比特分配规则。比如,UMTS载波(5Mhz)在下行方向在一个基本帧上可分配24bit,LTE载波 (20Mhz)在下行方向在一个基本帧上可分配240bit,等等,且在存在数据压缩的情况下,分配的比特数会相应减少。
本发明实施例公开了一种CPRI比特分配方法、相关设备及系统,能够在CPRI链路没有连续比特区间时实现为载波分配连续的比特区间。以下分别详细说明。
请参见图4,是本发明实施例的一种无线设备控制器的结构示意图,具体的,如图4所示,本发明实施例的所述无线设备控制器包括确定单元11、调整单元12、消息生成单元13以及通信单元14。其中,
所述确定单元11,用于确定需要为第一载波分配的目标比特数。
其中,该目标比特数为需要为该第一载波分配的用于传输数据的比特的数目。具体的,所述第一载波为当前需要新分配一定比特数即目标比特数的比特区间,以用于数据传输的载波,如该REC和RE组成的通信系统中某个RE上新加入的载波,或者由于新增RE而加入的该新增RE上的载波,等等,本发明实施例不做限定。
所述调整单元12,用于根据所述确定单元11确定出的所述目标比特数调整通用公共无线接口CPRI链路中为第二载波配置的比特区间的位置。
其中,所述第二载波为在所述CPRI链路中分配有用于进行数据传输的比特区间的载波,为该第二载波配置的比特区间是根据为该第二载波分配的比特的比特数信息及位置信息确定出的。进一步的,该调整后的所述CPRI链路中的剩余连续比特数不小于所述目标比特数。
具体的,本发明实施例的所述CPRI链路即可对应上述的一个CPRI基本帧的IQ数据部分,以基于该IQ数据部分为各载波分配比特进行数据传输。在确定单元11确定出需要为新的载波即第一载波分配的比特数即目标比特数之后,调整单元12即可进行已分配比特的载波的比特区间的位置调整。
举例来说,请参见图5,是本发明实施例提供的一种当前载波比特配置的结构示意图。如图5所示,假设基站分为REC和RE0、RE1(即两个RE),RE0上有两个载波,分别为C1和C3,RE1上也有两个载波,分别为C2和C4。其中,假设该CPRI链路即IQ数据部分被分为20个比特块(每个比特块 的比特数由该IQ数据部分对应的比特数确定),该4个载波在CPRI链路中的比特区间(即当前配置)分别为:C1对应比特块1-3,即其比特区间为1-3,C3的比特区间为12-15,C2的比特区间为6-9,C4的比特区间为18-20,剩余比特包括比特块4-5、10-11以及16-17。则该C1、C2、C3和C4即可作为上述的第二载波。
所述消息生成单元13,用于基于所述剩余连续比特为所述第一载波分配与所述目标比特数对应的比特区间,并生成包括调整后的所述第二载波的比特区间的区间信息和所述第一载波的比特区间的区间信息的控制消息。
其中,所述区间信息可包括所述比特区间的比特数信息和位置信息。
所述通信单元14,用于向无线设备发送所述控制消息。
具体实施例中,在调整单元12根据当前CPRI链路中为各载波已分配的比特区间进行位置调整之后,消息生成单元13即可确定出该目标比特数对应的位置信息,为该第一载波确定出与该位置信息即确定单元11确定出的目标比特数对应的比特区间,并生成包括调整后的各载波(即第一载波和第二载波)的比特区间的区间信息的控制消息,通过通信单元14将该控制消息发送给各RE,以使各RE存储该控制消息,以便于后续及时进行比特区间的切换以根据调整后的比特区间传输数据。
进一步可选的,在本发明实施例中,所述无线设备控制器REC还可包括(图中未示出):
检测单元15,用于检测所述CPRI链路中剩余连续比特数是否小于所述目标比特数,并在检测到所述剩余连续比特数小于所述目标比特数时,通知所述调整单元12根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置;其中,所述剩余连续比特数为所述CPRI链路中每两个相邻比特区间之间的比特数。
进一步可选的,在本发明实施例中,
所述检测单元15,还用于检测所述CPRI链路中的剩余比特总数是否达到所述目标比特数,并在检测到所述剩余比特总数达到所述目标比特数时,通知所述调整单元12根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置,其中,所述剩余比特总数为所述CPRI链路中除所述比特区间 以外的比特数。
具体的,在确定单元11确定出需要为新的载波即第一载波分配的比特数即目标比特数之后,检测单元15可通过检测该CPRI链路中的所有剩余比特即剩余比特总数是否足够,即是否不小于该目标比特数,若不小于该目标比特数,即可通过调整单元12进行已分配比特的载波(即第二载波)的比特区间的位置调整。可选的,检测单元15还可检测CPRI链路中是否还剩余足够的连续比特,即不小于该目标比特数的比特区间,若剩余的连续比特不足,则通过调整单元12进行已分配比特的载波的比特区间的位置调整。进一步可选的,检测单元15还可在检测到CPRI链路中剩余连续比特数小于该目标比特数时,进一步检测所述CPRI链路中的剩余比特总数是否达到所述目标比特数,以在达到该目标比特数,即不小于该目标比特数时,通过调整单元12进行已分配比特的载波的比特区间的位置调整。
进一步的,请结合图5,且一并参见图6,图6是本发明实施例提供的一种发送控制消息的示意图。如图6所示,当RE1上新加入载波C5时,则需要为新的载波C5分配用于进行数据传输的连续比特,假设需要为该C5分配的目标比特数为4个比特块。此时调整单元12根据需要为该C5分配的4个比特块调整为第二载波配置的比特区间的位置,即调整C1、C3、C2、C4的位置,以保证为C5分配连续的4个比特块的比特区间。比如该调整单元12调整后(预配置)的C1对应的比特区间为比特块1-3(不变),C3的比特区间为8-11,C2的比特区间为4-7,C4的比特区间为12-14。并为新的载波C5分配包括比特块15-18这4个比特块的比特区间,消息生成单元13即可生成包含各载波的比特区间的区间信息的控制消息,并通过通信单元14发送给各RE。RE接收到包括载波对应的比特区间的区间信息的控制消息后,存储该区间信息并向REC返回确认消息。
可选的,所述无线设备可以包括多个;则所述消息生成单元13具体用于:
确定所述第一载波和所述第二载波所属的无线设备,并生成每一个无线设备对应的控制消息;其中,每一个无线设备对应的控制消息中包括所属载波的比特区间的区间信息。
进一步的,所述通信单元14向无线设备发送所述控制消息的具体方式为:
分别向每一个无线设备发送该无线设备对应的控制消息。
也就是说,消息生成单元13可根据不同RE上所属的载波生成不同RE对应的控制消息,并通过通信单元14发送给对应的RE。例如,如图6所示,消息生成单元13可根据RE0和RE1生成两个控制消息,即RE0对应的控制消息和RE1对应的控制消息。其中,RE0对应的控制消息包括调整后的载波C1、C3的比特区间的区间信息,RE1对应的控制消息包括调整后的载波C2、C4和新加入的C5的比特区间的区间信息。从而可通过通信单元14将该控制消息分别发送给对应的RE。RE0和RE1在接收到各自的控制消息之后,存储该调整后的区间信息,并分别向REC返回确认消息。
所述通信单元14,还用于通过封装于所述CPRI链路所在的CPRI帧中预设比特位置的切换指令通知所述无线设备基于所述控制消息中的比特区间传输数据。
可选的,在本发明实施例中,所述通信单元14通过封装于所述CPRI链路所在的CPRI帧中预设比特位置的切换指令通知所述无线设备基于所述控制消息中的比特区间传输数据的具体方式可以为:
将预设的切换指令封装于所述CPRI链路所在的CPRI帧中的控制字中,并通过所述控制字通知所述无线设备根据所述控制消息中的比特区间传输数据。
可选的,在本发明实施例中,所述通信单元14通过封装于所述CPRI链路所在的CPRI帧中预设比特位置的切换指令通知所述无线设备基于所述控制消息中的比特区间传输数据的具体方式还可以为:
将预设的切换指令封装于所述CPRI链路所在的CPRI帧中的数据比特中,并通过所述数据比特通知所述无线设备根据所述控制消息中的比特区间传输数据。
也就是说,在REC通过通信单元14向各RE发送控制消息之后,具体可在接收到RE返回的用于确认接收到所述控制消息的确认消息时,该通信单元14还可通过CPRI帧中的控制字甚至数据比特即IQ数据部分通知各RE根据之前接收到的控制消息中的比特区间来接收/发送数据,即触发该预配置生效。
需要说明的是,控制消息不能用于通知各RE根据该控制消息中的比特区 间来传输数据,因为控制消息没有精确的时间,不能控制CPRI比特区间的切换时间。而控制字或数据比特和CPRI时隙有明确的对应关系,适合用来切换CPRI比特区间。
举例来说,请结合图5和图6,且一并参见图7,图7是本发明实施例提供的一种比特区间的切换示意图。如图7所示,假设通过将切换指令封装于CPRI帧的预设的控制字中(图中称为“切换控制字”),则通信单元14可通过该控制字通知RE0和RE1进行比特区间切换。RE0和RE1在接收到该控制字时,即可通过将载波对应的比特区间由当前比特区间(当前配置)切换到接收的控制消息指示的比特区间(预配置)上,以基于所述控制消息中的比特区间传输数据。切换成功后,RE即可通知REC该切换成功消息。从而能够在CPRI链路没有连续比特区间时实现为载波分配连续的比特区间,避免了资源浪费。
请参见图8,是本发明实施例的一种无线设备的结构示意图,具体的,如图8所示,本发明实施例的所述无线设备包括通信单元21及切换单元22。其中,
所述通信单元21,用于接收无线设备控制器发送的包括所属载波的比特区间的区间信息的控制消息,并存储所述区间信息,其中,所述区间信息包括所述比特区间的比特数信息和位置信息。
具体实施例中,当REC和RE组成的通信系统中某个RE上新加入载波,或者由于新增RE而加入该新增RE上的载波,需要为该新加入的载波(第一载波)分配一定比特数即目标比特数的连续比特时,REC可根据所述目标比特数调整CPRI链路中已分配比特的第二载波对应的比特区间的位置,为所述第一载波分配与该目标比特数对应的比特区间,并生成包括调整后的所述第二载波的比特区间的区间信息和所述第一载波的比特区间的区间信息的控制消息。其中,所述区间信息包括所述比特区间的比特数信息和位置信息。
RE在通过通信单元21接收到REC发送的控制消息之后,即可存储该控制消息中包括的为该RE上的载波预配置的(即调整后的)比特区间的区间信息,以便于后续及时根据该控制消息进行比特区间的切换,并根据该预配置的比特区间传输数据。此外,RE还可通过该通信单元21向REC返回用于确认 接收到该控制消息的确认消息,以使REC发起基于该控制消息的比特区间切换指示。
所述通信单元21,还用于接收封装于通用公共无线接口CPRI链路所在的CPRI帧中预设比特位置的切换指令。
可选的,所述预设位置为所述CPRI链路所在的CPRI帧中的控制字或所述CPRI链路所在的CPRI帧中的数据比特。
所述切换单元22,用于响应所述切换指令,将所属载波对应的比特区间切换到所述控制消息中的比特区间上,以基于所述控制消息中的比特区间传输数据。
进一步的,在本发明实施例中,
所述通信单元21,还用于在所述响应所述切换指令,将所属载波对应的比特区间切换到所述控制消息中的比特区间上,以基于所述控制消息中的比特区间传输数据之前,通过所述CPRI链路中所属载波对应的当前比特区间传输数据.
其中,所述当前比特区间(当前配置)为接收到所述控制消息之前所述无线设备控制器为所属载波配置的比特区间。也就是说,切换单元22在根据控制信息切换比特区间以基于调整后的比特区间传输数据之前,RE仍然按照原来的比特区间(即上述的当前比特区间)传输数据。由此,基于该预设位置如控制字对应的切换指令实现了无缝切换,使得增加了系统容量,一定程度上提升了CPRI数据传输效率。
具体的,通信单元21在接收到CPRI帧中预设位置如控制字对应的切换指令时,即可通过切换单元22进行实时处理,将该RE上的各载波由原来的比特区间(即上述的当前比特区间)切换到该控制消息中预配置的比特区间上进行数据传输,从而实现了无损(微损)切换。具体可如图7所示,假设REC通过将切换指令封装于CPRI帧的预设的控制字中(图中称为“切换控制字”),通过该控制字通知RE0和RE1进行比特区间切换。则通信单元21在接收到该控制字时,切换单元22即可通过将载波对应的比特区间由当前比特区间(当前配置)切换到接收的控制消息指示的比特区间(预配置)上,以基于所述控制消息中的比特区间传输数据。
可选的,切换单元22使用控制字(或数据比特)进行比特区间切换的实现方法可以有多种,例如通过中断通知CPU进行切换,或者通过逻辑或芯片直接切换等等,本发明实施例不做限定。进一步的,在切换完成之后,RE即可通过该通信单元21通知REC该切换成功消息,即告知REC基于该控制消息中的比特区间的预配置生效。
在本发明实施例中,REC可在CPRI链路中没有足够的连续比特时,通过对已配置比特区间的载波进行比特区间的位置调整,使得能够在不影响已有载波的比特数配置的情况下,有效地为新载波分配用于进行数据传输的CPRI比特区间,并通过控制字或数据比特通知RE无损(微损)切换所有载波对应的比特区间,从而实现了CPRI比特的充分利用,甚至达到100%的利用。由此解决了在一条CPRI链路中由于CPRI比特分配出现碎片而导致的无法满足新的载波的连续比特分配的问题,避免了资源浪费。
请参见图9,是本发明实施例的一种CPRI比特分配方法的流程示意图,具体的,本发明实施例的所述方法可具体应用于上述的REC中,如图9所示,该CPRI比特分配方法包括:
101、确定需要为第一载波分配的目标比特数。
具体的,所述第一载波为当前需要新分配一定比特数即目标比特数的比特区间,以用于数据传输的载波,如该REC和RE组成的通信系统中某个RE上新加入的载波,或者由于新增RE而加入的该新增RE上的载波,等等,本发明实施例不做限定。该需要分配的比特区间对应的比特数即为该目标比特数。
102、根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置。
其中,所述第二载波为在所述CPRI链路中已分配有用于进行数据传输的比特区间的载波,该第二载波对应的比特区间是根据为该第二载波分配的比特的比特数信息及位置信息确定出的。进一步的,该调整后的所述CPRI链路中的剩余连续比特数不小于所述目标比特数。
进一步的,在所述根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置之前,该REC可检测所述CPRI链路中剩余连续比特数是否小于所述目标比特数,所述剩余连续比特数为所述CPRI链路中每两个相邻 比特区间之间的比特数;若所述剩余连续比特数小于所述目标比特数,则执行所述根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置的步骤。
进一步的,REC还可检测所述CPRI链路中的剩余比特总数是否达到所述目标比特数,所述剩余比特总数为所述CPRI链路中除所述比特区间以外的比特数;若所述剩余比特总数达到所述目标比特数,则执行所述根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置的步骤。比如在所述剩余连续比特数小于所述目标比特数时,触发进一步检测所述CPRI链路中的剩余比特总数是否达到所述目标比特数,以在达到目标比特数,即不小于该目标比特数时,进行已分配比特的载波(即第二载波)的比特区间的位置调整。
具体的,在确定出需要为新的载波即第一载波分配的比特数即目标比特数之后,REC即可检测CPRI链路中是否还剩余足够的连续比特,即不小于该目标比特数的比特区间,若剩余的连续比特不足,即可执行步骤102,进行已分配比特的载波的比特区间的位置调整。可选的,还可检测该CPRI链路中的所有剩余比特即剩余比特总数是否足够,即是否不小于该目标比特数,若不小于该目标比特数,即可执行步骤102,进行已分配比特的载波的比特区间的位置调整。
103、基于所述剩余连续比特为所述第一载波分配与所述目标比特数对应的比特区间,并生成包括调整后的所述第二载波的比特区间的区间信息和所述第一载波的比特区间的区间信息的控制消息。
其中,所述区间信息包括所述比特区间的比特数信息和位置信息。
104、向无线设备发送所述控制消息。
具体实施例中,REC根据当前CPRI链路中为各载波已分配的比特区间确定出该目标比特数对应的位置信息之后,即可为该第一载波确定出其对应的比特区间,并生成包括调整后的各载波(即第一载波和第二载波)的比特区间的区间信息的控制消息,并将该控制消息发送给各RE,以使各RE存储该控制消息,以便于后续及时进行比特区间的切换以根据调整后的比特区间传输数据。
可选的,所述无线设备RE可以包括多个;则所述生成包括调整后的所述第二载波的比特区间的区间信息和所述第一载波的比特区间的区间信息的控 制消息,可以具体为:确定所述第一载波和所述第二载波所属的无线设备,并生成每一个无线设备对应的控制消息;其中,每一个无线设备对应的控制消息中包括所属载波的比特区间的区间信息。进一步的,所述向无线设备发送所述控制消息,可以具体为:分别向每一个无线设备发送该无线设备对应的控制消息。
也就是说,REC可根据不同RE上所属的载波生成不同RE对应的控制消息,并将各控制消息发送给对应的RE。
105、通过封装于所述CPRI链路所在的CPRI帧中预设比特位置的切换指令通知所述无线设备基于所述控制消息中的比特区间传输数据。
其中,所述通过封装于所述CPRI链路所在的CPRI帧中预设比特位置的切换指令通知所述无线设备基于所述控制消息中的比特区间传输数据,可以具体为:将预设的切换指令封装于所述CPRI链路所在的CPRI帧中的控制字中,并通过所述控制字通知所述无线设备根据所述控制消息中的比特区间传输数据;或,将预设的切换指令封装于所述CPRI链路所在的CPRI帧中的数据比特中,并通过所述数据比特通知所述无线设备根据所述控制消息中的比特区间传输数据。也就是说,在REC向各RE发送控制消息之后,具体可在接收到RE返回的用于确认接收到所述控制消息的确认消息时,REC可通过CPRI帧中的控制字甚至数据比特即IQ数据部分通知各RE根据之前接收到的控制消息中的比特区间来接收/发送数据,即触发该预配置生效。
需要说明的是,在根据控制信息切换比特区间以基于调整后的比特区间传输数据之前,RE仍然按照原来的比特区间(即上述的当前比特区间)传输数据。由此,基于该预设位置如控制字对应的切换指令实现了无缝切换,使得增加了系统容量,一定程度上提升了CPRI数据传输效率。
进一步的,请参见图10,是本发明实施例的另一种CPRI比特分配方法的流程示意图,具体的,本发明实施例的所述方法可具体应用于上述的RE中,如图10所示,该CPRI比特分配方法包括:
201、接收无线设备控制器发送的包括所属载波的比特区间的区间信息的控制消息,并存储所述区间信息。
具体实施例中,当REC和RE组成的通信系统中某个RE上新加入载波, 或者由于新增RE而加入该新增RE上的载波,需要为该新加入的载波(第一载波)分配一定比特数即目标比特数的连续比特时,REC可根据所述目标比特数调整CPRI链路中已分配比特的第二载波对应的比特区间的位置,为所述第一载波分配与该目标比特数对应的比特区间,并生成包括调整后的所述第二载波的比特区间的区间信息和所述第一载波的比特区间的区间信息的控制消息。其中,所述区间信息包括所述比特区间的比特数信息和位置信息。所属载波可以是指当前RE上的所有载波。
RE在接收到REC发送的控制消息之后,即可存储该控制消息中包括的为该RE上的载波预配置的(即调整后的)比特区间的区间信息,以便于后续及时根据该控制消息进行比特区间的切换,并根据该预配置的比特区间传输数据。此外,RE可向REC返回用于确认接收到该控制消息的确认消息。
202、接收封装于CPRI链路所在的CPRI帧中预设比特位置的切换指令。
可选的,所述预设位置为所述CPRI链路所在的CPRI帧中的控制字或所述CPRI链路所在的CPRI帧中的数据比特。该切换指令可以是REC在接收到所有RE返回的用于确认接收到该控制消息的确认消息之后,通过该控制字或数据比特发送的。
203、响应所述切换指令,将所属载波对应的比特区间切换到所述控制消息中的比特区间上,以基于所述控制消息中的比特区间传输数据。
具体实施例中,在所述响应所述切换指令,将所属载波对应的比特区间切换到所述控制消息中的比特区间上,以基于所述控制消息中的比特区间传输数据之前,所述无线设备通过所述CPRI链路中所属载波对应的当前比特区间传输数据,其中,所述当前比特区间(当前配置)为接收到所述控制消息之前所述无线设备控制器为所属载波分配的比特区间。
具体的,RE在接收到CPRI帧中预设位置如控制字对应的切换指令时,即可进行实时处理,将该RE上的各载波由原来的比特区间(即上述的当前比特区间)切换到该控制消息中预配置的比特区间上进行数据传输,从而实现了无损(微损)切换。在切换完成之后,RE即可通知REC该切换成功消息,即告知REC基于该控制消息中的比特区间的预配置生效。
在本发明实施例中,REC可在CPRI链路中没有足够的连续比特时,通过 对已配置比特区间的载波进行比特区间的位置调整,使得能够在不影响已有载波的比特数配置的情况下,有效地为新载波分配用于进行数据传输的CPRI比特区间,并通过控制字或数据比特通知RE无损(微损)切换所有载波对应的比特区间,从而实现了CPRI比特的充分利用,甚至达到100%的利用。由此解决了在一条CPRI链路中由于CPRI比特分配出现碎片而导致的无法满足新的载波的连续比特分配的问题,避免了资源浪费。
请参见图11,是本发明实施例的一种CPRI比特分配系统的结构示意图,具体的,如图11所示,本发明实施例的所述CPRI比特分配系统包括:无线设备控制器1和至少一个无线设备2;其中,
所述无线设备控制器1,用于确定需要为第一载波分配的目标比特数;根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置,其中,调整后的所述CPRI链路中的剩余连续比特数不小于所述目标比特数;基于所述剩余连续比特为所述第一载波分配与所述目标比特数对应的比特区间,并生成包括调整后的所述第二载波的比特区间的区间信息和所述第一载波的比特区间的区间信息的控制消息;向所述无线设备2发送所述控制消息;
所述无线设备2,用于接收所述无线设备控制器1发送的包括所属载波的比特区间的区间信息的控制消息,并存储所述区间信息;
所述无线设备控制器1,还用于通过封装于所述CPRI链路所在的CPRI帧中预设比特位置的切换指令通知所述无线设备2基于所述控制消息中的比特区间传输数据;
所述无线设备2,还用于接收所述无线设备控制器1发送的封装于CPRI链路所在的CPRI帧中预设比特位置的切换指令;响应所述切换指令,将所属载波对应的比特区间切换到所述控制消息中的比特区间上,以基于所述控制消息中的比特区间传输数据。
其中,所述区间信息包括所述比特区间的比特数信息和位置信息。
可选的,所述无线设备2,还用于在所述响应所述切换指令,将所属载波对应的比特区间切换到所述控制消息中的比特区间上,以基于所述控制消息中的比特区间传输数据之前,通过所述CPRI链路中所属载波对应的当前比特区间传输数据,其中,所述当前比特区间为接收到所述控制消息之前所述无线设 备控制器1为所属载波配置的比特区间。
可选的,所述预设位置为所述CPRI链路所在的CPRI帧中的控制字或所述CPRI链路所在的CPRI帧中的数据比特。
请参见图12,是本发明实施例提供的另一种无线设备控制器的结构示意图,本发明实施例的所述无线设备控制器包括:通信接口300、存储器200和处理器100,所述处理器100分别与所述通信接口300及所述存储器200连接。所述存储器200可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。所述通信接口300、存储器200以及处理器100之间可以通过总线进行数据连接,也可以通过其他方式数据连接。本实施例中以总线连接进行说明。其中,
所述存储器200用于存储驱动软件;
所述处理器100从所述存储器读取所述驱动软件并在所述驱动软件的作用下执行:
确定需要为第一载波分配的目标比特数;
根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置,其中,调整后的所述CPRI链路中的剩余连续比特数不小于所述目标比特数;
基于所述剩余连续比特为所述第一载波分配与所述目标比特数对应的比特区间,并生成包括调整后的所述第二载波的比特区间的区间信息和所述第一载波的比特区间的区间信息的控制消息,所述区间信息包括所述比特区间的比特数信息和位置信息;
基于所述通信接口300向无线设备发送所述控制消息;
通过封装于所述CPRI链路所在的CPRI帧中预设比特位置的切换指令并基于所述通信接口300通知所述无线设备基于所述控制消息中的比特区间传输数据。
可选的,所述处理器100在执行所述根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置之前,还用于执行以下步骤:
检测所述CPRI链路中剩余连续比特数是否小于所述目标比特数,所述剩余连续比特数为所述CPRI链路中每两个相邻比特区间之间的比特数;
若所述剩余连续比特数小于所述目标比特数,则执行所述根据所述目标比 特数调整CPRI链路中为第二载波配置的比特区间的位置的步骤。
可选的,所述处理器100还用于执行以下步骤:
检测所述CPRI链路中的剩余比特总数是否达到所述目标比特数,所述剩余比特总数为所述CPRI链路中除所述比特区间以外的比特数;
若所述剩余比特总数达到所述目标比特数,则执行所述根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置的步骤。
可选的,所述处理器100在执行所述通过封装于所述CPRI链路所在的CPRI帧中预设比特位置的切换指令通知所述无线设备基于所述控制消息中的比特区间传输数据,具体执行以下步骤:
将预设的切换指令封装于所述CPRI链路所在的CPRI帧中的控制字中,基于所述通信接口300并通过所述控制字通知所述无线设备根据所述控制消息中的比特区间传输数据;或,
将预设的切换指令封装于所述CPRI链路所在的CPRI帧中的数据比特中,基于所述通信接口300并通过所述数据比特通知所述无线设备根据所述控制消息中的比特区间传输数据。
可选的,所述无线设备包括多个;所述处理器100在执行所述生成包括调整后的所述第二载波的比特区间的区间信息和所述第一载波的比特区间的区间信息的控制消息,具体执行以下步骤:
确定所述第一载波和所述第二载波所属的无线设备,并生成每一个无线设备对应的控制消息;其中,每一个无线设备对应的控制消息中包括所属载波的比特区间的区间信息;
所述处理器100在执行所述向无线设备发送所述控制消息,具体执行以下步骤:
基于所述通信接口300分别向每一个无线设备发送该无线设备对应的控制消息。
进一步的,请参见图13,是本发明实施例提供的另一种无线设备的结构示意图,如图13所示,本发明实施例的所述无线设备包括:通信接口600、存储器500和处理器400,所述处理器400分别与所述通信接口600及所述存储器500连接。所述存储器500可以是高速RAM存储器,也可以是非不稳定 的存储器(non-volatile memory),例如至少一个磁盘存储器。所述通信接口600、存储器500以及处理器400之间可以通过总线进行数据连接,也可以通过其他方式数据连接。本实施例中以总线连接进行说明。其中,
所述存储器500用于存储驱动软件;
所述处理器400从所述存储器读取所述驱动软件并在所述驱动软件的作用下执行:
基于所述通信接口600接收无线设备控制器发送的包括所属载波的比特区间的区间信息的控制消息,并存储所述区间信息,其中,所述区间信息包括所述比特区间的比特数信息和位置信息;
基于所述通信接口600接收封装于CPRI链路所在的CPRI帧中预设比特位置的切换指令;
响应所述切换指令,将所属载波对应的比特区间切换到所述控制消息中的比特区间上,以基于所述控制消息中的比特区间传输数据。
可选的,所述处理器400在执行所述响应所述切换指令,将所属载波对应的比特区间切换到所述控制消息中的比特区间上,以基于所述控制消息中的比特区间传输数据之前,还用于执行以下步骤:
基于所述通信接口600并通过所述CPRI链路中所属载波对应的当前比特区间传输数据,其中,所述当前比特区间为接收到所述控制消息之前所述无线设备控制器为所属载波配置的比特区间。
可选的,所述预设位置为所述CPRI链路所在的CPRI帧中的控制字或所述CPRI链路所在的CPRI帧中的数据比特。
在本发明实施例中,REC可在CPRI链路中没有足够的连续比特时,通过对已配置比特区间的载波进行比特区间的位置调整,使得能够在不影响已有载波的比特数配置的情况下,有效地为新载波分配用于进行数据传输的CPRI比特区间,并通过控制字或数据比特通知RE无损(微损)切换所有载波对应的比特区间,从而实现了CPRI比特的充分利用,甚至达到100%的利用。由此解决了在一条CPRI链路中由于CPRI比特分配出现碎片而导致的无法满足新的载波的连续比特分配的问题,避免了资源浪费。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详 述的部分,可以参见其他实施例的相关描述。
在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述该作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
本领域技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其 限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (17)

  1. 一种无线设备控制器,其特征在于,包括:
    确定单元,用于确定需要为第一载波分配的目标比特数;
    调整单元,用于根据所述确定单元确定出的所述目标比特数调整通用公共无线接口CPRI链路中为第二载波配置的比特区间的位置,其中,调整后的所述CPRI链路中的剩余连续比特数不小于所述目标比特数;
    消息生成单元,用于基于所述剩余连续比特为所述第一载波分配与所述目标比特数对应的比特区间,并生成包括调整后的所述第二载波的比特区间的区间信息和所述第一载波的比特区间的区间信息的控制消息,所述区间信息包括所述比特区间的比特数信息和位置信息;
    通信单元,用于向无线设备发送所述控制消息;
    所述通信单元,还用于通过封装于所述CPRI链路所在的CPRI帧中预设比特位置的切换指令通知所述无线设备基于所述控制消息中的比特区间传输数据。
  2. 根据权利要求1所述的无线设备控制器,其特征在于,所述无线设备控制器还包括:
    检测单元,用于检测所述CPRI链路中剩余连续比特数是否小于所述目标比特数,并在检测到所述剩余连续比特数小于所述目标比特数时,通知所述调整单元根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置;其中,所述剩余连续比特数为所述CPRI链路中每两个相邻比特区间之间的比特数。
  3. 根据权利要求1或2所述的无线设备控制器,其特征在于,
    所述检测单元,还用于检测所述CPRI链路中的剩余比特总数是否达到所述目标比特数,并在检测到所述剩余比特总数达到所述目标比特数时,通知所述调整单元根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置,其中,所述剩余比特总数为所述CPRI链路中除所述比特区间以外的 比特数。
  4. 根据权利要求1-3任一项所述的无线设备控制器,其特征在于,所述通信单元通过封装于所述CPRI链路所在的CPRI帧中预设比特位置的切换指令通知所述无线设备基于所述控制消息中的比特区间传输数据的具体方式为:
    将预设的切换指令封装于所述CPRI链路所在的CPRI帧中的控制字中,并通过所述控制字通知所述无线设备根据所述控制消息中的比特区间传输数据。
  5. 根据权利要求1-3任一项所述的无线设备控制器,其特征在于,所述通信单元通过封装于所述CPRI链路所在的CPRI帧中预设比特位置的切换指令通知所述无线设备基于所述控制消息中的比特区间传输数据的具体方式为:
    将预设的切换指令封装于所述CPRI链路所在的CPRI帧中的数据比特中,并通过所述数据比特通知所述无线设备根据所述控制消息中的比特区间传输数据。
  6. 根据权利要求1-5任一项所述的无线设备控制器,其特征在于,所述无线设备包括多个;所述消息生成单元具体用于:
    确定所述第一载波和所述第二载波所属的无线设备,并生成每一个无线设备对应的控制消息;其中,每一个无线设备对应的控制消息中包括所属载波的比特区间的区间信息;
    所述通信单元向无线设备发送所述控制消息的具体方式为:
    分别向每一个无线设备发送该无线设备对应的控制消息。
  7. 一种无线设备,其特征在于,包括:
    通信单元,用于接收无线设备控制器发送的包括所属载波的比特区间的区间信息的控制消息,并存储所述区间信息,其中,所述区间信息包括所述比特区间的比特数信息和位置信息;
    所述通信单元,还用于接收封装于通用公共无线接口CPRI链路所在的 CPRI帧中预设比特位置的切换指令;
    切换单元,用于响应所述切换指令,将所属载波对应的比特区间切换到所述控制消息中的比特区间上,以基于所述控制消息中的比特区间传输数据。
  8. 根据权利要求7所述的无线设备,其特征在于,
    所述通信单元,还用于在所述响应所述切换指令,将所属载波对应的比特区间切换到所述控制消息中的比特区间上,以基于所述控制消息中的比特区间传输数据之前,通过所述CPRI链路中所属载波对应的当前比特区间传输数据,其中,所述当前比特区间为接收到所述控制消息之前所述无线设备控制器为所属载波配置的比特区间。
  9. 根据权利要求7或8所述的无线设备,其特征在于,所述预设位置为所述CPRI链路所在的CPRI帧中的控制字或所述CPRI链路所在的CPRI帧中的数据比特。
  10. 一种通用公共无线接口CPRI比特分配方法,其特征在于,包括:
    确定需要为第一载波分配的目标比特数;
    根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置,其中,调整后的所述CPRI链路中的剩余连续比特数不小于所述目标比特数;
    基于所述剩余连续比特为所述第一载波分配与所述目标比特数对应的比特区间,并生成包括调整后的所述第二载波的比特区间的区间信息和所述第一载波的比特区间的区间信息的控制消息,所述区间信息包括所述比特区间的比特数信息和位置信息;
    向无线设备发送所述控制消息;
    通过封装于所述CPRI链路所在的CPRI帧中预设比特位置的切换指令通知所述无线设备基于所述控制消息中的比特区间传输数据。
  11. 根据权利要求10所述的方法,其特征在于,在所述根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置之前,所述方法还包 括:
    检测所述CPRI链路中剩余连续比特数是否小于所述目标比特数,所述剩余连续比特数为所述CPRI链路中每两个相邻比特区间之间的比特数;
    若所述剩余连续比特数小于所述目标比特数,则执行所述根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置的步骤。
  12. 根据权利要求10或11所述的方法,其特征在于,所述方法还包括:
    检测所述CPRI链路中的剩余比特总数是否达到所述目标比特数,所述剩余比特总数为所述CPRI链路中除所述比特区间以外的比特数;
    若所述剩余比特总数达到所述目标比特数,则执行所述根据所述目标比特数调整CPRI链路中为第二载波配置的比特区间的位置的步骤。
  13. 根据权利要求10-12任一项所述的方法,其特征在于,所述通过封装于所述CPRI链路所在的CPRI帧中预设比特位置的切换指令通知所述无线设备基于所述控制消息中的比特区间传输数据,包括:
    将预设的切换指令封装于所述CPRI链路所在的CPRI帧中的控制字中,并通过所述控制字通知所述无线设备根据所述控制消息中的比特区间传输数据;或,
    将预设的切换指令封装于所述CPRI链路所在的CPRI帧中的数据比特中,并通过所述数据比特通知所述无线设备根据所述控制消息中的比特区间传输数据。
  14. 根据权利要求10-13任一项所述的方法,其特征在于,所述无线设备包括多个;所述生成包括调整后的所述第二载波的比特区间的区间信息和所述第一载波的比特区间的区间信息的控制消息,包括:
    确定所述第一载波和所述第二载波所属的无线设备,并生成每一个无线设备对应的控制消息;其中,每一个无线设备对应的控制消息中包括所属载波的比特区间的区间信息;
    所述向无线设备发送所述控制消息,包括:
    分别向每一个无线设备发送该无线设备对应的控制消息。
  15. 一种通用公共无线接口CPRI比特分配方法,其特征在于,包括:
    接收无线设备控制器发送的包括所属载波的比特区间的区间信息的控制消息,并存储所述区间信息,其中,所述区间信息包括所述比特区间的比特数信息和位置信息;
    接收封装于CPRI链路所在的CPRI帧中预设比特位置的切换指令;
    响应所述切换指令,将所属载波对应的比特区间切换到所述控制消息中的比特区间上,以基于所述控制消息中的比特区间传输数据。
  16. 根据权利要求15所述的方法,其特征在于,在所述响应所述切换指令,将所属载波对应的比特区间切换到所述控制消息中的比特区间上,以基于所述控制消息中的比特区间传输数据之前,所述方法还包括:
    通过所述CPRI链路中所属载波对应的当前比特区间传输数据,其中,所述当前比特区间为接收到所述控制消息之前所述无线设备控制器为所属载波配置的比特区间。
  17. 根据权利要求15或16所述的方法,其特征在于,所述预设位置为所述CPRI链路所在的CPRI帧中的控制字或所述CPRI链路所在的CPRI帧中的数据比特。
PCT/CN2015/095719 2015-11-26 2015-11-26 一种通用公共无线接口cpri比特分配方法及相关设备 WO2017088157A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2015/095719 WO2017088157A1 (zh) 2015-11-26 2015-11-26 一种通用公共无线接口cpri比特分配方法及相关设备
CN201580084469.0A CN108307690B (zh) 2015-11-26 2015-11-26 一种通用公共无线接口cpri比特分配方法及相关设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/095719 WO2017088157A1 (zh) 2015-11-26 2015-11-26 一种通用公共无线接口cpri比特分配方法及相关设备

Publications (1)

Publication Number Publication Date
WO2017088157A1 true WO2017088157A1 (zh) 2017-06-01

Family

ID=58762825

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/095719 WO2017088157A1 (zh) 2015-11-26 2015-11-26 一种通用公共无线接口cpri比特分配方法及相关设备

Country Status (2)

Country Link
CN (1) CN108307690B (zh)
WO (1) WO2017088157A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404636A (zh) * 2007-10-04 2009-04-08 富士通株式会社 无线通信系统
CN101715214A (zh) * 2009-09-29 2010-05-26 中兴通讯股份有限公司 同相正交数据传输方法及系统
CN101925068A (zh) * 2010-08-25 2010-12-22 山东大学 一种ofdm动态资源分配的方法
EP2555450A2 (en) * 2010-03-26 2013-02-06 Samsung Electronics Co., Ltd. Method and apparatus for activating carriers in a mobile communication system
US20140094157A1 (en) * 2012-10-01 2014-04-03 Freescale Semiconductor, Inc. Method and System for Automatically Controlling the Insertion of Control Word in CPRI Daisy Chain Configuration
US20140169798A1 (en) * 2012-12-17 2014-06-19 Electronics And Telecommunications Research Institute High speed data serial connection interface apparatus, cpri transmitting and receiving method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101959254B (zh) * 2009-07-14 2013-06-12 中兴通讯股份有限公司 收发数据的方法、装置及传输数据的系统
CN101695192A (zh) * 2009-10-22 2010-04-14 中兴通讯股份有限公司 实现基带处理单元与射频单元之间资源分配的方法及系统
CN103582026B (zh) * 2012-07-19 2017-11-28 中兴通讯股份有限公司 一种cpri自适应配置的方法和装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404636A (zh) * 2007-10-04 2009-04-08 富士通株式会社 无线通信系统
CN101715214A (zh) * 2009-09-29 2010-05-26 中兴通讯股份有限公司 同相正交数据传输方法及系统
EP2555450A2 (en) * 2010-03-26 2013-02-06 Samsung Electronics Co., Ltd. Method and apparatus for activating carriers in a mobile communication system
CN101925068A (zh) * 2010-08-25 2010-12-22 山东大学 一种ofdm动态资源分配的方法
US20140094157A1 (en) * 2012-10-01 2014-04-03 Freescale Semiconductor, Inc. Method and System for Automatically Controlling the Insertion of Control Word in CPRI Daisy Chain Configuration
US20140169798A1 (en) * 2012-12-17 2014-06-19 Electronics And Telecommunications Research Institute High speed data serial connection interface apparatus, cpri transmitting and receiving method

Also Published As

Publication number Publication date
CN108307690A (zh) 2018-07-20
CN108307690B (zh) 2020-09-08

Similar Documents

Publication Publication Date Title
US9949245B2 (en) Method, base station, and user equipment for implementing carrier aggregation
WO2018045877A1 (zh) 网络切片控制方法及相关设备
US10958581B2 (en) Data transmission method and communications apparatus
US10560929B2 (en) Resource request method and system, device, and network side node
CN106576279B (zh) 多通信制式传输方法及装置
US20090253426A1 (en) System and method for communication of multi-mode base stations
EP3654694B1 (en) Data transmission method and apparatus
US11997740B2 (en) Radio resource control (RRC) message sending method and apparatus
CN108282819B (zh) 一种减少中断时延的方法、装置及用户设备
CN113382404A (zh) 用于获取ue安全能力的方法和设备
JP6608528B2 (ja) 無線通信の方法、ネットワーク装置及び端末機器
CN100502347C (zh) 便于睡眠模式、分组数据移动切换的方法和装置
WO2019137406A1 (zh) 一种传输方法和网络设备
CN110140411B (zh) 5g无线接入网络中的连接建立
US20210227507A1 (en) Communications method and apparatus
US10652864B2 (en) Sequence signal sending method and terminal
WO2021031035A1 (zh) 一种通信方法及装置
CN111418229B (zh) 数据复制传输功能的配置方法、网络设备及终端设备
CN102355698B (zh) 基于基站控制设备群组的通信方法及设备、系统
CN101742695B (zh) 数据传输方法、基站和数据传输系统
WO2017088157A1 (zh) 一种通用公共无线接口cpri比特分配方法及相关设备
KR20230005233A (ko) 네트워크 전환 방법, 장치, 통신 장비 및 시스템
EP4391414A1 (en) Data transmission method and apparatus
CN111434180B (zh) 随机接入方法及装置
KR100493280B1 (ko) 이동 단말의 위치 등록 제어 방법

Legal Events

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

Ref document number: 15909068

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15909068

Country of ref document: EP

Kind code of ref document: A1