WO2017020190A1 - Resource allocation method, data transmission method, and corresponding apparatus and corresponding system - Google Patents

Resource allocation method, data transmission method, and corresponding apparatus and corresponding system Download PDF

Info

Publication number
WO2017020190A1
WO2017020190A1 PCT/CN2015/085771 CN2015085771W WO2017020190A1 WO 2017020190 A1 WO2017020190 A1 WO 2017020190A1 CN 2015085771 W CN2015085771 W CN 2015085771W WO 2017020190 A1 WO2017020190 A1 WO 2017020190A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
data transmission
cpri
size
transmission unit
Prior art date
Application number
PCT/CN2015/085771
Other languages
French (fr)
Chinese (zh)
Inventor
何建平
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201580042427.0A priority Critical patent/CN106664605A/en
Priority to PCT/CN2015/085771 priority patent/WO2017020190A1/en
Publication of WO2017020190A1 publication Critical patent/WO2017020190A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/52Allocation or scheduling criteria for wireless resources based on load

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a resource allocation method, a data transmission method, and corresponding devices and systems.
  • CPRI Common Public Radio Interface
  • REC Wireless Device Controller
  • RE Radio Equipment
  • the REC is, for example, a baseband part of a base station, such as a BBU (Chinese: Baseband Unit; English: BaseBand Unit);
  • the RE is, for example, a radio frequency part of a base station, such as an RRU (Chinese: Radio Remote Unit; English: Radio Remote Unit). It can be seen that the CPRI specification can be used to implement communication between the baseband portion and the radio frequency portion of the base station.
  • FIG. 1 is a schematic structural diagram of a conventional base station. As shown in FIG. 1, it includes RECs 110 and RE120.
  • the CPRI protocol has a 2-layer, 3-plane structure.
  • Layer 2 includes L1 (Chinese: Layer 1, also known as physical layer) and L2 (Chinese: Layer 2, also known as Link Layer);
  • 3 plane includes SAP through L2 (Chinese: Service Access Point; English: Service Access) Point)
  • the user plane data between REC and RE is transmitted in the form of data in in-phase and quadrature modulation, ie IQ (Chinese: In-Phase/Quadture; English: In-Phase/Quadrature).
  • IQ data is in IQ container.
  • AxC container Choinese: Antenna carrier; English: Antenna xCarrier Container.
  • each frame (also known as 10ms frame due to its length of 10ms) is divided into 150 hyperframes, numbered from 0 to 149; each superframe is divided into 256 basic frames. The number is 0 to 255.
  • Each basic frame has a total of 16 words, the first word of each basic frame is used to transmit control words, and the remaining 15 words are used to transmit IQ data; different CPRI line rates, word bit widths are inconsistent, given in the figure An example of an 8-bit bit width.
  • the 2.0 and earlier CPRI protocols only support UMTS (Chinese: Universal Mobile Telecommunications System).
  • the CPRI basic frame rate is designed in integer multiples of the UMTS IQ data rate.
  • the IQ mapping method is very simple, and each basic frame carries 1 Chip data. 3.0
  • the CPRI protocol adds WiMAX (Chinese: World Interoperability for Microwave Access), and the IQ data rate is a non-integer multiple of the basic frame rate. For this reason, the IQ mapping method of the 3.0 protocol is shown in Figure 3: Find the appropriate integers K and S so that every K basic frames carry exactly S samples, thus forming an AxC Container block.
  • the embodiments of the present invention provide a resource allocation method, a data transmission method, and a corresponding device and system, which are used to solve the technical problem that the transmission resources cannot be fully utilized in the prior art.
  • a resource allocation method for allocating a common public radio interface CPRI resource in a process of bearer establishment, the method comprising:
  • the wireless device controller REC determines the size of the data transmission unit of the bearer to be established
  • the REC determines the distribution and size of available CPRI resources
  • the REC is configured according to a size of the data transmission unit and a distribution and size of the available CPRI resources, where a size of the available CPRI resource is greater than or equal to a resource required by the data transmission unit.
  • a size of the CPRI resource for the data transmission unit wherein the CPRI resource allocated for the data transmission unit includes at least two discretely distributed resource blocks, and the size of the at least two discretely distributed resource blocks The sum is equal to the size of the resource required by the data transmission unit.
  • the distribution and size of the available CPRI resources are: the available CPRI resources include two or more discretely distributed resource regions, and each The size of the resource regions is smaller than the size of the resources required by the data transmission unit; and each of the at least two discretely distributed resource blocks is located within one resource region.
  • the distribution of the at least two discretely distributed resource blocks minimizes fragmentation of remaining available CPRI resources.
  • the at least two discretely distributed resource blocks occupy as few of the resource regions as possible.
  • the method further includes:
  • the REC maps data carried by the bearer to a CPRI resource allocated for the data transmission unit.
  • the method further includes:
  • the REC will send the starting location and size of each resource block allocated for the data transmission unit to the wireless device RE.
  • the data transmission unit is an antenna carrier AxC container.
  • a data transmission method including:
  • the wireless device RE receives the general public allocated for the bearer transmitted by the wireless device controller REC.
  • a line interface CPRI resource information where the CPRI resource information includes a starting position and a size of at least two discretely distributed resource blocks that the REC will allocate for the bearer, wherein the at least two discretely distributed resource blocks The sum of the sizes is equal to the size of the resources required by the data transmission unit;
  • the RE receives data sent by the REC on each resource block according to the CPRI resource information, and combines and transmits data on all resource blocks to the terminal; and/or the RE receives the bearer from the terminal. Carrying data, and using the resource block allocated by the REC for the bearer, sending data carried by the bearer to the REC.
  • a resource allocation apparatus including:
  • a first determining unit configured to determine a size of a data transmission unit of the bearer to be established
  • a second determining unit configured to determine a distribution and a size of available CPRI resources
  • a resource allocation unit configured to: according to a size of the data transmission unit and a distribution and size of the available CPRI resource, when the size of the available CPRI resource is greater than or equal to a size of a resource required by the data transmission unit,
  • the data transmission unit allocates a CPRI resource, wherein the CPRI resource allocated for the data transmission unit includes at least two discretely distributed resource blocks, and a sum of sizes of the at least two discretely distributed resource blocks is equal to the The size of the resource required by the data transfer unit.
  • the distribution and size of the available CPRI resources are: the available CPRI resources include two or more discretely distributed resource regions, and each The size of the resource regions is smaller than the size of the resources required by the data transmission unit; and each of the at least two discretely distributed resource blocks is located within one resource region.
  • the distribution of the at least two discretely distributed resource blocks minimizes fragmentation of remaining available CPRI resources.
  • the at least two discretely distributed resource blocks occupy as few of the resource regions as possible.
  • a data mapping unit configured to map data carried by the bearer to a CPRI resource allocated for the data transmission unit.
  • a fifth possible implementation manner of the third aspect include:
  • a sending unit configured to send, to the wireless device RE, a starting location and a size of each resource block allocated for the data transmission unit.
  • the data transmission unit is an antenna carrier AxC container.
  • a data transmission apparatus including:
  • An interface unit configured to communicate with a wireless device controller REC;
  • a transceiver unit for communicating with the terminal
  • a processing unit configured to receive, by using the interface unit, a common public radio interface (CPRI) resource information that is sent by the REC to be a bearer, where the CPRI resource information includes at least two discrete distributions that the REC will allocate for the bearer a starting position and a size of the resource block, wherein a sum of sizes of the at least two discretely distributed resource blocks is equal to a size of a resource required by the data transmission unit;
  • CPRI common public radio interface
  • the processing unit is further configured to: according to the CPRI resource information, receive, by using the interface unit, data that is sent by the REC on each resource block, and combine data on all resource blocks to be sent by using the transceiver unit And receiving, by the transceiver unit, the data carried by the bearer from the terminal, and transmitting, by using the resource block allocated by the REC, the data carried by the bearer to the Said REC.
  • a fifth aspect provides a resource allocation system, including: a wireless device controller REC, a wireless device RE, and a terminal, wherein the REC and the RE communicate through a universal public wireless interface CPRI, and the RE and the terminal communicate through a wireless interface, and
  • the REC includes any of the foregoing third aspect or the third aspect of the possible implementation resource allocation
  • the device, the RE includes the data transmission device of the aforementioned fourth aspect.
  • the REC allocates CPRI resources for the data transmission unit according to the size of the data transmission unit and the distribution and size of the available CPRI resources, and at least two discretely distributed resource blocks included in the CPRI resources allocated for the data transmission unit.
  • the sum of the sizes is equal to the size of the resources required by the data transmission unit, so that the data transmission unit is transmitted by using at least two discretely distributed resource blocks, and the discretely distributed resource blocks are fully utilized, thereby improving the utilization of the transmission resources.
  • 1 is a schematic structural diagram of a conventional base station
  • FIG. 2 is a schematic structural diagram of a transmission resource in a frame form in a CPRI specification
  • 3 is a schematic diagram of an IQ mapping method of the 3.0 protocol
  • FIG. 4 is a schematic diagram of an application scenario according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a resource allocation method according to an embodiment of the present invention.
  • FIG. 6 is a first schematic diagram of available CPRI resources in an embodiment of the present invention.
  • FIG. 7 is a second schematic diagram of available CPRI resources in an embodiment of the present invention.
  • FIG. 8 is a detailed flowchart of a resource allocation method according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a mapping manner of an AxC container when two cells are initially established in the prior art
  • FIG. 11 is a schematic diagram of reallocating CPRI resources after cell spectrum expansion of a cell in the prior art
  • FIG. 12 is a diagram showing allocation of CPRI resources after spectrum expansion of cell cell0 according to an embodiment of the present invention. intention;
  • FIG. 13 is a flowchart of a data transmission method according to an embodiment of the present invention.
  • FIG. 14 is a block diagram of a resource allocation apparatus according to an embodiment of the present invention.
  • FIG. 15 is a structural diagram of a resource allocation apparatus according to an embodiment of the present invention.
  • FIG. 16 is a block diagram of a data transmission apparatus according to an embodiment of the present invention.
  • FIG. 17 is a structural diagram of a data transmission apparatus according to an embodiment of the present invention.
  • FIG. 18 is a schematic diagram of a resource allocation system according to an embodiment of the present invention.
  • the resource allocation of IQ data is in units of AxC containers.
  • resource allocation schemes based on AxC containers often lead to fragmentation of CPRI resources. These fragmented resources are often unusable. For example, when a new cell (or new carrier) or cell spectrum is extended, the fragmented resources cannot be used, and the resources need to be reconstructed before new or spectrum expansion can be performed. At this time, the service of the established cell needs to be interrupted, causing the user's service to be interrupted and the experience to be poor.
  • the embodiment of the present invention adopts a scheme of AxC container block transmission, that is, an AxC container can be divided into multiple sub-blocks, thereby fully utilizing the fragmented resources to improve the utilization of the CPRI resources and avoid user service interruption. Improve the user experience.
  • Data transmission unit The unit of data transmission between two devices communicating through CPRI, that is, the data is mapped to the unit on the CPRI resource.
  • the data transmission unit is, for example, an AxC container.
  • Resource area A resource area consisting of continuously distributed CPRI resources.
  • Resource block A piece of resource consisting of continuously distributed CPRI resources, which is a subset of the resource area.
  • FIG. 4 is a schematic diagram of an application scenario according to an embodiment of the present invention.
  • the present invention relates to RECs and REs, wherein RECs and REs can be baseband portions and radio frequency portions of a base station, respectively, and RECs and REs communicate via CPRI.
  • a resource allocation unit is introduced for implementing allocation of CPRI resources for the carrier when the carrier is established, for example, resource allocation for a data transmission unit (e.g., AxC container) for each carrier.
  • the resource allocation result is notified to the REC and the RE, the REC performs data mapping according to the resource allocation result, and the RE performs demapping of the data according to the resource allocation result.
  • the resource allocation unit may be a device that is independently set on the REC side, and is collectively referred to as a REC on the other REC side; or may be integrated in other REC-side devices, and the present application does not impose any limitation.
  • the resource allocation unit no longer allocates resources according to a granularity of data transmission units, but can split the available CPRI resources into at least two parts according to the distribution and size of the available CPRI resources. At least two discrete CPRI resource blocks. Therefore, the fragmented resources are fully utilized to improve the utilization of the CPRI resources, and the user service interruption is avoided, and the user experience is improved.
  • the resource allocation process if there is a resource area in the available CPRI resource that satisfies the data transmission unit requirement, the data transmission unit may not be split, and the data transmission unit is used as the granularity for resource allocation, so that it can be compatible with the prior art. . Of course, you can still do the splitting and allocate resources at a smaller granularity. This application does not limit the application.
  • FIG. 5 is a flowchart of a resource allocation method according to an embodiment of the present invention, where the method is used to allocate a CPRI resource in a process of establishing a bearer. Including the following steps:
  • Step 201 The REC determines the size of the data transmission unit of the bearer to be established.
  • Step 202 The REC determines the distribution and size of available CPRI resources.
  • Step 203 The REC allocates a CPRI resource to the data transmission unit according to the size of the data transmission unit and the distribution and size of the available CPRI resources.
  • the data transmission unit is an AxC container, and the REC can be based on the cell band.
  • the parameters such as the width and the number of antennas determine the size of the data transmission unit, and thus the size of the resources required for the AxC container.
  • the REC determines the distribution and size of available CPRI resources.
  • the available CPRI resources refer to the unassigned CPRI resources. That is to say, some CPRI resources in all CPRI resources have been allocated by the REC.
  • the available CPRI resources refer to all CPRI resources except the CPRI resources that have been allocated.
  • the distribution of available CPRI resources can be continuous or discrete. When the available CPRI resources are discretely distributed, at least two resource regions are included therein.
  • the available CPRI resources can meet the requirements of the data transmission unit, that is, the size of the CPRI resource is greater than or equal to the size of the resource required by the data transmission unit; when the available CPRI resources are discretely distributed, The sum of the sizes of all resource regions included in the available CPRI resources is greater than or equal to the size of the resources required by the data transmission unit.
  • the available CPRI resources According to the comparison between the size of the resource area included in the available CPRI resources and the size of the resources required by the data transmission unit, the available CPRI resources have the following two cases:
  • the resource area included in the available CPRI resource includes a resource area whose size is greater than or equal to the size of the resource required by the data transmission unit.
  • FIG. 6 is a first schematic diagram of available CPRI resources.
  • the available CPRI resources in FIG. 6 include resource areas S0 and S1, where the size of S0 is greater than the size of the resources required by the data transmission unit, and the size of S1 is smaller than the size of the resources required by the data transmission unit.
  • Figure 6 also shows the size of the resources required for the data transmission unit.
  • the size of the resource area S0 included in the available CPRI resources is larger than the size of the resources required by the data transmission unit.
  • a resource block of a size equal to the size of the resource required by the data transmission unit is determined in the area S0, and then the resource block is allocated to the data transmission unit.
  • the second case is: the resource area included in the available CPRI resources, the size of all the resource areas cannot meet the requirements of the data transmission unit, and the CPRI resources can be composed of two or more discretely distributed resource areas, each resource area.
  • the size of the resource is smaller than the size of the resource required by the data transmission unit. At this time, some or all of the resources in each resource area may be allocated to the data transmission unit.
  • FIG. 7 is a second schematic diagram of available CPRI resources.
  • Figure 7 shows the available CPRI
  • the resource includes five resource areas as an example, and the five resource areas are respectively S0 to S4. As shown in FIG. 7, five resource areas are discretely distributed, and FIG. 7 also shows the size of resources required for the data transmission unit. As can be seen from FIG. 7, the size of each of the five resource regions is smaller than the size of the resources required by the data transmission unit, and some or all of the five resource regions may be allocated to the data transmission unit.
  • FIG. 8 is a detailed flowchart of a resource allocation method according to an embodiment of the present invention. The method includes steps 201 and 202 of FIG. 5, and further includes the following steps:
  • Step 2031 Determine whether a resource region whose size is greater than or equal to a size of a resource required by the data transmission unit is included in all resource regions included in the available CPRI resource.
  • Step 2032 When a resource region having a size greater than or equal to a size of a resource required by a data transmission unit is included, one resource block in the resource region is allocated to the data transmission unit, and the size of the resource block is equal to the data.
  • Step 2033 When the available CPRI resource includes two or more discretely distributed resource regions, the size of all the resource regions is greater than or equal to the size of the data transmission unit, and the size of each resource region is smaller than the size.
  • the resource transmission unit is allocated resource blocks in at least two resource areas, and the sum of the sizes of the at least two resource blocks is equal to the resource required by the data transmission unit. the size of. That is, the CPRI resource allocated for the data transmission unit includes at least two discretely distributed resource blocks, and the sum of the sizes of the at least two discretely distributed resource blocks is equal to the size of the resources required by the data transmission unit.
  • step 2032 or 2033 After the REC allocates the CPRI resources for the data transmission unit, after performing step 2032 or 2033, the following steps can be performed:
  • Step 204 The REC sends the start position and size of each resource block allocated for the data transmission unit to the RE.
  • the REC may directly equal the size of the resource region.
  • a resource block of the resource size required for the input unit is allocated to the data transmission unit.
  • the REC also sends the resource block allocated to the data transmission unit to the RE in the starting position and size of the resource area.
  • the size of the resource block allocated to the data transmission unit may not be transmitted. In this case, the size of the resource block allocated by default to the data transmission unit is equal to the size of the resource block required by the data transmission unit.
  • the REC determines that the size of the resource in the resource area S0 in FIG. 6 is greater than or equal to the size of the resource required by the data transmission unit according to the size of the data transmission unit and the distribution and size of the available CPRI resources, and the REC will allocate the resource area S0.
  • a resource block within a size equal to the size of the resource required by the data transmission unit is allocated to the data transmission unit, such that the CPRI resource allocated for the data transmission unit is a resource within the resource area S0 equal to the resource required by the data transmission unit.
  • the size of the resource block is further sends the resource block allocated for the data transmission unit to the SE in the starting position and size in the resource area S0.
  • the CPRI resources allocated for the data transmission unit are located at least two.
  • the CPRI resource allocated by the REC for the data transmission unit is composed of at least two discretely distributed resource blocks, and the sum of the sizes of the at least two discretely distributed resource blocks is equal to the resource required by the data transmission unit. the size of.
  • the REC also sends the starting position and size of each resource block allocated to the data transmission unit to the RE.
  • the REC determines that the sum of the sizes of the resources in the resource areas S0 and S1 in FIG. 7 is equal to the size of the resources required by the data transmission unit according to the size of the data transmission unit and the distribution and size of the available CPRI resources.
  • the resources in S0 and S1 are allocated to the data transmission unit.
  • the CPRI resources allocated for the data transmission unit include two discretely distributed resource blocks, which are resources in the resource areas S0 and S1, respectively.
  • the REC also sends the starting location and size of the resource areas S0 and S1 to the RE.
  • a resource allocation strategy can also be set to further increase the beneficial effects of resource allocation.
  • the resource allocation is controlled by minimizing the fragmentation of the remaining available CPRI resources; for example, the resource allocation is controlled by occupying as few resource areas as possible; of course, the two strategies can also be used in combination.
  • REC performs different resource allocation strategies for data transmission
  • the CPRI resources allocated by the delivery unit are different.
  • the at least two discretely distributed resource blocks occupy as few of the resource regions as possible.
  • the implementation of the first strategy may be, for example, the following, of course, which is merely an example and is not intended to limit the implementation of such a strategy:
  • the REC preferentially allocates the resources in the largest resource area to the data transmission unit; then determines the amount of resources required by the data transmission unit, and continues to select the resource area according to the size of the remaining unoccupied resource areas. If there is a resource area in the remaining resource area that can satisfy the requirement of the missing part of the resource required by the data transmission unit, allocate resources for the data transmission unit in the resource area; if there is more than one resource area, follow the fragmentation
  • the principle of minimization can choose the smallest resource area. Of course, you can also choose one resource area. If none of the remaining resource areas can satisfy the requirement of the missing part of the resources required by the data transmission unit, the above steps are repeated, and resources are continuously allocated for the data transmission unit from the remaining maximum resource area.
  • the data transmission unit includes at least two discretely distributed resource blocks occupying a smaller number of resource regions.
  • the CPRI resource includes five resource areas, five resource areas are S0 to S4, and the size order is S0, S1, S3, S2, and S4.
  • the REC first finds the largest and second largest resource regions from the respective resource regions constituting the available CPRI resources, calculates the sum of the resources in the two resource regions, and the size of the resources required by the data transmission unit. Comparing, if the sum of the resources in the two resource zones is greater than or equal to the size of the resources required by the data transmission unit, the resources in the two resource zones are allocated to the data transmission unit, otherwise, the third largest resource is found.
  • Zone calculating the sum of the resources of the largest and the second largest and the third largest resource zone, if the sum of the resources in the three resource zones is greater than or equal to the size of the resource required by the data transmission unit, then the three The resources in the resource area are allocated to the data transmission unit, otherwise, the steps of repeating and finding the third largest resource area are repeated until the sum of the resources in all the resource areas found is greater than or equal to the size of the resource required by the data transmission unit. Will find The resources in the resource area are allocated to the data transmission unit.
  • the CPRI resource includes five resource regions, and the five resource regions are respectively S0 to S4, and the sizes of the resource regions S0 and S1 in the five resource regions are respectively the largest and the second largest, respectively, if the resource regions S0 and S1 are within
  • the sum of the sizes of the resources is greater than or equal to the size of the resources required by the data transmission unit, and the resources in the resource areas S0 and S1 are allocated to the data transmission unit, otherwise, the third largest resource area S3 among the five resource areas is found. If the sum of the sizes of the resources in the resource areas S0 and S1 and S3 is greater than or equal to the size of the resources required by the data transmission unit, the resources in the resource areas S0 and S1 and S3 are allocated to the data transmission unit.
  • the distribution of the at least two discretely distributed resource blocks minimizes fragmentation of the remaining available CPRI resources.
  • the implementation of the second policy may be, for example, the following, which is merely an example and is not intended to limit the implementation of the policy: for example, the REC according to the size of the data transmission unit and the distribution and size of the available CPRI resources, according to the available CPRI resources.
  • the two or more discretely distributed resource regions are included in a small to large order, and CPRI resources are allocated for the data transmission unit. Since the resources in the smaller resource area are preferentially allocated to the data transmission unit, all the resources in the smaller resource area are allocated to the data transmission unit as much as possible, and the remaining resource fragments are less, and the CPRI resource is allocated to the data transmission unit. The remaining resource area is as large as possible.
  • the REC first finds the minimum and the second small resource regions from the respective resource regions constituting the available CPRI resources, calculates the sum of the resources in the two resource regions, and compares with the size of the resources required by the data transmission unit, if If the sum of the resources in the two resource areas is smaller than the size of the resources required by the data transmission unit, the third small resource area is continuously found, and the sum of the resources in the three resource areas of the minimum and the second and the third smallest is calculated.
  • the sum of the resources in the three resource areas is greater than or equal to the size of the resources required by the data transmission unit, allocate resources in the three resource areas to the data transmission unit, otherwise, repeat and find the third small The step of the resource area, until the sum of the resources in all the resource areas found is greater than or equal to the size of the resources required by the data transmission unit, and the resources in the found resource area are allocated to the data transmission unit.
  • the CPRI resource includes five resource regions, five resource regions are S0 to S4, and the resource regions S2 and S4 in the five resource regions are respectively smallest and second smallest, if the resource regions S2 and S4 are respectively. If the sum of the sizes of the resources within the resource is smaller than the size of the resources required by the data transmission unit, the resource region S3 having the third smallest size among the five resource regions is found, and if the sum of the resources in the resource regions S2 and S4 and S3 is If the size of the resource required by the data transmission unit is greater than or equal to, the resources in the resource areas S2 and S4 and S3 are allocated to the data transmission unit.
  • the resource blocks allocated to the data transmission unit are resource blocks in the resource areas S0 and S1, and the number of resource areas occupied by the data transmission unit is 2, and the remaining available
  • the CPRI resources include: a resource area S2 to a resource area S4, and may of course include some resources in the resource area S1.
  • the resource blocks allocated to the data transmission unit are resource blocks in the resource areas S2 and S4 and S3, the number of resource areas occupied by the data transmission unit is 3, and the remaining available CPRI resources include: resource areas S0 and S1. Of course, it may also include some resources in the resource area S3.
  • the first strategy occupies a small number of resource areas, while the second strategy has less fragmentation of available CPRI resources.
  • the LTE cell spectrum extension is taken as an example to illustrate the beneficial effects of the resource allocation method provided by the embodiment of the present invention.
  • the mapping mode of the AxC container when the two cells are initially established is as shown in FIG. 9.
  • the 20 MHz cell can be established.
  • the CPRI resource mapped by the AxC container becomes the available CPRI resource.
  • the available CPRI resource includes two discretely distributed resource regions, as shown in FIG.
  • Cell0 changes the size of the AxC container due to spectrum expansion, and the granularity of the corresponding resource allocation changes.
  • the solution is to deactivate the cell 1 and then re-perform the resource allocation shown in FIG. 11 to reconstruct the cell 0.
  • deactivating the cell 1 may cause the cell 1 service to be interrupted.
  • the two discretely distributed resource regions included in the CPRI resource are allocated to the data transmission unit of cell0, as shown in FIG. 12, and the cell 1 is not implemented.
  • the use of resource debris has been fully utilized and the transmission resources have been improved. Source utilization.
  • the REC maps data carried by the bearer to a CPRI resource allocated for the data transmission unit.
  • the data is IQ data.
  • the REC when the REC is a resource block in a resource area whose size is greater than or equal to the size of the data transmission unit, the REC may directly map the data carried by the bearer to the resource block. .
  • the REC may directly map the data carried by the bearer to the resource block.
  • the REC When the available CPRI resource is composed of two or more discretely distributed resource regions, and the size of each resource region is smaller than the size of the resource required by the data transmission unit, the REC first determines at least two allocated data transmission units. The size of the data that can be transmitted by each resource block in the discretely distributed resource blocks, and then splits the data carried by the bearer according to the size of the data that can be transmitted by each resource block, and maps the divided data to corresponding data respectively. On the resource block.
  • a possible implementation manner is: splitting the data carried by the bearer in the order from LSB (Chinese: Least Significant Bit) to MSB (Chinese: Most Significant Bit) And mapping the data carried by the bearer in the order from the going to the back.
  • FIG. 13 is a flowchart of a data transmission method according to an embodiment of the present invention. As shown in FIG. 13, the method includes the following steps:
  • Step 301 The wireless device RE receives the general public radio interface (CPRI) resource information that is allocated by the radio equipment controller REC, and the CPRI resource information includes at least two discretely distributed resources that the REC will allocate for the bearer. a starting position and a size of the block, wherein a sum of sizes of the at least two discretely distributed resource blocks is equal to a size of a resource required by the data transmission unit;
  • CPRI general public radio interface
  • Step 302 The RE receives the data sent by the REC on each resource block according to the CPRI resource information, and sends the data on all resource blocks to the terminal in combination; and/or the RE
  • the data carried by the bearer is received by the terminal, and the data carried by the bearer is sent to the REC by using the resource block allocated by the REC for the bearer.
  • the REC sends the start position and size of each resource block allocated for the data transmission unit to the RE. Therefore, for the RE, step 301 is performed, and the RE can receive The CPRI resource information allocated for the bearer sent to the REC.
  • the CPRI resource information includes a starting location and a size of the at least two discretely distributed resource blocks when the REC includes at least two discretely distributed resource blocks for the allocated CPRI resources.
  • the REC determines that the sum of the sizes of the resources in the resource areas S0 and S1 in FIG. 7 is equal to the size of the resources required by the data transmission unit, and the REC allocates the resources in the resource areas S0 and S1 to the data transmission unit.
  • the CPRI resource allocation information that the RE will receive is: the starting position and size of the resource areas S0 and S1.
  • the RE can use the CPRI resource allocation information to complete data transmission in the uplink or downlink direction:
  • the RE receives the data sent by the REC on each resource block according to the CPRI resource allocation information, and then combines the received data into one complete data transmission unit, and then sends the data transmission unit to the terminal.
  • each resource block included in the CPRI resource has a part of the data transmission unit, and the RE uses the data on each resource block. Combine them to get a complete data transmission unit and send it to the terminal.
  • a possible implementation manner is: if the REC splits the data carried by the bearer in the order from the LSB to the MSB, the RE combines the data carried by the bearer in the order from the LSB to the MSB, if the REC pairs are carried. The carried data is mapped in the order from the going to the end, and the RE will demap the data carried by the bearer in the order from the going to the back.
  • the RE receives the data carried by the bearer from the terminal, and then uses the REC to allocate the allocated resource block, and sends the data carried by the bearer to the REC.
  • the RE needs to forward the data sent by the terminal to the REC.
  • the RE may determine, according to the resource allocation information, that the REC is allocated for the bearer.
  • the size of the at least two discretely distributed resource blocks included in the CPRI resource and then splitting the data received from the terminal according to the size of the data that can be transmitted by each resource block, and mapping the split data to the corresponding resources respectively.
  • the resource block is used to send data to the REC.
  • an embodiment of the present invention provides a resource allocation apparatus.
  • the resource allocation apparatus is located on the REC side, and may be independent of an existing REC side device or may be located in an existing REC side device.
  • FIG. 14 is a block diagram of a resource allocation apparatus.
  • the resource allocation apparatus includes: a first determining unit 901, a second determining unit 902, and a resource allocating unit 903.
  • a first determining unit 901 configured to determine a size of a data transmission unit of the bearer to be established
  • a second determining unit 902 configured to determine a distribution and a size of available CPRI resources
  • the resource allocation unit 903 is configured to: according to the size of the data transmission unit and the distribution and size of the available CPRI resources, when the size of the available CPRI resource is greater than or equal to the size of the resource required by the data transmission unit, A CPRI resource is allocated for the data transmission unit.
  • the resource allocation unit 903 is allocated in the same manner as the above method embodiment. For example, reference may be made to FIG. 8.
  • resource allocation is no longer performed at a granularity of data transmission units, but may be split into at least two parts according to the distribution and size of available CPRI resources, that is, at least Two discrete CPRI resource blocks. Therefore, the fragmented resources are fully utilized to improve the utilization of the CPRI resources, and the user service interruption is avoided, and the user experience is improved.
  • the CPRI resource allocated for the data transmission unit includes at least two discretely distributed resource blocks, and the sum of the sizes of the at least two discretely distributed resource blocks is equal to the resources required by the data transmission unit. size.
  • the data transmission unit may not be split, and the data transmission unit is used as the granularity for resource allocation, so that it can be compatible with the prior art. .
  • the foregoing method for allocating resources at a smaller granularity is applicable to a scenario in which the distribution and size of available CPRI resources are as follows: the available CPRI resources include two or more discretely distributed resource regions, and each resource The size of the area is smaller than the size of the resource required by the data transmission unit; And each of the at least two discretely distributed resource blocks is located in one resource region.
  • a resource allocation strategy may also be set to further increase the beneficial effects of resource allocation.
  • the resource allocation is controlled by minimizing the fragmentation of the remaining available CPRI resources; that is, the distribution of the at least two discretely distributed resource blocks minimizes fragmentation of the remaining available CPRI resources.
  • the resource allocation is controlled by occupying as few resource areas as possible; that is, the at least two discretely distributed resource blocks occupy as few of the resource areas as possible.
  • these two strategies can also be combined.
  • the foregoing resource allocation apparatus may further include:
  • the data mapping unit 904 is configured to map data carried by the bearer to a CPRI resource allocated for the data transmission unit.
  • the foregoing resource allocation apparatus may further include:
  • the interface unit 905 is configured to send a starting location and a size of each resource block allocated for the data transmission unit to the wireless device RE.
  • the data transmission unit is an antenna carrier AxC container.
  • the interface unit 905 in this embodiment may be an interface circuit for the REC to communicate with the RE, such as a CPRI interface circuit.
  • the resource allocation unit 903 may be a separately set processor, or may be integrated in an existing processor of the REC, or may be stored in the memory of the REC in the form of program code, by a processor of the REC.
  • the function of the resource allocation unit 903 is called and executed.
  • the implementation of the first determining unit 901, the second determining unit 902, and the data mapping unit 904 may adopt any one of the resource allocation units 903, and all of the units may be integrated in whole or in part, or may be implemented independently.
  • FIG. 15 is a structural diagram of a resource allocation apparatus.
  • the resource allocation apparatus includes a memory 1101, a processor 1102, and an interface circuit 1103.
  • the memory 1101 is configured to store an instruction required by the processor 1102 to perform a task
  • the processor 1102 is configured to execute the instruction, and perform any resource division of the foregoing method embodiment.
  • Matching method For example, determining the size of the data transmission unit of the bearer to be established; determining the distribution and size of the available CPRI resources; and the size of the available CPRI resources according to the size of the data transmission unit and the distribution and size of the available CPRI resources.
  • the CPRI resource is allocated for the data transmission unit.
  • the processor 1102 allocates resources in the same manner as the above method embodiment. For example, reference may be made to FIG. 8.
  • resource allocation is no longer performed at a granularity of data transmission units, but may be split into at least two parts according to the distribution and size of available CPRI resources, that is, at least Two discrete CPRI resource blocks. Therefore, the fragmented resources are fully utilized to improve the utilization of the CPRI resources, and the user service interruption is avoided, and the user experience is improved.
  • the CPRI resource allocated for the data transmission unit includes at least two discretely distributed resource blocks, and the sum of the sizes of the at least two discretely distributed resource blocks is equal to the resources required by the data transmission unit. size.
  • the data transmission unit may not be split, and the data transmission unit is used as the granularity for resource allocation, so that it can be compatible with the prior art. .
  • the processor herein may be a processor or a collective name of multiple processing elements.
  • the processor may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention.
  • DSPs digital singal processors
  • FPGAs Field Programmable Gate Arrays
  • the memory may be a storage device or a collective name for a plurality of storage elements and used to store executable program code. And the memory may include random access memory (RAM), and may also include non-volatile memory such as a magnetic disk memory, a flash memory, or the like.
  • RAM random access memory
  • non-volatile memory such as a magnetic disk memory, a flash memory, or the like.
  • an embodiment of the present invention provides a data transmission device, where the data transmission device may be any RE device as described in the previous embodiment.
  • the RE device may be It is the RE device corresponding to the flow of FIG.
  • FIG. 16 is a block diagram of a data transmission apparatus.
  • the data transmission apparatus includes an interface unit 1201, a transceiver unit 1202, and a processing unit 1203.
  • the transceiver unit 1202 is configured to communicate with the terminal;
  • the processing unit 1203 is configured to receive, by using the interface unit, the common public radio interface (CPRI) resource information that is sent by the REC and that is allocated by the REC, and perform data transmission in an uplink or downlink direction according to the CPRI resource information.
  • CPRI common public radio interface
  • the processing unit 1203 configured to receive, according to the CPRI resource information, the data sent by the REC on each resource block by using the interface unit, and Data merging is sent to the terminal by the transceiver unit; or the data carried by the bearer is received by the transceiver unit from the terminal, and the resource block allocated by the REC for the bearer is used to carry the bearer Data is sent to the REC through the interface unit.
  • the interface unit 1201 in this embodiment may be an interface circuit for the RE to communicate with the REC, such as a CPRI interface circuit.
  • the transceiver unit 1202 can be a transceiver that communicates with the terminal.
  • the processing unit 1203 may be a separately set processor, or may be implemented in an existing processor of the RE. Alternatively, it may be stored in the memory of the RE in the form of program code, and is called by one processor of the RE. The function of the processing unit 1203 is executed.
  • the processor described herein can be a CPU, or an ASIC, or one or more integrated circuits configured to implement embodiments of the present invention.
  • FIG. 17 is a block diagram of a data transmission apparatus.
  • the data transmission apparatus includes a CPRI interface 1301, a wireless interface 1302, a processor 1303, and a memory 1304.
  • the memory 1304 is configured to store an instruction required by the processor 1303 to perform a task
  • a CPRI interface 1301, configured to communicate with a wireless device controller REC;
  • the processor 1303 is configured to execute the instruction, to receive, by using the CPRI interface 1301, CPRI resource information that is allocated by the REC for the bearer, and perform data transmission in an uplink or downlink direction according to the CPRI resource information.
  • the CPRI resource information includes a starting position and a size of at least two discretely distributed resource blocks allocated by the REC for the bearer, where a sum of sizes of the at least two discretely distributed resource blocks is equal to the data.
  • the size of the resource required by the transmission unit; the processor 1303 is configured to receive, according to the CPRI resource information, the data sent by the REC on each resource block through the CPRI interface 1301, and combine the data on all the resource blocks to be sent through the wireless interface 1302.
  • the data carried by the bearer is received from the terminal through the radio interface 1302, and the data carried by the bearer is sent to the REC through the CPRI interface 1301 by using the resource block allocated by the REC for the bearer.
  • the processor herein may be a processor or a collective name of multiple processing elements.
  • the processor may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention.
  • CPU Central Processing Unit
  • ASIC Application Specific Integrated Circuit
  • DSP digital singal processor
  • FPGA Field Programmable Gate Array
  • the memory may be a storage device or a collective name for a plurality of storage elements and used to store executable program code. And the memory may include random access memory (RAM), and may also include non-volatile memory such as a magnetic disk memory, a flash memory, or the like.
  • RAM random access memory
  • non-volatile memory such as a magnetic disk memory, a flash memory, or the like.
  • FIG. 18 is a schematic diagram of a resource allocation system according to an embodiment of the present invention.
  • the system includes:
  • a wireless device controller REC a wireless device RE and a terminal
  • the REC and the RE communicate via a universal public wireless interface CPRI
  • the RE and the terminal communicate via a wireless interface
  • the REC includes any of the foregoing embodiments
  • the resource allocation apparatus and the RE include the data transmission apparatus described in the foregoing embodiments.
  • the terminal may be a user equipment (UE, User Equipment), may also be called a mobile terminal (Mobile Terminal), a mobile user equipment, etc., and may be through a radio access network (RAN, Radio Access).
  • Network communicates with one or more core networks (CN, Core Network), such as a mobile phone or a computer with a mobile terminal, such as a portable, pocket, handheld, computer built-in or vehicle-mounted mobile device .
  • CN Core Network
  • the device in the embodiment of the present invention is a device that is compatible with the method part.
  • the description of the method part reference may be made to the description of the method part.
  • the REC allocates CPRI resources for the data transmission unit according to the size of the data transmission unit and the distribution and size of the available CPRI resources, and at least two discretely distributed resource blocks included in the CPRI resources allocated for the data transmission unit.
  • the sum of the sizes is equal to the size of the resources required by the data transmission unit, so that the data transmission unit is transmitted by using at least two discretely distributed resource blocks, and the discretely distributed resource blocks are fully utilized, thereby improving the utilization of the transmission resources.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit or unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. You can choose some of them according to actual needs or All units are used to achieve the objectives of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • a computer readable storage medium A number of instructions are included to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a ROM (Read-Only Memory), a RAM (Random Access Memory), a disk or an optical disk, and the like, which can store program codes. .

Abstract

The present invention relates to the technical field of communications, and particularly, to a resource allocation method, a data transmission method, and a corresponding apparatus and a corresponding system. In embodiments of the present invention, an REC allocates CPRI resources to a data transmission unit according to the size of the data transmission unit and the distribution and the size of available CPRI resources. Because the total size of at least two discretely-distributed resource blocks comprised in the CPRI resources allocated to the data transmission unit is equal to the size of resources needed by the data transmission unit, the data transmission unit is transmitted by using the at least two discretely-distributed resource blocks, thereby fully utilizing discretely-distributed resource blocks, and improving the utilization rate of transmission resources.

Description

资源分配方法、数据传输方法、以及相应的装置及系统Resource allocation method, data transmission method, and corresponding device and system 技术领域Technical field
本发明涉及通信技术领域,特别涉及一种资源分配方法、数据传输方法、以及相应的装置及系统。The present invention relates to the field of communications technologies, and in particular, to a resource allocation method, a data transmission method, and corresponding devices and systems.
背景技术Background technique
CPRI(中文:通用公共无线接口;英文:Common Public Radio Interface)是由多家通信设备制造商联合制定的无线基站内部的接口规范。CPRI定义了REC(中文:无线设备控制器;英文:Radio Equipment Controller)与RE(中文:无线设备;英文:Radio Equipment)之间的接口规范。其中,REC例如为基站的基带部分,例如BBU(中文:基带单元;英文:BaseBand Unit);RE例如为基站的射频部分,例如RRU(中文:无线远端单元;英文:Radio Remote Unit)。可见,CPRI规范可以用于实现基站的基带部分和射频部分之间的通信。CPRI (Chinese: Common Public Radio Interface) is an interface specification for wireless base stations jointly developed by a number of communication equipment manufacturers. CPRI defines the interface specification between REC (Chinese: Wireless Device Controller; English: Radio Equipment Controller) and RE (Chinese: Wireless Device; English: Radio Equipment). The REC is, for example, a baseband part of a base station, such as a BBU (Chinese: Baseband Unit; English: BaseBand Unit); the RE is, for example, a radio frequency part of a base station, such as an RRU (Chinese: Radio Remote Unit; English: Radio Remote Unit). It can be seen that the CPRI specification can be used to implement communication between the baseband portion and the radio frequency portion of the base station.
请参考图1,其为一种现有的基站结构示意图。如图1所示,其包括REC110和RE120。CPRI协议具有2层3平面的结构。2层包括L1(中文:层1,又称为物理层)和L2(中文:层2,又称链路层);3平面包括通过L2的SAP(中文:服务接入点;英文:Service Access Point)接入的控制管理平面(control and management plane)、同步平面(synchronization plane)、用户平面(user plane)。Please refer to FIG. 1 , which is a schematic structural diagram of a conventional base station. As shown in FIG. 1, it includes RECs 110 and RE120. The CPRI protocol has a 2-layer, 3-plane structure. Layer 2 includes L1 (Chinese: Layer 1, also known as physical layer) and L2 (Chinese: Layer 2, also known as Link Layer); 3 plane includes SAP through L2 (Chinese: Service Access Point; English: Service Access) Point) The control and management plane, the synchronization plane, and the user plane.
REC和RE之间的用户面数据是以同相和正交调制下的数据,即IQ(中文:同相/正交;英文:In-Phase/Quadrature)数据的形式来传送的,IQ数据以IQ容器为单位进行传送,该IQ容器称为AxC容器(中文:天线载波;英文:Antenna xCarrier Container)。The user plane data between REC and RE is transmitted in the form of data in in-phase and quadrature modulation, ie IQ (Chinese: In-Phase/Quadture; English: In-Phase/Quadrature). IQ data is in IQ container. For the unit to transmit, the IQ container is called AxC container (Chinese: Antenna carrier; English: Antenna xCarrier Container).
为了实现IQ数据的传输,CPRI规范规定了将IQ数据以IQ容器为粒度,映射到CPRI的传输资源上。该传输资源在CPRI中规定为帧的形式,其帧结 构如图2所示:每个帧(因其长度为10ms,故又称为10ms帧)分为150个超帧(Hyperframe),编号为0~149;每个超帧分为256个基本帧,编号为0~255。每个基本帧共有16个字,每个基本帧的第一个字用于传输控制字,其余15个字用来传输IQ数据;不同的CPRI线速率,字的位宽不一致,图中给出了8bit位宽的示例。In order to realize the transmission of IQ data, the CPRI specification specifies that the IQ data is mapped to the transmission resources of the CPRI by using the IQ container as a granularity. The transmission resource is specified in the form of a frame in the CPRI, and its frame knot The structure is as shown in Figure 2: each frame (also known as 10ms frame due to its length of 10ms) is divided into 150 hyperframes, numbered from 0 to 149; each superframe is divided into 256 basic frames. The number is 0 to 255. Each basic frame has a total of 16 words, the first word of each basic frame is used to transmit control words, and the remaining 15 words are used to transmit IQ data; different CPRI line rates, word bit widths are inconsistent, given in the figure An example of an 8-bit bit width.
2.0及更早的CPRI协议只支持UMTS(中文:通用移动通信系统;英文:Universal Mobile Telecommunications System),CPRI基本帧速率按UMTS IQ数据速率整数倍设计,IQ映射方法很简单,每基本帧承载1码片(chip)数据。3.0 CPRI协议增加了WiMAX(中文:全球微波接入互操作;英文:World interoperability for Microwave Access),IQ数据速率为非整数倍基本帧速率,为此3.0协议的IQ映射方法如图3所示:寻求合适的整数K和S,使得每K个基本帧正好承载S个采样(sample),如此构成一个AxC容器块(AxC Container block)。The 2.0 and earlier CPRI protocols only support UMTS (Chinese: Universal Mobile Telecommunications System). The CPRI basic frame rate is designed in integer multiples of the UMTS IQ data rate. The IQ mapping method is very simple, and each basic frame carries 1 Chip data. 3.0 The CPRI protocol adds WiMAX (Chinese: World Interoperability for Microwave Access), and the IQ data rate is a non-integer multiple of the basic frame rate. For this reason, the IQ mapping method of the 3.0 protocol is shown in Figure 3: Find the appropriate integers K and S so that every K basic frames carry exactly S samples, thus forming an AxC Container block.
随着LTE(中文:长期演进;英文:Long Term Evolution)的引入,多种无线制式或多种业务带宽的场景越来越多,在将IQ数据以AxC容器为粒度映射到CPRI传输资源的过程中,AxC容器的大小是不同的,即资源分配的粒度不同,因此,容易产生资源碎片,导致传输资源无法充分利用的情况。With the introduction of LTE (Chinese: Long Term Evolution), there are more and more scenarios of multiple wireless standards or multiple service bandwidths. The process of mapping IQ data to CPRI transmission resources in AxC container granularity. The size of the AxC container is different, that is, the granularity of resource allocation is different, and therefore, resource fragmentation is easily generated, and the transmission resource cannot be fully utilized.
发明内容Summary of the invention
本发明实施例提供一种资源分配方法、数据传输方法、以及相应的装置及系统,用于解决现有技术中无法充分利用传输资源的技术问题。The embodiments of the present invention provide a resource allocation method, a data transmission method, and a corresponding device and system, which are used to solve the technical problem that the transmission resources cannot be fully utilized in the prior art.
第一方面,提供一种资源分配方法,用于在承载建立的过程中分配通用公共无线接口CPRI资源,所述方法包括:In a first aspect, a resource allocation method is provided for allocating a common public radio interface CPRI resource in a process of bearer establishment, the method comprising:
无线设备控制器REC确定待建立的承载的数据传输单位的大小;The wireless device controller REC determines the size of the data transmission unit of the bearer to be established;
所述REC确定可用CPRI资源的分布与大小;The REC determines the distribution and size of available CPRI resources;
所述REC根据所述数据传输单位的大小与所述可用CPRI资源的分布与大小,在所述可用CPRI资源的大小大于或等于所述数据传输单位所需的资源 的大小时,为所述数据传输单位分配CPRI资源,其中,为所述数据传输单位所分配的CPRI资源包括至少两个离散分布的资源块,且所述至少两个离散分布的资源块的大小之和等于所述数据传输单位所需的资源的大小。The REC is configured according to a size of the data transmission unit and a distribution and size of the available CPRI resources, where a size of the available CPRI resource is greater than or equal to a resource required by the data transmission unit. a size of the CPRI resource for the data transmission unit, wherein the CPRI resource allocated for the data transmission unit includes at least two discretely distributed resource blocks, and the size of the at least two discretely distributed resource blocks The sum is equal to the size of the resource required by the data transmission unit.
结合第一方面,在第一方面的第一种可能的实现方式中,所述可用CPRI资源的分布与大小为:所述可用CPRI资源包括两个或两个以上离散分布的资源区,且每个资源区的大小小于所述数据传输单位所需的资源的大小;且所述至少两个离散分布的资源块中每个资源块位于一个资源区内。With reference to the first aspect, in a first possible implementation manner of the first aspect, the distribution and size of the available CPRI resources are: the available CPRI resources include two or more discretely distributed resource regions, and each The size of the resource regions is smaller than the size of the resources required by the data transmission unit; and each of the at least two discretely distributed resource blocks is located within one resource region.
结合第一方面的第一种可能的实现方式中,在第一方面的第二种可能的实现方式中,所述至少两个离散分布的资源块的分布使得剩余可用CPRI资源的碎片化最小。In conjunction with the first possible implementation of the first aspect, in a second possible implementation of the first aspect, the distribution of the at least two discretely distributed resource blocks minimizes fragmentation of remaining available CPRI resources.
结合第一方面的第一种可能的实现方式中,在第一方面的第三种可能的实现方式中,所述至少两个离散分布的资源块占用尽可能少的所述资源区。In conjunction with the first possible implementation of the first aspect, in a third possible implementation of the first aspect, the at least two discretely distributed resource blocks occupy as few of the resource regions as possible.
结合第一方面、或第一方面的第一种可能的实现方式至第一方面的第三种可能的实现方式中的任一种,在第一方面的第四种可能的实现方式中,在所述REC为所述数据传输单位分配CPRI资源之后,还包括:In conjunction with the first aspect, or the first possible implementation of the first aspect, to any one of the third possible implementations of the first aspect, in a fourth possible implementation of the first aspect, After the REC allocates the CPRI resource to the data transmission unit, the method further includes:
所述REC将所述承载所承载的数据映射到为所述数据传输单位所分配的CPRI资源上。The REC maps data carried by the bearer to a CPRI resource allocated for the data transmission unit.
结合第一方面、或第一方面的第一种可能的实现方式至第一方面的第四种可能的实现方式中的任一种,在第一方面的第五种可能的实现方式中,在所述REC为所述数据传输单位分配CPRI资源之后,还包括:In combination with the first aspect, or the first possible implementation of the first aspect, to any one of the fourth possible implementations of the first aspect, in a fifth possible implementation of the first aspect, After the REC allocates the CPRI resource to the data transmission unit, the method further includes:
所述REC将为所述数据传输单位所分配的每个资源块的起始位置和大小发送给无线设备RE。The REC will send the starting location and size of each resource block allocated for the data transmission unit to the wireless device RE.
结合第一方面、或第一方面的第一种可能的实现方式至第一方面的第五种可能的实现方式中的任一种,在第一方面的第六种可能的实现方式中,所述数据传输单位为天线载波AxC容器。In conjunction with the first aspect, or the first possible implementation of the first aspect, to any one of the fifth possible implementations of the first aspect, in a sixth possible implementation of the first aspect, The data transmission unit is an antenna carrier AxC container.
第二方面,提供一种数据传输方法,包括:In a second aspect, a data transmission method is provided, including:
无线设备RE接收无线设备控制器REC发送的为承载分配的通用公共无 线接口CPRI资源信息,所述CPRI资源信息包括所述REC将为所述承载所分配的至少两个离散分布的资源块的起始位置和大小,其中,所述至少两个离散分布的资源块的大小之和等于所述数据传输单位所需的资源的大小;The wireless device RE receives the general public allocated for the bearer transmitted by the wireless device controller REC. a line interface CPRI resource information, where the CPRI resource information includes a starting position and a size of at least two discretely distributed resource blocks that the REC will allocate for the bearer, wherein the at least two discretely distributed resource blocks The sum of the sizes is equal to the size of the resources required by the data transmission unit;
所述RE根据所述CPRI资源信息,接收所述REC在每个资源块上发送的数据,并将所有资源块上的数据合并发送给终端;和/或所述RE从终端接收所述承载所承载的数据,并利用所述REC为所述承载所分配的资源块,将所述承载所承载的数据发送给所述REC。The RE receives data sent by the REC on each resource block according to the CPRI resource information, and combines and transmits data on all resource blocks to the terminal; and/or the RE receives the bearer from the terminal. Carrying data, and using the resource block allocated by the REC for the bearer, sending data carried by the bearer to the REC.
第三方面,提供一种资源分配装置,包括:In a third aspect, a resource allocation apparatus is provided, including:
第一确定单元,用于确定待建立的承载的数据传输单位的大小;a first determining unit, configured to determine a size of a data transmission unit of the bearer to be established;
第二确定单元,用于确定可用CPRI资源的分布与大小;a second determining unit, configured to determine a distribution and a size of available CPRI resources;
资源分配单元,用于根据所述数据传输单位的大小与所述可用CPRI资源的分布与大小,在所述可用CPRI资源的大小大于或等于所述数据传输单位所需的资源的大小时,为所述数据传输单位分配CPRI资源,其中,为所述数据传输单位所分配的CPRI资源包括至少两个离散分布的资源块,且所述至少两个离散分布的资源块的大小之和等于所述数据传输单位所需的资源的大小。a resource allocation unit, configured to: according to a size of the data transmission unit and a distribution and size of the available CPRI resource, when the size of the available CPRI resource is greater than or equal to a size of a resource required by the data transmission unit, The data transmission unit allocates a CPRI resource, wherein the CPRI resource allocated for the data transmission unit includes at least two discretely distributed resource blocks, and a sum of sizes of the at least two discretely distributed resource blocks is equal to the The size of the resource required by the data transfer unit.
结合第三方面,在第三方面的第一种可能的实现方式中,所述可用CPRI资源的分布与大小为:所述可用CPRI资源包括两个或两个以上离散分布的资源区,且每个资源区的大小小于所述数据传输单位所需的资源的大小;且所述至少两个离散分布的资源块中每个资源块位于一个资源区内。With reference to the third aspect, in a first possible implementation manner of the third aspect, the distribution and size of the available CPRI resources are: the available CPRI resources include two or more discretely distributed resource regions, and each The size of the resource regions is smaller than the size of the resources required by the data transmission unit; and each of the at least two discretely distributed resource blocks is located within one resource region.
结合第三方面的第一种可能的实现方式中,在第三方面的第二种可能的实现方式中,所述至少两个离散分布的资源块的分布使得剩余可用CPRI资源的碎片化最小。In conjunction with the first possible implementation of the third aspect, in a second possible implementation of the third aspect, the distribution of the at least two discretely distributed resource blocks minimizes fragmentation of remaining available CPRI resources.
结合第三方面的第一种可能的实现方式中,在第三方面的第三种可能的实现方式中,所述至少两个离散分布的资源块占用尽可能少的所述资源区。In conjunction with the first possible implementation of the third aspect, in a third possible implementation of the third aspect, the at least two discretely distributed resource blocks occupy as few of the resource regions as possible.
结合第三方面、或第三方面的第一种可能的实现方式至第三方面的第三种可能的实现方式中的任一种,在第三方面的第四种可能的实现方式中,还包括: With reference to the third aspect, or the first possible implementation manner of the third aspect, to any one of the third possible implementation manners of the third aspect, in a fourth possible implementation manner of the third aspect, Includes:
数据映射单元,用于将所述承载所承载的数据映射到为所述数据传输单位所分配的CPRI资源上。And a data mapping unit, configured to map data carried by the bearer to a CPRI resource allocated for the data transmission unit.
结合第三方面、或第三方面的第一种可能的实现方式至第三方面的第四种可能的实现方式中的任一种,在第三方面的第五种可能的实现方式中,还包括:With reference to the third aspect, or the first possible implementation manner of the third aspect, to any one of the fourth possible implementation manners of the third aspect, in a fifth possible implementation manner of the third aspect, include:
发送单元,用于将为所述数据传输单位所分配的每个资源块的起始位置和大小发送给无线设备RE。And a sending unit, configured to send, to the wireless device RE, a starting location and a size of each resource block allocated for the data transmission unit.
结合第三方面、或第三方面的第一种可能的实现方式至第三方面的第五种可能的实现方式中的任一种,在第三方面的第六种可能的实现方式中,所述数据传输单位为天线载波AxC容器。With reference to the third aspect, or the first possible implementation manner of the third aspect, to any one of the fifth possible implementation manners of the third aspect, in a sixth possible implementation manner of the third aspect, The data transmission unit is an antenna carrier AxC container.
第四方面,提供一种数据传输装置,包括:In a fourth aspect, a data transmission apparatus is provided, including:
接口单元,用于与无线设备控制器REC通信;An interface unit, configured to communicate with a wireless device controller REC;
收发单元,用于与终端通信;a transceiver unit for communicating with the terminal;
处理单元,用于通过所述接口单元接收所述REC发送的为承载分配的通用公共无线接口CPRI资源信息,所述CPRI资源信息包括所述REC将为所述承载所分配的至少两个离散分布的资源块的起始位置和大小,其中,所述至少两个离散分布的资源块的大小之和等于所述数据传输单位所需的资源的大小;a processing unit, configured to receive, by using the interface unit, a common public radio interface (CPRI) resource information that is sent by the REC to be a bearer, where the CPRI resource information includes at least two discrete distributions that the REC will allocate for the bearer a starting position and a size of the resource block, wherein a sum of sizes of the at least two discretely distributed resource blocks is equal to a size of a resource required by the data transmission unit;
所述处理单元,还用于根据所述CPRI资源信息,通过所述接口单元接收所述REC在每个资源块上发送的数据,并将所有资源块上的数据合并通过所述收发单元发送给终端;或者通过所述收发单元从终端接收所述承载所承载的数据,并利用所述REC为所述承载所分配的资源块,将所述承载所承载的数据通过所述接口单元发送给所述REC。The processing unit is further configured to: according to the CPRI resource information, receive, by using the interface unit, data that is sent by the REC on each resource block, and combine data on all resource blocks to be sent by using the transceiver unit And receiving, by the transceiver unit, the data carried by the bearer from the terminal, and transmitting, by using the resource block allocated by the REC, the data carried by the bearer to the Said REC.
第五方面,提供一种资源分配系统,包括:无线设备控制器REC,无线设备RE和终端,其中REC和RE通过通用公共无线接口CPRI通信,所述RE和所述终端通过无线接口通信,且A fifth aspect provides a resource allocation system, including: a wireless device controller REC, a wireless device RE, and a terminal, wherein the REC and the RE communicate through a universal public wireless interface CPRI, and the RE and the terminal communicate through a wireless interface, and
所述REC包括前述第三方面或第三方面任一种可能的实现方式资源分配 装置、所述RE包括前述第四方面所述的数据传输装置。The REC includes any of the foregoing third aspect or the third aspect of the possible implementation resource allocation The device, the RE, includes the data transmission device of the aforementioned fourth aspect.
本发明实施例中提供的一个或多个技术方案,至少具有如下技术效果或优点:One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
本发明实施例中,REC根据数据传输单位的大小与可用CPRI资源的分布与大小,为数据传输单位分配CPRI资源,由于为数据传输单位所分配的CPRI资源包括的至少两个离散分布的资源块的大小之和等于数据传输单位所需的资源的大小,所以实现了利用至少两个离散分布的资源块发送数据传输单位,充分利用了离散分布的资源块,提高了传输资源的利用率。In the embodiment of the present invention, the REC allocates CPRI resources for the data transmission unit according to the size of the data transmission unit and the distribution and size of the available CPRI resources, and at least two discretely distributed resource blocks included in the CPRI resources allocated for the data transmission unit. The sum of the sizes is equal to the size of the resources required by the data transmission unit, so that the data transmission unit is transmitted by using at least two discretely distributed resource blocks, and the discretely distributed resource blocks are fully utilized, thereby improving the utilization of the transmission resources.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying for inventive labor.
图1为一种现有的基站结构示意图;1 is a schematic structural diagram of a conventional base station;
图2为CPRI规范中帧形式的传输资源的结构示意图;2 is a schematic structural diagram of a transmission resource in a frame form in a CPRI specification;
图3为3.0协议的IQ映射方法的示意图;3 is a schematic diagram of an IQ mapping method of the 3.0 protocol;
图4为本发明实施例一种应用场景的示意图;4 is a schematic diagram of an application scenario according to an embodiment of the present invention;
图5为本发明实施例提供的一种资源分配方法的流程图;FIG. 5 is a flowchart of a resource allocation method according to an embodiment of the present invention;
图6为本发明实施例中可用CPRI资源的第一种示意图;6 is a first schematic diagram of available CPRI resources in an embodiment of the present invention;
图7为本发明实施例中可用CPRI资源的第二种示意图;FIG. 7 is a second schematic diagram of available CPRI resources in an embodiment of the present invention; FIG.
图8为本发明实施例提供的资源分配方法的详细流程图;FIG. 8 is a detailed flowchart of a resource allocation method according to an embodiment of the present invention;
图9为现有技术中两个小区初始建立时其AxC容器映射方式的示意图;9 is a schematic diagram of a mapping manner of an AxC container when two cells are initially established in the prior art;
图10为现有技术中小区cell0频谱扩展后可用CPRI资源的示意图;10 is a schematic diagram of available CPRI resources after cell spectrum0 cell expansion in the prior art;
图11为现有技术中小区cell0频谱扩展后对CPRI资源进行重新分配的示意图;11 is a schematic diagram of reallocating CPRI resources after cell spectrum expansion of a cell in the prior art;
图12为本发明实施例中小区cell0频谱扩展后对CPRI资源进行分配的示 意图;FIG. 12 is a diagram showing allocation of CPRI resources after spectrum expansion of cell cell0 according to an embodiment of the present invention; intention;
图13为本发明实施例提供的一种数据传输方法的流程图;FIG. 13 is a flowchart of a data transmission method according to an embodiment of the present invention;
图14为本发明实施例提供的一种资源分配装置的模块图;FIG. 14 is a block diagram of a resource allocation apparatus according to an embodiment of the present invention;
图15为本发明实施例提供的一种资源分配装置的结构图;FIG. 15 is a structural diagram of a resource allocation apparatus according to an embodiment of the present invention;
图16为本发明实施例提供的一种数据传输装置的模块图;FIG. 16 is a block diagram of a data transmission apparatus according to an embodiment of the present invention;
图17为本发明实施例提供的一种数据传输装置的结构图;FIG. 17 is a structural diagram of a data transmission apparatus according to an embodiment of the present invention;
图18为本发明实施例提供的一种资源分配系统的示意图。FIG. 18 is a schematic diagram of a resource allocation system 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 in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
在现有CPRI协议中,IQ数据的资源分配是以AxC容器为单位的,随着通信技术的发展,多种业务带宽的引入,以AxC容器为单位的资源分配方案常常导致CPRI资源碎片化。这些碎片化的资源常常出现无法使用的情况,例如,当新建小区(或新建载波)或小区频谱扩展时,碎片化的资源无法被使用,需要对资源进行重整后才能进行新建或频谱扩展,此时,需要中断已建小区的业务,导致用户的业务中断,体验不佳。In the existing CPRI protocol, the resource allocation of IQ data is in units of AxC containers. With the development of communication technologies and the introduction of multiple service bandwidths, resource allocation schemes based on AxC containers often lead to fragmentation of CPRI resources. These fragmented resources are often unusable. For example, when a new cell (or new carrier) or cell spectrum is extended, the fragmented resources cannot be used, and the resources need to be reconstructed before new or spectrum expansion can be performed. At this time, the service of the established cell needs to be interrupted, causing the user's service to be interrupted and the experience to be poor.
考虑到以上问题,本发明实施例采用AxC容器分块传输的方案,即将一个AxC容器可以分成多个子块传输,从而充分利用碎片化的资源来提高CPRI资源的利用率,且避免用户业务中断,提高用户体验。In view of the above problems, the embodiment of the present invention adopts a scheme of AxC container block transmission, that is, an AxC container can be divided into multiple sub-blocks, thereby fully utilizing the fragmented resources to improve the utilization of the CPRI resources and avoid user service interruption. Improve the user experience.
首先,对本申请中用到的用语描述如下:First, the terms used in this application are described as follows:
数据传输单位:通过CPRI通信的两个设备之间数据传输的单位,也即将数据映射到CPRI资源上的单位。该数据传输单元例如为AxC容器。Data transmission unit: The unit of data transmission between two devices communicating through CPRI, that is, the data is mapped to the unit on the CPRI resource. The data transmission unit is, for example, an AxC container.
资源区:连续分布的CPRI资源构成的一个资源区域。 Resource area: A resource area consisting of continuously distributed CPRI resources.
资源块:连续分布的CPRI资源构成的一块资源,其为资源区的子集。Resource block: A piece of resource consisting of continuously distributed CPRI resources, which is a subset of the resource area.
下面结合附图对本发明的实施例进行详细描述。The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
请参考图4,其为本发明实施例一种应用场景示意图。如图4所示,本发明涉及REC和RE,其中REC和RE可以分别为基站的基带部分和射频部分,且REC和RE通过CPRI通信。在本发明实例中,引入资源分配单元,用于在载波建立时实现对该载波的CPRI资源的分配,例如,对每个载波的数据传输单位(例如,AxC容器)的资源分配。并将资源分配结果通知给REC和RE,REC根据资源分配结果进行数据的映射、RE根据资源分配结果进行数据的解映射。Please refer to FIG. 4 , which is a schematic diagram of an application scenario according to an embodiment of the present invention. As shown in FIG. 4, the present invention relates to RECs and REs, wherein RECs and REs can be baseband portions and radio frequency portions of a base station, respectively, and RECs and REs communicate via CPRI. In an example of the present invention, a resource allocation unit is introduced for implementing allocation of CPRI resources for the carrier when the carrier is established, for example, resource allocation for a data transmission unit (e.g., AxC container) for each carrier. The resource allocation result is notified to the REC and the RE, the REC performs data mapping according to the resource allocation result, and the RE performs demapping of the data according to the resource allocation result.
需要说明的是,资源分配单元可以是REC侧独立设置的设备,且与其它REC侧的设备统称为REC;也可以集成在其它REC侧的设备中,本申请不做任何限制。It should be noted that the resource allocation unit may be a device that is independently set on the REC side, and is collectively referred to as a REC on the other REC side; or may be integrated in other REC-side devices, and the present application does not impose any limitation.
在资源的分配过程中,该资源分配单元不再以一个数据传输单位为粒度进行资源分配,而是可以根据可用CPRI资源的分布与大小,将其拆分成至少两个部分,即为其分配至少两个离散的CPRI资源块。从而充分利用碎片化的资源来提高CPRI资源的利用率,且避免用户业务中断,提高用户体验。且在资源分配过程中,如果可用CPRI资源中存在满足数据传输单位需求的资源区,则可以不将数据传输单位拆分,还以数据传输单位为粒度进行资源分配,这样可以和现有技术兼容。当然,也可以仍做拆分,以更小的粒度进行资源分配,本申请不做限制。In the process of resource allocation, the resource allocation unit no longer allocates resources according to a granularity of data transmission units, but can split the available CPRI resources into at least two parts according to the distribution and size of the available CPRI resources. At least two discrete CPRI resource blocks. Therefore, the fragmented resources are fully utilized to improve the utilization of the CPRI resources, and the user service interruption is avoided, and the user experience is improved. In the resource allocation process, if there is a resource area in the available CPRI resource that satisfies the data transmission unit requirement, the data transmission unit may not be split, and the data transmission unit is used as the granularity for resource allocation, so that it can be compatible with the prior art. . Of course, you can still do the splitting and allocate resources at a smaller granularity. This application does not limit the application.
下面结合图5,详细描述该资源分配过程。The resource allocation process will be described in detail below with reference to FIG.
请参考图5,图5为本发明实施例提供的一种资源分配方法的流程图,该方法用于在承载建立的过程中分配CPRI资源。包括如下步骤:Please refer to FIG. 5. FIG. 5 is a flowchart of a resource allocation method according to an embodiment of the present invention, where the method is used to allocate a CPRI resource in a process of establishing a bearer. Including the following steps:
步骤201:REC确定待建立的承载的数据传输单位的大小。Step 201: The REC determines the size of the data transmission unit of the bearer to be established.
步骤202:所述REC确定可用CPRI资源的分布与大小。Step 202: The REC determines the distribution and size of available CPRI resources.
步骤203:所述REC根据所述数据传输单位的大小与所述可用CPRI资源的分布与大小,为所述数据传输单位分配CPRI资源。Step 203: The REC allocates a CPRI resource to the data transmission unit according to the size of the data transmission unit and the distribution and size of the available CPRI resources.
在以上步骤201中,数据传输单位为AxC容器,且REC可以根据小区带 宽,天线数等参数确定该数据传输单位的大小,进而可以确定AxC容器所需的资源的大小。In the above step 201, the data transmission unit is an AxC container, and the REC can be based on the cell band. The parameters such as the width and the number of antennas determine the size of the data transmission unit, and thus the size of the resources required for the AxC container.
在以上步骤202中,REC确定可用CPRI资源的分布与大小。可用CPRI资源是指未被分配的CPRI资源,也就是说,所有CPRI资源中已经有一部分CPRI资源被REC分配出去,可用CPRI资源指的是所有CPRI资源中除已被分配出去的CPRI资源外剩余的CPRI资源。可用CPRI资源的分布可以连续的,也可以是离散的。当可用CPRI资源离散分布时,其中包括至少两个资源区。以下是以可用CPRI资源可以满足数据传输单位的需求为前提进行描述的,即可用CPRI资源的大小大于或等于所述数据传输单位所需的资源的大小;当可用CPRI资源离散分布时,即为可用CPRI资源包括的所有资源区的大小之和大于或等于所述数据传输单位所需的资源的大小。In the above step 202, the REC determines the distribution and size of available CPRI resources. The available CPRI resources refer to the unassigned CPRI resources. That is to say, some CPRI resources in all CPRI resources have been allocated by the REC. The available CPRI resources refer to all CPRI resources except the CPRI resources that have been allocated. CPRI resources. The distribution of available CPRI resources can be continuous or discrete. When the available CPRI resources are discretely distributed, at least two resource regions are included therein. The following description is based on the premise that the available CPRI resources can meet the requirements of the data transmission unit, that is, the size of the CPRI resource is greater than or equal to the size of the resource required by the data transmission unit; when the available CPRI resources are discretely distributed, The sum of the sizes of all resource regions included in the available CPRI resources is greater than or equal to the size of the resources required by the data transmission unit.
根据可用CPRI资源包括的资源区的大小与数据传输单位所需的资源的大小的比较结果,可用CPRI资源有以下两种情况:According to the comparison between the size of the resource area included in the available CPRI resources and the size of the resources required by the data transmission unit, the available CPRI resources have the following two cases:
第一种情况为:可用CPRI资源包括的资源区中包括一个大小大于或等于数据传输单位所需的资源的大小的资源区。In the first case, the resource area included in the available CPRI resource includes a resource area whose size is greater than or equal to the size of the resource required by the data transmission unit.
请参考图6,图6为可用CPRI资源的第一种示意图。图6中可用CPRI资源包括资源区S0和S1,其中S0的大小大于数据传输单位所需的资源的大小,S1的大小小于数据传输单位所需的资源的大小。图6还示出了数据传输单位所需的资源的大小,从图6可以看出,可用CPRI资源包括的资源区S0的大小大于数据传输单位所需的资源的大小,此时,可以从资源区S0内确定出一块大小等于数据传输单位所需的资源的大小的资源块,然后将该资源块分配给数据传输单位。Please refer to FIG. 6. FIG. 6 is a first schematic diagram of available CPRI resources. The available CPRI resources in FIG. 6 include resource areas S0 and S1, where the size of S0 is greater than the size of the resources required by the data transmission unit, and the size of S1 is smaller than the size of the resources required by the data transmission unit. Figure 6 also shows the size of the resources required for the data transmission unit. As can be seen from Figure 6, the size of the resource area S0 included in the available CPRI resources is larger than the size of the resources required by the data transmission unit. A resource block of a size equal to the size of the resource required by the data transmission unit is determined in the area S0, and then the resource block is allocated to the data transmission unit.
第二种情况为:可用CPRI资源包括的资源区,所有资源区的大小都不能满足数据传输单位的需求,即可用CPRI资源由两个或两个以上离散分布的资源区组成,每个资源区的大小小于数据传输单位所需的资源的大小,此时,各个资源区中部分或全部资源可以分配给数据传输单位。The second case is: the resource area included in the available CPRI resources, the size of all the resource areas cannot meet the requirements of the data transmission unit, and the CPRI resources can be composed of two or more discretely distributed resource areas, each resource area. The size of the resource is smaller than the size of the resource required by the data transmission unit. At this time, some or all of the resources in each resource area may be allocated to the data transmission unit.
请参考图7,图7为可用CPRI资源的第二种示意图。图7以可用CPRI 资源包括5个资源区为例,5个资源区分别为S0至S4,如图7所示,5个资源区是离散分布的,图7还示出了数据传输单位所需的资源的大小,从图7可以看出,5个资源区中每个资源区的大小均小于数据传输单位所需的资源的大小,5个资源区中部分或全部资源可以分配给数据传输单位。Please refer to FIG. 7. FIG. 7 is a second schematic diagram of available CPRI resources. Figure 7 shows the available CPRI The resource includes five resource areas as an example, and the five resource areas are respectively S0 to S4. As shown in FIG. 7, five resource areas are discretely distributed, and FIG. 7 also shows the size of resources required for the data transmission unit. As can be seen from FIG. 7, the size of each of the five resource regions is smaller than the size of the resources required by the data transmission unit, and some or all of the five resource regions may be allocated to the data transmission unit.
在以上步骤203中,REC根据数据传输单位的大小与可用CPRI资源的分布与大小,为数据传输单位分配CPRI资源。请参考图8,图8为本发明实施例提供的资源分配方法的详细流程图。该方法包括图5中步骤201和202,还包括以下步骤:In the above step 203, the REC allocates CPRI resources for the data transmission unit according to the size of the data transmission unit and the distribution and size of the available CPRI resources. Please refer to FIG. 8. FIG. 8 is a detailed flowchart of a resource allocation method according to an embodiment of the present invention. The method includes steps 201 and 202 of FIG. 5, and further includes the following steps:
步骤2031:判断所述可用CPRI资源包括的所有资源区中是否包括大小大于或等于所述数据传输单位所需的资源的大小的资源区;Step 2031: Determine whether a resource region whose size is greater than or equal to a size of a resource required by the data transmission unit is included in all resource regions included in the available CPRI resource.
步骤2032:当包括大小大于或等于数据传输单位所需的资源的大小的资源区时,为所述数据传输单位分配所述资源区内的一个资源块,所述资源块的大小等于所述数据传输单位所需的资源的大小;Step 2032: When a resource region having a size greater than or equal to a size of a resource required by a data transmission unit is included, one resource block in the resource region is allocated to the data transmission unit, and the size of the resource block is equal to the data. The size of the resources required to transmit the unit;
步骤2033:当所述可用CPRI资源包括两个或两个以上离散分布的资源区,所有所述资源区的大小大于或等于所述数据传输单位的大小,且每个资源区的大小小于所述数据传输单位所需的资源的大小时,为所述数据传输单位分配至少两个资源区内的资源块,且所述至少两个资源块的大小之和等于所述数据传输单位所需的资源的大小。即为数据传输单位所分配的CPRI资源包括至少两个离散分布的资源块,且所述至少两个离散分布的资源块的大小之和等于数据传输单位所需的资源的大小。Step 2033: When the available CPRI resource includes two or more discretely distributed resource regions, the size of all the resource regions is greater than or equal to the size of the data transmission unit, and the size of each resource region is smaller than the size. When the size of the resource required by the data transmission unit is different, the resource transmission unit is allocated resource blocks in at least two resource areas, and the sum of the sizes of the at least two resource blocks is equal to the resource required by the data transmission unit. the size of. That is, the CPRI resource allocated for the data transmission unit includes at least two discretely distributed resource blocks, and the sum of the sizes of the at least two discretely distributed resource blocks is equal to the size of the resources required by the data transmission unit.
REC在为数据传输单位分配好CPRI资源之后,即执行步骤2032或2033之后还可以执行以下步骤:After the REC allocates the CPRI resources for the data transmission unit, after performing step 2032 or 2033, the following steps can be performed:
步骤204:REC将为所述数据传输单位所分配的每个资源块的起始位置和大小发送给RE。Step 204: The REC sends the start position and size of each resource block allocated for the data transmission unit to the RE.
如此,REC和RE之间便可以遵循相同的数据映射与解映射规则。In this way, the same data mapping and demapping rules can be followed between the REC and the RE.
具体来讲,当可用CPRI资源的所有资源区中包括大小大于或等于数据传输单位所需的资源的大小时,REC可以直接将该资源区内的大小等于数据传 输单位所需的资源大小的资源块分配给数据传输单元。可选的,REC还要将分配给数据传输单位的资源块在资源区内的起始位置和大小发送给RE。当然也可以不发送分配给数据传输单位的资源块的大小,此时,默认分配给数据传输单位的资源块的大小等于数据传输单位所需的资源块的大小。Specifically, when all resource regions of the available CPRI resources include a size larger than or equal to a resource required by the data transmission unit, the REC may directly equal the size of the resource region. A resource block of the resource size required for the input unit is allocated to the data transmission unit. Optionally, the REC also sends the resource block allocated to the data transmission unit to the RE in the starting position and size of the resource area. Of course, the size of the resource block allocated to the data transmission unit may not be transmitted. In this case, the size of the resource block allocated by default to the data transmission unit is equal to the size of the resource block required by the data transmission unit.
例如:REC根据数据传输单位的大小与可用CPRI资源的分布与大小,确定图6中的资源区S0内的资源的大小大于或等于数据传输单位所需的资源的大小,则REC将资源区S0内的一个大小等于数据传输单位所需的资源的大小的资源块分配给数据传输单位,这样,为数据传输单位所分配的CPRI资源为资源区S0内的一个大小等于数据传输单位所需的资源的大小的资源块。可选的,REC还要将为数据传输单位所分配的资源块在资源区S0内的起始位置和大小发送给SE。For example, the REC determines that the size of the resource in the resource area S0 in FIG. 6 is greater than or equal to the size of the resource required by the data transmission unit according to the size of the data transmission unit and the distribution and size of the available CPRI resources, and the REC will allocate the resource area S0. A resource block within a size equal to the size of the resource required by the data transmission unit is allocated to the data transmission unit, such that the CPRI resource allocated for the data transmission unit is a resource within the resource area S0 equal to the resource required by the data transmission unit. The size of the resource block. Optionally, the REC further sends the resource block allocated for the data transmission unit to the SE in the starting position and size in the resource area S0.
当可用CPRI资源是由两个或两个以上离散分布的资源区组成的,每个资源区的大小小于数据传输单位所需的资源的大小时,为数据传输单位所分配的CPRI资源位于至少两个资源区内,相应的,REC为数据传输单位所分配的CPRI资源由至少两个离散分布的资源块组成,且至少两个离散分布的资源块的大小之和等于数据传输单位所需的资源的大小。可选的,REC还要将分配给数据传输单位的每个资源块的起始位置和大小发送给RE。When the available CPRI resources are composed of two or more discretely distributed resource regions, and the size of each resource region is smaller than the size of the resource required by the data transmission unit, the CPRI resources allocated for the data transmission unit are located at least two. In the resource area, correspondingly, the CPRI resource allocated by the REC for the data transmission unit is composed of at least two discretely distributed resource blocks, and the sum of the sizes of the at least two discretely distributed resource blocks is equal to the resource required by the data transmission unit. the size of. Optionally, the REC also sends the starting position and size of each resource block allocated to the data transmission unit to the RE.
例如:REC根据数据传输单位的大小与可用CPRI资源的分布与大小,确定图7中的资源区S0和S1内的资源的大小之和等于数据传输单位所需的资源的大小,则将资源区S0和S1内的资源分配给数据传输单位,这样,为数据传输单位所分配的CPRI资源包括两个离散分布的资源块,分别为资源区S0和S1内的资源。可选的,REC还要将资源区S0和S1的起始位置和大小发送给RE。For example, the REC determines that the sum of the sizes of the resources in the resource areas S0 and S1 in FIG. 7 is equal to the size of the resources required by the data transmission unit according to the size of the data transmission unit and the distribution and size of the available CPRI resources. The resources in S0 and S1 are allocated to the data transmission unit. Thus, the CPRI resources allocated for the data transmission unit include two discretely distributed resource blocks, which are resources in the resource areas S0 and S1, respectively. Optionally, the REC also sends the starting location and size of the resource areas S0 and S1 to the RE.
在资源分配的过程中,还可以设置资源分配的策略,来进一步增加资源分配后的有益效果。例如,以剩余可用CPRI资源的碎片化最小为策略,来控制资源分配;再如,以占用尽可能少的资源区为策略,来控制资源分配;当然也可以将这两种策略结合使用。REC执行不同的资源分配策略,为数据传 输单位所分配的CPRI资源不同。In the process of resource allocation, a resource allocation strategy can also be set to further increase the beneficial effects of resource allocation. For example, the resource allocation is controlled by minimizing the fragmentation of the remaining available CPRI resources; for example, the resource allocation is controlled by occupying as few resource areas as possible; of course, the two strategies can also be used in combination. REC performs different resource allocation strategies for data transmission The CPRI resources allocated by the delivery unit are different.
在第一种策略中,所述至少两个离散分布的资源块占用尽可能少的所述资源区。第一种策略的实现例如可以采用以下方式,当然其仅为举例,并非用以限制这种策略的实现:In the first strategy, the at least two discretely distributed resource blocks occupy as few of the resource regions as possible. The implementation of the first strategy may be, for example, the following, of course, which is merely an example and is not intended to limit the implementation of such a strategy:
REC优先将最大的资源区内的资源分配给数据传输单位;而后确定数据传输单位所需的资源还欠缺多少,并根据剩余未被占用的资源区的大小,来继续选择资源区。如果剩下的资源区中有一个资源区可以满足数据传输单位所需的资源中欠缺的部分的需求,则在该资源区内为数据传输单位分配资源;如果这样的资源区不止一个,遵循碎片化最小的原则可以选择最小的资源区,当然,也可以任意选择一个资源区。如果剩下的资源区中没有一个资源区可以满足数据传输单位所需的资源中欠缺的部分的需求,则重复以上步骤,从剩余的最大资源区开始继续为数据传输单位分配资源。如此,数据传输单位包括的至少两个离散分布的资源块占用的资源区数量较少。The REC preferentially allocates the resources in the largest resource area to the data transmission unit; then determines the amount of resources required by the data transmission unit, and continues to select the resource area according to the size of the remaining unoccupied resource areas. If there is a resource area in the remaining resource area that can satisfy the requirement of the missing part of the resource required by the data transmission unit, allocate resources for the data transmission unit in the resource area; if there is more than one resource area, follow the fragmentation The principle of minimization can choose the smallest resource area. Of course, you can also choose one resource area. If none of the remaining resource areas can satisfy the requirement of the missing part of the resources required by the data transmission unit, the above steps are repeated, and resources are continuously allocated for the data transmission unit from the remaining maximum resource area. As such, the data transmission unit includes at least two discretely distributed resource blocks occupying a smaller number of resource regions.
以图7为例,CPRI资源包括5个资源区,5个资源区分别为S0至S4,大小顺序为S0、S1、S3、S2、S4。首先将S0的资源分配给数据传输单位,而后判断S1至S4内是否有满足剩余资源需求的资源区,如果仅有S1满足需求,则分配S1内的资源给数据传输单位;如果不止一个资源区满足需求,则分配任一个满足需求的资源内的资源给数据传输单位,或者选择满足需求的最小资源区作为资源分配的对象。再例如,REC从组成可用CPRI资源的各个资源区中,首先找到最大和次大的两个资源区,计算这两个资源区内的资源之和,并与数据传输单位所需的资源的大小比较,如果这两个资源区内的资源之和大于或等于数据传输单位所需的资源的大小,则将这两个资源区内的资源分配给数据传输单位,否则,找到第三大的资源区,计算最大和次大以及第三大的三个资源区内的资源之和,如果这三个资源区内的资源之和大于或等于数据传输单位所需的资源的大小,则将这三个资源区内的资源分配给数据传输单位,否则,重复与找到第三大的资源区的步骤,直到找出的所有资源区内的资源之和大于或等于数据传输单位所需的资源的大小,将找到 的资源区内的资源分配给数据传输单位。Taking FIG. 7 as an example, the CPRI resource includes five resource areas, five resource areas are S0 to S4, and the size order is S0, S1, S3, S2, and S4. First, allocate the resources of S0 to the data transmission unit, and then determine whether there are resource areas in S1 to S4 that satisfy the remaining resource requirements. If only S1 meets the demand, allocate the resources in S1 to the data transmission unit; if there is more than one resource area To meet the demand, allocate any resource within the resource that meets the demand to the data transmission unit, or select the smallest resource area that meets the requirement as the resource allocation object. For another example, the REC first finds the largest and second largest resource regions from the respective resource regions constituting the available CPRI resources, calculates the sum of the resources in the two resource regions, and the size of the resources required by the data transmission unit. Comparing, if the sum of the resources in the two resource zones is greater than or equal to the size of the resources required by the data transmission unit, the resources in the two resource zones are allocated to the data transmission unit, otherwise, the third largest resource is found. Zone, calculating the sum of the resources of the largest and the second largest and the third largest resource zone, if the sum of the resources in the three resource zones is greater than or equal to the size of the resource required by the data transmission unit, then the three The resources in the resource area are allocated to the data transmission unit, otherwise, the steps of repeating and finding the third largest resource area are repeated until the sum of the resources in all the resource areas found is greater than or equal to the size of the resource required by the data transmission unit. Will find The resources in the resource area are allocated to the data transmission unit.
以图7为例,CPRI资源包括5个资源区,5个资源区分别为S0至S4,5个资源区中资源区S0和S1的大小分别为最大和次大,如果资源区S0和S1内的资源的大小之和大于或等于数据传输单位所需的资源的大小,则将资源区S0和S1内的资源分配给数据传输单位,否则,找到5个资源区中第三大的资源区S3,如果资源区S0和S1及S3内的资源的大小之和大于或等于数据传输单位所需的资源的大小,则将资源区S0和S1及S3内的资源分配给数据传输单位。Taking FIG. 7 as an example, the CPRI resource includes five resource regions, and the five resource regions are respectively S0 to S4, and the sizes of the resource regions S0 and S1 in the five resource regions are respectively the largest and the second largest, respectively, if the resource regions S0 and S1 are within The sum of the sizes of the resources is greater than or equal to the size of the resources required by the data transmission unit, and the resources in the resource areas S0 and S1 are allocated to the data transmission unit, otherwise, the third largest resource area S3 among the five resource areas is found. If the sum of the sizes of the resources in the resource areas S0 and S1 and S3 is greater than or equal to the size of the resources required by the data transmission unit, the resources in the resource areas S0 and S1 and S3 are allocated to the data transmission unit.
在第二种策略中,所述至少两个离散分布的资源块的分布使得剩余可用CPRI资源的碎片化最小。第二种策略的实现例如可以采用以下方式,当然其仅为举例,并非用以限制这种策略的实现:例如,REC根据数据传输单位的大小与可用CPRI资源的分布与大小,按照可用CPRI资源包括的两个或两个以上离散分布的资源区从小到大的顺序,为数据传输单位分配CPRI资源。由于优先将较小的资源区内的资源分配给数据传输单位,所以尽可能将较小的资源区内的资源全部分配给数据传输单位,剩余的资源碎片较少,为数据传输单位分配CPRI资源后剩余的资源区尽可能为较大的资源区。In the second strategy, the distribution of the at least two discretely distributed resource blocks minimizes fragmentation of the remaining available CPRI resources. The implementation of the second policy may be, for example, the following, which is merely an example and is not intended to limit the implementation of the policy: for example, the REC according to the size of the data transmission unit and the distribution and size of the available CPRI resources, according to the available CPRI resources. The two or more discretely distributed resource regions are included in a small to large order, and CPRI resources are allocated for the data transmission unit. Since the resources in the smaller resource area are preferentially allocated to the data transmission unit, all the resources in the smaller resource area are allocated to the data transmission unit as much as possible, and the remaining resource fragments are less, and the CPRI resource is allocated to the data transmission unit. The remaining resource area is as large as possible.
REC从组成可用CPRI资源的各个资源区中,首先找到最小和次小的两个资源区,计算这两个资源区内的资源之和,并与数据传输单位所需的资源的大小比较,如果这两个资源区内的资源之和小于数据传输单位所需的资源的大小,则继续找到第三小的资源区,计算最小和次小以及第三小的三个资源区内的资源之和,如果这三个资源区内的资源之和大于或等于数据传输单位所需的资源的大小,则将这三个资源区内的资源分配给数据传输单位,否则,重复与找到第三小的资源区的步骤,直到找出的所有资源区内的资源之和大于或等于数据传输单位所需的资源的大小,将找到的资源区内的资源分配给数据传输单位。The REC first finds the minimum and the second small resource regions from the respective resource regions constituting the available CPRI resources, calculates the sum of the resources in the two resource regions, and compares with the size of the resources required by the data transmission unit, if If the sum of the resources in the two resource areas is smaller than the size of the resources required by the data transmission unit, the third small resource area is continuously found, and the sum of the resources in the three resource areas of the minimum and the second and the third smallest is calculated. If the sum of the resources in the three resource areas is greater than or equal to the size of the resources required by the data transmission unit, allocate resources in the three resource areas to the data transmission unit, otherwise, repeat and find the third small The step of the resource area, until the sum of the resources in all the resource areas found is greater than or equal to the size of the resources required by the data transmission unit, and the resources in the found resource area are allocated to the data transmission unit.
以图7为例,CPRI资源包括5个资源区,5个资源区分别为S0至S4,5个资源区中资源区S2和S4的大小分别为最小和次小,如果资源区S2和S4 内的资源的大小之和小于数据传输单位所需的资源的大小,则找到5个资源区中大小为第三小的资源区S3,如果资源区S2和S4及S3内的资源的大小之和大于或等于数据传输单位所需的资源的大小,则将资源区S2和S4及S3内的资源分配给数据传输单位。Taking FIG. 7 as an example, the CPRI resource includes five resource regions, five resource regions are S0 to S4, and the resource regions S2 and S4 in the five resource regions are respectively smallest and second smallest, if the resource regions S2 and S4 are respectively. If the sum of the sizes of the resources within the resource is smaller than the size of the resources required by the data transmission unit, the resource region S3 having the third smallest size among the five resource regions is found, and if the sum of the resources in the resource regions S2 and S4 and S3 is If the size of the resource required by the data transmission unit is greater than or equal to, the resources in the resource areas S2 and S4 and S3 are allocated to the data transmission unit.
对比第一种策略和第二种策略,在第一种策略中,分配给数据传输单位的资源块为资源区S0和S1内的资源块,数据传输单位占用的资源区数量为2,剩余可用CPRI资源包括:资源区S2至资源区S4,当然也可能包括资源区S1内的部分资源。而第二种策略中,分配给数据传输单位的资源块为资源区S2和S4及S3内的资源块,数据传输单位占用的资源区数量为3,剩余可用CPRI资源包括:资源区S0和S1,当然也可能包括资源区S3内的部分资源。显然,第一种策略占用的资源区数量较少,而第二种策略剩余可用CPRI资源的碎片化较小。Comparing the first strategy and the second strategy, in the first strategy, the resource blocks allocated to the data transmission unit are resource blocks in the resource areas S0 and S1, and the number of resource areas occupied by the data transmission unit is 2, and the remaining available The CPRI resources include: a resource area S2 to a resource area S4, and may of course include some resources in the resource area S1. In the second strategy, the resource blocks allocated to the data transmission unit are resource blocks in the resource areas S2 and S4 and S3, the number of resource areas occupied by the data transmission unit is 3, and the remaining available CPRI resources include: resource areas S0 and S1. Of course, it may also include some resources in the resource area S3. Obviously, the first strategy occupies a small number of resource areas, while the second strategy has less fragmentation of available CPRI resources.
下面以LTE小区频谱扩展为例说明本发明实施例提供的资源分配方法的有益效果。The LTE cell spectrum extension is taken as an example to illustrate the beneficial effects of the resource allocation method provided by the embodiment of the present invention.
假设有两个小区cell0、cell1,其带宽分别为10MHz、20MHz,I/Q位宽都是15bit,过采样率因子分别为4和8。这两个小区在CPRI速率为4.9152Gbps的接口上传输。两个小区初始建立时其AxC容器映射方式如图9所示。Suppose there are two cells, cell0 and cell1, whose bandwidth is 10MHz and 20MHz respectively, and the I/Q bit width is 15bit, and the oversampling rate factors are 4 and 8, respectively. The two cells are transmitted on an interface with a CPRI rate of 4.9152 Gbps. The mapping mode of the AxC container when the two cells are initially established is as shown in FIG. 9.
当cell0频谱扩展,可以建立20MHz小区时,小区cell0初始建立时其AxC容器映射的CPRI资源变为可用CPRI资源,此时,可用CPRI资源包括两个离散分布的资源区,如图10所示。When the cell0 spectrum is extended, the 20 MHz cell can be established. When the cell cell0 is initially established, the CPRI resource mapped by the AxC container becomes the available CPRI resource. At this time, the available CPRI resource includes two discretely distributed resource regions, as shown in FIG.
cell0因频谱扩展导致AxC容器的大小发生改变,相应的资源分配的粒度发生改变。在现有技术中为了重建cell0,采取的方案是:先将cell1去激活,然后重新进行图11所示的资源分配,进而重建cell0,但是将cell1去激活会导致cell1业务中断。Cell0 changes the size of the AxC container due to spectrum expansion, and the granularity of the corresponding resource allocation changes. In the prior art, in order to rebuild the cell 0, the solution is to deactivate the cell 1 and then re-perform the resource allocation shown in FIG. 11 to reconstruct the cell 0. However, deactivating the cell 1 may cause the cell 1 service to be interrupted.
本发明实施例中,针对图10所示的可用CPRI资源,将CPRI资源包括的两个离散分布的资源区分配给cell0的数据传输单位,如图12所示,实现了在不会使cell1的业务中断的前提下,充分利用了资源碎片,提高了传输资 源的利用率。In the embodiment of the present invention, for the available CPRI resources shown in FIG. 10, the two discretely distributed resource regions included in the CPRI resource are allocated to the data transmission unit of cell0, as shown in FIG. 12, and the cell 1 is not implemented. Under the premise of business interruption, the use of resource debris has been fully utilized and the transmission resources have been improved. Source utilization.
本发明实施例中,为了利用CPRI资源传输数据,REC在为数据传输单位分配CPRI资源后,还可以执行以下步骤:In the embodiment of the present invention, in order to use the CPRI resource to transmit data, after the REC allocates the CPRI resource for the data transmission unit, the following steps may be performed:
所述REC将所述承载所承载的数据映射到为所述数据传输单位所分配的CPRI资源上。其中,所述数据为IQ数据。The REC maps data carried by the bearer to a CPRI resource allocated for the data transmission unit. Wherein, the data is IQ data.
具体来讲,当REC为数据传输单位所分配的CPRI资源为一个大小大于或等于数据传输单位的大小的资源区内的资源块时,REC可以直接将承载所承载的数据映射到该资源块上。具体如何映射可以参考现有技术,在此不再赘述。Specifically, when the REC is a resource block in a resource area whose size is greater than or equal to the size of the data transmission unit, the REC may directly map the data carried by the bearer to the resource block. . For details on how to map, refer to the prior art, and details are not described herein again.
当可用CPRI资源是由两个或多个离散分布的资源区组成的,每个资源区的大小小于数据传输单位所需的资源的大小时,REC首先要确定为数据传输单位所分配的至少两个离散分布的资源块中每个资源块能够传输的数据的大小,然后按照每个资源块能够传输的数据的大小对承载所承载的数据进行拆分,将划分出的数据分别映射到对应的资源块上。一种可能的实施方式为:对承载所承载的数据按照从LSB(中文:最低有效位;英文:Least Significant Bit)到MSB(中文:最高有效位;英文:Most Significant Bit)的顺序进行拆分,并对承载所承载的数据按照从前往后的顺序进行映射。When the available CPRI resource is composed of two or more discretely distributed resource regions, and the size of each resource region is smaller than the size of the resource required by the data transmission unit, the REC first determines at least two allocated data transmission units. The size of the data that can be transmitted by each resource block in the discretely distributed resource blocks, and then splits the data carried by the bearer according to the size of the data that can be transmitted by each resource block, and maps the divided data to corresponding data respectively. On the resource block. A possible implementation manner is: splitting the data carried by the bearer in the order from LSB (Chinese: Least Significant Bit) to MSB (Chinese: Most Significant Bit) And mapping the data carried by the bearer in the order from the going to the back.
基于同一发明构思,本发明实施例还提供一种数据传输方法。请参考图13,图13为本发明实施例提供的一种数据传输方法的流程图,如图13所示,该方法包括如下步骤:Based on the same inventive concept, an embodiment of the present invention further provides a data transmission method. Please refer to FIG. 13. FIG. 13 is a flowchart of a data transmission method according to an embodiment of the present invention. As shown in FIG. 13, the method includes the following steps:
步骤301:无线设备RE接收无线设备控制器REC发送的为承载分配的通用公共无线接口CPRI资源信息,所述CPRI资源信息包括所述REC将为所述承载所分配的至少两个离散分布的资源块的起始位置和大小,其中,所述至少两个离散分布的资源块的大小之和等于所述数据传输单位所需的资源的大小;Step 301: The wireless device RE receives the general public radio interface (CPRI) resource information that is allocated by the radio equipment controller REC, and the CPRI resource information includes at least two discretely distributed resources that the REC will allocate for the bearer. a starting position and a size of the block, wherein a sum of sizes of the at least two discretely distributed resource blocks is equal to a size of a resource required by the data transmission unit;
步骤302:所述RE根据所述CPRI资源信息,接收所述REC在每个资源块上发送的数据,并将所有资源块上的数据合并发送给终端;和/或所述RE 从终端接收所述承载所承载的数据,并利用所述REC为所述承载所分配的资源块,将所述承载所承载的数据发送给所述REC。Step 302: The RE receives the data sent by the REC on each resource block according to the CPRI resource information, and sends the data on all resource blocks to the terminal in combination; and/or the RE The data carried by the bearer is received by the terminal, and the data carried by the bearer is sent to the REC by using the resource block allocated by the REC for the bearer.
在前文对资源分配方法的说明中已经讲到,REC将为数据传输单位所分配的每个资源块的起始位置和大小发送给RE,因此,对于RE来说,执行步骤301,RE可以收到REC发送的为承载分配的CPRI资源信息。As described in the foregoing description of the resource allocation method, the REC sends the start position and size of each resource block allocated for the data transmission unit to the RE. Therefore, for the RE, step 301 is performed, and the RE can receive The CPRI resource information allocated for the bearer sent to the REC.
当REC将为承载所分配的CPRI资源包括至少两个离散分布的资源块时,CPRI资源信息包括所述至少两个离散分布的资源块的起始位置和大小。The CPRI resource information includes a starting location and a size of the at least two discretely distributed resource blocks when the REC includes at least two discretely distributed resource blocks for the allocated CPRI resources.
例如:REC确定图7中的资源区S0和S1内的资源的大小之和等于数据传输单位所需的资源的大小,则REC将资源区S0和S1内的资源分配给数据传输单位,此时,RE会收到的CPRI资源分配信息为:资源区S0和S1的起始位置和大小。For example, the REC determines that the sum of the sizes of the resources in the resource areas S0 and S1 in FIG. 7 is equal to the size of the resources required by the data transmission unit, and the REC allocates the resources in the resource areas S0 and S1 to the data transmission unit. The CPRI resource allocation information that the RE will receive is: the starting position and size of the resource areas S0 and S1.
而后,RE可以利用CPRI资源分配信息的完成上行方向或下行方向上的数据传输:Then, the RE can use the CPRI resource allocation information to complete data transmission in the uplink or downlink direction:
在下行方向上:RE根据CPRI资源分配信息,接收REC在每个资源块上发送的数据,然后将接收到的数据合并为一个完整的数据传输单位,再将数据传输单位发送给终端。In the downlink direction, the RE receives the data sent by the REC on each resource block according to the CPRI resource allocation information, and then combines the received data into one complete data transmission unit, and then sends the data transmission unit to the terminal.
具体来讲,由于REC将承载所承载的数据映射到为数据传输单位所分配的CPRI资源上,所以CPRI资源包括的每个资源块上有数据传输单位的一部分,RE将各个资源块上的数据合并起来,得到一个完整的数据传输单位,并发送给终端。一种可能的实施方式为:如果REC对承载所承载的数据按照从LSB到MSB的顺序进行拆分,那么RE将对承载所承载的数据按照从LSB到MSB的顺序进行合并,如果REC对承载所承载的数据按照从前往后的顺序进行映射,那么RE将对承载所承载的数据按照从前往后的顺序进行解映射。Specifically, since the REC maps the data carried by the bearer to the CPRI resource allocated for the data transmission unit, each resource block included in the CPRI resource has a part of the data transmission unit, and the RE uses the data on each resource block. Combine them to get a complete data transmission unit and send it to the terminal. A possible implementation manner is: if the REC splits the data carried by the bearer in the order from the LSB to the MSB, the RE combines the data carried by the bearer in the order from the LSB to the MSB, if the REC pairs are carried. The carried data is mapped in the order from the going to the end, and the RE will demap the data carried by the bearer in the order from the going to the back.
在上行方向上:RE从终端接收承载所承载的数据,再利用REC为承载所分配的资源块,将承载所承载的数据发送给REC。In the uplink direction, the RE receives the data carried by the bearer from the terminal, and then uses the REC to allocate the allocated resource block, and sends the data carried by the bearer to the REC.
具体来讲,RE在接收终端利用承载发送的数据后,需要将终端发送的数据转发给REC。此时,RE可以根据资源分配信息,确定REC为承载分配的 CPRI资源包括的至少两个离散分布的资源块的大小,然后按照每个资源块能够传输的数据的大小对从终端接收到的数据进行拆分,将拆分出的数据分别映射到对应的资源块上,进而利用资源块将数据发送给REC。Specifically, after the receiving terminal uses the data sent by the bearer, the RE needs to forward the data sent by the terminal to the REC. At this time, the RE may determine, according to the resource allocation information, that the REC is allocated for the bearer. The size of the at least two discretely distributed resource blocks included in the CPRI resource, and then splitting the data received from the terminal according to the size of the data that can be transmitted by each resource block, and mapping the split data to the corresponding resources respectively. On the block, the resource block is used to send data to the REC.
基于同一发明构思,本发明实施例提供一种资源分配装置,这里的资源分配装置位于REC侧,可以独立于现有的REC侧设备,也可以位于现有的REC侧设备中。Based on the same inventive concept, an embodiment of the present invention provides a resource allocation apparatus. The resource allocation apparatus is located on the REC side, and may be independent of an existing REC side device or may be located in an existing REC side device.
请参考图14,图14为资源分配装置的模块图,资源分配装置包括:第一确定单元901、第二确定单元902和资源分配单元903。Please refer to FIG. 14. FIG. 14 is a block diagram of a resource allocation apparatus. The resource allocation apparatus includes: a first determining unit 901, a second determining unit 902, and a resource allocating unit 903.
第一确定单元901,用于确定待建立的承载的数据传输单位的大小;a first determining unit 901, configured to determine a size of a data transmission unit of the bearer to be established;
第二确定单元902,用于确定可用CPRI资源的分布与大小;a second determining unit 902, configured to determine a distribution and a size of available CPRI resources;
资源分配单元903,用于根据所述数据传输单位的大小与所述可用CPRI资源的分布与大小,在所述可用CPRI资源的大小大于或等于所述数据传输单位所需的资源的大小时,为所述数据传输单位分配CPRI资源。The resource allocation unit 903 is configured to: according to the size of the data transmission unit and the distribution and size of the available CPRI resources, when the size of the available CPRI resource is greater than or equal to the size of the resource required by the data transmission unit, A CPRI resource is allocated for the data transmission unit.
该资源分配单元903的分配方式同以上方法实施例,例如可以参见图8。较佳的,在资源分配过程中,不再以一个数据传输单位为粒度进行资源分配,而是可以根据可用CPRI资源的分布与大小,将其拆分成至少两个部分,即为其分配至少两个离散的CPRI资源块。从而充分利用碎片化的资源来提高CPRI资源的利用率,且避免用户业务中断,提高用户体验。此时,为所述数据传输单位所分配的CPRI资源包括至少两个离散分布的资源块,且所述至少两个离散分布的资源块的大小之和等于所述数据传输单位所需的资源的大小。The resource allocation unit 903 is allocated in the same manner as the above method embodiment. For example, reference may be made to FIG. 8. Preferably, in the resource allocation process, resource allocation is no longer performed at a granularity of data transmission units, but may be split into at least two parts according to the distribution and size of available CPRI resources, that is, at least Two discrete CPRI resource blocks. Therefore, the fragmented resources are fully utilized to improve the utilization of the CPRI resources, and the user service interruption is avoided, and the user experience is improved. At this time, the CPRI resource allocated for the data transmission unit includes at least two discretely distributed resource blocks, and the sum of the sizes of the at least two discretely distributed resource blocks is equal to the resources required by the data transmission unit. size.
且在资源分配过程中,如果可用CPRI资源中存在满足数据传输单位需求的资源区,则可以不将数据传输单位拆分,还以数据传输单位为粒度进行资源分配,这样可以和现有技术兼容。当然,也可以仍做拆分,以更小的粒度进行资源分配,本申请不做限制。In the resource allocation process, if there is a resource area in the available CPRI resource that satisfies the data transmission unit requirement, the data transmission unit may not be split, and the data transmission unit is used as the granularity for resource allocation, so that it can be compatible with the prior art. . Of course, you can still do the splitting and allocate resources at a smaller granularity. This application does not limit the application.
较佳的,以上以更小粒度进行资源分配方法适用于可用CPRI资源的分布与大小为以下情况的场景:所述可用CPRI资源包括两个或两个以上离散分布的资源区,且每个资源区的大小小于所述数据传输单位所需的资源的大小; 且所述至少两个离散分布的资源块中每个资源块位于一个资源区内。Preferably, the foregoing method for allocating resources at a smaller granularity is applicable to a scenario in which the distribution and size of available CPRI resources are as follows: the available CPRI resources include two or more discretely distributed resource regions, and each resource The size of the area is smaller than the size of the resource required by the data transmission unit; And each of the at least two discretely distributed resource blocks is located in one resource region.
同以上方法实施例,在资源分配的过程中,还可以设置资源分配的策略,来进一步增加资源分配后的有益效果。例如,以剩余可用CPRI资源的碎片化最小为策略,来控制资源分配;即所述至少两个离散分布的资源块的分布使得剩余可用CPRI资源的碎片化最小。再如,以占用尽可能少的资源区为策略,来控制资源分配;即所述至少两个离散分布的资源块占用尽可能少的所述资源区。当然也可以将这两种策略结合使用。With the above method embodiments, in the process of resource allocation, a resource allocation strategy may also be set to further increase the beneficial effects of resource allocation. For example, the resource allocation is controlled by minimizing the fragmentation of the remaining available CPRI resources; that is, the distribution of the at least two discretely distributed resource blocks minimizes fragmentation of the remaining available CPRI resources. For another example, the resource allocation is controlled by occupying as few resource areas as possible; that is, the at least two discretely distributed resource blocks occupy as few of the resource areas as possible. Of course, these two strategies can also be combined.
结合以上各实施例,以上资源分配装置还可以包括:In combination with the foregoing embodiments, the foregoing resource allocation apparatus may further include:
数据映射单元904,用于将所述承载所承载的数据映射到为所述数据传输单位所分配的CPRI资源上。The data mapping unit 904 is configured to map data carried by the bearer to a CPRI resource allocated for the data transmission unit.
结合以上各实施例,以上资源分配装置还可以包括:In combination with the foregoing embodiments, the foregoing resource allocation apparatus may further include:
接口单元905,用于将为所述数据传输单位所分配的每个资源块的起始位置和大小发送给无线设备RE。The interface unit 905 is configured to send a starting location and a size of each resource block allocated for the data transmission unit to the wireless device RE.
结合以上各实施例,所述数据传输单位为天线载波AxC容器。In combination with the above embodiments, the data transmission unit is an antenna carrier AxC container.
本实施例中的接口单元905可以为REC用于与RE通信的接口电路,例如CPRI接口电路。资源分配单元903可以为单独设立的处理器,也可以集成在REC的现有的一个处理器中实现,此外,也可以以程序代码的形式存储于REC的存储器中,由REC的某一个处理器调用并执行资源分配单元903的功能。第一确定单元901、第二确定单元902、数据映射单元904的实现可以采用资源分配单元903的任一种实现方式,且所有这些单元可以全部或部分集成在一起,也可以独立实现。这里所述的处理器可以是中央处理器(Central Processing Unit,CPU),或者是特定集成电路(Application Specific Integrated Circuit,ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。请参考图15,图15为资源分配装置的结构图,资源分配装置包括:存储器1101、处理器1102和接口电路1103。The interface unit 905 in this embodiment may be an interface circuit for the REC to communicate with the RE, such as a CPRI interface circuit. The resource allocation unit 903 may be a separately set processor, or may be integrated in an existing processor of the REC, or may be stored in the memory of the REC in the form of program code, by a processor of the REC. The function of the resource allocation unit 903 is called and executed. The implementation of the first determining unit 901, the second determining unit 902, and the data mapping unit 904 may adopt any one of the resource allocation units 903, and all of the units may be integrated in whole or in part, or may be implemented independently. The processor described herein may be a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. . Please refer to FIG. 15. FIG. 15 is a structural diagram of a resource allocation apparatus. The resource allocation apparatus includes a memory 1101, a processor 1102, and an interface circuit 1103.
存储器1101,用于存储处理器1102执行任务所需的指令;The memory 1101 is configured to store an instruction required by the processor 1102 to perform a task;
处理器1102,用于执行所述指令,执行以上方法实施例的任一种资源分 配方法。例如,确定待建立的承载的数据传输单位的大小;确定可用CPRI资源的分布与大小;根据所述数据传输单位的大小与所述可用CPRI资源的分布与大小,在所述可用CPRI资源的大小大于或等于所述数据传输单位所需的资源的大小时,为所述数据传输单位分配CPRI资源。The processor 1102 is configured to execute the instruction, and perform any resource division of the foregoing method embodiment. Matching method. For example, determining the size of the data transmission unit of the bearer to be established; determining the distribution and size of the available CPRI resources; and the size of the available CPRI resources according to the size of the data transmission unit and the distribution and size of the available CPRI resources. When the size of the resource required by the data transmission unit is greater than or equal to, the CPRI resource is allocated for the data transmission unit.
处理器1102对资源的分配方式同以上方法实施例,例如可以参见图8。较佳的,在资源分配过程中,不再以一个数据传输单位为粒度进行资源分配,而是可以根据可用CPRI资源的分布与大小,将其拆分成至少两个部分,即为其分配至少两个离散的CPRI资源块。从而充分利用碎片化的资源来提高CPRI资源的利用率,且避免用户业务中断,提高用户体验。此时,为所述数据传输单位所分配的CPRI资源包括至少两个离散分布的资源块,且所述至少两个离散分布的资源块的大小之和等于所述数据传输单位所需的资源的大小。The processor 1102 allocates resources in the same manner as the above method embodiment. For example, reference may be made to FIG. 8. Preferably, in the resource allocation process, resource allocation is no longer performed at a granularity of data transmission units, but may be split into at least two parts according to the distribution and size of available CPRI resources, that is, at least Two discrete CPRI resource blocks. Therefore, the fragmented resources are fully utilized to improve the utilization of the CPRI resources, and the user service interruption is avoided, and the user experience is improved. At this time, the CPRI resource allocated for the data transmission unit includes at least two discretely distributed resource blocks, and the sum of the sizes of the at least two discretely distributed resource blocks is equal to the resources required by the data transmission unit. size.
且在资源分配过程中,如果可用CPRI资源中存在满足数据传输单位需求的资源区,则可以不将数据传输单位拆分,还以数据传输单位为粒度进行资源分配,这样可以和现有技术兼容。当然,也可以仍做拆分,以更小的粒度进行资源分配,本申请不做限制。In the resource allocation process, if there is a resource area in the available CPRI resource that satisfies the data transmission unit requirement, the data transmission unit may not be split, and the data transmission unit is used as the granularity for resource allocation, so that it can be compatible with the prior art. . Of course, you can still do the splitting and allocate resources at a smaller granularity. This application does not limit the application.
关于资源分配的策略、分配后数据的映射、分配信息的发送同以上各实施例,在此不再赘述。需要说明的是,这里的处理器可以是一个处理器,也可以是多个处理元件的统称。例如,该处理器可以是中央处理器(Central Processing Unit,CPU),也可以是特定集成电路(Application Specific Integrated Circuit,ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路,例如:一个或多个微处理器(digital singnal processor,DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,FPGA)。The policy of the resource allocation, the mapping of the data after the allocation, and the transmission of the allocation information are the same as those in the above embodiments, and are not described herein again. It should be noted that the processor herein may be a processor or a collective name of multiple processing elements. For example, the processor may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. For example, one or more digital singal processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs).
存储器可以是一个存储装置,也可以是多个存储元件的统称,且用于存储可执行程序代码。且存储器可以包括随机存储器(RAM),也可以包括非易失性存储器(non-volatile memory),例如磁盘存储器,闪存(Flash)等。The memory may be a storage device or a collective name for a plurality of storage elements and used to store executable program code. And the memory may include random access memory (RAM), and may also include non-volatile memory such as a magnetic disk memory, a flash memory, or the like.
基于同一发明构思,本发明实施例提供一种数据传输装置,这里的数据传输装置可以是如前实施例中所述的任一RE设备,较佳的,所述RE设备可 以是与图13流程所对应的RE设备。Based on the same inventive concept, an embodiment of the present invention provides a data transmission device, where the data transmission device may be any RE device as described in the previous embodiment. Preferably, the RE device may be It is the RE device corresponding to the flow of FIG.
请参考图16,图16为数据传输装置的模块图,数据传输装置包括:接口单元1201、收发单元1202和处理单元1203。Please refer to FIG. 16. FIG. 16 is a block diagram of a data transmission apparatus. The data transmission apparatus includes an interface unit 1201, a transceiver unit 1202, and a processing unit 1203.
接口单元1201,用于与无线设备控制器REC通信;An interface unit 1201, configured to communicate with a wireless device controller REC;
收发单元1202,用于与终端通信;The transceiver unit 1202 is configured to communicate with the terminal;
处理单元1203,用于通过所述接口单元接收所述REC发送的为承载分配的通用公共无线接口CPRI资源信息,且根据所述CPRI资源信息,进行上行或下行方向的数据传输。The processing unit 1203 is configured to receive, by using the interface unit, the common public radio interface (CPRI) resource information that is sent by the REC and that is allocated by the REC, and perform data transmission in an uplink or downlink direction according to the CPRI resource information.
以CPRI资源信息包括所述REC为所述承载所分配的至少两个离散分布的资源块的起始位置和大小为例,其中,所述至少两个离散分布的资源块的大小之和等于所述数据传输单位所需的资源的大小;处理单元1203,用于根据所述CPRI资源信息,通过所述接口单元接收所述REC在每个资源块上发送的数据,并将所有资源块上的数据合并通过所述收发单元发送给终端;或者通过所述收发单元从终端接收所述承载所承载的数据,并利用所述REC为所述承载所分配的资源块,将所述承载所承载的数据通过所述接口单元发送给所述REC。Taking the CPRI resource information as an example of a starting position and a size of at least two discretely distributed resource blocks allocated by the REC for the bearer, wherein a sum of sizes of the at least two discretely distributed resource blocks is equal to The size of the resource required by the data transmission unit; the processing unit 1203, configured to receive, according to the CPRI resource information, the data sent by the REC on each resource block by using the interface unit, and Data merging is sent to the terminal by the transceiver unit; or the data carried by the bearer is received by the transceiver unit from the terminal, and the resource block allocated by the REC for the bearer is used to carry the bearer Data is sent to the REC through the interface unit.
本实施例中的接口单元1201可以为RE用于与REC通信的接口电路,例如CPRI接口电路。收发单元1202可以为RE与终端通信的收发机。处理单元1203可以为单独设立的处理器,也可以集成在RE的现有的一个处理器中实现,此外,也可以以程序代码的形式存储于RE的存储器中,由RE的某一个处理器调用并执行处理单元1203的功能。这里所述的处理器可以是CPU,或者是ASIC,或者是被配置成实施本发明实施例的一个或多个集成电路。The interface unit 1201 in this embodiment may be an interface circuit for the RE to communicate with the REC, such as a CPRI interface circuit. The transceiver unit 1202 can be a transceiver that communicates with the terminal. The processing unit 1203 may be a separately set processor, or may be implemented in an existing processor of the RE. Alternatively, it may be stored in the memory of the RE in the form of program code, and is called by one processor of the RE. The function of the processing unit 1203 is executed. The processor described herein can be a CPU, or an ASIC, or one or more integrated circuits configured to implement embodiments of the present invention.
请参考图17,图17为数据传输装置的模块图,数据传输装置包括:CPRI接口1301、无线接口1302、处理器1303、存储器1304。Please refer to FIG. 17. FIG. 17 is a block diagram of a data transmission apparatus. The data transmission apparatus includes a CPRI interface 1301, a wireless interface 1302, a processor 1303, and a memory 1304.
存储器1304,用于存储处理器1303执行任务所需的指令;The memory 1304 is configured to store an instruction required by the processor 1303 to perform a task;
CPRI接口1301,用于与无线设备控制器REC通信;a CPRI interface 1301, configured to communicate with a wireless device controller REC;
无线接口1302,用于与终端通信; a wireless interface 1302, configured to communicate with the terminal;
处理器1303用于执行所述指令,以通过CPRI接口1301接收REC发送的为承载分配的CPRI资源信息,且根据所述CPRI资源信息,进行上行或下行方向的数据传输。The processor 1303 is configured to execute the instruction, to receive, by using the CPRI interface 1301, CPRI resource information that is allocated by the REC for the bearer, and perform data transmission in an uplink or downlink direction according to the CPRI resource information.
以CPRI资源信息包括REC为所述承载所分配的至少两个离散分布的资源块的起始位置和大小为例,其中,所述至少两个离散分布的资源块的大小之和等于所述数据传输单位所需的资源的大小;处理器1303用于根据该CPRI资源信息,通过CPRI接口1301接收REC在每个资源块上发送的数据,并将所有资源块上的数据合并通过无线接口1302发送给终端;或者通过无线接口1302从终端接收承载所承载的数据,并利用REC为该承载所分配的资源块,将所述承载所承载的数据通过CPRI接口1301发送给REC。For example, the CPRI resource information includes a starting position and a size of at least two discretely distributed resource blocks allocated by the REC for the bearer, where a sum of sizes of the at least two discretely distributed resource blocks is equal to the data. The size of the resource required by the transmission unit; the processor 1303 is configured to receive, according to the CPRI resource information, the data sent by the REC on each resource block through the CPRI interface 1301, and combine the data on all the resource blocks to be sent through the wireless interface 1302. The data carried by the bearer is received from the terminal through the radio interface 1302, and the data carried by the bearer is sent to the REC through the CPRI interface 1301 by using the resource block allocated by the REC for the bearer.
需要说明的是,这里的处理器可以是一个处理器,也可以是多个处理元件的统称。例如,该处理器可以是中央处理器(Central Processing Unit,CPU),也可以是特定集成电路(Application Specific Integrated Circuit,ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路,例如:一个或多个微处理器(digital singnal processor,DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,FPGA)。It should be noted that the processor herein may be a processor or a collective name of multiple processing elements. For example, the processor may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. For example, one or more digital singal processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs).
存储器可以是一个存储装置,也可以是多个存储元件的统称,且用于存储可执行程序代码。且存储器可以包括随机存储器(RAM),也可以包括非易失性存储器(non-volatile memory),例如磁盘存储器,闪存(Flash)等。The memory may be a storage device or a collective name for a plurality of storage elements and used to store executable program code. And the memory may include random access memory (RAM), and may also include non-volatile memory such as a magnetic disk memory, a flash memory, or the like.
基于同一发明构思,本发明实施例还提供一种资源分配系统。请参考图18,图18为本发明实施例提供的资源分配系统的示意图。该系统包括:Based on the same inventive concept, an embodiment of the present invention further provides a resource allocation system. Please refer to FIG. 18. FIG. 18 is a schematic diagram of a resource allocation system according to an embodiment of the present invention. The system includes:
无线设备控制器REC,无线设备RE和终端,其中REC和RE通过通用公共无线接口CPRI通信,所述RE和所述终端通过无线接口通信,且所述REC包括前述各实施例中任一实施例所述的资源分配装置、所述RE包括前述实施例所述的数据传输装置。a wireless device controller REC, a wireless device RE and a terminal, wherein the REC and the RE communicate via a universal public wireless interface CPRI, the RE and the terminal communicate via a wireless interface, and the REC includes any of the foregoing embodiments The resource allocation apparatus and the RE include the data transmission apparatus described in the foregoing embodiments.
其中,终端可以为用户设备(UE,User Equipment),也可称之为移动终端(Mobile Terminal)、移动用户设备等,可以经无线接入网(RAN,Radio Access  Network)与一个或多个核心网(CN,Core Network)进行通信,用户设备可以是如移动电话或具有移动终端的计算机,例如,便携式、袖珍式、手持式、计算机内置的或者车载的移动装置。The terminal may be a user equipment (UE, User Equipment), may also be called a mobile terminal (Mobile Terminal), a mobile user equipment, etc., and may be through a radio access network (RAN, Radio Access). Network) communicates with one or more core networks (CN, Core Network), such as a mobile phone or a computer with a mobile terminal, such as a portable, pocket, handheld, computer built-in or vehicle-mounted mobile device .
需说明的是,本发明实施例中的设备是与方法部分相适应的设备,设备一些具体的实施方式可参照方法部分的描述。It should be noted that the device in the embodiment of the present invention is a device that is compatible with the method part. For some specific implementation manners of the device, reference may be made to the description of the method part.
本发明实施例中提供的一个或多个技术方案,至少具有如下技术效果或优点:One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
本发明实施例中,REC根据数据传输单位的大小与可用CPRI资源的分布与大小,为数据传输单位分配CPRI资源,由于为数据传输单位所分配的CPRI资源包括的至少两个离散分布的资源块的大小之和等于数据传输单位所需的资源的大小,所以实现了利用至少两个离散分布的资源块发送数据传输单位,充分利用了离散分布的资源块,提高了传输资源的利用率。In the embodiment of the present invention, the REC allocates CPRI resources for the data transmission unit according to the size of the data transmission unit and the distribution and size of the available CPRI resources, and at least two discretely distributed resource blocks included in the CPRI resources allocated for the data transmission unit. The sum of the sizes is equal to the size of the resources required by the data transmission unit, so that the data transmission unit is transmitted by using at least two discretely distributed resource blocks, and the discretely distributed resource blocks are fully utilized, thereby improving the utilization of the transmission resources.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能单元的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元完成,即将装置的内部结构划分成不同的功能单元,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。It will be clearly understood by those skilled in the art that for the convenience and brevity of the description, only the division of each functional unit described above is exemplified. In practical applications, the above function assignment can be completed by different functional units as needed. The internal structure of the device is divided into different functional units to perform all or part of the functions described above. For the specific working process of the system, the device and the unit described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit or unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或 者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. You can choose some of them according to actual needs or All units are used to achieve the objectives of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或processor(处理器)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM(Read-Only Memory,只读存储器)、RAM(Random Access Memory,随机存取存储器)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application, in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a ROM (Read-Only Memory), a RAM (Random Access Memory), a disk or an optical disk, and the like, which can store program codes. .
以上所述,以上实施例仅用以对本申请的技术方案进行了详细介绍,但以上实施例的说明只是用于帮助理解本发明的方法及其核心思想,不应理解为对本发明的限制。本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。 The above embodiments are only used to describe the technical solutions of the present application in detail, but the description of the above embodiments is only for helping to understand the method and the core idea of the present invention, and should not be construed as limiting the present invention. Those skilled in the art will be able to devise variations or alternatives within the scope of the present invention within the scope of the present invention.

Claims (17)

  1. 一种资源分配方法,其特征在于,用于在承载建立的过程中分配通用公共无线接口CPRI资源,所述方法包括:A resource allocation method, configured to allocate a common public radio interface CPRI resource in a process of bearer establishment, where the method includes:
    无线设备控制器REC确定待建立的承载的数据传输单位的大小;The wireless device controller REC determines the size of the data transmission unit of the bearer to be established;
    所述REC确定可用CPRI资源的分布与大小;The REC determines the distribution and size of available CPRI resources;
    所述REC根据所述数据传输单位的大小与所述可用CPRI资源的分布与大小,在所述可用CPRI资源的大小大于或等于所述数据传输单位所需的资源的大小时,为所述数据传输单位分配CPRI资源,其中,为所述数据传输单位所分配的CPRI资源包括至少两个离散分布的资源块,且所述至少两个离散分布的资源块的大小之和等于所述数据传输单位所需的资源的大小。The REC is the data according to the size of the data transmission unit and the distribution and size of the available CPRI resources, when the size of the available CPRI resource is greater than or equal to the size of the resource required by the data transmission unit. The transmission unit allocates a CPRI resource, wherein the CPRI resource allocated for the data transmission unit includes at least two discretely distributed resource blocks, and a sum of sizes of the at least two discretely distributed resource blocks is equal to the data transmission unit The size of the resources required.
  2. 如权利要求1所述的方法,其特征在于,所述可用CPRI资源的分布与大小为:所述可用CPRI资源包括两个或两个以上离散分布的资源区,且每个资源区的大小小于所述数据传输单位所需的资源的大小;且所述至少两个离散分布的资源块中每个资源块位于一个资源区内。The method according to claim 1, wherein the distribution and size of the available CPRI resources are: the available CPRI resources include two or more discretely distributed resource regions, and the size of each resource region is smaller than The size of the resource required by the data transmission unit; and each of the at least two discretely distributed resource blocks is located in one resource region.
  3. 如权利要求2所述的方法,其特征在于,所述至少两个离散分布的资源块的分布使得剩余可用CPRI资源的碎片化最小。The method of claim 2 wherein the distribution of the at least two discretely distributed resource blocks minimizes fragmentation of remaining available CPRI resources.
  4. 如权利要求2所述的方法,其特征在于,所述至少两个离散分布的资源块占用尽可能少的所述资源区。The method of claim 2 wherein said at least two discretely distributed resource blocks occupy as few of said resource regions as possible.
  5. 如权利要求1至4任一项所述的方法,其特征在于,在所述REC为所述数据传输单位分配CPRI资源之后,还包括:The method according to any one of claims 1 to 4, further comprising: after the REC allocates a CPRI resource to the data transmission unit, further comprising:
    所述REC将所述承载所承载的数据映射到为所述数据传输单位所分配的CPRI资源上。The REC maps data carried by the bearer to a CPRI resource allocated for the data transmission unit.
  6. 如权利要求1至5任一项所述的方法,其特征在于,在所述REC为所述数据传输单位分配CPRI资源之后,还包括:The method according to any one of claims 1 to 5, further comprising: after the REC allocates a CPRI resource to the data transmission unit, further comprising:
    所述REC将为所述数据传输单位所分配的每个资源块的起始位置和大小发送给无线设备RE。 The REC will send the starting location and size of each resource block allocated for the data transmission unit to the wireless device RE.
  7. 如权利要求1至6任一项所述的方法,其特征在于,所述数据传输单位为天线载波AxC容器。The method according to any one of claims 1 to 6, wherein the data transmission unit is an antenna carrier AxC container.
  8. 一种数据传输方法,其特征在于,包括:A data transmission method, comprising:
    无线设备RE接收无线设备控制器REC发送的为承载分配的通用公共无线接口CPRI资源信息,所述CPRI资源信息包括所述REC将为所述承载所分配的至少两个离散分布的资源块的起始位置和大小,其中,所述至少两个离散分布的资源块的大小之和等于所述数据传输单位所需的资源的大小;The wireless device RE receives the general public radio interface CPRI resource information allocated by the wireless device controller REC for the bearer, where the CPRI resource information includes at least two discretely distributed resource blocks that the REC will allocate for the bearer. a start position and a size, wherein a sum of sizes of the at least two discretely distributed resource blocks is equal to a size of a resource required by the data transmission unit;
    所述RE根据所述CPRI资源信息,接收所述REC在每个资源块上发送的数据,并将所有资源块上的数据合并发送给终端;和/或所述RE从终端接收所述承载所承载的数据,并利用所述REC为所述承载所分配的资源块,将所述承载所承载的数据发送给所述REC。The RE receives data sent by the REC on each resource block according to the CPRI resource information, and combines and transmits data on all resource blocks to the terminal; and/or the RE receives the bearer from the terminal. Carrying data, and using the resource block allocated by the REC for the bearer, sending data carried by the bearer to the REC.
  9. 一种资源分配装置,其特征在于,包括:A resource allocation device, comprising:
    第一确定单元,用于确定待建立的承载的数据传输单位的大小;a first determining unit, configured to determine a size of a data transmission unit of the bearer to be established;
    第二确定单元,用于确定可用CPRI资源的分布与大小;a second determining unit, configured to determine a distribution and a size of available CPRI resources;
    资源分配单元,用于根据所述数据传输单位的大小与所述可用CPRI资源的分布与大小,在所述可用CPRI资源的大小大于或等于所述数据传输单位所需的资源的大小时,为所述数据传输单位分配CPRI资源,其中,为所述数据传输单位所分配的CPRI资源包括至少两个离散分布的资源块,且所述至少两个离散分布的资源块的大小之和等于所述数据传输单位所需的资源的大小。a resource allocation unit, configured to: according to a size of the data transmission unit and a distribution and size of the available CPRI resource, when the size of the available CPRI resource is greater than or equal to a size of a resource required by the data transmission unit, The data transmission unit allocates a CPRI resource, wherein the CPRI resource allocated for the data transmission unit includes at least two discretely distributed resource blocks, and a sum of sizes of the at least two discretely distributed resource blocks is equal to the The size of the resource required by the data transfer unit.
  10. 如权利要求9所述的资源分配装置,其特征在于,所述可用CPRI资源的分布与大小为:所述可用CPRI资源包括两个或两个以上离散分布的资源区,且每个资源区的大小小于所述数据传输单位所需的资源的大小;且所述至少两个离散分布的资源块中每个资源块位于一个资源区内。The resource allocation apparatus according to claim 9, wherein the distribution and size of the available CPRI resources are: the available CPRI resources include two or more discretely distributed resource regions, and each resource region The size is smaller than a size of a resource required by the data transmission unit; and each of the at least two discretely distributed resource blocks is located in one resource region.
  11. 如权利要求10所述的资源分配装置,其特征在于,所述至少两个离散分布的资源块的分布使得剩余可用CPRI资源的碎片化最小。The resource allocation apparatus according to claim 10, wherein the distribution of the at least two discretely distributed resource blocks minimizes fragmentation of remaining available CPRI resources.
  12. 如权利要求10所述的资源分配装置,其特征在于,所述至少两个离散 分布的资源块占用尽可能少的所述资源区。A resource allocation device according to claim 10, wherein said at least two discrete The distributed resource blocks occupy as few of the resource areas as possible.
  13. 如权利要求9至12任一项所述的资源分配装置,其特征在于,还包括:The resource allocation device according to any one of claims 9 to 12, further comprising:
    数据映射单元,用于将所述承载所承载的数据映射到为所述数据传输单位所分配的CPRI资源上。And a data mapping unit, configured to map data carried by the bearer to a CPRI resource allocated for the data transmission unit.
  14. 如权利要求9至13任一项所述的资源分配装置,其特征在于,还包括:The resource allocation device according to any one of claims 9 to 13, further comprising:
    发送单元,用于将为所述数据传输单位所分配的每个资源块的起始位置和大小发送给无线设备RE。And a sending unit, configured to send, to the wireless device RE, a starting location and a size of each resource block allocated for the data transmission unit.
  15. 如权利要求9至14任一项所述的资源分配装置,其特征在于,所述数据传输单位为天线载波AxC容器。The resource allocation apparatus according to any one of claims 9 to 14, wherein the data transmission unit is an antenna carrier AxC container.
  16. 一种数据传输装置,其特征在于,包括:A data transmission device, comprising:
    接口单元,用于与无线设备控制器REC通信;An interface unit, configured to communicate with a wireless device controller REC;
    收发单元,用于与终端通信;a transceiver unit for communicating with the terminal;
    处理单元,用于通过所述接口单元接收所述REC发送的为承载分配的通用公共无线接口CPRI资源信息,所述CPRI资源信息包括所述REC将为所述承载所分配的至少两个离散分布的资源块的起始位置和大小,其中,所述至少两个离散分布的资源块的大小之和等于所述数据传输单位所需的资源的大小;a processing unit, configured to receive, by using the interface unit, a common public radio interface (CPRI) resource information that is sent by the REC to be a bearer, where the CPRI resource information includes at least two discrete distributions that the REC will allocate for the bearer a starting position and a size of the resource block, wherein a sum of sizes of the at least two discretely distributed resource blocks is equal to a size of a resource required by the data transmission unit;
    所述处理单元,还用于根据所述CPRI资源信息,通过所述接口单元接收所述REC在每个资源块上发送的数据,并将所有资源块上的数据合并通过所述收发单元发送给终端;或者通过所述收发单元从终端接收所述承载所承载的数据,并利用所述REC为所述承载所分配的资源块,将所述承载所承载的数据通过所述接口单元发送给所述REC。The processing unit is further configured to: according to the CPRI resource information, receive, by using the interface unit, data that is sent by the REC on each resource block, and combine data on all resource blocks to be sent by using the transceiver unit And receiving, by the transceiver unit, the data carried by the bearer from the terminal, and transmitting, by using the resource block allocated by the REC, the data carried by the bearer to the Said REC.
  17. 一种资源分配系统,其特征在于,包括:无线设备控制器REC,无线设备RE和终端,其中REC和RE通过通用公共无线接口CPRI通信,所述RE和所述终端通过无线接口通信,且A resource allocation system, comprising: a wireless device controller REC, a wireless device RE, and a terminal, wherein the REC and the RE communicate through a universal public wireless interface CPRI, the RE and the terminal communicate through a wireless interface, and
    所述REC包括前述权利要求9-15任一项所述的资源分配装置、所述RE包括前述权利要求16所述的数据传输装置。 The REC includes the resource allocation device according to any one of the preceding claims 9-15, and the RE includes the data transmission device according to claim 16.
PCT/CN2015/085771 2015-07-31 2015-07-31 Resource allocation method, data transmission method, and corresponding apparatus and corresponding system WO2017020190A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201580042427.0A CN106664605A (en) 2015-07-31 2015-07-31 Resource allocation method, data transmission method, and corresponding apparatus and corresponding system
PCT/CN2015/085771 WO2017020190A1 (en) 2015-07-31 2015-07-31 Resource allocation method, data transmission method, and corresponding apparatus and corresponding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/085771 WO2017020190A1 (en) 2015-07-31 2015-07-31 Resource allocation method, data transmission method, and corresponding apparatus and corresponding system

Publications (1)

Publication Number Publication Date
WO2017020190A1 true WO2017020190A1 (en) 2017-02-09

Family

ID=57942268

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/085771 WO2017020190A1 (en) 2015-07-31 2015-07-31 Resource allocation method, data transmission method, and corresponding apparatus and corresponding system

Country Status (2)

Country Link
CN (1) CN106664605A (en)
WO (1) WO2017020190A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN102316517A (en) * 2010-06-30 2012-01-11 华为技术有限公司 Intelligence quotient (IQ) data transmission method and device
WO2015087307A1 (en) * 2013-12-13 2015-06-18 Telefonaktiebolaget L M Ericsson (Publ) Multiplexing and demultiplexing common public radio interface data streams

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860394B (en) * 2010-05-25 2015-06-03 中兴通讯股份有限公司 Multi-standard IQ data mapping method and apparatus based on CPRI
JP6338074B2 (en) * 2013-12-31 2018-06-06 華為技術有限公司Huawei Technologies Co.,Ltd. Data transmission method, data transfer device, and system

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
CN102316517A (en) * 2010-06-30 2012-01-11 华为技术有限公司 Intelligence quotient (IQ) data transmission method and device
WO2015087307A1 (en) * 2013-12-13 2015-06-18 Telefonaktiebolaget L M Ericsson (Publ) Multiplexing and demultiplexing common public radio interface data streams

Also Published As

Publication number Publication date
CN106664605A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN110290533B (en) Data transmission method, system, computer device and storage medium
US9788337B2 (en) Data transmission method applied to a base station, a data receiving method applied to a user equipment, a data transmission device applied to a base station, and a data receiving device applied to each user equipment in a UE group
US11477307B2 (en) Media access control protocol data unit processing method and apparatus
CN108347778A (en) Communication means and device
CN108464048A (en) Method, terminal and the base station of data transmission
WO2021027387A1 (en) Method for reporting capability information and terminal
EP3565159B1 (en) Data processing method and apparatus
CN111294171B (en) Method and equipment for configuring logical channel
US20230209540A1 (en) Method of allocating uplink data packet resource and user equipment
KR102397865B1 (en) Synchronization signal block indication method and determination method, network device, and terminal device
CN113573355A (en) Communication method and device
US10595213B2 (en) Method and apparatus for configuring secondary cell, and host
CN107113790A (en) A kind of carrier polymerizing method and device
US11381288B2 (en) Communication method, network device, and terminal device
WO2019140955A1 (en) Address sending method and device and storage medium
WO2019137299A1 (en) Communication method and communication device
EP3874657A1 (en) Utilizing nr guard band for efficient deployment of lte-m in coexistence with nr
CN109565524B (en) Apparatus, system and method for signaling bandwidth information for channel bandwidth
WO2017020190A1 (en) Resource allocation method, data transmission method, and corresponding apparatus and corresponding system
WO2016184166A1 (en) Method and apparatus for allocating carrier aggregation bandwidth
CN112512106B (en) Uplink power distribution method, device, terminal equipment and storage medium
EP3611980B1 (en) Resource allocation to logical channels and numerologies
WO2018171778A1 (en) Communication method and apparatus
WO2023003543A1 (en) Apparatus and method of power optimized hybrid parallel/pipelined layer 2 processing for packets of different throughput types
CN113965955A (en) Selection method of communication resource conflict and related product

Legal Events

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

Ref document number: 15899966

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15899966

Country of ref document: EP

Kind code of ref document: A1