Information transmission method and apparatus, and related device
By acquiring network topology and generating transmission path labels, and gradually upgrading the first and last nodes, the problem of high-cost SRv6 cloud migration caused by excessive network element deployment in locations below the prefecture level was solved, achieving low-cost end-to-end SRv6 cloud migration.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA MOBILE COMM LTD RES INST
- Filing Date
- 2021-08-12
- Publication Date
- 2026-05-19
AI Technical Summary
In existing technologies, network elements deployed in locations below the prefecture-level city level exceed 200,000 terminals. Upgrading to SPN or other transmission technologies to support SRv6 results in high costs and impacts existing network services, making it impossible to effectively achieve end-to-end SRv6 cloud migration.
By acquiring the network topology that does not support the target Internet mechanism, determining the transmission path and generating transmission path labels, and gradually upgrading the first and last nodes to support SRv6, large-scale network element upgrades can be avoided.
It reduces the cost of end-to-end SRv6 cloud migration and simplifies the fault location and service deployment process.
Smart Images

Figure CN115914091B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to an information transmission method, apparatus, and related equipment. Background Technology
[0002] The cloud private network uses Internet Protocol (IP) routers and leverages Segment Routing Internet Protocol version 6 (SRv6) technology to carry services. Currently, the cloud private network is mainly deployed at the prefecture-level city level and above. Locations below the prefecture-level city level do not have cloud private network equipment deployed and require the use of Slicing Packet Network (SPN) or other transmission technologies to access the cloud private network.
[0003] SPN or other transmission technologies do not support SRv6. To access a cloud private network, multiple service segments need to be concatenated, which complicates end-to-end service delivery and fault location. Enabling end-to-end SRv6 cloud migration would solve these problems. Current technologies achieve end-to-end SRv6 cloud migration by upgrading SPN or other transmission technology network elements to support SRv6. However, in locations below the prefecture level, there are over 200,000 network elements deployed. Such large-scale upgrades to SPN or other transmission technology network elements require significant modifications to the existing network and impact existing services, resulting in high costs for end-to-end SRv6 cloud migration. Summary of the Invention
[0004] This invention provides an information transmission method, apparatus, and related equipment to address the problem of high costs associated with end-to-end SRv6 cloud deployment.
[0005] To solve the above problems, the present invention is implemented as follows:
[0006] In a first aspect, embodiments of the present invention provide an information transmission method, executed by a first device, the method comprising: obtaining the network topology of the Q first networks, wherein Q is a positive integer, and there are Q first networks that do not support the target Internet mechanism between a message sending device and a message receiving device;
[0007] Based on the network topology of the Q first networks, determine Q transmission paths that correspond one-to-one with the Q first networks;
[0008] Generate Q transmission path labels that correspond one-to-one with the Q transmission paths;
[0009] Send first information to the second device, the first information including the Q transmission path labels, the second device being associated with the message sending device.
[0010] In a second aspect, embodiments of the present invention provide an information transmission method executed by a second device. The method includes: receiving first information, the first information including Q transmission path labels, the Q transmission path labels corresponding one-to-one with Q first networks that do not support the target Internet mechanism, the Q first networks being networks between a message sending device and a message receiving device, and Q being a positive integer;
[0011] All tags in the first information are added to the header of the first message, and the order of the tags in the header matches the first order. The first order matches the order of the networks corresponding to the tags in the target transmission path. The target transmission path is the transmission path from the message sending device to the message receiving device.
[0012] The third device is determined based on the tag in the message header. The third device is the device between the message sending device and the message receiving device.
[0013] The first message is sent to the third device.
[0014] Thirdly, embodiments of the present invention provide an information transmission method executed by a fourth device, wherein the fourth device is the first node of a target first network. The method includes: receiving a first message sent by a fifth device, wherein the header of the first message includes all tags in first information, the first information includes Q transmission path tags, the Q transmission path tags correspond one-to-one with Q first networks that do not support the target Internet mechanism, the Q first networks are networks between the message sending device and the message receiving device, Q is a positive integer, and the transmission path tags include BSID;
[0015] Based on the determined second BSID associated with the target first network, determine the target SR-TP tunnel label corresponding to the second BSID;
[0016] Add the target SR-TP tunnel tag to the header of the first message;
[0017] The first message is sent to the sixth device corresponding to the target SR-TP tunnel label, where the sixth device is the end node of the first network.
[0018] Fourthly, embodiments of the present invention also provide an information transmission device, including: a first processor, configured to acquire the network topology of the Q first networks, where Q is a positive integer, and there are Q first networks that do not support the target Internet mechanism between a message sending device and a message receiving device;
[0019] Based on the network topology of the Q first networks, determine Q transmission paths that correspond one-to-one with the Q first networks;
[0020] Generate Q transmission path labels that correspond one-to-one with the Q transmission paths;
[0021] A first transceiver is used to send first information to a second device, the first information including the Q transmission path tags, and the second device is associated with the message sending device.
[0022] Fifthly, embodiments of the present invention also provide an information transmission device, including: a second processor, configured to add all tags in the first information to the header of a first message, wherein the setting order of the tags in the header matches a first order, the first order matches the order of the networks corresponding to the tags in a target transmission path, and the target transmission path is a transmission path from the message sending device to the message receiving device;
[0023] The third device is determined based on the tag in the message header. The third device is the device between the message sending device and the message receiving device.
[0024] The second transceiver is used to receive the first information, which includes Q transmission path labels. The Q transmission path labels correspond one-to-one with Q first networks that do not support the target Internet mechanism. The Q first networks are networks between the message sending device and the message receiving device, and Q is a positive integer.
[0025] The first message is sent to the third device.
[0026] In a sixth aspect, embodiments of the present invention also provide an information transmission device, including: a third processor, configured to determine a target SR-TP tunnel tag corresponding to the second BSID based on a determined second BSID associated with a target first network;
[0027] Add the target SR-TP tunnel tag to the header of the first message;
[0028] The third transceiver is used to receive the first message sent by the fifth device. The header of the first message includes all the tags in the first information. The first information includes Q transmission path tags. The Q transmission path tags correspond one-to-one with Q first networks that do not support the target Internet mechanism. The Q first networks are networks between the message sending device and the message receiving device. Q is a positive integer. The transmission path tags include BSID.
[0029] The first message is sent to the sixth device corresponding to the target SR-TP tunnel tag.
[0030] Fifthly, embodiments of the present invention also provide a communication device, including: a transceiver, a memory, a processor, and a program stored in the memory and executable on the processor; the processor is configured to read the program in the memory to implement the steps of the method described in the first aspect above; or, the steps of the method described in the second aspect above; or, the steps of the method described in the third aspect above.
[0031] In a sixth aspect, embodiments of the present invention also provide a readable storage medium for storing a program, which, when executed by a processor, implements the steps of the method described in the first aspect above, or implements the steps of the method described in the second aspect above, or implements the steps of the method described in the third aspect above.
[0032] In this embodiment of the invention, for Q first networks between a message sending device and a message receiving device, where the first networks do not support the target Internet mechanism such as SRv6, the first device can determine Q transmission paths corresponding one-to-one with the Q first networks based on the network topology of the Q first networks. Then, it generates and sends Q transmission path labels corresponding one-to-one with the Q transmission paths to a second device, enabling the second device to add the Q transmission path labels to the message header. In this way, end-to-end cloud migration using the target Internet mechanism can be achieved without large-scale upgrades to network elements in the existing network that do not support the target Internet mechanism, thereby reducing the cost of end-to-end cloud migration using the target Internet mechanism. Attached Figure Description
[0033] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings are described below. Obviously, the following drawings are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the listed drawings without creative effort.
[0034] Figure 1 This is a schematic diagram of the structure of a network system to which embodiments of the present invention can be applied;
[0035] Figure 2 This is one of the flowcharts illustrating the information transmission method provided in this embodiment of the invention;
[0036] Figure 3 This is a second schematic flowchart of the information transmission method provided in the embodiments of the present invention;
[0037] Figure 4 This is the third flowchart illustrating the information transmission method provided in this embodiment of the invention;
[0038] Figure 5 This is a schematic diagram illustrating the uplink traffic delivery method for cloud services provided in this embodiment of the invention.
[0039] Figure 6 This is a schematic diagram illustrating the uplink traffic cloud interconnection service carrying method provided in an embodiment of the present invention;
[0040] Figure 7 This is a schematic diagram illustrating the downlink traffic cloud interconnection service delivery method provided in this embodiment of the invention;
[0041] Figure 8 This is one of the structural schematic diagrams of the information transmission device provided in this invention;
[0042] Figure 9 This is the second schematic diagram of the structure of the information transmission device provided in this invention.
[0043] Figure 10 This is the third schematic diagram of the information transmission device provided in this invention.
[0044] Figure 11 This is a schematic diagram of the communication device provided in the embodiment of the present invention. Detailed Implementation
[0045] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0046] In the embodiments of this invention, the terms "first," "second," etc., are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products, or devices. Additionally, the use of "and / or" in this application indicates at least one of the connected objects, such as A and / or B and / or C, representing seven possibilities: including A alone, B alone, C alone, and the presence of both A and B, both B and C, both A and C, and the presence of A, B, and C.
[0047] Please see Figure 1 , Figure 1 This is a structural diagram of a network system to which embodiments of the present invention can be applied, such as... Figure 1As shown, the system includes a message sending device 11, at least one network, a message receiving device 12, and a control device 13. The at least one network should include at least one of the following: a network that does not support the target Internet mechanism; or a network that supports the target Internet mechanism. Under the control of the control device 13, messages sent by the message sending device 11 are transmitted to the message receiving device 12 via the at least one network. The control device 13 can be a first device as described below. Figure 6 and Figure 7 In the scenario shown, message sending device 11 is a device in the edge cloud, and message receiving device 12 is a device in the core cloud.
[0048] The target Internet mechanism can be the Segment Routing Internet Protocol version 6 (SRv6) mechanism. The mechanism of the first network that does not support the target Internet mechanism can be the Slicing Packet Network (SPN) mechanism, the Multi-Protocol Label Switching (MPLS) mechanism, or other transmission technologies.
[0049] The information transmission method provided in the embodiments of the present invention will be described below.
[0050] See Figure 2 , Figure 2 This is one of the flowcharts illustrating the information transmission method provided in the embodiments of the present invention. Figure 2 The method shown can be executed by a first device. The first device can be a super controller or other devices with computational control capabilities.
[0051] like Figure 2 As shown, the information transmission method may include the following steps:
[0052] Step 201: If there are Q first networks that do not support the target Internet mechanism between the message sending device and the message receiving device, and Q is a positive integer, obtain the network topology of the Q first networks.
[0053] In a specific implementation, the first device can collect the network topologies of the Q first networks based on a protocol used for collecting network topologies. The network topologies of the Q first networks can be understood as: the network topologies within each of the Q first networks, and the network topologies between the networks in the Q first networks. Thus, after obtaining the network topologies of the Q first networks, the first device can determine the connection relationships between network devices in the Q first networks.
[0054] Step 202: Based on the network topology of the Q first networks, determine the Q transmission paths that correspond one-to-one with the Q first networks;
[0055] In practice, the first device performs path calculations based on the network topology of the Q first networks and the starting and destination nodes of the network during the transmission of the message, to obtain the detailed end-to-end path. This detailed end-to-end path includes the Q transmission paths of the message in the Q first networks, as well as the transmission path when the message is transmitted from one first network to another.
[0056] The starting and destination nodes of the aforementioned network can change depending on the specific scenario. For example, in... Figure 5 In the cloud traffic flow involving Customer Premise Equipment (CPE) shown, the network originating node is CPE, and the network destination node is PE4; Figure 6 In the uplink traffic cloud interconnection service shown, the network's starting node is PE1, and the network's destination node is PE4; Figure 7 In the downlink traffic cloud interconnection service shown, the starting node of the network is PE4, and the destination node of the network is PE1.
[0057] Step 203: Generate Q transmission path labels that correspond one-to-one with the Q transmission paths;
[0058] In step 203, the transmission path label can be any of the following:
[0059] Tunnel label;
[0060] The Bind Segment Identity Document (BSID) associated with the tunnel label.
[0061] The specific form of the tunnel label can be related to the mechanism of the first network. For example, if the mechanism of the first network is SPN, the Q transmission path labels can be represented as tunnel labels of Segment Router-Transport Profile (SR-TP).
[0062] Step 204: Send first information to the second device, the first information including the Q transmission path tags.
[0063] The second device can be the starting node of the aforementioned network. It should be noted that the second device can vary depending on the specific scenario; for example, see [link to example]. Figure 5In uplink traffic to the cloud that includes a CPE, the second device can be a CPE; see [link / reference]. Figure 6 In uplink traffic cloud-to-cloud interconnection services that do not include CPE, the second device can be the first node of the first network; see [link / reference]. Figure 7 In downlink traffic cloud-to-cloud interconnection services that do not include CPE, the second device can be the first node of the second network or the first network. After receiving the first information, the second device determines the message transmission path based on the first information.
[0064] It should be noted that, in this article, the first node of a network refers to the network node that first receives a message in a specific scenario within that network; the last node of a network is the node that last receives a message in that network and then sends the message to the next network.
[0065] In this embodiment of the invention, for Q first networks between a message sending device and a message receiving device, where the first networks do not support the target Internet mechanism such as SRv6, the first device can determine Q transmission paths corresponding one-to-one with the Q first networks based on the network topology of the Q first networks. Then, it generates and sends Q transmission path labels corresponding one-to-one with the Q transmission paths to a second device, enabling the second device to add the Q transmission path labels to the message header. In this way, only the first and last node devices of the first networks need to be upgraded to support the target Internet mechanism, allowing the first and last nodes of the first networks to transmit messages by recognizing the transmission path labels. Therefore, it is not necessary to perform a large-scale upgrade of all network elements in the existing network that do not support the target Internet mechanism to achieve end-to-end cloud migration using the target Internet mechanism, thus reducing the cost of end-to-end cloud migration using the target Internet mechanism.
[0066] The method may further include a network supporting the target Internet mechanism between the message sending device and the message receiving device. In this case, before sending the first information to the second device, the method further includes:
[0067] Between the message sending device and the message receiving device, there are also P second networks supporting the target Internet mechanism. When P is a positive integer, the network topology of the P second networks is obtained.
[0068] Based on the network topology of the P second networks, determine the P first nodes that correspond one-to-one with the P second networks, and the P last nodes that correspond one-to-one with the P second networks.
[0069] Generate at least one of the following: P first node labels that correspond one-to-one with the P first nodes, and P last node labels that correspond one-to-one with the P last nodes;
[0070] The first information further includes at least one of the P first node labels and the P last node labels.
[0071] In specific implementation, the first device collects the network topology of P second networks that support the target Internet mechanism based on the network topology collection protocol. It then combines the network topology of the Q first networks already acquired with the starting and destination nodes of the network during the transmission of the message to perform path calculation and obtain the detailed end-to-end path. This allows it to determine the P first nodes that correspond one-to-one with the P second networks and the P last nodes that correspond one-to-one with the P second networks in the message transmission path.
[0072] After the first device determines the P head nodes corresponding one-to-one with the P second networks and the P tail nodes corresponding one-to-one with the P second networks, it generates P head node labels corresponding one-to-one with the P head nodes and / or P tail node labels corresponding one-to-one with the P tail nodes. The aforementioned head node labels and tail node labels can be segment labels (Segment IdentityDocument, abbreviated as SID).
[0073] Optionally, the transmission path label satisfies at least one of the following:
[0074] When the second device is a customer front-end device (CPE) or the first node of the target second network, the transmission path label includes a binding segment label (BSID), and the target second network is one of the P second networks.
[0075] When the second device is the first node of the target first network, the transmission path label includes a tunnel label of the transmission-oriented segmented routing technology SR-TP, and the target first network is one of the Q first networks.
[0076] In specific implementations, when the second device is a Customer Premises Equipment (CPE), the transmission path label includes a binding segment label (BSID). The CPE determines the device corresponding to the BSID based on the BSID and sends a message to that device. When the second device is the first node of the target second network, the transmission path label includes a binding segment label (BSID), which corresponds to the first node of the first network. The last node of the second network can send a message to the first node of the first network based on the BSID. When the second device is the first node of the target first network, the transmission path label includes a transmission-oriented segmented routing technology (SR-TP) tunnel label, which corresponds to the last node of the first network. The second device sends a message to the last node of the first network based on the SR-TP tunnel label.
[0077] It should be noted that, when the Q transmission path labels are BSIDs and the first network mechanism is the SPN mechanism, the first device can generate a one-to-one correspondence between BSIDs and SR-TP tunnel labels. When the Q transmission path labels are BSIDs and the first network mechanism is another transmission technology mechanism, the first device should generate a one-to-one correspondence between BSIDs and tunnel labels for other transmission technology mechanisms. Similarly, the tunnel labels for other transmission technology mechanisms correspond one-to-one with the tunnel paths within other transmission technology mechanisms.
[0078] It should be noted that the tag content included in the first information mentioned above may change depending on the specific scenario. Optionally, the first information satisfies at least one of the following:
[0079] When the second device is a CPE or the first node of the target first network, the first information includes the P first node labels and the P last node labels, and the target first network is one of the Q first networks;
[0080] When the second device is the first node of the target second network, the first information includes the last node label of the target second network, P-1 first node labels and P-1 last node labels corresponding one-to-one with P-1 second networks, and the target second network is one of the P second networks; the P-1 second networks are the P-1 second networks other than the target second network.
[0081] For example, such as Figure 5 As shown, in an uplink traffic to the cloud service involving a CPE and a first network and a second network between the message sending device and the message receiving device, the first information includes a transmission path label BSID1, a first node label SID3 corresponding to the first node of the second network, and a last node label SID4 corresponding to the last node of the second network; as shown... Figure 6 As shown, in an uplink cloud interconnection service that includes a first network and a second network between a message sending device and a message receiving device, and does not include a CPE, the first information includes the tunnel label of the transmission path label SR-TP, the first node label SID3 corresponding to the first node of the second network, and the last node label SID4 corresponding to the last node of the second network; as shown... Figure 7 As shown, in the downlink traffic cloud interconnection service between the message sending device and the message receiving device, which has a first network and a second network and does not include a CPE, the first information includes a transmission path label BSID2 and an end node label SID3' corresponding to the end node of the second network.
[0082] After receiving the first information, the second device determines the path of the packet between the first network and the second network based on the first information. Specifically, the BSID corresponds to the first node of the first network. The second device identifies the BSID label and forwards the packet to the first node of the first network corresponding to the BSID label. For the second network that supports the target Internet mechanism, the second device identifies the first node label (SID label) or the last node label (SID label) corresponding to the first and last nodes of the second network, and can forward the packet to the first or last node of the second network corresponding to the SID label.
[0083] For example, such as Figure 5 As shown, in a cloud uplink traffic service involving a CPE and a first network and a second network between the message sending device and the message receiving device, the second device identifies BSID1 and sends a message to PE1 corresponding to BSID1; as shown... Figure 7 As shown, in the downlink traffic cloud interconnection service where there is a first network and a second network between the message sending device and the message receiving device, and which does not include a CPE, the second device identifies SID3' and sends a message to PE3 corresponding to SID3'.
[0084] See Figure 3 , Figure 3 This is the second flowchart of the information transmission method provided by the present invention, which can be executed by a second device.
[0085] like Figure 3 As shown, the information transmission method may include the following steps:
[0086] Step 301: Receive first information, which includes Q transmission path labels. Each of the Q transmission path labels corresponds one-to-one with a Q first network that does not support the target Internet mechanism. The Q first networks are networks between the message sending device and the message receiving device, and Q is a positive integer.
[0087] It should be noted that the relevant descriptions of the second device and the first information can be found in the foregoing description, and will not be repeated here.
[0088] Step 302: Add all the tags in the first information to the header of the first message, and the order of the tags in the header matches the first order, which is the order of the network corresponding to the tag in the target transmission path, and the target transmission path is the transmission path from the message sending device to the message receiving device.
[0089] In step 302, the first device can determine the target transmission path based on the obtained network topology of Q first networks and P second networks, thereby determining the first order. For example, the target transmission path can be determined based on the physical proximity of the networks between the message sending device and the message receiving device; specifically, it can be determined based on the principle of proximity transmission. The order in which the tags are set in the message header can be the same as or the reverse of the first order.
[0090] Step 303: Determine the third device based on the tag in the message header. The third device is the device between the message sending device and the message receiving device.
[0091] It should be noted that the relevant description of how the second device determines the third device based on the tag can be found in the aforementioned explanation, and will not be repeated here.
[0092] Step 304: Send the first message to the third device.
[0093] In this embodiment of the invention, for Q first networks between a message sending device and a message receiving device, where the first networks do not support the target Internet mechanism such as SRv6, a second device can receive first information including Q transmission path tag information, add the Q transmission path tags to the message header, and determine the message transmission path based on the tags in the message header. In this way, end-to-end cloud migration using the target Internet mechanism can be achieved without large-scale upgrades to network elements in the existing network that do not support the target Internet mechanism, thereby reducing the cost of end-to-end cloud migration using the target Internet mechanism.
[0094] In the case where there is a second network between the message sending device and the message receiving device, the first information further includes P first node labels and P last node labels. The P first node labels correspond one-to-one with the first nodes of the P second networks that support the target Internet mechanism, and the P last node labels correspond one-to-one with the last nodes of the P second networks. The P second networks are the second networks included between the message sending device and the message receiving device.
[0095] The transmission path label, along with the aforementioned P first node labels and P last node labels, are stored in the header of the first message according to the label setting order. After receiving the first message, the second device can first determine the first label, which is the first label among K labels, where the K labels are all the labels included in the first information. The first label can be the first label read from top to bottom in the header, or it can be the first label read from bottom to top in the header. Afterward, the second device determines the third device based on the first label and sends the first message to the third device. The method by which the second device determines the third device based on the label can be found in the aforementioned related descriptions, and will not be repeated here.
[0096] After receiving the first message, the third device reads the next tag after the first tag in the same order as the second device reads the tags, and determines the recipient of the message based on the next tag. The method by which the third device determines the recipient based on tags is similar to that of the second device. Other devices between the message sending and receiving devices also read the corresponding tags sequentially, similar to the third device, to determine the recipient and send the message to it. If the second device reads the tags from top to bottom, then during this message transmission process, the other devices between the message sending and receiving devices will also read the tags from top to bottom after receiving the first message; if the second device reads the tags from bottom to top, then during this message transmission process, the other devices between the message sending and receiving devices will also read the tags from bottom to top after receiving the first message.
[0097] Optionally, the transmission path label satisfies at least one of the following:
[0098] When the second device is a customer front-end device (CPE) or the first node of the target second network, the transmission path label includes a binding segment label (BSID), and the target second network is one of the P second networks.
[0099] When the second device is the first node of the target first network, the transmission path label includes a tunnel label of the transmission-oriented segmented routing technology SR-TP, and the target first network is one of the Q first networks.
[0100] It should be noted that the relevant description of the transmission path label can be found in the foregoing description, and will not be repeated here.
[0101] Optionally, if the second device is a CPE, determining the third device based on the first tag includes at least one of the following:
[0102] If the first tag is the first BSID, the first node in the first network corresponding to the first BSID is determined as the third device;
[0103] If the first label is the first primary node label, the node corresponding to the first primary node label is identified as the third device.
[0104] It should be noted that there may be multiple first networks between the message transmission device and the message receiving device. Each first network has its own corresponding BSID. The BSID corresponds to the first node of the first network. The message transmission nodes before the first node of the first network can send messages to the first node of the first network according to the BSID.
[0105] The first node label corresponds to the first node of the second network. It should be noted that multiple second networks may exist between the message transmission device and the message receiving device. Each second network's first node has a corresponding node label. Message transmission nodes preceding the first node of a second network can send messages to the first node of the second network based on this first node label.
[0106] Optionally, if the second device is the first node of the target first network, the first tag is the tag corresponding to the target first network;
[0107] The step of determining the third device based on the first tag includes:
[0108] The end node of the target first network is determined to be the third device.
[0109] For easier understanding, please refer to Figure 6 When the second device is the first node of the target first network, the first label can be the SR-TP tunnel label. The second device sends a message to the last node of the first network, and the message is transmitted to the last node of the first network according to the SR-TP tunnel label.
[0110] It should be noted that this embodiment is as a comparison with... Figure 2 The method embodiment corresponds to the embodiment of the second device; therefore, please refer to the embodiment of the second device. Figure 2 The relevant descriptions in the method embodiments can achieve the same beneficial effects. To avoid repetition, they will not be repeated here.
[0111] See Figure 4 , Figure 4 This is the third flowchart of the information transmission method provided in this embodiment of the invention. The information transmission method of this embodiment of the invention can be executed by a fourth device.
[0112] like Figure 4 As shown, the information transmission method may include the following steps:
[0113] Step 401: Receive the first message sent by the fifth device. The header of the first message includes all the tags in the first information. The first information includes Q transmission path tags. The Q transmission path tags correspond one-to-one with Q first networks that do not support the target Internet mechanism. The Q first networks are networks between the message sending device and the message receiving device. Q is a positive integer. The transmission path tags include BSID.
[0114] It should be noted that the relevant description of the transmission path label can be found in the foregoing description, and will not be repeated here.
[0115] Step 402: Based on the determined second BSID associated with the target first network, determine the target SR-TP tunnel label corresponding to the second BSID;
[0116] As mentioned above, when the Q transmission path labels are BSIDs and the first network uses the SPN mechanism, the first device should generate a one-to-one correspondence between BSIDs and SR-TP tunnel labels. Each SR-TP tunnel label corresponds one-to-one with the SR-TP tunnel path within the SPN. Based on this one-to-one correspondence, the fourth device can determine the target SR-TP tunnel label corresponding to the second BSID.
[0117] Step 403: Add the target SR-TP tunnel tag to the header of the first message.
[0118] In step 403, the fourth device adds the target SR-TP tunnel tag to the header of the first message and sends the first message to the sixth device. The first message is transmitted in the first network according to the target SR-TP tunnel tag. When the first message is transmitted to the sixth device, the sixth device removes the target SR-TP tunnel tag from the message header. It should be noted that the first message is a message transmitted between the message sending device and the message receiving device, and the tag in the header of the first message can change depending on the specific circumstances.
[0119] Step 404: Send the first message to the sixth device corresponding to the target SR-TP tunnel tag.
[0120] For easier understanding, please refer to Figure 5The method provided in this embodiment of the invention can be applied to uplink traffic to the cloud service scenario involving CPE. In this scenario, the fifth device can be a CPE, the fourth device is the first node PE1 of the first network, and the sixth device is the last node PE2 of the first network. PE1 node identifies BSID1, determines the SR-TP tunnel label corresponding to BSID1 based on the correspondence between BSID and SR-TP tunnel label, adds the target SR-TP tunnel label to the packet header, thereby converting the packet into an SR-TP packet, which is then forwarded within the SPN to reach PE2.
[0121] In this embodiment of the invention, the fourth device determines the target SR-TP tunnel label corresponding to the BSID based on the transmission path label (BSID), and sends the first message to the sixth device corresponding to the target SR-TP tunnel label. By associating the BSID with the target SR-TP tunnel label, the fourth device can determine the target SR-TP tunnel label based on the BSID, thereby identifying the device corresponding to the target SR-TP tunnel label as the message receiving device and sending messages to it. In this way, end-to-end cloud access using the target Internet mechanism can be achieved without large-scale upgrades to network elements in the existing network that do not support the target Internet mechanism, thus reducing the cost of end-to-end cloud access using the target Internet mechanism.
[0122] It should be noted that this embodiment is as a comparison with... Figure 3 The method embodiment corresponds to the fourth embodiment; therefore, please refer to [the relevant documentation]. Figure 3 The relevant descriptions in the method embodiments can achieve the same beneficial effects. To avoid repetition, they will not be repeated here.
[0123] The various optional implementation methods described in the embodiments of the present invention can be combined with each other or implemented individually without conflict, and the embodiments of the present invention do not limit this.
[0124] For ease of understanding, the following example is provided:
[0125] As an example, see Figure 5 The embodiments provided by this invention can be applied to cloud services that include CPE.
[0126] The aforementioned first device can be Figure 5 The super controller in the system can be either an SPN (Service Provider Network) or a cloud private network. For the management and control layer, unified control and service configuration of the CPE (Customer Premises Equipment), SPN network, and cloud private network are achieved based on the super controller.
[0127] The end-to-end SRv6 implementation process for cloud inbound services is as follows (uplink traffic):
[0128] 1. The super controller collects the network topology of CPE, SPN network and cloud private network.
[0129] 2. For CPE cloud services, the super controller performs path calculations based on the CPE and PE4 nodes to obtain the end-to-end detailed path.
[0130] 3. Taking upstream traffic as an example, the super controller generates a specific BSID1 for the path from PE1 to PE2, which serves as the SID of PE1. SID3 is generated for PE3, and SID4 is generated for PE4 (corresponding SIDs can also be generated for other network elements in the cloud private network, which will not be elaborated here).
[0131] 4. The super controller sends BSID1, SID3, and SID4 to the CPE.
[0132] 5. The CPE adds the configurations for BSID1, SID3, and SID4 to the client message header, with the tag stack as follows: Figure 5 As shown, BSID1 is identified and forwards the message to PE1.
[0133] 6. The PE1 node identifies BSID1 and maps it to the internally configured SR-TP tunnel, converting the packet into an SR-TP packet, which is then forwarded within the SPN to reach PE2.
[0134] 7. PE2 removes the SR-TP label, identifies SID3, and forwards the packet to PE3.
[0135] 8. PE3 identifies SID4 and forwards the message to PE4.
[0136] 9. PE4 removes the SRv6 label and forwards the packet to the cloud gateway network element based on the routing configuration.
[0137] Downlink traffic is symmetrical to uplink traffic, which will not be elaborated here.
[0138] As an example, see Figure 6 The embodiments provided by this invention can be applied to cloud interconnection services that do not include uplink traffic from a CPE. The aforementioned first device can be... Figure 6 The super controller in the above-mentioned first network can be SPN, and the above-mentioned second network can be cloud private network.
[0139] The end-to-end SRv6 implementation process for cloud interconnection services is as follows (uplink traffic):
[0140] 1. The super controller collects the topology of SPN network and cloud private network.
[0141] 2. For cloud interconnection services, the super controller performs path calculations based on PE1 and PE4 nodes to obtain the detailed end-to-end path.
[0142] 3. The super controller generates SID3 for PE3 and SID4 for PE4 (corresponding SIDs can also be generated for other network elements in the cloud private network, which will not be elaborated here).
[0143] 4. The super controller sends the SR-TP, SID3, and SID4 configurations to PE1. PE1 also pushes the SID3, SID4, and SR-TP tunnel tags of PE1-PE2 into the packet. See the tag stack below. Figure 6 .
[0144] 5. The message arrives at PE2 within the SPN network via the SR-TP tunnel.
[0145] 6. PE2 removes the SR-TP label, identifies SID3, and forwards the packet to PE3.
[0146] 7. PE3 identifies SID4 and forwards the packet to PE4.
[0147] 8. PE4 removes the SRV6 label and forwards the packet to the cloud gateway network element based on the routing configuration.
[0148] As an example, see Figure 7 The embodiments provided by this invention can be applied to cloud interconnection services that do not include downlink traffic from a CPE. The aforementioned first device can be... Figure 7 The super controller in the above-mentioned first network can be SPN, and the above-mentioned second network can be cloud private network.
[0149] The end-to-end SRv6 implementation process for cloud interconnection services is as follows (downlink traffic):
[0150] 1. The super controller collects the network topology of the SPN network and the cloud private network.
[0151] 2. For cloud interconnection services, the super controller performs path calculations based on PE1 and PE4 nodes to obtain the detailed end-to-end path.
[0152] 3. The super controller generates SID3' for PE3 and BSID2 for the path from PE1 to PE2 (corresponding SIDs can also be generated for other network elements in the cloud private network, which will not be elaborated here).
[0153] 4. The super controller sends the SID3' and BSID2 configurations to PE4. PE4 also pushes the SID3' and BSID2 tags into the message. See the tag stack section. Figure 7 .
[0154] 5. PE4 identifies SID3' and forwards the packet to PE3.
[0155] 6. PE3 identifies BSID2 and forwards the message to PE2.
[0156] 7. PE2 maps BSID2 to the configured SR-TP tunnel and adds SR-TP tunnel tags.
[0157] 8. The message arrives at PE1 within the SPN network via an SR-TP tunnel.
[0158] 9. PE1 removes the SR-TP and SRv6 labels and forwards the packets to the cloud gateway network element based on the routing configuration.
[0159] See Figure 8 , Figure 8 This is one of the structural diagrams of the information transmission device provided in the embodiments of the present invention. For example... Figure 8 As shown, the information transmission device 500 includes:
[0160] The first processor 501 is configured to obtain the network topology of the Q first networks that do not support the target Internet mechanism, where Q is a positive integer, between the message sending device and the message receiving device.
[0161] Based on the network topology of the Q first networks, determine Q transmission paths that correspond one-to-one with the Q first networks;
[0162] Generate Q transmission path labels that correspond one-to-one with the Q transmission paths;
[0163] The first transceiver 502 is used to send first information to the second device, the first information including the Q transmission path tags, and the second device is associated with the message sending device.
[0164] The information transmission device 500 can realize the embodiments of the present invention. Figure 2 The various processes in the method embodiments, and the ways to achieve the same beneficial effects, will not be repeated here to avoid repetition.
[0165] See Figure 9 , Figure 9 This is a second structural diagram of the information transmission device provided in an embodiment of the present invention. For example... Figure 9 As shown, the information transmission device 600 includes:
[0166] The second processor 601 is used to add all the tags in the first information to the header of the first message, and the setting order of the tags in the header matches the first order, the first order matches the order of the networks corresponding to the tags in the target transmission path, and the target transmission path is the transmission path from the message sending device to the message receiving device.
[0167] The third device is determined based on the tag in the message header. The third device is the device between the message sending device and the message receiving device.
[0168] The second transceiver 602 is used to receive the first information, which includes Q transmission path labels. The Q transmission path labels correspond one-to-one with Q first networks that do not support the target Internet mechanism. The Q first networks are networks between the message sending device and the message receiving device, and Q is a positive integer.
[0169] The first message is sent to the third device.
[0170] The information transmission device 600 can realize the embodiments of the present invention. Figure 3 The various processes in the method embodiments, and the ways to achieve the same beneficial effects, will not be repeated here to avoid repetition.
[0171] See Figure 10 , Figure 10 This is the third structural diagram of the information transmission device provided in the embodiments of the present invention. Figure 10 As shown, the information transmission device 700 includes:
[0172] The third processor 701 is configured to determine the target SR-TP tunnel label corresponding to the second BSID based on the determined second BSID associated with the target first network;
[0173] Add the target SR-TP tunnel tag to the header of the first message;
[0174] The third transceiver 702 is used to receive the first message sent by the fifth device. The header of the first message includes all the tags in the first information. The first information includes Q transmission path tags. The Q transmission path tags correspond one-to-one with Q first networks that do not support the target Internet mechanism. The Q first networks are networks between the message sending device and the message receiving device. Q is a positive integer. The transmission path tags include BSID.
[0175] The first message is sent to the sixth device corresponding to the target SR-TP tunnel tag.
[0176] The information transmission device 700 can realize the embodiments of the present invention. Figure 4 The various processes in the method embodiments, and the ways to achieve the same beneficial effects, will not be repeated here to avoid repetition.
[0177] This invention also provides a communication device. Please refer to [link to relevant documentation]. Figure 11 The communication device may include a processor 801, a memory 802, and a program 8021 stored in the memory 802 and capable of running on the processor 801.
[0178] When the communication device is a network-side device, program 8021 can be executed by processor 801 to achieve the following: Figure 2 or Figure 3 or Figure 4 Any steps in the corresponding method embodiments and the achievement of the same beneficial effects will not be repeated here.
[0179] Those skilled in the art will understand that all or part of the steps of the methods described in the above embodiments can be implemented by hardware related to program instructions, and the program can be stored in a readable medium. The present invention also provides a readable storage medium storing a computer program, which, when executed by a processor, can implement the above-described methods. Figure 2 or Figure 3 or Figure 4 Any step in the corresponding method embodiment can achieve the same technical effect, and will not be repeated here to avoid repetition.
[0180] The storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0181] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of the present invention.
Claims
1. An information transmission method, applied to a first device, characterized in that, include: In the case where there are Q first networks that do not support the target Internet mechanism between the message sending device and the message receiving device, and Q is a positive integer, the network topology of the Q first networks is obtained, and the target Internet mechanism is the segmented routing Internet version 6 (SRv6) mechanism. Based on the network topology of the Q first networks, determine Q transmission paths that correspond one-to-one with the Q first networks; Generate Q transmission path labels that correspond one-to-one with the Q transmission paths; Send first information to the second device, the first information including the Q transmission path tags, the second device being associated with the message sending device; Before sending the first information to the second device, the method further includes: Between the message sending device and the message receiving device, there are also P second networks supporting the target Internet mechanism. When P is a positive integer, the network topology of the P second networks is obtained. Based on the network topology of the P second networks, determine the P first nodes that correspond one-to-one with the P second networks, and the P last nodes that correspond one-to-one with the P second networks. Generate at least one of the following: P first node labels that correspond one-to-one with the P first nodes, and P last node labels that correspond one-to-one with the P last nodes; The first information further includes at least one of the P first node labels and the P last node labels; The transmission path label satisfies at least one of the following: When the second device is a customer front-end device (CPE) or the first node of the target second network, the transmission path label includes a binding segment label (BSID), and the target second network is one of the P second networks. When the second device is the first node of the target first network, the transmission path label includes a tunnel label of the transmission-oriented segmented routing technology SR-TP, and the target first network is one of the Q first networks.
2. The method according to claim 1, characterized in that, The first information satisfies at least one of the following: When the second device is a CPE or the first node of the target first network, the first information includes the P first node labels and the P last node labels, and the target first network is one of the Q first networks; When the second device is the first node of the target second network, the first information includes the end node label of the target second network, P-1 first node labels and P-1 end node labels corresponding one-to-one with P-1 second networks, and the target second network is one of the P second networks; the P-1 second networks are the P-1 second networks other than the target second network.
3. An information transmission method applied to a second device, characterized in that, include: Receive first information, the first information includes Q transmission path labels, the Q transmission path labels correspond one-to-one with Q first networks that do not support the target Internet mechanism, the Q first networks are networks between message sending devices and message receiving devices, Q is a positive integer, and the target Internet mechanism is the segmented routing Internet version 6 (SRv6) mechanism. All tags in the first information are added to the header of the first message, and the order of the tags in the header matches the first order. The first order matches the order of the networks corresponding to the tags in the target transmission path. The target transmission path is the transmission path from the message sending device to the message receiving device. The third device is determined based on the tag in the message header. The third device is the device between the message sending device and the message receiving device. Send the first message to the third device; The first information also includes P first node labels and P last node labels. The P first node labels correspond one-to-one with the first nodes of the P second networks that support the target Internet mechanism, and the P last node labels correspond one-to-one with the last nodes of the P second networks. The P second networks are the second networks included between the message sending device and the message receiving device. The transmission path label satisfies at least one of the following: When the second device is a customer front-end device (CPE) or the first node of the target second network, the transmission path label includes a binding segment label (BSID), and the target second network is one of the P second networks. When the second device is the first node of the target first network, the transmission path label includes a tunnel label of the transmission-oriented segmented routing technology SR-TP, and the target first network is one of the Q first networks.
4. The method according to claim 3, characterized in that, The step of determining the third device based on the tag in the message header includes at least one of the following: A first tag is determined, which is the first tag among K tags, and the K tags are all the tags included in the first information; The third device is identified based on the first tag.
5. The method according to claim 4, characterized in that, When the second device is a CPE, determining the third device based on the first tag includes at least one of the following: If the first tag is the first BSID, the first node in the first network corresponding to the first BSID is determined as the third device; If the first label is the first primary node label, the node corresponding to the first primary node label is identified as the third device.
6. The method according to claim 4, characterized in that, When the second device is the first node of the target first network, the first tag is the tag corresponding to the target first network; The step of determining the third device based on the first tag includes: The end node of the target first network is determined to be the third device.
7. An information transmission method applied to a fourth device, characterized in that, The fourth device is the first node of the target first network, and the method includes: The device receives a first message sent by a fifth device. The header of the first message includes all the tags in the first information. The first information includes Q transmission path tags, each of which corresponds one-to-one with one of Q first networks that do not support the target Internet mechanism. The Q first networks are networks between the message sending device and the message receiving device. The target first network is one of the Q first networks, where Q is a positive integer. The transmission path tags include BSIDs, and the target Internet mechanism is the Segmented Routing Internet Version 6 (SRv6) mechanism. Based on the determined second BSID associated with the target first network, determine the target SR-TP tunnel label corresponding to the second BSID; Add the target SR-TP tunnel tag to the header of the first message; The first message is sent to the sixth device corresponding to the target SR-TP tunnel label, where the sixth device is the end node of the target first network.
8. An information transmission device, characterized in that, include: The first processor is used for: In the case where there are Q first networks that do not support the target Internet mechanism between the message sending device and the message receiving device, and Q is a positive integer, the network topology of the Q first networks is obtained, and the target Internet mechanism is the segmented routing Internet version 6 (SRv6) mechanism. Based on the network topology of the Q first networks, determine Q transmission paths that correspond one-to-one with the Q first networks; Generate Q transmission path labels that correspond one-to-one with the Q transmission paths; The first transceiver is used for: Send first information to the second device, the first information including the Q transmission path tags, the second device being associated with the message sending device; The first processor is further configured to: Between the message sending device and the message receiving device, there are also P second networks supporting the target Internet mechanism. When P is a positive integer, the network topology of the P second networks is obtained. Based on the network topology of the P second networks, determine the P first nodes that correspond one-to-one with the P second networks, and the P last nodes that correspond one-to-one with the P second networks. Generate at least one of the following: P first node labels that correspond one-to-one with the P first nodes, and P last node labels that correspond one-to-one with the P last nodes; The first information further includes at least one of the P first node labels and the P last node labels; The transmission path label satisfies at least one of the following: When the second device is a customer front-end device (CPE) or the first node of the target second network, the transmission path label includes a binding segment label (BSID), and the target second network is one of the P second networks. When the second device is the first node of the target first network, the transmission path label includes a tunnel label of the transmission-oriented segmented routing technology SR-TP, and the target first network is one of the Q first networks.
9. An information transmission device, characterized in that, The information transmission device is applied to the second device, and the information transmission device includes: The second processor is used for: All tags in the first information are added to the header of the first message, and the order of the tags in the header matches the first order. The first order matches the order of the networks corresponding to the tags in the target transmission path. The target transmission path is the transmission path from the message sending device to the message receiving device. The third device is determined based on the tag in the message header. The third device is the device between the message sending device and the message receiving device. The second transceiver is used for: The first information is received, which includes Q transmission path labels. Each of the Q transmission path labels corresponds one-to-one with a Q first network that does not support the target Internet mechanism. The Q first networks are the networks between the message sending device and the message receiving device. Q is a positive integer. The target Internet mechanism is the segmented routing Internet version 6 (SRv6) mechanism. Send the first message to the third device; The first information also includes P first node labels and P last node labels. The P first node labels correspond one-to-one with the first nodes of the P second networks that support the target Internet mechanism, and the P last node labels correspond one-to-one with the last nodes of the P second networks. The P second networks are the second networks included between the message sending device and the message receiving device. The transmission path label satisfies at least one of the following: When the second device is a customer front-end device (CPE) or the first node of the target second network, the transmission path label includes a binding segment label (BSID), and the target second network is one of the P second networks. When the second device is the first node of the target first network, the transmission path label includes a tunnel label of the transmission-oriented segmented routing technology SR-TP, and the target first network is one of the Q first networks.
10. An information transmission device, characterized in that, The device is applied to a fourth device, which is the first node of the target first network, and the device includes: The third processor is used for: Based on the determined second BSID associated with the target first network, determine the target SR-TP tunnel label corresponding to the second BSID; Add the target SR-TP tunnel tag to the header of the first message; The third transceiver is used for: The device receives the first message sent by the fifth device. The header of the first message includes all the tags in the first information. The first information includes Q transmission path tags. The Q transmission path tags correspond one-to-one with Q first networks that do not support the target Internet mechanism. The Q first networks are networks between the message sending device and the message receiving device. The target first network is one of the Q first networks. Q is a positive integer. The transmission path tags include BSID. The target Internet mechanism is the Segmented Routing Internet Version 6 (SRv6) mechanism. The first message is sent to the sixth device corresponding to the target SR-TP tunnel label, where the sixth device is the end node of the target first network.
11. A communication device, comprising: A transceiver, a memory, a processor, and a program stored in the memory and executable on the processor; characterized in that the processor is configured to read the program in the memory to implement the steps of the information transmission method as described in any one of claims 1 to 2; or, the steps of the information transmission method as described in any one of claims 3 to 6; or, the steps of the information transmission method as described in claim 7.
12. A readable storage medium for storing a program, characterized in that, When the program is executed by the processor, it implements the steps of the information transmission method as described in any one of claims 1 to 2; or, it implements the steps of the information transmission method as described in any one of claims 3 to 6. Alternatively, the steps in the information transmission method as described in claim 7.