CN113381920B - Data transmission method, node and storage medium - Google Patents

Data transmission method, node and storage medium Download PDF

Info

Publication number
CN113381920B
CN113381920B CN202010158986.0A CN202010158986A CN113381920B CN 113381920 B CN113381920 B CN 113381920B CN 202010158986 A CN202010158986 A CN 202010158986A CN 113381920 B CN113381920 B CN 113381920B
Authority
CN
China
Prior art keywords
node
mapping
data packet
identification information
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010158986.0A
Other languages
Chinese (zh)
Other versions
CN113381920A (en
Inventor
杜宗鹏
耿亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010158986.0A priority Critical patent/CN113381920B/en
Priority to PCT/CN2021/079788 priority patent/WO2021180084A1/en
Publication of CN113381920A publication Critical patent/CN113381920A/en
Application granted granted Critical
Publication of CN113381920B publication Critical patent/CN113381920B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/659Internet protocol version 6 [IPv6] addresses

Abstract

The embodiment of the invention discloses a data transmission method, a node and a storage medium. The method comprises the following steps: the method comprises the steps that an encapsulation node sends a first data packet of a service flow to a mapping node, wherein the first data packet comprises identification information and service requirement information; the identification information and the service requirement information are used for the mapping node to establish the mapping of the service flow and the communication tunnel; after determining that the mapping node establishes mapping between the service flow and the communication tunnel, the encapsulation node sends a second data packet to the mapping node, where the second data packet includes flow identification information, and the flow identification information is a part of the identification information; the second data packet is a data packet of the service flow after the first data packet.

Description

Data transmission method, node and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data transmission method, a node, and a storage medium.
Background
In an Application-aware network (APN) architecture, a package node carries required information, such as service parameters (service parameters), in a data packet sent to a mapping node, and the required information is used for finding or establishing a proper network path, so that a network-aware service is achieved, and the bearing capacity is completed as required. In the related art, the data packets for the same service flow all carry the requirement information, and when a suitable network path is found or established based on the requirement information carried in the first or some data packets, it is equivalent to that the subsequent data packets carry much repeated information, which causes waste of bandwidth.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide a data transmission method, a node, and a storage medium.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a data transmission method, where the method includes:
a packaging node sends a first data packet of a service flow to a mapping node, wherein the first data packet comprises identification information and service demand information; the identification information and the service requirement information are used for the mapping node to establish the mapping of the service flow and the communication tunnel;
after determining that the mapping node establishes mapping between the service flow and the communication tunnel, the encapsulation node sends a second data packet to the mapping node, where the second data packet includes flow identification information, and the flow identification information is a part of the identification information; the second data packet is a data packet of the service flow after the first data packet.
In the foregoing solution, the determining, by the encapsulation node, that the mapping node establishes the mapping between the service flow and the communication tunnel includes: when the encapsulation node sends the first data packet or after the encapsulation node sends the first data packet, a timer is started;
and when the timing time of the timer is up, determining that the mapping node establishes the mapping of the service flow and the communication tunnel.
In the foregoing solution, the determining, by the encapsulation node, that the mapping node establishes the mapping between the service flow and the communication tunnel includes: and the packaging node receives the notification information sent by the mapping node, and determines that the mapping node establishes the mapping of the service flow and the communication tunnel based on the notification information.
In the above solution, the receiving, by the encapsulating node, the notification information sent by the mapping node includes:
the packaging node receives the notification information sent by the mapping node through an Internet Control information Protocol Version six (ICMPv 6, internet Control Management Protocol Version 6) message; a specific field of the data fields in the ICMPv6 message is used to indicate the notification information.
In the above scheme, the sending the second data packet to the mapping node includes:
the packaging node sends a second data packet in an APN format to the mapping node; the flow identification information is included in a specific field of the second packet of the APN format.
In the above scheme, the sending the second data packet to the mapping node includes:
the packaging node sends a second data packet to the mapping node through an Internet Protocol Version 6 (IPv 6, internet Protocol Version 6) data packet; bits of a specific field of the IPv6 packet correspond to the flow identification information.
In a second aspect, an embodiment of the present invention further provides a data transmission method, where the method includes:
a mapping node receives a first data packet of a service flow sent by a packaging node, wherein the first data packet comprises identification information and service demand information;
the mapping node establishes mapping of the service flow and the communication tunnel at least based on the identification information and the service requirement information, and forwards the first data packet through the communication tunnel;
the mapping node receives a second data packet sent by the encapsulation node, wherein the second data packet comprises flow identification information; the flow identification information is a part of the identification information; the second data packet is a data packet of the service flow after the first data packet;
the mapping node determines the corresponding communication tunnel based on at least the flow identification information and the mapping, and forwards the second packet through the communication tunnel.
In the foregoing solution, the mapping node establishes mapping between the service flow and the communication tunnel based on at least the identification information and the service requirement information, including: the mapping node extracts the flow identification information in the identification information and obtains source node information of the first data packet;
establishing or selecting a communication tunnel meeting the service requirement information;
establishing mapping between the source node information, the flow identification information and the communication tunnel;
the mapping node determining the corresponding communication tunnel based on at least the flow identification information and the mapping, including: the mapping node determines the communication tunnel corresponding to the flow identification information and the source node information based on the mapping.
In the above scheme, before the mapping node receives the second data packet sent by the encapsulating node, the method further includes: the mapping node sends notification information to the encapsulation node, wherein the notification information is used for notifying the encapsulation node that the mapping of the service flow and the communication tunnel is established; and the notification information is sent after the mapping node establishes the mapping of the service flow and the communication tunnel.
In the above solution, the sending, by the mapping node, notification information to the encapsulation node includes:
and the mapping node sends notification information to the encapsulation node through an ICMPv6 message, wherein a specific field in a data field in the ICMPv6 message is used for indicating the notification information.
In the above scheme, the receiving, by the mapping node, the second data packet sent by the encapsulation node includes:
the mapping node receives a second data packet in an APN format sent by the packaging node; and the specific field of the second data packet in the APN format comprises the flow identification information.
In the above solution, the receiving, by the mapping node, the second data packet sent by the encapsulation node includes:
the mapping node receives a second data packet sent by the encapsulation node through an IPv6 data packet; at least part of bits of a specific field of the IPv6 packet correspond to the flow identification information.
In a third aspect, an embodiment of the present invention further provides an encapsulation node, where the encapsulation node includes: the system comprises a first communication unit and a first processing unit; wherein the content of the first and second substances,
the first communication unit is configured to send a first data packet of a service flow to a mapping node, where the first data packet includes identification information and service requirement information; the identification information and the service requirement information are used for the mapping node to establish the mapping of the service flow and the communication tunnel;
the first processing unit is configured to determine whether the mapping node establishes mapping of the traffic flow and the communication tunnel;
the first communication unit is further configured to, after the first processing unit determines that the mapping node establishes the mapping between the service flow and the communication tunnel, send a second data packet to the mapping node, where the second data packet includes flow identification information, and the flow identification information is a part of the identification information; the second data packet is a data packet of the service flow after the first data packet.
In the above solution, the first processing unit is configured to start a timer when the first communication unit sends the first data packet, or after sending the first data packet; and when the timing time of the timer is up, determining that the mapping node establishes the mapping of the service flow and the communication tunnel.
In the foregoing solution, the first processing unit is configured to receive, by the first communication unit, notification information sent by the mapping node, and determine, based on the notification information, that the mapping node establishes mapping between the service flow and the communication tunnel.
In the foregoing solution, the first processing unit is configured to receive notification information sent by the mapping node through an ICMPv6 message; a specific field of data fields in the ICMPv6 message is used to indicate the notification information.
In the above solution, the first communication unit is configured to send a second data packet in an APN format to the mapping node; the flow identification information is included in a specific field of the second packet of the APN format.
In the foregoing solution, the first communication unit is configured to send a second data packet to the mapping node through an IPv6 data packet; bits of a specific field of the IPv6 packet correspond to the flow identification information.
In a fourth aspect, an embodiment of the present invention further provides a mapping node, where the mapping node includes: the second communication unit and the second processing unit; wherein, the first and the second end of the pipe are connected with each other,
the second communication unit is configured to receive a first data packet of a service flow sent by a package node, where the first data packet includes identification information and service requirement information;
the second processing unit is configured to establish mapping between the service flow and the communication tunnel based on at least the identification information and the service requirement information;
the second communication unit is further configured to forward the first data packet through the communication tunnel; the encapsulation node is further configured to receive a second data packet sent by the encapsulation node, where the second data packet includes flow identification information; the flow identification information is a part of the identification information; the second data packet is a data packet of the service flow after the first data packet;
the second processing unit is further configured to determine the corresponding communication tunnel based on at least the flow identification information and the mapping;
the second communication unit is further configured to forward the second data packet through the communication tunnel.
In the foregoing solution, the second processing unit is configured to extract the flow identification information in the identification information, and obtain source node information of the first packet; establishing or selecting a communication tunnel meeting the service requirement information; establishing mapping between the source node information, the flow identification information and the communication tunnel; and further configured to determine the communication tunnel to which the flow identification information and the source node information correspond based on the mapping.
In the foregoing solution, the second communication unit is further configured to send notification information to the encapsulation node before receiving a second data packet sent by the encapsulation node, where the notification information is used to notify the encapsulation node that the mapping between the service flow and the communication tunnel is established; and the notification information is sent after the mapping node establishes the mapping of the service flow and the communication tunnel.
In the foregoing scheme, the second communication unit is configured to send notification information to the encapsulation node through an ICMPv6 message, where a specific field in a data field in the ICMPv6 message is used to indicate the notification information.
In the foregoing solution, the second communication unit is configured to receive a second data packet in an APN format sent by the encapsulation node; and the specific field of the second data packet in the APN format comprises the flow identification information.
In the foregoing solution, the second communication unit is configured to receive, through an IPv6 data packet, a second data packet sent by the encapsulation node; at least part of bits of a specific field of the IPv6 packet correspond to the flow identification information.
In a fifth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the steps of the method according to the first or second aspect of the present invention.
In a sixth aspect, an embodiment of the present invention further provides a node, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps of the method according to the first aspect or the second aspect of the embodiment of the present invention.
The data transmission method, the node and the storage medium provided by the embodiment of the invention comprise the following steps: the method comprises the steps that an encapsulation node sends a first data packet of a service flow to a mapping node, wherein the first data packet comprises identification information and service requirement information; the identification information and the service requirement information are used for the mapping node to establish the mapping of the service flow and the communication tunnel; after determining that the mapping node establishes mapping between the service flow and the communication tunnel, sending a second data packet to the mapping node, where the second data packet includes flow identification information, and the flow identification information is a part of the identification information; the second data packet is a data packet of the service flow after the first data packet. By adopting the technical scheme of the embodiment of the invention, the first or a plurality of data packets (namely the first data packet) containing the identification information and the service requirement information are transmitted by the encapsulation node, so that the mapping node can establish the mapping of the service flow and the communication tunnel based on the identification information and the service requirement information; and then the second data packet only containing the flow identification information is transmitted through the encapsulation node, so that the mapping node forwards the second data packet through the communication tunnel corresponding to the flow identification information based on the established mapping, thereby realizing the reduction of information carried in the data packet, avoiding the repeated transmission of the same information in each data packet and reducing the waste of bandwidth.
Drawings
Fig. 1 is a schematic diagram of a system architecture of an application of a data transmission method according to an embodiment of the present invention;
fig. 2 is a first flowchart illustrating a data transmission method according to an embodiment of the present invention;
fig. 3 is a second flowchart illustrating a data transmission method according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating an implementation manner of notification information in a data transmission method according to an embodiment of the present invention;
fig. 5 is a first interaction diagram of a data transmission method according to an embodiment of the present invention;
fig. 6 is a second interaction diagram of a data transmission method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a package node according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a structure of a mapping node according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a hardware component structure of a node according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a schematic diagram of a system architecture of an application of a data transmission method according to an embodiment of the present invention; as shown in fig. 1, the system includes: the system comprises a Client (Client), an application-aware edge (App-aware-edge) node, an application-aware processing front End (App-aware processing Head-End), an application-aware processing middle Point (App-aware processing Mid-Point), an application-aware processing End Point (App-aware processing End-Point) and a Server (Server).
The client can be connected with the mobile terminal such as a mobile phone and a tablet computer or the electronic equipment such as a personal computer; one or more application programs (APP) may be installed within the client for accessing the application program through an icon that operates the application program. In the related technical scheme, in the process of accessing an application program, the application program can generate a data packet (packet) containing identification information and service requirement information and send the data packet to an application perception edge node; or, the application program sends the operation related data to the application aware edge node, and the application aware edge encapsulates a data packet (packet) containing each identification information and a service requirement, and sends the data packet to the application aware processing front end. The application perception processing front end establishes mapping of service flow and a communication tunnel according to the communication tunnel which is determined to be capable of meeting the service requirement, the data packet is transmitted to the server through the communication tunnel and the application perception processing middle point and the application perception processing end point, and the server responds to the access of the client to the application program.
The encapsulation node in this embodiment may be a client (specifically, an application program in the client) or an application-aware edge node in fig. 1; the mapping node may be the application aware processing front-end in fig. 1. Illustratively, the application-aware edge node may be an access device such as a router or an access device such as a base station. The application aware processing front end may be an access device such as a router.
Based on the system architecture shown in fig. 1, the following embodiments of the present invention are proposed.
The embodiment of the invention provides a data transmission method. Fig. 2 is a first flowchart illustrating a data transmission method according to an embodiment of the present invention; as shown in fig. 2, the method includes:
step 101: a packaging node sends a first data packet of a service flow to a mapping node, wherein the first data packet comprises identification information and service demand information; the identification information and the service requirement information are used for the mapping node to establish the mapping of the service flow and the communication tunnel;
step 102: after determining that the mapping node establishes mapping between the service flow and the communication tunnel, the encapsulation node sends a second data packet to the mapping node, where the second data packet includes flow identification information, and the flow identification information is a part of the identification information; the second data packet is a data packet of the service flow after the first data packet.
In this embodiment, the encapsulation node may be a client (specifically, an application program in the client) or an application-aware edge node shown in fig. 1.
In this embodiment, when a user accesses an application program of a client, the client may generate access data for the access of the application program, the generated access data forms a plurality of data packets, and a service flow is formed for the access of the application program, that is, the service flow includes a plurality of data packets. The first data packet may be a first data packet for the current access or one of the first data packets (i.e., a first data packet of the first data packets or one of the data packets). The second data packet is any one data packet after the first data packet.
In this embodiment, if the client is an encapsulation node, the client encapsulates the access data to generate a first data packet including the identification information and the service requirement information. If the application perception edge node is a packaging node, the client sends the access data to the application perception edge node, the application perception edge node packages the access data, and a first data packet comprising identification information and service requirement information is generated. Similarly, if the client is an encapsulation node, the client encapsulates the access data to generate a second packet including the flow identification information. And if the application perception edge node is the encapsulation node, the client sends the access data to the application perception edge node, and the application perception edge node encapsulates the access data to generate a second data packet comprising the flow identification information.
Wherein the identification information may include: application identification, user identification, and flow identification information. The application identifier is used for identifying the currently accessed application program, and the actual application can be represented by the identifier of the application program (for example, the name of the application program or an identification code representing the application program); the user identifier is used for identifying a user accessing the application program, and can be represented by a user name of the user in the application program or a client identifier in actual application; the flow identification information is used for representing the service flow, and the flow identification information corresponding to different service flows is different. The service requirement information includes any one or a combination of several kinds of information of bandwidth, time delay, jitter and packet loss rate. It is to be understood that the traffic demand information indicates basic requirements of the communication tunnel carrying the current traffic flow, for example, the bandwidth requirement of the communication tunnel is greater than or equal to the bandwidth indicated in the traffic demand information, the latency of the communication tunnel is less than or equal to the latency indicated in the traffic demand information, and so on.
It can be understood that the flow identification information is only one type of identification information, that is, in this embodiment, the first data packet includes identification information of a complete application identification, a user identification, and flow identification information, and service requirement information, and the identification information and the service requirement information in the first data packet are used by the mapping node to establish mapping of a service flow and a communication tunnel; and the second data packet sent subsequently only includes the flow identification information, and the mapping node may determine the communication tunnel corresponding to the traffic flow based on the flow identification information.
Compared with the prior art, each data packet transmitted to the mapping node by the encapsulation node comprises the identification information and the service requirement information, the embodiment of the invention transmits the first or the first data packets (namely the first data packet) comprising the identification information and the service requirement information by the encapsulation node, so that the mapping node can establish the mapping of the service flow and the communication tunnel based on the identification information and the service requirement information; and then transmitting the second data packet only containing the flow identification information through the encapsulation node, so that the mapping node forwards the second data packet through the communication tunnel corresponding to the flow identification information based on the established mapping, thereby simplifying the information carried in the data packet, avoiding the repeated transmission of the same information in each data packet, and reducing the waste of bandwidth
In an optional embodiment of the present invention, the determining, by the encapsulating node, the mapping for establishing the traffic flow and the communication tunnel by the mapping node includes: when the encapsulation node sends the first data packet or after the encapsulation node sends the first data packet, a timer is started; and when the timing time of the timer is up, determining that the mapping node establishes the mapping of the service flow and the communication tunnel.
In this embodiment, when the encapsulating node sends the first data packet, or after sending the first data packet, a timer is started, and the mapping node may establish the mapping between the service flow and the communication tunnel when the timer expires. Wherein the timing time of the timer may be preconfigured based on experience or requirements. Illustratively, the timer has a timing time of, for example, 3 seconds.
In another optional embodiment of the present invention, the determining, by the encapsulating node, that the mapping node establishes the mapping between the traffic flow and the communication tunnel includes: and the packaging node receives the notification information sent by the mapping node, and determines that the mapping node establishes the mapping of the service flow and the communication tunnel based on the notification information.
In this embodiment, after the encapsulation node sends the first data packet, the mapping node may establish mapping between the service flow and the communication tunnel based on the identification information and the service requirement information in the first data packet, and after the mapping is established, the mapping node sends a notification message to the encapsulation node; and the encapsulating node receives the notification information and can determine that the mapping node establishes the mapping of the service flow and the communication tunnel.
Wherein, the receiving, by the encapsulating node, the notification information sent by the mapping node includes: the encapsulation node receives notification information sent by the mapping node through an ICMPv6 message; a specific field of data fields in the ICMPv6 message is used to indicate the notification information.
In this embodiment, the notification information may be implemented by an improved ping6 message. The ping6 message may refer to the ICMPv6 message, that is, the notification information is transmitted through the ICMPv6 message. The format of the ICMPv6 message may be as shown in fig. 4, and at least includes a Type (Type) field, a Code (Code) field, a Checksum (Checksum) field, an Identifier (Identifier) field, a Sequence Number (Sequence Number) field, and a Data (Data) field shown in fig. 4. The notification information may be indicated by a specific field in a Data (Data) field in the ICMPv6 message in the present embodiment.
Optionally, a new data Type Length Value (TLV) may be defined for at least some of the data fields, for example, a certain bit is defined, and if the Value of the certain bit is a certain Value, it may indicate that the ICMPv6 packet includes the notification information.
For example, if the data field is as shown in table 1, for example, a TLV of Type =1 is defined, the contents of the TLV are mainly Source Address (SA), destination Address (DA), flow ID, and Flags field, the Reserved field is a Reserved field, for example, for the Flags field, a first bit (bit) is defined to be related to the notification information, and when the first bit takes a value of 1, the notification information is indicated, and when the first bit takes a value of 0, the notification information is not included.
TABLE 1
Figure BDA0002405089290000111
In some optional embodiments of the invention, the sending the second packet to the mapping node comprises: the packaging node sends a second data packet in an APN format to the mapping node; the flow identification information is included in a specific field of the second packet of the APN format.
In some optional embodiments of the invention, the sending the second packet to the mapping node comprises: the packaging node sends a second data packet to the mapping node through an IPv6 data packet; bits of a specific field of the IPv6 packet correspond to the flow identification information.
In this embodiment, as an implementation manner, the encapsulating node sends a second packet in an APN format to the mapping node. As an example, the encapsulating node may send the second packet to the mapping node through an IPv6 Segment Routing (SRv 6) packet. The SRv6 packet is used as an extension of IPv6, and is newly extended in an IP extension Header of IPv6, and the extension part is called a Segment Routing Header (SRH).
In another embodiment, the encapsulating node sends the second packet to the mapping node via an IPv6 packet. For example, the header format of the IPv6 packet may be as shown in table 2 below, and then the encapsulating node may represent the Flow identification information through a Flow Label (Flow Label) field in the IPv6 packet. It can be understood that, in this embodiment, the encapsulating node may directly send the IPv6 data packet to the mapping node, where a Flow Label (Flow Label) field in the IPv6 data packet represents Flow identification information, and compared with sending a second data packet in an APN format, this embodiment can reduce overhead of related encapsulation.
TABLE 2
Figure BDA0002405089290000112
Figure BDA0002405089290000121
It can be understood that, in this embodiment, the encapsulating node sends the first packet in the APN format to the mapping node.
Based on the above embodiment, the embodiment of the invention also provides a data transmission method. Fig. 3 is a second flowchart illustrating a data transmission method according to an embodiment of the present invention; as shown in fig. 3, the method includes:
step 201: a mapping node receives a first data packet of a service flow sent by a packaging node, wherein the first data packet comprises identification information and service demand information;
step 202: the mapping node establishes mapping of the service flow and the communication tunnel at least based on the identification information and the service requirement information, and forwards the first data packet through the communication tunnel;
step 203: the mapping node receives a second data packet sent by the encapsulation node, wherein the second data packet comprises flow identification information; the flow identification information is a part of the identification information; the second data packet is a data packet of the service flow after the first data packet;
step 204: the mapping node determines the corresponding communication tunnel based on at least the flow identification information and the mapping, and forwards the second packet through the communication tunnel.
In this embodiment, the mapping node may be the application-aware processing front end shown in fig. 1.
In some optional embodiments of the invention, the mapping node establishes the mapping of the traffic flow and the communication tunnel based on at least the identification information and the traffic demand information, including: the mapping node extracts the flow identification information in the identification information and obtains source node information of the first data packet; establishing or selecting a communication tunnel meeting the service requirement information; establishing mapping between the source node information, the flow identification information and the communication tunnel; the mapping node determining the corresponding communication tunnel based on at least the flow identification information and the mapping, including: the mapping node determines the communication tunnel corresponding to the flow identification information and the source node information based on the mapping.
In this embodiment, the source node information is specifically a source address of the first data packet, or may also be referred to as an address of an encapsulation node. It can be understood that, in the data transmission process, the data usually carries a source address and a destination address, where the source address is used for a node receiving the data to know from which node the data is sent, and the destination address is used for the data to be sent to a destination node. After receiving the first data packet, the mapping node finds a communication tunnel meeting the service requirement information from the created communication tunnels according to the service requirement information in the first data packet, or re-creates a communication tunnel meeting the service requirement information, and establishes mapping of the source node information, the identification information and the communication tunnel. Wherein the identification information may include: by applying the identifier, the user identifier, and the flow identifier information, the mapping node may establish mapping between the three identifiers, the source node information, and the communication tunnel, or may only establish mapping between the flow identifier information, the source node information, and the communication tunnel. The source node information is used as the address of a source node (namely, an encapsulation node) and is an identifier which uniquely represents the encapsulation node; the flow identification information is unique within the source node (i.e., the encapsulating node), but may be non-unique throughout the network, i.e., may have duplicate flow identifications for all flow identifications in the network. Based on this, in this embodiment, the mapping established by the mapping node includes the mapping of the source node information, the flow identification information, and the communication channel.
Correspondingly, after the mapping node receives the second packet, the mapping is searched based on the source node information of the second packet and the flow identification information carried in the second packet, that is, the mapping is searched based on the address of the source node (i.e., the encapsulation node) of the second packet and the flow identification information, a communication tunnel which satisfies both the source node information and the flow identification information is determined, and the second packet is forwarded based on the communication tunnel.
In some optional embodiments of the invention, before the mapping node receives the second data packet sent by the encapsulating node, the method further includes: the mapping node sends notification information to the encapsulation node, wherein the notification information is used for notifying the encapsulation node that the mapping of the service flow and the communication tunnel is established; and the notification information is sent after the mapping node establishes the mapping of the service flow and the communication tunnel.
In this embodiment, after the mapping between the service flow and the communication tunnel is established, the mapping node may send notification information to the encapsulation node to notify the encapsulation node of the completion of the mapping between the current service flow and the communication tunnel.
In some optional embodiments of the invention, the sending, by the mapping node, notification information to the encapsulating node includes: and the mapping node sends notification information to the encapsulation node through an ICMPv6 message, wherein a specific field in a data field in the ICMPv6 message is used for indicating the notification information.
In this embodiment, the notification information may be implemented by an improved ping6 message. The ping6 message may refer to the ICMPv6 message, that is, the notification information is transmitted through the ICMPv6 message. The format of the ICMPv6 message may be as shown in fig. 4, and at least includes the fields shown in fig. 4. The notification information may be indicated by a specific field in a Data (Data) field in the ICMPv6 message in this embodiment.
Optionally, a new data TLV may be defined for at least part of the data fields, for example, a certain specific bit is defined, and when the value of the specific bit is a specific value, it may be indicated that the ICMPv6 message includes the notification information. For example, for a Flags field in a data field, a first bit (bit) is defined to be related to the notification information, and is used to indicate the notification information when the first bit takes a value of 1, and indicates that the notification information is not included when the first bit takes a value of 0.
In some optional embodiments of the invention, the receiving, by the mapping node, the second packet sent by the encapsulating node includes: the mapping node receives a second data packet in an APN format sent by the packaging node; and the specific field of the second data packet in the APN format comprises the flow identification information.
In some optional embodiments of the present invention, the receiving, by the mapping node, the second packet sent by the encapsulating node includes: the mapping node receives a second data packet sent by the encapsulation node through an IPv6 data packet; at least part of bits of a specific field of the IPv6 packet correspond to the flow identification information.
In this embodiment, as an implementation manner, the encapsulating node sends a second packet in an APN format to the mapping node. As an example, the encapsulating node may send the second packet to the mapping node via an SRv6 message. The SRv6 message is used as an extension of IPv6, and is newly extended in an IP extension header of IPv6, and the extension part is called SRH.
In another embodiment, the encapsulating node sends the second packet to the mapping node via an IPv6 packet. For example, the header format of the IPv6 packet may be as shown in table 2 above, and then the encapsulating node may represent the Flow identification information through a Flow Label (Flow Label) field in the IPv6 packet. It can be understood that, in this embodiment, the encapsulating node may directly send the IPv6 data packet to the mapping node, where a Flow Label (Flow Label) field in the IPv6 data packet represents Flow identification information, and compared with sending a second data packet in an APN format, this embodiment can reduce overhead of related encapsulation.
By adopting the technical scheme of the embodiment of the invention, the first or a plurality of data packets (namely the first data packet) containing the identification information and the service requirement information are transmitted by the encapsulation node, so that the mapping node can establish the mapping of the service flow and the communication tunnel based on the identification information and the service requirement information; and then the second data packet only containing the flow identification information is transmitted through the encapsulation node, so that the mapping node forwards the second data packet through the communication tunnel corresponding to the flow identification information based on the established mapping, thereby realizing the reduction of information carried in the data packet, avoiding the repeated transmission of the same information in each data packet and reducing the waste of bandwidth.
The following describes embodiments of the present invention with reference to specific examples.
Example one
Fig. 5 is a first interaction diagram of a data transmission method according to an embodiment of the present invention; as shown in fig. 5, the method includes:
step 301: and the packaging node sends a first data packet of the service flow to the mapping node, wherein the first data packet comprises identification information and service demand information.
Here, the encapsulating node is a node that encapsulates a packet in the APN format, and may specifically be a client (specifically, an application program in the client) or an application-aware edge node shown in fig. 1. Wherein the identification information may include: the service requirement information comprises any one of bandwidth, time delay, jitter and packet loss rate.
Step 302: and the mapping node establishes the mapping between the service flow and the communication tunnel based on the identification information and the service demand information.
Here, after receiving the first data packet, the mapping node finds a communication tunnel satisfying the service requirement information from the created communication tunnels according to the service requirement information in the first data packet, or re-creates a communication tunnel satisfying the service requirement information, and establishes mapping of the source node information, the identification information, and the communication tunnel. Wherein the identification information may include: applying the identifier, the user identifier and the flow identifier information, the mapping node can establish the mapping between the three identifiers, the source node information and the communication tunnel, or only establish the mapping between the flow identifier information, the source node information and the communication tunnel; alternatively, the mapping node may also establish a mapping between the flow identification information, the source node information, the destination node information, and the communication tunnel. The source node information may be an address of a source node (e.g., an encapsulation node), and the destination node is an address of a destination node to which the data packet is to be transmitted.
Illustratively, the source node information is an address of a source node, which is hereinafter referred to as a source address, and the destination node information is an address of a destination node, which is hereinafter referred to as a destination address, then the mapping may include mapping of the source address, the flow identification information, and the communication tunnel identifier; alternatively, the mapping may further include a mapping of a source address, a destination address, flow identification information, and a communication tunnel identification.
Step 303: the determining, by the encapsulation node, the mapping between the service flow and the communication tunnel by the mapping node may specifically be implemented in the following two ways:
step 303a: the mapping node sends notification information to the encapsulation node, and the encapsulation node receives the notification information and can determine that the mapping node establishes the mapping between the service flow and the communication tunnel.
Step 303b: when the encapsulation node sends the first data packet or after the first data packet is sent, the encapsulation node waits for a preset time length, and the mapping of the service flow and the communication tunnel established by the mapping node can be determined.
Here, the encapsulating node may start a timer when or after sending the first data packet, and when the timer expires, may determine that the mapping node has established the mapping of the traffic flow and the communication tunnel.
Step 304: and the encapsulation node sends a second data packet in the APN format to the mapping node, wherein the second data packet comprises the flow identification information.
It can be understood that after the mapping node has established and completed the mapping between the service flow and the communication tunnel, all the subsequently sent second data packets do not carry the service demand information and other identifiers except for the flow identification information, and only the flow identification information is carried in the second data packets; after receiving the second data packet, the mapping node searches for a communication tunnel identifier matched with the source node information and the flow identifier information of the second data packet according to the established mapping, and forwards the second data packet through a communication tunnel corresponding to the matched communication tunnel identifier.
Example two
Fig. 6 is a second interaction diagram of a data transmission method according to an embodiment of the present invention; as shown in fig. 6, the method includes:
step 401: and the packaging node sends a first data packet of the service flow to the mapping node, wherein the first data packet comprises identification information and service demand information.
Here, the encapsulating node is a node that encapsulates a packet in an APN format, and may specifically be a client (specifically, an application program in the client) or an application-aware edge node shown in fig. 1. Wherein the identification information may include: the service requirement information comprises any one of bandwidth, time delay, jitter and packet loss rate.
Step 402: and the mapping node establishes the mapping between the service flow and the communication tunnel based on the identification information and the service demand information.
Here, after receiving the first data packet, the mapping node finds a communication tunnel meeting the service requirement information from the created communication tunnels according to the service requirement information in the first data packet, or re-creates a communication tunnel meeting the service requirement information, and establishes mapping of the source node information, the identification information, and the communication tunnel. Wherein the identification information may include: applying the identifier, the user identifier and the flow identifier information, the mapping node may establish the mapping between the three identifiers, the source node information and the communication tunnel, or may only establish the mapping between the flow identifier information, the source node information and the communication tunnel; alternatively, the mapping node may also establish a mapping between the flow identification information, the source node information, the destination node information, and the communication tunnel. The source node information may be an address of a source node (e.g., an encapsulation node), and the destination node is an address of a destination node to which the data packet is to be transmitted.
Illustratively, the source node information is an address of a source node, which is hereinafter referred to as a source address, and the destination node information is an address of a destination node, which is hereinafter referred to as a destination address, then the mapping may include mapping of the source address, the flow identification information, and the communication tunnel identifier; alternatively, the mapping may further include a mapping of a source address, a destination address, flow identification information, and a communication tunnel identification.
Step 403: the determining, by the encapsulation node, mapping between the service flow and the communication tunnel by the mapping node may specifically be implemented in the following two ways:
step 403a: the mapping node sends notification information to the encapsulation node, and the encapsulation node receives the notification information and can determine that the mapping node establishes the mapping between the service flow and the communication tunnel.
Step 403b: and when the encapsulation node sends the first data packet or after the encapsulation node sends the first data packet, waiting for a preset time length to determine that the mapping node establishes the mapping between the service flow and the communication tunnel.
Here, the encapsulating node may start a timer when or after sending the first data packet, and when the timer expires, may determine that the mapping node has established the mapping of the traffic flow and the communication tunnel.
Step 404: the encapsulation node sends a second data packet to the mapping node through an IPv6 data packet; bits of a specific field of the IPv6 packet correspond to the flow identification information.
It can be understood that after the mapping node has established and completed the mapping between the service flow and the communication tunnel, all the subsequently sent second data packets do not carry the service demand information and other identifiers except for the flow identification information, and only the flow identification information is carried in the second data packets; after receiving the second data packet, the mapping node searches for a communication tunnel identifier matched with the source node information and the flow identifier information of the second data packet according to the established mapping, and forwards the second data packet through a communication tunnel corresponding to the matched communication tunnel identifier.
The embodiment of the invention also provides the packaging node. FIG. 7 is a schematic diagram of a package node according to an embodiment of the present invention; as shown in fig. 7, the encapsulation node includes: a first communication unit 51 and a first processing unit 52; wherein the content of the first and second substances,
the first communication unit 51 is configured to send a first data packet of a service flow to a mapping node, where the first data packet includes identification information and service requirement information; the identification information and the service requirement information are used for the mapping node to establish the mapping of the service flow and the communication tunnel;
the first processing unit 52, configured to determine whether the mapping node establishes a mapping of the traffic flow and the communication tunnel;
the first communication unit 51 is further configured to, after the first processing unit 52 determines that the mapping node establishes the mapping between the service flow and the communication tunnel, send a second data packet to the mapping node, where the second data packet includes flow identification information, and the flow identification information is a part of the identification information; the second data packet is a data packet of the service flow after the first data packet.
In some optional embodiments of the present invention, the first processing unit 52 is configured to start a timer when the first communication unit 51 sends the first data packet, or after sending the first data packet; and when the timing time of the timer is up, determining that the mapping node establishes the mapping of the service flow and the communication tunnel.
In some optional embodiments of the present invention, the first processing unit 52 is configured to receive, through the first communicating unit 51, notification information sent by the mapping node, and determine, based on the notification information, that the mapping node establishes the mapping between the traffic flow and the communication tunnel.
In some optional embodiments of the present invention, the first processing unit 52 is configured to receive notification information sent by the mapping node through an ICMPv6 message; a specific field of data fields in the ICMPv6 message is used to indicate the notification information.
In some optional embodiments of the present invention, the first communication unit 51 is configured to send a second data packet in an APN format to the mapping node; the flow identification information is included in a specific field of the second packet of the APN format.
In some optional embodiments of the present invention, the first communication unit 51 is configured to send a second data packet to the mapping node through an IPv6 data packet; bits of a specific field of the IPv6 packet correspond to the flow identification information.
In the embodiment of the present invention, the first Processing Unit 52 in the package node may be implemented by, for example, a Central Processing Unit (CPU), a Digital Signal Processor (DSP), a Micro Control Unit (MCU), or a Programmable Gate Array (FPGA) in practical application; the first communication unit 51 in the package node can be implemented by a communication module (including a basic communication suite, an operating system, a communication module, a standardized interface, a protocol, etc.) and a transceiver antenna in practical application.
It should be noted that: in the above embodiment, when data transmission is performed, the encapsulation node is only illustrated by dividing the program modules, and in practical applications, the processing distribution may be completed by different program modules according to needs, that is, the internal structure of the encapsulation node is divided into different program modules to complete all or part of the processing described above. In addition, the encapsulation node and the data transmission method provided by the above embodiments belong to the same concept, and the specific implementation process thereof is described in the method embodiments in detail and is not described herein again.
The embodiment of the invention also provides a mapping node. FIG. 8 is a schematic diagram of a structure of a mapping node according to an embodiment of the present invention; as shown in fig. 8, a second communication unit 61 and a second processing unit 62; wherein the content of the first and second substances,
the second communication unit 61 is configured to receive a first data packet of a service flow sent by an encapsulation node, where the first data packet includes identification information and service requirement information;
the second processing unit 62 is configured to establish a mapping between the service flow and the communication tunnel based on at least the identification information and the service requirement information;
the second communication unit 61 is further configured to forward the first data packet through the communication tunnel; the encapsulation node is further configured to receive a second data packet sent by the encapsulation node, where the second data packet includes flow identification information; the flow identification information is a part of the identification information; the second data packet is a data packet of the service flow after the first data packet;
the second processing unit 62 is further configured to determine the corresponding communication tunnel based on at least the flow identification information and the mapping;
the second communication unit 61 is further configured to forward the second data packet through the communication tunnel.
In some optional embodiments of the present invention, the second processing unit 62 is configured to extract the flow identification information from the identification information, and obtain source node information of the first packet; establishing or selecting a communication tunnel meeting the service requirement information; establishing mapping between the source node information, the flow identification information and the communication tunnel; and further configured to determine the communication tunnel corresponding to the flow identification information and the source node information based on the mapping.
In some optional embodiments of the present invention, the second communication unit 61 is further configured to send notification information to the encapsulation node before receiving the second data packet sent by the encapsulation node, where the notification information is used to notify the encapsulation node that the mapping between the traffic flow and the communication tunnel is established; and the notification information is sent after the mapping node establishes the mapping of the service flow and the communication tunnel.
In some optional embodiments of the present invention, the second communication unit 61 is configured to send notification information to the encapsulation node through an ICMPv6 message, where a specific field in a data field in the ICMPv6 message is used to indicate the notification information.
In some optional embodiments of the present invention, the second communication unit 61 is configured to receive a second packet in an APN format sent by the encapsulating node; the flow identification information is included in a specific field of the second packet of the APN format.
In some optional embodiments of the present invention, the second communication unit 61 is configured to receive, through an IPv6 data packet, a second data packet sent by the encapsulating node; at least part of bits of a specific field of the IPv6 packet correspond to the flow identification information.
In the embodiment of the present invention, the second processing unit 62 in the mapping node can be implemented by, for example, a CPU, a DSP, an MCU, or an FPGA in practical application; the second communication unit 61 in the package node can be implemented by a communication module (including a basic communication suite, an operating system, a communication module, a standardized interface, a protocol, etc.) and a transceiver antenna in practical application.
It should be noted that: in the above embodiment, when data transmission is performed, the encapsulation node is only illustrated by dividing the program modules, and in practical applications, the processing distribution may be completed by different program modules according to needs, that is, the internal structure of the encapsulation node is divided into different program modules to complete all or part of the processing described above. In addition, the encapsulation node provided in the above embodiment and the data transmission method embodiment belong to the same concept, and the specific implementation process thereof is described in detail in the method embodiment, and is not described herein again.
The embodiment of the invention also provides a node. Fig. 9 is a schematic diagram of a hardware component structure of a node according to an embodiment of the present invention, as shown in fig. 9, the node includes a memory 72, a processor 71, and a computer program stored in the memory 72 and operable on the processor 71, and when the processor 71 executes the computer program, the processor 71 implements the steps of the data transmission method applied to the encapsulation node or the mapping node according to the embodiment of the present invention.
Optionally, one or more network interfaces 73 may also be included in the node. It will be appreciated that the various components in the node are coupled together by a bus system 74. It will be appreciated that the bus system 74 is used to enable communications among the components of the connection. The bus system 74 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 74 in fig. 9.
It will be appreciated that the memory 72 may be either volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), synchronous Static Random Access Memory (SSRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic Random Access Memory (SDRAM), double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (ESDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), synchronous Dynamic Random Access Memory (SLDRAM), direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 72 described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The method disclosed in the above embodiments of the present invention may be applied to the processor 71, or may be implemented by the processor 71. The processor 71 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by instructions in the form of hardware integrated logic circuits or software in the processor 71. The processor 71 described above may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. Processor 71 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 72, and the processor 71 reads the information in the memory 72 and performs the steps of the method in combination with its hardware.
In an exemplary embodiment, a node may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, programmable Logic Devices (PLDs), complex Programmable Logic Devices (CPLDs), FPGAs, general purpose processors, controllers, MCUs, microprocessors (microprocessors), or other electronic components for performing the aforementioned methods.
In an exemplary embodiment, the present invention further provides a computer readable storage medium, such as a memory 72, comprising a computer program, which is executable by a processor 71 of a node to perform the steps of the aforementioned method. The computer readable storage medium can be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash Memory, magnetic surface Memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories.
The computer-readable storage medium provided by the embodiment of the present invention stores a computer program thereon, where the computer program is configured to, when executed by a processor, implement the steps of the data transmission method applied to the encapsulation node or the mapping node according to the embodiment of the present invention.
The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to arrive at new method embodiments.
Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict.
The features disclosed in the several method or apparatus embodiments provided herein may be combined in any combination to arrive at a new method or apparatus embodiment without conflict.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (26)

1. A method of data transmission, the method comprising:
a packaging node sends a first data packet of a service flow to a mapping node, wherein the first data packet comprises identification information and service demand information; the identification information and the service requirement information are used for the mapping node to establish the mapping of the service flow and the communication tunnel;
after determining that the mapping node establishes mapping between the service flow and the communication tunnel, the encapsulation node sends a second data packet to the mapping node, where the second data packet includes flow identification information, and the flow identification information is a part of the identification information; the second data packet is a data packet of the service flow after the first data packet.
2. The method of claim 1, wherein the encapsulating node determining that the mapping node established the mapping of the traffic flow and the communication tunnel comprises:
when the encapsulation node sends the first data packet or after the encapsulation node sends the first data packet, a timer is started;
and when the timing time of the timer is up, determining that the mapping node establishes the mapping of the service flow and the communication tunnel.
3. The method of claim 1, wherein the encapsulating node determining that the mapping node established the mapping of the traffic flow and the communication tunnel comprises:
and the packaging node receives the notification information sent by the mapping node, and determines that the mapping node establishes the mapping of the service flow and the communication tunnel based on the notification information.
4. The method of claim 3, wherein the encapsulating node receives the notification information sent by the mapping node, and comprises:
the encapsulation node receives notification information sent by the mapping node through an internet control information protocol version six ICMPv6 message; a specific field of data fields in the ICMPv6 message is used to indicate the notification information.
5. The method according to any of claims 1 to 4, wherein said sending a second packet to said mapping node comprises:
the packaging node sends a second data packet in an application-aware network APN format to the mapping node; and the specific field of the second data packet in the APN format comprises the flow identification information.
6. The method according to any of claims 1 to 4, wherein said sending a second packet to said mapping node comprises:
the encapsulation node sends a second data packet to the mapping node through an internet protocol version 6 IPv6 data packet; bits of a specific field of the IPv6 packet correspond to the flow identification information.
7. A method of data transmission, the method comprising:
a mapping node receives a first data packet of a service flow sent by a packaging node, wherein the first data packet comprises identification information and service demand information;
the mapping node establishes mapping of the service flow and the communication tunnel at least based on the identification information and the service requirement information, and forwards the first data packet through the communication tunnel;
the mapping node receives a second data packet sent by the encapsulation node, wherein the second data packet comprises flow identification information; the flow identification information is a part of the identification information; the second data packet is a data packet of the service flow after the first data packet;
the mapping node determines the corresponding communication tunnel based on at least the flow identification information and the mapping, and forwards the second packet through the communication tunnel.
8. The method of claim 7, wherein the mapping node establishes the mapping of the traffic flow and the communication tunnel based on at least the identification information and the traffic demand information, and comprises:
the mapping node extracts the flow identification information in the identification information and obtains source node information of the first data packet;
establishing or selecting a communication tunnel meeting the service requirement information;
establishing mapping between the source node information, the flow identification information and the communication tunnel;
the mapping node determining the corresponding communication tunnel based on at least the flow identification information and the mapping, including:
the mapping node determines the communication tunnel corresponding to the flow identification information and the source node information based on the mapping.
9. The method of claim 7, wherein before the mapping node receives the second packet sent by the encapsulating node, the method further comprises:
the mapping node sends notification information to the encapsulation node, wherein the notification information is used for notifying the encapsulation node that the mapping of the service flow and the communication tunnel is established; and the notification information is sent after the mapping node establishes the mapping of the service flow and the communication tunnel.
10. The method of claim 9, wherein the mapping node sends notification information to the encapsulating node, comprising:
and the mapping node sends notification information to the encapsulation node through an ICMPv6 message, wherein a specific field in a data field in the ICMPv6 message is used for indicating the notification information.
11. The method according to any of claims 7 to 10, wherein the mapping node receiving the second packet sent by the encapsulating node comprises:
the mapping node receives a second data packet in an APN format sent by the packaging node; and the specific field of the second data packet in the APN format comprises the flow identification information.
12. The method according to any of claims 7 to 10, wherein the mapping node receives the second data packet sent by the encapsulating node, and comprises:
the mapping node receives a second data packet sent by the encapsulating node through an IPv6 data packet; at least part of bits of a specific field of the IPv6 packet correspond to the flow identification information.
13. An encapsulation node, comprising: the system comprises a first communication unit and a first processing unit; wherein the content of the first and second substances,
the first communication unit is configured to send a first data packet of a service flow to a mapping node, where the first data packet includes identification information and service requirement information; the identification information and the service requirement information are used for the mapping node to establish the mapping of the service flow and the communication tunnel;
the first processing unit is configured to determine whether the mapping node establishes mapping of the traffic flow and the communication tunnel;
the first communication unit is further configured to, after the first processing unit determines that the mapping node establishes mapping between the service flow and the communication tunnel, send a second packet to the mapping node, where the second packet includes flow identification information, and the flow identification information is a part of the identification information; the second data packet is a data packet of the service flow after the first data packet.
14. The encapsulation node according to claim 13, wherein the first processing unit is configured to start a timer when the first communication unit sends the first data packet or after sending the first data packet; and when the timing time of the timer is up, determining that the mapping node establishes the mapping of the service flow and the communication tunnel.
15. The encapsulation node according to claim 13, wherein the first processing unit is configured to receive notification information sent by the mapping node through the first communication unit, and determine that the mapping node establishes the mapping of the traffic flow and the communication tunnel based on the notification information.
16. The encapsulation node according to claim 15, wherein the first processing unit is configured to receive notification information sent by the mapping node through an ICMPv6 message; a specific field of data fields in the ICMPv6 message is used to indicate the notification information.
17. The encapsulation node according to any of the claims 13 to 16, wherein the first communication unit is configured to send a second packet in APN format to the mapping node; the flow identification information is included in a specific field of the second packet of the APN format.
18. The encapsulation node according to any of claims 13 to 16, wherein the first communication unit is configured to send a second data packet to the mapping node via an IPv6 data packet; bits of a specific field of the IPv6 packet correspond to the flow identification information.
19. A mapping node, characterized in that the mapping node comprises: the second communication unit and the second processing unit; wherein, the first and the second end of the pipe are connected with each other,
the second communication unit is configured to receive a first data packet of a service flow sent by a package node, where the first data packet includes identification information and service requirement information;
the second processing unit is configured to establish mapping between the service flow and the communication tunnel based on at least the identification information and the service requirement information;
the second communication unit is further configured to forward the first data packet through the communication tunnel; the encapsulation node is further configured to receive a second data packet sent by the encapsulation node, where the second data packet includes flow identification information; the flow identification information is a part of the identification information; the second data packet is a data packet of the service flow after the first data packet;
the second processing unit is further configured to determine the corresponding communication tunnel based on at least the flow identification information and the mapping;
the second communication unit is further configured to forward the second data packet through the communication tunnel.
20. The mapping node of claim 19, wherein the second processing unit is configured to extract the flow identification information from the identification information, and obtain source node information of the first packet; establishing or selecting a communication tunnel meeting the service requirement information; establishing mapping between the source node information, the flow identification information and the communication tunnel; and further configured to determine the communication tunnel corresponding to the flow identification information and the source node information based on the mapping.
21. The mapping node according to claim 19, wherein the second communication unit is further configured to send notification information to the encapsulation node before receiving the second packet sent by the encapsulation node, where the notification information is used to notify the encapsulation node that the mapping between the traffic flow and the communication tunnel is established; and the notification information is sent after the mapping node establishes the mapping of the service flow and the communication tunnel.
22. The mapping node according to claim 21, wherein the second communication unit is configured to send notification information to the encapsulating node through an ICMPv6 message, and a specific field in a data field in the ICMPv6 message is used to indicate the notification information.
23. The mapping node according to any of claims 19-22, wherein the second communication unit is configured to receive a second packet in APN format sent by the encapsulating node; the flow identification information is included in a specific field of the second packet of the APN format.
24. The mapping node according to any of claims 19 to 22, wherein the second communication unit is configured to receive the second data packet sent by the encapsulating node via an IPv6 data packet; at least part of bits of a specific field of the IPv6 packet correspond to the flow identification information.
25. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6; alternatively, the program when executed by a processor implements the steps of the method of any one of claims 7 to 12.
26. A node comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program performs the steps of the method of any one of claims 1 to 6; alternatively, the processor, when executing the program, performs the steps of the method of any of claims 7 to 12.
CN202010158986.0A 2020-03-09 2020-03-09 Data transmission method, node and storage medium Active CN113381920B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010158986.0A CN113381920B (en) 2020-03-09 2020-03-09 Data transmission method, node and storage medium
PCT/CN2021/079788 WO2021180084A1 (en) 2020-03-09 2021-03-09 Data transmission method, nodes and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010158986.0A CN113381920B (en) 2020-03-09 2020-03-09 Data transmission method, node and storage medium

Publications (2)

Publication Number Publication Date
CN113381920A CN113381920A (en) 2021-09-10
CN113381920B true CN113381920B (en) 2022-11-22

Family

ID=77568626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010158986.0A Active CN113381920B (en) 2020-03-09 2020-03-09 Data transmission method, node and storage medium

Country Status (2)

Country Link
CN (1) CN113381920B (en)
WO (1) WO2021180084A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117478734A (en) * 2022-07-30 2024-01-30 华为技术有限公司 Message sending method, device and system
CN115208521B (en) * 2022-08-22 2023-07-04 北京钢铁侠科技有限公司 Communication guarantee and workflow control method for session layer client and server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350812A (en) * 2008-08-22 2009-01-21 上海华为技术有限公司 Data transmission method, communication apparatus and communication system
CN101621472A (en) * 2009-07-30 2010-01-06 杭州华三通信技术有限公司 Message transmission method and router
WO2018032910A1 (en) * 2016-08-19 2018-02-22 华为技术有限公司 Cross-network communication method and apparatus
CN109392024A (en) * 2017-08-11 2019-02-26 华为技术有限公司 A kind of control method and relevant device of quality of service stream
CN110475384A (en) * 2018-05-11 2019-11-19 华为技术有限公司 A kind of communication means and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037360B (en) * 2011-09-28 2017-03-29 中兴通讯股份有限公司 Mapping request response, information getting method and relevant device based on LISP
CN105634683B (en) * 2014-10-30 2019-03-15 阿里巴巴集团控股有限公司 Data transmission method and device
CN110324225B (en) * 2018-03-29 2020-11-17 华为技术有限公司 Method and device for processing message

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350812A (en) * 2008-08-22 2009-01-21 上海华为技术有限公司 Data transmission method, communication apparatus and communication system
CN101621472A (en) * 2009-07-30 2010-01-06 杭州华三通信技术有限公司 Message transmission method and router
WO2018032910A1 (en) * 2016-08-19 2018-02-22 华为技术有限公司 Cross-network communication method and apparatus
CN109392024A (en) * 2017-08-11 2019-02-26 华为技术有限公司 A kind of control method and relevant device of quality of service stream
CN110475384A (en) * 2018-05-11 2019-11-19 华为技术有限公司 A kind of communication means and device

Also Published As

Publication number Publication date
WO2021180084A1 (en) 2021-09-16
CN113381920A (en) 2021-09-10

Similar Documents

Publication Publication Date Title
US20200403910A1 (en) Packet Processing Method, Controller, and Forwarding Device
CN113381920B (en) Data transmission method, node and storage medium
CN107645433B (en) Message forwarding method and device
CN112968844A (en) Method and device for sending fragment message
WO2021174943A1 (en) Data forwarding method and apparatus, and device and storage medium
CN111786869B (en) Data transmission method between servers and server
CN112491717A (en) Service routing method and device
US10136375B2 (en) Method for service data management, apparatus, and system
TW201737664A (en) Accurate speed limiting method and apparatus for cluster
JP7448597B2 (en) Message generation method and device and message processing method and device
EP3032801A1 (en) Method and device for generating forwarding information
CN111786868A (en) Data transmission method between servers and strongswan server
CN107483369B (en) Message processing method and virtual switch
CN112866206A (en) Unidirectional data transmission method and device
CN104284383A (en) Method and device for keeping service continuity
WO2021233313A1 (en) Port state configuration method, apparatus, system, and storage medium
WO2018108133A1 (en) Data network information processing method, device, terminal and storage medium
WO2021135486A1 (en) Method and apparatus for acquiring network slice identification
CN104348821A (en) Method, equipment and system for managing services of IPv4/IPv6 (internet protocol version 4/internet protocol version 6)
JP2024504466A (en) Packet forwarding methods, packet processing methods, and devices
US20160149855A1 (en) Service processing method, system, and relevant device
CN111935336A (en) IPv 6-based network management method and system
CN112039801A (en) Method, system and proxy server for setting IP information
CN115604183B (en) Message processing method, device, network equipment and storage medium
CN113114565B (en) Data message forwarding method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant