CN102026045B - Method, device and system for transmitting and receiving data frames - Google Patents

Method, device and system for transmitting and receiving data frames Download PDF

Info

Publication number
CN102026045B
CN102026045B CN200910093304.6A CN200910093304A CN102026045B CN 102026045 B CN102026045 B CN 102026045B CN 200910093304 A CN200910093304 A CN 200910093304A CN 102026045 B CN102026045 B CN 102026045B
Authority
CN
China
Prior art keywords
data
subchannel
frame
transmission
business datum
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN200910093304.6A
Other languages
Chinese (zh)
Other versions
CN102026045A (en
Inventor
胡幸
李昆
曹旸
周建林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN200910093304.6A priority Critical patent/CN102026045B/en
Publication of CN102026045A publication Critical patent/CN102026045A/en
Application granted granted Critical
Publication of CN102026045B publication Critical patent/CN102026045B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention provides a method, a device and a system for transmitting and receiving data frames. The method for transmitting the data frames comprises the following steps of: respectively allocating N groups of service data, which are sent to the same destination and in the same data type, serving as effective data to N transmission subchannels; packaging the N transmission subchannels, which are respectively allocated with the effective data, serving as data payload into a data frame, wherein the data frame comprises a data frame header, and the data frame header comprises a type identifier and a length identifier; and sending the data frame to the destination. In the embodiment of the invention, a source allocates N groups of service data, which are sent to the same destination and in the same data type to the N transmission subchannels, and the N transmission subchannels serving as the data payload are packaged into a data frame, so that a plurality of groups of service data in the same type can be transmitted in the data frame, the byte overhead for transmitting the plurality of groups of service data is saved, and the utilization rate of the transmission bandwidth is improved.

Description

The transmission processing of Frame and receiving handling method, device and system
Technical field
The embodiment of the present invention relates to communication technical field, relates in particular to a kind of transmission processing and receiving handling method, device and system of Frame.
Background technology
EPON (Passive Optical Network, hereinafter to be referred as: PON) be a kind of broadband optical access technology, can realize the unified access of different kinds of business, and by Dynamic Bandwidth Allocation (Dynamic Bandwidth Assignment, hereinafter to be referred as: DBA) mechanism meets the bandwidth demand of different kinds of business.
In prior art, G.894.3, ITU-T has defined at gigabit passive optical network (Gigabit-PON, hereinafter to be referred as: GPON) in system, transmission time division multiplexing (Time DivisionMultiplexing, hereinafter to be referred as: the TDM) method of business, the method is: source is utilized encapsulation mode (the GPON Encapsulation Mode of elongated GPON, hereinafter to be referred as: GEM) frame encapsulation tdm data, wherein the PLI territory in GEM frame head is used to indicate the effective word joint number of tdm data in this GEM frame; Then, source by GEM frame by GPON transmission convergence layer (GPONTransmission Convergence layer, hereinafter to be referred as: GTC) be encapsulated as GTC frame and be sent to egress; Egress parses GEM frame from GTC frame, from GEM frame, take out again tdm data and the tdm data of taking-up is put into buffer memory, then egress according to data volume in buffer memory number, adopt adaptive technique to adjust the output clock frequency of TDM business, the tdm data in buffer memory is sent to destination.
Fig. 1 is that existing tdm traffic is encapsulated into the schematic diagram in GEM frame, as shown in Figure 1, source is first put into TDM service buffer district by the TDM business datum receiving, TDM business datum in JiangTDM service buffer district is encapsulated in the payload of variable-length of GEM frame again, and each GEM frame also comprises the frame head of 5 byte lengths; Wherein, the frame head of GEM frame comprises PLI, Port ID, PTI and HEC, and wherein PLI is payload user data length mark symbol, and Port ID is port-mark, and PTI is payload type, and HEC is detected field.
In realizing process of the present invention, inventor finds that in prior art, at least there are the following problems: in GPON system during TDM operation transmission, source by each road TDM business packed in a GEM frame, thereby Shi Mei road TDM business all increases the GEM frame frame head expense of 5 bytes, for example: when E1 business (a kind of TDM business of GPON system transmission low speed, the transmission speed of E1 business is that every 125us transmits 32 bytes) time, transmitting every road E1 business at least needs 37 bytes; And a kind of common business configuration is source, will organizes TDM business more and be transferred to same egress, now source will encapsulate separately many groups TDM business, and all to increase the frame head expense of 5 bytes owing to encapsulating each GEM frame, therefore many groups TDM business datum that source mails to same egress will cause byte overhead to be multiplied, and cause transmission bandwidth utilance low.
Summary of the invention
The embodiment of the present invention provides a kind of transmission processing and receiving handling method, device and system of Frame, in order to when transmission is organized TDM business datum more, improves the utilance of transmission bandwidth.
The embodiment of the present invention provides a kind of transmission processing method of Frame, comprising:
By mail to identical egress and with the N group business datum of data type, as valid data, be fitted to respectively N and transmit in subchannel, each length of transmitting subchannel is identical, described N is positive integer;
The adaptation respectively of usining has N transmission subchannel of described valid data as payload user data, and described payload user data is packaged into Frame, and described Frame comprises data frame head; Described data frame head comprises the type identification that is used to indicate described traffic data type and the length mark that is used to indicate described payload user data length;
Described Frame is sent to described egress.
The embodiment of the present invention provides a kind of receiving handling method of Frame, comprising:
Receive the Frame that source sends, by described Frame decapsulation, by the data frame head of resolving in described Frame, get payload user data; Described data frame head comprises the type identification that is used to indicate the traffic data type of transmitting in described payload user data and the length mark that is used to indicate described payload user data length;
According to described type identification, in described payload user data, from the beginning obtain N transmission subchannel; Each length of transmitting subchannel is identical, and described N is positive integer;
From described N transmission subchannel, obtain respectively the N group business datum as valid data.
The embodiment of the present invention also provides a kind of method for transmission processing of Frame, comprises the transmission processing method of arbitrary Frame that the embodiment of the present invention provides and the receiving handling method of arbitrary Frame.
The embodiment of the present invention provides a kind of transmission processing device of Frame, comprising:
Path adaptation module, for by mail to identical egress and with the N group business datum of data type, as valid data, be fitted to respectively N and transmit in subchannel, each length of transmitting subchannel is identical, described N is positive integer;
Frame package module, adaptively has N of described valid data to transmit subchannel as payload user data for usining respectively, and described payload user data is packaged into Frame, and described Frame comprises data frame head; Described data frame head comprises the type identification that is used to indicate described traffic data type and the length mark that is used to indicate described payload user data length;
Frame sending module, for sending to described egress by described Frame.
The embodiment of the present invention provides a kind of receiving and processing device of Frame, comprising:
Decapsulation module, the Frame sending for receiving source, by described Frame decapsulation, gets payload user data by the data frame head of resolving in described Frame; Described data frame head comprises the type identification that is used to indicate the traffic data type of transmitting in described payload user data and the length mark that is used to indicate described payload user data length;
Passage acquisition module for according to described type identification, from the beginning obtains N transmission subchannel in described payload user data; Each length of transmitting subchannel is identical, and described N is positive integer;
Data acquisition module, for obtaining respectively the N group business datum as valid data from described N transmission subchannel.
The embodiment of the present invention also provides a kind of transmission process system of Frame, comprises the transmission processing device of arbitrary Frame that the embodiment of the present invention provides and the receiving and processing device of arbitrary Frame.
The transmission processing of the Frame that the embodiment of the present invention provides and receiving handling method, device and system, source will mail to identical egress, and the N group TDM business datum with data type is fitted in N transmission subchannel, N transmission subchannel is encapsulated in a Frame as payload user data, and this Frame is sent to egress, egress carries out getting N group TDM business datum after corresponding decapsulation, the method can share a frame head expense while making to transmit many group TDM business datums, namely the payload user data of a Frame has been divided into N transmission subchannel, realized the payload user data channelizing of Frame, make can transmit many groups TDM business datum of the same type in a Frame, saved the byte overhead of the many groups of transmission TDM business datum, improved the utilance of transmission bandwidth.
Accompanying drawing explanation
Fig. 1 is that existing tdm traffic is encapsulated into the schematic diagram in GEM frame;
Fig. 2 is the flow chart of steps of the transmission processing embodiment of the method one of Frame of the present invention;
Fig. 3 is the flow chart of steps of the receiving handling method embodiment mono-of Frame of the present invention;
Fig. 4 is the flow chart of steps of TDM service data transmission method embodiment mono-of the present invention;
Fig. 5 is the schematic diagram of the payload user data channelizing of GEM frame in the embodiment shown in Fig. 4;
Fig. 6 is the flow chart of steps of TDM service data transmission method embodiment bis-of the present invention;
Fig. 7 is the schematic diagram of the payload user data channelizing of GEM frame in the embodiment shown in Fig. 6;
Fig. 8 is the schematic diagram of the payload user data channelizing of E-GEM frame in the embodiment of the present invention;
Fig. 9 is the structural representation of the transmission processing device embodiment mono-of Frame of the present invention;
Figure 10 is the structural representation of the transmission processing device embodiment bis-of Frame of the present invention;
Figure 11 is the structural representation of the receiving and processing device embodiment mono-of Frame of the present invention;
Figure 12 is the structural representation of the receiving and processing device embodiment bis-of Frame of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, further illustrate the technical scheme of the embodiment of the present invention.
At present, the type of service of user online is from the application of traditional browsing page, develop into gradually blog, video monitoring, video request program, time-moving television program request etc. be take to video and audio frequency technology applications as basic application, especially along with the appearance of the integrated service business such as Web TV (IPTV), user sharply increases the demand of bandwidth.Relevant to the type of service that user uses to the demand of bandwidth, need thus broadband access system for meeting user, the dynamic need of bandwidth is adjusted timely and responded bandwidth, and meet the requirement of user to business experience quality.Introduce two kinds of broadband access technology: PON and multi-service transmission network below.
PON can realize the unified access of different kinds of business, and by DBA mechanism, meet the bandwidth demand of different kinds of business, have that machine room investment is shared, saved to bandwidth resources, device security is high, networking speed fast, comprehensive networking cost is low, be applicable to converging multi-user, capacity is large, transmission range is long and the advantage such as life-span length.The feature of PON is point-to-multipoint physical topological structure, by optical line terminal (OpticalLine Terminals, hereinafter to be referred as: OLT), Optical Distribution Network (Optical Distribution Network, hereinafter to be referred as: ODN) and a plurality of optical network units (Optical Network Unit, hereinafter to be referred as: ONU) form.Wherein, a plurality of ONU sharing fiber resources, shared OLT port; ODN connects an OLT and one or more ONU with passive mode.From OLT to ONU, be down direction, be up direction from ONU to OLT.Optical branch point in ODN, without the need for the node device in source, only needs a passive optical branching device.The principle of the Dynamic Bandwidth Allocation of PON system based on time-division multiplexing multiple access access (TDMA).GPON system is the PON system that is greater than the bit rate operation of 1Gb/s.
Multi-service transmission network level includes service adapting layer, channel layer and physical layer three-decker, and level is few, and processing of circuit is simple, reliability is high, saves cost and power consumption, and realizes simple.Service adapting layer is responsible for the encapsulation of miscellaneous service Unified Form and decapsulation, and requires to specify the unique sign of each business in network, the GEM that wherein uniform service form is expansion (Enhanced GEM, hereinafter to be referred as: E-GEM) frame.According to principles such as type of service, priority and destination addresses, a plurality of E-GEM frames are formed to dissimilar transmission container (Transmission Container, hereinafter to be referred as: T-CONT frame), add path overhead, form channel layer, can, to channel layer, realize alarm end to end and conveying function monitoring.All T-CONT frames are formed to transmission convergence layer (Transmission Convergence, hereinafter to be referred as: TC frame), add physical layer overhead, comprise that frame head is synchronous, administration overhead and bandwidth map (Bandwidth Map, be called for short: BWmap) etc., to facilitate, in network, main frame is to the communication of each node and management, and the convenient distribution time slot of adjusting each T-CONT frame, realizes dynamic bandwidth adjustment.
Node in multi-service transmission network framework is divided into two kinds of N node and S nodes, and N node is common decentralized service access node, and S node is except possessing the function of N node, or and the node that docks of upper layer network.The business such as can be the directly upper and lower traditional TDM of any one node, Ethernet data business, can also provide PON tributary interface, at S node, can also provide the uplink service interfaces such as 10GE.The type of service of multi-service transmission network carrying can have following three kinds: (1) fixed-bandwidth business, referred to as FB class business, is mainly used in carrying the business that bandwidth time delay guarantees, such as TDM, SDH/SONET or private line service etc.; (2) bandwidth assurance service, referred to as AB class business, such as video, VOIP or special line etc.; (3) assurance business as possible, referred to as BE class business, such as common business of networking etc.For AB class and BE class business, multi-service transmission network is a kind of converying type network, and aggregation node is S node, and this node is realized double copies.For FB class business, multi-service transmission network is a kind of peer switch network, can be from business such as the upper and lower TDM of any one node, SDH/SONET or special lines.
In GPON and multi-service transfers net system, TDM business is transmitted as a kind of important business.When GPON system TDM operation transmission, source by each road TDM business packed in a GEM frame, thereby Shi Mei road TDM business all increases the GEM frame frame head expense of 5 bytes; When source encapsulates separately many groups TDM business, will cause byte overhead to be multiplied thus, and cause transmission bandwidth utilance low.In multi-service transfers net system during TDM operation transmission, also exist and similar problem in GPON system, cause transmission bandwidth utilance low.
For above problem, the embodiment of the present invention provides following technical scheme, source is encapsulated into many groups of same data types that receive and the TDM business datum that mails to same egress in a Frame, make many group TDM business datums can share a data frame head, and this Frame is sent to egress, egress receives after the Frame of source transmission, and this Frame decapsulation is got to many group TDM business datums.Owing to transmitting many group TDM business datums, can share a data frame head, the byte overhead while having saved encapsulation and transmission, while making to transmit many group TDM business in GPON or multi-service transfers net system, can improve the utilance of transmission bandwidth.Wherein, the business datum in the embodiment of the present invention be take TDM business datum and is described as example.Certainly, the embodiment of the present invention is for example not limited to be applied in, in GPON or multi-service transfers net system: the embodiment of the present invention can also be applied in other the system with PLI and PTI territory frame structure, for TDM operation transmission.
Fig. 2 is the flow chart of steps of the transmission processing embodiment of the method one of Frame of the present invention, and what the present embodiment was described is the method that source is packaged into the TDM business datum receiving Frame and sends, and as shown in Figure 2, the method embodiment comprises:
Step 201, by mail to identical egress and with the N group TDM business datum of data type, as valid data, be fitted to respectively N and transmit in subchannel, each length of transmitting subchannel is identical, described N is positive integer.
TDM business is divided into polytype, for example: the T1 business that speed is 1.544Mbit/S, speed is the E1 business of 2.048Mbit/S, speed is the E3 business of 34.368Mbit/S, speed is the STM-1 business of 155.52Mbit/S, speed is the Fast Ethernet business of the transparent transmission of bit of 125Mbit/S, speed is the G bit Ethernet service of the transparent transmission of bit of 1.25Gbit/S, speed is Fibre Channel (Fiber Channel) 1G of 1Gbit/S, speed is the FC0.45G of 0.45Gbit/S, speed is that the business system of 200Mbit/S connects ESCON (Enterprise Systems Connection), speed is digital video broadcasting DVB (Digital Video Broadcast) of 216Mbit/S etc., the TDM business datum of the corresponding respective type of TDM business of each type.
Source comprises a plurality of for receiving the TDM receiving port of TDM business datum, one of them TDM receiving port receives a kind of TDM business datum, source can receive many group TDM business datums by these TDM receiving ports, and these TDM business datums are sent to a plurality of egresses.According to the sign of each TDM receiving port, source can be judged the type of the TDM business datum receiving by this TDM receiving port, and source can also be known the egress that this TDM receiving port is corresponding, wherein this egress refers to the egress that this TDM business datum need to send to.
In the present embodiment, in order to organize TDM business datum time bandwidth-savings in transmission, source is carried out channelizing by the payload user data of the Frame of encapsulation TDM business datum more, to realize, transmits the TDM of group business datums in a Frame more simultaneously.Wherein, the process that source is carried out channelizing by the payload user data of Frame is: source is divided into isometric N transmission subchannel by the payload user data of Frame, each transmits subchannel as a data capsule, the TDM business datum that can receive for carrying a TDM receiving port; Source is organized TDM business datum by N and is fitted to respectively in N transmission subchannel, makes N the N group TDM business datum in transmission subchannel when transmission, can share a data frame head, has saved byte overhead.Due to N transmission subchannel equal in length, and the standard transmission speed of the TDM business datum of same data type equates, be the equal in length of transmission subchannel corresponding to the TDM business datum of same data type, and the length of transmission subchannel corresponding to the TDM business datum of different types of data is not etc., such as: the length of the transmission subchannel that E1 business and STM-1 business are corresponding not etc., need to be with data type so be fitted to respectively N the N group TDM business datum in transmission subchannel; Also because N group TDM business datum sends to an egress by a Frame, so N group TDM business datum need to mail to same egress.
The mode of source adaptive TDM business datum as valid data in transmission subchannel can have multiple, for example: source can be fitted to valid data in all data bit of transmission subchannel, also valid data can be fitted in the partial data position of transmission subchannel.When source is fitted to valid data in the partial data position of transmitting subchannel, can be by transmission subchannel, flag being set, to indicate corresponding egress to start extracted valid data from the data bit of appointment.
Step 202, the adaptation respectively of usining have N transmission subchannel of valid data as payload user data, and this payload user data is packaged into Frame, and this Frame comprises data frame head; This data frame head comprises the type identification that is used to indicate TDM traffic data type and the length mark that is used to indicate payload user data length.
Using adaptive respectively in step 201, have N of valid data to transmit subchannel as payload user data, this payload user data be packaged into Frame, when being packaged into Frame according to this payload user data generated data frame head.This data frame head can be the length of 5 bytes, for example: in this data frame head, can comprise: PLI (length is 12bit), Port ID (length is 12bit), PTI (length is 3bit) and HEC (length is 13bit); Wherein, PLI is the length mark of designation data payload length, by PLI, can know the total length of N transmission subchannel; Port ID is the port-mark of N TDM receiving port of source, and source or egress can, according to this Port ID in default memory space, be inquired about the information of each TDM receiving port; In PTI, increase the type identification of the TDM traffic data type that is used to indicate transmission, because the length of transmission subchannel is corresponding with TDM traffic data type, according to the type identification in PTI, can know the length of this transmission subchannel.
Step 203, this Frame is sent to the egress of having known.
The transmission processing method of the Frame that the embodiment of the present invention provides, identical egress will be mail to, and the N group TDM business datum with data type is fitted in N transmission subchannel, and N transmission subchannel is encapsulated in a Frame and transmitted as payload user data, make N group TDM business datum can share a frame head expense, namely the payload user data of a Frame has been divided into N transmission subchannel, realized the payload user data channelizing of Frame, make can transmit many groups TDM business datum of the same type in a Frame, saved the byte overhead of the many groups of transmission TDM business datum, improved the utilance of transmission bandwidth.
Fig. 3 is the flow chart of steps of the receiving handling method embodiment mono-of Frame of the present invention, the present embodiment is corresponding with the transmission processing embodiment of the method one of Frame of the present invention, what describe is that egress is by the Frame decapsulation receiving, get the method for TDM business datum, as shown in Figure 3, the method embodiment comprises:
The Frame that step 301, reception source send, by Frame decapsulation, gets payload user data by the data frame head of resolving in this Frame; This data frame head comprises the type identification that is used to indicate the TDM traffic data type of transmitting in payload user data and the length mark that is used to indicate payload user data length;
Egress receives after the Frame of source transmission, by this Frame decapsulation, by the data frame head in this Frame, is resolved and is got payload user data.This payload user data comprises that adaptation has N transmission subchannel of valid data.This data frame head comprises: PLI, Port ID, PTI and HEC; Wherein, according to PLI, can know the length of payload user data, i.e. the total length of N transmission subchannel; According to the type identification in PTI, can know the type of the TDM business datum of this data frame transfer, and know the length of each transmission subchannel, wherein, each transmits the equal in length of subchannel.
Step 302, according to type identification, in payload user data, from the beginning obtain N transmission subchannel; Each length of transmitting subchannel is identical, and described N is positive integer;
Egress, according to the type identification in PTI, is known the byte length of each transmission subchannel, then, in payload user data, from the beginning extracts successively each transmission subchannel of known byte length.
Step 303, the N obtaining respectively as valid data from N transmission subchannel organize TDM business datum.
Egress extracts after each transmission subchannel, from each transmission subchannel, obtains TDM business datum.Because the mode of the TDM business datum as valid data adaptive in transmission subchannel is different, the mode of obtaining TDM business datum from transmission subchannel is also different, for example: egress can be extracted all data in transmission subchannel, to obtain TDM business datum; Egress also can be according to the flag in transmission subchannel, and from transmission subchannel, the data bit of appointment starts to extract data, to obtain TDM business datum.Wherein, because the length of N the transmission subchannel encapsulating in a Frame is identical, so it is identical to obtain the mode of TDM business datum in N the transmission subchannel encapsulating from a Frame.
The receiving handling method of the Frame that the embodiment of the present invention provides, by a Frame decapsulation just being got to many group TDM business datums, has saved the byte overhead of the many groups of transmission TDM business datum, has improved the utilance of transmission bandwidth.
The embodiment of the present invention also provides Frame receiving handling method, and the method comprises the transmission processing method of arbitrary Frame that the embodiment of the present invention provides and the receiving handling method of arbitrary Frame.
The transmission processing method of concrete Frame and the receiving handling method of Frame, referring to the detailed description in preceding method embodiment, do not repeat them here.
The Frame receiving handling method that the embodiment of the present invention provides, the beneficial effect identical with the receiving handling method of Frame with the transmission processing method of the Frame providing in previous embodiment is provided.
In the transmission processing and receiving handling method of the Frame that the embodiment of the present invention provides, by N organize TDM business datum be fitted to N transmission subchannel mode can be divided into following two kinds of situations:
The first situation: bit-envelope mode.The speed that receives and send TDM business datum due to source may have deviation, be that the data length that each frame period (125us) endogenous termination is received may be different from the data length of transmission, known by calculating (referring to the calculating in specific embodiment in this situation), in every 125us, the mostly be most ± 1bit of deviation of the data length that source receives or the data length of transmission and full-length, if after generation multiple deviation, may cause the original clock of business transmission to lose or occur error of transmission.In order to alleviate the problems referred to above, avoid occurring repeatedly after transfer of data deviation, business transmission lag or the mistake that may cause, the present embodiment adopts bit-envelope mode to transmit data.Be specially: source setting comprises valid data origin identification position, adjusts the transmission subchannel of bit and subchannel payload user data, and wherein the length of subchannel payload user data equals full-length; Source detects the data length receiving in every 125us, this data length is number of data bits, when the data bit number receiving is during than many 1bit of standard bits number, valid data are placed on to adjust in bit and subchannel payload user data when next Frame sends and send, when the number of data bits receiving equates with standard bits quantity or lacks 1bit, when next Frame sends, valid data are placed in subchannel payload user data and are sent; Source arranges corresponding sign in valid data origin identification position simultaneously, is used to indicate egress when receiving data, from correct position, extracts valid data.
Below by specific embodiment, TDM operation transmission data in the first situation are elaborated, Fig. 4 is the flow chart of steps of TDM service data transmission method embodiment mono-of the present invention, the present embodiment to describe by GEM frame TDM operation transmission data instance in GPON system, as shown in Figure 4, on the basis of the embodiment shown in Fig. 2 and Fig. 3, this method embodiment comprises:
Step 401, according to the type of TDM business datum, define the length of transmission subchannel corresponding to every kind of TDM business datum.
Calculate transmission subchannel and absorb the required number of bits of TDM business datum maximum frequency deviation, draw the quantity of required adjustment bit, wherein adjust bit and valid data origin identification position and be referred to as speed adjustment field; The fixing full-length by TDM business datum of length of transmission subchannel adds that speed adjustment field forms.E1 business take below as example, to calculating the length of transmission subchannel, describe:
The standard speed of E1 business transmission is that every 125us transmits 32 bytes (being 256bit), i.e. the standard speed of E1 business transmission is 2.048Mbit/S, and the maximum frequency deviation of E1 business defined is ± 50ppm that the frequency deviation regulation in GPON system is ± 4.6ppm.Suppose that the required adjustment bit of transmission subchannel is 1bit, transmitting the maximum input rate that subchannel can carry is: (256+1) bit* (1/125us) * (1-4.6ppm) ≈ 2.0559Mbit/S, wherein the deviation of 2.0559Mbit/S and 2.048Mbit/S is 3900ppm, because 3900ppm is greater than 50ppm, so the service rate scope that transmission subchannel can carry has covered the frequency deviation region of E1 business.Above calculating is known thus, only need the adjustment bit of 1bit be set in transmission subchannel, can meet the maximum frequency deviation that absorbs E1 business.When valid data fit in adjustment bit, need in valid data origin identification position, indication information be set, this indication information need take 2bit, because transmission subchannel must be the integral multiple of byte, so only need the speed of a byte to adjust field during transmission E1 business, full-length 32 bytes that the minimum length of transmitting the transmission subchannel of E1 business equals E1 business add that the speed of 1 byte adjusts field, totally 33 bytes.In like manner, the minimum length of the transmission subchannel of transmission STM-1 business equals speed adjustment field, totally 2431 bytes that full-length corresponding to STM-1 business 2430 bytes add 1 byte.Wherein, this speed adjustment field comprises the valid data origin identification position of 2bit and the adjustment bit of 1bit.
Step 402, N the data receiving port by source (data receiver port take TDM receiving port describe as example), receive respectively N group TDM business datum; N TDM receiving port is corresponding one by one with N transmission subchannel.
Source is by N TDM receiving port, receives N group and mails to identical egress and organize TDM business datum with the N of data type.The TDM business datum that wherein each TDM receiving port receives, is fitted in the transmission subchannel corresponding with this TDM receiving port by source.
Step 403, source are according to the physical length (the actual bit speed of the every group of TDM business datum receiving) of the every group of TDM business datum receiving in a setting-up time, N group TDM business datum by receiving, is fitted to respectively in N transmission subchannel; Wherein, this setting-up time can be data frame period, i.e. a 125us.The TDM business datum of every kind of data type, to there being full-length, for example: in GPON system or multi-service transfers net system, Frame be take 125us as one-period, the transmission rate of E1 Business Data Standard is that 125us transmits 32 bytes, so full-length corresponding to E1 business datum is 32 bytes, in like manner, full-length corresponding to STM-1 business datum is 2430 bytes.E1 business take below as example, this step be elaborated:
Fig. 5 is the schematic diagram of the payload user data channelizing of GEM frame in the embodiment shown in Fig. 4, as shown in Figure 5, each transmission subchannel comprises G byte and subchannel payload user data, G byte comprises S1 territory, D1 territory and NC territory, wherein G represents speed adjustment field, S1 represents valid data origin identification position, and D is for adjusting bit, and NC is reservation bit position.The idiographic flow of step 403 is:
Source is done benchmark with a certain phy clock, the line clock of GPON system for example, the actual bit speed of every group of E1 business datum that calculating receives, add up the bit quantity of the actual input of E1 business datum in a Fixed Time Interval, this Fixed Time Interval is generally a track data in the frame period, i.e. 125us;
Source compares the bit quantity of actual input in 125us and the standard bit quantity of standard E1 business datum, draws the deviate of actual bit quantity and standard bit quantity;
Source writes S1 territory by this deviate, from aforementioned calculating, the deviate of E1 business datum is no more than a bit in 125us, the indication information of filling in S1 territory thus has: the 3rd indication information and the 4th indication information, wherein the 3rd indication information can be 1 for 0 or-1, the four indication information; In S1 territory, only need to use 2bit to represent deviate, yet because deviate is extremely important for egress clock recovery, in order to guarantee the accuracy of deviate, a plurality of deviates can be set in S1 territory, three deviates are for example set, in the S1 territory of 6bit, repeat to write the deviate of three 2bit; When egress receives this deviate, adopt the method for majority vote, when receiving the identical deviate of two or more, egress is thought and is received correct deviate, otherwise egress is thought the deviate mistake receiving, to get deviate be 0 to egress or abandon the data in this transmission subchannel;
Source is fitted to the bit number of the actual input of E1 business datum in GEM frame, if the deviate of actual bit quantity and standard bit quantity is 1, first effective bit of E1 business datum packed in the D1 territory of transmitting subchannel, being about to E1 business datum packs in the D1 territory and subchannel payload user data in transmission subchannel, and fill in 1 in S1 territory, as the 4th indication information; If deviate is-1, pack first effective bit of E1 business datum into second behind the D1 territory of transmitting subchannel, or pack first effective bit of E1 business datum into first (last bit data of now transmitting subchannel neutron channel data payload is invalid) behind the D1 territory of transmitting subchannel, and fill in-1 in S1 territory, as the 3rd indication information; If deviate is 0, pack first effective bit of E1 business datum into behind the D1 territory of transmitting subchannel first, be about to E1 business datum and pack in the subchannel payload user data isometric with full-length, and fill in 0 in S1 territory, as the 3rd indication information.
Step 404, source have N transmission subchannel TDM business datum, that go to same egress as the payload user data of GEM frame using adaptive respectively, this payload user data are packaged into GEM frame, when being packaged into GEM frame, according to payload user data generated data frame head; Wherein, according to the type of TDM business datum in this payload user data, in the PTI of the data frame head of GEM frame, increase type identification, to indicate the type of the TDM business datum of this GEM frame transmission; According to the type sign, can obtain the length of transmitting subchannel in this GEM frame.This data frame head comprises: PLI, Port ID, PTI and HEC (as shown in Figure 5).
Step 405, source send to corresponding egress by this GEM frame.
Step 406, egress receive after GEM frame, and GEM frame is carried out to decapsulation, by the data frame head of resolving in GEM frame, get payload user data.
Step 407, egress, according to the type identification in the PTI of data frame head, are judged the type of TDM business datum in payload user data, in conjunction with PLI value, take out N transmission subchannel, recover TDM business datum.For the GEM frame of the many groups of transmission E1 business datum, because PLI equals n*33, so start anew in the payload user data of GEM frame, every 33 bytes are taken out a transmission subchannel.The process that recovers TDM business datum from each transmission subchannel is as follows: egress adopts the method for majority vote to receive the deviate of transmitting in S1 territory, and according to deviate, orients first effective bit of the TDM business datum in transmission subchannel; Egress will receive effective TDM business datum from transmission subchannel, deposit in and send in buffer memory.
Step 408, egress send respectively the N group TDM business datum in buffer memory by N data transmit port.
Described N data transmit port is corresponding one by one with N transmission subchannel.Egress, by the N group TDM business datum getting in step 407, stores into respectively in N corresponding memory space, then by with N transmission subchannel N data transmit port one to one, the N in N memory space is organized to TDM business datum and sends.Egress includes with N transmits subchannel N data transmit port one to one, the TDM business datum of each transmission subchannel transmission, by transmitting corresponding data sending terminal mouth with this transmission subchannel, send, each data sending terminal mouth, mails to the destination corresponding with this data sending terminal mouth.In GPON system, the N of source TDM receiving port is corresponding one by one with N transmission subchannel, and N transmission subchannel is corresponding one by one with N data transmit port of egress again; Each TDM receiving port and transmission subchannel and with the corresponding relation of data sending terminal mouth, set in advance in a memory space; Egress can be according to the Port ID in GEM frame head, from this memory space, inquire each TDM receiving port and transmission subchannel and with the corresponding relation of data sending terminal mouth.
Egress is when sending TDM business datum by N data transmit port, the Frame clock that uses circuit to receive, produce the even time interval (125us), Fixed Time Interval with 125us, monitoring sends the bit quantity in buffer memory, then does adaptive clock recovery and data flow output with monitoring result; Detailed process is: (a) on each 125us time point, inquire about and record the bit quantity sending in buffer memory; (b) when the bit of this inquiry quantity equals the bit quantity of inquiry last time, illustrate that the transmission data flow of egress TDM port and the speed of source TDM port receiving data stream equate, egress continues the transmission rate that keeps current; When the bit quantity of the bit of this inquiry quantity unnecessary last time of inquiry, illustrate that the transmission data flow of egress TDM port is slower than the speed of source TDM port receiving data stream, need to heighten the transmission rate of egress TDM port; When the bit of this inquiry quantity is less than the bit quantity of inquiry last time, illustrate that the transmission data flow of egress TDM port is faster than the speed of source TDM port receiving data stream, need to turn down the transmission rate of egress.
In GPON system, suppose 16 E1 business of each ONU access, when the method for using the present embodiment to provide is transmitted, compare with conventional method, can save 11.5% bandwidth, improve bandwidth availability ratio; And bandwidth availability ratio increases the TDM business along with ONU access and promotes at double, make the in the situation that of same band, the method that the present embodiment provides can provide more TDM service accessibility than conventional method.
The TDM service data transmission method that the embodiment of the present invention provides, can be applied in GPON system, source will mail to identical egress, and the N group TDM business datum with data type is fitted in N transmission subchannel, N transmission subchannel is encapsulated in a Frame as payload user data, and this Frame is sent to egress, egress carries out getting N group TDM business datum after corresponding decapsulation, the method can share a frame head expense while making to transmit many group TDM business datums, namely the payload user data of a Frame has been divided into N transmission subchannel, realized the payload user data channelizing of Frame, make can transmit many groups TDM business datum of the same type in a Frame, saved the byte overhead of the many groups of transmission TDM business datum, improved the utilance of transmission bandwidth.Except above-mentioned beneficial effect, the present embodiment also, by increase to adjust bit in transmission subchannel, makes the fixing bit-envelope mode of usage data payload length in GEM frame, the clock performance while having improved in GPON system TDM operation transmission data.When TDM operation transmission, when GPON system adopts adaptive clock recovery technology, the height of the synchronization clock mass of its recovery, depends on that egress receives time uniformity coefficient and each variable quantity that receives data of data; When the egress time receives the data of very little variable quantity uniformly, with regard to the high-quality synchronised clock that recovers of energy, for the high-quality synchronised clock that recovers, just require egress to receive time of GEM frame even, and in each GEM frame, the equal in length or length variations of payload user data is as far as possible little.Thus, the bit-envelope mode that embodiment of the present invention usage data payload length in GEM frame is fixing, makes the high-quality synchronised clock that recovers of egress energy, has increased the reliability of TDM business data transmission.
The second situation is: byte packaged type.The problem that will alleviate with the first situation is identical, and for fear of occurring repeatedly after transfer of data deviation, error of transmission is lost or occurred to the business original clock that may cause, and the present embodiment adopts byte packaged type to transmit data.Be specially: the mostly be most ± 1bit of deviation (referring to the description in the embodiment of the first situation) of the data length that the endogenous termination of every 125us is received or the data length of transmission and full-length, when the data of deviation are accumulated to certain quantity, the data of deviation are sent together.The data length that the data length that receives of take is below greater than standard describes as example, byte packaged type is specially: the every 125us of source sends out the business datum of full-length, then the 1bit deposit data that every 125us received more are in buffer memory, the data length of depositing in buffer memory is with the current data sum receiving during than many 1 bytes of full-length, and source encapsulates the data in buffer memory send together with the current data that receive.In this situation, the length of the transmission subchannel of source setting is greater than the full-length of business datum, so that 1 unnecessary byte data can be fitted in transmission subchannel, and in this transmission subchannel, be also provided with valid data origin identification position, in order to indicate the original position of valid data in transmission subchannel, this transmission subchannel comprises thus: valid data origin identification position, adjustment byte position and subchannel payload user data.
Below by specific embodiment, TDM operation transmission data in the second situation are elaborated, Fig. 6 is the flow chart of steps of TDM service data transmission method embodiment bis-of the present invention, the present embodiment to describe by GEM frame TDM operation transmission data instance in GPON system, as shown in Figure 6, on the basis of the embodiment shown in Fig. 2 and Fig. 3, this method embodiment comprises:
Step 601, by N TDM receiving port of source, receive respectively N and organize TDM business datum; N TDM receiving port is corresponding one by one with N transmission subchannel.
Step 602, source, by the N group TDM business datum receiving, are fitted to respectively in N transmission subchannel.Fig. 7 is the schematic diagram of the payload user data channelizing of GEM frame in the embodiment shown in Fig. 6, as shown in Figure 7, each GEM frame comprises a data frame head and payload user data, payload user data comprises N transmission subchannel, and each transmission subchannel comprises: valid data origin identification position S2, adjustment byte D2 and subchannel payload user data; Before adjustment byte position can be arranged on subchannel payload user data, before valid data origin identification position can be arranged on and adjust byte; The idiographic flow of this step is:
When the physical length of the every group of TDM business datum receiving in a setting-up time is greater than full-length corresponding to this TDM traffic data type, wherein this setting-up time can be a data frame period (125us), from the beginning source obtains the part TDM business datum isometric with full-length in this group TDM business datum, and the part TDM business datum getting is fitted in the subchannel payload user data of corresponding transmission subchannel, wherein the length of subchannel payload user data and full-length are isometric; Part TDM business datum remaining in this group TDM business datum is stored in buffer memory;
Source arranges the first indication information in the valid data origin identification position of this transmission subchannel, and the valid data that this first indication information is used to indicate in this transmission subchannel fit in subchannel payload user data;
Then, source receives the remaining part TDM business datum of storing in buffer memory and next cycle TDM business datum by same TDM receiving port, as a whole and from the beginning obtain the part TDM business datum isometric with full-length, and be fitted in the subchannel payload user data in the same transmission subchannel of next GEM frame, the rest may be inferred, until the length sum of the TDM business datum that receives by same TDM receiving port of remaining part TDM business datum and next cycle is during than the many bytes of full-length, the TDM business datum that remaining part TDM business datum and next cycle are received by same TDM receiving port, be fitted to together in the adjustment byte and subchannel payload user data in the same transmission subchannel of next TDM frame, and source arranges the second indication information in valid data origin identification position, the valid data that this second indication information is used to indicate in this transmission subchannel are stored in adjustment byte position and subchannel payload user data, wherein valid data origin identification position and adjustment byte position can take respectively 1 byte.
Step 603, source have N transmission subchannel of valid data as payload user data using adaptive respectively, this payload user data are packaged into GEM frame, when being packaged into GEM frame, according to payload user data generated data frame head.
Step 604, this GEM frame of source send to corresponding egress.
Step 605, egress receive after GEM frame, and GEM frame is carried out to decapsulation, by the data frame head of resolving in GEM frame, get payload user data.
Step 606, egress, according to the type identification in PTI in data frame head, are known the byte length of each transmission subchannel, then in payload user data, from the beginning extract N transmission subchannel.
Step 607, egress, according to the indication information in the valid data origin identification position in transmission subchannel, are obtained the TDM business datum as valid data; While being the first indication information in valid data origin identification position, egress is obtained TDM business datum from subchannel payload user data; While being the second indication information in valid data origin identification position, egress starts to obtain from adjusting byte position the TDM business datum of adjusting byte position and subchannel payload user data.
Step 608, egress send respectively N group TDM business datum by N data transmit port.
The present embodiment is to take data length that the data length that receives is greater than standard to describe as example in setting-up time, when the data length receiving in setting-up time is less than the data length of standard, for example, when the data length receiving in 125us is than the few 1bit of full-length, the data that source receives within next cycle (125us), obtain the data of 1bit, by these 1bit data together with the data that receive in this cycle in adaptive and the isometric subchannel payload user data of full-length, then source forms the data isometric with full-length by remaining data in next cycle and the partial data that obtains from the data in next cycle again, be fitted in the subchannel payload user data isometric with full-length, the rest may be inferred, until when in next cycle, remaining data are than the few byte of full-length, first significance bit of the data that receive is fitted in first byte in subchannel payload user data (now, last byte in subchannel payload user data is invalid) or first significance bit of the data that receive is fitted in second byte in subchannel payload user data, and in valid data origin identification position, corresponding indication information is set, the valid data that are used to indicate in this transmission subchannel are stored in the start-stop position in subchannel payload user data.
The TDM service data transmission method that the embodiment of the present invention provides, except thering is the beneficial effect of TDM service data transmission method embodiment mono-of the present invention, also by increasing and adjust byte position in transmission subchannel, while making in GPON system TDM operation transmission data, improve the performance of the synchronised clock of GPON system recovery, increased the reliability of TDM business data transmission.
Fig. 4 of the present invention is to the embodiment shown in Fig. 7, to take the specific descriptions that GPON system carries out as example, in GPON system, the N of source TDM receiving port is corresponding one by one with N transmission subchannel, N transmission subchannel is corresponding one by one with N data transmit port of egress again, namely, the data that certain TDM receiving port of source receives, the fixing data sending terminal mouth corresponding with this TDM receiving port by egress sends; Wherein, each TDM receiving port and transmission subchannel and with the corresponding relation of data sending terminal mouth, set in advance in a memory space; Egress can be according to the Port ID in GEM frame head, from this memory space, inquire each TDM receiving port and transmission subchannel and with the corresponding relation of data sending terminal mouth.Thus, when certain TDM receiving port does not receive TDM business, just there is no padding data in GEM frame transmits subchannel accordingly, some byte in GEM frame does not have padding data.
And when the embodiment of the present invention is applied in other system, for example, while being applied in multi-service transfers net system, because N TDM receiving port of source do not need corresponding one by one with N transmission subchannel, N transmission subchannel do not need corresponding one by one with N data transmit port of egress yet, so adopt Fig. 4 to the method shown in Fig. 7, when some byte in there is Frame does not have padding data, can cause the waste of byte in Frame.For fear of such waste, the embodiment of the present invention is on the basis of above-described embodiment, the Frame of another kind of packing forms is provided, the difference of this Frame and aforesaid GEM frame is: in the transmission subchannel of Frame, increased transmit port indicating bit, this transmit port indicating bit sends sequence number for arranging, and this sends sequence number corresponding with the data sending terminal mouth of egress, is used to indicate the data sending terminal mouth that egress sends sequence number corresponding according to this and sends corresponding TDM business datum; Except increasing transmit port indicating bit at transmission subchannel, source sends TDM business datum and egress and recovers identical with in GPON system of the method for TDM business datum.With the example that is applied as in multi-service transfers net system, payload user data channelizing and the transmission method thereof of the Frame of above-mentioned packing forms are elaborated below.
In multi-service transfers net system, Frame is E-GEM frame.Fig. 8 is the schematic diagram of the payload user data channelizing of E-GEM frame in the embodiment of the present invention.As shown in Figure 8, the difference of the GEM frame shown in E-GEM frame and Fig. 7 is: in (1) transmission subchannel, increased transmit port indicating bit (Num position); (2) the data frame head of E-GEM frame comprises: PLI, TI ID, Seq, ePTI, PTI and HEC; Wherein PLI and HEC are equivalent to the PLI shown in Fig. 7 and HEC; TI ID and Seq represent port-mark, are equivalent to the Port ID shown in Fig. 7; EPTI and PTI are equivalent to the PTI shown in Fig. 7.
Using the embodiment of the present invention, similar to the method in the embodiment shown in Fig. 7 by method and Fig. 4 of the many groups of E-GEM frame transmission TDM business datum, distinctive points is below only described: source is organized TDM business datum by N and is fitted to transmission during subchannel, in the Num position of each transmission subchannel, arrange and send sequence number, with indication egress, according to this, send sequence number and select corresponding data sending terminal mouth to send the data in this transmission subchannel, namely the corresponding relation between the TDM receiving port of source and the data sending terminal mouth of egress is indicated by sending sequence number; Egress receives after E-GEM frame, first by the port-mark in data frame head, find the scope at this data sending terminal mouth place that sends sequence number corresponding, then, within the scope of this, according to sending sequence number, find the data sending terminal mouth corresponding with it and send corresponding data.
While using the E-GEM frame shown in Fig. 8 to send TDM business datum, owing to including and sending sequence number in transmission subchannel, make different transmission subchannel in the E-GEM frame same position in can multiplexing E-GEM frame data payload, for example: the business datum in transmission subchannel 1, data sending terminal mouth 1 by egress sends to destination 1, business datum in transmission subchannel 2, data sending terminal mouth 2 by egress sends to destination 2, data sending terminal mouth due to transmission subchannel and egress, and with the corresponding relation of destination with the expression that sends sequence number, so transmission subchannel 1 and transmission subchannel 2 are in E-GEM frame data payload, can place the same payload section near frame head, now egress is distinguished different transmission subchannels by sending sequence number in transmission subchannel.
Use the E-GEM frame shown in Fig. 8 to send the embodiment of TDM business datum, except thering is the beneficial effect having embodiment illustrated in fig. 4, also by arranging and send sequence number in transmission subchannel, guaranteed that adaptation has TDM business datum in each transmission subchannel, avoided when certain TDM receiving port does not receive TDM business datum, the waste of byte in Frame.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in a computer read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Fig. 9 is the structural representation of the transmission processing device embodiment mono-of Frame of the present invention, the transmission processing device of the Frame in the present embodiment is equivalent to the source in preceding method embodiment, as shown in Figure 9, the transmission processing device of this Frame comprises: path adaptation module 11, Frame package module 13 and Frame sending module 15.
Path adaptation module 11 for by mail to identical egress and with the N group business datum of data type, as valid data, be fitted to respectively N and transmit in subchannel, each length of transmitting subchannel is identical, described N is positive integer.Frame package module 13 adaptively has N of described valid data to transmit subchannel as payload user data for usining respectively, and described payload user data is packaged into Frame, and described Frame comprises data frame head; Described data frame head comprises the type identification that is used to indicate traffic data type and the length mark that is used to indicate payload user data length.Frame sending module 15 is for sending to egress by Frame.
Path adaptation module 11 by mail to identical egress and with the N group business datum of data type, as valid data, be fitted to respectively N and transmit in subchannel; Frame package module 13 transmits subchannel as payload user data using adaptive N of crossing of path adaptation module 11, and this payload user data is packaged into Frame, when being packaged into Frame according to this payload user data generated data frame head; Frame sending module 15 sends to egress by Frame.
In the present embodiment, the operation principle of modules and workflow, referring to the description in each embodiment of the method for the present invention, do not repeat them here.
The transmission processing device of the Frame that the embodiment of the present invention provides, by by mailing to identical egress, and the N group TDM business datum with data type is fitted in N transmission subchannel, and N transmission subchannel is encapsulated in a Frame and transmitted as payload user data, make N group TDM business datum can share a frame head expense, namely the payload user data of a Frame has been divided into N transmission subchannel, realized the payload user data channelizing of Frame, make can transmit many groups TDM business datum of the same type in a Frame, saved the byte overhead of the many groups of transmission TDM business datum, improved the utilance of transmission bandwidth.
Figure 10 is the structural representation of the transmission processing device embodiment bis-of Frame of the present invention, as shown in figure 10, on the basis of the transmission processing device embodiment mono-of Frame of the present invention, the path adaptation module 11 of the transmission processing device of this Frame can comprise following any one group of unit or its combination: first group: the first data capture unit 1101, the first adaptation unit 1103 and the second adaptation unit 1105; Second group: the second data capture unit 1107 and the first setting unit 1109.
When the first data capture unit 1101 is greater than full-length corresponding to traffic data type for the physical length of every group of business datum when receiving in a setting-up time, in business datum, from the beginning obtain the partial service data isometric with full-length.The first adaptation unit 1103 is fitted in corresponding transmission subchannel and the isometric subchannel payload user data of full-length for the partial service data that the first data capture unit is obtained; And in the valid data origin identification position arranging in subchannel in transmission, be provided for the first indication information that the valid data in indication transmission subchannel start from subchannel payload user data.The business datum that the second adaptation unit 1105 received by same data receiver port for remaining partial service data that buffer memory is stored and next cycle, as a whole and from the beginning obtain in the subchannel payload user data in the same transmission subchannel that the partial service data isometric with full-length are fitted to next Frame, the rest may be inferred, until the length sum of the business datum that receives by same data receiver port of remaining partial service data and next cycle is during than the many bytes of full-length, the business datum that remaining partial service data and next cycle are received by same data receiver port, be fitted to together in the adjustment byte position and subchannel payload user data before the same transmission subchannel neutron channel data payload of next Frame, and the second indication information that is provided for indicating the valid data in transmission subchannel to start from adjustment byte position in the valid data origin identification position arranging in transmitting subchannel.
The second data capture unit 1107 is for according to the physical length of business datum described in receive in a setting-up time every group, by business datum be fitted in transmission subchannel with the isometric subchannel payload user data of full-length in, or business datum is fitted in the adjustment bit and subchannel payload user data of transmission in subchannel.The 3rd indication information that the first setting unit 1109 starts from subchannel payload user data for the valid data that are provided in the valid data origin identification position arranging at transmission subchannel in indication transmission subchannel, or in the valid data origin identification position arranging, be provided for the 4th indication information that the valid data in indication transmission subchannel start from adjusting bit in transmission subchannel.
The transmission processing device of the Frame that the embodiment of the present invention provides, can also comprise N data receiving port, and path adaptation module can also comprise: sequence number setting unit.
N data receiving port is for receiving respectively N group business datum.Described N data receiving port can be corresponding one by one with N transmission subchannel.
When described N data receiving port do not transmit subchannel one by one at once with N, in transmission subchannel, can also comprise transmit port indicating bit.Sequence number setting unit is for arranging and send sequence number in the transmit port indicating bit at transmission subchannel; Send sequence number and be used to indicate the egress data sending terminal mouth transmission valid data corresponding according to the selection that sends sequence number.
In the present embodiment, the operation principle of modules and unit and workflow, referring to the description in each embodiment of the method for the present invention, do not repeat them here.
The transmission processing device of the Frame that the embodiment of the present invention provides, except the beneficial effect of the transmission processing device embodiment mono-of Frame of the present invention, also by increasing in transmission subchannel, adjust bit or adjust byte position, make the fixing packaged type of usage data payload length in Frame, clock performance while having improved TDM operation transmission data, has increased the reliability of TDM business data transmission; And by arranging in subchannel and send sequence number in transmission, guaranteed to transmit adaptive TDM business datum in subchannel at each, avoided when certain TDM receiving port does not receive TDM business datum, the waste of byte in Frame.
Figure 11 is the structural representation of the receiving and processing device embodiment mono-of Frame of the present invention, the receiving and processing device of the Frame in the present embodiment is equivalent to the egress in preceding method embodiment, as shown in figure 11, the receiving and processing device of this Frame comprises: decapsulation module 21, passage acquisition module 23 and data acquisition module 25.
The Frame that decapsulation module 21 sends for receiving source, by Frame decapsulation, gets payload user data by the data frame head of resolving in described Frame; Data frame head comprises the type identification that is used to indicate the traffic data type of transmitting in payload user data and the length mark that is used to indicate payload user data length.The type identification of passage acquisition module 23 for getting according to decapsulation module 21 from the beginning obtains N transmission subchannel in payload user data; Wherein, each length of transmitting subchannel is identical, and described N is positive integer.Data acquisition module 25 obtains respectively the N group business datum as valid data for N the transmission subchannel getting from passage acquisition module 23.
In the present embodiment, the operation principle of modules and workflow, referring to the description in each embodiment of the method for the present invention, do not repeat them here.
The receiving and processing device of the Frame that the embodiment of the present invention provides, by a Frame decapsulation just being got to many group TDM business datums, has saved the byte overhead of the many groups of transmission TDM business datum, has improved the utilance of transmission bandwidth.
Figure 12 is the structural representation of the receiving and processing device embodiment bis-of Frame of the present invention, as shown in figure 12, on the basis of the receiving and processing device embodiment mono-of Frame of the present invention, the data acquisition module 25 of the receiving and processing device of this Frame can comprise: the 3rd data capture unit 251 and the 4th data capture unit 253.
The 3rd data capture unit 251, for the indication information in the valid data origin identification position arranging according to each transmission subchannel, obtains the N group business datum as valid data from transmission subchannel in the subchannel payload user data arranging.
The 4th data capture unit 253 is for the indication information in the valid data origin identification position arranging according to each transmission subchannel, and the adjusted position arranging from transmission subchannel starts to obtain the N group business datum as valid data.
The receiving and processing device of the Frame that the embodiment of the present invention provides, can also comprise N data transmit port and port selection module.
N data transmit port is for sending respectively N group business datum; Described N data transmit port can be corresponding one by one with N transmission subchannel.
When described N data transmit port do not transmit subchannel one by one at once with N, port selects module according to sending sequence number of arranging in the transmit port indicating bit arranging in transmission subchannel, to select to send valid data with the data sending terminal mouth that sends sequence number corresponding.
In the present embodiment, the operation principle of modules and unit and workflow, referring to the description in each embodiment of the method for the present invention, do not repeat them here.
The receiving and processing device of the Frame that the embodiment of the present invention provides, by a Frame decapsulation just being got to many group TDM business datums, has saved the byte overhead of the many groups of transmission TDM business datum, has improved the utilance of transmission bandwidth.
The embodiment of the present invention also provides a kind of transmission process system of Frame, and the transmission process system of this Frame comprises the transmission processing device of the Frame as shown in Fig. 9 or Figure 10 and the receiving and processing device of the Frame as shown in Figure 11 or Figure 12.
In the transmission process system of Frame of the present invention, the operation principle of modules and unit and workflow, referring to the description in each embodiment of the method for the present invention, do not repeat them here.
The transmission process system of a kind of Frame that the embodiment of the present invention provides, identical egress will be mail to, and the N group TDM business datum with data type is fitted in N transmission subchannel, and N transmission subchannel is encapsulated in a Frame and transmitted as payload user data, make N group TDM business datum can share a frame head expense, namely the payload user data of a Frame has been divided into N transmission subchannel, realized the payload user data channelizing of Frame, make can transmit many groups TDM business datum of the same type in a Frame, saved the byte overhead of the many groups of transmission TDM business datum, improved the utilance of transmission bandwidth, and the clock performance in the time of can improving TDM operation transmission data, has increased the reliability of TDM business data transmission
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (15)

1. a transmission processing method for Frame, is characterized in that, comprising:
By mail to identical egress and with the N group business datum of data type, as valid data, be fitted to respectively N and transmit in subchannel, each length of transmitting subchannel is identical, described N is positive integer;
The adaptation respectively of usining has N transmission subchannel of described valid data as payload user data, and described payload user data is packaged into Frame, and described Frame comprises data frame head; Described data frame head comprises the type identification that is used to indicate described traffic data type and the length mark that is used to indicate described payload user data length;
Described Frame is sent to described egress;
Wherein, described by mail to identical egress and with the N group business datum of data type, as valid data, be fitted to respectively N and transmit subchannel and comprise:
When the physical length of business datum described in every group that receives in a setting-up time is greater than full-length corresponding to described traffic data type, in described business datum, from the beginning obtain the partial service data isometric with full-length, and be fitted in corresponding transmission subchannel with the isometric subchannel payload user data of full-length in, and the first indication information that is provided for indicating the valid data in described transmission subchannel to start from described subchannel payload user data in the valid data origin identification position arranging in described transmission subchannel, the business datum that the remaining partial service data of storing in buffer memory and next cycle are received by same data receiver port, as a whole and from the beginning obtain in the subchannel payload user data in the same transmission subchannel that the partial service data isometric with full-length are fitted to next Frame, the rest may be inferred, until the length sum of the business datum that receives by same data receiver port of remaining partial service data and next cycle is during than the many bytes of described full-length, the business datum that remaining partial service data and next cycle are received by same data receiver port, be fitted to together in the adjustment byte position and described subchannel payload user data before the same transmission subchannel neutron channel data payload of next Frame, and the second indication information that is provided for indicating the valid data in described transmission subchannel to start from described adjustment byte position in the valid data origin identification position arranging in described transmission subchannel,
Or, according to the physical length of business datum described in every group that receives in a setting-up time, by described business datum be fitted in described transmission subchannel with the isometric subchannel payload user data of full-length in, and the 3rd indication information that is provided for indicating the valid data in described transmission subchannel to start from described subchannel payload user data in the valid data origin identification position arranging in described transmission subchannel; Or described business datum is fitted in the adjustment bit and described subchannel payload user data in described transmission subchannel, and the 4th indication information that is provided for indicating the valid data in described transmission subchannel to start from described adjustment bit in the valid data origin identification position arranging in described transmission subchannel.
2. the transmission processing method of Frame according to claim 1, is characterized in that, described by mail to identical egress and with the N group business datum of data type, as valid data be fitted to respectively N transmit in subchannel before, also comprise:
By N data receiving port of source, receive respectively described N group business datum, described N data receiving port is corresponding one by one with described N transmission subchannel.
3. the transmission processing method of Frame according to claim 2, is characterized in that, described data frame head also comprises for identifying the port-mark of the data receiver port of described source.
4. the transmission processing method of Frame according to claim 1, is characterized in that, described by mail to identical egress and with the N group business datum of data type, as valid data, be fitted to respectively in N the process of transmitting in subchannel and also comprise:
In transmit port indicating bit in described transmission subchannel, arrange and send sequence number, be used to indicate egress according to described in send sequence number and select corresponding data sending terminal mouth to send described business datum.
5. a receiving handling method for Frame, is characterized in that, comprising:
Receive the Frame that source sends, by described Frame decapsulation, by the data frame head of resolving in described Frame, get payload user data; Described data frame head comprises the type identification that is used to indicate the traffic data type of transmitting in described payload user data and the length mark that is used to indicate described payload user data length;
According to described type identification, in described payload user data, from the beginning obtain N transmission subchannel; Each length of transmitting subchannel is identical, and described N is positive integer;
From described N transmission subchannel, obtain respectively the N group business datum as valid data;
Wherein, the described N group business datum of obtaining respectively from described N transmission subchannel as valid data comprises:
According to the indication information in the valid data origin identification position arranging in each transmission subchannel, in the subchannel payload user data arranging, obtain the N group business datum as valid data from described transmission subchannel, or the adjusted position arranging starts to obtain the N group business datum as valid data from described transmission subchannel.
6. the receiving handling method of Frame according to claim 5, is characterized in that, after the described N group business datum of obtaining respectively from described N transmission subchannel as valid data, also comprises:
By N data transmit port, send respectively described N group business datum, described N data transmit port is corresponding one by one with described N transmission subchannel.
7. the receiving handling method of Frame according to claim 5, is characterized in that, after the described N group business datum of obtaining respectively from described N transmission subchannel as valid data, also comprises:
According to sending sequence number of arranging in the transmit port indicating bit arranging in described transmission subchannel, the data sending terminal mouth that sends sequence number corresponding described in selection sends described business datum.
8. a method for transmission processing for Frame, comprise the Frame as described in as arbitrary in claim 1 to 4 transmission processing method and as arbitrary in claim 5 to 7 as described in the receiving handling method of Frame.
9. a transmission processing device for Frame, is characterized in that, comprising:
Path adaptation module, for by mail to identical egress and with the N group business datum of data type, as valid data, be fitted to respectively N and transmit in subchannel, each length of transmitting subchannel is identical, described N is positive integer;
Frame package module, adaptively has N of described valid data to transmit subchannel as payload user data for usining respectively, and described payload user data is packaged into Frame, and described Frame comprises data frame head; Described data frame head comprises the type identification that is used to indicate described traffic data type and the length mark that is used to indicate described payload user data length;
Frame sending module, for sending to described egress by described Frame;
Wherein, described path adaptation module comprises:
The first data capture unit, when being greater than full-length corresponding to described traffic data type when the physical length of business datum described in every group that receives in a setting-up time, in described business datum, from the beginning obtain the partial service data isometric with full-length;
The first adaptation unit, is fitted in corresponding transmission subchannel and the isometric subchannel payload user data of full-length for the partial service data that described the first data capture unit is obtained; And the first indication information that is provided for indicating the valid data in described transmission subchannel to start from described subchannel payload user data in the valid data origin identification position arranging in described transmission subchannel;
The second adaptation unit, the business datum receiving by same data receiver port for remaining partial service data that buffer memory is stored and next cycle, as a whole and from the beginning obtain in the subchannel payload user data in the same transmission subchannel that the partial service data isometric with full-length are fitted to next Frame, the rest may be inferred, until the length sum of the business datum that receives by same data receiver port of remaining partial service data and next cycle is during than the many bytes of described full-length, the business datum that remaining partial service data and next cycle are received by same data receiver port, be fitted to together in the adjustment byte position and described subchannel payload user data before the same transmission subchannel neutron channel data payload of next Frame, and the second indication information that is provided for indicating the valid data in described transmission subchannel to start from described adjustment byte position in the valid data origin identification position arranging in described transmission subchannel,
Or described path adaptation module comprises:
The second data capture unit, be used for according to the physical length of business datum described in every group that receives in a setting-up time, by described business datum be fitted in described transmission subchannel with the isometric subchannel payload user data of full-length in, or described business datum is fitted in the adjustment bit and described subchannel payload user data in described transmission subchannel;
The first setting unit, for the 3rd indication information that is provided for indicating the valid data in described transmission subchannel to start from described subchannel payload user data in the valid data origin identification position arranging at described transmission subchannel, or the 4th indication information that is provided for indicating the valid data in described transmission subchannel to start from described adjustment bit in the valid data origin identification position arranging in described transmission subchannel.
10. the transmission processing device of Frame according to claim 9, is characterized in that, also comprises:
N data receiving port, for receiving respectively described N group business datum; Described N data receiving port is corresponding one by one with described N transmission subchannel.
The transmission processing device of 11. Frames according to claim 9, is characterized in that, described path adaptation module also comprises:
Sequence number setting unit, for arranging and send sequence number in the transmit port indicating bit at described transmission subchannel; Described send sequence number be used to indicate egress according to described in send sequence number and select corresponding data sending terminal mouth to send described business datum.
The receiving and processing device of 12. 1 kinds of Frames, is characterized in that, comprising:
Decapsulation module, the Frame sending for receiving source, by described Frame decapsulation, gets payload user data by the data frame head of resolving in described Frame; Described data frame head comprises the type identification that is used to indicate the traffic data type of transmitting in described payload user data and the length mark that is used to indicate described payload user data length;
Passage acquisition module for according to described type identification, from the beginning obtains N transmission subchannel in described payload user data; Each length of transmitting subchannel is identical, and described N is positive integer;
Data acquisition module, for obtaining respectively the N group business datum as valid data from described N transmission subchannel;
Wherein, described data acquisition module comprises:
The 3rd data capture unit, for the indication information in the valid data origin identification position arranging according to each transmission subchannel, obtains the N group business datum as valid data from described transmission subchannel in the subchannel payload user data arranging;
The 4th data capture unit, for the indication information in the valid data origin identification position arranging according to each transmission subchannel, the adjusted position arranging from described transmission subchannel starts to obtain the N group business datum as valid data.
The receiving and processing device of 13. Frames according to claim 12, is characterized in that, also comprises:
N data transmit port, for sending respectively described N group business datum; Described N data transmit port is corresponding one by one with described N transmission subchannel.
The receiving and processing device of 14. Frames according to claim 12, is characterized in that, also comprises:
Port is selected module, and for sending sequence number of arranging in the transmit port indicating bit arranging according to described transmission subchannel, the data sending terminal mouth that sends sequence number corresponding described in selection sends described business datum.
The transmission process system of 15. 1 kinds of Frames, comprise the Frame as described in as arbitrary in claim 9 to 11 transmission processing device and as arbitrary in claim 12 to 14 as described in the receiving and processing device of Frame.
CN200910093304.6A 2009-09-17 2009-09-17 Method, device and system for transmitting and receiving data frames Active CN102026045B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910093304.6A CN102026045B (en) 2009-09-17 2009-09-17 Method, device and system for transmitting and receiving data frames

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910093304.6A CN102026045B (en) 2009-09-17 2009-09-17 Method, device and system for transmitting and receiving data frames

Publications (2)

Publication Number Publication Date
CN102026045A CN102026045A (en) 2011-04-20
CN102026045B true CN102026045B (en) 2014-12-03

Family

ID=43866804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910093304.6A Active CN102026045B (en) 2009-09-17 2009-09-17 Method, device and system for transmitting and receiving data frames

Country Status (1)

Country Link
CN (1) CN102026045B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833003B (en) * 2012-09-04 2015-05-20 中国联合网络通信集团有限公司 Networking method and device of optical network
CN104519075A (en) * 2013-09-26 2015-04-15 中兴通讯股份有限公司 Data transmission method and device
CN103595660B (en) * 2013-11-04 2016-08-31 上海数字电视国家工程研究中心有限公司 The method for packing of IP packet and the header compression method of IP packet
CN105336146A (en) * 2015-09-30 2016-02-17 天地(常州)自动化股份有限公司 Coal mine underground multi-system data acquisition and transmission method and apparatus
CN105915941A (en) * 2015-12-25 2016-08-31 乐视云计算有限公司 Audio data encapsulating method and apparatus
CN105847338A (en) * 2016-03-18 2016-08-10 广州市苏瑞计算机科技有限公司 Service data transmission method and system
CN108616462A (en) * 2017-01-10 2018-10-02 中兴通讯股份有限公司 a kind of data transmission method and device
CN111917656B (en) * 2017-07-27 2023-11-07 超聚变数字技术有限公司 Method and device for transmitting data
CN109428837B (en) * 2017-09-04 2022-12-02 中兴通讯股份有限公司 Data transmission method and device
CN108880733A (en) * 2018-05-30 2018-11-23 烽火通信科技股份有限公司 The method and device of low speed TDM business transmission is realized on unified load bearing equipment
CN110768937A (en) * 2018-07-27 2020-02-07 珠海格力电器股份有限公司 Data transmission method and device
CN110086793B (en) * 2019-04-18 2021-11-09 中国大唐集团新能源科学技术研究院有限公司 Communication data frame structure of wind generating set
CN111865887B (en) * 2019-04-30 2022-05-13 华为技术有限公司 Data transmission method and device in optical transport network
CN112713960A (en) * 2019-10-25 2021-04-27 中兴通讯股份有限公司 Data transmitting method, receiving method, device, communication node and storage medium
CN111865498B (en) * 2020-07-29 2023-04-07 北京中科网维科技有限公司 100G OTN payload flow rate generation method and device
CN112437064B (en) * 2020-11-12 2023-01-17 深圳银星智能集团股份有限公司 Data transmission method, data reading method, device, equipment and storage medium
CN114157395B (en) * 2021-11-05 2023-08-08 在线途游(北京)科技有限公司 Data communication method, device and system based on variable-length integer codes
CN114844740B (en) * 2022-04-29 2024-01-30 东风电驱动系统有限公司 Dual-chip communication method and chip

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100575989B1 (en) * 2004-04-08 2006-05-02 삼성전자주식회사 Segmentation Transmitting Method of Asynchronous Data In Synchronous Ethernet and Data Structure Used In Segmentation Transmitting Method
CN1791057B (en) * 2004-12-15 2011-06-15 华为技术有限公司 Method for transmitting data service in OTN and its device
CN100512059C (en) * 2006-08-16 2009-07-08 华为技术有限公司 Method and device for transmitting synchronization digital system service in passive optical network
CN100589363C (en) * 2006-08-31 2010-02-10 中兴通讯股份有限公司 Mapping intercrossing device and method based on GFP frame
CN101150876B (en) * 2006-09-19 2011-01-12 上海贝尔阿尔卡特股份有限公司 A method and device for realizing 1000M passive optical network carrier time division multiplexing service

Also Published As

Publication number Publication date
CN102026045A (en) 2011-04-20

Similar Documents

Publication Publication Date Title
CN102026045B (en) Method, device and system for transmitting and receiving data frames
CN102056031B (en) Method and device for transmitting multi-channel service
CN101662702B (en) Time delay control method in passive optical network, optical line terminal and passive optical network
CN101378388B (en) Method, system and equipment for transmitting passive optical network data
CN101662417B (en) Method and equipment for multi-service adapting and multi-service loading
US7894485B2 (en) Method and device of transmitting SDH services in passive optical network
EP2312780A1 (en) A packet add/drop multiplexing device and a data transmission method of a packet add/drop multiplexing device
US20030137975A1 (en) Ethernet passive optical network with framing structure for native Ethernet traffic and time division multiplexed traffic having original timing
US20220239374A1 (en) Service Signal Processing Method and Device
CN105075177A (en) Downstream burst transmission in passive optical networks
CN101674498B (en) Method, equipment and system for transmitting constant-rate data stream
CN101729371A (en) Method for service transmission and device for service transmission
CN1241363C (en) Transmission method of circuit service in passive light network based on Ethernet
CN101873192B (en) Method and device for transmitting constant-rate data stream
CN102055727B (en) Data encapsulation method, encapsulation equipment and branch unit in multi-service transport network
WO2019114544A1 (en) Data transport method, device and system
CN102045130A (en) Downlink framing method, optical line terminal and passive optical network system
CN101552931B (en) System and method for realizing encapsulation mode frame recombination of gigabit passive optical network
CN101453671A (en) Method, system and equipment for passive optical network data transmission
CN101959091B (en) Data transmission method, system and operator fringe node
CN101668003B (en) Method, device and system for transmitting data frames
CN101145846B (en) Device and method for service transmission timing and networking timing in optical access network
CN101674145A (en) Data transmission method and apparatus thereof
CN107172507B (en) The realization method and system of transmission convergence layer framing in passive optical network
WO2023123654A1 (en) Data transmission method, apparatus, storage medium, and electronic apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant