CN100555999C - A kind of method and apparatus of realizing edge-to-edge pseudo-line simulation - Google Patents

A kind of method and apparatus of realizing edge-to-edge pseudo-line simulation Download PDF

Info

Publication number
CN100555999C
CN100555999C CNB2007101202231A CN200710120223A CN100555999C CN 100555999 C CN100555999 C CN 100555999C CN B2007101202231 A CNB2007101202231 A CN B2007101202231A CN 200710120223 A CN200710120223 A CN 200710120223A CN 100555999 C CN100555999 C CN 100555999C
Authority
CN
China
Prior art keywords
message
exchange
circuit
user
edge
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.)
Expired - Fee Related
Application number
CNB2007101202231A
Other languages
Chinese (zh)
Other versions
CN101115005A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2007101202231A priority Critical patent/CN100555999C/en
Priority to PCT/CN2007/003542 priority patent/WO2009021371A1/en
Publication of CN101115005A publication Critical patent/CN101115005A/en
Application granted granted Critical
Publication of CN100555999C publication Critical patent/CN100555999C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/60Router architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a kind of method and apparatus of realizing edge-to-edge pseudo-line simulation, in up process and descending process, a multi protocol label exchange transaction card is set, and in the up process, the inside multi protocol label exchange message that the master control borad exchange chip will be received is transmitted to described transaction card; This transaction card will exchange the data message that message is encapsulated as the edge-to-edge pseudo-line simulation form, and this message switching is arrived described exchange chip; In the descending process, the outside multi protocol label exchange message that exchange chip will be received is transmitted to described transaction card; The data message that this transaction card will exchange in the message is encapsulated as described inner multi protocol label exchange message, and this exchange message switching after will encapsulating is to described exchange chip.The present invention has increased a transaction card, make and realized the PWE3 business on IP-DSLAM, and inner MPLS message switching is behind the master control borad exchange chip, and this MPLS message guarantees can not lose user's place in circuit information.

Description

A kind of method and apparatus of realizing edge-to-edge pseudo-line simulation
Technical field
The present invention relates to communication technical field, be meant the method and apparatus of a kind of realization edge-to-edge pseudo-line simulation (PWE3, Pseudo Wire Emulation Edge to Edge) especially.
Background technology
Edge-to-edge pseudo-line (PW, Pseudo Wire) emulation is by the Internet engineering duty group (IETF, Internet Engineering Task Force) subordinate working group formulates, be used on the packet switching network (PSN, Packet Switch Network), providing the traditional ground floor and the technology of second layer Network.At present, PWE3 is used on the router device more, Virtual Private Network (VPN along with the second layer, Virtual PrivateNetwork) Ye Wu continuous development, many operators have had at DSLAM (IP-DSLAM, Digital Subscriber Line Access Multiplexer) demand of realization PWE3 business on the equipment, to reach with Ethernet/asynchronous transfer mode (ATM, Asynchronous TransfcrMode) data of user side purpose that is sent to far-end CE equipment by the PSN network readezvous point.The business model framework of PWE3 on PSN as shown in Figure 1, two edge (PE of provider of network edge, Provider Edge) node is the customer edge (CE of the customer network that it connected, Customer Edge) node provides one or more pseudo-line, makes can realize communication by described pseudo-line on the network that the service provider provides between the CE equipment; On a PSN tunnel (PSN TUNNEL), can realize that two PW between the PE are multiplexing, the user service data of CE is finished the PW encapsulation earlier after entering PE during communication, adding one deck vpn label by PE is the PW label, add after one deck outer layer label is tunnel label, form the PE that data message sends the opposite end to; Opposite end PE carries out decapsulation to this data message, takes out vpn label to determine the outlet circuit, and the user service data that encapsulates in this data message is sent to CE.
Mainly comprise different veneers such as master control borad, user's plate, upper connective plate in a kind of structural framing of IP-DSLAM equipment commonly used.Wherein dissimilar user's plates is supported different Digital Subscriber Line (DSL, DigitalSubscriber Line) access waies; Master control borad is the core of this structural framing system, and all veneers are controlled and managed.The IP-DSLAM of main flow adopts two-stage exchanges data architecture at present, promptly on master control borad and user's plate, there is different exchange devices respectively, as exchange chip, network processing unit, field programmable logic array (FPGA, Field Programmable Gate Array) etc.The upper united mouth of the exchange device on user's plate inline mouthful by exchange chip on Media Independent Interface (MII, Media Independent Interface) and the master control borad links to each other.User uplink data at first exchanges to the inline mouth of master control borad exchange chip by the exchange device on user's plate, on the master control borad exchange chip, carry out the secondary exchange again, finally the port on the upper connective plate sends from system, and the exchange of downlink data message then is the inverse process of said process.
Because on IP-DSLAM equipment, the method of the edge-to-edge pseudo-line simulation of realizing as described above at present, therefore there is following defective in the PWE3 function that realizes on IP-DSLAM, the exchange chip that at first is most main flows is not supported multi protocol label exchange (MPLS, Multi-Protocol LabelSwitching) function, only can carry out simple two layers/three layers forwarding, even utilize network processing unit or FPGA on user's plate to realize that MPLS also will be very complicated, can be to the performance of user's plate, the requirement that resource uses proposition to be difficult to accept; Secondly the user's data message has been lost user's place in circuit information, therefore after exchanging to the master control borad exchange chip, this exchange chip can't learn that from this data message this message comes from the PWE3 service circuit, and can't judge also whether this place in circuit is the PWE3 service circuit.
Summary of the invention
The purpose of this invention is to provide a kind of method and apparatus of realizing edge-to-edge pseudo-line simulation, be used for solving at IP-DSLAM equipment, that the method for existing edge-to-edge pseudo-line simulation exists because exchange chip does not support that the multi protocol label clearing house causes is difficult to realize MPLS, and the master control borad exchange chip can't determine whether the circuit that the user inserts is the defective of PWE3 service circuit.
Therefore the invention provides a kind of method that realizes edge-to-edge pseudo-line simulation, comprise up process and descending process, in described up process and descending process, a multi protocol label exchange transaction card is set, and further comprise: in the described up process, step 1. the inside multi protocol label exchange message that the master control borad exchange chip will be received is transmitted to described transaction card; Step 2. this transaction card will exchange the data message that message is encapsulated as the edge-to-edge pseudo-line simulation form, and this message switching is arrived described exchange chip; In the described descending process, steps A. the outside multi protocol label exchange message that described exchange chip will be received is transmitted to described transaction card; The data message that this transaction card of step B. will exchange in the message is encapsulated as described inner multi protocol label exchange message, and this exchange message switching after will encapsulating is to described exchange chip.
Said method, wherein, before the described step 1, data message enters user's plate, the exchange device of this user's plate will be encapsulated as described inner multi protocol label exchange message from the described data message of pseudo wire emulation edge-to-edge business circuit, and exchange to described master control borad exchange chip by interface; After the described step 2, described master control borad exchange chip sends described exchange message switching to upper connective plate and the port by this upper connective plate.
Said method, wherein, before the described steps A, descending data message enters upper connective plate, and this upper connective plate sends to described master control borad exchange chip with this data message, and this exchange chip is judged the type of this message; If described outside multi protocol label exchange message then arrives described transaction card with this message switching, otherwise this message is switched directly to user's plate; After the step B, described inner multi protocol label exchange message is forwarded to described user's plate by described master control borad exchange chip, and this user's plate carries out decapsulation, and the Payload that takes out in this exchange message sends by edge-to-edge pseudo-line simulation outlet circuit.
Said method, wherein, described user's plate comes the swap data message by described exchange device, and this exchange device adopts field programmable logic array, and this field programmable logic array is supported the relevant configuration of pseudo wire emulation edge-to-edge business circuit; And there is user's place in circuit attribute list on this field programmable logic array, the relevant information of preserving user's place in circuit in this table, the index of this table is user's place in circuit sign.
Said method, wherein, in up process, after described data message entered user's plate, this user's plate was discerned user's place in circuit of this message, and inquired about described user's place in circuit attribute list according to this user's place in circuit; If this place in circuit is the pseudo wire emulation edge-to-edge business circuit, then this data message is encapsulated as described inner multi protocol label exchange message as Payload, exchange to described master control borad exchange chip then; For the described data message that non-pseudo wire emulation edge-to-edge business circuit transmits, described field programmable logic array arrives described master control borad exchange chip according to the purpose Media Access Control address of this message and the information exchange of VLAN ID.
Said method, wherein, in up process, described master control borad exchange chip exchanges transaction card with described inner multi protocol label exchange message switching to described multi protocol label by the type of recognition data message or according to the purpose Media Access Control address; To be switched directly to upper connective plate from the data message of non-pseudo wire emulation edge-to-edge business circuit.
Said method, wherein, described multi protocol label exchange transaction card is realized virtual circuit label list, user's place in circuit attribute list, multi protocol label switch label table; This virtual circuit label list is preserved virtual circuit label and corresponding user's place in circuit index; This user's place in circuit attribute list is preserved user's place in circuit relevant information; The identification information of this multi protocol label switch label table record virtual circuit label.
Said method, wherein, further comprise in the described step 2: the type that described transaction card is discerned described message is described inner multi protocol label exchange message, parse user's place in circuit information of this message, utilize this circuit information inquiry to be positioned at described user's place in circuit attribute list of this transaction card, obtain the place in circuit type, the sign of virtual circuit label, inquire about the virtual circuit label list with the sign of this virtual circuit label again, obtain the ectonexine label at outlet opposite end provider edge, next jumps media access control information, and according to the described place in circuit type package data message that is described edge-to-edge pseudo-line simulation form, send this message to described master control borad exchange chip, and carry out service quality mapping; If do not find described next jump media access control information, then send corresponding message to described master control borad CPU, transmit described inner multi protocol label exchange message or trigger address resolution protocol and resolve next and jump media access control information by this CPU.
Said method, wherein, among the described step B, described transaction card extracts tunnel label and virtual circuit label, with this virtual circuit searching label multi protocol label switch label table, obtains the sign of virtual circuit label, inquire about the virtual circuit label list with the sign of this virtual circuit label again, obtain user's place in circuit index, utilize this search index user place in circuit attribute list then, obtain edge-to-edge pseudo-line simulation outlet circuit and packaging information; Again encapsulating this data message is that described inner multi protocol label exchanges message and sends this message to described master control borad exchange chip, and carries out service quality mapping.
Said method wherein, sends this message after the described master control borad exchange chip at described multi protocol label exchange transaction card, and this master control borad exchange chip is forwarded to described user's plate with this message; The field programmable logic array of described user's plate is received the message of sending, judge if described inner multi protocol label exchange message, then decapsulation is taken out edge-to-edge pseudo-line simulation outlet circuit information, is removed medium access control head, information of virtual local area network and type field in this message, sends to edge-to-edge pseudo-line simulation outlet circuit with the Payload taking-up and after carrying out corresponding operating; If judge it is non-pseudo wire emulation edge-to-edge business message, then be switched directly to user port.
Said method, wherein, before the described step B, described outside multi protocol label exchange message is switched to after the described transaction card, and this transaction card is discerned this message if the control message is then delivered to master control borad CPU with this message.
Said method, wherein, the described inner multi protocol label exchange message after the encapsulation comprises purpose Media Access Control address, source Media Access Control address, internal head, type of message, Payload at least;
And the type of message after this encapsulation is designated inner multi protocol label exchange, and described internal head comprises user's place in circuit information, message length.
A kind of device of realizing edge-to-edge pseudo-line simulation, comprise DSLAM, this multiplexer comprises master control borad, user's plate, upper connective plate at least, and increases a multi protocol label exchange transaction card, and this transaction card takies a physical slot position of this multiplexer; Described user's plate comprises the exchange device, and described master control borad comprises exchange chip; Described exchange device on described user's plate is connected with the inline mouth of described exchange chip by interface; Described transaction card is connected with the inline mouth of described exchange chip by Media Independent Interface; Described exchange chip is connected with described upper connective plate by interface.
Said apparatus, wherein, described master control borad further comprises a CPU, if described multi protocol label exchange transaction card receives the multi protocol label exchange message of down direction, and judges that this message is the control message, then directly is sent to described CPU with this message.
Said apparatus, wherein, the exchange device on described user's plate adopts field programmable logic array, and this field programmable logic array is connected by the inline mouth of upper united mouth with the exchange chip of described master control borad; And this field programmable logic array has user's place in circuit attribute list, the relevant information of preserving user's place in circuit in this table, and the index of this table is user's place in circuit sign.
Said apparatus, wherein, described multi protocol label exchange transaction card is realized virtual circuit label list, user's place in circuit attribute list, multi protocol label switch label table; Described virtual circuit label list is preserved multi protocol label switch label and corresponding user's place in circuit index; Described user's place in circuit attribute list is preserved user's place in circuit relevant information; The identification information of described multi protocol label switch label table record virtual circuit label.
Said apparatus, wherein, uplink data messages is exchanged to the exchange chip of described master control borad by described user's plate, this exchange chip exchanges to described multi protocol label exchange transaction card with the data message from the pseudo wire emulation edge-to-edge business circuit in this uplink data messages, this transaction card is encapsulated as this data message the message of edge-to-edge pseudo-line simulation form, send this message to described exchange chip, this exchange chip sends this message switching to described upper connective plate and the port by this upper connective plate.
Said apparatus, wherein, downlink data message enters described upper connective plate, this upper connective plate sends to this message the exchange chip of described master control borad, this exchange chip sends to described multi protocol label exchange transaction card with outside multi protocol label exchange message wherein, this transaction card is encapsulated as inner multi protocol label exchange message with this message after obtaining edge-to-edge pseudo-line simulation outlet circuit and packaging information according to this message, and send this message to described exchange chip, be forwarded to described user's plate by this exchange chip, this message of this user's plate decapsulation takes out Payload and sends by edge-to-edge pseudo-line simulation outlet circuit.
Use technical scheme of the present invention, increased a MPLS transaction card, this transaction card has the protocol processes function, makes and realized the PWE3 business on IP-DSLAM; And owing to increased user's place in circuit attribute list, the user's data message according to the information in this user's place in circuit attribute list form exchange to the master control borad exchange chip behind the inner MPLS message after, this inside MPLS message has guaranteed can not lose user's place in circuit information.
Description of drawings
Fig. 1 is the business model schematic diagram of PWE3 business on PSN;
Fig. 2 is the up PWE3 business datum of an embodiment of the invention message forwarding process schematic diagram;
Fig. 3 is the descending PWE3 business datum of an embodiment of the invention message forwarding process schematic diagram;
Fig. 4 is up PWE3 business datum message flow chart for embodiment of the invention FPGA handles;
Fig. 5 is the inner MPLS message schematic diagram of encapsulation between embodiment of the invention FPGA and the MPLS transaction card;
Fig. 6 is that embodiment of the invention MPLS transaction card is handled PWE3 business datum message flow chart;
Fig. 7 realizes the apparatus structure schematic diagram of edge-to-edge pseudo-line simulation for the embodiment of the invention.
Embodiment
For making purpose of the present invention, technical scheme and implementation result clearer, below in conjunction with the accompanying drawings and the specific embodiments technical scheme of the present invention is described in detail.
The purpose of this invention is to provide a kind of method and apparatus of on IP-DSLAM, realizing the PWE3 function.For achieving the above object, on IP-DSLAM equipment, increase a MPLS transaction card, this card takies the physical slot position of IP-DSLAM, and by MII interface and master control borad exchange chip inline mouthful is connected, this MPLS transaction card has the protocol processes function, can carry out the encapsulation and the conversion of mpls protocol processing and data message.The exchange device of user's plate adopts FPGA, and this FPGA supports the relevant configuration of PWE3 service circuit.
The flow process of PWE3 business is finished jointly by FPGA, master control borad exchange chip, the MPLS transaction card of user's plate; Wherein, the master control borad exchange chip is finished the data exchanging function of PWE3 business datum between user's plate and MPLS transaction card, the FPGA of user's plate and MPLS transaction card to the PWE3 data message make amendment, operation such as encapsulation, decapsulation, the specific implementation flow process is as follows:
On the FPGA of user's plate, realize user's place in circuit attribute list, the relevant information of preserving user's place in circuit, the index of this table is user's place in circuit sign.When user's plate is received data message from the PWE3 service circuit, be identified at according to described user's place in circuit and carry out matched and searched in this table, the relevant information of the user's place in circuit that inquires will be packaged in the inside MPLS message of neotectonics, should inside MPLS message be customization type wherein, be used for the PWE3 service message on the MPLS transaction card identification up direction, so that in message switching to the MPLS transaction card, the MPLS transaction card can obtain the relevant information of user's place in circuit, thereby determines that PWE3 connects and according to the dissimilar encapsulation of carrying out different-format of user's place in circuit.
Realize virtual circuit (VC, Virtual Circuit) label list, user's place in circuit attribute list, MPLS label list on the MPLS transaction card; Wherein the VC label list is preserved the MPLS label, and this MPLS label comprises vpn label, i.e. the PW label; Outer layer label, i.e. tunnel label, and corresponding user's place in circuit index, this index is VC ID; User's place in circuit attribute list is preserved user's place in circuit relevant information, for example circuit types, VC ID etc., and index identifies for user's place in circuit; The MPLS label list comprises information such as VC ID, and index is the VC label.
Adopt the IP-DSLAM equipment that increases the MPLS transaction card described above, realize the transmission of user data message, wherein, user data message up direction is meant that this data message is up to the PSN network from CE, the processing procedure of this data message comprises following steps as shown in Figure 2:
Step 201. user's data message enters user's plate, and user's plate is discerned user's place in circuit of this data message, and the user's place in circuit attribute list among the FPGA on the inquiring user plate.If finding this place in circuit is the PWE3 service circuit, encapsulation forms inner MPLS message as Payload then the data message that receives to be handled the back, this inside MPLS message has increased purpose medium access control (MAC, MediaAccess Control) parameters such as address, source MAC, user's place in circuit information, message length, and be inner MPLS message with the type identification of this message; For the data message on the non-PWE3 service circuit, described FPGA carries out two layers of exchange according to the target MAC (Media Access Control) address of this message and the information of VLAN (VLAN, Virtual Local Area Network) ID.
Step 202. user plate FPGA sends to the master control borad exchange chip to the inside MPLS message of neotectonics, and this exchange chip should inside MPLS message switching arrive the MPLS transaction card by the type of this inside MPLS message of identification reception or according to the target MAC (Media Access Control) address in this message; If the data message of right and wrong PWE3 service circuit, this exchange chip is switched directly to upper connective plate with it.
The described inner MPLS message switching of step 203. is behind the MPLS transaction card, it is inner MPLS message that the MPLS transaction card is discerned this type of message, then parse the information of the original user place in circuit of this data message, utilize this information inquiry to be arranged in user's place in circuit attribute list of MPLS transaction card, obtain place in circuit type, VC ID etc.; Again with this VC ID inquiry VC label list, obtain the information such as ectonexine label, next-hop MAC of outlet opposite end PE, the encapsulation formation of carrying out data message according to described place in circuit type meets the message of PWE3 form, and carries out service quality (QoS, Quality of Service) mapping.
If step 204. finds next-hop mac address, then this MAC Address is encapsulated in header, send this message to the master control borad exchange chip; If do not find next-hop mac address, then send a message to master control borad CPU, transmit the MPLS message or trigger address resolution protocol (ARP, AddressResolution Protocol) parsing next-hop mac address by this CPU.Dotted line among the figure is represented control information, does not transmit control message to CPU when the MPLS transaction card finds next-hop mac address.
Step 205. master control borad exchange chip carries out two layers of exchange to the message that meets the PWE3 form from the MPLS transaction card, sends this message to upper connective plate.
Step 206. upper connective plate is not done other processing, directly sends this message.
The increase of adopt describing the IP-DSLAM equipment of MPLS transaction card realize the transmission of user data message, wherein, user data message down direction is meant that this data message goes downwards to CE from the PSN network, it is the inverse process of up direction, the processing procedure of this data message comprises following steps as shown in Figure 3:
Step 301~302. downlink data messages enter upper connective plate, and this upper connective plate does not deal with this message and directly sends to the master control borad exchange chip.
Step 303. master control borad exchange chip is judged the type of this message, if outside MPLS message then sends to message the MPLS transaction card; Exchange to user's plate otherwise directly carry out two or three layers, promptly walk normal flow process.
The message that the identification of step 304.MPLS transaction card is received is if MPLS control message then sends to master control borad CPU by the dotted line D1 that identifies among the figure and handles; If outside MPLS data message then extracts tunnel label, i.e. outer layer label, with the VC label, promptly vpn label is used VC searching label MPLS label list, obtain VC ID, with this VC ID inquiry VC label list, obtain user's place in circuit index again, utilize this search index user place in circuit attribute list then, obtain PWE3 outlet circuit and packaging information, again encapsulate this data message and form inner MPLS message, and carry out the QoS mapping, send this message then to the master control borad exchange chip.
Step 305. master control borad exchange chip carries out Layer 2 data and is forwarded to user's plate.
Step 306. user plate FPGA receives the message that exchange chip is sent, find if inner MPLS message, carrying out corresponding decapsulation handles, take out PWE3 outlet circuit information, remove the fields such as MAC head, vlan information and type in the message, Payload is taken out carry out sending to PWE3 outlet circuit after the respective handling; Non-PWE3 service message mails to user port by normal two layers of exchange flow process.
A kind of method that realizes the IP-DSLAM equipment of pseudo wire emulation edge-to-edge business and on this IP-DSLAM equipment, realize pseudo wire emulation edge-to-edge business of the present invention, make on IP-DSLAM and to support the PWE3 service application, the data transparency of user side is sent to far-end CE.By in IP-DSLAM equipment, increasing a MPLS transaction card, not only can realize the point-to-point PWE3 service application of two layers of same principle (like-to-like) well, has favorable expansibility for demands such as three layers of MPLS vpn service that may occur later on, virtual special local area network service (VPLS, Virtual Private LAN Service) business, PWE3 isomery place in circuit business.
Describe a preferred embodiment of the present invention in detail below in conjunction with accompanying drawing.Behind the system initialization at IP-DSLAM equipment place, configuring static route or dynamic routing protocol, label allocation distribution protocol (LDP, Label Distribution Protocol) or other label protocols, like this, IP-DSLAM will learn all routing iinformations and the corresponding label information on the network.Configuration PWE3 service circuit and the VC ID on this service circuit, the IP address of far-end PE, the parameters such as mode of operation of service circuit, system can carry out the PWE3 establishment of connection and all list items of each table in FPGA, the MPLS transaction card are set.When described all command configuration finish and IP-DSLAM study stable after, system just can transmit the data on the PWE3 service circuit.As shown in Figure 4, be that embodiment of the invention FPGA handles up PWE3 business datum message flow chart:
Step 401. user plate is received the data message that user's place in circuit is sent.
Step 402.FPGA inquiry is positioned at user's place in circuit attribute list of user's plate, whether judges this data message from the PWE3 service circuit, if change step 404, otherwise changes step 403.
Step 403. data message directly carries out two layers of exchange.
Step 404. judges whether this message is the ATM type, if change step 406, otherwise changes step 405
Step 405. is for the Ethernet message, removes checksum field and extracts the data of remainder.
Step 406. then will be analyzed the mode of operation of place in circuit for the ATM message, judges whether it is ATM Adaptation Layer 5 (AAL5, ATM Adaptation Layer 5) pattern, if then change step 407, otherwise changes step 408.
Step 407. is extracted the Common Part Convergence Sublayer (CPCS, Common PartConvergence Sublayer) of AAL5, protocol Data Unit (PDU, Protocol Data Unit).
Step 408. data message is a cell-mode, then extracts whole cell data.
As shown in Figure 5, the Payload that extracts in the above step is carried out the ethernet frame encapsulation, promptly be encapsulated as inner MPLS message; According to place in circuit place veneer structure, the inside MPLS message after the encapsulation comprises five main parts at least usually: target MAC (Media Access Control) address 501, and the MPLS transaction card is pointed in this address; Source MAC 502; Ethernet type 503, the type are labeled as inner MPLS; Internal data 504, this internal data head comprises information such as data type, valid data length, control word; Payload data 505.
Packaged inside MPLS message is sent to the master control borad exchange chip from the upper united mouth of the FPGA of user's plate, this master control borad exchange chip again should inside MPLS message switching to the MPLS transaction card.
As shown in Figure 6, described in up or descending process, after the master control borad exchange chip exchanged to the MPLS transaction card with described data message, this MPLS transaction card was handled the step of the data message that is received:
Step 601.MPLS transaction card receives the data message that the master control borad exchange chip forwards.
Step 602. judges that this data message is uplink message or control message, if uplink message changes step 603, otherwise changes step 606.
Step 603. parses the ifq circuit information of this uplink message, utilizes this circuit information inquiring user place in circuit attribute list, obtains VC ID.
Step 604. is obtained the ectonexine label of opposite end PE again with this VC ID inquiry VC label list, and information such as next-hop mac address.
Step 605. is carried out the encapsulation of the PWE3 data message of standard according to the place in circuit type, sends to the master control borad exchange chip after this data message encapsulation is finished, and carries out two layers of exchange after the master control borad exchange chip receives data are sent from upper connective plate.
Step 606.MPLS transaction card judges whether the data message that receives is the control message, if change step 607, otherwise changes step 608.
Step 607. directly will be controlled message and be sent to the CPU processing that is positioned at master control borad.
Step 608. take out to be extracted tunnel label, i.e. outer layer label and VC label, and promptly vpn label with VC searching label MPLS label list, obtains VC ID.
Step 609. with VC ID inquiry VC label list, obtains user's place in circuit index again.
Step 610. is utilized this user's place in circuit search index user place in circuit interface attributes table, obtains exporting circuit and packaging information.
Step 611. is according to the form of Fig. 5 encapsulation of data message again, wherein purpose MAC is the MAC Address of user's plate, source MAC is the MAC Address of MPLS transaction card, the encapsulation back forms inner MPLS message, and carry out QoS mapping, send this inside MPLS message then to the master control borad exchange chip, the master control borad exchange chip carries out two layers of forwarding and is sent to user's plate.
After user's plate receives the PWE3 business datum message of down direction, whether the target MAC (Media Access Control) address of judging this message is the MAC Address of the PWE3 business configuration of this user's plate, if not then directly abandoning, otherwise from this message, extract the outlet circuit information, remove fields such as MAC head, vlan information and type, respective handling is carried out in the Payload taking-up send to outlet PWE3 circuit.
Corresponding with the method for describing, the present invention also provides a kind of device of realizing edge-to-edge pseudo-line simulation, as shown in Figure 7, this device comprises user's plate 701, master control borad 702, MPLS transaction card 703, upper connective plate 704, and described upper connective plate also can be called up ply-yarn drill.Described transaction card 703 takies a physical slot position on DSLAM; Described user's plate 701 comprises the exchange device, and described master control borad 702 comprises exchange chip; Exchange device on described user's plate 701 is connected by the inline mouth of interface with the exchange chip of described master control borad 702; Described transaction card 703 is connected by the inline mouth of Media Independent Interface with the exchange chip of master control borad 702; The exchange chip of described master control borad 702 is connected with upper connective plate 704.
Described master control borad 702 further comprises a CPU705, if described multi protocol label exchange transaction card 703 receives the multi protocol label exchange message of down direction, and judge that this message is the control message, then directly is sent to this message the CPU705 on the master control borad 702.
Exchange device on described user's plate 701 adopts field programmable logic array, and this field programmable logic array is connected by the inline mouth of upper united mouth with the exchange chip of master control borad 702; And this field programmable logic array has user's place in circuit attribute list, the relevant information of preserving user's place in circuit in this table, and the index of this table is user's place in circuit sign.
Described multi protocol label exchange transaction card 703 is realized virtual circuit label list, user's place in circuit attribute list, multi protocol label switch label table;
Wherein the virtual circuit label list is preserved multi protocol label switch label and corresponding user's place in circuit index; User's place in circuit attribute list is preserved user's place in circuit relevant information; The identification information of multi protocol label switch label table record virtual circuit label.
Uplink data messages is exchanged to the exchange chip of master control borad 702 by user's plate 701, the exchange chip of this master control borad 702 exchanges to multi protocol label exchange transaction card 703 with the data message from the pseudo wire emulation edge-to-edge business circuit in the described uplink data messages, 703 pairs of these data messages of this transaction card are encapsulated as the message of edge-to-edge pseudo-line simulation form, send the exchange chip of this message to master control borad 702 then, the exchange chip of master control borad 702 sends this message switching to upper connective plate 704 and the port by this upper connective plate 704.
Downlink data message enters upper connective plate 704, this upper connective plate 704 sends to this message the exchange chip of master control borad 702, this exchange chip sends to multi protocol label exchange transaction card 703 with outside multi protocol label exchange message wherein, multi protocol label exchange transaction card 703 is encapsulated as inner multi protocol label exchange message with this message after obtaining edge-to-edge pseudo-line simulation outlet circuit and packaging information according to this message, and this message sent the exchange chip of this message to master control borad 702, exchange chip by master control borad 702 is forwarded to user's plate 701, and this message of user's plate 701 decapsulations takes out Payload and sends by edge-to-edge pseudo-line simulation outlet circuit.
Should be noted that above embodiment is only unrestricted in order to technical scheme of the present invention to be described, all parameter values can be according to the actual conditions adjustment, and in this rights protection scope.Those of ordinary skill in the art should be appreciated that and can make amendment or be equal to replacement technical scheme of the present invention, and do not break away from the spiritual scope of technical solution of the present invention, and it all should be encompassed in the middle of the claim scope of the present invention.

Claims (18)

1. a method that realizes edge-to-edge pseudo-line simulation comprises up process and descending process, it is characterized in that, in described up process and descending process, a multi protocol label exchange transaction card is set, and described up process comprises further:
Step 1. the inside multi protocol label exchange message that the master control borad exchange chip will be received is transmitted to described transaction card;
Step 2. this transaction card should exchange the data message that message is encapsulated as the edge-to-edge pseudo-line simulation form by the inside multi protocol label, and this message switching is arrived described exchange chip;
Described descending process further comprises:
Steps A. the outside multi protocol label exchange message that described exchange chip will be received is transmitted to described transaction card;
The data message that this transaction card of step B. will exchange in the message is encapsulated as described inner multi protocol label exchange message, and this exchange message switching after will encapsulating is to described exchange chip.
2. method according to claim 1, it is characterized in that, before the described step 1, data message enters user's plate, the exchange device of this user's plate will be encapsulated as inner multi protocol label exchange message from the described data message of pseudo wire emulation edge-to-edge business circuit, and exchange to described master control borad exchange chip by interface;
After the described step 2, the data message of described edge-to-edge pseudo-line simulation form is exchanged to upper connective plate to described master control borad exchange chip and the port by this upper connective plate sends.
3. method according to claim 1 is characterized in that, before the described steps A, descending data message enters upper connective plate, and this upper connective plate sends to described master control borad exchange chip with this data message, and this exchange chip is judged the type of this message;
If the type of this message is outside multi protocol label exchange message then this message switching is arrived described transaction card, otherwise this message is switched directly to user's plate;
After the step B, described inner multi protocol label exchange message is forwarded to described user's plate by described master control borad exchange chip, and this user's plate carries out decapsulation, and the Payload that takes out in this exchange message sends by edge-to-edge pseudo-line simulation outlet circuit.
4. according to claim 2 or 3 described methods, it is characterized in that, described user's plate comes the swap data message by described exchange device, and this exchange device adopts field programmable logic array, and this field programmable logic array is supported the relevant configuration of pseudo wire emulation edge-to-edge business circuit;
And there is user's place in circuit attribute list on this field programmable logic array, the relevant information of preserving user's place in circuit in this table, the index of this table is user's place in circuit sign.
5. method according to claim 4 is characterized in that, in up process, after described data message entered user's plate, this user's plate was discerned user's place in circuit of this message, and inquired about described user's place in circuit attribute list according to this user's place in circuit;
If this place in circuit is the pseudo wire emulation edge-to-edge business circuit, then this data message is encapsulated as described inner multi protocol label exchange message as Payload, exchange to described master control borad exchange chip then;
For the described data message that non-pseudo wire emulation edge-to-edge business circuit transmits, described field programmable logic array arrives described master control borad exchange chip according to the purpose Media Access Control address of this message and the information exchange of VLAN ID.
6. method according to claim 5, it is characterized in that, in up process, described master control borad exchange chip exchanges transaction card with described inner multi protocol label exchange message switching to described multi protocol label by the type of recognition data message or according to the purpose Media Access Control address; To be switched directly to upper connective plate from the data message of non-pseudo wire emulation edge-to-edge business circuit.
7. method according to claim 1 is characterized in that, described multi protocol label exchange transaction card is realized virtual circuit label list, user's place in circuit attribute list, multi protocol label switch label table;
This virtual circuit label list is preserved virtual circuit label and corresponding user's place in circuit index; This user's place in circuit attribute list is preserved user's place in circuit relevant information; The identification information of this multi protocol label switch label table record virtual circuit label.
8. according to claim 1 or 7 described methods, it is characterized in that, further comprise in the described step 2: the type that described transaction card is discerned described message is described inner multi protocol label exchange message, parse user's place in circuit information of this message, utilize this circuit information inquiry to be positioned at described user's place in circuit attribute list of this transaction card, obtain the place in circuit type, the sign of virtual circuit label, inquire about the virtual circuit label list with the sign of this virtual circuit label again, obtain the ectonexine label at outlet opposite end provider edge, next jumps media access control information, and according to the described place in circuit type package data message that is described edge-to-edge pseudo-line simulation form, send this message to described master control borad exchange chip, and carry out service quality mapping;
If do not find described next jump media access control information, then send corresponding message to described master control borad CPU, transmit described inner multi protocol label exchange message or trigger address resolution protocol and resolve next and jump media access control information by this CPU.
9. according to claim 1 or 7 described methods, it is characterized in that, among the described step B, described transaction card extracts tunnel label and virtual circuit label, with this virtual circuit searching label multi protocol label switch label table, obtains the sign of virtual circuit label, inquire about the virtual circuit label list with the sign of this virtual circuit label again, obtain user's place in circuit index, utilize this search index user place in circuit attribute list then, obtain edge-to-edge pseudo-line simulation outlet circuit and packaging information; Again encapsulating this data message is that described inner multi protocol label exchanges message and sends this message to described master control borad exchange chip, and carries out service quality mapping.
10. method according to claim 9 is characterized in that, sends this message after the described master control borad exchange chip at described multi protocol label exchange transaction card, and this master control borad exchange chip is forwarded to described user's plate with this message;
The field programmable logic array of described user's plate is received the message of sending, judge if described inner multi protocol label exchange message, then decapsulation is taken out edge-to-edge pseudo-line simulation outlet circuit information, is removed medium access control head, information of virtual local area network and type field in this message, sends to edge-to-edge pseudo-line simulation outlet circuit with the Payload taking-up and after carrying out corresponding operating; If judge it is non-pseudo wire emulation edge-to-edge business message, then be switched directly to user port.
11. method according to claim 1 is characterized in that, before the described step B, described outside multi protocol label exchange message is switched to after the described transaction card, and this transaction card is discerned this message if the control message is then delivered to master control borad CPU with this message.
12. method according to claim 1 is characterized in that, the described inner multi protocol label exchange message after the encapsulation comprises purpose Media Access Control address, source Media Access Control address, internal head, type of message, Payload at least;
And the type of message after this encapsulation is designated inner multi protocol label exchange, and described internal head comprises user's place in circuit information, message length.
13. device of realizing edge-to-edge pseudo-line simulation, comprise DSLAM, it is characterized in that, this multiplexer comprises master control borad, user's plate, upper connective plate at least, and increasing a multi protocol label exchange transaction card, this transaction card takies a physical slot position of this multiplexer;
Described user's plate comprises the exchange device, and described master control borad comprises exchange chip;
Described exchange device on described user's plate is connected with the inline mouth of described exchange chip by interface; Described transaction card is connected with the inline mouth of described exchange chip by Media Independent Interface; Described exchange chip is connected with described upper connective plate by interface.
14. device according to claim 13, it is characterized in that, described master control borad further comprises a CPU, if described multi protocol label exchange transaction card receives the multi protocol label exchange message of down direction, and judge that this message is the control message, then directly is sent to described CPU with this message.
15. device according to claim 13 is characterized in that, the exchange device on described user's plate adopts field programmable logic array, and this field programmable logic array is connected by the inline mouth of upper united mouth with the exchange chip of described master control borad; And this field programmable logic array has user's place in circuit attribute list, the relevant information of preserving user's place in circuit in this table, and the index of this table is user's place in circuit sign.
16. device according to claim 13 is characterized in that, described multi protocol label exchange transaction card is realized virtual circuit label list, user's place in circuit attribute list, multi protocol label switch label table;
Described virtual circuit label list is preserved multi protocol label switch label and corresponding user's place in circuit index; Described user's place in circuit attribute list is preserved user's place in circuit relevant information; The identification information of described multi protocol label switch label table record virtual circuit label.
17. according to claim 13,14,15 or 16 described devices, it is characterized in that, uplink data messages is exchanged to the exchange chip of described master control borad by described user's plate, this exchange chip exchanges to described multi protocol label exchange transaction card with the data message from the pseudo wire emulation edge-to-edge business circuit in this uplink data messages, this transaction card is encapsulated as this data message the message of edge-to-edge pseudo-line simulation form, send this message to described exchange chip, this exchange chip sends this message switching to described upper connective plate and the port by this upper connective plate.
18. according to claim 13,14,15 or 16 described devices, it is characterized in that, downlink data message enters described upper connective plate, this upper connective plate sends to this message the exchange chip of described master control borad, this exchange chip sends to described multi protocol label exchange transaction card with outside multi protocol label exchange message wherein, this transaction card is encapsulated as inner multi protocol label exchange message with this message after obtaining edge-to-edge pseudo-line simulation outlet circuit and packaging information according to this message, and send this message to described exchange chip, be forwarded to described user's plate by this exchange chip, this message of this user's plate decapsulation takes out Payload and sends by edge-to-edge pseudo-line simulation outlet circuit.
CNB2007101202231A 2007-08-13 2007-08-13 A kind of method and apparatus of realizing edge-to-edge pseudo-line simulation Expired - Fee Related CN100555999C (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNB2007101202231A CN100555999C (en) 2007-08-13 2007-08-13 A kind of method and apparatus of realizing edge-to-edge pseudo-line simulation
PCT/CN2007/003542 WO2009021371A1 (en) 2007-08-13 2007-12-11 A method and a device for implementing pseudo wire emulation edge to edge

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007101202231A CN100555999C (en) 2007-08-13 2007-08-13 A kind of method and apparatus of realizing edge-to-edge pseudo-line simulation

Publications (2)

Publication Number Publication Date
CN101115005A CN101115005A (en) 2008-01-30
CN100555999C true CN100555999C (en) 2009-10-28

Family

ID=39023129

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007101202231A Expired - Fee Related CN100555999C (en) 2007-08-13 2007-08-13 A kind of method and apparatus of realizing edge-to-edge pseudo-line simulation

Country Status (2)

Country Link
CN (1) CN100555999C (en)
WO (1) WO2009021371A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811381A (en) * 2015-04-30 2015-07-29 瑞斯康达科技发展股份有限公司 Label-based data transmission method and label-based data transmission equipment under distributed environment

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729361B (en) * 2008-10-22 2012-05-02 华为技术有限公司 Method and device for processing message
CN101610217B (en) * 2009-06-05 2011-08-24 中兴通讯股份有限公司 Method for implementing message transmission between extensible processor and switch chip and system thereof
CN101931582B (en) * 2009-06-24 2012-07-18 中兴通讯股份有限公司 Method and device for implementing Ethernet two-layer pseudo wire emulation service
CN101827030B (en) * 2010-04-21 2013-04-17 杭州华三通信技术有限公司 Method and device for processing MPLS message
US8345682B2 (en) * 2010-09-15 2013-01-01 Cisco Technology, Inc. Data path processing information included in the pseudowire layer of packets
US9419892B2 (en) * 2013-09-30 2016-08-16 Juniper Networks, Inc. Methods and apparatus for implementing connectivity between edge devices via a switch fabric
CN108989915B (en) * 2018-06-14 2020-07-14 烽火通信科技股份有限公司 Method and system for O L T slicing of access network based on ONU granularity
CN109450826B (en) * 2018-12-27 2020-10-23 Ut斯达康通讯有限公司 Message processing method and device
CN112130859A (en) * 2019-06-25 2020-12-25 深信服科技股份有限公司 Application operation method, device, equipment and storage medium
CN110992671B (en) * 2019-12-16 2020-11-20 宁波三星医疗电气股份有限公司 Ammeter address forwarding method, device and system and electronic equipment
CN112398755B (en) * 2020-11-23 2023-10-24 北京锐安科技有限公司 Traffic forwarding method, service card and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1625176B (en) * 2003-12-03 2010-04-28 华为技术有限公司 Realization method of edge to edge pseudo-line simulation protocol
CN100488164C (en) * 2005-09-22 2009-05-13 华为技术有限公司 MSTP device and method for realizing pseudo wire emulation edge-to-edge business
US20070086448A1 (en) * 2005-10-17 2007-04-19 Sbc Knowledge Ventures Lp Integrated pseudo-wire and virtual routing and forwarding on a single provider edge router
US20070127479A1 (en) * 2005-12-05 2007-06-07 David Sinicrope A method and arrangement for distributed pseudo-wire signaling

Cited By (2)

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

Also Published As

Publication number Publication date
CN101115005A (en) 2008-01-30
WO2009021371A1 (en) 2009-02-19

Similar Documents

Publication Publication Date Title
CN100555999C (en) A kind of method and apparatus of realizing edge-to-edge pseudo-line simulation
CN1625176B (en) Realization method of edge to edge pseudo-line simulation protocol
US7386010B2 (en) Multiprotocol media conversion
US8693323B1 (en) System and method for managing communications in an access network
US7756125B2 (en) Method and arrangement for routing pseudo-wire encapsulated packets
CN100403735C (en) Method and system for realizing binding interface edge-to-edge pseudo wire simulation service
US20010049739A1 (en) Apparatus and method for interworking between MPLS network and non-MPLS network
EP2326059B1 (en) Mapping method, apparatus and system for data transmission
US7433359B2 (en) Application of an Ethernet/MPLS half bridge to provide Ethernet multiplexing functions (EMF) in SONET network elements (NEs)
CN101110745A (en) Method, device and system for engaging second layer network and third layer network
MX2007008112A (en) Connection-oriented communications scheme for connection-less communications traffic.
WO2008092357A1 (en) A method and device for establishing a pseudo wire tunnel and transmitting message using it
CN100563215C (en) A kind of packet routing switch device and method thereof
CN101926132B (en) Circuit emulation over ip interworking vll
EP2485451B1 (en) Two-layer forwarding method for a pseudo wire (pw) service and system thereof
US20090010265A1 (en) Flexible mapping of virtual local area networks to Ethernet virtual circuits
CN100466590C (en) Method for sharing V-Switch transparent-transferring data load
CA2590613C (en) Method and system for forwarding an mpls packet
US7797444B2 (en) Data transfer apparatus and data transfer system
US20020194368A1 (en) Packet routing apparatus having label switching function
WO2007104201A1 (en) A method for forwarding message in the service tunnel of the ethernet application and a system thereof
CN103716220B (en) A kind of data transmission method and its device
WO2012000282A1 (en) Method for implementing time division multiplex (tdm) service relay in access device and access device thehrof
CN111683307B (en) Method and system for accessing service under OLT (optical line terminal) multi-stage exchange
CN101827012A (en) Packet transmitting network as well as method for bearing services of pure three layers of IP packets and outlet node

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091028

Termination date: 20170813

CF01 Termination of patent right due to non-payment of annual fee