A method and related device for transmitting common public radio interface (CPRI) data

By extracting only valid data during CPRI data transmission to generate Ethernet frames and refilling invalid data, the problem of excessive Ethernet transmission bandwidth occupation is solved and efficient communication quality assurance is achieved.

CN114466463BActive Publication Date: 2025-09-12HUAWEI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111643687.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-29
Publication Date
2025-09-12
Estimated Expiration
2041-12-29

AI Technical Summary

Technical Problem

When CPRI data is transmitted via Ethernet, it occupies a large amount of transmission bandwidth, causing network congestion and affecting communication quality.

Method used

In the process of converting CPRI frames into Ethernet frames, only valid data is extracted to generate Ethernet frames, invalid data is discarded, and invalid data is refilled when converting back to CPRI frames to reduce the occupation of Ethernet transmission bandwidth.

Benefits of technology

By reducing the transmission bandwidth occupied by CPRI data in Ethernet, network congestion is avoided and communication quality is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114466463B_ABST
    Figure CN114466463B_ABST
Patent Text Reader

Abstract

The present application discloses a method for transmitting Common Public Radio Interface (CPRI) data, comprising: a first network device receiving a first CPRI frame; the first network device generating an Ethernet frame based on valid data in the first CPRI frame, the valid data including a control word and in-phase / quadrature (IQ) data in the first CPRI frame, the Ethernet frame including valid data; and the first network device sending the Ethernet frame to a second network device. In this solution, during the conversion of the CPRI frame into an Ethernet frame for transmission, only valid data in the CPRI frame is extracted to generate the Ethernet frame, while invalid data in the CPRI frame is discarded. The invalid data is then refilled when the Ethernet frame is converted into the CPRI frame, thereby reducing the Ethernet transmission bandwidth occupied by the CPRI data when transmitted over Ethernet.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a Common Public Radio Interface (CPRI) data transmission method and related devices. Background Art

[0002] In a radio access network (RAN), a radio unit (RU) and a baseband unit (BU) interact with each other through CPRI.

[0003] Generally, the CPRI data exchanged between RUs and BUs is transmitted over dedicated optical fibers. In some scenarios, to save fiber laying costs, CPRI data can be converted into Ethernet frames to transmit CPRI data over Ethernet.

[0004] However, transmitting CPRI data through Ethernet will occupy a large amount of Ethernet transmission bandwidth, which can easily lead to network congestion in Ethernet. Summary of the Invention

[0005] The present application provides a method for transmitting CPRI data. In the process of converting CPRI frames into Ethernet frames for transmission, only valid data in the CPRI frames are extracted to generate Ethernet frames, and invalid data in the CPRI frames are discarded. The invalid data is then refilled when the Ethernet frames are converted into CPRI frames, thereby reducing the Ethernet transmission bandwidth occupied by the CPRI data when it is transmitted in Ethernet.

[0006] The first aspect of the present application provides a method for transmitting CPRI data, which can be applied to a first network device connected to a baseband processing device. The method includes: the first network device receives a first CPRI frame, and the first CPRI frame can be, for example, a superframe or a CPRI basic frame. Then, the first network device generates an Ethernet frame based on the valid data in the first CPRI frame, and the valid data includes the control word and in-phase / quadrature (IQ) data in the first CPRI frame. The Ethernet frame generated by the first network device includes the valid data. Specifically, after obtaining the first CPRI frame, the first network device extracts the control word and IQ data in the first CPRI, and encapsulates the extracted control word and IQ data into the Ethernet frame, thereby realizing the generation of the Ethernet frame based on the valid data in the first CPRI frame.

[0007] Finally, the first network device sends the Ethernet frame to the second network device, so that the second network device converts the Ethernet frame into a CPRI frame and then sends it to the radio frequency processing device.

[0008] In this solution, during the process of converting CPRI frames into Ethernet frames for transmission, only valid data in the CPRI frames are extracted to generate Ethernet frames, and invalid data in the CPRI frames are discarded. The invalid data are then refilled when the Ethernet frames are converted into CPRI frames, thereby reducing the Ethernet transmission bandwidth occupied by CPRI data when transmitted in Ethernet, avoiding network congestion in Ethernet and affecting communication quality.

[0009] In one possible implementation, the method further includes: the first network device receiving a first message, the first message being used to indicate location information of valid data in a CPRI frame. The first network device may receive the first message from a baseband processing device. The baseband processing device may send the first message to the first network device by sending a CPRI frame to the first network device. The control word of the CPRI frame sent by the baseband processing device to the first network device may carry the aforementioned location information, thereby indicating to the first network device the location information of the valid data in the CPRI frame.

[0010] The first network device obtains valid data in the first CPRI frame according to the location information, so as to generate an Ethernet frame according to the valid data in the first CPRI frame.

[0011] In this solution, by sending a first message to the first network device to indicate the location information of the valid data in the CPRI frame, the first network device can accurately extract the corresponding valid data from the CPRI frame and encapsulate it into an Ethernet frame, thereby improving the feasibility of the solution.

[0012] In one possible implementation, the position information is used to indicate a starting position and / or an ending position. That is, the position information may indicate the starting position of the IQ data, the ending position of the IQ data, or both. The starting position or the ending position may be indicated by indicating a bit in a CPRI frame.

[0013] In this solution, the location information of valid data in the CPRI frame is indicated by indicating the starting position and / or the ending position, which can improve the feasibility of the solution.

[0014] In one possible implementation, the location information includes one or more interval identifiers, which are used to indicate the location of valid data in the CPRI frame. For example, the IQ data area in the CPRI frame may be divided into five intervals, each with a fixed location and a corresponding interval identifier. The first network device may determine the interval in which the IQ data is located, i.e., the location of the IQ data in the CPRI frame, based on the interval identifier indicated in the location information.

[0015] In this solution, the location information of valid data in the CPRI frame is indicated by indicating the interval identifier, which can save the overhead of the indication information and improve the feasibility of the solution.

[0016] In one possible implementation, the amount of valid data is related to the available transmission bandwidth of the Ethernet used to transmit the Ethernet frame. Specifically, the larger the available transmission bandwidth of the Ethernet, the smaller the amount of valid data in the CPRI frame; and the smaller the available transmission bandwidth of the Ethernet, the smaller the amount of valid data in the CPRI frame. In other words, the amount of valid data in the CPRI frame is positively correlated with the available transmission bandwidth of the Ethernet.

[0017] In this solution, by setting the amount of valid data in the CPRI frame to be related to the available transmission bandwidth of Ethernet, the amount of valid data in the CPRI frame can change with the available transmission bandwidth of Ethernet, ensuring that Ethernet can meet the transmission requirements of CPRI data and avoiding the phenomenon of communication quality degradation.

[0018] In one possible implementation, the method further includes: the first network device obtaining available transmission bandwidth of an Ethernet network used to transmit the Ethernet frame; the first network device sending information about the available transmission bandwidth to a baseband processing device, so that the baseband processing device determines the amount of valid data in the CPRI frame based on the information about the available transmission bandwidth; and the first network device receiving the first CPRI frame from the baseband processing device.

[0019] In this solution, the first network device feeds back the available transmission bandwidth of Ethernet to the baseband processing device, so that the baseband processing device can determine the amount of valid data in the CPRI frame based on the available transmission bandwidth of Ethernet, thereby enabling the amount of valid data in the CPRI frame to change with the available transmission bandwidth of Ethernet, thereby ensuring that Ethernet can meet the transmission requirements of CPRI data and avoiding the phenomenon of communication quality degradation.

[0020] In one possible implementation, the method further includes: after the available transmission bandwidth of the Ethernet changes, the first network device obtains the changed available transmission bandwidth of the Ethernet; the first network device sends information about the changed available transmission bandwidth to a baseband processing device; the first network device receives a second CPRI frame from the baseband processing device, the amount of valid data in the second CPRI frame is different from the amount of valid data in the first CPRI frame, and the baseband processing device is used to adjust the amount of valid data in the CPRI frame based on the changed available transmission bandwidth.

[0021] In this solution, the first network device feeds back the available transmission bandwidth of Ethernet to the baseband processing device, so that the baseband processing device can adjust the amount of valid data in the CPRI frame based on the available transmission bandwidth of Ethernet, thereby enabling the amount of valid data in the CPRI frame to change with the available transmission bandwidth of Ethernet, thereby ensuring that Ethernet can meet the transmission requirements of CPRI data and avoiding the phenomenon of communication quality degradation.

[0022] In one possible implementation, the method further includes: the first network device sends indication information to the second network device, where the indication information is used to instruct the second network device to configure the rate between the second network device and the radio frequency processing device to a first rate, where the first rate is the rate between the first network device and the baseband processing device.

[0023] In this solution, the first network device notifies the second network device of the CPRI rate of the baseband processing device, allowing the second network device to automatically set the CPRI rate between the baseband processing device and the RF processing device, thereby making the CPRI rates of the baseband processing device and the RF processing device the same. This eliminates the complex process of manual rate configuration and improves the configuration efficiency of the CPRI link.

[0024] A second aspect of the present application provides a method for transmitting CPRI data, including: a second network device receives an Ethernet frame; the second network device generates a CPRI frame based on first data in the Ethernet frame, the CPRI frame including the first data and second data, the first data being valid data and the second data being invalid data, the valid data including a control word and IQ data in the CPRI frame, and the second data being determined based on the length of the CPRI frame and the amount of the valid data; and the second network device sends the CPRI frame to a radio frequency processing device.

[0025] In one possible implementation, the second network device generates a CPRI frame based on the first data in the Ethernet frame, including: the second network device obtains location information indicating the location of valid data in the CPRI frame; the second network device generates the CPRI frame based on the first data in the Ethernet frame and the location information.

[0026] In a possible implementation, the location information is used to indicate a starting location and / or an ending location.

[0027] In a possible implementation, the location information includes one or more interval identifiers, and the one or more interval identifiers are used to indicate the location of valid data in the CPRI frame.

[0028] In a possible implementation, the data volume of the first data is related to an available transmission bandwidth of an Ethernet network used to transmit the Ethernet frame.

[0029] In one possible implementation, the method further includes: the second network device receives indication information from the first network device, the indication information being used to instruct the second network device to configure the rate between the second network device and the radio frequency processing device to a first rate, where the first rate is the rate between the first network device and a baseband processing device; and the second network device sets the rate of a port in the second network device connected to the radio frequency processing device to the first rate according to the indication information.

[0030] A third aspect of the present application provides a method for transmitting CPRI data, including: a baseband processing device sends a first message to a first network device, the first message being used to indicate location information of valid data in a CPRI frame; the baseband processing device generates a first CPRI frame based on data to be transmitted, the first CPRI frame including the data to be transmitted and invalid data, the data to be transmitted being valid data in the first CPRI frame, the valid data including a control word and IQ data in the first CPRI frame; and the baseband processing device sends the first CPRI frame to the first network device.

[0031] In a possible implementation, the location information is used to indicate a starting location and / or an ending location.

[0032] In a possible implementation, the location information includes one or more interval identifiers, and the one or more interval identifiers are used to indicate the location of valid data in the CPRI frame.

[0033] In a possible implementation, the first network device is used to convert the first CPRI frame into an Ethernet frame and forward the Ethernet frame. The amount of the valid data is related to the available transmission bandwidth of the Ethernet, and the Ethernet is used to transmit the Ethernet frame.

[0034] In one possible implementation, the method further includes: the baseband processing device receiving information about available transmission bandwidth of the Ethernet from the first network device, the first network device being used to convert the first CPRI frame into an Ethernet frame and forward the Ethernet frame, and the Ethernet being used to transmit the Ethernet frame; and the baseband processing device determining the amount of valid data in the first CPRI frame based on the information about the available transmission bandwidth.

[0035] In one possible implementation, the method further includes: the baseband processing device receiving bandwidth change information from the first network device, the bandwidth change information being used to indicate a changed available transmission bandwidth of the Ethernet, the first network device being used to convert the first CPRI frame into an Ethernet frame and forward the Ethernet frame, the Ethernet being used to transmit the Ethernet frame; the baseband processing device generating a second CPRI frame based on the changed available transmission bandwidth, the amount of valid data in the second CPRI frame being different from the amount of valid data in the first CPRI frame; and the baseband processing device sending the second CPRI frame to the first network device.

[0036] In one possible implementation, the baseband processing device generates a second CPRI frame based on the changed available transmission bandwidth, including: the baseband processing device adjusts the amount of valid data in the CPRI frame based on the changed available transmission bandwidth to generate the second CPRI frame; wherein, the baseband processing device adjusts the amount of valid data in the CPRI frame by adding or shutting down some cells, adding or shutting down some transceiver channels of the target cell, and / or compressing the data to be transmitted.

[0037] A fourth aspect of the present application provides a method for transmitting CPRI data, comprising: a baseband processing device receiving information about available transmission bandwidth of an Ethernet network from a first network device, the first network device being configured to convert a CPRI frame into an Ethernet frame and forward the Ethernet frame, the Ethernet being configured to transmit the Ethernet frame;

[0038] The baseband processing device determines the amount of valid data in the CPRI frame according to the information of the available transmission bandwidth;

[0039] The baseband processing device generates a first CPRI frame according to the data amount, wherein the first CPRI frame includes valid data and invalid data, and the valid data includes a control word and IQ data in the first CPRI frame;

[0040] The baseband processing device sends the first CPRI frame to the first network device.

[0041] In a possible implementation, the method further includes: the baseband processing device sending a first message to the first network device, where the first message is used to indicate location information of valid data in the CPRI frame.

[0042] In a possible implementation, the location information is used to indicate a starting location and / or an ending location.

[0043] In a possible implementation, the location information includes one or more interval identifiers, and the one or more interval identifiers are used to indicate the location of valid data in the CPRI frame.

[0044] In a possible implementation, the first network device is used to convert the first CPRI frame into an Ethernet frame and forward the Ethernet frame. The amount of the valid data is related to the available transmission bandwidth of the Ethernet, and the Ethernet is used to transmit the Ethernet frame.

[0045] In one possible implementation, the method further includes: the baseband processing device receiving bandwidth change information from the first network device, the bandwidth change information being used to indicate a changed available transmission bandwidth of the Ethernet, the first network device being used to convert the first CPRI frame into an Ethernet frame and forward the Ethernet frame, the Ethernet being used to transmit the Ethernet frame; the baseband processing device generating a second CPRI frame based on the changed available transmission bandwidth, the amount of valid data in the second CPRI frame being different from the amount of valid data in the first CPRI frame; and the baseband processing device sending the second CPRI frame to the first network device.

[0046] In one possible implementation, the baseband processing device generates a second CPRI frame based on the changed available transmission bandwidth, including: the baseband processing device adjusts the amount of valid data in the CPRI frame based on the changed available transmission bandwidth to generate the second CPRI frame; wherein, the baseband processing device adjusts the amount of valid data in the CPRI frame by adding or shutting down some cells, adding or shutting down some transceiver channels of the target cell, and / or compressing the data to be transmitted.

[0047] In a fifth aspect, the present application provides a network device, comprising: a receiving unit for receiving a first CPRI frame; a processing unit for generating an Ethernet frame based on valid data in the first CPRI frame, wherein the valid data includes a control word and in-phase orthogonal IQ data in the first CPRI frame, and the Ethernet frame includes the valid data; and a sending unit for sending the Ethernet frame to a second network device.

[0048] In a possible implementation, the receiving unit is further used to receive a first message, where the first message is used to indicate location information of valid data in the CPRI frame; and the processing unit is further used to obtain valid data in the first CPRI frame based on the location information.

[0049] In a possible implementation, the location information is used to indicate a starting location and / or an ending location.

[0050] In a possible implementation, the location information includes one or more interval identifiers, and the one or more interval identifiers are used to indicate the location of valid data in the CPRI frame.

[0051] In a possible implementation, the data volume of the valid data is related to an available transmission bandwidth of an Ethernet network used to transmit the Ethernet frame.

[0052] In one possible implementation, the network device further includes: an acquisition unit, configured to acquire an available transmission bandwidth of an Ethernet network, where the Ethernet network is used to transmit the Ethernet frame; the sending unit, configured to send information about the available transmission bandwidth to a baseband processing device; and the receiving unit, configured to receive the first CPRI frame from the baseband processing device.

[0053] In one possible implementation, the network device further includes: an acquisition unit, configured to acquire the changed available transmission bandwidth of the Ethernet after the available transmission bandwidth of the Ethernet changes; the sending unit, further configured to send information about the changed available transmission bandwidth to the baseband processing device; the receiving unit, further configured to receive a second CPRI frame from the baseband processing device, the amount of valid data in the second CPRI frame being different from the amount of valid data in the first CPRI frame, and the baseband processing device being configured to adjust the amount of valid data in the CPRI frame based on the changed available transmission bandwidth.

[0054] In one possible implementation, the sending unit is further used to send indication information to the second network device, where the indication information is used to instruct the second network device to configure the rate between the second network device and the radio frequency processing device to a first rate, where the first rate is the rate between the first network device and the baseband processing device.

[0055] In a sixth aspect, the present application provides a network device, including: a receiving unit for receiving an Ethernet frame; a processing unit for generating a CPRI frame based on first data in the Ethernet frame, the CPRI frame including the first data and second data, the first data being valid data, the second data being invalid data, the valid data including a control word and IQ data in the CPRI frame, and the second data being determined based on the length of the CPRI frame and the amount of the valid data; and a sending unit for sending the CPRI frame to a radio frequency processing device.

[0056] In a possible implementation, the processing unit is specifically configured to: obtain location information indicating where valid data in a CPRI frame is located; and generate the CPRI frame according to the first data in the Ethernet frame and the location information.

[0057] In a possible implementation, the location information is used to indicate a starting location and / or an ending location.

[0058] In a possible implementation, the location information includes one or more interval identifiers, and the one or more interval identifiers are used to indicate the location of valid data in the CPRI frame.

[0059] In a possible implementation, the data volume of the first data is related to an available transmission bandwidth of an Ethernet network used to transmit the Ethernet frame.

[0060] In one possible implementation, the receiving unit is further configured to receive indication information from the first network device, where the indication information is used to instruct the second network device to configure a rate between the second network device and the radio frequency processing device to a first rate, where the first rate is a rate between the first network device and a baseband processing device; and the processing unit is further configured to set a rate of a port in the second network device connected to the radio frequency processing device to the first rate according to the indication information.

[0061] In a seventh aspect, the present application provides a network device, including: a sending unit, used to send a first message to a first network device, wherein the first message is used to indicate the location information of the valid data in the CPRI frame; a processing unit, used to generate a first CPRI frame based on the data to be transmitted, wherein the first CPRI frame includes the data to be transmitted and invalid data, the data to be transmitted is the valid data in the first CPRI frame, and the valid data includes the control word and IQ data in the first CPRI frame; the sending unit is also used to send the first CPRI frame to the first network device.

[0062] In a possible implementation, the location information is used to indicate a starting location and / or an ending location.

[0063] In a possible implementation, the location information includes one or more interval identifiers, and the one or more interval identifiers are used to indicate the location of valid data in the CPRI frame.

[0064] In a possible implementation, the first network device is used to convert the first CPRI frame into an Ethernet frame and forward the Ethernet frame. The amount of the valid data is related to the available transmission bandwidth of the Ethernet, and the Ethernet is used to transmit the Ethernet frame.

[0065] In one possible implementation, the network device further includes: a receiving unit for receiving information about available transmission bandwidth of the Ethernet from the first network device, the first network device for converting the first CPRI frame into an Ethernet frame and forwarding the Ethernet frame, the Ethernet for transmitting the Ethernet frame; the processing unit is further for determining the amount of valid data in the first CPRI frame based on the information about the available transmission bandwidth.

[0066] In one possible implementation, the receiving unit is further used to receive bandwidth change information from the first network device, where the bandwidth change information is used to indicate the changed available transmission bandwidth of the Ethernet. The first network device is used to convert the first CPRI frame into an Ethernet frame and forward the Ethernet frame, and the Ethernet is used to transmit the Ethernet frame. The processing unit is further used to generate a second CPRI frame based on the changed available transmission bandwidth, where the amount of valid data in the second CPRI frame is different from the amount of valid data in the first CPRI frame. The sending unit is further used to send the second CPRI frame to the first network device.

[0067] In one possible implementation, the processing unit is configured to adjust the amount of valid data in the CPRI frame according to the changed available transmission bandwidth to generate the second CPRI frame; wherein, the baseband processing device adjusts the amount of valid data in the CPRI frame by adding or shutting down some cells, adding or shutting down some transceiver channels of the target cell, and / or compressing the data to be transmitted.

[0068] In an eighth aspect, the present application provides a network device, including: a receiving unit, used to receive information about available transmission bandwidth of an Ethernet from a first network device, the first network device being used to convert a CPRI frame into an Ethernet frame and forward the Ethernet frame, the Ethernet being used to transmit the Ethernet frame; a processing unit, used to determine the amount of valid data in the CPRI frame based on the information about the available transmission bandwidth; the processing unit is also used to generate a first CPRI frame based on the data amount, the first CPRI frame including valid data and invalid data, the valid data including control words and IQ data in the first CPRI frame; a sending unit, used to send the first CPRI frame to the first network device.

[0069] In a possible implementation, the sending unit is further configured to send a first message to the first network device, where the first message is used to indicate location information of valid data in the CPRI frame.

[0070] In a possible implementation, the location information is used to indicate a starting location and / or an ending location.

[0071] In a possible implementation, the location information includes one or more interval identifiers, and the one or more interval identifiers are used to indicate the location of valid data in the CPRI frame.

[0072] In a possible implementation, the first network device is used to convert the first CPRI frame into an Ethernet frame and forward the Ethernet frame. The amount of the valid data is related to the available transmission bandwidth of the Ethernet, and the Ethernet is used to transmit the Ethernet frame.

[0073] In one possible implementation, the receiving unit is further used to receive bandwidth change information from the first network device, where the bandwidth change information is used to indicate the changed available transmission bandwidth of the Ethernet. The first network device is used to convert the first CPRI frame into an Ethernet frame and forward the Ethernet frame, and the Ethernet is used to transmit the Ethernet frame. The processing unit is further used to generate a second CPRI frame based on the changed available transmission bandwidth, where the amount of valid data in the second CPRI frame is different from the amount of valid data in the first CPRI frame. The sending unit is further used to send the second CPRI frame to the first network device.

[0074] In one possible implementation, the processing unit is further used to adjust the amount of valid data in the CPRI frame according to the changed available transmission bandwidth to generate the second CPRI frame; wherein, the baseband processing device adjusts the amount of valid data in the CPRI frame by adding or closing some cells, adding or closing some transceiver channels of the target cell and / or compressing the data to be transmitted.

[0075] In a ninth aspect of the present application, a communication device is provided for implementing the various methods described above. The communication device may be the network device described in the fifth to eighth aspects, or a device comprising the network device described above, or a device included in the network device described above, such as a system chip. The communication device includes a module, unit, or means corresponding to the above method, and the module, unit, or means may be implemented by hardware, software, or by executing the corresponding software implementation by hardware. The hardware or software includes one or more modules or units corresponding to the above functions.

[0076] In a tenth aspect, the present application provides a communication device comprising: a processor and a memory; the memory being configured to store computer instructions, and when the processor executes the instructions, causing the communication device to perform any of the methods described above. The communication device may be the network device described in aspects 5 to 8 above, or a device comprising the network device described above, or a device included in the network device described above, such as a system-on-chip.

[0077] In an eleventh aspect of the present application, a communication device is provided, comprising: a processor; the processor is coupled to a memory, and after reading instructions from the memory, executes the method of any of the above aspects according to the instructions, wherein the memory and the communication device are independent of each other. The communication device may be the network device of the fifth to eighth aspects, or a device including the network device, or a device included in the network device, such as a system-on-chip.

[0078] In a twelfth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions that, when executed on a communication device, enable the communication device to perform any of the methods described in any of the above aspects. The communication device may be the network device described in aspects 5 to 8 above, or a device including the network device described above, or a device included in the network device described above, such as a system-on-chip.

[0079] In a thirteenth aspect, the present application provides a computer program product comprising instructions, which, when executed on a communication device, enables the communication device to perform any of the methods described above. The communication device may be the network device described in aspects 5 to 8 above, or a device comprising the network device described above, or a device included in the network device described above, such as a system-on-chip.

[0080] In a fourteenth aspect, the present application provides a communication device (for example, the communication device may be a chip or a chip system), the communication device including a processor for implementing the functions involved in any of the above aspects. In one possible design, the communication device also includes a memory for storing necessary program instructions and data. When the communication device is a chip system, it may be composed of a chip, or it may include a chip and other discrete devices.

[0081] In the fifteenth aspect, the present application provides a chip, which includes a processor and a communication interface, the communication interface is used to communicate with modules outside the chip shown, and the processor is used to run computer programs or instructions so that the device installed with the chip can execute any of the methods in the above aspects.

[0082] Among them, the technical effects brought about by any design method in the fifth to fifteenth aspects can refer to the technical effects brought about by different design methods in the above-mentioned first aspect, second aspect, third aspect or fourth aspect, and will not be repeated here.

[0083] A sixteenth aspect of the present application provides a communication system, which includes the network device of the above aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0084] Figure 1 A schematic diagram of a network architecture provided in an embodiment of the present application;

[0085] Figure 2 A flowchart of a CPRI data transmission method 200 provided in an embodiment of the present application;

[0086] Figure 3 A schematic diagram of generating an Ethernet frame based on a CPRI frame provided in an embodiment of the present application;

[0087] Figure 4A schematic diagram of generating an Ethernet frame based on multiple CPRI frames provided in an embodiment of the present application;

[0088] Figure 5a A schematic diagram of the structure of a CPRI frame provided in an embodiment of the present application;

[0089] Figure 5b A schematic diagram of the structure of another CPRI frame provided in an embodiment of the present application;

[0090] Figure 5c A schematic diagram of the structure of another CPRI frame provided in an embodiment of the present application;

[0091] Figure 6a A schematic diagram of the structure of another CPRI frame provided in an embodiment of the present application;

[0092] Figure 6b A schematic diagram of the structure of another CPRI frame provided in an embodiment of the present application;

[0093] Figure 6c A schematic diagram of the structure of another CPRI frame provided in an embodiment of the present application;

[0094] Figure 7 A schematic diagram of a scenario for transmitting CPRI data provided in an embodiment of the present application;

[0095] Figure 8 A schematic diagram of another scenario for transmitting CPRI data provided in an embodiment of the present application;

[0096] Figure 9 A flowchart of a CPRI data transmission method provided in an embodiment of the present application;

[0097] Figure 10 A schematic diagram of adjusting the amount of valid data in a CPRI frame provided in an embodiment of the present application;

[0098] Figure 11 A schematic diagram of adjusting the amount of valid data in a CPRI frame provided in an embodiment of the present application;

[0099] Figure 12 A schematic diagram of a cascade of multiple devices provided in an embodiment of the present application;

[0100] Figure 13 A schematic diagram of an embodiment of a network device 1300 provided in an embodiment of the present application;

[0101] Figure 14 A schematic diagram of an embodiment of a network device 1400 provided in an embodiment of the present application;

[0102] Figure 15A schematic diagram of an embodiment of a network device 1500 provided in an embodiment of the present application. DETAILED DESCRIPTION

[0103] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of protection of this application.

[0104] The terms "first", "second" and corresponding terminology numbers in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged under appropriate circumstances. This is merely a way of distinguishing when describing objects with the same properties in the embodiments of the present application. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, so that a process, method, system, product or apparatus that includes a series of units is not necessarily limited to those units, but may include other units that are not explicitly listed or inherent to these processes, methods, products or apparatuses.

[0105] In the description of this application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this application is merely a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of this application, "at least one" refers to one or more items, and "multiple items" refers to two or more items. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0106] The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: Wideband Code Division Multiple Access (WCDMA) system, general packet radio service (GPRS), Long Term Evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD), universal mobile telecommunication system (UMTS), worldwide interoperability for microwave access (WiMAX) communication system, fifth generation (5G) system or NR and future sixth generation communication system, etc.

[0107] To facilitate understanding, some technical concepts involved in the embodiments of this application are introduced below.

[0108] The core concept of a distributed base station architecture is to separate the BU (Bus Unit) and RU (Remote Unit) of a traditional macro base station and connect them via optical fiber or cables. The data transmitted between the BU and RU is called base station fronthaul data. Currently, base station fronthaul data is typically transmitted using CPRI frames defined by the CPRI protocol.

[0109] CPRI frames can be divided into superframes and CPRI basic frames. Each superframe contains 256 CPRI basic frames, and the CPRI basic frame is the basic unit of CPRI transmission. CPRI basic frames have a specific frame structure. The transmission period of each CPRI basic frame is 1 / 3.84 MHz, or 260.416667 ns. Furthermore, each CPRI basic frame contains 16 words, including one control word and 15 words for carrying in-phase / quadrature (IQ) data. These 15 words are also commonly referred to as the IQ data area. The control word is used to carry control data other than IQ data, as well as control word information customized by each manufacturer. IQ data refers to the digital representation of the antenna carrier. User plane data to be transmitted is mapped into the CPRI basic frame on an antenna carrier basis, resulting in the corresponding IQ data. Among them, the antenna carrier is an electromagnetic wave modulated in frequency, amplitude or phase, which can realize the transmission of signals such as text, audio or image, and the electromagnetic wave can be emitted through the antenna to be transmitted to the terminal device.

[0110] In other words, the CPRI basic frame enables the transmission of both control plane data and user plane data. For example, when an RU receives a CPRI basic frame sent by a BU, the RU extracts the control word from the CPRI basic frame to obtain the control plane data from the BU. Similarly, the RU extracts the IQ data from the CPRI basic frame to obtain the user plane data to be transmitted to the terminal device via the antenna carrier.

[0111] The CPRI protocol defines the CPRI basic frame transmission format for different data rates. Specifically, common CPRI basic frame transmission rates include 1228.8 Mbit / s, 2457.6 Mbit / s, 3072.0 Mbit / s, 4915.2 Mbit / s, 6144.0 Mbit / s, and 9830.4 Mbit / s. The CPRI basic frame format only changes in word length at different data rates. For example, at a data rate of 614.4 Mbit / s, the word length in the CPRI basic frame is 8 bits; at a data rate of 1228.8 Mbit / s, the word length in the CPRI basic frame is 16 bits. By analogy, when the data transmission rate is 2457.6Mbit / s, the word length in the CPRI basic frame is 32 bits; when the data transmission rate is 3072.0Mbit / s, the word length in the CPRI basic frame is 40 bits; when the data transmission rate is 4915.2, the word length in the CPRI basic frame is 64 bits, and so on.

[0112] With the evolution of technology, enhanced CPRI (eCPRI) has also emerged. When the CPRI protocol is used to transmit data, the amount of data transmitted between the BU and RU is also determined when the data transmission rate is determined. The amount of data transmitted between the BU and RU is independent of the amount of data in the air interface payload. In other words, no matter how much data needs to be sent to the user terminal through the antenna, the amount of data transmitted between the BU and RU is fixed. However, when the eCPRI protocol is used to transmit data, the amount of data transmitted between the BU and RU varies with the air interface payload. Generally speaking, for cells with the same spectrum bandwidth and the same number of antennas, the eCPRI protocol transmits lower traffic than the CPRI protocol. Therefore, large-bandwidth cells and multi-antenna cells all use the eCPRI protocol to save transmission bandwidth overhead between DU-RU.

[0113] Currently, in some network deployment scenarios, to save equipment iteration costs, both the eCPRI and CPRI protocols may be used to transmit base station fronthaul data. Base station fronthaul data transmitted using the eCPRI protocol can be transmitted over Ethernet, while base station fronthaul data transmitted using the CPRI protocol can only be transmitted over direct fiber and cannot be transmitted over Ethernet.

[0114] Based on this, in order to save the cost of laying optical fiber and enable base station front-transmission data transmitted using the eCPRI protocol and the CPRI protocol to share the transmission network (i.e. Ethernet), the relevant technology proposes converting CPRI data into Ethernet frames to realize the transmission of CPRI data in Ethernet.

[0115] However, transmitting CPRI data through Ethernet will occupy a large amount of Ethernet transmission bandwidth, which can easily lead to network congestion in Ethernet.

[0116] The applicant has found through research that, due to the specific frame structure of the CPRI basic frame, in most scenarios, the IQ data in the CPRI basic frame does not occupy the entire IQ data area in the CPRI basic frame. That is to say, in the CPRI basic frame, part of the IQ data area carries IQ data, while the other part of the IQ data area is empty and does not carry any data. For example, based on the number of cells, the bandwidth of the CPRI link is estimated to be about 2.7Gbps, and the rate of the CPRI link needs to be set to 4.9Gbps. Then, the amount of data transmitted per second by the CPRI link is 4.9G, and the actual effective data is about 2.7G, that is, about 2.2G of traffic is wasted due to idling. In this way, transmitting CPRI data including a large amount of invalid data through Ethernet will occupy more transmission bandwidth of Ethernet, which can easily lead to network congestion in Ethernet.

[0117] In view of this, an embodiment of the present application provides a method for transmitting CPRI data. In the process of converting CPRI frames into Ethernet frames for transmission, only valid data in the CPRI frames are extracted to generate Ethernet frames, and invalid data in the CPRI frames are discarded. The invalid data is then refilled when the Ethernet frames are converted into CPRI frames, thereby reducing the Ethernet transmission bandwidth occupied by the CPRI data when it is transmitted in Ethernet.

[0118] See Figure 1 , Figure 1 This is a schematic diagram of a network architecture provided in an embodiment of the present application. Figure 1 As shown, the network architecture includes a baseband processing device, a first network device, a second network device and a radio frequency processing device, and the first network device and the second network device are connected via an Ethernet network.

[0119] The baseband processing device may include, for example, the above-mentioned BU, which is configured to generate and send CPRI data based on the data to be transmitted.

[0120] The first network device is used to receive CPRI data from the baseband processing device and encapsulate the CPRI data to transmit the CPRI data through the Ethernet network.

[0121] The second network device receives the encapsulated CPRI data, restores the encapsulated CPRI data to obtain original CPRI data, and sends the original CPRI data to the video processing device.

[0122] The radio frequency processing device may include, for example, the above-mentioned RU, which is configured to receive and process CPRI data to obtain a radio frequency signal, so as to transmit the radio frequency signal through an antenna carrier.

[0123] Generally speaking, the transmission delay determinism of the Ethernet network does not meet the CPRI data transmission requirements of the base station. Therefore, clock synchronization can be performed between the first network device and the second network device to stabilize the data frame delay between the first network device and the second network device.

[0124] To facilitate understanding by those skilled in the art, the present application describes the specific implementation process of the technical solution provided by the present application through the following embodiments.

[0125] See Figure 2 , Figure 2 Schematic diagram of a CPRI data transmission method 200 provided in an embodiment of the present application. Figure 2 As shown, the CPRI data transmission method 200 includes the following steps 201-205.

[0126] Step 201: A first network device receives a first CPRI frame.

[0127] In this embodiment, the first CPRI frame is a data frame for transmitting CPRI data. The first CPRI frame may be, for example, the aforementioned superframe or CPRI basic frame. For ease of description, the following describes the embodiment of the present application using the CPRI frame as the aforementioned CPRI basic frame as an example.

[0128] The first network device may receive a first CPRI frame from a baseband processing device, where the destination of the first CPRI frame is the radio frequency processing device. Optionally, the first network device and the baseband processing device may be two independent devices, that is, the first network device and the baseband processing device are separated; the first network device and the baseband processing device may also be integrated into one.

[0129] Step 202: The first network device generates an Ethernet frame according to valid data in the first CPRI frame, where the valid data includes a control word and IQ data in the first CPRI frame, and the Ethernet frame includes the valid data.

[0130] As can be seen from the above description, the area used to carry data in the first CPRI frame includes a control word and an IQ data area. The control word is used to carry control data, while the IQ data area is used to carry IQ data. Within the IQ data area of ​​the entire first CPRI frame, a portion carries IQ data and is referred to as the valid IQ data area. Another portion is empty, meaning it does not carry any valid data and is referred to as the empty IQ data area. All bits in the empty IQ data area can be set to 0 or 1 to indicate that the empty IQ data area carries invalid data.

[0131] In this embodiment, after receiving the first CPRI frame, the first network device extracts the control word and IQ data from the first CPRI frame and encapsulates the extracted control word and IQ data into an Ethernet frame, thereby generating an Ethernet frame based on the valid data in the first CPRI frame. The Ethernet frame generated by the first network device includes the control word and IQ data in the first CPRI frame, but does not include the invalid data carried in the idle IQ data area of ​​the first CPRI frame.

[0132] An Ethernet frame refers to a data packet transmitted over an Ethernet link. Generally speaking, the initial portion of an Ethernet frame consists of a preamble and a start-of-frame delimiter. The initial portion of an Ethernet frame is followed by an Ethernet header, which specifies the destination and source addresses using a Media Access Control (MAC) address. The middle portion of an Ethernet frame contains data packets carrying other protocol headers, such as the valid data in the first CPRI frame described in the embodiments of this application.

[0133] In the embodiment of the present application, the first network device may also be referred to as a CPRI frame encapsulation over Ethernet (CoE) device. Specifically, the CoE device is a device that can support conversion between CPRI frames and Ethernet frames.

[0134] See Figure 3 , Figure 3 A schematic diagram of generating an Ethernet frame based on a CPRI frame is provided in an embodiment of the present application. Figure 3 As shown, the first CPRI frame includes a control word, an idle IQ data area, and a valid IQ data area. The valid IQ data area carries IQ data related to cell 1 and IQ data related to cell 2. The first network device extracts the control word, the IQ data related to cell 1, and the IQ data related to cell 2 from the first CPRI frame, and encapsulates them into an Ethernet frame as the payload in the Ethernet frame. Ultimately, the Ethernet frame generated by the first network device based on the first CPRI frame includes an Ethernet header, a CoE header, and valid data extracted from the first CPRI frame. The CoE header in the Ethernet frame can carry control data related to the first network device and the second network device.

[0135] Depend on Figure 3 It can be seen that by extracting valid data from the CPRI frame and encapsulating the extracted valid data in the Ethernet frame, the data volume of the Ethernet frame can be effectively reduced, thereby reducing the Ethernet transmission bandwidth occupied by the CPRI data when transmitted in the Ethernet.

[0136] It is understandable that the above description is about the process of the first network device generating an Ethernet frame according to a CPRI frame. In actual application, the first network device may also generate an Ethernet frame according to multiple CPRI frames.

[0137] Specifically, after receiving multiple CPRI frames, the first network device obtains valid data from each of the multiple CPRI frames and sequentially encapsulates the valid data from each CPRI frame into the same Ethernet frame according to the order in which the CPRI frames were sent, so that the same Ethernet frame includes valid data from multiple CPRI frames. By encapsulating the valid data from multiple CPRI frames into the same Ethernet frame, the efficiency of Ethernet frames carrying CPRI frames can be improved, and the overhead of Ethernet headers in the Ethernet frames can be reduced.

[0138] See Figure 4 , Figure 4 A schematic diagram of generating an Ethernet frame based on multiple CPRI frames is provided in an embodiment of the present application. Figure 4 As shown, the first network device generates an Ethernet frame based on CPRI frame 1 and CPRI frame 2. Specifically, after receiving CPRI frame 1, the first network device continues to wait to receive CPRI frame 2, which follows CPRI frame 1. After receiving CPRI frame 1 and CPRI frame 2, the first network device extracts the control word and IQ data from the valid IQ data area of ​​CPRI frame 1, and extracts the control word and IQ data from the valid IQ data area of ​​CPRI frame 2. The first network device then encapsulates the valid data extracted from CPRI frame 1 and CPRI frame 2 into the same Ethernet frame in the order in which the CPRI frames are sent, thereby encapsulating the valid data of multiple CPRI frames into a single Ethernet frame.

[0139] In addition, to facilitate the subsequent second network device to determine the CPRI frame encapsulated in the Ethernet frame, the first network device can add CPRI frame indication information in the CoE header of the Ethernet frame, where the CPRI frame indication information is used to indicate the CPRI frame information carried by the Ethernet frame.

[0140] For example, the first network device may add the number of CPRI frames carried by the Ethernet frame and the frame number of the CPRI frame carried by the Ethernet frame in the CoE header. Figure 4 The frame number of CPRI frame 1 is 001, and the frame number of CPRI frame 2 is 002. The CPRI frame indication information carried in the CoE header of the Ethernet frame can indicate that the number of CPRI frames carried by the Ethernet frame is 2, and the frame numbers of the CPRI frames carried by the Ethernet frame are 001 and 002 respectively.

[0141] Step 203: The first network device sends the Ethernet frame to the second network device.

[0142] After generating the Ethernet frame, the first network device sends the Ethernet frame to the second network device through the Ethernet network between the first network device and the second network device.

[0143] In step 204, the second network device generates a CPRI frame based on the first data in the Ethernet frame, where the CPRI frame includes the first data and second data, the first data is valid data, and the second data is invalid data. The valid data includes the control word and IQ data in the CPRI frame, and the second data is determined based on the length of the CPRI frame and the amount of the valid data.

[0144] In this embodiment, after receiving the Ethernet frame sent by the first network device through the Ethernet network, the second network device converts the Ethernet frame into a CPRI frame.

[0145] Specifically, when the Ethernet frame includes only valid data of the first CPRI frame, the second network device can obtain the valid data in the first CPRI frame by extracting the first data in the Ethernet frame. The first data in the Ethernet frame can be the payload of the Ethernet frame, that is, the valid data in the first CPRI frame carried by the Ethernet frame.

[0146] The second network device then generates a CPRI frame based on the extracted first data. The CPRI frame generated by the second network device includes the first data extracted from the Ethernet frame and the second data added by the second network device. Since the CPRI frame generated by the second network device needs to be identical to the first CPRI frame received by the first network device, the second network device can generate the CPRI frame based on the structure of the first CPRI frame. In the case where the length of the CPRI frame is fixed, the second network device can determine the amount of second data that needs to be added to the CPRI frame based on the first data extracted from the Ethernet frame, and thereby add the corresponding second data to the CPRI frame to generate a CPRI frame identical to the first CPRI frame.

[0147] Furthermore, when the Ethernet frame includes valid data from other CPRI frames in addition to the valid data from the first CPRI frame, the second network device may extract the payload from the Ethernet frame and, based on the number of CPRI frames carried by the Ethernet frame, divide the extracted payload from the Ethernet frame into multiple parts, each of which is used to generate a corresponding CPRI frame. The process for the second network device to generate a corresponding CPRI frame based on a portion of the payload in the Ethernet frame can refer to the process described above based on the first data frame, and is not further described here.

[0148] It should be noted that because the second network device needs to convert the Ethernet frame into a CPRI frame identical to the first CPRI frame, the second network device also needs to know the location information of the valid data in the first CPRI frame. Based on this, after receiving the first message indicating the location information, the first network device can forward the first message to the second network device, so that the second network device knows the location information of the valid data in the first CPRI frame.

[0149] Step 205: The second network device sends the CPRI frame to the radio frequency processing device.

[0150] After the second network device converts the Ethernet frame into a CPRI frame, the second network device sends the CPRI frame to the radio frequency processing device, wherein the CPRI frame sent by the second network device to the radio frequency processing device is the same as the first CPRI frame sent by the baseband processing device.

[0151] It is understandable that because the second network device converts the Ethernet frame into a CPRI frame identical to the first CPRI frame and sends the CPRI frame to the RF processing device, the RF processing device is unaware of the process by which the first CPRI frame is converted into an Ethernet frame and then into a CPRI frame. Because the CPRI frame received by the RF processing device is identical to the first CPRI frame sent by the baseband processing device, the transmission of the CPRI frame using the method provided in the embodiments of the present application does not affect the normal transmission of the CPRI data, thereby ensuring the normal operation of the service.

[0152] It is understood that when generating the first CPRI frame, the baseband processing device may place the IQ data in the first CPRI frame at any location in the IQ data area. Therefore, when extracting valid data from the first CPRI frame, the first network device may accurately extract the valid data from the first CPRI frame based on the location of the valid data in the first CPRI frame.

[0153] Optionally, the first network device may receive a first message indicating location information of valid data in the CPRI frame. The first network device then obtains the valid data in the first CPRI frame based on the location information, so as to generate an Ethernet frame based on the valid data in the first CPRI frame.

[0154] The first network device may receive the first message from a baseband processing device. The baseband processing device may send the first message to the first network device by sending a CPRI frame to the first network device. The control word of the CPRI frame sent by the baseband processing device to the first network device may carry the above-mentioned location information to indicate to the first network device the location information of the valid data in the CPRI frame.

[0155] Furthermore, since the length and position of the control word in a CPRI frame are generally fixed, the first message may simply indicate the position of the IQ data in the CPRI frame. For example, if the CPRI frame is 256 bits, the first 16 bits in the CPRI frame are generally the control word, and the first network device may obtain the control word by extracting the first 16 bits from the CPRI frame.

[0156] The above-mentioned location information may indicate the location of the valid data in the CPRI frame in a variety of ways.

[0157] In the first approach, the position information indicates the starting position and / or ending position of the valid data in the CPRI frame.

[0158] Specifically, when the position information only indicates the position of the IQ data in the CPRI frame, the position information may indicate the starting position and / or ending position of the IQ data in the entire CPRI frame. In other words, the position information may indicate the starting position of the IQ data, the ending position of the IQ data, or both.

[0159] Furthermore, the IQ data in the CPRI frame may be located in a continuous region or in multiple discontinuous regions. Therefore, the location information may indicate a starting position and / or an ending position of the IQ data in the entire CPRI frame, or may indicate multiple starting positions and / or multiple ending positions of the IQ data in the entire CPRI frame. Exemplarily, the location information may indicate the starting position or the ending position by indicating a bit in the CPRI frame.

[0160] See Figure 5a , Figure 5a A schematic diagram of the structure of a CPRI frame provided in an embodiment of the present application. Figure 5aAs shown in FIG, the control word in the CPRI frame is located from bit 0 to bit 15, the idle IQ data area is located from bit 16 to bit 135, and the valid IQ data area is located from bit 136 to bit 255. When the end position of the IQ data is the end position of the entire CPRI frame by default, the position information may only indicate the starting position of the IQ data, that is, indicating that the starting position of the IQ data is bit 136 in the entire CPRI frame.

[0161] In this way, if the first network device has determined that the end position of the IQ data is the end position of the entire CPRI frame, the first network device can obtain the IQ data by extracting the data corresponding to bits 136 to 255 in the CPRI frame. In addition, the position information can also indicate both the starting position and the ending position of the IQ data, that is, indicating that the starting position of the IQ data is the 136th bit in the entire CPRI frame and the ending position of the IQ data is the 255th bit in the entire CPRI frame.

[0162] See Figure 5b , Figure 5b This is a schematic diagram of another CPRI frame structure provided in an embodiment of the present application. Figure 5b As shown in FIG, the control word in the CPRI frame is located from bit 0 to bit 15, the valid IQ data area is located from bit 16 to bit 135, and the idle IQ data area is located from bit 136 to bit 255. When the starting position of the IQ data is the starting position of the IQ data area in the CPRI frame by default, the position information may only indicate the end position of the IQ data, that is, indicating that the end position of the IQ data is bit 135 in the entire CPRI frame.

[0163] In this way, if the first network device has determined that the starting position of the IQ data is the starting position of the IQ data area in the CPRI frame, the first network device can obtain the IQ data by extracting the data corresponding to bits 16 to 135 in the CPRI frame. In addition, the position information can also indicate both the starting position and the ending position of the IQ data, that is, indicating that the starting position of the IQ data is the 16th bit in the entire CPRI frame and the ending position of the IQ data is the 135th bit in the entire CPRI frame.

[0164] See Figure 5c , Figure 5c This is a schematic diagram of another CPRI frame structure provided in an embodiment of the present application. Figure 5cAs shown, a CPRI frame includes multiple valid IQ data areas and multiple idle IQ data areas. The control word in the CPRI frame is located from bit 0 to bit 15, valid IQ data area 1 is located from bit 16 to bit 75, idle IQ data area 1 is located from bit 76 to bit 135, valid IQ data area 2 is located from bit 136 to bit 195, and idle IQ data area 2 is located from bit 196 to bit 255. The position information may indicate multiple starting positions and multiple ending positions of the IQ data, i.e., indicating that the starting position 1 of the IQ data is the 16th bit in the entire CPRI frame, the ending position 1 of the IQ data is the 75th bit in the entire CPRI frame, the starting position 2 of the IQ data is the 136th bit in the entire CPRI frame, and the ending position 2 of the IQ data is the 195th bit in the entire CPRI frame.

[0165] In this way, the first network device can extract the IQ data between the starting position 1 and the ending position 1 and the IQ data between the starting position 2 and the ending position 2, thereby obtaining all the IQ data in the entire CPRI.

[0166] In addition, since the position information does not need to indicate the position of the control word, the position information may also indicate the number of bits of the IQ data in the entire IQ data area. Figure 5b In the CPRI frame shown in , the position information may indicate that the starting position of the IQ data in the entire IQ data area is bit 0, and the ending position of the IQ data in the entire IQ data area is bit 119.

[0167] In the second method, the location information indicates the location of the valid data in the CPRI frame through an interval identifier.

[0168] Because the IQ data carried by the baseband processing device in a CPRI frame is typically cell-related, and each cell has one or more transceiver channels, the IQ data in the CPRI frame can actually be divided into multiple sub-IQ data segments, each associated with a specific transceiver channel in the cell. The position of each sub-IQ data segment in the CPRI frame can be pre-defined, so that the position of each sub-IQ data segment in the CPRI frame can be indicated by a corresponding interval identifier.

[0169] For example, the IQ data area in the CPRI frame can be divided into five intervals, each of which has a fixed position and a corresponding interval identifier. The first network device can determine the interval in which the IQ data is located, that is, determine the position of the IQ data in the CPRI frame, based on the interval identifier indicated in the location information.

[0170] See Figure 6a , Figure 6a This is a schematic diagram of another CPRI frame structure provided in an embodiment of the present application. Figure 6a As shown, the control word in the CPRI frame is located between bits 0 and 15, the idle IQ data area is located between bits 16 and 135, and the location of the idle IQ data area is indicated by interval 1. The valid IQ data area is located between bits 136 and 255, and the location of the valid IQ data area is indicated by interval 2. Therefore, the location information may include an identifier indicating interval 2. In this way, based on the identifier of interval 2 indicated in the location information, the first network device can determine that the location of the IQ data is interval 2, that is, the IQ data is located between bits 136 and 255.

[0171] Similarly, see Figure 6b , Figure 6b This is a schematic diagram of another CPRI frame structure provided in an embodiment of the present application. Figure 6b As shown, the control word in the CPRI frame is located between bits 0 and 15, the valid IQ data area is located between bits 16 and 135, and the location of the valid IQ data area is indicated by interval 1. The idle IQ data area is located between bits 136 and 255, and the location of the idle IQ data area is indicated by interval 2. Therefore, the location information may include an identifier indicating interval 1. In this way, based on the identifier of interval 1 indicated in the location information, the first network device can determine that the location of the IQ data is interval 1, that is, the IQ data is located between bits 16 and 135.

[0172] See Figure 6c , Figure 6c This is a schematic diagram of another CPRI frame structure provided in an embodiment of the present application. Figure 6c As shown, the CPRI frame includes two valid IQ data areas and two idle IQ data areas, the two valid IQ data areas being valid IQ data area 1 and valid IQ data area 2. Valid IQ data area 1 is located between bits 16 and 75, and the location of valid IQ data area 1 is indicated by interval 1. Valid IQ data area 2 is located between bits 136 and 195, and the location of valid IQ data area 2 is indicated by interval 2. Therefore, the location information may include an identifier indicating interval 1 and an identifier indicating interval 2. Thus, based on the identifier of interval 1 and the identifier of interval 2 indicated in the location information, the first network device can determine that the location of the IQ data is interval 1 and interval 2, i.e., the IQ data is located between bits 16 and 135, and between bits 136 and 195.

[0173] It can be understood that the above describes the process of transmitting CPRI data from the perspectives of the first network device and the second network device. The following describes the process of the baseband processing device sending CPRI data.

[0174] Specifically, before the baseband processing device sends the CPRI frame to the first network device, the baseband processing device sends a first message to the first network device, where the first message is used to indicate location information of valid data in the CPRI frame.

[0175] The baseband processing device may predetermine the location information of valid data in each subsequent CPRI frame, and generate a first message based on the location information to indicate the location of the valid data in the CPRI frame to the first network device. It is worth noting that when the baseband processing device determines to adjust the location information of the valid data in the CPRI frame, the baseband processing device may send a new message to the CPRI frame to indicate the location of the adjusted valid data in the CPRI frame.

[0176] Then, the baseband processing device generates a first CPRI frame based on the data to be transmitted. The first CPRI frame includes the data to be transmitted and invalid data. The data to be transmitted is valid data in the first CPRI frame, and the valid data includes a control word and IQ data in the first CPRI frame. The invalid data may be an idle IQ data area in the first CPRI frame. The baseband processing device generates the invalid data by setting all bits in the idle IQ data area to 0 or 1.

[0177] After generating the first CPRI frame, the baseband processing device sends the first CPRI frame to the first network device, so that the first network device converts the first CPRI frame into an Ethernet frame for transmission.

[0178] For ease of understanding, the following will introduce the CPRI data transmission method provided in the embodiment of the present application in conjunction with specific scenarios.

[0179] See Figure 7 , Figure 7 A schematic diagram of a scenario for transmitting CPRI data provided in an embodiment of the present application. Figure 7 As shown, baseband processing device 1 and RF processing device 1 use the CPRI protocol to transmit base station fronthaul data, while baseband processing device 2 and RF processing device 2 use the eCPRI protocol to transmit base station fronthaul data. Both devices using the CPRI protocol and the eCPRI protocol share the same Ethernet network to transmit base station fronthaul data. During network deployment, baseband processing device 1 and baseband processing device 2 can be deployed in a central computer room, while RF processing device 1 and RF processing device 2 can be deployed on a signal tower.

[0180] Specifically, baseband processing device 1 sends a CPRI frame to the first network device. The first network device converts the CPRI frame into an Ethernet frame, which is then transmitted over the Ethernet network by an Ethernet switch. Finally, the second network device receives the Ethernet frame, converts it into a CPRI frame, and sends it to RF processing device 1, completing the CPRI data transmission.

[0181] After baseband processing device 2 generates an Ethernet frame using the eCPRI protocol, it sends the Ethernet frame to the Ethernet switch, which then transmits the Ethernet frame over the Ethernet network. The Ethernet frame carries the eCPRI data. Finally, RF processing device 2 receives the Ethernet frame forwarded by the Ethernet switch, completing the transmission of the eCPRI data.

[0182] Depend on Figure 7 It can be seen that by setting up a first network device and a second network device for realizing conversion between CPRI frames and Ethernet frames, CPRI data and eCPRI data can be transmitted over the same Ethernet network, thereby improving the utilization efficiency of the Ethernet network, avoiding the need to lay a dedicated optical fiber between the baseband processing device and the radio frequency processing device, and effectively reducing the cost of network deployment.

[0183] See Figure 8 , Figure 8 This is another scenario diagram for transmitting CPRI data provided by an embodiment of the present application. Figure 8 As shown, the baseband processing device and the radio frequency processing device use the CPRI protocol to transmit base station fronthaul data, the first network device is used to convert the CPRI frame into an Ethernet frame, and the second network device is used to convert the Ethernet frame into a CPRI frame.

[0184] The first network device and the second network device are each connected to a wireless microwave device. Specifically, the first network device sends Ethernet frames to the second network device via wireless microwave transmission. Transmitting Ethernet frames via wireless microwave transmission eliminates the need for a wired cable between the first and second network devices. Wireless microwaves refer to electromagnetic waves with frequencies exceeding 1 GHz and wavelengths ranging from millimeters to centimeters, which are shorter than those of ordinary radio waves. Similar to linear light transmission, wireless microwave transmission is a relay transmission method that operates beyond line of sight.

[0185] exist Figure 7 In the scenario shown, CPRI data and data from other protocols share the Ethernet network for transmission. Due to service uncertainty, when the amount of data from other protocols transmitted on the Ethernet network increases, the available transmission bandwidth of the Ethernet network decreases, which can easily lead to network congestion and ultimately degrade communication quality.

[0186] exist Figure 8 In the scenario shown, CPRI data is transmitted using wireless microwaves. However, the transmission capacity of wireless microwaves is affected by the environment. For example, in rainy conditions or in the presence of other air interface interference, the transmission capacity of wireless microwaves decreases, reducing the available transmission bandwidth of wireless microwaves.

[0187] That is to say, in Figure 7 and Figure 8 In the scenario shown, during the communication process, the available transmission bandwidth of the Ethernet network may change, thereby affecting the communication quality.

[0188] Based on this, in an embodiment of the present application, the first network device can obtain the available transmission bandwidth of the Ethernet in real time or periodically, and feedback the available transmission bandwidth of the Ethernet network to the baseband processing device, so that the baseband processing device sets the data amount of valid data in the CPRI frame according to the available transmission bandwidth of the Ethernet.

[0189] Optionally, for the CPRI frame acquired by the first network device, the amount of valid data in the CPRI frame is related to the available transmission bandwidth of an Ethernet network used to transmit the Ethernet frame converted from the CPRI frame. Specifically, the larger the available transmission bandwidth of the Ethernet network, the smaller the amount of valid data in the CPRI frame; and the smaller the available transmission bandwidth of the Ethernet network, the smaller the amount of valid data in the CPRI frame. In other words, the amount of valid data in the CPRI frame is positively correlated with the available transmission bandwidth of the Ethernet network.

[0190] In this solution, by setting the amount of valid data in the CPRI frame to be related to the available transmission bandwidth of Ethernet, the amount of valid data in the CPRI frame can change with the available transmission bandwidth of Ethernet, ensuring that Ethernet can meet the transmission requirements of CPRI data and avoiding the phenomenon of communication quality degradation.

[0191] See Figure 9 , Figure 9 A flow chart of a CPRI data transmission method provided in an embodiment of the present application. Figure 9 As shown, the CPRI data transmission method includes the following steps 901-908.

[0192] Step 901: A first network device obtains available transmission bandwidth of an Ethernet network, where the Ethernet network is used to transmit the Ethernet frame.

[0193] In this embodiment, before the first network device starts to transmit CPRI data, the first network device may first obtain the current available transmission bandwidth of the Ethernet for transmitting Ethernet frames.

[0194] In one possible example, the first network device may obtain the available Ethernet transmission bandwidth from a device that forwards Ethernet frames. For example, the first network device may send a request message to an Ethernet switch or wireless microwave device to request the available Ethernet transmission bandwidth. After receiving the request message, the Ethernet switch or wireless microwave device sends a feedback message to the first network device indicating the current available Ethernet transmission bandwidth. Alternatively, the Ethernet switch or wireless microwave device may proactively provide feedback to the first network device regarding the current available Ethernet transmission bandwidth, which is not specifically limited herein.

[0195] In another possible example, the first network device may actively detect the available transmission bandwidth of the Ethernet. For example, the first network device may send a probe message via the Ethernet to detect the transmission quality of the Ethernet. If packet loss occurs in the probe message sent by the first network device, the first network device may detect that the transmission quality of the Ethernet has deteriorated, thereby determining the available transmission bandwidth of the Ethernet.

[0196] Step 902: The first network device sends the information of the available transmission bandwidth to the baseband processing device.

[0197] When only a CPRI link is deployed between the first network device and the baseband processing device, the first network device can send a CPRI frame to the baseband processing device, and indicate in the control word of the CPRI frame that the current CPRI frame is used to carry information about available transmission bandwidth. Furthermore, the control word of the CPRI frame sent by the first network device to the baseband processing device can also carry the specific available Ethernet transmission bandwidth. For example, the information carried in the control word indicates that the specific available Ethernet transmission bandwidth is 2.7 Gbps.

[0198] Step 903: The baseband processing device determines the amount of valid data in the first CPRI frame according to the information about the available transmission bandwidth.

[0199] Since the transmission period of a CPRI frame is fixed, each CPRI frame has a transmission period of 1 / 3.84 MHz, meaning the baseband processing device transmits 3.84 million CPRI frames per second. Given a fixed CPRI frame transmission rate, the length of the control word in each CPRI frame is also fixed. Therefore, after determining the available Ethernet transmission bandwidth, the maximum data size of each CPRI frame can be determined based on the available transmission bandwidth and the number of CPRI frames transmitted per second. Given a fixed control word length, the amount of valid data in a CPRI frame can be calculated by subtracting the control word size from the maximum data size.

[0200] Step 904: The baseband processing device sends a first CPRI frame to the first network device.

[0201] After the baseband processing device determines the amount of valid data in the CPRI frame based on the available transmission bandwidth of the Ethernet, the baseband processing device may generate and send a first CPRI frame to the first network device. The amount of valid data in the first CPRI frame is determined by the baseband processing device based on the available transmission bandwidth of the Ethernet.

[0202] Step 905: After the available transmission bandwidth of the Ethernet changes, the first network device obtains the changed available transmission bandwidth of the Ethernet.

[0203] During the transmission of CPRI data, when the available transmission bandwidth of Ethernet changes, the first network device can promptly obtain the changed available transmission bandwidth of Ethernet.

[0204] The first network device may periodically detect the available transmission bandwidth of the Ethernet, or periodically request the available transmission bandwidth of the Ethernet from the Ethernet switch or the wireless microwave device, so as to timely obtain the changed available transmission bandwidth of the Ethernet.

[0205] In addition, the Ethernet switch or wireless microwave device connected to the first network device can also actively feedback the changed available transmission bandwidth of the Ethernet to the first network device when the available transmission bandwidth of the Ethernet changes, so that the first network device can obtain the changed available transmission bandwidth of the Ethernet in a timely manner.

[0206] Step 906: The first network device sends information about the changed available transmission bandwidth to the baseband processing device.

[0207] Among them, step 906 is similar to the above-mentioned step 902. For details, please refer to the above-mentioned step 902 and will not be repeated here.

[0208] Step 907: The baseband processing device generates a second CPRI frame according to the changed available transmission bandwidth, wherein the amount of valid data in the second CPRI frame is different from the amount of valid data in the first CPRI frame.

[0209] Specifically, after obtaining the changed available transmission bandwidth of the Ethernet, the baseband processing device adjusts the amount of valid data in the CPRI frame based on the changed available transmission bandwidth to generate the second CPRI frame. For example, when the changed available transmission bandwidth is greater than the available transmission bandwidth before the change, the baseband processing device increases the amount of valid data in the CPRI frame; when the changed available transmission bandwidth is less than the available transmission bandwidth before the change, the baseband processing device decreases the amount of valid data in the CPRI frame.

[0210] The baseband processing device adjusts the amount of valid data in the CPRI frame by adding or shutting down some cells, adding or shutting down some transceiver channels of the target cell, and / or compressing the data to be transmitted.

[0211] Since each CPRI frame may carry IQ data related to one or more cells, and the IQ data related to each cell may include IQ data corresponding to multiple transceiver channels, the baseband processing device can increase or decrease the IQ data by adjusting the number of cells or transceiver channels corresponding to the IQ data in the CPRI frame.

[0212] The baseband processing device can adjust the number of cells corresponding to the IQ data in the CPRI frame by selectively deactivating or activating some cells based on their priority. For example, the baseband processing device can selectively activate some cells with higher priority, such as basic network coverage cells; or selectively deactivate some cells with lower priority, such as capacity enhancement cells. Furthermore, the baseband processing device can reduce the IQ data in the CPRI frame by compressing the data to be transmitted using an appropriate CPRI bandwidth compression algorithm, thereby achieving IQ data adjustment.

[0213] For example, see Figure 10 , Figure 10 A schematic diagram of adjusting the amount of valid data in a CPRI frame provided by an embodiment of the present application. Figure 10As shown, before the amount of valid data in the CPRI frame is adjusted, the valid IQ data area in the first CPRI frame includes IQ data for both cell 1 and cell 2. During the adjustment of the amount of valid data in the CPRI frame, because cell 1 has a lower priority, the baseband processing device determines to disable cell 1, meaning that it no longer transmits or receives data related to cell 1. Consequently, after the amount of valid data in the CPRI frame is adjusted, the valid IQ data area in the second CPRI frame includes only IQ data for cell 2.

[0214] See Figure 11 , Figure 11 A schematic diagram of adjusting the amount of valid data in a CPRI frame provided by an embodiment of the present application. Figure 11 As shown, before the amount of valid data in a CPRI frame is adjusted, the valid IQ data area in the first CPRI frame includes the IQ data of cell 1 and the IQ data of cell 2. Cells 1 and 2 each have two transceiver channels. Therefore, the IQ data for cell 1 includes the IQ data for channel 1 in cell 1 and the IQ data for channel 2 in cell 1; the IQ data for cell 2 includes the IQ data for channel 1 in cell 2 and the IQ data for channel 2 in cell 2. During the adjustment of the amount of valid data in the CPRI frame, the baseband processing device determines to disable certain transceiver channels in cells 1 and 2, namely, to no longer transmit or receive data related to channel 2 in cell 1 or channel 2 in cell 2. Consequently, after the amount of valid data in the CPRI frame is adjusted, the valid IQ data area in the second CPRI frame includes only the IQ data for channel 1 in cell 1 and the IQ data for channel 1 in cell 2.

[0215] Step 908: The baseband processing device sends the second CPRI frame to the first network device.

[0216] In this solution, the first network device feeds back the available transmission bandwidth of Ethernet to the baseband processing device, so that the baseband processing device can determine or adjust the amount of valid data in the CPRI frame based on the available transmission bandwidth of Ethernet, thereby enabling the amount of valid data in the CPRI frame to change with the available transmission bandwidth of Ethernet, thereby ensuring that Ethernet can meet the transmission requirements of CPRI data and avoiding the phenomenon of communication quality degradation.

[0217] The above describes the specific implementation process of a CPRI data transmission method provided in an embodiment of the present application. Since the baseband processing device and the radio frequency processing device need to be set to the same CPRI data transmission rate during the CPRI data transmission process, and the baseband processing device and the radio frequency processing device in the embodiment of the present application are not directly connected, the embodiment of the present application provides a method for automatically configuring the baseband processing device and the radio frequency processing device to have the same CPRI data transmission rate.

[0218] For example, see 12, Figure 12 This is a schematic diagram of a plurality of devices cascaded according to an embodiment of the present application. Figure 12 As shown, in a network consisting of four devices, namely a baseband processing device, a first network device, a second network device and a radio frequency processing device, the first network device, the second network device and the radio frequency processing device are respectively managed by the baseband processing device as three-level cascade devices of Hop0, Hop1 and Hop2 on the CPRI link.

[0219] The baseband processing device can control and manage the first network device, the second network device, and the radio frequency processing device through the control word in the CPRI frame. Specifically, the first network device, the second network device, and the radio frequency processing device can be identified by Hop0, Hop1, and Hop2, respectively. The baseband processing device carries the identifier of the device to be controlled and managed in the control word in the CPRI frame to instruct the device to obtain corresponding control information.

[0220] For example, when the baseband processing device needs to indicate the location information of valid data in a CPRI frame to the first network device and the second network device, the baseband processing device includes the identifiers of the first and second network devices, as well as the corresponding location information, in the control word. In this way, when the first and second network devices receive the CPRI frame, they can determine that they need to obtain the corresponding location information from the CPRI frame based on their own identifiers included in the control word.

[0221] Furthermore, the baseband processing device may also automatically configure the same CPRI data transmission rate for the baseband processing device and the radio frequency processing device by controlling and managing the first network device and the second network device. Specifically, the process of automatically configuring the same CPRI data transmission rate for the baseband processing device and the radio frequency processing device may be described in the following steps.

[0222] First, the first network device and the baseband processing device implement rate configuration between the first network device and the baseband processing device through a handshake.

[0223] Specifically, during the process of establishing a CPRI connection with the first network device, the first network device continuously adjusts the rate of the port connected to the baseband processing device and performs a handshake with the baseband processing device based on the adjusted rate. For example, the first network device sequentially configures preset rates for the ports in ascending order. When the first network device successfully performs a handshake with the baseband processing device based on the configured rate of the port, the first network device increases the configured rate of the port and continues to perform a handshake with the baseband processing device until the handshake with the baseband processing device based on the configured rate of the port is no longer successful. In this way, the first network device can use the maximum rate that can successfully perform a handshake as the configured rate of the port, thereby achieving rate configuration between the first network device and the baseband processing device.

[0224] Then, the first network device sends indication information to the second network device, where the indication information is used to instruct the second network device to configure the rate between the second network device and the radio frequency processing device to a first rate, where the first rate is the rate between the first network device and the baseband processing device.

[0225] The indication information sent by the first network device to the second network device may be triggered by the baseband processing device. Specifically, the baseband processing device may send the indication information to the first network device, which then forwards the indication information to the second network device. The baseband processing device may also proactively send the indication information to the second network device upon being triggered by the first network device. Simply put, after the first network device successfully configures the CPRI link rate with the baseband processing device, it notifies the second network device of the rate configured between the first network device and the baseband processing device, instructing the second network device to configure the same CPRI rate.

[0226] Finally, the second network device sets the rate of the port connected to the radio frequency processing device in the second network device to the first rate according to the instruction information.

[0227] After the second network device sets the rate of the port connected to the RF processing device to the first rate, the RF processing device will automatically follow the rate of the port of the second network device, so that the CPRI rate of the RF processing device is consistent with that of the baseband processing device.

[0228] In this solution, the first network device notifies the second network device of the CPRI rate of the baseband processing device, allowing the second network device to automatically set the CPRI rate between the baseband processing device and the RF processing device, thereby making the CPRI rates of the baseband processing device and the RF processing device the same. This eliminates the complex process of manual rate configuration and improves the configuration efficiency of the CPRI link.

[0229] It should be understood that the embodiments of this application use the transmission of CPRI frames over Ethernet as an example to detail the process of extracting valid data from CPRI frames and encapsulating the valid data in Ethernet frames for transmission. In actual applications, when other protocols are used to transmit data and the data is also transmitted over Ethernet, the solutions provided in the embodiments of this application can also be used to achieve data transmission, and the embodiments of this application are not specifically limited to this.

[0230] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of method. It is understandable that, in order to implement the above functions, the network device includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the modules and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or computer software-driven hardware manner depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0231] The embodiments of the present application can divide the functional modules of the network device according to the above method examples. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical functional division. In actual implementation, there may be other division methods.

[0232] The network devices in the embodiments of the present application are described in detail below.

[0233] See Figure 13 , Figure 13 This is a schematic diagram of an embodiment of a network device 1300 provided in an embodiment of the present application. The network device 1300 includes a receiving unit 1301, a processing unit 1302, and a sending unit 1303. The receiving unit 1301 is configured to receive a first CPRI frame; the processing unit 1302 is configured to generate an Ethernet frame based on valid data in the first CPRI frame, wherein the valid data includes a control word and in-phase and quadrature IQ data in the first CPRI frame, and the Ethernet frame includes the valid data; and the sending unit 1303 is configured to send the Ethernet frame to a second network device.

[0234] In one possible implementation, the receiving unit 1301 is further used to receive a first message, where the first message is used to indicate location information of valid data in the CPRI frame; the processing unit 1302 is further used to obtain valid data in the first CPRI frame based on the location information.

[0235] In a possible implementation, the location information is used to indicate a starting location and / or an ending location.

[0236] In a possible implementation, the location information includes one or more interval identifiers, and the one or more interval identifiers are used to indicate the location of valid data in the CPRI frame.

[0237] In a possible implementation, the data volume of the valid data is related to an available transmission bandwidth of an Ethernet network used to transmit the Ethernet frame.

[0238] In one possible implementation, the network device further includes: an acquisition unit 1304, used to obtain the available transmission bandwidth of the Ethernet, where the Ethernet is used to transmit the Ethernet frame; the sending unit 1303, further used to send information about the available transmission bandwidth to the baseband processing device; and the receiving unit 1301, further used to receive the first CPRI frame from the baseband processing device.

[0239] In one possible implementation, the network device further includes: an acquisition unit 1304, configured to acquire the changed available transmission bandwidth of the Ethernet after the available transmission bandwidth of the Ethernet changes; the sending unit 1303, further configured to send information about the changed available transmission bandwidth to the baseband processing device; the receiving unit 1301, further configured to receive a second CPRI frame from the baseband processing device, the amount of valid data in the second CPRI frame being different from the amount of valid data in the first CPRI frame, and the baseband processing device being configured to adjust the amount of valid data in the CPRI frame based on the changed available transmission bandwidth.

[0240] In one possible implementation, the sending unit 1303 is further used to send indication information to the second network device, where the indication information is used to instruct the second network device to configure the rate between the second network device and the radio frequency processing device to a first rate, where the first rate is the rate between the first network device and the baseband processing device.

[0241] See Figure 14 , Figure 14A schematic diagram of an embodiment of a network device 1400 provided in an embodiment of the present application. The network device 1400 includes: a receiving unit 1401, a processing unit 1402, and a sending unit 1403. The receiving unit 1401 is configured to receive an Ethernet frame; the processing unit 1402 is configured to generate a CPRI frame based on first data in the Ethernet frame, the CPRI frame including the first data and second data, the first data being valid data and the second data being invalid data, the valid data including a control word and IQ data in the CPRI frame, and the second data being determined based on the length of the CPRI frame and the amount of the valid data; and the sending unit 1403 is configured to send the CPRI frame to a radio frequency processing device.

[0242] In a possible implementation, the processing unit 1402 is specifically configured to: obtain location information indicating where valid data in a CPRI frame is located; and generate the CPRI frame according to the first data in the Ethernet frame and the location information.

[0243] In a possible implementation, the location information is used to indicate a starting location and / or an ending location.

[0244] In a possible implementation, the location information includes one or more interval identifiers, and the one or more interval identifiers are used to indicate the location of valid data in the CPRI frame.

[0245] In a possible implementation, the data volume of the first data is related to an available transmission bandwidth of an Ethernet network used to transmit the Ethernet frame.

[0246] In one possible implementation, the receiving unit 1401 is further configured to receive indication information from a first network device, where the indication information is used to instruct the second network device to configure a rate between the second network device and the radio frequency processing device to a first rate, where the first rate is a rate between the first network device and a baseband processing device; and the processing unit 1402 is further configured to set a rate of a port in the second network device connected to the radio frequency processing device to the first rate according to the indication information.

[0247] See Figure 15 , Figure 15A schematic diagram of an embodiment of a network device 1500 provided in an embodiment of the present application. The network device 1500 includes: a sending unit 1501 and a processing unit 1502. The sending unit 1501 is used to send a first message to a first network device, where the first message is used to indicate location information of valid data in a CPRI frame; the processing unit 1502 is used to generate a first CPRI frame based on data to be transmitted, where the first CPRI frame includes the data to be transmitted and invalid data, the data to be transmitted is valid data in the first CPRI frame, and the valid data includes a control word and IQ data in the first CPRI frame; the sending unit 1501 is also used to send the first CPRI frame to the first network device.

[0248] In a possible implementation, the location information is used to indicate a starting location and / or an ending location.

[0249] In a possible implementation, the location information includes one or more interval identifiers, and the one or more interval identifiers are used to indicate the location of valid data in the CPRI frame.

[0250] In a possible implementation, the first network device is used to convert the first CPRI frame into an Ethernet frame and forward the Ethernet frame. The amount of the valid data is related to the available transmission bandwidth of the Ethernet, and the Ethernet is used to transmit the Ethernet frame.

[0251] In one possible implementation, the network device also includes: a receiving unit 1503, used to receive information about the available transmission bandwidth of the Ethernet from the first network device, the first network device is used to convert the first CPRI frame into an Ethernet frame and forward the Ethernet frame, and the Ethernet is used to transmit the Ethernet frame; the processing unit 1502 is also used to determine the amount of valid data in the first CPRI frame based on the information about the available transmission bandwidth.

[0252] In one possible implementation, the receiving unit 1503 is further used to receive bandwidth change information from the first network device, where the bandwidth change information is used to indicate the changed available transmission bandwidth of the Ethernet. The first network device is used to convert the first CPRI frame into an Ethernet frame and forward the Ethernet frame, and the Ethernet is used to transmit the Ethernet frame. The processing unit 1502 is further used to generate a second CPRI frame based on the changed available transmission bandwidth, where the amount of valid data in the second CPRI frame is different from the amount of valid data in the first CPRI frame. The sending unit 1501 is further used to send the second CPRI frame to the first network device.

[0253] In one possible implementation, the processing unit 1502 is configured to adjust the amount of valid data in the CPRI frame according to the changed available transmission bandwidth to generate the second CPRI frame; wherein the baseband processing device adjusts the amount of valid data in the CPRI frame by adding or shutting down some cells, adding or shutting down some transceiver channels of the target cell, and / or compressing the data to be transmitted.

[0254] In another possible embodiment, the receiving unit 1503 is used to receive information about available transmission bandwidth of an Ethernet from a first network device, where the first network device is used to convert a CPRI frame into an Ethernet frame and forward the Ethernet frame, and the Ethernet is used to transmit the Ethernet frame; the processing unit 1502 is used to determine the amount of valid data in the CPRI frame based on the information about the available transmission bandwidth; the processing unit 1502 is further used to generate a first CPRI frame based on the data amount, where the first CPRI frame includes valid data and invalid data, and the valid data includes a control word and IQ data in the first CPRI frame; and the sending unit 1501 is used to send the first CPRI frame to the first network device.

[0255] In a possible implementation, the sending unit 1501 is further configured to send a first message to the first network device, where the first message is used to indicate location information of valid data in the CPRI frame.

[0256] In a possible implementation, the location information is used to indicate a starting location and / or an ending location.

[0257] In a possible implementation, the location information includes one or more interval identifiers, and the one or more interval identifiers are used to indicate the location of valid data in the CPRI frame.

[0258] In a possible implementation, the first network device is used to convert the first CPRI frame into an Ethernet frame and forward the Ethernet frame. The amount of the valid data is related to the available transmission bandwidth of the Ethernet, and the Ethernet is used to transmit the Ethernet frame.

[0259] In one possible implementation, the receiving unit 1503 is further used to receive bandwidth change information from the first network device, where the bandwidth change information is used to indicate the changed available transmission bandwidth of the Ethernet. The first network device is used to convert the first CPRI frame into an Ethernet frame and forward the Ethernet frame, and the Ethernet is used to transmit the Ethernet frame. The processing unit 1502 is further used to generate a second CPRI frame based on the changed available transmission bandwidth, where the amount of valid data in the second CPRI frame is different from the amount of valid data in the first CPRI frame. The sending unit 1501 is further used to send the second CPRI frame to the first network device.

[0260] In one possible implementation, the processing unit 1502 is further used to adjust the amount of valid data in the CPRI frame according to the changed available transmission bandwidth to generate the second CPRI frame; wherein, the baseband processing device adjusts the amount of valid data in the CPRI frame by adding or closing some cells, adding or closing some transceiver channels of the target cell and / or compressing the data to be transmitted.

[0261] It should be noted that the information interaction and execution process between the various units / or components of the network equipment are the same as those in this application. Figure 2-Figure 9 The corresponding method embodiments are based on the same concept. For specific contents, please refer to the description in the method embodiments shown above in this application, which will not be repeated here.

[0262] It should be noted that for the specific implementation of network equipment and the beneficial effects it brings, you can refer to Figure 2-Figure 9 The descriptions in the corresponding method embodiments will not be repeated here one by one.

[0263] An embodiment of the present application further provides a processing device, which includes a processor and an interface; the processor is used to execute the CPRI data transmission method of any of the above method embodiments.

[0264] It should be understood that the above-mentioned processing device can be a chip, and the processor can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc.; when implemented by software, the processor can be a general-purpose processor, which is implemented by reading the software code stored in the memory. The memory can be integrated into the processor or can be located outside the processor and exist independently.

[0265] Here, "implemented through hardware" means that the functions of the aforementioned modules or units are realized through hardware processing circuits that do not have program instruction processing capabilities. This hardware processing circuit can be composed of discrete hardware components or integrated circuits. To reduce power consumption and size, it is often implemented in the form of integrated circuits. Hardware processing circuits can include ASICs (application-specific integrated circuits) or PLDs (programmable logic devices); PLDs can include FPGAs (field programmable gate arrays) and CPLDs (complex programmable logic devices). These hardware processing circuits can be individually packaged as a semiconductor chip (such as an ASIC) or integrated with other circuits (such as a CPU or DSP) to form a single semiconductor chip. For example, multiple hardware circuits and a CPU can be formed on a silicon substrate and packaged as a single chip, which is also called an SoC. Alternatively, circuits for implementing FPGA functions and a CPU can be formed on a silicon substrate and packaged as a single chip, which is also called a SoPC (system on a programmable chip).

[0266] The present application also provides a communication system. Figure 13-15 One or more of the network devices in the corresponding embodiments.

[0267] An embodiment of the present application also provides a computer-readable storage medium, including instructions, which, when executed on a computer, enables the computer to control a network device to execute any one of the implementation methods shown in the aforementioned method embodiments.

[0268] An embodiment of the present application also provides a computer program product, which includes computer program code. When the computer program code runs on a computer, it enables the computer to execute any one of the implementation methods shown in the aforementioned method embodiments.

[0269] An embodiment of the present application also provides a chip system, including a memory and a processor, the memory is used to store computer programs, and the processor is used to call and run computer programs from the memory, so that the chip executes any one of the implementation methods shown in the aforementioned method embodiments.

[0270] An embodiment of the present application also provides a chip system, including a processor, which is used to call and run a computer program so that the chip executes any one of the implementation methods shown in the aforementioned method embodiments.

[0271] It should also be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed across multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. In addition, in the drawings of the device embodiments provided in this application, the connection relationship between the modules indicates that there is a communication connection between them, which can be specifically implemented as one or more communication buses or signal lines.

[0272] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present application can be implemented by means of software plus necessary general-purpose hardware, and of course can also be implemented by dedicated hardware including application-specific integrated circuits, dedicated CPUs, dedicated memories, dedicated components, etc. In general, all functions performed by computer programs can be easily implemented with corresponding hardware, and the specific hardware structures used to implement the same function can also be diverse, such as analog circuits, digital circuits, or dedicated circuits. However, for the present application, software program implementation is a better implementation method in most cases. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer's floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk or optical disk, etc., and includes a number of instructions for enabling a computer device to execute the methods described in each embodiment of the present application.

[0273] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

[0274] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, a computer, a communication device, a computing device or a data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) mode to another website, computer, communication device, computing device or data center. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a communication device, a data center that includes one or more available media integrations. The available medium can be a magnetic medium, (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state drive (SSD)).

[0275] It should be understood that “one embodiment” or “an embodiment” mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, “in one embodiment” or “in an embodiment” appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in the various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0276] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0277] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0278] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.

[0279] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0280] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0281] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application.

Claims

1. A method for transmitting Common Public Radio Interface (CPRI) data, characterized in that: include: The first network device receives a first CPRI frame, where an area for carrying data in the first CPRI frame includes a control word, a valid IQ data area, and an idle IQ data area, where the valid IQ data area is used to carry IQ data, and the idle IQ data area is used to carry invalid data. The first network device generates an Ethernet frame according to valid data in the first CPRI frame, where the valid data includes a control word and in-phase and quadrature IQ data in the first CPRI frame, and the Ethernet frame includes the valid data; The first network device sends the Ethernet frame to the second network device.

2. The method according to claim 1, characterized in that The method further comprises: The first network device receives a first message, where the first message is used to indicate location information of valid data in the CPRI frame; The first network device obtains valid data in the first CPRI frame according to the location information.

3. The method according to claim 2, characterized in that The position information is used to indicate a starting position and / or an ending position.

4. The method according to claim 2, characterized in that The location information includes one or more interval identifiers, and the one or more interval identifiers are used to indicate the location of valid data in the CPRI frame.

5. The method according to any one of claims 1 to 4, characterized in that The data volume of the useful data is related to the available transmission bandwidth of the Ethernet used to transmit the Ethernet frame.

6. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: The first network device obtains available transmission bandwidth of an Ethernet network, where the Ethernet network is used to transmit the Ethernet frame; The first network device sends the information of the available transmission bandwidth to the baseband processing device; The first network device receiving a first CPRI frame includes: The first network device receives the first CPRI frame from the baseband processing device.

7. The method according to any one of claims 1 to 4, characterized in that The method further comprises: After the available transmission bandwidth of the Ethernet changes, the first network device obtains the changed available transmission bandwidth of the Ethernet; The first network device sends information about the changed available transmission bandwidth to the baseband processing device; The first network device receives a second CPRI frame from the baseband processing device, the amount of valid data in the second CPRI frame is different from the amount of valid data in the first CPRI frame, and the baseband processing device is used to adjust the amount of valid data in the CPRI frame based on the changed available transmission bandwidth.

8. The method according to any one of claims 1 to 4, characterized in that The method further comprises: The first network device sends indication information to the second network device, where the indication information is used to instruct the second network device to configure a rate between the second network device and the radio frequency processing device to a first rate, where the first rate is a rate between the first network device and the baseband processing device.

9. A method for transmitting CPRI data, characterized in that: include: The second network device receives an Ethernet frame, where the Ethernet frame is generated by the first network device based on valid data in the first CPRI frame, where an area for carrying data in the first CPRI frame includes a control word, a valid IQ data area, and an idle IQ data area, where the valid IQ data area is used to carry IQ data, and the idle IQ data area is used to carry invalid data; The second network device generates a CPRI frame according to the first data in the Ethernet frame, where the CPRI frame includes the first data and second data, the first data is valid data, the second data is invalid data, the valid data includes a control word and IQ data in the CPRI frame, and the second data is determined according to the length of the CPRI frame and the amount of the valid data; The second network device sends the CPRI frame to the radio frequency processing device.

10. The method according to claim 9, characterized in that The second network device generates a CPRI frame according to the first data in the Ethernet frame, including: The second network device obtains information indicating a location of valid data in the CPRI frame; The second network device generates the CPRI frame according to the first data in the Ethernet frame and the location information.

11. The method according to claim 10, characterized in that The position information is used to indicate a starting position and / or an ending position.

12. The method according to claim 10, characterized in that The location information includes one or more interval identifiers, and the one or more interval identifiers are used to indicate the location of valid data in the CPRI frame.

13. The method according to any one of claims 9 to 12, characterized in that: The data volume of the first data is related to an available transmission bandwidth of an Ethernet network used to transmit the Ethernet frame.

14. The method according to any one of claims 9 to 12, characterized in that: The method further comprises: The second network device receives instruction information from the first network device, where the instruction information is used to instruct the second network device to configure a rate between the second network device and the radio frequency processing device to a first rate, where the first rate is a rate between the first network device and the baseband processing device; The second network device sets, according to the instruction information, a rate of a port in the second network device connected to the radio frequency processing device to the first rate.

15. A method for transmitting CPRI data, characterized in that: include: The baseband processing device sends a first message to the first network device, where the first message is used to indicate location information of valid data in the CPRI frame; The baseband processing device generates a first CPRI frame according to data to be transmitted, the first CPRI frame including the data to be transmitted and invalid data, the data to be transmitted being valid data in the first CPRI frame, the valid data including a control word and IQ data in the first CPRI frame, an area in the first CPRI frame for carrying data including the control word, a valid IQ data area, and an idle IQ data area, the valid IQ data area being used to carry the IQ data, and the idle IQ data area being used to carry the invalid data; The baseband processing device sends the first CPRI frame to the first network device.

16. The method according to claim 15, characterized in that The position information is used to indicate a starting position and / or an ending position.

17. The method according to claim 15, characterized in that The location information includes one or more interval identifiers, and the one or more interval identifiers are used to indicate the location of valid data in the CPRI frame.

18. The method according to any one of claims 15 to 17, characterized in that: The first network device is used to convert the first CPRI frame into an Ethernet frame and forward the Ethernet frame. The amount of the valid data is related to the available transmission bandwidth of the Ethernet, and the Ethernet is used to transmit the Ethernet frame.

19. The method according to any one of claims 15 to 17, characterized in that: The method further comprises: The baseband processing device receives information about available transmission bandwidth of the Ethernet from the first network device, the first network device is used to convert the first CPRI frame into an Ethernet frame and forward the Ethernet frame, and the Ethernet is used to transmit the Ethernet frame; The baseband processing device determines the amount of valid data in the first CPRI frame according to the information about the available transmission bandwidth.

20. The method according to any one of claims 15 to 17, characterized in that: The method further comprises: The baseband processing device receives bandwidth change information from the first network device, where the bandwidth change information indicates a changed available transmission bandwidth of the Ethernet. The first network device is configured to convert the first CPRI frame into an Ethernet frame and forward the Ethernet frame. The Ethernet is configured to transmit the Ethernet frame. The baseband processing device generates a second CPRI frame according to the changed available transmission bandwidth, wherein the amount of valid data in the second CPRI frame is different from the amount of valid data in the first CPRI frame; The baseband processing device sends the second CPRI frame to the first network device.

21. The method according to claim 20, characterized in that The baseband processing device generates a second CPRI frame according to the changed available transmission bandwidth, including: The baseband processing device adjusts the amount of valid data in the CPRI frame according to the changed available transmission bandwidth to generate the second CPRI frame; The baseband processing device adjusts the amount of valid data in the CPRI frame by adding or shutting down some cells, adding or shutting down some transceiver channels of the target cell, and / or compressing the data to be transmitted.

22. A network device, characterized in that: include: a receiving unit, configured to receive a first CPRI frame, wherein an area for carrying data in the first CPRI frame includes a control word, a valid IQ data area, and an idle IQ data area, wherein the valid IQ data area is used to carry IQ data, and the idle IQ data area is used to carry invalid data; a processing unit, configured to generate an Ethernet frame according to valid data in the first CPRI frame, the valid data including a control word and in-phase and quadrature IQ data in the first CPRI frame, the Ethernet frame including the valid data; A sending unit is used to send the Ethernet frame to the second network device.

23. The network device according to claim 22, wherein: The receiving unit is further configured to receive a first message, where the first message is used to indicate location information of valid data in the CPRI frame; The processing unit is further configured to obtain valid data in the first CPRI frame according to the location information.

24. The network device according to claim 23, wherein: The position information is used to indicate a starting position and / or an ending position.

25. The network device according to claim 23, wherein: The location information includes one or more interval identifiers, and the one or more interval identifiers are used to indicate the location of valid data in the CPRI frame.

26. The network device according to any one of claims 22 to 25, characterized in that: The data volume of the useful data is related to the available transmission bandwidth of the Ethernet used to transmit the Ethernet frame.

27. The network device according to any one of claims 22 to 25, characterized in that: The network device further comprises: an acquisition unit, configured to acquire available transmission bandwidth of an Ethernet network, the Ethernet network being used to transmit the Ethernet frame; The sending unit is further configured to send the information of the available transmission bandwidth to the baseband processing device; The receiving unit is further configured to receive the first CPRI frame from the baseband processing device.

28. The network device according to any one of claims 22 to 25, characterized in that: The network device further includes: an acquisition unit, configured to acquire the changed available transmission bandwidth of the Ethernet after the available transmission bandwidth of the Ethernet changes; The sending unit is further configured to send information about the changed available transmission bandwidth to the baseband processing device; The receiving unit is further used to receive a second CPRI frame from the baseband processing device, the amount of valid data in the second CPRI frame is different from the amount of valid data in the first CPRI frame, and the baseband processing device is used to adjust the amount of valid data in the CPRI frame based on the changed available transmission bandwidth.

29. The network device according to any one of claims 22 to 25, characterized in that: The sending unit is further used to send indication information to the second network device, where the indication information is used to instruct the second network device to configure the rate between the second network device and the radio frequency processing device to a first rate, where the first rate is the rate between the first network device and the baseband processing device.

30. A network device, characterized in that: include: a receiving unit, configured to receive an Ethernet frame, the Ethernet frame being generated by the first network device based on valid data in a first CPRI frame, wherein the area for carrying data in the first CPRI frame includes a control word, a valid IQ data area, and an idle IQ data area, the valid IQ data area being used to carry IQ data, and the idle IQ data area being used to carry invalid data; a processing unit, configured to generate a CPRI frame based on the first data in the Ethernet frame, the CPRI frame including the first data and second data, the first data being valid data and the second data being invalid data, the valid data including a control word and IQ data in the CPRI frame, and the second data being determined based on a length of the CPRI frame and a data amount of the valid data; The sending unit is configured to send the CPRI frame to a radio frequency processing device.

31. The network device according to claim 30, wherein: The processing unit is specifically configured to: obtain location information indicating where valid data in the CPRI frame is located; and generate the CPRI frame according to the first data in the Ethernet frame and the location information.

32. The network device according to claim 31, wherein: The position information is used to indicate a starting position and / or an ending position.

33. The network device according to claim 31, wherein: The location information includes one or more interval identifiers, and the one or more interval identifiers are used to indicate the location of valid data in the CPRI frame.

34. The network device according to any one of claims 30 to 33, wherein: The data volume of the first data is related to an available transmission bandwidth of an Ethernet network used to transmit the Ethernet frame.

35. The network device according to any one of claims 30 to 33, characterized in that: The receiving unit is further configured to receive instruction information from the first network device, the instruction information being used to instruct the second network device to configure a rate between the second network device and the radio frequency processing device to a first rate, where the first rate is a rate between the first network device and the baseband processing device; The processing unit is further configured to set a rate of a port in the second network device connected to the radio frequency processing device to the first rate according to the indication information.

36. A network device, characterized in that: include: A sending unit, configured to send a first message to the first network device, where the first message is used to indicate location information of valid data in the CPRI frame; a processing unit, configured to generate a first CPRI frame based on data to be transmitted, wherein the first CPRI frame includes the data to be transmitted and invalid data, the data to be transmitted being valid data in the first CPRI frame, the valid data including a control word and IQ data in the first CPRI frame, an area in the first CPRI frame used to carry data including the control word, a valid IQ data area, and an idle IQ data area, the valid IQ data area being used to carry the IQ data, and the idle IQ data area being used to carry the invalid data; The sending unit is further configured to send the first CPRI frame to the first network device.

37. The network device according to claim 36, characterized in that The position information is used to indicate a starting position and / or an ending position.

38. The network device according to claim 36, wherein: The location information includes one or more interval identifiers, and the one or more interval identifiers are used to indicate the location of valid data in the CPRI frame.

39. The network device according to any one of claims 36 to 38, wherein: The first network device is used to convert the first CPRI frame into an Ethernet frame and forward the Ethernet frame. The amount of the valid data is related to the available transmission bandwidth of the Ethernet, and the Ethernet is used to transmit the Ethernet frame.

40. The network device according to any one of claims 36 to 38, wherein: The network device further includes: a receiving unit, configured to receive information about available transmission bandwidth of an Ethernet network from the first network device, the first network device being configured to convert the first CPRI frame into an Ethernet frame and forward the Ethernet frame, the Ethernet being configured to transmit the Ethernet frame; The processing unit is further configured to determine the amount of valid data in the first CPRI frame according to the information about the available transmission bandwidth.

41. The network device according to any one of claims 36 to 38, wherein: The network device further includes: a receiving unit, configured to receive bandwidth change information from the first network device, the bandwidth change information being used to indicate a changed available transmission bandwidth of the Ethernet, the first network device being used to convert the first CPRI frame into an Ethernet frame and forward the Ethernet frame, and the Ethernet being used to transmit the Ethernet frame; The processing unit is further used to generate a second CPRI frame according to the changed available transmission bandwidth, and the amount of valid data in the second CPRI frame is different from the amount of valid data in the first CPRI frame; the sending unit is further used to send the second CPRI frame to the first network device.

42. The network device according to claim 41, wherein: The processing unit is used to adjust the amount of valid data in the CPRI frame according to the changed available transmission bandwidth to generate the second CPRI frame; wherein, the baseband processing device adjusts the amount of valid data in the CPRI frame by adding or shutting down some cells, adding or shutting down some transceiver channels of the target cell and / or compressing the data to be transmitted.

43. A communication device, characterized in that The communication device includes: a processor; The processor is configured to execute a computer program or instruction stored in a memory, so as to enable the communication device to perform the method according to any one of claims 1 to 21.

44. A computer-readable storage medium, characterized in that The computer-readable storage medium has program instructions, and when the program instructions are directly or indirectly executed, the method according to any one of claims 1 to 21 is implemented.

45. A chip system, characterized in that: The chip system includes at least one processor, which is used to execute a computer program or instruction stored in a memory. When the computer program or the instruction is executed in the at least one processor, the method described in any one of claims 1 to 21 is implemented.

Citation Information

Patent Citations

  • Method and system for transmitting data in indoor distribution system and storage medium

    CN113381964A