WO2021180084A1 - Data transmission method, nodes and storage medium - Google Patents

Data transmission method, nodes and storage medium Download PDF

Info

Publication number
WO2021180084A1
WO2021180084A1 PCT/CN2021/079788 CN2021079788W WO2021180084A1 WO 2021180084 A1 WO2021180084 A1 WO 2021180084A1 CN 2021079788 W CN2021079788 W CN 2021079788W WO 2021180084 A1 WO2021180084 A1 WO 2021180084A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
mapping
data packet
identification information
information
Prior art date
Application number
PCT/CN2021/079788
Other languages
French (fr)
Chinese (zh)
Inventor
杜宗鹏
耿亮
Original Assignee
中国移动通信有限公司研究院
中国移动通信集团有限公司
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 中国移动通信有限公司研究院, 中国移动通信集团有限公司 filed Critical 中国移动通信有限公司研究院
Publication of WO2021180084A1 publication Critical patent/WO2021180084A1/en

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

Definitions

  • the present disclosure relates to the field of communication technology, and in particular to a data transmission method, node and storage medium.
  • the encapsulation node carries demand information, such as service parameters (service parameters), in the data packets sent to the mapping node.
  • the demand information is used to find or establish a suitable network Path, so as to achieve the network-aware service, the ability to complete the bearer on demand.
  • data packets for the same service flow will all carry the above-mentioned demand information.
  • a suitable network path is found or established based on the demand information carried in the first or some of the first data packets, it is equivalent to the subsequent Data packets carry a lot of repeated information, causing a waste of bandwidth.
  • the embodiments of the present disclosure expect to provide a data transmission method, node, and storage medium.
  • embodiments of the present disclosure provide a data transmission method, the method including:
  • the encapsulation node sends a first data packet of the service flow to the mapping node, where the first data packet includes identification information and service requirement information; the identification information and the service requirement information are used by the mapping node to establish the service flow And the mapping of the communication tunnel; after determining that the mapping node establishes the mapping between the service flow and the communication tunnel, the encapsulation node sends a second data packet to the mapping node, and 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 after the first data packet of the service flow.
  • the encapsulation node determining 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 sends the After the first data packet, a timer is started; when the timing of the timer expires, it is determined that the mapping node establishes the mapping between the service flow and the communication tunnel.
  • that the encapsulation node determines that the mapping node establishes the mapping between the service flow and the communication tunnel includes: the encapsulation node receives notification information sent by the mapping node, based on the The notification information determines that the mapping node establishes the mapping between the service flow and the communication tunnel.
  • the receiving of the notification information sent by the mapping node by the encapsulation node includes: the encapsulation node uses Internet Control Management Protocol Version 6 (ICMPv6, Internet Control Management Protocol Version 6) messages Receiving notification information sent by the mapping node; a specific field in the data field in the ICMPv6 message is used to indicate the notification information.
  • ICMPv6 Internet Control Management Protocol Version 6
  • the sending the second data packet to the mapping node includes: the encapsulating node sends the second data packet in the APN format to the mapping node; and the second data packet in the APN format
  • the specific field of the second data packet includes the flow identification information.
  • the sending the second data packet to the mapping node includes: the encapsulation node uses an Internet Protocol Version 6 (IPv6, Internet Protocol Version 6) data packet to map to the mapping node The node sends a second data packet; the bits of the specific field of the IPv6 data packet correspond to the flow identification information.
  • IPv6 Internet Protocol Version 6
  • an embodiment of the present disclosure also provides a data transmission method, the method includes: a mapping node receives a first data packet of a service flow sent by an encapsulation node, and the first data packet includes identification information and service requirements Information; the mapping node establishes the mapping of the service flow and the communication tunnel based on at least the identification information and the service requirement information, and forwards the first data packet through the communication tunnel; the mapping node receives the encapsulation node
  • the second data packet sent includes flow identification information; the flow identification information is a part of the identification information; the second data packet is the first data of the service flow A data packet after the packet; the mapping node determines the corresponding communication tunnel based on at least the flow identification information and the mapping, and forwards the second data packet through the communication tunnel.
  • the mapping node that establishes the mapping of the service flow and the communication tunnel based on at least the identification information and the service requirement information includes: the mapping node extracts all of the identification information The flow identification information, and the source node information of the first data packet obtained; create or select a communication tunnel that meets the service requirement information; establish the source node information, the flow identification information, and the communication tunnel Mapping; the mapping node determines the corresponding communication tunnel based on at least the flow identification information and the mapping, including: the mapping node determines all corresponding to the flow identification information and the source node information based on the mapping The communication tunnel.
  • the method before the mapping node receives the second data packet sent by the encapsulation node, the method further includes: the mapping node sends notification information to the encapsulation node, the notification The information is used to notify the encapsulation node that the mapping between the service flow and the communication tunnel has been established; the notification information is sent after the mapping node has established the mapping between the service flow and the communication tunnel.
  • the sending of the notification information by the mapping node to the encapsulation node includes: the mapping node sends the notification information to the encapsulation node through an ICMPv6 message, and in the ICMPv6 message The specific field in the data field is used to indicate the notification information.
  • the receiving, by the mapping node, the second data packet sent by the encapsulation node includes: receiving, by the mapping node, the second data packet in the APN format sent by the encapsulation node;
  • the specific field of the second data packet in the APN format includes the stream identification information.
  • the receiving, by the mapping node, the second data packet sent by the encapsulation node includes: the mapping node receives the second data packet sent by the encapsulation node through an IPv6 data packet; At least some bits of the specific field of the IPv6 data packet correspond to the flow identification information.
  • an embodiment of the present disclosure also provides an encapsulation node, the encapsulation node includes: a first communication unit and a first processing unit; wherein,
  • 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 in the A mapping node establishes a mapping between the service flow and the communication tunnel;
  • the first processing unit is configured to determine whether the mapping node establishes a mapping between the service flow and the communication tunnel;
  • the first communication unit is further configured to send a second data packet to the mapping node after the first processing unit determines that the mapping node establishes the mapping between the service flow and the communication tunnel, and the second data packet
  • the flow identification information is included in the 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.
  • the first processing unit is configured to start a timer when the first communication unit sends the first data packet or after the first data packet is sent; When the timing of the timer expires, it is determined that the mapping node establishes the mapping between the service flow and the communication tunnel.
  • the first processing unit is configured to receive notification information sent by the mapping node through the first communication unit, and based on the notification information, determine that the mapping node establishes the Mapping of service flow and communication tunnel.
  • the first processing unit is configured to receive notification information sent by the mapping node through an ICMPv6 message; a specific field in the data field in the ICMPv6 message is used to indicate The notification information.
  • the first communication unit is configured to send a second data packet in the APN format to the mapping node; the specific field of the second data packet in the APN format includes the Stream identification information.
  • the first communication unit is configured to send a second data packet to the mapping node through an IPv6 data packet; the bits of a specific field of the IPv6 data packet correspond to the Stream identification information.
  • an embodiment of the present disclosure also provides a mapping node, the mapping node includes: a second communication unit and a second processing unit; wherein,
  • the second communication unit 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 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 is further configured to forward the first data packet through the communication tunnel; and further configured to receive a second data packet sent by the encapsulation node, the second data packet including 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.
  • the second processing unit is configured to extract the flow identification information in the identification information, and obtain the source node information of the first data packet; create or select The communication tunnel of the service requirement information; establishing the source node information, the flow identification information, and the mapping of the communication tunnel; and further configured to determine that the flow identification information corresponds to the source node information based on the mapping The communication tunnel.
  • the second communication unit is further configured to send notification information to the encapsulation node before receiving the second data packet sent by the encapsulation node, and the notification information is used to notify The encapsulation node has established the mapping between the service flow and the communication tunnel; the notification information is sent after the mapping node has established the mapping between the service flow and the communication tunnel.
  • the second communication unit is configured to send notification information to the encapsulation node through an ICMPv6 message, and a specific field in the data field in the ICMPv6 message is used to indicate The notification information.
  • the second communication unit is configured to receive a second data packet in the APN format sent by the encapsulation node; the specific field of the second data packet in the APN format includes all The stream identification information.
  • the second communication unit is configured to receive a second data packet sent by the encapsulation node through an IPv6 data packet; at least some bits of a specific field of the IPv6 data packet correspond to ⁇ The stream identification information.
  • the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored.
  • the program is executed by a processor, the steps of the method described in the first aspect or the second aspect of the embodiments of the present disclosure are implemented .
  • the embodiments of the present disclosure also provide a node, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor.
  • the processor implements the embodiments of the present disclosure when the program is executed. The steps of the method described in the first or second aspect.
  • the data transmission method, node, and storage medium provided by the embodiments of the present disclosure include: an encapsulating node sends a first data packet of a service flow to a mapping node, and the first data packet includes identification information and service requirement information; The identification information and the service requirement information are used by the mapping node to establish the mapping between the service flow and the communication tunnel; after determining that the mapping node establishes the mapping between the service flow and the communication tunnel, send the first mapping node to the mapping node Two data packets, the second data packet includes flow identification information, the flow identification information is a part of the identification information; the second data packet is the service flow after the first data packet One packet.
  • the first or first data packets (ie, the first data packet) containing identification information and service requirement information are transmitted through the encapsulation node, so that the mapping node can establish a service based on the identification information and service requirement information
  • the mapping between the flow and the communication tunnel; the second data packet containing only 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 achieving
  • the reduction of the information carried in the data packet prevents the repeated transmission of the same information in each data packet and reduces the waste of bandwidth.
  • FIG. 1 is a schematic diagram of the system architecture of the application of the data transmission method provided by the embodiments of the present disclosure
  • FIG. 2 is a first schematic flowchart of a data transmission method provided by an embodiment of the present disclosure
  • FIG. 3 is a second schematic diagram of a flow of a data transmission method provided by an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of an implementation manner of notification information in a data transmission method provided by an embodiment of the disclosure
  • FIG. 5 is a first schematic diagram of interaction of a data transmission method provided by an embodiment of the present disclosure
  • FIG. 6 is a second schematic diagram of interaction of a data transmission method provided by an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of the composition structure of a package node according to an embodiment of the disclosure.
  • FIG. 8 is a schematic diagram of the composition structure of a mapping node according to an embodiment of the disclosure.
  • FIG. 9 is a schematic diagram of the hardware composition structure of a node according to an embodiment of the disclosure.
  • Figure 1 is a schematic diagram of the system architecture of the application of the data transmission method provided by the embodiments of the disclosure; as shown in Figure 1, the system includes: a client (Client), an application-aware-edge node, and an application-aware processing front-end ( App-aware process Head-End), application-aware process Mid-Point, application-aware process End-Point and server (Server).
  • Client Client
  • application-aware-edge node an application-aware processing front-end
  • App-aware process Head-End App-aware process Head-End
  • application-aware process Mid-Point application-aware process End-Point
  • server Server
  • the client terminal can be through electronic devices such as mobile terminals such as mobile phones and tablet computers or personal computers; one or more application programs (APP) can be installed in the client terminal for accessing the application programs by operating the icons of the application programs.
  • APP application programs
  • the application can generate packets containing various identification information and business requirement information, and send them to the application-aware edge node; or, the application can send operation-related data to the application
  • the application sensing edge encapsulates data packets containing various identification information and business requirements, and sends them to the application sensing processing front end.
  • the application-aware processing front-end establishes a mapping between the service flow and the communication tunnel according to the communication tunnel that is determined to meet the business needs, and the data packet is transmitted to the server through the communication tunnel, through the application-aware processing midpoint and the application-aware processing end point, from the server to the client Respond to the access of the application.
  • the encapsulation node in this embodiment may be the client in FIG. 1 (specifically, it may be an application in the client) or an application-aware edge node; the mapping node may be the application-aware processing front end in FIG. 1.
  • the application-aware edge node may be an access device such as a router or an access network device such as a base station.
  • the application-aware processing front end may be an access device such as a router.
  • FIG. 2 is a schematic diagram 1 of the flow of a data transmission method provided by an embodiment of the present disclosure; as shown in FIG. 2, the method includes:
  • Step 101 The encapsulation node sends a first data packet of the service flow to the mapping node, where the first data packet includes identification information and service requirement information; the identification information and the service requirement information are used by the mapping node to establish a The mapping between the service flow and the communication tunnel;
  • Step 102 After determining that the mapping node establishes the mapping between the service flow and the communication tunnel, the encapsulation node sends a second data packet to the mapping node.
  • the second data packet includes flow identification information, and the flow The identification information is a part of the identification information; the second data packet is a data packet after the first data packet of the service flow.
  • the encapsulation node may be the client shown in FIG. 1 (specifically, it may be an application in the client) or an application-aware edge node.
  • the client when the user accesses the application of the client, the client will generate access data for this access of the application, and the generated access data forms multiple data packets, which form a business flow for this access of the application. That is, the service flow includes multiple data packets.
  • the first data packet may be the first data packet for this visit or one of the first data packets (that is, the first data packet in the first data packets or one of the multiple data packets). data pack).
  • the second data packet is any data packet after the first data packet.
  • the client if the client is an encapsulation node, the client encapsulates the access data, and generates a first data packet including identification information and business requirement information. If the application-aware edge node is an encapsulation node, the client sends the access data to the application-aware edge node, and the application-aware edge node encapsulates the access data to generate a first data packet including identification information and service requirement information. Similarly, if the client is an encapsulation node, the client encapsulates the access data, and generates a second data packet including flow identification information. If the application-aware edge node is an encapsulation node, the client sends the access data to the application-aware edge node, and the application-aware edge node encapsulates the access data to generate a second data packet including flow identification information.
  • the identification information may include: application identification, user identification, and flow identification information.
  • the application identifier is used to identify the currently accessed application, and in actual applications, it can be indicated by the application identifier (for example, the name of the application or the identification code representing the application); the user identifier is used to identify the user accessing the application, In actual applications, it can be represented by the user's user name or client identification in the application; the flow identification information is used to indicate the service flow, and the flow identification information corresponding to different service flows is different.
  • the service requirement information includes any one of bandwidth, time delay, jitter, and packet loss rate or a combination of several types of information. It can be understood that the service requirement information represents the basic requirements of the communication tunnel carrying the current service flow. For example, the bandwidth of the communication tunnel needs to be greater than or equal to the bandwidth indicated in the service requirement information, and the delay of the communication tunnel must be less than or equal to the bandwidth indicated in the service requirement information. Time delay and so on.
  • the flow identification information is only one kind of identification information, that is, in this embodiment, the first data packet contains complete application identification, user identification, identification information of flow identification information, and business requirement information.
  • the identification information and service requirement information in the first data packet are used by the mapping node to establish the mapping of the service flow and the communication tunnel; and the second data packet sent subsequently only includes the flow identification information, and the mapping node can determine based on the flow identification information The communication tunnel corresponding to the service flow.
  • the second data packet may not include the service requirement information and other identification information other than the flow identification information.
  • each data packet transmitted by the encapsulation node to the mapping node includes identification information and service requirement information.
  • the encapsulation node transmits the first or the first data including identification information and service requirement information.
  • the data packet (that is, the first data packet) enables the mapping node to establish a mapping between the service flow and the communication tunnel based on the identification information and the service requirement information; then the second data packet containing only the flow identification information is transmitted through the encapsulation node, so that the mapping node is based on
  • the established mapping forwards the second data packet through the communication tunnel corresponding to the flow identification information, thereby achieving the simplification of the information carried in the data packet, avoiding repeated transmission of the same information in each data packet, and reducing bandwidth waste.
  • the encapsulation node determining 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 send After the first data packet, a timer is started; when the timing of the timer expires, it is determined that the mapping node establishes the mapping between the service flow and the communication tunnel.
  • the encapsulating node starts a timer when sending the first data packet or after sending the first data packet.
  • the timer expires, it can be determined that the mapping node establishes the service flow. And the mapping of the communication tunnel.
  • the timing time of the timer can be pre-configured based on experience or requirements. Exemplarily, the timing time of the timer is 3 seconds, for example.
  • that the encapsulation node determines that the mapping node establishes the mapping between the service flow and the communication tunnel includes: the encapsulation node receives notification information sent by the mapping node, based on The notification information determines that the mapping node establishes the mapping between the service flow and the communication tunnel.
  • the mapping node may establish the 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 establishment of the mapping is completed, the mapping node sends a notification message to the encapsulation node; upon receiving the notification information, the encapsulation node can determine that the mapping node establishes the mapping between the service flow and the communication tunnel.
  • the receiving, by the encapsulation node, the notification information sent by the mapping node includes: the encapsulation node receives the notification information sent by the mapping node through an ICMPv6 message; the specific field in the data field in the ICMPv6 message is used for To indicate the notification information.
  • the notification information can be implemented through an improved ping6 message.
  • the ping6 message can refer to the ICMPv6 message, that is, the notification information is transmitted through the ICMPv6 message.
  • the format of the ICMPv6 message can be referred to as shown in Figure 4, at least including the type (Type) field, code (Code) field, checksum (Checksum) field, identifier (Identifier) field, sequence shown in Figure 4 Number (Sequence Number) field and data (Data) field.
  • the notification information may be indicated by a specific field in the data (Data) field in the ICMPv6 message.
  • a new data type length value (TLV, Tag Length Value) can be defined for at least some of the fields in the data field, for example, a specific bit is defined, where the value of the specific bit is a specific value In this case, it may indicate that the ICMPv6 message includes the notification information.
  • SA Source Address
  • DA Destination Address
  • Flow ID Flow ID
  • Flags fields Reserved
  • the first bit is related to notification information, and when the value of the first bit is 1, it is used to indicate the above notification information, and when the value of the first bit is 0, it means not. Including the above notification information.
  • the sending the second data packet to the mapping node includes: the encapsulating node sends the second data packet in the APN format to the mapping node; and the second data packet in the APN format
  • the specific field of the second data packet includes the flow identification information.
  • the sending a second data packet to the mapping node includes: the encapsulating node sends the second data packet to the mapping node through an IPv6 data packet; the IPv6 data packet The bits of the specific field correspond to the stream identification information.
  • the encapsulating node sends a second data packet in the APN format to the mapping node.
  • the encapsulation node may send the second data packet to the mapping node through an IPv6 segment routing (SRv6, Segment Routing IPv6) packet.
  • SRv6 IPv6 segment routing
  • the SRv6 message as an extension of IPv6, is a new extension in the IP extension header of IPv6, and the extension is called the Segment Routing Header (SRH, Segment Routing Header).
  • the encapsulation node sends the second data packet to the mapping node through an IPv6 data packet.
  • the header format of the IPv6 data packet may refer to Table 2 below, and the encapsulating node may indicate the flow identification information through the flow label (Flow Label) field in the IPv6 data packet.
  • Flow Label flow label
  • the encapsulation node may send an IPv6 data packet directly to the mapping node.
  • the Flow Label field in the IPv6 data packet represents flow identification information, which is compared with sending the second data in the APN format. Packets, this embodiment can reduce the overhead of related encapsulation.
  • the encapsulating node sends the first data packet in the APN format to the mapping node.
  • FIG. 3 is a second schematic diagram of the flow of a data transmission method provided by an embodiment of the present disclosure; as shown in FIG. 3, the method includes:
  • Step 201 The mapping node receives the first data packet of the service flow sent by the encapsulation node, where the first data packet includes identification information and service requirement information;
  • Step 202 The mapping node establishes a mapping between the service flow and the communication tunnel based on at least 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, 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 after the first data packet of the service flow;
  • 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 data packet through the communication tunnel.
  • mapping node may be the application-aware processing front end shown in FIG. 1.
  • the mapping node that establishes the mapping of the service flow and the communication tunnel based on at least the identification information and the service requirement information includes: the mapping node extracts all of the identification information The flow identification information, and the source node information of the first data packet obtained; create or select a communication tunnel that meets the service requirement information; establish the source node information, the flow identification information, and the communication tunnel Mapping; the mapping node determines the corresponding communication tunnel based on at least the flow identification information and the mapping, including: the mapping node determines all corresponding to the flow identification information and the source node information based on the mapping The communication tunnel.
  • the source node information is specifically the source address of the first data packet, or it can also be said that the source node information is the address of the encapsulating node. It can be understood that during data transmission, the data usually carries an active address and a destination address. The source address is used to let the node receiving the data know which node the data is sent from, and the destination address is used to send the data to the destination node.
  • the mapping node finds a communication tunnel that meets the business demand information from the created communication tunnels according to the business demand information in the first data packet, or recreates a communication tunnel that meets the business demand information The communication tunnel is established, and the mapping of source node information, identification information and communication tunnel is established.
  • the identification information may include: application identification, user identification, and flow identification information
  • the mapping node may establish the mapping between the above three identifications, source node information, and communication tunnel, or only flow identification information, source node information, and The mapping of the communication tunnel.
  • the source node information as the address of the source node (i.e. encapsulation node), is the unique identification of the encapsulation node;
  • the flow identification information is unique within the source node (i.e. encapsulation node), but may not be unique in the entire network. That is, for all flow identifications in the network, there may be repeated flow identifications.
  • the mapping established by the mapping node includes the mapping of source node information, flow identification information, and communication channel.
  • the mapping node After the mapping node receives the second data packet, it searches for the mapping based on the source node information of the second data packet and the flow identification information carried in the second data packet, that is, based on the source of the second data packet.
  • the address of the node (that is, the encapsulating node) and the flow identification information look up the mapping, determine a communication tunnel that meets both the source node information and the flow identification information, and forward the second data packet based on the communication tunnel.
  • the method before the mapping node receives the second data packet sent by the encapsulation node, the method further includes: the mapping node sends notification information to the encapsulation node, the notification The information is used to notify the encapsulation node that the mapping between the service flow and the communication tunnel has been established; the notification information is sent after the mapping node has established the mapping between the service flow and the communication tunnel.
  • the mapping node may send notification information to the encapsulation node to inform the encapsulation node that the mapping of the current service flow and the communication tunnel is completed.
  • the sending of the notification information by the mapping node to the encapsulation node includes: the mapping node sends the notification information to the encapsulation node through an ICMPv6 message, and in the ICMPv6 message The specific field in the data field is used to indicate the notification information.
  • the notification information can be implemented through an improved ping6 message.
  • the ping6 message can refer to the ICMPv6 message, that is, the notification information is transmitted through the ICMPv6 message.
  • the format of the ICMPv6 message can be referred to as shown in FIG. 4, and includes at least the fields shown in FIG. 4.
  • the notification information may be indicated by a specific field in the data (Data) field in the ICMPv6 message.
  • a new data TLV can be defined for at least some of the fields in the data field, for example, a specific bit is defined, and when the value of the specific bit is a specific value, it can represent the ICMPv6 message Including the notification information.
  • a specific bit is defined, and when the value of the specific bit is a specific value, it can represent the ICMPv6 message Including the notification information.
  • the first bit is related to the notification information, and when the value of the first bit is 1, it is used to indicate the above notification information, and when the value of the first bit is 0, it means not. Including the above notification information.
  • the receiving, by the mapping node, the second data packet sent by the encapsulation node includes: receiving, by the mapping node, the second data packet in the APN format sent by the encapsulation node;
  • the specific field of the second data packet in the APN format includes the stream identification information.
  • the receiving, by the mapping node, the second data packet sent by the encapsulation node includes: the mapping node receives the second data packet sent by the encapsulation node through an IPv6 data packet; At least some bits of the specific field of the IPv6 data packet correspond to the flow identification information.
  • the encapsulating node sends a second data packet in the APN format to the mapping node.
  • the encapsulation node may send the second data packet to the mapping node through an SRv6 message.
  • the SRv6 message as an extension of IPv6, is a new extension in the IP extension header of IPv6, and the extension part is called SRH.
  • the encapsulation node sends a second data packet to the mapping node through an IPv6 data packet.
  • the header format of the IPv6 data packet may refer to the above Table 2, and the encapsulating node may indicate the flow identification information through the flow label (Flow Label) field in the IPv6 data packet.
  • the encapsulation node may send an IPv6 data packet directly to the mapping node.
  • the Flow Label field in the IPv6 data packet represents flow identification information, which is compared with sending the second data in the APN format. Packets, this embodiment can reduce the overhead of related encapsulation.
  • the first or first data packets (ie, the first data packet) containing identification information and service requirement information are transmitted through the encapsulation node, so that the mapping node can establish a service based on the identification information and service requirement information
  • the mapping between the flow and the communication tunnel; the second data packet containing only 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 achieving
  • the reduction of the information carried in the data packet prevents the repeated transmission of the same information in each data packet and reduces the waste of bandwidth.
  • FIG. 5 is a schematic diagram 1 of interaction of a data transmission method provided by an embodiment of the present disclosure; as shown in FIG. 5, the method includes:
  • Step 301 The encapsulating node sends a first data packet of the service flow to the mapping node, where the first data packet includes identification information and service requirement information.
  • the encapsulation node is a node that encapsulates the data packet in the APN format, and may specifically be the client shown in FIG. 1 (specifically, it may be an application in the client) or an application-aware edge node.
  • the identification information may include: application identification, user identification, and flow identification information, and the service requirement information includes any one of bandwidth, delay, jitter, and packet loss rate.
  • Step 302 The mapping node establishes a mapping between the service flow and the communication tunnel based on the identification information and the service requirement information.
  • the mapping node finds a communication tunnel that meets the business demand information from the created communication tunnels according to the business demand information in the first data packet, or recreates a communication tunnel that meets the business demand information Information communication tunnel, and establish the source node information, identification information and the mapping of the communication tunnel.
  • the identification information may include: application identification, user identification, and flow identification information, and the mapping node may establish the mapping between the above three identifications, source node information, and communication tunnel, or only flow identification information, source node information, and The mapping of the communication tunnel; or, the mapping node can also establish the mapping of flow identification information, source node information, target node information, and the communication tunnel.
  • the source node information may be the address of the source node (such as the encapsulation node), and the target node is the address of the target node to which the data packet is to be transmitted.
  • the source node information is the address of the source node, hereinafter referred to as the source address
  • the target node information is the address of the target node, hereinafter referred to as the destination address.
  • the mapping may include the source address, flow identification information, and communication The mapping of the tunnel identifier; or, the mapping may also include the mapping of the source address, the destination address, the flow identification information, and the communication tunnel identifier.
  • Step 303 The encapsulation node determines that the mapping node establishes the mapping between the service flow and the communication tunnel, which can be implemented in the following two ways:
  • Step 303a The mapping node sends notification information to the encapsulation node. Upon receiving the notification information, the encapsulation node can determine that the mapping node has established a mapping between the service flow and the communication tunnel.
  • Step 303b The encapsulating node waits for a preset period of time when sending the first data packet or after sending the first data packet, and it can be determined that the mapping node has established the mapping between the service flow and the communication tunnel.
  • the encapsulating node may start a timer when sending the first data packet or after sending the first data packet, and when the timer expires, it may be determined that the mapping node has established the mapping between the service flow and the communication tunnel.
  • Step 304 The encapsulating node sends a second data packet in the APN format to the mapping node, where the second data packet includes flow identification information.
  • mapping node After the mapping node has established and completed the mapping between the service flow and the communication tunnel, all subsequent second data packets sent do not carry service requirement information and other identifiers except flow identification information, and are only in the second data packet. Carry flow identification information; after receiving the second data packet, the mapping node searches for the communication tunnel identification that matches the source node information of the second data packet and the flow identification information according to the established mapping, and passes the second data packet through the matching The communication tunnel corresponding to the communication tunnel identifier is forwarded.
  • FIG. 6 is a second schematic diagram of interaction of a data transmission method provided by an embodiment of the disclosure; as shown in FIG. 6, the method includes:
  • Step 401 The encapsulating node sends the first data packet of the service flow to the mapping node, where the first data packet includes identification information and service requirement information.
  • the encapsulation node is a node that encapsulates the data packet in the APN format, and may specifically be the client shown in FIG. 1 (specifically, it may be an application in the client) or an application-aware edge node.
  • the identification information may include: application identification, user identification, and flow identification information, and the service requirement information includes any one of bandwidth, delay, jitter, and packet loss rate.
  • Step 402 The mapping node establishes a mapping between the service flow and the communication tunnel based on the identification information and the service requirement information.
  • the mapping node finds a communication tunnel that meets the business demand information from the created communication tunnels according to the business demand information in the first data packet, or recreates a communication tunnel that meets the business demand information Information communication tunnel, and establish the source node information, identification information and the mapping of the communication tunnel.
  • the identification information may include: application identification, user identification, and flow identification information, and the mapping node may establish the mapping between the above three identifications, source node information, and communication tunnel, or only flow identification information, source node information, and The mapping of the communication tunnel; or, the mapping node can also establish the mapping of flow identification information, source node information, target node information, and the communication tunnel.
  • the source node information may be the address of the source node (such as the encapsulation node), and the target node is the address of the target node to which the data packet is to be transmitted.
  • the source node information is the address of the source node, hereinafter referred to as the source address
  • the target node information is the address of the target node, hereinafter referred to as the destination address.
  • the mapping may include the source address, flow identification information, and communication The mapping of the tunnel identifier; or, the mapping may also include the mapping of the source address, the destination address, the flow identification information, and the communication tunnel identifier.
  • Step 403 The encapsulation node determines that the mapping node establishes the mapping between the service flow and the communication tunnel, which can be implemented in the following two ways:
  • Step 403a The mapping node sends notification information to the encapsulation node. Upon receiving the notification information, the encapsulation node can determine that the mapping node has established a mapping between the service flow and the communication tunnel.
  • Step 403b The encapsulating node waits for a preset period of time when sending the first data packet or after sending the first data packet, and it can be determined that the mapping node has established the mapping between the service flow and the communication tunnel.
  • the encapsulating node may start a timer when sending the first data packet or after sending the first data packet, and when the timer expires, it may be determined that the mapping node has established the mapping between the service flow and the communication tunnel.
  • Step 404 The encapsulating node sends a second data packet to the mapping node through an IPv6 data packet; the bits of a specific field of the IPv6 data packet correspond to the flow identification information.
  • mapping node After the mapping node has established and completed the mapping between the service flow and the communication tunnel, all subsequent second data packets sent do not carry service requirement information and other identifiers except flow identification information, and are only in the second data packet. Carry flow identification information; after receiving the second data packet, the mapping node searches for the communication tunnel identification that matches the source node information of the second data packet and the flow identification information according to the established mapping, and passes the second data packet through the matching The communication tunnel corresponding to the communication tunnel identifier is forwarded.
  • FIG. 7 is a schematic diagram of the composition structure of an encapsulation node according to an embodiment of the disclosure; as shown in FIG. 7, the encapsulation node includes: a first communication unit 51 and a first processing unit 52; wherein,
  • 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 all
  • the mapping node establishes a mapping between the service flow and the communication tunnel;
  • the first processing unit 52 is configured to determine whether the mapping node establishes a mapping between the service flow and the communication tunnel;
  • the first communication unit 51 is further configured to send a second data packet to the mapping node after the first processing unit 52 determines that the mapping node establishes the mapping between the service flow and the communication tunnel, and the second processing unit 52
  • the 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.
  • the first processing unit 52 is configured to start timing when the first communication unit 51 sends the first data packet, or after sending the first data packet ⁇ ; When the timer expires, it is determined that the mapping node establishes the mapping of the service flow and the communication tunnel.
  • the first processing unit 52 is configured to receive the notification information sent by the mapping node through the first communication unit 51, and determine that the mapping node is established based on the notification information The mapping between the service flow and the communication tunnel.
  • the first processing unit 52 is configured to receive the notification information sent by the mapping node through an ICMPv6 message; a specific field in the data field in the ICMPv6 message is used for Indicates the notification information.
  • the first communication unit 51 is configured to send a second data packet in the APN format to the mapping node; the specific field of the second data packet in the APN format includes all The stream identification information.
  • the first communication unit 51 is configured to send a second data packet to the mapping node through an IPv6 data packet; the bits of the specific field of the IPv6 data packet correspond to all the bits in the specific field of the IPv6 data packet.
  • the stream identification information is configured to send a second data packet to the mapping node through an IPv6 data packet; the bits of the specific field of the IPv6 data packet correspond to all the bits in the specific field of the IPv6 data packet.
  • the first processing unit 52 in the packaging node can be implemented by, for example, a central processing unit (CPU, Central Processing Unit), a digital signal processor (DSP, Digital Signal Processor), and a micro-controller in practical applications.
  • Unit Microcontroller Unit
  • FPGA Field-Programmable Gate Array
  • the first communication unit 51 in the package node can be implemented through a communication module (including: basic communication suite) in practical applications , Operating system, communication module, standardized interface and protocol, etc.) and the realization of the transceiver antenna.
  • the encapsulation node provided in the above embodiment performs data transmission
  • only the division of the above-mentioned program modules is used as an example for illustration.
  • the above-mentioned processing can be allocated by different program modules according to needs, i.e.
  • the internal structure of the encapsulation node is divided into different program modules to complete all or part of the processing described above.
  • the encapsulation node provided in the foregoing embodiment and the data transmission method embodiment belong to the same concept. For the specific implementation process, please refer to the method embodiment, which will not be repeated here.
  • FIG. 8 is a schematic diagram of the composition structure of a mapping node according to an embodiment of the disclosure; as shown in FIG. 8, a second communication unit 61 and a second processing unit 62; among them,
  • 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; and is further configured to receive a second data packet sent by the encapsulation node, the second data packet including flow identification information
  • the flow identification information is a part of the identification information
  • the second data packet is a data packet after the first data packet of the service flow;
  • 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.
  • the second processing unit 62 is configured to extract the flow identification information in the identification information, and obtain the source node information of the first data packet; create or select A communication tunnel that satisfies the service requirement information; establishes the source node information, the flow identification information, and a mapping with the communication tunnel; and is further configured to determine the flow identification information and the source node information based on the mapping The corresponding communication tunnel.
  • 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 for Notifying the encapsulation node that the mapping between the service flow and the communication tunnel has been established; the notification information is sent after the mapping node has established the mapping between the service flow and the communication tunnel.
  • the second communication unit 61 is configured to send notification information to the encapsulation node through an ICMPv6 message, and a specific field in the data field in the ICMPv6 message is used to indicate The notification information.
  • the second communication unit 61 is configured to receive a second data packet in the APN format sent by the encapsulation node; the specific field of the second data packet in the APN format includes The stream identification information.
  • the second communication unit 61 is configured to receive a second data packet sent by the encapsulation node through an IPv6 data packet; at least some bits of a specific field of the IPv6 data packet Corresponds to the stream identification information.
  • the second processing unit 62 in the mapping node can be implemented by, for example, a CPU, DSP, MCU, or FPGA in practical applications; the second communication unit 61 in the packaging node is in practical applications It can be realized through a communication module (including: basic communication kit, operating system, communication module, standardized interface and protocol, etc.) and a transceiver antenna.
  • a communication module including: basic communication kit, operating system, communication module, standardized interface and protocol, etc.
  • mapping node provided in the above embodiment performs data transmission
  • only the division of the above-mentioned program modules is used as an example.
  • the above-mentioned processing can be allocated by different program modules according to needs, i.e.
  • the internal structure of the mapping node is divided into different program modules to complete all or part of the processing described above.
  • the mapping node provided in the foregoing embodiment and the data transmission method embodiment belong to the same concept. For the specific implementation process, please refer to the method embodiment, which will not be repeated here.
  • FIG. 9 is a schematic diagram of the hardware composition structure of the node of the embodiment of the disclosure.
  • the node includes a memory 72, a processor 71, and a computer program stored in the memory 72 and running on the processor 71.
  • the processing The device 71 implements the steps of the data transmission method applied to the encapsulation node or the mapping node described in the embodiment of the present disclosure when the program is executed.
  • one or more network interfaces 73 may also be included in the node. It can be understood that the various components in the node are coupled together through the bus system 74. It can be understood that the bus system 74 is used to implement connection and communication between these components. In addition to the data bus, the bus system 74 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clear description, various buses are marked as the bus system 74 in FIG. 9.
  • the memory 72 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory.
  • the non-volatile memory can be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read- Only Memory, Electrically Erasable Programmable Read-Only Memory (EEPROM), Ferromagnetic Random Access Memory (FRAM), Flash Memory, Magnetic Surface Memory , CD-ROM, or CD-ROM (Compact Disc Read-Only Memory); magnetic surface memory can be magnetic disk storage or tape storage.
  • the volatile memory may be a random access memory (RAM, Random Access Memory), which is used as an external cache.
  • RAM random access memory
  • SRAM static random access memory
  • SSRAM synchronous static random access memory
  • Synchronous Static Random Access Memory Synchronous Static Random Access Memory
  • DRAM Dynamic Random Access Memory
  • SDRAM Synchronous Dynamic Random Access Memory
  • DDRSDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • ESDRAM Enhanced Synchronous Dynamic Random Access Memory
  • SLDRAM synchronous connection dynamic random access memory
  • DRRAM Direct Rambus Random Access Memory
  • the memory 72 described in the embodiments of the present disclosure is intended to include, but is not limited to, these and any other suitable types of memory.
  • the methods disclosed in the foregoing embodiments of the present disclosure may be applied to the processor 71 or implemented by the processor 71.
  • the processor 71 may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 71 or instructions in the form of software.
  • the aforementioned processor 71 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and the like.
  • the processor 71 may implement or execute various methods, steps, and logical block diagrams disclosed in the embodiments of the present disclosure.
  • the general-purpose processor may be a microprocessor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present disclosure may be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a storage medium, and the storage medium is located in the memory 72.
  • the processor 71 reads the information in the memory 72 and completes the steps of the foregoing method in combination with its hardware.
  • the node may be configured by one or more application specific integrated circuits (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), complex programmable logic device (CPLD, Complex Programmable Logic Device), FPGA, general-purpose processor, controller, MCU, microprocessor (Microprocessor), or other electronic components to implement the foregoing method.
  • ASIC Application Specific Integrated Circuit
  • DSP digital signal processor
  • PLD programmable logic device
  • CPLD Complex Programmable Logic Device
  • FPGA general-purpose processor
  • controller MCU
  • microprocessor Microprocessor
  • the embodiment of the present disclosure also provides a computer-readable storage medium, such as a memory 72 including a computer program, which can be executed by the processor 71 of the node to complete the steps described in the foregoing method.
  • the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM; it may also be various devices including one or any combination of the foregoing memories.
  • the computer-readable storage medium provided by the embodiment of the present disclosure has a computer program stored thereon, wherein the program is executed by a processor to implement the steps of the data transmission method applied to the packaging node or the mapping node in the embodiment of the present disclosure .
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, such as: multiple units or components can be combined, or It can be integrated into another system, or some features can be ignored or not implemented.
  • the coupling, or direct coupling, or communication connection between the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms. of.
  • the units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the embodiments of the present disclosure can be all integrated into one processing unit, or each unit can be individually used as a unit, or two or more units can be integrated into one unit;
  • the unit can be implemented in the form of hardware, or in the form of hardware plus software functional units.
  • the foregoing program can be stored in a computer readable storage medium. When the program is executed, it is executed. Including the steps of the foregoing method embodiment; and the foregoing storage medium includes: various media that can store program codes, such as a mobile storage device, ROM, RAM, magnetic disk, or optical disk.
  • the aforementioned integrated unit of the present disclosure is implemented in the form of a software function module and sold or used as an independent product, it may also be stored in a computer readable storage medium.
  • the computer software product is stored in a storage medium and includes several instructions for A computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the methods described in the various embodiments of the present disclosure.
  • the aforementioned storage media include: removable storage devices, ROM, RAM, magnetic disks, or optical disks and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Disclosed in the embodiments of the present disclosure are a transmission method, nodes and a storage medium. Said method comprises: an encapsulation node sending a first data packet of a service flow to a mapping node, the first data packet comprising identifier information and service requirement information, the identifier information and the service requirement information being used for the mapping node to establish a mapping between the service flow and a communication tunnel; and upon determination that the mapping node has established a mapping between the service flow and the communication tunnel, the encapsulation node sending a second data packet to the mapping node, the second data packet comprising flow identifier information, the flow identifier information being a part of the identifier information, and the second data packet being a data packet of the service flow after the first data packet.

Description

一种数据传输方法、节点和存储介质Data transmission method, node and storage medium
相关申请的交叉引用Cross-references to related applications
本公开基于申请号为202010158986.0、申请日为2020年03月09日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本公开。The present disclosure is filed based on a Chinese patent application with an application number of 202010158986.0 and an application date of March 9, 2020, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into the present disclosure by way of introduction.
技术领域Technical field
本公开涉及通信技术领域,具体涉及一种数据传输方法、节点和存储介质。The present disclosure relates to the field of communication technology, and in particular to a data transmission method, node and storage medium.
背景技术Background technique
应用感知网络(APN,Application-aware Networking)架构中,封装节点在向映射节点发送的数据包中携带有需求信息,例如服务参数(service参数),这些需求信息用于找到或建立一个合适的网络路径,从而达成网络感知业务,按需完成承载的能力。相关技术中,针对同一个业务流的数据包均会携带有上述需求信息,在基于首个或首些数据包中携带的需求信息找到或建立了合适的网络路径的情况下,相当于后续的数据包携带了很多的重复的信息,造成了带宽的浪费。In the Application-aware Networking (APN, Application-aware Networking) architecture, the encapsulation node carries demand information, such as service parameters (service parameters), in the data packets sent to the mapping node. The demand information is used to find or establish a suitable network Path, so as to achieve the network-aware service, the ability to complete the bearer on demand. In related technologies, data packets for the same service flow will all carry the above-mentioned demand information. In the case that a suitable network path is found or established based on the demand information carried in the first or some of the first data packets, it is equivalent to the subsequent Data packets carry a lot of repeated information, causing a waste of bandwidth.
发明内容Summary of the invention
本公开实施例期望提供一种数据传输方法、节点和存储介质。The embodiments of the present disclosure expect to provide a data transmission method, node, and storage medium.
为达到上述目的,本公开实施例的技术方案是这样实现的:In order to achieve the foregoing objectives, the technical solutions of the embodiments of the present disclosure are implemented as follows:
第一方面,本公开实施例提供了一种数据传输方法,所述方法包括:In the first aspect, embodiments of the present disclosure provide a data transmission method, the method including:
封装节点向映射节点发送业务流的第一数据包,所述第一数据包中包 括标识信息和业务需求信息;所述标识信息和所述业务需求信息用于所述映射节点建立所述业务流和通信隧道的映射;所述封装节点确定所述映射节点建立所述业务流和通信隧道的映射后,向所述映射节点发送第二数据包,所述第二数据包中包括流标识信息,所述流标识信息是所述标识信息的一部分;所述第二数据包为所述业务流的、所述第一数据包之后的一个数据包。The encapsulation node sends a first data packet of the service flow to the mapping node, where the first data packet includes identification information and service requirement information; the identification information and the service requirement information are used by the mapping node to establish the service flow And the mapping of the communication tunnel; after determining that the mapping node establishes the mapping between the service flow and the communication tunnel, the encapsulation node sends a second data packet to the mapping node, and 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 after the first data packet of the service flow.
在本公开的一些可选实施例中,所述封装节点确定所述映射节点建立所述业务流和通信隧道的映射,包括:所述封装节点在发送所述第一数据包时,或发送所述第一数据包后,启动定时器;在所述定时器的定时时间到时,确定所述映射节点建立所述业务流和通信隧道的映射。In some optional embodiments of the present disclosure, the encapsulation node determining 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 sends the After the first data packet, a timer is started; when the timing of the timer expires, it is determined that the mapping node establishes the mapping between the service flow and the communication tunnel.
在本公开的一些可选实施例中,所述封装节点确定所述映射节点建立所述业务流和通信隧道的映射,包括:所述封装节点接收所述映射节点发送的通知信息,基于所述通知信息确定所述映射节点建立所述业务流和通信隧道的映射。In some optional embodiments of the present disclosure, that the encapsulation node determines that the mapping node establishes the mapping between the service flow and the communication tunnel includes: the encapsulation node receives notification information sent by the mapping node, based on the The notification information determines that the mapping node establishes the mapping between the service flow and the communication tunnel.
在本公开的一些可选实施例中,所述封装节点接收所述映射节点发送的通知信息,包括:所述封装节点通过互联网控制信息协议版本六(ICMPv6,Internet Control Management Protocol Version 6)报文接收所述映射节点发送的通知信息;所述ICMPv6报文中的数据字段中的特定字段用于指示所述通知信息。In some optional embodiments of the present disclosure, the receiving of the notification information sent by the mapping node by the encapsulation node includes: the encapsulation node uses Internet Control Management Protocol Version 6 (ICMPv6, Internet Control Management Protocol Version 6) messages Receiving notification information sent by the mapping node; a specific field in the data field in the ICMPv6 message is used to indicate the notification information.
在本公开的一些可选实施例中,所述向所述映射节点发送第二数据包,包括:所述封装节点向所述映射节点发送APN格式的第二数据包;所述APN格式的第二数据包的特定字段中包括所述流标识信息。In some optional embodiments of the present disclosure, the sending the second data packet to the mapping node includes: the encapsulating node sends the second data packet in the APN format to the mapping node; and the second data packet in the APN format The specific field of the second data packet includes the flow identification information.
在本公开的一些可选实施例中,所述向所述映射节点发送第二数据包,包括:所述封装节点通过互联网协议第6版(IPv6,Internet Protocol Version 6)数据包向所述映射节点发送第二数据包;所述IPv6数据包的特定字段的 比特位对应于所述流标识信息。In some optional embodiments of the present disclosure, the sending the second data packet to the mapping node includes: the encapsulation node uses an Internet Protocol Version 6 (IPv6, Internet Protocol Version 6) data packet to map to the mapping node The node sends a second data packet; the bits of the specific field of the IPv6 data packet correspond to the flow identification information.
第二方面,本公开实施例还提供了一种数据传输方法,所述方法包括:映射节点接收封装节点发送的业务流的第一数据包,所述第一数据包中包括标识信息和业务需求信息;所述映射节点至少基于所述标识信息和业务需求信息建立所述业务流和通信隧道的映射,并通过所述通信隧道转发所述第一数据包;所述映射节点接收所述封装节点发送的第二数据包,所述第二数据包中包括流标识信息;所述流标识信息是所述标识信息的一部分;所述第二数据包为所述业务流的、所述第一数据包之后的一个数据包;所述映射节点至少基于所述流标识信息和所述映射确定对应的所述通信隧道,通过所述通信隧道转发所述第二数据包。In a second aspect, an embodiment of the present disclosure also provides a data transmission method, the method includes: a mapping node receives a first data packet of a service flow sent by an encapsulation node, and the first data packet includes identification information and service requirements Information; the mapping node establishes the mapping of the service flow and the communication tunnel based on at least the identification information and the service requirement information, and forwards the first data packet through the communication tunnel; the mapping node receives the encapsulation node The second data packet sent includes flow identification information; the flow identification information is a part of the identification information; the second data packet is the first data of the service flow A data packet after the packet; the mapping node determines the corresponding communication tunnel based on at least the flow identification information and the mapping, and forwards the second data packet through the communication tunnel.
在本公开的一些可选实施例中,所述映射节点至少基于所述标识信息和业务需求信息建立所述业务流和通信隧道的映射,包括:所述映射节点提取所述标识信息中的所述流标识信息,以及获得所述第一数据包的源节点信息;创建或选择满足所述业务需求信息的通信隧道;建立所述源节点信息、所述流标识信息,与所述通信隧道的映射;所述映射节点至少基于所述流标识信息和所述映射确定对应的所述通信隧道,包括:所述映射节点基于所述映射确定所述流标识信息和所述源节点信息对应的所述通信隧道。In some optional embodiments of the present disclosure, the mapping node that establishes the mapping of the service flow and the communication tunnel based on at least the identification information and the service requirement information includes: the mapping node extracts all of the identification information The flow identification information, and the source node information of the first data packet obtained; create or select a communication tunnel that meets the service requirement information; establish the source node information, the flow identification information, and the communication tunnel Mapping; the mapping node determines the corresponding communication tunnel based on at least the flow identification information and the mapping, including: the mapping node determines all corresponding to the flow identification information and the source node information based on the mapping The communication tunnel.
在本公开的一些可选实施例中,所述映射节点接收所述封装节点发送的第二数据包之前,所述方法还包括:所述映射节点向所述封装节点发送通知信息,所述通知信息用于通知所述封装节点已建立所述业务流和通信隧道的映射;所述通知信息在所述映射节点建立所述业务流和通信隧道的映射后发送。In some optional embodiments of the present disclosure, before the mapping node receives the second data packet sent by the encapsulation node, the method further includes: the mapping node sends notification information to the encapsulation node, the notification The information is used to notify the encapsulation node that the mapping between the service flow and the communication tunnel has been established; the notification information is sent after the mapping node has established the mapping between the service flow and the communication tunnel.
在本公开的一些可选实施例中,所述映射节点向所述封装节点发送通知信息,包括:所述映射节点通过ICMPv6报文向所述封装节点发送通知 信息,所述ICMPv6报文中的数据字段中的特定字段用于指示所述通知信息。In some optional embodiments of the present disclosure, the sending of the notification information by the mapping node to the encapsulation node includes: the mapping node sends the notification information to the encapsulation node through an ICMPv6 message, and in the ICMPv6 message The specific field in the data field is used to indicate the notification information.
在本公开的一些可选实施例中,所述映射节点接收所述封装节点发送的第二数据包,包括:所述映射节点接收所述封装节点发送的APN格式的第二数据包;所述APN格式的第二数据包的特定字段中包括所述流标识信息。In some optional embodiments of the present disclosure, the receiving, by the mapping node, the second data packet sent by the encapsulation node includes: receiving, by the mapping node, the second data packet in the APN format sent by the encapsulation node; The specific field of the second data packet in the APN format includes the stream identification information.
在本公开的一些可选实施例中,所述映射节点接收所述封装节点发送的第二数据包,包括:所述映射节点通过IPv6数据包接收所述封装节点发送的第二数据包;所述IPv6数据包的特定字段的至少部分比特位对应于所述流标识信息。In some optional embodiments of the present disclosure, the receiving, by the mapping node, the second data packet sent by the encapsulation node includes: the mapping node receives the second data packet sent by the encapsulation node through an IPv6 data packet; At least some bits of the specific field of the IPv6 data packet correspond to the flow identification information.
第三方面,本公开实施例还提供了一种封装节点,所述封装节点包括:第一通讯单元和第一处理单元;其中,In a third aspect, an embodiment of the present disclosure also provides an encapsulation node, the encapsulation node includes: a first communication unit and a first processing unit; wherein,
所述第一通讯单元,配置为向映射节点发送业务流的第一数据包,所述第一数据包中包括标识信息和业务需求信息;所述标识信息和所述业务需求信息用于所述映射节点建立所述业务流和通信隧道的映射;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 in the A mapping node establishes a mapping between the service flow and the communication tunnel;
所述第一处理单元,配置为确定所述映射节点是否建立所述业务流和通信隧道的映射;The first processing unit is configured to determine whether the mapping node establishes a mapping between the service flow and the communication tunnel;
所述第一通讯单元,还配置为所述第一处理单元确定所述映射节点建立所述业务流和通信隧道的映射后,向所述映射节点发送第二数据包,所述第二数据包中包括流标识信息,所述流标识信息是所述标识信息的一部分;所述第二数据包为所述业务流的、所述第一数据包之后的一个数据包。The first communication unit is further configured to send a second data packet to the mapping node after the first processing unit determines that the mapping node establishes the mapping between the service flow and the communication tunnel, and the second data packet The flow identification information is included in the 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 disclosure, the first processing unit is configured to start a timer when the first communication unit sends the first data packet or after the first data packet is sent; When the timing of the timer expires, it is determined that the mapping node establishes the mapping between the service flow and the communication tunnel.
在本公开的一些可选实施例中,所述第一处理单元,配置为通过所述第一通讯单元接收所述映射节点发送的通知信息,基于所述通知信息确定所述映射节点建立所述业务流和通信隧道的映射。In some optional embodiments of the present disclosure, the first processing unit is configured to receive notification information sent by the mapping node through the first communication unit, and based on the notification information, determine that the mapping node establishes the Mapping of service flow and communication tunnel.
在本公开的一些可选实施例中,所述第一处理单元,配置为通过ICMPv6报文接收所述映射节点发送的通知信息;所述ICMPv6报文中的数据字段中的特定字段用于指示所述通知信息。In some optional embodiments of the present disclosure, the first processing unit is configured to receive notification information sent by the mapping node through an ICMPv6 message; a specific field in the data field in the ICMPv6 message is used to indicate The notification information.
在本公开的一些可选实施例中,所述第一通讯单元,配置为向所述映射节点发送APN格式的第二数据包;所述APN格式的第二数据包的特定字段中包括所述流标识信息。In some optional embodiments of the present disclosure, the first communication unit is configured to send a second data packet in the APN format to the mapping node; the specific field of the second data packet in the APN format includes the Stream identification information.
在本公开的一些可选实施例中,所述第一通讯单元,配置为通过IPv6数据包向所述映射节点发送第二数据包;所述IPv6数据包的特定字段的比特位对应于所述流标识信息。In some optional embodiments of the present disclosure, the first communication unit is configured to send a second data packet to the mapping node through an IPv6 data packet; the bits of a specific field of the IPv6 data packet correspond to the Stream identification information.
第四方面,本公开实施例还提供了一种映射节点,所述映射节点包括:第二通讯单元和第二处理单元;其中,In a fourth aspect, an embodiment of the present disclosure also provides a mapping node, the mapping node includes: a second communication unit and a second processing unit; wherein,
所述第二通讯单元,配置为接收封装节点发送的业务流的第一数据包,所述第一数据包中包括标识信息和业务需求信息;The second communication unit 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 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 is further configured to forward the first data packet through the communication tunnel; and further configured to receive a second data packet sent by the encapsulation node, the second data packet including 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 some optional embodiments of the present disclosure, the second processing unit is configured to extract the flow identification information in the identification information, and obtain the source node information of the first data packet; create or select The communication tunnel of the service requirement information; establishing the source node information, the flow identification information, and the mapping of the communication tunnel; and further configured to determine that the flow identification information corresponds to the source node information based on the mapping The communication tunnel.
在本公开的一些可选实施例中,所述第二通讯单元,还配置为接收所述封装节点发送的第二数据包之前,向所述封装节点发送通知信息,所述通知信息用于通知所述封装节点已建立所述业务流和通信隧道的映射;所述通知信息在所述映射节点建立所述业务流和通信隧道的映射后发送。In some optional embodiments of the present disclosure, the second communication unit is further configured to send notification information to the encapsulation node before receiving the second data packet sent by the encapsulation node, and the notification information is used to notify The encapsulation node has established the mapping between the service flow and the communication tunnel; the notification information is sent after the mapping node has established the mapping between the service flow and the communication tunnel.
在本公开的一些可选实施例中,所述第二通讯单元,配置为通过ICMPv6报文向所述封装节点发送通知信息,所述ICMPv6报文中的数据字段中的特定字段用于指示所述通知信息。In some optional embodiments of the present disclosure, the second communication unit is configured to send notification information to the encapsulation node through an ICMPv6 message, and a specific field in the data field in the ICMPv6 message is used to indicate The notification information.
在本公开的一些可选实施例中,所述第二通讯单元,配置为接收所述封装节点发送的APN格式的第二数据包;所述APN格式的第二数据包的特定字段中包括所述流标识信息。In some optional embodiments of the present disclosure, the second communication unit is configured to receive a second data packet in the APN format sent by the encapsulation node; the specific field of the second data packet in the APN format includes all The stream identification information.
在本公开的一些可选实施例中,所述第二通讯单元,配置为通过IPv6数据包接收所述封装节点发送的第二数据包;所述IPv6数据包的特定字段的至少部分比特位对应于所述流标识信息。In some optional embodiments of the present disclosure, the second communication unit is configured to receive a second data packet sent by the encapsulation node through an IPv6 data packet; at least some bits of a specific field of the IPv6 data packet correspond to于The stream identification information.
第五方面,本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本公开实施例第一方面或第二方面所述方法的步骤。In a fifth aspect, the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the method described in the first aspect or the second aspect of the embodiments of the present disclosure are implemented .
第六方面,本公开实施例还提供了一种节点,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现本公开实施例第一方面或第二方面所述方法的步骤。In a sixth aspect, the embodiments of the present disclosure also provide a node, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor. The processor implements the embodiments of the present disclosure when the program is executed. The steps of the method described in the first or second aspect.
本公开实施例提供的数据传输方法、节点和存储介质,所述方法包括: 封装节点向映射节点发送业务流的第一数据包,所述第一数据包中包括标识信息和业务需求信息;所述标识信息和所述业务需求信息用于所述映射节点建立所述业务流和通信隧道的映射;确定所述映射节点建立所述业务流和通信隧道的映射后,向所述映射节点发送第二数据包,所述第二数据包中包括流标识信息,所述流标识信息是所述标识信息的一部分;所述第二数据包为所述业务流的、所述第一数据包之后的一个数据包。采用本公开实施例的技术方案,通过封装节点传输包含有标识信息和业务需求信息的首个或首些数据包(即第一数据包),使得映射节点能够基于标识信息和业务需求信息建立业务流和通信隧道的映射;再通过封装节点传输仅包含流标识信息的第二数据包,使得映射节点基于已建立的映射将第二数据包通过流标识信息对应的通信隧道进行转发,从而实现了数据包中携带的信息的减少,避免了各数据包中重复传递相同的信息,减少了带宽的浪费。The data transmission method, node, and storage medium provided by the embodiments of the present disclosure include: an encapsulating node sends a first data packet of a service flow to a mapping node, and the first data packet includes identification information and service requirement information; The identification information and the service requirement information are used by the mapping node to establish the mapping between the service flow and the communication tunnel; after determining that the mapping node establishes the mapping between the service flow and the communication tunnel, send the first mapping node to the mapping node Two data packets, the second data packet includes flow identification information, the flow identification information is a part of the identification information; the second data packet is the service flow after the first data packet One packet. Using the technical solution of the embodiment of the present disclosure, the first or first data packets (ie, the first data packet) containing identification information and service requirement information are transmitted through the encapsulation node, so that the mapping node can establish a service based on the identification information and service requirement information The mapping between the flow and the communication tunnel; the second data packet containing only 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 achieving The reduction of the information carried in the data packet prevents the repeated transmission of the same information in each data packet and reduces the waste of bandwidth.
附图说明Description of the drawings
图1为本公开实施例提供的数据传输方法应用的系统架构示意图;FIG. 1 is a schematic diagram of the system architecture of the application of the data transmission method provided by the embodiments of the present disclosure;
图2为本公开实施例提供的数据传输方法的流程示意图一;FIG. 2 is a first schematic flowchart of a data transmission method provided by an embodiment of the present disclosure;
图3为本公开实施例提供的数据传输方法的流程示意图二;FIG. 3 is a second schematic diagram of a flow of a data transmission method provided by an embodiment of the present disclosure;
图4为本公开实施例提供的数据传输方法中的通知信息实现方式示意图;FIG. 4 is a schematic diagram of an implementation manner of notification information in a data transmission method provided by an embodiment of the disclosure;
图5为本公开实施例提供的数据传输方法的交互示意图一;FIG. 5 is a first schematic diagram of interaction of a data transmission method provided by an embodiment of the present disclosure;
图6为本公开实施例提供的数据传输方法的交互示意图二;FIG. 6 is a second schematic diagram of interaction of a data transmission method provided by an embodiment of the present disclosure;
图7为本公开实施例的封装节点的组成结构示意图;FIG. 7 is a schematic diagram of the composition structure of a package node according to an embodiment of the disclosure;
图8为本公开实施例的映射节点的组成结构示意图;FIG. 8 is a schematic diagram of the composition structure of a mapping node according to an embodiment of the disclosure;
图9为本公开实施例的节点的硬件组成结构示意图。FIG. 9 is a schematic diagram of the hardware composition structure of a node according to an embodiment of the disclosure.
具体实施方式Detailed ways
下面结合附图及具体实施例对本公开作进一步详细的说明。The present disclosure will be further described in detail below with reference to the drawings and specific embodiments.
图1为本公开实施例提供的数据传输方法应用的系统架构示意图;如图1所示,系统包括:客户端(Client)、应用感知边缘(App-aware-edge)节点、应用感知处理前端(App-aware process Head-End)、应用感知处理中点(App-aware process Mid-Point)、应用感知处理终点(App-aware process End-Point)和服务器(Server)。Figure 1 is a schematic diagram of the system architecture of the application of the data transmission method provided by the embodiments of the disclosure; as shown in Figure 1, the system includes: a client (Client), an application-aware-edge node, and an application-aware processing front-end ( App-aware process Head-End), application-aware process Mid-Point, application-aware process End-Point and server (Server).
其中,客户端可通过例如手机、平板电脑等移动终端或个人计算机等电子设备;客户端内可安装有一个或多个应用程序(APP),用于可通过操作应用程序的图标访问应用程序。相关技术方案中,在应用程序被访问过程中,应用程序可产生包含各标识信息以及业务需求信息的数据包(packet),发送至应用感知边缘节点;或者,应用程序将操作相关数据发送至应用感知边缘节点,由应用感知边缘封装包含各标识信息以及业务需求的数据包(packet),并发送至应用感知处理前端。应用感知处理前端根据确定能够满足业务需求的通信隧道,建立业务流与通信隧道的映射,数据包通过该通信隧道、经应用感知处理中点和应用感知处理终点传输至服务器,由服务器对客户端对应用程序的访问进行响应处理。Among them, the client terminal can be through electronic devices such as mobile terminals such as mobile phones and tablet computers or personal computers; one or more application programs (APP) can be installed in the client terminal for accessing the application programs by operating the icons of the application programs. In the related technical solutions, during the process of the application being accessed, the application can generate packets containing various identification information and business requirement information, and send them to the application-aware edge node; or, the application can send operation-related data to the application For the sensing edge node, the application sensing edge encapsulates data packets containing various identification information and business requirements, and sends them to the application sensing processing front end. The application-aware processing front-end establishes a mapping between the service flow and the communication tunnel according to the communication tunnel that is determined to meet the business needs, and the data packet is transmitted to the server through the communication tunnel, through the application-aware processing midpoint and the application-aware processing end point, from the server to the client Respond to the access of the application.
本实施例中的封装节点可以为图1中的客户端(具体可以是客户端中的应用程序)或应用感知边缘节点;映射节点可以为图1中的应用感知处理前端。示例性的,应用感知边缘节点可以是路由器等接入设备或者基站等接入网设备。应用感知处理前端可以是路由器等接入设备。The encapsulation node in this embodiment may be the client in FIG. 1 (specifically, it may be an application in the client) or an application-aware edge node; the mapping node may be the application-aware processing front end in FIG. 1. Exemplarily, the application-aware edge node may be an access device such as a router or an access network device such as a base station. The application-aware processing front end may be an access device such as a router.
基于图1所示的系统架构,提出本公开以下各实施例。Based on the system architecture shown in FIG. 1, the following embodiments of the present disclosure are proposed.
本公开实施例提供了一种数据传输方法。图2为本公开实施例提供的数据传输方法的流程示意图一;如图2所示,所述方法包括:The embodiment of the present disclosure provides a data transmission method. FIG. 2 is a schematic diagram 1 of the flow of a data transmission method provided by an embodiment of the present disclosure; as shown in FIG. 2, the method includes:
步骤101:封装节点向映射节点发送业务流的第一数据包,所述第一数 据包中包括标识信息和业务需求信息;所述标识信息和所述业务需求信息用于所述映射节点建立所述业务流和通信隧道的映射;Step 101: The encapsulation node sends a first data packet of the service flow to the mapping node, where the first data packet includes identification information and service requirement information; the identification information and the service requirement information are used by the mapping node to establish a The mapping between the service flow and the communication tunnel;
步骤102:所述封装节点确定所述映射节点建立所述业务流和通信隧道的映射后,向所述映射节点发送第二数据包,所述第二数据包中包括流标识信息,所述流标识信息是所述标识信息的一部分;所述第二数据包为所述业务流的、所述第一数据包之后的一个数据包。Step 102: After determining that the mapping node establishes the mapping between the service flow and the communication tunnel, the encapsulation node sends a second data packet to the mapping node. The second data packet includes flow identification information, and the flow The identification information is a part of the identification information; the second data packet is a data packet after the first data packet of the service flow.
本实施例中,所述封装节点可以是图1中所示的客户端(具体可以是客户端中的应用程序)或应用感知边缘节点。In this embodiment, the encapsulation node may be the client shown in FIG. 1 (specifically, it may be an application in the client) or an application-aware edge node.
本实施例中,在用户访问客户端的应用程序时,针对本次应用程序的访问,客户端会产生访问数据,产生的访问数据形成多个数据包,针对本次应用程序的访问形成业务流,即业务流包括多个数据包。其中,所述第一数据包可以是针对本次访问的首个数据包或者首些数据包中的一个数据包(即首些数据包中的第一个数据包或多个数据包中的一个数据包)。所述第二数据包为所述第一数据包之后的任一个数据包。In this embodiment, when the user accesses the application of the client, the client will generate access data for this access of the application, and the generated access data forms multiple data packets, which form a business flow for this access of the application. That is, the service flow includes multiple data packets. Wherein, the first data packet may be the first data packet for this visit or one of the first data packets (that is, the first data packet in the first data packets or one of the multiple data packets). data pack). The second data packet is any data packet after the first data packet.
本实施例中,若客户端为封装节点,则客户端将访问数据进行封装,生成包括标识信息和业务需求信息的第一数据包。若应用感知边缘节点为封装节点,则客户端将访问数据发送至应用感知边缘节点,由应用感知边缘节点将访问数据进行封装,生成包括标识信息和业务需求信息的第一数据包。同理,若客户端为封装节点,则客户端将访问数据进行封装,生成包括流标识信息的第二据包。若应用感知边缘节点为封装节点,则客户端将访问数据发送至应用感知边缘节点,由应用感知边缘节点将访问数据进行封装,生成包括流标识信息的第二数据包。In this embodiment, if the client is an encapsulation node, the client encapsulates the access data, and generates a first data packet including identification information and business requirement information. If the application-aware edge node is an encapsulation node, the client sends the access data to the application-aware edge node, and the application-aware edge node encapsulates the access data to generate a first data packet including identification information and service requirement information. Similarly, if the client is an encapsulation node, the client encapsulates the access data, and generates a second data packet including flow identification information. If the application-aware edge node is an encapsulation node, the client sends the access data to the application-aware edge node, and the application-aware edge node encapsulates the access data to generate a second data packet including flow identification information.
其中,所述标识信息可包括:应用标识、用户标识和流标识信息。其中,应用标识用于标识当前访问的应用程序,实际应用中可通过应用程序的标识(例如应用程序的名称或表示该应用程序的识别码)表示;用户标 识用于标识访问应用程序的用户,实际应用中可通过用户在应用程序中的用户名或者客户端标识表示;流标识信息用于表示业务流,不同的业务流对应的流标识信息不同。其中,所述业务需求信息包括带宽、时延、抖动、丢包率中的任一种信息或几种信息的组合。可以理解,业务需求信息表示承载当前业务流的通信隧道的基本要求,例如,通信隧道的带宽需要大于或等于业务需求信息中指示的带宽,通信隧道的时延要小于或等于业务需求信息中指示的时延等等。Wherein, the identification information may include: application identification, user identification, and flow identification information. Among them, the application identifier is used to identify the currently accessed application, and in actual applications, it can be indicated by the application identifier (for example, the name of the application or the identification code representing the application); the user identifier is used to identify the user accessing the application, In actual applications, it can be represented by the user's user name or client identification in the application; the flow identification information is used to indicate the service flow, and the flow identification information corresponding to different service flows is different. Wherein, the service requirement information includes any one of bandwidth, time delay, jitter, and packet loss rate or a combination of several types of information. It can be understood that the service requirement information represents the basic requirements of the communication tunnel carrying the current service flow. For example, the bandwidth of the communication tunnel needs to be greater than or equal to the bandwidth indicated in the service requirement information, and the delay of the communication tunnel must be less than or equal to the bandwidth indicated in the service requirement information. Time delay and so on.
可以理解,流标识信息仅为标识信息中的一种标识,即本实施例中,第一数据包中包含有完整的应用标识、用户标识和流标识信息的标识信息以及业务需求信息,所述第一数据包中的所述标识信息和业务需求信息用于映射节点建立业务流和通信隧道的映射;而后续发送的第二数据包中仅包括流标识信息,映射节点可基于流标识信息确定业务流对应的通信隧道。It is understandable that the flow identification information is only one kind of identification information, that is, in this embodiment, the first data packet contains complete application identification, user identification, identification information of flow identification information, and business requirement information. The identification information and service requirement information in the first data packet are used by the mapping node to establish the mapping of the service flow and the communication tunnel; and the second data packet sent subsequently only includes the flow identification information, and the mapping node can determine based on the flow identification information The communication tunnel corresponding to the service flow.
本实施例中,可选地,所述第二数据包中,可以不包含所述业务需求信息,以及除了所述流标识信息以外的其他标识信息。In this embodiment, optionally, the second data packet may not include the service requirement information and other identification information other than the flow identification information.
相比于相关技术中,封装节点传输给映射节点的每个数据包中均包括标识信息和业务需求信息,本公开实施例通过封装节点传输包含有标识信息和业务需求信息的首个或首些数据包(即第一数据包),使得映射节点能够基于标识信息和业务需求信息建立业务流和通信隧道的映射;再通过封装节点传输仅包含流标识信息的第二数据包,使得映射节点基于已建立的映射将第二数据包通过流标识信息对应的通信隧道进行转发,从而实现了数据包中携带的信息的精简,避免了各数据包中重复传递相同的信息,减少了带宽的浪费。Compared with the related technology, each data packet transmitted by the encapsulation node to the mapping node includes identification information and service requirement information. In the embodiment of the present disclosure, the encapsulation node transmits the first or the first data including identification information and service requirement information. The data packet (that is, the first data packet) enables the mapping node to establish a mapping between the service flow and the communication tunnel based on the identification information and the service requirement information; then the second data packet containing only the flow identification information is transmitted through the encapsulation node, so that the mapping node is based on The established mapping forwards the second data packet through the communication tunnel corresponding to the flow identification information, thereby achieving the simplification of the information carried in the data packet, avoiding repeated transmission of the same information in each data packet, and reducing bandwidth waste.
在本公开的一种可选实施例中,所述封装节点确定所述映射节点建立所述业务流和通信隧道的映射,包括:所述封装节点在发送所述第一数据包时,或发送所述第一数据包后,启动定时器;在所述定时器的定时时间 到时,确定所述映射节点建立所述业务流和通信隧道的映射。In an optional embodiment of the present disclosure, the encapsulation node determining 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 send After the first data packet, a timer is started; when the timing of the timer expires, it is determined that the mapping node establishes the mapping between the service flow and the communication tunnel.
本实施例中,封装节点在发送所述第一数据包时,或发送所述第一数据包后,启动一个定时器,定时器的定时时间到,可确定所述映射节点建立所述业务流和通信隧道的映射。其中,所述定时器的定时时间可基于经验或需求预先配置。示例性的,所述定时器的定时时间例如为3秒。In this embodiment, the encapsulating node starts a timer when sending the first data packet or after sending the first data packet. When the timer expires, it can be determined that the mapping node establishes the service flow. And the mapping of the communication tunnel. Wherein, the timing time of the timer can be pre-configured based on experience or requirements. Exemplarily, the timing time of the timer is 3 seconds, for example.
在本公开的另一种可选实施例中,所述封装节点确定所述映射节点建立所述业务流和通信隧道的映射,包括:所述封装节点接收所述映射节点发送的通知信息,基于所述通知信息确定所述映射节点建立所述业务流和通信隧道的映射。In another optional embodiment of the present disclosure, that the encapsulation node determines that the mapping node establishes the mapping between the service flow and the communication tunnel includes: the encapsulation node receives notification information sent by the mapping node, based on The notification information determines that the mapping node establishes the mapping between the service flow and the communication tunnel.
本实施例中,封装节点在发送所述第一数据包后,映射节点可基于第一数据包中的所述标识信息和所述业务需求信息建立所述业务流和通信隧道的映射,在所述映射建立完成后,映射节点向封装节点发送一个通知信息;封装节点接收到所述通知信息,可确定所述映射节点建立所述业务流和通信隧道的映射。In this embodiment, after the encapsulation node sends the first data packet, the mapping node may establish the 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 establishment of the mapping is completed, the mapping node sends a notification message to the encapsulation node; upon receiving the notification information, the encapsulation node can determine that the mapping node establishes the mapping between the service flow and the communication tunnel.
其中,所述封装节点接收所述映射节点发送的通知信息,包括:所述封装节点通过ICMPv6报文接收所述映射节点发送的通知信息;所述ICMPv6报文中的数据字段中的特定字段用于指示所述通知信息。The receiving, by the encapsulation node, the notification information sent by the mapping node includes: the encapsulation node receives the notification information sent by the mapping node through an ICMPv6 message; the specific field in the data field in the ICMPv6 message is used for To indicate the notification information.
本实施例中,所述通知信息可通过改进的ping6报文实现。其中,ping6报文可参考ICMPv6报文,即通过ICMPv6报文传输所述通知信息。其中,ICMPv6报文的格式可参照图4所示,至少包括图4中所示的类型(Type)字段、编码(Code)字段、校验和(Checksum)字段、标识符(Identifier)字段、序列号(Sequence Number)字段以及数据(Data)字段。本实施例中可通过ICMPv6报文中的数据(Data)字段中的特定字段指示所述通知信息。In this embodiment, the notification information can be implemented through an improved ping6 message. Among them, the ping6 message can refer to the ICMPv6 message, that is, the notification information is transmitted through the ICMPv6 message. Among them, the format of the ICMPv6 message can be referred to as shown in Figure 4, at least including the type (Type) field, code (Code) field, checksum (Checksum) field, identifier (Identifier) field, sequence shown in Figure 4 Number (Sequence Number) field and data (Data) field. In this embodiment, the notification information may be indicated by a specific field in the data (Data) field in the ICMPv6 message.
可选地,可对数据字段中的至少部分字段定义新的数据类型长度值 (TLV,Tag Length Value),例如,定义某个特定比特位,在该特定比特位的取值为特定取值的情况下,可表示该ICMPv6报文中包括所述通知信息。Optionally, a new data type length value (TLV, Tag Length Value) can be defined for at least some of the fields in the data field, for example, a specific bit is defined, where the value of the specific bit is a specific value In this case, it may indicate that the ICMPv6 message includes the notification information.
示例性的,若数据字段如表1所示,例如定义Type=1的一个TLV,内容主要是源地址(SA,Source Address)、目的地址(DA,Destination Address)、Flow ID以及Flags字段,Reserved为保留字段,例如针对Flags字段,定义第一个比特(bit)与通告信息相关,且第一个比特取值为1时用于指示上述通知信息,第一个比特取值为0时表示不包括上述通知信息。Exemplarily, if the data fields are as shown in Table 1, for example, a TLV with Type=1 is defined, and the content is mainly the source address (SA, Source Address), destination address (DA, Destination Address), Flow ID, and Flags fields, Reserved For reserved fields, for example, for the Flags field, define that the first bit (bit) is related to notification information, and when the value of the first bit is 1, it is used to indicate the above notification information, and when the value of the first bit is 0, it means not. Including the above notification information.
表1Table 1
Figure PCTCN2021079788-appb-000001
Figure PCTCN2021079788-appb-000001
在本公开的一些可选实施例中,所述向所述映射节点发送第二数据包,包括:所述封装节点向所述映射节点发送APN格式的第二数据包;所述APN格式的第二数据包的特定字段中包括所述流标识信息。In some optional embodiments of the present disclosure, the sending the second data packet to the mapping node includes: the encapsulating node sends the second data packet in the APN format to the mapping node; and the second data packet in the APN format The specific field of the second data packet includes the flow identification information.
在本公开的一些可选实施例中,所述向所述映射节点发送第二数据包,包括:所述封装节点通过IPv6数据包向所述映射节点发送第二数据包;所述IPv6数据包的特定字段的比特位对应于所述流标识信息。In some optional embodiments of the present disclosure, the sending a second data packet to the mapping node includes: the encapsulating node sends the second data packet to the mapping node through an IPv6 data packet; the IPv6 data packet The bits of the specific field correspond to the stream identification information.
本实施例中,作为一种实施方式,所述封装节点向所述映射节点发送APN格式的第二数据包。作为一种示例,所述封装节点可通过IPv6分段路由(SRv6,Segment Routing IPv6)报文向所述映射节点发送第二数据包。其中,SRv6报文作为IPv6的扩展,是在IPv6的IP扩展头中进行新的扩展,扩展部分称为分段路由头(SRH,Segment Routing Header)。In this embodiment, as an implementation manner, the encapsulating node sends a second data packet in the APN format to the mapping node. As an example, the encapsulation node may send the second data packet to the mapping node through an IPv6 segment routing (SRv6, Segment Routing IPv6) packet. Among them, the SRv6 message, as an extension of IPv6, is a new extension in the IP extension header of IPv6, and the extension is called the Segment Routing Header (SRH, Segment Routing Header).
作为另一种实施方式,所述封装节点通过IPv6数据包向所述映射节点 发送第二数据包。示例性的,IPv6数据包的报头格式可参照下表2所示,则封装节点可通过IPv6数据包中的流标签(Flow Label)字段表示所述流标识信息。可以理解,本实施方式中,所述封装节点可通过向映射节点直接发送IPv6数据包,IPv6数据包中的流标签(Flow Label)字段表示流标识信息,相比于发送APN格式的第二数据包,本实施例能够减少相关封装的开销。As another implementation manner, the encapsulation node sends the second data packet to the mapping node through an IPv6 data packet. Exemplarily, the header format of the IPv6 data packet may refer to Table 2 below, and the encapsulating node may indicate the flow identification information through the flow label (Flow Label) field in the IPv6 data packet. It can be understood that, in this embodiment, the encapsulation node may send an IPv6 data packet directly to the mapping node. The Flow Label field in the IPv6 data packet represents flow identification information, which is compared with sending the second data in the APN format. Packets, this embodiment can reduce the overhead of related encapsulation.
表2Table 2
Figure PCTCN2021079788-appb-000002
Figure PCTCN2021079788-appb-000002
可以理解,本实施例中,封装节点向映射节点发送APN格式的第一数据包。It can be understood that, in this embodiment, the encapsulating node sends the first data packet in the APN format to the mapping node.
基于上述实施例,本公开实施例还提供了一种数据传输方法。图3为本公开实施例提供的数据传输方法的流程示意图二;如图3所示,所述方法包括:Based on the foregoing embodiment, the embodiment of the present disclosure also provides a data transmission method. FIG. 3 is a second schematic diagram of the flow of a data transmission method provided by an embodiment of the present disclosure; as shown in FIG. 3, the method includes:
步骤201:映射节点接收封装节点发送的业务流的第一数据包,所述第一数据包中包括标识信息和业务需求信息;Step 201: The mapping node receives the first data packet of the service flow sent by the encapsulation node, where the first data packet includes identification information and service requirement information;
步骤202:所述映射节点至少基于所述标识信息和业务需求信息建立所述业务流和通信隧道的映射,并通过所述通信隧道转发所述第一数据包;Step 202: The mapping node establishes a mapping between the service flow and the communication tunnel based on at least the identification information and the service requirement information, and forwards the first data packet through the communication tunnel;
步骤203:所述映射节点接收所述封装节点发送的第二数据包,所述第二数据包中包括流标识信息;所述流标识信息是所述标识信息的一部分;所述第二数据包为所述业务流的、所述第一数据包之后的一个数据包;Step 203: The mapping node receives 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 after the first data packet of the service flow;
步骤204:所述映射节点至少基于所述流标识信息和所述映射确定对应的所述通信隧道,通过所述通信隧道转发所述第二数据包。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 data packet through the communication tunnel.
本实施例中,所述映射节点可以是图1中所示的应用感知处理前端。In this embodiment, the mapping node may be the application-aware processing front end shown in FIG. 1.
在本公开的一些可选实施例中,所述映射节点至少基于所述标识信息和业务需求信息建立所述业务流和通信隧道的映射,包括:所述映射节点提取所述标识信息中的所述流标识信息,以及获得所述第一数据包的源节点信息;创建或选择满足所述业务需求信息的通信隧道;建立所述源节点信息、所述流标识信息,与所述通信隧道的映射;所述映射节点至少基于所述流标识信息和所述映射确定对应的所述通信隧道,包括:所述映射节点基于所述映射确定所述流标识信息和所述源节点信息对应的所述通信隧道。In some optional embodiments of the present disclosure, the mapping node that establishes the mapping of the service flow and the communication tunnel based on at least the identification information and the service requirement information includes: the mapping node extracts all of the identification information The flow identification information, and the source node information of the first data packet obtained; create or select a communication tunnel that meets the service requirement information; establish the source node information, the flow identification information, and the communication tunnel Mapping; the mapping node determines the corresponding communication tunnel based on at least the flow identification information and the mapping, including: the mapping node determines all corresponding to the flow identification information and the source node information based on the mapping The communication tunnel.
本实施例中,所述源节点信息具体为所述第一数据包的源地址,或者也可以说,所述源节点信息为封装节点的地址。可以理解,在数据传输过程中,数据中通常携带有源地址和目的地址,源地址用于使接收数据的节点获知该数据是从哪个节点发出的,目的地址用于使数据发送至目的节点。则映射节点接收到第一数据包后,根据第一数据包中的业务需求信息从已创建的通信隧道中找到一个满足所述业务需求信息的通信隧道,或者重新创建一个满足所述业务需求信息的通信隧道,并建立源节点信息、标识信息和通信隧道的映射。其中,所述标识信息可包括:应用标识、用户标识和流标识信息,则映射节点可建立上述三个标识、源节点信息与通信隧道的映射,也可只建立流标识信息、源节点信息与通信隧道的映射。其中,源节点信息作为源节点(即封装节点)的地址,是唯一表示封装节点的标识;流标识信息在源节点(即封装节点)内是唯一的,但是在全网中可能是非唯一的,也即对于网络中的所有流标识,可能具有重复的流标识。基于此,本实施例中,映射节点建立的映射包括源节点信息、流标识信息和 通信通道的映射。In this embodiment, the source node information is specifically the source address of the first data packet, or it can also be said that the source node information is the address of the encapsulating node. It can be understood that during data transmission, the data usually carries an active address and a destination address. The source address is used to let the node receiving the data know which node the data is sent from, and the destination address is used to send the data to the destination node. After receiving the first data packet, the mapping node finds a communication tunnel that meets the business demand information from the created communication tunnels according to the business demand information in the first data packet, or recreates a communication tunnel that meets the business demand information The communication tunnel is established, and the mapping of source node information, identification information and communication tunnel is established. Wherein, the identification information may include: application identification, user identification, and flow identification information, and the mapping node may establish the mapping between the above three identifications, source node information, and communication tunnel, or only flow identification information, source node information, and The mapping of the communication tunnel. Among them, the source node information, as the address of the source node (i.e. encapsulation node), is the unique identification of the encapsulation node; the flow identification information is unique within the source node (i.e. encapsulation node), but may not be unique in the entire network. That is, for all flow identifications in the network, there may be repeated flow identifications. Based on this, in this embodiment, the mapping established by the mapping node includes the mapping of source node information, flow identification information, and communication channel.
相应的,在映射节点接收到第二数据包后,基于第二数据包的源节点信息和所述第二数据包中携带的流标识信息查找所述映射,也即基于第二数据包的源节点(即封装节点)的地址和流标识信息查找所述映射,确定既满足源节点信息又满足流标识信息的通信隧道,基于该通信隧道转发第二数据包。Correspondingly, after the mapping node receives the second data packet, it searches for the mapping based on the source node information of the second data packet and the flow identification information carried in the second data packet, that is, based on the source of the second data packet The address of the node (that is, the encapsulating node) and the flow identification information look up the mapping, determine a communication tunnel that meets both the source node information and the flow identification information, and forward the second data packet based on the communication tunnel.
在本公开的一些可选实施例中,所述映射节点接收所述封装节点发送的第二数据包之前,所述方法还包括:所述映射节点向所述封装节点发送通知信息,所述通知信息用于通知所述封装节点已建立所述业务流和通信隧道的映射;所述通知信息在所述映射节点建立所述业务流和通信隧道的映射后发送。In some optional embodiments of the present disclosure, before the mapping node receives the second data packet sent by the encapsulation node, the method further includes: the mapping node sends notification information to the encapsulation node, the notification The information is used to notify the encapsulation node that the mapping between the service flow and the communication tunnel has been established; the notification information is sent after the mapping node has established the mapping between the service flow and the communication tunnel.
本实施例中,所述映射节点在建立业务流和通信隧道的映射后,可向封装节点发送通知信息,以告知封装节点当前业务流和通信隧道的映射以建立完成。In this embodiment, after the mapping node establishes the mapping between the service flow and the communication tunnel, it may send notification information to the encapsulation node to inform the encapsulation node that the mapping of the current service flow and the communication tunnel is completed.
在本公开的一些可选实施例中,所述映射节点向所述封装节点发送通知信息,包括:所述映射节点通过ICMPv6报文向所述封装节点发送通知信息,所述ICMPv6报文中的数据字段中的特定字段用于指示所述通知信息。In some optional embodiments of the present disclosure, the sending of the notification information by the mapping node to the encapsulation node includes: the mapping node sends the notification information to the encapsulation node through an ICMPv6 message, and in the ICMPv6 message The specific field in the data field is used to indicate the notification information.
本实施例中,所述通知信息可通过改进的ping6报文实现。其中,ping6报文可参考ICMPv6报文,即通过ICMPv6报文传输所述通知信息。其中,ICMPv6报文的格式可参照图4所示,至少包括图4中所示的字段。本实施例中可通过ICMPv6报文中的数据(Data)字段中的特定字段指示所述通知信息。In this embodiment, the notification information can be implemented through an improved ping6 message. Among them, the ping6 message can refer to the ICMPv6 message, that is, the notification information is transmitted through the ICMPv6 message. The format of the ICMPv6 message can be referred to as shown in FIG. 4, and includes at least the fields shown in FIG. 4. In this embodiment, the notification information may be indicated by a specific field in the data (Data) field in the ICMPv6 message.
可选地,可对数据字段中的至少部分字段定义新的数据TLV,例如,定义某个特定比特位,在该特定比特位的取值为特定取值的情况下,可表 示该ICMPv6报文中包括所述通知信息。例如针对数据字段中的Flags字段,定义第一个比特(bit)与通告信息相关,且第一个比特取值为1时用于指示上述通知信息,第一个比特取值为0时表示不包括上述通知信息。Optionally, a new data TLV can be defined for at least some of the fields in the data field, for example, a specific bit is defined, and when the value of the specific bit is a specific value, it can represent the ICMPv6 message Including the notification information. For example, for the Flags field in the data field, it is defined that the first bit (bit) is related to the notification information, and when the value of the first bit is 1, it is used to indicate the above notification information, and when the value of the first bit is 0, it means not. Including the above notification information.
在本公开的一些可选实施例中,所述映射节点接收所述封装节点发送的第二数据包,包括:所述映射节点接收所述封装节点发送的APN格式的第二数据包;所述APN格式的第二数据包的特定字段中包括所述流标识信息。In some optional embodiments of the present disclosure, the receiving, by the mapping node, the second data packet sent by the encapsulation node includes: receiving, by the mapping node, the second data packet in the APN format sent by the encapsulation node; The specific field of the second data packet in the APN format includes the stream identification information.
在本公开的一些可选实施例中,所述映射节点接收所述封装节点发送的第二数据包,包括:所述映射节点通过IPv6数据包接收所述封装节点发送的第二数据包;所述IPv6数据包的特定字段的至少部分比特位对应于所述流标识信息。In some optional embodiments of the present disclosure, the receiving, by the mapping node, the second data packet sent by the encapsulation node includes: the mapping node receives the second data packet sent by the encapsulation node through an IPv6 data packet; At least some bits of the specific field of the IPv6 data packet correspond to the flow identification information.
本实施例中,作为一种实施方式,所述封装节点向所述映射节点发送APN格式的第二数据包。作为一种示例,所述封装节点可通过SRv6报文向所述映射节点发送第二数据包。其中,SRv6报文作为IPv6的扩展,是在IPv6的IP扩展头中进行新的扩展,扩展部分称为SRH。In this embodiment, as an implementation manner, the encapsulating node sends a second data packet in the APN format to the mapping node. As an example, the encapsulation node may send the second data packet to the mapping node through an SRv6 message. Among them, the SRv6 message, as an extension of IPv6, is a new extension in the IP extension header of IPv6, and the extension part is called SRH.
作为另一种实施方式,所述封装节点通过IPv6数据包向所述映射节点发送第二数据包。示例性的,IPv6数据包的报头格式可参照上述表2所示,则封装节点可通过IPv6数据包中的流标签(Flow Label)字段表示所述流标识信息。可以理解,本实施方式中,所述封装节点可通过向映射节点直接发送IPv6数据包,IPv6数据包中的流标签(Flow Label)字段表示流标识信息,相比于发送APN格式的第二数据包,本实施例能够减少相关封装的开销。As another implementation manner, the encapsulation node sends a second data packet to the mapping node through an IPv6 data packet. Exemplarily, the header format of the IPv6 data packet may refer to the above Table 2, and the encapsulating node may indicate the flow identification information through the flow label (Flow Label) field in the IPv6 data packet. It can be understood that, in this embodiment, the encapsulation node may send an IPv6 data packet directly to the mapping node. The Flow Label field in the IPv6 data packet represents flow identification information, which is compared with sending the second data in the APN format. Packets, this embodiment can reduce the overhead of related encapsulation.
采用本公开实施例的技术方案,通过封装节点传输包含有标识信息和业务需求信息的首个或首些数据包(即第一数据包),使得映射节点能够基于标识信息和业务需求信息建立业务流和通信隧道的映射;再通过封装节 点传输仅包含流标识信息的第二数据包,使得映射节点基于已建立的映射将第二数据包通过流标识信息对应的通信隧道进行转发,从而实现了数据包中携带的信息的减少,避免了各数据包中重复传递相同的信息,减少了带宽的浪费。Using the technical solution of the embodiment of the present disclosure, the first or first data packets (ie, the first data packet) containing identification information and service requirement information are transmitted through the encapsulation node, so that the mapping node can establish a service based on the identification information and service requirement information The mapping between the flow and the communication tunnel; the second data packet containing only 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 achieving The reduction of the information carried in the data packet prevents the repeated transmission of the same information in each data packet and reduces the waste of bandwidth.
下面结合具体的示例对本公开实施例进行说明。The following describes the embodiments of the present disclosure in combination with specific examples.
示例一Example one
图5为本公开实施例提供的数据传输方法的交互示意图一;如图5所示,所述方法包括:FIG. 5 is a schematic diagram 1 of interaction of a data transmission method provided by an embodiment of the present disclosure; as shown in FIG. 5, the method includes:
步骤301:封装节点向映射节点发送业务流的第一数据包,所述第一数据包中包括标识信息和业务需求信息。Step 301: The encapsulating node sends a first data packet of the service flow to the mapping node, where the first data packet includes identification information and service requirement information.
这里,封装节点为封装APN格式的数据包的节点,具体可以是图1中所示的客户端(具体可以是客户端中的应用程序)或应用感知边缘节点。其中,所述标识信息可包括:应用标识、用户标识和流标识信息,所述业务需求信息包括带宽、时延、抖动、丢包率中的任一种信息。Here, the encapsulation node is a node that encapsulates the data packet in the APN format, and may specifically be the client shown in FIG. 1 (specifically, it may be an application in the client) or an application-aware edge node. Wherein, the identification information may include: application identification, user identification, and flow identification information, and the service requirement information includes any one of bandwidth, delay, jitter, and packet loss rate.
步骤302:映射节点基于标识信息和业务需求信息建立业务流与通信隧道的映射。Step 302: The mapping node establishes a mapping between the service flow and the communication tunnel based on the identification information and the service requirement information.
这里,映射节点接收到第一数据包后,根据第一数据包中的业务需求信息从已创建的通信隧道中找到一个满足所述业务需求信息的通信隧道,或者重新创建一个满足所述业务需求信息的通信隧道,并建立源节点信息、标识信息和通信隧道的映射。其中,所述标识信息可包括:应用标识、用户标识和流标识信息,则映射节点可建立上述三个标识、源节点信息与通信隧道的映射,也可只建立流标识信息、源节点信息与通信隧道的映射;或者,映射节点也可建立流标识信息、源节点信息、目标节点信息与通信隧道的映射。其中,源节点信息可以是源节点(如封装节点)的地址,目标节点为数据包待传输的目标节点的地址。Here, after receiving the first data packet, the mapping node finds a communication tunnel that meets the business demand information from the created communication tunnels according to the business demand information in the first data packet, or recreates a communication tunnel that meets the business demand information Information communication tunnel, and establish the source node information, identification information and the mapping of the communication tunnel. Wherein, the identification information may include: application identification, user identification, and flow identification information, and the mapping node may establish the mapping between the above three identifications, source node information, and communication tunnel, or only flow identification information, source node information, and The mapping of the communication tunnel; or, the mapping node can also establish the mapping of flow identification information, source node information, target node information, and the communication tunnel. Wherein, the source node information may be the address of the source node (such as the encapsulation node), and the target node is the address of the target node to which the data packet is to be transmitted.
示例性的,所述源节点信息为源节点的地址,以下简称为源地址,目标节点信息为目标节点的地址,以下简称为目的地址,则所述映射可包括源地址、流标识信息与通信隧道标识的映射;或者,所述映射还可以包括源地址、目的地址、流标识信息与通信隧道标识的映射。Exemplarily, the source node information is the address of the source node, hereinafter referred to as the source address, and the target node information is the address of the target node, hereinafter referred to as the destination address. Then the mapping may include the source address, flow identification information, and communication The mapping of the tunnel identifier; or, the mapping may also include the mapping of the source address, the destination address, the flow identification information, and the communication tunnel identifier.
步骤303:封装节点确定映射节点建立业务流与通信隧道的映射,具体可包括以下两种方式实现:Step 303: The encapsulation node determines that the mapping node establishes the mapping between the service flow and the communication tunnel, which can be implemented in the following two ways:
步骤303a:映射节点向封装节点发送通知信息,封装节点接收到该通知信息,可确定映射节点已建立业务流与通信隧道的映射。Step 303a: The mapping node sends notification information to the encapsulation node. Upon receiving the notification information, the encapsulation node can determine that the mapping node has established a mapping between the service flow and the communication tunnel.
步骤303b:封装节点在发送第一数据包时或发出第一数据包后,等待预设时长,可确定映射节点已建立业务流与通信隧道的映射。Step 303b: The encapsulating node waits for a preset period of time when sending the first data packet or after sending the first data packet, and it can be determined that the mapping node has established the mapping between the service flow and the communication tunnel.
这里,封装节点可在发送第一数据包时或发出第一数据包后,启动定时器,在定时器定时时间到时,可确定映射节点已建立业务流与通信隧道的映射。Here, the encapsulating node may start a timer when sending the first data packet or after sending the first data packet, and when the timer expires, it may be determined that the mapping node has established the mapping between the service flow and the communication tunnel.
步骤304:封装节点向映射节点发送APN格式的第二数据包,第二数据包中包括流标识信息。Step 304: The encapsulating node sends a second data packet in the APN format to the mapping node, where the second data packet includes 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 subsequent second data packets sent do not carry service requirement information and other identifiers except flow identification information, and are only in the second data packet. Carry flow identification information; after receiving the second data packet, the mapping node searches for the communication tunnel identification that matches the source node information of the second data packet and the flow identification information according to the established mapping, and passes the second data packet through the matching The communication tunnel corresponding to the communication tunnel identifier is forwarded.
示例二Example two
图6为本公开实施例提供的数据传输方法的交互示意图二;如图6所示,所述方法包括:FIG. 6 is a second schematic diagram of interaction of a data transmission method provided by an embodiment of the disclosure; as shown in FIG. 6, the method includes:
步骤401:封装节点向映射节点发送业务流的第一数据包,所述第一数 据包中包括标识信息和业务需求信息。Step 401: The encapsulating node sends the first data packet of the service flow to the mapping node, where the first data packet includes identification information and service requirement information.
这里,封装节点为封装APN格式的数据包的节点,具体可以是图1中所示的客户端(具体可以是客户端中的应用程序)或应用感知边缘节点。其中,所述标识信息可包括:应用标识、用户标识和流标识信息,所述业务需求信息包括带宽、时延、抖动、丢包率中的任一种信息。Here, the encapsulation node is a node that encapsulates the data packet in the APN format, and may specifically be the client shown in FIG. 1 (specifically, it may be an application in the client) or an application-aware edge node. Wherein, the identification information may include: application identification, user identification, and flow identification information, and the service requirement information includes any one of bandwidth, delay, jitter, and packet loss rate.
步骤402:映射节点基于标识信息和业务需求信息建立业务流与通信隧道的映射。Step 402: The mapping node establishes a mapping between the service flow and the communication tunnel based on the identification information and the service requirement information.
这里,映射节点接收到第一数据包后,根据第一数据包中的业务需求信息从已创建的通信隧道中找到一个满足所述业务需求信息的通信隧道,或者重新创建一个满足所述业务需求信息的通信隧道,并建立源节点信息、标识信息和通信隧道的映射。其中,所述标识信息可包括:应用标识、用户标识和流标识信息,则映射节点可建立上述三个标识、源节点信息与通信隧道的映射,也可只建立流标识信息、源节点信息与通信隧道的映射;或者,映射节点也可建立流标识信息、源节点信息、目标节点信息与通信隧道的映射。其中,源节点信息可以是源节点(如封装节点)的地址,目标节点为数据包待传输的目标节点的地址。Here, after receiving the first data packet, the mapping node finds a communication tunnel that meets the business demand information from the created communication tunnels according to the business demand information in the first data packet, or recreates a communication tunnel that meets the business demand information Information communication tunnel, and establish the source node information, identification information and the mapping of the communication tunnel. Wherein, the identification information may include: application identification, user identification, and flow identification information, and the mapping node may establish the mapping between the above three identifications, source node information, and communication tunnel, or only flow identification information, source node information, and The mapping of the communication tunnel; or, the mapping node can also establish the mapping of flow identification information, source node information, target node information, and the communication tunnel. Wherein, the source node information may be the address of the source node (such as the encapsulation node), and the target node is the address of the target node to which the data packet is to be transmitted.
示例性的,所述源节点信息为源节点的地址,以下简称为源地址,目标节点信息为目标节点的地址,以下简称为目的地址,则所述映射可包括源地址、流标识信息与通信隧道标识的映射;或者,所述映射还可以包括源地址、目的地址、流标识信息与通信隧道标识的映射。Exemplarily, the source node information is the address of the source node, hereinafter referred to as the source address, and the target node information is the address of the target node, hereinafter referred to as the destination address. Then the mapping may include the source address, flow identification information, and communication The mapping of the tunnel identifier; or, the mapping may also include the mapping of the source address, the destination address, the flow identification information, and the communication tunnel identifier.
步骤403:封装节点确定映射节点建立业务流与通信隧道的映射,具体可包括以下两种方式实现:Step 403: The encapsulation node determines that the mapping node establishes the mapping between the service flow and the communication tunnel, which can be implemented in the following two ways:
步骤403a:映射节点向封装节点发送通知信息,封装节点接收到该通知信息,可确定映射节点已建立业务流与通信隧道的映射。Step 403a: The mapping node sends notification information to the encapsulation node. Upon receiving the notification information, the encapsulation node can determine that the mapping node has established a mapping between the service flow and the communication tunnel.
步骤403b:封装节点在发送第一数据包时或发出第一数据包后,等待 预设时长,可确定映射节点已建立业务流与通信隧道的映射。Step 403b: The encapsulating node waits for a preset period of time when sending the first data packet or after sending the first data packet, and it can be determined that the mapping node has established the mapping between the service flow and the communication tunnel.
这里,封装节点可在发送第一数据包时或发出第一数据包后,启动定时器,在定时器定时时间到时,可确定映射节点已建立业务流与通信隧道的映射。Here, the encapsulating node may start a timer when sending the first data packet or after sending the first data packet, and when the timer expires, it may be determined that the mapping node has established the mapping between the service flow and the communication tunnel.
步骤404:封装节点通过IPv6数据包向所述映射节点发送第二数据包;所述IPv6数据包的特定字段的比特位对应于所述流标识信息。Step 404: The encapsulating node sends a second data packet to the mapping node through an IPv6 data packet; the bits of a specific field of the IPv6 data 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 subsequent second data packets sent do not carry service requirement information and other identifiers except flow identification information, and are only in the second data packet. Carry flow identification information; after receiving the second data packet, the mapping node searches for the communication tunnel identification that matches the source node information of the second data packet and the flow identification information according to the established mapping, and passes the second data packet through the matching The communication tunnel corresponding to the communication tunnel identifier is forwarded.
本公开实施例还提供了一种封装节点。图7为本公开实施例的封装节点的组成结构示意图;如图7所示,所述封装节点包括:第一通讯单元51和第一处理单元52;其中,The embodiment of the present disclosure also provides a package node. FIG. 7 is a schematic diagram of the composition structure of an encapsulation node according to an embodiment of the disclosure; as shown in FIG. 7, the encapsulation node includes: a first communication unit 51 and a first processing unit 52; wherein,
所述第一通讯单元51,配置为向映射节点发送业务流的第一数据包,所述第一数据包中包括标识信息和业务需求信息;所述标识信息和所述业务需求信息用于所述映射节点建立所述业务流和通信隧道的映射;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 all The mapping node establishes a mapping between the service flow and the communication tunnel;
所述第一处理单元52,配置为确定所述映射节点是否建立所述业务流和通信隧道的映射;The first processing unit 52 is configured to determine whether the mapping node establishes a mapping between the service flow and the communication tunnel;
所述第一通讯单元51,还配置为所述第一处理单元52确定所述映射节点建立所述业务流和通信隧道的映射后,向所述映射节点发送第二数据包,所述第二数据包中包括流标识信息,所述流标识信息是所述标识信息的一部分;所述第二数据包为所述业务流的、所述第一数据包之后的一个数据包。The first communication unit 51 is further configured to send a second data packet to the mapping node after the first processing unit 52 determines that the mapping node establishes the mapping between the service flow and the communication tunnel, and the second processing unit 52 The 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.
在本公开的一些可选实施例中,所述第一处理单元52,配置为在所述第一通讯单元51发送所述第一数据包时,或发送所述第一数据包后,启动定时器;在所述定时器的定时时间到时,确定所述映射节点建立所述业务流和通信隧道的映射。In some optional embodiments of the present disclosure, the first processing unit 52 is configured to start timing when the first communication unit 51 sends the first data packet, or after sending the first data packet器; When the timer expires, it is determined that the mapping node establishes the mapping of the service flow and the communication tunnel.
在本公开的一些可选实施例中,所述第一处理单元52,配置为通过所述第一通讯单元51接收所述映射节点发送的通知信息,基于所述通知信息确定所述映射节点建立所述业务流和通信隧道的映射。In some optional embodiments of the present disclosure, the first processing unit 52 is configured to receive the notification information sent by the mapping node through the first communication unit 51, and determine that the mapping node is established based on the notification information The mapping between the service flow and the communication tunnel.
在本公开的一些可选实施例中,所述第一处理单元52,配置为通过ICMPv6报文接收所述映射节点发送的通知信息;所述ICMPv6报文中的数据字段中的特定字段用于指示所述通知信息。In some optional embodiments of the present disclosure, the first processing unit 52 is configured to receive the notification information sent by the mapping node through an ICMPv6 message; a specific field in the data field in the ICMPv6 message is used for Indicates the notification information.
在本公开的一些可选实施例中,所述第一通讯单元51,配置为向所述映射节点发送APN格式的第二数据包;所述APN格式的第二数据包的特定字段中包括所述流标识信息。In some optional embodiments of the present disclosure, the first communication unit 51 is configured to send a second data packet in the APN format to the mapping node; the specific field of the second data packet in the APN format includes all The stream identification information.
在本公开的一些可选实施例中,所述第一通讯单元51,配置为通过IPv6数据包向所述映射节点发送第二数据包;所述IPv6数据包的特定字段的比特位对应于所述流标识信息。In some optional embodiments of the present disclosure, the first communication unit 51 is configured to send a second data packet to the mapping node through an IPv6 data packet; the bits of the specific field of the IPv6 data packet correspond to all the bits in the specific field of the IPv6 data packet. The stream identification information.
本公开实施例中,所述封装节点中的第一处理单元52,在实际应用中均可由例如中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Signal Processor)、微控制单元(MCU,Microcontroller Unit)或可编程门阵列(FPGA,Field-Programmable Gate Array)实现;所述封装节点中的第一通讯单元51,在实际应用中可通过通信模组(包含:基础通信套件、操作系统、通信模块、标准化接口和协议等)及收发天线实现。In the embodiment of the present disclosure, the first processing unit 52 in the packaging node can be implemented by, for example, a central processing unit (CPU, Central Processing Unit), a digital signal processor (DSP, Digital Signal Processor), and a micro-controller in practical applications. Unit (MCU, Microcontroller Unit) or Programmable Gate Array (FPGA, Field-Programmable Gate Array) implementation; the first communication unit 51 in the package node can be implemented through a communication module (including: basic communication suite) in practical applications , Operating system, communication module, standardized interface and protocol, etc.) and the realization of the transceiver antenna.
需要说明的是:上述实施例提供的封装节点在进行数据传输时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将封装节点的内部结构划分成不同 的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的封装节点与数据传输方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the encapsulation node provided in the above embodiment performs data transmission, only the division of the above-mentioned program modules is used as an example for illustration. In actual applications, the above-mentioned processing can be allocated by different program modules according to needs, i.e. 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 foregoing embodiment and the data transmission method embodiment belong to the same concept. For the specific implementation process, please refer to the method embodiment, which will not be repeated here.
本公开实施例还提供了一种映射节点。图8为本公开实施例的映射节点的组成结构示意图;如图8所示,第二通讯单元61和第二处理单元62;其中,The embodiment of the present disclosure also provides a mapping node. FIG. 8 is a schematic diagram of the composition structure of a mapping node according to an embodiment of the disclosure; as shown in FIG. 8, a second communication unit 61 and a second processing unit 62; among them,
所述第二通讯单元61,配置为接收封装节点发送的业务流的第一数据包,所述第一数据包中包括标识信息和业务需求信息;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;
所述第二处理单元62,配置为至少基于所述标识信息和业务需求信息建立所述业务流和通信隧道的映射;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;
所述第二通讯单元61,还配置为通过所述通信隧道转发所述第一数据包;还配置为接收所述封装节点发送的第二数据包,所述第二数据包中包括流标识信息;所述流标识信息是所述标识信息的一部分;所述第二数据包为所述业务流的、所述第一数据包之后的一个数据包;The second communication unit 61 is further configured to forward the first data packet through the communication tunnel; and is further configured to receive a second data packet sent by the encapsulation node, the second data packet including flow identification information The flow identification information is a part of the identification information; the second data packet is a data packet after the first data packet of the service flow;
所述第二处理单元62,还配置为至少基于所述流标识信息和所述映射确定对应的所述通信隧道;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;
所述第二通讯单元61,还配置为通过所述通信隧道转发所述第二数据包。The second communication unit 61 is further configured to forward the second data packet through the communication tunnel.
在本公开的一些可选实施例中,所述第二处理单元62,配置为提取所述标识信息中的所述流标识信息,以及获得所述第一数据包的源节点信息;创建或选择满足所述业务需求信息的通信隧道;建立所述源节点信息、所述流标识信息,与所述通信隧道的映射;还配置为基于所述映射确定所述流标识信息和所述源节点信息对应的所述通信隧道。In some optional embodiments of the present disclosure, the second processing unit 62 is configured to extract the flow identification information in the identification information, and obtain the source node information of the first data packet; create or select A communication tunnel that satisfies the service requirement information; establishes the source node information, the flow identification information, and a mapping with the communication tunnel; and is further configured to determine the flow identification information and the source node information based on the mapping The corresponding communication tunnel.
在本公开的一些可选实施例中,所述第二通讯单元61,还配置为接收所述封装节点发送的第二数据包之前,向所述封装节点发送通知信息,所 述通知信息用于通知所述封装节点已建立所述业务流和通信隧道的映射;所述通知信息在所述映射节点建立所述业务流和通信隧道的映射后发送。In some optional embodiments of the present disclosure, 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 for Notifying the encapsulation node that the mapping between the service flow and the communication tunnel has been established; the notification information is sent after the mapping node has established the mapping between the service flow and the communication tunnel.
在本公开的一些可选实施例中,所述第二通讯单元61,配置为通过ICMPv6报文向所述封装节点发送通知信息,所述ICMPv6报文中的数据字段中的特定字段用于指示所述通知信息。In some optional embodiments of the present disclosure, the second communication unit 61 is configured to send notification information to the encapsulation node through an ICMPv6 message, and a specific field in the data field in the ICMPv6 message is used to indicate The notification information.
在本公开的一些可选实施例中,所述第二通讯单元61,配置为接收所述封装节点发送的APN格式的第二数据包;所述APN格式的第二数据包的特定字段中包括所述流标识信息。In some optional embodiments of the present disclosure, the second communication unit 61 is configured to receive a second data packet in the APN format sent by the encapsulation node; the specific field of the second data packet in the APN format includes The stream identification information.
在本公开的一些可选实施例中,所述第二通讯单元61,配置为通过IPv6数据包接收所述封装节点发送的第二数据包;所述IPv6数据包的特定字段的至少部分比特位对应于所述流标识信息。In some optional embodiments of the present disclosure, the second communication unit 61 is configured to receive a second data packet sent by the encapsulation node through an IPv6 data packet; at least some bits of a specific field of the IPv6 data packet Corresponds to the stream identification information.
本公开实施例中,所述映射节点中的第二处理单元62,在实际应用中均可由例如CPU、DSP、MCU或FPGA实现;所述封装节点中的第二通讯单元61,在实际应用中可通过通信模组(包含:基础通信套件、操作系统、通信模块、标准化接口和协议等)及收发天线实现。In the embodiment of the present disclosure, the second processing unit 62 in the mapping node can be implemented by, for example, a CPU, DSP, MCU, or FPGA in practical applications; the second communication unit 61 in the packaging node is in practical applications It can be realized through a communication module (including: basic communication kit, operating system, communication module, standardized interface and protocol, etc.) and a transceiver antenna.
需要说明的是:上述实施例提供的映射节点在进行数据传输时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将映射节点的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的映射节点与数据传输方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the mapping node provided in the above embodiment performs data transmission, only the division of the above-mentioned program modules is used as an example. In actual applications, the above-mentioned processing can be allocated by different program modules according to needs, i.e. The internal structure of the mapping node is divided into different program modules to complete all or part of the processing described above. In addition, the mapping node provided in the foregoing embodiment and the data transmission method embodiment belong to the same concept. For the specific implementation process, please refer to the method embodiment, which will not be repeated here.
本公开实施例还提供了一种节点。图9为本公开实施例的节点的硬件组成结构示意图,如图9所示,节点包括存储器72、处理器71及存储在存储器72上并可在处理器71上运行的计算机程序,所述处理器71执行所述程序时实现本公开实施例所述的应用于封装节点或映射节点中的数据传输 方法的步骤。The embodiment of the present disclosure also provides a node. FIG. 9 is a schematic diagram of the hardware composition structure of the node of the embodiment of the disclosure. As shown in FIG. 9, the node includes a memory 72, a processor 71, and a computer program stored in the memory 72 and running on the processor 71. The processing The device 71 implements the steps of the data transmission method applied to the encapsulation node or the mapping node described in the embodiment of the present disclosure when the program is executed.
可选地,节点中还可包括一个或多个网络接口73。可以理解,节点中的各个组件通过总线系统74耦合在一起。可理解,总线系统74用于实现这些组件之间的连接通信。总线系统74除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图9中将各种总线都标为总线系统74。Optionally, one or more network interfaces 73 may also be included in the node. It can be understood that the various components in the node are coupled together through the bus system 74. It can be understood that the bus system 74 is used to implement connection and communication between these components. In addition to the data bus, the bus system 74 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clear description, various buses are marked as the bus system 74 in FIG. 9.
可以理解,存储器72可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic  Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本公开实施例描述的存储器72旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 72 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read- Only Memory, Electrically Erasable Programmable Read-Only Memory (EEPROM), Ferromagnetic Random Access Memory (FRAM), Flash Memory, Magnetic Surface Memory , CD-ROM, or CD-ROM (Compact Disc Read-Only Memory); magnetic surface memory can be magnetic disk storage or tape storage. The volatile memory may be a random access memory (RAM, Random Access Memory), which is used as an external cache. By way of exemplary but not restrictive description, many forms of RAM are available, such as static random access memory (SRAM, Static Random Access Memory), synchronous static random access memory (SSRAM, Synchronous Static Random Access Memory), and dynamic random access memory. Memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dynamic Random Access Memory), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced Type synchronous dynamic random access memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), synchronous connection dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), direct memory bus random access memory (DRRAM, Direct Rambus Random Access Memory) ). The memory 72 described in the embodiments of the present disclosure is intended to include, but is not limited to, these and any other suitable types of memory.
上述本公开实施例揭示的方法可以应用于处理器71中,或者由处理器71实现。处理器71可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器71中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器71可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器71可以实现或者执行本公开实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本公开实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器72,处理器71读取存储器72中的信息,结合其硬件完成前述方法的步骤。The methods disclosed in the foregoing embodiments of the present disclosure may be applied to the processor 71 or implemented by the processor 71. The processor 71 may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 71 or instructions in the form of software. The aforementioned processor 71 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and the like. The processor 71 may implement or execute various methods, steps, and logical block diagrams disclosed in the embodiments of the present disclosure. The general-purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present disclosure may be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, and the storage medium is located in the memory 72. The processor 71 reads the information in the memory 72 and completes the steps of the foregoing method in combination with its hardware.
在示例性实施例中,节点可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、FPGA、通用处理器、控制器、MCU、微处理器(Microprocessor)、或其他电子元件实现,用于执行前述方法。In an exemplary embodiment, the node may be configured by one or more application specific integrated circuits (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), complex programmable logic device (CPLD, Complex Programmable Logic Device), FPGA, general-purpose processor, controller, MCU, microprocessor (Microprocessor), or other electronic components to implement the foregoing method.
在示例性实施例中,本公开实施例还提供了一种计算机可读存储介质,例如包括计算机程序的存储器72,上述计算机程序可由节点的处理器71执行,以完成前述方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器;也可以是包括上述存储器之一或任意组合的各种设备。In an exemplary embodiment, the embodiment of the present disclosure also provides a computer-readable storage medium, such as a memory 72 including a computer program, which can be executed by the processor 71 of the node to complete the steps described in the foregoing method. The computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM; it may also be various devices including one or any combination of the foregoing memories.
本公开实施例提供的计算机可读存储介质,其上存储有计算机程序, 其中,该程序被处理器执行时实现本公开实施例所述的应用于封装节点或映射节点中的数据传输方法的步骤。The computer-readable storage medium provided by the embodiment of the present disclosure has a computer program stored thereon, wherein the program is executed by a processor to implement the steps of the data transmission method applied to the packaging node or the mapping node in the embodiment of the present disclosure .
本申请所提供的几个方法实施例中所揭露的方法,在不冲突的情况下可以任意组合,得到新的方法实施例。The methods disclosed in the several method embodiments provided in this application can be combined arbitrarily without conflict to obtain new method embodiments.
本申请所提供的几个产品实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的产品实施例。The features disclosed in the several product embodiments provided in this application can be combined arbitrarily without conflict to obtain new product embodiments.
本申请所提供的几个方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。The features disclosed in the several method or device embodiments provided in this application can be combined arbitrarily without conflict to obtain a new method embodiment or device embodiment.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed device and method may be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, such as: multiple units or components can be combined, or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本公开各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, the functional units in the embodiments of the present disclosure can be all integrated into one processing unit, or each unit can be individually used as a unit, or two or more units can be integrated into one unit; The unit can be implemented in the form of hardware, or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机 可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。A person of ordinary skill in the art can understand that all or part of the steps in the above method embodiments can be implemented by a program instructing relevant hardware. The foregoing program can be stored in a computer readable storage medium. When the program is executed, it is executed. Including the steps of the foregoing method embodiment; and the foregoing storage medium includes: various media that can store program codes, such as a mobile storage device, ROM, RAM, magnetic disk, or optical disk.
或者,本公开上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本公开各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the aforementioned integrated unit of the present disclosure is implemented in the form of a software function module and sold or used as an independent product, it may also be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present disclosure can be embodied in the form of a software product in essence or a part that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for A computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the methods described in the various embodiments of the present disclosure. The aforementioned storage media include: removable storage devices, ROM, RAM, magnetic disks, or optical disks and other media that can store program codes.
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present disclosure. It should be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.

Claims (26)

  1. 一种数据传输方法,所述方法包括:A data transmission method, the method includes:
    封装节点向映射节点发送业务流的第一数据包,所述第一数据包中包括标识信息和业务需求信息;所述标识信息和所述业务需求信息用于所述映射节点建立所述业务流和通信隧道的映射;The encapsulation node sends a first data packet of the service flow to the mapping node, where the first data packet includes identification information and service requirement information; the identification information and the service requirement information are used by the mapping node to establish the service flow And the mapping of the communication tunnel;
    所述封装节点确定所述映射节点建立所述业务流和通信隧道的映射后,向所述映射节点发送第二数据包,所述第二数据包中包括流标识信息,所述流标识信息是所述标识信息的一部分;所述第二数据包为所述业务流的、所述第一数据包之后的一个数据包。After determining that the mapping node establishes the mapping between the service flow and the communication tunnel, the encapsulation node sends a second data packet to the mapping node. 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 after the first data packet of the service flow.
  2. 根据权利要求1所述的方法,其中,所述封装节点确定所述映射节点建立所述业务流和通信隧道的映射,包括:The method according to claim 1, wherein the determining by the encapsulation node that the mapping node establishes the mapping between the service flow and the communication tunnel comprises:
    所述封装节点在发送所述第一数据包时,或发送所述第一数据包后,启动定时器;The encapsulation node starts a timer when sending the first data packet or after sending the first data packet;
    在所述定时器的定时时间到时,确定所述映射节点建立所述业务流和通信隧道的映射。When the timing of the timer expires, it is determined that the mapping node establishes the mapping between the service flow and the communication tunnel.
  3. 根据权利要求1所述的方法,其中,所述封装节点确定所述映射节点建立所述业务流和通信隧道的映射,包括:The method according to claim 1, wherein the determining by the encapsulation node that the mapping node establishes the mapping between the service flow and the communication tunnel comprises:
    所述封装节点接收所述映射节点发送的通知信息,基于所述通知信息确定所述映射节点建立所述业务流和通信隧道的映射。The encapsulation node receives the notification information sent by the mapping node, and determines, based on the notification information, that the mapping node establishes the mapping between the service flow and the communication tunnel.
  4. 根据权利要求3所述的方法,其中,所述封装节点接收所述映射节点发送的通知信息,包括:The method according to claim 3, wherein the receiving, by the encapsulating node, the notification information sent by the mapping node comprises:
    所述封装节点通过互联网控制信息协议版本六ICMPv6报文接收所述映射节点发送的通知信息;所述ICMPv6报文中的数据字段中的特定字段用于指示所述通知信息。The encapsulation node receives the notification information sent by the mapping node through an Internet Control Information Protocol version 6 ICMPv6 message; a specific field in the data field in the ICMPv6 message is used to indicate the notification information.
  5. 根据权利要求1至4任一项所述的方法,其中,所述向所述映射节 点发送第二数据包,包括:The method according to any one of claims 1 to 4, wherein the sending a second data packet to the mapping node comprises:
    所述封装节点向所述映射节点发送应用感知网络APN格式的第二数据包;所述APN格式的第二数据包的特定字段中包括所述流标识信息。The encapsulation node sends a second data packet in an application-aware network APN format to the mapping node; a specific field of the second data packet in the APN format includes the flow identification information.
  6. 根据权利要求1至4任一项所述的方法,其中,所述向所述映射节点发送第二数据包,包括:The method according to any one of claims 1 to 4, wherein the sending a second data packet to the mapping node comprises:
    所述封装节点通过互联网协议第6版IPv6数据包向所述映射节点发送第二数据包;所述IPv6数据包的特定字段的比特位对应于所述流标识信息。The encapsulation node sends a second data packet to the mapping node through an Internet Protocol version 6 IPv6 data packet; the bits of the specific field of the IPv6 data packet correspond to the flow identification information.
  7. 一种数据传输方法,所述方法包括:A data transmission method, the method includes:
    映射节点接收封装节点发送的业务流的第一数据包,所述第一数据包中包括标识信息和业务需求信息;The mapping node receives the first data packet of the service flow sent by the encapsulation node, where the first data packet includes identification information and service requirement information;
    所述映射节点至少基于所述标识信息和业务需求信息建立所述业务流和通信隧道的映射,并通过所述通信隧道转发所述第一数据包;The mapping node establishes a mapping between the service flow and the communication tunnel based on at least 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, the second data packet includes flow identification information; the flow identification information is a part of the identification information; the second data packet is the A data packet after the first data packet of the service flow;
    所述映射节点至少基于所述流标识信息和所述映射确定对应的所述通信隧道,通过所述通信隧道转发所述第二数据包。The mapping node determines the corresponding communication tunnel based on at least the flow identification information and the mapping, and forwards the second data packet through the communication tunnel.
  8. 根据权利要求7所述的方法,其中,所述映射节点至少基于所述标识信息和业务需求信息建立所述业务流和通信隧道的映射,包括:The method according to claim 7, wherein the mapping node establishing the mapping of the service flow and the communication tunnel based on at least the identification information and the service requirement information comprises:
    所述映射节点提取所述标识信息中的所述流标识信息,以及获得所述第一数据包的源节点信息;The mapping node extracts the flow identification information in the identification information, and obtains the source node information of the first data packet;
    创建或选择满足所述业务需求信息的通信隧道;Create or select a communication tunnel that meets the business demand information;
    建立所述源节点信息、所述流标识信息,与所述通信隧道的映射;Establishing a mapping between the source node information, the flow identification information, and the communication tunnel;
    所述映射节点至少基于所述流标识信息和所述映射确定对应的所述通信隧道,包括:The determining, by the mapping node, at least the corresponding communication tunnel based on the flow identification information and the mapping includes:
    所述映射节点基于所述映射确定所述流标识信息和所述源节点信息对应的所述通信隧道。The mapping node determines the communication tunnel corresponding to the flow identification information and the source node information based on the mapping.
  9. 根据权利要求7所述的方法,其中,所述映射节点接收所述封装节点发送的第二数据包之前,所述方法还包括:The method according to claim 7, wherein before the mapping node receives the second data packet sent by the encapsulation node, the method further comprises:
    所述映射节点向所述封装节点发送通知信息,所述通知信息用于通知所述封装节点已建立所述业务流和通信隧道的映射;所述通知信息在所述映射节点建立所述业务流和通信隧道的映射后发送。The mapping node sends notification information to 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 has been established; the notification information establishes the service flow at the mapping node After mapping with the communication tunnel, it is sent.
  10. 根据权利要求9所述的方法,其中,所述映射节点向所述封装节点发送通知信息,包括:The method according to claim 9, wherein the sending of notification information by the mapping node to the encapsulation node comprises:
    所述映射节点通过ICMPv6报文向所述封装节点发送通知信息,所述ICMPv6报文中的数据字段中的特定字段用于指示所述通知信息。The mapping node sends notification information to the encapsulation node through an ICMPv6 message, and a specific field in a data field in the ICMPv6 message is used to indicate the notification information.
  11. 根据权利要求7至10任一项所述的方法,其中,所述映射节点接收所述封装节点发送的第二数据包,包括:The method according to any one of claims 7 to 10, wherein the receiving of the second data packet sent by the encapsulating node by the mapping node comprises:
    所述映射节点接收所述封装节点发送的APN格式的第二数据包;所述APN格式的第二数据包的特定字段中包括所述流标识信息。The mapping node receives the second data packet in the APN format sent by the encapsulation node; the specific field of the second data packet in the APN format includes the flow identification information.
  12. 根据权利要求7至10任一项所述的方法,其中,所述映射节点接收所述封装节点发送的第二数据包,包括:The method according to any one of claims 7 to 10, wherein the receiving of the second data packet sent by the encapsulating node by the mapping node comprises:
    所述映射节点通过IPv6数据包接收所述封装节点发送的第二数据包;所述IPv6数据包的特定字段的至少部分比特位对应于所述流标识信息。The mapping node receives the second data packet sent by the encapsulation node through an IPv6 data packet; at least some bits of a specific field of the IPv6 data packet correspond to the flow identification information.
  13. 一种封装节点,所述封装节点包括:第一通讯单元和第一处理单元;其中,An encapsulation node, the encapsulation node includes: a first communication unit and a first processing unit; wherein,
    所述第一通讯单元,配置为向映射节点发送业务流的第一数据包,所述第一数据包中包括标识信息和业务需求信息;所述标识信息和所述业务需求信息用于所述映射节点建立所述业务流和通信隧道的映射;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 in the A mapping node establishes a mapping between the service flow and the communication tunnel;
    所述第一处理单元,配置为确定所述映射节点是否建立所述业务流和 通信隧道的映射;The first processing unit is configured to determine whether the mapping node establishes a mapping between the service flow and the communication tunnel;
    所述第一通讯单元,还配置为所述第一处理单元确定所述映射节点建立所述业务流和通信隧道的映射后,向所述映射节点发送第二数据包,所述第二数据包中包括流标识信息,所述流标识信息是所述标识信息的一部分;所述第二数据包为所述业务流的、所述第一数据包之后的一个数据包。The first communication unit is further configured to send a second data packet to the mapping node after the first processing unit determines that the mapping node establishes the mapping between the service flow and the communication tunnel, and the second data packet The flow identification information is included in the 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. 根据权利要求13所述的封装节点,其中,所述第一处理单元,配置为在所述第一通讯单元发送所述第一数据包时,或发送所述第一数据包后,启动定时器;在所述定时器的定时时间到时,确定所述映射节点建立所述业务流和通信隧道的映射。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 the first data packet is sent ; When the timing of the timer expires, it is determined that the mapping node establishes the mapping of the service flow and the communication tunnel.
  15. 根据权利要求13所述的封装节点,其中,所述第一处理单元,配置为通过所述第一通讯单元接收所述映射节点发送的通知信息,基于所述通知信息确定所述映射节点建立所述业务流和通信隧道的映射。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 based on the notification information that the mapping node establishes the The mapping between the service flow and the communication tunnel is described.
  16. 根据权利要求15所述的封装节点,其中,所述第一处理单元,配置为通过ICMPv6报文接收所述映射节点发送的通知信息;所述ICMPv6报文中的数据字段中的特定字段用于指示所述通知信息。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 in the data field in the ICMPv6 message is used for Indicates the notification information.
  17. 根据权利要求13至16任一项所述的封装节点,其中,所述第一通讯单元,配置为向所述映射节点发送APN格式的第二数据包;所述APN格式的第二数据包的特定字段中包括所述流标识信息。The encapsulation node according to any one of claims 13 to 16, wherein the first communication unit is configured to send a second data packet in APN format to the mapping node; The specific field includes the stream identification information.
  18. 根据权利要求13至16任一项所述的封装节点,其中,所述第一通讯单元,配置为通过IPv6数据包向所述映射节点发送第二数据包;所述IPv6数据包的特定字段的比特位对应于所述流标识信息。The encapsulation node according to any one of claims 13 to 16, wherein the first communication unit is configured to send a second data packet to the mapping node through an IPv6 data packet; The bits correspond to the stream identification information.
  19. 一种映射节点,所述映射节点包括:第二通讯单元和第二处理单元;其中,A mapping node, the mapping node includes: a second communication unit and a second processing unit; wherein,
    所述第二通讯单元,配置为接收封装节点发送的业务流的第一数据包,所述第一数据包中包括标识信息和业务需求信息;The second communication unit 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 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 is further configured to forward the first data packet through the communication tunnel; and further configured to receive a second data packet sent by the encapsulation node, the second data packet including 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. 根据权利要求19所述的映射节点,其中,所述第二处理单元,配置为提取所述标识信息中的所述流标识信息,以及获得所述第一数据包的源节点信息;创建或选择满足所述业务需求信息的通信隧道;建立所述源节点信息、所述流标识信息,与所述通信隧道的映射;还配置为基于所述映射确定所述流标识信息和所述源节点信息对应的所述通信隧道。The mapping node according to claim 19, wherein the second processing unit is configured to extract the flow identification information in the identification information, and obtain the source node information of the first data packet; create or select A communication tunnel that satisfies the service requirement information; establishes the source node information, the flow identification information, and a mapping with the communication tunnel; and is further configured to determine the flow identification information and the source node information based on the mapping The corresponding communication tunnel.
  21. 根据权利要求19所述的映射节点,其中,所述第二通讯单元,还配置为接收所述封装节点发送的第二数据包之前,向所述封装节点发送通知信息,所述通知信息用于通知所述封装节点已建立所述业务流和通信隧道的映射;所述通知信息在所述映射节点建立所述业务流和通信隧道的映射后发送。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 data packet sent by the encapsulation node, and the notification information is used for Notifying the encapsulation node that the mapping between the service flow and the communication tunnel has been established; the notification information is sent after the mapping node has established the mapping between the service flow and the communication tunnel.
  22. 根据权利要求21所述的映射节点,其中,所述第二通讯单元,配置为通过ICMPv6报文向所述封装节点发送通知信息,所述ICMPv6报文中的数据字段中的特定字段用于指示所述通知信息。The mapping node according to claim 21, wherein the second communication unit is configured to send notification information to the encapsulation 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. 根据权利要求19至22任一项所述的映射节点,其中,所述第二通讯单元,配置为接收所述封装节点发送的APN格式的第二数据包;所述APN格式的第二数据包的特定字段中包括所述流标识信息。The mapping node according to any one of claims 19 to 22, wherein the second communication unit is configured to receive a second data packet in the APN format sent by the encapsulation node; the second data packet in the APN format The specific field of includes the stream identification information.
  24. 根据权利要求19至22任一项所述的映射节点,其中,所述第二通讯单元,配置为通过IPv6数据包接收所述封装节点发送的第二数据包;所述IPv6数据包的特定字段的至少部分比特位对应于所述流标识信息。The mapping node according to any one of claims 19 to 22, wherein the second communication unit is configured to receive a second data packet sent by the encapsulation node through an IPv6 data packet; a specific field of the IPv6 data packet At least part of the bits corresponds to the stream identification information.
  25. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现权利要求1至6任一项所述方法的步骤;或者,该程序被处理器执行时实现权利要求7至12任一项所述方法的步骤。A computer-readable storage medium with a computer program stored thereon, which implements the steps of any one of claims 1 to 6 when the program is executed by a processor; or, implements claim 7 when the program is executed by a processor To the steps of any one of the methods described in 12.
  26. 一种节点,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现权利要求1至6任一项所述方法的步骤;或者,所述处理器执行所述程序时实现权利要求7至12任一项所述方法的步骤。A node comprising a memory, a processor, and a computer program stored on the memory and running on the processor, and the processor implements the steps of the method according to any one of claims 1 to 6 when the processor executes the program; or , When the processor executes the program, the steps of the method according to any one of claims 7 to 12 are implemented.
PCT/CN2021/079788 2020-03-09 2021-03-09 Data transmission method, nodes and storage medium WO2021180084A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2021180084A1 true WO2021180084A1 (en) 2021-09-16

Family

ID=77568626

Family Applications (1)

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

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024027419A1 (en) * 2022-07-30 2024-02-08 华为技术有限公司 Packet sending method, apparatus and system

Families Citing this family (1)

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

Citations (3)

* 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
CN105634683A (en) * 2014-10-30 2016-06-01 阿里巴巴集团控股有限公司 Data transmission method and device

Family Cites Families (5)

* 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
CN107770064A (en) * 2016-08-19 2018-03-06 华为技术有限公司 A kind of method of internetwork communication, equipment
CN113556785B (en) * 2017-08-11 2024-10-18 华为技术有限公司 Control method of service quality flow and related equipment
CN110324225B (en) * 2018-03-29 2020-11-17 华为技术有限公司 Method and device for processing message
CN110475384B (en) * 2018-05-11 2021-12-03 华为技术有限公司 Communication method and device

Patent Citations (3)

* 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
CN105634683A (en) * 2014-10-30 2016-06-01 阿里巴巴集团控股有限公司 Data transmission method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024027419A1 (en) * 2022-07-30 2024-02-08 华为技术有限公司 Packet sending method, apparatus and system

Also Published As

Publication number Publication date
CN113381920B (en) 2022-11-22
CN113381920A (en) 2021-09-10

Similar Documents

Publication Publication Date Title
WO2021180077A1 (en) Path establishment method, data transmission method and apparatus, network node, and storage medium
US9325382B2 (en) Method and system of providing internet protocol (IP) data communication in a NFC peer to peer communication environment
WO2021180084A1 (en) Data transmission method, nodes and storage medium
WO2018082592A1 (en) Message processing method and network device
WO2019170114A1 (en) Method for sending packet, network device, and computer-readable storage medium
EP4024782A1 (en) Method by which host network performance requirements may be programmed, device and system
WO2019170083A1 (en) Message processing method, controller, and forwarding device
CN105591982A (en) Message transmission method and device
BR112021012433A2 (en) COMMUNICATION METHOD AND DEVICE, AND STORAGE MEDIA
WO2021088813A1 (en) Packet encapsulating method and apparatus, and packet decapsulating method and apparatus
WO2017162117A1 (en) Accurate speed limiting method and apparatus for cluster
CN107370654B (en) Pseudo wire data message encapsulation and decapsulation methods and related devices
CN112866206A (en) Unidirectional data transmission method and device
WO2024001701A1 (en) Data processing method, apparatus and system
WO2023116355A1 (en) Communication method and apparatus, and related devices and storage medium
CN115604183B (en) Message processing method, device, network equipment and storage medium
CN108934058B (en) Communication method and device
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)
EP1512073B1 (en) Load balancer for multiprocessor platforms
EP3913865A1 (en) Message decapsulation method and device, message encapsulation method and device, electronic device, and storage medium
CN111988154B (en) Method and device for accelerating network transmission and computer readable storage medium
CN111935336A (en) IPv 6-based network management method and system
WO2024094082A1 (en) Information transmission method and apparatus, node, and storage medium
CN113132230A (en) Method, device and computer storage medium for sending message

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21768600

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21768600

Country of ref document: EP

Kind code of ref document: A1