CN106921641B - Method and device for transmitting message - Google Patents

Method and device for transmitting message Download PDF

Info

Publication number
CN106921641B
CN106921641B CN201511004657.6A CN201511004657A CN106921641B CN 106921641 B CN106921641 B CN 106921641B CN 201511004657 A CN201511004657 A CN 201511004657A CN 106921641 B CN106921641 B CN 106921641B
Authority
CN
China
Prior art keywords
node
network
packet
communication protocol
message
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
CN201511004657.6A
Other languages
Chinese (zh)
Other versions
CN106921641A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201511004657.6A priority Critical patent/CN106921641B/en
Publication of CN106921641A publication Critical patent/CN106921641A/en
Application granted granted Critical
Publication of CN106921641B publication Critical patent/CN106921641B/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
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1605Fixed allocated frame structures
    • H04J3/1611Synchronous digital hierarchy [SDH] or SONET
    • H04J3/1617Synchronous digital hierarchy [SDH] or SONET carrying packets or ATM cells

Abstract

The invention discloses a method and a device for transmitting a message, which can reduce the burden of an interface node. The method is applied to a communication system comprising a first network and a second network, wherein the first network comprises a first node and a second node, the second network comprises a third node and a fourth node, the first node and the second node transmit messages based on a first communication protocol, and the third node and the fourth node transmit messages based on a second communication protocol, and the method comprises the following steps: the first node acquires target service data to be transmitted to the second network, wherein the first node is an access node of the target service data; the first node performs encapsulation processing on the target service data according to the second communication protocol to generate a first message; the first node carries out encapsulation processing on the first message according to the first communication protocol to generate a second message; the first node sends the second message to the second node.

Description

Method and device for transmitting message
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for transmitting a packet.
Background
With the development of Network technology, Synchronous Digital Hierarchy (SDH) networks are gradually replaced by Packet Switched Networks (PSNs), and in the process of evolution of such new and old networks, a large amount of service data needs to be transmitted through the SDH networks and the PSNs at the same time, which requires the interfacing of the SDH networks and the PSNs to complete transmission of the service data together. In the process of docking, the service data which needs to be transmitted to the SDH network in the entire PSN is transmitted to the interface nodes of the PSN and SDH network, and after the service data is recovered by the interface nodes, the processing processes of mapping, multiplexing and the like of the service data are completed according to the communication protocol of the SDH network, and then the service data can be transmitted to the SDH network.
However, many cross-network service data accessed by the PSN are gathered to the interface node of the PSN for processing, which brings a great burden to the interface node.
Disclosure of Invention
The embodiment of the invention provides a method and a device for transmitting a message, which are used for reducing the burden of an interface node.
In a first aspect, a method for transmitting a packet is provided, where the method is applied to a communication system including a first network and a second network, the first network includes a first node and a second node, the second network includes a third node and a fourth node, where the first node transmits the packet based on a first communication protocol with the second node, the third node transmits the packet based on a second communication protocol with the fourth node, and the second node is communicatively connected to the third node, and the method includes: the first node acquires target service data to be transmitted to the second network, wherein the first node is an access node of the target service data; the first node performs encapsulation processing on the target service data according to the second communication protocol to generate a first message; the first node carries out encapsulation processing on the first message according to the first communication protocol to generate a second message; the first node sends the second message to the second node.
With reference to the first aspect, in a first implementation manner of the first aspect, the target service data includes a service clock.
With reference to the first aspect, in a second implementation manner of the first aspect, the first network is a packet switched network PSN, and the second network is a synchronous digital hierarchy SDH network.
With reference to the first aspect, in a third implementation manner of the first aspect, the first packet is a virtual container, and the second packet is a pseudo-wire packet.
In a second aspect, a method for transmitting a packet is provided, where the method is applied to a communication system including a first network and a second network, the first network includes a first node and a second node, the second network includes a third node and a fourth node, where the first node transmits the packet based on a first communication protocol with the second node, the third node transmits the packet based on a second communication protocol with the fourth node, and the second node is communicatively connected with the third node, and the method includes: the second node receives a first message sent by the first node, wherein the first message is obtained by encapsulating a second message generated by encapsulating target service data needing to be transmitted to the second network by the first node according to the second communication protocol, and then encapsulating the second message according to the first communication protocol, and the first node is an access node of the target service data; the second node de-encapsulates the first message according to the first communication protocol to obtain a second message; the second node sends the second message to the third node.
With reference to the second aspect, in a first implementation manner of the second aspect, the target service data includes a service clock.
With reference to the second aspect, in a second implementation manner of the second aspect, the first network is a PSN, and the second network is an SDH network.
With reference to the second aspect, in a third implementation manner of the second aspect, the first packet is a pseudo-wire packet, and the second packet is a virtual container.
In a third aspect, a method for transmitting a packet is provided, where the method is applied to a communication system including a first network and a second network, the first network includes a first node and a second node, the second network includes a third node and a fourth node, where the first node and the second node transmit the packet based on a first communication protocol, the third node and the fourth node transmit the packet based on a second communication protocol, and the second node and the third node are communicatively connected, and the method includes: the first node receives a first message sent by the second node, wherein the first message is obtained by the second node performing encapsulation processing on a second message according to the first communication protocol, and the second message is obtained by the second network performing encapsulation processing on target service data to be transmitted to the first network according to the second communication protocol; the first node de-encapsulates the first message according to the first communication protocol to obtain the second message; and the first node de-encapsulates the second message according to the second communication protocol to obtain the target service data.
With reference to the third aspect, in a first implementation manner of the third aspect, the target service data includes a service clock.
With reference to the third aspect, in a second implementation manner of the third aspect, the first network is a PSN, and the second network is an SDH network.
With reference to the third aspect, in a third implementation manner of the third aspect, the first packet is a pseudo-wire packet, and the second packet is a virtual container.
In a fourth aspect, a method for transmitting a packet is provided, where the method is applied to a communication system including a first network and a second network, the first network includes a first node and a second node, the second network includes a third node and a fourth node, where the first node transmits the packet based on a first communication protocol with the second node, the third node transmits the packet based on a second communication protocol with the fourth node, and the second node is communicatively connected to the third node, and the method includes: the second node receives a first message sent by the third node, wherein the first message is obtained by the second network by packaging and processing target service data needing to be transmitted to the first network according to the second communication protocol; the second node carries out encapsulation processing on the first message according to the first communication protocol so as to generate a second message; the second node sends the second message to the first node.
With reference to the fourth aspect, in a first implementation manner of the fourth aspect, the target service data includes a service clock.
With reference to the fourth aspect, in a second implementation manner of the fourth aspect, the first network is a PSN, and the second network is an SDH network.
With reference to the fourth aspect, in a third implementation manner of the fourth aspect, the first packet is a virtual container, and the second packet is a pseudo-wire packet.
In a fifth aspect, an apparatus for transmitting a packet is provided, where the apparatus is configured in a first network of a communication system, the first network includes the apparatus and a second node, the communication system further includes a second network, the second network includes a third node and a fourth node, where the apparatus and the second node transmit the packet based on a first communication protocol, the third node and the fourth node transmit the packet based on a second communication protocol, and the second node is communicatively connected to the third node, and the apparatus includes: an obtaining unit, configured to obtain target service data that needs to be transmitted to the second network; the processing unit is used for encapsulating the target service data acquired by the acquisition unit according to a second communication protocol to generate a first message; the processing unit is further configured to perform encapsulation processing on the first packet according to a first communication protocol to generate a second packet; and the sending unit is used for sending the second message generated by the processing unit to the second node.
With reference to the fifth aspect, in a first implementation manner of the fifth aspect, the target service data includes a service clock.
With reference to the fifth aspect, in a second implementation manner of the fifth aspect, the first network is a PSN, and the second network is an SDH network.
With reference to the fifth aspect, in a third implementation manner of the fifth aspect, the first packet is a virtual container, and the second packet is a pseudo-wire packet.
In a sixth aspect, an apparatus for transmitting a packet is provided, where the apparatus is configured in a first network of a communication system, the first network includes a first node and the apparatus, the communication system further includes a second network, the second network includes a third node and a fourth node, where the first node and the apparatus transmit a packet based on a first communication protocol, the third node and the fourth node transmit a packet based on a second communication protocol, and the apparatus is communicatively connected to the third node, and the apparatus includes: a receiving unit, configured to receive a first packet sent by a first node in the first network, where the first packet is obtained by performing encapsulation processing on target service data that needs to be transmitted to the second network by the first node according to the second communication protocol to obtain a second packet, and then performing encapsulation processing on the second packet according to the first communication protocol, where the first node is an access node of the target service data; the processing unit is used for performing de-encapsulation processing on the first message received by the receiving unit to obtain the second message; and the sending unit is used for sending the second message acquired by the processing unit to the third node.
With reference to the sixth aspect, in a first implementation manner of the sixth aspect, the target service data includes a service clock.
With reference to the sixth aspect, in a second implementation manner of the sixth aspect, the first network is a PSN, and the second network is an SDH network.
With reference to the sixth aspect, in a third implementation manner of the sixth aspect, the first packet is a pseudo-wire packet, and the second packet is a virtual container.
In a seventh aspect, an apparatus for transmitting a packet is provided, where the apparatus is configured in a first network of a communication system, the first network includes the apparatus and a second node, the communication system further includes a second network, the second network includes a third node and a fourth node, where a packet is transmitted between the apparatus and the second node based on a first communication protocol, a packet is transmitted between the third node and the fourth node based on a second communication protocol, and the second node is communicatively connected to the third node, and the apparatus includes: a receiving unit, configured to receive a first packet sent by the second node, where the first packet is obtained by the second node by performing encapsulation processing on a second packet according to the first communication protocol, and the second packet is obtained by performing encapsulation processing on target service data that needs to be transmitted to the first network by the second network according to the second communication protocol; a processing unit, configured to perform decapsulation processing on the first packet received by the receiving unit according to the first communication protocol to obtain the second packet; the processing unit is further configured to perform decapsulation processing on the second packet according to the second communication protocol to obtain the target service data.
With reference to the seventh aspect, in a first implementation manner of the seventh aspect, the target service data includes a service clock.
With reference to the seventh aspect, in a second implementation manner of the seventh aspect, the first network is a PSN, and the second network is an SDH network.
With reference to the seventh aspect, in a second implementation manner of the seventh aspect, the first packet is a pseudo-wire packet, and the second packet is a virtual container.
In an eighth aspect, a device for transmitting a packet is provided, where the device is configured in a first network of a communication system, the first network includes a first node and the device, the communication system further includes a second network, the second network includes a third node and a fourth node, where the first node transmits the packet based on a first communication protocol with the device, the third node transmits the packet based on a second communication protocol with the fourth node, and the device is communicatively connected to the third node, and the device includes: a receiving unit, configured to receive a first packet sent by a third node, where the first packet is obtained by performing encapsulation processing on target service data that needs to be transmitted to the first network in the second network according to the second communication protocol; the processing unit is used for carrying out encapsulation processing on the first message according to the first communication protocol so as to generate a second message; a sending unit, configured to send the second packet to the first node in the first network.
With reference to the eighth aspect, in a first implementation manner of the eighth aspect, the target service data includes a service clock.
With reference to the eighth aspect, in a second implementation manner of the eighth aspect, the first network is a PSN, and the second network is an SDH network.
With reference to the eighth aspect, in a third implementation manner of the eighth aspect, the first packet is a virtual container, and the second packet is a pseudo-wire packet.
In the method and apparatus for transmitting a packet according to the embodiment of the present invention, a first node in a first network performs encapsulation processing on target service data to be transmitted to a second network according to a communication protocol in the second network to generate a first packet conforming to the communication protocol in the second network, and then performs encapsulation processing on the first packet again according to the communication protocol in the first network to generate a second packet conforming to the communication protocol in the first network, and sends the second packet to an interface node (i.e., a second node) in the first network for communicating with the second network. The interface node only needs to decapsulate the second packet according to the first communication protocol, and after acquiring the first packet, the interface node can directly send the first packet to the second network. Therefore, the interface node receives the multi-path target service data which is from the plurality of nodes and needs to be transmitted to the second network, does not need to recover the service data and package the service data according to the second communication protocol, simplifies the transmission scheme and can reduce the burden of the interface node.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a communication system to which the method and apparatus for transmitting a packet according to the embodiments of the present invention are applied.
Fig. 2 is a schematic flow chart of a method of transmitting a message according to an embodiment of the invention.
Fig. 3 is a schematic diagram of a PSN transmitting TDM traffic.
Fig. 4 is a schematic flow chart of a method of transmitting a message according to another embodiment of the present invention.
Fig. 5 is a schematic flow chart of a method of transmitting a message according to yet another embodiment of the present invention.
Fig. 6 is a schematic flow chart of a method of transmitting a message according to yet another embodiment of the present invention.
Fig. 7 is a schematic block diagram of an apparatus for transmitting a message according to an embodiment of the present invention.
Fig. 8 is a schematic block diagram of an apparatus for transmitting a message according to another embodiment of the present invention.
Fig. 9 is a schematic block diagram of an apparatus for transmitting a message according to still another embodiment of the present invention.
Fig. 10 is a schematic block diagram of an apparatus for transmitting a message according to still another embodiment of the present invention.
Fig. 11 is a schematic structural diagram of a device for transmitting a message according to an embodiment of the present invention.
Fig. 12 is a schematic structural diagram of an apparatus for transmitting a message according to another embodiment of the present invention.
Fig. 13 is a schematic structural diagram of an apparatus for transmitting a message according to still another embodiment of the present invention.
Fig. 14 is a schematic structural diagram of an apparatus for transmitting a message according to still another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The technical scheme of the invention can be applied to various communication systems which need to relieve the load of the interface nodes by relieving the service processing pressure of the interface nodes between the networks, such as the communication systems under the scenarios of SDH network and PSN docking.
For convenience of understanding and explanation, the following description will be given by way of example and not limitation to describe the implementation and actions of the method and apparatus for transmitting packets in a communication system including an SDH network and a PSN.
For ease of understanding, a brief introduction will be made to the relevant concepts in the PSN and SDH networks.
Customer Edge (CE) device: generally used to interface with the edge devices of the PSN, have rich interfaces and are able to access a variety of devices.
Operator network Edge (PE, Provider Edge) device: generally, the PE device has an encapsulation and decapsulation capability, and can access data of the CE device, and aggregate, encapsulate, and decapsulate the data.
Fig. 1 shows an application scenario where the PSN interfaces with the SDH network. As shown in fig. 1, taking the example that a user equipment accessing a PSN transmits service data to a user equipment accessing an SDH network, service data required to be communicated with the SDH network in the entire PSN passes through an interface node (for example, PE device 3 in fig. 1) between the PSN network and the SDH network, and the interface node is required to perform processing such as mapping and multiplexing on the service data required to be transmitted to the SDH network according to a communication protocol of the SDH network, and then can transmit the service data to the SDH network. For example, CE devices 1 and 2 connected to the PSN need to transmit traffic data to CE devices 3 and 4, respectively, of the SDH network. The PE device 1 and the PE device 2 receive the service data sent by the CE device 1 and the CE device 2, and transparently transmit the received service data to the PE device 3 through the PSN. The PE device 3 loads these two paths of traffic data into virtual containers of the SDH network in accordance with the communication protocol standard of the SDH network (for example, the IEIFRFC4842 protocol). During loading, rate adaptation, e.g., justification, is required. Then, the PE device 3 multiplexes the virtual container into an N-level (STM-N) frame of the Synchronous Transport Module according to the multiplexing mapping path, and then sends the STM-N frame to the PE device 4 of the SDH network, and the PE device 4 sends the STM-N frame to the PE device 5 and the PE device 6, respectively, according to the service configuration, and then the PE device 5 and the PE device 6 recover the corresponding service data from the STM-N frame, and send the service data to the CE device 3 and the CE device 4, respectively. In this way, the transmission of traffic data from the user equipment of the PSN to the user equipment of the SDH network is achieved.
However, the PE device 3 needs to perform processing procedures such as mapping and multiplexing on each path of service data separately, and when the requirement of clock synchronization on the service data is high, the PE device 3 needs to recover the service clock of each path separately, so as to transmit the recovered service clock and the service data to the SDH network together. Therefore, the service processing pressure of the PE device 3 is very large, and the method for transmitting a packet according to the embodiment of the present invention is described in detail below with reference to fig. 2.
Fig. 2 shows a schematic flow chart of a method 100 for transmitting a message according to an embodiment of the invention described from the perspective of the first node. As shown in fig. 2, the method 100 includes:
s110, a first node acquires target service data needing to be transmitted to a second network, wherein the first node is an access node of the target service data;
s120, the first node encapsulates the target service data according to a second communication protocol to generate a first message;
s130, the first node carries out encapsulation processing on the first message according to a first communication protocol to generate a second message;
s140, the first node sends the second packet to a second node, so that the second node sends the first packet to a third node after obtaining the first packet according to the first communication protocol and decapsulating the second packet to obtain the first packet.
It should be noted that the method for transmitting a packet according to the embodiment of the present invention is applied to a communication system including at least two networks, where each network includes at least two nodes, where each node in a first network transmits a packet based on a first communication protocol, each node in a second network transmits a packet based on a second communication protocol, and the first communication protocol is different from the second communication protocol.
Specifically, in the embodiment of the present invention, first, a first node in a first network acquires target service data that needs to be transmitted to a second network, and then performs encapsulation processing on the target service data according to a communication protocol (i.e., a second communication protocol) in the second network to generate a first packet. Thereafter, the first node performs encapsulation processing on the first packet again according to a communication protocol in the first network (i.e., the first communication protocol) to generate a second packet. Finally, the first node sends the second packet to an interface node (i.e., a second node) in the first network, which is in communication connection with the second network, so that the second node decapsulates the second packet to obtain a first packet, and then sends the first packet to the second network.
The method for transmitting a packet according to the embodiment of the present invention is described in detail below with reference to fig. 1. As shown in fig. 1, first, a PE device 1 (i.e., an example of a first node) in a PSN (i.e., an example of a first network) accesses service data transmitted by a CE device 1 through a device interface, and then, the PE device 1 performs encapsulation processing on the service data according to a communication protocol (i.e., an example of a second communication protocol) of an SDH network (i.e., an example of a second network) to generate a first packet. Then, the PE device 1 performs encapsulation processing on the first packet according to the communication protocol of the PSN to generate a second packet. Then, the PE device 1 sends the second packet to the PE device 3 of the PSN (i.e., an example of a second node), and after receiving the second packet, the PE device 3 decapsulates the second packet to obtain a first packet, and directly sends the first packet to the PE device 4 of the SDH network (i.e., an example of a third node), so that transmission of service data from the PSN to the SDH network is realized, or the service data is transmitted from the PSN to the SDH network in the form of the first packet.
It should be noted that, the PE device 3 sends the second message to the PE device 4, and may package the second message into a frame to send the second message. For example, in a scenario where a packet is sent from the PSN to the SDH network, the second packet may be a virtual container, and at this time, sending the second packet to the PE device 4 by the PE device 3 may be sending the PE device 4 by multiplexing the virtual container into an STM-N frame by the PE device 3.
It should be understood that, in the embodiment of the present invention, the numbers "first" and "second" are only used for distinguishing different objects, such as for distinguishing different networks, communication protocols, or messages, and do not set any limit to the scope of the embodiment of the present invention.
It should also be understood that the target service data refers to service data from a user equipment accessing a first network, which needs to be transmitted to a user equipment accessing a second network, the first node refers to an edge node in the first network for accessing the service data of the user equipment, the second node refers to an edge node in the first network interfacing with the second network, the third node refers to an edge node in the second network interfacing with the first network, and the fourth node refers to an edge node in the second network for accessing the service data of the user equipment.
It should also be understood that in the embodiment of the present invention, there may be one or more first nodes, and when there are multiple first nodes, that is, there are multiple paths of target traffic data to be transmitted from the first network to the second network. For each first node, before transmitting target service data to be transmitted to an interface node (or a second node), encapsulation processing performed on the target service data to be transmitted is the same, and therefore, in the embodiment of the present invention, only one of the first nodes is taken as an example, and is not limited, and the method for transmitting a packet according to the embodiment of the present invention is described.
In the prior art, the first node directly encapsulates the target service data to be transmitted to the second network according to the first communication protocol, and then sends the encapsulated target service data to the second node. And then, the second node decapsulates the received message to obtain target service data, encapsulates the target service data according to a second communication protocol of a second network, and generates a message which can be transmitted by the second network, and then sends the generated message to the second network. Obviously, when there are multiple paths of service data to be transmitted in the communication system, the second node receives multiple packets generated by encapsulating the target service data. However, the second node needs to decapsulate the multiple packets to obtain the multiple target service data, and then encapsulates the multiple target service data according to the second communication protocol in the second network again to generate multiple packets that can be transmitted in the second network, so as to send the multiple packets that can be transmitted in the second network to the second network. In the second network, the corresponding node decapsulates the plurality of messages to obtain the target service data, thereby realizing the transmission of the target service data from the first network to the second network.
In the embodiment of the present invention, in order to relieve the transmission pressure of the second node, the first node performs encapsulation processing on target service data that needs to be transmitted to the second network according to the second communication protocol to generate a first packet that can be transmitted in the second network, and then performs encapsulation processing on the first packet again according to the first communication protocol to generate a second packet that can be transmitted in the first network. The first node directly sends the second message to the second node. For the second node, after receiving the second packet, the second packet is decapsulated, so that the first packet can be obtained, where the first packet is generated by the first node by encapsulating the target service data according to the second communication protocol, and is a packet that can be transmitted in the second network, and therefore, the second node only needs to directly send the second packet to the second network. When a plurality of first nodes exist in the first network, the second node receives a plurality of second messages, at the moment, the second node can acquire a plurality of first messages corresponding to the plurality of second messages one by one only by decapsulating the plurality of second messages, and at the moment, the second node can directly send the plurality of first messages to the second network.
It should be understood that, in the embodiment of the present invention, a scenario of interfacing two networks is only used as an example for description, and a scenario of interfacing multiple networks may also be used, which is not limited in this respect. For example, the method for transmitting the packet according to the embodiment of the present invention is also applicable in a scenario where the packet sequentially arrives at the user equipment through the PSN, the SDH network, and the PSN, and the packet sequentially arrives at the user equipment through the PSN, the SDH network, the PSN, and the SDH network.
Therefore, the method for transmitting the message according to the embodiment of the present invention avoids the process that the interface node needs to encapsulate the service data transmitted to the second network in the prior art, and can relieve the service processing pressure of the interface node between the networks, reduce the consumption of hardware resources, and thus reduce the power consumption of hardware devices and the hardware development cost. In addition, the method for transmitting the message simplifies the process of transmitting the service data, and correspondingly simplifies the service configuration of the first network.
Optionally, the target service data comprises a service clock.
In particular, during the transmission of traffic data, different services have different requirements for clock synchronization. Some traffic data with high clock synchronization requirements can only be recovered correctly under the control of precise synchronization and timing. Therefore, when transmitting traffic data that requires relatively high synchronization, transmission of the traffic clock may be considered. The services with higher demands on clock synchronization can be voice services, video telephony, video on demand, video surveillance and the like. In this case, the first node encapsulates the service data according to the second communication protocol to generate a first packet, the service clock of the service data is also encapsulated in the first packet, then the first node encapsulates the first packet according to the first communication protocol to generate a second packet, and sends the second packet to the interface node (or the second node), and after the interface node decapsulates, the first packet can be obtained, and after multiplexing the first packet, the first packet is directly sent to the second network. The PE device in the second network decapsulates the first packet, so as to obtain the service data and recover the service clock of the service data.
That is to say, in the embodiment of the present invention, in order to relieve the traffic processing pressure of the interface node, after the first network performs only corresponding encapsulation processing on the traffic data and does not recover the traffic clock, but transmits the traffic data to the second network, the corresponding node of the second network recovers the traffic clock. In the prior art, the service data and the service clock are transmitted separately, and the service clock is recovered by the second node, then subjected to rate adaptation according to the second communication protocol, and transmitted to the second network. Compared with the prior art, the method for transmitting the message can reduce the service processing pressure of the second node on one hand, and can realize the transmission of the service data and the service clock on the other hand, thereby simplifying the transmission process of the service clock and reducing the power consumption of hardware resources and the development cost of hardware.
It should be understood that the interface node (i.e., the second node) in the first network described above refers to an edge node in the first network that communicates with other networks.
Optionally, the first network is a PSN and the second network is an SDH network.
PSN is a packet-switched transport network, and although the requirement for clock synchronization is not high, in the process of replacing SDH network, a large amount of Time Division Multiplexing (TDM) services carried by the conventional SDH network will be increasingly carried by the PSN network, and the conventional TDM services require strict synchronization between the two ends for receiving and transmitting data, so the PSN network must also consider the transmission of service clocks. In the prior art, PSN supports transparent transmission of conventional services through a Circuit Emulation Service (CES) technology. The CES technology is a technology that a sending end encapsulates TDM signals into ethernet packets in a sliced manner by an end-to-end Pseudo Wire Emulation (PWE3, Pseudo-Wire Emulation Edge to Edge) technology, and then transmits the ethernet packets over the PSN, and finally, a receiving end extracts TDM data from the ethernet packets and restores the TDM data to TDM data streams.
Currently, in order to realize the TDM traffic and the Clock together, two modes, namely Adaptive Clock Recovery (ACR) and Differential Clock Recovery (DCR), can be included on the PSN network. Fig. 3 shows a schematic diagram of a PSN network transmitting a TDM service through a CES service. As shown in fig. 3, in the ACR scheme, specifically, there are two schemes of First-in-First-out (FIFO) recovery and timestamp recovery. In the FIFO mode, the sending end device sends messages to the receiving end according to its own source clock, and the receiving end uses a queue to buffer the messages first, and then sends them out with its own local clock. It is assumed that the source clock is not consistent with the local clock of the destination receiver, and even a slight difference causes the length of the buffer queue of the receiver. Therefore, the receiving end can judge whether the local clock and the source clock keep synchronous or not according to the length of the buffer queue. If the length of the cache queue is continuously increased, the local clock is slower than the source clock, and the frequency of the local clock needs to be adjusted faster; if the depth of the buffer queue is continuously reduced, which indicates that the local clock is faster than the source clock, the frequency of the local clock needs to be slowed down, and finally the frequency of the local clock and the frequency of the source clock are kept consistent. After the length of the buffer queue is stable, the local clock of the receiving end and the source clock of the transmitting end are kept consistent in the long term, or the receiving end recovers the service clock of the transmitting end. In the timestamp recovery mode, the sending end sends a time message to the receiving end periodically by using a source clock, the time message includes timestamp information of the sending end sending the time message, the timestamp information is usually a character sequence, and the time of sending the time message can be uniquely identified. After receiving the time packet, the receiving end device may calculate the difference between the local clock and the source clock. If the clock frequencies of the transmitting end and the receiving end are consistent, the difference should be kept unchanged; if the difference gradually increases or decreases, it indicates that the clock frequencies of the sending end and the receiving end are not synchronous, and at this time, the receiving end needs to adjust the frequency of the local clock to keep synchronization with the source clock, or the receiving end recovers the clock information of the sending end.
In the following, with reference to fig. 1, taking the example of the transmission of the E1 service from the PSN to the SDH network, the transmission of the E1 service clock from the PSN to the SDH network in the application scenario where the PSN is interfaced with the SDH network is described in detail. In this embodiment, data sent by the CE device 1 reaches the CE device 3 through the PE device 1, the PSN, the PE device 3, the PE device 4, the SDH network, and the PE device 5; data sent by the CE device 2 reaches the CE device 4 through the PE device 2, the PSN, the PE device 3, the PE device 4, the SDH network, and the PE device 6.
The following describes a transmission process of E1 service data in the prior art, taking the CE device 1 sending service data to the CE device 3 as an example.
As shown in fig. 1, the PE device 1 receives a TDM service data E1 signal of the CE device 1, and then the PE device 1 slices the E1 signal, encapsulates the signal into a Pseudo Wire (PW) message, and transmits the PW message to the downstream PE device 3. The PE device 3 recovers the E1 clock of the E1 signal according to the buffer queue length of the PW packet or the timestamp information in the time packet. Next, after rate adaptation of the E1 signal, the PE device 3 loads a virtual container (VC, virtual container) corresponding to the E1 signal rate, wherein the standard virtual container corresponding to the E1 signal rate is VC 12. The PE device 3 then multiplexes this E1 signal into an STM-N frame in accordance with the SDH network multiplex mapping structure. Finally, PE device 3 may send the STM-N frame loaded with the E1 signal to an interface node of the SDH network (e.g., PE device 4 in fig. 1). Thus, the E1 signal and the E1 clock are transmitted from the PSN network to the SDH network.
In the SDH network, after the PE device 4 receives the STM-N frame, it does not need to perform any processing on the STM-N frame, but only needs to transmit the STM-N frame according to the service configuration. For example, in fig. 1, PE device 4 needs to transmit the STM-N frame to a corresponding network-side edge device of the SDH network, i.e., PE device 5. After that, the PE device 5 receives the STM-N signal, and by demultiplexing, can acquire the VC12 signal and recover the clocks of the E1 signal and the E1 signal therefrom. Thus, the transmission of service data and service clock between user equipment is realized.
However, in practical applications, since the clocks of the E1 signals of each path are different, the PE device 3 is required to perform clock recovery separately. In addition, the PE device 3 needs to map and multiplex each path of E1 signal before sending it to the SDH network. Traffic handling pressure can be significant for the PE device 3.
The following describes in detail the application of the method for transmitting a packet in the scenario in which the packet sequentially passes through the PSN and the SDH network according to the embodiment of the present invention with reference to fig. 1.
The PE device 1 (i.e., an example of the first node) receives E1 service data (i.e., an example of target service data, hereinafter referred to as service data 1) of the CE device 1, and the PE device 1 performs rate adaptation (e.g., code rate adjustment, etc.) on the service data 1 according to a mapping multiplexing structure of the SDH network, and then loads the service data 1 into a standard container corresponding to the rate of the service data 1, and then forms a virtual container VC (i.e., an example of the first packet) by adding a Path Overhead (POH), and this process is referred to as mapping. Next, the PE device 1 encapsulates the VC into a PW message (i.e., an example of the second message), and sends the PW message to the PE device 3 at the PSN edge.
It should be understood that, for the PE device 2 (i.e., an example of the first node), the mapping multiplexing process for the E1 service data (i.e., an example of the target service data, which is hereinafter referred to as service data 1) of the CE device 2 is the same as the mapping multiplexing process for the service data 1 by the PE device 1, and therefore, for brevity, no further description is provided here. For convenience of description, the virtual container encapsulated by the service data 1 is hereinafter referred to as a virtual container 1, the PW packet encapsulated by the virtual container 1 is referred to as a PW packet 1, and correspondingly, the virtual container encapsulated by the service data 2 is referred to as a virtual container 2, and the PW packet encapsulated by the virtual container 2 is referred to as a PW packet 2.
The PE device 3 (i.e., an example of the second node) receives the PW message 1 and the PW message 2, and decapsulates the PW message 1 and the PW message 2, respectively, so as to obtain the virtual container 1 and the virtual container 2, and then the PE device 3 directly multiplexes the virtual container 1 and the virtual container 2 into an STM-N frame and sends the STM-N frame to the SDH network. PE device 4 (i.e., an instance of the third node) of the SDH network receives the STM-N frame, and transmits the STM-N frame to PE device 5 and PE device 6 according to a service channel configured in advance. After that, the PE device 5 obtains VC1 by demultiplexing, and further recovers the service data 1 and the clock of the service data 1 from VC 1. Similarly, PE device 6 acquires VC2 by demultiplexing, and recovers traffic data 2 and the clock of traffic data 2 from VC 2. Further, the PE device 5 and the PE device 6 may transmit traffic data to the CE device 3 and the CE device 4, respectively, at the respective acquired clock frequencies. Correspondingly, the CE device 3 and the CE device 4 receive service data at their respective clock frequencies, thereby implementing the TDM service and clock together.
More specifically, the PE device 3 first performs rate adjustment on the first E1 signal, and fits the first E1 signal into a standard container corresponding to the rate of the E1 signal (or, alternatively, fits the first E1 signal into a standard container). The standard container is an information structure for loading traffic signals of various rates, and is a block frame in units of bytes. The first E1 signal is synchronized with the SDH network through rate adaptation. That is, rate adaptation is performed on signals that are not strictly synchronous, that is, when the rate of asynchronous signals varies within a certain range, the rate can be converted into a standard rate by adjusting the code rate. The first E1 signal is then a dummy container information structure when a series of channel overhead bytes are added to the block frame of the standard container. The virtual container is the most important information structure in SDH protocol, its packing rate is synchronous with SDH network, the interior of virtual container can allow to load asynchronous net load from different containers, the information structure of virtual container can be transferred in SDH network and can retain its integrality, and possesses good information transparency, i.e. the virtual container can be regarded as independent unit, and can be flexibly and conveniently inserted into or taken out from any point in channel so as to implement synchronous multiplexing and cross-connection treatment. Next, the PE device 3 may load the wrapped virtual container loaded with the first E1 signal into an STM-N frame, and during the loading, may add an AU-PTR (Administration Unit Pointer) in front of the virtual container to point to the position of the start byte of the virtual container. It should be understood that the effect of the AU-PTR is to indicate the position of the virtual container in the STM-N frame, so as to ensure that a receiving device (e.g., PE device 5 in fig. 1) can correctly find the AU-PTR at the corresponding position, thereby conveniently separating the virtual container from the STM-N frame by locating the position of the virtual container through the pointer. Finally, the PE device 3 transmits the STM-N frame loaded with the E1 signal to the PE device 4 of the SDH network.
Further, in the SDH network, PE device 4 receives the STM-N frame sent by PE device 3, and directly sends the STM-N frame to PE device 5 according to the service configuration. Next, the PE device 5 separates the virtual container at the position pointed by the AU-PTR at the corresponding position, and can acquire the clocks of the E1 signal and the E1 signal.
Optionally, the first packet is a virtual container, and the second packet is a pseudo-wire packet.
Here, the encapsulation form of the second packet may be other encapsulation forms besides the pseudo wire encapsulation. For example, QinQ (full: 802.1Q in 802.1Q), etc.
Therefore, according to the method for transmitting the message, compared with the prior art, the process of transmitting the service data is simplified, the service configuration of the first network is simpler, the service processing pressure of the interface node between the networks for transmitting the message can be relieved, the consumption of hardware resources is reduced, and the power consumption of the interface node hardware resources can be reduced.
It should be understood that, in the embodiment of the present invention, both the process in which the PE device 1 maps the service data 1 to form the virtual container and the process in which the PE device 2 maps the service data 2 to form the virtual container are examples of generating the first packet by encapsulating the target service data in the method for transmitting a packet according to the embodiment of the present invention. In contrast, the process of encapsulating the virtual container into the PW message by the PE device 1 and the PE device 2 is an example of generating the second message by encapsulating the first message in the method for transmitting a message according to the embodiment of the present invention.
It should also be understood that, in the embodiment of the present invention, the first node sends the second Packet to the second node, which may be an ethernet Packet encapsulated by a Virtual Container (VC) signal according to a Packet-based Circuit Emulation (CEP) format, and then the ethernet Packet is transmitted through the PSN. Correspondingly, after receiving the CEP message, the second node carries out decapsulation processing, thereby recovering the VC signal.
It should also be understood that the first node sends the second packet to the second node, either directly to the second node or to other intermediate nodes via the first node, and then forwards the second packet to the second node via other intermediate nodes.
The method for transmitting a packet according to the embodiment of the present invention is described above from the perspective of a first node with reference to fig. 1 to 3, and the method for transmitting a packet according to the embodiment of the present invention is described in detail below from the perspective of a second node with reference to fig. 4.
Fig. 4 shows a schematic flow chart of a method 200 of transmitting a message according to an embodiment of the invention, described from the perspective of the second node. As shown in fig. 4, the method 200 includes:
s210, a second node receives a first message sent by a first node, wherein the first message is obtained by the first node performing encapsulation processing on target service data to be transmitted to a second network according to a second communication protocol to generate a second message, and then performing encapsulation processing on the second message according to the first communication protocol, and the first node is an access node of the target service data;
s220, the second node decapsulates the first message according to the first communication protocol to obtain the second message;
s230, the second node sends the second packet to the third node.
Optionally, the target service data comprises a service clock.
Optionally, the first network is a PSN and the second network is an SDH network.
Optionally, the first packet is a pseudo-wire packet, and the second packet is a virtual container.
It should be understood that, in the embodiment of the present invention, the first node refers to an edge node in the first network for accessing the user equipment, the second node refers to an edge node in the first network interfacing with the second network, the third node refers to an edge node in the second network interfacing with the first network, and the fourth node refers to an edge node in the second network for accessing the user equipment.
For example, in the communication system shown in fig. 1, the first node may correspond to PE device 1, the first node may also correspond to PE device 2, the second node may correspond to PE device 3, the third node may correspond to PE device 4, the fourth node may correspond to PE device 5, and the fourth node may also correspond to PE device 6.
Fig. 5 shows a schematic flow chart of a method 300 of transmitting a message according to another embodiment of the invention. As shown in fig. 5, the method 300 includes:
s310, a first node receives a first message sent by a second node, wherein the first message is obtained by the second node performing encapsulation processing on a second message according to a first communication protocol, and the second message is obtained by the second network performing encapsulation processing on target service data to be transmitted to the first network according to the second communication protocol;
s320, the first node de-encapsulates the first message according to the first communication protocol to obtain the second message;
and S330, the first node decapsulates the second message according to the second communication protocol to obtain the target service data.
Specifically, in this embodiment, the corresponding node in the second network firstly encapsulates the target service data that needs to be transmitted to the first network according to the second communication protocol to generate the second packet, and the interface node (i.e., the third node) in the second network sends the second packet to the interface node (i.e., the second node) in the first network, after receiving the second packet, the interface node in the first network encapsulates the second packet according to the first communication protocol in the first network to generate the first packet, and then the interface node in the first network sends the first packet to the first node. For the first node, after receiving the first packet sent by the second node, decapsulating according to the first communication protocol to obtain the second packet, and decapsulating according to the second communication protocol to obtain the target service data.
For example, in fig. 1, a CE device 3 needs to send service data to a CE device 1, first, a PE device 5 interfaces the service data of the CE device 3 through a device interface, then, the PE device 5 performs rate adaptation on the service data according to a protocol of an SDH network, adapts the service data into a virtual container (i.e., an example of a second packet) corresponding to the rate of the service data, and then multiplexes the virtual container into an STM-N frame to send the STM-N frame to a PE device 4. After receiving the STM-N frame, the PE device 4 sends the STM-N frame to the PE device 3, which is an interface node of the PSN, and after the PE device 3 (i.e., an instance of the second node) acquires the virtual container from the STM-N frame, the PE device 3 encapsulates the virtual container into a PW message (i.e., an instance of the first message) according to the communication protocol of the PSN and sends the PW message to the PE device 1 (i.e., an instance of the first node). Next, the PE device 1 decapsulates the PW packet to obtain a virtual container, and continues decapsulating the virtual container to obtain service data. Finally, the PE device 1 can send the service data to the CE device 1, thereby realizing transmission of the service data from the user equipment of the SDH network (i.e., the CE device 3) to the user equipment of the PSN (i.e., the CE device 1).
Optionally, the target service data comprises a service clock.
Optionally, the first network is a PSN and the second network is an SDH network.
Optionally, the first packet is a pseudo-wire packet, and the second packet is a virtual container.
It should be noted that the encapsulation form of the first packet may be other encapsulation forms besides the pseudo wire encapsulation. For example, QinQ (full: 802.1Q in 802.1Q), etc.
Fig. 6 shows a schematic flow chart of a method 400 of transmitting a message according to another embodiment of the invention. As shown in fig. 6, the method 400 includes:
s410, a second node receives a first message sent by a third node, wherein the first message is obtained by packaging and processing target service data which needs to be transmitted to the first network in the second network according to the second communication protocol;
s420, the second node performs encapsulation processing on the first packet according to the first communication protocol to generate a second packet;
s430, the second node sends the second packet to the first node in the first network.
In the prior art, the PE device 3 receives an STM-N frame sent by the PE device 4, and can obtain a virtual container from the STM-N frame, and then the PE device 3 further needs to decapsulate the virtual container to recover service data, and then encapsulates the service data according to a communication protocol of the PSN network, and sends the service data to the PE device 1 in the form of a PW message. Finally, the PE device 1 can obtain the target service data only by decapsulating the PW packet.
In the embodiment of the present invention, first, a second node in a first network receives a first packet sent by a third node in a second network, and then, the second node performs encapsulation processing on the first packet to generate a second packet, and sends the second packet to the first node.
For example, in fig. 1, the PE device 3 (i.e., an example of the second node) receives an STM-N frame sent by the PE device 4, and may acquire a virtual container (i.e., an example of the first packet) from the STM-N frame, where the virtual container is loaded with service data. Then, the PE device 3 encapsulates the virtual container into a PW message (i.e., an example of the second message) according to the communication protocol of the PSN, and transmits the PW message to the PE device 1 (i.e., an example of the first node). Further, the PE device 1 decapsulates the PW packet to obtain a virtual container, and continues decapsulating the virtual container to obtain service data.
That is, for an interface node in the first network (e.g., PE device 3 in fig. 1), receiving an STM-N frame from the second network, only the virtual container needs to be accurately acquired from the STM-N frame, and then the virtual container may be encapsulated into a PW packet and transmitted to the first node in the first network (e.g., PE device 1 in fig. 1). Instead of the prior art, the interface node of the first network needs to recover the traffic data of each path separately and then send it to the first node. Compared with the prior art, the service processing pressure of the interface node is reduced, so that the burden of the interface node can be reduced.
Optionally, the target service data comprises a service clock.
Optionally, the first network is a PSN and the second network is an SDH network.
Optionally, the first packet is a virtual container, and the second packet is a pseudo-wire packet.
The method for transmitting a packet according to the embodiment of the present invention is described in detail above with reference to fig. 1 to 6, and the apparatus for transmitting a packet according to the embodiment of the present invention is described in detail below with reference to fig. 7 to 10.
Fig. 7 shows an apparatus 500 for transmitting a packet according to an embodiment of the present invention, where the apparatus is configured in a first network of a communication system, the first network includes the apparatus and a second node, and the communication system further includes a second network, the second network includes a third node and a fourth node, where the apparatus and the second node transmit a packet based on a first communication protocol, the third node and the fourth node transmit a packet based on a second communication protocol, and the second node is communicatively connected to the third node. As shown in fig. 7, the apparatus 500 includes:
an obtaining unit 510, configured to obtain target service data that needs to be transmitted to the second network;
a processing unit 520, configured to perform encapsulation processing on the target service data acquired by the acquiring unit according to a second communication protocol to generate a first message;
the processing unit 520 is further configured to perform encapsulation processing according to a first communication protocol or the first packet to generate a second packet;
a sending unit 530, configured to send the second packet generated by the processing unit to a second node, so that the second node sends the first packet to a third node after acquiring and de-encapsulating the second packet according to the first communication protocol to acquire the first packet.
Optionally, the target service data comprises a service clock.
Optionally, the first network is a PSN and the second network is an SDH network.
Optionally, the first packet is a virtual container, and the second packet is a pseudo-wire packet.
It should be understood that, in the embodiment of the present invention, the second node refers to an edge node in the first network interfacing with the second network, and the third node refers to an edge node in the second network interfacing with the first network.
For example, in the communication system shown in fig. 1, the second node may correspond to the PE device 3, the third node may correspond to the PE device 4, and the apparatus 500 for transmitting a packet may correspond to the PE device 1 or the PE device 2.
The apparatus 500 for transmitting a packet according to the embodiment of the present invention may correspond to the first node in the method according to the embodiment of the present invention, and each unit, i.e., module, and the other operations and/or functions in the apparatus 500 for transmitting a packet are respectively for implementing the corresponding process of the method 100 in fig. 2, and are not described herein again for brevity.
According to the device for transmitting the message, the process that the interface node needs to package the service data transmitted to the second network is avoided, and the burden of the interface node can be reduced.
In addition, the device for transmitting the message of the embodiment of the invention can reduce the consumption of hardware resources, thereby reducing the power consumption of the hardware resources and the hardware development cost.
In addition, the method for transmitting the message simplifies the process of transmitting the service data, and correspondingly simplifies the service configuration of the first network.
Fig. 8 is a schematic block diagram of an apparatus 600 for transmitting a packet according to an embodiment of the present invention. As shown in fig. 8, the apparatus 600 includes:
a receiving unit 610, configured to receive a first packet sent by a first node, where the first packet is obtained by performing encapsulation processing on a target service data that needs to be transmitted to the second network by the first node according to the second communication protocol to obtain a second packet, and then performing encapsulation processing on the second packet according to the first communication protocol, where the first node is an access node of the target service data;
a processing unit 620, configured to perform decapsulation processing on the first packet received by the receiving unit to obtain the second packet;
a sending unit 630, configured to send the second packet obtained by the processing unit to the third node.
Optionally, the target service data comprises a service clock.
Optionally, the first network is a PSN and the second network is an SDH network.
Optionally, the first packet is a virtual container, and the second packet is a pseudo-wire packet.
The apparatus 600 for transmitting a packet according to the embodiment of the present invention may correspond to the second node in the method according to the embodiment of the present invention, and each unit, i.e., module, and the other operations and/or functions in the apparatus 600 for transmitting a packet are respectively for implementing the corresponding process of the method 200 in fig. 4, and are not described herein again for brevity.
It should be understood that, in the embodiment of the present invention, the second node refers to an edge node in the first network interfacing with the second network, and the third node refers to an edge node in the second network interfacing with the first network.
For example, in the communication system shown in fig. 1, the first node may correspond to the PE device 1, the first node may also correspond to the PE device 2, the apparatus 600 for transmitting a packet may correspond to the PE device 3, and the third node may correspond to the PE device 4.
According to the device for transmitting the message, the process that the interface node needs to package the service data transmitted to the second network is avoided, and the burden of the interface node can be reduced.
In addition, the device for transmitting the message of the embodiment of the invention can reduce the consumption of hardware resources, thereby reducing the power consumption of the hardware resources and the hardware development cost.
In addition, the method for transmitting the message simplifies the process of transmitting the service data, and correspondingly simplifies the service configuration of the first network.
Fig. 9 is a schematic block diagram of an apparatus 700 for transmitting a message according to an embodiment of the present invention. As shown in fig. 9, the apparatus 700 includes:
a receiving unit 710, configured to receive a first packet sent by the second node, where the first packet is obtained by the second node performing encapsulation processing on a second packet according to the first communication protocol, where the second packet is obtained by the second network performing encapsulation processing on target service data that needs to be transmitted to the first network according to the second communication protocol;
a processing unit 720, configured to perform decapsulation processing on the first packet received by the receiving unit according to the first communication protocol to obtain the second packet;
the processing unit 720 is further configured to perform decapsulation processing on the second packet according to the second communication protocol, so as to obtain the target service data.
Optionally, the target service data comprises a service clock.
Optionally, the first network is a PSN and the second network is an SDH network.
Optionally, the first packet is a pseudo-wire packet, and the second packet is a virtual container.
It should be understood that, in the embodiment of the present invention, the second node refers to an edge node in the first network interfacing with the second network. For example, in the communication system shown in fig. 1, the apparatus 700 for transmitting a packet may correspond to the PE device 1, or may correspond to the PE device 2, and the second node may correspond to the PE device 3.
The apparatus 700 for transmitting a packet according to the embodiment of the present invention may correspond to the first node in the method according to the embodiment of the present invention, and each unit, i.e., module, and the other operations and/or functions in the apparatus 700 for transmitting a packet are respectively for implementing the corresponding process of the method 300 in fig. 5, and are not described herein again for brevity.
According to the device for transmitting the message, the process that the interface node needs to package the service data transmitted to the second network is avoided, and the burden of the interface node can be reduced.
In addition, the device for transmitting the message of the embodiment of the invention can reduce the consumption of hardware resources, thereby reducing the power consumption of the hardware resources and the hardware development cost.
In addition, the method for transmitting the message simplifies the process of transmitting the service data, and correspondingly simplifies the configuration of the user equipment.
Fig. 10 is a schematic block diagram of an apparatus 800 for transmitting a message according to an embodiment of the present invention. As shown in fig. 10, the apparatus 800 includes:
a receiving unit 810, configured to receive a first packet sent by a third node, where the first packet is obtained by performing encapsulation processing on target service data that needs to be transmitted to the first network in the second network according to the second communication protocol;
a processing unit 820, configured to perform encapsulation processing on the first packet according to the first communication protocol to generate a second packet;
a sending unit 830, configured to send the second packet to the first node in the first network.
Optionally, the target service data comprises a service clock.
Optionally, the first network is a packet switched network PSN and the second network is a synchronous digital hierarchy, SDH, network.
Optionally, the first packet is a virtual container, and the second packet is a pseudo-wire packet.
It should be understood that, in the embodiment of the present invention, the third node refers to an edge node in the second network interfacing with the first network. For example, in the communication system shown in fig. 1, the apparatus 800 for transmitting a packet may correspond to the PE device 3, and the third node may correspond to the PE device 4.
The apparatus 800 for transmitting a packet according to the embodiment of the present invention may correspond to the second node in the method according to the embodiment of the present invention, and each unit, i.e., module, and the other operations and/or functions in the apparatus 800 for transmitting a packet are respectively for implementing the corresponding process of the method 400 in fig. 6, and are not described herein again for brevity.
According to the device for transmitting the message, the process that the interface node needs to package the service data transmitted to the second network is avoided, and the burden of the interface node can be reduced.
In addition, the device for transmitting the message of the embodiment of the invention can reduce the consumption of hardware resources, thereby reducing the power consumption of the hardware resources and the hardware development cost.
In addition, the method for transmitting the message simplifies the process of transmitting the service data, and correspondingly simplifies the service configuration of the first network.
The method for transmitting a packet according to the embodiment of the present invention is described in detail above with reference to fig. 1 to 6, and the apparatus for transmitting a packet according to the embodiment of the present invention is described in detail below with reference to fig. 11 to 14.
Fig. 11 shows a device 900 for transmitting a packet according to an embodiment of the present invention, and as shown in fig. 7, the device 900 includes:
a bus 910;
a processor 920 coupled to the bus 910;
a memory 930 coupled to the bus 910;
a transceiver 940 coupled to the bus 910;
the processor 920 calls the program stored in the memory 930 through the bus 910 to obtain target service data to be transmitted to a second network;
the system comprises a first communication protocol module, a second communication protocol module and a third communication protocol module, wherein the first communication protocol module is used for carrying out encapsulation processing on the target service data according to the second communication protocol to generate a first message;
the first message is encapsulated according to a first communication protocol to generate a second message;
the transceiver 940 is configured to send the second packet to a second node, so that the second node sends the first packet to the third node after acquiring and de-encapsulating the second packet according to the first communication protocol to acquire the first packet.
Optionally, the target service data comprises a service clock.
Optionally, the first network is a PSN and the second network is an SDH network.
Optionally, the first packet is a virtual container, and the second packet is a pseudo-wire packet.
It should be understood that, in the embodiment of the present invention, the processor 920 may be a Central Processing Unit (CPU), and the processor 920 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 930 may include a read-only memory and a random access memory, and provides instructions and data to the processor 920. A portion of the memory 930 may also include non-volatile random access memory. For example, the memory 930 may also store device type information.
The bus system 910 may include a power bus, a control bus, a status signal bus, and the like, in addition to a data bus. For clarity of illustration, however, the various buses are designated as bus system 910 in the figure.
In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 510. The steps of a method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 930, and the processor 920 reads the information in the memory 930, and performs the steps of the above method in combination with the hardware thereof. To avoid repetition, it is not described in detail here.
The device 900 for transmitting a packet according to the embodiment of the present invention may correspond to the first node in the method according to the embodiment of the present invention, and each unit, i.e., module, and the other operations and/or functions in the device 900 for transmitting a packet are respectively for implementing the corresponding flow of the method 100 in fig. 2, and are not described herein again for brevity.
According to the equipment for transmitting the message, the process that the interface node needs to package the service data transmitted to the second network is avoided, and the burden of the interface node can be reduced.
In addition, the device for transmitting the message of the embodiment of the invention can reduce the consumption of hardware resources, thereby reducing the power consumption of the hardware resources and the hardware development cost.
In addition, the method for transmitting the message simplifies the process of transmitting the service data, and correspondingly simplifies the service configuration of the first network.
Fig. 12 shows a device 1000 for transmitting a packet according to an embodiment of the present invention, and as shown in fig. 12, the device 1000 includes:
a bus 1200;
a processor 1100 coupled to the bus 1200;
a memory 1300 connected to the bus 1200;
a transceiver 1400 connected to the bus 1200;
the transceiver 1400 invokes, through the bus 1200, a program stored in the memory 1300 to receive a first packet sent by a first node in the first network, where the first packet is obtained by the first node performing encapsulation processing on target service data that needs to be transmitted to the second network according to the second communication protocol to generate a second packet, and then performing encapsulation processing on the second packet according to the first communication protocol, where the first node is an access node of the target service data;
the processor 1100 is configured to perform decapsulation processing on the first packet received by the transceiver 1400 to obtain the second packet;
the transceiver 1400 is configured to send the second packet to a third node.
Optionally, the target service data comprises a service clock.
Optionally, the first network is a PSN and the second network is an SDH network.
Optionally, the first packet is a pseudo-wire packet, and the second packet is a virtual container.
It should be understood that, in the embodiment of the present invention, the processor 1100 may be a Central Processing Unit (CPU), and the processor 1100 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 1300 may include a read-only memory and a random access memory, and provides instructions and data to the processor 920. A portion of memory 1300 may also include non-volatile random access memory. For example, memory 1300 may also store device type information.
The bus system 1200 may include a power bus, a control bus, a status signal bus, and the like, in addition to a data bus. For clarity of illustration, however, the various buses are designated in the figure as bus system 1200.
In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 1100. The steps of a method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 1300, and the processor 1100 reads the information in the memory 1300 and performs the steps of the above method in combination with the hardware thereof. To avoid repetition, it is not described in detail here.
The device 1000 for transmitting a packet according to the embodiment of the present invention may correspond to a second node in the method according to the embodiment of the present invention, and each unit, i.e., module, and the other operations and/or functions in the device 1000 for transmitting a packet are respectively for implementing the corresponding process of the method 200 in fig. 4, and are not described herein again for brevity.
According to the equipment for transmitting the message, the process that the interface node needs to package the service data transmitted to the second network is avoided, and the burden of the interface node can be reduced.
In addition, the device for transmitting the message of the embodiment of the invention can reduce the consumption of hardware resources, thereby reducing the power consumption of the hardware resources and the hardware development cost.
In addition, the method for transmitting the message simplifies the process of transmitting the service data, and correspondingly simplifies the service configuration of the first network.
Fig. 13 shows a device 2000 for transmitting a packet according to an embodiment of the present invention, and as shown in fig. 13, the device 2000 includes:
a bus 2200;
a processor 2100 connected to the bus 2200;
a memory 2300 connected to the bus 2200;
a transceiver 2400 connected to the bus 2200;
the transceiver 2400 calls, through the bus 2200, a program stored in the memory 2300, so as to be configured to receive a first packet sent by the second node, where the first packet is obtained by the second node encapsulating a second packet according to the first communication protocol, and the second packet is obtained by the second network encapsulating target service data that needs to be transmitted to the first network according to the second communication protocol;
the processor 2100 is configured to perform decapsulation processing on the first packet received by the transceiver according to a first communication protocol to obtain the second packet;
the processor 2100 is further configured to perform decapsulation processing on the second packet according to the second communication protocol to obtain the target service data.
Optionally, the target service data comprises a service clock.
Optionally, the first network is a PSN and the second network is an SDH network.
Optionally, the first packet is a pseudo-wire packet, and the second packet is a virtual container.
It should be understood that in embodiments of the present invention, the processor 2100 may be a Central Processing Unit (CPU), and the processor 2100 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), off-the-shelf programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 2300 may include a read-only memory and a random access memory, and provides instructions and data to the processor 2100. A portion of the memory 2300 may also include non-volatile random access memory. For example, memory 2300 may also store information on the type of device.
The bus system 2200 may include a power bus, a control bus, a status signal bus, and the like, in addition to the data bus. For clarity of illustration, however, the various buses are designated in the figure as bus system 2200.
In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 2100. The steps of a method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 2300, and the processor 2100 reads the information in the memory 2300 and performs the steps of the above method in combination with the hardware thereof. To avoid repetition, it is not described in detail here.
The device 2000 for transmitting a packet according to the embodiment of the present invention may correspond to a first node in the method according to the embodiment of the present invention, and each unit, i.e., module, and the other operations and/or functions in the device 2000 for transmitting a packet are respectively for implementing the corresponding flow of the method 300 in fig. 5, and are not described herein again for brevity.
According to the equipment for transmitting the message, the process that the interface node needs to package the service data transmitted to the second network is avoided, and the burden of the interface node can be reduced.
In addition, the device for transmitting the message of the embodiment of the invention can reduce the consumption of hardware resources, thereby reducing the power consumption of the hardware resources and the hardware development cost.
In addition, the method for transmitting the message simplifies the process of transmitting the service data, and correspondingly simplifies the service configuration of the first network.
Fig. 14 shows a device 3000 for transmitting a packet according to an embodiment of the present invention, and as shown in fig. 13, the device 3000 includes:
a bus 3200;
a processor 3100 coupled to bus 3200;
a memory 3300 connected to the bus 3200;
a transceiver 3400 connected to the bus 3200;
the transceiver 3400 calls a program stored in the memory 3300 through the bus 3200 to receive a first message sent by a third node, where the first message is obtained by performing encapsulation processing on target service data in the second network that needs to be transmitted to the first network according to the second communication protocol;
the processor 3100 is configured to perform an encapsulation process on the first packet according to the first communication protocol to generate a second packet;
the transceiver 3400 is configured to send the second packet to the first node in the first network.
Optionally, the target service data comprises a service clock.
Optionally, the first network is a packet switched network, PSN, and the second network is an SDH network.
Optionally, the first packet is a virtual container, and the second packet is a pseudo-wire packet.
It should be understood that, in the embodiments of the present invention, the processor 3100 may be a Central Processing Unit (CPU), and the processor 3100 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), off-the-shelf programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 3300 may include both read-only memory and random-access memory, and provides instructions and data to the processor 3100. A portion of memory 3300 may also include non-volatile random access memory. For example, memory 3300 may also store device type information.
The bus system 3200 may include a power bus, a control bus, a status signal bus, and the like, in addition to a data bus. For clarity of illustration, however, the various buses are designated in the figure as bus system 3200.
In implementation, the steps of the above method may be performed by instructions in the form of hardware, integrated logic circuits, or software in the processor 3100. The steps of a method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 3300 and the processor 3100 reads the information in the memory 3300 and performs the steps of the method in combination with its hardware. To avoid repetition, it is not described in detail here.
The device 3000 for transmitting a packet according to the embodiment of the present invention may correspond to a second node in the method according to the embodiment of the present invention, and each unit, i.e., module, and the other operations and/or functions in the device 3000 for transmitting a packet are respectively for implementing the corresponding process of the method 400 in fig. 6, and are not described herein again for brevity.
According to the equipment for transmitting the message, the process that the interface node needs to package the service data transmitted to the second network is avoided, and the burden of the interface node can be reduced.
In addition, the device for transmitting the message of the embodiment of the invention can reduce the consumption of hardware resources, thereby reducing the power consumption of the hardware resources and the hardware development cost.
In addition, the method for transmitting the message simplifies the process of transmitting the service data, and correspondingly simplifies the service configuration of the first network.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in this application, it should be understood that the apparatus and methods may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present invention, and all such changes or substitutions are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (32)

1. A method for transmitting packets, where the method is applied to a communication system including a first network and a second network, the first network includes a first node and a second node, the second network includes a third node and a fourth node, where the first node and the second node transmit packets based on a first communication protocol, the third node and the fourth node transmit packets based on a second communication protocol, the second node is an interface node in the first network for communicating with the second network, and the third node is an interface node in the second network for communicating with the first network, and the method includes:
the first node acquires target service data needing to be transmitted to the second network, wherein the first node is an access node of the target service data;
the first node performs encapsulation processing on the target service data according to the second communication protocol to generate a first message;
the first node performs encapsulation processing on the first message according to the first communication protocol to generate a second message;
and the first node sends the second message to the second node.
2. The method of claim 1, wherein the target traffic data comprises a traffic clock.
3. Method according to claim 1 or 2, characterized in that said first network is a packet switched network, PSN, and said second network is a synchronous digital hierarchy, SDH, network.
4. The method of claim 3, wherein the first packet is a virtual container and the second packet is a pseudo-wire packet.
5. A method for transmitting packets, where the method is applied to a communication system including a first network and a second network, the first network includes a first node and a second node, the second network includes a third node and a fourth node, where the first node and the second node transmit packets based on a first communication protocol, the third node and the fourth node transmit packets based on a second communication protocol, the second node is an interface node in the first network for communicating with the second network, and the third node is an interface node in the second network for communicating with the first network, and the method includes:
the second node receives a first message sent by the first node, wherein the first message is obtained by the first node performing encapsulation processing on a target service data to be transmitted to the second network according to the first communication protocol after the first node performs encapsulation processing on the target service data according to the second communication protocol to generate a second message, and the second message is obtained by performing encapsulation processing on the second message according to the first communication protocol, wherein the first node is an access node of the target service data;
the second node de-encapsulates the first message according to the first communication protocol to obtain a second message;
and the second node sends the second message to the third node.
6. The method of claim 5, wherein the target traffic data comprises a traffic clock.
7. Method according to claim 5 or 6, characterized in that said first network is a packet switched network PSN and said second network is a synchronous digital hierarchy, SDH, network.
8. The method of claim 7, wherein the first packet is a pseudo-wire packet and the second packet is a virtual container.
9. A method for transmitting packets, the method being applied to a communication system including a first network and a second network, the first network including a first node and a second node, the second network including a third node and a fourth node, wherein the packets are transmitted between the first node and the second node based on a first communication protocol, the third node and the fourth node transmit the packets based on a second communication protocol, the second node is an interface node in the first network for communicating with the second network, and the third node is an interface node in the second network for communicating with the first network, the method comprising:
the first node receives a first message sent by the second node, wherein the first message is obtained by the second node by packaging a second message according to the first communication protocol, and the second message is obtained by the second network by packaging target service data to be transmitted to the first network according to the second communication protocol;
the first node de-encapsulates the first message according to the first communication protocol to obtain the second message;
and the first node de-encapsulates the second message according to the second communication protocol to obtain the target service data.
10. The method of claim 9, wherein the target traffic data comprises a traffic clock.
11. Method according to claim 9 or 10, characterized in that said first network is a packet switched network PSN and said second network is a synchronous digital hierarchy, SDH, network.
12. The method of claim 11, wherein the first packet is a pseudo-wire packet and the second packet is a virtual container.
13. A method for transmitting packets, where the method is applied to a communication system including a first network and a second network, the first network includes a first node and a second node, the second network includes a third node and a fourth node, where the first node and the second node transmit packets based on a first communication protocol, the third node and the fourth node transmit packets based on a second communication protocol, the second node is an interface node in the first network for communicating with the second network, and the third node is an interface node in the second network for communicating with the first network, and the method includes:
the second node receives a first message sent by the third node, wherein the first message is obtained by the second network by packaging and processing target service data needing to be transmitted to the first network according to the second communication protocol;
the second node performs encapsulation processing on the first message according to the first communication protocol to generate a second message;
and the second node sends the second message to the first node.
14. The method of claim 13, wherein the target traffic data comprises a traffic clock.
15. Method according to claim 13 or 14, characterized in that said first network is a packet switched network PSN and said second network is a plesiochronous digital hierarchy, SDH, network.
16. The method of claim 15, wherein the first packet is a virtual container and the second packet is a pseudo-wire packet.
17. An apparatus for transmitting packets, the apparatus being configured in a first network of a communication system, the first network including the apparatus and a second node, the communication system further including a second network, the second network including a third node and a fourth node, wherein the apparatus and the second node transmit packets based on a first communication protocol, the third node and the fourth node transmit packets based on a second communication protocol, the second node is an interface node in the first network for communicating with the second network, and the third node is an interface node in the second network for communicating with the first network, the apparatus comprising:
an obtaining unit, configured to obtain target service data that needs to be transmitted to the second network, where the apparatus is an access node of the target service data;
the processing unit is used for encapsulating the target service data acquired by the acquisition unit according to the second communication protocol to generate a first message;
the processing unit is further configured to perform encapsulation processing on the first packet according to the first communication protocol to generate a second packet;
and the sending unit is used for sending the second message generated by the processing unit to the second node.
18. The apparatus of claim 17, wherein the target traffic data comprises a traffic clock.
19. The apparatus according to claim 17 or 18, characterized in that said first network is a packet switched network, PSN, and said second network is a plesiochronous digital hierarchy, SDH, network.
20. The apparatus of claim 19, wherein the first packet is a virtual container and the second packet is a pseudo-wire packet.
21. An apparatus for transmitting packets, the apparatus being configured in a first network of a communication system, the first network including a first node and the apparatus, the communication system further including a second network, the second network including a third node and a fourth node, wherein the first node and the apparatus transmit packets based on a first communication protocol, the third node and the fourth node transmit packets based on a second communication protocol, and the apparatus is communicatively coupled to the third node, the apparatus comprising:
a receiving unit, configured to receive a first packet sent by the first node, where the first packet is obtained by performing encapsulation processing on a second packet according to the first communication protocol after a target service data that needs to be transmitted to the second network is encapsulated by the first node to obtain the second packet, and the second packet is encapsulated according to the first communication protocol, where the first node is an access node of the target service data;
the processing unit is used for performing de-encapsulation processing on the first message received by the receiving unit to obtain the second message;
and the sending unit is used for sending the second message acquired by the processing unit to the third node.
22. The apparatus of claim 21, wherein the target traffic data comprises a traffic clock.
23. The apparatus according to claim 21 or 22, characterized in that said first network is a packet switched network, PSN, and said second network is a synchronous digital hierarchy, SDH, network.
24. The apparatus of claim 23, wherein the first packet is a pseudo-wire packet and the second packet is a virtual container.
25. An apparatus for transmitting packets, the apparatus being configured in a first network of a communication system, the first network including the apparatus and a second node, the communication system further including a second network, the second network including a third node and a fourth node, wherein a packet is transmitted between the apparatus and the second node based on a first communication protocol, a packet is transmitted between the third node and the fourth node based on a second communication protocol, the second node is an interface node in the first network for communicating with the second network, and the third node is an interface node in the second network for communicating with the first network, the apparatus comprising:
a receiving unit, configured to receive a first packet sent by the second node, where the first packet is obtained by the second node by performing encapsulation processing on a second packet according to the first communication protocol, and the second packet is obtained by performing encapsulation processing on target service data that needs to be transmitted to the first network by the second network according to the second communication protocol;
a processing unit, configured to perform decapsulation processing on the first packet received by the receiving unit according to the first communication protocol to obtain the second packet;
and the processing unit is further configured to perform decapsulation processing on the second packet according to the second communication protocol to obtain the target service data.
26. The apparatus of claim 25, wherein the target traffic data comprises a traffic clock.
27. The apparatus according to claim 25 or 26, wherein the first network is a PSN and the second network is an SDH network.
28. The apparatus of claim 27, wherein the first packet is a pseudo-wire packet and the second packet is a virtual container.
29. An apparatus for transmitting packets, the apparatus being configured in a first network of a communication system, the first network including a first node and the apparatus, the communication system further including a second network, the second network including a third node and a fourth node, wherein the first node and the apparatus transmit packets based on a first communication protocol, the third node and the fourth node transmit packets based on a second communication protocol, and the apparatus is communicatively connected to the third node, the apparatus comprising:
a receiving unit, configured to receive a first packet sent by the third node, where the first packet is obtained by performing, by the second network, encapsulation processing on target service data that needs to be transmitted to the first network according to the second communication protocol;
the processing unit is used for carrying out encapsulation processing on the first message according to the first communication protocol so as to generate a second message;
a sending unit, configured to send the second packet to a first node in the first network.
30. The apparatus of claim 29, wherein the target traffic data comprises a traffic clock.
31. The apparatus according to claim 29 or 30, wherein said first network is a packet switched network, PSN, and said second network is a plesiochronous digital hierarchy, SDH, network.
32. The apparatus of claim 31, wherein the first packet is a virtual container and the second packet is a pseudo-wire packet.
CN201511004657.6A 2015-12-28 2015-12-28 Method and device for transmitting message Active CN106921641B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511004657.6A CN106921641B (en) 2015-12-28 2015-12-28 Method and device for transmitting message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511004657.6A CN106921641B (en) 2015-12-28 2015-12-28 Method and device for transmitting message

Publications (2)

Publication Number Publication Date
CN106921641A CN106921641A (en) 2017-07-04
CN106921641B true CN106921641B (en) 2020-04-03

Family

ID=59455359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511004657.6A Active CN106921641B (en) 2015-12-28 2015-12-28 Method and device for transmitting message

Country Status (1)

Country Link
CN (1) CN106921641B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019183919A1 (en) * 2018-03-30 2019-10-03 华为技术有限公司 Method and apparatus for converged networking
CN110798415B (en) * 2018-08-03 2022-02-18 中兴通讯股份有限公司 Service transmission method, equipment and computer storage medium
WO2020150878A1 (en) * 2019-01-22 2020-07-30 华为技术有限公司 Data message transmission method and node
CN111865884B (en) * 2019-04-30 2023-01-06 华为技术有限公司 Message processing method, device and equipment
CN111935243B (en) * 2020-07-17 2023-06-30 杭州海康机器人股份有限公司 Data information transmission method, device, system and equipment
CN114844957B (en) * 2022-04-27 2024-03-08 工银科技有限公司 Link message conversion method, device, equipment, storage medium and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039156A (en) * 2006-03-17 2007-09-19 华为技术有限公司 Method and apparatus for transmitting SDH data
CN101179469A (en) * 2006-11-10 2008-05-14 中兴通讯股份有限公司 Method of carrying pseudo-line service using multiple packet switching network tunnels
CN101815024A (en) * 2010-03-24 2010-08-25 中兴通讯股份有限公司 Ethernet service intercommunication method and device
CN101848147A (en) * 2010-04-21 2010-09-29 华为技术有限公司 Transfer method, device and system of SDH (Synchronous Digital Hierarchy)/Sonet section overhead byte

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007022640A1 (en) * 2005-08-26 2007-03-01 Nortel Networks Limited Method for establishing multi segment pseudowire across domains having different pseudowire signaling protocol

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039156A (en) * 2006-03-17 2007-09-19 华为技术有限公司 Method and apparatus for transmitting SDH data
CN101179469A (en) * 2006-11-10 2008-05-14 中兴通讯股份有限公司 Method of carrying pseudo-line service using multiple packet switching network tunnels
CN101815024A (en) * 2010-03-24 2010-08-25 中兴通讯股份有限公司 Ethernet service intercommunication method and device
CN101848147A (en) * 2010-04-21 2010-09-29 华为技术有限公司 Transfer method, device and system of SDH (Synchronous Digital Hierarchy)/Sonet section overhead byte

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于MPLS_TP的PTN与SDH网络互通研究;武元琪;《中国优秀硕士学位论文全文数据库(信息科技辑)》;20110915;I136-230 *

Also Published As

Publication number Publication date
CN106921641A (en) 2017-07-04

Similar Documents

Publication Publication Date Title
CN106921641B (en) Method and device for transmitting message
US7792157B2 (en) Method, system and device for clock transmission between sender and receiver
EP2769596B1 (en) Methods and apparatuses for maintaining synchronization between a radio equipment controller and an item of radio equipment
CN107438028B (en) Method and equipment for processing customer service
US9681208B2 (en) Data processing method, communications board and device
KR102383297B1 (en) Method and device for transparently transmitting service frequencies
EP1760976A1 (en) Service data transfer method and apparatus
US9641916B2 (en) Optical channel data unit service transmission apparatus and method
EP3909209B1 (en) Ethernet signal format using 256b/257b block encoding
US8446906B2 (en) Providing access to client overhead while transparently transmitting the client signal
WO2008022578A1 (en) A method and apparatus for transporting a synchronous digital hierarch service in a passive optical network
JP5597765B2 (en) Method, apparatus and system for transmitting SDH / SONET section overhead bytes
US10931578B2 (en) Method for processing data in ethernet, device, and system
US20200288468A1 (en) Data transmission method and device
US8644347B2 (en) Transporting optical data units in an optical transport network
EP2760173A1 (en) Data transmission method, device and system
US20100284425A1 (en) System and method of using tdm variable frame lengths in a telecommunications network
CN102497311B (en) The method of transmission/receiver section expense, device and transmission system in SDH/SONET circuit simulation
WO2020248865A1 (en) Control word transmission method, apparatus, and computer readable storage medium
US8149871B2 (en) Pointer offset mechanism enabling cost effective SONET/SDH mapping/demapping over ethernet
US10298725B2 (en) Synchronous digital signal encapsulation
JP2002176408A (en) Multi-frame multiplex transmission device
CN106911545B (en) Method and device for transmitting ST _ BUS data through Ethernet
CN104601497B (en) 1588V2 message transmitting method and device based on wan interface
US8743912B2 (en) Transmission system, transmitting device, receiving device, transmission method, and computer program

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