CN113055240B - Message transmission method and device and computer readable storage medium - Google Patents

Message transmission method and device and computer readable storage medium Download PDF

Info

Publication number
CN113055240B
CN113055240B CN201911375763.3A CN201911375763A CN113055240B CN 113055240 B CN113055240 B CN 113055240B CN 201911375763 A CN201911375763 A CN 201911375763A CN 113055240 B CN113055240 B CN 113055240B
Authority
CN
China
Prior art keywords
test message
udp
layer
address
destination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911375763.3A
Other languages
Chinese (zh)
Other versions
CN113055240A (en
Inventor
尹远阳
卢泉
孙嘉琪
李玉娟
杨广铭
邢亮
马培勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201911375763.3A priority Critical patent/CN113055240B/en
Publication of CN113055240A publication Critical patent/CN113055240A/en
Application granted granted Critical
Publication of CN113055240B publication Critical patent/CN113055240B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • 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/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • H04L43/087Jitter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Abstract

The disclosure provides a message transmission method, a system, a device and a computer readable storage medium, and relates to the technical field of communication. The message transmission method comprises the following steps: the core layer equipment carries out IP packaging on the two-way active measurement protocol test message to obtain a UDP test message, and sends the UDP test message to a three-layer virtual Ethernet interface of the convergence layer equipment; the convergence layer equipment carries out address resolution to obtain a target MAC address and a target UDP port, fills the target MAC address and the target UDP port into a UDP test message, and sends the filled UDP test message to the access layer equipment through a two-layer virtual local area network interface; the access layer equipment identifies the UDP test message according to the target MAC address and the target UDP port of the UDP test message, exchanges the address information and the port information of the UDP test message through the base station access port of the access layer equipment, and sends back the UDP test message to determine the end-to-end link index of the two-layer to three-layer service. The method and the device can more accurately and efficiently determine the end-to-end link index of the two-layer to three-layer service.

Description

Message transmission method and device and computer readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for transmitting a packet, and a computer-readable storage medium.
Background
With the 5G network trial deployment, the development of the new 5G technology brings diversified services. At present, customers pay more and more attention to network service performance indexes, and therefore, end-to-end online service measurement is highly concerned by the industry.
For the problem of service end-to-end online measurement, a PW (Pseudowire) + L3VPN (Level 3Virtual Private Network) service mode is adopted in an existing IP Radio Access Network (IP Radio Access Network) bearer Network, and to implement end-to-end service measurement, different technologies need to be combined to implement the end-to-end service measurement. The mode measurement is complex and the measurement result is inaccurate, and multiple protocols need to be maintained in one network, which is not beneficial to the rapid popularization of network simplified operation and service.
Disclosure of Invention
The technical problem solved by the present disclosure is how to more accurately and efficiently determine the end-to-end link indicator of the two-layer to three-layer service.
According to an aspect of the embodiments of the present disclosure, a method for transmitting a packet is provided, including: the core layer equipment performs IP packaging on the TWAMP test message to obtain a UDP test message, and sends the UDP test message to a three-layer virtual Ethernet interface of the convergence layer equipment; the convergence layer equipment carries out address resolution according to a target IP address of the UDP test message to obtain a target MAC address and a target UDP port, fills the target MAC address and the target UDP port into the UDP test message, and sends the filled UDP test message to the access layer equipment through a two-layer virtual local area network interface; the access layer equipment identifies the UDP test message according to the destination MAC address and the destination UDP port of the UDP test message; exchanging a destination MAC address and a source MAC address of the UDP test message, exchanging a destination IP address and a source IP address of the UDP test message, exchanging a destination UDP port and a source UDP port of the UDP test message, and sending the UDP test message back to the core layer device through a base station access port of the access layer device; and the core layer equipment determines the end-to-end link index of the two-layer to three-layer service according to the returned UDP test message.
In some embodiments, the determining, by the core layer device, the end-to-end link indicator of the two-layer to three-layer service according to the returned UDP test packet includes: the core layer equipment exchanges the destination IP address and the source IP address of the UDP test message sent back; the core layer equipment matches the sent UDP test message according to the exchanged destination IP address and source IP address of the sent UDP test message; and the core layer equipment determines the end-to-end time delay, jitter and packet loss rate of the two-layer to three-layer service by using the TWAMP test message in the returned UDP test message and the TWAMP test message in the sent UDP test message.
In some embodiments, the determining, by the core layer device, the end-to-end delay of the two-layer to three-layer service by using the TWAMP test packet in the returned UDP test message and the TWAMP test packet in the sent UDP test message includes: and the core layer equipment determines the end-to-end bidirectional time delay of the two-layer to three-layer service by using the receiving time stamp carried by the TWAMP test message in the sent UDP test message and the sending time stamp carried by the TWAMP test message in the sent UDP test message.
In some embodiments, sending the UDP test message back to the core layer device comprises: the access layer equipment sends the UDP test message to a two-layer virtual local area network interface of the convergence layer equipment; the convergence layer equipment carries out address resolution according to the destination IP address of the UDP test message to obtain a destination MAC address and a destination UDP port, fills the destination MAC address and the destination UDP port into the UDP test message, and sends the filled UDP test message to the core layer equipment through the three-layer virtual Ethernet interface.
In some embodiments, the UDP test packet includes a two-layer protocol header, a multi-protocol label switching protocol header, a destination MAC address, a source MAC address, a destination IP address, a source IP address, a destination UDP port, a source UDP port, and a TWAMP test packet.
According to another aspect of the embodiments of the present disclosure, there is provided a message transmission system, including: a core layer device configured to: performing IP encapsulation on a TWAMP test message of a two-way active measurement protocol to obtain a UDP test message, and sending the UDP test message to a three-layer virtual Ethernet interface of convergence layer equipment; a convergence layer device configured to: performing address resolution according to a target IP address of the UDP test message to obtain a target MAC address and a target UDP port, filling the target MAC address and the target UDP port into the UDP test message, and sending the filled UDP test message to the access layer equipment through a two-layer virtual local area network interface; an access stratum device configured to: identifying the UDP test message according to the destination MAC address and the destination UDP port of the UDP test message; exchanging a destination MAC address and a source MAC address of the UDP test message, exchanging a destination IP address and a source IP address of the UDP test message, exchanging a destination UDP port and a source UDP port of the UDP test message, and sending the UDP test message back to the core layer device through a base station access port of the access layer device; the core layer device is further configured to: and determining the end-to-end link index of the two-layer to three-layer service according to the returned UDP test message.
In some embodiments, the core layer device is configured to: exchanging the destination IP address and the source IP address of the returned UDP test message; matching the sent UDP test message according to the exchanged destination IP address and source IP address of the sent UDP test message; and determining the end-to-end time delay, jitter and packet loss rate of the two-layer to three-layer service by using the TWAMP test message in the returned UDP test message and the TWAMP test message in the sent UDP test message.
In some embodiments, the core layer device is configured to: and determining the end-to-end bidirectional time delay of the two-layer to three-layer service by using the receiving time stamp carried by the TWAMP test message in the sent back UDP test message and the sending time stamp carried by the TWAMP test message in the sent UDP test message.
In some embodiments, the access stratum device is configured to: sending the UDP test message to a two-layer virtual local area network interface of the convergence layer equipment; the convergence layer device is configured to: and performing address resolution according to the destination IP address of the UDP test message to obtain a destination MAC address and a destination UDP port, filling the destination MAC address and the destination UDP port into the UDP test message, and sending the filled UDP test message to the core layer equipment through the three-layer virtual Ethernet interface.
In some embodiments, the UDP test packet includes a two-layer protocol header, a multi-protocol label switching protocol header, a destination MAC address, a source MAC address, a destination IP address, a source IP address, a destination UDP port, a source UDP port, and a TWAMP test packet.
According to another aspect of the embodiments of the present disclosure, there is provided a message transmission apparatus, including: a memory; and a processor coupled to the memory, the processor configured to execute the foregoing message transmission method based on instructions stored in the memory.
According to still another aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, in which computer instructions are stored, and when executed by a processor, the instructions implement the foregoing message transmission method.
The method and the device can more accurately and efficiently determine the end-to-end link index of the two-layer to three-layer service.
Other features of the present disclosure and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and for those skilled in the art, other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic diagram illustrating a conventional measurement method of end-to-end link metrics of two-layer to three-layer services.
Fig. 2 shows a schematic diagram of an improved end-to-end traffic measurement method based on TWAMP.
Fig. 3 illustrates a flow diagram of a message transmission method according to some embodiments of the present disclosure.
Fig. 4 is a schematic structural diagram of a message transmission system according to some embodiments of the present disclosure.
Fig. 5 is a schematic structural diagram of a message transmission apparatus according to some embodiments of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
Fig. 1 is a schematic diagram illustrating a conventional measurement method of end-to-end link metrics of two-layer to three-layer services. As shown in fig. 1, two-layer pseudo wires are deployed between an access layer and a convergence layer of an IPRAN bearer network, and L3VPN deployment is employed above the convergence layer. Traditional end-to-end service measurement adopts different measurement technologies according to a service deployment mode: the mobile bearer service carries out link index measurement on the current network online measurement of a two-layer access section based on Y.1731; the on-line Measurement of the three-layer service segment is based on TWAMP (two-way Active Measurement Protocol) to perform link index Measurement, and TWAMP can meet the end-to-end Measurement requirement of the existing network link, so TWAMP can also be called as a three-layer Measurement technology. After the operation and maintenance personnel obtain the segmented measurement results through two measurement methods realized by different technologies, the Service support system splices the measurement indexes of the segments and outputs an end-to-end SLA (Service Level Agreement) report index.
However, the 5G network needs to have high reliability, and currently, the link indexes finally obtained by the end-to-end service online measurement method implemented by two different technologies can only be spliced according to the segmented measurement result, so that the link indexes finally output are inaccurate, have large errors, are complex in implementation process, and are difficult to maintain various protocols. In order to solve the above problems, the present disclosure provides a packet transmission method, which implements an improved end-to-end service measurement scheme based on TWAMP in an L2+ L3VPN service mode, and a schematic diagram of the scheme is shown in fig. 2, and the scheme can enhance network performance measurement means and simplify the use of measurement technology, thereby providing an end-to-end SLA measurement report for a client.
Some embodiments of the disclosed message transmission method are first described in conjunction with fig. 3.
Fig. 3 illustrates a flow diagram of a message transmission method according to some embodiments of the present disclosure. As shown in fig. 3, the present embodiment includes steps S301 to S304.
In step S301, the core layer device performs IP encapsulation on the TWAMP test packet of the bidirectional active measurement protocol to obtain a UDP test packet, and sends the UDP test packet to the three-layer virtual ethernet interface of the convergence layer device.
In an MPLS (Multi protocol Label Switching) forwarding network, L3 layer (core layer) devices serve as transmitting terminals, and PDU padding of TWAMP test packets is performed according to a packet field rule defined in a TWAMP protocol. Table 1 shows a schematic structural diagram of a UDP test packet. The UDP test message comprises a two-layer protocol header, a multi-protocol label switching protocol header, a destination MAC address, a source MAC address, a destination IP address, a source IP address, a destination UDP port, a source UDP port and a TWAMP test message. When three-layer forwarding is performed between the core layer device and the convergence layer device, the fields of the destination MAC address, the source MAC address, the destination UDP port, and the source UDP port in the newly defined UDP test message are not required to be filled, and are directly IP-encapsulated and forwarded to the L3VE interface of the convergence layer device (bridge device).
TABLE 1
Figure BDA0002340919050000061
In step S302, the convergence layer device performs address resolution according to the destination IP address of the UDP test packet to obtain a destination MAC address and a destination UDP port, fills the destination MAC address and the destination UDP port into the UDP test packet, and sends the filled UDP test packet to the access layer device through the two-layer virtual local area network interface.
The convergence layer device performs ARP (Address Resolution Protocol) Resolution according to a target IP Address (i.e., an IP Address of a base station), searches for an MAC Address and a target UDP port of a two-layer VLAN interface in a network, correspondingly fills a UDP test packet to perform packet repackaging, and forwards the repackaged packet to the access layer device through a two-layer channel from the convergence layer device to the access layer device.
In step S303, the access stratum device identifies the UDP test packet according to the destination MAC address and the destination UDP port of the UDP test packet; exchanging the destination MAC address and the source MAC address of the UDP test message, exchanging the destination IP address and the source IP address of the UDP test message, exchanging the destination UDP port and the source UDP port of the UDP test message and sending the UDP test message back to the core layer device through the base station access port of the access layer device.
After the UDP test packet reaches the access layer device, the access layer device identifies that the UDP test packet is a test stream according to the destination MAC address and the destination UDP port number, and needs to send the UDP test packet back to the core layer device along the original path of the service. When the access layer device sends the UDP test message back to the core layer device, the access layer device may send the UDP test message to the two-layer vlan interface of the convergence layer device, perform address resolution by the convergence layer device according to the destination IP address of the UDP test message to obtain the destination MAC address and the destination UDP port, fill the destination MAC address and the destination UDP port into the UDP test message, and send the filled UDP test message to the core layer device through the three-layer vlan interface.
In step S304, the core layer device determines an end-to-end link indicator of the two-layer to three-layer service according to the returned UDP test packet.
For example, the core layer device may determine the end-to-end bidirectional link delay of the two-layer to three-layer service according to the receiving timestamp of the returned UDP test packet.
In this embodiment, link index measurement of the access segment of the two-layer virtual private network is implemented by improving a TWAMP-based link index measurement technology of the three-layer virtual private network, so that link index measurement technologies applied to the two-layer virtual private network and the three-layer virtual private network are unified, the link index measurement technologies between the two-layer virtual private network and the three-layer virtual private network are seamlessly connected, and end-to-end link index online measurement of services from the two layer to the three layer of the bearer network is implemented. The embodiment reduces the alternate use of different measurement technologies, thereby simplifying the network deployment and maintenance work; due to the fact that segmented measurement and measurement result splicing are not needed, the end-to-end link index of the two-layer to three-layer service can be determined more accurately and efficiently.
The following describes how to determine the end-to-end link metrics for layer two to three services. The present embodiment includes steps S3041 to S3043.
In step S3041, the core layer device exchanges the destination IP address and the source IP address of the UDP test packet sent back.
In step S3042, the core layer device matches the sent UDP test packet according to the exchanged destination IP address and source IP address of the sent back UDP test packet;
in step S3043, the core layer device determines an end-to-end delay, jitter, and packet loss rate of the two-layer to three-layer service by using the TWAMP test message in the returned UDP test message and the TWAMP test message in the UDP test message.
For example, the core layer device may determine the end-to-end bidirectional delay of the two-layer to three-layer service by using the receiving timestamp carried in the TWAMP test message in the returned UDP test message and the sending timestamp carried in the TWAMP test message in the sent UDP test message. Those skilled in the art should understand that, according to the TWAMP test packet in the returned UDP test packet, the measurement of jitter and packet loss rate may also be implemented based on the TWAMP protocol.
Some embodiments of the disclosed messaging system are described below in conjunction with fig. 4.
Fig. 4 is a schematic structural diagram of a message transmission system according to some embodiments of the present disclosure. As shown in fig. 4, the message transmission system 40 in this embodiment includes: a core layer device 401 configured to: performing IP encapsulation on a TWAMP test message of a two-way active measurement protocol to obtain a UDP test message, and sending the UDP test message to a three-layer virtual Ethernet interface of convergence layer equipment; a convergence layer device 402 configured to: performing address resolution according to a target IP address of the UDP test message to obtain a target MAC address and a target UDP port, filling the target MAC address and the target UDP port into the UDP test message, and sending the filled UDP test message to the access layer equipment through a two-layer virtual local area network interface; an access stratum device 403 configured to: identifying the UDP test message according to the target MAC address and the target UDP port of the UDP test message; exchanging a target MAC address and a source MAC address of the UDP test message, exchanging a target IP address and a source IP address of the UDP test message, exchanging a target UDP port and a source UDP port of the UDP test message and sending the UDP test message back to the core layer device through a base station access port of the access layer device; the core layer device 403 is also configured to: and determining the end-to-end link index of the two-layer to three-layer service according to the returned UDP test message.
In some embodiments, core layer device 403 is configured to: exchanging the destination IP address and the source IP address of the returned UDP test message; matching the sent UDP test message according to the exchanged destination IP address and source IP address of the sent UDP test message; and determining the end-to-end time delay, jitter and packet loss rate of the two-layer to three-layer service by using the TWAMP test message in the returned UDP test message and the TWAMP test message in the sent UDP test message.
In some embodiments, core layer device 403 is configured to: and determining the end-to-end bidirectional time delay of the two-layer to three-layer service by using the receiving time stamp carried by the TWAMP test message in the sent back UDP test message and the sending time stamp carried by the TWAMP test message in the sent UDP test message.
In some embodiments, the access stratum device 403 is configured to: sending the UDP test message to a two-layer virtual local area network interface of the convergence layer equipment; the convergence layer device is configured to: and performing address resolution according to the destination IP address of the UDP test message to obtain a destination MAC address and a destination UDP port, filling the destination MAC address and the destination UDP port into the UDP test message, and sending the filled UDP test message to the core layer equipment through the three-layer virtual Ethernet interface.
In some embodiments, the UDP test packet includes a two-layer protocol header, a multi-protocol label switching protocol header, a destination MAC address, a source MAC address, a destination IP address, a source IP address, a destination UDP port, a source UDP port, and a TWAMP test packet.
Some embodiments of the disclosed message transmission apparatus are described below in conjunction with fig. 5.
Fig. 5 is a schematic structural diagram of a message transmission apparatus according to some embodiments of the present disclosure. As shown in fig. 5, the message transmission apparatus 50 of this embodiment includes: a memory 510 and a processor 520 coupled to the memory 510, the processor 520 configured to perform the message transmission method of any of the foregoing embodiments based on instructions stored in the memory 510.
Memory 510 may include, for example, system memory, fixed non-volatile storage media, and the like. The system memory stores, for example, an operating system, an application program, a Boot Loader (Boot Loader), and other programs.
The message transmitting device 50 may also include an input-output interface 530, a network interface 540, a storage interface 550, and the like. These interfaces 530, 540, 550 and the connections between the memory 510 and the processor 520 may be, for example, via a bus 560. The input/output interface 530 provides a connection interface for input/output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 540 provides a connection interface for various networking devices. The storage interface 550 provides a connection interface for external storage devices such as an SD card and a usb disk.
The present disclosure also includes a computer-readable storage medium having stored thereon computer instructions that, when executed by a processor, implement the message transmission method of any of the foregoing embodiments.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only exemplary of the present disclosure and is not intended to limit the present disclosure, so that any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (12)

1. A message transmission method comprises the following steps:
the core layer equipment performs IP packaging on the TWAMP test message to obtain a UDP test message, and sends the UDP test message to a three-layer virtual Ethernet interface of the convergence layer equipment, wherein when the IP packaging is performed to obtain the UDP test message, a destination MAC address, a source MAC address, a destination UDP port and a source UDP port field in the UDP test message are not filled;
the convergence layer equipment carries out address resolution according to a target IP address of the UDP test message to obtain a target MAC address and a target UDP port, fills the target MAC address and the target UDP port into the UDP test message, and sends the filled UDP test message to the access layer equipment through a two-layer virtual local area network interface;
the access layer equipment identifies the UDP test message according to the destination MAC address and the destination UDP port of the UDP test message; exchanging a destination MAC address and a source MAC address of the UDP test message, exchanging a destination IP address and a source IP address of the UDP test message, exchanging a destination UDP port and a source UDP port of the UDP test message, and sending the UDP test message back to the core layer device through a base station access port of the access layer device;
and the core layer equipment determines the end-to-end link index of the two-layer to three-layer service according to the returned UDP test message.
2. The message transmission method according to claim 1, wherein the core layer device determining an end-to-end link indicator of the two-layer to three-layer service according to the returned UDP test message comprises:
the core layer equipment exchanges the destination IP address and the source IP address of the UDP test message sent back;
the core layer equipment matches the sent UDP test message according to the exchanged destination IP address and source IP address of the sent UDP test message;
and the core layer equipment determines the end-to-end time delay, jitter and packet loss rate of the two-layer to three-layer service by using the TWAMP test message in the returned UDP test message and the TWAMP test message in the sent UDP test message.
3. The message transmission method according to claim 2, wherein the determining, by the core layer device, the end-to-end delay of the two-layer to three-layer service by using the TWAMP test message in the returned UDP test message and the TWAMP test message in the sent UDP test message comprises:
and the core layer equipment determines the end-to-end bidirectional time delay of the two-layer to three-layer service by using the receiving time stamp carried by the TWAMP test message in the sent UDP test message and the sending time stamp carried by the TWAMP test message in the sent UDP test message.
4. The message transmission method of claim 2, wherein the sending the UDP test message back to the core layer device comprises:
the access layer equipment sends the UDP test message to a two-layer virtual local area network interface of the convergence layer equipment;
the convergence layer equipment carries out address resolution according to the destination IP address of the UDP test message to obtain a destination MAC address and a destination UDP port, fills the destination MAC address and the destination UDP port into the UDP test message, and sends the filled UDP test message to the core layer equipment through the three-layer virtual Ethernet interface.
5. The message transmission method according to any of claims 1 to 4, wherein the UDP test message includes a two-layer protocol header, a multi-protocol label switching protocol header, a destination MAC address, a source MAC address, a destination IP address, a source IP address, a destination UDP port, a source UDP port, and a TWAMP test message.
6. A message transmission system comprising:
a core layer device configured to: performing IP packaging on a TWAMP test message of a two-way active measurement protocol to obtain a UDP test message, and sending the UDP test message to a three-layer virtual Ethernet interface of convergence layer equipment, wherein a target MAC address, a source MAC address, a target UDP port and a source UDP port field in the UDP test message are not filled when the core layer equipment performs the IP packaging to obtain the UDP test message;
a convergence layer device configured to: performing address resolution according to a target IP address of the UDP test message to obtain a target MAC address and a target UDP port, filling the target MAC address and the target UDP port into the UDP test message, and sending the filled UDP test message to the access layer equipment through a two-layer virtual local area network interface;
an access stratum device configured to: identifying the UDP test message according to the destination MAC address and the destination UDP port of the UDP test message; exchanging a destination MAC address and a source MAC address of the UDP test message, exchanging a destination IP address and a source IP address of the UDP test message, exchanging a destination UDP port and a source UDP port of the UDP test message, and sending the UDP test message back to the core layer device through a base station access port of the access layer device;
the core layer device is further configured to: and determining the end-to-end link index of the two-layer to three-layer service according to the returned UDP test message.
7. The messaging system of claim 6, wherein the core layer device is configured to:
exchanging the destination IP address and the source IP address of the returned UDP test message;
matching the sent UDP test message according to the exchanged destination IP address and source IP address of the sent UDP test message;
and determining the end-to-end time delay, jitter and packet loss rate of the two-layer to three-layer service by using the TWAMP test message in the returned UDP test message and the TWAMP test message in the sent UDP test message.
8. The messaging system of claim 7, wherein the core layer device is configured to:
and determining the end-to-end bidirectional time delay of the two-layer to three-layer service by using the receiving time stamp carried by the TWAMP test message in the sent back UDP test message and the sending time stamp carried by the TWAMP test message in the sent UDP test message.
9. The messaging system of claim 7, wherein,
the access stratum device is configured to: sending the UDP test message to a two-layer virtual local area network interface of the convergence layer equipment;
the convergence layer device is configured to: and performing address resolution according to the destination IP address of the UDP test message to obtain a destination MAC address and a destination UDP port, filling the destination MAC address and the destination UDP port into the UDP test message, and sending the filled UDP test message to the core layer equipment through the three-layer virtual Ethernet interface.
10. The messaging system of any of claims 6 to 9, wherein the UDP test message includes a layer two protocol header, a multi-protocol label switching protocol header, a destination MAC address, a source MAC address, a destination IP address, a source IP address, a destination UDP port, a source UDP port, and a TWAMP test message.
11. A message transmission apparatus, comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the message transmission method of any of claims 1-5 based on instructions stored in the memory.
12. A computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions which, when executed by a processor, implement the message transmission method according to any one of claims 1 to 5.
CN201911375763.3A 2019-12-27 2019-12-27 Message transmission method and device and computer readable storage medium Active CN113055240B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911375763.3A CN113055240B (en) 2019-12-27 2019-12-27 Message transmission method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911375763.3A CN113055240B (en) 2019-12-27 2019-12-27 Message transmission method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113055240A CN113055240A (en) 2021-06-29
CN113055240B true CN113055240B (en) 2022-07-05

Family

ID=76506170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911375763.3A Active CN113055240B (en) 2019-12-27 2019-12-27 Message transmission method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113055240B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348726A (en) * 2013-08-02 2015-02-11 杭州华三通信技术有限公司 Message forwarding method and device
CN107465565A (en) * 2016-06-06 2017-12-12 中兴通讯股份有限公司 Link test method and apparatus and system
CN110557316A (en) * 2018-05-30 2019-12-10 中国电信股份有限公司 Message transmission method, system, device and computer readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8711708B2 (en) * 2012-07-24 2014-04-29 Accedian Networks Inc. Automatic setup of reflector instances
US9960982B2 (en) * 2012-07-24 2018-05-01 Accedian Networks Inc. Multi-hop reflector sessions

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348726A (en) * 2013-08-02 2015-02-11 杭州华三通信技术有限公司 Message forwarding method and device
CN107465565A (en) * 2016-06-06 2017-12-12 中兴通讯股份有限公司 Link test method and apparatus and system
CN110557316A (en) * 2018-05-30 2019-12-10 中国电信股份有限公司 Message transmission method, system, device and computer readable storage medium

Also Published As

Publication number Publication date
CN113055240A (en) 2021-06-29

Similar Documents

Publication Publication Date Title
US7948900B2 (en) Method and system for verifying connectivity of multi-segment pseudo-wires
US7782847B2 (en) Method and system for verifying connectivity of multi-segment pseudo-wires by tracing
US10243827B2 (en) Techniques to use a network service header to monitor quality of service
JP5242591B2 (en) Ethernet (registered trademark) / TMPLS hybrid network OAM frame creation method and corresponding signal
CN108964943B (en) Method and device for realizing IOAM packaging
EP2314022B1 (en) Establishing pseudowires in packet switching networks
CN105024985A (en) Message processing method and apparatus
CN106685903B (en) SDN-based data transmission method, SDN controller and SDN system
US20220078106A1 (en) Packet Measurement Method, Device, and System
CN103580894A (en) Method, device and system for operation, administration and maintenance (OAM) configuration
CN105591834A (en) Traffic monitoring method and device in VXLAN
CN106941437A (en) A kind of information transferring method and device
CN113055293B (en) Routing method and device in software defined wide area network and communication system
CN110381071B (en) Message transmission method and device and sender equipment
CN111614538A (en) Message forwarding method based on IPsec encapsulation protocol
CN109218176B (en) Message processing method and device
US20230318970A1 (en) Packet Processing Method and Apparatus
CN113055240B (en) Message transmission method and device and computer readable storage medium
CN114826973A (en) Transmission quality detection method, device and system
CN112532468B (en) Network measurement system, method, device and storage medium
CN111490907B (en) Method and device for determining VXLAN network performance parameters
WO2023116457A1 (en) Packet processing method and apparatus, and communication system
CN104579942A (en) Network message forwarding method and device
CN115865845A (en) Method for realizing cross-Region virtual network communication based on SegmentRouting
CN104219068A (en) Method of channel fault notification and network equipment

Legal Events

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