WO2017118019A1 - E1 structured time-slot compression mode packet transport method and apparatus - Google Patents

E1 structured time-slot compression mode packet transport method and apparatus Download PDF

Info

Publication number
WO2017118019A1
WO2017118019A1 PCT/CN2016/094656 CN2016094656W WO2017118019A1 WO 2017118019 A1 WO2017118019 A1 WO 2017118019A1 CN 2016094656 W CN2016094656 W CN 2016094656W WO 2017118019 A1 WO2017118019 A1 WO 2017118019A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
time slot
data frame
ethernet
frame
Prior art date
Application number
PCT/CN2016/094656
Other languages
French (fr)
Chinese (zh)
Inventor
徐继超
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017118019A1 publication Critical patent/WO2017118019A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/13Flow control; Congestion control in a LAN segment, e.g. ring or bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/20Traffic policing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/23Bit dropping

Definitions

  • This document relates to, but is not limited to, the field of packet switching network communication technologies, and in particular, to a method and apparatus for E1 structured time slot compression mode packet transmission.
  • IP Internet Protocol
  • MPLS Multi-Protocol Label Switching
  • PSH Public Switched Telephone Network
  • PX Plesiochronous Digital Hierarchy
  • PST public voice communication services
  • E1 is a kind of PDH service.
  • E1 is a kind of branch signal used by China and Europe. It is the main carrier of various basic service transmission.
  • TS0 transmits a base frame synchronization signal;
  • TS1-TS15 and TS17-TS31 provide a service channel for the user;
  • TS16 can be used as a transmission signaling, and can also serve as a service channel like TS1-TS15 and TS17-TS31 when transmission signaling is not required.
  • Use E1 frame 8000 frames per second.
  • the embodiment of the invention provides a method and a device for transmitting an E1 structured time slot compressed mode packet, which can save the bandwidth of the idle time slot in the TS0-TS31 when the E1 frame is in the bearer service.
  • the embodiment of the invention provides a method for E1 structured time slot compression mode packet transmission, which comprises the following steps:
  • the idle time slot in the obtained E1 data frame that does not transmit the service data is compressed, and the valid time slot data of the valid time slot of the E1 data frame for transmitting the service data is obtained;
  • the Ethernet data frame is obtained by performing Ethernet encapsulation on the valid time slot data read out in the buffer, and transmitting the Ethernet data frame via the Ethernet.
  • the idle time slot in which the obtained service data is not transmitted in the obtained E1 data frame according to the effective service transmission policy includes:
  • the determined idle time slot is discarded, that is, the idle time slot data is not cached.
  • the method further includes performing Ethernet decapsulation on the Ethernet data frame transmitted via the Ethernet to obtain an E1 data frame.
  • performing Ethernet decapsulation on the Ethernet data frame transmitted via the Ethernet, to obtain an E1 data frame including:
  • the valid time slot data buffered in the cache device is decapsulated, and the decapsulated valid time slot data is inserted into the E1 data frame.
  • the decapsulated valid time slot data is inserted into the E1 data frame according to the frame header indication information of the E1 data frame.
  • Embodiments of the present invention provide an E1 structured time slot compression mode packet transmission apparatus, and a packet include:
  • the obtaining module is configured to obtain an E1 data frame by performing frame processing on the E1 data stream, and compress the idle time slot in the obtained E1 data frame that does not transmit the service data according to the effective service transmission policy, to obtain the E1 data.
  • the frame is used to transmit valid time slot data of an effective time slot of the service data;
  • a cache module configured to send the valid time slot data into a cache device for caching
  • the encapsulation module is configured to obtain an Ethernet data frame by performing Ethernet encapsulation on the valid time slot data read out in the cache, and transmit the Ethernet data frame via the Ethernet.
  • the obtaining module includes:
  • a determining unit configured to determine a free time slot in the E1 data frame according to a usage policy reserved by the user regarding a time slot in which the service data slot is not transmitted in the E1 data frame;
  • a discarding unit is arranged to discard the determined idle time slot during buffering of the E1 data frame.
  • the method further includes a decapsulation module configured to perform Ethernet decapsulation on the Ethernet data frame transmitted via the Ethernet to obtain an E1 data frame.
  • a decapsulation module configured to perform Ethernet decapsulation on the Ethernet data frame transmitted via the Ethernet to obtain an E1 data frame.
  • the decapsulation module includes:
  • An extracting unit configured to extract valid time slot data in the E1 data frame by performing pseudowire label identification on the Ethernet data frame transmitted via the Ethernet;
  • a buffer unit configured to send the valid time slot data of the extracted E1 data frame into the cache device for buffering
  • the decapsulation unit is configured to decapsulate the valid time slot data buffered in the cache device, and insert the decapsulated valid time slot data into the E1 data frame.
  • the decapsulated valid time slot data is inserted into the E1 data frame according to the frame header indication information of the E1 data frame.
  • Embodiments of the present invention also provide a computer readable storage medium storing computer executable instructions for performing any of the methods described above.
  • the E1 frame when the E1 frame is in the bearer service, it appears in some idle time slots of the TS0-TS31.
  • the idle time slot is compressed, which saves a lot of bandwidth and reduces the network cost.
  • FIG. 1 is a flowchart of a method for E1 structured slot compression mode packet transmission according to an embodiment of the present invention
  • FIG. 2 is a structural diagram of an apparatus for E1 structured slot compression mode packet transmission according to an embodiment of the present invention
  • FIG. 3 is a block diagram of a board for implementing the entire time slot compression function according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of an E1 data frame format provided by an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of mutual conversion of an E1 data frame and an Ethernet data frame according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of an E1 to Ethernet direction data storage format provided by an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of an Ethernet to E1 direction data storage format according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for E1 structured slot compression mode packet transmission according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
  • Step S101 obtaining an E1 data frame by performing frame processing on the E1 data stream;
  • Step S102 compressing, according to the effective service transmission policy, the idle time slot of the obtained E1 data frame that does not transmit the service data, and obtaining the effective time slot data of the valid time slot of the E1 data frame for transmitting the service data;
  • Step S103 The valid time slot data is sent to the cache device for buffering
  • Step S104 Obtain an Ethernet data frame by performing Ethernet encapsulation on the valid time slot data read out in the buffer, and transmit the Ethernet data frame via the Ethernet.
  • the idle time slot in which the service data is not transmitted in the obtained E1 data frame is compressed according to the effective service transmission policy, and the E1 is determined according to a usage policy of the user not scheduled to transmit the service data time slot in the E1 data frame.
  • the idle time slot in the data frame during the buffering of the E1 data frame, discarding the determined idle time slot, that is, not performing buffer processing on the idle time slot data.
  • the embodiment of the invention further includes performing Ethernet decapsulation on the Ethernet data frame transmitted via the Ethernet to obtain an E1 data frame.
  • performing Ethernet decapsulation on the Ethernet data frame transmitted via Ethernet, and obtaining an E1 data frame includes: performing pseudowire label identification on the Ethernet data frame transmitted via Ethernet, and extracting Either time slot data in the E1 data frame; the valid time slot data of the extracted E1 data frame is sent to the cache device for buffering; the valid time slot data buffered in the cache device is decapsulated, and the decapsulated The valid time slot data is inserted into the E1 data frame.
  • the decapsulated valid time slot data is inserted into the E1 data frame according to the frame header indication information of the E1 data frame.
  • how to decapsulate the valid time slot data cached in the cache device can be implemented by using the well-known techniques of the present invention, and is not used to limit the protection scope of the embodiment of the present invention, and details are not described herein again.
  • the frame header indication information of the E1 data frame includes the location of the valid slot data in the E1 data frame in the E1 data frame.
  • the above method can be implemented by a communication device of a bearer network.
  • FIG. 2 is a structural diagram of an apparatus for E1 structured slot compression mode packet transmission according to an embodiment of the present invention.
  • the method includes: an obtaining module 201, a cache module 202, and a packaging module. 203.
  • the obtaining module 201 is configured to obtain an E1 data frame by performing frame processing on the E1 data stream, and compress the idle time slot of the obtained E1 data frame that does not transmit the service data according to the effective service transmission policy, and obtain the The E1 data frame is configured to transmit valid time slot data of the valid time slot of the service data;
  • the cache module 202 is configured to send the valid time slot data into the cache device for buffering;
  • the encapsulation module 203 is configured to The Ethernet data frame is obtained by performing Ethernet encapsulation on the valid time slot data read out in the buffer, and transmitting the Ethernet data frame via the Ethernet.
  • the obtaining module 201 includes: a determining unit, configured to determine, according to a usage policy that the user does not transmit a service data slot in the E1 data frame, determine a free time slot in the E1 data frame; and the discarding unit is set to be in the cache. During the E1 data frame, the determined idle time slot is discarded.
  • the embodiment of the invention further includes a decapsulation module configured to perform Ethernet decapsulation on the Ethernet data frame transmitted via the Ethernet to obtain an E1 data frame.
  • the decapsulation module includes: an extracting unit configured to extract valid time slot data in the E1 data frame by performing pseudowire label identification on the Ethernet data frame transmitted via the Ethernet; the cache unit, setting To buffer the valid time slot data of the extracted E1 data frame into the cache device; the decapsulation unit is configured to decapsulate the valid time slot data buffered in the cache device, and decapsulate the valid time slot The data is inserted into the E1 data frame.
  • the decapsulated valid time slot data is inserted into the E1 data frame according to the frame header indication information of the E1 data frame.
  • FIG. 3 is a block diagram of a single board for implementing the entire time slot compression function according to an embodiment of the present invention.
  • an FPGA Field-Programmable Gate Array
  • CPU Center Processing Unit
  • storage device such as Double Rate Synchronous Dynamic Random Access Memory (DDR) or Synchronous Static Random Access Memory (SSRAM)
  • DDR Double Rate Synchronous Dynamic Random Access Memory
  • SSRAM Synchronous Static Random Access Memory
  • the interface chip is configured to recover an external 2 mega (M) electrical signal and output 2M clock and 2M data
  • the CPU is set as a transmission medium for managing information of the upper network management system and the FPGA, acquiring user configuration requirement information, and The configuration requirement information is sent to the FPGA, so that the FPGA performs data processing according to the user's requirements, and uploads the performance and alarm of the FPGA to the network management.
  • the storage device is set to store 2M data
  • the clock circuit is set to provide a clock signal.
  • the FPGA is equivalent to a protocol converter, which completes the conversion of E1 data frames to Ethernet data frames. change.
  • the E1 data frame and the Ethernet data frame are respectively connected to the client side and the system side, and the configuration information is connected to the CPU through the intra-board communication bus.
  • FIG. 4 is a schematic diagram of an E1 data frame format provided by an embodiment of the present invention.
  • the device includes a 32-slot of an E1 data frame and a user-configured TS1-TS31 effective time slot.
  • Si refers to the international spare byte
  • A is the Remote Alarm Memory (RAI)
  • Sa4 to Sa8 refers to the domestic spare domestic byte
  • the even frame 0011011 and the odd frame 1 are the frame positioning information.
  • RAI Remote Alarm Memory
  • FIG. 5 is a schematic diagram of the mutual conversion of an E1 data frame and an Ethernet data frame according to an embodiment of the present invention. As shown in FIG. 5, the method includes an E1 data frame to an Ethernet data frame direction and an Ethernet data frame to an E1 data frame direction.
  • the direction of the E1 data frame to the Ethernet data frame is referred to as the uplink, and the direction of the Ethernet data frame to the E1 data frame is referred to as the downlink.
  • Alarm detection part the data sent by the interface chip is used for alarm detection
  • the AIS alarm is detected by the AIS (Alarm Indication Signal).
  • the principle is that the AIS alarm is sent to the Ethernet part.
  • the specific AIS detection can be implemented by using the well-known techniques of the present invention, and is not intended to limit the scope of protection of the embodiments of the present invention, and details are not described herein again.
  • Framer part completes the frame structure detection of E1, one or more performance statistics
  • Encapsulation part of the Ethernet implements converting the data stream of the E1 frame emulation port into an Ethernet packet.
  • the E1 data enters the interface chip from the E1 port, recovers 2M data and 2M clock, and the interface module part of the FPGA performs alarm detection; the Frame module of the FPGA performs frame processing; the compression module of the FPGA compresses the idle according to the user configuration. Time slot; the effective time slot is pushed into the buffer, and the data storage is stored in frames. For example, the data stored in the idle time slot is empty; and the Ethernet packet is sent according to the size of the user-configured message.
  • Ethernet decapsulation part Identify the Ethernet packet sent, and query the corresponding configuration information (link number, number of cascades, effective slot number, etc.) according to the label of the packet, and then report from the Ethernet.
  • the data stream of E1 is restored in the text. And cache the data.
  • the Framer module regenerates the frame structure of E1.
  • Interface processing part Perform E1 data clock regeneration and clock debounce.
  • the Ethernet frame is identified by the pseudowire label, the effective time slot data is extracted; the valid time slot data is pushed into the buffer, and the frame header position is marked; the Frame module of the FPGA performs decapsulation, and the frame is framed according to the frame position information.
  • the valid time slot data is read out from the buffer; the clock data of the valid time slot data is reproduced, and the clock is debounced.
  • FIG. 6 is a schematic diagram of an E1 to Ethernet direction data storage format according to an embodiment of the present invention.
  • the data storage is stored in a frame, and a frame storage space is 32 bytes, and the address is from 0 to 31.
  • the Addr low bit [4:0] indicates that the frame count is represented by the Addr high bit [11:5].
  • each frame of the storage space will be idle, which facilitates frame positioning when read.
  • the first time slot is found for the serial data stream A inside the FPGA.
  • a data frame 32 time slot data B is obtained.
  • the data B is compressed to obtain valid time slot data C, which is stored in the cache, and the E1 frame is encapsulated into the Ethernet frame D according to the configuration cascade information.
  • FIG. 7 is a schematic diagram of an Ethernet to E1 direction data storage format according to an embodiment of the present invention.
  • data storage is stored in frames, data is continuously stored, and there is no frame header information, and the frame header position needs to be pointed out to facilitate data.
  • the Ethernet frame E detection is performed inside the FPGA, and according to the user configuration, the E1 data F is extracted into the buffer, the E1 frame G is reproduced in the read direction, and the read data is inserted into the E1 data frame by the frame header indication information.
  • the embodiment of the invention implements the slot compression mode of the E1 structured service, saves network bandwidth, and reduces network cost.
  • Embodiments of the present invention also provide a computer readable storage medium storing computer executable instructions for performing any of the methods described above.
  • the instructions are related to hardware (eg, a processor) that can be stored in a computer readable storage medium, such as a read only memory, a magnetic disk, or an optical disk.
  • a computer readable storage medium such as a read only memory, a magnetic disk, or an optical disk.
  • all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits.
  • each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program in a storage and a memory by a processor. / instruction to achieve its corresponding function.
  • the invention is not limited to any specific form of combination of hardware and software.

Abstract

An E1 structured time-slot compression mode packet transport method and apparatus, relating to the technical field of packet switching network communications. The method comprises the following steps: obtaining an E1 data frame by performing framing processing on an E1 data stream; according to an effective service transmission strategy, compressing an idle time slot, not transmitting service data, in the obtained E1 data frame, so as to obtain active time slot data of an active time slot, used for transmitting the service data, of the E1 data frame; sending the active time slot data into a cache device for caching; and obtaining an Ethernet data frame by performing Ethernet encapsulation on the active time slot data read from the cache device, and transporting the Ethernet data frame by means of the Ethernet.

Description

一种E1结构化时隙压缩模式分组传送的方法及装置Method and device for E1 structured time slot compression mode packet transmission 技术领域Technical field
本文涉及但不限于分组交换网通讯技术领域,尤其涉及一种E1结构化时隙压缩模式分组传送的方法及装置。This document relates to, but is not limited to, the field of packet switching network communication technologies, and in particular, to a method and apparatus for E1 structured time slot compression mode packet transmission.
背景技术Background technique
随着网络技术演进和网络融合,在下一代网络中,以数据包为基本单元进行网络数据传输和交换的方式将占据统治地位,无论是互联网协议(IP,Internet Protocol)网络、多协议标签互换(MPLS,Multi-Protocol Label Switching)网络都是包交换网络的代表。另一方面下一代网络业务不会是一朝一夕就能建成的,现存的服务于公共交换电话网络(PSTN,Public Switched Telephone Network)公共语音通信业务的准同步数字系列(PDH,Plesiochronous Digital Hierarchy)网络还将会长期存在,网络上大量存在的用户PDH设备还将继续使用。为了保护用户在PDH设备上已有的投资,在下一代包交换网络中提供PDH业务接入和PDH数据透传能力是十分必要的。With the evolution of network technology and network convergence, in the next generation network, the way of data transmission and exchange using packet as the basic unit will dominate, whether it is Internet Protocol (IP) network, multi-protocol label mutual MPLS (Multi-Protocol Label Switching) networks are representative of packet switching networks. On the other hand, the next-generation network service will not be built overnight. The existing PSH (Public Switched Telephone Network) PX (Plesiochronous Digital Hierarchy) network for public voice communication services (PST) It will exist for a long time, and a large number of user PDH devices on the network will continue to be used. In order to protect the existing investment of users on PDH equipment, it is necessary to provide PDH service access and PDH data transparent transmission capability in the next generation packet switching network.
E1就是PDH业务的一种,E1是我国和欧洲等地区使用的一种支路信号,是多种基础业务传输的主要载体。E1 is a kind of PDH service. E1 is a kind of branch signal used by China and Europe. It is the main carrier of various basic service transmission.
E1结构化基帧:E1的每个基帧有256个比特(bit)。每8个bit为一个时隙。一帧有256/8=32个时隙(time-slots),分别编号为TS0-TS31。每个时隙的信号带宽为64千比特每秒(Kbps)。TS0传送基帧同步信号;TS1-TS15和TS17-TS31为用户提供业务通道;TS16可以用作传输信令,在不需要传输信令时,也可以和TS1-TS15、TS17-TS31一样作为业务通道使用,E1帧每秒8000帧。E1 structured base frame: Each base frame of E1 has 256 bits. Each 8 bits is a time slot. One frame has 256/8=32 time slots (time-slots), numbered TS0-TS31. The signal bandwidth per slot is 64 kilobits per second (Kbps). TS0 transmits a base frame synchronization signal; TS1-TS15 and TS17-TS31 provide a service channel for the user; TS16 can be used as a transmission signaling, and can also serve as a service channel like TS1-TS15 and TS17-TS31 when transmission signaling is not required. Use, E1 frame 8000 frames per second.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种E1结构化时隙压缩模式分组传送的方法及装置,能够实现E1帧在承载业务时,节省在TS0-TS31中的空闲时隙的带宽。 The embodiment of the invention provides a method and a device for transmitting an E1 structured time slot compressed mode packet, which can save the bandwidth of the idle time slot in the TS0-TS31 when the E1 frame is in the bearer service.
本发明实施例提供了一种E1结构化时隙压缩模式分组传送的方法,包括以下步骤:The embodiment of the invention provides a method for E1 structured time slot compression mode packet transmission, which comprises the following steps:
通过对E1数据流进行定帧处理,得到E1数据帧;Obtaining an E1 data frame by performing frame processing on the E1 data stream;
根据有效业务传输策略,压缩掉所得到的E1数据帧中不传输业务数据的空闲时隙,得到所述E1数据帧用于传输业务数据的有效时隙的有效时隙数据;According to the effective service transmission policy, the idle time slot in the obtained E1 data frame that does not transmit the service data is compressed, and the valid time slot data of the valid time slot of the E1 data frame for transmitting the service data is obtained;
将所述有效时隙数据送入缓存器件中进行缓存;Transmitting the valid time slot data into a cache device for buffering;
通过将缓存件器中读出的有效时隙数据进行以太网封装,得到以太网数据帧,并经由以太网传送所述太网数据帧。The Ethernet data frame is obtained by performing Ethernet encapsulation on the valid time slot data read out in the buffer, and transmitting the Ethernet data frame via the Ethernet.
可选地,所述根据有效业务传输策略,压缩掉所得到的E1数据帧中不传输业务数据的空闲时隙包括:Optionally, the idle time slot in which the obtained service data is not transmitted in the obtained E1 data frame according to the effective service transmission policy includes:
根据用户预定的关于E1数据帧中不传输业务数据时隙的使用策略,确定E1数据帧中的空闲时隙;Determining an idle time slot in the E1 data frame according to a usage policy reserved by the user regarding a time slot in which the service data slot is not transmitted in the E1 data frame;
在缓存所述E1数据帧期间,丢弃所确定的空闲时隙,即不对空闲时隙数据进行缓存处理。During the buffering of the E1 data frame, the determined idle time slot is discarded, that is, the idle time slot data is not cached.
可选地,还包括对经由以太网传送的所述太网数据帧进行以太网解封,得到E1数据帧。Optionally, the method further includes performing Ethernet decapsulation on the Ethernet data frame transmitted via the Ethernet to obtain an E1 data frame.
可选地,所述对经由以太网传送的所述太网数据帧进行以太网解封,得到E1数据帧包括:Optionally, performing Ethernet decapsulation on the Ethernet data frame transmitted via the Ethernet, to obtain an E1 data frame, including:
通过对经由以太网传送的所述太网数据帧进行伪线标签识别,提取E1数据帧中的有效时隙数据;Extracting valid time slot data in the E1 data frame by performing pseudowire label identification on the Ethernet data frame transmitted via Ethernet;
将所提取的E1数据帧的有效时隙数据送入缓存器件中进行缓存;Transmitting the valid time slot data of the extracted E1 data frame into the cache device for buffering;
对缓存器件中缓存的有效时隙数据进行解封,并将解封后的有效时隙数据插入到E1数据帧中。The valid time slot data buffered in the cache device is decapsulated, and the decapsulated valid time slot data is inserted into the E1 data frame.
可选地,根据E1数据帧的帧头指示信息,将解封后的有效时隙数据插入到E1数据帧中。Optionally, the decapsulated valid time slot data is inserted into the E1 data frame according to the frame header indication information of the E1 data frame.
本发明实施例提供了一种E1结构化时隙压缩模式分组传送的装置,包 括:Embodiments of the present invention provide an E1 structured time slot compression mode packet transmission apparatus, and a packet include:
获取模块,设置为通过对E1数据流进行定帧处理,得到E1数据帧,以及根据有效业务传输策略,压缩掉所得到的E1数据帧中不传输业务数据的空闲时隙,得到所述E1数据帧用于传输业务数据的有效时隙的有效时隙数据;The obtaining module is configured to obtain an E1 data frame by performing frame processing on the E1 data stream, and compress the idle time slot in the obtained E1 data frame that does not transmit the service data according to the effective service transmission policy, to obtain the E1 data. The frame is used to transmit valid time slot data of an effective time slot of the service data;
缓存模块,设置为将所述有效时隙数据送入缓存器件中进行缓存;a cache module, configured to send the valid time slot data into a cache device for caching;
封装模块,设置为通过将缓存件器中读出的有效时隙数据进行以太网封装,得到以太网数据帧,并经由以太网传送所述太网数据帧。The encapsulation module is configured to obtain an Ethernet data frame by performing Ethernet encapsulation on the valid time slot data read out in the cache, and transmit the Ethernet data frame via the Ethernet.
可选地,所述获取模块包括:Optionally, the obtaining module includes:
确定单元,设置为根据用户预定的关于E1数据帧中不传输业务数据时隙的使用策略,确定E1数据帧中的空闲时隙;a determining unit, configured to determine a free time slot in the E1 data frame according to a usage policy reserved by the user regarding a time slot in which the service data slot is not transmitted in the E1 data frame;
丢弃单元,设置为在缓存所述E1数据帧期间,丢弃所确定的空闲时隙。A discarding unit is arranged to discard the determined idle time slot during buffering of the E1 data frame.
可选地,还包括解封模块,设置为对经由以太网传送的所述太网数据帧进行以太网解封,得到E1数据帧。Optionally, the method further includes a decapsulation module configured to perform Ethernet decapsulation on the Ethernet data frame transmitted via the Ethernet to obtain an E1 data frame.
可选地,所述解封模块包括:Optionally, the decapsulation module includes:
提取单元,设置为通过对经由以太网传送的所述太网数据帧进行伪线标签识别,提取E1数据帧中的有效时隙数据;An extracting unit, configured to extract valid time slot data in the E1 data frame by performing pseudowire label identification on the Ethernet data frame transmitted via the Ethernet;
缓存单元,设置为将所提取的E1数据帧的有效时隙数据送入缓存器件中进行缓存;a buffer unit, configured to send the valid time slot data of the extracted E1 data frame into the cache device for buffering;
解封单元,设置为对缓存器件中缓存的有效时隙数据进行解封,并将解封后的有效时隙数据插入到E1数据帧中。The decapsulation unit is configured to decapsulate the valid time slot data buffered in the cache device, and insert the decapsulated valid time slot data into the E1 data frame.
可选地,根据E1数据帧的帧头指示信息,将解封后的有效时隙数据插入到E1数据帧中。Optionally, the decapsulated valid time slot data is inserted into the E1 data frame according to the frame header indication information of the E1 data frame.
本发明实施例还提出了一种计算机可读存储介质,存储有计算机可执行指令,计算机可执行指令用于执行上述描述的任意一个方法。Embodiments of the present invention also provide a computer readable storage medium storing computer executable instructions for performing any of the methods described above.
与相关技术相比较,本发明实施例的有益效果在于:Compared with related technologies, the beneficial effects of the embodiments of the present invention are:
本发明实施例E1帧在承载业务时,出现在TS0-TS31的某些空闲时隙, 把其中空闲时隙压缩掉,节省了大量带宽,降低了网络成本。In the embodiment of the present invention, when the E1 frame is in the bearer service, it appears in some idle time slots of the TS0-TS31. The idle time slot is compressed, which saves a lot of bandwidth and reduces the network cost.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1是本发明实施例提供的一种E1结构化时隙压缩模式分组传送的方法流程图;1 is a flowchart of a method for E1 structured slot compression mode packet transmission according to an embodiment of the present invention;
图2是本发明实施例提供的一种E1结构化时隙压缩模式分组传送的装置结构图;2 is a structural diagram of an apparatus for E1 structured slot compression mode packet transmission according to an embodiment of the present invention;
图3是本发明实施例提供的实现整个时隙压缩功能的单板框图;3 is a block diagram of a board for implementing the entire time slot compression function according to an embodiment of the present invention;
图4是本发明实施例提供的E1数据帧格式的示意图;4 is a schematic diagram of an E1 data frame format provided by an embodiment of the present invention;
图5是本发明实施例提供的E1数据帧与以太网数据帧相互转换的示意图;FIG. 5 is a schematic diagram of mutual conversion of an E1 data frame and an Ethernet data frame according to an embodiment of the present invention; FIG.
图6是本发明实施例提供的E1到以太网方向数据存储格式的示意图;6 is a schematic diagram of an E1 to Ethernet direction data storage format provided by an embodiment of the present invention;
图7是本发明实施例提供的以太网到E1方向数据存储格式的示意图。FIG. 7 is a schematic diagram of an Ethernet to E1 direction data storage format according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
以下结合附图对本发明的优选实施例进行详细说明,应当理解,以下所说明的可选实施例仅用于说明和解释本发明,并不用于限定本发明。The preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings.
图1是本发明实施例提供的一种E1结构化时隙压缩模式分组传送的方法流程图,如图1所示,包括以下步骤:FIG. 1 is a flowchart of a method for E1 structured slot compression mode packet transmission according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
步骤S101:通过对E1数据流进行定帧处理,得到E1数据帧;Step S101: obtaining an E1 data frame by performing frame processing on the E1 data stream;
步骤S102:根据有效业务传输策略,压缩掉所得到的E1数据帧中不传输业务数据的空闲时隙,得到所述E1数据帧用于传输业务数据的有效时隙的有效时隙数据;Step S102: compressing, according to the effective service transmission policy, the idle time slot of the obtained E1 data frame that does not transmit the service data, and obtaining the effective time slot data of the valid time slot of the E1 data frame for transmitting the service data;
步骤S103:将所述有效时隙数据送入缓存器件中进行缓存;Step S103: The valid time slot data is sent to the cache device for buffering;
步骤S104:通过将缓存件器中读出的有效时隙数据进行以太网封装,得到以太网数据帧,并经由以太网传送所述太网数据帧。Step S104: Obtain an Ethernet data frame by performing Ethernet encapsulation on the valid time slot data read out in the buffer, and transmit the Ethernet data frame via the Ethernet.
其中,具体如何通过对E1数据流进行定帧处理得到E1数据帧可以采用 本领域技术人员的熟知技术实现,并不用于限定本发明实施例的保护范围,这里不再赘述。Specifically, how to obtain an E1 data frame by performing frame processing on the E1 data stream may be adopted. The well-known technical implementations of the present invention are not intended to limit the scope of protection of the embodiments of the present invention, and are not described herein again.
其中,所述根据有效业务传输策略,压缩掉所得到的E1数据帧中不传输业务数据的空闲时隙包括:根据用户预定的关于E1数据帧中不传输业务数据时隙的使用策略,确定E1数据帧中的空闲时隙;在缓存所述E1数据帧期间,丢弃所确定的空闲时隙,即不对空闲时隙数据进行缓存处理。The idle time slot in which the service data is not transmitted in the obtained E1 data frame is compressed according to the effective service transmission policy, and the E1 is determined according to a usage policy of the user not scheduled to transmit the service data time slot in the E1 data frame. The idle time slot in the data frame; during the buffering of the E1 data frame, discarding the determined idle time slot, that is, not performing buffer processing on the idle time slot data.
其中,具体如何将缓存器中读出的有效时隙数据进行以太网封装可以采用本领域技术人员的熟知技术实现,并不用于限定本发明实施例的保护范围,这里不再赘述。For example, how to perform the Ethernet encapsulation of the valid time slot data read in the buffer can be implemented by using the well-known technology of the present invention, and is not used to limit the protection scope of the embodiment of the present invention, and details are not described herein again.
本发明实施例还包括对经由以太网传送的所述以太网数据帧进行以太网解封,得到E1数据帧。具体地说,所述对经由以太网传送的所述以太网数据帧进行以太网解封,得到E1数据帧包括:通过对经由以太网传送的所述以太网数据帧进行伪线标签识别,提取E1数据帧中的有效时隙数据;将所提取的E1数据帧的有效时隙数据送入缓存器件中进行缓存;对缓存器件中缓存的有效时隙数据进行解封,并将解封后的有效时隙数据插入到E1数据帧中。其中,根据E1数据帧的帧头指示信息,将解封后的有效时隙数据插入到E1数据帧中。The embodiment of the invention further includes performing Ethernet decapsulation on the Ethernet data frame transmitted via the Ethernet to obtain an E1 data frame. Specifically, performing Ethernet decapsulation on the Ethernet data frame transmitted via Ethernet, and obtaining an E1 data frame includes: performing pseudowire label identification on the Ethernet data frame transmitted via Ethernet, and extracting Either time slot data in the E1 data frame; the valid time slot data of the extracted E1 data frame is sent to the cache device for buffering; the valid time slot data buffered in the cache device is decapsulated, and the decapsulated The valid time slot data is inserted into the E1 data frame. The decapsulated valid time slot data is inserted into the E1 data frame according to the frame header indication information of the E1 data frame.
其中,具体如何对以太网数据帧进行伪线标签识别可以采用本领域技术人员的熟知技术实现,并不用于限定本发明实施例的保护范围,这里不再赘述。Specifically, how to perform the pseudo-line label identification on the Ethernet data frame can be implemented by using the well-known technology of the present invention, and is not used to limit the protection scope of the embodiment of the present invention, and details are not described herein again.
其中,具体如何对缓存器件中缓存的有效时隙数据进行解封可以采用本领域技术人员的熟知技术实现,并不用于限定本发明实施例的保护范围,这里不再赘述。For example, how to decapsulate the valid time slot data cached in the cache device can be implemented by using the well-known techniques of the present invention, and is not used to limit the protection scope of the embodiment of the present invention, and details are not described herein again.
其中,E1数据帧的帧头指示信息包括E1数据帧中的有效时隙数据在E1数据帧中的位置。The frame header indication information of the E1 data frame includes the location of the valid slot data in the E1 data frame in the E1 data frame.
上述方法可以通过承载网的通信设备实现。The above method can be implemented by a communication device of a bearer network.
图2是本发明实施例提供的一种E1结构化时隙压缩模式分组传送的装置结构图,如图2所示,包括:获取模块201、缓存模块202以及封装模块 203。所述获取模块201,设置为通过对E1数据流进行定帧处理,得到E1数据帧,以及根据有效业务传输策略,压缩掉所得到的E1数据帧中不传输业务数据的空闲时隙,得到所述E1数据帧用于传输业务数据的有效时隙的有效时隙数据;所述缓存模块202,设置为将所述有效时隙数据送入缓存器件中进行缓存;所述封装模块203,设置为通过将缓存件器中读出的有效时隙数据进行以太网封装,得到以太网数据帧,并经由以太网传送所述太网数据帧。FIG. 2 is a structural diagram of an apparatus for E1 structured slot compression mode packet transmission according to an embodiment of the present invention. As shown in FIG. 2, the method includes: an obtaining module 201, a cache module 202, and a packaging module. 203. The obtaining module 201 is configured to obtain an E1 data frame by performing frame processing on the E1 data stream, and compress the idle time slot of the obtained E1 data frame that does not transmit the service data according to the effective service transmission policy, and obtain the The E1 data frame is configured to transmit valid time slot data of the valid time slot of the service data; the cache module 202 is configured to send the valid time slot data into the cache device for buffering; the encapsulation module 203 is configured to The Ethernet data frame is obtained by performing Ethernet encapsulation on the valid time slot data read out in the buffer, and transmitting the Ethernet data frame via the Ethernet.
其中,所述获取模块201包括:确定单元,设置为根据用户预定的关于E1数据帧中不传输业务数据时隙的使用策略,确定E1数据帧中的空闲时隙;丢弃单元,设置为在缓存所述E1数据帧期间,丢弃所确定的空闲时隙。The obtaining module 201 includes: a determining unit, configured to determine, according to a usage policy that the user does not transmit a service data slot in the E1 data frame, determine a free time slot in the E1 data frame; and the discarding unit is set to be in the cache. During the E1 data frame, the determined idle time slot is discarded.
本发明实施例还包括解封模块,设置为对经由以太网传送的所述太网数据帧进行以太网解封,得到E1数据帧。具体地说,所述解封模块包括:提取单元,设置为通过对经由以太网传送的所述太网数据帧进行伪线标签识别,提取E1数据帧中的有效时隙数据;缓存单元,设置为将所提取的E1数据帧的有效时隙数据送入缓存器件中进行缓存;解封单元,设置为对缓存器件中缓存的有效时隙数据进行解封,并将解封后的有效时隙数据插入到E1数据帧中。其中,根据E1数据帧的帧头指示信息,将解封后的有效时隙数据插入到E1数据帧中。The embodiment of the invention further includes a decapsulation module configured to perform Ethernet decapsulation on the Ethernet data frame transmitted via the Ethernet to obtain an E1 data frame. Specifically, the decapsulation module includes: an extracting unit configured to extract valid time slot data in the E1 data frame by performing pseudowire label identification on the Ethernet data frame transmitted via the Ethernet; the cache unit, setting To buffer the valid time slot data of the extracted E1 data frame into the cache device; the decapsulation unit is configured to decapsulate the valid time slot data buffered in the cache device, and decapsulate the valid time slot The data is inserted into the E1 data frame. The decapsulated valid time slot data is inserted into the E1 data frame according to the frame header indication information of the E1 data frame.
图3是本发明实施例提供的实现整个时隙压缩功能的单板框图,如图3所示,以FPGA(Field-Programmable Gate Array,现场可编程门阵列)为处理核心,外围有中央处理器(CPU,Center Processing Unit),存储器件(如双倍速率同步动态随机存储器(DDR,Double Data Rate)或同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)),接口芯片以及时钟电路。所述接口芯片设置为将外部的2兆(M)电信号,恢复出2M时钟和2M的数据,CPU设置为上层网管与FPGA的管理信息的传输中介,获取用户的配置需求信息,并将用户的配置需求信息发送给FPGA,以便FPGA根据用户的需求进行数据处理,以及将FPGA的性能以及告警上传到网管,存储器件设置为存储2M的数据,时钟电路设置为提供时钟信号。也就是说,FPGA相当于协议转换器,完成E1数据帧到以太网数据帧相互转 换。客户侧和系统侧两侧分别接入E1数据帧和以太网数据帧,配置信息通过板内通信总线与CPU相连。FIG. 3 is a block diagram of a single board for implementing the entire time slot compression function according to an embodiment of the present invention. As shown in FIG. 3, an FPGA (Field-Programmable Gate Array) is used as a processing core, and a peripheral CPU is provided. (CPU, Center Processing Unit), storage device (such as Double Rate Synchronous Dynamic Random Access Memory (DDR) or Synchronous Static Random Access Memory (SSRAM)), interface chip and clock circuit. The interface chip is configured to recover an external 2 mega (M) electrical signal and output 2M clock and 2M data, and the CPU is set as a transmission medium for managing information of the upper network management system and the FPGA, acquiring user configuration requirement information, and The configuration requirement information is sent to the FPGA, so that the FPGA performs data processing according to the user's requirements, and uploads the performance and alarm of the FPGA to the network management. The storage device is set to store 2M data, and the clock circuit is set to provide a clock signal. In other words, the FPGA is equivalent to a protocol converter, which completes the conversion of E1 data frames to Ethernet data frames. change. The E1 data frame and the Ethernet data frame are respectively connected to the client side and the system side, and the configuration information is connected to the CPU through the intra-board communication bus.
图4是本发明实施例提供的E1数据帧格式的示意图,如图4所示,包括E1数据帧的32时隙和用户配置TS1~TS31有效时隙。其中,Si是指国际备用字节,A是远端告警指示(RAI,Remote Alarm Memory),Sa4~Sa8是指国内备用国内字节,偶数帧0011011和奇数帧1为帧定位信息。4 is a schematic diagram of an E1 data frame format provided by an embodiment of the present invention. As shown in FIG. 4, the device includes a 32-slot of an E1 data frame and a user-configured TS1-TS31 effective time slot. Among them, Si refers to the international spare byte, A is the Remote Alarm Memory (RAI), Sa4 to Sa8 refers to the domestic spare domestic byte, and the even frame 0011011 and the odd frame 1 are the frame positioning information.
图5是本发明实施例提供的E1数据帧与以太网数据帧相互转换的示意图,如图5所示,包括E1数据帧到以太网数据帧方向和以太网数据帧到E1数据帧方向。E1数据帧到以太网数据帧方向简称上行,以太网数据帧到E1数据帧方向简称下行。FIG. 5 is a schematic diagram of the mutual conversion of an E1 data frame and an Ethernet data frame according to an embodiment of the present invention. As shown in FIG. 5, the method includes an E1 data frame to an Ethernet data frame direction and an Ethernet data frame to an E1 data frame direction. The direction of the E1 data frame to the Ethernet data frame is referred to as the uplink, and the direction of the Ethernet data frame to the E1 data frame is referred to as the downlink.
E1数据帧到以太网数据帧方向:E1 data frame to Ethernet data frame direction:
1:告警检测部分:接口芯片送出的数据进行告警检测;1: Alarm detection part: the data sent by the interface chip is used for alarm detection;
进行告警指示信号(AIS,Alarm Indication Signal)检测,原理是连续512bit,小于3bit为0,上报AIS告警,将AIS告警输出,送给以太网部分。The AIS alarm is detected by the AIS (Alarm Indication Signal). The principle is that the AIS alarm is sent to the Ethernet part.
具体如何进行AIS检测可以采用本领域技术人员的熟知技术实现,并不用于限定本发明实施例的保护范围,这里不再赘述。The specific AIS detection can be implemented by using the well-known techniques of the present invention, and is not intended to limit the scope of protection of the embodiments of the present invention, and details are not described herein again.
2:成帧器(Framer)部分:完成E1的帧结构检测,一种或多种性能统计;2: Framer part: completes the frame structure detection of E1, one or more performance statistics;
具体如何进行E1的帧结构检测可以采用本领域技术人员的熟知技术实现,并不用于限定本发明实施例的保护范围,这里不再赘述。Specifically, how to perform the frame structure detection of the E1 can be implemented by using the well-known techniques of the present invention, and is not intended to limit the scope of protection of the embodiments of the present invention, and details are not described herein again.
3:储存期间部分:有效时隙数据压入缓存,数据存储是按帧存储;3: During the storage period: the valid time slot data is pushed into the buffer, and the data storage is stored in frames;
4:以太网的封装部分:实现将E1帧仿真端口的数据流转换成以太网报文。4: Encapsulation part of the Ethernet: implements converting the data stream of the E1 frame emulation port into an Ethernet packet.
也就是说,E1数据由E1端口进入接口芯片,恢复出2M数据和2M时钟,FPGA的接口模块部分进行告警检测;FPGA的Frame模块进行定帧处理;FPGA的压缩模块根据用户配置,压缩掉空闲时隙;有效时隙压入缓存,数据存储是按帧存储的,如空闲时隙存储数据为空;根据用户配置报文大小,封成以太网报文发送。 That is to say, the E1 data enters the interface chip from the E1 port, recovers 2M data and 2M clock, and the interface module part of the FPGA performs alarm detection; the Frame module of the FPGA performs frame processing; the compression module of the FPGA compresses the idle according to the user configuration. Time slot; the effective time slot is pushed into the buffer, and the data storage is stored in frames. For example, the data stored in the idle time slot is empty; and the Ethernet packet is sent according to the size of the user-configured message.
以太网数据帧到E1数据帧方向:Ethernet data frame to E1 data frame direction:
1:以太网解封装部分:识别送来的以太网报文,根据报文的标签,查询相应的配置信息(链路编号,级联数目,有效时隙号等),然后从以太网的报文中恢复E1的数据流。并将数据缓存起来。1: Ethernet decapsulation part: Identify the Ethernet packet sent, and query the corresponding configuration information (link number, number of cascades, effective slot number, etc.) according to the label of the packet, and then report from the Ethernet. The data stream of E1 is restored in the text. And cache the data.
2:Framer模块重新再生E1的帧结构。2: The Framer module regenerates the frame structure of E1.
3:接口处理部分:进行E1数据时钟再生,时钟去抖动。3: Interface processing part: Perform E1 data clock regeneration and clock debounce.
也就是说,通过伪线标签识别以太网帧,提取有效时隙数据;将有效时隙数据压入缓存,同时标示帧头位置;FPGA的Frame模块进行解封,并根据帧头位置信息按帧将有效时隙数据从缓存中读取出来;对有效时隙数据数据进行时钟再生,时钟去抖动。That is to say, the Ethernet frame is identified by the pseudowire label, the effective time slot data is extracted; the valid time slot data is pushed into the buffer, and the frame header position is marked; the Frame module of the FPGA performs decapsulation, and the frame is framed according to the frame position information. The valid time slot data is read out from the buffer; the clock data of the valid time slot data is reproduced, and the clock is debounced.
图6是本发明实施例提供的E1到以太网方向数据存储格式的示意图,如图6所示,数据存储按帧存储,一帧存储空间是32字节(byte),地址由0~31用Addr低位[4:0]表示,帧计数用Addr高位[11:5]表示,对于时隙压缩,每帧存储空间会有空闲,在读出时便于帧定位。在FPGA内部对串行的数据流A找到第一个时隙。得到确定数据帧32个时隙数据B。根据用户配置有效时隙信息,对数据B进行压缩得到有效的时隙数据C,存入缓存中,根据配置级联信息,将E1帧封装到以太网帧D中。FIG. 6 is a schematic diagram of an E1 to Ethernet direction data storage format according to an embodiment of the present invention. As shown in FIG. 6, the data storage is stored in a frame, and a frame storage space is 32 bytes, and the address is from 0 to 31. The Addr low bit [4:0] indicates that the frame count is represented by the Addr high bit [11:5]. For slot compression, each frame of the storage space will be idle, which facilitates frame positioning when read. The first time slot is found for the serial data stream A inside the FPGA. A data frame 32 time slot data B is obtained. According to the user configured effective time slot information, the data B is compressed to obtain valid time slot data C, which is stored in the cache, and the E1 frame is encapsulated into the Ethernet frame D according to the configuration cascade information.
图7是本发明实施例提供的以太网到E1方向数据存储格式的示意图,如图7所示,数据存储按帧存储,数据是连续存储的,没有帧头信息,需要指出帧头位置便于数据读出恢复。在FPGA内部进行以太网帧E检测,根据用户配置,提取E1数据F进入缓存,在读方向进行E1帧G再生,通过帧头指示信息将读出的数据插入E1数据帧中。7 is a schematic diagram of an Ethernet to E1 direction data storage format according to an embodiment of the present invention. As shown in FIG. 7, data storage is stored in frames, data is continuously stored, and there is no frame header information, and the frame header position needs to be pointed out to facilitate data. Read recovery. The Ethernet frame E detection is performed inside the FPGA, and according to the user configuration, the E1 data F is extracted into the buffer, the E1 frame G is reproduced in the read direction, and the read data is inserted into the E1 data frame by the frame header indication information.
综上所述,本发明实施例具有以下技术效果:In summary, the embodiments of the present invention have the following technical effects:
本发明实施例实现E1结构化业务的时隙压缩模式,节省了网络带宽,并降低了网络成本。The embodiment of the invention implements the slot compression mode of the E1 structured service, saves network bandwidth, and reduces network cost.
本发明实施例还提出了一种计算机可读存储介质,存储有计算机可执行指令,计算机可执行指令用于执行上述描述的任意一个方法。Embodiments of the present invention also provide a computer readable storage medium storing computer executable instructions for performing any of the methods described above.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储与存储器中的程序/指令来实现其相应功能。本发明不限于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or part of the steps in the above methods may be passed through the program. The instructions are related to hardware (eg, a processor) that can be stored in a computer readable storage medium, such as a read only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program in a storage and a memory by a processor. / instruction to achieve its corresponding function. The invention is not limited to any specific form of combination of hardware and software.
尽管上文对本发明进行了详细说明,但是本发明不限于此,本技术领域技术人员可以根据本发明的原理进行各种修改。因此,凡按照本发明原理所作的修改,都应当理解为落入本发明的保护范围。Although the invention has been described in detail above, the invention is not limited thereto, and various modifications may be made by those skilled in the art in accordance with the principles of the invention. Therefore, modifications made in accordance with the principles of the invention are to be understood as falling within the scope of the invention.
工业实用性Industrial applicability
上述技术方案节省了大量带宽,降低了网络成本。 The above technical solution saves a lot of bandwidth and reduces network cost.

Claims (10)

  1. 一种E1结构化时隙压缩模式分组传送的方法,包括以下步骤:A method for E1 structured time slot compressed mode packet transmission includes the following steps:
    通过对E1数据流进行定帧处理,得到E1数据帧;Obtaining an E1 data frame by performing frame processing on the E1 data stream;
    根据有效业务传输策略,压缩掉所得到的E1数据帧中不传输业务数据的空闲时隙,得到所述E1数据帧用于传输业务数据的有效时隙的有效时隙数据;According to the effective service transmission policy, the idle time slot in the obtained E1 data frame that does not transmit the service data is compressed, and the valid time slot data of the valid time slot of the E1 data frame for transmitting the service data is obtained;
    将所述有效时隙数据送入缓存器件中进行缓存;Transmitting the valid time slot data into a cache device for buffering;
    通过将缓存件器中读出的有效时隙数据进行以太网封装,得到以太网数据帧,并经由以太网传送所述太网数据帧。The Ethernet data frame is obtained by performing Ethernet encapsulation on the valid time slot data read out in the buffer, and transmitting the Ethernet data frame via the Ethernet.
  2. 根据权利要求1所述的方法,其中,所述根据有效业务传输策略,压缩掉所得到的E1数据帧中不传输业务数据的空闲时隙包括:The method according to claim 1, wherein the vacating the free time slots in the obtained E1 data frame that do not transmit the service data according to the effective service transmission policy comprises:
    根据用户预定的关于E1数据帧中不传输业务数据时隙的使用策略,确定E1数据帧中的空闲时隙;Determining an idle time slot in the E1 data frame according to a usage policy reserved by the user regarding a time slot in which the service data slot is not transmitted in the E1 data frame;
    在缓存所述E1数据帧期间,丢弃所确定的空闲时隙。The determined idle time slot is discarded during the buffering of the E1 data frame.
  3. 根据权利要求1所述的方法,还包括对经由以太网传送的所述太网数据帧进行以太网解封,得到E1数据帧。The method of claim 1 further comprising Ethernet decapsulating said Ethernet data frames transmitted over Ethernet to obtain an E1 data frame.
  4. 根据权利要求3所述的方法,其中,所述对经由以太网传送的所述太网数据帧进行以太网解封,得到E1数据帧包括:The method according to claim 3, wherein said performing Ethernet decapsulation on said Ethernet data frame transmitted via Ethernet to obtain an E1 data frame comprises:
    通过对经由以太网传送的所述太网数据帧进行伪线标签识别,提取E1数据帧中的有效时隙数据;Extracting valid time slot data in the E1 data frame by performing pseudowire label identification on the Ethernet data frame transmitted via Ethernet;
    将所提取的E1数据帧的有效时隙数据送入缓存器件中进行缓存;Transmitting the valid time slot data of the extracted E1 data frame into the cache device for buffering;
    对缓存器件中缓存的有效时隙数据进行解封,并将解封后的有效时隙数据插入到E1数据帧中。The valid time slot data buffered in the cache device is decapsulated, and the decapsulated valid time slot data is inserted into the E1 data frame.
  5. 根据权利要求4所述的方法,其中,根据E1数据帧的帧头指示信息,将解封后的有效时隙数据插入到E1数据帧中。The method according to claim 4, wherein the decapsulated valid time slot data is inserted into the E1 data frame according to the frame header indication information of the E1 data frame.
  6. 一种E1结构化时隙压缩模式分组传送的装置,包括: An apparatus for E1 structured time slot compressed mode packet transmission, comprising:
    获取模块,设置为通过对E1数据流进行定帧处理,得到E1数据帧,以及根据有效业务传输策略,压缩掉所得到的E1数据帧中不传输业务数据的空闲时隙,得到所述E1数据帧用于传输业务数据的有效时隙的有效时隙数据;The obtaining module is configured to obtain an E1 data frame by performing frame processing on the E1 data stream, and compress the idle time slot in the obtained E1 data frame that does not transmit the service data according to the effective service transmission policy, to obtain the E1 data. The frame is used to transmit valid time slot data of an effective time slot of the service data;
    缓存模块,设置为将所述有效时隙数据送入缓存器件中进行缓存;a cache module, configured to send the valid time slot data into a cache device for caching;
    封装模块,设置为通过将缓存件器中读出的有效时隙数据进行以太网封装,得到以太网数据帧,并经由以太网传送所述太网数据帧。The encapsulation module is configured to obtain an Ethernet data frame by performing Ethernet encapsulation on the valid time slot data read out in the cache, and transmit the Ethernet data frame via the Ethernet.
  7. 根据权利要求6所述的装置,其中,所述获取模块包括:The apparatus of claim 6, wherein the obtaining module comprises:
    确定单元,设置为根据用户预定的关于E1数据帧中不传输业务数据时隙的使用策略,确定E1数据帧中的空闲时隙;a determining unit, configured to determine a free time slot in the E1 data frame according to a usage policy reserved by the user regarding a time slot in which the service data slot is not transmitted in the E1 data frame;
    丢弃单元,设置为在缓存所述E1数据帧期间,丢弃所确定的空闲时隙。A discarding unit is arranged to discard the determined idle time slot during buffering of the E1 data frame.
  8. 根据权利要求6所述的装置,还包括解封模块,设置为对经由以太网传送的所述太网数据帧进行以太网解封,得到E1数据帧。The apparatus of claim 6, further comprising a decapsulation module configured to perform Ethernet decapsulation of the Ethernet data frame transmitted via Ethernet to obtain an E1 data frame.
  9. 根据权利要求8所述的装置,其中,所述解封模块包括:The apparatus of claim 8 wherein said decapsulation module comprises:
    提取单元,设置为通过对经由以太网传送的所述太网数据帧进行伪线标签识别,提取E1数据帧中的有效时隙数据;An extracting unit, configured to extract valid time slot data in the E1 data frame by performing pseudowire label identification on the Ethernet data frame transmitted via the Ethernet;
    缓存单元,设置为将所提取的E1数据帧的有效时隙数据送入缓存器件中进行缓存;a buffer unit, configured to send the valid time slot data of the extracted E1 data frame into the cache device for buffering;
    解封单元,设置为对缓存器件中缓存的有效时隙数据进行解封,并将解封后的有效时隙数据插入到E1数据帧中。The decapsulation unit is configured to decapsulate the valid time slot data buffered in the cache device, and insert the decapsulated valid time slot data into the E1 data frame.
  10. 根据权利要求9所述的装置,其中,根据E1数据帧的帧头指示信息,将解封后的有效时隙数据插入到E1数据帧中。 The apparatus according to claim 9, wherein the decapsulated valid time slot data is inserted into the E1 data frame according to the header indication information of the E1 data frame.
PCT/CN2016/094656 2016-01-08 2016-08-11 E1 structured time-slot compression mode packet transport method and apparatus WO2017118019A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610014067.XA CN106961390A (en) 2016-01-08 2016-01-08 A kind of method and device of E1 structurings slot compressed mode packet transmission
CN201610014067.X 2016-01-08

Publications (1)

Publication Number Publication Date
WO2017118019A1 true WO2017118019A1 (en) 2017-07-13

Family

ID=59273151

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/094656 WO2017118019A1 (en) 2016-01-08 2016-08-11 E1 structured time-slot compression mode packet transport method and apparatus

Country Status (2)

Country Link
CN (1) CN106961390A (en)
WO (1) WO2017118019A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109412895A (en) * 2018-11-14 2019-03-01 电信科学技术第五研究所有限公司 A kind of method and apparatus detecting E1/T1 chain time gap binding mode

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113810244B (en) * 2021-08-18 2022-09-16 柳州达迪通信技术股份有限公司 Idle channel identification system, method, device and storage medium
CN115297073B (en) * 2022-07-22 2024-01-26 烽火通信科技股份有限公司 E1 service transmission method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6963561B1 (en) * 2000-12-15 2005-11-08 Atrica Israel Ltd. Facility for transporting TDM streams over an asynchronous ethernet network using internet protocol
CN1738224A (en) * 2004-08-19 2006-02-22 华为技术有限公司 TDM data and frame format conversion circuit and method , transmission switching system and method
CN101361003A (en) * 2006-01-12 2009-02-04 思科技术公司 System and method for implementing a preemptive retransmit for error recovery in a communications environment
CN101765190A (en) * 2009-12-30 2010-06-30 北京北方烽火科技有限公司 Emergency base station and method for realizing emergency communication

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631064B (en) * 2008-07-14 2013-04-17 华为技术有限公司 Method, device and system for sending and receiving data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6963561B1 (en) * 2000-12-15 2005-11-08 Atrica Israel Ltd. Facility for transporting TDM streams over an asynchronous ethernet network using internet protocol
CN1738224A (en) * 2004-08-19 2006-02-22 华为技术有限公司 TDM data and frame format conversion circuit and method , transmission switching system and method
CN101361003A (en) * 2006-01-12 2009-02-04 思科技术公司 System and method for implementing a preemptive retransmit for error recovery in a communications environment
CN101765190A (en) * 2009-12-30 2010-06-30 北京北方烽火科技有限公司 Emergency base station and method for realizing emergency communication

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109412895A (en) * 2018-11-14 2019-03-01 电信科学技术第五研究所有限公司 A kind of method and apparatus detecting E1/T1 chain time gap binding mode
CN109412895B (en) * 2018-11-14 2020-09-18 电信科学技术第五研究所有限公司 Method and equipment for detecting E1/T1 link time slot binding mode

Also Published As

Publication number Publication date
CN106961390A (en) 2017-07-18

Similar Documents

Publication Publication Date Title
US10341748B2 (en) Packet-optical in-band telemetry (POINT) framework
US11824636B2 (en) Method and apparatus for sending and receiving clock synchronization packet
CN110798415B (en) Service transmission method, equipment and computer storage medium
CN100558037C (en) A kind of method for transmission processing of Frame
JP2018517371A (en) Data processing method, communication device, and communication system
WO2017035724A1 (en) Method, device, and system for receiving cpri data stream and ethernet frame
WO2014086007A1 (en) Data processing method, communication single board and device
JP6603816B2 (en) Method and apparatus for transmitting frame data between near-end device and far-end device
CN101548510A (en) Method and apparatus for transmitting transport stream packets
WO2014194517A1 (en) Method and device for transmitting data
WO2017118019A1 (en) E1 structured time-slot compression mode packet transport method and apparatus
CN106921641B (en) Method and device for transmitting message
WO2010045820A1 (en) Transmission device and transmission method for remote radio data
CN102315892B (en) Data forwarding device, cable fastener plates and data forwarding method
WO2020259112A1 (en) Method for measuring transmission time delay and related device
WO2020038424A1 (en) Data packet transmission method and apparatus, storage medium, and electronic apparatus
US11799576B2 (en) Data sending method and apparatus, and FlexE switching system
EP2760173A1 (en) Data transmission method, device and system
CN111711968B (en) Message processing method, device, communication equipment and communication system
WO2020259261A1 (en) Message processing method and device
US8934364B2 (en) Method and system for aligning each dispatching service in optical transfer networks
WO2023035776A1 (en) Communication method, related apparatus, and storage medium
WO2022042351A1 (en) Method for processing interface data, sender device and receiver device
JP2011234162A (en) Transmission apparatus for transmitting tdm signal on packet network, and transmission control method of the same
WO2020248865A1 (en) Control word transmission method, apparatus, 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: 16883152

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16883152

Country of ref document: EP

Kind code of ref document: A1