Embodiment
In order to make those skilled in the art person understand the scheme of the embodiment of the invention better, the embodiment of the invention is described in further detail below in conjunction with drawings and embodiments.Apparently, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
With reference to Fig. 1, be the structural representation of physical layer TC frame in the embodiment of the invention:
The form of this TC frame comprises: frame head, physical layer overhead, bandwidth map indication and four parts of payload data are elaborated to each several part below:
(1) frame head: be used for searching for and the original position of definite frame, catch rapidly and locating frame head in data transmission procedure for convenience, it can be the frame delimiter of a few byte, and can not participate in scrambler.
(2) physical layer overhead: comprise following field: multi-frame indication, signalling path, data check, APS field and monitoring field.Wherein,
The multi-frame indication field is used for producing bigger frame structure, the simplest way, exactly a counter is set, every transmission one frame, counter adds 1, and the value of current counter just writes down and is presented in this territory of present frame, sends with the road, makes zero after the counter meter is full.Monitor the part low level bit counting of counter, the state of making zero is an one-period each time, a plurality of subframes can be regarded as one " multi-frame " or " oversized frame ".
The signalling path field is used to provide the information that communication between main frame and the network node and administrative institute need, in common transmission system 8k frame frequency, each byte in the signalling path provides the communication path of a 64kbit/s, for Network Management and control provide powerful communication infrastructure.
The data check field is used for the data in this verification coverage of data transmission procedure are carried out verification; the simplest way adopts BIP-8 (bit Interleaved Parity-8) verification exactly; monitor the delivery quality and the performance of transmission line in real time, for the basis that provides important is protected and switched to network automatically.
The APS field is the embedding signaling channel that is exclusively used in the protection purpose, protects the response time faster to guarantee to have, and improves the survivability of network.
The monitoring field is used to transmit defective and the performance indication that each node detection arrives, as FEE far end error indication REI, remote bug indication RDI etc.
(3) bandwidth map indication: comprise bandwidth map length of field and bandwidth map two parts.
The bandwidth map length of field is illustrated in the quantity and the length of the resilient channels (being T-CONT) of carrying in the payload user data district.Consider that this numerical value is important, need verification and error correction, as cyclic redundancy check (CRC).Each resilient channels represents that with T-CONT a plurality of resilient channels are used the T-CONT_1 of band sequence number, T-CONT_2 ..., T-CONT_n represents.
Bandwidth map can be the vectorial array of a multibyte structure, each vector in the array has been represented the allocated bandwidth of a specific T-CONT, it comprises the gap marker of each T-CONT, and original position and the end position (with byte is unit) of this channel data in the payload user data district.
For fear of in so vectorial array, the vectorial error diffusion of a passage can all be carried out verification and error correction for each vector to next passage.
(4) payload user data district: form by a plurality of T-CONT frames.
Described T-CONT frame is the transmission container that carries different kinds of business, that is to say, the type of service difference that each T-CONT carries.When the T-CONT frame that carries different kinds of business that will need to transmit is assembled into the payload user data district of TC frame, difference according to type of service, each T-CONT has different priority, and the T-CONT of high priority can seize time slot and the position of low priority T-CONT.
Described T-CONT frame can comprise frame header, path overhead and payload data three parts, wherein the payload data part is made up of the adaptation layer frame of the same type service of a plurality of carryings, such as, by a plurality of GEM (G-PON Encapsulation Method, the gigabit passive optical network encapsulation form) frame is formed, perhaps form by a plurality of E-GEM (Enhanced GEM, enhancement mode GEM) frame.In broad terms, any have frame head stationkeeping ability and a confirmable Frame of frame length, can be used for organizing the T-CONT frame.Dissimilar business, such as TDM (Time Division Multiplexer, time division multiplexing) business, Ethernet service and GPON (Gigabit-Passive Optical Network, gigabit passive optical network) business etc., be mapped in the different adaptation layer frames, the adaptation layer frame of same type is formed a T-CONT.Like this, different T-CONT has just carried dissimilar business.
The T-CONT frame can be divided into FB (Fixed Bandwidth, fixed-bandwidth business), AB+BE (Assured Bandwidth+Best Effort guarantees bandwidth and sends professional as possible), BE (sending professional as possible) waits a few type.When the E-GEM frame with the different business mapping is carried among the T-CONT,, the E-GEM frame of same type is formed a T-CONT frame according to principles such as type of service, priority, destination addresses.As the E-GEM frame of TDM business or private line service, can form the T-CONT of FB type; The E-GEM frame of IPTV (Internet Protocol Television uses Internet Protocol to connect and distribute the TV of bandwidth), VoD (Video on Demand, video request program) or private line service can be formed the T-CONT of AB+BE type; And the E-GEM frame of web page browsing, file in download class business then can be formed the T-CONT of BE type.Like this, just can be according to information such as the bandwidth on demand of circuit bandwidth resources, each node in the network, service priority, be the T-CONT of high priority give security bandwidth and preferential the transmission, the T-CONT of low priority can reallocate in remaining bandwidth, thereby has realized the fairness of allocated bandwidth.
Need to prove that the TC frame in the embodiment of the invention is not limited to above-mentioned this concrete structure, such as, physical layer overhead can increase or minimizing field wherein according to the practical application needs; The bandwidth map indicating section also can adopt other version, as long as the apparatus for network node that receives or send the TC frame can be filtered or send business datum and get final product according to the payload user data district in corresponding information decapsulation or the encapsulation TC frame.
Based on above-mentioned this TC frame structure mode, the flow process of data frame transmission method provided by the invention mainly may further comprise the steps as shown in Figure 2:
Step 201 is obtained the sequence number and the corresponding bandwidth allocation information of each T-CONT frame of the channel layer that belongs to this node that main frame issues.
Each node can be collected each service bandwidth solicited message of this intranodal voluntarily, and reports main frame; Main frame is according to conditions such as the service bandwidth solicited message of each node, current line bandwidth resource and service priority, for each node carries out allocated bandwidth, and bandwidth allocation information is handed down to each node.
Step 202 according to the sequence number and the bandwidth allocation information of each T-CONT frame of this node, is assembled into each T-CONT frame in the payload user data district of transmission convergence layer TC frame.
In actual applications, can each T-CONT frame be assembled into the payload user data district of transmission convergence layer TC frame according to the T-CONT type and the bandwidth allocation information of T-CONT number of frames correspondence.。
Step 203 sends described TC frame to other nodes.
Need to prove,, can correctly parse required business datum, in the TC frame, need send the bandwidth map information of each T-CONT of this node with the road in order to make the opposite end apparatus for network node after receiving the TC frame.The front is mentioned, described bandwidth map can be the vectorial array of a multibyte structure, each vector in the array is represented as the bandwidth that a T-CONT distributes, and described vector comprises: the gap marker of T-CONT and this channel data original position and the end position in the payload user data district.Certainly, described bandwidth map also can adopt other frame modes.Like this, after the opposite end apparatus for network node receives described TC frame, just can obtain required business datum according to the payload user data district in the described TC frame of described bandwidth map indication parsing.
As seen, utilize the data frame transmission method of the embodiment of the invention, not only can carry the business of number of different types, and the carrying time slot position of each business and bandwidth can adjust flexibly, thereby can satisfy each professional QoS demand.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
TC frame in the embodiment of the invention also can be realized by existing GPON frame structure is improved.As shown in Figure 3, comprise following a few part:
(1) frame head: continue to use the frame head in the GPON downlink frame structure, Psync=0xB6AB31E0, length is 4byte, frame head does not participate in scrambler.
(2) physical layer overhead:
The multi-frame indication field is continued to use Ident (superframe indication) territory of GPON downlink frame structure, length is 4byte, low 30bit provides a superframe counter, utilize this field can supply to form bigger frame structure, as shown in Figure 3, this Ident territory comprises: (the FEC function allows and forbids indication FEC Ind, and 0 expresses support for the FEC function, the FEC function is forbidden in 1 expression), Rev (keeping the position) and superframe counter, optional forbidding of FEC function wherein.
The signalling path field is continued to use the form of PLOAM in the GPON frame (physical layer operation maintenance management) message, and length is 13byte, and difference is, the ONU-ID among the GPON (optical network unit marks) need be changed into new network node sign Node-ID.Like this, PLOAM message comprises initiation node identification (Node-ID), type of message (Message-ID), message content (Data) and the CRC check of message.Adopt this message format can make things convenient for the GPON branch road management information of transparent transmission in the service port butt joint.Need to prove, be not limited in this message format in the embodiment of the invention, also can adopt SDH (Synchronous Digital Hierarchy, synchronous digital hierarchy) (the DataCommunication Channel of the DCC in the system, data link) agreement, only need in signalling path, stipulate D1~D12 totally 12 DCC bytes get final product, also can be with reference to the form of PLOAM message, increasing by 1 byte uses for verification, thereby can guarantee the compatibility of two kinds of signaling formats from frame structure, length all is 13byte.
The data check field adopts common BIP-8 verification, and at two adjacent frames, the data between two BIP-8 check byte are as the coverage of BIP-8 verification subsequently.
The APS field adopts the K1/K2 byte in the SDH system, for network protection provides the fastest response time.
The monitoring Field Definition is the M1 byte, comprises 1bit remote defect indication (rdi) and 4bit FEE far end error indication (REI), is used in the opposite direction of data transfer path the alarm of the Data Detection that passback sends other node and performance etc.
(3) bandwidth map indication:
For bandwidth map Length Indication field, can be with reference to the usage in Plend territory in the GPON system downlink frame structure, because the data entity that transmits is the T-CONT structure here, no longer include ATM cell, so remove ATM (Asynchronous Transfer Mode, be asynchronous transfer mode) Length Indication of cell, only need the quantity of definition of T-CONT and the CRC check of this numerical value to get final product, altogether 3byte.The quantity of T-CONT is 16bit altogether, means that in a frame T-CONT number of channels that can carry at most is 65536.For guaranteeing robustness, prevent mistake, can will should transmit twice in the zone.Suppose to be mounted with in the payload user data district n T-CONT passage, then BWmap length value is n in the Plend territory.
In bandwidth map, to the long vector of each 9byte of T-CONT definition, comprise the gap marker (Alloc-ID) of 16bit, the original position (Start) of 20bit, the end position (End) of 20bit, the extended field (Ext) of 8bit and the CRC check of 8bit, altogether 9byte.Wherein, the Alloc-ID field can be continued to be divided into two identification field: 6bit node identification (Node-ID) and 10bit sequence number (Seq-ID), this shows that a manageable network has 64 nodes at most, each intranodal can have 1024 T-CONT at most.Because original position and the end position of T-CONT all are to be unit with byte, consider that this physical layer frame structure speed will reach 2.5G, 10G or higher rate, under the 8k frame frequency, have 38880,155520 or the byte of greater number in one frame respectively, so all arranged 20bit long to Start and End.
The definition of bandwidth map in the contrast GPON system, the length of the Alloc-ID here, Start and End has all increased 4bit, thereby can be suitable for higher speed, suitable bigger range of application.
With transmission rate 2.5G, frame frequency 8kHz, frame period 125us is example, and Fig. 4 has provided the schematic diagram of T-CONT time slot position in the bandwidth map designation data payload section:
Under 2.5G speed, 38880 byte are arranged in the frame of cycle 125us, time slot position is numbered 0~38879, having provided among the figure is three T-CONT institute distributed time slot positions, respectively at numbering 100~300,400~500 and 520~600 time slots, take 201,101 and 81 byte respectively, then Dui Ying bandwidth is respectively: 12.863Mbps, 6.464Mbps and 5.184Mbps (every byte takies the 64Kbps bandwidth).
This shows, bandwidth map both can be used as pointer, specify the time slot position of resilient channels in physical layer frame structure, can show the bandwidth that resilient channels is shared again, during difference in changing bandwidth map between end position and the original position, be exactly in the bandwidth that changes described resilient channels in fact, thereby can adjust bandwidth easily by bandwidth map.
(4) payload user data district: form by a plurality of T-CONT frames.
According to top description also as can be seen, TC frame structure in the embodiment of the invention is compared with the frame structure in the existing GPON system, following advantage is arranged: (1) has strengthened OAM (Operation, Administration, Management, Operations,Administration And Maintenance) ability is as APS and monitoring field; (2) optimize the definition of bandwidth map, expanded time slot position indicating range etc.; (3) data entity that loads in the payload user data district can only be the resilient channels data; (4) require bandwidth map and data channel to send with the road.By the improvement and the optimization of these several aspects, make this frame format to use at bigger network range, as the metropolitan area scope, and suitable speed is higher.The rigidity of comparing in the SDH system transmits passage (VC), and the T-CONT frame length in the embodiment of the invention can be by original position in the bandwidth map and end position definition, and bandwidth availability ratio is very high.Faying face can be realized the dynamic bandwidth adjustment easily to the DBA of the whole network (Dynamic Bandwidth Assignment, Dynamic Bandwidth Allocation) mechanism, is particularly suitable for business such as following IPTV, BOD (Bandwidth On Demand, bandwidth on-demand).
The data frame transmission method of the embodiment of the invention can be realized the Data-carrying of multiple services resilient channels, by the bandwidth map indication, realizes the multiplexing of channel layer T-CONT frame, can directly arrive the frame structure of 2.5G, 10G even higher rate.Compare with the SDH system, abandoned and complicated interleave multiplexing and processing procedure such as pointer adjustment, simplified the intermediate treatment process greatly, provide cost savings; The channel layer data length can be the unit adjustment by 1byte, the bandwidth availability ratio height, and, can realize dynamic bandwidth adjustment truly in conjunction with DBA mechanism; The physical layer management expense is succinctly reasonable, can reflect main alarm and performance monitoring, and is simple and reliable, and it is convenient to realize.Compare with the GPON system, can expand to application scenario widely,, support the diverse network network construction form as the metropolitan area scope.
With reference to Fig. 5, be the structural representation of embodiment of the invention apparatus for network node:
This apparatus for network node comprises: information acquisition unit 501, module units 502 and transmitting element 503.Wherein:
Information acquisition unit 501 is used to obtain the sequence number and the corresponding bandwidth allocation information of each the channel layer T-CONT frame that belongs to this node that main frame issues; Module units 502 is used for sequence number and the bandwidth allocation information according to each T-CONT frame of this node, each T-CONT frame is assembled into the payload user data district of transmission convergence layer TC frame; Transmitting element 503 is used to send described TC frame to other node devices.
Preferably, described TC frame comprises frame head, physical layer overhead and bandwidth map indication; Described bandwidth map indication comprises bandwidth map Length Indication and bandwidth map, described bandwidth map Length Indication is illustrated in the quantity of the T-CONT that carries in the described payload user data district, and described bandwidth map is illustrated in the time slot position of the T-CONT that carries in the described payload user data district.
Preferably, this apparatus for network node also comprises: collector unit and report unit (not shown), described collector unit to be used to collect each service bandwidth solicited message of this intranodal; The described unit that reports is used for each service bandwidth solicited message of this intranodal that described collector unit is collected is reported main frame.
The detailed process of utilizing this apparatus for network node to carry out data frame transfer can not repeat them here with reference to the description among the data frame transmission method embodiment of the present invention of front.
In order to make this apparatus for network node can correctly parse required business datum after receiving from the TC frame of other node devices, this apparatus for network node can further include: receiving element and resolution unit (not shown).Wherein, described receiving element is used to receive the TC frame from other node devices, and described TC frame comprises the bandwidth map indication; Described resolution unit is used for parsing earlier bandwidth map, and payload user data district in the TC frame that described receiving element receives is resolved in indication according to described bandwidth map then, obtains required business datum.
Utilize the apparatus for network node of the embodiment of the invention, can realize the Data-carrying and the transmission of multiple services resilient channels.
With reference to Fig. 6, the embodiment of the invention also provides a kind of data frame transfer system, comprises main frame 61 and node device 62, and the structure of described node device 62 is identical with apparatus for network node structure shown in Figure 5, is not described in detail at this.
Described main frame 61 comprises: solicited message receiving element 601, allocated bandwidth unit 602 and issue unit 603.Wherein: solicited message receiving element 601 is used for each service bandwidth solicited message of described intranodal that receiving node equipment 62 reports; Allocated bandwidth unit 602 is used for carrying out allocated bandwidth according to the service bandwidth solicited message of described node and current line bandwidth resource; Issue unit 603 and be used for allocation result, issue bandwidth allocation information to node device 62 according to described allocated bandwidth unit 602.
Need to prove that only show a node device in Fig. 6, the present technique field personnel know, when actual networking, can a plurality of node devices be set according to the networking needs.
The data frame transfer system of the embodiment of the invention, not only can carry the business of number of different types, and by service bandwidth solicited message and the current line bandwidth resource of main frame according to described node, carry out allocated bandwidth, can so that the carrying time slot position of each business and bandwidth can adjust flexibly, thereby can satisfy each professional QoS demand.
More than the embodiment of the invention is described in detail, used embodiment herein the present invention set forth, the explanation of above embodiment just is used for help understanding system and method for the present invention; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.