Summary of the invention
Main purpose of the present invention is to provide a kind of dispatching method and device of pseudo wire emulation system, and interface is simple and be convenient to multiplexing, bandwidth adjustment and configuration is convenient, processing protocol kind is many, dispatching algorithm is simple.
The technical solution adopted for the present invention to solve the technical problems is:
A dispatching method for pseudo wire emulation system, it comprises:
Receive the SDH (Synchronous Digital Hierarchy) SDH optical interface incoming traffic data of user's side input and the PDH (Pseudo-synchronous Digital Hierarchy) PDH business datum of user's side input;
Described SDH optical interface incoming traffic data are carried out to clock and data recovery, overhead processing successively, described PDH business datum is processed through interface conversion;
Described SDH optical interface incoming traffic data and PDH business datum are carried out to interconnection processing;
Described business datum after interconnection is processed is carried out respectively to framing processing again, obtain the payload data of the miscellaneous service data of described user's side, described payload data is transferred to Ethernet side and sends;
Wherein, described business datum after interconnection is processed is carried out respectively to framing processing again, comprising:
The miscellaneous service data of above-mentioned user's side are after treatment carried out respectively to Virtual Concatenation processing, MLPPP-IMA processing and CEP-CES again to be processed;
Described MLPPP-IMA is treated to: Multi Link PPP-Inverse Multiplexing for ATM, and the reverse multiple connection of Multi-Link Point-to-Point Protocol ATM is processed; Described CEP-CES is treated to: Circuit Emulation Service-Circuit Emulation over Packet, circuit emulation service-packet-based circuit simulation is processed.
Preferably, the SDH optical interface incoming traffic data of described reception user side input and the PDH business datum of user's side input, specifically comprise:
From SDH optical interface, receive the data of VC4 form and from PDH interface, receive the data that are packaged into VC4 form through this PDH interface conversion respectively.
Preferably, described overhead processing, specifically comprises:
The described data from SDH optical interface reception VC4 form are carried out to section overhead processing, high-order pointer interpreter and high overhead extraction to be processed.
Preferably, described miscellaneous service data comprise: CES business datum, CEP business datum, MLPPP business datum, IMA business datum and VCG business datum.
The present invention also provides a kind of dispatching method of pseudo wire emulation system, and it comprises:
Receive the miscellaneous service data that Ethernet side sends over, according to different business, the miscellaneous service data buffer storage of described network side is arrived to different memory spaces, and split out respective frame structure;
By the described business datum process interconnection that splits out the network side of respective frame structure, then carry out through the optical interface of SDH, exporting after expense insert handling, or directly by interface modular converter output PDH business datum.
Preferably, the miscellaneous service data that described reception Ethernet side sends over, split out respective frame structure, specifically comprise:
The miscellaneous service data of described network side are carried out respectively to Virtual Concatenation processing, MLPPP-IMA processing and CEP-CES processing and split out the respective frame structure of miscellaneous service data, and carry out the restructuring of described frame structure;
Wherein, described MLPPP-IMA is treated to: Multi Link PPP-Inverse Multiplexing for ATM, and the reverse multiple connection of Multi-Link Point-to-Point Protocol ATM is processed;
Described CEP-CES is treated to: Circuit Emulation Service-Circuit Emulation over Packet, circuit emulation service-packet-based circuit simulation is processed.
Preferably, described by the business datum of the described network side that splits out respective frame structure through interconnection, then carry out after expense insertion, through the optical interface output of SDH, specifically comprising:
Described miscellaneous service data of carrying out the network side after frame structure restructuring are carried out to low-order pointer generation module, the insertion of low order expense, after high-order Pointer generator module, high-order overhead insertion and section overhead insert, from SDH optical interface, exported.
Preferably, described miscellaneous service data comprise: CES business datum, CEP business datum, MLPPP business datum, IMA business datum and VCG business datum.
The present invention also provides a kind of dispatching device of pseudo wire emulation system, and it comprises:
User's side data receiving element, for receiving the SDH (Synchronous Digital Hierarchy) SDH optical interface incoming traffic data of user's side input and the PDH (Pseudo-synchronous Digital Hierarchy) PDH business datum of user's side input;
User's side data processing unit, carries out clock and data recovery, overhead processing successively by described SDH optical interface incoming traffic data, and described PDH business datum is processed through interface conversion;
Cross-connection unit, for carrying out interconnection processing by described SDH optical interface incoming traffic data and PDH business datum;
User's side data framing unit, for described business datum after interconnection is processed is carried out respectively to framing processing again, obtains the payload data of the miscellaneous service data of described user's side, described payload data is transferred to Ethernet side and sends;
Wherein, described user's side data framing unit is also processed for the miscellaneous service data of above-mentioned user's side after treatment being carried out respectively again to Virtual Concatenation processing, MLPPP-IMA processing and CEP-CES;
Described MLPPP-IMA is treated to: Multi Link PPP-Inverse Multiplexing for ATM, and the reverse multiple connection of Multi-Link Point-to-Point Protocol ATM is processed; Described CEP-CES is treated to: Circuit Emulation Service-Circuit Emulation over Packet, circuit emulation service-packet-based circuit simulation is processed.
Preferably, described user's side data receiving element, for receiving the data of VC4 form and receive the data that are packaged into VC4 form through this PDH interface conversion from PDH interface from SDH optical interface respectively.
Preferably, described user's side data processing unit, accepts processing, high-order pointer interpreter and the processing of high overhead extraction for the described data from SDH optical interface reception VC4 form are carried out to section overhead.
Preferably, described miscellaneous service data comprise: CES business datum, CEP business datum, MLPPP business datum, IMA business datum and VCG business datum.
The present invention also provides a kind of dispatching device of pseudo wire emulation system, and it is drawn together:
Network side data receiving element, the miscellaneous service data that send over for receiving Ethernet side, arrive different memory spaces according to different business by the miscellaneous service data buffer storage of described network side, and split out respective frame structure;
Network side data processing unit, for by the described business datum process interconnection that splits out the network side of respective frame structure, then carries out through the optical interface of SDH, exporting after expense insert handling, or directly by interface modular converter output PDH business datum.
Preferably, described network side data receiving element, splits out the respective frame structure of miscellaneous service data for the miscellaneous service data of described network side being carried out respectively to Virtual Concatenation processing, MLPPP-IMA processing and CEP-CES processing, and carries out the restructuring of described frame structure;
Wherein, described MLPPP-IMA is treated to: Multi Link PPP-Inverse Multiplexing for ATM, and the reverse multiple connection of Multi-Link Point-to-Point Protocol ATM is processed;
Described CEP-CES is treated to: Circuit Emulation Service-Circuit Emulation over Packet, circuit emulation service-packet-based circuit simulation is processed.
Preferably, described network side data processing unit, for carrying out described miscellaneous service data of carrying out the network side after frame structure restructuring low-order pointer generation module, the insertion of low order expense, exporting from SDH optical interface after high-order Pointer generator module, high-order overhead insertion and section overhead insert.
Preferably, described miscellaneous service data comprise: CES business datum, CEP business datum, MLPPP business datum, IMA business datum and VCG business datum.
Implement technical scheme of the present invention, there is following beneficial effect: method and apparatus provided by the invention, by the method and device, process multiple business data flow, interface is simple and be convenient to multiplexing, bandwidth adjustment and configuration is convenient, process that class of business is many, dispatching algorithm is simple.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The embodiment of the present invention provides a kind of dispatching method of pseudo wire emulation system, and in up process, as shown in Figure 1, the method comprising the steps of:
SDH (the Synchronous Digital Hierarchy of S110, the input of reception user side, SDH (Synchronous Digital Hierarchy)) PDH (Pseudo-synchronous Digital Hierarchy) PDH (plesiochronous digital hierarchy, the PDH (Pseudo-synchronous Digital Hierarchy)) business datum of optical interface incoming traffic data and the input of user's side;
In the present embodiment, the SDH optical interface incoming traffic data of described reception user side input and the PDH business datum of user's side input, specifically comprise:
From SDH optical interface, receive the data of VC4 (4Order virtual Container:4 rank virtual container) form and from PDH interface, receive the data that are packaged into VC4 form through this PDH interface conversion respectively.
S120, described SDH optical interface incoming traffic data are carried out to clock and data recovery, overhead processing successively, described PDH business datum is processed through interface conversion;
In the present embodiment, described overhead processing, specifically comprises:
The described data from SDH optical interface reception VC4 form are carried out to section overhead and accept processing, high-order pointer interpreter and the processing of high overhead extraction.
S130, described SDH optical interface incoming traffic data and PDH business datum are carried out to interconnection processing;
S140, described business datum after interconnection is processed is carried out respectively to framing processing again, obtain the payload data of the miscellaneous service data of described user's side, described payload data is transferred to Ethernet side and sends.
In the present embodiment, described described business datum after interconnection is processed is carried out respectively to framing processing again, specifically comprises:
The miscellaneous service data of above-mentioned user's side are after treatment carried out respectively to Virtual Concatenation processing, MLPPP-IMA (Multi Link PPP-Inverse Multiplexing for ATM again, the reverse multiple connection of Multi-Link Point-to-Point Protocol ATM) processing and CEP-CES (Circuit Emulation Service-Circuit Emulation over Packet, circuit emulation service-packet-based circuit simulation) process.
In the descending process of method that the embodiment of the present invention also provides, as shown in Figure 2, the method comprising the steps of:
The miscellaneous service data that S210, reception Ethernet side send over, split out respective frame structure;
In the present embodiment, the described miscellaneous service data by described network side split out respective frame structure, specifically comprise: the miscellaneous service data of described network side are carried out respectively to Virtual Concatenation processing, MLPPP-IMA processing and CEP-CES processing and split out the respective frame structure of miscellaneous service data, and carry out the restructuring of described frame structure.
S220, by the business datum of the described network side that splits out respective frame structure through interconnection, then carry out after expense insert handling the optical interface output through SDH, or directly by interface modular converter output PDH business datum.
In the present embodiment, described by the business datum of the described network side that splits out respective frame structure through interconnection, then carry out after expense insert handling, through the optical interface output of SDH, specifically comprising:
Described miscellaneous service data of carrying out the network side after frame structure restructuring are carried out from PDH optical interface, exporting after low-order pointer generation module, the insertion of low order expense, after high-order Pointer generator module, high-order overhead insertion and section overhead insert, from SDH optical interface, export.
In other embodiment, after the miscellaneous service data that send in reception Ethernet side, the method also further comprises: according to different business, the miscellaneous service data buffer storage of described network side is arrived to different memory spaces.
In uplink and downlink step in above-mentioned each embodiment, described miscellaneous service data comprise: CES (Circuit Emulation Service, circuit emulation service) business datum, CEP (Circuit Emulation over Packet, packet-based circuit simulation) business datum, MLPPP (Multi Link Point to Point Protocol, multichain meets point-to-point association)) business datum, IMA business datum and VCG (Virtual Container Group, virtual container set) business datum.
The method that the embodiment of the present invention provides, processes multiple business data flow by the method and device, and interface is simple and be convenient to multiplexing, bandwidth adjustment and configuration is convenient, processing protocol kind is many, dispatching algorithm is simple.
The embodiment of the present invention also provides a kind of integrated dispatch device of pseudo wire emulation system, and for up process, as shown in Figure 3, this device comprises:
User's side data receiving element 310, for receiving the SDH (Synchronous Digital Hierarchy) SDH optical interface incoming traffic data of user's side input and the PDH (Pseudo-synchronous Digital Hierarchy) PDH business datum of user's side input; In the present embodiment, more specifically, described user's side data receiving element 310, for receiving the data of VC4 form and receive the data that are packaged into VC4 form through this PDH interface conversion from PDH interface from SDH optical interface respectively.
User's side data processing unit 320, carries out clock and data recovery, overhead processing successively by described SDH optical interface incoming traffic data, and described PDH business datum is processed through interface conversion; In the present embodiment, more specifically, described user's side data processing unit 320, accepts processing, high-order pointer interpreter and the processing of high overhead extraction for the described data from SDH optical interface reception VC4 form are carried out to section overhead.
Cross-connection unit 330, for carrying out interconnection processing by described SDH optical interface incoming traffic data and PDH business datum;
User's side data framing unit 340, for described business datum after interconnection is processed is carried out respectively to framing processing again, obtains the payload data of the miscellaneous service data of described user's side, described payload data is transferred to Ethernet side and sends.In the present embodiment, more specifically, described user's side data framing unit 340, processes for the miscellaneous service data of above-mentioned user's side after treatment being carried out respectively again to Virtual Concatenation processing, MLPPP-IMA processing and CEP-CES.
In the present embodiment, described miscellaneous service data comprise: CES business datum, CEP business datum, MLPPP business datum, IMA business datum and VCG business datum.
The present invention also provides the dispatching device of another kind of pseudo wire emulation system, and for descending process, as shown in Figure 4, this device comprises:
Network side data receiving element 410, the miscellaneous service data that send over for receiving Ethernet side, split out respective frame structure; In the present embodiment, more specifically, described network side data receiving element, splits out the respective frame structure of miscellaneous service data for the miscellaneous service data of described network side being carried out respectively to Virtual Concatenation processing, MLPPP-IMA processing and CEP-CES processing, and carries out the restructuring of described frame structure.
Network side data processing unit 420, for by the described business datum process interconnection that splits out the network side of respective frame structure, then carries out through the optical interface of SDH, exporting after expense insert handling, or directly by interface modular converter output PDH business datum.In the present embodiment, more specifically, described network side data processing unit 420, for carrying out described miscellaneous service data of carrying out the network side after frame structure restructuring low-order pointer generation module, the insertion of low order expense, exporting from SDH optical interface after high-order Pointer generator module, high-order overhead insertion and section overhead insert.In the present embodiment, more specifically, described network side data processing unit 420, also for receiving after the miscellaneous service data that Ethernet side sends over, according to different business by the miscellaneous service data buffer storage of described network side to different memory spaces.
In the present embodiment, described miscellaneous service data comprise: CES business datum, CEP business datum, MLPPP business datum, IMA business datum and VCG business datum.
Dispatching method that above-described embodiment provides and the Application Example in the processing procedure of different business data of dispatching device are described below:
In order to simplify interface line and unified packing forms, to pseudo wire emulation system treatable PDH business, E1 business interface unification that ATMIMA is relevant with MLPPP with VC4 form, encapsulate, so that transmit and process by the encapsulating structure of SDH, so be summed up as SDH side in Fig. 5 left side, and the right side of Fig. 5 is main and Ethernet interface close relation, in this application embodiment, be referred to as ETH (Ethernet: Ethernet) side.In SDH side, because CEP CES has application under UNI (User to Network Interface: user and network interface) and two kinds of applied environments of NNI (Network to Network Interface: network and network interface), so have interface with 8 VC4 of two grouping inputs, see that grouping 1 and grouping 2 data in Fig. 5 are moved towards schematic diagram.
In SDH side:
Virtual Concatenation processes 1, and down direction is realized the mode that the VCG of a plurality of same types is interleave by byte, form one in logic larger bandwidth and more the container of high bandwidth utilization carry out transport service; On be about to SDH business and re-assembly then and transmit on Ethernet by GFP.
CEP-CES2, realizes the encapsulation of PDH business and SDH business is conciliate to encapsulation function,
The read-write requests of CES produces and processing procedure is:
The generation of read-write requests:
The generation of SDH side read request: two E1 frames of every transmission, just produce the read request of a SDH side CES;
The generation of SDH sidelights on request: two E1 frames of every reception, just produce the write request of a SDH side CES;
The generation of ETH side read request: each E1 passage of poll inquiry successively, if certain E1 passage has externally been stored the frame of enough PWE3 messages in memory, produces the read request of an ETH side CES;
The generation of ETH sidelights on request: each receives two E1 frames, just produces the write request of an ETH side CES;
Owing to will processing a plurality of E1 passages, in order to prevent request loss, first request is stored in a FIFO (first input first output, first in first out), wait pending.
Through above-mentioned such processing, the read-write requests equivalent of CES is in the bandwidth of CES configuration;
The processing procedure of read-write requests is:
The write request of SDH side is processed: to dispatching device 4, send write request, after dispatching device 4 responses, corresponding data block is write to external memory storage, if external memory storage is full, abandon, to external memory storage, do not send request.
The read request of SDH side is processed: to dispatching device 4, send read request, after wait-for-response, the data block of receiving scheduling device 4, if external memory storage is empty, inserts full 0 or all-ones, to dispatching device, does not send request.
The request of ETH sidelights on is processed: to dispatching device 4, send write request, after dispatching device 4 responses, corresponding piece is write to external memory storage 5, if external memory storage 5 is full, abandon (directly abandoning whole PWE3 message), to external memory storage 5, do not send request.
ETH side read request is processed: to scheduling, send read request, wait for that after dispatching device 4 responses, the data of receiving scheduling device 4, repeat this process, until reach cascade number.
Wherein: the generation of the read-write requests of CEP and processing procedure are:
The generation of read-write requests:
Processing thinking and the CES of CEP are basically identical, but it should be noted that, for the CEP of Vc-12, each CEP payload length is the byte number of virtual container separately.For the CEP of Vc-4, the length of each CEP payload is 1/3rd of Vc-4 virtual container length, i.e. 783 bytes.Therefore, externally in memory 5, CEP emulation is for Vc-12, and on the basis at 64 byte piecemeals, the virtual container of take is stored as unit.The CEP of Vc-4 and the CEP of Vc-4-4c, on the basis of 64 byte piecemeals, 783 bytes of take are stored as unit.Because the length of CEP payload is not the integral multiple of 64 bytes, so last piece less than 64 byte, also according to a piece, process.
According to above-mentioned treatment principle, for Vc-12, each virtual container produces 3 pieces, and first byte of first piece is V5; For Vc-4, Vc-4-4c, each virtual container produces respectively 3,12,48 CEP messages, and each CEP message accounts for 13 (13X64=832 byte, is greater than 783 bytes, and last piece has byte of padding), and first byte of first CEP message is j1 byte.
SDH sidelights on request: piece of every reception produces a write request, notices that the generation of piece will come according to the structure of virtual container;
SDH side read request: Vc-12 frame of every transmission produces 3 read requests, and first byte of the piece that first read request is corresponding is V5.For Vc-4, Vc-4-4c, frame of every transmission, corresponding 39,156,624 read requests respectively, wherein first byte of piece corresponding to first read request is J1.
ETH sidelights on request: piece of every reception produces a request, notices that the generation of piece will come according to the structure of virtual container.
ETH side read request: inquire about successively each Vc passage, if certain Vc passage has met the condition that produces PWE3, just produce a read request.
Owing to will processing a plurality of Vc passages, in order to prevent request loss, first request is stored in a FIFO, wait pending.
Through such processing, the read-write requests equivalent of CEP is in the bandwidth of CES configuration;
The processing procedure of read-write requests:
The request of SDH sidelights on is processed: to 4 write requests of dispatching device, after dispatching device 4 responses, corresponding piece is write to external memory storage 5, if external memory storage 5 is full, abandon (take virtual container abandon for unit) and to external memory storage 5, do not send request;
SDH side read request is processed: to dispatching device 4, send read request, after dispatching device 4 responses, the data block of receiving scheduling device 4, if external memory storage 5 skies do not send request, inserts full 0 or complete 1.
The request of ETH sidelights on is processed: to 4 requests of dispatching device, wait for after dispatching device 4 responses, data block is write to dispatching device 4, if external memory storage 5 is full, abandon (take whole virtual container abandon for unit), to external memory storage 5, do not send request;
ETH read request processing procedure: send request to dispatching device 4, wait for after dispatching device 4 responses, accept data block, repeat above process, until meet PWE3 encapsulation requirement.
IMAMLPPP3, realizes the reverse multiple connection of ATM and utilizes E1 to realize point-to-point multi-chain circuit transmission.Wherein:
The generation of the read-write requests of MLPPP and processing procedure are:
The generation of read-write requests:
The write request of SDH side: MLPPP organizes burst of every recovery, just produces a write request;
The read request of SDH side: each PPP of poll inquiry (Point to Point Protocol, peer-peer protocol) successively, connect and whether have sufficient space to produce a burst of storage, and this MLPPP group there is burst not yet to distribute, produce a read request;
ETH side read request: whether poll detects each MLPPP group message, if had, produces a read request;
ETH sidelights on request: piece of every reception, just produces a request;
Owing to will processing a plurality of MLPPP groups, in order to prevent request loss, first request is stored in a FIFO, wait pending.
The processing procedure of read-write requests:
SDH sidelights on request processing procedure: send write request to dispatching device 4, wait for after dispatching device 4 responses, data block is write to dispatching device 4, repeat above process until a burst writes, if external memory storage 5 is full, to dispatching device 4, do not send request, abandon the message after whole recovery.
SDH side read request is processed: to dispatching device 4, send read request, wait for after dispatching device 4 responses, receive data block, repeat above process, until a burst runs through.
ETH sidelights on request processing procedure: send write request to dispatching device 4, wait for after dispatching device 4 responses, data block is write to external memory storage 5, if external memory storage 5 is full, abandon whole message by MLPPP group.
ETH side read request processing procedure: send read request to dispatching device 4, wait for after dispatching device 4 responses, receive data block, repeat above process, until an ENMES.
The generation of the read-write requests of IMA and processing procedure are:
The generation of read-write requests:
ETH sidelights on request: each ATM cell produces a write request;
Whether ETH side read request: each VC/VP of poll inquiry connects, meet the condition that sends a PWE3 message, if met, produces a read request;
SDH sidelights on request: after IMA group can be recovered, each VC of poll, according to ranking results, if current message is a data message, produces a write request successively;
SDH side read request:
Owing to will processing a plurality of IMA groups, in order to prevent request loss, first request is stored in a FIFO, wait pending.
The processing procedure of read-write requests:
SDH sidelights on request processing procedure: send write request to dispatching device 4, wait for after dispatching device 4 responses, data block is write to dispatching device 4, repeat above process until a burst writes, if external memory storage is full, to dispatching device 4, do not send request, abandon the message after whole recovery.
SDH side read request processing procedure: send write request to dispatching device 4, wait for after dispatching device 4 responses, read in 64 bytes from dispatching device 4 and have the local sequence of waiting for.
ETH sidelights on request process: to dispatching device 4, send write requests, wait for after dispatching device 4 responses, data block is write to dispatching device 4, if external memory storage is full, dropped cell;
ETH side read request is processed: to dispatching device 4, send read request, wait for after dispatching device 4 responses, receive data block, repeat above process, until meet a PWE3 message.
Dispatching device 4 (that is: control and DDR (Double Data Rate: Double Data Rate) controller 4), realizes the arbitration of periphery read-write and the read-write control of external memory storage, 6 reads the 6 polls processing of writing by read-write.
External memory storage 5, realizes the buffer memory that SDH side and ETH side need swap data.
At ETH up direction:
VCG component frame device 6, MLPPP component frame device 7, ATM-PWE3 framer 8, CESCEP-PWE3 framer 9 and ECC message framer 10 are all the framers of corresponding service, and they complete the data encapsulation of corresponding VC4 form:
At ETH down direction:
ECC message writes Pointer generator module 11, VCG transmission write pointer generation module 12, IMA-PWE3 reception write pointer generation module 13, CEP-CES-PWE3 receives write pointer generation module 14 and MLPPP group reception write pointer generation module 15 is respectively that generation downlink data needs to be temporarily stored in the position in external memory storage after packet parsing.
Wherein: the generation of the read-write requests of VCG and processing procedure are:
The generation of read-write requests:
The request of SDH sidelights on produces: piece of every reception, just produces a write request;
SDH side read request produces: for each VCG, add up separately the data read request of each VCG, 64 bytes of every statistics produce a read request;
ETH sidelights on request: piece of every reception, just produces a write request;
ETH side read request: inquire about successively each VCG port, send message if certain port meets, produce a read request;
Owing to will processing a plurality of VCG groups, in order to prevent request loss, first request is stored in a FIFO, wait pending.
The processing procedure of read-write requests:
The request of SDH sidelights on is processed: to dispatching device 4, send request, wait for after dispatching device 4 responses, data block is write to dispatching device 4, if external memory storage is full, according to VCG, abandon whole message.
SDH side read request processing procedure: send read requests to dispatching device 4, wait for after dispatching device 4 responses, receive data block, if inner buffer is full, or external memory storage do not have data, do not send request;
ETH sidelights on request processing procedure: send request to dispatching device 4, wait for after dispatching device 4 responses, data block is write to dispatching device 4, if external memory storage is full, abandon whole message according to VCG;
ETH side read request processing procedure: send read request to dispatching device 4, wait for after dispatching device 4 responses, receive data block, repeat above process, until an ENMES.
External memory storage structure is divided into two parts, and the one, data storage area, the 2nd, message information memory block, this Application Example only relates to storage and the scheduling of the data of data storage area.
Different business data in the allocation of space of memory space as shown in following table one:
bank |
Type of service |
Row address |
0 |
VCG |
0---63 |
0 |
CEP-CES |
1024---2047 |
1 |
MLPPP |
0---255 |
1 |
IMA |
512---1023 |
1 |
CEP-CES |
1024---2047 |
2 |
VCG |
0---63 |
2 |
CEP-CES |
1024----2047 |
3 |
MLPPP |
0---255 |
3 |
IMA |
512---1023 |
3 |
CEP-CES |
1024---2047 |
Table one
Data storage area carries out piecemeal according to 64 bytes, and corresponding different business datum piecemeals arranges as shown in following table two:
Table two
After the method that application above-described embodiment provides, data storage area is used external memory storage, because the information of message is no more than 64ms memory time in transmitting procedure, DDR2 memory modules for 64ms, the dispatching device that the embodiment of the present invention provides can be processed refresh process to it, has simplified dispatching management.
Suppose to use the clock frequency of 250M, 64 of data wire bit wides, the total bandwidth of dispatching device 4 is 32G, and dispatching device 4 is write fixedly polling dispatching of 6 modes of reading according to 6, and the mode of scheduling is as shown in following table three:
Table three
Because generally all there is the hybrid transmit of multi-service data in PWE3 class chip, so all relate to the design of multiple business data sharing bandwidth when scheduling, in this application embodiment, VCG and CEP-CES share 4G bandwidth, CEP-CES and MLPPP-IMA share 4G bandwidth, so also relate to the configuration of port corresponding to outside GE interface: VCG on the same group, CEP is on Ethernet interface, allow at most to take 2 GE interfaces, CEP-CES on the same group, CEP-CES on the same group and MLPP-IMA are on Ethernet interface, allow at most to take 2 GE interfaces, business datum is congested or do not lose during the burst of certain business datum of guarantee like this.
In this application embodiment, data bit width is assumed to 64bit, so need 4 clock cycle (every clock is upper and lower along there being data to transmit) according to the read-write of 64 byte bursts, in form, operate once read-write process of poll above and spend altogether 96 clock cycle, add in addition the expense of 16 clock cycle, service efficiency is 85%, 4G efficiency of bandwidth use is 85% situation, actual effectively scheduling bandwidth is 3.4G, and the flow of two GE bursts is 2.5G to the maximum, so dispatching device 4 meets port flow requirement under worst condition.In addition, aforesaid way is that all business datums of hypothesis exist simultaneously in processing, if certain section of certain business datum of time does not exist, at this moment on port, exists the scheduling bandwidth of business datum also can significantly increase, and guarantees that business datum is not congested or does not lose.
This application embodiment is by the suitable burst of external memory storage, processing to the encapsulation conversion of different business data and read-write producing method, make method and apparatus that this above-described embodiment provides can use simple algorithm meet multiple business data without congested scheduling.
These are only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.