CN108307690B - Bit allocation method for common public radio interface CPRI and related equipment - Google Patents

Bit allocation method for common public radio interface CPRI and related equipment Download PDF

Info

Publication number
CN108307690B
CN108307690B CN201580084469.0A CN201580084469A CN108307690B CN 108307690 B CN108307690 B CN 108307690B CN 201580084469 A CN201580084469 A CN 201580084469A CN 108307690 B CN108307690 B CN 108307690B
Authority
CN
China
Prior art keywords
bit
interval
carrier
control message
cpri
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201580084469.0A
Other languages
Chinese (zh)
Other versions
CN108307690A (en
Inventor
董平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN108307690A publication Critical patent/CN108307690A/en
Application granted granted Critical
Publication of CN108307690B publication Critical patent/CN108307690B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

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

Abstract

The embodiment of the invention discloses a bit allocation method, related equipment and a system for common public radio interface CPRI, wherein the method comprises the following steps: determining a target bit number required to be allocated to a first carrier; adjusting the position of a bit interval configured for a second carrier in a CPRI link according to a target bit number, wherein the adjusted residual continuous bit number in the CPRI link is not less than the target bit number; allocating a bit interval corresponding to the target bit number for the first carrier, and generating a control message including interval information of the adjusted bit interval of the second carrier and interval information of the bit interval of the first carrier; transmitting a control message to the wireless device; and informing the wireless equipment of transmitting data based on the bit interval in the control message through a switching instruction encapsulated in a preset position in a CPRI frame where the CPRI link is located. By implementing the embodiment of the invention, the continuous bit interval can be allocated to the carrier when the CPRI link has no continuous bit interval.

Description

Bit allocation method for common public radio interface CPRI and related equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a CPRI bit allocation method and related equipment.
Background
Common Public Radio Interface (CPRI) specifications are specifications made by companies working in the industry on the key interfaces within Radio base stations, which define physical layer and data link layer protocols for controlling and managing data transmission between Radio Equipment Controllers (RECs) and Radio Equipment (REs), or between two REs, within a Radio base station.
Referring to the CPRI protocol, a base station is divided into two parts, an REC and an RE (or multiple REs), where each RE has one or more carriers, and when allocating bits for data transmission to a carrier on a certain RE, the REC needs to allocate consecutive bits to the carrier. As shown in fig. 1, CPRI transmits bit data between REC and RE in a time division manner, assuming that 4bit intervals (i.e., C1, C2, C3 and C4) with different bit numbers are already allocated to 4 carriers, there is a gap (also referred to as "chip") between the 4bit intervals, and the bit number contained in the gap is small, so that when a new carrier (e.g., C5) is added and the bit number needs to be allocated to the new carrier, sufficient consecutive bits may not be allocated to the new carrier. However, the total number of remaining bits, i.e. the total number of bits of the gap, is often greater than the number of bits to be allocated, i.e. the total number of remaining bits is sufficient for the carrier to use, which results in a waste of resources.
Disclosure of Invention
Embodiments of the present invention provide a CPRI bit allocation method and a related device, which can allocate a continuous bit interval to a carrier when a CPRI link has no continuous bit interval, so as to avoid resource waste.
In a first aspect, an embodiment of the present invention provides a wireless device controller, including:
a determining unit, configured to determine a target bit number to be allocated to a first carrier;
an adjusting unit, configured to adjust a position of a bit interval configured for a second carrier in a common public radio interface CPRI link according to the target bit number determined by the determining unit, where the adjusted remaining continuous bit number in the CPRI link is not less than the target bit number;
a message generating unit configured to allocate a bit interval corresponding to the target bit number to the first carrier based on the remaining consecutive bits, and generate a control message including adjusted interval information of the bit interval of the second carrier and interval information of the bit interval of the first carrier, where the interval information includes bit number information and position information of the bit interval;
a communication unit for transmitting the control message to a wireless device;
the communication unit is further configured to notify the wireless device of data transmission based on the bit interval in the control message through a switching instruction encapsulated in a preset bit position in a CPRI frame where the CPRI link is located.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the radio device controller further includes:
a detecting unit, configured to detect whether a remaining continuous bit number in the CPRI link is smaller than the target bit number, and notify the adjusting unit to adjust a position of a bit interval configured for a second carrier in the CPRI link according to the target bit number when the remaining continuous bit number is detected to be smaller than the target bit number; wherein the remaining continuous bit number is a bit number between every two adjacent bit intervals in the CPRI link.
With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect,
the detecting unit is further configured to detect whether a total number of remaining bits in the CPRI link reaches the target bit number, and notify the adjusting unit to adjust a position of a bit interval configured for a second carrier in the CPRI link according to the target bit number when the total number of remaining bits reaches the target bit number is detected, where the total number of remaining bits is a bit number in the CPRI link except for the bit interval.
With reference to the first aspect, or the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the specific manner in which the communication unit notifies the wireless device, through the handover instruction encapsulated in the preset bit position in the CPRI frame where the CPRI link is located, to transmit data based on the bit interval in the control message is:
and encapsulating a preset switching instruction in a control word in a CPRI frame where the CPRI link is positioned, and informing the wireless equipment of transmitting data according to a bit interval in the control message through the control word.
With reference to the first aspect, or the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the specific manner in which the communication unit notifies the wireless device, through the handover instruction encapsulated in the preset bit position in the CPRI frame where the CPRI link is located, to transmit data based on the bit interval in the control message is:
and encapsulating a preset switching instruction in a data bit in a CPRI frame where the CPRI link is located, and informing the wireless equipment of transmitting data according to a bit interval in the control message through the data bit.
With reference to the first aspect, or the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, or the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the wireless device includes a plurality of wireless devices; the message generating unit is specifically configured to:
determining wireless devices to which the first carrier and the second carrier belong, and generating a control message corresponding to each wireless device; the control message corresponding to each wireless device comprises interval information of a bit interval of a carrier to which the wireless device belongs;
the specific way for the communication unit to send the control message to the wireless device is as follows:
and respectively sending the control message corresponding to the wireless device to each wireless device.
In a second aspect, an embodiment of the present invention provides a wireless device, including:
a communication unit, configured to receive a control message including interval information of a bit interval of a corresponding carrier sent by a radio device controller, and store the interval information, where the interval information includes bit number information and position information of the bit interval;
the communication unit is also used for receiving a switching instruction encapsulated in a preset bit position in a CPRI frame where a common public radio interface CPRI link is located;
and the switching unit is used for responding to the switching instruction, switching the bit interval corresponding to the carrier to the bit interval in the control message, and transmitting data based on the bit interval in the control message.
With reference to the second aspect, in a first possible implementation manner of the second aspect,
the communication unit is further configured to switch, in response to the switching instruction, a bit interval corresponding to the carrier to which the radio device controller belongs to a bit interval in the control message, so as to transmit data through a current bit interval corresponding to the carrier to which the radio device controller belongs in the CPRI link before transmitting data based on the bit interval in the control message, where the current bit interval is a bit interval configured for the carrier to which the radio device controller belongs before receiving the control message.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the preset position is a control word in a CPRI frame where the CPRI link is located or a data bit in the CPRI frame where the CPRI link is located.
In a third aspect, an embodiment of the present invention provides a CPRI bit allocation method, including:
determining a target bit number required to be allocated to a first carrier;
adjusting the position of a bit interval configured for a second carrier in a CPRI link according to the target bit number, wherein the adjusted residual continuous bit number in the CPRI link is not less than the target bit number;
allocating a bit interval corresponding to the target bit number to the first carrier based on the remaining continuous bits, and generating a control message including adjusted interval information of the bit interval of the second carrier and interval information of the bit interval of the first carrier, where the interval information includes bit number information and position information of the bit interval;
transmitting the control message to a wireless device;
and informing the wireless equipment of transmitting data based on the bit interval in the control message through a switching instruction encapsulated in a preset bit position in a CPRI frame where the CPRI link is located.
With reference to the third aspect, in a first possible implementation manner of the third aspect, before the adjusting, according to the target number of bits, a position of a bit interval configured for a second carrier in a CPRI link, the method further includes:
detecting whether the residual continuous bit number in the CPRI link is smaller than the target bit number, wherein the residual continuous bit number is the bit number between every two adjacent bit intervals in the CPRI link;
and if the residual continuous bit number is smaller than the target bit number, executing the step of adjusting the position of a bit interval configured for the second carrier in the CPRI link according to the target bit number.
With reference to the third aspect, or the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the method further includes:
detecting whether the total number of remaining bits in the CPRI link reaches the target bit number, wherein the total number of remaining bits is the number of bits in the CPRI link except the bit interval;
and if the total number of the residual bits reaches the target bit number, executing the step of adjusting the position of a bit interval configured for a second carrier in the CPRI link according to the target bit number.
With reference to the third aspect, or the first possible implementation manner of the third aspect, or the second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the notifying, by the handover instruction encapsulated in a preset bit position in a CPRI frame where the CPRI link is located, the wireless device to transmit data based on a bit interval in the control message includes:
encapsulating a preset switching instruction in a control word in a CPRI frame where the CPRI link is located, and informing the wireless equipment of transmitting data according to a bit interval in the control message through the control word; or the like, or, alternatively,
and encapsulating a preset switching instruction in a data bit in a CPRI frame where the CPRI link is located, and informing the wireless equipment of transmitting data according to a bit interval in the control message through the data bit.
With reference to the third aspect, or the first possible implementation manner of the third aspect, or the second possible implementation manner of the third aspect, or the third possible implementation manner of the third aspect, in a fourth possible implementation manner of the third aspect, the wireless device includes a plurality of wireless devices; the generating of the control message including the adjusted interval information of the bit interval of the second carrier and the adjusted interval information of the bit interval of the first carrier includes:
determining wireless devices to which the first carrier and the second carrier belong, and generating a control message corresponding to each wireless device; the control message corresponding to each wireless device comprises interval information of a bit interval of a carrier to which the wireless device belongs;
the sending the control message to the wireless device includes:
and respectively sending the control message corresponding to the wireless device to each wireless device.
In a fourth aspect, an embodiment of the present invention provides a CPRI bit allocation method, including:
receiving a control message which is sent by a wireless equipment controller and comprises interval information of a bit interval of a carrier wave, and storing the interval information, wherein the interval information comprises bit number information and position information of the bit interval;
receiving a switching instruction encapsulated in a preset bit position in a CPRI frame where a CPRI link is located;
and responding to the switching instruction, switching the bit interval corresponding to the carrier to the bit interval in the control message, so as to transmit data based on the bit interval in the control message.
With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, before the responding to the switching instruction, switching 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, the method further includes:
and transmitting data through a current bit interval corresponding to the carrier to which the CPRI link belongs, wherein the current bit interval is a bit interval configured for the carrier to which the radio equipment controller belongs before the control message is received.
With reference to the fourth aspect or the first possible implementation manner of the fourth aspect, in a second possible implementation manner of the fourth aspect, the preset position is a control word in a CPRI frame where the CPRI link is located or a data bit in the CPRI frame where the CPRI link is located.
In a fifth aspect, 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 content of the first and second substances,
the wireless device controller is used for determining a target bit number which needs to be allocated to the first carrier; adjusting the position of a bit interval configured for a second carrier in a CPRI link according to the target bit number, wherein the adjusted residual continuous bit number in the CPRI link is not less than the target bit number; allocating a bit interval corresponding to the target bit number to the first carrier based on the remaining continuous bits, and generating a control message including adjusted interval information of the bit interval of the second carrier and interval information of the bit interval of the first carrier, where the interval information includes bit number information and position information of the bit interval; transmitting the control message to the wireless device;
the wireless device is used for receiving a control message which is sent by the wireless device controller and comprises interval information of a bit interval of a carrier wave to which the wireless device belongs, and storing the interval information;
the radio equipment controller is further configured to notify the radio equipment of data transmission based on the bit interval in the control message through a switching instruction encapsulated in a preset bit position in a CPRI frame where the CPRI link is located;
the wireless equipment is also used for receiving a switching instruction encapsulated in a preset bit position in a CPRI frame where a CPRI link is located; and responding to the switching instruction, switching the bit interval corresponding to the carrier to the bit interval in the control message, so as to transmit data based on the bit interval in the control message.
In a sixth aspect, an embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a program, and the program includes, when executed, some or all of the steps of CPRI bit allocation in the third aspect.
In a seventh aspect, an embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a program, and the program includes, when executed, some or all of the steps of the CPRI bit allocation method according to the fourth aspect.
In an eighth aspect, an embodiment of the present invention provides a wireless device controller, including: the system comprises a communication interface, a memory and a processor, wherein the processor is respectively connected with the communication interface and the memory; wherein the content of the first and second substances,
the memory is used for storing driving software;
the processor reads the driving software from the memory and executes under the action of the driving software:
determining a target bit number required to be allocated to a first carrier;
adjusting the position of a bit interval configured for a second carrier in a CPRI link according to the target bit number, wherein the adjusted residual continuous bit number in the CPRI link is not less than the target bit number;
allocating a bit interval corresponding to the target bit number to the first carrier based on the remaining continuous bits, and generating a control message including adjusted interval information of the bit interval of the second carrier and interval information of the bit interval of the first carrier, where the interval information includes bit number information and position information of the bit interval;
transmitting the control message to a wireless device based on the communication interface;
and informing the wireless equipment of transmitting data based on the bit interval in the control message through a switching instruction encapsulated in a preset bit position in a CPRI frame where the CPRI link is positioned and based on the communication interface.
With reference to the eighth aspect, in a first possible implementation manner of the eighth aspect, before the adjusting, according to the target number of bits, a position of a bit interval configured for a second carrier in a CPRI link, the processor is further configured to perform the following steps:
detecting whether the residual continuous bit number in the CPRI link is smaller than the target bit number, wherein the residual continuous bit number is the bit number between every two adjacent bit intervals in the CPRI link;
and if the residual continuous bit number is smaller than the target bit number, executing the step of adjusting the position of a bit interval configured for the second carrier in the CPRI link according to the target bit number.
With reference to the eighth aspect or the first possible implementation manner of the eighth aspect, in a second possible implementation manner of the eighth aspect, the processor is further configured to perform the following steps:
detecting whether the total number of remaining bits in the CPRI link reaches the target bit number, wherein the total number of remaining bits is the number of bits in the CPRI link except the bit interval;
and if the total number of the residual bits reaches the target bit number, executing the step of adjusting the position of a bit interval configured for a second carrier in the CPRI link according to the target bit number.
With reference to the eighth aspect, or the first possible implementation manner of the eighth aspect, or the second possible implementation manner of the eighth aspect, in a third possible implementation manner of the eighth aspect, the processor, when executing the switching instruction encapsulated in a preset bit position in a CPRI frame where the CPRI link is located, notifies the wireless device to transmit data based on a bit interval in the control message, specifically executes the following steps:
encapsulating a preset switching instruction in a control word in a CPRI frame where the CPRI link is located, and informing the wireless equipment to transmit data according to a bit interval in the control message based on the communication interface and through the control word; or the like, or, alternatively,
and encapsulating a preset switching instruction in a data bit in a CPRI frame where the CPRI link is located, and informing the wireless equipment to transmit data according to a bit interval in the control message based on the communication interface and through the data bit.
With reference to the eighth aspect, or the first possible implementation manner of the eighth aspect, or the second possible implementation manner of the eighth aspect, or the third possible implementation manner of the eighth aspect, in a fourth possible implementation manner of the eighth aspect, the wireless device includes a plurality of wireless devices; the processor, when executing the control message including the adjusted interval information of the bit interval of the second carrier and the adjusted interval information of the bit interval of the first carrier, specifically executes the following steps:
determining wireless devices to which the first carrier and the second carrier belong, and generating a control message corresponding to each wireless device; the control message corresponding to each wireless device comprises interval information of a bit interval of a carrier to which the wireless device belongs;
the processor, when executing the sending of the control message to the wireless device, specifically executes the following steps:
and respectively sending a control message corresponding to each wireless device based on the communication interface.
In a ninth aspect, an embodiment of the present invention provides a wireless device, including: the system comprises a communication interface, a memory and a processor, wherein the processor is respectively connected with the communication interface and the memory; wherein the content of the first and second substances,
the memory is used for storing driving software;
the processor reads the driving software from the memory and executes under the action of the driving software:
receiving a control message which is sent by a wireless equipment controller and comprises interval information of a bit interval of a carrier wave based on the communication interface, and storing the interval information, wherein the interval information comprises bit number information and position information of the bit interval;
receiving a switching instruction encapsulated in a preset bit position in a CPRI frame where a CPRI link is located based on the communication interface;
and responding to the switching instruction, switching the bit interval corresponding to the carrier to the bit interval in the control message, so as to transmit data based on the bit interval in the control message.
With reference to the ninth aspect, in a first possible implementation manner of the ninth aspect, before the processor executes the switching instruction to switch the bit interval corresponding to the carrier to the bit interval in the control message, so as to transmit data based on the bit interval in the control message, the processor is further configured to perform the following steps:
and transmitting data through a current bit interval corresponding to the carrier in the CPRI link based on the communication interface, wherein the current bit interval is a bit interval configured for the carrier by the radio equipment controller before the control message is received.
With reference to the ninth aspect or the first possible implementation manner of the ninth aspect, in a second possible implementation manner of the ninth aspect, the preset position is a control word in a CPRI frame where the CPRI link is located or a data bit in the CPRI frame where the CPRI link is located.
The embodiment of the invention has the following beneficial effects:
in the embodiment of the present invention, when there are not enough continuous bits in the CPRI link, the REC may perform position adjustment of the bit interval on the carrier in the configured bit interval, so that the CPRI bit interval for data transmission may be effectively allocated to the new carrier without affecting bit number configuration of the existing carrier, and notify the RE through a control word or a data bit to switch the bit interval corresponding to all carriers without loss (micro loss), thereby achieving full utilization of the CPRI bits, and even achieving 100% utilization. Therefore, the problem that continuous bit allocation of a new carrier cannot be met due to fragmentation of CPRI bit allocation in a CPRI link is solved, and resource waste is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of CPRI bit allocation in the prior art;
FIG. 2 is a diagram of a network architecture provided by an embodiment of the present invention;
fig. 3a 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 the embodiment of the present invention;
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 invention;
fig. 6 is a schematic diagram of sending a control message according to an embodiment of the present invention;
fig. 7 is a schematic diagram illustrating switching between bit intervals 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 invention;
fig. 9 is a flowchart illustrating a CPRI bit allocation method according to an embodiment of the present invention;
fig. 10 is a flowchart illustrating 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 invention;
fig. 13 is a schematic structural diagram of another wireless device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be understood that the technical solution of the embodiment of the present invention can be applied to wireless communication systems of various systems, for example: a Code Division Multiple Access (CDMA) System, a Wideband Code Division Multiple Access (WCDMA) System, a Long Term Evolution (LTE) System, a Universal Mobile Telecommunications System (UMTS) or a Wireless Local Area Network (WLAN) communication System, and the like, and the application scenario of the communication System may be an indoor distribution System or an outdoor distribution System.
Specifically, please refer to fig. 2, which is a network architecture diagram according to an embodiment of the present invention. From a specific application point of view, the CPRI specification may be used for data transmission between the REC and the RE of the base station. As shown in fig. 2, the base station is divided into an REC and at least one RE (two are shown in the figure), each RE has one or more carriers, and the REC needs to allocate bits for data transmission, specifically, allocate continuous bit intervals, to each carrier on each RE. The bit interval is determined according to bit number information and position information required by the carrier.
The basic concept of CPRI bit transmission is described below. The data transmission between the REC and the RE is data transmission based on CPRI frames, wherein one CPRI frame period is 10 ms. Each frame is divided into 150 superframes, each superframe being approximately 66.7us (microseconds). Each superframe is divided into 256 basic frames, each of which is about 260ns (nanoseconds) (1chip 1/3.84MHz 260.416667 ns). A CPRI basic frame contains control words and an IQ data part for transmitting IQ data to be transmitted. Specifically, one CPRI basic frame includes 16 slots: w-0.. 15, W-0 is a control slot including a control word, W-1.. 15 is an IQ data slot, and different CPRI rates correspond to different frame structures. For example, as shown in FIG. 3a, when the CPRI rate is 614.4Mbit/s, the structure of the basic frame is shown in FIG. 3 a. Wherein, the gray portion in fig. 3a is the IQ data portion, which is 120 bit; the black part is a control word. For another example, as shown in fig. 3b, when the CPRI rate is 1.25Gbit/s, the basic frame is shown in fig. 3b, and the number of bits of the IQ data portion is 240 bits, and the black portion is the control word. At other CPRI rates, the corresponding IQ bit numbers of the basic frames are different, and are not described herein again.
It should be understood that, in the embodiment of the present invention, the allocation of the number of bits in the CPRI link is the allocation of the number of bits to the IQ part of the CPRI basic frame. That is to say, the CPRI link in the embodiment of the present invention may correspond to the basic frame, the time period of the basic frame is 260ns, and the data of each carrier on each RE is transmitted in the bit interval allocated on each basic frame, that is, each consecutive 260 ns. The bit number distributed by a carrier on a basic frame is directly related to the bandwidth thereof, and the bit distribution rule can be set according to different requirements. For example, a UMTS carrier (5Mhz) may be allocated 24 bits in a basic frame in the downlink direction, an LTE carrier (20Mhz) may be allocated 240 bits in a basic frame in the downlink direction, and so on, and in the presence of data compression, the number of allocated bits may be reduced accordingly.
The embodiment of the invention discloses a CPRI bit allocation method, related equipment and a system, which can realize the allocation of continuous bit intervals for carriers when a CPRI link has no continuous bit intervals. The details are described below.
Referring to fig. 4, it is a schematic structural diagram of a wireless device controller according to an embodiment of the present invention, and specifically, as shown in fig. 4, the wireless device controller according to an embodiment of the present invention includes a determining unit 11, an adjusting unit 12, a message generating unit 13, and a communication unit 14. Wherein the content of the first and second substances,
the determining unit 11 is configured to determine a target number of bits that needs to be allocated to the first carrier.
Wherein the target number of bits is the number of bits required to be allocated for the first carrier for transmitting data. Specifically, the first carrier is a carrier that needs to newly allocate a bit interval with a certain bit number, that is, a target bit number, for data transmission, such as a carrier that is newly added to a certain RE in a communication system including the REC and the RE, or a carrier that is added to a newly added RE due to the newly added RE, and the like, which is 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 common public radio interface CPRI link according to the target bit number determined by the determining unit 11.
The second carrier is a carrier to which a bit interval for data transmission is allocated in the CPRI link, and the bit interval allocated to the second carrier is determined according to bit number information and position information of bits allocated to the second carrier. Further, the adjusted remaining continuous bit number in the CPRI link is not less than the target bit number.
Specifically, the CPRI link according to the embodiment of the present invention may correspond to the IQ data portion of the CPRI basic frame, and allocate bits to each carrier based on the IQ data portion for data transmission. After the determining unit 11 determines the target number of bits, which is the number of bits that need to be allocated to the first carrier, which is a new carrier, the adjusting unit 12 can adjust the position of the bit interval of the carrier to which bits have been allocated.
For example, please refer to fig. 5, which is a schematic structural diagram of a current carrier bit configuration according to an embodiment of the present invention. As shown in fig. 5, it is assumed that the base station is divided into REC, RE0 and RE1 (i.e., two REs), where there are two carriers on RE0, respectively C1 and C3, and there are also two carriers on RE1, respectively C2 and C4. Wherein, assuming that the CPRI link, i.e. the IQ data portion, is divided into 20bit blocks (the bit number of each bit block is determined by the bit number corresponding to the IQ data portion), the bit intervals (i.e. the current configuration) of the 4 carriers in the CPRI link are respectively: c1 corresponds to bit blocks 1-3, i.e. having a bit interval of 1-3, a bit interval of 12-15 for C3, a bit interval of 6-9 for C2, a bit interval of 18-20 for C4, the remaining bits comprising bit blocks 4-5, 10-11 and 16-17. The C1, C2, C3 and C4 may be the second carrier.
The message generating unit 13 is configured to allocate a bit interval corresponding to the target bit number to the first carrier based on the remaining consecutive bits, and generate a control message including the adjusted interval information of the bit interval of the second carrier and the adjusted interval information of the bit interval of the first carrier.
The interval information may include bit number information and position information of the bit interval.
The communication unit 14 is configured to send the control message to a wireless device.
In a specific embodiment, after the adjusting unit 12 performs position adjustment according to the bit interval allocated to each carrier in the current CPRI link, the message generating unit 13 may determine the position information corresponding to the target bit number, determine, for the first carrier, the bit interval corresponding to the target bit number determined by the position information determining unit 11, generate a control message including the interval information of the bit interval of each adjusted carrier (i.e., the first carrier and the second carrier), and send the control message to each RE through the communication unit 14, so that each RE stores the control message, so that the subsequent bit interval can be switched in time to transmit data according to the adjusted bit interval.
Further optionally, in this embodiment of the present invention, the radio equipment controller REC may further include (not shown in the figure):
a detecting unit 15, configured to detect whether a remaining continuous bit number in the CPRI link is smaller than the target bit number, and notify the adjusting unit 12 to adjust a position of a bit interval configured for a second carrier in the CPRI link according to the target bit number when the remaining continuous bit number is detected to be smaller than the target bit number; wherein the remaining continuous bit number is a bit number between every two adjacent bit intervals in the CPRI link.
As a further alternative, in embodiments of the present invention,
the detecting unit 15 is further configured to detect whether the total number of remaining bits in the CPRI link reaches the target bit number, and notify the adjusting unit 12 to adjust the position of a bit interval configured for a second carrier in the CPRI link according to the target bit number when detecting that the total number of remaining bits reaches the target bit number, where the total number of remaining bits is the number of bits in the CPRI link except for the bit interval.
Specifically, after the determining unit 11 determines the target number of bits that is the number of bits that needs to be allocated to the new carrier, that is, the first carrier, the detecting unit 15 may detect whether the total number of remaining bits, that is, the remaining bits in the CPRI link, is sufficient, that is, whether the total number of remaining bits is not less than the target number of bits, and if the total number of remaining bits is not less than the target number of bits, the adjusting unit 12 may adjust the position of the bit interval of the carrier (that is, the second carrier) to which bits have been allocated. Optionally, the detecting unit 15 may further detect whether sufficient consecutive bits remain in the CPRI link, that is, a bit interval not smaller than the target bit number, and if the remaining consecutive bits are insufficient, perform position adjustment on the bit interval of the carrier to which the bits have been allocated through the adjusting unit 12. Further optionally, the detecting unit 15 may further detect whether the total number of remaining bits in the CPRI link reaches the target bit number when detecting that the remaining continuous bit number in the CPRI link is smaller than the target bit number, so as to adjust the position of the bit interval of the carrier with the allocated bits through the adjusting unit 12 when the target bit number is reached, that is, when the target bit number is not smaller than the target bit number.
Further, please refer to fig. 6 in conjunction with fig. 5, and fig. 6 is a schematic diagram of a sending control message according to an embodiment of the present invention. As shown in fig. 6, when carrier C5 is newly added to RE1, continuous bits for data transmission need to be allocated to new carrier C5, and the target number of bits needed to be allocated to C5 is assumed to be 4bit blocks. At this time, the adjusting unit 12 adjusts the positions of the bit sections configured for the second carrier, i.e., the positions of C1, C3, C2, and C4, to the 4bit blocks allocated for C5 as needed, so as to ensure that the bit sections of consecutive 4bit blocks are allocated for C5. For example, the bit interval corresponding to C1 adjusted (pre-configured) by the adjusting unit 12 is bit block 1-3 (unchanged), the bit interval of C3 is 8-11, the bit interval of C2 is 4-7, and the bit interval of C4 is 12-14. And allocates a bit interval including 4bit blocks of bit blocks 15 to 18 to the new carrier C5, the message generating unit 13 can generate a control message including interval information of the bit interval of each carrier, and transmit the control message to each RE through the communication unit 14. And after receiving the control message comprising the interval information of the bit interval corresponding to the carrier wave, the RE stores the interval information and returns a confirmation message to the REC.
Optionally, the wireless device may include a plurality; the message generating unit 13 is specifically configured to:
determining wireless devices to which the first carrier and the second carrier belong, and generating a control message corresponding to each wireless device; the control message corresponding to each wireless device includes interval information of a bit interval of the carrier.
Further, the specific way for the communication unit 14 to send the control message to the wireless device is as follows:
and respectively sending the control message corresponding to the wireless device to each wireless device.
That is, the message generating unit 13 may generate control messages corresponding to different REs according to carriers to which the different REs belong, and send the control messages to the corresponding REs through the communication unit 14. For example, as shown in fig. 6, the message generating unit 13 may generate two control messages, i.e., a control message corresponding to RE0 and a control message corresponding to RE1, according to RE0 and RE 1. The control message corresponding to the RE0 includes the interval information of the bit intervals of the adjusted carriers C1 and C3, and the control message corresponding to the RE1 includes the interval information of the bit intervals of the adjusted carriers C2 and C4 and the newly added C5. So that the control messages can be transmitted to the corresponding REs through the communication unit 14, respectively. RE0 and RE1 store the adjusted interval information after receiving the respective control messages, and return acknowledgement messages to the REC, respectively.
The communication unit 14 is further configured to notify the wireless device of data transmission based on the bit interval in the control message through a switching instruction encapsulated in a preset bit position in a CPRI frame where the CPRI link is located.
Optionally, in this embodiment of the present invention, the specific way for the communication unit 14 to notify the wireless device of data transmission based on the bit interval in the control message through the switching instruction encapsulated in the preset bit position in the CPRI frame where the CPRI link is located may be:
and encapsulating a preset switching instruction in a control word in a CPRI frame where the CPRI link is positioned, and informing the wireless equipment of transmitting data according to a bit interval in the control message through the control word.
Optionally, in this embodiment of the present invention, the specific way for the communication unit 14 to notify the wireless device of data transmission based on the bit interval in the control message through the switching instruction encapsulated in the preset bit position in the CPRI frame where the CPRI link is located may also be:
and encapsulating a preset switching instruction in a data bit in a CPRI frame where the CPRI link is located, and informing the wireless equipment of transmitting data according to a bit interval in the control message through the data bit.
That is, after the REC sends the control message to each RE through the communication unit 14, specifically, when receiving an acknowledgement message returned by the RE to acknowledge the receipt of the control message, the communication unit 14 may further notify each RE through a control word in the CPRI frame, even a data bit, that is, an IQ data part, to receive/send data according to a bit interval in the previously received control message, that is, trigger the preconfiguration to take effect.
It should be noted that the control message cannot be used to notify each RE to transmit data according to the bit interval in the control message, because the control message does not have precise time and cannot control the switching time of the CPRI bit interval. The control word or data bit and the CPRI time slot have definite corresponding relation, which is suitable for switching CPRI bit interval.
For example, please refer to fig. 7 in combination with fig. 5 and fig. 6, and fig. 7 is a schematic diagram illustrating a switching between bit intervals according to an embodiment of the present invention. As shown in fig. 7, assuming that the switching instruction is encapsulated in a preset control word (referred to as "switching control word" in the figure) of the CPRI frame, the communication unit 14 can notify the RE0 and the RE1 of the bit interval switching through the control word. Upon receiving the control word, RE0 and RE1 may switch 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, so as to transmit data based on the bit interval in the control message. After the switching is successful, the RE can inform the REC of the switching success message. Therefore, when the CPRI link has no continuous bit interval, the continuous bit interval can be distributed to the carrier, and the resource waste is avoided.
Referring to fig. 8, a schematic structural diagram of a wireless device according to an embodiment of the present invention is shown, and specifically, as shown in fig. 8, the wireless device according to the embodiment of the present invention includes a communication unit 21 and a switching unit 22. Wherein the content of the first and second substances,
the communication unit 21 is configured to receive a control message that includes interval information of a bit interval of a corresponding carrier and is sent by a radio device controller, and store the interval information, where the interval information includes bit number information and position information of the bit interval.
In a specific embodiment, when a carrier is newly added to a certain RE in a communication system formed by an REC and an RE, or a carrier added to the newly added RE due to the newly added RE needs to allocate continuous bits with a certain bit number, that is, a target bit number, to the newly added carrier (a first carrier), the REC may adjust, according to the target bit number, a position of a bit interval corresponding to a second carrier to which bits have been allocated in a CPRI link, allocate a bit interval corresponding to the target bit number to the first carrier, and generate a control message including adjusted interval information of the bit interval of the second carrier and interval information of the bit interval of the first carrier. Wherein the interval information includes bit number information and position information of the bit interval.
After receiving the control message sent by the REC through the communication unit 21, the RE may store the interval information of the bit interval preconfigured (i.e., adjusted) for the carrier on the RE included in the control message, so as to switch the bit interval according to the control message in time in the following, and transmit data according to the preconfigured bit interval. In addition, the RE may also return an acknowledgement message for acknowledging receipt of the control message to the REC through the communication unit 21, 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 common public radio interface CPRI link is located.
Optionally, the preset position is a control word in a CPRI frame where the CPRI link is located or a data bit in the CPRI frame where the CPRI link is located.
The switching unit 22 is configured to switch, in response to the switching instruction, the bit interval corresponding to the carrier to the bit interval in the control message, so as to transmit data based on the bit interval in the control message.
Further, in the embodiment of the present invention,
the communication unit 21 is further configured to switch the bit interval corresponding to the carrier to the bit interval in the control message in response to the switching instruction, so as to transmit data through the current bit interval corresponding to the carrier in the CPRI link before transmitting data based on the bit interval in the control message.
Wherein the current bit interval (current configuration) is a bit interval configured for the carrier by the radio equipment controller before the control message is received. That is, the switching unit 22 still transmits data in the original bit interval (i.e., 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. Therefore, seamless switching is realized based on the preset position, such as a switching instruction corresponding to the control word, so that the system capacity is increased, and the CPRI data transmission efficiency is improved to a certain extent.
Specifically, when receiving a switching instruction corresponding to a preset position in the CPRI frame, such as a control word, the communication unit 21 may perform real-time processing through the switching unit 22, and switch each carrier on the RE from the original bit interval (i.e., the current bit interval) to the bit interval preconfigured in the control message for data transmission, thereby implementing lossless (micro-loss) switching. Specifically, as shown in fig. 7, it is assumed that the REC encapsulates the switching command in a preset control word (referred to as "switching control word" in the figure) of the CPRI frame, and notifies RE0 and RE1 of the bit interval switching through the control word. When the communication unit 21 receives the control word, the switching unit 22 may switch 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, so as to transmit data based on the bit interval in the control message.
Optionally, the switching unit 22 may use a control word (or a data bit) to perform bit interval switching in various ways, for example, the CPU is notified by an interrupt to perform switching, or the switching is performed directly by logic or a chip, and the embodiment of the present invention is not limited. Further, after the handover is completed, the RE may notify the REC of the handover success message through the communication unit 21, that is, the REC is informed to take effect based on the pre-configuration of the bit interval in the control message.
In the embodiment of the present invention, when there are not enough continuous bits in the CPRI link, the REC may perform position adjustment of the bit interval on the carrier in the configured bit interval, so that the CPRI bit interval for data transmission may be effectively allocated to the new carrier without affecting bit number configuration of the existing carrier, and notify the RE through a control word or a data bit to switch the bit interval corresponding to all carriers without loss (micro loss), thereby achieving full utilization of the CPRI bits, and even achieving 100% utilization. Therefore, the problem that continuous bit allocation of a new carrier cannot be met due to fragmentation of CPRI bit allocation in a CPRI link is solved, and resource waste is avoided.
Please refer to fig. 9, which is a flowchart illustrating a CPRI bit allocation method according to an embodiment of the present invention, specifically, the method according to the embodiment of the present invention may be specifically applied to the REC, and as shown in fig. 9, the CPRI bit allocation method includes:
101. a target number of bits that need to be allocated for the first carrier is determined.
Specifically, the first carrier is a carrier that needs to newly allocate a bit interval with a certain bit number, that is, a target bit number, for data transmission, such as a carrier that is newly added to a certain RE in a communication system including the REC and the RE, or a carrier that is added to a newly added RE due to the newly added RE, and the like, which is not limited in the embodiment of the present invention. The bit number corresponding to the bit interval to be allocated is the target bit number.
102. And adjusting the position of a bit interval configured for the second carrier in the CPRI link according to the target bit number.
The second carrier is a carrier to which a bit interval for data transmission has been allocated in the CPRI link, and the bit interval corresponding to the second carrier is determined according to bit number information and position information of bits allocated to the second carrier. Further, the adjusted remaining continuous bit number in the CPRI link is not less than the target bit number.
Further, before adjusting the position of the bit interval configured for the second carrier in the CPRI link according to the target bit number, the REC may detect whether a remaining continuous bit number in the CPRI link is smaller than the target bit number, where the remaining continuous bit number is a bit number between every two adjacent bit intervals in the CPRI link; and if the residual continuous bit number is smaller than the target bit number, executing the step of adjusting the position of a bit interval configured for the second carrier in the CPRI link according to the target bit number.
Further, the REC may also detect whether a total number of remaining bits in the CPRI link reaches the target number of bits, where the total number of remaining bits is the number of bits in the CPRI link except for the bit interval; and if the total number of the residual bits reaches the target bit number, executing the step of adjusting the position of a bit interval configured for a second carrier in the CPRI link according to the target bit number. For example, when the remaining continuous bit number is smaller than the target bit number, triggering to further detect whether the total number of remaining bits in the CPRI link reaches the target bit number, so as to adjust the position of the bit interval of the carrier (i.e., the second carrier) to which bits have been allocated when the target bit number is reached, that is, when the target bit number is not smaller than the target bit number.
Specifically, after determining the target bit number, which is the number of bits that needs to be allocated to the new carrier, that is, the first carrier, the REC may detect whether sufficient consecutive bits, that is, a bit interval not smaller than the target bit number, remain in the CPRI link, and if the remaining consecutive bits are insufficient, step 102 may be executed to perform position adjustment on the bit interval of the carrier to which the bits have been allocated. Optionally, it may also be detected whether all remaining bits in the CPRI link, that is, the total number of remaining bits, is sufficient, that is, whether the total number of remaining bits is not smaller than the target number of bits, and if the total number of remaining bits is not smaller than the target number of bits, step 102 may be executed to perform position adjustment of the bit interval of the carrier with the allocated bits.
103. Allocating a bit interval corresponding to the target bit number to the first carrier based on the remaining consecutive bits, and generating a control message including the adjusted interval information of the bit interval of the second carrier and the adjusted interval information of the bit interval of the first carrier.
Wherein the interval information includes bit number information and position information of the bit interval.
104. Transmitting the control message to a wireless device.
In a specific embodiment, after determining the location information corresponding to the target bit number according to the bit interval allocated to each carrier in the current CPRI link, the REC may determine the bit interval corresponding to the first carrier, generate a control message including the interval information of the bit interval of each adjusted carrier (i.e., the first carrier and the second carrier), and send the control message to each RE, so that each RE stores the control message, and then performs subsequent bit interval switching in time to transmit data according to the adjusted bit interval.
Optionally, the wireless device RE may include a plurality of RE; the generating the control message including the adjusted interval information of the bit interval of the second carrier and the adjusted interval information of the bit interval of the first carrier may specifically be: determining wireless devices to which the first carrier and the second carrier belong, and generating a control message corresponding to each wireless device; the control message corresponding to each wireless device includes interval information of a bit interval of the carrier. Further, the sending the control message to the wireless device may specifically be: and respectively sending the control message corresponding to the wireless device to each wireless device.
That is to say, the REC may generate control messages corresponding to different REs according to carriers to which the different REs belong, and send each control message to the corresponding RE.
105. And informing the wireless equipment of transmitting data based on the bit interval in the control message through a switching instruction encapsulated in a preset bit position in a CPRI frame where the CPRI link is located.
The notifying, by the switching instruction encapsulated in the preset bit position in the CPRI frame where the CPRI link is located, of the wireless device to transmit data based on the bit interval in the control message may specifically be: encapsulating a preset switching instruction in a control word in a CPRI frame where the CPRI link is located, and informing the wireless equipment of transmitting data according to a bit interval in the control message through the control word; or, encapsulating a preset switching instruction in a data bit in a CPRI frame where the CPRI link is located, and notifying the wireless device of transmitting data according to a bit interval in the control message through the data bit. That is, after the REC sends the control message to each RE, specifically, when receiving an acknowledgement message returned by the RE to acknowledge receipt of the control message, the REC may notify each RE through a control word in the CPRI frame, even a data bit, that is, an IQ data part, to receive/send data according to a bit interval in the previously received control message, that is, trigger the preconfiguration to take effect.
It should be noted that, before switching the bit interval according to the control information to transmit data based on the adjusted bit interval, the RE still transmits data according to the original bit interval (i.e., the current bit interval). Therefore, seamless switching is realized based on the preset position, such as a switching instruction corresponding to the control word, so that the system capacity is increased, and the CPRI data transmission efficiency is improved to a certain extent.
Further, please refer to fig. 10, which is a flowchart illustrating another CPRI bit allocation method according to an embodiment of the present invention, specifically, the method according to the embodiment of the present invention can be specifically applied to the RE, as shown in fig. 10, where the CPRI bit allocation method includes:
201. and receiving a control message which is sent by a wireless equipment controller and comprises interval information of the bit interval of the carrier wave, and storing the interval information.
In a specific embodiment, when a carrier is newly added to a certain RE in a communication system formed by an REC and an RE, or a carrier added to the newly added RE due to the newly added RE needs to allocate continuous bits with a certain bit number, that is, a target bit number, to the newly added carrier (a first carrier), the REC may adjust, according to the target bit number, a position of a bit interval corresponding to a second carrier to which bits have been allocated in a CPRI link, allocate a bit interval corresponding to the target bit number to the first carrier, and generate a control message including adjusted interval information of the bit interval of the second carrier and interval information of the bit interval of the first carrier. Wherein the interval information includes bit number information and position information of the bit interval. The affiliated carrier may refer to all carriers on the current RE.
After receiving the control message sent by the REC, the RE may store the interval information of the bit interval preconfigured (i.e., adjusted) for the carrier on the RE included in the control message, so as to switch the bit interval according to the control message in time in the following, and transmit data according to the preconfigured bit interval. Further, the RE may return an acknowledgement message to the REC acknowledging receipt of the control message.
202. And receiving a switching instruction encapsulated in a preset bit position in a CPRI frame where the CPRI link is located.
Optionally, the preset position is a control word in a CPRI frame where the CPRI link is located or a data bit in the CPRI frame where the CPRI link is located. The switching instruction may be sent by the REC through the control word or data bit after receiving an acknowledgement message returned by all REs to acknowledge receipt of the control message.
203. And responding to the switching instruction, switching the bit interval corresponding to the carrier to the bit interval in the control message, so as to transmit data based on the bit interval in the control message.
In a specific embodiment, before responding to the switching instruction and switching the bit interval corresponding to the carrier to the bit interval in the control message, so as to transmit data based on the bit interval in the control message, the wireless device transmits data through a current bit interval corresponding to the carrier in the CPRI link, where the current bit interval (current configuration) is a bit interval allocated to the carrier by the wireless device controller before receiving the control message.
Specifically, when receiving a switching instruction corresponding to a preset position in a CPRI frame, such as a control word, the RE may perform real-time processing, and switch each carrier on the RE from an original bit interval (i.e., the current bit interval) to a bit interval preconfigured in the control message for data transmission, thereby implementing lossless (micro-loss) switching. After the handover is completed, the RE may inform the REC of the handover success message, i.e. inform the REC that the pre-configuration based on the bit interval in the control message is in effect.
In the embodiment of the present invention, when there are not enough continuous bits in the CPRI link, the REC may perform position adjustment of the bit interval on the carrier in the configured bit interval, so that the CPRI bit interval for data transmission may be effectively allocated to the new carrier without affecting bit number configuration of the existing carrier, and notify the RE through a control word or a data bit to switch the bit interval corresponding to all carriers without loss (micro loss), thereby achieving full utilization of the CPRI bits, and even achieving 100% utilization. Therefore, the problem that continuous bit allocation of a new carrier cannot be met due to fragmentation of CPRI bit allocation in a CPRI link is solved, and resource waste is avoided.
Please refer to fig. 11, which is a schematic structural diagram of a CPRI bit allocation system according to an embodiment of the present invention, and specifically, as shown in fig. 11, the CPRI bit allocation system according to the embodiment of the present invention includes: a wireless device controller 1 and at least one wireless device 2; wherein the content of the first and second substances,
the wireless device controller 1 is configured to determine a target bit number to be allocated to a first carrier; adjusting the position of a bit interval configured for a second carrier in a CPRI link according to the target bit number, wherein the adjusted residual continuous bit number in the CPRI link is not less than the target bit number; allocating a bit interval corresponding to the target bit number to the first carrier based on the remaining consecutive bits, and generating a control message including adjusted interval information of the bit interval of the second carrier and interval information of the bit interval of the first carrier; sending the control message to the wireless device 2;
the wireless device 2 is configured to receive a control message including interval information of a bit interval of a corresponding carrier sent by the wireless device controller 1, and store the interval information;
the radio equipment controller 1 is further configured to notify the radio equipment 2 of data transmission based on a bit interval in the control message through a switching instruction encapsulated in a preset bit position in a CPRI frame where the CPRI link is located;
the wireless device 2 is further configured to receive a switching instruction, which is sent by the wireless device controller 1 and encapsulated in a preset bit position in a CPRI frame where a CPRI link is located; and responding to the switching instruction, switching the bit interval corresponding to the carrier to the bit interval in the control message, so as to transmit data based on the bit interval in the control message.
Wherein the interval information includes bit number information and position information of the bit interval.
Optionally, the wireless device 2 is further configured to switch, in response to the switching instruction, a bit interval corresponding to the carrier to which the wireless device belongs to a bit interval in the control message, so as to transmit data through a current bit interval corresponding to the carrier to which the CPRI link belongs before transmitting data based on the bit interval in the control message, where the current bit interval is a bit interval configured for the carrier to which the wireless device controller 1 belongs before receiving the control message.
Optionally, the preset position is a control word in a CPRI frame where the CPRI link is located or a data bit in the CPRI frame where the CPRI link is located.
Referring to fig. 12, it is a schematic structural diagram of another radio device controller according to an embodiment of the present invention, where the radio device controller according to the embodiment of the present invention includes: a communication interface 300, a memory 200 and a processor 100, wherein the processor 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 (non-volatile memory), such as at least one disk memory. The communication interface 300, the memory 200 and the processor 100 may be connected by a bus, or may be connected by other methods. In this embodiment, a bus connection is described. Wherein the content of the first and second substances,
the memory 200 is used for storing driving software;
the processor 100 reads the driver software from the memory and executes under the action of the driver software:
determining a target bit number required to be allocated to a first carrier;
adjusting the position of a bit interval configured for a second carrier in a CPRI link according to the target bit number, wherein the adjusted residual continuous bit number in the CPRI link is not less than the target bit number;
allocating a bit interval corresponding to the target bit number to the first carrier based on the remaining continuous bits, and generating a control message including adjusted interval information of the bit interval of the second carrier and interval information of the bit interval of the first carrier, where the interval information includes bit number information and position information of the bit interval;
transmitting the control message to a wireless device based on the communication interface 300;
and notifying the wireless device to transmit data based on the bit interval in the control message through a switching instruction encapsulated in a preset bit position in a CPRI frame where the CPRI link is located and based on the communication interface 300.
Optionally, before the adjusting the position of the bit interval configured for the second carrier in the CPRI link according to the target bit number, the processor 100 is further configured to execute the following steps:
detecting whether the residual continuous bit number in the CPRI link is smaller than the target bit number, wherein the residual continuous bit number is the bit number between every two adjacent bit intervals in the CPRI link;
and if the residual continuous bit number is smaller than the target bit number, executing the step of adjusting the position of a bit interval configured for the second carrier in the CPRI link according to the target bit number.
Optionally, the processor 100 is further configured to perform the following steps:
detecting whether the total number of remaining bits in the CPRI link reaches the target bit number, wherein the total number of remaining bits is the number of bits in the CPRI link except the bit interval;
and if the total number of the residual bits reaches the target bit number, executing the step of adjusting the position of a bit interval configured for a second carrier in the CPRI link according to the target bit number.
Optionally, the processor 100 executes the switching instruction encapsulated in the preset bit position in the CPRI frame where the CPRI link is located to notify the wireless device of data transmission based on the bit interval in the control message, and specifically executes the following steps:
encapsulating a preset switching instruction in a control word in a CPRI frame where the CPRI link is located, and informing the wireless equipment of transmitting data according to a bit interval in the control message based on the communication interface 300 and through the control word; or the like, or, alternatively,
and encapsulating a preset switching instruction in a data bit in a CPRI frame where the CPRI link is located, and informing the wireless equipment of transmitting data according to a bit interval in the control message through the data bit based on the communication interface 300.
Optionally, the wireless device comprises a plurality of devices; the processor 100 specifically performs the following steps in executing the control message including the adjusted interval information of the bit interval of the second carrier and the adjusted interval information of the bit interval of the first carrier:
determining wireless devices to which the first carrier and the second carrier belong, and generating a control message corresponding to each wireless device; the control message corresponding to each wireless device comprises interval information of a bit interval of a carrier to which the wireless device belongs;
the processor 100 specifically performs the following steps when executing the sending of the control message to the wireless device:
and respectively transmitting a control message corresponding to each wireless device based on the communication interface 300.
Further, please refer to fig. 13, which is a schematic structural diagram of another wireless device according to an embodiment of the present invention, and as shown in fig. 13, the wireless device according to the embodiment of the present invention includes: a communication interface 600, a memory 500 and a processor 400, wherein the processor 400 is connected with the communication interface 600 and the memory 500 respectively. The memory 500 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The communication interface 600, the memory 500 and the processor 400 may be connected by a bus, or may be connected by other methods. In this embodiment, a bus connection is described. Wherein the content of the first and second substances,
the memory 500 is used for storing driving software;
the processor 400 reads the driver software from the memory and executes under the action of the driver software:
receiving a control message including interval information of a bit interval of a carrier sent by a radio equipment controller based on the communication interface 600, and storing the interval information, wherein the interval information includes bit number information and position information of the bit interval;
receiving a switching instruction encapsulated in a preset bit position in a CPRI frame where a CPRI link is located based on the communication interface 600;
and responding to the switching instruction, switching the bit interval corresponding to the carrier to the bit interval in the control message, so as to transmit data based on the bit interval in the control message.
Optionally, before executing the switching instruction, the processor 400 is further configured to switch the bit interval corresponding to the carrier to the bit interval in the control message to transmit data based on the bit interval in the control message, and perform the following steps:
and transmitting data through a current bit interval corresponding to the carrier in the CPRI link based on the communication interface 600, where the current bit interval is a bit interval configured for the carrier by the radio equipment controller before the control message is received.
Optionally, the preset position is a control word in a CPRI frame where the CPRI link is located or a data bit in the CPRI frame where the CPRI link is located.
In the embodiment of the present invention, when there are not enough continuous bits in the CPRI link, the REC may perform position adjustment of the bit interval on the carrier in the configured bit interval, so that the CPRI bit interval for data transmission may be effectively allocated to the new carrier without affecting bit number configuration of the existing carrier, and notify the RE through a control word or a data bit to switch the bit interval corresponding to all carriers without loss (micro loss), thereby achieving full utilization of the CPRI bits, and even achieving 100% utilization. Therefore, the problem that continuous bit allocation of a new carrier cannot be met due to fragmentation of CPRI bit allocation in a CPRI link is solved, and resource waste is avoided.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (17)

1. A wireless device controller, comprising:
a determining unit, configured to determine a target bit number to be allocated to a first carrier;
an adjusting unit, configured to adjust a position of a bit interval configured for a second carrier in a common public radio interface CPRI link according to the target bit number determined by the determining unit, where the adjusted remaining continuous bit number in the CPRI link is not less than the target bit number;
a message generating unit configured to allocate a bit interval corresponding to the target bit number to the first carrier based on the remaining consecutive bits, and generate a control message including adjusted interval information of the bit interval of the second carrier and interval information of the bit interval of the first carrier, where the interval information includes bit number information and position information of the bit interval;
a communication unit for transmitting the control message to a wireless device;
the communication unit is further configured to notify the wireless device of data transmission based on the bit interval in the control message through a switching instruction encapsulated in a preset bit position in a CPRI frame where the CPRI link is located.
2. The wireless device controller of claim 1, further comprising:
a detecting unit, configured to detect whether a remaining continuous bit number in the CPRI link is smaller than the target bit number, and notify the adjusting unit to adjust a position of a bit interval configured for a second carrier in the CPRI link according to the target bit number when the remaining continuous bit number is detected to be smaller than the target bit number; wherein the remaining continuous bit number is a bit number between every two adjacent bit intervals in the CPRI link.
3. The wireless device controller of claim 1, further comprising:
a detecting unit, configured to detect whether a total number of remaining bits in the CPRI link reaches the target bit number, and notify the adjusting unit to adjust a position of a bit interval configured for a second carrier in the CPRI link according to the target bit number when the total number of remaining bits is detected to reach the target bit number, where the total number of remaining bits is a bit number in the CPRI link except for the bit interval.
4. The controller according to any one of claims 1 to 3, wherein the communication unit notifies the radio device, through the switching instruction encapsulated in the preset bit position in the CPRI frame where the CPRI link is located, that the data is transmitted based on the bit interval in the control message in a specific manner:
and encapsulating a preset switching instruction in a control word in a CPRI frame where the CPRI link is positioned, and informing the wireless equipment of transmitting data according to a bit interval in the control message through the control word.
5. The controller according to any one of claims 1 to 3, wherein the communication unit notifies the radio device, through the switching instruction encapsulated in the preset bit position in the CPRI frame where the CPRI link is located, that the data is transmitted based on the bit interval in the control message in a specific manner:
and encapsulating a preset switching instruction in a data bit in a CPRI frame where the CPRI link is located, and informing the wireless equipment of transmitting data according to a bit interval in the control message through the data bit.
6. A wireless device controller according to any of claims 1-3, wherein the wireless device comprises a plurality; the message generating unit is specifically configured to:
determining wireless devices to which the first carrier and the second carrier belong, and generating a control message corresponding to each wireless device; the control message corresponding to each wireless device comprises interval information of a bit interval of a carrier to which the wireless device belongs;
the specific way for the communication unit to send the control message to the wireless device is as follows:
and respectively sending the control message corresponding to the wireless device to each wireless device.
7. A wireless device, comprising:
a communication unit for receiving a control message including interval information of a bit interval of a first carrier and interval information of an adjusted bit interval of a second carrier transmitted by a radio device controller and storing the interval information, wherein the adjusted interval information of the bit interval of the second carrier is obtained after adjusting the position of the bit interval configured for the second carrier in the common public radio interface CPRI link according to a target bit number, the target bit number is the determined bit number to be allocated to the first carrier, and the adjusted remaining continuous bit number in the CPRI link is not less than the target bit number, the interval information of the bit interval of the first carrier is obtained according to the bit interval corresponding to the target bit number and allocated to the first carrier based on the residual continuous bits, and the interval information includes bit number information and position information of the bit interval;
the communication unit is also used for receiving a switching instruction encapsulated in a preset bit position in a CPRI frame where a common public radio interface CPRI link is located;
and a switching unit, configured to switch, in response to the switching instruction, a bit interval corresponding to the carrier to a bit interval corresponding to the control message, so as to transmit data based on the bit interval in the control message, where the carrier includes the second carrier.
8. The wireless device of claim 7,
the communication unit is further configured to switch, in response to the switching instruction, a bit interval corresponding to the carrier to which the radio device controller belongs to a bit interval in the control message, so as to transmit data through a current bit interval corresponding to the carrier to which the radio device controller belongs in the CPRI link before transmitting data based on the bit interval in the control message, where the current bit interval is a bit interval configured for the carrier to which the radio device controller belongs before receiving the control message.
9. The wireless device according to claim 7 or 8, wherein the preset bit position is a control word in a CPRI frame where the CPRI link is located or a data bit in the CPRI frame where the CPRI link is located.
10. A method for allocating Common Public Radio Interface (CPRI) bits, comprising:
determining a target bit number required to be allocated to a first carrier;
adjusting the position of a bit interval configured for a second carrier in a CPRI link according to the target bit number, wherein the adjusted residual continuous bit number in the CPRI link is not less than the target bit number;
allocating a bit interval corresponding to the target bit number to the first carrier based on the remaining continuous bits, and generating a control message including adjusted interval information of the bit interval of the second carrier and interval information of the bit interval of the first carrier, where the interval information includes bit number information and position information of the bit interval;
transmitting the control message to a wireless device;
and informing the wireless equipment of transmitting data based on the bit interval in the control message through a switching instruction encapsulated in a preset bit position in a CPRI frame where the CPRI link is located.
11. The method of claim 10, wherein before the adjusting the position of the bit interval configured for the second carrier in the CPRI link according to the target number of bits, the method further comprises:
detecting whether the residual continuous bit number in the CPRI link is smaller than the target bit number, wherein the residual continuous bit number is the bit number between every two adjacent bit intervals in the CPRI link;
and if the residual continuous bit number is smaller than the target bit number, executing the step of adjusting the position of a bit interval configured for the second carrier in the CPRI link according to the target bit number.
12. The method of claim 10, further comprising:
detecting whether the total number of remaining bits in the CPRI link reaches the target bit number, wherein the total number of remaining bits is the number of bits in the CPRI link except the bit interval;
and if the total number of the residual bits reaches the target bit number, executing the step of adjusting the position of a bit interval configured for a second carrier in the CPRI link according to the target bit number.
13. The method according to any one of claims 10-12, wherein the notifying the wireless device of the transmission of data based on the bit interval in the control message by the handover command encapsulated in the predetermined bit position in the CPRI frame where the CPRI link is located comprises:
encapsulating a preset switching instruction in a control word in a CPRI frame where the CPRI link is located, and informing the wireless equipment of transmitting data according to a bit interval in the control message through the control word; or the like, or, alternatively,
and encapsulating a preset switching instruction in a data bit in a CPRI frame where the CPRI link is located, and informing the wireless equipment of transmitting data according to a bit interval in the control message through the data bit.
14. The method of any of claims 10-12, wherein the wireless device comprises a plurality; the generating of the control message including the adjusted interval information of the bit interval of the second carrier and the adjusted interval information of the bit interval of the first carrier includes:
determining wireless devices to which the first carrier and the second carrier belong, and generating a control message corresponding to each wireless device; the control message corresponding to each wireless device comprises interval information of a bit interval of a carrier to which the wireless device belongs;
the sending the control message to the wireless device includes:
and respectively sending the control message corresponding to the wireless device to each wireless device.
15. A method for allocating Common Public Radio Interface (CPRI) bits, comprising:
receiving a control message including interval information of a bit interval of a first carrier and adjusted interval information of a bit interval of a second carrier transmitted from a radio device controller, and storing the interval information, wherein the adjusted interval information of the bit interval of the second carrier is obtained after adjusting the position of the bit interval configured for the second carrier in the common public radio interface CPRI link according to a target bit number, the target bit number is the determined bit number to be allocated to the first carrier, and the adjusted remaining continuous bit number in the CPRI link is not less than the target bit number, the interval information of the bit interval of the first carrier is obtained according to the bit interval corresponding to the target bit number and allocated to the first carrier based on the residual continuous bits, and the interval information includes bit number information and position information of the bit interval;
receiving a switching instruction encapsulated in a preset bit position in a CPRI frame where a CPRI link is located;
and responding to the switching instruction, switching the bit interval corresponding to the carrier to the bit interval corresponding to the control message, so as to transmit data based on the bit interval in the control message, wherein the carrier comprises the second carrier.
16. The method according to claim 15, wherein before the switching the bit interval corresponding to the carrier to the bit interval in the control message in response to the switching instruction, the method further comprises:
and transmitting data through a current bit interval corresponding to the carrier to which the CPRI link belongs, wherein the current bit interval is a bit interval configured for the carrier to which the radio equipment controller belongs before the control message is received.
17. The method according to claim 15 or 16, wherein the preset bit position is a control word in a CPRI frame where the CPRI link is located or a data bit in the CPRI frame where the CPRI link is located.
CN201580084469.0A 2015-11-26 2015-11-26 Bit allocation method for common public radio interface CPRI and related equipment Active CN108307690B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/095719 WO2017088157A1 (en) 2015-11-26 2015-11-26 Bit allocation method for common public radio interface, and related device

Publications (2)

Publication Number Publication Date
CN108307690A CN108307690A (en) 2018-07-20
CN108307690B true CN108307690B (en) 2020-09-08

Family

ID=58762825

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580084469.0A Active CN108307690B (en) 2015-11-26 2015-11-26 Bit allocation method for common public radio interface CPRI and related equipment

Country Status (2)

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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101695192A (en) * 2009-10-22 2010-04-14 中兴通讯股份有限公司 Method and system for realizing resource distribution between baseband processing unit and radio frequency unit
CN101715214A (en) * 2009-09-29 2010-05-26 中兴通讯股份有限公司 Method and system for transmitting same-phase orthogonal data
CN101959254A (en) * 2009-07-14 2011-01-26 中兴通讯股份有限公司 Method and device for receiving and transmitting data and data transmission system
CN103582026A (en) * 2012-07-19 2014-02-12 中兴通讯股份有限公司 CPRI adaptive configuration method and CPRI adaptive configuration device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2455056A (en) * 2007-10-04 2009-06-03 Fujitsu Ltd Signalling mechanism in an OFDMA wireless communication network
KR20110108226A (en) * 2010-03-26 2011-10-05 삼성전자주식회사 Device and method to activate and deactivate carriers in wireless communication system
CN101925068B (en) * 2010-08-25 2012-11-21 山东大学 OFDM (Orthogonal Frequency Division Multiplexing) dynamic resource allocation method
US9392640B2 (en) * 2012-10-01 2016-07-12 Freescale Semiconductor, Inc. Method and system for automatically controlling the insertion of control word in CPRI daisy chain configuration
KR20140078308A (en) * 2012-12-17 2014-06-25 한국전자통신연구원 High Speed Serial Digital Data Interface Apparatus and Method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101959254A (en) * 2009-07-14 2011-01-26 中兴通讯股份有限公司 Method and device for receiving and transmitting data and data transmission system
CN101715214A (en) * 2009-09-29 2010-05-26 中兴通讯股份有限公司 Method and system for transmitting same-phase orthogonal data
CN101695192A (en) * 2009-10-22 2010-04-14 中兴通讯股份有限公司 Method and system for realizing resource distribution between baseband processing unit and radio frequency unit
CN103582026A (en) * 2012-07-19 2014-02-12 中兴通讯股份有限公司 CPRI adaptive configuration method and CPRI adaptive configuration device

Also Published As

Publication number Publication date
CN108307690A (en) 2018-07-20
WO2017088157A1 (en) 2017-06-01

Similar Documents

Publication Publication Date Title
JP7011003B2 (en) Data transmission method, transmitter and receiver
EP3621360B1 (en) System information transmission method and related device
US20160105917A1 (en) Method and apparatus for establishing rrc connection
CN103763748A (en) Data transmission method and device
WO2021036925A1 (en) Communication method and apparatus
KR20230130099A (en) Msg3 transfer methods, devices, devices and storage media
WO2017071552A1 (en) Time slot scheduling method and apparatus
CN103200680B (en) Paging method, core network element, access network elements and terminal equipment
US11082982B2 (en) Methods devices, and systems, for allocation of uplink resources for wireless data transmission
CN102355698B (en) Communication method based on base station control device group, device and system
JP2021502756A (en) Random access methods, devices, and storage media for communication devices
CN111417123B (en) Resource allocation and data receiving and transmitting method, device, system, medium and equipment
CN112806075B (en) Communication method and device
CN108307690B (en) Bit allocation method for common public radio interface CPRI and related equipment
US20130148618A1 (en) Method and apparatus for providing for multiplexed use of a resource on a transmission medium
CN111357345B (en) Wireless communication system and wireless base station
CN114374495B (en) Uplink data transmission method and related products
US10979943B2 (en) Method and device for acquiring terminal context
CN111642016A (en) Link reconfiguration processing method and related product
WO2023143271A1 (en) Information processing method, and user equipment and storage medium
CN111226494B (en) Indication method, acquisition method, user equipment and base station of context identification
CN109391910B (en) OSI transmission method, base station and user equipment
CN110178388B (en) Data transmission method, terminal equipment and network equipment
EP3319359B1 (en) User data tracking method and device
CN114846873A (en) Random access response sending method, random access response receiving method, random access response sending device, random access response receiving device and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant