CN-122028137-A - Data transmission method, network device, storage medium and computer program product
Abstract
Embodiments of the present disclosure provide a data transmission method, a network device, a storage medium, and a computer program product. At the network layer, a neighbor discovery protocol carrying SRv Locator and/or SRv Capability of the first network device is sent. So that the second network device may obtain SRv < 6 > Locator and/or SRv < 6 > Capability of the first network device. In addition, at the link layer, by sending a link layer discovery protocol carrying SRv Locator and/or SRv Capability of the first network device, the second network device may obtain SRv Locator and/or SRv6Capability of the first network device according to the link layer discovery protocol. Thus, the dynamic release of the route information of the first network device is realized by using two mutually non-conflicting protocols.
Inventors
- GONG LIYAN
- CHENG WEIQIANG
- HAN RUIBO
Assignees
- 中国移动通信有限公司研究院
- 中国移动通信集团有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20241111
Claims (15)
- 1. A data transmission method applied to a first network device, the method comprising: transmitting the first information through a first network protocol; The first information at least carries network address information and/or network performance information of the first network device, and the first network protocol at least comprises a network layer protocol and/or a link layer protocol.
- 2. The method according to claim 1, characterized in that it comprises: The network layer protocol includes a neighbor discovery protocol, and The link layer protocol includes a link layer discovery protocol.
- 3. The method according to claim 2, characterized by comprising: the network address information of the first network device comprises a positioning identifier SRv Locator of the first network device, and The network performance information of the first network device includes Capability information SRv Capability of the first network device.
- 4. The method as recited in claim 1, further comprising: The network address information and/or the network performance information of the first network device are configured.
- 5. The method of claim 3, wherein SRv Locator of the first network device comprises: One or more of a type identifier of SRv Locator of the first network device, a length of SRv Locator of the first network device, a metric value of SRv Locator of the first network device, a positioning length of SRv Locator of the first network device, and a variable length identifier of SRv Locator of the first network device.
- 6. A method according to claim 3, wherein SRv capabilities of the first network device comprise: one or more of a type identification of SRv capabilities of the first network device, a length of SRv capabilities of the first network device.
- 7. A data transmission method applied to a second network device, the method comprising: receiving first information through a first network protocol; the first information at least carries network address information and/or network performance information of the first network equipment, and the first network protocol at least comprises a network layer protocol and/or a link layer protocol.
- 8. The method according to claim 7, comprising: The network layer protocol includes a neighbor discovery protocol, and The link layer protocol includes a link layer discovery protocol.
- 9. The method according to claim 8, comprising: the network address information of the first network device comprises a positioning identifier SRv Locator of the first network device, and The network performance information of the first network device includes Capability information SRv Capability of the first network device.
- 10. The method of claim 9, wherein SRv Locator of the first network device comprises: One or more of a type identifier of SRv Locator of the first network device, a length of SRv Locator of the first network device, a metric value of SRv Locator of the first network device, a positioning length of SRv Locator of the first network device, and a variable length identifier of SRv Locator of the first network device.
- 11. The method of claim 9, wherein the SRv capabilities of the first network device comprises: one or more of a type identification of SRv capabilities of the first network device, a length of SRv capabilities of the first network device.
- 12. The method as recited in claim 7, further comprising: And transmitting the first information to a third network device through a second network protocol so that the first information is transmitted to a fourth network device through the third network device.
- 13. A network device, comprising: a communication interface configured to perform wireless communication with a terminal device; a memory for storing computer readable instructions, and A processor for executing the computer readable instructions to cause the network device to perform the data transmission method of any one of claims 1 to 12.
- 14. A non-transitory computer readable storage medium storing computer readable instructions which, when executed by a processor, cause the processor to perform the data transmission method of any one of claims 1 to 12.
- 15. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the data transmission method according to any of claims 1 to 12.
Description
Data transmission method, network device, storage medium and computer program product Technical Field The present disclosure relates to the field of wireless communications technologies, and in particular, to a data transmission method, a network device, a storage medium, and a computer program product. Background In SRv's management domain, because of limited device capabilities of the host device, the host is often statically assigned SRv Locator, while the Locator of the host device is published to other devices by setting a static route on the access device. Once a change management and control system needs to modify the configuration, the network flexibility is poor, limiting the deployment of SRv. Disclosure of Invention The present disclosure provides a data transmission method, a network device, a storage medium, and a computer program product. The first information is sent via a network layer protocol and/or a link layer protocol. Wherein the first information comprises network address information and/or network performance information of the first network device. Thus, the purpose of dynamically publishing the information of the first network device can be achieved. In one aspect, the embodiment provides a data transmission method applied to first network equipment, which comprises the step of sending first information through a first network protocol, wherein the first information at least carries network address information and/or network performance information of the first network equipment, and the first network protocol at least comprises a network layer protocol and/or a link layer protocol. In an embodiment of the disclosure, the data transmission method comprises the steps that a network layer protocol comprises a neighbor discovery protocol, and a link layer protocol comprises a link layer discovery protocol. In the embodiment of the disclosure, the data transmission method comprises the steps that the network address information of the first network device comprises a positioning identifier SRv Locator of the first network device, and the network performance information of the first network device comprises Capability information SRv Capability of the first network device. In the embodiment of the disclosure, the data transmission method further comprises the step of configuring the network address information and/or the network performance information of the first network device. In the embodiment of the disclosure, SRv6 _6_locator of the first network device comprises one or more of SRv6 _locator type identification of the first network device, SRv6 _locator length of the first network device, SRv6 _locator metric value of the first network device, SRv6 _locator positioning length of the first network device, and SRv6 _locator variable length identification of the first network device. In the embodiment of the disclosure, SRv capabilities of the first network device include one or more of a type identifier of SRv capabilities of the first network device and a length of SRv capabilities of the first network device. On the other hand, the embodiment of the disclosure provides a data transmission method applied to second network equipment, which comprises the steps of receiving first information through a first network protocol, wherein the first information at least carries network address information and/or network performance information of the first network equipment, and the first network protocol at least comprises a network layer protocol and/or a link layer protocol. In an embodiment of the disclosure, the data transmission method comprises the steps that a network layer protocol comprises a neighbor discovery protocol, and a link layer protocol comprises a link layer discovery protocol. In the embodiment of the disclosure, the data transmission method comprises the steps that the network address information of the first network device comprises a positioning identifier SRv Locator of the first network device, and the network performance information of the first network device comprises Capability information SRv Capability of the first network device. In the embodiment of the disclosure, SRv6 _6_locator of the first network device comprises one or more of SRv6 _locator type identification of the first network device, SRv6 _locator length of the first network device, SRv6 _locator metric value of the first network device, SRv6 _locator positioning length of the first network device, and SRv6 _locator variable length identification of the first network device. In the embodiment of the disclosure, SRv capabilities of the first network device include one or more of a type identifier of SRv capabilities of the first network device and a length of SRv capabilities of the first network device. In an embodiment of the disclosure, the data transmission method further includes transmitting the first information to the third network device through the second network protocol so that the fi