Data transmission method, network device, storage medium, and computer program product
By dynamically publishing the Locator and capability information of host devices using network layer and link layer protocols within the SRv6 management domain, the problem of inflexible network deployment in existing technologies is solved, and more efficient SRv6 deployment is achieved.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- CHINA MOBILE COMM LTD RES INST
- Filing Date
- 2025-10-24
- Publication Date
- 2026-05-15
AI Technical Summary
Within the SRv6 management domain, due to the limited capabilities of host devices, the existing host locator allocation method is static and inflexible, resulting in poor network deployment flexibility and limiting the deployment of SRv6.
By sending information carrying network address and network performance information through network layer and link layer protocols, the Locator and capability information of host devices can be dynamically published. Information exchange is carried out using neighbor discovery protocol and link layer discovery protocol to ensure the accuracy and timeliness of information.
It enables dynamic publishing of host device information, enhances the flexibility of network deployment, and improves the dynamic deployment capability of SRv6.
Smart Images

Figure CN2025129807_15052026_PF_FP_ABST
Abstract
Description
A data transmission method, network device, storage medium, and computer program product.
[0001] Cross-reference to related applications
[0002] This disclosure claims priority to Chinese Patent Application No. 202411602556.8, filed in China on November 11, 2024, the entire contents of which are incorporated herein by reference. Technical Field
[0003] This disclosure relates to the field of wireless communication technology, and in particular to a data transmission method, network device, storage medium, and computer program product. Background Technology
[0004] Within the Segment Routing Version 6 (SRv6) management domain, due to the limited capabilities of host devices, SRv6 Locators are often statically assigned to hosts, and static routes are configured on access devices to advertise the host devices' Locators to other devices. This approach requires the management system to modify its configuration whenever there are changes, resulting in poor network flexibility and limiting SRv6 deployment. Summary of the Invention
[0005] This disclosure provides a data transmission method, a network device, a storage medium, and a computer program product. First information is transmitted via network layer protocols and / or data link layer protocols. The first information includes network address information and / or network performance information of the first network device. This enables the dynamic dissemination of information from the first network device.
[0006] In one aspect, this embodiment provides a data transmission method applied to a first network device, comprising: sending first information through a first network protocol; wherein the first information carries at least network address information and / or network performance information of the first network device, and the first network protocol includes at least a network layer protocol and / or a link layer protocol.
[0007] In this embodiment of the disclosure, the network layer protocol includes a neighbor discovery protocol; and the link layer protocol includes a link layer discovery protocol.
[0008] In this embodiment of the disclosure, the network address information of the first network device includes the location identifier SRv6 Locator of the first network device; and the network performance information of the first network device includes the capability information SRv6 Capability of the first network device.
[0009] In this embodiment of the disclosure, the data transmission method further includes: configuring network address information and / or network performance information of the first network device.
[0010] In this embodiment of the disclosure, the SRv6 Locator of the first network device includes one or more of the following: a type identifier of the SRv6 Locator of the first network device, a length of the SRv6 Locator of the first network device, a metric value of the SRv6 Locator of the first network device, a positioning length of the SRv6 Locator of the first network device, and a variable length identifier of the SRv6 Locator of the first network device.
[0011] In this embodiment of the disclosure, the SRv6 Capability of the first network device includes one or more of the following: the type identifier of the SRv6 Capability of the first network device and the length of the SRv6 Capability of the first network device.
[0012] On the other hand, embodiments of this disclosure provide a data transmission method applied to a second network device, the method comprising: receiving first information through a first network protocol; wherein the first information carries at least network address information and / or network performance information of the first network device, and the first network protocol includes at least a network layer protocol and / or a link layer protocol.
[0013] In this embodiment of the disclosure, the network layer protocol includes a neighbor discovery protocol; and the link layer protocol includes a link layer discovery protocol.
[0014] In this embodiment of the disclosure, the network address information of the first network device includes the location identifier SRv6 Locator of the first network device; and the network performance information of the first network device includes the capability information SRv6 Capability of the first network device.
[0015] In this embodiment of the disclosure, the SRv6 Locator of the first network device includes one or more of the following: a type identifier of the SRv6 Locator of the first network device, a length of the SRv6 Locator of the first network device, a metric value of the SRv6 Locator of the first network device, a positioning length of the SRv6 Locator of the first network device, and a variable length identifier of the SRv6 Locator of the first network device.
[0016] In this embodiment of the disclosure, the SRv6 Capability of the first network device includes one or more of the following: the type identifier of the SRv6 Capability of the first network device and the length of the SRv6 Capability of the first network device.
[0017] In this embodiment of the disclosure, the data transmission method further includes: sending first information to a third network device via a second network protocol, so that the first information is sent to a fourth network device via the third network device.
[0018] On the other hand, embodiments of this disclosure provide a network device, including: 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, causing the network device to perform a data transmission method.
[0019] In another aspect, embodiments of this disclosure provide a non-transitory computer-readable storage medium for storing computer-readable instructions that, when executed by a processor, cause the processor to perform a data transfer method.
[0020] In another aspect, embodiments of this disclosure provide a computer program product, including a computer program, which, when executed by a processor, implements a data transmission method.
[0021] This disclosure provides a data transmission method, network device, storage medium, and computer program product. At the network layer, a neighbor discovery protocol carrying the SRv6 Locator and / or SRv6 Capability of a first network device is sent. A second network device can then receive this neighbor discovery protocol and obtain the SRv6 Locator and / or SRv6 Capability of the first network device. Furthermore, at the link layer, a link layer discovery protocol carrying the SRv6 Locator and / or SRv6 Capability of the first network device is sent, enabling the second network device to obtain the SRv6 Locator and / or SRv6 Capability of the first network device according to the link layer discovery protocol. Thus, by utilizing two non-conflicting protocols, the dynamic publication of routing information of the first network device is achieved, enhancing network deployment flexibility and improving the dynamic deployment capability of SRv6. Attached Figure Description
[0022] The above and other objects, features, and advantages of this disclosure will become more apparent from the more detailed description of the embodiments thereof in conjunction with the accompanying drawings. The drawings are provided to further illustrate the embodiments of this disclosure and form part of the specification. They are used together with the embodiments of this disclosure to explain the disclosure and do not constitute a limitation thereof. In the drawings, the same reference numerals generally represent the same components or steps.
[0023] Figure 1a schematically illustrates an environmental application diagram according to an embodiment of the present disclosure.
[0024] Figure 1b schematically illustrates another environmental application diagram according to an embodiment of the present disclosure.
[0025] Figure 2 schematically illustrates a flowchart of a data transmission method according to an embodiment of the present disclosure.
[0026] Figure 3 schematically illustrates a flowchart of another data transmission method according to an embodiment of the present disclosure.
[0027] Figure 4 schematically illustrates a flowchart of another data transmission method according to an embodiment of the present disclosure.
[0028] Figure 5 schematically illustrates a block diagram of a network device according to an embodiment of the present disclosure.
[0029] Figure 6 schematically illustrates a block diagram of a non-transitory computer-readable storage medium according to an embodiment of the present disclosure.
[0030] Figure 7 schematically illustrates a block diagram of a computer program product according to an embodiment of the present disclosure. Detailed Implementation
[0031] To make the objectives, technical solutions, and advantages of this disclosure more apparent, exemplary embodiments according to this disclosure will now be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this disclosure, and not all embodiments of this disclosure. It should be understood that this disclosure is not limited to the exemplary embodiments described herein.
[0032] Figure 1a schematically illustrates an environmental application diagram according to an embodiment of the present disclosure.
[0033] As shown in Figure 1a, the data center network 100 may include a first network device 101 and a second network device 102. The first network device 101 and the second network device 102 can perform real-time data transmission.
[0034] The first network device 101 can generate data and send it to the second network device 102. The first network device 101 can also receive data, such as data sent by the second network device 102. The first network device 101 can include any type of electronic device, such as mobile devices, servers, routers, tablets, laptops, workstations, virtual reality devices, gaming devices, set-top boxes, digital streaming media devices, vehicle terminals, smart TVs, etc. No limitations are imposed.
[0035] The second network device 102 can generate data and send it to the first network device 101. The second network device 102 can also receive data, such as data sent by the first network device 101. The second network device 102 can include any type of electronic device, such as mobile devices, servers, routers, tablets, laptops, workstations, virtual reality devices, gaming devices, set-top boxes, digital streaming media devices, vehicle terminals, smart TVs, etc. No limitations are imposed.
[0036] In some embodiments, the first network device 101 can send data information to the second network device 102 via relevant protocols. For example, the first network device 101 can send a neighbor request message to the second network device 102 according to a neighbor discovery protocol. The second network device 102 can receive the neighbor request message and send a neighbor advertisement message in response. The first network device 101 can receive the neighbor advertisement message. Thus, information communication between the first network device 101 and the second network device 102 can be realized.
[0037] Figure 1b schematically illustrates another environmental application diagram according to an embodiment of the present disclosure.
[0038] As shown in Figure 1b, it includes Host device 103, Access device 104, Spin device 105, and Core device 106.
[0039] Host device 103 may be configured with a location identifier (SRv6 Locator) and / or capability information (SRv6 Capability). Access device 104 may also be configured with an SRv6 Locator and / or SRv6 Capability. In some embodiments, Host device 103 and Access device 104 may transmit SRv6 Locators and / or SRv6 Capabilities to each other via a first network protocol, so that the other can obtain its own SRv6 Locator and / or SRv6 Capability.
[0040] In some embodiments, Spin device 105 can learn the SRv6 Locator and / or SRv6 Capability of Host device 103 via Access device 104 through Interior Gateway Protocol (IGP). Core device 106 can learn the SRv6 Locator and / or SRv6 Capability of Host device 103 through Border Gateway Protocol (BGP). This achieves the effect of dynamically publishing the routing information of Host device 103 throughout the network.
[0041] Figure 2 schematically illustrates a flowchart of a data transmission method according to an embodiment of the present disclosure.
[0042] As shown in Figure 2, the data transmission method of this embodiment is applied to a first network device and includes step S201:
[0043] S201. Send first information through a first network protocol; wherein the first information carries at least network address information and / or network performance information of the first network device, and the first network protocol includes at least a network layer protocol and / or a link layer protocol.
[0044] In this embodiment of the disclosure, the first network device can send the first information at the link layer via a link protocol, and / or at the network layer via a network layer protocol. Therefore, the first information can be sent simultaneously or separately according to existing network deployment protocols, thereby ensuring the timely and dynamic publication of the first network device's network address information and / or network performance information.
[0045] In this embodiment of the disclosure, the first information includes the network address information of the first network device. The network address information can be a unique identifier for the first network device across the entire network. This network address information allows for accurate location of the first network device within the network. Alternatively, the network address information can be routing information for the first network device. The first network device can use this routing information to guide the routing and forwarding of data packets within the network.
[0046] In this embodiment of the disclosure, the first information includes network performance information of the first network device. This network performance information can be used to indicate the device functions of the first network device. For example, it can identify the SRv6 capability supported by the first network device. Through the network performance information, the first network device can indicate to other devices in the network whether it supports SRv6 technology and the specific SRv6 functionalities it supports.
[0047] In this embodiment of the disclosure, a first network device sends first information using network layer protocols and / or link layer protocols. This allows other network devices to obtain the network address information and / or network performance information of the first network device from the first information based on the network layer protocols and / or link layer protocols. Consequently, the network address information and / or network performance information of the first network device can be dynamically published to other network devices.
[0048] In this embodiment of the disclosure, the network layer protocol includes a neighbor discovery protocol; the link layer protocol includes a link layer discovery protocol.
[0049] In this embodiment, the first network device can send data information at the network layer according to a neighbor discovery protocol. The second network device can receive the data information sent by the first network device according to a neighbor discovery protocol. Furthermore, the first network device can also receive data information sent by other network devices according to a neighbor discovery protocol. For example, the first network device sends data information to the second network device according to the neighbor discovery protocol. After receiving the data information sent by the first network device via the neighbor discovery protocol, the second network device sends response data information to the first network device according to the neighbor discovery protocol. Further, the first network device can receive the response data information sent by the second network device.
[0050] Therefore, through the neighbor discovery protocol, the first and second network devices can exchange information. This allows them to publish their own network address information and / or network performance information in real time, while also dynamically receiving network address information and / or network performance information from other network devices, ensuring the accuracy and timeliness of the information.
[0051] In this embodiment, the first network device can also send data information at the link layer according to the link layer discovery protocol. Furthermore, the first network device can also receive data information sent by the second network device through the link layer discovery protocol. Thus, the first network device can dynamically publish network address information and / or network performance information through the link layer discovery protocol.
[0052] Through the embodiments of this disclosure, the first network device and the second network device can communicate data at the network layer and / or link layer using corresponding protocols. The two different layer neighbor discovery protocols and link layer discovery protocols do not conflict with each other. This allows the network device to choose to discover the two protocols simultaneously or separately based on existing deployed protocols. Consequently, the network address information and / or network performance information of the network device can be published through multiple channels, thereby ensuring the dynamic publication of network address information and / or network performance information by the network device.
[0053] In this embodiment of the disclosure, the neighbor discovery protocol may include a neighbor request message. The neighbor request message carries the network address information and / or network performance information of the first network device.
[0054] In this embodiment of the disclosure, a first network device may send a neighbor request message. The neighbor request message carries the network address information and / or network performance information of the first network device. A second network device may receive the neighbor request message sent by the first network device, thereby obtaining the network address information and / or network performance information of the first network device.
[0055] Furthermore, the second network device can send a neighbor advertisement message to the first network device based on a neighbor request message. This neighbor advertisement message may carry the network address information and / or network performance information of the second network device. The first network device can receive the neighbor advertisement message to obtain the network address information and / or network performance information of the second network device.
[0056] In some embodiments, the first network device may also receive neighbor request messages. For example, it may receive a neighbor request message sent by a second network device. The neighbor request message sent by the second network device may carry the network address information and / or network performance information of the second network device. Therefore, the first network device can obtain the network address information and / or network performance information of the second network device based on the neighbor request message.
[0057] In some embodiments, the first network device may also send a neighbor advertisement message in response to a neighbor request message sent by another network device, such as a second network device. The neighbor advertisement message may carry the network address information and / or network performance information of the first network device. This allows other network devices to obtain the network address information and / or network performance information of the first network device based on the neighbor advertisement message.
[0058] In this embodiment of the disclosure, the network address information of the first network device includes the location identifier SRv6 Locator of the first network device; and the network performance information of the first network device includes the capability information SRv6 Capability of the first network device.
[0059] In this embodiment of the disclosure, the SRv6 Locator of the first network device can be used to identify the first network device, as well as routing information for identifying the first network device. In some embodiments, different network devices have different SRv6 Locators, and different SRv6 Locators are used to identify different network devices.
[0060] The SRv6 Locator can also identify routing information for network devices. For example, a second network device obtains the SRv6 Locator of a first network device and, based on the first network device's SRv6 Locator, retrieves its routing information. Furthermore, it can update its own SRv6 Locator routing table based on the received routing information, ensuring the accuracy and timeliness of routing.
[0061] It is understandable that the first network device can also obtain the SRv6 Locator of the second network device, and obtain the routing information of the second network device based on the SRv6 Locator of the second network device.
[0062] In this embodiment of the disclosure, the SRv6 Capability of the first network device can be used to identify whether the first network device supports SRv6 and the specific functions of SRv6 supported.
[0063] In this embodiment of the disclosure, the SRv6 Locator and SRv6 Capability of the first network device are carried in the first network protocol. This first network protocol enables the first network device and the second network device to obtain each other's SRv6 Locator and SRv6 Capability. Therefore, dynamic publishing and timely updating of routing information can be achieved.
[0064] In this embodiment of the disclosure, network address information and / or network performance information of the first network device are configured.
[0065] In this embodiment of the disclosure, the SRv6 Locator and / or SRv6 Capability can be statically configured on the first network device. For example, the controller can assign the SRv6 Locator and / or SRv6 Capability to the host device via a network configuration protocol.
[0066] In this embodiment of the disclosure, the SRv6 Locator of the first network device includes one or more of the following: a type identifier of the SRv6 Locator of the first network device, a length of the SRv6 Locator of the first network device, a metric value of the SRv6 Locator of the first network device, a positioning length of the SRv6 Locator of the first network device, and a variable length identifier of the SRv6 Locator of the first network device.
[0067] In this embodiment of the disclosure, the SRv6 Locator includes a type identifier (Type), a length (Length), a metric (Metric), a location length (Locator Size, LOC Size), a variable length identifier (Locator), etc.
[0068] In this embodiment of the disclosure, Type is used to indicate the type of SRv6 Locator. The Type of the SRv6 Locator of the first network device can identify that the option information is SRv6 Locator information. In some embodiments, the specific value of the Type of the SRv6 Locator of the first network device can be assigned by the Internet Assigned Numbers Authority (IANA). In some embodiments, Type can occupy 8 bits.
[0069] In this embodiment of the disclosure, Length represents the total length of the SRv6 Locator. In some embodiments, Length may occupy 8 bits.
[0070] In this disclosure, the metric can be used to evaluate the quality of the SRv6 path. In some embodiments, the metric occupies 32 bits.
[0071] In this embodiment of the disclosure, LOC Size can be used to indicate the length of the portion of the SRv6 Locator used for positioning. In some embodiments, LOC Size occupies 8 bits.
[0072] In this embodiment of the disclosure, the Locator(variable) can be used to indicate the variable portion of the SRv6 Locator. For example, it can be used to identify the value of the SRv6 Locator.
[0073] In this embodiment of the disclosure, the SRv6 Capability of the first network device includes one or more of the following: the type identifier of the SRv6 Capability of the first network device and the length of the SRv6 Capability of the first network device.
[0074] In this embodiment of the disclosure, SRv6 Capability includes a type identifier (Type), a length (Length), etc.
[0075] In this embodiment of the disclosure, Type is used to indicate the type of SRv6 Capability. The Type of the SRv6 Capability of the first network device can identify that the option information is SRv6 Capability information. In some embodiments, the specific value of the Type of the SRv6 Capability of the first network device can be assigned by the Internet Assigned Numbers Authority (IANA). In some embodiments, Type can occupy 8 bits.
[0076] In this embodiment of the disclosure, Length represents the total length of the SRv6 Capability. In some embodiments, Length may occupy 8 bits.
[0077] Figure 3 schematically illustrates a flowchart of another data transmission method according to an embodiment of the present disclosure.
[0078] As shown in Figure 3, the data transmission method of this embodiment is applied to a second network device and includes step S301:
[0079] S301. Receive first information through a first network protocol; wherein the first information carries at least network address information and / or network performance information of the first network device, and the first network protocol includes at least a network layer protocol and / or a link layer protocol.
[0080] In this embodiment of the disclosure, the second network device can receive information from the first network device via a first network protocol.
[0081] In this embodiment of the disclosure, the second network device may receive the first information at the network layer via a network layer protocol, and / or at the link layer via a link layer protocol.
[0082] Through the embodiments of this disclosure, using a first network protocol, a second network device can obtain the network address information and / or network performance information of the first network device. This enables the dynamic publication of relevant information from the first network device.
[0083] In this embodiment of the disclosure, the second network device may also send second information via a second network protocol. The second information carries at least the network address information and / or network performance information of the second network device, and the second network protocol includes at least a network layer protocol and / or a link layer protocol.
[0084] In this embodiment of the disclosure, the second network device can send second information via a second network protocol. The first network device can receive the second information via the second network protocol and obtain the network address information and / or network performance information of the second network device from it.
[0085] In this embodiment of the disclosure, the second network device can send the second information at the network layer via a neighbor discovery protocol. And / or, the second network device can send the second information at the link layer via a link layer discovery protocol.
[0086] In this embodiment of the disclosure, the second network device can send a neighbor advertisement message via a neighbor discovery protocol. In some embodiments, the neighbor advertisement message includes the network address information and / or network performance information of the second network device. The first network device can receive the neighbor advertisement message and obtain the network address information and / or network performance information of the second network device from it.
[0087] In this embodiment of the disclosure, the network address information of the second network device includes the SRv6 Locator of the second network device. The network performance information of the second network device includes the SRv6 Capability of the second network device.
[0088] In this embodiment of the disclosure, the first network device may send a neighbor request message and / or a link layer discovery protocol, carrying its SRv6 Locator and SRv6 Capability. The second network device may receive the neighbor request message and / or link layer discovery protocol sent by the first network device and obtain its SRv6 Locator and SRv6 Capability from it.
[0089] The second network device can also send neighbor advertisement messages and / or link layer discovery protocols. It carries the second network device's SRv6 Locator and SRv6 Capability in the neighbor request message and / or link layer discovery protocol. The first network device can receive the neighbor advertisement message and / or link layer discovery protocol sent by the second network device and obtain the second network device's SRv6 Locator and SRv6 Capability from them.
[0090] In some embodiments, the second network device may also send a neighbor request message. The neighbor request message carries the second network device's SRv6 Locator and SRv6 Capability. It sends its own SRv6 Locator and SRv6 Capability to other devices via the neighbor request message.
[0091] Figure 4 schematically illustrates a flowchart of another data transmission method according to an embodiment of the present disclosure.
[0092] As shown in Figure 4, the data transmission method further includes step S401:
[0093] S401. Send the first information to the third network device through the second network protocol, so that the first information can be sent to the fourth network device via the third network device.
[0094] In this embodiment of the disclosure, the second network device sends the first information to the third network device via a second network protocol. The first information is then sent to the fourth network device via the third network device. Alternatively, the second network device can also send the first information to the fourth network device via the second network protocol.
[0095] In some embodiments, the second network protocol may be an interior gateway protocol, the third network device may be a backbone device, and the fourth network device may be a core device.
[0096] For example, after the second network device acquires the SRv6 Locator and SRv6 Capability of the first network device, the backbone devices can learn the SRv6 Locator and SRv6 Capability of the first network device through the Interior Gateway Protocol (IGP). The core devices can learn the SRv6 Locator and SRv6 Capability of the first network device through the Border Gateway Protocol (BGP). This allows the entire network to learn the SRv6 Locator and SRv6 Capability of the first network device.
[0097] In this embodiment of the disclosure, the third network device may also be a host device or an access device. The fourth network device may also be a host device or an access device. In this embodiment of the disclosure, the first network device may be a host device or an access device. The second network device may be a host device or an access device.
[0098] For example, the first network device, the second network device, the third network device, and the fourth network device can all be host devices. Then, the first network device can send first information to the second, third, and fourth network devices via the first network protocol. The second, third, and fourth network devices receive the information via the first network protocol and learn the first network device's SRv6 Locator and SRv6 Capability from it.
[0099] Furthermore, the second network device can also send second information to the first network device, the third network device, and the fourth network device via the first network protocol. The first, third, and fourth network devices can learn the SRv6 Locator and SRv6 Capability of the second network device based on the second information sent by the second network device.
[0100] Understandably, a host device can be a device connected to an access device in the network. For example, in an enterprise network, if a user terminal is connected to an access device through a switch, then both the user terminal and the switch can be considered host devices. Alternatively, if a user terminal is connected to a switch, then the user terminal can be a host device, and the switch can be an access device.
[0101] Figure 5 schematically illustrates a block diagram of a network device according to an embodiment of the present disclosure;
[0102] As shown in FIG5, the network device 500 of this embodiment includes a communication interface 501, a memory 502 and a processor 503.
[0103] Communication interface 501 is configured to perform wireless communication with a terminal device. Memory 502 is used to store computer-readable instructions. Processor 503 is used to execute the aforementioned computer-readable instructions, causing the network device to perform the aforementioned data transmission method.
[0104] Figure 6 schematically illustrates a block diagram of a non-transitory computer-readable storage medium according to an embodiment of the present disclosure;
[0105] As shown in FIG6, a non-transitory computer-readable storage medium 600 of this disclosure embodiment is used to store computer-readable instructions 601. When the computer-readable instructions 601 are executed by a processor, the processor performs the data transmission method as described above.
[0106] Figure 7 schematically illustrates a block diagram of a computer program product according to an embodiment of the present disclosure;
[0107] As shown in FIG7, a computer program product 700 according to an embodiment of the present disclosure includes a computer program 701, which implements the data transmission method described above when executed by a processor.
[0108] The above description, with reference to the accompanying drawings, illustrates a data transmission method, network device, storage medium, and computer program product according to embodiments of the present disclosure. The first network device transmits first information at the network layer via a network layer protocol. And / or, the first network device transmits first information at the link layer via a link layer protocol. This allows other network devices to learn the SRv6 Locator and SRv6 Capability of the first network device based on the first information. This enables dynamic publishing of information about the first network device, increasing the flexibility of network deployment.
[0109] The basic principles of this disclosure have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in this disclosure are merely examples and not limitations, and should not be considered as essential features of each embodiment of this disclosure. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the scope of this disclosure to the necessity of employing the aforementioned specific details for implementation.
[0110] The block diagrams of devices, apparatuses, devices, and systems disclosed herein are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, devices, and systems can be connected, arranged, and configured in any manner. Words such as “comprising,” “including,” “having,” etc., are open-ended terms meaning “including but not limited to,” and are used interchangeably with them. The terms “or” and “and” as used herein refer to the terms “and / or,” and are used interchangeably with them unless the context clearly indicates otherwise. The term “such as” as used herein refers to the phrase “such as but not limited to,” and is used interchangeably with it.
[0111] Additionally, as used herein, the “or” used in a list of items beginning with “at least one” indicates a separate list, such that a list of, for example, “at least one of A, B, or C” means A or B or C, or AB or AC or BC, or ABC (i.e., A and B and C). Furthermore, the word “exemplary” does not imply that the described example is preferred or better than other examples.
[0112] It should also be noted that in the systems and methods of this disclosure, the components or steps can be decomposed and / or recombined. These decompositions and / or recombinations should be considered as equivalent solutions to this disclosure.
[0113] Various changes, substitutions, and modifications can be made to the technology described herein without departing from the teachings defined by the appended claims. Furthermore, the scope of the claims of this disclosure is not limited to the specific aspects of the processes, machines, manufactures, events, means, methods, and actions described above. Currently existing or later-developed processes, machines, manufactures, events, means, methods, or actions that perform substantially the same function or achieve substantially the same result as the corresponding aspects described above can be utilized. Therefore, the appended claims include such processes, machines, manufactures, events, means, methods, or actions within their scope.
[0114] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use this disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein can be applied to other aspects without departing from the scope of this disclosure. Therefore, this disclosure is not intended to be limited to the aspects shown herein, but rather to be carried out within the widest scope consistent with the principles and novel features disclosed herein.
[0115] The above description has been given for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of this disclosure to the forms disclosed herein. Although numerous exemplary aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations therein.
Claims
1. A data transmission method applied to a first network device, the method comprising: Send the first message using the first network protocol; The first information carries at least the network address information and / or network performance information of the first network device, and the first network protocol includes at least a network layer protocol and / or a link layer protocol.
2. The method according to claim 1, wherein, The network layer protocol includes a neighbor discovery protocol; and The link layer protocol includes the link layer discovery protocol.
3. The method according to claim 2, wherein, The network address information of the first network device includes the location identifier SRv6 Locator of the first network device; and The network performance information of the first network device includes the capability information of the first network device, SRv6 Capability.
4. The method according to claim 1, further comprising: Configure the network address information and / or network performance information of the first network device.
5. The method according to claim 3, wherein, The SRv6 Locator of the first network device includes: One or more of the following: the type identifier of the SRv6 Locator of the first network device, the length of the SRv6 Locator of the first network device, the metric value of the SRv6 Locator of the first network device, the positioning length of the SRv6 Locator of the first network device, and the variable length identifier of the SRv6 Locator of the first network device.
6. The method according to claim 3, wherein, The SRv6 Capability of the first network device includes: One or more of the following: the type identifier of the SRv6 Capability of the first network device, and the length of the SRv6 Capability of the first network device.
7. A data transmission method applied to a second network device, the method comprising: Receive the first information via the first network protocol; The first information carries at least network address information and / or network performance information of the first network device, and the first network protocol includes at least network layer protocol and / or link layer protocol.
8. The method according to claim 7, wherein, The network layer protocol includes a neighbor discovery protocol; and The link layer protocol includes the link layer discovery protocol.
9. The method according to claim 8, wherein, The network address information of the first network device includes the location identifier SRv6 Locator of the first network device; and The network performance information of the first network device includes the capability information of the first network device, SRv6 Capability.
10. The method according to claim 9, wherein, The SRv6 Locator of the first network device includes: One or more of the following: the type identifier of the SRv6 Locator of the first network device, the length of the SRv6 Locator of the first network device, the metric value of the SRv6 Locator of the first network device, the positioning length of the SRv6 Locator of the first network device, and the variable length identifier of the SRv6 Locator of the first network device.
11. The method according to claim 9, wherein, The SRv6 Capability of the first network device includes: One or more of the following: the type identifier of the SRv6 Capability of the first network device, and the length of the SRv6 Capability of the first network device.
12. The method according to claim 7, further comprising: The first information is sent to the third network device via the second network protocol, so that the first information is sent to the fourth network device via the third network device.
13. A network device, comprising: The communication interface is configured to perform wireless communication with the terminal device. Memory, used to store computer-readable instructions; as well as A processor for executing the computer-readable instructions, causing the network device to perform the data transmission method as described in any one of claims 1 to 12.
14. A non-transitory computer-readable storage medium for storing computer-readable instructions, wherein, When the computer-readable instructions are executed by the processor, the processor performs the data transfer method as described in any one of claims 1 to 12.
15. A computer program product comprising a computer program that, when executed by a processor, implements the data transmission method as described in any one of claims 1 to 12.