WO2020024721A1 - Service transmission method, device, and computer storage medium - Google Patents

Service transmission method, device, and computer storage medium Download PDF

Info

Publication number
WO2020024721A1
WO2020024721A1 PCT/CN2019/091934 CN2019091934W WO2020024721A1 WO 2020024721 A1 WO2020024721 A1 WO 2020024721A1 CN 2019091934 W CN2019091934 W CN 2019091934W WO 2020024721 A1 WO2020024721 A1 WO 2020024721A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
service
message
transmitted
network interface
Prior art date
Application number
PCT/CN2019/091934
Other languages
French (fr)
Chinese (zh)
Inventor
刘峰
成剑
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to JP2021505752A priority Critical patent/JP7122455B2/en
Priority to KR1020217006517A priority patent/KR102513755B1/en
Publication of WO2020024721A1 publication Critical patent/WO2020024721A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9057Arrangements for supporting packet reassembly or resequencing
    • 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
    • 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
    • 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/1652Optical Transport Network [OTN]
    • H04J3/1664Optical Transport Network [OTN] carrying hybrid payloads, e.g. different types of packets or carrying frames and packets in the paylaod
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • H04L1/0007Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format by modifying the frame length
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/622Queue service order
    • H04L47/6225Fixed service order, e.g. Round Robin

Definitions

  • the present application relates to the field of communication technology, but is not limited to the field of communication technology, and in particular, to a method, a device, and a computer storage medium for service transmission.
  • the three networks of the Internet, cable television network and telecommunication communication network merge with each other, and gradually form a unified network system.
  • the transmission technology of the telecommunication communication network needs to change from the synchronous digital hierarchy (SDH, Synchronous Digital Hierarchy) technology to the Ethernet technology based on packet transmission technology.
  • SDH Synchronous Digital Hierarchy
  • SDH technology it is a circuit transmission technology. Specifically, a dedicated and exclusive circuit channel is established between two clients to transmit information. Its advantages are short transmission delay time, small delay jitter, and reliability. High, very suitable for the transmission of voice services; but when there is no information transmission between the two clients, as long as the dedicated channel is not revoked, the dedicated circuit channel is still in the exclusive state of the two clients, resulting in It cannot be used by other customers, and the delivery efficiency is low.
  • a message format is used to transmit information between two clients. The specific solution is to establish a virtual transmission channel between the two clients, and the two clients transmit messages through the virtual channel.
  • a virtual channel can be established on a physical entity channel, and all clients share the bandwidth resources of the physical entity channel. When there is no information transmission between the two clients, the bandwidth resources of the virtual transmission channel are shared with other clients, which has good multiplexing characteristics and ensures that bandwidth is not wasted. Therefore, the transmission efficiency is high and the transmission cost is low.
  • the embodiments of the present application are expected to provide a method, a device, and a computer storage medium for service transmission.
  • an embodiment of the present application provides a method for service transmission.
  • the method includes:
  • the packets to be transmitted with the same sending direction and the same processing mode are scheduled in the same service flow, and the service flow is sent to the exclusive network interface or the exclusive time slot of the network interface according to the set transmission speed.
  • an embodiment of the present application provides a method for service transmission.
  • the method includes:
  • an embodiment of the present application provides a network device, where the network device includes a dicing part, an encapsulating part, a parsing part, a scheduling part, and a first sending part;
  • the dicing part is configured to diced the data of the service to be transmitted according to a preset length to obtain at least one data block;
  • the encapsulation part is configured to encapsulate each of the data blocks according to a preset message format, obtain at least one message to be transmitted, and transmit the message to be transmitted to all the data packets at a set transmission speed. Mentioned parsing part;
  • the parsing section is configured to parse each of the messages to be transmitted separately to determine a sending direction of each of the messages to be transmitted;
  • the scheduling part is configured to schedule the to-be-transmitted messages in the same sending direction and the same processing mode in the same service flow;
  • the first sending part is configured to send the service flow to an exclusive network interface or an exclusive time slot in the network interface according to a set transmission speed.
  • an embodiment of the present application provides a network device, where the network device includes: a decapsulation section, a first recovery section, a second recovery section, and a second sending section; wherein,
  • the decapsulation part is configured to decapsulate the received transmission message to obtain a data block stream carried by the transmission message;
  • the first recovery part is configured to reversely decode the data block according to a set encoding recovery strategy to obtain a bit stream corresponding to the original service data encoding method;
  • the second recovery part is configured to recover the original service data from the bitstream
  • the second sending part is configured to send the original service data to the client.
  • an embodiment of the present application provides a network device, where the network device includes a first network interface, a first memory, and a first processor; and the first network interface is configured to communicate with other devices.
  • the first memory is configured to store a computer program capable of running on the first processor;
  • the first processor is configured to When the computer program is run, the steps of the method according to the first aspect are performed.
  • an embodiment of the present application provides a network device.
  • the network device includes a second network interface, a second memory, and a second processor.
  • the second network interface is configured to communicate with other external devices.
  • the second memory is configured to store a computer program capable of running on a second processor; and the second processor is configured to run the When the computer program executes the steps of the method described in the second aspect.
  • an embodiment of the present application provides a computer storage medium that stores a program for service transmission, and the program for service transmission implements the first aspect or the second aspect when executed by at least one processor. The steps of the method for service transmission are described.
  • the embodiments of the present application provide a method, a device, and a computer storage medium for service transmission. After the data of the service to be transmitted is cut into blocks according to a uniform preset length, analysis and transmission are performed according to a set transmission speed, thereby achieving The services to be transmitted are transmitted at a stable speed during the transmission process.
  • the delay time is short, the delay fluctuation is small, and the transmission quality of the service is close to that of the SDH network.
  • FIG. 1 is a schematic diagram of a communication network architecture according to an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a message transmission process according to an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of a service transmission method according to an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a sending end message processing according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of multiple channel selection according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of forming an OTN frame according to an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of another service transmission method according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a destination message processing flow according to an embodiment of the present application.
  • FIG. 9 is a detailed flowchart of a service transmission method according to an embodiment of the present application.
  • FIG. 10A is a schematic flowchart of a specific example provided by an embodiment of the present application.
  • FIG. 10B is a schematic flowchart of another specific example according to an embodiment of the present application.
  • FIG. 10C is a schematic flowchart of still another specific example provided by an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a network device according to an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of another network device according to an embodiment of the present application.
  • FIG. 13 is a schematic diagram of a specific hardware structure of a network device according to an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of still another network device according to an embodiment of the present application.
  • FIG. 15 is a schematic diagram of a specific hardware structure of another network device according to an embodiment of the present application.
  • FIG. 1 it illustrates a schematic architecture of a communication network 100 capable of applying a packet transmission technology according to an embodiment of the present application.
  • the communication network 100 includes multiple client devices and multiple network node devices.
  • the client devices are Client 1, Client 2, Client 3, and Client 4; and network node devices include Node A, Node B, Node C, Node D, Node E, and Node F, respectively.
  • network node devices include Node A, Node B, Node C, Node D, Node E, and Node F, respectively.
  • a virtual transmission channel 1 as shown by a dotted line can be established between the client 1 and the client 2.
  • the transmission channel 1 Pass node A, node B, node C, and node D, respectively.
  • client 1 and client 2 are called client edge (CE, Customer Edge) devices; node A and node D are called operations because they are connected to client 1 and client 2, respectively.
  • PE Provider Edge
  • P Provider
  • a virtual transmission channel 2 as shown by a dotted line is established between the client 3 and the client 4
  • the node A and the node C can be called PE devices, and the node B is called For P devices.
  • the transmission channel 1 and the transmission channel 2 share the physical entity channel from node A to node B to node C. Understandably, when there is no message sent between the client 1 and the client 2, the transmission channel 1 is idle and the bandwidth resource is released. At this time, the transmission channel 2 can share the bandwidth resource released by the transmission channel 1.
  • the bandwidth of transmission channel 2 is increased to avoid wasting bandwidth.
  • the above-mentioned communication network 100 can be applied not only to Ethernet, but also to communication networks based on packet transmission, such as Optical Transmission Network (OTN, Optical Transport Network) and Flexible Ethernet (FlexE, Flexible Ethernet). This is not described in the embodiment of the present application.
  • OTN Optical Transmission Network
  • FlexE Flexible Ethernet
  • Figure 2 shows the specific flow in the process of message transmission. It can be seen that after parsing and classifying the message received by the physical portal, it can be based on the characteristic information of the message. For example, the message's MAC address, IP address, priority, etc., determine the sending port of the message, queue according to the message exit and priority, such as queue 1, queue 2, ... queue n in the figure, and then wait for scheduled output To the physical exit. It can be seen that the scheduler can call out packets from different queues according to a predetermined scheduling algorithm and send them to the physical outlet for sending.
  • the message's MAC address, IP address, priority, etc. determine the sending port of the message, queue according to the message exit and priority, such as queue 1, queue 2, ... queue n in the figure, and then wait for scheduled output To the physical exit.
  • the scheduler can call out packets from different queues according to a predetermined scheduling algorithm and send them to the physical outlet for sending.
  • the embodiment of the present application proposes the following technical solution based on the network architecture shown in FIG. 1.
  • FIG. 3 which illustrates a service transmission method provided by an embodiment of the present application.
  • the method may be applied to a sending PE device that performs service transmission.
  • the method may include:
  • S302 Encapsulate each of the data blocks according to a preset message format to obtain at least one message to be transmitted;
  • S304 Schedule the to-be-transmitted messages with the same sending direction and the same processing method in the same service flow, and send the service flow to the exclusive network interface or the exclusive time slot of the network interface according to the set transmission speed.
  • the processing manner may indicate a process of processing data of a service to be transmitted according to steps S301 to S303. It can be seen that after cutting the data of the service to be transmitted according to a uniform preset length, the data is parsed and transmitted according to the set transmission speed.
  • the network interface or the time slot on the network interface is exclusive, so as to achieve It is realized that the service to be transmitted is transmitted at a stable speed during the transmission process, the delay time is short, the delay fluctuation is small, and the transmission quality of the service is close to that of the SDH network.
  • the data of the service to be transmitted includes a bit stream received through a physical interface, and / or message data received through a user interface.
  • the data corresponding to the service to be transmitted is a bit stream received through a physical interface, and the data of the service to be transmitted is sliced according to a preset length to obtain at least one data block, including: :
  • the encoded bit stream is divided into blocks according to the preset length to obtain at least one data block.
  • the data corresponding to the service to be transmitted is message data received through a user interface, and the data of the service to be transmitted is cut into blocks according to a preset length to obtain at least one data block, include:
  • the buffered encoded message data is cut into blocks according to the preset length to obtain at least one data block.
  • the client 1 is set to send a service to be transmitted to the client 2.
  • the service may be a dedicated line service that needs to ensure transmission quality.
  • the client interface between the client 1 and the client 1 may be a physical interface or a user interface. When the client interface is a physical interface, the client signal and bit stream information are detected on the physical interface, and a fixed-length slice of the client bit stream can be performed.
  • the customer interface when the customer interface is a 1G Ethernet interface, the customer's physical interface uses 8b / 10b encoding at the PCS layer (that is, 8-bit length is converted to 10-bit length), and the physical coding sublayer (PCS, Physical Coding Sublayer) layer
  • the 10b-encoded bit stream is detected, the bit stream is cut into fixed-length information blocks, and then encapsulated into Ethernet packets.
  • the PCS layer encoding format uses 64b / 66b encoding (that is, the 64-bit length is converted to 66-bit length). Based on the PCS detection, the encoded 66-bit length block is extracted. The stream is directly cut into a fixed length according to the 66-bit block stream, and then encapsulated into an Ethernet message.
  • the received message data such as an Ethernet message
  • the received message data can first encode the Ethernet message (at this time, various encoding methods can be used. Because 64b / 66b encoding is more efficient, Convenient for speed adjustment, 64b / 66b encoding can be used. In the examples of this application, 64b / 66b is used as an example, but it does not mean that the possibility of using other encoding methods is excluded.)
  • the encoded 66-bit block stream is cached. , Speed adjustment while caching.
  • an idle idle block is inserted into the 66-bit block stream (that is, a 66-bit long control block is used to indicate that this information block is an idle information block); when the buffer depth is toward the fast full direction
  • delete free blocks or other information blocks in the 66-bit block stream so as to ensure that the buffer will not overflow.
  • the preset length is an integer multiple of 66 bits
  • the preset length is an integer multiple of 65 bits
  • the preset length is an integer multiple of 10 bits.
  • the encapsulating the data block according to a preset message format to obtain a message to be transmitted includes:
  • encapsulating each of the data blocks according to an Ethernet packet format to obtain at least one Ethernet packet to be transmitted includes:
  • MPLS protocol label of each data block includes at least one of the following items : Pseudowire label, tunnel label, and pseudowire control word.
  • encapsulating each of the data blocks according to an Ethernet packet format to obtain at least one Ethernet packet to be transmitted includes:
  • this embodiment can also use other message formats for encapsulation.
  • Ethernet message format is used for description.
  • about 30 bytes need to be added 6-byte source MAC address, 6-byte destination MAC byte, 2-byte message type, 4-byte pseudo-wire label, 4-byte tunnel label, 4-byte control word, 4-byte Cyclic Redundancy Check (CRC), as shown in Table 1, with 65-bit encoding as an example, the structure of the Ethernet packet is as follows:
  • MPLS label switching technology is used to implement message scheduling and exchange.
  • a label value is added to the message, which may include fields such as a tunnel label, a pseudo-line label, and a pseudo-line control word.
  • the content part of the message is used to carry a fixed slicing length.
  • Table 1 is for slicing on a 65-bit block stream.
  • the length of the content part is 32 65-bit lengths, that is, 260 bytes (that is, 1 byte is equal to 8 bits).
  • the encapsulated Ethernet packets are aggregated and output at a fixed speed.
  • Ethernet packets are encapsulated with tunnel labels and pseudowire labels.
  • label values can be used for packet analysis, which speeds up packet inspection. Table speed to increase processing speed.
  • the label value can determine which client the message belongs to and which channel is transmitted. Therefore, when the data content of the message is cut and encapsulated, one or two layers of labels can be added to the message package, namely the tunnel label and the pseudo-wire label.
  • pseudo-wire labels are used to represent customer attributes, tunnel labels represent customer transmission paths, and tunnel labels represent different customers with the same transmission path.
  • the label value the transmission path of each service flow is determined, and an independent network interface or an independent time slot on the network interface is reserved for the client on each node device on the transmission path.
  • the pseudo-wire control word may include serial number, clock information, time stamp value, etc., and is used to monitor whether a message is lost, recover customer service clock, delay time and other information.
  • the slice length is larger, the length of the slice content carried in the message is larger, and the encapsulation efficiency is higher. Due to the longer message length, when the packets of two service flows converge in the same direction, if there is no stagger in the scheduling time, when the two service flows arrive at the same time, they can only be output in turn, one service is output first, and the other One is waiting for output. The longer the message, the longer the latter service flow has to wait. The shorter the cut length, the shorter the cut content length carried in the message, and the lower the encapsulation efficiency.
  • the waiting time of the packets waiting for output is shorter.
  • 64b / 66b encoding As an example.
  • the fixed length of the dicing block can be an integer multiple of 66b, so that the entire block can be cut according to the 66-bit block. All information bits in the dicing block are complete 66-bit blocks.
  • the work of finding the boundary of a 66-bit block is omitted during 64 / 66b decoding.
  • the dicing length may be an integer multiple of 65 bits; if the dicing is performed on a 10-bit block stream, the dicing length may be an integer multiple of 10 bits.
  • the physical PHY layer uses 4b / 5b, 8b / 10b and other coding formats.
  • the 8-bit length is changed to 10-bit length to transmit special function information, and the bandwidth needs to be increased by 25% during transmission. That is, a 10M service flow requires 12.5M transmission bandwidth and the bandwidth of the transmission channel. The utilization rate is only 80%. If cutting is performed on the encoded 10 bits, the encapsulation efficiency of the message is also 90%, and the bandwidth utilization is only 72%.
  • the length of the cutting block can be an integer multiple of the length of 65 bits, so that all information bits in the cutting block are complete 65 bits Block, the first bit of the slicing block is the first bit in the first 65b bit block, and the 65b block decoding eliminates the need to find the boundary of the 65b block.
  • the 65-bit block can also be re-encoded into a 66-bit block. In this way, the bit stream before switching is a 66-bit length bit stream, which is consistent with the encoding length of the PCS layer of the 10G and 40G interfaces.
  • the physical layer uses 4b / 5b encoding, it can be directly cut on the encoded 5-bit length block stream, and the cut length is an integer multiple of 5 bits; two 5-bit code blocks can also be regarded as one 10 Bit-length code blocks are converted into eight 65-bit blocks according to the rule of 8b / 10b to 65b, and cut on the 65-bit block stream.
  • a scheduling part may be specifically set in a transmitting PE device of a service transmission, and a message to be transmitted is transmitted to the scheduling part according to a set transmission speed, and the transmission speed must ensure the client's information bandwidth requirements.
  • the encapsulated packets to be transmitted are always sent at a fixed speed.
  • the fixed speed is used to send messages to be transmitted to ensure that the speed of the bearer channel is always the same. No matter how the effective information of the customer's business changes, the speed of the bearer channel is always the same, independent of the effective bandwidth of the customer and the speed of other online services.
  • the parsing the message to be transmitted and determining the sending direction of the message to be transmitted may specifically be label analysis of all the messages sent from the client interface to determine the message. Transmission channel.
  • the to-be-sent packets with the same sending direction and the same processing method are scheduled in the same service flow, and the service is sent according to a set transmission speed.
  • Streaming to the exclusive network interface or the exclusive time slot of the network interface can include:
  • the transmission speed is stable, the packet length is a fixed length, and the dedicated line services in the same sending direction participate in the scheduling, the working speed of the scheduling part can be greater than or equal to the total speed of all participating business flows.
  • the network interface (or time slot of the network interface) that schedules the output is exclusive, and the output speed is stable. Under stable operating conditions, the dedicated line service flow is transmitted at a stable speed in the network transmission path, and the delay time is very short. The delay fluctuation is small, and the transmission quality of the service is close to that of the SDH network.
  • the to-be-transmitted messages with the same sending direction and the same processing mode are scheduled in the same service flow, and the service flow is sent to the exclusive network interface or the exclusive sharing of the network interface according to the set transmission speed.
  • the time slot including:
  • the service flows that can be scheduled for output are scheduled through multiple selection methods, and sent to the exclusive network interface or network interface according to the set transmission speed Exclusive time slot.
  • the foregoing solution is applied to a PE device as a transmitting end.
  • One side of the PE device is a U-side interface and is a customer interface for customer services.
  • the other side is an N-side interface for a network interface.
  • the customer service enters the network system in the PE device, and through the established network channel, it penetrates many devices and is sent to the destination.
  • the PE device that is the sending end will also be the P device of other transmission channels, that is, it only sends services from one network interface to another network interface. Therefore, when the sending PE device is also used as the P device of another transmission channel, the foregoing solution in this embodiment may further include:
  • the service flow is mapped through a service, and then sent through an exclusive network interface or an exclusive time slot of the network interface.
  • the sending PE device also assumes the role of other transmission channel P device.
  • the technical solution of this embodiment can be shown in FIG. 4, and the packets destined for the network interface are scheduled, After the convergence, a service flow is sent to the network interface.
  • the packets sent to the network interface are sent through the physical interface of the network after service mapping, as shown by the solid line in FIG. 4.
  • the packets destined for the customer interface are scheduled and aggregated to form a service flow and sent to the customer interface, as shown by the dotted line in FIG. 4. Because the customer service is fixed length and sent at a fixed speed after encapsulation, the speed of all leased line services is constant.
  • All leased line services in the same direction are scheduled for output, and the working speed of the scheduling part is greater than or equal to the total speed of all input service flows. In this way, the input service flow is dispatched as soon as it enters the scheduling part.
  • the scheduling part only needs to use a simple round scheduler to meet the requirements.
  • the packets sent to the customer interface if only one service flow is sent to the customer interface from the network interface and all the packets from all customer interfaces, and there is no multiple service flows converging into one service flow, then it can be A multi-selector is used instead of the scheduler, and one of the multiple service flows is selected and sent to the client interface, as shown in FIG. 5.
  • the network interface may be a common Ethernet interface, or a FlexE interface or an OTN interface.
  • Ethernet interface the entire network interface is equivalent to only one time slot.
  • FlexE or OTN interfaces there are many time slots on the network interface.
  • the network interface is an ordinary Ethernet interface, the network interface is required to transmit only dedicated line services.
  • the network interface is exclusive and does not transmit other non-dedicated customer services. Long uncertain impact.
  • the scheduled and aggregated service flows are sent to the FlexE network logical interface, and are mapped to FlexE time slots for transmission as flexE clients.
  • the entire FlexE channel is divided into n * 20 time slot slices, and the length of each time slot slice is 66 bits, and the corresponding bandwidth is 5G (bits per second).
  • Each FlexE customer is carried on different time slots and is strictly physically isolated from each other and does not affect each other. Therefore, each FlexE customer transmits at a fixed speed.
  • the aggregated sending service flow is sent to the OTN network logical interface, and the customer as the OTN physical interface is mapped to the Optical Channel Payload Unit (OPU, Optical Channel Payload Unit), and the OPU is encapsulated into optical channel data.
  • OPU Optical Channel Payload Unit
  • Unit ODU, Optical Channel, Data Unit
  • an ODU is a time slot, and finally processed into OTN frame services for transmission, as shown in Figure 6. Different ODUs are isolated from each other, and the transmission speed is not affected.
  • the leased line services in the same direction participate in the scheduling so that the network interface (or time slot of the network interface) scheduled for output is unique
  • the output speed is stable. Therefore, under stable operating conditions, the leased line service flow is transmitted at a stable speed in the network transmission path, the delay time is short, the delay fluctuation is small, and the transmission quality of the service is close to the transmission quality of the SDH network.
  • FIG. 7 illustrates a method for service transmission provided in an embodiment of the present application.
  • the method may be applied to a receiving PE device that performs service transmission.
  • the method may include:
  • S701 Decapsulate the received transmission message to obtain a data block stream carried by the transmission message
  • S702 Reverse decode the data block according to a set encoding recovery strategy to obtain a bit stream corresponding to the original service data encoding mode;
  • S704 Send the original service data to the client.
  • the encapsulation part is stripped off, including the packet destination address, source address, label, CRC check, etc. Field, extract the slice part carried in the message, recover the decoded bit-block code stream, and recover the original customer service output from the code stream block.
  • the client interface is a 66-bit block stream
  • the client interface is an 8b / 10 encoded stream, and after 8b / 10 encoding is converted to 65b encoding, the extracted After the 65b code block stream is recovered, the 65b code block is first decoded into a 10b code block, and the 10b code block is sent to the physical layer interface for sending.
  • FIG. 9 shows a process of a service transmission method provided in an embodiment of the present application.
  • the process can be applied to two PE devices in the network architecture shown in FIG. 1, which are a sending PE device A and a destination PE device. B.
  • the process can include:
  • S901 Device A cuts the data of the service to be transmitted according to a preset length to obtain at least one data block;
  • S902 Device A encapsulates each of the data blocks according to a preset message format to obtain at least one message to be transmitted.
  • the device A separately analyzes each of the messages to be transmitted, and determines a sending direction of each of the messages to be transmitted.
  • S904 Device A schedules the packets to be transmitted in the same sending direction and the same processing mode to the same service flow, and sends the service flow to the exclusive network interface or the exclusive time slot of the network interface according to the set transmission speed;
  • steps S901 to S904 are the sending process of the sending end PE device A for the dedicated line service.
  • the specific implementation process refer to the corresponding part in the first embodiment, which is not repeated here.
  • S905 Device B decapsulates the received transmission message to obtain a data block stream carried by the transmission message;
  • S906 Device B reversely decodes the data block according to the set encoding recovery strategy to obtain a bit stream corresponding to the original service data encoding method;
  • steps S905 to S908 are the process for receiving the dedicated line service by the PE device A.
  • steps S905 to S908 are the process for receiving the dedicated line service by the PE device A.
  • the specific implementation process refer to the corresponding part in the second embodiment, and details are not described herein again.
  • this embodiment also illustrates the specific implementation process of the flow shown in FIG. 9 by using a specific example. It is worth noting that the number of specific examples does not represent a priority relationship or a sequential relationship between the examples, only to distinguish different examples.
  • the sending PE device has 4 1G customer services to perform 8b / 10b to 65b transcoding on the bit stream of the PCS layer, and then 65-bit long codes are respectively transmitted.
  • the block is sliced, sliced into a fixed length, and encapsulated into Ethernet packets, carrying MPLS labels, and sent to the polling scheduling part at a fixed rate.
  • the packets with the same direction and the same processing method are aggregated into a service flow through the scheduling, and are mapped into FlexE time slots as FlexE clients (these time slots are exclusive), and the FlexE interface completes the FlexE service processing. For example, 64/66 encoding, slot mapping, FlexE framing, etc. are sent out.
  • the P device in the network extracts the services of the corresponding time slot from the FlexE interface, and can directly cross the FlexE time slot and send it to the other FlexE interface time slot, as shown by the dotted line in the P device; it can also The client service is extracted from the time slot, and the client service is recovered.
  • the scheduler dispatches to the corresponding network interface, encodes the message and maps it into the corresponding FlexE slot, and sends it out through the FlexE interface, as shown by the solid line in the P device. .
  • the packet service is recovered from the FlexE interface time slot, and is sent to the corresponding physical interface after scheduling.
  • the client service bit stream is recovered and sent to the client.
  • Four 1G customers have a total speed close to 5G after slicing and encapsulation, which can be transmitted through one FlexE slot.
  • the sending PE device has two 1G customer services on the PCS layer bit stream, and performs 8b / 10b to 65b code blocks, and then 65-bit code
  • the block is sliced, sliced into a fixed length, and encapsulated into Ethernet packets, carrying MPLS labels, and sent to the polling scheduling part at a fixed rate.
  • packets in the same direction are aggregated into a service flow through scheduling, and processed by the OTN interface as an OTN client, such as OPU mapping, ODU encapsulation, and OTU framing, etc., and sent.
  • the P device in the network extracts ODU services from the OTN interface, and can directly cross the ODU and send it to the OTU of another OTN interface, as shown by the dotted line in the P device. It is also possible to extract OPU content from the ODU, restore customer services, schedule to the corresponding network interface through the scheduler, map the message to the OPU, encapsulate it into an ODU, and then framing the OTU and send it out via the OTN interface, such as in a P device Shown as a solid line.
  • the ODU service is extracted from the OTN interface, the OPU is extracted, and the message service is resumed. After dispatching, it is sent to the corresponding physical interface. After decapsulation and bit code block recovery, the customer service bit stream is restored and sent to the customer .
  • the client service of the sending PE device has 10M, 100M, and 1G customer services on the PCS layer bit stream, and 8b / 10b is converted into 65b code blocks.
  • the 65-bit long code block is sliced, sliced into a fixed length, and then encapsulated into Ethernet packets, carrying MPLS labels, and sent to the polling scheduling part at a fixed rate.
  • the packets with the same direction and the same processing method are aggregated into a service flow through scheduling, and sent through the exclusive Ethernet interface. It should be noted that this Ethernet interface only carries one service flow, and does not share the same interface with other service flows.
  • the P device in the network recovers the customer service from the Ethernet port, dispatches it to the corresponding network interface through the scheduler, and sends it out through the Ethernet interface.
  • the packet is extracted from the Ethernet interface, and after decapsulation and bit code block recovery, the customer service bit stream is recovered and sent to the customer.
  • Three 10M, 100M, and 1G speed customers share a transmission channel that does not affect each other and can be transmitted at high quality without being affected by actual business speed, message length, and network conditions.
  • the service transmission method provided in the embodiment of the present application can enable the dedicated line service flow to be transmitted at a stable speed in the network transmission path with a short delay time and small delay fluctuations.
  • the transmission quality of the service is close to the transmission quality of the SDH network.
  • a network device 110 shows the composition of a network device 110 according to an embodiment of the present application, including: a dicing part 1101, an encapsulating part 1102, a parsing part 1103, a scheduling part 1104, and a first sending part 1105;
  • the dicing section 1101 is configured to perform dicing on data of a service to be transmitted according to a preset length to obtain at least one data block;
  • the encapsulating portion 1102 is configured to encapsulate each of the data blocks according to a preset message format, obtain at least one message to be transmitted, and transmit the message to be transmitted to a set transmission speed to Said parsing part;
  • the parsing section 1103 is configured to parse each of the messages to be transmitted separately to determine a sending direction of each of the messages to be transmitted;
  • the scheduling section 1104 is configured to schedule the to-be-transmitted messages with the same sending direction and the same processing mode in the same service flow;
  • the first sending part 1105 is configured to send the service flow to an exclusive network interface or an exclusive time slot in the network interface according to a set transmission speed.
  • the data corresponding to the service to be transmitted is a bit stream received through a physical interface
  • the dicing part 1101 is configured as:
  • the encoded bit stream is divided into blocks according to the preset length to obtain at least one data block.
  • the data corresponding to the service to be transmitted is message data received through a user interface
  • the dicing portion 1101 is configured as:
  • the buffered encoded message data is cut into blocks according to the preset length to obtain at least one data block.
  • the preset length is an integer multiple of 66 bits
  • the preset length is an integer multiple of 65 bits
  • the preset length is an integer multiple of 10 bits.
  • the encapsulation portion 1102 is configured as:
  • the encapsulation portion 1102 is configured as:
  • the encapsulation portion 1102 is configured as:
  • the scheduling section 1104 is configured as:
  • the packets to be transmitted with the same sending direction and the same processing method are scheduled in the same service flow
  • the scheduling section 1104 is configured as:
  • the service flows that can be scheduled for output are scheduled through multiple selection methods and sent to the exclusive network interface or the network at a set transmission speed. Exclusive time slot in the interface.
  • the network device 110 further includes a recovery section 1106 configured to, upon receiving at least one physical signal from an exclusive network interface or an exclusive time slot in the network interface, separate each of the physical signals separately. Restore to message data;
  • the analysis section 1103 is further configured to analyze message data corresponding to each of the physical signals to determine a sending direction of at least one of the message data;
  • the scheduling section 1104 is further configured to schedule the packet data with the same sending direction and the same processing method in the same service flow, and then route the service flow through service mapping, and use the exclusive network interface or the exclusive time slot in the network interface. Send on.
  • the “part” may be a part of a circuit, a part of a processor, a part of a program or software, etc., of course, it may be a unit, a module, or a non-modular.
  • each component in this embodiment may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above integrated unit may be implemented in the form of hardware or in the form of software functional modules.
  • the integrated unit is implemented in the form of a software functional module and is not sold or used as an independent product, it may be stored in a computer-readable storage medium.
  • the technical solution of this embodiment is essentially or It is said that a part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium and includes several instructions for making a computer device (can It is a personal computer, a server, or a network device) or a processor (processor) to perform all or part of the steps of the method described in this embodiment.
  • the foregoing storage media include: U disks, mobile hard disks, read only memories (ROM, Read Only Memory), random access memories (RAM, Random Access Memory), magnetic disks or optical disks, and other media that can store program codes.
  • this embodiment provides a computer storage medium that stores a program for service transmission, and the method for implementing the service transmission according to the first embodiment is implemented when the service transmission program is executed by at least one processor. step.
  • FIG. 13 shows a specific hardware structure of a network device 110 according to an embodiment of the present application, which may include: a first network interface 1301, a first memory 1302, and a first Processor 1303; the various components are coupled together by a bus system 1304.
  • the bus system 1304 is used to implement connection and communication between these components.
  • the bus system 1304 includes a power bus, a control bus, and a status signal bus in addition to the data bus. However, for the sake of clarity, various buses are marked as the bus system 1304 in FIG. 13.
  • the first network interface 1301 is configured to receive and send signals during a process of transmitting and receiving information with other external network elements.
  • a first memory 1302 configured to store a computer program capable of running on a first processor 1303;
  • the first processor 1303 is configured to, when running the computer program, execute:
  • the packets to be transmitted with the same sending direction and the same processing mode are scheduled in the same service flow, and the service flow is sent to the exclusive network interface or the exclusive time slot of the network interface according to the set transmission speed.
  • the first memory 1302 in the embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both a volatile and a non-volatile memory.
  • the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), and an electronic memory. Erase programmable read-only memory (EPROM, EEPROM) or flash memory.
  • the volatile memory may be Random Access Memory (RAM), which is used as an external cache.
  • RAM Static Random Access Memory
  • DRAM Dynamic Random Access Memory
  • Synchronous Dynamic Random Access Memory Synchronous Dynamic Random Access Memory
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM DDRSDRAM
  • enhanced SDRAM ESDRAM
  • synchronous connection dynamic random access memory Synchronous DRAM, SLDRAM
  • Direct RAMbus RAM Direct RAMbus RAM, DRRAM
  • the first memory 1302 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
  • the first processor 1303 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the foregoing method may be completed by using hardware integrated logic circuits or instructions in the form of software in the first processor 1303.
  • the above-mentioned first processor 1303 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), and an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA). Or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • DSP digital signal processor
  • ASIC application-specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • FPGA Field Programmable Gate Array
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the steps of the method disclosed in combination with the embodiments of the present application may be directly implemented by a hardware decoding processor, or may be performed by using a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a mature storage medium such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, and the like.
  • the storage medium is located in the first memory 1302, and the first processor 1303 reads the information in the first memory 1302 and completes the steps of the foregoing method in combination with its hardware.
  • the embodiments described herein may be implemented by hardware, software, firmware, middleware, microcode, or a combination thereof.
  • the processing unit can be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSP), digital signal processing devices (DSPD), programmable Logic device (Programmable Logic Device, PLD), Field Programmable Gate Array (FPGA), general purpose processor, controller, microcontroller, microprocessor, other for performing the functions described in this application Electronic unit or combination thereof.
  • ASICs application-specific integrated circuits
  • DSP digital signal processors
  • DSPD digital signal processing devices
  • PLD programmable Logic Device
  • FPGA Field Programmable Gate Array
  • controller microcontroller
  • microprocessor other for performing the functions described in this application Electronic unit or combination thereof.
  • the techniques described herein can be implemented through modules (e.g., procedures, functions, etc.) that perform the functions described herein.
  • Software codes may be stored in a memory and executed by a processor.
  • the memory may be implemented in the processor or external to the processor.
  • the first processor 1303 in the network device 110 is further configured to execute a computer program
  • the first processor 1303 executes the method steps described in the first embodiment, and details are not described herein again.
  • FIG. 14 which shows the composition of a network device 140 provided in an embodiment of the present application, including: a decapsulation section 1401, a first recovery section 1402, a second recovery section 1403, and a second sending section 1404;
  • the decapsulating section 1401 is configured to decapsulate the received transmission message to obtain a data block stream carried by the transmission message;
  • the first recovery part 1402 is configured to reversely decode the data block according to a set encoding recovery strategy to obtain a bit stream corresponding to the original service data encoding method;
  • the second recovery part 1403 is configured to recover the original service data from the bitstream
  • the second sending section 1404 is configured to send the original service data to the client.
  • this embodiment provides a computer storage medium that stores a program for service transmission.
  • the program for service transmission is executed by at least one processor, the steps of the method described in Embodiment 2 are implemented.
  • the computer storage medium For the specific description of the computer storage medium, refer to the description in the fourth embodiment, which is not repeated here.
  • FIG. 15 illustrates a specific hardware structure of a network device 140 provided in an embodiment of the present application, which may include: a second network interface 1501, a second memory 1502, and a second Processor 1503; the various components are coupled together by a bus system 1504.
  • the bus system 1504 is used to implement connection and communication between these components.
  • the bus system 1504 includes a power bus, a control bus, and a status signal bus in addition to the data bus.
  • various buses are marked as the bus system 1504 in FIG. 15. among them,
  • the second network interface 1501 is configured to receive and send signals during a process of sending and receiving information with other external network elements.
  • a second memory 1502 configured to store a computer program capable of running on the second processor 1503;
  • the second processor 1503 is configured to, when running the computer program, execute:
  • the components of the specific hardware structure of the network device 140 in this embodiment are similar to the corresponding portions in the fourth embodiment, and details are not described herein.
  • the second processor 1503 in the network device 140 is further configured to execute the method steps described in the foregoing second embodiment when running the computer program, and details are not described herein again.
  • an embodiment of the present application further provides a system for service transmission.
  • the system may include the network device 110 described in the fourth embodiment and the network device 140 described in the fifth embodiment. It should be noted that the system can implement the process steps described in the third embodiment, and details are not described herein again.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

Disclosed in the embodiments of the present application are a service transmission method, a device and a computer storage medium. The method comprises: dicing, according to a preset length, data of a service to be transmitted, so as to obtain at least one data block; packaging each data block separately according to a preset message format to obtain at least one message to be transmitted; parsing each said message, and determining a sending direction of each said message; scheduling said messages with the same sending direction and processing manner in a same service flow, and sending, according to a configured transmission speed, the service flow to an exclusive network interface or an exclusive time slot of a network interface.

Description

一种业务传输的方法、设备及计算机存储介质Method, equipment and computer storage medium for service transmission
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201810880267.2、申请日为2018年08月03日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on a Chinese patent application with an application number of 201810880267.2 and an application date of August 03, 2018, and claims the priority of the Chinese patent application. The entire contents of the Chinese patent application are incorporated herein by reference.
技术领域Technical field
本申请涉及通信技术领域但不限于通信技术领域,尤其涉及一种业务传输的方法、设备及计算机存储介质。The present application relates to the field of communication technology, but is not limited to the field of communication technology, and in particular, to a method, a device, and a computer storage medium for service transmission.
背景技术Background technique
随着通信技术的发展,互联网、有线电视网以及电信通讯网络三网相互融合,并逐渐形成一个统一的网络系统。而在这三种网络中,电信通讯网络的传输技术需要从同步数字体系(SDH,Synchronous Digital Hierarchy)技术转变为以分组传输技术为主的以太网技术。With the development of communication technology, the three networks of the Internet, cable television network and telecommunication communication network merge with each other, and gradually form a unified network system. In these three networks, the transmission technology of the telecommunication communication network needs to change from the synchronous digital hierarchy (SDH, Synchronous Digital Hierarchy) technology to the Ethernet technology based on packet transmission technology.
对于SDH技术来说,其是一种电路传输技术,具体是在两个客户端之间建立一条专用且独享的电路通道来传输信息,其优势是传输延迟时间短,延迟抖动小,可靠性高,非常适合话音业务的传输;但是当这两个客户端之间没有信息传输时,只要这条专用通道没有被撤销,那么该专用的电路通道仍旧处于两个客户端独享的状态,导致其他客户不能使用,传递效率低。而对于分组传输技术来说,两个客户之间采用报文格式来传输信息, 具体方案是在两个客户端之间建立一条虚拟的传输通道,两个客户端通过该虚拟通道传输报文,虚拟通道可以建立在物理实体通道上,所有客户端均共享物理实体通道的带宽资源。当两个客户端之间没有信息传递时,虚拟传递通道的带宽资源共享给其他客户端使用,从而具有良好的复用特性,保证带宽不会被浪费,因此传递效率高,传递成本低。For SDH technology, it is a circuit transmission technology. Specifically, a dedicated and exclusive circuit channel is established between two clients to transmit information. Its advantages are short transmission delay time, small delay jitter, and reliability. High, very suitable for the transmission of voice services; but when there is no information transmission between the two clients, as long as the dedicated channel is not revoked, the dedicated circuit channel is still in the exclusive state of the two clients, resulting in It cannot be used by other customers, and the delivery efficiency is low. For packet transmission technology, a message format is used to transmit information between two clients. The specific solution is to establish a virtual transmission channel between the two clients, and the two clients transmit messages through the virtual channel. A virtual channel can be established on a physical entity channel, and all clients share the bandwidth resources of the physical entity channel. When there is no information transmission between the two clients, the bandwidth resources of the virtual transmission channel are shared with other clients, which has good multiplexing characteristics and ensures that bandwidth is not wasted. Therefore, the transmission efficiency is high and the transmission cost is low.
目前,在三网融合的网络中报文在发送时存在不确定的时间延迟,以及该时间延迟波动带来的抖动。此外,在三网融合的过程中,利用分组传输技术传输话音业务时,上述问题会造成话音业务的传输质量下降,无法实现话音业务高质量的传输。At present, in a triple-play network, there is an uncertain time delay when sending a message, and the jitter caused by the time delay fluctuation. In addition, during the integration of the three networks, when the packet transmission technology is used to transmit the voice service, the above problems will cause the transmission quality of the voice service to decline, and high-quality transmission of the voice service cannot be achieved.
发明内容Summary of the invention
本申请实施例期望提供一种业务传输的方法、设备及计算机存储介质。The embodiments of the present application are expected to provide a method, a device, and a computer storage medium for service transmission.
本申请的技术方案是这样实现的:The technical solution of this application is implemented as follows:
第一方面,本申请实施例提供了一种业务传输的方法,所述方法包括:In a first aspect, an embodiment of the present application provides a method for service transmission. The method includes:
将待传输业务的数据按照预设长度进行切块,获得至少一个数据块;Dicing the data of the service to be transmitted according to a preset length to obtain at least one data block;
将每个所述数据块按照预设的报文格式分别进行封装,获得至少一个待传输报文;Encapsulating each of the data blocks according to a preset message format to obtain at least one message to be transmitted;
分别对每个所述待传输报文进行解析,确定每个所述待传输报文的发送方向;Analyze each of the messages to be transmitted separately to determine a sending direction of each of the messages to be transmitted;
将发送方向相同、处理方式相同的待传输报文调度在同一业务流,并按照设定的传输速度发送所述业务流到独享网络接口或网络接口的独享时隙上。The packets to be transmitted with the same sending direction and the same processing mode are scheduled in the same service flow, and the service flow is sent to the exclusive network interface or the exclusive time slot of the network interface according to the set transmission speed.
第二方面,本申请实施例提供了一种业务传输的方法,所述方法包括:In a second aspect, an embodiment of the present application provides a method for service transmission. The method includes:
将接收到的传输报文进行解封装,获得所述传输报文所承载的数据块 流;Decapsulating the received transmission message to obtain a data block stream carried by the transmission message;
将所述数据块按照设定的编码恢复策略进行反向解码,获得与所述原始业务数据编码方式对应的比特流;Reversely decode the data block according to a set encoding recovery strategy to obtain a bit stream corresponding to the original service data encoding method;
从所述比特流中恢复所述原始业务数据;Recovering the original service data from the bitstream;
将所述原始业务数据发送至客户端。Sending the original service data to the client.
第三方面,本申请实施例提供了一种网络设备,所述网络设备包括:切块部分、封装部分、解析部分、调度部分和第一发送部分;其中,In a third aspect, an embodiment of the present application provides a network device, where the network device includes a dicing part, an encapsulating part, a parsing part, a scheduling part, and a first sending part;
所述切块部分,配置为将待传输业务的数据按照预设长度进行切块,获得至少一个数据块;The dicing part is configured to diced the data of the service to be transmitted according to a preset length to obtain at least one data block;
所述封装部分,配置为将每个所述数据块按照预设的报文格式分别进行封装,获得至少一个待传输报文,并将所述待传输报文按照设定的传输速度传输至所述解析部分;The encapsulation part is configured to encapsulate each of the data blocks according to a preset message format, obtain at least one message to be transmitted, and transmit the message to be transmitted to all the data packets at a set transmission speed. Mentioned parsing part;
所述解析部分,配置为分别对每个所述待传输报文进行解析,确定每个所述待传输报文的发送方向;The parsing section is configured to parse each of the messages to be transmitted separately to determine a sending direction of each of the messages to be transmitted;
所述调度部分,配置为将发送方向相同、处理方式相同的待传输报文调度在同一业务流;The scheduling part is configured to schedule the to-be-transmitted messages in the same sending direction and the same processing mode in the same service flow;
所述第一发送部分,配置为按照设定的传输速度发送所述业务流到独享网络接口,或网络接口中独享时隙。The first sending part is configured to send the service flow to an exclusive network interface or an exclusive time slot in the network interface according to a set transmission speed.
第四方面,本申请实施例提供了一种网络设备,所述网络设备包括:解封装部分、第一恢复部分、第二恢复部分和第二发送部分;其中,In a fourth aspect, an embodiment of the present application provides a network device, where the network device includes: a decapsulation section, a first recovery section, a second recovery section, and a second sending section; wherein,
所述解封装部分,配置为将接收到的传输报文进行解封装,获得所述传输报文所承载的数据块流;The decapsulation part is configured to decapsulate the received transmission message to obtain a data block stream carried by the transmission message;
所述第一恢复部分,配置为将所述数据块按照设定的编码恢复策略进行反向解码,获得与所述原始业务数据编码方式对应的比特流;The first recovery part is configured to reversely decode the data block according to a set encoding recovery strategy to obtain a bit stream corresponding to the original service data encoding method;
所述第二恢复部分,配置为从所述比特流中恢复所述原始业务数据;The second recovery part is configured to recover the original service data from the bitstream;
所述第二发送部分,配置为将原始业务数据发送至客户端。The second sending part is configured to send the original service data to the client.
第五方面,本申请实施例提供了一种网络设备,其中,所述网络设备包括第一网络接口,第一存储器和第一处理器;其中,所述第一网络接口,配置为在与其他外部网元之间进行收发信息过程中,信号的接收和发送;所述第一存储器,配置为存储能够在所述第一处理器上运行的计算机程序;所述第一处理器,配置为在运行所述计算机程序时,执行第一方面所述方法的步骤。In a fifth aspect, an embodiment of the present application provides a network device, where the network device includes a first network interface, a first memory, and a first processor; and the first network interface is configured to communicate with other devices. The receiving and sending of signals during the process of transmitting and receiving information between external network elements; the first memory is configured to store a computer program capable of running on the first processor; the first processor is configured to When the computer program is run, the steps of the method according to the first aspect are performed.
第六方面,本申请实施例提供了一种网络设备,所述网络设备包括:第二网络接口、第二存储器和第二处理器;其中,所述第二网络接口,配置为在与其他外部网元之间进行收发信息过程中,信号的接收和发送;所述第二存储器,配置为存储能够在第二处理器上运行的计算机程序;所述第二处理器,配置为在运行所述计算机程序时,执行第二方面所述方法的步骤。According to a sixth aspect, an embodiment of the present application provides a network device. The network device includes a second network interface, a second memory, and a second processor. The second network interface is configured to communicate with other external devices. During the process of transmitting and receiving information between network elements, the reception and transmission of signals; the second memory is configured to store a computer program capable of running on a second processor; and the second processor is configured to run the When the computer program executes the steps of the method described in the second aspect.
第七方面,本申请实施例提供了一种计算机存储介质,所述计算机存储介质存储有业务传输的程序,所述业务传输的程序被至少一个处理器执行时实现第一方面或第二方面所述业务传输的方法的步骤。In a seventh aspect, an embodiment of the present application provides a computer storage medium that stores a program for service transmission, and the program for service transmission implements the first aspect or the second aspect when executed by at least one processor. The steps of the method for service transmission are described.
本申请实施例提供了一种业务传输的方法、设备及计算机存储介质;将待传输业务的数据按照统一的预设长度进行切块后,按照设定的传输速度进行解析与发送,从而实现了待传输业务在传输过程中以稳定的速度进行传输,延迟时间很短,延迟波动很小,业务的传输质量接近SDH网络的传输质量。The embodiments of the present application provide a method, a device, and a computer storage medium for service transmission. After the data of the service to be transmitted is cut into blocks according to a uniform preset length, analysis and transmission are performed according to a set transmission speed, thereby achieving The services to be transmitted are transmitted at a stable speed during the transmission process. The delay time is short, the delay fluctuation is small, and the transmission quality of the service is close to that of the SDH network.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请实施例提供的一种通信网络架构示意图;FIG. 1 is a schematic diagram of a communication network architecture according to an embodiment of the present application; FIG.
图2为本申请实施例提供的一种报文传输流程示意图;2 is a schematic diagram of a message transmission process according to an embodiment of the present application;
图3为本申请实施例提供的一种业务传输的方法流程示意图;3 is a schematic flowchart of a service transmission method according to an embodiment of the present application;
图4为本申请实施例提供的一种发送端报文处理流程示意图;FIG. 4 is a schematic flowchart of a sending end message processing according to an embodiment of the present application; FIG.
图5为本申请实施例提供的一种多路选择示意图;FIG. 5 is a schematic diagram of multiple channel selection according to an embodiment of the present application; FIG.
图6为本申请实施例提供的一种OTN帧形成示意图;6 is a schematic diagram of forming an OTN frame according to an embodiment of the present application;
图7为本申请实施例提供的另一种业务传输的方法流程示意图;7 is a schematic flowchart of another service transmission method according to an embodiment of the present application;
图8为本申请实施例提供的一种目的端报文处理流程示意图;FIG. 8 is a schematic diagram of a destination message processing flow according to an embodiment of the present application; FIG.
图9为本申请实施例提供的一种业务传输的方法详细流程示意图;9 is a detailed flowchart of a service transmission method according to an embodiment of the present application;
图10A为本申请实施例提供的一种具体示例的流程示意图;FIG. 10A is a schematic flowchart of a specific example provided by an embodiment of the present application; FIG.
图10B为本申请实施例提供的另一种具体示例的流程示意图;FIG. 10B is a schematic flowchart of another specific example according to an embodiment of the present application; FIG.
图10C为本申请实施例提供的又一种具体示例的流程示意图;10C is a schematic flowchart of still another specific example provided by an embodiment of the present application;
图11为本申请实施例提供的一种网络设备的组成示意图;FIG. 11 is a schematic structural diagram of a network device according to an embodiment of the present application; FIG.
图12为本申请实施例提供的另一种网络设备的组成示意图;FIG. 12 is a schematic structural diagram of another network device according to an embodiment of the present application; FIG.
图13为本申请实施例提供的一种网络设备的具体硬件结构示意图;13 is a schematic diagram of a specific hardware structure of a network device according to an embodiment of the present application;
图14为本申请实施例提供的又一种网络设备的组成示意图;14 is a schematic structural diagram of still another network device according to an embodiment of the present application;
图15为本申请实施例提供的另一种网络设备的具体硬件结构示意图。FIG. 15 is a schematic diagram of a specific hardware structure of another network device according to an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
参见图1,其示出了本申请实施例提供的一种能够应用分组传输技术的通信网络100架构示意,在该通信网络100中,包括多个客户端设备以及多个网络节点设备。客户端设备分别是客户端1、客户端2、客户端3以及客户端4;而网络节点设备分别包括节点A、节点B、节点C、节点D、节点E以及节点F。如图1所示,当客户端1与客户端2汇总将需要传输信 息时,可以在客户端1和客户端2之间建立一条如点划线所示的虚拟传输通道1,该传输通道1分别经过节点A、节点B、节点C和节点D。在该传输通道1中,客户端1和客户端2被称为客户端边缘(CE,Customer Edge)设备;节点A和节点D由于分别与客户端1和客户端2相连接,被称为运营商边缘(PE,Provider Edge)设备;而在该传输通道中,节点B和节点C仅负责信息的数据交换,因此被称为运营商(P,Provider)设备。同理,当客户端3与客户端4之间建立一条如虚线所示的虚拟传输通道2,则对于该传输通道2来说,节点A和节点C可以被称为PE设备,节点B被称为P设备。针对上述两个传输通道,由图中可以看出,传输通道1与传输通大2共享节点A至节点B至节点C这段物理实体通道。可以理解地,当客户端1和客户端2之间没有报文发送时,传输通道1处于空闲状态,释放出带宽资源,这时传输通道2就可以共享传输通道1所释放的带宽资源,于是传输通道2的带宽增大了,避免了带宽浪费。Referring to FIG. 1, it illustrates a schematic architecture of a communication network 100 capable of applying a packet transmission technology according to an embodiment of the present application. The communication network 100 includes multiple client devices and multiple network node devices. The client devices are Client 1, Client 2, Client 3, and Client 4; and network node devices include Node A, Node B, Node C, Node D, Node E, and Node F, respectively. As shown in FIG. 1, when the client 1 and the client 2 collectively need to transmit information, a virtual transmission channel 1 as shown by a dotted line can be established between the client 1 and the client 2. The transmission channel 1 Pass node A, node B, node C, and node D, respectively. In this transmission channel 1, client 1 and client 2 are called client edge (CE, Customer Edge) devices; node A and node D are called operations because they are connected to client 1 and client 2, respectively. Provider edge (PE, Provider Edge) equipment; and in this transmission channel, node B and node C are only responsible for information data exchange, so they are called operator (P, Provider) equipment. Similarly, when a virtual transmission channel 2 as shown by a dotted line is established between the client 3 and the client 4, for the transmission channel 2, the node A and the node C can be called PE devices, and the node B is called For P devices. For the above two transmission channels, it can be seen from the figure that the transmission channel 1 and the transmission channel 2 share the physical entity channel from node A to node B to node C. Understandably, when there is no message sent between the client 1 and the client 2, the transmission channel 1 is idle and the bandwidth resource is released. At this time, the transmission channel 2 can share the bandwidth resource released by the transmission channel 1. The bandwidth of transmission channel 2 is increased to avoid wasting bandwidth.
需要说明的是,上述通信网络100不仅可以适用于以太网,还能够适用于光传输网(OTN,Optical Transport Network)和灵活以太网(FlexE,Flexible Ethernet)等以分组传输为技术基础的通信网络,本申请实施例对此不做赘述。It should be noted that the above-mentioned communication network 100 can be applied not only to Ethernet, but also to communication networks based on packet transmission, such as Optical Transmission Network (OTN, Optical Transport Network) and Flexible Ethernet (FlexE, Flexible Ethernet). This is not described in the embodiment of the present application.
以图1为例,在进行信息传输的过程中,通常会采用报文方式传输信息,每个报文的长度不定,通常为64字节至1518字节。当客户端1没有报文需要传输至客户端2时,传输通道1的带宽可以共享给其他客户端使用,比如,可以共享给传输通道2使用。而当客户端1需要传输报文至客户端2时,如果传输通道2正在被客户端3和客户端4所使用,那么就需要等待客户端3和客户端4传输完成后才能用使用传输通道1。因此,通过分组传输的过程中,在发送报文时会存在不确定的时间延迟,从而导致报文在传输上存在延迟和抖动。Taking Figure 1 as an example, in the process of information transmission, information is usually transmitted in a message mode, and the length of each message is variable, usually 64 bytes to 1518 bytes. When the client 1 has no message to transmit to the client 2, the bandwidth of the transmission channel 1 can be shared with other clients, for example, it can be shared with the transmission channel 2 for use. When client 1 needs to transmit a message to client 2, if transmission channel 2 is being used by client 3 and client 4, then you need to wait for client 3 and client 4 to complete the transmission before using the transmission channel. 1. Therefore, in the process of packet transmission, there will be an uncertain time delay when sending a message, resulting in delay and jitter in the transmission of the message.
对于通信设备来说,图2则示出了在进行报文传输过程中的具体流程,可以看出,在对物理入口接收到的报文进行解析和分类后,可以根据报文的特征信息,例如报文的MAC地址、IP地址、优先级等内容,确定报文的发送端口,根据报文出口和优先级排队,如图中队列1、队列2、...队列n,然后等待调度输出到物理出口。从中可以看出,调度器可以按照预定的调度算法从不同队列中调出报文,发送到物理出口上发送出去。由于每个报文的长度不等,即使调度算法可以保证报文有确定的输出带宽,但是当一个报文需要发送输出时,需要等待上一个报文发送结束后才能发送下一个报文,等待时间是不确定的,延迟时间的不确定也带来了延迟抖动。报文每经过一个网络节点设备都存在不同程度的延迟和抖动,当通过多台设备后会积累的延迟时间和延迟抖动非常大,从而导致分组传输过程中传输质量的不稳定,当需要传输高质量的话音业务时,例如电力网、军网、铁路网等大客户专线业务,会导致话音业务质量下降很大,无法满足这类专线业务的质量需求。For communication equipment, Figure 2 shows the specific flow in the process of message transmission. It can be seen that after parsing and classifying the message received by the physical portal, it can be based on the characteristic information of the message. For example, the message's MAC address, IP address, priority, etc., determine the sending port of the message, queue according to the message exit and priority, such as queue 1, queue 2, ... queue n in the figure, and then wait for scheduled output To the physical exit. It can be seen that the scheduler can call out packets from different queues according to a predetermined scheduling algorithm and send them to the physical outlet for sending. Because the length of each message is different, even if the scheduling algorithm can ensure that the message has a certain output bandwidth, when a message needs to send output, it needs to wait for the previous message to be sent before sending the next message, waiting Time is uncertain, and the uncertainty of delay time also brings delay jitter. Each time a packet passes through a network node device, there are different degrees of delay and jitter. The delay time and delay jitter accumulated when passing through multiple devices are very large, resulting in unstable transmission quality during packet transmission. In the case of high-quality voice services, such as the dedicated line services of large customers such as the power network, military network, and railway network, the quality of the voice service is greatly reduced, and the quality requirements of such dedicated line services cannot be met.
总之,就分组传输技术来说,当某一客户端A开始有业务报文传递时,如果其他客户端正在发送报文,那么客户端A就需要等待其他客户端将当前报文发送完成后才能收回虚拟通道的带宽,导致客户端A的报文不能及时发送,因此,在三网融合的网络中报文在发送时存在不确定的时间延迟,以及该时间延迟波动带来的抖动。当一对客户端之间所传递的报文需要经过网上许多中间节点设备时,该报文每经过一个网络的中间节点设备都会引起不同程度的延迟和抖动,经过多台中间节点设备后会导致延迟和抖动的积累,导致业务传输质量下降严重。因此,在三网融合的过程中,利用分组传输技术传输话音业务时,上述问题会造成话音业务的传输质量下降,无法实现话音业务高质量的传输In short, in terms of packet transmission technology, when a client A starts to deliver business messages, if other clients are sending messages, then client A needs to wait for other clients to send the current message. Recalling the bandwidth of the virtual channel causes the client A's message to be sent in a timely manner. Therefore, in the three-network converged network, there is an uncertain time delay when sending the message, and the jitter caused by the time delay fluctuation. When a message transmitted between a pair of clients needs to pass through many intermediate node devices on the network, each time the message passes through an intermediate node device on the network, it will cause different degrees of delay and jitter. After passing through multiple intermediate node devices, it will cause The accumulation of delays and jitters causes serious degradation in service transmission quality. Therefore, during the integration of the three networks, when the packet transmission technology is used to transmit the voice service, the above problems will cause the transmission quality of the voice service to decline, and the high-quality transmission of the voice service cannot be achieved.
本申请实施例基于图1所示的网络架构提出以下技术方案。The embodiment of the present application proposes the following technical solution based on the network architecture shown in FIG. 1.
参见图3,其示出了本申请实施例提供的一种业务传输的方法,该方法可以应用于进行业务传输的发送端PE设备,该方法可以包括:Referring to FIG. 3, which illustrates a service transmission method provided by an embodiment of the present application. The method may be applied to a sending PE device that performs service transmission. The method may include:
S301:将待传输业务的数据按照预设长度进行切块,获得至少一个数据块;S301: Divide the data of the service to be transmitted according to a preset length to obtain at least one data block;
S302:将每个所述数据块按照预设的报文格式分别进行封装,获得至少一个待传输报文;S302: Encapsulate each of the data blocks according to a preset message format to obtain at least one message to be transmitted;
S303:分别对每个所述待传输报文进行解析,确定每个所述待传输报文的发送方向;S303: Parse each of the messages to be transmitted separately, and determine a sending direction of each of the messages to be transmitted;
S304:将发送方向相同、处理方式相同的待传输报文调度在同一业务流,并按照设定的传输速度发送所述业务流到独享网络接口或网络接口的独享时隙上。S304: Schedule the to-be-transmitted messages with the same sending direction and the same processing method in the same service flow, and send the service flow to the exclusive network interface or the exclusive time slot of the network interface according to the set transmission speed.
对于图3所示的技术方案,需要说明的是,处理方式可以表示针对待传输业务的数据按照步骤S301至S303进行处理的过程。可以看出,将待传输业务的数据按照统一的预设长度进行切块后,按照设定的传输速度进行解析与发送,发送的网络接口或网络接口上的时隙是独享的,从而实现了待传输业务在传输过程中以稳定的速度进行传输,延迟时间很短,延迟波动很小,业务的传输质量接近SDH网络的传输质量。For the technical solution shown in FIG. 3, it should be noted that the processing manner may indicate a process of processing data of a service to be transmitted according to steps S301 to S303. It can be seen that after cutting the data of the service to be transmitted according to a uniform preset length, the data is parsed and transmitted according to the set transmission speed. The network interface or the time slot on the network interface is exclusive, so as to achieve It is realized that the service to be transmitted is transmitted at a stable speed during the transmission process, the delay time is short, the delay fluctuation is small, and the transmission quality of the service is close to that of the SDH network.
对于图3所示的技术方案,在一种可能的实现方式中,所述待传输业务的数据包括通过物理接口接收到的比特流,和/或通过用户接口接收到的报文数据。For the technical solution shown in FIG. 3, in a possible implementation manner, the data of the service to be transmitted includes a bit stream received through a physical interface, and / or message data received through a user interface.
对于上述实现方式,优选地,相应于所述待传输业务的数据为通过物理接口接收到的比特流,所述将待传输业务的数据按照预设长度进行切块,获得至少一个数据块,包括:For the above implementation manner, preferably, the data corresponding to the service to be transmitted is a bit stream received through a physical interface, and the data of the service to be transmitted is sliced according to a preset length to obtain at least one data block, including: :
将所述通过物理接口接收到的比特流按照所述预设长度进行切块,获得至少一个数据块;Dicing the bit stream received through the physical interface according to the preset length to obtain at least one data block;
或者,将所述通过物理接口接收到的比特流按照设定的编码策略进行编码后,将编码后的比特流按照所述预设长度进行切块,获得至少一个数据块。Alternatively, after the bit stream received through the physical interface is encoded according to a set encoding strategy, the encoded bit stream is divided into blocks according to the preset length to obtain at least one data block.
对于上述实现方式,优选地,相应于所述待传输业务的数据为通过用户接口接收到的报文数据,所述将待传输业务的数据按照预设长度进行切块,获得至少一个数据块,包括:For the foregoing implementation manner, preferably, the data corresponding to the service to be transmitted is message data received through a user interface, and the data of the service to be transmitted is cut into blocks according to a preset length to obtain at least one data block, include:
将所述报文数据按照设定的编码策略进行编码;Encode the message data according to a set encoding strategy;
调整编码后的报文数据的传输速度并缓存所述编码后的报文数据;Adjusting the transmission speed of the encoded message data and buffering the encoded message data;
将缓存的所述编码后的报文数据按照所述预设长度进行切块,获得至少一个数据块。The buffered encoded message data is cut into blocks according to the preset length to obtain at least one data block.
需要说明的是,以图1中所示的传输通道1为例,设定客户端1向客户端2发送待传输业务,该业务可以是需要保证传输质量的专线业务,那么对于节点A来说,其与客户端1之间的客户接口可以是物理接口也可以是用户接口。当客户接口是物理接口时,在物理接口上检测客户信号和比特流信息,可以对客户比特流进行定长切片。例如,当客户接口是1G的以太网接口时,客户的物理接口在PCS层采用8b/10b编码(即表示8比特长度转为10比特长度),物理编码子层(PCS,Physical Coding Sublayer)层检测到的是10b编码后的比特流,将比特流切割成定长的信息块,然后封装成以太网报文。当客户接口是10G、40G的以太网接口时,PCS层编码格式采用64b/66b编码(即64比特长度转为66比特长度),基于PCS检测、提取出的是编码后的66比特长度的块流,直接按照66比特块流切割成固定长度,然后封装成以太网报文。It should be noted that, taking the transmission channel 1 shown in FIG. 1 as an example, the client 1 is set to send a service to be transmitted to the client 2. The service may be a dedicated line service that needs to ensure transmission quality. The client interface between the client 1 and the client 1 may be a physical interface or a user interface. When the client interface is a physical interface, the client signal and bit stream information are detected on the physical interface, and a fixed-length slice of the client bit stream can be performed. For example, when the customer interface is a 1G Ethernet interface, the customer's physical interface uses 8b / 10b encoding at the PCS layer (that is, 8-bit length is converted to 10-bit length), and the physical coding sublayer (PCS, Physical Coding Sublayer) layer The 10b-encoded bit stream is detected, the bit stream is cut into fixed-length information blocks, and then encapsulated into Ethernet packets. When the customer interface is a 10G, 40G Ethernet interface, the PCS layer encoding format uses 64b / 66b encoding (that is, the 64-bit length is converted to 66-bit length). Based on the PCS detection, the encoded 66-bit length block is extracted. The stream is directly cut into a fixed length according to the 66-bit block stream, and then encapsulated into an Ethernet message.
当客户接口为用户接口时,接收到的是报文数据,比如以太网报文,首先可以对以太网报文进行编码(此时可以采用各种编码方式,由于64b/66b编码效率比较高,方便进行速度调整,可以采用64b/66b编码方式, 在本申请实施例中均以64b/66b为示例,但不代表排除其他编码方式使用的可能性),对编码后的66比特块流进行缓存,在缓存时进行速度调整。当缓存深度朝向快空方向移动时,在66比特块流中插入空闲idle块(即66比特长的控制块,用来指示本信息块是一个空闲的信息块);当缓存深度朝向快满方向移动时,在66比特块流中删除空闲块或其他信息块,这样就可以保证缓存不会溢出。从缓存中读出66比特长的块流,切割成固定长度,然后封装成以太网报文。When the client interface is a user interface, the received message data, such as an Ethernet message, can first encode the Ethernet message (at this time, various encoding methods can be used. Because 64b / 66b encoding is more efficient, Convenient for speed adjustment, 64b / 66b encoding can be used. In the examples of this application, 64b / 66b is used as an example, but it does not mean that the possibility of using other encoding methods is excluded.) The encoded 66-bit block stream is cached. , Speed adjustment while caching. When the buffer depth moves towards the fast space direction, an idle idle block is inserted into the 66-bit block stream (that is, a 66-bit long control block is used to indicate that this information block is an idle information block); when the buffer depth is toward the fast full direction When moving, delete free blocks or other information blocks in the 66-bit block stream, so as to ensure that the buffer will not overflow. Read a 66-bit long block stream from the buffer, cut it into a fixed length, and then encapsulate it into an Ethernet message.
对于该实现方式,需要说明的是,相应于所述编码后的比特流或所述编码后的报文数据为66比特流,则所述预设长度为66比特的整数倍;或者,For this implementation, it should be noted that, corresponding to the encoded bit stream or the encoded message data is a 66 bit stream, the preset length is an integer multiple of 66 bits; or,
相应于所述编码后的比特流或所述编码后的报文数据为65比特流,则所述预设长度为65比特的整数倍;或者,Corresponding to the encoded bit stream or the encoded message data is a 65-bit stream, the preset length is an integer multiple of 65 bits; or,
相应于所述编码后的比特流或所述编码后的报文数据为10比特流,则所述预设长度为10比特的整数倍。Corresponding to the encoded bit stream or the encoded message data is a 10-bit stream, the preset length is an integer multiple of 10 bits.
对于图3所示的技术方案,在一种可能的实现方式中,所述将所述数据块按照预设的报文格式进行封装,获得待传输报文,包括:For the technical solution shown in FIG. 3, in a possible implementation manner, the encapsulating the data block according to a preset message format to obtain a message to be transmitted includes:
将每个所述数据块按照以太网报文格式进行封装,获得至少一个待传输的以太网报文。Encapsulating each of the data blocks according to an Ethernet message format to obtain at least one Ethernet message to be transmitted.
对于上述实现方式,优选地,所述将每个所述数据块按照以太网报文格式进行封装,获得至少一个待传输的以太网报文,包括:For the foregoing implementation manner, preferably, encapsulating each of the data blocks according to an Ethernet packet format to obtain at least one Ethernet packet to be transmitted includes:
将每个所述数据块的多协议标签交换(MPLS,Multi-Protocol Label Switching)协议标签封装至所述待传输的以太网报文;其中,所述数据块的MPLS协议标签至少包括以下一项:伪线标签、隧道标签和伪线控制字。Encapsulating a multi-protocol label switching (MPLS) protocol label of each data block to the Ethernet packet to be transmitted; wherein the MPLS protocol label of the data block includes at least one of the following items : Pseudowire label, tunnel label, and pseudowire control word.
对于上述实现方式,优选地,所述将每个所述数据块按照以太网报文格式进行封装,获得至少一个待传输的以太网报文,包括:For the foregoing implementation manner, preferably, encapsulating each of the data blocks according to an Ethernet packet format to obtain at least one Ethernet packet to be transmitted includes:
将每个所述数据块的附属信息封装至所述待传输的以太网报文;其中,所述数据块的附属信息至少包括以下一项:序列号、时钟信息和时戳值。Encapsulate the ancillary information of each data block to the Ethernet message to be transmitted; wherein the ancillary information of the data block includes at least one of the following: a serial number, a clock information, and a time stamp value.
需要说明的是,本实施例还可以采用其他报文格式进行封装,在此仅以以太网报文格式进行说明,在按照以太网报文格式进行封装的过程中,需要增加30字节左右(6字节的源MAC地址、6字节的目的MAC字节、2字节报文类型、4字节为伪线标签、4字节的隧道标签、4字节的控制字、4字节的循环冗余校验(CRC,Cyclic Redundancy Check),如表1所示,以65比特编码为例,以太网报文结构如下:It should be noted that this embodiment can also use other message formats for encapsulation. Here, only the Ethernet message format is used for description. In the process of encapsulation according to the Ethernet message format, about 30 bytes need to be added ( 6-byte source MAC address, 6-byte destination MAC byte, 2-byte message type, 4-byte pseudo-wire label, 4-byte tunnel label, 4-byte control word, 4-byte Cyclic Redundancy Check (CRC), as shown in Table 1, with 65-bit encoding as an example, the structure of the Ethernet packet is as follows:
Figure PCTCN2019091934-appb-000001
Figure PCTCN2019091934-appb-000001
表1Table 1
对于表1,为了加快报文的解析速度,快速确定报文的传递通道,采用MPLS标签交换技术来实现报文调度交换。在报文中增加了标签值,可以包括隧道标签、伪线标签、以及伪线控制字等字段。报文内容部分用来承载固定切块长度,表1是在65比特块流上进行切块,报文内容部分的长度是32个65比特长度,即260个字节(即1个字节等于8个比特)。封装后以太网报文按照固定速度进行汇聚和输出。在MPLS标签交换技术中,以太网报文封装有隧道标签和伪线标签,因此,可以采用标签值进行报文解析,而不是采用MAC地址、IP地址等信息进行解析,从而加速报文的查表速度,提高处理速度。标签值可确定报文属于哪个客户、通过哪条通道传输,因此在对报文数据内容进行切块、封装时可在报文封装上增加一、两层标签,即隧道标签和伪线标签。按照MPLS协议,伪线标签用来表示客户属性,隧道标签表示客户传输路径,用隧道标签来表示传输路径相同的不同客户。通过标签值,确定每条业务流的传输路径,在传输路径上的每个节点设备上为该客户预留独立的网络接口或网络接口上独立时隙。For Table 1, in order to speed up the parsing speed of the message and quickly determine the transmission channel of the message, MPLS label switching technology is used to implement message scheduling and exchange. A label value is added to the message, which may include fields such as a tunnel label, a pseudo-line label, and a pseudo-line control word. The content part of the message is used to carry a fixed slicing length. Table 1 is for slicing on a 65-bit block stream. The length of the content part is 32 65-bit lengths, that is, 260 bytes (that is, 1 byte is equal to 8 bits). The encapsulated Ethernet packets are aggregated and output at a fixed speed. In MPLS label switching technology, Ethernet packets are encapsulated with tunnel labels and pseudowire labels. Therefore, instead of parsing information such as MAC addresses and IP addresses, label values can be used for packet analysis, which speeds up packet inspection. Table speed to increase processing speed. The label value can determine which client the message belongs to and which channel is transmitted. Therefore, when the data content of the message is cut and encapsulated, one or two layers of labels can be added to the message package, namely the tunnel label and the pseudo-wire label. According to the MPLS protocol, pseudo-wire labels are used to represent customer attributes, tunnel labels represent customer transmission paths, and tunnel labels represent different customers with the same transmission path. Through the label value, the transmission path of each service flow is determined, and an independent network interface or an independent time slot on the network interface is reserved for the client on each node device on the transmission path.
需要说明的是,在伪线控制字中,可以包括序列号、时钟信息、时戳值等,用来监控报文是否有丢失、恢复客户业务时钟、延迟时间等信息。当切片长度越大,则报文承载的切块内容长度越大,封装效率越高。由于报文长度越长,当两条业务流的报文向同一个方向汇聚时,如果在调度时间上没有错开,当两条业务流同时到达时,只能轮流输出,一条业务先输出,另外一条等待输出。报文越长,后一条业务流需要等待的时间就越长。当切块长度越短,则报文承载的切块内容长度越短,封装效率越低。但当两条业务流报文同时向同一个方向汇聚时,等待输出的报文等待时间就越短。以64b/66b编码为例,64b/66b编码后的业务流在解码时,需要寻找66b块长度的边界,由于寻找66b块边界过程需要花费的时间很长,为了省去封装报文中寻找66b块边界过程,切块的固定长度可以66b的整数倍,这样可以按照66比特块整块进行切割,切块中所有信息比特都是完整的66比特块,切块第一个比特就是第一个66比特块的第一个比特,64/66b解码时省略了寻找66比特块边界的工作。同样道理,如果是在65比特块流上进行切块,则切块长度可以是65比特的整数倍;如果是10比特块流上进行切块,则切块长度可以是10比特的整数倍。It should be noted that the pseudo-wire control word may include serial number, clock information, time stamp value, etc., and is used to monitor whether a message is lost, recover customer service clock, delay time and other information. When the slice length is larger, the length of the slice content carried in the message is larger, and the encapsulation efficiency is higher. Due to the longer message length, when the packets of two service flows converge in the same direction, if there is no stagger in the scheduling time, when the two service flows arrive at the same time, they can only be output in turn, one service is output first, and the other One is waiting for output. The longer the message, the longer the latter service flow has to wait. The shorter the cut length, the shorter the cut content length carried in the message, and the lower the encapsulation efficiency. However, when two service flow packets converge in the same direction at the same time, the waiting time of the packets waiting for output is shorter. Take the 64b / 66b encoding as an example. When decoding the 64b / 66b encoded service stream, it is necessary to find the boundary of the 66b block length. Because the process of finding the boundary of the 66b block takes a long time, in order to save the encapsulation message and look for 66b In the block boundary process, the fixed length of the dicing block can be an integer multiple of 66b, so that the entire block can be cut according to the 66-bit block. All information bits in the dicing block are complete 66-bit blocks. For the first bit of a 66-bit block, the work of finding the boundary of a 66-bit block is omitted during 64 / 66b decoding. Similarly, if the dicing is performed on a 65-bit block stream, the dicing length may be an integer multiple of 65 bits; if the dicing is performed on a 10-bit block stream, the dicing length may be an integer multiple of 10 bits.
对于10M、100M、1G的以太网接口来说,物理PHY层采用4b/5b、8b/10b等编码格式。当物理PHY层采用8b/10b编码时,将8比特长度变成10比特长度来传输特殊功能信息,传输时需要带宽额外增加25%,即10M的业务流需要12.5M传输带宽,传输通道的带宽利用率只有80%。如果在编码后的10比特上进行切割,报文的封装效率也是90%,则带宽利用率只有72%。对10b编码进行重新编码,将8个10b编码块转化成一个65比特长度的编码块(具体转化过程可以参见G.7041/Y.1303标准2005版8.1.1章节),将8个10b编码数据流转换成一个65比特块流,在65比特块流上切块,这样报文的最高承载效率从80%提高到98.46%。当在65比特快流上 进行切块时,为了省去解码时寻找65比特块的边界活动,切块长度可以是65比特长度的整数倍,这样切块中所有信息比特都是完整的65比特块,切块第一个比特就是第一个65b比特块中的第一个比特,65b块解码时省去了寻找65b块的边界工作。在实现中也可以将65比特块再编码成66比特块,这样切换前的比特流是66比特长度的比特流,和10G、40G接口PCS层编码长度一致。当物理层采用4b/5b编码时,可以直接在编码后的5比特长度块流上进行切块,切块长度是5比特的整数倍;也可以将两个5比特长度的码块当成一个10比特长的码块,按照8b/10b转65b的规则,将8个10b编码数据块转换成一个65比特块,在65比特块流上进行切割。For 10M, 100M, 1G Ethernet interfaces, the physical PHY layer uses 4b / 5b, 8b / 10b and other coding formats. When the physical PHY layer uses 8b / 10b encoding, the 8-bit length is changed to 10-bit length to transmit special function information, and the bandwidth needs to be increased by 25% during transmission. That is, a 10M service flow requires 12.5M transmission bandwidth and the bandwidth of the transmission channel. The utilization rate is only 80%. If cutting is performed on the encoded 10 bits, the encapsulation efficiency of the message is also 90%, and the bandwidth utilization is only 72%. Re-encode the 10b code, convert 8 10b coded blocks into a 65-bit length coded block (for the specific conversion process, see the 8.1.1 chapter of the G.7041 / Y.1303 standard 2005 edition), and convert the 8 10b coded data The stream is converted into a 65-bit block stream and cut on the 65-bit block stream. In this way, the maximum bearer efficiency of the message is increased from 80% to 98.46%. When cutting on a 65-bit fast stream, in order to avoid the need to find the boundary of 65-bit blocks during decoding, the length of the cutting block can be an integer multiple of the length of 65 bits, so that all information bits in the cutting block are complete 65 bits Block, the first bit of the slicing block is the first bit in the first 65b bit block, and the 65b block decoding eliminates the need to find the boundary of the 65b block. In the implementation, the 65-bit block can also be re-encoded into a 66-bit block. In this way, the bit stream before switching is a 66-bit length bit stream, which is consistent with the encoding length of the PCS layer of the 10G and 40G interfaces. When the physical layer uses 4b / 5b encoding, it can be directly cut on the encoded 5-bit length block stream, and the cut length is an integer multiple of 5 bits; two 5-bit code blocks can also be regarded as one 10 Bit-length code blocks are converted into eight 65-bit blocks according to the rule of 8b / 10b to 65b, and cut on the 65-bit block stream.
对于图3所示的技术方案,具体可以是在业务传输的发送端PE设备中设置调度部分,将待传输报文按照设定的传输速度传输至调度部分,传输速度要保证客户信息带宽要求。无论客户业务处于重载还是轻载,封装后的待传输报文始终按照固定速度发送。当业务处于满流量时,待传输报文中承载着大量的客户有用信息;当客户业务处于轻载时,待传输报文中部分是客户有用信息,部分是空闲信息。采用定速发送待传输报文,保证客户的承载通道速度始终不变,无论客户业务有效信息如何改变,承载通道的速度始终恒定不变,不受客户有效业务带宽、网上其他业务速度的影响。For the technical solution shown in FIG. 3, a scheduling part may be specifically set in a transmitting PE device of a service transmission, and a message to be transmitted is transmitted to the scheduling part according to a set transmission speed, and the transmission speed must ensure the client's information bandwidth requirements. Regardless of whether the customer's business is under heavy or light load, the encapsulated packets to be transmitted are always sent at a fixed speed. When the service is full, a large amount of customer useful information is carried in the message to be transmitted; when the customer service is lightly loaded, part of the message to be transmitted is customer useful information and part is idle information. The fixed speed is used to send messages to be transmitted to ensure that the speed of the bearer channel is always the same. No matter how the effective information of the customer's business changes, the speed of the bearer channel is always the same, independent of the effective bandwidth of the customer and the speed of other online services.
对于图3所示的技术方案,所述对所述待传输报文进行解析,确定所述待传输报文的发送方向,具体可以是所有来自客户接口的发送报文进行标签解析,确定报文的传输通道。For the technical solution shown in FIG. 3, the parsing the message to be transmitted and determining the sending direction of the message to be transmitted may specifically be label analysis of all the messages sent from the client interface to determine the message. Transmission channel.
对于图3所示的技术方案,在一种可能的实现方式中,所述将发送方向相同、处理方式相同的待传输报文调度在同一业务流,并按照设定的传输速度发送所述业务流到独享网络接口或网络接口的独享时隙上,可以包括:For the technical solution shown in FIG. 3, in a possible implementation manner, the to-be-sent packets with the same sending direction and the same processing method are scheduled in the same service flow, and the service is sent according to a set transmission speed. Streaming to the exclusive network interface or the exclusive time slot of the network interface can include:
按照轮询调度的方式,将发送方向相同、处理方式相同的待传输报文 调度在同一业务流;Schedule the to-be-transmitted packets with the same sending direction and the same processing method in the same service flow according to the polling scheduling method;
按照设定的传输速度发送所述业务流到独享网络接口或网络接口上独享时隙上。And sending the service flow to an exclusive network interface or an exclusive time slot on the network interface according to the set transmission speed.
对于该实现方式,需要说明的是,由于发送速度是稳定,包长是固定长度,并且针对同一发送方向的专线业务参与调度,调度部分的工作速度可以大于或等于所有参与调度的业务流总速度,调度输出的网络接口(或网络接口的时隙)是独享的,输出速度是稳定的,在稳定工作情况下,专线业务流在网络传输路径中以稳定的速度传输,延迟时间很短,延迟波动很小,业务的传输质量接近SDH网络的传输质量。For this implementation, it should be noted that because the transmission speed is stable, the packet length is a fixed length, and the dedicated line services in the same sending direction participate in the scheduling, the working speed of the scheduling part can be greater than or equal to the total speed of all participating business flows. The network interface (or time slot of the network interface) that schedules the output is exclusive, and the output speed is stable. Under stable operating conditions, the dedicated line service flow is transmitted at a stable speed in the network transmission path, and the delay time is very short. The delay fluctuation is small, and the transmission quality of the service is close to that of the SDH network.
此外,可选地,所述将发送方向相同、处理方式相同的待传输报文调度在同一业务流,并按照设定的传输速度发送所述业务流到独享网络接口或网络接口的独享时隙上,包括:In addition, optionally, the to-be-transmitted messages with the same sending direction and the same processing mode are scheduled in the same service flow, and the service flow is sent to the exclusive network interface or the exclusive sharing of the network interface according to the set transmission speed. On the time slot, including:
当多条业务流中仅有一条业务流能够被调度输出时,通过多路选择的方式将能够被调度输出的业务流进行调度,并按照设定的传输速度发送到独享网络接口或网络接口的独享时隙上。When only one service flow among multiple service flows can be scheduled for output, the service flows that can be scheduled for output are scheduled through multiple selection methods, and sent to the exclusive network interface or network interface according to the set transmission speed Exclusive time slot.
需要说明的是,如果所有报文中只有一条业务流能够发送到客户接口,而不存在多条业务流汇聚成一条业务流时,则可以用多路选择代替轮询调度的方式。It should be noted that if only one service flow in all messages can be sent to the customer interface, and there is no multiple service flows converging into one service flow, multiple paths can be used instead of the polling scheduling method.
在本实施例中,上述方案应用于作为发送端的PE设备,该PE设备的一侧接口是U侧接口,是客户接口,接客户业务;另外一侧是N侧接口,接网路接口。客户业务在PE设备中进入网络系统中,通过建立的网路通道,穿透许多台设备后发送到目的点。但是,在整个网络架构中,作为发送端的PE设备有极大的可能同时也会作为其他传输通道的P设备,即只是将业务从一个网络接口发送到另外一个网络接口。因此,当发送端的PE设备还作为其他传输通道的P设备的情况下,本实施例的上述方案还可以包括:In this embodiment, the foregoing solution is applied to a PE device as a transmitting end. One side of the PE device is a U-side interface and is a customer interface for customer services. The other side is an N-side interface for a network interface. The customer service enters the network system in the PE device, and through the established network channel, it penetrates many devices and is sent to the destination. However, in the entire network architecture, it is very likely that the PE device that is the sending end will also be the P device of other transmission channels, that is, it only sends services from one network interface to another network interface. Therefore, when the sending PE device is also used as the P device of another transmission channel, the foregoing solution in this embodiment may further include:
当从独享网络接口或网络接口中独享时隙接收到至少一个物理信号后,将每个所述物理信号分别恢复为报文数据;After receiving at least one physical signal from an exclusive network interface or an exclusive time slot in the network interface, recovering each of said physical signals to message data separately;
对每个所述物理信号对应的报文数据进行解析,确定至少一个所述报文数据的发送方向;Analyze the message data corresponding to each of the physical signals to determine the sending direction of at least one of the message data;
将发送方向相同、处理方式相同的报文数据调度在同一业务流后,将所述业务流经过业务映射,通过独享网络接口或网络接口的独享时隙上进行发送。After the packet data with the same sending direction and the same processing mode are scheduled in the same service flow, the service flow is mapped through a service, and then sent through an exclusive network interface or an exclusive time slot of the network interface.
也就是说,在通常情况下,发送端PE设备同时还承担其他传输通道P设备的角色,基于此,本实施例的技术方案可以参见图4所示,去往网络接口的报文经过调度、汇聚后形成一条业务流发送到网络接口,发送到网络接口的报文经过业务映射,通过网络物理接口发送出去,如图4中的实线路线所示。去往客户接口的报文经过调度、汇聚后形成一条业务流发送到客户接口,如图4中的虚线路线所示。由于客户业务在封装后是固定长度,定速发送,所有专线业务的速度是恒定不变的,同一方向的所有专线业务进行调度输出,调度部分的工作速度大于或等于所有输入业务流的总速度,这样输入的业务流一旦进入调度部分就立即调度出去,详细来说,调度部分只需要采用简单的轮流调度器就可以满足要求。That is to say, under normal circumstances, the sending PE device also assumes the role of other transmission channel P device. Based on this, the technical solution of this embodiment can be shown in FIG. 4, and the packets destined for the network interface are scheduled, After the convergence, a service flow is sent to the network interface. The packets sent to the network interface are sent through the physical interface of the network after service mapping, as shown by the solid line in FIG. 4. The packets destined for the customer interface are scheduled and aggregated to form a service flow and sent to the customer interface, as shown by the dotted line in FIG. 4. Because the customer service is fixed length and sent at a fixed speed after encapsulation, the speed of all leased line services is constant. All leased line services in the same direction are scheduled for output, and the working speed of the scheduling part is greater than or equal to the total speed of all input service flows. In this way, the input service flow is dispatched as soon as it enters the scheduling part. In detail, the scheduling part only needs to use a simple round scheduler to meet the requirements.
对于发送到客户接口的报文,如果来自网络接口的报文以及来自所有客户接口的报文中只有一条业务流发送到客户接口,而不存在多条业务流汇聚成一条业务流时,则可以用多路选择器代替调度器,从多路业务流中选择其中一条业务流发送到客户接口,如图5所示。For the packets sent to the customer interface, if only one service flow is sent to the customer interface from the network interface and all the packets from all customer interfaces, and there is no multiple service flows converging into one service flow, then it can be A multi-selector is used instead of the scheduler, and one of the multiple service flows is selected and sent to the client interface, as shown in FIG. 5.
对于上述方案来说,网络接口可以是普通的以太网接口,也可以是FlexE接口或OTN接口。对于以太网接口,整个网络接口相当于只有一个时隙。对于FlexE接口或OTN接口,网络接口上有许多时隙。网络接口是普通的以太网接口时,要求该网络接口只能传输专线业务,网络接口是独 享的,不传输其他非专线客户业务,保证专线业务在发送时不受其他业务速度不确定、包长不确定的影响。For the above solution, the network interface may be a common Ethernet interface, or a FlexE interface or an OTN interface. For the Ethernet interface, the entire network interface is equivalent to only one time slot. For FlexE or OTN interfaces, there are many time slots on the network interface. When the network interface is an ordinary Ethernet interface, the network interface is required to transmit only dedicated line services. The network interface is exclusive and does not transmit other non-dedicated customer services. Long uncertain impact.
当网络接口是FlexE接口时,调度汇聚后的业务流发送到FlexE网络逻辑接口,以flexE客户形式映射到FlexE时隙中进行传送。在FlexE接口中,整个FlexE通道划分成n*20个时隙片,每个时隙片的长度是66比特,对应的带宽是5G(比特/秒)的带宽。每个FlexE客户在不同时隙上承载,相互之间是严格物理隔离,相互不影响,因此每个FlexE客户都是定速传输的。When the network interface is a FlexE interface, the scheduled and aggregated service flows are sent to the FlexE network logical interface, and are mapped to FlexE time slots for transmission as flexE clients. In the FlexE interface, the entire FlexE channel is divided into n * 20 time slot slices, and the length of each time slot slice is 66 bits, and the corresponding bandwidth is 5G (bits per second). Each FlexE customer is carried on different time slots and is strictly physically isolated from each other and does not affect each other. Therefore, each FlexE customer transmits at a fixed speed.
当网络接口是OTN接口时,汇聚后的发送业务流发送到OTN网络逻辑接口,作为OTN物理接口的客户映射到光信道净荷单元(OPU,Optical channel Payload Unit)中,OPU封装成光信道数据单元(ODU,Optical Channel Data Unit),一条ODU就是一条时隙,最后处理成OTN帧业务进行传送,如图6所示。不同ODU之间是相互隔离,传输速度不受影响。When the network interface is an OTN interface, the aggregated sending service flow is sent to the OTN network logical interface, and the customer as the OTN physical interface is mapped to the Optical Channel Payload Unit (OPU, Optical Channel Payload Unit), and the OPU is encapsulated into optical channel data. Unit (ODU, Optical Channel, Data Unit), an ODU is a time slot, and finally processed into OTN frame services for transmission, as shown in Figure 6. Different ODUs are isolated from each other, and the transmission speed is not affected.
用过本实施例提供的业务传输方法,由于专线业务的传输速度是稳定的,包长是固定长度,同一方向的专线业务参与调度使得调度输出的网络接口(或网络接口的时隙)是独享的,输出速度是稳定的。因此,在稳定工作情况下,专线业务流在网络传输路径中以稳定的速度传输,延迟时间很短,延迟波动很小,业务的传输质量接近SDH网络的传输质量。After using the service transmission method provided in this embodiment, since the transmission speed of the leased line service is stable and the packet length is a fixed length, the leased line services in the same direction participate in the scheduling so that the network interface (or time slot of the network interface) scheduled for output is unique The output speed is stable. Therefore, under stable operating conditions, the leased line service flow is transmitted at a stable speed in the network transmission path, the delay time is short, the delay fluctuation is small, and the transmission quality of the service is close to the transmission quality of the SDH network.
参见图7,其示出了本申请实施例提供的一种业务传输的方法,该方法可以应用于进行业务传输的接收端PE设备,该方法可以包括:Referring to FIG. 7, which illustrates a method for service transmission provided in an embodiment of the present application. The method may be applied to a receiving PE device that performs service transmission. The method may include:
S701:将接收到的传输报文进行解封装,获得所述传输报文所承载的数据块流;S701: Decapsulate the received transmission message to obtain a data block stream carried by the transmission message;
S702:将所述数据块按照设定的编码恢复策略进行反向解码,获得与所述原始业务数据编码方式对应的比特流;S702: Reverse decode the data block according to a set encoding recovery strategy to obtain a bit stream corresponding to the original service data encoding mode;
S703:从所述比特流中恢复所述原始业务数据;S703: Restore the original service data from the bitstream.
S704:将所述原始业务数据发送至客户端。S704: Send the original service data to the client.
对于本实施例的技术方案,需要说明的是,在接收到传输报文之后,参见图8,通过解封装,剥离掉封装部分内容,包括报文目的地址、源地址、标签、CRC校验等字段,提取报文承载的切片部分,恢复解码出比特块码流,并从码流块中恢复出原始客户业务输出。例如:如果客户接口是66比特块流,则将提取的66比特块流发送到物理层接口发送出去;如果客户接口是8b/10编码码流,经过8b/10编码转65b编码,则提取出65b码块流后,先从65b码块恢复解码成10b码块,将10b码块发送到物理层接口发送出去。For the technical solution of this embodiment, it should be noted that, after receiving a transmission packet, referring to FIG. 8, by decapsulating, the encapsulation part is stripped off, including the packet destination address, source address, label, CRC check, etc. Field, extract the slice part carried in the message, recover the decoded bit-block code stream, and recover the original customer service output from the code stream block. For example: if the client interface is a 66-bit block stream, send the extracted 66-bit block stream to the physical layer interface and send it out; if the client interface is an 8b / 10 encoded stream, and after 8b / 10 encoding is converted to 65b encoding, the extracted After the 65b code block stream is recovered, the 65b code block is first decoded into a 10b code block, and the 10b code block is sent to the physical layer interface for sending.
参见图9,其示出了本申请实施例提供了一种业务传输的方法流程,该流程可以应用于图1所示网络架构的两个PE设备,分别为发送端PE设备A和目的PE设备B,该流程可以包括:Referring to FIG. 9, it shows a process of a service transmission method provided in an embodiment of the present application. The process can be applied to two PE devices in the network architecture shown in FIG. 1, which are a sending PE device A and a destination PE device. B. The process can include:
S901:设备A将待传输业务的数据按照预设长度进行切块,获得至少一个数据块;S901: Device A cuts the data of the service to be transmitted according to a preset length to obtain at least one data block;
S902:设备A将每个所述数据块按照预设的报文格式分别进行封装,获得至少一个待传输报文;S902: Device A encapsulates each of the data blocks according to a preset message format to obtain at least one message to be transmitted.
S903:设备A分别对每个所述待传输报文进行解析,确定每个所述待传输报文的发送方向;S903: The device A separately analyzes each of the messages to be transmitted, and determines a sending direction of each of the messages to be transmitted.
S904:设备A将发送方向相同、处理方式相同的待传输报文调度在同一业务流,并按照设定的传输速度发送所述业务流到独享网络接口或网络接口的独享时隙上;S904: Device A schedules the packets to be transmitted in the same sending direction and the same processing mode to the same service flow, and sends the service flow to the exclusive network interface or the exclusive time slot of the network interface according to the set transmission speed;
需要说明的是,上述步骤S901至S904为发送端PE设备A针对专线业务进行发送的流程,具体实现过程可以参见实施例一中相应部分所述,在此不再赘述。It should be noted that the above steps S901 to S904 are the sending process of the sending end PE device A for the dedicated line service. For the specific implementation process, refer to the corresponding part in the first embodiment, which is not repeated here.
S905:设备B将接收到的传输报文进行解封装,获得所述传输报文所承载的数据块流;S905: Device B decapsulates the received transmission message to obtain a data block stream carried by the transmission message;
S906:设备B将所述数据块按照设定的编码恢复策略进行反向解码,获得与所述原始业务数据编码方式对应的比特流;S906: Device B reversely decodes the data block according to the set encoding recovery strategy to obtain a bit stream corresponding to the original service data encoding method;
S907:设备B从所述比特流中恢复所述原始业务数据;S907: Device B recovers the original service data from the bit stream.
S908:设备B将所述原始业务数据发送至客户端S908: Device B sends the original service data to the client
需要说明的是,上述步骤S905至S908为目的PE设备A针对专线业务进行接收的流程,具体实现过程可以参见实施例二中相应部分所述,在此不再赘述。It should be noted that the above steps S905 to S908 are the process for receiving the dedicated line service by the PE device A. For the specific implementation process, refer to the corresponding part in the second embodiment, and details are not described herein again.
针对图9所示的流程,本实施例还通过一下具体示例对图9所示流程的具体实现过程进行阐述。值得注意的是具体示例的编号,并不代表示例之间的优先关系或先后关系,仅是为了区分不同的示例。With regard to the flow shown in FIG. 9, this embodiment also illustrates the specific implementation process of the flow shown in FIG. 9 by using a specific example. It is worth noting that the number of specific examples does not represent a priority relationship or a sequential relationship between the examples, only to distinguish different examples.
具体示例一Specific example one
参见图10A,以FlexE为例,设定发送端PE设备有4个1G的客户业务在PCS层比特码流上分别进行8b/10b转为65b的转码,然后分别对65比特长的码块进行切片,切片成固定长度,并分别封装成以太网报文,携带MPLS标签,定速发送到轮询调度部分。经过标签解析,将相同方向、处理方式相同的报文经过调度汇聚成一条业务流,以FlexE客户形式映射到FlexE时隙中(这些时隙是独享的),由FlexE接口完成FlexE业务处理,比如经过64/66编码、时隙映射、FlexE成帧等并发送出去。Referring to FIG. 10A, taking FlexE as an example, it is assumed that the sending PE device has 4 1G customer services to perform 8b / 10b to 65b transcoding on the bit stream of the PCS layer, and then 65-bit long codes are respectively transmitted. The block is sliced, sliced into a fixed length, and encapsulated into Ethernet packets, carrying MPLS labels, and sent to the polling scheduling part at a fixed rate. After the label analysis, the packets with the same direction and the same processing method are aggregated into a service flow through the scheduling, and are mapped into FlexE time slots as FlexE clients (these time slots are exclusive), and the FlexE interface completes the FlexE service processing. For example, 64/66 encoding, slot mapping, FlexE framing, etc. are sent out.
在网络中的P设备,从FlexE接口中提取对应时隙的业务,可以直接在FlexE时隙上进行交叉,发送到另外一个FlexE接口的时隙中去,如P设备中虚线所示;也可以从时隙中提取客户业务,恢复出客户业务,经过调度器调度到对应网络接口,对报文进行编码映射到对应FlexE时隙中,经FlexE接口发送出去,如P设备中的实线所示。The P device in the network extracts the services of the corresponding time slot from the FlexE interface, and can directly cross the FlexE time slot and send it to the other FlexE interface time slot, as shown by the dotted line in the P device; it can also The client service is extracted from the time slot, and the client service is recovered. The scheduler dispatches to the corresponding network interface, encodes the message and maps it into the corresponding FlexE slot, and sends it out through the FlexE interface, as shown by the solid line in the P device. .
在目的PE设备中,从FlexE接口时隙中恢复出报文业务,经过调度发送到对应物理接口,经过解封装、比特码块恢复,恢复出客户业务比特流 发送给客户。4个1G速度的客户经过切片、封装后的总速度接近5G速度,可以通过一个FlexE时隙进行传送。In the destination PE device, the packet service is recovered from the FlexE interface time slot, and is sent to the corresponding physical interface after scheduling. After decapsulation and bit code block recovery, the client service bit stream is recovered and sent to the client. Four 1G customers have a total speed close to 5G after slicing and encapsulation, which can be transmitted through one FlexE slot.
具体示例二Specific example two
参见图10B,以OTN为例,设定发送端PE设备有2个1G的客户业务在PCS层比特码流上,进行8b/10b转为65b的码块,然后分别对65比特长的码块进行切片,切片成固定长度,并分别封装成以太网报文,携带MPLS标签,定速发送到轮询调度部分。经过标签解析,将相同方向的报文经过调度汇聚成一条业务流,以OTN客户方式由OTN接口处理,比如经过OPU映射、ODU封装、OTU成帧等处理,并发送出去。Referring to FIG. 10B, taking OTN as an example, it is assumed that the sending PE device has two 1G customer services on the PCS layer bit stream, and performs 8b / 10b to 65b code blocks, and then 65-bit code The block is sliced, sliced into a fixed length, and encapsulated into Ethernet packets, carrying MPLS labels, and sent to the polling scheduling part at a fixed rate. After label analysis, packets in the same direction are aggregated into a service flow through scheduling, and processed by the OTN interface as an OTN client, such as OPU mapping, ODU encapsulation, and OTU framing, etc., and sent.
在网络中的P设备,从OTN接口中提取ODU业务,可以直接在ODU上进行交叉,发送到另外一个OTN接口的OTU中去,如P设备中虚线所示。也可以从ODU中提取OPU内容,恢复出客户业务,经过调度器调度到对应网络接口,将报文映射到OPU中,封装成ODU,然后OTU成帧,经OTN接口发送出去,如P设备中实线所示。The P device in the network extracts ODU services from the OTN interface, and can directly cross the ODU and send it to the OTU of another OTN interface, as shown by the dotted line in the P device. It is also possible to extract OPU content from the ODU, restore customer services, schedule to the corresponding network interface through the scheduler, map the message to the OPU, encapsulate it into an ODU, and then framing the OTU and send it out via the OTN interface, such as in a P device Shown as a solid line.
在目的PE设备中,从OTN接口中提取ODU业务,提取OPU,恢复出报文业务,经过调度发送到对应物理接口,经过解封装、比特码块恢复,恢复出客户业务比特流发送给客户。2个1G速度的客户经过切片、封装后的总速度接近2.5G速度,可以通过一个ODU进行传送。In the destination PE device, the ODU service is extracted from the OTN interface, the OPU is extracted, and the message service is resumed. After dispatching, it is sent to the corresponding physical interface. After decapsulation and bit code block recovery, the customer service bit stream is restored and sent to the customer . Two 1G-speed customers, after slicing and packaging, have a total speed close to 2.5G, and can be transmitted through one ODU.
具体示例三Specific example three
参见图10C,以普通以太网为例,设定发送端PE设备有10M、100M、1G的客户业务分别在PCS层比特码流上,进行8b/10b转为65b的码块,然后分别对65比特长的码块进行切片,切片成固定长度,然后分别封装成以太网报文,携带MPLS标签,定速发送到轮询调度部分。经过标签解析,将相同方向、处理方式相同的报文经过调度汇聚成一条业务流,经过独享的以太网接口发送出去。需要说明的是,该以太网接口只承载一条业务流, 不和其他业务流共享同接口。Referring to FIG. 10C, taking ordinary Ethernet as an example, it is assumed that the client service of the sending PE device has 10M, 100M, and 1G customer services on the PCS layer bit stream, and 8b / 10b is converted into 65b code blocks. The 65-bit long code block is sliced, sliced into a fixed length, and then encapsulated into Ethernet packets, carrying MPLS labels, and sent to the polling scheduling part at a fixed rate. After parsing the labels, the packets with the same direction and the same processing method are aggregated into a service flow through scheduling, and sent through the exclusive Ethernet interface. It should be noted that this Ethernet interface only carries one service flow, and does not share the same interface with other service flows.
在网络中的P设备,从以太网口上恢复出客户业务,经过调度器调度到对应网络接口,经以太网接口发送出去。The P device in the network recovers the customer service from the Ethernet port, dispatches it to the corresponding network interface through the scheduler, and sends it out through the Ethernet interface.
在目的PE设备中,从以太网接口中提取报文,经过解封装、比特码块恢复,恢复出客户业务比特流发送给客户。3个10M、100M、1G速度的客户共享一条传输通道,相互之间互不影响,都能高质量传输,不受业务实际速度、报文长度、网络状况影响。In the destination PE device, the packet is extracted from the Ethernet interface, and after decapsulation and bit code block recovery, the customer service bit stream is recovered and sent to the customer. Three 10M, 100M, and 1G speed customers share a transmission channel that does not affect each other and can be transmitted at high quality without being affected by actual business speed, message length, and network conditions.
通过上述三个具体示例的说明,可以看出,本申请实施例所提供的业务传输方法,能够使得专线业务流在网络传输路径中以稳定的速度传输,延迟时间很短,延迟波动很小,业务的传输质量接近SDH网络的传输质量。Through the description of the above three specific examples, it can be seen that the service transmission method provided in the embodiment of the present application can enable the dedicated line service flow to be transmitted at a stable speed in the network transmission path with a short delay time and small delay fluctuations. The transmission quality of the service is close to the transmission quality of the SDH network.
参见图11,其示出了本申请实施例提供的一种网络设备110的组成,包括:切块部分1101、封装部分1102、解析部分1103、调度部分1104和第一发送部分1105;其中,11, it shows the composition of a network device 110 according to an embodiment of the present application, including: a dicing part 1101, an encapsulating part 1102, a parsing part 1103, a scheduling part 1104, and a first sending part 1105;
所述切块部分1101,配置为将待传输业务的数据按照预设长度进行切块,获得至少一个数据块;The dicing section 1101 is configured to perform dicing on data of a service to be transmitted according to a preset length to obtain at least one data block;
所述封装部分1102,配置为将每个所述数据块按照预设的报文格式分别进行封装,获得至少一个待传输报文,并将所述待传输报文按照设定的传输速度传输至所述解析部分;The encapsulating portion 1102 is configured to encapsulate each of the data blocks according to a preset message format, obtain at least one message to be transmitted, and transmit the message to be transmitted to a set transmission speed to Said parsing part;
所述解析部分1103,配置为分别对每个所述待传输报文进行解析,确定每个所述待传输报文的发送方向;The parsing section 1103 is configured to parse each of the messages to be transmitted separately to determine a sending direction of each of the messages to be transmitted;
所述调度部分1104,配置为将发送方向相同、处理方式相同的待传输报文调度在同一业务流;The scheduling section 1104 is configured to schedule the to-be-transmitted messages with the same sending direction and the same processing mode in the same service flow;
所述第一发送部分1105,配置为按照设定的传输速度发送所述业务流到独享网络接口,或网络接口中独享时隙。The first sending part 1105 is configured to send the service flow to an exclusive network interface or an exclusive time slot in the network interface according to a set transmission speed.
在上述方案中,相应于所述待传输业务的数据为通过物理接口接收到 的比特流,所述切块部分1101,配置为:In the above solution, the data corresponding to the service to be transmitted is a bit stream received through a physical interface, and the dicing part 1101 is configured as:
将所述通过物理接口接收到的比特流按照所述预设长度进行切块,获得至少一个数据块;Dicing the bit stream received through the physical interface according to the preset length to obtain at least one data block;
或者,将所述通过物理接口接收到的比特流按照设定的编码策略进行编码后,将编码后的比特流按照所述预设长度进行切块,获得至少一个数据块。Alternatively, after the bit stream received through the physical interface is encoded according to a set encoding strategy, the encoded bit stream is divided into blocks according to the preset length to obtain at least one data block.
在上述方案中,相应于所述待传输业务的数据为通过用户接口接收到的报文数据,所述切块部分1101,配置为:In the above solution, the data corresponding to the service to be transmitted is message data received through a user interface, and the dicing portion 1101 is configured as:
将所述报文数据按照设定的编码策略进行编码;Encode the message data according to a set encoding strategy;
调整编码后的报文数据的传输速度并缓存所述编码后的报文数据;Adjusting the transmission speed of the encoded message data and buffering the encoded message data;
将缓存的所述编码后的报文数据按照所述预设长度进行切块,获得至少一个数据块。The buffered encoded message data is cut into blocks according to the preset length to obtain at least one data block.
在上述方案中,相应于所述编码后的比特流或所述编码后的报文数据为66比特流,则所述预设长度为66比特的整数倍;或者,In the above scheme, corresponding to the encoded bit stream or the encoded message data is a 66-bit stream, the preset length is an integer multiple of 66 bits; or,
相应于所述编码后的比特流或所述编码后的报文数据为65比特流,则所述预设长度为65比特的整数倍;或者,Corresponding to the encoded bit stream or the encoded message data is a 65-bit stream, the preset length is an integer multiple of 65 bits; or,
相应于所述编码后的比特流或所述编码后的报文数据为10比特流,则所述预设长度为10比特的整数倍。Corresponding to the encoded bit stream or the encoded message data is a 10-bit stream, the preset length is an integer multiple of 10 bits.
在上述方案中,所述封装部分1102,配置为:In the above solution, the encapsulation portion 1102 is configured as:
将每个所述数据块按照以太网报文格式进行封装,获得至少一个待传输的以太网报文。Encapsulating each of the data blocks according to an Ethernet message format to obtain at least one Ethernet message to be transmitted.
在上述方案中,所述封装部分1102,配置为:In the above solution, the encapsulation portion 1102 is configured as:
将每个所述数据块的多协议标签交换MPLS协议标签封装至所述待传输的以太网报文;其中,所述数据块的MPLS协议标签至少包括以下一项:伪线标签、隧道标签和伪线控制字。Encapsulate the multi-protocol label switching MPLS protocol label of each data block into the Ethernet packet to be transmitted; wherein the MPLS protocol label of the data block includes at least one of the following: a pseudo wire label, a tunnel label, and Pseudo-wire control word.
在上述方案中,所述封装部分1102,配置为:In the above solution, the encapsulation portion 1102 is configured as:
将每个所述数据块的附属信息封装至所述待传输的以太网报文;其中,所述数据块的附属信息至少包括以下一项:序列号、时钟信息和时戳值。Encapsulate the ancillary information of each data block to the Ethernet message to be transmitted; wherein the ancillary information of the data block includes at least one of the following: a serial number, a clock information, and a time stamp value.
在上述方案中,所述调度部分1104,配置为:In the above scheme, the scheduling section 1104 is configured as:
按照轮询调度的方式,将发送方向相同、处理方式相同的待传输报文调度在同一业务流;According to the polling scheduling method, the packets to be transmitted with the same sending direction and the same processing method are scheduled in the same service flow;
按照设定的传输速度发送所述业务流到独享网络接口或网络接口中独享时隙上。Sending the service flow to an exclusive network interface or an exclusive time slot in the network interface according to the set transmission speed.
在上述方案中,所述调度部分1104,配置为:In the above scheme, the scheduling section 1104 is configured as:
当多条业务流中仅有一条业务流能够被调度输出时,通过多路选择的方式将能够被调度输出的业务流进行调度,并按照设定的传输速度发送到独享网络接口,或网络接口中独享时隙。When only one service flow among multiple service flows can be scheduled for output, the service flows that can be scheduled for output are scheduled through multiple selection methods and sent to the exclusive network interface or the network at a set transmission speed. Exclusive time slot in the interface.
在上述方案中,网络设备110,还包括恢复部分1106,配置为当从从独享网络接口或网络接口中的独享时隙上接收到至少一个物理信号后,将每个所述物理信号分别恢复为报文数据;In the above solution, the network device 110 further includes a recovery section 1106 configured to, upon receiving at least one physical signal from an exclusive network interface or an exclusive time slot in the network interface, separate each of the physical signals separately. Restore to message data;
所述解析部分1103,还配置为对每个所述物理信号对应的报文数据进行解析,确定至少一个所述报文数据的发送方向;The analysis section 1103 is further configured to analyze message data corresponding to each of the physical signals to determine a sending direction of at least one of the message data;
所述调度部分1104,还配置为将发送方向相同、处理方式相同的报文数据调度在同一业务流后,将所述业务流经过业务映射,通过独享网络接口或网络接口中独享时隙上进行发送。The scheduling section 1104 is further configured to schedule the packet data with the same sending direction and the same processing method in the same service flow, and then route the service flow through service mapping, and use the exclusive network interface or the exclusive time slot in the network interface. Send on.
可以理解地,在本实施例中,“部分”可以是部分电路、部分处理器、部分程序或软件等等,当然也可以是单元,还可以是模块也可以是非模块化的。Understandably, in this embodiment, the “part” may be a part of a circuit, a part of a processor, a part of a program or software, etc., of course, it may be a unit, a module, or a non-modular.
另外,在本实施例中的各组成部分可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元 中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each component in this embodiment may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional modules.
所述集成的单元如果以软件功能模块的形式实现并非作为独立的产品进行销售或使用时,可以存储在一个计算机可读取存储介质中,基于这样的理解,本实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或processor(处理器)执行本实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional module and is not sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of this embodiment is essentially or It is said that a part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for making a computer device (can It is a personal computer, a server, or a network device) or a processor (processor) to perform all or part of the steps of the method described in this embodiment. The foregoing storage media include: U disks, mobile hard disks, read only memories (ROM, Read Only Memory), random access memories (RAM, Random Access Memory), magnetic disks or optical disks, and other media that can store program codes.
因此,本实施例提供了一种计算机存储介质,所述计算机存储介质存储有业务传输的程序,所述业务传输的程序被至少一个处理器执行时实现上述实施例一所述业务传输的方法的步骤。Therefore, this embodiment provides a computer storage medium that stores a program for service transmission, and the method for implementing the service transmission according to the first embodiment is implemented when the service transmission program is executed by at least one processor. step.
基于上述网络设备110以及计算机存储介质,参见图13,其示出了本申请实施例提供的一种网络设备110的具体硬件结构,可以包括:第一网络接口1301、第一存储器1302和第一处理器1303;各个组件通过总线系统1304耦合在一起。可理解,总线系统1304用于实现这些组件之间的连接通信。总线系统1304除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图13中将各种总线都标为总线系统1304。其中,第一网络接口1301,用于在与其他外部网元之间进行收发信息过程中,信号的接收和发送;Based on the network device 110 and the computer storage medium described above, referring to FIG. 13, it shows a specific hardware structure of a network device 110 according to an embodiment of the present application, which may include: a first network interface 1301, a first memory 1302, and a first Processor 1303; the various components are coupled together by a bus system 1304. It can be understood that the bus system 1304 is used to implement connection and communication between these components. The bus system 1304 includes a power bus, a control bus, and a status signal bus in addition to the data bus. However, for the sake of clarity, various buses are marked as the bus system 1304 in FIG. 13. The first network interface 1301 is configured to receive and send signals during a process of transmitting and receiving information with other external network elements.
第一存储器1302,配置为存储能在第一处理器1303上运行的计算机程序;A first memory 1302 configured to store a computer program capable of running on a first processor 1303;
第一处理器1303,配置为在运行所述计算机程序时,执行:The first processor 1303 is configured to, when running the computer program, execute:
将待传输业务的数据按照预设长度进行切块,获得至少一个数据块;Dicing the data of the service to be transmitted according to a preset length to obtain at least one data block;
将每个所述数据块按照预设的报文格式分别进行封装,获得至少一个待传输报文;Encapsulating each of the data blocks according to a preset message format to obtain at least one message to be transmitted;
分别对每个所述待传输报文进行解析,确定每个所述待传输报文的发送方向;Analyze each of the messages to be transmitted separately to determine a sending direction of each of the messages to be transmitted;
将发送方向相同、处理方式相同的待传输报文调度在同一业务流,并按照设定的传输速度发送所述业务流到独享网络接口或网络接口的独享时隙上。The packets to be transmitted with the same sending direction and the same processing mode are scheduled in the same service flow, and the service flow is sent to the exclusive network interface or the exclusive time slot of the network interface according to the set transmission speed.
可以理解,本申请实施例中的第一存储器1302可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本文描述的系统和方法的第一存储器1302旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the first memory 1302 in the embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both a volatile and a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), and an electronic memory. Erase programmable read-only memory (EPROM, EEPROM) or flash memory. The volatile memory may be Random Access Memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synchlink DRAM, SLDRAM) And direct memory bus random access memory (Direct RAMbus RAM, DRRAM). The first memory 1302 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
而第一处理器1303可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过第一处理器1303中的硬件的集 成逻辑电路或者软件形式的指令完成。上述的第一处理器1303可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于第一存储器1302,第一处理器1303读取第一存储器1302中的信息,结合其硬件完成上述方法的步骤。The first processor 1303 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the foregoing method may be completed by using hardware integrated logic circuits or instructions in the form of software in the first processor 1303. The above-mentioned first processor 1303 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), and an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA). Or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed. A general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in combination with the embodiments of the present application may be directly implemented by a hardware decoding processor, or may be performed by using a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, and the like. The storage medium is located in the first memory 1302, and the first processor 1303 reads the information in the first memory 1302 and completes the steps of the foregoing method in combination with its hardware.
可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It can be understood that the embodiments described herein may be implemented by hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSP), digital signal processing devices (DSPD), programmable Logic device (Programmable Logic Device, PLD), Field Programmable Gate Array (FPGA), general purpose processor, controller, microcontroller, microprocessor, other for performing the functions described in this application Electronic unit or combination thereof.
对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For software implementation, the techniques described herein can be implemented through modules (e.g., procedures, functions, etc.) that perform the functions described herein. Software codes may be stored in a memory and executed by a processor. The memory may be implemented in the processor or external to the processor.
具体来说,网络设备110中的第一处理器1303还配置为运行计算机程序时,执行前述实施例一中所述的方法步骤,这里不再进行赘述。Specifically, when the first processor 1303 in the network device 110 is further configured to execute a computer program, the first processor 1303 executes the method steps described in the first embodiment, and details are not described herein again.
参见图14,其示出了本申请实施例提供的一种网络设备140的组成,包括:解封装部分1401、第一恢复部分1402、第二恢复部分1403和第二发送部分1404;其中,Referring to FIG. 14, which shows the composition of a network device 140 provided in an embodiment of the present application, including: a decapsulation section 1401, a first recovery section 1402, a second recovery section 1403, and a second sending section 1404;
所述解封装部分1401,配置为将接收到的传输报文进行解封装,获得所述传输报文所承载的数据块流;The decapsulating section 1401 is configured to decapsulate the received transmission message to obtain a data block stream carried by the transmission message;
所述第一恢复部分1402,配置为将所述数据块按照设定的编码恢复策略进行反向解码,获得与所述原始业务数据编码方式对应的比特流;The first recovery part 1402 is configured to reversely decode the data block according to a set encoding recovery strategy to obtain a bit stream corresponding to the original service data encoding method;
所述第二恢复部分1403,配置为从所述比特流中恢复所述原始业务数据;The second recovery part 1403 is configured to recover the original service data from the bitstream;
所述第二发送部分1404,配置为将原始业务数据发送至客户端。The second sending section 1404 is configured to send the original service data to the client.
另外,本实施例提供了一种计算机存储介质,该计算机存储介质存储有业务传输的程序,所述业务传输的程序被至少一个处理器执行时实现上述实施例二所述的方法的步骤。针对计算机存储介质的具体阐述,参见实施例四中的说明,在此不再赘述。In addition, this embodiment provides a computer storage medium that stores a program for service transmission. When the program for service transmission is executed by at least one processor, the steps of the method described in Embodiment 2 are implemented. For the specific description of the computer storage medium, refer to the description in the fourth embodiment, which is not repeated here.
基于上述网络设备140以及计算机存储介质,参见图15,其示出了本申请实施例提供的一种网络设备140的具体硬件结构,可以包括:第二网络接口1501、第二存储器1502和第二处理器1503;各个组件通过总线系统1504耦合在一起。可理解,总线系统1504用于实现这些组件之间的连接通信。总线系统1504除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图15中将各种总线都标为总线系统1504。其中,Based on the foregoing network device 140 and computer storage medium, referring to FIG. 15, which illustrates a specific hardware structure of a network device 140 provided in an embodiment of the present application, which may include: a second network interface 1501, a second memory 1502, and a second Processor 1503; the various components are coupled together by a bus system 1504. It can be understood that the bus system 1504 is used to implement connection and communication between these components. The bus system 1504 includes a power bus, a control bus, and a status signal bus in addition to the data bus. However, for the sake of clarity, various buses are marked as the bus system 1504 in FIG. 15. among them,
其中,所述第二网络接口1501,用于在与其他外部网元之间进行收发信息过程中,信号的接收和发送;The second network interface 1501 is configured to receive and send signals during a process of sending and receiving information with other external network elements.
第二存储器1502,配置为存储能够在第二处理器1503上运行的计算机程序;A second memory 1502 configured to store a computer program capable of running on the second processor 1503;
第二处理器1503,配置为在运行所述计算机程序时,执行:The second processor 1503 is configured to, when running the computer program, execute:
将接收到的传输报文进行解封装,获得所述传输报文所承载的数据块流;Decapsulating the received transmission message to obtain a data block stream carried by the transmission message;
将所述数据块按照设定的编码恢复策略进行反向解码,获得与所述原始业务数据编码方式对应的比特流;Reversely decode the data block according to a set encoding recovery strategy to obtain a bit stream corresponding to the original service data encoding method;
从所述比特流中恢复所述原始业务数据;Recovering the original service data from the bitstream;
将所述原始业务数据发送至客户端。Sending the original service data to the client.
可以理解地,本实施例中网络设备140的具体硬件结构中的组成部分,与实施例四中的相应部分类似,在此不做赘述。Understandably, the components of the specific hardware structure of the network device 140 in this embodiment are similar to the corresponding portions in the fourth embodiment, and details are not described herein.
具体来说,网络设备140中的第二处理器1503,还配置为运行所述计算机程序时,执行前述实施例二中所述的方法步骤,这里不再进行赘述。Specifically, the second processor 1503 in the network device 140 is further configured to execute the method steps described in the foregoing second embodiment when running the computer program, and details are not described herein again.
基于上述实施例,本申请实施例还提供了一种业务传输的系统,该系统可以包括实施例四种所述的网络设备110以及实施例五中所述的网络设备140。需要说明的是,该系统能够实现前述实施例三所述的流程步骤,在此不再赘述。Based on the foregoing embodiments, an embodiment of the present application further provides a system for service transmission. The system may include the network device 110 described in the fourth embodiment and the network device 140 described in the fifth embodiment. It should be noted that the system can implement the process steps described in the third embodiment, and details are not described herein again.
需要说明的是:本申请实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。It should be noted that the technical solutions described in the embodiments of the present application can be arbitrarily combined without conflict.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of this application, but the scope of protection of this application is not limited to this. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in this application. It should be covered by the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims (25)

  1. 一种业务传输的方法,所述方法包括:A method for service transmission, the method includes:
    将待传输业务的数据按照预设长度进行切块,获得至少一个数据块;Dicing the data of the service to be transmitted according to a preset length to obtain at least one data block;
    将每个所述数据块按照预设的报文格式分别进行封装,获得至少一个待传输报文;Encapsulating each of the data blocks according to a preset message format to obtain at least one message to be transmitted;
    分别对每个所述待传输报文进行解析,确定每个所述待传输报文的发送方向;Analyze each of the messages to be transmitted separately to determine a sending direction of each of the messages to be transmitted;
    将发送方向相同、处理方式相同的待传输报文调度在同一业务流,并按照设定的传输速度发送所述业务流到独享网络接口或网络接口的独享时隙上。The packets to be transmitted with the same sending direction and the same processing mode are scheduled in the same service flow, and the service flow is sent to the exclusive network interface or the exclusive time slot of the network interface according to the set transmission speed.
  2. 根据权利要求1所述的方法,其中,相应于所述待传输业务的数据为通过物理接口接收到的比特流,所述将待传输业务的数据按照预设长度进行切块,获得至少一个数据块,包括:The method according to claim 1, wherein the data corresponding to the service to be transmitted is a bit stream received through a physical interface, and the data of the service to be transmitted is sliced according to a preset length to obtain at least one data Blocks, including:
    将所述通过物理接口接收到的比特流按照所述预设长度进行切块,获得至少一个数据块;Dicing the bit stream received through the physical interface according to the preset length to obtain at least one data block;
    或者,将所述通过物理接口接收到的比特流按照设定的编码策略进行编码后,将编码后的比特流按照所述预设长度进行切块,获得至少一个数据块。Alternatively, after the bit stream received through the physical interface is encoded according to a set encoding strategy, the encoded bit stream is divided into blocks according to the preset length to obtain at least one data block.
  3. 根据权利要求1所述的方法,其中,相应于所述待传输业务的数据为通过用户接口接收到的报文数据,所述将待传输业务的数据按照预设长度进行切块,获得至少一个数据块,包括:The method according to claim 1, wherein the data corresponding to the service to be transmitted is message data received through a user interface, and the data of the service to be transmitted is sliced according to a preset length to obtain at least one Data blocks, including:
    将所述报文数据按照设定的编码策略进行编码;Encode the message data according to a set encoding strategy;
    调整编码后的报文数据的传输速度并缓存所述编码后的报文数据;Adjusting the transmission speed of the encoded message data and buffering the encoded message data;
    将缓存的所述编码后的报文数据按照所述预设长度进行切块,获得至 少一个数据块。The buffered encoded message data is sliced according to the preset length to obtain at least one data block.
  4. 根据权利要求2或3所述的方法,其中,相应于所述编码后的比特流或所述编码后的报文数据为66比特流,则所述预设长度为66比特的整数倍;或者,The method according to claim 2 or 3, wherein, corresponding to the encoded bit stream or the encoded message data is a 66 bit stream, the preset length is an integer multiple of 66 bits; or ,
    相应于所述编码后的比特流或所述编码后的报文数据为65比特流,则所述预设长度为65比特的整数倍;或者,Corresponding to the encoded bit stream or the encoded message data is a 65-bit stream, the preset length is an integer multiple of 65 bits; or,
    相应于所述编码后的比特流或所述编码后的报文数据为10比特流,则所述预设长度为10比特的整数倍。Corresponding to the encoded bit stream or the encoded message data is a 10-bit stream, the preset length is an integer multiple of 10 bits.
  5. 根据权利要求1所述的方法,其中,所述将每个所述数据块按照预设的报文格式分别进行封装,获得至少一个待传输报文,包括:The method according to claim 1, wherein the encapsulating each of the data blocks according to a preset message format to obtain at least one message to be transmitted comprises:
    将每个所述数据块按照以太网报文格式进行封装,获得至少一个待传输的以太网报文。Encapsulating each of the data blocks according to an Ethernet message format to obtain at least one Ethernet message to be transmitted.
  6. 根据权利要求5所述的方法,其中,所述将每个所述数据块按照以太网报文格式分别进行封装,获得至少一个待传输的以太网报文,包括:The method according to claim 5, wherein each encapsulating each of the data blocks according to an Ethernet message format to obtain at least one Ethernet message to be transmitted comprises:
    将每个所述数据块的多协议标签交换MPLS协议标签封装至所述待传输的以太网报文;其中,所述数据块的MPLS协议标签至少包括以下一项:伪线标签、隧道标签和伪线控制字。Encapsulate the multi-protocol label switching MPLS protocol label of each data block into the Ethernet packet to be transmitted; wherein the MPLS protocol label of the data block includes at least one of the following: a pseudo wire label, a tunnel label, and Pseudo-wire control word.
  7. 根据权利要求5所述的方法,其中,所述将每个所述数据块按照以太网报文格式进行封装,获得至少一个待传输的以太网报文,包括:The method according to claim 5, wherein the encapsulating each of the data blocks according to an Ethernet message format to obtain at least one Ethernet message to be transmitted comprises:
    将每个所述数据块的附属信息封装至所述待传输的以太网报文;其中,所述数据块的附属信息至少包括以下一项:序列号、时钟信息和时戳值。Encapsulate the ancillary information of each data block to the Ethernet message to be transmitted; wherein the ancillary information of the data block includes at least one of the following: a serial number, a clock information, and a time stamp value.
  8. 根据权利要求1所述的方法,其中,所述将发送方向相同、处理方式相同的待传输报文调度在同一业务流,并按照设定的传输速度发送所述业务流到独享网络接口或网络接口的独享时隙上,包括:The method according to claim 1, wherein the to-be-transmitted messages with the same sending direction and the same processing mode are scheduled in the same service flow, and the service flow is sent to an exclusive network interface or at a set transmission speed. The exclusive time slot of the network interface includes:
    按照轮询调度的方式,将发送方向相同、处理方式相同的待传输报文 调度在同一业务流;Schedule the to-be-transmitted packets with the same sending direction and the same processing method in the same service flow according to the polling scheduling method;
    按照设定的传输速度发送所述业务流到独享网络接口,或网络接口中独享时隙。Sending the service flow to an exclusive network interface or an exclusive time slot in the network interface according to the set transmission speed.
  9. 根据权利要求1所述的方法,其中,所述将发送方向相同、处理方式相同的待传输报文调度在同一业务流,并按照设定的传输速度发送所述业务流到独享网络接口或网络接口的独享时隙上,包括:The method according to claim 1, wherein the to-be-transmitted messages with the same sending direction and the same processing mode are scheduled in the same service flow, and the service flow is sent to an exclusive network interface or at a set transmission speed. The exclusive time slot of the network interface includes:
    当多条业务流中仅有一条业务流能够被调度输出时,通过多路选择的方式将能够被调度输出的业务流进行调度,并按照设定的传输速度发送到独享网络接口或网络接口的独享时隙上。When only one service flow among multiple service flows can be scheduled for output, the service flows that can be scheduled for output are scheduled through multiple selection methods, and sent to the exclusive network interface or network interface according to the set transmission speed Exclusive time slot.
  10. 根据权利要求1至9任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 1 to 9, wherein the method further comprises:
    当从独享网络接口或网络接口中独享时隙接收到至少一个物理信号后,将每个所述物理信号分别恢复为报文数据;After receiving at least one physical signal from an exclusive network interface or an exclusive time slot in the network interface, recovering each of said physical signals to message data separately;
    对每个所述物理信号对应的报文数据进行解析,确定至少一个所述报文数据的发送方向;Analyze the message data corresponding to each of the physical signals to determine the sending direction of at least one of the message data;
    将发送方向相同、处理方式相同的报文数据调度在同一业务流后,将所述业务流经过业务映射,通过独享网络接口或网络接口中独享时隙上进行发送。After the packet data with the same sending direction and the same processing method are scheduled in the same service flow, the service flow is mapped through a service, and then sent through an exclusive network interface or an exclusive time slot in the network interface.
  11. 一种业务传输的方法,其中,所述方法包括:A method for service transmission, wherein the method includes:
    将接收到的传输报文进行解封装,获得所述传输报文所承载的数据块流;Decapsulating the received transmission message to obtain a data block stream carried by the transmission message;
    将所述数据块按照设定的编码恢复策略进行反向解码,获得与所述原始业务数据编码方式对应的比特流;Reversely decode the data block according to a set encoding recovery strategy to obtain a bit stream corresponding to the original service data encoding method;
    从所述比特流中恢复所述原始业务数据;Recovering the original service data from the bitstream;
    将所述原始业务数据发送至客户端。Sending the original service data to the client.
  12. 一种网络设备,其中,所述网络设备包括:切块部分、封装部分、 解析部分、调度部分和第一发送部分;其中,A network device, wherein the network device includes a dicing part, an encapsulating part, a parsing part, a scheduling part, and a first sending part; wherein,
    所述切块部分,配置为将待传输业务的数据按照预设长度进行切块,获得至少一个数据块;The dicing part is configured to diced the data of the service to be transmitted according to a preset length to obtain at least one data block;
    所述封装部分,配置为将每个所述数据块按照预设的报文格式分别进行封装,获得至少一个待传输报文,并将所述待传输报文按照设定的传输速度传输至所述解析部分;The encapsulation part is configured to encapsulate each of the data blocks according to a preset message format, obtain at least one message to be transmitted, and transmit the message to be transmitted to all the data packets at a set transmission speed. Mentioned parsing part;
    所述解析部分,配置为分别对每个所述待传输报文进行解析,确定每个所述待传输报文的发送方向;The parsing section is configured to parse each of the messages to be transmitted separately to determine a sending direction of each of the messages to be transmitted;
    所述调度部分,配置为将发送方向相同、处理方式相同的待传输报文调度在同一业务流;The scheduling part is configured to schedule the to-be-transmitted messages in the same sending direction and the same processing mode in the same service flow;
    所述第一发送部分,配置为按照设定的传输速度发送所述业务流到独享网络接口,或网络接口中独享时隙。The first sending part is configured to send the service flow to an exclusive network interface or an exclusive time slot in the network interface according to a set transmission speed.
  13. 根据权利要求12所述的网络设备,其中,相应于所述待传输业务的数据为通过物理接口接收到的比特流,所述切块部分,配置为:The network device according to claim 12, wherein the data corresponding to the service to be transmitted is a bit stream received through a physical interface, and the dicing portion is configured as:
    将所述通过物理接口接收到的比特流按照所述预设长度进行切块,获得至少一个数据块;Dicing the bit stream received through the physical interface according to the preset length to obtain at least one data block;
    或者,将所述通过物理接口接收到的比特流按照设定的编码策略进行编码后,将编码后的比特流按照所述预设长度进行切块,获得至少一个数据块。Alternatively, after the bit stream received through the physical interface is encoded according to a set encoding strategy, the encoded bit stream is divided into blocks according to the preset length to obtain at least one data block.
  14. 根据权利要求12所述的网络设备,其中,相应于所述待传输业务的数据为通过用户接口接收到的报文数据,所述切块部分,配置为:The network device according to claim 12, wherein the data corresponding to the service to be transmitted is message data received through a user interface, and the cutting portion is configured to:
    将所述报文数据按照设定的编码策略进行编码;Encode the message data according to a set encoding strategy;
    调整编码后的报文数据的传输速度并缓存所述编码后的报文数据;Adjusting the transmission speed of the encoded message data and buffering the encoded message data;
    将缓存的所述编码后的报文数据按照所述预设长度进行切块,获得至少一个数据块。The buffered encoded message data is cut into blocks according to the preset length to obtain at least one data block.
  15. 根据权利要求13或14所述的网络设备,其中,相应于所述编码后的比特流或所述编码后的报文数据为66比特流,则所述预设长度为66比特的整数倍;或者,The network device according to claim 13 or 14, wherein, corresponding to the encoded bit stream or the encoded message data is a 66 bit stream, the preset length is an integer multiple of 66 bits; or,
    相应于所述编码后的比特流或所述编码后的报文数据为65比特流,则所述预设长度为65比特的整数倍;或者,Corresponding to the encoded bit stream or the encoded message data is a 65-bit stream, the preset length is an integer multiple of 65 bits; or,
    相应于所述编码后的比特流或所述编码后的报文数据为10比特流,则所述预设长度为10比特的整数倍。Corresponding to the encoded bit stream or the encoded message data is a 10-bit stream, the preset length is an integer multiple of 10 bits.
  16. 根据权利要求12所述的网络设备,其中,所述封装部分,配置为:The network device according to claim 12, wherein the encapsulation part is configured to:
    将每个所述数据块按照以太网报文格式进行封装,获得至少一个待传输的以太网报文。Encapsulating each of the data blocks according to an Ethernet message format to obtain at least one Ethernet message to be transmitted.
  17. 根据权利要求16所述的网络设备,其中,所述封装部分,配置为:The network device according to claim 16, wherein the encapsulation part is configured to:
    将每个所述数据块的多协议标签交换MPLS协议标签封装至所述待传输的以太网报文;其中,所述数据块的MPLS协议标签至少包括以下一项:伪线标签、隧道标签和伪线控制字。Encapsulate the multi-protocol label switching MPLS protocol label of each data block into the Ethernet packet to be transmitted; wherein the MPLS protocol label of the data block includes at least one of the following: a pseudo wire label, a tunnel label, and Pseudo-wire control word.
  18. 根据权利要求16所述的网络设备,其中,所述封装部分,配置为:The network device according to claim 16, wherein the encapsulation part is configured to:
    将每个所述数据块的附属信息封装至所述待传输的以太网报文;其中,所述数据块的附属信息至少包括以下一项:序列号、时钟信息和时戳值。Encapsulate the ancillary information of each data block to the Ethernet message to be transmitted; wherein the ancillary information of the data block includes at least one of the following: a serial number, a clock information, and a time stamp value.
  19. 根据权利要求12所述的网络设备,其中,所述调度部分,配置为:The network device according to claim 12, wherein the scheduling section is configured to:
    按照轮询调度的方式,将发送方向相同、处理方式相同的待传输报文调度在同一业务流;According to the polling scheduling method, the packets to be transmitted with the same sending direction and the same processing method are scheduled in the same service flow;
    按照设定的传输速度发送所述业务流到独享网络接口,或网络接口中独享时隙。Sending the service flow to an exclusive network interface or an exclusive time slot in the network interface according to the set transmission speed.
  20. 根据权利要求12所述的网络设备,其中,所述调度部分,配置为:The network device according to claim 12, wherein the scheduling section is configured to:
    当多条业务流中仅有一条业务流能够被调度输出时,通过多路选择的方式将能够被调度输出的业务流进行调度,并按照设定的传输速度发送到 独享网络接口,或网络接口中独享时隙。When only one service flow among multiple service flows can be scheduled for output, the service flows that can be scheduled for output are scheduled through multiple selection methods and sent to the exclusive network interface or the network at a set transmission speed. Exclusive time slot in the interface.
  21. 根据权利要求12至20任一项所述的网络设备,其中,还包括:The network device according to any one of claims 12 to 20, further comprising:
    恢复部分,配置为当从独享网络接口或网络接口中的独享时隙上接收到至少一个物理信号后,将每个所述物理信号分别恢复为报文数据;A restoring part, configured to, after receiving at least one physical signal from an exclusive network interface or an exclusive time slot in the network interface, restore each of the physical signals to message data separately;
    所述解析部分,还配置为对每个所述物理信号对应的报文数据进行解析,确定至少一个所述报文数据的发送方向;The parsing section is further configured to parse message data corresponding to each of the physical signals to determine a sending direction of at least one of the message data;
    所述调度部分,还配置为将发送方向相同、处理方式相同的报文数据调度在同一业务流后,将所述业务流经过业务映射,通过独享网络接口或网络接口独享时隙上进行发送。The scheduling part is further configured to schedule the packet data with the same sending direction and the same processing method in the same service flow, and then the service flow is mapped through a service and performed on a dedicated network interface or a dedicated time slot on the network interface. send.
  22. 一种网络设备,其中,所述网络设备包括:解封装部分、第一恢复部分、第二恢复部分和第二发送部分;其中,A network device, wherein the network device includes: a decapsulation section, a first recovery section, a second recovery section, and a second sending section; wherein,
    所述解封装部分,配置为将接收到的传输报文进行解封装,获得所述传输报文所承载的数据块流;The decapsulation part is configured to decapsulate the received transmission message to obtain a data block stream carried by the transmission message;
    所述第一恢复部分,配置为将所述数据块按照设定的编码恢复策略进行反向解码,获得与所述原始业务数据编码方式对应的比特流;The first recovery part is configured to reversely decode the data block according to a set encoding recovery strategy to obtain a bit stream corresponding to the original service data encoding method;
    所述第二恢复部分,配置为从所述比特流中恢复所述原始业务数据;The second recovery part is configured to recover the original service data from the bitstream;
    所述第二发送部分,配置为将原始业务数据发送至客户端。The second sending part is configured to send the original service data to the client.
  23. 一种网络设备,其中,所述网络设备包括第一网络接口,第一存储器和第一处理器;其中,所述第一网络接口,配置为在与其他外部网元之间进行收发信息过程中,信号的接收和发送;所述第一存储器,配置为存储能够在所述第一处理器上运行的计算机程序;所述第一处理器,配置为在运行所述计算机程序时,执行权利要求1至10任一项所述方法的步骤。A network device, wherein the network device includes a first network interface, a first memory, and a first processor; wherein the first network interface is configured to send and receive information to and from other external network elements Receiving and sending signals; the first memory configured to store a computer program capable of running on the first processor; the first processor configured to execute claims when the computer program is run Steps of the method according to any one of 1 to 10.
  24. 一种网络设备,其中,所述网络设备包括:第二网络接口、第二存储器和第二处理器;其中,所述第二网络接口,配置为在与其他外部网元之间进行收发信息过程中,信号的接收和发送;所述第二存储器,配置 为存储能够在第二处理器上运行的计算机程序;所述第二处理器,配置为在运行所述计算机程序时,执行权利要求11所述方法的步骤。A network device, wherein the network device includes: a second network interface, a second memory, and a second processor; wherein the second network interface is configured to perform information transmission and reception processes with other external network elements Receiving and transmitting signals; the second memory configured to store a computer program capable of running on a second processor; the second processor configured to execute claim 11 when the computer program is run Steps of the method.
  25. 一种计算机存储介质,所述计算机存储介质存储有业务传输的程序,所述业务传输的程序被至少一个处理器执行时实现权利要求1至10任一项或权利要求11所述业务传输的方法的步骤。A computer storage medium storing a program for service transmission, and the method for implementing service transmission according to any one of claims 1 to 10 or claim 11 when the service transmission program is executed by at least one processor A step of.
PCT/CN2019/091934 2018-08-03 2019-06-19 Service transmission method, device, and computer storage medium WO2020024721A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2021505752A JP7122455B2 (en) 2018-08-03 2019-06-19 Traffic transmission method, apparatus and computer storage medium
KR1020217006517A KR102513755B1 (en) 2018-08-03 2019-06-19 Service transmission method, facilities and computer storage media

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810880267.2A CN110798415B (en) 2018-08-03 2018-08-03 Service transmission method, equipment and computer storage medium
CN201810880267.2 2018-08-03

Publications (1)

Publication Number Publication Date
WO2020024721A1 true WO2020024721A1 (en) 2020-02-06

Family

ID=69230934

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/091934 WO2020024721A1 (en) 2018-08-03 2019-06-19 Service transmission method, device, and computer storage medium

Country Status (4)

Country Link
JP (1) JP7122455B2 (en)
KR (1) KR102513755B1 (en)
CN (1) CN110798415B (en)
WO (1) WO2020024721A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112272387A (en) * 2020-09-22 2021-01-26 国电南瑞科技股份有限公司 Low-scheduling time delay and high-speed access method, module, terminal and power secondary equipment based on 5G
CN113452475A (en) * 2020-03-28 2021-09-28 华为技术有限公司 Data transmission method, device and related equipment
CN113890853A (en) * 2021-09-27 2022-01-04 北京字跳网络技术有限公司 Current limiting method and device, storage medium and electronic equipment
CN115865277A (en) * 2022-11-30 2023-03-28 苏州异格技术有限公司 Data processing method and device for flexible Ethernet, storage medium and electronic equipment
CN116781428A (en) * 2023-08-24 2023-09-19 湖南马栏山视频先进技术研究院有限公司 Forwarding system based on VPN flow

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113300928B (en) * 2020-02-21 2023-01-13 华为技术有限公司 Method, equipment and system for transmitting service message
CN113438606B (en) * 2020-03-23 2022-08-30 中国移动通信有限公司研究院 Message transmission method, device, related equipment and storage medium
CN111935243B (en) * 2020-07-17 2023-06-30 杭州海康机器人股份有限公司 Data information transmission method, device, system and equipment
CN114095445A (en) * 2020-07-29 2022-02-25 华人运通(上海)自动驾驶科技有限公司 Data transmission control method and device for vehicle-mounted Ethernet, electronic equipment and storage medium
CN114374469A (en) * 2020-10-15 2022-04-19 华为技术有限公司 Communication method, device and system
CN114629851A (en) * 2020-12-14 2022-06-14 北京华为数字技术有限公司 Service message sending method and equipment
CN115484207A (en) * 2021-06-15 2022-12-16 华为技术有限公司 Communication method, device and system
CN114844804B (en) * 2022-06-01 2023-07-25 重庆奥普泰通信技术有限公司 Network measurement method, system, electronic device and computer readable storage medium
CN115941792B (en) * 2022-11-30 2024-02-02 苏州异格技术有限公司 Method and device for processing data blocks of flexible Ethernet and storage medium
CN116979700B (en) * 2023-09-20 2024-01-23 国网江苏省电力有限公司苏州供电分公司 Device and method for processing power transformation and distribution monitoring information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060209865A1 (en) * 2005-02-18 2006-09-21 Broadcom Corporation Multi-part parsing in a network device
CN101296244A (en) * 2008-06-27 2008-10-29 中兴通讯股份有限公司 Universal framing regulation mapping encapsulation method
CN102238064A (en) * 2010-04-23 2011-11-09 华为技术有限公司 Data transmission method, device and system
CN106921641A (en) * 2015-12-28 2017-07-04 华为技术有限公司 The method and apparatus of transmitting message

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61296838A (en) * 1985-06-25 1986-12-27 Nec Corp Transmission data relay control system in packet switching network
JP3319367B2 (en) * 1997-10-14 2002-08-26 ケイディーディーアイ株式会社 Network connection device
JPH11205329A (en) * 1998-01-14 1999-07-30 Mitsubishi Electric Corp Signal multiplexer
JP3663893B2 (en) * 1998-03-12 2005-06-22 株式会社日立製作所 Data relay system
US7593433B1 (en) * 1999-03-02 2009-09-22 Cisco Technology, Inc. System and method for multiple channel statistical re-multiplexing
JP3699612B2 (en) 1999-05-18 2005-09-28 三菱電機株式会社 Voice cell transmission equipment
KR20030000472A (en) 2001-06-25 2003-01-06 주식회사 케이티 Method for Voice service using ATM Adaption Layer 2 based Voice over ATM in ATM
CN101674604B (en) * 2008-09-12 2012-07-04 华为技术有限公司 Method for transmitting circuit switched domain service, network equipment and terminal equipment
ATE550847T1 (en) * 2010-01-04 2012-04-15 Alcatel Lucent NEIGHBORHOOD DETECTION FOR PRIVATE ETHERNET LINES ON USER NETWORK INTERFACES
WO2014086007A1 (en) * 2012-12-05 2014-06-12 华为技术有限公司 Data processing method, communication single board and device
CN107659419B (en) * 2016-07-25 2021-01-01 华为技术有限公司 Network slicing method and system
CN108322367B (en) * 2017-01-16 2022-01-14 中兴通讯股份有限公司 Method, equipment and system for service delivery

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060209865A1 (en) * 2005-02-18 2006-09-21 Broadcom Corporation Multi-part parsing in a network device
CN101296244A (en) * 2008-06-27 2008-10-29 中兴通讯股份有限公司 Universal framing regulation mapping encapsulation method
CN102238064A (en) * 2010-04-23 2011-11-09 华为技术有限公司 Data transmission method, device and system
CN106921641A (en) * 2015-12-28 2017-07-04 华为技术有限公司 The method and apparatus of transmitting message

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113452475A (en) * 2020-03-28 2021-09-28 华为技术有限公司 Data transmission method, device and related equipment
CN112272387A (en) * 2020-09-22 2021-01-26 国电南瑞科技股份有限公司 Low-scheduling time delay and high-speed access method, module, terminal and power secondary equipment based on 5G
CN112272387B (en) * 2020-09-22 2022-03-11 国电南瑞科技股份有限公司 Low-scheduling time delay and high-speed access method, module, terminal and power secondary equipment based on 5G
CN113890853A (en) * 2021-09-27 2022-01-04 北京字跳网络技术有限公司 Current limiting method and device, storage medium and electronic equipment
CN113890853B (en) * 2021-09-27 2024-04-19 北京字跳网络技术有限公司 Current limiting method and device, storage medium and electronic equipment
CN115865277A (en) * 2022-11-30 2023-03-28 苏州异格技术有限公司 Data processing method and device for flexible Ethernet, storage medium and electronic equipment
CN115865277B (en) * 2022-11-30 2023-12-15 苏州异格技术有限公司 Flexible Ethernet data processing method and device, storage medium and electronic equipment
CN116781428A (en) * 2023-08-24 2023-09-19 湖南马栏山视频先进技术研究院有限公司 Forwarding system based on VPN flow
CN116781428B (en) * 2023-08-24 2023-11-07 湖南马栏山视频先进技术研究院有限公司 Forwarding system based on VPN flow

Also Published As

Publication number Publication date
CN110798415B (en) 2022-02-18
KR102513755B1 (en) 2023-03-24
JP7122455B2 (en) 2022-08-19
JP2021534618A (en) 2021-12-09
CN110798415A (en) 2020-02-14
KR20210038959A (en) 2021-04-08

Similar Documents

Publication Publication Date Title
WO2020024721A1 (en) Service transmission method, device, and computer storage medium
WO2017202158A1 (en) Data forwarding method and device
US6870837B2 (en) Circuit emulation service over an internet protocol network
CN111201748B (en) Method and device for sending and receiving clock synchronization message
WO2017161999A1 (en) Packet processing method and related device
EP1956763A1 (en) A method, a data network system and a network node for transmitting data packets
WO2014086007A1 (en) Data processing method, communication single board and device
WO2008080315A1 (en) A method, equipment and system for transmitting data
JP7329627B2 (en) Packet processing method and related device
US9065764B2 (en) Method, apparatus and system for maintaining quality of service QoS
EP1648133B1 (en) A method for encapsulating data stream
US11251905B2 (en) Method for receiving code block stream, method for transmitting code block stream, and communications apparatus
US20220407742A1 (en) Time-sensitive transmission of ethernet traffic between endpoint network nodes
JP2021533691A (en) Methods and equipment for processing service bitstreams
EP2048828B1 (en) Method and systems for data transmission over packet networks, corresponding computer program product
US11902403B2 (en) Method for receiving code block stream, method for sending code block stream, and communications apparatus
WO2023231429A1 (en) Data transmission method, source end device, sink end device and storage medium
WO2022262614A1 (en) Communication method, apparatus, and system
WO2021073570A1 (en) Communication method, apparatus and system
WO2024032269A1 (en) Communication method, related apparatus and computer-readable storage medium
WO2020114084A1 (en) Message forwarding method and apparatus
CN113949743A (en) ODU payload bearing method and system
CN115442238A (en) Service processing method, network device and computer readable storage medium

Legal Events

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

Ref document number: 19845527

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021505752

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20217006517

Country of ref document: KR

Kind code of ref document: A

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC ( EPO FORM 1205A DATED 17/06/2021 )

122 Ep: pct application non-entry in european phase

Ref document number: 19845527

Country of ref document: EP

Kind code of ref document: A1