WO2005008990A1 - A method for encapsulating data stream - Google Patents
A method for encapsulating data stream Download PDFInfo
- Publication number
- WO2005008990A1 WO2005008990A1 PCT/CN2004/000748 CN2004000748W WO2005008990A1 WO 2005008990 A1 WO2005008990 A1 WO 2005008990A1 CN 2004000748 W CN2004000748 W CN 2004000748W WO 2005008990 A1 WO2005008990 A1 WO 2005008990A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- frame
- header
- buffer
- decapsulating
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 239000000872 buffer Substances 0.000 claims abstract description 33
- 238000012545 processing Methods 0.000 claims description 9
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 230000008569 process Effects 0.000 abstract description 6
- 238000005538 encapsulation Methods 0.000 description 29
- 230000005540 biological transmission Effects 0.000 description 15
- 238000013507 mapping Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 239000000835 fiber Substances 0.000 description 4
- 230000006978 adaptation Effects 0.000 description 2
- 125000004122 cyclic group Chemical group 0.000 description 2
- 238000009432 framing Methods 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012858 packaging process Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/36—Flow control; Congestion control by determining packet size, e.g. maximum transfer unit [MTU]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/30—Flow control; Congestion control in combination with information about buffer occupancy at either end or at transit nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/90—Buffering arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/90—Buffering arrangements
- H04L49/9021—Plurality of buffers per packet
Definitions
- the present invention relates to data transmission technology, and in particular, to a method for encapsulating a data stream. Background of the invention
- LAPS Link Access Procedure-SDH Protocol
- HDLC High-Speed Data Link Control
- PPP Point-to-Point Protocol
- a certain encapsulation format be processed for a certain protocol or a certain type of protocol.
- a certain protocol is, for example, a Gigabit Ethernet (GE) protocol or an Internet protocol (IP, Internet Protocol), etc.
- the protocol is, for example, an 8B / 10B coded service protocol.
- GFP Generic Framing Procedure
- GFP-T Transparent Generic Framing Procedure
- This standard specifies that after 8B / 10B client signals are encoded in 64B / 65B, they are mapped into a fixed-length GFP format and sent.
- the flow encapsulation method can be used to transmit the encapsulated data immediately before receiving a frame signal, so that low-latency transmission can be achieved.
- Signal can be transparent package includes Fiber Channel Protocol (Fibre Channel Protocol), enterprise interconnection (ESCON, Enterprise Systems Connection) protocol, the optical interconnection ⁇ 1 (FICON: Fibre Connection) protocol and the like GE.
- FIG. 1 shows a schematic diagram of the packaging structure of GFP-T.
- a GFP-T frame generally contains a frame header (Core Header) and Payload Field (Payload Field).
- the frame header there are two parts: a length indicator and a cHEC (Core Header Error Check).
- the cHEC is a 16-bit cyclic redundancy code (CRC, Cyclic Redundancy Code). 0 is in the payload domain, and includes 4 to 64 words.
- the frame structure is an optional part.
- a 16-bit payload type field is included
- tHEC Type Header Error Check
- 8B / 10B code is a data character
- the 10-bit received character is decoded into 8-bit original data.
- 8B / 10B The code is a control character, and the 10-bit received character is decoded into a control code.
- the decoded signal is then 64B / 65B encoded.
- mapping bandwidth is greater than the basic data rate of the customer data before encoding when encapsulating, that is, the mapping bandwidth is required to be greater than the initial bandwidth.
- the mapping bandwidth is required to be greater than the initial bandwidth.
- GFP-T retains the control characters of 8B / 10B services, but it must therefore be encapsulated in 8B / 10B services. It cannot encapsulate any services, which limits its application. .
- this encapsulation processing method is also more complicated.
- the main object of the present invention is to provide a method for encapsulating a data stream to achieve transparent transmission of various services.
- a method for encapsulating a data stream includes the following steps: "a. Set a buffer in advance, and set a low watermark value in the buffer in advance; b, determine whether the data stored in the buffer reaches low water If it is a line value, the data in the buffer is divided according to a predetermined length less than or equal to the low watermark value, and a frame header is added to the divided data; otherwise, the data in the buffer is not divided.
- the above method may further include setting a byte counter with a count value of a predetermined length, so that the data in the buffer is divided according to a predetermined length that is less than or equal to a low watermark value. The division is performed according to the count value of the byte counter.
- the above method may further include the step of entering the buffer before the data is encapsulated.
- Data is serial-to-parallel converted.
- parallel-to-serial conversion is required for the decapsulated data.
- the above method further includes a step of decapsulating the data stream, which specifically includes: defining the start of the data area according to the frame header, determining the end of the frame according to the divided predetermined length, and then removing the frame header.
- the above method may further include adding a payload field header to the divided data.
- the decapsulation step at this time not only needs to remove the frame header, but also needs to remove the payload field header.
- the above method may further include adding a frame tail to the divided data.
- the decapsulation step at this time requires not only removing the frame header and the payload domain header, but also removing the frame tail.
- the start of the data area can be defined according to the frame header, the frame tail is determined according to the divided predetermined length, and then the frame header, the payload domain header, and the frame tail are removed. It is also possible to define the beginning of the data area according to the frame header, the end of the data area according to the frame end, and then remove the frame header, the payload field header, and the frame tail.
- the above buffers are FIFO buffers.
- encapsulation of the data stream is achieved by counting and slicing the received data stream and adding a frame header and a tail. Since the application of the method of the present invention does not need to perform any identification processing on the received service, the encapsulation method of the present invention has nothing to do with the specific service, so it can realize the encapsulation processing of any service data stream and transparently transmit it thereafter. In addition, the present invention does not need to distinguish between data characters and control characters during the packaging process, so the processing process of the present invention is simpler and more efficient. At the same time, since the present invention is only an encapsulation method, and the data after encapsulation can be transmitted using the transmission method specified by the current standard protocol, the present invention has good compatibility with the standard protocol. Brief description of the drawings
- Figure 1 shows the package structure of GFP-T.
- FIG. 2 shows a schematic diagram of encapsulating a data stream at a service receiving end by applying the present invention.
- Fig. 3 is a schematic diagram of decapsulating a data stream at a service sending end by applying the present invention.
- the idea of the invention is: no identification processing is performed on the received service, and only the correctness of the transmitted data stream is guaranteed.
- FIG. 2 shows a schematic diagram of encapsulating a data stream at a service receiving end by applying the present invention.
- the serial electrical signal at the service receiving end is converted into a parallel signal by the serial-parallel conversion module 201 and then sent to: a FIFO buffer 202 to facilitate the processing of the packaging module.
- a byte counter 203 is set, and the counter value N is the length of the data area of the encapsulated frame.
- the value N is set according to the relationship between the actual transmission efficiency and cost. Therefore, the value for different services is different, but it is fixed during the transmission of the same service.
- the GFP-T encapsulation format does not support rate adaptation in the middle of the packet, in order to ensure the continuous transmission of data in the middle of the packet, it needs to be controlled by a buffer, and the mapping bandwidth is required to be greater than the basic data rate before the client data is encoded.
- a low watermark value is set in the FIFO buffer 202. When the data stored in the FIFO reaches the low watermark, the data in the FIFO buffer is processed according to the set count value N in the first-in-first-out order. Slicing to ensure continuous data in the middle of the frame, and adding a frame header and a payload field header to the sliced data, thereby achieving data encapsulation. For the unsliced data in the buffer, the data is merged during the next slicing process. ⁇ ⁇ Line processing.
- the value of N is determined according to the optimal transmission efficiency.
- FIG. 3 is a schematic diagram illustrating decapsulation of a data stream at a service transmitting end by applying the present invention.
- the sender After receiving the data frame transmitted from the remote end, the sender starts by defining the data area through the frame header, finds the end of the frame according to the length N of the data, and then removes the frame header and the payload field header to obtain the data.
- the data stream is in first-in-first-out order, and the parallel-to-serial conversion module 301 converts the parallel data into serial data and sends it out.
- the encapsulation and decapsulation processes for the GFP protocol have been described above. Since the frame encapsulated according to the GFP protocol has no frame tail, as long as the frame header and the payload field header are added during encapsulation, the frame header and the payload field header are removed when decapsulating. For other protocols, such as the LAPS protocol, the frame to be encapsulated must have a frame tail. Therefore, in addition to adding a frame header and a payload domain header during encapsulation, a frame tail needs to be added, and in addition to removing the frame header during decapsulation. In addition to the payload field header, the frame tail needs to be removed.
- the frame tail here is generally a frame check sequence (FCS) field.
- the transmitting end may start by defining the data area through the frame header, end the data area according to the frame tail, and then remove the frame header, the payload field header, and the frame tail. Send the obtained data to the FIFO buffer 302.
- the present invention provides only one kind of encapsulation scheme. Therefore, the current standard encapsulation protocols can be used to transmit data according to the transmission methods specified by protocols such as GFP and LAPS. For example, the rate adaptation of the protocol idle packet for the mapping process is defined, and the reserved bits of the frame header information are used to transmit customized remote performance and alarm information, such as the status of the fiber at the service access end, so that the system completes These corresponding protection operations.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
- Information Transfer Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Memory System Of A Hierarchy Structure (AREA)
- Preparation Of Compounds By Using Micro-Organisms (AREA)
Description
Claims
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE602004022821T DE602004022821D1 (de) | 2003-07-17 | 2004-07-05 | Verfahren zum Einkapseln eines Datenstroms |
AT04738346T ATE441266T1 (de) | 2003-07-17 | 2004-07-05 | Verfahren zum einkapseln eines datenstroms |
EP04738346A EP1648133B2 (en) | 2003-07-17 | 2004-07-05 | A method for encapsulating data stream |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA031495885A CN1571415A (zh) | 2003-07-17 | 2003-07-17 | 一种封装数据流的方法 |
CN03149588.5 | 2003-07-17 |
Publications (2)
Publication Number | Publication Date |
---|---|
WO2005008990A1 true WO2005008990A1 (en) | 2005-01-27 |
WO2005008990A8 WO2005008990A8 (en) | 2005-04-21 |
Family
ID=33752656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2004/000748 WO2005008990A1 (en) | 2003-07-17 | 2004-07-05 | A method for encapsulating data stream |
Country Status (6)
Country | Link |
---|---|
US (1) | US20050013313A1 (zh) |
EP (1) | EP1648133B2 (zh) |
CN (1) | CN1571415A (zh) |
AT (1) | ATE441266T1 (zh) |
DE (1) | DE602004022821D1 (zh) |
WO (1) | WO2005008990A1 (zh) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102004037963A1 (de) * | 2004-08-05 | 2006-03-16 | Robert Bosch Gmbh | Prüfverfahren |
US7260767B2 (en) * | 2004-08-23 | 2007-08-21 | Transwitch Corporation | Methods and apparatus for error correction of transparent GFP (Generic Framing Procedure) superblocks |
US7653066B2 (en) * | 2004-11-04 | 2010-01-26 | Cisco Technology Inc. | Method and apparatus for guaranteed in-order delivery for FICON over SONET/SDH transport |
US7672323B2 (en) * | 2005-01-14 | 2010-03-02 | Cisco Technology, Inc. | Dynamic and intelligent buffer management for SAN extension |
US20060215648A1 (en) * | 2005-03-22 | 2006-09-28 | Teng-Yi Jen | System and method for hardware based protocol conversion between audio-visual stream and ip network |
CN100466608C (zh) * | 2005-09-02 | 2009-03-04 | 中兴通讯股份有限公司 | 封装多通道数据包的装置及方法 |
CN1964227B (zh) * | 2005-11-11 | 2012-03-07 | 华为技术有限公司 | 一种数据交互方法及数据收发模块 |
US7822071B2 (en) * | 2006-08-30 | 2010-10-26 | International Business Machines Corporation | Method and system to enable the transport of sysplex timer protocols over generic frame procedure networks |
CN101179556B (zh) * | 2006-11-06 | 2012-07-04 | 华为技术有限公司 | 一种光纤通道业务的传送方法和装置 |
CN101729089B (zh) * | 2008-10-23 | 2013-07-10 | 弥亚微电子(上海)有限公司 | 通信系统的发射机、接收机及其同步方法 |
EP2472803B1 (en) * | 2011-04-19 | 2013-06-12 | Huawei Technologies Co., Ltd. | Method, apparatus, system for hybrid-transmitting and bridging of circuit service and packet service |
US10728171B2 (en) * | 2013-04-30 | 2020-07-28 | Hewlett Packard Enterprise Development Lp | Governing bare metal guests |
CN105262970B (zh) * | 2015-10-14 | 2018-12-04 | 深圳先进技术研究院 | 一种基于图像数据的封装方法及系统 |
CN110661745B (zh) * | 2018-06-28 | 2022-07-08 | 中兴通讯股份有限公司 | 一种开销传输方法、装置、设备及计算机可读存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08205146A (ja) * | 1995-01-25 | 1996-08-09 | Hitachi Denshi Ltd | 符号化伝送方式におけるタイムスタンプ値演算方法 |
JPH11136134A (ja) * | 1997-10-28 | 1999-05-21 | Canon Inc | 符号化装置および方法、記録媒体 |
JP3008893B2 (ja) * | 1997-06-12 | 2000-02-14 | 日本電気株式会社 | パケット多重化装置及び方法 |
CN1286846A (zh) * | 1998-02-17 | 2001-03-07 | 路特株式会社 | 无线通信装置和无线通信方法 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5664116A (en) † | 1995-07-07 | 1997-09-02 | Sun Microsystems, Inc. | Buffering of data for transmission in a computer communication system interface |
US5889772A (en) * | 1997-04-17 | 1999-03-30 | Advanced Micro Devices, Inc. | System and method for monitoring performance of wireless LAN and dynamically adjusting its operating parameters |
US6226728B1 (en) * | 1998-04-21 | 2001-05-01 | Intel Corporation | Dynamic allocation for efficient management of variable sized data within a nonvolatile memory |
KR100580165B1 (ko) * | 1999-10-30 | 2006-05-15 | 삼성전자주식회사 | Ussd를 이용하는 무선 응용 서비스를 위한 전송 데이터의 처리방법 및 이를 위한 기록 매체 |
US7143181B2 (en) * | 2000-08-31 | 2006-11-28 | Yohoo! Inc. | System and method of sending chunks of data over wireless devices |
JP3533164B2 (ja) * | 2000-09-18 | 2004-05-31 | 日本電気通信システム株式会社 | 複数データ同時処理のメモリ書き込み判断回路及び該回路を備えたatmスイッチ |
US6993046B1 (en) † | 2000-10-16 | 2006-01-31 | Lucent Technologies Inc. | Mapping of block-encoded data formats onto a bit/byte synchronous transport medium |
JP2002290459A (ja) * | 2001-03-27 | 2002-10-04 | Nec Corp | パケット転送装置および方法 |
US20030026267A1 (en) * | 2001-07-31 | 2003-02-06 | Oberman Stuart F. | Virtual channels in a network switch |
-
2003
- 2003-07-17 CN CNA031495885A patent/CN1571415A/zh active Pending
-
2004
- 2004-07-05 DE DE602004022821T patent/DE602004022821D1/de not_active Expired - Lifetime
- 2004-07-05 AT AT04738346T patent/ATE441266T1/de not_active IP Right Cessation
- 2004-07-05 WO PCT/CN2004/000748 patent/WO2005008990A1/zh active Application Filing
- 2004-07-05 EP EP04738346A patent/EP1648133B2/en not_active Expired - Lifetime
- 2004-07-16 US US10/894,415 patent/US20050013313A1/en not_active Abandoned
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08205146A (ja) * | 1995-01-25 | 1996-08-09 | Hitachi Denshi Ltd | 符号化伝送方式におけるタイムスタンプ値演算方法 |
JP3008893B2 (ja) * | 1997-06-12 | 2000-02-14 | 日本電気株式会社 | パケット多重化装置及び方法 |
JPH11136134A (ja) * | 1997-10-28 | 1999-05-21 | Canon Inc | 符号化装置および方法、記録媒体 |
CN1286846A (zh) * | 1998-02-17 | 2001-03-07 | 路特株式会社 | 无线通信装置和无线通信方法 |
Also Published As
Publication number | Publication date |
---|---|
EP1648133A1 (en) | 2006-04-19 |
EP1648133B2 (en) | 2012-06-20 |
DE602004022821D1 (de) | 2009-10-08 |
WO2005008990A8 (en) | 2005-04-21 |
ATE441266T1 (de) | 2009-09-15 |
EP1648133A4 (en) | 2006-08-02 |
CN1571415A (zh) | 2005-01-26 |
EP1648133B1 (en) | 2009-08-26 |
US20050013313A1 (en) | 2005-01-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110798415B (zh) | 一种业务传输的方法、设备及计算机存储介质 | |
US6233251B1 (en) | Multiplex transmission method and system, and audio jitter absorbing method used therein | |
CN101022405B (zh) | 一种通用成帧规程封装方法 | |
US6870837B2 (en) | Circuit emulation service over an internet protocol network | |
US7519080B2 (en) | Fibre channel frame-mode GFP with distributed delimiter | |
WO2005008990A1 (en) | A method for encapsulating data stream | |
WO2008086751A1 (fr) | Procédé de transmission, système et dispositif d'information de surcharge | |
WO2002095511A1 (en) | A multi-protocol networking processor with data traffic support spanning local, regional and wide area networks | |
US6993046B1 (en) | Mapping of block-encoded data formats onto a bit/byte synchronous transport medium | |
WO2008055441A1 (fr) | Procede et appareil de transmission de services de canal de fibres et systeme associe | |
CN102158282B (zh) | 光纤纵差保护装置及其同步通信方法 | |
JP2000115251A (ja) | 光ファイバネットワ―クにおけるインタ―ネットプロトコルパケットの伝送方法および装置 | |
US11251905B2 (en) | Method for receiving code block stream, method for transmitting code block stream, and communications apparatus | |
US7672330B2 (en) | Methods for sending and receiving network management messages and/or control messages | |
US20070233894A1 (en) | Shared buffer for near-end and optical interface flow control in fiber optic communications | |
WO2005015821A1 (fr) | Appareil de reconnaissance d'une sequence de controle de trame dans une configuration d'integration d'une procedure de mise en trame generique, et procede s'y rapportant | |
CN110830153B (zh) | 接收码块流的方法、发送码块流的方法和通信装置 | |
CN111181682A (zh) | 一种基于fpga的gfp帧分片传输的实现方法 | |
US8279891B2 (en) | Techniques for ethernet optical reach improvement | |
CN113853014A (zh) | 信息传输方法、装置、相关设备及存储介质 | |
WO2024032297A1 (zh) | 业务信息的处理方法、网络设备及存储介质 | |
CN119728806A (zh) | 一种数据传输系统、数据接收方法及数据发送方法 | |
CN117729459A (zh) | 一种otn网络中用于osu业务带内管理的方法及设备 | |
WO2024134971A1 (en) | Method for transmitting ethernet mac frame | |
AU2004310740A1 (en) | A method for transmitting Multi-protocol Label Switch protocol data unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AK | Designated states |
Kind code of ref document: A1 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW |
|
AL | Designated countries for regional patents |
Kind code of ref document: A1 Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
WWE | Wipo information: entry into national phase |
Ref document number: 2004738346 Country of ref document: EP |
|
CFP | Corrected version of a pamphlet front page |
Free format text: UNDER (72, 75) PUBLISHED NAME OF LIAO, JINGLING IN CHINESE REPLACED BY CORRECT NAME |
|
WWP | Wipo information: published in national office |
Ref document number: 2004738346 Country of ref document: EP |