Summary of the invention
The purpose of the embodiment of the invention is, proposes a kind of method by packet switching network TDM operation transmission, can be implemented in TDM operation transmission in the packet switching network.
This method comprises the steps:
A, parsing tdm data frame extract payload and TDM assembly unit information;
B, payload and TDM assembly unit information are encapsulated in the packet switched data bag, send in the packet switching network and transmit.
Described packet switched data bag further comprises through after the packet switched network transmission:
C, in the exit of packet switching network, from described packet switched data bag, separate payload and TDM assembly unit information, and assembling generates the tdm data frame.
Another purpose of the embodiment of the invention is, proposes a kind of device that is used to realize by packet switching network TDM operation transmission, can be implemented in TDM operation transmission in the packet switching network.This device comprises resolving cell, encapsulation unit and retransmission unit;
Described resolving cell is used to receive the tdm data frame from the TDM network, and described tdm data frame is resolved, and extracts payload and TDM assembly unit information, and described payload and TDM assembly unit information are sent to encapsulation unit;
Described encapsulation unit is used to preserve pre-configured purpose sign and type identification; Generate TDM information header according to described TDM assembly unit information from resolving cell, generate the packet switching header according to pre-configured purpose sign and type identification, and the TDM information header that generated and packet switching header and payload assembling from resolving cell generated the TOP bag, described TOP bag is sent to retransmission unit;
Described retransmission unit is used for the TOP bag from described encapsulation unit is sent to packet switching network.
The purpose of the embodiment of the invention also is, proposes a kind of system that is used to realize by packet switching network TDM operation transmission, can be implemented in TDM operation transmission in the packet switching network.Described system comprises:
This system comprises TDM processing module, format converting module and packet switched data processing module;
Described TDM processing module is used to receive and handle the tdm data frame from the TDM network, produces the time slot signal of TDM business, and described time slot signal and tdm data frame are sent to format converting module;
Described format converting module is used for receiving and resolve tdm data frame from the TDM processing module according to described time slot signal, extracts payload from described tdm data frame; Generate packet switching header and TDM information header, generate the TOP bag and export the packet switched data processing module to described payload combination;
Described packet switched data processing module is used to receive the TOP bag of modular converter from form, and sends it to packet switching network according to the address information in the packet switching header of described TOP bag.
As can be seen from the above technical solutions, the embodiment of the invention is resolved the tdm data bag again in the porch of packet switching network, extracts payload and TDM assembly unit information, payload and TDM assembly unit information are encapsulated in the packet switched data bag, send in the packet switching network and transmit; In the exit of packet switching network, from packet data package, separate payload and TDM assembly unit information, and regenerate the tdm data bag.The embodiment of the invention can realize present TDM net and the two net unifications of packet switching network are reached the effect of TDM business by packet switching network transmission.
Embodiment
The embodiment of the invention mainly comprises following two aspects:
In the porch of packet switching network, the tdm data frame is resolved, extract the head feature information of payload and tdm data frame, the head feature information of payload and tdm data frame is encapsulated in the packet switched data bag, send in the packet switching network and transmit;
Exit at packet switching network, from the head feature packets of information exchange data packets that has encapsulated the tdm data frame, separate the head feature information of payload and tdm data frame, head feature information according to described tdm data frame re-assemblies out the tdm data frame header, and described tdm data frame header and payload are assembled into the tdm data frame.
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer, below in conjunction with accompanying drawing to being described in further detail.Wherein, up direction is meant the message transmissions direction that enters packet switching network from the TDM network; On up direction, the interface equipment of TDM network and packet switching network is called the inlet of packet switching network.Down direction is meant the message transmissions direction that enters the TDM network from packet switching network; On down direction, the interface equipment of TDM network and packet switching network is called the outlet of grouping with switching network.
Method embodiment of the present invention carries TDM assembly unit information in packet, by this information, make the TDM business after passing through packet switched network transmission, can be by free from error reduction in the outlet device of packet switching network.Simultaneously, carry packet switched information in the packet,, can confirm the IA interchange address of packet, realize the effective transmission of packet in packet switching network by this information.Below abbreviate this packet that has carried TDM assembly unit information and packet switched information of the embodiment of the invention as in the packet switching TDM (TDM Over PS, TOP) bag be with the difference of expression with the ordinary groups exchange data packets.In packet switching network, can transmit processing as the ordinary groups packet for the TOP bag.
Fig. 1 is an embodiment of the invention system schematic.Embodiment of the invention system 110 comprises as the lower part:
TDM processing module 111 on up direction, is used to receive and handle the tdm data frame from TDM network 120, produces the time slot signal of TDM, and described time slot signal and tdm data frame are sent to format converting module 112; On down direction, receive the tdm data frame of modular converter 112 from form, and the tdm data frame that is received is sent to TDM network 120;
Format converting module 112 on up direction, is used for receiving and resolve tdm data frame from TDM processing module 111 according to described TDM time slot signal, peels off the professional distinctive frame overhead of TDM, extracts payload; Then, add packet switched data packet header to described payload, add the TDM head of packet simultaneously in the position, packet header, comprise characteristic informations such as indication of TDM time slot and multi-frame indication information, status indication information, verification indication information in the described TDM head of packet, generate and export TOP to wrap to packet switched data processing module 113; On down direction, the TOP that is used to receive and resolve from packet switched data processing module 113 wraps, and separates payload information, generates the TDM frame head according to the indication information in the packet header then, and forms the tdm data frame and export TDM processing module 111 to payload;
Packet switched data processing module 113 on up direction, is used to receive the TOP bag of modular converter from form, and according to the destination address in the packet switching packet header in the TOP bag, sends it to packet switching network 130; On down direction, be used to receive TOP bag, and the TOP bag that is received is sent to format converting module 112 from packet switching network 130.
Wherein, the internal structure of format converting module 112 comprises as shown in Figure 2:
Decompose (spliter) unit 201, be used to receive the tdm data frame and finish parsing, extract the head of payload and tdm data frame the tdm data frame;
Segmentation (segment) unit 202 is used for the payload of buffer memory from resolving cell 201;
Encapsulation (wrapper) unit 203 is used to preserve pre-configured purpose sign and type identification; Extract the payload of buffer memory in the segmenting unit 202, generate packet switching packet header according to pre-configured type identification and purpose sign, the characteristic information of the tdm data frame header of being extracted according to resolving cell 201 generates the TDM head of packet, and on payload, add packet switching packet header and the TDM head of packet that is generated, be converted into the TOP bag;
Transmit (itx) unit 204, be used for the TOP bag that encapsulation unit 203 is packaged and send in the packet switching network according to the address information in its packet switching packet header;
Receive (irx) unit 208, be used for receiving TOP bag from packet switching network;
Decapsulation (unwrapper) unit 207, the TOP bag that receiving element 208 is obtained carries out decapsulation, removes packet switching packet header, extracts the TDM characteristic information from the TDM head of packet, and separates payload;
Assembling (reassembly) unit 206 is used to receive payload and TDM characteristic information from decapsulation unit 207, the described payload of buffer memory; According to described TDM characteristic information the assembling of the payload of institute's buffer memory is become the tdm data frame, and described tdm data frame is carried out orientation;
Mapping (map) unit 205 is used for that the tdm data frame that module units 206 generates is oriented in the TDM network according to it and sends.
Wherein, resolving cell 201, segmenting unit 202, encapsulation unit 203 and retransmission unit 204 have been formed uplink processing module; Receiving element 208, decapsulation unit 207, module units 206 and map unit 205 have been formed the downlink processing module.
Described format converting module 112 can also comprise the control unit 209 that resets, and the TOP bag that is used for encapsulation unit 203 is generated is tested, and each unit in the format converting module that resets when noting abnormalities 112 makes it recover normal operating conditions.The back will specifically be introduced and how the TOP bag be tested.
The form of TOP bag as shown in Figure 3, the encapsulation format of employing is a cell format, comprises packet switching header 301, TDM information header 302 and payload 303.Because cell length is constant, and the present most packet switching network all adopts the fixed length mode to exchange, and the fixed length mode is easy to be converted to the random length mode, therefore adopts the cell format of fixed length just can realize that the TOP bag of the embodiment of the invention can be in the transmission in the packet switching network of existing fixed length and random length.This place's payload length can dispose according to the requirement in the packet switching network, and payload length disposes longly more, and then bandwidth availability ratio is high more.
Wherein, packet switching header 301 comprises at least:
Type identification is used to define the type of packet switching, and for example clean culture still is multicast etc.;
Purpose sign, i.e. purpose IP address is used to define the path of packet switching.Routing device in the packet switching network is exactly according to the purpose sign TOP bag to be transmitted, and pass-through mode is identical with the mode of transmitting existing packet switched data bag.
Packet switching header 301 can also comprise reserved field, is used to realize various expanded functions.
Before sending the tdm data frame, in format converting module 112, just set information such as the required type identification of assemble packets exchange message 301, purpose sign; Packet switching header 301 is to generate according to the described information that pre-sets.
TDM information header 302 comprises following field:
State (Status) field is used to define Link State, and state comprises normal and congested two kinds at least; Occur congested the time at link, by this field, it is professional to make upper reaches equipment stop to send the grouping bag, thereby guarantees the clog-free transmission of TDM business.
The type of cell granularity (CELL_GRAIN) is used to represent that cell is any granularity type, and its value represents that content is:
" 00 ": expression cell granularity is VC12;
" 01 ": expression cell granularity is VC3;
" 10 ": expression cell granularity is VC4;
" 11 ": retention is used to other grain types of indicating TDM to flow.
The sequence number of VC4 in the TDM stream of VC4_NUM:10G bandwidth.
VC3_NUM: the sequence number of VC3 among every VC4.
VC12_NUM: the sequence number of VC12 among every VC4.
Above parameter generates according to the information that pre-sets in format converting module 112 by encapsulation unit 203.
The multiple frame number (MULT_NUM) of cell is used for representing using the sequence number of the cell multi-frame of multi-frame form.Because cell is fixed length, if do not use the multi-frame form, the multiple connection of multiframe tdm data is not transmitted at one, must have the part cell and carry the information deficiency, thereby cause the waste of bandwidth, this particle that is wasted in tdm data is hour obvious more more; And adopt the multi-frame form, then can increase bandwidth availability ratio greatly.This parameter is generated automatically by encapsulation unit 203.
Cell multi-frame head indication (MULT_FR), being used in reference to the frame number of giving instructions in reply is the multi-frame of " 0 ", when multiple frame number was " 0 ", this cell multi-frame head indication was set to true.By this indication, can effectively adjudicate the correctness that link transmits, the job stability and the correctness of check embodiment of the invention device circuit.The control unit 209 that resets shown in Figure 2 is exactly to indicate whether to occur unusually for really judging whether by detecting cell multi-frame head.
(Cyclic Redundancy Check, CRC) field adopt the CRC-4 verification to cyclic redundancy check (CRC), guarantee the reliability of header.
MULT_FR and crc field are resolved verification by other fixed parameters in the TDM information header 302 and are obtained.
From the definition of above-mentioned header as can be seen, the information by packet switching header 301 just can be implemented in the exchange in the packet switching network; By the information of TDM header 302, can realize the intersection of tdm data and encapsulation again, by the definition of this header, can make TDM Business Processing net reduce the cross processing module, save cost.
Fig. 4 specifically comprises the steps: for the up direction handling process of embodiment of the invention realization packet switching network TDM operation transmission
Step 401: the tdm data frame to input is resolved, and obtains the characteristic information of time slot signal, payload and the tdm data frame header of tdm data frame;
Step 402: according to the cell granularity sequences such as VC12/VC3/VC4 of described time slot signal, with described payload buffer memory;
Step 403: generate the TDM information header in the TOP bag.Specifically, comprise the steps:
Step 403a: the timeslot number that obtains the tdm data frame according to parsing, VC12/VC3/VC4 timeslot number when disposing its corresponding purpose direction assembly unit, promptly dispose VC4_NUM, VC3_NUM, VC12_NUM in the TDM information header, inform the data particle of upstream device encapsulation simultaneously according to the type of cell granularity.By this configuration, also can reduce the cross section in original TDM business, realize intersecting by configuration purpose particle number (VC4/VC3/VC12_NUM).
In the prior art, need a cross processing unit to realize interleaving function usually.And can need not the cross processing module, the method by the embodiment of the invention just can realize interleaving function.Illustrate as follows:
Suppose that tdm data is the STM-4 form, its inside has comprised 4 VC4, and its corresponding VC4 is followed successively by 1,2,3,4.According to original mode, at first need this transfer of data is arrived the cross processing unit, then according to cross-over configuration, be 2,1,4,3 with it intersection.But we can realize this function by the mode that SDH information header is set now.When sending 1 VC4, the VC4_NUM of its SDH information header is set to 2; When sending 2 VC4, the VC4_NUM of its SDH information header is set to 1; When sending 3 VC4, the VC4_NUM of its SDH information header is set to 4; When sending 4 VC4, the VC4 NUM of its SDH information header is set to 3; Then when the opposite end encapsulates again, newly-generated STM-4 data, its VC4 is arranged as 2,1,4,3.Like this then realized the function of intersecting.
Step 403b: be encapsulated into MULT_NUM number in TDM information header, inform its multi-frame sequence number that is in of upstream device, whether the bag data that receive of the indication explanation by MULT_FR are multi-frame heads simultaneously;
Step 403c: state value status is set according to the link congestion situation.The purpose of doing like this is: in link congestion, the Link State by status informs wraps business thereby make upstream equipment stop to send grouping, thereby guarantees the clog-free transmission of TDM business.
Step 404: in TDM information header outside, encapsulate a packet switching header, extract payload from last row cache, combining with described TDM information header and packet switching header generates the TOP bag.Can indicate the destination address that this TOP bag sends in the described packet switching header, can allow packet switching network discern its route by this destination address, thereby correctly transmit this bag; Can also be that multicast or clean culture inform how upstream device handles this TOP bag by the type that indicates bag in the packet switching header.
For different traffic management device (TM) or packet switching network, its packet header that can discern also might be different, this moment is by revising the packet switching header, into the TM of correspondence or the packet header that switching net can be discerned of changing, then can be implemented in the purpose of transmitting on the different switching networks.Specific implementation belongs to existing packet switched network transmission technology, so repeat no more.
Step 405: the TOP bag that is generated is sent to packet switching network according to the destination address information in its packet switching header.
Fig. 5 specifically comprises the steps: for the down direction handling process of embodiment of the invention realization packet switching network TDM operation transmission
Step 501: the packet switched data bag from packet switching network is resolved, judge that whether it is the TOP bag, if execution in step 502 then, otherwise adopt prior art that the packet switched data bag is handled;
Step 502: described TOP bag is resolved, remove the packet switching header, extract payload and deposit down buffer storage in;
Step 503: generate the tdm data frame head according to the information assembling in the TDM information header in the TOP bag;
Step 504: according to the time slot signal of tdm data frame, from down buffer storage, extract payload, and generate the tdm data frame with the combination of tdm data frame head;
Step 505: the tdm data frame that is generated is sent in the TDM network.
The embodiment of the invention can reach present packet switching network and the two net unifications of TDM network with the effect of TDM business by packet switching network transmission.Simultaneously, because two net unification can be saved operation cost, be beneficial to maintenance.Can also realize the professional choke free transmission of TDM by embodiment of the invention scheme, reduce the cross processing unit in the TDM business, save TDM network equipment cost, reduce the equipment complexity.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.