CN101656655A - Method, media gateway and system for processing MPLS packet - Google Patents

Method, media gateway and system for processing MPLS packet Download PDF

Info

Publication number
CN101656655A
CN101656655A CN200810118761A CN200810118761A CN101656655A CN 101656655 A CN101656655 A CN 101656655A CN 200810118761 A CN200810118761 A CN 200810118761A CN 200810118761 A CN200810118761 A CN 200810118761A CN 101656655 A CN101656655 A CN 101656655A
Authority
CN
China
Prior art keywords
mpls
label
packet
grouping
network
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.)
Granted
Application number
CN200810118761A
Other languages
Chinese (zh)
Other versions
CN101656655B (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN2008101187611A priority Critical patent/CN101656655B/en
Publication of CN101656655A publication Critical patent/CN101656655A/en
Application granted granted Critical
Publication of CN101656655B publication Critical patent/CN101656655B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method, a media gateway and a system for processing an MPLS packet and relates to data transmission between an external network and an MPLS network. The method comprises thefollowing steps that: a media gateway at an entrance to the MPLS network acquires a corresponding destination port number according to a data packet of the external network and maps the destination port number to a label of the MPLS packet to transmit the destination port number is transmitted in the MPLS network; and the media gateway at the entrance to the MPLS network converts the label of theMPLS packet into the destination port number corresponding to the data packet of the external network and transmits the data packet to the destination port. The method, the media gateway and the system have the advantages of being compatible with the prior networks, and effectively overcoming the defects of small ratio of speech frame, low bandwidth utilization ratio and serious waste of network resources of the speech data packet of the prior art under a condition of not increasing system complexity.

Description

Handle method, media gateway and the system of MPLS grouping
Technical field
The present invention relates to communication technical field, relate in particular to the method, media gateway and the system that externally handle the MPLS grouping between network and multiprotocol label switching (Multi-Protocol Label Switch the is called for short MPLS) network.
Background technology
The MPLS technology is a kind of integrated data transmission technology, and it is the various protocols of network enabled layer not only, the multiple technologies of all right compatible data link layer.Adopt the ip router and the switches such as ATM, FR of MPLS technology to be referred to as LSR (Label SwitchingRouter, be called for short LSR), use the network of LSR to simplify the network layer complexity relatively, compatible existing main flow network technology has reduced the cost of network upgrade.
In the MPLS network, transmit requirement at inlet LSR place packet according to difference and be divided into different forwarding equivalence class (Forwarding Equivalence Class, be called for short FEC), the Business Stream of identical FEC is at label switched path (Label switch Path, be called for short LSP) upward exchange, at egress LSR, peeling label uses the IP routing mechanism will divide into groups to transmit to the destination.Some information of record route switching and label exchange in the LSP clauses and subclauses comprise: outgoing label, go into label, outgoing interface etc.
At present, the MPLS technology has been widely used in provides Virtual Private Network (Virtual PrivateNetwork is called for short VPN) service, realizes the network traffic engineering of load balancing.In conjunction with Border Gateway Protocol (Border Gateway Protocol, be called for short BGP), in the existing BGP/MPLSVPN network, mainly comprise provider edge router (Provider Edge Router, be called for short PE), customer edge router (Custom Edge Router is called for short CE) and operator's core router (Provider Router is called for short P).Storing the virtual routing forwarding (VPN Routing and Forwarding instances is called for short VRF) of VPN on the PE, be used to handle the VPN-IPv4 route, is the main implementor of three layers of MPLS VPN; The last distribution user network of CE route is connected to PE by an independent physical/logical port; The P router is a backbone device, is responsible for MPLS and transmits.
Media gateway (Media Gateway is called for short MGW) is the unit that connects different type network, is mainly used in and carries out media conversion and protocol conversion.Fig. 1 is a BGP/MPLS VPN networking structure schematic diagram.As shown in Figure 1, MGW inserts pe router as the VPN website by CE.Agreements such as operation static state, BGP between MGW, CE, PE, packet is by the IP routing addressing; Move MPLS between PE, by the LSP addressing.The transmission of MGW support voice packet can be supported multiple voice encoding and decoding format.
In the prior art, the processing procedure of VoP is as follows: encoder is to time division multiplexing (Time Division Multiplex, abbreviation TDM) pulse code modulation (the Pulse CodeModulation of side, be called for short PCM) code stream, do G.729 code conversion, press then the 20ms multiframe multiplexing after, encapsulation RTP (Real Time Transport Protocol, be called for short RTP) packet header and User Datagram Protoco (UDP) (User Datagram Protocol is called for short UDP) packet header, send to IP network then, encapsulation IP packet header.G.729 the speed of algorithm is 8kb/s, so each VoP has (20ms * 8kb/s)/8=160bit=20Byte.Table 1 is a speech data pack arrangement in the IP network.As shown in table 1, RTP packet header is 12 bytes, and UDP packet header is 8 bytes, and IP packet header is 20 bytes.Therefore, each VoP is packaged into that total length is 60 bytes behind the IP packet.In addition, the IP packet transmits in MPLS, also needs to increase corresponding packet header.
Speech data pack arrangement in table 1 IP network
The IP head The UDP head The RTP head G.729 speech frame
??20Byte ??8Byte ??12Byte ??20Byte
In realizing process of the present invention, the inventor finds to exist in the prior art following defective:
1. low, the network resources waste of bandwidth availability ratio.
The existing voice frame needs to increase the expense of RTP packet header, UDP packet header, IP packet header, MPLS packet header and data link layer and physical layer in transmission course.Wherein, the speech frame proportion is very little, causes the actual bandwidth utilance low, and network resources waste is serious.For example: when transmitting in Ethernet, after one G.729 speech frame increases above-mentioned various expense, be total up to 98 bytes, bandwidth availability ratio only is: 20/98=20.4%.
2. at present at above-mentioned defective, prior art has proposed two kinds of solutions:
A) speech frame directly is encapsulated in method in the MPLS grouping.This method does not define MGW and how to encapsulate, and adopts which kind of signaling to consult between MGW, and it has cancelled the RTP layer, has increased the complexity that realizes;
B) 3GPP TR 29.814 V7.0.0 have proposed to synthesize between the MGW method of a plurality of user data package, the expense of having saved IP packet header and UDP packet header on UDP.But this method does not solve the problem of single user data package saving packet header expense under the MPLS environment.
Above-mentioned solution, technical scheme is immature, and the complexity of processing is higher, and can not be compatible mutually with present network environment.
Summary of the invention
The objective of the invention is at the shared proportion of speech frame in the prior art VoP little, bandwidth availability ratio is low, and the defective that network resources waste is serious proposes a kind of method, media gateway and system that handles the MPLS grouping, to improve bandwidth availability ratio, save Internet resources.
For achieving the above object, according to an aspect of the present invention, provide a kind of method of the MPLS of processing grouping.Said method comprises: the MGW at MPLS Web portal place obtains corresponding destination slogan according to the packet of external network, and the destination slogan is mapped to the label that MPLS divides into groups, and transmits at the MPLS network; The MGW of MPLS network exit is converted to the destination slogan of external network corresponding data bag with the label of MPLS grouping, and is sent to destination interface.
Said method can also comprise: the inferior vpn label that the purpose IP address of packet is corresponded to the MPLS grouping.
Preferably, the destination slogan can be mapped to " Label " territory of the innermost layer label of MPLS grouping.
Preferably, external network is circuit-switched network or packet switching network.
Preferably, the packet of external network is the VoP that comprises impulse coding modulation code stream in the time multiplexing circuit.
Preferably, the destination slogan is a UDP destination slogan.
Preferably, obtain corresponding destination slogan according to packet, and the operation that the destination slogan maps to the label of MPLS grouping is specifically comprised: obtain from the purpose IP address and the UDP destination slogan of the impulse coding modulation code stream VoP of time division multiplexing side; The UDP destination interface of VoP is encapsulated as " Label " territory of MPLS grouping innermost layer label, search corresponding label forwarding class according to purpose IP address and UDP destination slogan, the label of label forwarding class correspondence is corresponded to MPLS grouping time vpn label.
To achieve these goals, according to another aspect of the present invention, provide a kind of media gateway, having comprised: receiver module is used to receive the packet of external network; PHM packet handling module is used to obtain the destination slogan of packet, the destination slogan is mapped to the label of MPLS grouping; Sending module is used to send the MPLS grouping.
To achieve these goals, according to another aspect of the present invention, also provide a kind of media gateway, having comprised: receiver module is used to receive the MPLS grouping; PHM packet handling module is used for the packet according to MPLS grouping generation external network correspondence, and the destination slogan of the packet of external network correspondence is obtained by the label of MPLS grouping; Sending module is used to send the packet of external network correspondence.
To achieve these goals, according to a further aspect of the invention, a kind of communication system is provided, comprise: the media gateway at MPLS Web portal place, be used to receive the packet of external network, obtain the destination slogan of packet, the destination slogan is mapped to the label that MPLS divides into groups, send the MPLS grouping; The MPLS network is used to carry out the forwarding of MPLS grouping; The media gateway of MPLS network exit is used to receive the MPLS grouping, and grouping generates the packet of external network correspondence according to MPLS, and the label that described MPLS is divided into groups is converted to the destination slogan of external network corresponding data bag, and is sent to described destination interface.
Method, media gateway and the system of the processing MPLS grouping of various embodiments of the present invention adopt the method that the destination slogan is mapped to the label of MPLS grouping, have reduced the length of MPLS grouping.Method of the present invention, media gateway and system can run on present network environment, compatible mutually with present network environment, do not increasing under the prerequisite of handling complexity, reduced the packet header expense of packet, can effectively improve bandwidth availability ratio, avoid waste of network resources.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of BGP/MPLS VPN networking structure in the prior art;
Fig. 2 be the embodiment of the invention one handle in the method for MPLS grouping packet by external network when the MPLS Network Transmission, the MGW at MPLS Web portal place handles the flow chart of external network data bag;
Fig. 3 is that the embodiment of the invention one is handled in the method for MPLS grouping by the MPLS network when the outside Network Transmission, and the MGW of MPLS network exit handles the flow chart of MPLS grouping;
Fig. 4 be the embodiment of the invention two handle in the method for MPLS grouping packet by external network when the MPLS Network Transmission, the MGW at MPLS Web portal place handles the flow chart of external network data bag;
Fig. 5 is grouped in the flow chart that transmits in the MPLS network for MPLS in the method for the embodiment of the invention two processing MPLS groupings;
Fig. 6 be the embodiment of the invention two handle in the method for MPLS grouping the MPLS grouping by the MPLS network when the outside Network Transmission, the MGW of MPLS network exit handles the flow chart of MPLS grouping;
Fig. 7 is channel number and the IP address of IP side and the schematic diagram of udp port corresponding relation that the embodiment of the invention three is handled the TDM side in the method for MPLS grouping;
Fig. 8 is the schematic diagram of the embodiment of the invention four media gateway;
Fig. 9 is the schematic diagram of the embodiment of the invention five media gateway;
Figure 10 is the schematic diagram of the embodiment of the invention six communication systems.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
Embodiment one
Present embodiment is divided into two parts, comprising: packet is divided into groups by the processing section of MPLS network to outside Network Transmission by the processing section and the MPLS of external network to the MPLS Network Transmission.Below above-mentioned two parts content is described successively.
Fig. 2 be the embodiment of the invention one handle in the method for MPLS grouping packet by external network when the MPLS Network Transmission, the MGW at MPLS Web portal place handles the flow chart of external network data bag.As shown in Figure 2, present embodiment comprises:
Step S101: the packet that receives external network;
Step S103: the destination slogan that obtains packet;
Step S105: the label that the packet rs destination port numbers is mapped to the MPLS grouping;
Step S109: the MPLS grouping is sent to the MPLS network.
Fig. 3 is that the embodiment of the invention one is handled in the method for MPLS grouping by the MPLS network when the outside Network Transmission, and the MGW of MPLS network exit handles the flow chart of MPLS grouping.As shown in Figure 3, present embodiment comprises:
Step S115: receive the MPLS grouping;
Step S117: the label by the MPLS grouping obtains the destination slogan;
Step S119: with the MPLS packet switched is the packet of external network correspondence;
Step S121: packet is sent to external network.
The transmitter side of present embodiment maps to the destination slogan of external network data bag on the label of MPLS grouping; At receiver side, from the label of MPLS grouping, extract the destination slogan of packet.In the present embodiment,, only need the expense of 4Byte (length of MPLS label) because the destination slogan of packet is stored in the MPLS label.Therefore, adopt technique scheme can reduce the length of MPLS grouping.
Embodiment two
Present embodiment is divided into three parts, comprising: packet is grouped in the processing section and the MPLS that transmit in the MPLS network by external network to processing section, the MPLS of MPLS Network Transmission and divides into groups by the processing section of MPLS network to outside Network Transmission.Below above-mentioned three partial contents are described one by one.
Fig. 4 be the embodiment of the invention two handle in the method for MPLS grouping packet by external network when the MPLS Network Transmission, the MGW at MPLS Web portal place handles the flow chart of external network data bag.As shown in Figure 4, present embodiment comprises:
Step S201: the packet that receives external network;
Step S203: the purpose IP address and the destination slogan that obtain packet;
Step S205: judge whether to exist the FEC of corresponding above-mentioned IP address and port numbers, if judged result is for being, execution in step S207 then, otherwise execution in step S217;
Step S207: " Label " territory that the packet rs destination port numbers is mapped to MPLS grouping innermost layer label;
Step S209: the inferior vpn label that packet rs destination IP address is corresponded to the MPLS grouping;
Step S213: generate the MPLS grouping;
Step S215: MPLS is divided into groups to be sent to MPLS network, execution in step S221 by the outgoing interface of FEC correspondence;
Step S217: encapsulation UDP head and IP head;
Step S219: look into the MGW routing table and obtain outgoing interface IP bag is sent to the MPLS network;
Step S221: finish.
Fig. 5 is grouped in the flow chart that transmits in the MPLS network for MPLS in the method for the embodiment of the invention two processing MPLS groupings.As shown in Figure 5, present embodiment comprises:
The MGW at step S225:MPLS Web portal place is sent to transmitter side PE with the MPLS grouping, and in the process that sends, time vpn label exchange is carried out in the MPLS grouping;
Step S226: transmitter side PE is to MPLS packet encapsulation outer layer label;
Step S227:MPLS grouping is sent to receiver side PE by transmitter side PE, in the process that sends, and the exchange of MPLS grouping carrying out outer layer label;
Step S228: at receiver side PE previous dive, get access to the path of receiver side PE after, peel off the outer layer label of MPLS grouping, the MPLS grouping is sent to receiver side PE;
Step S229: receiver side PE is sent to the MGW of MPLS network exit with MPLS grouping, and in the process that sends, time vpn label exchange is carried out in the MPLS grouping.
Fig. 6 be the embodiment of the invention two handle in the method for MPLS grouping the MPLS grouping by the MPLS network when the outside Network Transmission, the MGW of MPLS network exit handles the flow chart of MPLS grouping.As shown in Figure 6, present embodiment comprises:
Step S235: receive packet;
Step S237: judge whether grouping, if judged result is for being execution in step S239, otherwise execution in step S245 into MPLS;
Step S239: obtain MPLS grouping purpose IP address;
Step S241: " Label " territory by MPLS grouping innermost layer label obtains the destination slogan;
Step S243: with the MPLS packet switched is the packet of external network correspondence, execution in step S247;
Step S245: obtain packet rs destination IP address and destination slogan;
Step S247: packet is sent to external network according to purpose IP address and destination slogan.
Present embodiment has carried out improving and refinement to the method that the present invention handles the MPLS grouping.On the basis of embodiment one, present embodiment has increased following content: 1. MPLS is grouped in the transmitting step of MPLS network internal; 2. whether the MGW at MPLS Web portal place is to existing judging of packet rs destination IP address and the corresponding FEC of destination slogan, and carry out the step of respective handling according to judged result; 3. the MGW of MPLS network exit judges whether the packet that receives is the MPLS grouping, carries out the step of respective handling according to judged result; 4. in the process that the MGW of the MGW at MPLS Web portal place and MPLS network exit handles packet, the content and the effect of each label correspondence in the packet header of MPLS grouping is described.
The packet header of MPLS grouping is provided with three layers of label in the present embodiment, with " Label " territory of packet rs destination port numbers mapping MPLS grouping innermost layer label; Packet rs destination IP address is corresponded to MPLS grouping time vpn label, be used for transmission MPLS grouping between MGW and the PE; Between transmitter side PE and receiver side PE, in the transmission course, exchange outer layer label.The method that present embodiment proposes is compatible mutually with present network environment, and the flexibility of enforcement is stronger, can reduce the length of MPLS grouping, thereby save Internet resources, has improved bandwidth availability ratio.
Embodiment three
Present embodiment will specifically describe technical scheme of the present invention with the example that is transmitted as of VoP.
The expense of MPLS grouping that comprises speech frame in the prior art is as shown in table 2, compares with table 1, has increased vpn label L1 (4Byte) and outer layer label L2 (4Byte).In addition, MPLS is grouped in and transmits the expense that also needs to increase data link layer and physical layer in the network, causes bandwidth availability ratio low, and network resources waste is serious.
The expense of MPLS grouping in table 2 prior art
??L2 ??L1 The IP head The UDP head The RTP head G.729 speech frame
??4Byte ??4Byte ??20Byte ??8Byte ??12Byte ??20Byte
In the call handshaking procedure, the corresponding relation of the channel number (Circuit Identification Code is called for short CIC) that call signaling protocol BICC, agreements such as SIP indications MGW set up the TDM side and the IP address+udp port of IP side number.With one tunnel conversation is example, and Fig. 7 is the schematic diagram of the IP address+udp port corresponding relation of the channel number of TDM side and IP side.As shown in Figure 7, by Signalling exchange, the MGW at MPLS Web portal place and the MGW of MPLS network exit have write down the corresponding relation of CIC and IP+UDP port.Table 3 is the mapping table of CIC and IP+UDP port among the MGW at MPLS Web portal place; Table 4 is the mapping table of CIC and IP+UDP port among the MGW of MPLS network exit.
The mapping table of CIC and IP+UDP port among the MGW at table 3 MPLS Web portal place
The CIC numbering Purpose IP address UDP destination slogan
??10 ??10.1.1.1 ??50001
??20 ??10.1.1.2 ??40002
The mapping table of CIC and IP+UDP port among the MGW of table 4 MPLS network exit
The CIC numbering Purpose IP address UDP destination slogan
??30 ??10.1.1.1 ??50001
??40 ??10.1.1.2 ??40002
In the present embodiment, external network is the TDM network of transmitting audio data bag, and the MPLS network is the IP network of operation mpls protocol.In addition, set up LSP end to end between MGW, MGW, CE, PE all open MPLS, adopt LDP, RSVP, and agreements such as BGP are carried out label distribution.MGW releases its interface or LOOPBACK address as the main frame route, and at PE, CE, the last main frame route to MGW of MGW is set up label switched path, and for CE, label switched path is not set up in the interconnected address of PE interface.MPLS is grouped in and carries out the vpn label exchange between MGW and the PE, carries out the outer layer label exchange at PE between PE.
Below in conjunction with system configuration shown in Figure 1, the VoP transmission course of present embodiment is specifically described.If there is Label Forwarding Information Base as shown in table 5 in the MGW at MPLS Web portal place.
Label Forwarding Information Base among the MGW at table 5 MPLS Web portal place
Incoming interface Go into label ??FEC Operation Outgoing label Outgoing interface
??--- ??--- ??10.1.1.2/32 ??PUSH ??200 ??Eth0
??…… ??…… ??…… ??…… ??…… ??……
In the MGW at MPLS Web portal place, only VoP is handled, handle then consistent for the non-voice bag with prior art; In the MGW of MPLS network exit, MPLS grouping and general data bag are handled respectively.The processing procedure of VoP comprises (describing with reference to network configuration shown in Figure 1) in the present embodiment:
(1) MGW at MPLS Web portal place sends to the MPLS network with VoP from the TDM side.
Step 1: in the TDM side, encoder is done encoding process (defer to G.729, etc. standard agreement) to pcm stream, do processing such as voice activity detection function, silence compression function by configuration parameter, encapsulation RTP packet header sends (corresponding CIC numbering 20) by particular electrical circuit;
Step 2: according to table 3, the purpose IP address that CIC numbers 20 correspondences is 10.1.1.2, UDP destination slogan is 40002, search the Label Forwarding Information Base of MGW, find to exist in the Label Forwarding Information Base FEC of 10.1.1.2/32, change step 3, if do not find, then encapsulate UDP head and IP head, look into the MGW routing table and obtain outgoing interface IP bag is sent;
Step 3: encapsulation innermost layer label (L1 in the table 7) copies UDP destination slogan 40002 to the Label territory of innermost layer label, left-justify, high-order zero padding.Exp does not do use.The S position is " 1 ", at the bottom of the expression stack.Ttl value is consistent with the ttl value of IP head.The structure of innermost layer label is as shown in table 6.
The structure of table 6 innermost layer label
Figure A20081011876100171
Step 4: search FEC 10.1.1.2/32 according to the Label Forwarding Information Base of table 5, with encapsulation innermost layer labels class like (the S position be " 0 "), the inferior vpn label 200 (L2 in the table 7) that encapsulation MPLS divides into groups;
Step 5: the outgoing interface Eth0 by Label Forwarding Information Base is sent to the MPLS network with the MPLS grouping.
(2) MGW of MPLS network exit sends to receiver side TDM side with the MPLS grouping from the MPLS network.
Whether what the MGW judgement of step 1:MPLS network exit was received is the MPLS bag, if judged result is then changeed step 2 for being, otherwise handles by common IP bag;
Step 2: LOOPBACK or the interface IP address of record MGW self are 10.1.1.2; " Label " territory acquisition UDP destination slogan by MPLS innermost layer label is 40002;
Step 3: decapsulation RTP message, decoder is done decoding processing (defer to G.729, etc. standard agreement) to message, does processing such as comfort noise, gain controlling, Echo Cancellation according to configuration, then message is converted to pcm stream;
Step 4: the purpose IP address according to step 2 record is 10.1.1.2, and UDP destination slogan is 40002, and look-up table 4 obtains the CIC numbering, is numbered 40 circuit by CIC pcm stream is sent to the TDM network side.
In handling the MPLS grouping process, in order to transmit between the PE in the MPLS network, the MPLS grouping also need add outer layer label (L3 in the table 7), carries out the exchange of outer layer label between the PE.In addition, present embodiment has just been described the transmission of unidirectional VoP, and the transmission of double-directional speech packet similarly, no longer repeats herein.Table 7 is the expense of embodiment of the invention MPLS grouping.Adopt the method for present embodiment, comprise the MPLS grouping of speech frame, total length is 44 bytes, saves 24 bytes than existing mode.
The expense of table 7 embodiment of the invention MPLS grouping
L3 (outer layer label) L2 (inferior vpn label) L1 (innermost layer label) The RTP head G.729 speech frame
??4Byte ??4Byte ??4Byte ??12Byte ??20Byte
Table 8 is prior art and present embodiment technique effect contrast table.The MPLS that present embodiment generates is grouped in that transmission Time Bandwidth utilance is in the Ethernet: 20/74=27%, and bandwidth availability ratio 20% compared to existing technology, improves a lot; After the optimization, the required bandwidth of every ERL telephone traffic is 0.75 times before optimizing, and can save 30% long-distance transfer resource after promptly optimizing.
The Internet resources effect comparison table of table 8 embodiment of the invention and prior art
Link bandwidth utilization rate (%) The required bandwidth of every ERL telephone traffic (Kbps)
Before optimizing (prior art) ??20.4 ?39.2
Optimize back (embodiment of the invention) ??27 ?29.6
The packet header of MPLS grouping is provided with three layers of label in the present embodiment, Label territory with packet rs destination port numbers mapping innermost layer label, the label of the purpose IP address of corresponding data bag is set to time vpn label, and the label that is used for control transmission route between MPLS network PE is set to outer layer label.Finish the flow process that generates and disassemble the MPLS grouping respectively at the MGW at MPLS Web portal place and the MGW of MPLS network exit.
The method that present embodiment provides has shortened the length of the MPLS grouping of transmitting that comprises speech frame in network, improved bandwidth availability ratio, has reduced the required bandwidth of every ERL telephone traffic, has improved utilization rate of network resource.In addition, present embodiment also has following beneficial effect:
1. prior art is changed few, compatible good with existing protocol;
2. realize simply the group bag process of unpacking of MWG grouping only being made trickle modification;
3. support and the intercommunication of common MGW that adaptability is strong.
Embodiment four
Fig. 8 is the schematic diagram of the embodiment of the invention four media gateway.As shown in Figure 8, the present embodiment media gateway comprises: first receiver module is used to receive the packet of external network; First PHM packet handling module is used to obtain the destination slogan of packet, generates the MPLS grouping according to the packet that receives, and the destination slogan is mapped to the label of MPLS grouping; First sending module is used for the MPLS grouping is sent to the MPLS network.
The media gateway of present embodiment lays particular emphasis on from the transmitter side of MPLS Web portal and describes, and the packet of external network can be converted to the MPLS grouping, the destination slogan of packet is mapped to the label of MPLS grouping.The processing procedure of present embodiment can be referring to preceding method embodiment, and has the beneficial effect of preceding method embodiment, no longer same or similar technology contents is carried out repeat specification herein.
Wherein, first PHM packet handling module can comprise: obtain submodule, be used to obtain the purpose IP address and the UDP destination slogan of external network VoP; Label encapsulation submodule, be used for the external data bag is converted into the MPLS grouping, the UDP destination slogan of VoP is encapsulated as " Label " territory of MPLS grouping innermost layer label, search corresponding label forwarding class according to purpose IP address and UDP destination slogan, the label of label forwarding class correspondence is corresponded to MPLS grouping time vpn label.
Present embodiment specifically illustrates first PHM packet handling module among Fig. 8 media gateway embodiment, how to generate the MPLS grouping, being encapsulated as the MPLS packet data package as the pcm stream that the TDM circuit is come can no longer repeat referring to the related description of Fig. 3-Fig. 7 embodiment herein.
Embodiment five
Fig. 9 is the schematic diagram of the embodiment of the invention five media gateway.As shown in Figure 9, the present embodiment media gateway comprises: second receiver module is used to receive the MPLS grouping; Second PHM packet handling module is used for the packet according to MPLS grouping generation external network correspondence, and the destination slogan of the packet of external network correspondence is obtained by the label of MPLS grouping; Second sending module is used for the packet that second PHM packet handling module generates is sent to external network.
The media gateway of present embodiment lays particular emphasis on from the MPLS network exit and describes, can be the packet of corresponding external network with the MPLS packet switched, the purpose IP address of packet be obtained from the relevant information of MPLS grouping by second PHM packet handling module with the destination slogan.
Among Fig. 9 embodiment, second PHM packet handling module may further include: gather submodule, be used to gather the purpose IP address of MPLS grouping, and gather UDP destination slogan from the innermost layer label of MPLS grouping; Analyzing sub-module is used for MPLS grouping is converted into the VoP of external network, and the purpose IP address of this VoP and destination slogan obtain by gathering submodule.How MPLS is resolved for second PHM packet handling module, obtaining destination slogan and IP address can no longer repeat referring to the related description of Fig. 3-Fig. 7 embodiment herein.
Fig. 8 describes media gateway from different aspects with Fig. 9 embodiment.During specific implementation, media gateway can have the function of media gateway among above-mentioned Fig. 8 and Fig. 9 embodiment simultaneously, realize that both having can be used as transmitting terminal also can be used as receiving terminal, as: can carry out concrete two or more functional modules integrated, realize by a functional module, as first receiver module and second receiver module are integrated into a functional module, first sending module and second sending module are integrated into a functional module etc.
Embodiment six
Figure 10 is the schematic diagram of the embodiment of the invention six communication systems, and as shown in figure 10, the communication system of present embodiment comprises:
The media gateway at MPLS Web portal place as the transmitter side media gateway, is used to receive the packet of external network, obtains the destination slogan of packet, and the destination slogan is mapped to the label that MPLS divides into groups, and sends the MPLS grouping;
The MPLS network is used to carry out the forwarding of MPLS grouping;
The media gateway of MPLS network exit, as the receiver side media gateway, be used to receive the MPLS grouping, grouping generates the packet of external network correspondence according to MPLS, the destination slogan of the packet of external network correspondence is obtained by the label of MPLS grouping, sends the packet of external network correspondence.
The communication system of present embodiment, can the general data bag be converted to the MPLS grouping in the media gateway at MPLS Web portal place, media gateway at the MPLS network exit is the general data bag with the MPLS packet switched, and the grouping of MPLS is wherein shortened greatly than the length that MPLS of the prior art divides into groups, and the amount of information of carrying is constant.Specifically can be referring to the related description among the method embodiment.Present embodiment has the useful technique effect of handling MPLS group technology, media gateway, no longer repeats herein.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc, CD, media gateway.
It should be noted that at last: the above only is the preferred embodiments of the present invention, be not limited to the present invention, although the present invention is had been described in detail with reference to previous embodiment, for a person skilled in the art, it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (13)

1. a method of handling the MPLS grouping relates to the data transmission between external network and the MPLS network, it is characterized in that, comprising:
The media gateway at MPLS Web portal place: the packet according to described external network obtains corresponding destination slogan, and described destination slogan is mapped to the label that MPLS divides into groups, and transmits at described MPLS network;
The media gateway of MPLS network exit: the label of described MPLS grouping is converted to the destination slogan of external network corresponding data bag, and is sent to described destination interface.
2. according to the method described in the claim 1, it is characterized in that the described operation that the destination slogan is mapped to the label of MPLS grouping specifically comprises: " Label " territory that described destination slogan is mapped to MPLS grouping innermost layer label.
3. method according to claim 1 is characterized in that, also comprises:
The purpose IP address of described external network data bag is corresponded to the label of described MPLS grouping.
4. method according to claim 3 is characterized in that, also comprises: the inferior vpn label that the purpose IP address of described external network data bag is corresponded to described MPLS grouping.
5. according to each described method among the claim 1-4, it is characterized in that: described destination slogan is a UDP destination slogan.
6. according to each described method among the claim 1-4, it is characterized in that: described external network is circuit-switched network or packet switching network.
7. according to each described method among the claim 1-4, it is characterized in that: described packet is the VoP that comprises impulse coding modulation code stream in the time multiplexing circuit.
8. according to each described method among the claim 1-4, it is characterized in that, describedly obtain corresponding destination slogan, and the operation that described destination slogan maps to the label of MPLS grouping is specifically comprised according to packet:
Obtain from the purpose IP address and the UDP destination slogan of the impulse coding modulation code stream VoP of time division multiplexing side;
The UDP destination slogan of described VoP is encapsulated as " Label " territory of MPLS grouping innermost layer label, search corresponding label forwarding class according to described purpose IP address and UDP destination slogan, the label of described label forwarding class correspondence is corresponded to described MPLS grouping time vpn label.
9. a media gateway is characterized in that, comprising:
Receiver module is used to receive the packet of external network;
PHM packet handling module is used to obtain the destination slogan of described packet, described destination slogan is mapped to the label of MPLS grouping;
Sending module is used to send described MPLS grouping.
10. media gateway according to claim 9 is characterized in that, described PHM packet handling module further comprises:
Obtain submodule, be used to obtain the purpose IP address and the UDP destination slogan of described external network VoP;
Label encapsulation submodule, be used for described external data bag is converted into the MPLS grouping, the UDP destination slogan of described VoP is encapsulated as " Label " territory of MPLS grouping innermost layer label, search corresponding label forwarding class according to described purpose IP address and UDP destination slogan, the label of described label forwarding class correspondence is corresponded to described MPLS grouping time vpn label.
11. a media gateway is characterized in that, comprising:
Receiver module is used to receive the MPLS grouping;
PHM packet handling module is used for the packet according to described MPLS grouping generation external network correspondence, and the destination slogan of the packet of described external network correspondence is obtained by the label of described MPLS grouping;
Sending module is used to send the packet of described external network correspondence.
12. media gateway according to claim 11 is characterized in that, described PHM packet handling module further comprises:
Gather submodule, be used to gather the purpose IP address of described MPLS grouping, and gather UDP destination slogan from the innermost layer label of described MPLS grouping;
Analyzing sub-module is used for described MPLS grouping is converted into the VoP of external network, and the purpose IP address of described external network VoP and UDP destination slogan are obtained by described collection submodule.
13. a communication system that comprises claim 9 or 11 described media gateway is characterized in that, comprising:
The media gateway at MPLS Web portal place is used to receive the packet of external network, obtains the destination slogan of described packet, and described destination slogan is mapped to the label of MPLS grouping, sends described MPLS grouping;
The MPLS network is used to carry out the forwarding of described MPLS grouping;
The media gateway of MPLS network exit, be used to receive the MPLS grouping, according to the packet of described MPLS grouping generation external network correspondence, the label that described MPLS is divided into groups is converted to the destination slogan of external network corresponding data bag, and is sent to described destination interface.
CN2008101187611A 2008-08-21 2008-08-21 Method, media gateway and system for processing MPLS packet Active CN101656655B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101187611A CN101656655B (en) 2008-08-21 2008-08-21 Method, media gateway and system for processing MPLS packet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101187611A CN101656655B (en) 2008-08-21 2008-08-21 Method, media gateway and system for processing MPLS packet

Publications (2)

Publication Number Publication Date
CN101656655A true CN101656655A (en) 2010-02-24
CN101656655B CN101656655B (en) 2012-12-12

Family

ID=41710757

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101187611A Active CN101656655B (en) 2008-08-21 2008-08-21 Method, media gateway and system for processing MPLS packet

Country Status (1)

Country Link
CN (1) CN101656655B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281191A (en) * 2011-07-07 2011-12-14 武汉微创光电股份有限公司 Multicast label switching method for uncompressed video
CN108459851A (en) * 2018-01-03 2018-08-28 杭州达乎科技有限公司 Realize the method, apparatus and computer program product of bis- layers of special lines of end-to-end MPLS

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811381B (en) * 2015-04-30 2018-03-27 瑞斯康达科技发展股份有限公司 Data transmission method and equipment based on label under a kind of distributed environment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3880404B2 (en) * 2002-01-18 2007-02-14 富士通株式会社 MPLS network system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281191A (en) * 2011-07-07 2011-12-14 武汉微创光电股份有限公司 Multicast label switching method for uncompressed video
CN102281191B (en) * 2011-07-07 2015-02-04 武汉微创光电股份有限公司 Multicast label switching method for uncompressed video
CN108459851A (en) * 2018-01-03 2018-08-28 杭州达乎科技有限公司 Realize the method, apparatus and computer program product of bis- layers of special lines of end-to-end MPLS

Also Published As

Publication number Publication date
CN101656655B (en) 2012-12-12

Similar Documents

Publication Publication Date Title
CN100563146C (en) A kind of time division multiplex data transmitting method based on packet switching
US6970420B1 (en) Method and apparatus for preserving frame ordering across aggregated links supporting a plurality of quality of service levels
CN1625176B (en) Realization method of edge to edge pseudo-line simulation protocol
CN101296186B (en) Routing switching device, method and switching cable fastener plate
US6643292B2 (en) Efficient packet data transport mechanism and an interface therefor
CN101573913B (en) Method and apparatus for improved multicast routing
CN100403735C (en) Method and system for realizing binding interface edge-to-edge pseudo wire simulation service
CN100555999C (en) A kind of method and apparatus of realizing edge-to-edge pseudo-line simulation
CN101014017A (en) Switching apparatus having universal transport of data packet frames
US7433359B2 (en) Application of an Ethernet/MPLS half bridge to provide Ethernet multiplexing functions (EMF) in SONET network elements (NEs)
US11477549B2 (en) Transmission network system, data switching and transmission method, apparatus and equipment
CN101160902A (en) Data forwarding method and switching arrangement
US7787461B2 (en) System and a method for processing field frames for multiprotocol use in a communications network
CA2467346A1 (en) Active networks
CN101132365A (en) Message unvarnished transmission method and apparatus
EP1576770B1 (en) Tunnelling tdm traffic over mpls
CN101656655B (en) Method, media gateway and system for processing MPLS packet
CN100337453C (en) Method for implementing message forwarding along RPR ring and RPR network
US20120327941A1 (en) Method and apparatus for transporting packets with specific traffic flows having strict packet ordering requirements over a network using multipath techniques
AU5069102A (en) Selection system, its selection method for voice channels, and switchboard for use therein
US20120087237A1 (en) System and method for protecting payload information in radio transmission
CN101888336B (en) Access device realizes method and the access device of TDM business relaying
CN101827012B (en) Packet transmitting network as well as method for bearing services of pure three layers of IP packets and outlet node
CN100466615C (en) Method and apparatus for processing direct connected network route
CN102238164A (en) Internet protocol (IP) telecommunication network-oriented multi-protocol message adaptation method

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