+

WO2005099149A1 - Method for implementing data multiplex and virtual concatenation - Google Patents

Method for implementing data multiplex and virtual concatenation Download PDF

Info

Publication number
WO2005099149A1
WO2005099149A1 PCT/CN2005/000464 CN2005000464W WO2005099149A1 WO 2005099149 A1 WO2005099149 A1 WO 2005099149A1 CN 2005000464 W CN2005000464 W CN 2005000464W WO 2005099149 A1 WO2005099149 A1 WO 2005099149A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
container
virtual
virtual concatenation
bandwidth
Prior art date
Application number
PCT/CN2005/000464
Other languages
French (fr)
Chinese (zh)
Inventor
Yue Liu
Jingling Liao
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2005099149A1 publication Critical patent/WO2005099149A1/en

Links

Classifications

    • 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

Definitions

  • the present invention relates to the field of optical communication technologies, and in particular, to a method for implementing data multiplexing and virtual concatenation in an SDH (Synchronous Digital Series) network.
  • SDH Synchronous Digital Series
  • SDH performs synchronization information transmission, multiplexing, and cross-connection on the channel.
  • SDH signals are transmitted in the form of STM (Synchronous Transmission Module), with standard rate values of 155.520 Mbits / s (STM-1), 622.080 Mbits / s (STM-4), and 2488.320 Mbits / s (STM-16).
  • STM Synchronous Transmission Module
  • STM-1 Standard Rate Value
  • STM-4 622.080 Mbits / s
  • STM-16 2488.320 Mbits / s
  • the SDH frame structure consists of three areas: information payload (PayLoad), segment overhead (SOH), and management unit pointer (AU PTR).
  • the information payload area contains various information modules to be transmitted and is used for channel performance monitoring, Management and Control Channel Overhead Byte (POH):
  • the SOH area is located in columns 1-9xN, rows 1-3, 5-9, and contains bytes used for network operation, management, and maintenance;
  • AU PTR is a ⁇ ⁇ indicator It is located in 1 ⁇ 9 x N columns and 4 rows in the frame, and is used to indicate the position of the first byte of the message payload in the frame.
  • cascading is widely used.
  • Cascading is a data mapping technology implemented on MSTP (Integrated Service Transport Platform), which can combine multiple virtual containers. As a single container that maintains the integrity of the bit sequence, it realizes the transmission of large granular services.
  • MSTP Integrated Service Transport Platform
  • the biggest advantage of cascading is that it improves the bandwidth utilization of the transmission system when carrying multiple services (mainly data services).
  • Adjacent concatenation is the concatenation of adjacent virtual containers in the same STM-N data frame into the C-4 / 3 / 12-Xc format, as a whole structure. transmission;
  • the advantage of adjacent concatenation is that the services it transmits are a whole, each part of the data does not cause delay, and the signal transmission quality is high.
  • the application of the adjacent cascade method has certain limitations. It requires that all networks and nodes that the service passes support the adjacent cascade method. If it involves a mixed application with the original network equipment, the original equipment may be It cannot support adjacent cascading, so it is impossible to realize full-service transmission. At this time, virtual cascading can be used to complete the transmission of cascaded services.
  • Virtual concatenation is a method of concatenating virtual containers (which can be the same route or different routes) distributed in different STM-N data frames to form a virtual large-structure VC-4 / 3 / 12-Xv format. For transmission, it separates continuous data bandwidth into separate vx transmissions, and then combines these VCs at the end of the transmission to obtain continuous bandwidth.
  • the adaptation between service bandwidth and SDH virtual container is realized through virtual concatenation, which makes better use of SDH link bandwidth than adjacent concatenation and improves transmission efficiency.
  • the data service bandwidth to be transmitted is 160Mbps, such as using VC4
  • the capacity of the VC4 virtual container is 139.264Mbps
  • the two VC4s are cascaded together using virtual concatenation technology, and the total capacity is 278.528Mbps, which is obviously wasteful
  • the capacity is 44.736Mbps
  • four VC3s need to be cascaded together.
  • the total capacity is 178.944Mbps, which wastes 18.944Mbps, which is more efficient than using VC4 virtual concatenation.
  • VC12 can also be used for mapping.
  • a data multiplexing method includes the following steps:
  • a first determining step determining a container group including different levels of containers with an adaptive capacity according to a continuous data bandwidth service to be transmitted; a first multiplexing step: inserting and multiplexing data of the continuous data bandwidth service into an office; The corresponding container in the container group.
  • the first multiplexing step specifically includes:
  • step e) further includes:
  • el determine the number of bytes of each data sub-segment interpolated into the corresponding container data; e2) sequentially multiplex the data of the corresponding number of bytes in each data sub-segment: multiplexed into the corresponding container.
  • the container includes C2, C3, C4, C11 and C12.
  • the present invention provides a method for implementing virtual concatenation, which includes the following steps: a second determining step: determining a container group including different levels of containers with an adaptive capacity according to a continuous data bandwidth service to be transmitted; The second multiplexing step: interleave multiplexing data of the continuous data bandwidth service with corresponding containers in the container group;
  • a mapping step mapping the cost of the container plus the virtual concatenation information to a virtual container at a rate class
  • Transmitting step transmitting the virtual container in a virtual concatenated manner
  • Receiving step receiving the data of the continuous data bandwidth service transmitted by the virtual container according to the virtual concatenation information.
  • the second multiplexing step specifically includes:
  • step 5) further includes:
  • the virtual container includes VC2, VC3, VC4, VC11, and VC12.
  • the virtual concatenation information of the VC3, VC4 is transmitted through H4 bytes, and the virtual concatenation information of the VC11, VC12, and VC2 is transmitted through K4 bytes.
  • the virtual concatenation information is a multi-frame number and a virtual container sequence number.
  • the virtual concatenation method is a virtual concatenation of a combination of VC3 and / or VC4 with VC11 and VC12 and / or VC2 virtual containers, and the VC11 / VC12 / VC2 serial number is arranged first in the mapping step.
  • the virtual cascading method is a virtual cascade of a combination of VC3 and / or VC4 with VC11 or VC12 and / or VC2 virtual container, and then further expands VC3 and / or VC4 mapped to H4 in VC3 and / or VC2.
  • the byte multiframe indication is used as the virtual concatenation VC11 / VC12 / VC2 virtual concatenation multiframe indication.
  • the virtual concatenation method is a virtual concatenation of a combination of VC3 and VC4 virtual containers.
  • the virtual concatenation method is a virtual concatenation of a combination of VC11, VC12, and VC2.
  • the present invention has the following advantages:
  • the present invention selects a container of the same level to load, and the data mapping multiplexing is more flexible. If it is applied to the virtual concatenation, it can be selected according to the bandwidth of the continuous data bandwidth service.
  • the rate-level virtual container transmission can improve the flexibility of service mapping in virtual concatenation and enrich the particles of virtual concatenated service mapping.
  • the present invention selects virtual containers of different rate classes adapted to the corresponding bandwidth to perform virtual concatenation, which can improve the utilization rate of the bandwidth, and avoids the bandwidth caused by the virtual concatenation of the single rate class virtual containers of the prior art. waste.
  • FIG. 1 is a schematic diagram of a VC3 / VC4 frame structure in the prior art
  • FIG. 2 is a schematic diagram of a VC11 / VC12 / VC2 frame structure in the prior art
  • FIG. 3 is a diagram of multiplexing data into a container in the data multiplexing method of the present invention
  • FIG. 4 is a schematic diagram of data multiplexing in a specific embodiment of the data multiplexing method of the present invention
  • FIG. 5 is a flowchart of an embodiment of a method for implementing virtual concatenation of the present invention
  • FIG. 6 is a flowchart of the embodiment of FIG.
  • FIG. 7 is a schematic diagram of data multiplexing of VC11 and VC12 virtual cascade transmission data according to a specific embodiment of the present invention.
  • FIG. 9 is a schematic diagram of the VC3 and VC12 virtual cascade transmission of other row data multiplexing in a specific embodiment of the method for implementing virtual cascading according to the present invention.
  • the present invention is applied to an SDH network.
  • a new virtual concatenation method is implemented, which can improve the flexibility of service mapping and enrich the granularity of service mapping. And further improve the utilization rate of bandwidth, so as to achieve the best bandwidth allocation for data transmission services.
  • the frame structure of the virtual container at each rate level is the same as defined in the G.707 protocol.
  • the basic structures of VC3 and VC4 are the same.
  • the main difference is the amount of payload.
  • VC4 is 261 columns x 9 rows of payload
  • VC3 is 85 columns x 9 rows
  • VC1 K VC12 and VC2 have the same basic structure. It is a 9-row structure, but the payload capacity is different.
  • H4 bytes are used to transmit virtual concatenation information.
  • H4 bytes refer to Table 1.
  • MSB of serial number (bits 4-7) 1 1 1 0 14 n-1 LSB of serial number (bits 0-3) 1 1 1 1 1 15
  • H4 bytes there are mainly three meanings: large multiframe number (8bit), 'multiframe number (4bit), and serial number (8bit).
  • large multiframe number and the small multiframe number can be regarded as a multiframe indication.
  • the multiframe indication is the basis for delay alignment of the receiving end.
  • the size of the multiframe capacity directly affects the ability to transmit data delay. Therefore, the ITU-T defines a 12-bit multiframe indicator, which is transmitted in two segments, which are a large multiframe number and a small multiframe number.
  • the lower 4bit of the H4 word is the small multiframe number.
  • the corresponding high 4bit is the MSB (high 4bit) and LSB (low 4bit) of the large multiframe number.
  • the multi-frame in the virtual concatenation refers to the frame marker that can be sent, which is used to indicate the number of frames that are being sent. At the same time, the frames sent by J should have the same multi-frame number.
  • the virtual concatenation information is represented by bit 6 of K4 bytes, as shown in Table 2:
  • VC11 / VC12 As can be seen from the frame structure of VC12 / VC11 in Figure 2, a complete VC11 / VC12 frame is 500us, of which K4 byte is an overhead byte. Because VC11 / VC12 has too few overhead bytes, each overhead byte has several meanings. It is related to the virtual concatenation. Only bit 6 in the K4 byte is shown in Table 2. As shown in Table 2, there are 32 consecutive 32 frames.
  • Bit 6 of the K4 byte constitutes a complete virtual concatenation information, which is used to indicate the sequence number and the multi-frame number, of which bitl-bit5 Is the multi-frame number, bit6 ⁇ bitll is the serial number, the function and meaning of the multi-frame number and the serial number are the same as those in the H4 byte.
  • the data multiplexing technology currently used can be selected to load a single information container at an appropriate level of capacity according to the bandwidth of the service. For example, for a branch signal of 2.048 Mbit / s, it can be selected.
  • the information container C12 is loaded.
  • the information container C3 can be loaded, and multiple low-order containers C11 or C12 can also be loaded, and further mapped and multiplexed to the high-order container for transmission.
  • a single container is used to load data of a continuous data bandwidth service, the service mapping is monotonous, and data multiplexing cannot fully utilize bandwidth resources. Therefore, the present invention proposes a new data multiplexing method, which mainly uses the following two methods: Steps:
  • a container group including different levels of containers is determined according to the bandwidth of the continuous data bandwidth service to be transmitted;
  • the bandwidth of the continuous service is determined to include container groups of different levels of containers. The total capacity of the container group should be adapted to the bandwidth of the continuous service to load the service data.
  • two containers C3 can be selected. Add 5 C12 containers to load, because the capacity of C3 container is about 45Mbps, the capacity of C12 container is about 2Mbps, so the capacity of 2 C3 containers, and the capacity of 5 C12 containers is about 100Mbps, so it will not be wasted bandwidth.
  • the data of the continuous data bandwidth service is interleaved and multiplexed into the corresponding containers in the container group.
  • the above first step determines the corresponding container for loading data according to the bandwidth of the continuous data bandwidth service.
  • the above-mentioned continuous bandwidth service data can be multiplexed into the corresponding container using the interleaved multiplexing method, because the total capacity of the container group Adapt to service bandwidth, can make bandwidth Waste is further reduced.
  • Various methods can be used to specifically multiplex data into each container in the container group. The following is a description of a preferred embodiment. Specifically, considering that the frame structure of various containers in the SDH network is mostly 9 The block-like frame structure of a line may adopt a line multiplexing method. Referring to FIG. 3, a preferred embodiment uses the following steps to process data:
  • step s31 determine the total capacity of the corresponding row of data inserted and multiplexed in the container frame structure of each container group;
  • step s32 the data of the continuous data bandwidth service to be transmitted is divided into several continuous data segments, and the continuous data segment bandwidth is adapted to the total capacity;
  • step s33 determine the capacity of the corresponding row of data inserted and multiplexed in the middle of each container frame structure
  • step s34 the data segment is divided into data sub-segments corresponding to each container, and the bandwidth of the data sub-segment is adapted to the capacity;
  • step s35 the data of each data sub-segment is interleaved and multiplexed into a corresponding container. Complete the data reuse process.
  • the above data segment bandwidth may be the sum of the data capacity of one line in each virtual container frame structure of the virtual concatenation transmission, or may be the sum of the data capacity of multiple lines.
  • the data subband bandwidth may be the corresponding virtual container frame
  • the data capacity of one line in the structure may also be the data capacity of multiple lines.
  • the data sub-segment may be a continuous data sub-segment of continuous bandwidth in the data segment, or it may be a logical data sub-segment (that is, a distribution Non-contiguous data sub-segments in the data segment), the data sub-segments can be multiplexed into corresponding containers in step s35 in a variety of ways, for example, continuous data sub-segments can be directly multiplexed into entire segments in sequence.
  • the number of bytes of data in each data sub-segment can be further interpolated into the corresponding container, and then the corresponding number of bytes in each data sub-segment can be interleaved and multiplexed into the corresponding In the container.
  • a continuous data bandwidth service with a bandwidth of 185 Mbps is used for description.
  • a container group for loading data is determined.
  • a container group C3 and a container group C4 are selected.
  • the data sub-segment may be a continuous data sub-segment, for example, in a 344-byte payload.
  • the first 260 consecutive byte payloads are used as the data sub-segment corresponding to the C4 container, and the last 84 consecutive byte payloads are used as the data sub-segment corresponding to the C3 container.
  • the 260 bytes corresponding to the C4 container are directly used at one time.
  • the payload is multiplexed into the C4 container, while the 84-byte payload corresponding to the C3 container is multiplexed directly into the C3 container at one time.
  • the data sub-segments corresponding to each container may be non-contiguous data sub-segments, the number of bytes of each data sub-segment multiplexed into the corresponding container can be further divided, and then the corresponding bytes in the data sub-segment The number of data is interleaved and multiplexed into the corresponding container. For example, considering the relationship between the capacity of the C4 container and the C3 container is 3 times + 8, for each 3 data multiplexed into C4, one data is multiplexed into C3, to C3— After the lines are multiplexed, C4 multiplexes 252 data.
  • the above data multiplexing method can be used to load data in different containers and then transmitted in a virtual concatenated manner. This can reduce the bandwidth. Waste, referring to FIG. 5, the method for implementing virtual concatenated transmission of the present invention is described in detail below. Specifically, the method mainly includes the following steps:
  • step s51 a container group including different levels of containers with an adaptive capacity is determined according to the bandwidth of the continuous data bandwidth service to be transmitted;
  • step s52 data of a continuous data bandwidth service is interleaved and multiplexed into a corresponding container in the container group;
  • the above virtual concatenation implementation method uses the data multiplexing method (ie, steps s51, s52) of the present invention, which is the same as the data multiplexing method. Specifically, when data is multiplexed into each container for loading, for various container combinations, It is better to use a row multiplexing method, which is convenient for demultiplexing data when receiving. Specifically, to implement step s52, referring to FIG. 6, the following optimized method is adopted:
  • step S521 determine the total capacity of the corresponding row of the multiplexed data inserted in the container frame structure of each container group;
  • step s522 the data of the continuous data bandwidth service to be transmitted is divided into several continuous data segments, and the continuous data segment bandwidth is adapted to the total capacity;
  • step s523 determine the capacity of the corresponding row of the data field data interpolated and multiplexed between each container frame structure
  • step s524 dividing the data segment into data sub-segments corresponding to each container, and the bandwidth of the data sub-segment is adapted to the capacity;
  • step s525 the data of each data sub-segment is interleaved and multiplexed into a corresponding container.
  • step s525 Since SDH is processed in units of bytes, for step s525, the number of bytes of data in each data sub-segment can be further interleaved and multiplexed into the corresponding container; then the corresponding number of bytes in each data sub-segment is sequentially Data is multiplexed into corresponding containers.
  • the mixed virtual cascade of VC3 and VC4 is basically similar to the current single container virtual cascade. First determine the VC3 and VC4 time slots for virtual concatenation transmission, and then the network manager allocates the sequence numbers that should be in each time slot, and performs data mapping in order according to the size of the sequence number. No data mapping is performed for the time slots that are not allocated.
  • the information of the virtual concatenation, the multiframe number and sequence number, are included in the overhead byte H4 of each VC4 and VC3.
  • C3 and C4 are multiplexed first, then C3 plus overhead mapping becomes VC3, C4 plus overhead mapping becomes VC4, and the next mapping is performed according to the mapping structure defined by G.707.
  • the basic structure of mixed VC12 and VC11 virtual cascade transmission is similar to the current single container virtual cascade transmission. First, determine the VC12 and VC11 time slots for virtual cascade transmission, and then the network management assigns the sequence numbers that should be in each time slot. Data mapping is performed in order according to the size of the sequence number, and data mapping is not performed for the unassigned time slots. The information of the virtual concatenation—multiframe number and sequence number are included in the overhead byte K4 of each VC11 and VC12.
  • C11 and C12 are preferably multiplexed line by line. Except for line 9, each line of C12 is 1 byte more than C11, so when multiplexing the first 8 lines There will be two consecutive bytes of data multiplexed into C12; and in line 9, since C12 has one more padding byte, the payloads of C12 and C11 are the same, both are 2 bytes, so the data is multiplexed into C3 and C4 are the same. Refer to Figure 7 for the data multiplexing process.
  • the implementation of virtual cascade with different structures is quite different from the existing virtual cascade implementation. It mainly refers to the different structural combinations of VC3 and / or VC4 and VC11 and / or VC12 and / or VC2.
  • the following uses VC3 and VC12 virtual stages As an example, the implementation method is divided into a sending end and a receiving end for explanation.
  • the serial number is arranged from VC11 / VC12 and then VC3 / VC4, for example, 1), the serial numbers of 5 C12 containers are 0 ⁇ 4, 2 C3 containers The serial number is 5 ⁇ 6; 3) The data of the continuous data bandwidth service are respectively mapped into the corresponding virtual containers according to the serial number and the multi-frame number.
  • the data reuse method of the first and last rows is the same as shown in Figure 8, and the data reuse method of the middle 7 rows is the same. See Figure 9.
  • the multiframe count of H4 bytes is incremented by one; and for VC12, the multiframe number is determined by the second stage.
  • the multiframe number of VC12 we also refer to the two-level multiframe of VC12 as the small multiframe (MF1) and the large multiframe (MF2).
  • the lowest multiframe number ie, MF1 is determined according to the lower 2 bits of the H4 byte (multiframe indication byte) of VC3 mapped into VC12.
  • the upper-level mapping of VC12 / VC11 first map into TUG-2-add pointer indication on the basis of VC12, and then map into VC3 or TUG3 and then VC4.
  • the multiframe indication byte is not a multiframe indication in the virtual concatenation, but a 500us multiframe indication. At this time, only the bit0 and bitl of the H4 byte are significant. When it is 00, it means that the first subframe in the 500us multiframe is the first 125us, and when it is 01, it means that the second subframe in the 500us multiframe is the first.
  • VC3 (or VC4) is extended, which mainly depends on whether the further mapping of VC12 is mapped into VC3 or VC4.
  • VC12 is mapped into VC3 in this embodiment
  • the H4 byte multiframe indication byte is used as the small multiframe of VC11 / VC12 (the concept of small multiframe was not originally included in the VC11 / VC12 virtual cascade definition, only FrameCounter is a multiframe Count :), used to implement virtual concatenated multiframe indication.
  • the virtual concatenation needs to receive the multi-frame number before starting to demap the data, the virtual concatenation in VC11 / VC12 alone will have a large waiting time, resulting in a large delay in the data transmission process. And if it also has a multi-frame number every 125us (that is, the copy instruction of the extended H4 byte of the present invention), then VC3 / VC4—Like, wait for 125us for demapping, greatly reducing processing delay.
  • the frame number of each specific frame in the multi-frame is further determined, that is, the second-level multi-frame number (that is, the large multi-frame number) is determined according to the multi-frame number of the K4 byte. This is the same as the current multi-frame number.
  • the definition of virtual concatenation is the same and will not be described in detail.
  • the virtual containers may be the virtual concatenation of VC3 / VC4 and VC11VC12. It may be the virtual concatenation of VC3, VC4 and VC11 / VC12. Further, the virtual containers in the same virtual concatenated group are sorted according to the sequence numbers, and then the data is recovered, and corresponding multiframe numbers, sequence numbers, and delays out of range alarms are generated.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

The present invention discloses a method for implementing data multiplex and virtual concatenation applied in the SDH (Synchronous Digital Hierarchy) network, the method mainly includes the steps of : determining the adaptive capacity's container group containing different lever containers according to the bandwidth of the continuous data bandwidth service to be transmitting; inserting and multiplexing the data of continuous data bandwidth service into the corresponding containers in the group. The method for implementing virtual concatenation is to multiplex the data of continuous data bandwidth service into containers by using the previous method of multiplexing data, and then map the containers into the virtual containers (VCs) by adding virtual concatenation information to the containers, so that it can be transmitted in virtual concatenation manner, the receiver can receive the data of continuous data bandwidth service from the VCs according to the virtual concatenation information. The present invention can map the data flexibly, and can reduce the waste of the bandwidth.

Description

数据复用及虚级联的实现方法  Data multiplexing and virtual cascade implementation method
技术领域 本发明涉及光通信技术领域, 尤指一 SDH (同步数字系列) 网络中数据复用及虛级联的实现方法。 TECHNICAL FIELD The present invention relates to the field of optical communication technologies, and in particular, to a method for implementing data multiplexing and virtual concatenation in an SDH (Synchronous Digital Series) network.
背景技术 Background technique
SDH作为一种信号传输基本模式, 在信道上进行同步信息的传 输、复用和交叉连接。 SDH信号以 STM (同步传输模块)的形式传送, 标准速率值为 155.520Mbits/s ( STM-1 ) 、 622.080 Mbits/s ( STM-4 ) 以及 2488.320 Mbits/s (STM-16)等。 SDH采用以字节结构为基础的 矩形块状帧结构, 它由 270 xN列、 9行、 8 ! 特字节组成, 其中 N=l、 4、 16或 64。 SDH帧结构由信息净荷 (PayLoad) 、 段开销(SOH)和 管理单元指针(AU PTR)三个区域组成, 中, 信息净荷区包含待 传送的各种信息模块和用于通道性能监视、 理和控制的通道开销字 节 (POH): SOH区位于 1~9χΝ列, 1~3、 5~9行, 包含供网络运 行、 管理和维护使用的字节; AU PTR是一^†指示符, 位于帧内 1~9 xN列, 4行, 用于指示消息净荷的第一个字节在帧内的位置。 As a basic mode of signal transmission, SDH performs synchronization information transmission, multiplexing, and cross-connection on the channel. SDH signals are transmitted in the form of STM (Synchronous Transmission Module), with standard rate values of 155.520 Mbits / s (STM-1), 622.080 Mbits / s (STM-4), and 2488.320 Mbits / s (STM-16). SDH uses a rectangular block-based frame structure based on a byte structure. It consists of 270 x N columns, 9 rows, and 8 bytes, where N = 1, 4, 16, or 64. The SDH frame structure consists of three areas: information payload (PayLoad), segment overhead (SOH), and management unit pointer (AU PTR). The information payload area contains various information modules to be transmitted and is used for channel performance monitoring, Management and Control Channel Overhead Byte (POH): The SOH area is located in columns 1-9xN, rows 1-3, 5-9, and contains bytes used for network operation, management, and maintenance; AU PTR is a ^ † indicator It is located in 1 ~ 9 x N columns and 4 rows in the frame, and is used to indicate the position of the first byte of the message payload in the frame.
虚容器 VCn (n=ll、 12、 1、 3、 4)是 SDH中的一种信息结构, 由信息净负荷和通道开销(P0H)组成, VC11、 VC12、 VC2以及 VC3 因为码速较低称为低阶虚容器, 而 VC4因为 ^马速较高, 称为高阶虚容 器。 AU-n是 SDH中的另一种信息结构, 它由一个高阶虚容器和一个 相应的管理单元指针组成。  Virtual container VCn (n = ll, 12, 1, 3, 4) is an information structure in SDH. It consists of information payload and channel overhead (P0H). VC11, VC12, VC2, and VC3 are called because of the lower code speed. Is a low-order virtual container, and VC4 is called a high-order virtual container because of its high speed. AU-n is another information structure in SDH. It consists of a high-order virtual container and a corresponding management unit pointer.
在 SDH网絡中, 级联得到广泛的应用, 级联是在 MSTP (综合业 务传送平台)上实现的一种数据映射技术, 它可将多个虚容器组合起 来。作为一个保持比特序列完整性的单容器 吏用, 实现大颗粒业务的 传输, 级联的最大优点是承载多业务(主要是数据业务)时提高了传 输系统的带宽利用率。  In SDH networks, cascading is widely used. Cascading is a data mapping technology implemented on MSTP (Integrated Service Transport Platform), which can combine multiple virtual containers. As a single container that maintains the integrity of the bit sequence, it realizes the transmission of large granular services. The biggest advantage of cascading is that it improves the bandwidth utilization of the transmission system when carrying multiple services (mainly data services).
级联分为相邻级联和虚级联,相邻级联是将同一 STM-N数据帧中 相邻的虚容器级联成 C-4/3/12-Xc格式, 作为一个整体结构进行传输; 相邻级联的优点在于它所传输的业务是一个整体,数据的各个部分不 产生时延, 信号传输质量高。 The concatenation is divided into adjacent cascades and virtual concatenations. Adjacent concatenation is the concatenation of adjacent virtual containers in the same STM-N data frame into the C-4 / 3 / 12-Xc format, as a whole structure. transmission; The advantage of adjacent concatenation is that the services it transmits are a whole, each part of the data does not cause delay, and the signal transmission quality is high.
但是, 相邻级联方式的应用存在一定的局限性, 它要求业务所经 过的所有网络、 节点均支撑相邻级联方式, 如果涉及与原网络设备混 合应用的情况, 那么原有设备则可能无法支持相邻级联, 因而无法实 现全程的业务传输。 此时, 可以采用虚级联方式来完成级联业务的传 输。  However, the application of the adjacent cascade method has certain limitations. It requires that all networks and nodes that the service passes support the adjacent cascade method. If it involves a mixed application with the original network equipment, the original equipment may be It cannot support adjacent cascading, so it is impossible to realize full-service transmission. At this time, virtual cascading can be used to complete the transmission of cascaded services.
虚级联是将分布于不同 STM-N数据帧中的虚容器(可以同一路由 或不同路由),按照级联的方法,形成一个虚拟的大结构 VC-4/3/12-Xv 格式, 进行传输, 它将连续的数据带宽分开在独立的 v x中传输, 在传输的终点再将这些 VC合并在一起得到连续的带宽。 通过虚级联 实现业务带宽和 SDH虚容器之间的适配,比相邻级联更好地利用 SDH 链路带宽, 提高了传送效率。  Virtual concatenation is a method of concatenating virtual containers (which can be the same route or different routes) distributed in different STM-N data frames to form a virtual large-structure VC-4 / 3 / 12-Xv format. For transmission, it separates continuous data bandwidth into separate vx transmissions, and then combines these VCs at the end of the transmission to obtain continuous bandwidth. The adaptation between service bandwidth and SDH virtual container is realized through virtual concatenation, which makes better use of SDH link bandwidth than adjacent concatenation and improves transmission efficiency.
但现有实现虛级联的技术仍存在如下的缺点:  However, the existing technologies for implementing virtual concatenation still have the following disadvantages:
现有虚级联实现方式中,只能是同种速率级别的虚容器进行虚级 联,例如 ITU-T定义了 VC-4/3/12-Xv三种单一虚容器的虚级联方式, 但数据业务越来越多, 带宽大小不一, 采用单一速率等级的虚容器进 行虚级联, 在带宽利用上始终都有不足, 例如, 若需要传送的数据业 务带宽为 160Mbps, 如使用 VC4来进行映射, 由于 VC4虚容器的容 量为 139.264Mbps,采用虚级联技术将 2个 VC4级联在一起,总共容 量为 278.528Mbps, 显然比较浪费; 若使用 VC3来进行映射, 则由于 VC3虚容器的容量为 44.736Mbps, 则需将 4个 VC3级联在一起, 总 共容量为 178.944Mbps, 浪费 18 .944Mbps, 比利用 VC4虚级联利用 率高; 进一步, 还可釆用 VC12来进行映射, 由于 C12虚容器容量为 2.048Mbps, 则需要 80个 VC12级联在一起才能满足要求, 只浪费 3.84Mbps。 但 VC12虚级联协议中最多允许 64个 VC12级联在一起, 所以在上述情况下, 尚无法采用 VC12虚级联。 显然, 采用目前的虚 级联实现方式, 在很多情况下, 映射的灵活性以及带宽的利用率受到 了很大的限制, 有待进一步提高。 发明内容 本发明解决的技术问题是提供一种映射灵活、带宽利用率高的数 据复用及虚级联的实现方法, 采用上述方法, 可使映身的灵活性以及 带宽的利用率进一步提高。 In the existing implementation method of virtual concatenation, only virtual containers of the same rate level can perform virtual concatenation. For example, ITU-T defines VC-4 / 3 / 12-Xv three types of virtual concatenation of single virtual containers. However, there are more and more data services, and the bandwidth is different. Virtual concatenation using a single rate class virtual container is always insufficient in bandwidth utilization. For example, if the data service bandwidth to be transmitted is 160Mbps, such as using VC4 For mapping, because the capacity of the VC4 virtual container is 139.264Mbps, the two VC4s are cascaded together using virtual concatenation technology, and the total capacity is 278.528Mbps, which is obviously wasteful; if VC3 is used for mapping, the If the capacity is 44.736Mbps, four VC3s need to be cascaded together. The total capacity is 178.944Mbps, which wastes 18.944Mbps, which is more efficient than using VC4 virtual concatenation. Further, VC12 can also be used for mapping. Since C12 The virtual container capacity is 2.048Mbps, and 80 VC12s need to be cascaded together to meet the requirements, and only 3.84Mbps is wasted. However, a maximum of 64 VC12 cascades are allowed in the VC12 virtual cascade protocol, so in the above case, VC12 virtual cascade cannot be adopted yet. Obviously, with the current implementation method of virtual concatenation, in many cases, the flexibility of mapping and the utilization of bandwidth are greatly restricted, and need to be further improved. SUMMARY OF THE INVENTION The technical problem to be solved by the present invention is to provide a method for implementing data multiplexing and virtual concatenation with flexible mapping and high bandwidth utilization ratio. By adopting the above method, the flexibility of the mapping body and the bandwidth utilization ratio can be further improved.
为解决上述问题, 本发明提供的一种数据复用的方法, 包括以下 步骤:  To solve the above problems, a data multiplexing method provided by the present invention includes the following steps:
第一确定步骤:根据待传送的连续数据带宽业务^带宽确定适配 容量的包括不同等级容器的容器组; 第一复用步骤:将所述连续数据带宽业务的数据 ί司插复用入所述 容器组中的相应容器。  A first determining step: determining a container group including different levels of containers with an adaptive capacity according to a continuous data bandwidth service to be transmitted; a first multiplexing step: inserting and multiplexing data of the continuous data bandwidth service into an office; The corresponding container in the container group.
其中, 所述第一复用步驟具体包括:  The first multiplexing step specifically includes:
a )确定容器组各个容器帧结构中间插复用入数据的相应行的总 容量;  a) determining the total capacity of the corresponding row of data inserted and multiplexed in the container frame structure of each container group;
b )将待传送的连续数据带宽业务的数据分为若" "连续的数据段, 所述连续的数据段带宽适配于所述总容量;  b) dividing the data of the continuous data bandwidth service to be transmitted into "" continuous data segments, where the bandwidth of the continuous data segments is adapted to the total capacity;
c )确定各个容器帧结构中间插复用入数据的相 ^行的容量; d )将所述数据段分为对应各个容器的数据子段, 所述数据子段 带宽适配于所述容量;  c) determining the capacity of each row of data inserted and multiplexed in the frame structure of each container; d) dividing the data segment into data sub-segments corresponding to each container, and the bandwidth of the data sub-segment is adapted to the capacity;
e )将所述的各个数据子段数据间插复用进相应客器中。  e) Interpolating and multiplexing each data sub-segment data into a corresponding guest.
进一步, 所述步骤 e )进一步包括:  Further, the step e) further includes:
el )确定各个数据子段间插复用进相应容器数据的字节数; e2 )按序将各个数据子段中相应字节数的数据间:插复用进相应的 容器中。 另外, 所述容器包括 C2、 C3、 C4、 C11及 C12。  el) determine the number of bytes of each data sub-segment interpolated into the corresponding container data; e2) sequentially multiplex the data of the corresponding number of bytes in each data sub-segment: multiplexed into the corresponding container. In addition, the container includes C2, C3, C4, C11 and C12.
相应的, 本发明提供一种虚级联的实现方法, 包括以下步骤: 第二确定步骤:根据待传送的连续数据带宽业务^ ί带宽确定适配 容量的包括不同等级容器的容器组; 第二复用步骤:将所述连续数据带宽业务的数据间插复用 所述 容器組中的相应容器; Correspondingly, the present invention provides a method for implementing virtual concatenation, which includes the following steps: a second determining step: determining a container group including different levels of containers with an adaptive capacity according to a continuous data bandwidth service to be transmitted; The second multiplexing step: interleave multiplexing data of the continuous data bandwidth service with corresponding containers in the container group;
映射步骤:将所述容器加上包括虚级联信息的开销映射为^目应速 率等級的虚容器;  A mapping step: mapping the cost of the container plus the virtual concatenation information to a virtual container at a rate class;
传送步骤: 将所述虛容器按照虚级联方式传送出去;  Transmitting step: transmitting the virtual container in a virtual concatenated manner;
接收步骤:根据所述虚级联信息接收端接收所述虚容器传 的连 续数据带宽业务的数据。 其中, 所述第二复用步骤具体包括:  Receiving step: receiving the data of the continuous data bandwidth service transmitted by the virtual container according to the virtual concatenation information. The second multiplexing step specifically includes:
1 )确定容器组各个容器帧结构中间插复用入数据的相应 4亍的总 容量;  1) Determine the corresponding total capacity of 4 frames inserted in the container frame structure of each container group;
2 )将待传送的连续数据带宽业务的数据分为若干连续的毅据段, 所述连续的数据段带宽适配于所述总容量;  2) dividing the data of the continuous data bandwidth service to be transmitted into several consecutive data segments, and the bandwidth of the continuous data segment is adapted to the total capacity;
3 )确定各个容器帧结构中间插复用入数据的相应行的客量; 3) determining the passenger number of the corresponding row of data inserted and multiplexed in the middle of each container frame structure;
4 )将所述数据段分为对应各个容器的数据子段, 所述数 4居子段 带宽适配于所述容量; 4) dividing the data segment into data sub-segments corresponding to each container, and the number of sub-segments is adapted to the capacity;
5 )按序将各个数据子段数据间插复用进相应容器中。  5) Interpolate and multiplex each data sub-segment data into the corresponding container in order.
另外, 所述步骤 5 )进一步包括:  In addition, the step 5) further includes:
51 )确定各个数据子段间插复用进相应容器的数据的字节数; 51) Determine the number of bytes of data interleaved and multiplexed into the corresponding container for each data sub-segment;
52 )按序将各个数据子段中相应字节数的数据复用进相 容器 中。 52) Sequentially multiplex the data of the corresponding number of bytes in each data sub-segment into the phase container.
另外, 所述虚容器包括 VC2、 VC3、 VC4、 VC11及 VC12 , 其中 所述 VC3、 VC4的虚级联信息通过 H4字节传送, VC11、 VC12及 VC2的虚级联信息通过 K4字节传送。  In addition, the virtual container includes VC2, VC3, VC4, VC11, and VC12. The virtual concatenation information of the VC3, VC4 is transmitted through H4 bytes, and the virtual concatenation information of the VC11, VC12, and VC2 is transmitted through K4 bytes.
具体的, 所述虚级联信息为复帧号和虚容器序列号。  Specifically, the virtual concatenation information is a multi-frame number and a virtual container sequence number.
最好, 所述虚级联方式为 VC3和 /或 VC4与 VC11和 VC12 和 /或 VC2虚容器组合的虚级联, 映射步骤中将 VC11/VC12/VC2序 列号排列在前。 最好, 所述虚级联方式为 VC3和 /或 VC4与 VC11 或 VC12 和 /或 VC2虚容器组合的虚级联, 则进一步扩充 VC11/VC 12/VC2映 射进的 VC3 和 /或 VC4 中 H4 字节的复帧指示作为虚级联的 VC11/VC12/VC2的虛级联复帧指示。 Preferably, the virtual concatenation method is a virtual concatenation of a combination of VC3 and / or VC4 with VC11 and VC12 and / or VC2 virtual containers, and the VC11 / VC12 / VC2 serial number is arranged first in the mapping step. Preferably, the virtual cascading method is a virtual cascade of a combination of VC3 and / or VC4 with VC11 or VC12 and / or VC2 virtual container, and then further expands VC3 and / or VC4 mapped to H4 in VC3 and / or VC2. The byte multiframe indication is used as the virtual concatenation VC11 / VC12 / VC2 virtual concatenation multiframe indication.
最好, 所述虚级联方式为 VC3与 VC4虛容器组合的虚级联。 最好, 所述虚级联方式为 VC11、 VC12以及 VC2任危虚容器组 合的虚级联。  Preferably, the virtual concatenation method is a virtual concatenation of a combination of VC3 and VC4 virtual containers. Preferably, the virtual concatenation method is a virtual concatenation of a combination of VC11, VC12, and VC2.
与现有技术相比, 本发明具有以下优点:  Compared with the prior art, the present invention has the following advantages:
1、 本发明根据连续数据带宽业务的带宽大小, 选择^同等级的 容器装载, 数据映射复用更灵活, 若应用于虚级联中, 由 1 ^可才 据连 续数据带宽业务的带宽选择不同速率等级的虛容器传输,可提高虚级 联中业务映射的灵活度, 丰富了虚级联业务映射的颗粒。  1. According to the bandwidth size of the continuous data bandwidth service, the present invention selects a container of the same level to load, and the data mapping multiplexing is more flexible. If it is applied to the virtual concatenation, it can be selected according to the bandwidth of the continuous data bandwidth service. The rate-level virtual container transmission can improve the flexibility of service mapping in virtual concatenation and enrich the particles of virtual concatenated service mapping.
2、 进一步, 本发明根据业务带宽大小, 选择适应相应带宽的不 同速率等级的虚容器进行虚级联, 可提高带宽的利用率, 免现有技 术单一速率等级虚容器虚级联造成的带宽的浪费。  2. Further, according to the size of the service bandwidth, the present invention selects virtual containers of different rate classes adapted to the corresponding bandwidth to perform virtual concatenation, which can improve the utilization rate of the bandwidth, and avoids the bandwidth caused by the virtual concatenation of the single rate class virtual containers of the prior art. waste.
附图说明 图 1是现有技术中 VC3/VC4帧结构示意图; 图 2是现有技术中 VC11/VC12/VC2帧结构示意图; 图 3 是本发明数据复用方法中将数据复用进容器的 选实施例 流程图; 图 4是本发明数据复用方法具体实施例数据复用示意 ¾; 图 5是本发明虚级联的实现方法实施例流程图; 图 6是图 5的实施例中将数据复用进容器的优选实施例流程图; 图 7是本发明虚级联的实现方法具体实施例 VC11与 VC12虚级 联传输数据的数据复用示意图; 图 8是本发明虚级联的实现方法具体实施例 VC3与 C12虚级 联传输数据的首行数据复用示意图; BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic diagram of a VC3 / VC4 frame structure in the prior art; FIG. 2 is a schematic diagram of a VC11 / VC12 / VC2 frame structure in the prior art; FIG. 3 is a diagram of multiplexing data into a container in the data multiplexing method of the present invention A flowchart of an alternative embodiment; FIG. 4 is a schematic diagram of data multiplexing in a specific embodiment of the data multiplexing method of the present invention; FIG. 5 is a flowchart of an embodiment of a method for implementing virtual concatenation of the present invention; FIG. 6 is a flowchart of the embodiment of FIG. A flowchart of a preferred embodiment of data multiplexing into a container; FIG. 7 is a schematic diagram of data multiplexing of VC11 and VC12 virtual cascade transmission data according to a specific embodiment of the present invention; Method specific embodiment VC3 and C12 virtual level Schematic diagram of the first line of data reuse for concatenated transmission data;
图 9是本发明虚级联的实现方法具体实施例 VC3与 VC12虚级 联传输数据的其他行数据复用示意图。  FIG. 9 is a schematic diagram of the VC3 and VC12 virtual cascade transmission of other row data multiplexing in a specific embodiment of the method for implementing virtual cascading according to the present invention.
具体实施方式 本发明应用于 SDH网络中, 通过改进连续数据带宽业务的数据 映射进虚容器的方法, 进而实现一种新的虚级联方式, 可提高业务映 射的灵活度, 丰富业务映射的颗粒, 并进一步提高带宽的利用率, 使 数据传输的业务带宽分配达到最佳。 DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention is applied to an SDH network. By improving the method for mapping data of continuous data bandwidth services into virtual containers, a new virtual concatenation method is implemented, which can improve the flexibility of service mapping and enrich the granularity of service mapping. And further improve the utilization rate of bandwidth, so as to achieve the best bandwidth allocation for data transmission services.
为更利于理解本发明思想, 先简单介绍现有技术中容器 /虚容器 帧结构以及相关虚级联技术,参考图 1、图 2,图 1是虚容器 VC3/VC4 帧结构示意图, 图 2是虚容器 VC11/VC12/VC2帧结构示意图, 上述 各个速率等级的虚容器的帧结构与 G.707协议中定义相同。 具体的, VC3和 VC4的基本结构相同,其主要区别在于净荷的多少,其中 VC4 为 261列 X 9行净荷, VC3为 85列 x 9行; VC1 K VC12以及 VC2 基本结构也一样, 都是 9行的结构, 只是净荷容量不同。  In order to better understand the idea of the present invention, first briefly introduce the container / virtual container frame structure and related virtual concatenation technology in the prior art. Referring to FIG. 1 and FIG. 2, FIG. VC11 / VC12 / VC2 frame structure diagram of the virtual container. The frame structure of the virtual container at each rate level is the same as defined in the G.707 protocol. Specifically, the basic structures of VC3 and VC4 are the same. The main difference is the amount of payload. VC4 is 261 columns x 9 rows of payload, VC3 is 85 columns x 9 rows; VC1 K VC12 and VC2 have the same basic structure. It is a 9-row structure, but the payload capacity is different.
现有技术在 VC3、 VC4中, 通过 H4字节来传送虚级联信息, H4字节意义参考表 1  In the prior art, in VC3 and VC4, H4 bytes are used to transmit virtual concatenation information. For the meaning of H4 bytes, refer to Table 1.
表 1  Table 1
H4字节 小复帧编号 大复帧编号H4 Byte Small Multiframe Number Large Multiframe Number
Bit7 Bit6 Bit5 Bit 4 Bit3 Bit2 Bitl BitO Bit7 Bit6 Bit5 Bit 4 Bit3 Bit2 Bitl BitO
小复电号:  Small recharge number:
序列号 的 MSB (bits 4-7) 1 1 1 0 14 n-1 序列号 的 LSB (bits 0-3) 1 1 1 1 15 MSB of serial number (bits 4-7) 1 1 1 0 14 n-1 LSB of serial number (bits 0-3) 1 1 1 1 15
大复帧号的 MSB 0 0 0 0 0 n MSB for large multiframe number 0 0 0 0 0 n
(bits 4-7) (bits 4-7)
大复帧号的 LSB 0 0 0 1 1 LSB with large multiframe number 0 0 0 1 1
(bits 0-3) 保留 ("0000") 0 0 1 0 2 (bits 0-3) Reserved ("0000") 0 0 1 0 2
保留 ("0000") 0 0 1 1 3  Reserved ("0000") 0 0 1 1 3
保留 ("0000") 0 1 0 0 4  Reserved ("0000") 0 1 0 0 4
保留 ("0000") 0 1 0 1 5  Reserved ("0000") 0 1 0 1 5
保留 ("0000") 0 1 1 0 6  Reserved ("0000") 0 1 1 0 6
保留 ("0000") 0 1 1 1 7  Reserved ("0000") 0 1 1 1 7
保留 ("0000") 1 0 0 0 8  Reserved ("0000") 1 0 0 0 8
保留 ("0000") 1 0 0 1 9  Reserved ("0000") 1 0 0 1 9
保留 ("0000") 1 0 1 0 10  Reserved ("0000") 1 0 1 0 10
保留 ("0000") 1 0 1 1 11  Reserved ("0000") 1 0 1 1 11
保留 ("0000") 1 1 0 0 12  Reserved ("0000") 1 1 0 0 12
保留 ("0000") 1 1 0 1 13 在 H4字节中, 有意义的主要是三个: 大复帧号(8bit ), '卜复帧 号 (4bit ) 以及序列号 (8bit )。 可以将大复帧号和小复帧号一 看作 一个复帧指示, 复帧指示是接收端进行延时对齐的依据, 复帧 容量 大小直接影响传送数据延时的能力。 所以, ITU-T定义了 12bit 的复 帧指示, 分成两段传送, 分别为大复帧号和小复帧号。 H4字 的低 4bit为小复帧号, 当低 4bit的值为 0和 1时对应的高 4bit分别 大复 帧号的 MSB (高 4bit )和 LSB (低 4bit )。 虛級联中的复帧指 可以 看作是发送的帧标记, 用来标明现在发送第几帧了, 同一个时 ,J发出 的帧应该有相同的复帧号。  Reserved ("0000") 1 1 0 1 13 In H4 bytes, there are mainly three meanings: large multiframe number (8bit), 'multiframe number (4bit), and serial number (8bit). One of the large multiframe number and the small multiframe number can be regarded as a multiframe indication. The multiframe indication is the basis for delay alignment of the receiving end. The size of the multiframe capacity directly affects the ability to transmit data delay. Therefore, the ITU-T defines a 12-bit multiframe indicator, which is transmitted in two segments, which are a large multiframe number and a small multiframe number. The lower 4bit of the H4 word is the small multiframe number. When the value of the lower 4bit is 0 and 1, the corresponding high 4bit is the MSB (high 4bit) and LSB (low 4bit) of the large multiframe number. The multi-frame in the virtual concatenation refers to the frame marker that can be sent, which is used to indicate the number of frames that are being sent. At the same time, the frames sent by J should have the same multi-frame number.
而在 VC12、 VC11中, 则通过 K4字节的 bit6表示虚级联信息, 意义如表 2所示:  In VC12 and VC11, the virtual concatenation information is represented by bit 6 of K4 bytes, as shown in Table 2:
表 2  Table 2
Figure imgf000009_0001
Figure imgf000009_0001
从图 2 VC12/VC11的帧结构可以看出, 一个完整的 VC11/VC12 帧是 500us, 其中 K4字节是一个开销字节。 由于 VC11/VC12 ό 开销 字节过少, 所以每个开销字节都有好几种意义, 与虚級联相关 ^只有 K4字节中的 bit6, 如表 2所示, 连续 32帧的 32个 K4字节的 bit6组 成一个完整的虛级联信息,用于表示序列号和复帧号,其中 bitl— bit5 为复帧号, bit6 ~ bitll 为序列号, 复帧号和序列号的作用及意义与 H4字节中的相同。 As can be seen from the frame structure of VC12 / VC11 in Figure 2, a complete VC11 / VC12 frame is 500us, of which K4 byte is an overhead byte. Because VC11 / VC12 has too few overhead bytes, each overhead byte has several meanings. It is related to the virtual concatenation. Only bit 6 in the K4 byte is shown in Table 2. As shown in Table 2, there are 32 consecutive 32 frames. Bit 6 of the K4 byte constitutes a complete virtual concatenation information, which is used to indicate the sequence number and the multi-frame number, of which bitl-bit5 Is the multi-frame number, bit6 ~ bitll is the serial number, the function and meaning of the multi-frame number and the serial number are the same as those in the H4 byte.
在 SDH网中, 对于连续带宽的业务, 现在采用的数据复用技术 根据该业务的带宽大小可选择适配容量的适当等级的单一信息容器 装载, 例如对于 2.048Mbit/s的支路信号可选择信息容器 C12装载, 而对于 34.368Mbit/s和 44.736Mbit/s的数据可选择信息容器 C3装载, 也可选择多个低阶容器 C11或 C12装载, 并进一步映射复用到高阶 容器传输。由于现有技术中采用单一容器装载连续数据带宽业务的数 据, 业务映射单调, 数据复用还不能充分利用带宽资源, 为此, 本发 明提出一种新的数据复用方法, 其主要采用如下两个步骤:  In the SDH network, for continuous bandwidth services, the data multiplexing technology currently used can be selected to load a single information container at an appropriate level of capacity according to the bandwidth of the service. For example, for a branch signal of 2.048 Mbit / s, it can be selected. The information container C12 is loaded. For the data of 34.368Mbit / s and 44.736Mbit / s, the information container C3 can be loaded, and multiple low-order containers C11 or C12 can also be loaded, and further mapped and multiplexed to the high-order container for transmission. In the prior art, a single container is used to load data of a continuous data bandwidth service, the service mapping is monotonous, and data multiplexing cannot fully utilize bandwidth resources. Therefore, the present invention proposes a new data multiplexing method, which mainly uses the following two methods: Steps:
第一步,才 据待传送的连续数据带宽业务的带宽确定适配容量的 包括不同等级容器的容器组;  In the first step, a container group including different levels of containers is determined according to the bandwidth of the continuous data bandwidth service to be transmitted;
由于 SDH网络中, 各个容器装载容量不同, 若采用单一容器装 载连续数据带宽业务的数据, 则可能存在带宽浪费情况, 例如业务连 续数据带宽为 100Mbps, 若使用 C4装载该业务数据, 由于 C4容器 的容量为 139.264Mbps, 则将浪费 39.264Mbps的带宽资源, 而如果 采用不同等级的容器混合装载, 通过适当组合容器, 则可使带宽浪费 P争低, 因此, 本发明的数据复用方法中, 根据连续业务的带宽确定包 括不同等级容器的容器组,该容器组的总容量应与连续业务的带宽适 配以装载该业务数据, 例如对于连续数据带宽为 100Mbps的业务, 可选择 2个容器 C3, 再加上 5个 C12容器装载, 由于 C3容器容量 大约为 45Mbps, C12容器容量大约为 2Mbps,这样 2个 C3容器的容 量, 再加上 5个 C12容器的容量大约为 100Mbps, 这样将不会浪费 带宽。  Because the loading capacity of each container in the SDH network is different, if a single container is used to load the data of the continuous data bandwidth service, there may be a waste of bandwidth. For example, the continuous data bandwidth of the service is 100 Mbps. If C4 is used to load the service data, due to the C4 container ’s If the capacity is 139.264 Mbps, 39.264 Mbps of bandwidth resources will be wasted, and if different levels of containers are used for mixed loading, the bandwidth can be wasted P by arbitrarily combining containers. Therefore, in the data multiplexing method of the present invention, according to The bandwidth of the continuous service is determined to include container groups of different levels of containers. The total capacity of the container group should be adapted to the bandwidth of the continuous service to load the service data. For example, for a service with a continuous data bandwidth of 100 Mbps, two containers C3 can be selected. Add 5 C12 containers to load, because the capacity of C3 container is about 45Mbps, the capacity of C12 container is about 2Mbps, so the capacity of 2 C3 containers, and the capacity of 5 C12 containers is about 100Mbps, so it will not be wasted bandwidth.
第二步,将连续数据带宽业务的数据间插复用入所述容器组中的 相应容器。  In the second step, the data of the continuous data bandwidth service is interleaved and multiplexed into the corresponding containers in the container group.
上述第一步根据连续数据带宽业务的带宽确定了装载数据的相 应容器,本步骤中可采用间插复用的方法将上述连续带宽的业务数据 复用进相应的容器, 由于容器组的总容量与业务带宽适配, 可使带宽 浪费进一步降低,具体将数据复用进容器组中的各个容器可采用各种 方法, 下面以一种优选的实施方式进行说明, 具体的, 考虑到 SDH 网絡中各种容器的帧结构大都为 9行的块状帧结构,可采用行复用方 式, 参考图 3 , —种优选的实施方式釆用下述步骤处理数据: The above first step determines the corresponding container for loading data according to the bandwidth of the continuous data bandwidth service. In this step, the above-mentioned continuous bandwidth service data can be multiplexed into the corresponding container using the interleaved multiplexing method, because the total capacity of the container group Adapt to service bandwidth, can make bandwidth Waste is further reduced. Various methods can be used to specifically multiplex data into each container in the container group. The following is a description of a preferred embodiment. Specifically, considering that the frame structure of various containers in the SDH network is mostly 9 The block-like frame structure of a line may adopt a line multiplexing method. Referring to FIG. 3, a preferred embodiment uses the following steps to process data:
在步骤 s31 , 确定容器组各个容器帧结构中间插复用入数据的相 应行的总容量;  At step s31, determine the total capacity of the corresponding row of data inserted and multiplexed in the container frame structure of each container group;
在步骤 s32, 将待传送的连续数据带宽业务的数据分为若干连续 的数据段, 所述连续的数据段带宽适配于所述总容量;  In step s32, the data of the continuous data bandwidth service to be transmitted is divided into several continuous data segments, and the continuous data segment bandwidth is adapted to the total capacity;
在步骤 s33, 确定各个容器帧结构中间插复用入数据的相应行的 容量;  In step s33, determine the capacity of the corresponding row of data inserted and multiplexed in the middle of each container frame structure;
在步驟 s34, 将所述数据段分为对应各个容器的数据子段, 所述 数据子段带宽适配于所述容量;  In step s34, the data segment is divided into data sub-segments corresponding to each container, and the bandwidth of the data sub-segment is adapted to the capacity;
在步骤 s35 ,将所述的各个数据子段数据间插复用进相应容器中。 完成数据复用过程。  At step s35, the data of each data sub-segment is interleaved and multiplexed into a corresponding container. Complete the data reuse process.
上述数据段带宽可以是虚级联传输的各个虚容器帧结构中一行 的数据容量总和, 也可以是多行的数据容量总和, 同样的, 所述数据 子段带宽可以是对应的各个虚容器帧结构中一行的数据容量,也可以 是多行的数据容量; 另外所述数据子段, 可以是所述数据段中连续带 宽的连续数据子段, 也可以是逻辑上的数据子段(即分布于数据段中 的非连续数据子段), 在步骤 s35 中将所述数据子段复用进相应容器 中可采用多种方式,例如可将连续的数据子段按序直接整段复用进对 应容器的相应行中,也可进一步确定各个数据子段间插复用进相应容 器的数据的字节数,然后按序将各个数据子段中相应字节数的数据间 插复用进相应的容器中。  The above data segment bandwidth may be the sum of the data capacity of one line in each virtual container frame structure of the virtual concatenation transmission, or may be the sum of the data capacity of multiple lines. Similarly, the data subband bandwidth may be the corresponding virtual container frame The data capacity of one line in the structure may also be the data capacity of multiple lines. In addition, the data sub-segment may be a continuous data sub-segment of continuous bandwidth in the data segment, or it may be a logical data sub-segment (that is, a distribution Non-contiguous data sub-segments in the data segment), the data sub-segments can be multiplexed into corresponding containers in step s35 in a variety of ways, for example, continuous data sub-segments can be directly multiplexed into entire segments in sequence. In the corresponding row of the corresponding container, the number of bytes of data in each data sub-segment can be further interpolated into the corresponding container, and then the corresponding number of bytes in each data sub-segment can be interleaved and multiplexed into the corresponding In the container.
下面举例进行说明, 参考图 4, 以复用一个 185Mbps带宽的连续 数据带宽业务进行说明, 首先确定装载数据的容器组, 作为可选的例 子, 例如选择一个容器 C3加上一个容器 C4的容器组装载, 由于 C4 和 C3都是 9行的帧结构,在一行中 , C4有 260个净荷, C3有 84个, 可以将 185Mbps带宽分为 344 ( 260 + 84 )个字节净荷的数据段, 然 后将所述数据段继续划分成 260字节净荷的一个数据子段以及 84个 净荷的数据子段, 所述数据子段可以是连续的数据子段, 例如 344个 字节净荷中, 前 260个连续字节净荷作为对应 C4容器的数据子段, 后面 84个连续字节净荷作为对应 C3容器的数据子段,复用时,一次 直接将对应 C4容器的 260个字节净荷复用进 C4容器中, 同时将对 应 C3容器的 84个字节净荷一次直接复用进 C3容器中。 The following is an example for illustration. Referring to FIG. 4, a continuous data bandwidth service with a bandwidth of 185 Mbps is used for description. First, a container group for loading data is determined. As an optional example, for example, a container group C3 and a container group C4 are selected. Loading, since C4 and C3 are both 9-line frame structures, in one line, C4 has 260 payloads and C3 has 84. It can divide the 185Mbps bandwidth into 344 (260 + 84) byte payload data segments , Of course After that, the data segment is further divided into a data sub-segment with a payload of 260 bytes and a data sub-segment of 84 payloads. The data sub-segment may be a continuous data sub-segment, for example, in a 344-byte payload. The first 260 consecutive byte payloads are used as the data sub-segment corresponding to the C4 container, and the last 84 consecutive byte payloads are used as the data sub-segment corresponding to the C3 container. When multiplexed, the 260 bytes corresponding to the C4 container are directly used at one time. The payload is multiplexed into the C4 container, while the 84-byte payload corresponding to the C3 container is multiplexed directly into the C3 container at one time.
作为其他可施行的优选方式,对应各个容器的数据子段可以是非 连续的数据子段,则可进一步划分各个数据子段复用进相应容器的字 节数, 然后将数据子段中相应字节数的数据间插复用进对应容器中, 例如, 考虑到 C4容器与 C3容器容量是 3倍 + 8的关系, 每复用 3 个数据进 C4, 则复用一个数据进 C3 , 到 C3—行都复用完后, C4就 复用了 252个数据, 这时再连续复用 8个数据进 C4完成一行复用, 继续进行下一行的复用,每行都采用相同的方式进行, 直到数据全部 复用完。 对于实际的业务, 显然不可能存在完全匹配的容器, 也即所 选择容器组的总容量会适当大于实际的连续数据带宽,这样对于容器 中空余的部分则可加入填充字节, 由于不是本发明的关键, 这里不再 细述。  As another preferred method that can be implemented, the data sub-segments corresponding to each container may be non-contiguous data sub-segments, the number of bytes of each data sub-segment multiplexed into the corresponding container can be further divided, and then the corresponding bytes in the data sub-segment The number of data is interleaved and multiplexed into the corresponding container. For example, considering the relationship between the capacity of the C4 container and the C3 container is 3 times + 8, for each 3 data multiplexed into C4, one data is multiplexed into C3, to C3— After the lines are multiplexed, C4 multiplexes 252 data. At this time, 8 data are continuously multiplexed into C4 to complete one line of multiplexing, and the multiplexing of the next line is continued. Each line is performed in the same way until All data is reused. For actual business, it is obviously impossible to have a completely matched container, that is, the total capacity of the selected container group will be appropriately larger than the actual continuous data bandwidth. In this way, padding bytes can be added to the remaining part of the container. The key is not detailed here.
下面说明本发明虚级联的实现方法。  The method for implementing the virtual concatenation of the present invention is described below.
现有技术单一虚容器虚级联传输存在带宽浪费的问题,为克服此 问题, 可利用上述数据复用方法将数据装载在不同容器中, 然后以虚 级联方式传输, 这样, 可降低带宽的浪费, 参考图 5, 下面详述本发 明虚級联传输的实现方法, 具体的, 主要包括以下步骤:  In the prior art, a single virtual container has a problem of bandwidth waste due to virtual concatenated transmission. To overcome this problem, the above data multiplexing method can be used to load data in different containers and then transmitted in a virtual concatenated manner. This can reduce the bandwidth. Waste, referring to FIG. 5, the method for implementing virtual concatenated transmission of the present invention is described in detail below. Specifically, the method mainly includes the following steps:
在步骤 s51 , 根据待传送的连续数据带宽业务的带宽确定适配容 量的包括不同等级容器的容器组;  In step s51, a container group including different levels of containers with an adaptive capacity is determined according to the bandwidth of the continuous data bandwidth service to be transmitted;
在步骤 s52: 将连续数据带宽业务的数据间插复用入所述容器组 中的相应容器;  In step s52: data of a continuous data bandwidth service is interleaved and multiplexed into a corresponding container in the container group;
在步驟 s53: 将所述容器加上包括虚级联信息的开销映射为相应 速率等级的虚容器; 在步骤 s54: 将所述虚容器按照虚级联方式传送出去; 在步骤 s55: 根据所述虚级联信息接收端接收所述虚容器传送的 连续数据带宽业务的数据。 At step s53: mapping the cost of the container plus the virtual concatenation information to a virtual container of a corresponding rate level; At step s54: transmitting the virtual container in a virtual concatenation manner; at step s55: receiving the data of the continuous data bandwidth service transmitted by the virtual container according to the virtual concatenation information receiving end.
上述虚级联实现方法中利用了上述本发明的数据复用方法(即步 驟 s51、 s52 ), 与数据复用方法中相同, 具体将数据复用进各个容器 装载时, 对于各种容器组合, 最好采用行复用的方式, 这样便于接收 时将数据解复用出来, 具体的, 为实现步骤 s52, 参考图 6, 采用下 述优化的方法:  The above virtual concatenation implementation method uses the data multiplexing method (ie, steps s51, s52) of the present invention, which is the same as the data multiplexing method. Specifically, when data is multiplexed into each container for loading, for various container combinations, It is better to use a row multiplexing method, which is convenient for demultiplexing data when receiving. Specifically, to implement step s52, referring to FIG. 6, the following optimized method is adopted:
在步驟 S521 :确定容器组各个容器帧结构中间插复用入数据的相 应行的总容量;  In step S521: determine the total capacity of the corresponding row of the multiplexed data inserted in the container frame structure of each container group;
在步骤 s522:将待传送的连续数据带宽业务的数据分为若干连续 的数据段, 所述连续的数据段带宽适配于所述总容量;  In step s522, the data of the continuous data bandwidth service to be transmitted is divided into several continuous data segments, and the continuous data segment bandwidth is adapted to the total capacity;
在步骤 s523:确定各个容器帧结构中间插复用所述数据字段数据 的相应行的容量;  In step s523: determine the capacity of the corresponding row of the data field data interpolated and multiplexed between each container frame structure;
在步驟 s524: 将所述数据段分为对应各个容器的数据子段,所述 数据子段带宽适配于所述容量;  At step s524: dividing the data segment into data sub-segments corresponding to each container, and the bandwidth of the data sub-segment is adapted to the capacity;
在步骤 s525: 将所述的各个数据子段数据间插复用进相应容器 中。  In step s525: the data of each data sub-segment is interleaved and multiplexed into a corresponding container.
由于 SDH以字节为单位进行处理, 对于步骤 s525 , 还可进一步 确定各个数据子段间插复用进相应容器的数据的字节数;然后按序将 各个数据子段中相应字节数的数据复用进相应容器中。  Since SDH is processed in units of bytes, for step s525, the number of bytes of data in each data sub-segment can be further interleaved and multiplexed into the corresponding container; then the corresponding number of bytes in each data sub-segment is sequentially Data is multiplexed into corresponding containers.
下面以不同虚容器组合详细举例说明。  In the following, different virtual container combinations are used to illustrate in detail.
1、 VC3/VC4同结构的虚级联实现 参考图 7, VC3和 VC4的混合虚级联和现在的单一容器虚级联 基本相似。 首先确定需虚级联传输的 VC3和 VC4时隙, 然后由网管 分配各个时隙应有的序列号,根据序列号的大小按照顺序进行数据映 射, 没有分配的时隙则不进行数据的映射,虚级联的信息一一复帧号 和序列号包括在每个 VC4和 VC3的开销字节 H4中。 在数据映射和解映射过程中, 先复用进 C3和 C4, 然后 C3加上 开销映射成为 VC3 , C4加上开销映射成为 VC4, 再按照 G.707定义 的映射结构进行下一步映射。 1. Implementation of VC3 / VC4 virtual cascade with the same structure Refer to Figure 7. The mixed virtual cascade of VC3 and VC4 is basically similar to the current single container virtual cascade. First determine the VC3 and VC4 time slots for virtual concatenation transmission, and then the network manager allocates the sequence numbers that should be in each time slot, and performs data mapping in order according to the size of the sequence number. No data mapping is performed for the time slots that are not allocated. The information of the virtual concatenation, the multiframe number and sequence number, are included in the overhead byte H4 of each VC4 and VC3. In the process of data mapping and demapping, C3 and C4 are multiplexed first, then C3 plus overhead mapping becomes VC3, C4 plus overhead mapping becomes VC4, and the next mapping is performed according to the mapping structure defined by G.707.
2、 VC11/VC12同结构的虛级联实现  2, VC11 / VC12 virtual cascade implementation of the same structure
VC12和 VC11的混合虚级联传输和现在的单一容器虚级联传输 基本结构相似,首先确定需要进行虚级联传输的 VC12和 VC11时隙, 然后由网管分配各个时隙应有的序列号,根据序列号的大小按照顺序 进行数据映射, 没有分配的时隙则不进行数据的映射。虛级联的信息 ——复帧号和序列号包括在每个 VC11和 VC12的开销字节 K4中。  The basic structure of mixed VC12 and VC11 virtual cascade transmission is similar to the current single container virtual cascade transmission. First, determine the VC12 and VC11 time slots for virtual cascade transmission, and then the network management assigns the sequence numbers that should be in each time slot. Data mapping is performed in order according to the size of the sequence number, and data mapping is not performed for the unassigned time slots. The information of the virtual concatenation—multiframe number and sequence number are included in the overhead byte K4 of each VC11 and VC12.
与 C3、 C4的混合数据复用一样, C11和 C12最好是一行一行 的复用, 除了第 9行, C12每行都比 C11多 1个字节, 所以在进行前 8行的复用时, 会出现数据连续两个字节复用进 C12; 而第 9行, 由 于 C12多一个填充字节, 所以 C12和 C11的净荷是一样的, 都是 2 个字节, 所以数据复用进 C3和 C4相同, 数据复用过程可参考图 7。  As with the mixed data multiplexing of C3 and C4, C11 and C12 are preferably multiplexed line by line. Except for line 9, each line of C12 is 1 byte more than C11, so when multiplexing the first 8 lines There will be two consecutive bytes of data multiplexed into C12; and in line 9, since C12 has one more padding byte, the payloads of C12 and C11 are the same, both are 2 bytes, so the data is multiplexed into C3 and C4 are the same. Refer to Figure 7 for the data multiplexing process.
3、 不同结构的虚级联实现  3. Implementation of virtual cascade with different structures
不同结构的虚级联实现和现有的虚级联实现有较大不同,主要是 指 VC3和 /或 VC4与 VC11和 /或 VC12和 /或 VC2的不同结构组合, 下面以 VC3与 VC12虚级联的实现方式为例, 分为发送端和接收端 分别进行说明。  The implementation of virtual cascade with different structures is quite different from the existing virtual cascade implementation. It mainly refers to the different structural combinations of VC3 and / or VC4 and VC11 and / or VC12 and / or VC2. The following uses VC3 and VC12 virtual stages As an example, the implementation method is divided into a sending end and a receiving end for explanation.
发送端:  Sender:
1 )根据需要进行虚级联传输的连续数据带宽业务的带宽大小选 定容器。 以 100M业务为例, C3的容器大小约为 45M, C12的容器 大小约为 2M, 这样, 选择 2个 C3的容器, 5个 C12的容器即可; 1) Select a container according to the bandwidth size of the continuous data bandwidth service that needs to be virtual concatenated. Taking the 100M service as an example, the container size of C3 is about 45M, and the container size of C12 is about 2M. In this way, two C3 containers and five C12 containers can be selected;
2 )为选定的虚容器进行编号, 即确定 SQ (序列号)的大小及顺 序。 考虑到 VC12/VC11 的序列号范围较小, 序列号的编排从 VC11/VC12开始, 然后才是 VC3/VC4, 例如 1 ) 中, 5个 C12容器 的序列号为 0 ~ 4, 2个 C3容器的序列号为 5 ~ 6; 3 )按照序列号和复帧号将连续数据带宽业务的数据分别映射进 相应的虚容器。 2) Number the selected virtual container, that is, determine the size and sequence of the SQ (serial number). Considering that the range of VC12 / VC11's serial number is small, the serial number is arranged from VC11 / VC12 and then VC3 / VC4, for example, 1), the serial numbers of 5 C12 containers are 0 ~ 4, 2 C3 containers The serial number is 5 ~ 6; 3) The data of the continuous data bandwidth service are respectively mapped into the corresponding virtual containers according to the serial number and the multi-frame number.
由于 C12的第一行和最后一行都只有 2个有效净荷,其它行都是 4个, 所以第一行和最后一行的数据复用方式相同如图 8, 而中间 7 行数据复用方式相同如图 9。 本发明中, 对于混合虚级联的虚容器, 在复帧号的编排方面, VC3结构每 125us, H4字节的复帧计数加 1; 而 VC12则是通过二级 来确定复帧号。  Because the first and last rows of C12 only have 2 payloads, and the other rows are all 4, the data reuse method of the first and last rows is the same as shown in Figure 8, and the data reuse method of the middle 7 rows is the same. See Figure 9. In the present invention, for the virtual container of the mixed virtual concatenation, in the arrangement of the multiframe number, for every 125us of the VC3 structure, the multiframe count of H4 bytes is incremented by one; and for VC12, the multiframe number is determined by the second stage.
根据 VC3的复帧号定义方式, 我们将 VC12的这两级复帧也分 别称做小复帧 (MF1 )和大复帧 (MF2 )。 第一级, 根据 VC12映射 进的 VC3的 H4字节(复帧指示字节)的低 2bit来确定最低级复帧号 (即 MF1 )。 在 VC12/VC11的上级映射中, 先映射进 TUG-2——在 VC12 的基础上添加指针指示, 然后可以映射进 VC3 或者是 TUG3 再到 VC4。 这样, 选择了 VC12/VC11的映射的话, 上级的 VC3或是 VC4就不可能是虚级联了, 这样它们的开销 H4字节就不再是虚级联 定义的内容, 而是 VC12/VC11的复帧指示字节, 这里的复帧指示也 不是虚级联中的复帧指示, 而是 500us的复帧指示。 此时, H4字节 只有 bitO和 bitl有意义, 当为 00时表示 500us复帧中的第一个子帧 即第 1个 125us, 当为 01时表示 500us复帧中的第二个子帧即第 2个 125us, 当为 10时表示第 3个 125us, 11时表示笫 4个 125us。 其实, 这样的定义和虚级联中的复帧指示用途是基本一致的,所以本发明实 现混合虚级联时, 扩展 VC3 (或 VC4, 主要取决于 VC12的进一步映 射是映射进 VC3还是 VC4, 本实施例中 VC12映射进 VC3 ) H4字节 的复帧指示字节作为 VC11/VC12的小复帧(本来 VC11/VC12的虚级 联定义中没有小复帧这个概念,只有 FrameCounter这一个复帧计数:), 用于实现虚级联复帧指示。因为虚级联是需要收到复帧号才开始解映 射数据的, 所以在 VC11/VC12单独进行虚级联是就会有较大的等待 时间, 造成数据传送过程的延时艮大。 而如果它也在每 125us就有一 个复帧号 (即本发明扩展的 H4 字节的复制指示) 的话, 就可以和 VC3/VC4—样, 等待 125us就可以进行解映射了, 大大减少了处理 延时。 另外在解映射时还进一步确定复帧中各个具体帧的帧号, 也即 才艮据 K4 字节的复帧号来确定第二级复帧号 (即大复帧号), 这个和 目前的虚级联定义相同, 不再详述。 According to the definition of the multiframe number of VC3, we also refer to the two-level multiframe of VC12 as the small multiframe (MF1) and the large multiframe (MF2). In the first stage, the lowest multiframe number (ie, MF1) is determined according to the lower 2 bits of the H4 byte (multiframe indication byte) of VC3 mapped into VC12. In the upper-level mapping of VC12 / VC11, first map into TUG-2-add pointer indication on the basis of VC12, and then map into VC3 or TUG3 and then VC4. In this way, if the mapping of VC12 / VC11 is selected, the superior VC3 or VC4 cannot be virtual concatenated, so their overhead H4 bytes are no longer the content defined by the virtual concatenation, but the VC12 / VC11. The multiframe indication byte is not a multiframe indication in the virtual concatenation, but a 500us multiframe indication. At this time, only the bit0 and bitl of the H4 byte are significant. When it is 00, it means that the first subframe in the 500us multiframe is the first 125us, and when it is 01, it means that the second subframe in the 500us multiframe is the first. Two 125us, when it is 10, it means the third 125us, and at 11 it means 1254 125us. In fact, this definition is basically the same as the multiframe indication use in virtual concatenation. Therefore, when the present invention implements hybrid virtual concatenation, VC3 (or VC4) is extended, which mainly depends on whether the further mapping of VC12 is mapped into VC3 or VC4. VC12 is mapped into VC3 in this embodiment) The H4 byte multiframe indication byte is used as the small multiframe of VC11 / VC12 (the concept of small multiframe was not originally included in the VC11 / VC12 virtual cascade definition, only FrameCounter is a multiframe Count :), used to implement virtual concatenated multiframe indication. Because the virtual concatenation needs to receive the multi-frame number before starting to demap the data, the virtual concatenation in VC11 / VC12 alone will have a large waiting time, resulting in a large delay in the data transmission process. And if it also has a multi-frame number every 125us (that is, the copy instruction of the extended H4 byte of the present invention), then VC3 / VC4—Like, wait for 125us for demapping, greatly reducing processing delay. In addition, during the demapping, the frame number of each specific frame in the multi-frame is further determined, that is, the second-level multi-frame number (that is, the large multi-frame number) is determined according to the multi-frame number of the K4 byte. This is the same as the current multi-frame number. The definition of virtual concatenation is the same and will not be described in detail.
在接收端: 首先, 才艮据复帧号确定延时差, 对齐同一个虚级联组中的各个不 同结构的虚容器, 所述虛容器可能是 VC3/VC4与 VC11VC12的虚级 联, 也可能是 VC3、 VC4与 VC11/VC12的虚级联。 进一步, 根据序列号对同一个虚级联组中的虚容器排序, 然后恢 复出数据, 产生相应的复帧号、 序列号、 延时超出范围告警。  At the receiving end: First, determine the delay difference according to the multiframe number, and align the virtual containers of different structures in the same virtual concatenation group. The virtual containers may be the virtual concatenation of VC3 / VC4 and VC11VC12. It may be the virtual concatenation of VC3, VC4 and VC11 / VC12. Further, the virtual containers in the same virtual concatenated group are sorted according to the sequence numbers, and then the data is recovered, and corresponding multiframe numbers, sequence numbers, and delays out of range alarms are generated.
上述仅以优选实施例对本发明进行说明,非因此即局限本发明的 权利范围, 因此, 在不脱离本发明思想的情况下, 凡运用本发明说明 书及附图内容所为的等效变化,均理同包含于本发明的权利要求范围 内。  The above only describes the present invention with preferred embodiments, which does not limit the scope of the rights of the present invention. Therefore, without departing from the idea of the present invention, any equivalent changes made using the description and drawings of the present invention are equivalent. The same is included in the scope of claims of the present invention.

Claims

权 利 要 求 Rights request
1、 一种数据复用方法, 应用于同步数字系列网络中, 其特征在 于, 包括以下步骤: 1. A data multiplexing method, which is applied to a synchronous digital series network and is characterized in that it includes the following steps:
步驟 a: 根据待传送的连续数据带宽业务的带宽确定适配容量的 包括不同等级容器的容器组;  Step a: Determine a container group including different levels of containers with an adaptive capacity according to a bandwidth of a continuous data bandwidth service to be transmitted;
步骤 b: 将所述连续数据带宽业务的数据间插复用入所述容器组 中的相应容器。  Step b: Interleave multiplexing data of the continuous data bandwidth service into corresponding containers in the container group.
2、 根据权利要求 1所述数据复用方法, 其特征在于, 所述步骤 b具体包括:  2. The data multiplexing method according to claim 1, wherein the step b specifically comprises:
bl )确定容器组各个容器帧结构中间插复用入数据的相应行的总 容量;  bl) determining the total capacity of the corresponding row of data inserted and multiplexed in the container frame structure of each container group;
b2 )将待传送的连续数据带宽业务的数据分为若干连续的数据 段, 所述连续的数据段带宽适配于所述总容量;  b2) dividing the data of the continuous data bandwidth service to be transmitted into several continuous data segments, and the continuous data segment bandwidth is adapted to the total capacity;
b3 )确定各个容器帧结构中间插复用入数据的相应行的容量; b4 )将所述数据段分为对应各个容器的数据子段, 所述数据子段 带宽适配于所述容量;  b3) determining the capacity of a corresponding row of data inserted and multiplexed in the frame structure of each container; b4) dividing the data segment into data sub-segments corresponding to each container, and the bandwidth of the data sub-segment is adapted to the capacity;
b5 )将所述的各个数据子段数据间插复用进相应容器中。  b5) Interpolating and multiplexing each data sub-segment data into a corresponding container.
3、 根据权利要求 2所述数据复用方法, 其特征在于, 所述步骤 b5进一步包括:  3. The data multiplexing method according to claim 2, wherein the step b5 further comprises:
b51 )确定各个数据子段间插复用进相应容器的数据的字节数; b52 )按序将各个数据子段中相应字节数的数据间插复用进相应 的容器中。  b51) determining the number of bytes of the data of each data sub-segment multiplexed into the corresponding container; b52) sequentially interleaving the data of the corresponding number of bytes in each data sub-segment into the corresponding container.
4、 根据权利要求 1、 2或 3任一项所述数据复用方法, 其特征在 于, 所述容器包括 C2、 C3、 C4、 C11及 C12。  4. The data multiplexing method according to any one of claims 1, 2 or 3, wherein the container comprises C2, C3, C4, C11 and C12.
5、 一种虛级联的实现方法, 应用于同步数字系列网络中, 其特 征在于, 包括以下步骤:  5. A method for implementing virtual concatenation, which is applied to a synchronous digital series network, and is characterized by including the following steps:
步骤 1: 根据待传送的连续数据带宽业务的带宽确定适配容量的 包括不同等级容器的容器组;  Step 1: Determine a container group including different levels of containers with an adaptive capacity according to the bandwidth of the continuous data bandwidth service to be transmitted;
步骤 2: 将所述连续数据带宽业务的数据间插复用入所述容器组 中的相应容器; Step 2: interleave multiplexing data of the continuous data bandwidth service into the container group Corresponding container in
步骤 3: 将所述容器加上包括虚级联信息的开销映射为相应速率 等级的虚容器;  Step 3: Map the container plus the overhead including the virtual concatenation information to a virtual container of a corresponding rate level;
步骤 4: 将所述虛容器按照虚级联方式传送出去;  Step 4: transmitting the virtual container in a virtual concatenated manner;
步驟 5: 根据所述虚级联信息接收端接收所述虚容器传送的连续 数据带宽业务的数据。  Step 5: Receive the data of the continuous data bandwidth service transmitted by the virtual container according to the virtual concatenation information receiving end.
6、 根据权利要求 5所述虚级联的实现方法, 其特征在于, 所述 步骤 2具体包括:  6. The method for implementing virtual concatenation according to claim 5, wherein the step 2 specifically comprises:
21 )确定容器组各个容器帧结构中间插复用入数据的相应行的总 容量;  21) Determine the total capacity of the corresponding row of data inserted and multiplexed in the container frame structure of each container group;
22 )将待传送的连续数据带宽业务的数据分为若干连续的数据 段, 所述连续的数据段带宽适配于所述总容量;  22) dividing the data of the continuous data bandwidth service to be transmitted into several continuous data segments, and the continuous data segment bandwidth is adapted to the total capacity;
23 )确定各个容器帧结构中间插复用入数据的相应行的容量; 24 )将所述数据段分为对应各个容器的数据子段,所述数据子段 带宽适配于所述容量;  23) determining the capacity of the corresponding row of data inserted and multiplexed in the frame structure of each container; 24) dividing the data segment into data sub-segments corresponding to each container, and the bandwidth of the data sub-segment is adapted to the capacity;
25 )按序将各个数据子段数据间插复用进相应容器中。  25) Interpolating and multiplexing each data sub-segment data into a corresponding container in order.
7、 根据权利要求 6所述虚级联的实现方法, 其特征在于, 所述 步骤 25 )进一步包括:  7. The method for implementing virtual concatenation according to claim 6, wherein the step 25) further comprises:
251 )确定各个数据子段间插复用进相应容器的数据的字节数; 252 )按序将各个数据子段中相应字节数的数据复用进相应容器 中。  251) Determine the number of bytes of data multiplexed into the corresponding container between each data sub-segment; 252) Sequentially multiplex the data of the corresponding byte number in each data sub-segment into the corresponding container.
8、 根据权利要求 5所述虚级联的实现方法, 其特征在于, 所述 虚容器包括 VC2、 VC3、 VC4、 VC11及 VC12, 其中所述 VC3、 VC4 的虚级联信息通过 H4字节传送, VC11、 VC12及 VC2的虚级联信息 通过 K4字节传送。  8. The method for implementing virtual concatenation according to claim 5, wherein the virtual container comprises VC2, VC3, VC4, VC11, and VC12, and the virtual concatenation information of the VC3 and VC4 is transmitted through H4 bytes. The virtual concatenation information of VC11, VC12 and VC2 is transmitted through K4 bytes.
9、 根据权利要求 8所述虚级联的实现方法, 其特征在于, 所述 虚级联信息为复帧号和虚容器序列号。  9. The method for implementing virtual concatenation according to claim 8, wherein the virtual concatenation information is a multi-frame number and a virtual container sequence number.
10、 根据权利要求 5-9任一项所述虛级联的实现方法, 其特征在 于,所述虚级联方式为 VC3和 /或 VC4与 VC11和 /或 VC12和 /或 VC2 虚容器组合的虛级联, 映射步骤中将 VC11/VC12/VC2序列号排列在 前。 10. The method for implementing virtual concatenation according to any one of claims 5-9, wherein the virtual concatenation mode is VC3 and / or VC4 and VC11 and / or VC12 and / or VC2 The virtual concatenation of the virtual container combination arranges the VC11 / VC12 / VC2 serial numbers first in the mapping step.
11、 根据权利要求 10所述虚级联的实现方法, 其特征在于, 所 述虚级联方式为 VC3和 /或 VC4与 VC11和 /或 VC12和 /或 VC2虚容 器组合的虚级联, 则进一步扩充 VC11/VC12/VC2映射进的 VC3和 / 或 VC4中 H4字节的复帧指示作为虚级联的 VC11/VC12/VC2的虚级 联复帧指示。  11. The method for implementing virtual concatenation according to claim 10, wherein the virtual concatenation method is a virtual concatenation of a combination of VC3 and / or VC4 and VC11 and / or VC12 and / or VC2 virtual containers, then The H4 byte multiframe indication in VC3 and / or VC4 mapped into VC11 / VC12 / VC2 is further extended as the virtual concatenated VC11 / VC12 / VC2 virtual concatenated multiframe indication.
12、 根据权利要求 5-9任一项所述虚级联的实现方法, 其特征在 于, 所述虚级联方式为 VC3与 VC4虚容器组合的虚级联。  12. The method for implementing virtual concatenation according to any one of claims 5 to 9, wherein the virtual concatenation method is a virtual concatenation of a combination of VC3 and VC4 virtual containers.
13、 根据权利要求 5-9任一项所述虚级联的实现方法, 其特征在 于, 所述虚级联方式为 VC11、 VC12以及 VC2任意虚容器组合的虚 级联。  13. The method for implementing virtual concatenation according to any one of claims 5-9, wherein the virtual concatenation method is a virtual concatenation of any combination of virtual containers of VC11, VC12, and VC2.
PCT/CN2005/000464 2004-04-09 2005-04-08 Method for implementing data multiplex and virtual concatenation WO2005099149A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200410033174.4 2004-04-09
CN 200410033174 CN1681233B (en) 2004-04-09 2004-04-09 Realizing method of data multiplexing and virtual form

Publications (1)

Publication Number Publication Date
WO2005099149A1 true WO2005099149A1 (en) 2005-10-20

Family

ID=35067676

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2005/000464 WO2005099149A1 (en) 2004-04-09 2005-04-08 Method for implementing data multiplex and virtual concatenation

Country Status (2)

Country Link
CN (1) CN1681233B (en)
WO (1) WO2005099149A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111555844A (en) * 2020-05-14 2020-08-18 北京中科网维科技有限公司 Method and device for automatically identifying VC3/VC4 virtual concatenation GFP (generic framing procedure) protocol

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114466087B (en) * 2022-02-21 2023-05-30 重庆奥普泰通信技术有限公司 Data transmission method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030002530A1 (en) * 2001-07-02 2003-01-02 Alcatel Method and apparatus for obtaining a scalable and managed bandwidth for connections between asynchronous level and synchronous hierarchy level in a telecommunication network
US20030007519A1 (en) * 2001-06-28 2003-01-09 Chris Murton Methods and apparatus for transmitting synchronous data
CN1464691A (en) * 2002-06-24 2003-12-31 华为技术有限公司 Mapping and demapping method between data packet and SDH frame structure of Ethernet

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6917630B1 (en) * 1998-10-06 2005-07-12 Nortel Networks Limited Concatenation of containers in synchronous digital hierarchy network
GB2349310B (en) * 1999-04-22 2001-04-11 Marconi Comm Ltd Communications system
CA2270019A1 (en) * 1999-04-26 2000-10-26 Northern Telecom Limited Multiplex hierarchy for high capacity transport systems

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030007519A1 (en) * 2001-06-28 2003-01-09 Chris Murton Methods and apparatus for transmitting synchronous data
US20030002530A1 (en) * 2001-07-02 2003-01-02 Alcatel Method and apparatus for obtaining a scalable and managed bandwidth for connections between asynchronous level and synchronous hierarchy level in a telecommunication network
CN1464691A (en) * 2002-06-24 2003-12-31 华为技术有限公司 Mapping and demapping method between data packet and SDH frame structure of Ethernet

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111555844A (en) * 2020-05-14 2020-08-18 北京中科网维科技有限公司 Method and device for automatically identifying VC3/VC4 virtual concatenation GFP (generic framing procedure) protocol
CN111555844B (en) * 2020-05-14 2023-07-28 北京中科网维科技有限公司 Method and device for automatically identifying VC3/VC4 virtual concatenation GFP protocol

Also Published As

Publication number Publication date
CN1681233B (en) 2010-12-08
CN1681233A (en) 2005-10-12

Similar Documents

Publication Publication Date Title
US7656910B2 (en) Add drop multiplexing method, apparatus and system based on GFP
US6771663B1 (en) Hybrid data transport scheme over optical networks
CN101656894B (en) Packet add/drop multiplexing equipment and data transmission method for same
US7006525B1 (en) Hybrid data transport scheme over optical networks
US7881187B2 (en) Transmission apparatus
US6999479B1 (en) Hybrid data transport scheme over optical networks
US20110013619A1 (en) Universal Service Transport Transitional Encoding
CN1439205A (en) Transport of isochronous and bursty data on a sonet ring
US7133415B2 (en) SONET circuit emulation with VT compression
US20020191620A1 (en) Hybrid time division multiplexing and data transport
JP3299749B2 (en) Network interface method and network interface for digital transmission network
US20130308659A1 (en) System and Method for Multiplexing PDH and Packet Data
WO2011057545A1 (en) Method and apparatus for transmitting multipath service
US4160128A (en) Digital data transmission system providing multipoint connections
US6778561B1 (en) Hybrid data transport scheme over optical networks
CN101167281A (en) Method and apparatus for synchronous switching of optical transport network signals
CN101753249A (en) Pocket add-drop multiplexer and data transmission method thereof
FI106500B (en) Multiplexing in PDH telecommunications networks
EP1266476A1 (en) Hybrid data transport scheme over optical networks
WO2005099149A1 (en) Method for implementing data multiplex and virtual concatenation
US8270301B2 (en) Delay distributed virtually-concatenated data traffic
US7333506B2 (en) Method and apparatus for obtaining a scalable and managed bandwidth for connections between asynchronous level and synchronous hierarchy level in a telecommunication network
US20010015980A1 (en) Mapping of dynamic synchronous transfer mode network onto an optical network
EP1047214A2 (en) Multiplex structures for communications system
US7519064B1 (en) Virtual tributary processing using shared resources

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 KM 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 SM 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 IS IT LT 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
NENP Non-entry into the national phase

Ref country code: DE

WWW Wipo information: withdrawn in national office

Country of ref document: DE

122 Ep: pct application non-entry in european phase
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载