Tunnel management method and device, equipment and storage medium

Through the method of dynamic management of tunnel parameters, the problem that tunnel configuration and maintenance is time-consuming and error-prone is solved, automatic management of tunnel parameters is realized, the security and scalability of the tunnel are improved, and the management process is simplified.

CN118632382APending Publication Date: 2024-09-10CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310232092.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-10
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

In the existing technology, the delay in the commercialization of Layer 2 modules results in the need for manual planning and configuration of tunnel parameters when Ethernet data is transmitted in the communication network. Configuration and maintenance are time-consuming and error-prone, making management and maintenance difficult. As the number of tunnels increases, errors are prone to occur. Affects the security of data transmission.

Method used

Through the first network element's dynamic management of tunnel capability tag configuration and tunnel parameters based on the second network element, the tunnel parameters are automatically sent and updated to the second network element and the third network element for tunnel data transmission, reducing manual intervention. Improve tunnel security and scalability.

Benefits of technology

It effectively reduces the workload of tunnel management, maintenance and configuration, reduces the possibility of tunnel errors, improves tunnel security and scalability, and simplifies the dynamic configuration and update process of tunnel parameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118632382A
    Figure CN118632382A
Patent Text Reader

Abstract

The embodiment of the invention provides a tunnel management method and device, equipment and a storage medium. The method comprises the steps that a first network element configures a tunnel parameter corresponding to a tunnel capability mark based on the tunnel capability mark of a second network element; and sending the tunnel parameters to a second network element and a third network element for the second network element and the third network element to transmit data on a tunnel corresponding to the tunnel parameters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a tunnel management method, device, equipment and storage medium. Background Art

[0002] The transmission of Ethernet data in the Layer 2 network uses 5GLAN technology, but the promotion of 5GLAN technology depends on the commercialization of Layer 2 modules. Due to the delay in the commercialization of Layer 2 modules, Ethernet data is transmitted in the communication network using tunnel technology. Tunnel parameters need to be manually planned and configured. Configuration and maintenance take a long time and configuration is prone to errors. Special personnel are required to maintain tunnel parameter information. As the number of tunnels increases, management and maintenance become difficult. Once this static configuration is wrong, it will cause the user plane function (UPF) network element to be discarded or data forwarding errors. Summary of the invention

[0003] In view of this, embodiments of the present application hope to provide a tunnel management method, apparatus, device and storage medium.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

[0005] An embodiment of the present application provides a tunnel management method, which is applied to a first network element and includes:

[0006] Configure a tunnel parameter corresponding to the tunnel capability flag based on the tunnel capability flag of the second network element;

[0007] The tunnel parameters are sent to the second network element and the third network element, so that the second network element and the third network element transmit data on the tunnel corresponding to the tunnel parameters.

[0008] The tunnel includes at least one of the following:

[0009] Internet Security Protocol IPSEC tunnel;

[0010] Generic Routing Encapsulation GRE tunnel;

[0011] Virtual Extensible Local Area Network VxLan Tunnel.

[0012] Before configuring the tunnel parameters corresponding to the tunnel capability flag, the method further includes:

[0013] Receive first information, where the first information includes a tunnel capability tag of the second network element; wherein the tunnel capability tag is used to notify the first network element whether the second network element supports tunnels.

[0014] The sending the tunnel parameter to the second network element includes:

[0015] Sending second information to a second network element, where the second information includes a tunnel parameter corresponding to the tunnel capability flag configured by the first network element; wherein the tunnel parameter includes at least one of the following:

[0016] Tunnel type;

[0017] User Datagram Protocol UDP port number;

[0018] Tunnel ID.

[0019] The sending the tunnel parameter to the third network element includes:

[0020] Sending third information to a third network element, wherein the third information includes tunnel message characteristic parameters; wherein,

[0021] The tunnel message characteristic parameters include at least one of the following:

[0022] Tunnel Head;

[0023] Tunnel encapsulation type.

[0024] Before sending the tunnel parameters to the third network element, the method further includes:

[0025] Receive fourth information, where the fourth information includes a tunnel response tag; wherein the tunnel response tag is used to notify the first network element that the second network element has received the tunnel parameters.

[0026] Wherein, the method further comprises:

[0027] Updating the tunnel parameters according to a preset period;

[0028] The updated tunnel parameters are sent to the second network element and the third network element, so that the second network element and the third network element transmit data on the tunnel corresponding to the updated tunnel parameters.

[0029] The embodiment of the present application further provides a tunnel management method, which is applied to a second network element and includes:

[0030] A tunnel parameter corresponding to the tunnel capability mark configured by the first network element based on the tunnel capability mark of the second network element is received, so that the second network element transmits data on the tunnel corresponding to the tunnel parameter.

[0031] Before receiving the tunnel parameter corresponding to the tunnel capability flag configured by the first network element based on the tunnel capability flag of the second network element, the method further includes:

[0032] Sending first information, wherein the first information includes a tunnel capability tag of the second network element; wherein the tunnel capability tag is used to notify the first network element whether the second network element supports tunnels.

[0033] The receiving a tunnel parameter corresponding to the tunnel capability flag configured by the first network element based on the tunnel capability flag of the second network element includes:

[0034] receiving second information, wherein the second information includes a tunnel parameter configured by the first network element and corresponding to the tunnel capability flag; wherein the tunnel parameter includes at least one of the following:

[0035] Tunnel type;

[0036] User Datagram Protocol UDP port number;

[0037] Tunnel ID.

[0038] Wherein, the method further comprises:

[0039] The tunnel parameters updated by the first network element according to a preset period are received, so as to enable the second network element to transmit data on the tunnel corresponding to the updated tunnel parameters.

[0040] The embodiment of the present application further provides a tunnel management method, which is applied to a third network element and includes:

[0041] A tunnel parameter corresponding to the tunnel capability mark configured by the first network element based on the tunnel capability mark of the second network element is received, so as to be used by the third network element to transmit data on the tunnel corresponding to the tunnel parameter.

[0042] The receiving a tunnel parameter corresponding to the tunnel capability flag configured by the first network element based on the tunnel capability flag of the second network element includes:

[0043] receiving third information, wherein the third information includes tunnel message characteristic parameters; wherein,

[0044] The tunnel message characteristic parameters include at least one of the following:

[0045] Tunnel Head;

[0046] Tunnel encapsulation type.

[0047] Wherein, the method further comprises:

[0048] The tunnel parameters updated by the first network element according to a preset period are received, so as to enable the third network element to transmit data on the tunnel corresponding to the updated tunnel parameters.

[0049] The embodiment of the present application further provides a tunnel management device, which is applied to a first network element and includes:

[0050] A first processing unit, configured to configure a tunnel parameter corresponding to the tunnel capability flag based on the tunnel capability flag of the second network element;

[0051] The first communication unit is used to send the tunnel parameter to the second network element and the third network element, so that the second network element and the third network element transmit data on the tunnel corresponding to the tunnel parameter.

[0052] The embodiment of the present application further provides a tunnel management device, which is applied to a second network element and includes:

[0053] The second communication unit is used to receive the tunnel parameters corresponding to the tunnel capability mark configured by the first network element based on the tunnel capability mark of the second network element, so as to be used by the second network element to transmit data on the tunnel corresponding to the tunnel parameters.

[0054] The embodiment of the present application further provides a tunnel management device, which is applied to a third network element and includes:

[0055] The third communication unit is used to receive the tunnel parameters corresponding to the tunnel capability mark configured by the first network element based on the tunnel capability mark of the second network element, and is used for the third network element to transmit data on the tunnel corresponding to the tunnel parameter.

[0056] The embodiment of the present application further provides a network element, comprising: a first communication interface and a first processor; wherein,

[0057] The first processor is configured to configure a tunnel parameter corresponding to the tunnel capability flag based on the tunnel capability flag of the second network element;

[0058] The first communication interface is used to send the tunnel parameters to the second network element and the third network element, so that the second network element and the third network element transmit data on the tunnel corresponding to the tunnel parameters.

[0059] The embodiment of the present application further provides a network element, comprising: a second communication interface and a second processor; wherein:

[0060] The second communication interface is used to receive tunnel parameters corresponding to the tunnel capability mark configured by the first network element based on the tunnel capability mark of the second network element, and is used by the second network element to transmit data on the tunnel corresponding to the tunnel parameter.

[0061] The embodiment of the present application further provides a network element, comprising: a third communication interface and a third processor; wherein,

[0062] The third communication interface is used to receive tunnel parameters corresponding to the tunnel capability mark configured by the first network element based on the tunnel capability mark of the second network element, and is used by the third network element to transmit data on the tunnel corresponding to the tunnel parameters.

[0063] The embodiment of the present application further provides a network element, comprising: a first processor and a first memory for storing a computer program that can be run on the processor,

[0064] Wherein, the first processor is used to execute the steps of the above method when running the computer program.

[0065] The embodiment of the present application further provides a network element, comprising: a second processor and a second memory for storing a computer program that can be run on the processor,

[0066] Wherein, the second processor is used to execute the steps of the above method when running the computer program.

[0067] The embodiment of the present application further provides a network element, comprising: a third processor and a third memory for storing a computer program that can be run on the processor,

[0068] Wherein, the third processor is used to execute the steps of the above method when running the computer program.

[0069] An embodiment of the present application further provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0070] In the tunnel management method, apparatus, device and storage medium provided in the embodiments of the present application, the first network element configures the tunnel parameters corresponding to the tunnel capability mark based on the tunnel capability mark of the second network element; and sends the tunnel parameters to the second network element and the third network element for the second network element and the third network element to transmit data on the tunnel corresponding to the tunnel parameters. In the embodiments of the present application, the first network element configures the tunnel parameters corresponding to the tunnel capability mark based on the tunnel capability mark of the second network element and sends them down, which effectively reduces the workload of management and maintenance configuration compared with manual static configuration, has good scalability, and is less prone to errors when the number of tunnels increases. BRIEF DESCRIPTION OF THE DRAWINGS

[0071] Figure 1 The tunnel management method described in this application embodiment is shown in FIG. Figure 1 ;

[0072] Figure 2 The tunnel management method described in this application embodiment is shown in FIG. Figure 2 ;

[0073] Figure 3 The tunnel management method described in this application embodiment is shown in FIG. Figure 3 ;

[0074] Figure 4 This is a flow chart of the tunnel management method described in the application example of this application;

[0075] Figure 5 The structure of the tunnel management device described in the embodiment of the present application is shown in FIG. Figure 1 ;

[0076] Figure 6 The structure of the tunnel management device described in the embodiment of the present application is shown in FIG. Figure 2 ;

[0077] Figure 7 The structure of the tunnel management device described in the embodiment of the present application is shown in FIG. Figure 3 ;

[0078] Figure 8 This is a schematic diagram of the network element structure described in the embodiment of this application Figure 1 ;

[0079] Fig. 9 This is a schematic diagram of the network element structure described in the embodiment of this application Figure 2 ;

[0080] Fig.10 This is a schematic diagram of the network element structure described in the embodiment of this application Figure 3 . DETAILED DESCRIPTION

[0081] The present application is described below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant inventions, rather than to limit the inventions. It should also be noted that, for ease of description, only the parts related to the relevant inventions are shown in the accompanying drawings. It should be noted that, in the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.

[0082] Due to the delay in the commercial use of the Layer 2 module, Ethernet data cannot be transmitted in the mobile communication system. Therefore, the use of tunnel technology is considered. When signing the contract, the user carries the 5GLAN group session flag, and the UPF configures the tunnel flag in advance to solve the Layer 2 module problem. Specifically, the UPF is pre-statically configured with user and tunnel flags; the terminal marks the back-end network data with a tunnel flag and transfers it to the RAN, and the RAN transfers it to the UPF through the GTPU tunnel. The UPF removes the tunnel encapsulation and transfers it to the N6 DNN network. Tunnel parameters such as tunnel flags require manual planning and configuration. Configuration and maintenance are time-consuming and error-prone. Because configuration updates are difficult and error-prone, the security of data transmission is poor. After the tunnel parameters are maliciously acquired, the UPF network element is vulnerable to attack. Based on this, an embodiment of the present application provides a tunnel management method, such as Figure 1 As shown, the method is applied to a first network element, comprising:

[0083] Step 101: configuring a tunnel parameter corresponding to the tunnel capability flag of the second network element based on the tunnel capability flag of the second network element;

[0084] Step 102: Send the tunnel parameters to the second network element and the third network element, so that the second network element and the third network element transmit data on the tunnel corresponding to the tunnel parameters.

[0085] It should be understood that in the embodiment of the present application, the first network element may be a service management function (SMF) device, the second network element may be a customer premises equipment (CPE), and the third network element may be a user plane function (UPF) device.

[0086] In an embodiment of the present application, the tunnel includes at least one of the following:

[0087] Internet Security Protocol IPSEC tunnel;

[0088] Generic Routing Encapsulation GRE tunnel;

[0089] Virtual Extensible Local Area Network VxLan Tunnel.

[0090] In one embodiment, before configuring the tunnel parameters corresponding to the tunnel capability flag, the method further includes:

[0091] Receive first information, where the first information includes a tunnel capability tag of the second network element; wherein the tunnel capability tag is used to notify the first network element whether the second network element supports tunnels.

[0092] In actual application, when the tunnel is a VxLan tunnel, the first information may include: the N1 SM Container carried in the NAS message sent by the second network element, and the N1 SM Container carries the tunnel capability tag. After receiving the first information, the first network element will (dynamically) configure the tunnel parameters and send them to the second network element and the third network element.

[0093] In one embodiment, sending the tunnel parameter to the second network element includes:

[0094] Sending second information to a second network element, where the second information includes a tunnel parameter corresponding to the tunnel capability flag configured by the first network element; wherein the tunnel parameter includes at least one of the following:

[0095] Tunnel type;

[0096] User Datagram Protocol UDP port number;

[0097] Tunnel ID.

[0098] In actual application, when the tunnel is a VxLan tunnel, the second information may include N2 SM information sent by the first network element, the N2 SM information carries an N1 SM container, and the N1 SM container carries at least one of the following tunnel parameters: tunnel type; UDP port number; tunnel identifier (including source vnid and destination vnid).

[0099] In one embodiment, sending the tunnel parameter to a third network element includes:

[0100] Sending third information to a third network element, wherein the third information includes tunnel message characteristic parameters; wherein,

[0101] The tunnel message characteristic parameters include at least one of the following:

[0102] Tunnel Head;

[0103] Tunnel encapsulation type.

[0104] In actual application, when the tunnel is a VxLan tunnel, the third information may include: packet detection rules (Packet Detection Rule, PDR) and / or forwarding action rules (Forwarding Action Rules, FAR) sent by the first network element to the third network element; in the N4 interface corresponding to the information, two tunnel headers are added to the field outer header creation description (corresponding to the downlink); and two tunnel encapsulation types are added to the field outer header removal description (corresponding to the uplink).

[0105] In one embodiment, before sending the tunnel parameters to the third network element, the method further includes:

[0106] Receive fourth information, where the fourth information includes a tunnel response tag; wherein the tunnel response tag is used to notify the first network element that the second network element has received the tunnel parameters.

[0107] In actual application, when the tunnel is a VxLan tunnel, the fourth information may include: N1 SM contaniner in N2 SM formation response, and the N1 SM contaniner carries a tunnel response (ready) mark.

[0108] In one embodiment, the method further comprises:

[0109] Updating the tunnel parameters according to a preset period;

[0110] The updated tunnel parameters are sent to the second network element and the third network element, so that the second network element and the third network element transmit data on the tunnel corresponding to the updated tunnel parameters.

[0111] In actual application, the first network element may periodically generate new tunnel parameters (update the tunnel parameters) and send the updated tunnel parameters to the second network element and the third network element, thereby improving the security of the tunnel.

[0112] The present application also provides a tunnel management method. Figure 2 As shown, the method is applied to a second network element, comprising:

[0113] Step 201: receiving a tunnel parameter corresponding to a tunnel capability tag configured by a first network element based on a tunnel capability tag of a second network element, for the second network element to transmit data on a tunnel corresponding to the tunnel parameter.

[0114] It should be understood that in the embodiment of the present application, the first network element may be a service management function (SMF) device, the second network element may be a customer premises equipment (CPE), and the third network element may be a user plane function (UPF) device.

[0115] In an embodiment of the present application, the tunnel includes at least one of the following:

[0116] Internet Security Protocol IPSEC tunnel;

[0117] Generic Routing Encapsulation GRE tunnel;

[0118] Virtual Extensible Local Area Network VxLan Tunnel.

[0119] In one embodiment, before receiving the tunnel parameter corresponding to the tunnel capability flag configured by the first network element based on the tunnel capability flag of the second network element, the method further includes:

[0120] Sending first information, wherein the first information includes a tunnel capability tag of the second network element; wherein the tunnel capability tag is used to notify the first network element whether the second network element supports tunnels.

[0121] In one embodiment, the receiving a tunnel parameter corresponding to the tunnel capability flag configured by the first network element based on the tunnel capability flag of the second network element includes:

[0122] receiving second information, wherein the second information includes a tunnel parameter configured by the first network element and corresponding to the tunnel capability flag; wherein the tunnel parameter includes at least one of the following:

[0123] Tunnel type;

[0124] User Datagram Protocol UDP port number;

[0125] Tunnel ID.

[0126] In one embodiment, the method further comprises:

[0127] The tunnel parameters updated by the first network element according to a preset period are received, so as to enable the second network element to transmit data on the tunnel corresponding to the updated tunnel parameters.

[0128] In actual application, the first network element may periodically generate new tunnel parameters (update the tunnel parameters) and send the updated tunnel parameters to the second network element and the third network element, thereby improving the security of the tunnel.

[0129] The present application also provides a tunnel management method. Figure 3 As shown, the method is applied to a third network element, including:

[0130] Step 301: receiving a tunnel parameter corresponding to the tunnel capability tag configured by a first network element based on the tunnel capability tag of a second network element, for the third network element to transmit data on the tunnel corresponding to the tunnel parameter.

[0131] It should be understood that in the embodiment of the present application, the first network element may be a service management function (SMF) device, the second network element may be a customer premises equipment (CPE), and the third network element may be a user plane function (UPF) device.

[0132] In an embodiment of the present application, the tunnel includes at least one of the following:

[0133] Internet Security Protocol IPSEC tunnel;

[0134] Generic Routing Encapsulation GRE tunnel;

[0135] Virtual Extensible Local Area Network VxLan Tunnel.

[0136] In one embodiment, the receiving a tunnel parameter corresponding to the tunnel capability flag configured by the first network element based on the tunnel capability flag of the second network element includes:

[0137] receiving third information, wherein the third information includes tunnel message characteristic parameters; wherein,

[0138] The tunnel message characteristic parameters include at least one of the following:

[0139] Tunnel Head;

[0140] Tunnel encapsulation type.

[0141] In one embodiment, the method further comprises:

[0142] The tunnel parameters updated by the first network element according to a preset period are received, so as to enable the third network element to transmit data on the tunnel corresponding to the updated tunnel parameters.

[0143] In actual application, the first network element may periodically generate new tunnel parameters (update the tunnel parameters) and send the updated tunnel parameters to the second network element and the third network element, thereby improving the security of the tunnel.

[0144] The following is an application example to describe the tunnel management method. Figure 4 As shown, this example implements dynamic configuration and delivery of tunnel parameters in the session update process. The SMF device is the first network element, the CPE is the second network element, and the UPF device is the third network element. The specific process includes:

[0145] Step 1-2: The N1 SM Container carried in the NAS message sent by the CPE includes a tunnel capability flag, which is used by the CPE to notify the SMF whether the CPE supports tunnels;

[0146] Wherein, after step 2, SMF configures tunnel parameters after determining that the CPE supports the tunnel.

[0147] Step 3-5: The N1 SMcontainer carried in the N2 SM information fed back by the SMF to the CPE includes one or more of the tunnel type, UDP port number, and tunnel identifier (source vnid and destination vnid);

[0148] Step 6-7: The N1 SMcontaniner carried in the N2 SM information response sent by the CPE to the SMF includes a tunnel ready flag (NGRAN supports vxlan tunnel flag), which is used to inform the SMF that the CPE is ready for subsequent data transmission;

[0149] Step 8: The SMF sends PDR and / or FAR to UPF, and adds two tunnel headers (corresponding to downlink) to the field outer header creation description in the corresponding N4 interface, and adds two tunnel encapsulation types (corresponding to uplink) to the field outer header removal description.

[0150] In order to implement the method embodiment of the first network element side of the embodiment of the present application, the embodiment of the present application also provides a tunnel management device, such as Figure 5 As shown, the device is applied to a first network element, including:

[0151] The first processing unit 501 is configured to configure a tunnel parameter corresponding to the tunnel capability flag based on the tunnel capability flag of the second network element;

[0152] The first communication unit 502 is used to send the tunnel parameter to the second network element and the third network element, so that the second network element and the third network element transmit data on the tunnel corresponding to the tunnel parameter.

[0153] In an embodiment of the present application, the tunnel includes at least one of the following:

[0154] Internet Security Protocol IPSEC tunnel;

[0155] Generic Routing Encapsulation GRE tunnel;

[0156] Virtual Extensible Local Area Network VxLan Tunnel.

[0157] In one embodiment, before the first processing unit 501 configures the tunnel parameters corresponding to the tunnel capability flag, the first communication unit 502 is further configured to

[0158] Receive first information, where the first information includes a tunnel capability tag of the second network element; wherein the tunnel capability tag is used to notify the first network element whether the second network element supports tunnels.

[0159] In one embodiment, the first communication unit 502 sends the tunnel parameter to the second network element, including:

[0160] Sending second information to a second network element, where the second information includes a tunnel parameter corresponding to the tunnel capability flag configured by the first network element; wherein the tunnel parameter includes at least one of the following:

[0161] Tunnel type;

[0162] User Datagram Protocol UDP port number;

[0163] Tunnel ID.

[0164] In one embodiment, the first communication unit 502 sends the tunnel parameter to the third network element, including:

[0165] Sending third information to a third network element, wherein the third information includes tunnel message characteristic parameters; wherein,

[0166] The tunnel message characteristic parameters include at least one of the following:

[0167] Tunnel Head;

[0168] Tunnel encapsulation type.

[0169] In one embodiment, before the first communication unit 502 sends the tunnel parameters to the third network element, it is also used to

[0170] Receive fourth information, where the fourth information includes a tunnel response tag; wherein the tunnel response tag is used to notify the first network element that the second network element has received the tunnel parameters.

[0171] In one embodiment, the first processing unit 501 is further configured to update the tunnel parameters according to a preset period;

[0172] The first communication unit 502 is further configured to send the updated tunnel parameters to the second network element and the third network element, so that the second network element and the third network element transmit data on the tunnel corresponding to the updated tunnel parameters.

[0173] In actual application, the first communication unit 502 can be implemented by a communication interface in the tunnel management device; the first processing unit 501 can be implemented by a processor in the tunnel management device.

[0174] It should be noted that: the tunnel management device provided in the above embodiment only uses the division of the above program modules as an example when communicating. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0175] In order to implement the method embodiment of the second network element side of the embodiment of the present application, the embodiment of the present application also provides a tunnel management device, such as Figure 6 As shown, the device is applied to a second network element, comprising: a second communication unit 601 and a second processing unit 602; wherein,

[0176] The second communication unit 601 is used to receive a tunnel parameter corresponding to the tunnel capability mark configured by the first network element based on the tunnel capability mark of the second network element, so that the second network element transmits data on the tunnel corresponding to the tunnel parameter.

[0177] In one embodiment, before the second communication unit 601 receives the tunnel parameter corresponding to the tunnel capability flag configured by the first network element based on the tunnel capability flag of the second network element, it is also used to

[0178] Sending first information, wherein the first information includes a tunnel capability tag of the second network element; wherein the tunnel capability tag is used to notify the first network element whether the second network element supports tunnels.

[0179] In one embodiment, the second communication unit 601 receives a tunnel parameter corresponding to the tunnel capability flag configured by the first network element based on the tunnel capability flag of the second network element, including:

[0180] receiving second information, wherein the second information includes a tunnel parameter configured by the first network element and corresponding to the tunnel capability flag; wherein the tunnel parameter includes at least one of the following:

[0181] Tunnel type;

[0182] User Datagram Protocol UDP port number;

[0183] Tunnel ID.

[0184] In one embodiment, the second communication unit 601 is further used to

[0185] The tunnel parameters updated by the first network element according to a preset period are received, so as to enable the second network element to transmit data on the tunnel corresponding to the updated tunnel parameters.

[0186] In actual application, the second communication unit 601 can be implemented by a communication interface in the tunnel management device; the second processing unit 602 can be implemented by a processor in the tunnel management device.

[0187] It should be noted that: the tunnel management device provided in the above embodiment only uses the division of the above program modules as an example when communicating. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0188] In order to implement the method embodiment of the third network element side described in the embodiment of the present application, the embodiment of the present application also provides a tunnel management device, such as Figure 7 As shown, the device is applied to a third network element, including: a third communication unit 701 and a third processing unit 702; wherein,

[0189] The third communication unit 701 is used to receive a tunnel parameter corresponding to the tunnel capability mark configured by the first network element based on the tunnel capability mark of the second network element, so as to enable the third network element to transmit data on the tunnel corresponding to the tunnel parameter.

[0190] In one embodiment, the third communication unit 701 receives a tunnel parameter corresponding to the tunnel capability flag configured by the first network element based on the tunnel capability flag of the second network element, including:

[0191] receiving third information, wherein the third information includes tunnel message characteristic parameters; wherein,

[0192] The tunnel message characteristic parameters include at least one of the following:

[0193] Tunnel Head;

[0194] Tunnel encapsulation type.

[0195] In one embodiment, the third communication unit 701 is further used to receive tunnel parameters updated by the first network element according to a preset period, so that the third network element can transmit data on the tunnel corresponding to the updated tunnel parameters.

[0196] In actual application, the third communication unit 701 can be implemented by a communication interface in the tunnel management device; the third processing unit 702 can be implemented by a processor in the tunnel management device.

[0197] It should be noted that: the tunnel management device provided in the above embodiment only uses the division of the above program modules as an example when communicating. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0198] Based on the hardware implementation of the above program module, and in order to implement the method on the first network element side of the embodiment of the present application, the embodiment of the present application also provides a network element, such as Figure 8 As shown, the network element 800 includes:

[0199] The first communication interface 801 is capable of exchanging information with the terminal and / or other nodes on the network side;

[0200] A first processor 802 is connected to the first communication interface 801 to implement information interaction with the terminal and / or other nodes on the network side, and is used to execute the method provided by one or more technical solutions on the first network element side when running a computer program;

[0201] A first memory 803 , in which the computer program is stored.

[0202] Specifically, the first processor 802 is configured to configure a tunnel parameter corresponding to the tunnel capability flag based on the tunnel capability flag of the second network element;

[0203] The first communication interface is used to send the tunnel parameters to the second network element and the third network element, so that the second network element and the third network element transmit data on the tunnel corresponding to the tunnel parameters.

[0204] In an embodiment of the present application, the tunnel includes at least one of the following:

[0205] Internet Security Protocol IPSEC tunnel;

[0206] Generic Routing Encapsulation GRE tunnel;

[0207] Virtual Extensible Local Area Network VxLan Tunnel.

[0208] In one embodiment, before the first processor 802 and the tunnel parameter corresponding to the tunnel capability tag, the first communication interface 801 is also used to

[0209] Receive first information, where the first information includes a tunnel capability tag of the second network element; wherein the tunnel capability tag is used to notify the first network element whether the second network element supports tunnels.

[0210] In one embodiment, the first communication interface 801 sends the tunnel parameter to the second network element, including:

[0211] Sending second information to a second network element, where the second information includes a tunnel parameter corresponding to the tunnel capability flag configured by the first network element; wherein the tunnel parameter includes at least one of the following:

[0212] Tunnel type;

[0213] User Datagram Protocol UDP port number;

[0214] Tunnel ID.

[0215] In one embodiment, the first communication interface 801 sends the tunnel parameter to the third network element, including:

[0216] Sending third information to a third network element, wherein the third information includes tunnel message characteristic parameters; wherein,

[0217] The tunnel message characteristic parameters include at least one of the following:

[0218] Tunnel Head;

[0219] Tunnel encapsulation type.

[0220] In one embodiment, before the first communication interface 801 sends the tunnel parameters to the third network element, it is also used to

[0221] Receive fourth information, where the fourth information includes a tunnel response tag; wherein the tunnel response tag is used to notify the first network element that the second network element has received the tunnel parameters.

[0222] In one embodiment, the first processor 802 is further configured to update the tunnel parameters according to a preset period;

[0223] The first communication interface 801 is further used to send the updated tunnel parameters to the second network element and the third network element, so that the second network element and the third network element transmit data on the tunnel corresponding to the updated tunnel parameters.

[0224] It should be noted that the specific processing process of the first communication interface 801 and the first processor 802 can be understood by referring to the above method, which will not be repeated here.

[0225] Of course, in actual application, the various components in the first network element 800 are coupled together through the bus system 804. It can be understood that the bus system 804 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 804 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 8 Various buses are labeled as bus system 804 .

[0226] The first memory 803 in the embodiment of the present application is used to store various types of data to support the operation of the first network element 800. Examples of such data include: any computer program used to operate on the first network element 800.

[0227] The method disclosed in the above embodiment of the present application can be applied to the first processor 802, or implemented by the first processor 802. The first processor 802 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the first processor 802. The above-mentioned first processor 802 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The first processor 802 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the first memory 803, and the first processor 802 reads the information in the first memory 803 and completes the steps of the above method in combination with its hardware.

[0228] In an exemplary embodiment, the first network element 800 can be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to execute the aforementioned method.

[0229] Based on the hardware implementation of the above program module, and in order to implement the method on the second network element side of the embodiment of the present application, the embodiment of the present application also provides a network element, such as Fig. 9 As shown, the network element 900 includes:

[0230] The second communication interface 901 is capable of exchanging information with the terminal and / or other nodes on the network side;

[0231] The second processor 902 is connected to the second communication interface 901 to implement information interaction with the terminal and / or other nodes on the network side, and is used to execute the method provided by one or more technical solutions on the second network element side when running the computer program;

[0232] A second memory 903 , on which the computer program is stored.

[0233] Specifically, the second communication interface 901 is used to receive a tunnel parameter corresponding to the tunnel capability mark configured by the first network element based on the tunnel capability mark of the second network element, so as to enable the second network element to transmit data on the tunnel corresponding to the tunnel parameter.

[0234] In one embodiment, before the second communication interface 901 receives the tunnel parameter corresponding to the tunnel capability tag configured by the first network element based on the tunnel capability tag of the second network element, it is also used to

[0235] Sending first information, wherein the first information includes a tunnel capability tag of the second network element; wherein the tunnel capability tag is used to notify the first network element whether the second network element supports tunnels.

[0236] In one embodiment, the second communication interface 901 receives a tunnel parameter corresponding to the tunnel capability flag configured by the first network element based on the tunnel capability flag of the second network element, including:

[0237] receiving second information, wherein the second information includes a tunnel parameter configured by the first network element and corresponding to the tunnel capability flag; wherein the tunnel parameter includes at least one of the following:

[0238] Tunnel type;

[0239] User Datagram Protocol UDP port number;

[0240] Tunnel ID.

[0241] In one embodiment, the second communication interface 901 is also used to

[0242] The tunnel parameters updated by the first network element according to a preset period are received, so as to enable the second network element to transmit data on the tunnel corresponding to the updated tunnel parameters.

[0243] It should be noted that the specific processing process of the second communication interface 901 and the second processor 902 can be understood by referring to the above method, which will not be repeated here.

[0244] Of course, in actual application, the various components in the network element 900 are coupled together through the bus system 904. It can be understood that the bus system 904 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 904 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig. 9 Various buses are labeled as bus system 904.

[0245] The second memory 903 in the embodiment of the present application is used to store various types of data to support the operation of the network element 900. Examples of such data include: any computer program used to operate on the network element 900.

[0246] The method disclosed in the above embodiment of the present application can be applied to the second processor 902, or implemented by the second processor 902. The second processor 902 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the second processor 902. The above second processor 902 may be a general processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The second processor 902 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the second memory 903, and the second processor 902 reads the information in the second memory 903, and completes the steps of the above method in combination with its hardware.

[0247] In an exemplary embodiment, the network element 900 may be implemented by one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to execute the aforementioned method.

[0248] Based on the hardware implementation of the above program module, and in order to implement the method on the third network element side of the embodiment of the present application, the embodiment of the present application also provides a network element, such as Fig.10 As shown, the network element 1000 includes:

[0249] The third communication interface 1001 is capable of exchanging information with the terminal and / or other nodes on the network side;

[0250] The third processor 1002 is connected to the third communication interface 1001 to implement information interaction with the terminal and / or other nodes on the network side, and is used to execute the method provided by one or more technical solutions on the third network element side when running the computer program;

[0251] A third memory 1003 , on which the computer program is stored.

[0252] Specifically, the third communication interface 1001 is used to receive tunnel parameters corresponding to the tunnel capability mark configured by the first network element based on the tunnel capability mark of the second network element, and is used for the third network element to transmit data on the tunnel corresponding to the tunnel parameter.

[0253] In one embodiment, the third communication interface 1001 receives a tunnel parameter corresponding to the tunnel capability flag configured by the first network element based on the tunnel capability flag of the second network element, including:

[0254] receiving third information, wherein the third information includes tunnel message characteristic parameters; wherein,

[0255] The tunnel message characteristic parameters include at least one of the following:

[0256] Tunnel Head;

[0257] Tunnel encapsulation type.

[0258] In one embodiment, the third communication interface 1001 is further used to receive tunnel parameters updated by the first network element according to a preset period, so as to enable the third network element to transmit data on a tunnel corresponding to the updated tunnel parameters.

[0259] It should be noted that the specific processing process of the third communication interface 1001 and the third processor 1002 can be understood by referring to the above method, which will not be repeated here.

[0260] Of course, in actual application, the various components in the network element 1000 are coupled together through the bus system 1004. It can be understood that the bus system 604 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1004 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.10 Various buses are labeled as bus system 1004 .

[0261] The third memory 1003 in the embodiment of the present application is used to store various types of data to support the operation of the network element 1000. Examples of such data include: any computer program used to operate on the network element 1000.

[0262] The method disclosed in the above embodiment of the present application can be applied to the third processor 1002, or implemented by the third processor 1002. The third processor 1002 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the third processor 1002. The above third processor 1002 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The third processor 1002 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the third memory 1003, and the third processor 1002 reads the information in the third memory 1003, and completes the steps of the above method in combination with its hardware.

[0263] In an exemplary embodiment, network element 1000 can be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to execute the aforementioned method.

[0264] In an exemplary embodiment, the embodiment of the present application further provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, including a first memory 803 storing a computer program, and the computer program can be executed by the first processor 802 of the network element 800 to complete the steps of the first network element side method. For another example, including a second memory 903 storing a computer program, the computer program can be executed by the second processor 902 of the network element 900 to complete the steps of the second network element side method. For another example, including a third memory 1003 storing a computer program, the computer program can be executed by the third processor 1002 of the network element 1000 to complete the steps of the third network element side method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM.

[0265] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0266] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

[0267] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.

Claims

1. A tunnel management method, characterized in that: The method is applied to a first network element, comprising: Configure a tunnel parameter corresponding to the tunnel capability flag based on the tunnel capability flag of the second network element; The tunnel parameters are sent to the second network element and the third network element, so that the second network element and the third network element transmit data on the tunnel corresponding to the tunnel parameters.

2. The method according to claim 1, characterized in that The tunnel includes at least one of the following: Internet Security Protocol IPSEC tunnel; Generic Routing Encapsulation GRE tunnel; Virtual Extensible Local Area Network VxLan Tunnel.

3. The method according to claim 1, characterized in that Before configuring the tunnel parameters corresponding to the tunnel capability flag, the method further includes: Receive first information, where the first information includes a tunnel capability tag of the second network element; wherein the tunnel capability tag is used to notify the first network element whether the second network element supports tunnels.

4. The method according to claim 1, characterized in that: The sending the tunnel parameter to the second network element includes: Sending second information to a second network element, where the second information includes a tunnel parameter corresponding to the tunnel capability flag configured by the first network element; wherein the tunnel parameter includes at least one of the following: Tunnel type; User Datagram Protocol UDP port number; Tunnel ID.

5. The method according to claim 1, characterized in that The sending the tunnel parameter to the third network element includes: Sending third information to a third network element, wherein the third information includes tunnel message characteristic parameters; wherein, The tunnel message characteristic parameters include at least one of the following: Tunnel Head; Tunnel encapsulation type.

6. The method according to claim 1, characterized in that Before sending the tunnel parameters to the third network element, the method further includes: Receive fourth information, where the fourth information includes a tunnel response tag; wherein the tunnel response tag is used to notify the first network element that the second network element has received the tunnel parameters.

7. The method according to claim 1, characterized in that The method further comprises: Updating the tunnel parameters according to a preset period; The updated tunnel parameters are sent to the second network element and the third network element, so that the second network element and the third network element transmit data on the tunnel corresponding to the updated tunnel parameters.

8. A tunnel management method, characterized in that: The method is applied to a second network element, comprising: A tunnel parameter corresponding to the tunnel capability mark configured by the first network element based on the tunnel capability mark of the second network element is received, so that the second network element transmits data on the tunnel corresponding to the tunnel parameter.

9. The method according to claim 8, characterized in that Before receiving the tunnel parameter corresponding to the tunnel capability flag configured by the first network element based on the tunnel capability flag of the second network element, the method further includes: Sending first information, wherein the first information includes a tunnel capability tag of the second network element; wherein the tunnel capability tag is used to notify the first network element whether the second network element supports tunnels.

10. The method according to claim 8, characterized in that The receiving a tunnel parameter corresponding to the tunnel capability flag configured by the first network element based on the tunnel capability flag of the second network element includes: receiving second information, wherein the second information includes a tunnel parameter configured by the first network element and corresponding to the tunnel capability flag; wherein the tunnel parameter includes at least one of the following: Tunnel type; User Datagram Protocol UDP port number; Tunnel ID.

11. The method according to claim 8, characterized in that The method further comprises: The tunnel parameters updated by the first network element according to a preset period are received, so as to enable the second network element to transmit data on the tunnel corresponding to the updated tunnel parameters.

12. A tunnel management method, characterized in that: The method is applied to a third network element, comprising: A tunnel parameter corresponding to the tunnel capability mark configured by the first network element based on the tunnel capability mark of the second network element is received, so as to be used by the third network element to transmit data on the tunnel corresponding to the tunnel parameter.

13. The method according to claim 12, characterized in that The receiving a tunnel parameter corresponding to the tunnel capability flag configured by the first network element based on the tunnel capability flag of the second network element includes: receiving third information, wherein the third information includes tunnel message characteristic parameters; wherein, The tunnel message characteristic parameters include at least one of the following: Tunnel Head; Tunnel encapsulation type.

14. The method according to claim 12, characterized in that The method further comprises: The tunnel parameters updated by the first network element according to a preset period are received, so as to enable the third network element to transmit data on the tunnel corresponding to the updated tunnel parameters.

15. A tunnel management device, characterized in that: The device is applied to a first network element, and includes: A first processing unit, configured to configure a tunnel parameter corresponding to the tunnel capability flag based on the tunnel capability flag of the second network element; The first communication unit is used to send the tunnel parameter to the second network element and the third network element, so that the second network element and the third network element transmit data on the tunnel corresponding to the tunnel parameter.

16. A tunnel management device, characterized in that: The device is applied to a second network element, including: The second communication unit is used to receive the tunnel parameters corresponding to the tunnel capability mark configured by the first network element based on the tunnel capability mark of the second network element, so as to be used by the second network element to transmit data on the tunnel corresponding to the tunnel parameters.

17. A tunnel management device, characterized in that: The device is applied to a third network element, including: The third communication unit is used to receive the tunnel parameters corresponding to the tunnel capability mark configured by the first network element based on the tunnel capability mark of the second network element, and is used for the third network element to transmit data on the tunnel corresponding to the tunnel parameter.

18. A network element, characterized in that: include: a first communication interface and a first processor; wherein, The first processor is configured to configure a tunnel parameter corresponding to the tunnel capability flag based on the tunnel capability flag of the second network element; The first communication interface is used to send the tunnel parameters to the second network element and the third network element, so that the second network element and the third network element transmit data on the tunnel corresponding to the tunnel parameters.

19. A network element, characterized in that: include: A second communication interface and a second processor; wherein, The second communication interface is used to receive tunnel parameters corresponding to the tunnel capability mark configured by the first network element based on the tunnel capability mark of the second network element, and is used by the second network element to transmit data on the tunnel corresponding to the tunnel parameter.

20. A network element, characterized in that: include: A third communication interface and a third processor; wherein, The third communication interface is used to receive tunnel parameters corresponding to the tunnel capability mark configured by the first network element based on the tunnel capability mark of the second network element, and is used by the third network element to transmit data on the tunnel corresponding to the tunnel parameters.

21. A network element, characterized in that: include: a first processor and a first memory for storing a computer program executable on the processor, Wherein, when the first processor is used to run the computer program, the steps of the method described in any one of claims 1 to 7 are executed.

22. A network element, characterized in that: include: a second processor and a second memory for storing a computer program executable on the processor, Wherein, when the second processor is used to run the computer program, the steps of the method described in any one of claims 8 to 11 are executed.

23. A network element, characterized in that: include: a third processor and a third memory for storing a computer program executable on the processor, Wherein, the third processor is used to execute the steps of the method described in any one of claims 12 to 14 when running the computer program.

24. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements the steps of the method described in any one of claims 1 to 7, or implements the steps of the method described in any one of claims 8 to 11, or implements the steps of the method described in any one of claims 12 to 14.