Communication method and related apparatus
By determining the split bandwidth ratio of each port of the second communication device in the eCPRI network and sending instructions, the problem of low transmission efficiency and inability to achieve multi-port transmission in the eCPRI network is solved, and the multi-port transmission and bandwidth allocation balance is achieved, which improves communication performance.
Patent Information
- Application Number
- PCT/CN2024/137782
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-12
- Filing Date
- 2024-12-09
- Publication Date
- 2025-06-19
AI Technical Summary
The transmission efficiency of eCPRI networking is low and multi-port transmission cannot be achieved, which makes it worth considering how to achieve multi-port transmission in eCPRI communication.
The first communication device determines the shunt bandwidth ratio of each port of the second communication device and sends corresponding indication information to realize that the second communication device communicates with the first communication device based on the shunt bandwidth ratio, thereby realizing multi-port transmission between the first communication device and the second communication device.
Multi-port transmission between the first communication device and the second communication device is realized, and it is conducive to achieving bandwidth allocation equalization of each port of the first communication device or switch, and improving communication performance.
Smart Images

Figure CN2024137782_19062025_PF_FP_ABST
Abstract
Description
Communication method and related device
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on December 12, 2023, with application number 202311705949.7 and application name “Communication Methods and Related Devices”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of communication technology, and in particular to a communication method and related devices. Background Art
[0003] Data transmission between the distributed unit (DU) and the radio unit (RU) can be carried out using the Ethernet Common Public Radio Interface (eCPRI) protocol. eCPRI is an Ethernet-based interface protocol between RUs and DUs, defined by the Common Public Radio Interface (CPRI) Alliance.
[0004] Currently, eCPRI networking has been proposed. In eCPRI networking, one end of each RU is directly connected to the DU via an independent optical fiber, enabling single-port transmission between the RU and DU. However, eCPRI networking suffers from low transmission efficiency and cannot support multi-port transmission. Therefore, how to achieve multi-port transmission in eCPRI communication is a question worth considering. Summary of the Invention
[0005] The present application provides a communication method and related apparatus for a first communication device to determine the diversion bandwidth ratio of each port of a second communication device. The first communication device sends first indication information, which includes the diversion bandwidth ratio of each port. The first communication device then receives diversion data from the second communication device. The second communication device communicates with the first communication device based on the diversion bandwidth ratio of each port. Multi-port transmission between the first communication device and the second communication device is implemented. This method is further beneficial for achieving balanced bandwidth allocation for each port of the first communication device or switch, thereby improving communication performance.
[0006] In a first aspect, the present application provides a communication method, which is applied to a first communication device and includes: determining the diversion bandwidth ratio of each port of a second communication device; sending first indication information, the first indication information including the diversion bandwidth ratio of each port; and receiving diversion data from the second communication device. The second communication device is enabled to communicate with the first communication device based on the diversion bandwidth ratio of each port. Multi-port transmission between the first communication device and the second communication device is enabled. This method is further beneficial for achieving balanced bandwidth allocation for each port of the first communication device or switch, thereby improving communication performance.
[0007] Based on the first aspect, in a possible implementation, the first communication device determines the split bandwidth ratio of each port of the second communication device, including: the first communication device determines the split bandwidth ratio of each port based on one or more of the service load of the second communication device, the connection relationship of the second communication device, the available bandwidth of each port in the first communication device, and the delay of different transmission paths between the second communication device and the first communication device; or the first communication device determines the split bandwidth ratio of each port based on one or more of the service load of the second communication device, the connection relationship of the second communication device, the available bandwidth of each port in the switch, and the delay of different transmission paths between the second communication device and the switch, and the switch is directly connected to the first communication device. This is conducive to achieving balanced bandwidth allocation of each port of the first communication device or switch, reducing communication delay, and improving communication performance.
[0008] Based on the first aspect, in one possible implementation, the method further includes: the first communication device further determining the offload bandwidth ratio for each port of the second communication device based on the service load of the third communication device and / or the connection relationship of the third communication device. This allows the first communication device to determine the offload bandwidth ratio for each port of the second communication device based on the service loads and / or connection relationships of multiple communication devices. This facilitates balanced bandwidth allocation across the ports of the first communication device or switch.
[0009] Based on the first aspect, in one possible implementation, the method further includes: the first communication device sending available bandwidth, where the available bandwidth is the available bandwidth between the first communication device and the second communication device. This facilitates communication between the first communication device and the second communication device using the available bandwidth, thereby preventing the first communication device and the second communication device from being unable to communicate normally when a link failure occurs.
[0010] Based on the first aspect, in a possible implementation, the method further includes: the first communication device receiving data from the second communication device through available bandwidth, thereby achieving normal communication between the first communication device and the second communication device and avoiding communication interruption due to link failure.
[0011] Based on the first aspect, in a possible implementation, the first communication device receives offloaded data from the second communication device, including: the first communication device receives the offloaded data from the second communication device through a third communication device.
[0012] Based on the first aspect, in one possible implementation, the method further includes: the first communication device receiving port information of the second communication device; and the first communication device determining topology information based on the port information of the first communication device and the port information of the second communication device, where the topology information includes a connection relationship between the first communication device and the second communication device. Thus, the first communication device determining the topology information facilitates balanced bandwidth allocation across ports of the first communication device or switch.
[0013] Based on the first aspect, in one possible implementation, the method further includes: a first communication device receiving port information of a third communication device; and the first communication device determining topology information based on the port information of the first communication device and the port information of the second communication device, including: the first communication device determining the topology information based on the port information of the first communication device, the port information of the second communication device, and the port information of the third communication device, the topology information including connection relationships between the first communication device and the second communication device and the third communication device, respectively, and a connection relationship between the second communication device and the third communication device. This facilitates the first communication device to determine the topology of the entire network and achieve balanced bandwidth allocation for each port of the first communication device or switch.
[0014] Based on the first aspect, in one possible implementation, the port information of the second communication device includes the identifier and type of the second communication device, and the identifier and port of the communication device to which each port of the second communication device is connected; and the port information of the third communication device includes the identifier and type of the third communication device, and the identifier and port of the communication device to which each port of the third communication device is connected. This enables the first communication device to determine the topology of the entire network.
[0015] Based on the first aspect, in a possible implementation manner, the port information of the second communication device is carried in a broadcast message.
[0016] Based on the first aspect, in one possible implementation, the method further includes: a first communication device receiving updated port information from a second communication device, where the updated port information is updated port information of the second communication device; and the first communication device updating topology information based on the updated port information of the second communication device. This enables the first communication device to update topology information in a timely manner, facilitates the first communication device to reasonably allocate bandwidth based on the updated topology information, ensures balanced bandwidth distribution, and improves communication performance.
[0017] A second aspect of the present application provides a communication method, which is applied to a second communication device and includes: receiving first indication information, the first indication information including the split bandwidth ratio of each port of the second communication device; and sending split data to the first communication device based on the split bandwidth ratio of each port of the second communication device. This method enables multi-port transmission between the first communication device and the second communication device. This method further facilitates achieving balanced bandwidth allocation across the ports of the first communication device or switch, thereby improving communication performance.
[0018] Based on the second aspect, in one possible implementation, the method further includes: the second communication device receiving available bandwidth, where the available bandwidth is the available bandwidth between the first communication device and the second communication device. Facilitating communication between the first communication device and the second communication device using the available bandwidth, thereby preventing the first communication device and the second communication device from being unable to communicate normally when a link failure occurs.
[0019] Based on the second aspect, in a possible implementation manner, the method further includes: the second communication device sending data to the first communication device through the available bandwidth.
[0020] Based on the second aspect, in a possible implementation, the method further includes: the second communication device sending the port information of the second communication device, thereby facilitating other communication devices to determine the topology information.
[0021] Based on the second aspect, in one possible implementation, before the second communication device transmits its port information, the method further includes: the second communication device receiving, through a point-to-point topology discovery protocol, port information of a communication device directly connected to the second communication device; and the second communication device determining the port information of the second communication device based on the port information of the communication device directly connected to the second communication device. Thus, the port information of the second communication device is determined through point-to-point topology discovery and transmitted to other communication devices, thereby facilitating the other communication devices to determine topology information.
[0022] Based on the second aspect, in a possible implementation manner, the port information of the second communication device is carried in a broadcast message.
[0023] Based on the second aspect, in a possible implementation, the port information of the second communication device includes the identifier and type of the second communication device, and the identifier and port of the communication device to which each port of the second communication device is connected, which helps other communication devices to accurately determine topology information.
[0024] Based on the second aspect, in one possible implementation, the method further includes: the second communication device receiving updated port information of a communication device directly connected to the second communication device through a point-to-point topology discovery protocol; the second communication device determining updated port information of the second communication device based on the updated port information of the communication device directly connected to the second communication device, where the updated port information of the second communication device is the updated port information of the second communication device; and the second communication device sending the updated port information of the second communication device. This facilitates other communication devices to update topology information in a timely manner.
[0025] Based on the second aspect, in one possible implementation, the second communication device sends offloaded data to the first communication device based on the offload bandwidth ratio of each port of the second communication device, including: the second communication device sends the offloaded data to the first communication device via a third communication device based on the offload bandwidth ratio of each port of the second communication device. In this implementation, if a third communication device exists between the second communication device and the first communication device, the second communication device can send data via the third communication device to implement data transmission between the second communication device and the first communication device.
[0026] Based on the second aspect, in one possible implementation, the method further includes: receiving, by a second communication device, port information of a third communication device; and determining, by the second communication device, topology information based on the port information of the second communication device and the port information of the third communication device, the topology information including a connection relationship between the second communication device and the third communication device. The topology information is determined in combination with port information of other communication devices in the network, thereby enabling the second communication device to determine the topology of the entire network.
[0027] Based on the second aspect, in one possible implementation, the method further includes: the second communication device receiving, through a point-to-point topology discovery protocol, port information of a communication device directly connected to the second communication device; and the second communication device determining the port information of the second communication device based on the port information of the communication device directly connected to the second communication device. This enables the second communication device to determine the device and port to which its port is connected.
[0028] A third aspect of the present application provides a communication method, which is applied to a third communication device and includes: receiving diverted data from a second communication device; when the diverted data and data to be sent by the third communication device exceed the transmission bandwidth capability supported by a port of the third communication device, discarding part of the diverted data according to the transmission bandwidth capability and sending the remaining data in the diverted data to the first communication device, thereby achieving normal data transmission between the second communication device and the first communication device.
[0029] A fourth aspect of the present application provides a communication method, applied to a first communication device, comprising: determining a split bandwidth ratio for each port of a second communication device; and transmitting split data to the second communication device based on the split bandwidth ratio for each port of the second communication device. This achieves balanced downlink bandwidth allocation for each port of the first communication device, thereby improving communication performance.
[0030] Based on the fourth aspect, in a possible implementation, the first communication device determines the split bandwidth ratio of each port of the second communication device, including: the first communication device determines the split bandwidth ratio of each port of the second communication device based on one or more of the business load of the second communication device, the connection relationship of the second communication device, the available bandwidth of each port in the first communication device, and the delay of different transmission paths between the second communication device and the first communication device; or the first communication device determines the split bandwidth ratio of each port based on one or more of the business load of the second communication device, the connection relationship of the second communication device, the available bandwidth of each port in the switch, and the delay of different transmission paths between the second communication device and the switch, and the switch is directly connected to the first communication device. This is conducive to achieving balanced bandwidth allocation of each port of the first communication device, reducing communication delay, and improving communication performance.
[0031] Based on the fourth aspect, in one possible implementation, the method further includes: the first communications device further determining the offload bandwidth ratio for each port based on the service load of the third communications device and / or the connection relationship of the third communications device. This allows the first communications device to determine the offload bandwidth ratio for each port of the second communications device based on the service loads and / or connection relationships of multiple communications devices. This facilitates balanced bandwidth allocation across the ports of the first communications device.
[0032] Based on the fourth aspect, in one possible implementation, a first communication device sends offloaded data to a second communication device based on the offload bandwidth ratio of each port of the second communication device, including: the first communication device sends the offloaded data to the second communication device via a third communication device based on the offload bandwidth ratio of each port of the second communication device. In this implementation, if a third communication device exists in the transmission path between the first communication device and the second communication device, the first communication device sends the offloaded data via the third communication device, thereby achieving data transmission between the first communication device and the second communication device.
[0033] Based on the fourth aspect, in one possible implementation, the method further includes: the first communication device receiving port information of the second communication device; and the first communication device determining topology information based on the port information of the first communication device and the port information of the second communication device, where the topology information includes a connection relationship between the first communication device and the second communication device. Thus, the first communication device determining the topology information facilitates balanced bandwidth allocation across the ports of the first communication device.
[0034] Based on the fourth aspect, in one possible implementation, the method further includes: a first communication device receiving port information of a third communication device; and the first communication device determining topology information based on the port information of the second communication device, including: the first communication device determining the topology information based on the port information of the first communication device, the port information of the second communication device, and the port information of the third communication device, the topology information including connection relationships between the first communication device and the second communication device and the third communication device, respectively, and a connection relationship between the second communication device and the third communication device. This facilitates the first communication device to determine the topology of the entire network and achieve balanced bandwidth allocation for each port of the first communication device or switch.
[0035] Based on the fourth aspect, in one possible implementation, the port information of the second communication device includes the identifier and type of the second communication device, and the identifier and port of the communication device to which each port of the second communication device is connected; and the port information of the third communication device includes the identifier and type of the third communication device, and the identifier and port of the communication device to which each port of the third communication device is connected. This enables the first communication device to determine the topology of the entire network.
[0036] Based on the fourth aspect, in a possible implementation manner, the port information of the second communication device is carried in a broadcast message.
[0037] Based on the fourth aspect, in one possible implementation, the method further includes: a first communication device receiving updated port information from a second communication device, where the updated port information is updated port information of the second communication device; and the first communication device updating topology information based on the updated port information of the second communication device. This enables the first communication device to update topology information in a timely manner, facilitates the first communication device to reasonably allocate bandwidth based on the updated topology information, ensures balanced bandwidth distribution, and improves communication performance.
[0038] A fifth aspect of the present application provides a communication method, applied to a first communication device, comprising: determining a split bandwidth ratio for each port of a second communication device; and transmitting the split bandwidth ratio for each port to a switch, with the first communication device directly connected to the switch. This facilitates communication between the switch and the second communication device, ensures balanced bandwidth distribution across the switch's ports, and improves communication performance.
[0039] Based on the fifth aspect, in one possible implementation, the first communication device determines the offload bandwidth ratio for each port of the second communication device, including: the first communication device determines the offload bandwidth ratio for each port based on one or more of the following: the service load of the second communication device, the connection relationship of the second communication device, the available bandwidth of each port in the switch, and the latency of different transmission paths between the switch and the second communication device. This facilitates achieving balanced bandwidth allocation across the ports of the switch, reduces communication latency, and improves communication performance.
[0040] A sixth aspect of the present application provides a communication method, applied to a switch, comprising: receiving a split bandwidth ratio for each port of a second communication device from a first communication device; and transmitting data from the second communication device to the second communication device based on the split bandwidth ratio for each port of the second communication device. This method enables data transmission between the switch and the second communication device, ensures balanced bandwidth allocation across the switch's ports, and improves communication performance.
[0041] In a seventh aspect, the present application provides a communication method, which is applied to a first communication device and includes: sending first information to a second communication device, the first information being used to indicate a first port of the second communication device, where the first port is a port on the second communication device selected by the first communication device for communicating with the first communication device; and communicating with the second communication device via the communication address of the first port and the communication address of the second port on the first communication device. This establishes a communication channel between the first communication device and the second communication device, enabling communication between the first communication device and the second communication device.
[0042] Based on the seventh aspect, in one possible implementation, the method further includes: a first communication device receiving a first request from a second communication device, the first request being for assigning a communication address to a port on the second communication device; and the first communication device sending allocation information to the second communication device, the allocation information including the communication address of the port on the second communication device. In this implementation, the first communication device assigns a communication address to each port of the second communication device, thereby facilitating communication between the first communication device and the second communication device via the corresponding port.
[0043] Based on the seventh aspect, in a possible implementation, the method further includes: the first communication device sending second information to the second communication device, where the second information is used to indicate a communication address of the second port, so as to enable the first communication device and the second communication device to communicate through the corresponding ports.
[0044] In an eighth aspect, the present application provides a communication method, which is applied to a second communication device and includes: receiving first information from a first communication device, the first information being used to indicate a first port of the second communication device, the first port being a port in the second communication device selected by the first communication device for communicating with the first communication device; and communicating with the first communication device via the communication address of the first port and the communication address of the second port in the first communication device. This establishes a communication channel between the first communication device and the second communication device, enabling communication between the first communication device and the second communication device.
[0045] Based on the eighth aspect, in one possible implementation, the method further includes: the second communication device sending a first request to the first communication device, the first request being used to request allocation of a communication address for a port on the second communication device; and the second communication device receiving allocation information from the first communication device, the allocation information including the allocation of the communication address for the port on the second communication device. In this implementation, the first communication device allocates a communication address to each port of the second communication device, thereby facilitating communication between the first communication device and the second communication device via the corresponding port.
[0046] Based on the eighth aspect, in a possible implementation, the method further includes: the second communication device sending second information to the first communication device, where the second information is used to indicate a communication address of the second port, so as to enable the first communication device and the second communication device to communicate through the corresponding ports.
[0047] In a ninth aspect, the present application provides a communication method, applied to a first communication device, comprising: receiving port information of a second communication device; and determining topology information based on the port information of the first communication device and the port information of the second communication device, wherein the topology information includes a connection relationship between the first communication device and the second communication device. This enables the first communication device to determine the topology relationship of a network.
[0048] Based on the ninth aspect, in one possible implementation, the port information of the second communication device includes at least one of the following: an identifier and type of the second communication device, and an identifier and port of the communication device to which each port of the second communication device is connected, thereby enabling the first communication device to determine the topology of the entire network.
[0049] Based on the ninth aspect, in a possible implementation manner, the port information of the second communication device is carried in a broadcast message.
[0050] Based on the ninth aspect, in one possible implementation, the method further includes: a first communication device receiving port information of a third communication device; and the first communication device determining topology information based on the port information of the first communication device and the port information of the second communication device, including: the first communication device determining topology information based on the port information of the first communication device, the port information of the second communication device, and the port information of the third communication device, the topology information including connection relationships between the first communication device and the second communication device and the third communication device, respectively, and a connection relationship between the second communication device and the third communication device. This facilitates the first communication device to determine the topology of the entire network and achieve balanced bandwidth allocation for each port of the first communication device.
[0051] Based on the ninth aspect, in one possible implementation, the port information of the third communication device includes at least one of the following: an identifier and type of the third communication device, and an identifier and port of the communication device to which each port of the third communication device is connected, thereby enabling the first communication device to determine the topology of the entire network.
[0052] Based on the ninth aspect, in one possible implementation, the method further includes: a first communication device receiving updated port information from a second communication device, where the updated port information is updated port information of the second communication device; and the first communication device updating topology information based on the updated port information of the second communication device. This enables the first communication device to update topology information in a timely manner, facilitates the first communication device to reasonably allocate bandwidth based on the updated topology information, ensures balanced bandwidth distribution, and improves communication performance.
[0053] In a tenth aspect, the present application provides a communication method, which is applied to a second communication device. The method includes: receiving port information of a third communication device; and determining topology information based on the port information of the second communication device and the port information of the third communication device, where the topology information includes a connection relationship between the second communication device and the third communication device. In this implementation, the second communication device determines the topology information in combination with the port information of other communication devices in the network, thereby enabling the second communication device to determine the topology of the entire network.
[0054] Based on the tenth aspect, in one possible implementation, the port information of the second communication device includes at least one of the following: an identifier and type of the second communication device, and an identifier and port of the communication device to which each port of the second communication device is connected; and the port information of the third communication device includes at least one of the following: an identifier and type of the third communication device, and an identifier and port of the communication device to which each port of the third communication device is connected. This facilitates the second communication device to accurately determine the topology of the network.
[0055] Based on the tenth aspect, in a possible implementation manner, the port information of the second communication device is carried in a broadcast message.
[0056] Based on the tenth aspect, in one possible implementation, the method further includes: the second communication device receiving, through a point-to-point topology discovery protocol, port information of a communication device directly connected to the second communication device; and the second communication device determining the port information of the second communication device based on the port information of the communication device directly connected to the second communication device. This enables the second communication device to determine the device and port to which its port is connected.
[0057] Based on the tenth aspect, in one possible implementation, the method further includes: the second communication device receiving updated port information from the third communication device, where the updated port information is updated port information of the third communication device; and the second communication device updating topology information based on the updated port information of the third communication device. This enables the second communication device to timely update the topology information.
[0058] In the eleventh aspect of the present application, a communication device is provided, including: a processing module for determining the diversion bandwidth ratio of each port of a second communication device; a transceiver module for sending first indication information, the first indication information including the diversion bandwidth ratio of each port; and receiving diversion data from the second communication device.
[0059] Based on the eleventh aspect, in a possible implementation method, the processing module is specifically used to: determine the diversion bandwidth ratio of each port based on one or more of the business load of the second communication device, the connection relationship of the second communication device, the available bandwidth of each port in the communication device, and the delay of different transmission paths between the second communication device and the communication device; or determine the diversion bandwidth ratio of each port based on one or more of the business load of the second communication device, the connection relationship of the second communication device, the available bandwidth of each port in the switch, and the delay of different transmission paths between the second communication device and the switch, and the switch is directly connected to the communication device.
[0060] Based on the eleventh aspect, in a possible implementation manner, the processing module is further configured to: determine the split bandwidth ratio of each port of the second communication device according to the service load of the third communication device and / or the connection relationship of the third communication device.
[0061] Based on the eleventh aspect, in a possible implementation manner, the transceiver module is further used to: send available bandwidth, where the available bandwidth is the available bandwidth between the communication apparatus and the second communication device.
[0062] Based on the eleventh aspect, in a possible implementation manner, the processing module is further configured to: receive data from the second communication device through the available bandwidth.
[0063] Based on the eleventh aspect, in a possible implementation manner, the transceiver module is specifically configured to: receive the offloaded data from the second communication device through the third communication device.
[0064] Based on the eleventh aspect, in a possible implementation method, the transceiver module is also used to: receive port information of the second communication device; the processing module is also used to: determine topology information based on the port information of the communication device and the port information of the second communication device, and the topology information includes the connection relationship between the communication device and the second communication device.
[0065] Based on the eleventh aspect, in a possible implementation method, the transceiver module is also used to: receive port information of the third communication device; the processing module is specifically used to: determine topology information based on the port information of the communication device, the port information of the second communication device and the port information of the third communication device, and the topology information includes the connection relationship between the communication device and the second communication device and the third communication device, respectively, and the connection relationship between the second communication device and the third communication device.
[0066] Based on the eleventh aspect, in a possible implementation method, the port information of the second communication device includes the identification, type, and identification and port of the communication device to which each port in the second communication device is connected; the port information of the third communication device includes the identification, type, and identification and port of the communication device to which each port in the third communication device is connected.
[0067] Based on the eleventh aspect, in a possible implementation manner, the port information of the second communication device is carried in a broadcast message.
[0068] Based on the eleventh aspect, in a possible implementation method, the transceiver module is also used to: receive updated port information of the second communication device, where the updated port information is the updated port information of the second communication device; the processing module is also used to: update the topology information according to the updated port information of the second communication device.
[0069] The twelfth aspect of the present application provides a communication device, including: a transceiver module, used to receive first indication information, the first indication information including the diversion bandwidth ratio of each port of the communication device; and send diversion data to the first communication device according to the diversion bandwidth ratio of each port of the communication device.
[0070] Based on the twelfth aspect, in a possible implementation, the transceiver module is further used to: receive available bandwidth, where the available bandwidth is the available bandwidth between the first communication device and the communication apparatus.
[0071] Based on the twelfth aspect, in a possible implementation manner, the transceiver module is further used to: send data to the first communication device through the available bandwidth.
[0072] Based on the twelfth aspect, in a possible implementation manner, the transceiver module is further used to: send port information of the communication device.
[0073] Based on the twelfth aspect, in a possible implementation method, the transceiver module is also used to: receive port information of a communication device directly connected to the communication device through a point-to-point topology discovery protocol; the communication device also includes a processing module, and the processing module is used to: determine the port information of the communication device based on the port information of the communication device directly connected to the communication device.
[0074] Based on the twelfth aspect, in a possible implementation manner, the port information of the communication device is carried in a broadcast message.
[0075] Based on the twelfth aspect, in a possible implementation, the port information of the communication device includes an identifier and a type of the communication device, and an identifier and a port of a communication device to which each port in the communication device is connected.
[0076] Based on the twelfth aspect, in a possible implementation method, the transceiver module is also used to: receive updated port information of a communication device directly connected to the communication device through a point-to-point topology discovery protocol; the communication device also includes a processing module, and the processing module is used to: determine the updated port information of the communication device based on the updated port information of the communication device directly connected to the communication device, and the updated port information of the communication device is the updated port information of the communication device; the transceiver module is also used to: send the updated port information of the communication device.
[0077] Based on the twelfth aspect, in a possible implementation manner, the transceiver module is specifically used to: send the diverted data to the first communication device through the third communication device according to the diverted bandwidth ratio of each port of the communication device.
[0078] Based on the twelfth aspect, in a possible implementation method, the transceiver module is also used to: receive port information of a third communication device; the communication device also includes a processing module, and the processing module is used to: determine topology information based on the port information of the communication device and the port information of the third communication device, and the topology information includes the connection relationship between the communication device and the third communication device.
[0079] Based on the twelfth aspect, in a possible implementation method, the transceiver module is also used to: receive port information of a communication device directly connected to the communication device through a point-to-point topology discovery protocol; the communication device also includes a processing module, and the processing module is used to: determine the port information of the communication device based on the port information of the communication device directly connected to the communication device.
[0080] The thirteenth aspect of the present application provides a communication device, including: a transceiver module for receiving diverted data from a second communication device; a processing module for discarding part of the diverted data when the diverted data and the data to be sent by the communication device exceed the sending bandwidth capacity supported by the port of the communication device; the transceiver module is also used to: send the remaining data after discarding to the first communication device.
[0081] In the fourteenth aspect of the present application, a communication device is provided, a processing module is used to determine the diversion bandwidth ratio of each port of the second communication device; and a transceiver module is used to send diversion data to the second communication device according to the diversion bandwidth ratio of each port of the second communication device.
[0082] Based on the fourteenth aspect, in a possible implementation method, the processing module is specifically used to: determine the diversion bandwidth ratio of each port of the second communication device according to one or more of the business load of the second communication device, the connection relationship of the second communication device, the available bandwidth of each port in the communication device, and the delay of different transmission paths between the second communication device and the communication device; or determine the diversion bandwidth ratio of each port according to one or more of the business load of the second communication device, the connection relationship of the second communication device, the available bandwidth of each port in the switch, and the delay of different transmission paths between the second communication device and the switch, and the switch is directly connected to the communication device.
[0083] Based on the fourteenth aspect, in a possible implementation manner, the processing module is further used to: determine the split bandwidth ratio of each port according to the service load of the third communication device and / or the connection relationship of the third communication device.
[0084] Based on the fourteenth aspect, in a possible implementation manner, the transceiver module is specifically used to: send the diverted data to the second communication device through the third communication device according to the diverted bandwidth ratio of each port of the second communication device.
[0085] Based on the fourteenth aspect, in a possible implementation method, the transceiver module is also used to: receive port information of the second communication device; the processing module is also used to: determine topology information based on the port information of the communication device and the port information of the communication device, and the topology information includes the connection relationship between the communication device and the second communication device.
[0086] Based on the fourteenth aspect, in a possible implementation method, the transceiver module is also used to: receive port information of the third communication device; the processing module is also used to: determine topology information based on the port information of the communication device, the port information of the second communication device and the port information of the third communication device, the topology information including the connection relationship between the communication device and the second communication device and the third communication device, respectively, and the connection relationship between the second communication device and the third communication device.
[0087] Based on the fourteenth aspect, in a possible implementation method, the port information of the second communication device includes the identification, type, identification and port of the communication device to which each port in the second communication device is connected; the port information of the third communication device includes the identification, type, identification and port of the communication device to which each port in the third communication device is connected.
[0088] Based on the fourteenth aspect, in a possible implementation manner, the port information of the second communication device is carried in a broadcast message.
[0089] Based on the fourteenth aspect, in a possible implementation method, the transceiver module is also used to: receive updated port information of the second communication device, where the updated port information is the updated port information of the second communication device; the processing module is also used to: update the topology information according to the updated port information of the second communication device.
[0090] In a fifteenth aspect, the present application provides a communication device, including: a processing module for determining the diversion bandwidth ratio of each port of a second communication device; a transceiver module for sending the diversion bandwidth ratio of each port to a switch, and the communication device is directly connected to the switch.
[0091] Based on the fifteenth aspect, in a possible implementation method, the processing module is specifically used to: determine the diversion bandwidth ratio of each port based on one or more of the business load of the second communication device, the connection relationship of the second communication device, the available bandwidth of each port in the switch, and the delay of different transmission paths between the switch and the second communication device.
[0092] In the sixteenth aspect of the present application, a communication device is provided, including: a transceiver module for receiving the diversion bandwidth ratio of each port of a second communication device from a first communication device; and sending data of the second communication device from the first communication device to the second communication device according to the diversion bandwidth ratio of each port of the second communication device.
[0093] In the seventeenth aspect of the present application, a communication device is provided, including: a transceiver module for sending first information to a second communication device, the first information being used to indicate a first port of the second communication device, the first port being a port in the second communication device selected by the communication device for communicating with the communication device; a processing module for communicating with the second communication device through the communication address of the first port and the communication address of the second port in the communication device.
[0094] Based on aspect seventeen, in a possible implementation method, the transceiver module is also used to receive a first request from a second communication device, the first request being used to request allocation of a communication address for a port in the second communication device; and send allocation information to the second communication device, the allocation information including the communication address of the port in the second communication device.
[0095] Based on the seventeenth aspect, in a possible implementation, the transceiver module is further used to send second information to the second communication device, where the second information is used to indicate the communication address of the second port.
[0096] In aspect 18 of the present application, a communication device is provided, comprising: a transceiver module for receiving first information from a first communication device, the first information being used to indicate a first port of the communication device, the first port being a port in the communication device selected by the first communication device for communicating with the first communication device; and a processing module for communicating with the first communication device through the communication address of the first port and the communication address of the second port in the first communication device.
[0097] Based on aspect 18, in a possible implementation method, the transceiver module is also used to: send a first request to the first communication device, the first request is used to request the allocation of a communication address for a port in the communication device; receive allocation information from the first communication device, the allocation information includes the allocation of a communication address to the port in the communication device.
[0098] Based on the eighteenth aspect, in a possible implementation manner, the transceiver module is further used to: send second information to the first communication device, where the second information is used to indicate the communication address of the second port.
[0099] In the nineteenth aspect of the present application, a communication device is provided, including: a transceiver module for receiving port information of a second communication device; a processing module for determining topology information based on the port information of the communication device and the port information of the second communication device, the topology information including the connection relationship between the communication device and the second communication device.
[0100] Based on the nineteenth aspect, in a possible implementation, the port information of the second communication device includes at least one of the following: an identifier and a type of the second communication device, and an identifier and a port of a communication device to which each port in the second communication device is connected.
[0101] Based on the nineteenth aspect, in a possible implementation manner, the port information of the second communication device is carried in a broadcast message.
[0102] Based on the nineteenth aspect, in a possible implementation method, the transceiver module is also used to: receive port information of the third communication device; the processing module is specifically used to: determine topology information based on the port information of the communication device, the port information of the second communication device and the port information of the third communication device, the topology information including the connection relationship between the communication device and the second communication device and the third communication device, respectively, and the connection relationship between the second communication device and the third communication device.
[0103] Based on the nineteenth aspect, in a possible implementation, the port information of the third communication device includes at least one of the following: an identifier and a type of the third communication device, and an identifier and a port of the communication device to which each port in the third communication device is connected.
[0104] Based on the nineteenth aspect, in a possible implementation method, the transceiver module is also used to: receive updated port information of the second communication device, where the updated port information is the updated port information of the second communication device; the processing module is also used to: update the topology information according to the updated port information of the second communication device.
[0105] The twentieth aspect of the present application provides a communication device, including: a transceiver module for receiving port information of a third communication device; a processing module for determining topology information based on the port information of the communication device and the port information of the third communication device, the topology information including the connection relationship between the communication device and the third communication device.
[0106] Based on the twentieth aspect, in a possible implementation method, the port information of the communication device includes at least one of the following: the identification and type of the communication device, and the identification and port of the communication device to which each port in the communication device is connected; the port information of the third communication device includes at least one of the following: the identification and type of the third communication device, and the identification and port of the communication device to which each port in the third communication device is connected.
[0107] Based on the twentieth aspect, in a possible implementation manner, the port information of the communication device is carried in a broadcast message.
[0108] Based on the twentieth aspect, in a possible implementation method, the transceiver module is also used to: receive the port information of the communication device directly connected to the communication device through the point-to-point topology discovery protocol; the processing module is also used to: determine the port information of the communication device based on the port information of the communication device directly connected to the communication device.
[0109] Based on the twentieth aspect, in a possible implementation method, the transceiver module is also used to: receive updated port information of the third communication device, where the updated port information is the updated port information of the third communication device; the processing module is also used to: update the topology information according to the updated port information of the third communication device.
[0110] In aspect 21 of the present application, a communication device is provided, comprising: a processor and a memory. The memory stores a computer program or computer instructions, and the processor is configured to call and execute the computer program or computer instructions stored in the memory, so that the processor implements any one of the implementations of aspects 1 to 10.
[0111] Optionally, the communication device further includes a transceiver, and the processor is used to control the transceiver to transmit and receive signals.
[0112] In a twenty-second aspect of the present application, a communication device is provided, comprising a processor and an interface circuit, wherein the processor is configured to communicate with other devices via the interface circuit and execute the method described in any one of the first to tenth aspects. The processor comprises one or more.
[0113] In aspect 23 of the present application, a communication device is provided, comprising a processor, connected to a memory, configured to call a program stored in the memory to execute the method described in any one of aspects 1 to 10. The memory may be located within or outside the communication device. The processor may include one or more processors.
[0114] In one implementation, the communication device of the above-mentioned aspects 11 to 20 may be a chip or a chip system.
[0115] In aspect 24 of the present application, a communication device is provided, comprising at least one logic circuit and an input / output interface; the logic circuit is used to execute the method described in any possible implementation method of any aspect from aspect 1 to aspect 10.
[0116] In aspect 25 of the present application, a computer program product is provided, comprising computer instructions, characterized in that when the computer program product is run on a computer, the computer is enabled to execute any one of the implementation methods of any one of aspects 1 to 10.
[0117] In aspect 26 of the present application, a computer-readable storage medium is provided, comprising computer instructions, which, when executed on a computer, enable the computer to execute any one of the implementation methods in aspect 1 to aspect 10.
[0118] In aspect 27 of the present application, a chip device is provided, comprising a processor for calling a computer program or computer instruction in a memory so that the processor executes any one of the implementation methods of any one of the above-mentioned aspects 1 to 10.
[0119] Optionally, the processor is coupled to the memory via an interface.
[0120] In aspect 28 of the present application, a communication system is provided, comprising: a first communication device and a second communication device, the first communication device being used to execute the method as shown in aspect 1, and the second communication device being used to execute the method as shown in aspect 2; optionally, the communication system further comprises a third communication device, the third communication device being used to execute the method as shown in aspect 3. Alternatively, the communication system comprises a first communication device and a switch, the first communication device being used to execute the method as shown in aspect 5, and the switch being used to execute the method as shown in aspect 6. Alternatively, the communication system comprises a first communication device and a second communication device, the first communication device being used to execute the method as shown in aspect 7, and the second communication device being used to execute the method as shown in aspect 8.
[0121] As can be seen from the above technical solution, the method provided in this application is applied to a first communication device, comprising: determining the split bandwidth ratio of each port of a second communication device; sending first indication information, the first indication information including the split bandwidth ratio of each port; and then receiving split data from the second communication device. This enables the second communication device to communicate with the first communication device based on the split bandwidth ratio of each port. This enables multi-port transmission between the first communication device and the second communication device. This further facilitates achieving balanced bandwidth allocation across the ports of the first communication device or switch, improving communication performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0122] FIG1 is a schematic diagram of the structure of an eCPRI network according to an embodiment of the present application;
[0123] FIG2 is another schematic diagram of the structure of the eCPRI network according to an embodiment of the present application;
[0124] FIG3 is a schematic diagram of an embodiment of a communication method according to an embodiment of the present application;
[0125] FIG4 is a schematic diagram of a scenario of a communication method according to an embodiment of the present application;
[0126] FIG5 is a schematic diagram of another embodiment of the communication method according to an embodiment of the present application;
[0127] FIG6 is a schematic diagram of another scenario of the communication method according to an embodiment of the present application;
[0128] FIG7 is a schematic diagram of another embodiment of the communication method according to the embodiment of the present application;
[0129] FIG8 is a schematic diagram of another embodiment of the communication method according to the embodiment of the present application;
[0130] FIG9 is a schematic diagram of another scenario of the communication method according to an embodiment of the present application;
[0131] FIG10 is a schematic diagram of another embodiment of the communication method according to an embodiment of the present application;
[0132] FIG11 is a schematic diagram of another embodiment of the communication method according to an embodiment of the present application;
[0133] FIG12 is a schematic diagram of another scenario of the communication method according to an embodiment of the present application;
[0134] FIG13 is a schematic diagram of another embodiment of the communication method according to the embodiment of the present application;
[0135] FIG14 is a schematic structural diagram of a communication device according to an embodiment of the present application;
[0136] FIG15 is another schematic structural diagram of a communication device according to an embodiment of the present application;
[0137] FIG16 is another structural diagram of the communication device according to an embodiment of the present application;
[0138] FIG17 is another structural diagram of the communication device according to the embodiment of the present application. DETAILED DESCRIPTION
[0139] An embodiment of the present application provides a communication method and related apparatus for a first communication device to determine the diversion bandwidth ratio of each port of a second communication device. The first communication device sends first indication information, which includes the diversion bandwidth ratio of each port. The first communication device then receives diversion data from the second communication device. The second communication device communicates with the first communication device based on the diversion bandwidth ratio of each port. Multi-port transmission between the first communication device and the second communication device is implemented. This method further facilitates achieving balanced bandwidth allocation for each port of the first communication device or switch, thereby improving communication performance.
[0140] 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.
[0141] The term "and / or" as used in this application can be used to describe an association relationship between related objects, indicating that three possible relationships exist. For example, A and / or B can represent the following three situations: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this application generally indicates that the related objects are in an "or" relationship.
[0142] The technical solutions of the present application can be applied to various communication systems. For example, the fifth generation mobile communication (5G) system, the new radio (NR) system, the long term evolution (LTE) system, the LTE frequency division duplex (FDD) system, the LTE time division duplex (TDD) system, the universal mobile telecommunication system (UMTS), mobile communication systems after the 5G network (for example, the 6G mobile communication system), the vehicle to everything (V2X) communication system, the device to device (D2D) communication system, the Internet of Things communication system, the industrial Internet communication system, or the satellite communication system.
[0143] The Ethernet Common Public Radio Interface (eCPRI) protocol can be used for data transmission between the distributed unit (DU) and the radio unit (RU). eCPRI is an interface protocol between the RU and DU based on Ethernet transmission, defined by the Common Public Radio Interface (CPRI) Alliance. Currently, eCPRI networking has been proposed. In the eCPRI network, one end of each RU is directly connected to the DU through an independent optical fiber to achieve single-port transmission between the RU and the DU. However, the transmission efficiency of the eCPRI network is low, and multi-port transmission cannot be achieved. Therefore, in eCPRI communication, how to achieve multi-port transmission is an issue worth considering.
[0144] This application provides an eCPRI network. The structure of the eCPRI network is described below using Figures 1 and 2 as examples.
[0145] Figure 1 is a schematic diagram of the structure of an eCPRI network according to an embodiment of the present application. Referring to Figure 1 , the eCPRI network includes RU1, RU2, RU3, and DU. The DU in the eCPRI network is connected to one or more RUs in a ring configuration. As shown in Figure 1 , one port of RU1 is connected to one port of RU2, and another port of RU1 is connected to one port of RU3. Another port of RU2 is connected to port 1 of the DU, and another port of RU3 is connected to port 2 of the DU. This enables multi-port transmission between the DU and the RU.
[0146] It should be noted that FIG1 is only an example of an eCPRI network. In actual applications, the eCPRI network may include a DU and at least one RU, and the DU and the at least one RU are connected in a ring shape, which is not specifically limited in this application.
[0147] Figure 2 is another structural diagram of the eCPRI network according to an embodiment of the present application. Referring to Figure 2 , the eCPRI network includes RU1, RU2, RU3, RU4, RU5, RU6, RU7, RU8, RU9, a switch, DU1, and DU2. The switch in the eCPRI network is connected to one or more RUs in a ring configuration. As shown in Figure 2 , DU1 controls RU1 to RU3 and RU4 to RU6. One port of RU1 is connected to a port of RU2, and another port of RU1 is connected to a port of RU3. Another port of RU2 is connected to port 1 of the switch, another port of RU3 is connected to port 2 of the switch, and one port of DU1 is connected to port 7 of the switch. In other words, RU1 to RU3 and the switch form a ring configuration. Similarly, RU4 to RU6 and the switch form a ring configuration. DU2 controls RU7 to RU9, and RU7 to RU9 and the switch form a ring configuration. This enables multi-port transmission between DUs and RUs.
[0148] It should be noted that Figure 2 is only an example of an eCPRI network. In actual applications, the eCPRI network may include a DU, a switch and at least one RU. The DU and the at least one RU are connected in a ring shape, which is not specifically limited in this application.
[0149] It should be noted that different devices in the eCPRI network shown in Figures 1 and 2 can be connected via optical fibers or cables, which is not specifically limited in this application.
[0150] It should be noted that DU and RU can be network units included in a network device. A network device can be a device in a wireless network. For example, a network device can be a radio access network (RAN) node (or device) that connects a terminal device to a wireless network, which can also be called a base station. Some examples of RAN devices are: a new generation base station (gNodeB) in a 5G communication system, a transmission reception point (TRP), an evolved Node B (eNB), a radio network controller (RNC), a Node B (NB), a base station controller (BSC), a base transceiver station (BTS), and a home base station (e.g., a home evolved Node B or home Node B, HNB).
[0151] In another possible scenario, multiple RAN nodes collaborate to assist the terminal in achieving wireless access, and different RAN nodes respectively implement part of the functions of the base station. For example, the RAN node can be a centralized unit (CU), a distributed unit (DU), a CU-control plane (CP), a CU-user plane (UP), or a radio unit (RU). The CU and DU can be set separately, or they can be included in the same network element, such as a baseband unit (BBU). The RU can be included in a radio frequency device or radio frequency unit, such as a remote radio unit (RRU), an active antenna unit (AAU), or a remote radio head (RRH).
[0152] In different systems, CU (or CU-CP and CU-UP), DU or RU may also have different names, but those skilled in the art can understand their meanings. For example, in the ORAN system, CU may also be called O-CU (Open CU), DU may also be called O-DU, CU-CP may also be called O-CU-CP, CU-UP may also be called O-CU-UP, and RU may also be called O-RU. For the convenience of description, this application uses CU, CU-CP, CU-UP, DU and RU as examples for description. Any unit of CU (or CU-CP, CU-UP), DU and RU in this application can be implemented by a software module, a hardware module, or a combination of a software module and a hardware module.
[0153] It should be noted that the names of the DU and RU are merely the names currently used in communication systems. These names may change as communication protocols evolve, and this application does not impose any restrictions. Any device with similar corresponding functions may be considered a DU or RU in this application. In this application, the first communication device may be a DU, and the second and third communication devices may both be RUs. It should be noted that the specific name of the first communication device is not limited and may change in conjunction with the name of the DU. The specific name of the second communication device is not limited and may change in conjunction with the name of the DU.
[0154] The technical solution of this application is introduced below in conjunction with specific embodiments.
[0155] The following describes, in conjunction with the embodiment shown in FIG3 , a process in which a first communication device determines, for a second communication device, a bandwidth splitting ratio for each port of the second communication device, to achieve balanced uplink bandwidth distribution for each port of the first communication device or switch. FIG3 is a schematic diagram of an embodiment of a communication method according to an embodiment of the present application. Referring to FIG3 , the method includes:
[0156] 301. A first communication device determines a split bandwidth ratio of each port of a second communication device.
[0157] For example, as shown in Figure 4, the first communication device is a DU, and the second communication device is RU1. RU1 includes port 1 and port 2. The DU determines that the offload bandwidth ratio for RU1's port 1 is 30%. This means that RU1 sends 30% of its data through port 1 to the DU's port 1. The DU determines that the offload bandwidth ratio for RU1's port 2 is 70%. This means that RU1 sends 70% of its data through port 2 to the DU's port 2.
[0158] This embodiment primarily describes the example of a first communication device determining the offload bandwidth ratio for each port of a second communication device. The process for determining the offload bandwidth ratio for each port of other communication devices is similar, and for details, please refer to the relevant description of this embodiment. For example, as shown in Figure 4, the DU can determine the offload bandwidth ratio for port 1 of RU2 to be 0 and the offload bandwidth ratio for port 2 of RU2 to be 100%. The DU can also determine the offload bandwidth ratio for port 1 of RU3 to be 0 and the offload bandwidth ratio for port 2 of RU3 to be 100%.
[0159] In one possible implementation, the first communication device determines the diversion bandwidth ratio of each port of the second communication device based on one or more of the business load of the second communication device, the connection relationship of the second communication device, the available bandwidth of each port in the first communication device, and the delay of different transmission paths between the second communication device and the first communication device.
[0160] The connection relationship of the second communication device includes the connection relationship between the first communication device and the second communication device and / or the connection relationship between the second communication device and other communication devices. The connection relationship between the first communication device and the second communication device includes the connection relationship between the port of the first communication device and the port of the second communication device. The connection relationship between the second communication device and other second communication devices includes the connection relationship between the port of the second communication device and the ports of other second communication devices. For example, as shown in Figure 4, the second communication device is RU1, and the other communication devices include RU2 and RU3. The connection relationship of RU1 includes: the connection relationship between RU1 and RU2 and the connection relationship between RU1 and RU3. For another example, as shown in Figure 4, the second communication device is RU2, and the other communication devices include RU1. The connection relationship of RU2 includes the connection relationship between RU2 and RU1 and the connection relationship between RU2 and DU.
[0161] For example, as shown in Figure 4 , the first communication device is a DU, which includes port 1 and port 2. The available bandwidth of each port in the first communication device includes the available bandwidth of port 1 of the DU and the available bandwidth of port 2 of the DU. The second communication device is RU1, and there are two transmission paths between RU1 and the DU: a transmission path RU1-RU3-DU and a transmission path RU1-RU2-DU.
[0162] In this implementation, the first communication device determines the split bandwidth ratio of each port of the second communication device in combination with the business load of the second communication device and the connection relationship of the second communication device. In actual applications, in the eCPRI network, if there are more communication devices, the first communication device can determine the split bandwidth ratio of each port of the second communication device based on the business load and connection relationship of the more communication devices. For example, optionally, the first communication device further determines the split bandwidth ratio of each port of the second communication device based on the business load of the third communication device and / or the connection relationship of the third communication device. The connection relationship of the third communication device includes the connection relationship between the third communication device and the first communication device, and / or the connection relationship between the third communication device and the second communication device. For example, as shown in Figure 4, the first communication device is DU, the second communication device is RU1, and the third communication device is RU2. The connection relationship of the third communication device includes the connection relationship between RU2 and DU and the connection relationship between RU2 and RU1.
[0163] For the eCPRI network shown in Figure 4, the DU can determine the offload bandwidth ratio of each port of RU1, the offload bandwidth ratio of each port 2 of RU2, and the offload bandwidth ratio of each port 3 of RU3 based on RU1's service load, RU1's connection relationship, the delay of different transmission paths between RU1 and the DU, RU2's service load, RU2's connection relationship, the delay of different transmission paths between RU2 and the DU, RU3's service load, RU3's connection relationship, the delay of different transmission paths between RU3 and the DU, and the available bandwidth of each port in the DU. For example, as shown in Figure 4, the offload bandwidth ratio of port 1 of RU1 is 30%, and the offload bandwidth ratio of port 2 of RU2 is 70%. The offload bandwidth ratio of port 1 of RU2 is 0%, and the offload bandwidth ratio of port 2 of RU2 is 100%. The offload bandwidth ratio of port 1 of RU3 is 0%, and the offload bandwidth ratio of port 2 of RU3 is 100%.
[0164] In another possible implementation, the first communication device determines the split bandwidth ratio for each port of the second communication device based on one or more of the following: a service load of the second communication device, a connection relationship of the second communication device, available bandwidth of each port of the switch, and latency of different transmission paths between the second communication device and the switch. The switch is directly connected to the first communication device.
[0165] The connection relationship of the second communication device includes the connection relationship between the switch and the second communication device and / or the connection relationship between the second communication device and other communication devices. For example, as shown in Figure 2, the second communication device is RU1, the other communication devices include RU2 and RU3, and the connection relationship of the second communication device includes the connection relationship between RU1 and RU2 and the connection relationship between RU1 and RU3. For another example, as shown in Figure 2, the second communication device is RU2, the other communication device is RU1, and the connection relationship of the second communication device includes the connection relationship between RU2 and RU1 and the connection relationship between RU2 and the switch. As shown in Figure 2, the first communication device is DU1, and the available bandwidth of each port in the switch may include the available bandwidth of port 1 of the switch and the available bandwidth of port 2 of the switch. The second communication device is RU1, and the different transmission paths between the second communication device and the switch include the transmission path from RU1 to the switch, specifically the transmission path RU1-RU2-switch and the transmission path RU1-RU3-switch.
[0166] In this implementation, the first communication device determines the split bandwidth ratio of each port of the second communication device in combination with the business load and connection relationship of the third communication device. In actual applications, in the eCPRI network, if there are more communication devices, the first communication device can determine the split bandwidth ratio of each port of the second communication device based on the business load and connection relationship of the more communication devices. Optionally, the first communication device further determines the split bandwidth ratio of each port of the second communication device based on the business load of the third communication device and / or the connection relationship of the third communication device. The connection relationship of the third communication device includes the connection relationship between the third communication device and the switch, and / or the connection relationship between the third communication device and the second communication device. For example, as shown in Figure 2, the first communication device is DU1, the second communication device is RU1, and the third communication device is RU2. The connection relationship of the third communication device includes the connection relationship between RU2 and the switch and the connection relationship between RU2 and RU1.
[0167] For the eCPRI network shown in Figure 2, the DU can determine the split bandwidth ratio of each port of RU1, the split bandwidth ratio of each port 2 of RU2, and the split bandwidth ratio of each port 3 of RU3 based on the business load of RU1, the connection relationship of RU1, the delay of different transmission paths between RU1 and the switch, the business load of RU2, the connection relationship of RU2, the delay of different transmission paths between RU2 and the switch, the business load of RU3, the connection relationship of RU3, the delay of different transmission paths between RU3 and the switch, and the available bandwidth corresponding to port 1 and port 2 in the switch.
[0168] 302. The first communication device sends first indication information to the second communication device. The first indication information includes the offload bandwidth ratio of each port of the second communication device. Correspondingly, the second communication device receives the first indication information from the first communication device.
[0169] Optionally, the first communication device sends the first indication information to the second communication device through a third communication device and / or a switch. For example, as shown in Figure 4, the first communication device is a DU, the second communication device is RU1, and the third communication device is RU2. The DU sends the first indication information to RU1 through RU2. For another example, as shown in Figure 2, the first communication device is a DU, the second communication device is RU1, and the third communication device is RU2. The DU sends the first indication information to RU1 through RU2 and the switch. It should be noted that in actual applications, the first communication device can send the first indication information to the second communication device through one or more third communication devices. The specific number should be determined by the number of third communication devices included in a certain transmission path between the first communication device and the second communication device.
[0170] 303. The second communication device sends the offloaded data to the first communication device according to the offload bandwidth ratio of each port of the second communication device. Correspondingly, the first communication device receives the offloaded data from the second communication device.
[0171] Optionally, the second communication device sends the diverted data to the first communication device through the third communication device and / or the switch according to the diverted bandwidth ratio of each port of the second communication device. For example, as shown in Figure 4, the first communication device is a DU, the second communication device is RU1, and the third communication device includes RU2 and RU3. RU1 sends a portion of the diverted data to the DU through RU2 according to the diverted bandwidth ratio of port 1 of RU1, and RU1 sends another portion of the diverted data to the DU through RU3 according to the diverted bandwidth ratio of port 2 of RU1. For another example, as shown in Figure 2, the first communication device is a DU, the second communication device is RU1, and the third communication device includes RU2 and RU2. RU1 sends the diverted data to the switch. The switch sends a portion of the diverted data to RU1 through RU2 according to the diverted bandwidth ratio of port 1 of RU1, and the switch sends another portion of the diverted data to RU2 through RU3 according to the diverted bandwidth ratio of port 2 of RU1.
[0172] It should be noted that, in actual applications, the second communication device may send the offloaded data to the first communication device via one or more third communication devices, which is determined by the number of third communication devices included in the multiple transmission paths between the first communication device (or switch) and the second communication device.
[0173] Optionally, when the total amount of the diverted data and the data to be sent by the third communication device exceeds the transmission bandwidth capability supported by the port of the third communication device, the third communication device discards part of the diverted data based on the transmission bandwidth capability and sends the remaining data in the diverted data to the first communication device. Optionally, the third communication device may discard part of the diverted data and the data to be sent that have lower priorities, respectively, based on the transmission bandwidth capability. This ensures that the total amount of the remaining data in the data to be sent and the remaining data in the diverted data is no greater than the amount of transmission data supported by the port of the third communication device. For example, as shown in Figure 4, the first communication device is a DU, the second communication device is RU1, and the third communication device is RU2. RU2 receives the diverted data from port 1 of RU1. If the total amount of the data to be sent by RU2 and the diverted data of RU1 exceeds the transmission bandwidth capability supported by port 2 of RU2, RU2 may discard part of the diverted data of RU1 and then send the remaining data in the diverted data to the DU.
[0174] In an embodiment of the present application, a first communication device determines the split bandwidth ratio of each port of a second communication device; the first communication device sends first indication information, which includes the split bandwidth ratio of each port; and then the first communication device receives split data from the second communication device. This enables the second communication device to communicate with the first communication device based on the split bandwidth ratio of each port. This enables multi-port transmission between the first communication device and the second communication device. Furthermore, this method facilitates achieving balanced bandwidth allocation for each port of the first communication device or switch, improving communication latency, and enhancing communication performance.
[0175] The following describes, in conjunction with the embodiment shown in FIG5 , a process in which a first communication device determines, for a second communication device, a bandwidth splitting ratio for each port of the second communication device to achieve balanced downlink bandwidth allocation for each port of the first communication device. FIG5 is a schematic diagram of another embodiment of the communication method of the present application. Referring to FIG5 , the method includes:
[0176] 501. A first communication device determines a split bandwidth ratio of each port of a second communication device.
[0177] Step 501 is similar to step 301 in the embodiment shown in FIG. 3 . For details, please refer to the relevant introduction of step 301 in the embodiment shown in FIG. 3 .
[0178] 502. The first communication device sends the offloaded data of the second communication device to the second communication device according to the offload bandwidth ratio of each port of the second communication device.
[0179] Optionally, the first communication device sends the offloaded data to the second communication device via a third communication device based on the offload bandwidth ratio of each port of the second communication device. For example, as shown in Figure 6, the first communication device is a DU, the second communication device is RU1, and the third communication device includes RU2 and RU3. The DU sends a portion of RU1's offloaded data to RU1 via RU2 based on the offload bandwidth ratio of RU1's port 1, and sends another portion of RU1's offloaded data to RU1 via RU3 based on the offload bandwidth ratio of RU1's port 2.
[0180] It should be noted that, in actual applications, the first communication device may send offloaded data to the second communication device via one or more third communication devices, which is determined by the number of third communication devices included in the multiple transmission paths between the first communication device and the second communication device.
[0181] In an embodiment of the present application, a first communication device determines the split bandwidth ratio for each port of a second communication device. The first communication device then transmits the split data of the second communication device to the second communication device based on the split bandwidth ratio for each port of the second communication device. This enables multi-port transmission between the first and second communication devices. Furthermore, this facilitates balanced bandwidth allocation across the ports of the first communication device and improves communication latency.
[0182] The following describes, in conjunction with the embodiment shown in FIG7 , a process in which a first communication device determines, for a second communication device, a bandwidth splitting ratio for each port of the second communication device to achieve balanced downlink bandwidth distribution for each port of a switch. FIG7 is a schematic diagram of another embodiment of the communication method of the present application. Referring to FIG7 , the method includes:
[0183] 701. A first communication device determines a split bandwidth ratio of each port of a second communication device.
[0184] For example, as shown in Figure 2, the first communication device is DU1, and the second communication device is RU1. RU1 includes port 1 and port 2. DU1 determines the offload bandwidth ratio of RU1's port 1 to be 30%. That is, RU1 sends 30% of RU1's data through port 1 to switch port 1. DU1 determines the offload bandwidth ratio of RU1's port 2 to be 70%. RU1 sends 70% of RU1's data through port 2 to switch port 2.
[0185] This embodiment primarily describes the example of a first communication device determining the offload bandwidth ratio for each port of a second communication device. The process for determining the offload bandwidth ratio for each port of other second communication devices is similar, and for details, please refer to the relevant description of this embodiment. For example, as shown in Figure 2, DU1 can determine the offload bandwidth ratio for port 1 of RU2 to be 0 and the offload bandwidth ratio for port 2 of RU2 to be 100%. DU1 can also determine the offload bandwidth ratio for port 1 of RU3 to be 0 and the offload bandwidth ratio for port 2 of RU3 to be 100%.
[0186] In one possible implementation, the first communication device determines the offload bandwidth ratio for each port of the second communication device based on one or more of the following: a service load of the second communication device, a connection relationship of the second communication device, available bandwidth of each port of a switch, and latency of different transmission paths between the second communication device and the switch. The switch is directly connected to the first communication device.
[0187] The connection relationship of the second communication device includes the connection relationship between the switch and the second communication device and / or the connection relationship between the second communication device and other communication devices. For example, as shown in Figure 2, the second communication device is RU1, the other communication devices include RU2 and RU3, and the connection relationship of the second communication device includes the connection relationship between RU1 and RU2 and the connection relationship between RU1 and RU3. For another example, as shown in Figure 2, the second communication device is RU2, the other communication device is RU1, and the connection relationship of the second communication device includes the connection relationship between RU2 and RU1 and the connection relationship between RU2 and the switch. As shown in Figure 2, the first communication device is DU1, and the available bandwidth of each port in the switch may include the available bandwidth of port 1 of the switch and the available bandwidth of port 2 of the switch. The second communication device is RU1, and the different transmission paths between the second communication device and the switch include the transmission path from RU1 to the switch, specifically the transmission path RU1-RU2-switch and the transmission path RU1-RU3-switch.
[0188] In actual applications, in an eCPRI network, if there are more communication devices, the first communication device can determine the split bandwidth ratio of each port of the second communication device based on the service load and connection relationship of the more communication devices. Optionally, the first communication device further determines the split bandwidth ratio of each port of the second communication device based on the service load of the third communication device and / or the connection relationship of the third communication device. The connection relationship of the third communication device includes the connection relationship between the third communication device and the switch, and / or the connection relationship between the third communication device and the second communication device. For example, as shown in Figure 2, the first communication device is DU1, the second communication device is RU1, and the third communication device is RU2. The connection relationship of the third communication device includes the connection relationship between RU2 and the switch and the connection relationship between RU2 and RU1.
[0189] For the eCPRI network shown in Figure 2, the DU can determine the split bandwidth ratio of each port of RU1, the split bandwidth ratio of each port 2 of RU2, and the split bandwidth ratio of each port 3 of RU3 based on the business load of RU1, the connection relationship of RU1, the delay of different transmission paths between RU1 and the switch, the business load of RU2, the connection relationship of RU2, the delay of different transmission paths between RU2 and the switch, the business load of RU3, the connection relationship of RU3, the delay of different transmission paths between RU3 and the switch, and the available bandwidth corresponding to port 1 and port 2 in the switch.
[0190] 702. The first communication device sends the split bandwidth ratio of each port of the second communication device to the switch.
[0191] For example, as shown in FIG2 , the first communication device is DU1 , the second communication device is RU1 , and DU1 sends the split bandwidth ratio of each port of RU1 to RU1 through the switch.
[0192] 703. The switch sends the data of the second communication device from the first communication device to the second communication device according to the split bandwidth ratio of each port of the second communication device.
[0193] For example, as shown in Figure 2, the second communication device is RU2. The switch sends part of RU2's data to port 2 of RU2 through port 1 of the switch according to the diversion bandwidth ratio of port 2 of RU2, and sends another part of RU2's data to port 1 of RU2 through the switch, RU3 and RU1 according to the diversion bandwidth ratio of port 1 of RU2.
[0194] Optionally, the switch transmits data from the second communication device to the first communication device via a third communication device based on the offload bandwidth ratio of each port of the second communication device. For example, as shown in Figure 2 , the second communication device is RU1, and the third communication devices include RU2 and RU3. The switch transmits a portion of RU1's data to port 1 of RU1 via RU2 based on the offload bandwidth ratio of port 1 of RU1, and transmits another portion of RU1's data to port 2 of RU1 via RU3 based on the offload bandwidth ratio of port 2 of RU1.
[0195] In an embodiment of the present application, a first communication device determines the split bandwidth ratios for each port of a second communication device. The first communication device then sends the split bandwidth ratios for each port of the second communication device to a switch. This facilitates the switch transmitting data from the first communication device to the second communication device based on the split bandwidth ratios for each port of the second communication device. This enables multi-port transmission between the switch and the second communication device. Furthermore, this facilitates balanced bandwidth allocation across the switch's ports and improves communication latency.
[0196] The following describes the process of configuring available bandwidth for a second communication device by a first communication device and using the available bandwidth for communication in conjunction with the embodiment shown in FIG8. FIG8 is a schematic diagram of another embodiment of the communication method of the present application. Referring to FIG8, the method includes:
[0197] 801. A first communication device sends available bandwidth to a second communication device. Correspondingly, the second communication device receives the available bandwidth from the first communication device.
[0198] In one possible implementation, the available bandwidth is used for communication between the first communication device and the second communication device. For example, as shown in Figure 4, the first communication device is a DU and the second communication device is RU2. The DU can send available bandwidth to RU2, and the available bandwidth is used for communication between RU2 and the DU. That is, RU2 can send data to the DU based on the available bandwidth.
[0199] In another possible implementation, the available bandwidth is used for communication between the second communication device and the switch. For example, as shown in Figure 2, the first communication device is DU1 and the second communication device is RU2. The DU can send available bandwidth to RU2 through the switch. This available bandwidth is used for communication between RU2 and the switch, and the switch then forwards RU2's data to DU1.
[0200] Optionally, the first communication device sends available bandwidth to the second communication device via a third communication device and / or a switch. For example, as shown in Figure 4 , the first communication device is a DU, the second communication device is RU1, and the third communication device is RU2. The DU sends available bandwidth to RU1 via RU2. For another example, as shown in Figure 2 , the first communication device is DU1, the second communication device is RU2, and the DU sends available bandwidth to RU2 via the switch.
[0201] 802. The second communication device sends data to the first communication device via available bandwidth. Correspondingly, the first communication device receives data from the second communication device.
[0202] Optionally, the available bandwidth is the available bandwidth of the second communication device when the first connection is disconnected. The first connection is the corresponding disconnected connection between two communication devices in the eCPRI network. The two communication devices can be a DU and a RU, or two RUs, or a RU and a switch, or a DU and a switch. For example, as shown in Figure 9, when the connection between port 2 of RU2 and port 1 of DU is disconnected, that is, when a link failure occurs, since the available bandwidth supported by the port of DU is limited, the DU can allocate available bandwidth to each RU in the eCPRI network. This enables RU1, RU2 and RU3 to send data to the DU respectively through their corresponding available bandwidth. It ensures that each RU has available bandwidth, so that some RUs will not be disconnected, and data transmission in each cell is guaranteed. Optionally, the first communication device can determine the failed link in the eCPRI network through the topology information determination process in the embodiment shown in Figure 11 below. For another example, as shown in Figure 2, the first connection refers to the connection between port 1 of the switch and port 2 of RU2. The first communication device is DU1 and the second communication device is RU1. If the first connection is disconnected, RU1 sends data to the switch through RU3, and then the switch forwards the data to DU1.
[0203] Optionally, the second communication device sends data to the first communication device via a third communication device and / or a switch based on available bandwidth. For example, as shown in Figure 9 , the first communication device is a DU, the second communication device is RU1, and the third communication device is RU3. RU1 sends data to the DU via RU3 based on RU1's available bandwidth. For another example, as shown in Figure 2 , the first connection is the connection between port 1 of the switch and port 2 of RU2. The first communication device is DU1, and the second communication device is RU1. If the first connection is disconnected, RU1 sends data to DU1 via RU3 and the switch.
[0204] It should be noted that the embodiment shown in FIG8 is described using an example in which a first communication device allocates available bandwidth to a second communication device and indicates the available bandwidth to the second communication device. In actual applications, the process of allocating available bandwidth and indicating the available bandwidth to other communication devices is similar. For details, please refer to the relevant description of this embodiment.
[0205] In this embodiment of the present application, a first communication device sends available bandwidth to a second communication device. The first communication device then receives data sent by the second communication device using the available bandwidth. This enables communication between the first and second communication devices. This prevents the second communication device from being left without bandwidth in the event of a link failure, ensuring normal communication between all communication devices in the link.
[0206] The following describes the process of establishing a communication link between the first communication device and the second communication device in conjunction with the embodiment shown in Figure 10. Figure 10 is a schematic diagram of another embodiment of the communication method of the embodiment of the present application. Referring to Figure 10, the method includes:
[0207] 1001. A first communication device sends first information to a second communication device. The first information indicates a first port of the second communication device. In response, the second communication device receives the first information from the first communication device.
[0208] In one possible implementation, the first information is used to instruct the second communication device to communicate with the first communication device via the first port. For example, as shown in Figure 1, the first communication device is a DU, the second communication device is RU2, and the DU sends the first information to RU2. The first information indicates port 2 of RU2. That is, the DU instructs RU2 to communicate with the DU via port 2.
[0209] In another possible implementation, the first information is used to instruct the second communication device to communicate with the switch through the first port. For example, as shown in Figure 2, the first communication device is DU1 and the second communication device is RU2. DU1 sends first information to RU2, and the first information indicates port 2 of RU2. That is, the DU instructs RU2 to communicate with the switch through port 2.
[0210] Optionally, the first information is carried in a broadcast message.
[0211] Optionally, the first communication device sends the first information to the second communication device via a third communication device and / or a switch. For example, as shown in Figure 1, the first communication device is a DU, the second communication device is RU1, and the third communication device is RU2. The DU sends the first information to RU1 via RU2. For another example, as shown in Figure 2, the first communication device is DU1, the second communication device is RU1, and the third communication device is RU2. DU1 sends the first information to RU1 via the switch and RU2.
[0212] Optionally, the embodiment shown in FIG10 further includes steps 1001a to 1001b. Steps 1001a to 1001b may be performed before step 1001.
[0213] 1001a. A second communication device sends a first request to a first communication device. The first request is for requesting allocation of a communication address for a port in the second communication device. In response, the second communication device receives the first request from the first communication device.
[0214] For example, as shown in FIG4 , the first communication device is a DU, the second communication device is RU1 , and RU1 sends a first request to the DU to request the DU to allocate communication addresses to port 1 and port 2 of the RU1 .
[0215] Optionally, the communication address includes an Internet Protocol (IP) address. Optionally, the first request is carried in a broadcast message.
[0216] Optionally, the second communication device sends the first request to the first communication device via a third communication device and / or a switch. For example, as shown in Figure 1, the first communication device is a DU, the second communication device is RU1, and RU1 sends the first request to DU via RU2. For another example, as shown in Figure 2, the first communication device is DU1, the second communication device is RU1, and RU2 sends the first request to DU1 via the switch.
[0217] 1001b. The first communication device sends allocation information to the second communication device. The allocation information includes the communication address of the port in the second communication device. In response, the second communication device receives the allocation information from the first communication device.
[0218] For example, as shown in Figure 1, the first communication device is a DU, the second communication device is RU2, and DU sends allocation information to RU2. For another example, as shown in Figure 2, the first communication device is DU1, the second communication device is RU2, and DU1 sends allocation information to RU2 through the switch, instructing DU1 to allocate communication addresses to ports 1 and 2 of RU2.
[0219] Optionally, the allocation information is carried in a broadcast message. Optionally, the communication address is an IP address.
[0220] Optionally, the first communication device sends allocation information to the second communication device via a third communication device and / or a switch. For example, as shown in Figure 1, the first communication device is a DU and the second communication device is RU1. The DU sends allocation information to RU1 via RU2. For another example, as shown in Figure 2, the first communication device is DU1 and the second communication device is RU1. DU1 sends allocation information to RU1 via the switch and RU2.
[0221] Optionally, the embodiment shown in FIG10 further includes step 1001c. Step 1001c may be performed before step 1001.
[0222] 1001c. The first communication device sends second information to the second communication device. The second information is used to indicate the communication address of the second port. In response, the second communication device receives the second information from the first communication device.
[0223] In one possible implementation, the second information indicates that the first communication device communicates with the second communication device via the second port. For example, as shown in FIG1 , the first communication device is a DU and the second communication device is RU2. The DU sends the second information to RU2, indicating that the DU communicates with RU2 via port 1 of the DU.
[0224] In another possible implementation, the second information indicates that the switch is communicating with the second communication device via the second port. For example, as shown in Figure 2 , the first communication device is DU1 and the second communication device is RU2. DU1 sends the second information to RU2 via the switch, indicating that the switch is communicating with RU2 via port 1 of the switch.
[0225] Optionally, the second information is carried in a broadcast message.
[0226] Optionally, the first communication device sends the second information to the second communication device via a third communication device and / or a switch. For example, as shown in Figure 1, the first communication device is a DU, the second communication device is RU1, and the DU sends the second information to RU1 via RU2. For another example, as shown in Figure 2, the first communication device is DU1, the second communication device is RU1, and DU1 sends the second information to RU1 via RU2 and the switch.
[0227] It should be noted that there is no fixed order for executing steps 1001a-1001b and step 1001c. Steps 1001a-1001b may be executed first, followed by step 1001c; or, step 1001c may be executed first, followed by steps 1001a-1001b; or, depending on the circumstances, steps 1001a-1001b and step 1001c may be executed simultaneously. This application does not impose any specific restrictions.
[0228] 1002. A first communication device communicates with a second communication device through the communication address of the first port and the communication address of the second port.
[0229] The second port is a port on the first communications device or a port on a switch. For example, as shown in Figure 1, the first communications device is a DU, the second communications device is RU2, the first port is RU2's port 2, and the second port is DU's port 1. The DU communicates with RU2's port 2 via DU's port 1. For another example, as shown in Figure 2, the first communications device is DU1, the second communications device is RU2, the first port is RU2's port 2, and the second port is switch's port 1. DU1 communicates with RU2's port 2 via switch's port 1.
[0230] Optionally, the first communication device communicates with the second communication device based on the communication address of the first port and the communication address of the second port. For example, as shown in Figure 2, the first communication device is DU1, the second communication device is RU2, the first port is port 2 of RU2, and the second port is port 1 of the switch. DU1 communicates with port 2 of RU2 through port 1 of the switch.
[0231] In this embodiment of the present application, a first communication device sends first information to a second communication device. The first information indicates a first port of the second communication device. The first communication device communicates with the second communication device using the communication address of the first port and the communication address of the second port. This establishes a communication channel between the first and second communication devices, enabling communication between the first and second communication devices.
[0232] The following describes the process of determining the topology information of the eCPRI network by the first communication device in conjunction with the embodiment shown in Figure 11. Figure 11 is a schematic diagram of another embodiment of the communication method of the embodiment of the present application. Referring to Figure 11, the method includes:
[0233] 1101. A second communication device sends its port information to a first communication device. Correspondingly, the first communication device receives the port information from the second communication device.
[0234] Optionally, the port information of the second communication device includes at least one of the following: the identifier and type of the second communication device, and the identifier and port of the communication device to which each port in the second communication device is connected. For example, as shown in Figure 1, the first communication device is a DU, the second communication device is RU1, and RU1 sends RU1's port information to the DU. RU1's port information specifically includes: the identifier of RU1, the type of RU1 being RU, the identifier of RU2 to which port 1 in RU1 is connected, the connected port 1 of RU2, the identifier of RU3 to which port 2 in RU1 is connected, and the connected port 1 of RU3.
[0235] Optionally, the port information of the second communication device is carried in a broadcast message.
[0236] Optionally, the second communication device sends the port information of the second communication device to the first communication device through a third communication device and / or a switch. For example, as shown in Figure 1, the first communication device is a DU, the second communication device is RU1, and the third communication device is RU2. RU1 sends the port information of RU1 to the DU through RU2. For another example, as shown in Figure 2, the first communication device is DU1, the second communication device is RU1, and the third communication device is RU2. RU1 sends the port information of RU1 to DU1 through RU2 and the switch. It should be noted that in actual applications, the first communication device can send the port information of the second communication device to the first communication device through one or more third communication devices and / or switches. The specific amount should be determined by the number of third communication devices included in a certain transmission path between the first communication device and the second communication device.
[0237] 1102. The first communication device determines topology information according to the port information of the first communication device and the port information of the second communication device.
[0238] Optionally, the port information of the first communication device includes at least one of the following: the identifier and type of the first communication device, and the identifier and port of the communication device to which each port in the first communication device is connected. For example, as shown in FIG1 , the first communication device is a DU, and the port information of the DU includes: the identifier of the DU, the type of the DU is DU, the identifier of RU2 to which port 1 of the DU is connected, the port 1 of the connected RU2, the identifier of RU3 to which port 2 of the DU is connected, and the port 1 of the connected RU3. For another example, as shown in FIG2 , the first communication device is DU1, and the port information of DU1 includes the identifier of DU1, the type of DU1 is DU, the identifier of the switch to which port 1 of DU1 is connected, and the port 7 of the connected switch.
[0239] The topology information includes the connection relationship between the first communication device and the second communication device. For example, as shown in Figure 1, the first communication device is a DU and the second communication device is RU1. The connection relationship between the DU and RU1 includes: Port 1 of the DU is connected to Port 1 of RU1 through RU2, and Port 2 of the DU is connected to Port 2 of RU1 through RU3. For another example, as shown in Figure 2, the first communication device is a DU and the second communication device is RU1. The connection relationship between the DU and RU1 includes: One port of DU1 is connected to Port 1 of RU1 through RU2 and a switch, and one port of DU1 is connected to Port 2 of RU1 through RU3 and a switch.
[0240] It should be noted that the above steps 1101 to 1102 are described using the example of a process in which a first communication device determines topology information based on the port information of the first communication device and the port information of a second communication device. In actual applications, the eCPRI network may further include more communication devices, and the first communication device may determine topology information based on the port information of the more communication devices, but this application does not limit this.
[0241] Optionally, the embodiment shown in FIG11 further includes steps 1101a to 1101b. Steps 1101a to 1101b may be performed before step 1102.
[0242] 1101a. The first communication device receives port information from a communication device directly connected to the first communication device through a point-to-point topology discovery protocol.
[0243] Optionally, the port information of the communication device directly connected to the first communication device includes at least one of the following: the identification and type of the communication device directly connected to the first communication device, and the port in the communication device directly connected to the first communication device that is connected to the first communication device. For example, as shown in Figure 1, the first communication device is a DU, and the communication devices directly connected to the first communication device include RU2 and RU3. The DU receives the port information corresponding to each of RU2 and RU3 through the point-to-point topology discovery protocol. For example, the port information of RU2 includes the identification of RU2, the type of RU2 is RU, and the port 2 in RU2 is connected to the port 1 of the DU. The port information of RU3 includes the identification of RU3, the type of RU3 is RU, and the port 2 in RU3 is connected to the port 2 of the DU.
[0244] Optionally, the communication device directly connected to the first communication device includes a switch. For example, as shown in FIG2 , the port information of the switch includes: an identifier of the switch and a port connected to port 7 of the switch to DU1.
[0245] 1101b. The first communication device determines the port information of the first communication device according to the port information of the communication device directly connected to the first communication device.
[0246] For example, as shown in Figure 1, the first communication device is a DU, and the communication devices directly connected to the first communication device include RU2 and RU3. The DU receives port information corresponding to RU2 and RU3 respectively through the point-to-point topology discovery protocol. The DU determines its own port information based on the port information corresponding to RU2 and RU3 respectively. The DU's port information includes the DU's identifier, the DU's type (DU), the identifier of RU2 to which the DU's port 1 is connected, the port 1 of RU2 to which it is connected, the identifier of RU3 to which the DU's port 2 is connected, and the port 1 of RU3 to which it is connected.
[0247] For another example, as shown in Figure 2, the first communication device is DU1. The communication device directly connected to the first communication device includes a switch. DU1 receives port information from the switch via the peer-to-peer topology discovery protocol. DU1 determines its own port information based on the switch's port information. The port information for DU1 includes its identifier, its type (DU), and one of its ports connected to port 7 on the switch.
[0248] Optionally, the eCPRI network may further include more communication devices, and the first communication device may determine the topology information based on the port information of the more communication devices, which is not specifically limited in this application. Optionally, the embodiment shown in FIG11 further includes step 1101c. Step 1101c may be performed before step 1102.
[0249] For the first communication device, the first communication device does not broadcast its port information.
[0250] 1101c. The third communication device sends its port information to the first communication device. Correspondingly, the first communication device receives the port information from the third communication device.
[0251] Optionally, the above step 1102 specifically includes: the first communication device determines topology information according to the port information of the first communication device, the port information of the second communication device, and the port information of the third communication device.
[0252] It should be noted that there is no fixed order for executing steps 1101a-1101b and step 1101c. Steps 1101a-1101b may be executed first, followed by step 1101c; or, step 1101c may be executed first, followed by steps 1101a-1101b; or, depending on the circumstances, steps 1101a-1101b and step 1101c may be executed simultaneously. This application does not impose any specific restrictions.
[0253] Optionally, the embodiment shown in FIG11 further includes steps 1103 and 1104. Steps 1103 and 1104 may be performed after step 1102.
[0254] 1103. The second communication device sends updated port information of the second communication device to the first communication device. Correspondingly, the first communication device receives the updated port information from the second communication device.
[0255] The updated port information is the updated port information of the second communication device. For example, the second communication device can receive the port information of the communication device directly connected to the second communication device through the point-to-point topology discovery protocol. When the port information of the communication device directly connected to the second communication device changes, the second communication device can determine the updated port information. For example, as shown in Figure 12, the second communication device is RU1, and RU1 determines through the point-to-point topology discovery protocol that the connection between port 1 of RU1 and port 1 of RU2 is disconnected, then RU1 can determine the updated port information of RU1. The updated port information includes the identifier of RU1, the type of RU1, the identifier of RU3 to which RU1 is connected, and the connection between port 2 of RU1 and port 1 of RU3.
[0256] 1104. The first communication device updates topology information according to the updated port information.
[0257] For example, as shown in Figure 12, the first communication device is a DU and the second communication device is RU1. The DU can determine that RU1 is disconnected from RU2. The topology information includes the connection relationship between the DU and RU1, and the connection relationship between the DU and RU1 includes: Port 2 of the DU is connected to Port 2 of RU1 through RU3.
[0258] It should be noted that the above steps 1103 to 1104 are described using the example of a process in which the second communication device updates its port information. In actual applications, the eCPRI network may further include more communication devices. When the port information of the more communication devices is updated, the first communication device may further determine the topology information based on the updated port information of the more communication devices. This application does not limit this.
[0259] In this embodiment of the present application, a first communication device receives port information from a second communication device. The first communication device then determines topology information based on the port information of the first communication device and the port information of the second communication device. This facilitates communication between the first and second communication devices based on the topology information. Furthermore, the first communication device can update the topology information based on actual conditions to prevent communication failures between the first and second communication devices when a link fails, thereby improving communication performance.
[0260] It should be noted that Figure 12 above uses the example of a first communication device and a second communication device that are not directly connected. In actual applications, when the first communication device is directly connected to other communication devices in the eCPRI network, the first communication device can obtain the port information of each communication device directly connected to the first communication device through the topology discovery protocol and determine the topology information based on the port information of each communication device directly connected to the first communication device. This application does not limit this.
[0261] The following describes the process of determining the topology information of the eCPRI network by the third communication device in conjunction with the embodiment shown in Figure 13. Figure 13 is a schematic diagram of another embodiment of the communication method of the embodiment of the present application. Referring to Figure 13, the method includes:
[0262] 1301. A third communication device sends its port information to a second communication device. Correspondingly, the second communication device receives the port information from the third communication device.
[0263] 1302. The second communication device determines topology information according to the port information of the second communication device and the port information of the third communication device.
[0264] Steps 1301 to 1302 are similar to steps 1101 to 1102 in the embodiment shown in FIG. 11 . For details, please refer to the relevant introduction of steps 1101 to 1102 in the embodiment shown in FIG. 11 .
[0265] Optionally, the embodiment shown in FIG13 further includes steps 1302a to 1302b. Steps 1302a to 1302b may be performed before step 1302.
[0266] 1302a. The second communication device receives port information from a communication device directly connected to the second communication device through a point-to-point topology discovery protocol.
[0267] 1302b. The second communication device determines the port information of the second communication device according to the port information of the communication device directly connected to the second communication device.
[0268] Steps 1302a to 1302b are similar to steps 1101a to 1101b in the embodiment shown in FIG. 11 . For details, please refer to the relevant introduction of steps 1101a to 1101b in the embodiment shown in FIG. 11 .
[0269] Optionally, the embodiment shown in FIG13 further includes steps 1303 to 1304 , and steps 1303 to 1304 may be performed after step 1302 .
[0270] 1303. The third communication device sends updated port information of the third communication device to the second communication device. Correspondingly, the second communication device receives the updated port information from the third communication device.
[0271] 1304. The second communication device updates topology information according to the updated port information.
[0272] Steps 1303 to 1304 are similar to steps 1103 to 1104 in the embodiment shown in FIG. 11 . For details, please refer to the relevant introduction of steps 1103 to 1104 in the embodiment shown in FIG. 11 .
[0273] It should be noted that Figure 13 above uses the example of two communication devices that are not directly connected to the second communication device and the third communication device. In actual applications, when the second communication device is directly connected to other communication devices in the eCPRI network, the second communication device can obtain the port information of each communication device directly connected to the second communication device through the topology discovery protocol and determine the topology information based on the port information of each communication device directly connected to the second communication device. This application does not limit this.
[0274] It's important to note that in an eCPRI network, clocks between RUs must be synchronized. In one possible implementation, the RU's port closest to the DU is designated as a secondary port by default, and the other port of the RU is designated as the primary port. The RU transmits its clock to its neighboring RU via the primary port. If both ports of two directly connected RUs are primary ports, clock transmission between the two RUs is not performed.
[0275] It should be noted that the above-mentioned embodiments can be combined with each other or implemented separately, and this application does not limit them. For example, the embodiment shown in Figure 3 above can be combined with the embodiment shown in Figure 8. Optionally, steps 801 to 802 in the embodiment shown in Figure 8 above can be performed after steps 301 to 303 in the embodiment shown in Figure 3 above. For another example, the embodiment shown in Figure 3 above can be combined with the embodiment shown in Figure 11. The first communication device can determine the topology information through the embodiment shown in Figure 11 above, and then execute the embodiment shown in Figure 3. For another example, the embodiment shown in Figure 8 above can be combined with the embodiment shown in Figure 11. The first communication device can determine the topology information through the embodiment shown in Figure 11 above, and then execute the embodiment shown in Figure 8. For another example, the embodiment shown in Figure 5 above can be combined with the embodiment shown in Figure 11. The first communication device can determine the topology information through the embodiment shown in Figure 11 above, and then execute the embodiment shown in Figure 11.
[0276] The communication device provided in the embodiments of the present application is described below.
[0277] FIG14 is a schematic diagram of the structure of a communication device according to an embodiment of the present application. Referring to FIG14 , the communication device 1400 can be used to execute the process performed by the first communication device in the embodiment shown in FIG3 , or to execute the process performed by the first communication device in the embodiment shown in FIG5 , or to execute the process performed by the first communication device in the embodiment shown in FIG7 , or to execute the process performed by the first communication device or the second communication device in the embodiment shown in FIG10 , or to execute the process performed by the first communication device in the embodiment shown in FIG11 , or to execute the process performed by the second communication device in the embodiment shown in FIG13 . For details, please refer to the relevant description in the above method embodiments.
[0278] The communication device 1400 includes a transceiver module 1401 and a processing module 1402 .
[0279] The processing module 1402 is used to process data. The transceiver module 1401 can implement corresponding communication functions. The transceiver module 1401 can also be called a communication interface or a communication module.
[0280] Optionally, the communication device 1400 may further include a storage module, which may be used to store instructions and / or data. The processing module 1402 may read the instructions and / or data in the storage module to enable the communication device to implement the aforementioned method embodiment.
[0281] In one possible implementation, the communication device 1400 can be used to perform the actions performed by the first communication device in the embodiments shown in Figures 3, 5, 7, 10, and 11 above. The communication device 1400 can be a first communication device or a component configurable on the first communication device. The processing module 1402 is used to perform processing-related operations on the first communication device side in the embodiments shown in Figures 3, 5, 7, 10, and 11 above. The transceiver module 1401 is used to perform reception-related operations on the first communication device side in the embodiments shown in Figures 3, 5, 7, 10, and 11 above.
[0282] For example, the communication device 1400 is used to perform the following scheme:
[0283] The processing module 1402 is used to determine the offload bandwidth ratio of each port of the second communication device; the transceiver module 1401 is used to send first indication information, the first indication information includes the offload bandwidth ratio of each port; and receive offload data from the second communication device.
[0284] For another example, the communication device 1400 is configured to execute the following solution:
[0285] The processing module 1402 is used to determine the offload bandwidth ratio of each port of the second communication device; the transceiver module 1401 is used to send offload data to the second communication device according to the offload bandwidth ratio of each port of the second communication device.
[0286] For another example, the communication device 1400 is configured to execute the following solution:
[0287] The processing module 1402 is used to determine the split bandwidth ratio of each port of the second communication device; the transceiver module 1401 is used to send the split bandwidth ratio of each port to the switch, and the communication device is directly connected to the switch.
[0288] For another example, the communication device 1400 is configured to execute the following solution:
[0289] The transceiver module 1401 is used to send first information to the second communication device, where the first information is used to indicate the first port of the second communication device, and the first port is the port in the second communication device selected by the communication device 1400 for communicating with the communication device 1400; the processing module 1402 is used to communicate with the second communication device through the communication address of the first port and the communication address of the second port in the communication device 1400.
[0290] For another example, the communication device 1400 is configured to execute the following solution:
[0291] The transceiver module 1401 is used to receive the port information of the second communication device; the processing module 1402 is used to determine the topology information according to the port information of the communication device 1400 and the port information of the second communication device, and the topology information includes the connection relationship between the communication device 1400 and the second communication device.
[0292] In another possible implementation, the communication device 1400 can be used to perform the actions performed by the second communication device in the embodiments shown in Figures 10 and 13 above. The communication device 1400 can be a second communication device or a component configurable on the second communication device. The processing module 702 is used to perform the processing-related operations on the second communication device side in the embodiments shown in Figures 10 and 13 above. The transceiver module 1401 is used to perform the reception-related operations on the second communication device side in the embodiments shown in Figures 10 and 13 above.
[0293] For example, the communication device 1400 is used to perform the following scheme:
[0294] The transceiver module 1401 is used to receive first information from a first communication device, where the first information is used to indicate a first port of the communication device 1400, where the first port is a port in the communication device 1400 selected by the first communication device for communicating with the first communication device; the processing module 1402 is used to communicate with the first communication device via the communication address of the first port and the communication address of the second port in the first communication device.
[0295] For another example, the communication device 1400 is configured to execute the following solution:
[0296] The transceiver module 1401 is used to receive the port information of the third communication device; the processing module 1402 is used to determine the topology information based on the port information of the communication device 1400 and the port information of the third communication device, and the topology information includes the connection relationship between the communication device 1400 and the third communication device.
[0297] It should be noted that the communication device 1400 may include a sending module but not a receiving module. Alternatively, the communication device 1400 may include a receiving module but not a sending module. The specific implementation depends on whether the above solution executed by the communication device 1400 includes a sending action and a receiving action.
[0298] Optionally, the communication device 1400 is configured to execute the actions executed by the first communication device or the second communication device in the above-mentioned related embodiments. Detailed descriptions of the above-mentioned related embodiments may be referred to, and will not be elaborated here.
[0299] It should be understood that the specific process of each module executing the above corresponding process has been described in detail in the above method embodiment, and for the sake of brevity, it will not be repeated here.
[0300] The processing module 1402 in the above embodiment can be implemented by at least one processor or processor-related circuits. The transceiver module 1401 can be implemented by a transceiver or transceiver-related circuits. The transceiver module 1401 can also be referred to as a communication module or communication interface. The storage module can be implemented by at least one memory.
[0301] Figure 15 is another schematic diagram of the structure of a communication device according to an embodiment of the present application. Referring to Figure 15 , communication device 1500 can be used to execute the process performed by the second communication device in the embodiment shown in Figure 3 , or to execute the process performed by the switch in the embodiment shown in Figure 7 . For details, please refer to the relevant description in the above method embodiments.
[0302] The communication device 1500 includes a transceiver module 1501. Optionally, the communication device 1500 also includes a processing module 1502.
[0303] The processing module 1502 is used to perform data processing. The transceiver module 1501 can implement corresponding communication functions. The transceiver module 1501 can also be called a communication interface or a communication module.
[0304] Optionally, the communication device 1500 may further include a storage module, which may be used to store instructions and / or data. The processing module 1502 may read the instructions and / or data in the storage module to enable the communication device to implement the aforementioned method embodiment.
[0305] In one possible implementation, communication device 1500 may be configured to perform the actions performed by the second communication device in the embodiment shown in FIG. 3 above. Communication device 1500 may be a second communication device or a component configurable on a second communication device. Processing module 1502 is configured to perform processing-related operations on the second communication device in the embodiment shown in FIG. 3 above. Transceiver module 1501 is configured to perform reception-related operations on the second communication device in the embodiment shown in FIG. 3 above.
[0306] For example, the communication device 1500 is used to perform the following scheme:
[0307] The transceiver module 1501 is configured to receive first indication information including the split bandwidth ratio of each port of the communication apparatus 1500 ; and send split data to the first communication device according to the split bandwidth ratio of each port of the communication apparatus 1500 .
[0308] For another example, the communication device 1500 is used to execute the following solution:
[0309] The transceiver module 1501 is configured to receive the split bandwidth ratios of the ports of the second communication device from the first communication device; and send data of the second communication device from the first communication device to the second communication device according to the split bandwidth ratios of the ports of the second communication device.
[0310] It should be noted that the communication device 1500 may include a sending module but not a receiving module. Alternatively, the communication device 1500 may include a receiving module but not a sending module. The specific implementation depends on whether the above solution executed by the communication device 1500 includes a sending action and a receiving action.
[0311] Optionally, the communication device 1500 is configured to execute the actions executed by the second communication device or switch in the above-mentioned related embodiments. For details, please refer to the relevant introduction in the above-mentioned related embodiments, which will not be elaborated here.
[0312] It should be understood that the specific process of each module executing the above corresponding process has been described in detail in the above method embodiment, and for the sake of brevity, it will not be repeated here.
[0313] The processing module 1502 in the above embodiment can be implemented by at least one processor or processor-related circuits. The transceiver module 1501 can be implemented by a transceiver or transceiver-related circuits. The transceiver module 1501 can also be referred to as a communication module or communication interface. The storage module can be implemented by at least one memory.
[0314] The present application also provides another communication device, and FIG16 is another structural diagram of the communication device according to an embodiment of the present application. Referring to FIG16 , the communication device 1600 includes a processor 1601 .
[0315] Optionally, the communication device 1600 further includes a memory 1602 .
[0316] Optionally, the communication device 1600 further includes a transceiver 1603 .
[0317] In a possible implementation, the processor 1601 , the memory 1602 , and the transceiver 1603 are connected via buses, and the memory 1602 stores computer instructions.
[0318] In one possible implementation, when the communication device 1600 includes a first communication device, or a component (for example, a chip), module or unit within the first communication device, the communication device 1600 can be used to execute the steps performed by the first communication device in the above method embodiment, and reference can be made to the relevant description in the above method embodiment.
[0319] In another possible implementation, when the communication device 1600 includes a second communication device, a second communication device or a switch, or a component (for example, a chip), a module or a unit within the second communication device, the second communication device or the switch, the communication device 1600 can be used to execute the steps performed by the second communication device, the second communication device or the switch in the above method embodiment, and reference can be made to the relevant description in the above method embodiment.
[0320] The present application also provides a communication device 1700, which can be a first communication device, a second communication device, or a third communication device, or a chip. The communication device 1700 can be used to perform the operations performed by the first communication device, the second communication device, or the third communication device in the above method embodiment.
[0321] FIG17 is another schematic diagram of the structure of a communication device according to an embodiment of the present application. The communication device 1700 includes a portion 1710. Optionally, the communication device 1700 also includes a portion 1720. Optionally, the communication device 1700 also includes a portion 1730.
[0322] Part 1710 is mainly used for baseband processing, controlling the communication device 1700, etc.; Part 1710 is usually the control center of the communication device 1700, which can usually be called a processor, and is used to control the base station communication device 1700 to perform the processing operations on the first communication device, the second communication device, or the third communication device side in the above method embodiment.
[0323] The 1720 section is primarily used to store computer program code and data.
[0324] Section 1730 is primarily used for receiving and transmitting RF signals and converting RF signals to baseband signals. Section 1730 can generally be referred to as a transceiver module, transceiver, transceiver circuit, or transceiver. The transceiver module in section 1730, which can also be referred to as a transceiver or transceiver, includes an antenna 1733 and a RF circuit (not shown in the figure), where the RF circuit is primarily used for RF processing. Optionally, the device used to implement the receiving function in section 1730 can be considered a receiver, and the device used to implement the transmitting function can be considered a transmitter. That is, section 1730 includes a receiver 1732 and a transmitter 1731. A receiver can also be referred to as a receiving module, a receiver, or a receiving circuit, and a transmitter can be referred to as a transmitting module, a transmitter, or a transmitting circuit.
[0325] Sections 1710 and 1720 may include one or more boards, each of which may include one or more processors and one or more memories. The processor is used to read and execute programs in the memory to implement baseband processing functions and control communication device 1700. If multiple boards are present, the boards may be interconnected to enhance processing capabilities. As an optional embodiment, multiple boards may share one or more processors, multiple boards may share one or more memories, or multiple boards may simultaneously share one or more processors.
[0326] For example, in one implementation, the transceiver module in section 1730 is used to execute the transceiver-related processes performed by the first communication device, the second communication device, or the third communication device in the above-mentioned method embodiment. The processor in section 1710 is used to execute the processing-related processes performed by the first communication device, the second communication device, or the third communication device in the above-mentioned method embodiment.
[0327] It should be understood that FIG17 is merely an example and not a limitation, and the above-mentioned communication device including a processor, a memory, and a transceiver may not rely on the structures shown in FIG14 , FIG15 or FIG17 .
[0328] When communication device 1700 is a chip, the chip includes a transceiver, a memory, and a processor. The transceiver may be an input / output circuit or a communication interface; the processor may be a processor, microprocessor, or integrated circuit integrated on the chip. In the above method embodiments, the transmission operation of the first, second, or third communication device can be understood as an output of the chip, and the reception operation of the first, second, or third communication device in the above method embodiments can be understood as an input of the chip.
[0329] An embodiment of the present application further provides a computer-readable storage medium storing computer instructions for implementing the method executed by the first communication device, the second communication device, the third communication device or the switch in the above method embodiment.
[0330] For example, when the computer program is executed by a computer, the computer can implement the method performed by the first communication device, the second communication device, the third communication device or the switch in the above method embodiment.
[0331] An embodiment of the present application further provides a computer program product comprising instructions, which, when executed by a computer, enables the computer to implement the method executed by the first communication device, the second communication device, the third communication device or the switch in the above method embodiment.
[0332] An embodiment of the present application further provides a communication system, comprising a first communication device and a second communication device, wherein the first communication device is configured to perform some or all of the operations performed by the first communication device in the above embodiment, and the second communication device is configured to perform some or all of the operations performed by the second communication device in the above embodiment. Optionally, the communication system further comprises a third communication device, configured to perform some or all of the operations performed by the third communication device in the above embodiment. Optionally, the communication system further comprises a switch, configured to perform some or all of the operations performed by the switch in the above embodiment.
[0333] An embodiment of the present application also provides a chip device, including a processor, for calling computer programs or computer instructions stored in the memory so that the processor executes the methods provided in the embodiments shown in Figures 3, 5, 7, 8, 10, 11 and 13 above.
[0334] In one possible implementation, the input of the chip device corresponds to the receiving operation in any one of the embodiments shown in Figures 3, 5, 7, 8, 10, 11 and 13 above, and the output of the chip device corresponds to the sending operation in any one of the embodiments shown in Figures 3, 5, 7, 8, 10, 11 and 13 above.
[0335] Optionally, the processor is coupled to the memory via an interface.
[0336] Optionally, the chip device further includes a memory, in which computer programs or computer instructions are stored.
[0337] The processor mentioned in any of the above may be a general-purpose central processing unit, a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the method provided in any of the embodiments shown in Figures 3, 5, 7, 8, 10, 11, and 13. The memory mentioned in any of the above may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM), etc.
[0338] Those skilled in the art can clearly understand that, for the sake of convenience and brevity of description, the explanation of the relevant contents and beneficial effects of any of the above-mentioned devices can refer to the corresponding method embodiments provided above, and will not be repeated here.
[0339] 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 the units is merely 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 interfaces, devices or units, which can be electrical, mechanical or other forms.
[0340] The units described as separate components may or may not be physically separate, and the 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.
[0341] 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.
[0342] 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 part that essentially contributes to the technical solution of the present application or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including 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 method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
[0343] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A communication method, characterized in that: The method is applied to a first communication device, and the method includes: Determining the split bandwidth ratio of each port of the second communication device; Sending first indication information, where the first indication information includes the split bandwidth ratio of each port; The offloaded data is received from the second communication device.
2. The method according to claim 1, characterized in that: The determining of the split bandwidth ratio of each port of the second communication device includes: Determine the split bandwidth ratio of each port according to one or more of the following: the service load of the second communication device, the connection relationship of the second communication device, the available bandwidth of each port in the first communication device, and the delay of different transmission paths from the second communication device to the first communication device; or The split bandwidth ratio of each port is determined according to one or more of the business load of the second communication device, the connection relationship of the second communication device, the available bandwidth of each port in the switch, and the delay of different transmission paths from the second communication device to the switch, and the switch is directly connected to the first communication device.
3. The method according to claim 2, characterized in that The method further comprises: The split bandwidth ratio of each port is also determined according to the service load of the third communication device and / or the connection relationship of the third communication device.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: An available bandwidth is sent, where the available bandwidth is an available bandwidth between the first communication device and the second communication device.
5. The method according to claim 4, characterized in that The method further comprises: Data is received from the second communication device via the available bandwidth.
6. The method according to any one of claims 1 to 5, characterized in that The receiving the split data from the second communication device includes: The split data from the second communication device is received through the third communication device.
7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: receiving port information of the second communication device; Topology information is determined according to the port information of the first communication device and the port information of the second communication device, where the topology information includes a connection relationship between the first communication device and the second communication device.
8. The method according to claim 7, characterized in that The method further comprises: receiving port information of a third communication device; The determining topology information according to the port information of the first communication device and the port information of the second communication device includes: The topology information is determined according to the port information of the first communication device, the port information of the second communication device and the port information of the third communication device, and the topology information includes the connection relationship between the first communication device and the second communication device and the third communication device respectively, and the connection relationship between the second communication device and the third communication device.
9. The method according to claim 7 or 8, characterized in that: The method further comprises: receiving updated port information of the second communication device, wherein the updated port information is updated port information of the second communication device; The topology information is updated according to the updated port information of the second communication device.
10. A communication method, characterized in that: The method is applied to a second communication device, and the method includes: receiving first indication information, where the first indication information includes a split bandwidth ratio of each port of the second communication device; The split data is sent to the first communication device according to the split bandwidth ratio of each port of the second communication device.
11. The method according to claim 10, characterized in that The method further comprises: An available bandwidth is received, where the available bandwidth is an available bandwidth between the first communication device and the second communication device.
12. The method according to claim 11, characterized in that The method further comprises: Data is sent to the first communication device via the available bandwidth.
13. The method according to any one of claims 10 to 12, characterized in that The method further comprises: The port information of the second communication device is sent.
14. The method according to any one of claims 10 to 13, characterized in that The sending the split data to the first communication device according to the split bandwidth ratio of each port of the second communication device includes: The split data is sent to the first communication device through the third communication device according to the split bandwidth ratio of each port of the second communication device.
15. The method according to claim 14, characterized in that The method further comprises: Receiving port information of the third communication device; Topology information is determined according to the port information of the second communication device and the port information of the third communication device, where the topology information includes a connection relationship between the second communication device and the third communication device.
16. A communication device, characterized in that: The communication device includes a transceiver module and a processing module, the transceiver module is used to perform the transceiver operation of the method as claimed in any one of claims 1 to 9, and the processing module is used to perform the processing operation of the method as claimed in any one of claims 1 to 9.
17. A communication device, characterized in that: The communication device comprises a transceiver module, and the transceiver module is used to perform the transceiver operation of the method as claimed in any one of claims 10 to 15.
18. The communication device according to claim 17, characterized in that: The communication device further comprises a processing module, wherein the processing module is configured to execute the processing operation of the method according to any one of claims 10 to 15.
19. A communication device, characterized in that: The communication device comprises a processor, wherein the processor is configured to execute a computer program or computer instructions in a memory to perform the method according to any one of claims 1 to 15.
20. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a communication device, the communication device executes the method according to any one of claims 1 to 15.
21. A communication system, characterized in that: The communication system comprises a first communication device and a second communication device; the first communication device is used to execute the method according to any one of claims 1 to 9, and the second communication device is used to execute the method according to any one of claims 10 to 15.
Citation Information
Patent Citations
Communication method and related device
CN120151951A
Management of uplink transmission in o-ran, transport path group
US20220232419A1
Multi-access session management method, apparatus and system
WO2022143618A1
Control device and control method, and device and processing method
WO2022239295A1