CN102239681B - Method, network equipment and system for data transmission - Google Patents

Method, network equipment and system for data transmission Download PDF

Info

Publication number
CN102239681B
CN102239681B CN201180000599.3A CN201180000599A CN102239681B CN 102239681 B CN102239681 B CN 102239681B CN 201180000599 A CN201180000599 A CN 201180000599A CN 102239681 B CN102239681 B CN 102239681B
Authority
CN
China
Prior art keywords
equipment
uni
mac address
packet
source
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.)
Active
Application number
CN201180000599.3A
Other languages
Chinese (zh)
Other versions
CN102239681A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN102239681A publication Critical patent/CN102239681A/en
Application granted granted Critical
Publication of CN102239681B publication Critical patent/CN102239681B/en
Active 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
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]

Landscapes

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

Abstract

The embodiments of the present invention provide a method, network equipment and system for data transmission, wherein the method includes: establishing an Label Switched Path (LSP) to a destination UNI-Client (C) equipment via a source User Network Interface (UNI)-Network (N)equipment and a destination UNI-N equipment; generating a data packet which is transmitted to the destination UNI-C equipment and carries a certain Media Access Control (MAC) address in the destination MAC address field; transmitting the data packet on the LSP, so as to enable the data packet to carry the MAC address which can be identified by the destination UNI-C equipment when the data packet is outputted from the destination UNI-N equipment. By carrying a certain MAC address in the destination MAC address field of the data packet, the source UNI-C equipment can encapsulate the data packet. As the data packet carries the MAC address which can be identified by the destination UNI-C equipment when the data packet outflows from the transmission network, the destination UNI-C equipment can identify the data packet, thereby achieving the communication between the UNI-C equipments. Therefore, the UNI-C equipmentcan use the transmission network to perform efficient data transmission, thus achieving the convergence of transmission network and data network.

Description

The method, the network equipment and the system that are used for transfer of data
Technical field
The present invention relates to network communication field, and more specifically, relate to the method, the network equipment and the system that are used for transfer of data in the network communication field.
Background technology
In traditional transmission network, professional foundation is all by static appointment.Continuous development along with 3G (Third Generation) Moblie, Packet Service, broadband services, professional uncertainty and Unpredictability increase gradually, the network bandwidth is had higher requirement, the traditional approach of static configuration business more and more can not satisfy the needs of network application, so produced the GMPLS agreement (Generalized Multi-Protocol Label Switching, GMPLS).
GMPLS can be considered as forming by transmitting plane, control plane and three planes of management plane.The calling that control plane mainly is responsible for the control network connects, and finishes the dynamic control that transmits the plane by the signaling exchange; Management plane will transmit plane, control plane and system and do as a whole managing, and realize the coordination of function; Transmit the plane and be responsible for professional transmission, but its switching motion is to carry out under the effect of management plane and control plane.Compare with traditional optical-fiber network, the most outstanding feature of GMPLS is to have introduced independently control plane in transmitting net; And compare with traditional router, the most outstanding feature of GMPLS is to have introduced transmission network in data network, and the end-to-end service that speed is faster, bandwidth is bigger, performance is higher can be provided.
In the GMPLS network system, defined User Network Interface (User Network Interface, UNI).UNI be subscriber equipment to the interface of network, provide unified network access mode by UNI to subscriber equipment.Subscriber equipment need satisfy the uni interface standard, could insert the transmission network under the GMPLS network system, thereby utilizes the huge transmittability of transmission network.For example,, in order to utilize the huge transmittability of transmission network, just need dock with transmission network for example for the router for the equipment in the data communication network, so just need to realize uni interface.The uni interface two ends are respectively UNI-C (UNI-Client, UNI client's side) equipment and UNI-N (UNI-Network, the UNI network side) equipment, UNI-C equipment is to wish to utilize transmission network to transmit client's side apparatus of data, and UNI-N equipment is the transmission network equipment that UNI-C equipment inserts the porch of transmission network.
In correlation technique, IP (Internet Protocol, Internet protocol) the UNI-C equipment in the network can be set up label switched path (Label Switching Path via the UNI-C equipment of transmission network and opposite end, LSP), UNI-C equipment can utilize transmission network to carry out transfer of data efficiently via LSP like this.
Yet at present the GMPLS agreement is paid close attention in the control aspect and is set up link level transfer path end to end, even if the UNI-C equipment that is in the data network of UNI-C equipment and opposite end in the data network has been set up LSP, can not carry out active data communication.Reason is, because UNI-C equipment needs encapsulated data packet could outwards send data, but UNI-C equipment is being set up medium access control (the Media Access Control that can not learn opposite end UNI-C equipment in the LSP process with opposite end UNI-C equipment, MAC) address, thereby make that UNI-C equipment can not encapsulated data packet, set up good LSP so can not use.Even UNI-C equipment has sent packet, if this packet of opposite end UNI-C equipment nonrecognition, communication between the two still can't be carried out.
Summary of the invention
The embodiment of the invention provides method, the network equipment and the system that is used for transfer of data, make UNI-C equipment can utilize transmission network to carry out transfer of data, thereby can realize the fusion of transmission network and data network, the UNI-C equipment in the data network can not realized communication owing to the introducing of transmission network.
On the one hand, the embodiment of the invention provides a kind of method for transfer of data, comprising: with the LSP of purpose UNI-C equipment foundation via source UNI-N equipment and purpose UNI-N equipment; Generation is carried the packet of particular mac address to what purpose UNI-C equipment sent in the target MAC (Media Access Control) address field; Send described packet at LSP, so that packet carries the discernible MAC Address of purpose UNI-C equipment the target MAC (Media Access Control) address field when purpose UNI-N equipment is exported.
On the other hand, the embodiment of the invention provides a kind of method for transfer of data, comprise: when receiving the packet that source UNI-C equipment sends to purpose UNI-C equipment on LSP, the transmission network label that the deletion packet carries, wherein LSP is the LSP that source UNI-C equipment and purpose UNI-C equipment are set up via source UNI-N equipment and purpose UNI-N equipment; When the target MAC (Media Access Control) address field of packet is not carried the discernible MAC Address of purpose UNI-C equipment, fill the MAC Address of purpose UNI-C equipment in the target MAC (Media Access Control) address field of packet; Send the packet of the MAC Address of carrying purpose UNI-C equipment to purpose UNI-C equipment.
On the one hand, the embodiment of the invention provides a kind of network equipment, comprising again: set up module, be used for and the LSP of purpose UNI-C equipment foundation via source UNI-N equipment and purpose UNI-N equipment; Generation module be used for to generate to what purpose UNI-C equipment sent and carries the packet of particular mac address in the target MAC (Media Access Control) address field; First sending module is used for sending packet at LSP, so that packet carries the discernible MAC Address of purpose UNI-C equipment the target MAC (Media Access Control) address field when purpose UNI-N equipment is exported.
Another aspect, the embodiment of the invention provides a kind of network equipment, comprise: removing module, be used for when receiving that source UNI-C equipment is on LSP during to the packet of purpose UNI-C equipment transmission, the transmission network label that deletion institute packet carries, wherein LSP is the LSP that source UNI-C equipment and purpose UNI-C equipment are set up via source UNI-N equipment and the network equipment; Packing module is used for filling the MAC Address of purpose UNI-C equipment in the target MAC (Media Access Control) address field of packet when the target MAC (Media Access Control) address field of packet is not carried the discernible MAC Address of purpose UNI-C equipment; Sending module is used for carrying the packet of the MAC Address of purpose UNI-C equipment to the transmission of purpose UNI-C equipment.
Another aspect, the embodiment of the invention provide a kind of system for transfer of data, comprise source user network interface client side UNI-C equipment, source user network interface network side UNI-N equipment, purpose UNI-N equipment and source UNI-C equipment.Wherein, UNI-C equipment in source is used for and the LSP of purpose UNI-C equipment foundation via source UNI-N equipment and purpose UNI-N equipment; Generation is carried the packet of particular mac address to what purpose UNI-C equipment sent in the target MAC (Media Access Control) address field; Send packet at LSP.Source UNI-N equipment is used for the packet that reception sources UNI-C equipment sends, and adds the transmission network label at packet.Purpose UNI-N equipment is used for when receiving the packet of source UNI-N device forwards, deletion transmission network label; When the target MAC (Media Access Control) address field of packet is not carried the discernible MAC Address of purpose UNI-C equipment, in the MAC Address of the target MAC (Media Access Control) address field filling purpose UNI-C of packet equipment, send the packet of the MAC Address of carrying purpose UNI-C equipment to purpose UNI-C equipment; When the target MAC (Media Access Control) address field of packet is carried the discernible MAC Address of purpose UNI-C equipment, to purpose UNI-C equipment sending data bag.Purpose UNI-C equipment is used for receiving the packet of purpose UNI-N device forwards.
The technique scheme that provides according to the embodiment of the invention, carry particular mac address by the target MAC (Media Access Control) address field at packet, source UNI-C equipment can carry out the encapsulation of packet, thereby can send data to transmission network, and can't generate packet unlike correlation technique.When packet flows out from transmission network via LSP, in the target MAC (Media Access Control) address field of packet, carry the discernible MAC Address of purpose UNI-C equipment, UNI-C equipment can be identified this packet like this, thereby can realize the communication between the UNI-C equipment, the UNI-C equipment in the data network can not communicated by letter and is obstructed owing to the introducing of transmission network.Therefore, UNI-C equipment can utilize transmission network to carry out transfer of data efficiently, makes the fusion of transmission network and data network be achieved.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, to do to introduce simply to the accompanying drawing of required use among the embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those skilled in the art, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 be the embodiment of the invention based on the schematic diagram of example of network environment.
Fig. 2 is the flow chart according to the method that is used for transfer of data of the embodiment of the invention.
Fig. 3 is the flow chart according to the other method that is used for transfer of data of the embodiment of the invention.
Fig. 4 is the schematic diagram of the example of interacting message in the process of setting up the LSP between the UNI-C equipment according to the embodiment of the invention.
Fig. 5 is the flow chart of a method again that is used for transfer of data according to the embodiment of the invention.
Fig. 6 is the schematic diagram according to the example of the interacting message of the MAC Address of the source that the obtains UNI-N equipment of the embodiment of the invention.
Fig. 7 utilizes the MAC Address of the source UNI-N equipment obtain to carry out the schematic diagram of the example of transfer of data.
Fig. 8 is the flow chart according to the another method that is used for transfer of data of the embodiment of the invention.
Fig. 9 is the flow chart according to the another method that is used for transfer of data of the embodiment of the invention.
Figure 10 is the structured flowchart according to the network equipment of the embodiment of the invention.
Figure 11 is the structured flowchart according to another network equipment of the embodiment of the invention.
Figure 12 is the structured flowchart of a network equipment again according to the embodiment of the invention.
Figure 13 is the structured flowchart according to the another network equipment of the embodiment of the invention.
Figure 14 is the structured flowchart according to the another network equipment of the embodiment of the invention.
Figure 15 is the structured flowchart according to the system that is used for transfer of data of the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme of the embodiment of the invention is clearly and completely described, obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiment.Based on the described embodiment among the present invention, the every other embodiment that those skilled in the art obtain under the prerequisite of not making creative work should belong to the scope of protection of the invention.
The schematic diagram of the example of the network environment that the embodiment of the invention utilizes at first, is described in conjunction with Fig. 1.
Source UNI-C equipment in the data network is wished by the purpose UNI-C equipment sending data of transmission network in another data network.The packet that source UNI-C equipment sends enters transmission network by the source UNI-N equipment of transmission network edge, by the purpose UNI-N equipment outflow transmission network of transmission network opposite side edge.Between source UNI-C equipment and purpose UNI-C equipment, establish LSP2.Setting up in the process of this LSP2, utilized the LSP1 between source UNI-N equipment and the purpose UNI-N equipment.LSP1 can be the LSP that originally just is present between source UNI-N equipment and the purpose UNI-N equipment, also can be that LSP2 sets up in the process and triggers and newly-established LSP between source UNI-N equipment and purpose UNI-N equipment.
In correlation technique, source UNI-C equipment is not owing to know the MAC Address of purpose UNI-C equipment, therefore can't encapsulated data packet, thus can't send data.Even send data, if purpose UNI-C equipment can't be identified, can not communicate.The method of utilizing the embodiment of the invention to propose then can address these problems, and makes source UNI-C equipment to communicate via transmission network and purpose UNI-C equipment.
Below, in conjunction with the method 200 that be used for transfer of data of Fig. 2 description according to the embodiment of the invention.
As shown in Figure 2, method 200 comprises: in S210, with the LSP of purpose UNI-C equipment foundation via source UNI-N equipment and purpose UNI-N equipment; In S220, generate to what purpose UNI-C equipment sent and carry the packet of particular mac address in the target MAC (Media Access Control) address field; In S230, send packet at LSP, so that packet carries the discernible MAC Address of purpose UNI-C equipment the target MAC (Media Access Control) address field when purpose UNI-N equipment is exported.
For example, method 200 can be carried out by source UNI-C equipment.Mode and purpose UNI-C equipment that source UNI-C equipment can utilize correlation technique to provide are set up LSP, and this LSP is via source UNI-N equipment and purpose UNI-N equipment.Source UNI-C equipment can utilize particular mac address to come encapsulated data packet, and this packet is sent.When packet flows out from purpose UNI-N equipment via LSP, packet is owing to carry the discernible MAC Address of purpose UNI-C equipment in the target MAC (Media Access Control) address field, make purpose UNI-C equipment receive and identify this packet, thereby can realize communicating by letter between source UNI-C equipment and the purpose UNI-C equipment.
In S210, source UNI-C equipment can utilize RSVP-TE (Resource ReSerVation Protocol-Traffic Engineering, RSVP-traffic engineering) agreement to set up LSP with purpose UNI-C equipment.
In S220, source UNI-C equipment can carry particular mac address and generate complete packet in the target MAC (Media Access Control) address field of the Ethernet header of packet, thereby packet can be sent.
For example, particular mac address can be the MAC Address of purpose UNI-C equipment, for example can set up in the process at LSP and obtain its MAC Address from purpose UNI-C equipment, and this will specifically describe in conjunction with Fig. 3 and Fig. 4.Particular mac address also can be the MAC Address of source UNI-N equipment, can obtain the other side's MAC Address mutually by interactive messages on the data link between source UNI-C equipment and the source UNI-N equipment, for example the method by describing in conjunction with Fig. 5 and Fig. 6.Particular mac address can also be default MAC Address, and this default MAC Address is the discernible MAC Address of purpose UNI-C equipment that sets in advance, and purpose UNI-C equipment is seen this default MAC Address, can confirm that then this packet sends to oneself.
In S230, source UNI-C equipment via the LSP that in S210, sets up to purpose UNI-C equipment sending data bag.After source UNI-N equipment adds the transmission network label to packet, continue to transmit at LSP.After purpose UNI-N equipment receives the packet that carries the transmission network label, because packet will flow out transmission network, so purpose UNI-N unit deletion transmission network label.
During purpose UNI-N unit deletion label, may packet not handled, this moment, the target MAC (Media Access Control) address field of packet itself just carried the discernible MAC Address of purpose UNI-C equipment, and packet can be identified by purpose UNI-C equipment like this.During purpose UNI-N unit deletion label, also may handle packet, this moment purpose UNI-N equipment with study before its to the MAC Address of purpose UNI-C equipment be filled into the target MAC (Media Access Control) address field of the Ethernet header of packet, make that packet will inevitably be by purpose UNI-C recognition of devices.No matter be what situation, when packet flowed out from purpose UNI-N equipment, packet can be by purpose UNI-C recognition of devices, thereby purpose UNI-C equipment can reception sources UNI-C equipment sends to its data, realized between the two the communication via transmission network.
The default MAC Address different with itself MAC Address that according to one embodiment of present invention, can arrange in advance that purpose UNI-C equipment can identify.Purpose UNI-C equipment is seen after this default MAC Address, knows that this packet sends to oneself, for example directly gives network layer entities on the data division with packet.At this moment, owing to carry default MAC Address in the packet that source UNI-C equipment sends, the packet that flows out from purpose UNI-N equipment also carries default MAC Address, therefore source UNI-N equipment and purpose UNI-N equipment carry out transparent transmission to packet, only need interpolation transmission network label, deletion transmission network label to get final product.So, when MAC Address is preset in employing, owing between UNI-C equipment, utilize the transmission network transparent data, make transmission network can directly carry out label exchange and can not influence communication between the UNI-C equipment, make that also the LSP between the UNI-C equipment can be directly as Virtual Private Network (Virtual Private Network, outer layer tunnel use VPN).
The method that is used for transfer of data that provides according to the embodiment of the invention, carry particular mac address by the target MAC (Media Access Control) address field at packet, source UNI-C equipment can carry out the encapsulation of packet, thereby can send data to transmission network, and can't generate packet unlike correlation technique.When packet flows out from transmission network via LSP, in the target MAC (Media Access Control) address field of packet, carry the discernible MAC Address of purpose UNI-C equipment, purpose UNI-C equipment receives and identifies this packet like this, thereby can realize the communication between the UNI-C equipment, the UNI-C equipment in the data network can not communicated by letter and is obstructed owing to the introducing of transmission network.Therefore, UNI-C equipment can utilize transmission network to carry out transfer of data efficiently, makes the fusion of transmission network and data network be achieved.
Fig. 3 is the flow chart according to the method 300 that is used for transfer of data of the embodiment of the invention.The S310 to S330 of method 300 is basic identical with the S210 to S230 of method 200.
In S312, when setting up LSP, send LSP to purpose UNI-C equipment and set up request.
Source UNI-C equipment can utilize path P ATH message to send LSP and set up request.According to one embodiment of present invention, when setting up LSP, source UNI-C equipment can send the LSP foundation request of the MAC Address of carrying active UNI-C equipment to purpose UNI-C equipment.Like this, when purpose UNI-C equipment receives that LSP sets up request, can obtain the MAC Address of source UNI-C equipment, thereby can use it in the packet of source UNI-C equipment transmission.In addition, source UNI-N equipment is set up request owing to also will receive LSP, so also may learn the MAC Address of source UNI-C equipment.
In S314, the LSP of the MAC Address that carries purpose UNI-C equipment that the reception purpose UNI-C device responds LSP request of setting up is returned sets up response.
Purpose UNI-C equipment can utilize resource reservation RESV message to return LSP to source UNI-C equipment and set up response, sets up the MAC Address of carrying purpose UNI-C equipment in the response at LSP.Like this, source UNI-C equipment can obtain the MAC Address of purpose UNI-C equipment, and it is carried in the packet as the target MAC (Media Access Control) address field, thereby sends out complete packet.
The method that is used for transfer of data that provides according to the embodiment of the invention, source UNI-C equipment obtains the MAC Address of purpose UNI-C equipment and carries out packet encapsulation, source UNI-N equipment and purpose UNI-N device just are added label, deletion tag operational to packet, just can be so that can be by purpose UNI-C recognition of devices owing to the MAC Address of carrying purpose UNI-C equipment in the target MAC (Media Access Control) address field from the packet of purpose UNI-N equipment outflow.Therefore, can realize the transparent transmission of packet between source UNI-C equipment and purpose UNI-C equipment.Owing between UNI-C equipment, utilize the transmission network transparent data based on the MAC Address of purpose UNI-C equipment, make transmission network can directly carry out label exchange and can not influence communication between the UNI-C equipment, also make LSP between the UNI-C equipment can be directly as the outer layer tunnel use of VPN.
For example, can utilize mode shown in Figure 4 in setting up the process of LSP, to obtain the MAC Address of purpose UNI-C equipment.Wherein, the LSP request of setting up can be PATH message, and it can be RESV message that LSP sets up response.
In S410, source UNI-C equipment is initiated the request of the LSP between foundation and the purpose UNI-C equipment, transmit path PATH message.Can carry the MAC Address of source UNI-C equipment in PATH message, this address can be the MAC Address of source UNI-C equipment complete machine, also can be the MAC Address of the local interface of LSP use.
In S420, source UNI-N equipment is received after the PATH message, preserves this PATH message.If carry the MAC Address of active UNI-C equipment in the PATH message, then UNI-N equipment in source can be learnt this MAC Address.
In S430, whether source UNI-N equipment inspection exists the LSP in the transmission network that can carry LSP between the UNI-C equipment.If the available LSP that has not existed in transmission network, then UNI-N device trigger in source is set up the LSP in the new transmission network, can be called FA-LSP (Forwarding Adjacency-LSP, forwarding adjacency label switched path).
The process of setting up of FA-LSP can be finished by following mode: the request that FA-LSP is set up in UNI-N equipment initiation in source sends PATH message; The intermediate node of transmission network is transmitted this PATH message and is sent to purpose UNI-N equipment; Purpose UNI-N device responds is returned RESV message in PATH message; Intermediate node is transmitted RESV message and is sent to source UNI-N equipment.So set up a FA-LSP path at source UNI-N equipment and purpose UNI-N equipment.
In S440, source UNI-N equipment directly is transmitted to purpose UNI-N equipment with the PATH message that source UNI-C equipment sends.
In S450, purpose UNI-N equipment sends PATH message to purpose UNI-C equipment.Purpose UNI-N equipment can be carried at the MAC Address of oneself in the PATH message, so that purpose UNI-C equipment can be known its MAC Address.
In S460, after purpose UNI-C equipment is received PATH message, carry out resource reservation.If carry the MAC Address of active UNI-C equipment in the PATH message, then learn the MAC Address of source UNI-C equipment.If carry the MAC Address of purpose UNI-N equipment in the PATH message, the MAC Address of aim of learning UNI-N equipment then.Study to the MAC Address LSP that is used in foundation go up to source UNI-C equipment sending data bag.Simultaneously, purpose UNI-C device responds is returned RESV message in PATH message, carries the MAC Address of purpose UNI-C equipment in RESV message, and this address can be the MAC Address of purpose UNI-C equipment complete machine, also can be the MAC Address that LSP uses interface.
In S470, after purpose UNI-N equipment is received RESV message, can learn the MAC Address of the purpose UNI-C equipment that carries in the RESV message.And purpose UNI-N equipment directly is transmitted to source UNI-N equipment with this RESV message.
In S480, after source UNI-N equipment is received RESV message, can directly send this RESV message to source UNI-C equipment, like this, source UNI-C equipment can obtain the MAC Address of purpose UNI-C equipment.In addition, source UNI-N equipment also can be carried at the MAC Address of oneself and send to source UNI-C equipment in the RESV message, so that source UNI-C equipment obtains the MAC Address of source UNI-N equipment.
In PATH message or RESV message, can utilize the RESV_HOP object in the message to carry MAC Address.For example, extension length types value TLV field is carried MAC Address in the TLV field in the RESV_HOP object.
By mode shown in Figure 4, set up in the process of LSP at source UNI-C equipment and purpose UNI-C equipment, source UNI-C equipment can obtain the MAC Address of purpose UNI-C equipment, also can obtain the MAC Address of source UNI-N equipment, thereby can utilize particular mac address to come encapsulated data packet to send to purpose UNI-C equipment.
When utilizing the MAC Address encapsulated data packet of purpose UNI-C equipment, source UNI-N and purpose UNI-N equipment is for the direct transparent transmission of the packet of receiving, source UNI-N equipment and purpose UNI-N device just finish add the transmission network label, deletion transmission network label gets final product.
When utilizing the MAC Address encapsulated data packet of source UNI-N equipment, source UNI-N and purpose UNI-N equipment are for the direct transparent transmission of the packet of receiving, at this moment, purpose UNI-N equipment receives that the purpose that source UNI-N equipment sends over is the packet of purpose UNI-C equipment, the content of target MAC (Media Access Control) address field in the packet need be replaced with the MAC Address of purpose UNI-C equipment.Certainly, it may occur to persons skilled in the art that, no matter in the target MAC (Media Access Control) address field of packet, carry any content behind the purpose UNI-N unit deletion transmission network label, purpose UNI-N equipment can be filled the MAC Address of purpose UNI-C equipment therein, so that purpose UNI-C equipment can be identified.
In addition, similarly, be the packet of source UNI-C equipment if source UNI-N equipment is received purpose, also the content of the target MAC (Media Access Control) address field of packet to be replaced with the MAC Address of source UNI-C equipment.Therefore, source UNI-N equipment will be learnt the MAC Address of source UNI-C equipment, and purpose UNI-N equipment is wanted the MAC Address of aim of learning UNI-C equipment.The process of study MAC Address can be utilized the process of describing in conjunction with Fig. 4, also can utilize the process of describing in conjunction with Fig. 6.Because source UNI-N equipment and purpose UNI-N equipment are for the direct transparent transmission of the packet of receiving, so UNI-N equipment need be identified the packet that UNI-C equipment sends over, UNI-C equipment also needs to learn the MAC Address of UNI-N equipment.
Next, in conjunction with the method 500 that be used for transfer of data of Fig. 5 description according to the embodiment of the invention.The S210 of the S510 of method 500 and method 200 is basic identical.
In S512, obtain the MAC Address of source UNI-N equipment from source UNI-N equipment.
As described in conjunction with Fig. 4, in setting up the process of LSP, source UNI-C equipment can obtain the MAC Address of source UNI-N equipment from the RESV message that source UNI-N equipment returns.
According to embodiments of the invention, UNI-C equipment can also with other reciprocal processes of UNI-N equipment in obtain the MAC Address of UNI-N equipment.For example, in the data link checking procedure, may learn the information of opposite end data link.According to one embodiment of present invention, source UNI-C equipment can receive the test TEST message of the MAC Address of carrying source UNI-N equipment from source UNI-N equipment with source UNI-N UC data link the time.At this moment, (Link Management Protocol, TEST message LMP) is carried mac address information can to pass through the expansion LMP Link Manager Protocol.Source UNI-C learning equipment can solve the encapsulation problem of MAC Address after MAC Address, carry out the encapsulation to packet.
Below, in conjunction with Fig. 6 the schematic diagram of example of interacting message that source UNI-C equipment obtains the MAC Address of source UNI-N equipment is described.
In S610, source UNI-N equipment sends beginning verification BeginVerify message to source UNI-C equipment, and the data link verification is carried out in request.
In S620, source UNI-C equipment sends the beginning verification to source UNI-N equipment and confirms BeginVerifyACK message, and expression can be carried out verification.
In S630, source UNI-N equipment sends test TEST message, the MAC Address of carrying source UNI-N equipment in TEST message to source UNI-C equipment on data link.Can carry MAC Address by the message of expansion TEST message, for example carry the field of MAC Address for the message increase.
In S640, source UNI-C learning equipment returns test mode success TestStatusSuccess message to source UNI-N equipment after MAC Address.
In S650, source UNI-N equipment returns test mode to source UNI-C equipment and determines TestStatusAck message.
In S660, source UNI-C equipment sends to source UNI-N equipment and finishes verification EndVerify message, shows that verification finishes.
In S670, source UNI-N equipment sends to source UNI-C equipment and finishes verification affirmation EndVerifyAck message as replying.
Like this, UNI-C equipment in source can obtain the MAC Address of source UNI-N equipment by TEST message in the data link checking procedure.When this checking procedure was reversed, source UNI-C equipment can make source UNI-N equipment also obtain the MAC Address of source UNI-C equipment by TEST message by carry the MAC Address of oneself in TEST message.In like manner, also can obtain the other side's MAC Address between purpose UNI-N equipment and the purpose UNI-C equipment by data chain saw checking procedure, for example, MAC Address can be carried in the TEST message and send to the other side.
After UNI-C equipment and UNI-N equipment have been learnt from each other the other side's MAC Address, can come transmission sources UNI-C equipment to send to the packet of purpose UNI-C equipment by mode shown in Figure 7.
In S520, owing to obtained the MAC Address of source UNI-N equipment, therefore generate to what purpose UNI-C equipment sent and carry the packet of the MAC Address of source UNI-N equipment in the target MAC (Media Access Control) address field.
In S530, when packet arrived purpose UNI-N equipment in the LSP transmission, purpose UNI-N equipment replaced with the MAC Address of source UNI-N equipment the MAC Address of purpose UNI-C equipment in the target MAC (Media Access Control) address field of packet when the output packet.Like this, purpose UNI-C equipment can be identified in LSP and go up data packets for transmission, thereby realizes the communication between the UNI-C equipment.
According to the method that is used for transfer of data that the embodiment of the invention provides, source UNI-C equipment can make packet successfully to transmit at LSP by come encapsulated data packet with the MAC Address of the mutual source UNI-N equipment that obtains of source UNI-N equipment on data link.Replace by means of the MAC Address that purpose UNI-N equipment carries out, can guarantee purpose UNI-C equipment to the identification of packet, thereby make UNI-C equipment to communicate by transmission network that the fusion of data network and transmission network is achieved.
In Fig. 7, to show source UNI-C equipment be the target MAC (Media Access Control) address encapsulated data packet with the MAC Address of source UNI-N equipment and send, situation that purpose UNI-N equipment is replaced the target MAC (Media Access Control) address field.Wherein, A) show the situation that source UNI-C equipment and purpose UNI-C equipment are in Ethernet, B) show source UNI-C equipment and purpose UNI-C equipment and be in VLAN (Virtual Local-area Network, situation VLAN).In the Ethernet header of the packet of Fig. 7, only show the content that the target MAC (Media Access Control) address field is carried.
On the link between source UNI-C equipment and the source UNI-N equipment, source UNI-C equipment and source UNI-N equipment have the MAC Address of MAC1 and MAC2 respectively.On the link between purpose UNI-N equipment and the purpose UNI-C equipment, purpose UNI-N equipment and purpose UNI-C equipment have the MAC Address of MAC3 and MAC4 respectively.
The packet that source UNI-C equipment sends carries MAC2 in the target MAC (Media Access Control) address field.When source UNI-N equipment is received this packet, be that packet adds the transmission network label, then to purpose UNI-N device forwards.Purpose UNI-N equipment removes the transmission network label, and the MAC2 that the target MAC (Media Access Control) address field is carried replaces with MAC4, sends to purpose UNI-C equipment then.Purpose UNI-C equipment receives after this packet, because target MAC (Media Access Control) address is MAC4, so this packet of purpose UNI-C recognition of devices and carry out subsequent operation.
Below, in conjunction with the method 800 that be used for transfer of data of Fig. 8 description according to the embodiment of the invention.
As shown in Figure 8, method 800 comprises: in S810, when receiving the packet that source UNI-C equipment sends to purpose UNI-C equipment on LSP, the transmission network label that the deletion packet carries, wherein LSP is the LSP that source UNI-C equipment and purpose UNI-C equipment are set up via source UNI-N equipment and purpose UNI-N equipment; In S820, when the target MAC (Media Access Control) address field of packet is not carried the discernible MAC Address of purpose UNI-C equipment, fill the MAC Address of purpose UNI-C equipment in the target MAC (Media Access Control) address field of packet; In S830, send the packet of the MAC Address of carrying purpose UNI-C equipment to purpose UNI-C equipment.
For example, method 800 can be carried out by purpose UNI-N equipment.When packet flows out purpose UNI-N equipment, if packet does not carry the discernible MAC Address of purpose UNI-C equipment, then purpose UNI-N equipment is filled to the target MAC (Media Access Control) address field of packet the MAC Address of purpose UNI-C equipment, like this, can guarantee that purpose UNI-C equipment receives and identifies this packet, thereby realize the communication between source UNI-C equipment and the purpose UNI-C equipment.
In S810, the packet that source UNI-N equipment sends from data network side reception sources UNI-C equipment is sent it into the LSP of transmission network after packet adds the transmission network label, and to purpose UNI-N device forwards.Because packet will flow out transmission network, so purpose UNI-N unit deletion transmission network label.
In S820, the discernible MAC Address of purpose UNI-C equipment can be MAC Address or the default MAC Address of purpose UNI-C equipment.If do not carry the discernible MAC Address of purpose UNI-C equipment in the packet, purpose UNI-N equipment is replaced with the MAC Address of purpose UNI-C equipment.
Purpose UNI-N equipment obtains the MAC Address of purpose UNI-C equipment and can obtain in setting up the process of LSP, also can in the data link checking procedure, obtain, can certainly in other reciprocal processes, obtain, related content can be with reference to above-mentioned content in conjunction with Fig. 4 and Fig. 6 description, for fear of repetition, do not repeat them here.
The method that is used for transfer of data that provides according to the embodiment of the invention, when packet flows out from transmission network via LSP, when the target MAC (Media Access Control) address of packet can not be by purpose UNI-C recognition of devices, purpose UNI-N equipment is filled the MAC Address of purpose UNI-C equipment in the target MAC (Media Access Control) address field of packet, can guarantee that like this purpose UNI-C equipment can the recognition data bag, thereby can realize the communication between the UNI-C equipment, the UNI-C equipment in the data network can not communicated by letter and is obstructed owing to the introducing of transmission network.Therefore, UNI-C equipment can utilize transmission network to carry out transfer of data efficiently, makes the fusion of transmission network and data network be achieved.
Fig. 9 is the flow chart according to the method 900 that is used for transfer of data of the embodiment of the invention.The S910 to S930 of method 900 is basic identical with the S810 to S830 of method 800.
In S912, obtain the MAC Address of purpose UNI-C equipment from purpose UNI-C equipment.
For example, purpose UNI-N equipment can be in setting up the process of LSP, in the data link checking procedure or the reciprocal process of other and purpose UNI-C equipment medium, obtain the MAC Address of purpose UNI-C equipment.Like this, in S920, can use the target MAC (Media Access Control) address field of the MAC Address padding data bag of the purpose UNI-C equipment that obtains.
According to one embodiment of present invention, purpose UNI-N equipment can receive the test TEST message of the MAC Address of carrying purpose UNI-C equipment from purpose UNI-C equipment with purpose UNI-C UC data link the time.Related content can be with reference to the associated description of figure 6, interactive messages and shown in Figure 6 basic identical, and the source UNI-C equipment that the source UNI-N equipment of Fig. 6 is replaced with purpose UNI-C equipment, Fig. 6 replaces with purpose UNI-N equipment and gets final product.
In S914, send the MAC Address of purpose UNI-N equipment to purpose UNI-C equipment.
As top description in conjunction with Fig. 4 and Fig. 6, purpose UNI-N equipment also can be told the MAC Address of oneself equipment to purpose UNI-C, like this when purpose UNI-C equipment during to source UNI-C equipment sending data bag, can in packet, fill the MAC Address of purpose UNI-N equipment, thereby realize the encapsulation of packet.
The method that is used for transfer of data that provides according to the embodiment of the invention, MAC Address and the use of purpose UNI-N equipment by obtaining purpose UNI-C equipment, can guarantee that the packet that flows out from purpose UNI-N equipment can be by purpose UNI-C recognition of devices, thereby realize the communication between source UNI-C equipment and the purpose UNI-C equipment.
Above, the method that is used for transfer of data according to the embodiment of the invention has been described.Below, in conjunction with the structured flowchart of Figure 10 to Figure 14 description according to the network equipment of the embodiment of the invention.
Figure 10 is the structured flowchart according to the network equipment 1000 of the embodiment of the invention.
Network equipment 1000 comprises sets up module 1010, generation module 1020 and first sending module 1030.Setting up module 1010 can be used for and the LSP of purpose UNI-C equipment foundation via source UNI-N equipment and purpose UNI-N equipment.Generation module 1020 can be used for generating to what purpose UNI-C equipment sent and carries the packet of particular mac address in the target MAC (Media Access Control) address field.First sending module 1030 is used in LSP and goes up the transmission packet, so that packet carries the discernible MAC Address of purpose UNI-C equipment the target MAC (Media Access Control) address field when purpose UNI-N equipment is exported.
Above-mentioned and other operations and/or the function of setting up module 1010, generation module 1020 and first sending module 1030 can for fear of repetition, not repeat them here with reference to the S210 to S230 of said method 200.
The network equipment that the embodiment of the invention provides carries particular mac address by the target MAC (Media Access Control) address field at packet, can carry out the encapsulation of packet, thereby can send data to transmission network, and can't generate packet unlike correlation technique.When packet flows out from transmission network via LSP, in the target MAC (Media Access Control) address field of packet, carry the discernible MAC Address of purpose UNI-C equipment, purpose UNI-C equipment receives and identifies this packet like this, thereby can realize the communication between the UNI-C equipment, the UNI-C equipment in the data network can not communicated by letter and is obstructed owing to the introducing of transmission network.Therefore, UNI-C equipment can utilize transmission network to carry out transfer of data efficiently, makes the fusion of transmission network and data network be achieved.
Figure 11 is the structured flowchart according to the network equipment 1100 of the embodiment of the invention.The network equipment 1100 set up module 1110, generation module 1120 and first sending module 1130 and the network equipment 1000 to set up module 1010, generation module 1020 and first sending module 1030 basic identical.
Wherein, the discernible MAC Address of purpose UNI-C equipment can be the MAC Address of purpose UNI-C equipment.The discernible MAC Address of purpose UNI-C equipment also can be default MAC Address, and at this moment, generation module 1120 can be used for generating to what purpose UNI-C equipment sent and carries the packet of this default MAC Address in the target MAC (Media Access Control) address field.
According to one embodiment of present invention, the network equipment 1100 can also comprise second sending module 1112 and receiver module 1114.Second sending module 1112 is used in when setting up LSP, sends LSP to purpose UNI-C equipment and sets up request.The LSP that receiver module 1114 can be used for receiving the MAC Address that carries purpose UNI-C equipment that the purpose UNI-C device responds LSP request of setting up returns sets up response.At this moment, generation module 1120 can be used for generating to what purpose UNI-C equipment sent and carries the packet of the MAC Address of purpose UNI-C equipment in the target MAC (Media Access Control) address field.
According to one embodiment of present invention, second sending module 1112 can be used for sending to purpose UNI-C equipment the LSP foundation request of the MAC Address that carries the network equipment 1100, so that the MAC Address of source UNI-N equipment or the purpose UNI-C learning equipment network equipment 1100.
According to one embodiment of present invention, the LSP request of setting up can be path P ATH message, and it can be resource reservation RESV message that LSP sets up response.
Above-mentioned and other operations of second sending module 1112, receiver module 1114 and generation module 1020 and/or function can for fear of repetition, not repeat them here with reference to S312 and the S314 in the related content in the said method 200 and the method 300.
The network equipment that the embodiment of the invention provides can carry the MAC Address of the purpose UNI-C equipment of presetting MAC Address or obtaining to encapsulate in the target MAC (Media Access Control) address field of packet, source UNI-N equipment and purpose UNI-N device just are added transmission network label, deletion transmission network tag operational to packet, just can so that from the packet of purpose UNI-N equipment outflow by purpose UNI-C recognition of devices.Therefore, can realize the transparent transmission of packet between source UNI-C equipment and purpose UNI-C equipment.Owing to can between UNI-C equipment, utilize the transmission network transparent data, make transmission network can directly carry out the label exchange and can not influence communication between the UNI-C equipment, also make LSP between the UNI-C equipment can be directly as the outer layer tunnel use of VPN.
Figure 12 is the structured flowchart according to the network equipment 1200 of the embodiment of the invention.
The network equipment 1200 set up module 1210, generation module 1220 and first sending module 1230 and the network equipment 1000 to set up module 1010, generation module 1020 and first sending module 1030 basic identical.
According to one embodiment of present invention, the network equipment 1200 can also comprise acquisition module 1240.Acquisition module 1240 can be used for obtaining from source UNI-N equipment the MAC Address of source UNI-N equipment.At this moment, generation module 1220 can be used for generating to what purpose UNI-C equipment sent and carries the packet of the MAC Address of source UNI-N equipment in the target MAC (Media Access Control) address field, wherein the MAC Address of source UNI-N equipment is replaced with when the output packet MAC Address of purpose UNI-C equipment by purpose UNI-N equipment.
According to one embodiment of present invention, when acquisition module 1240 is used in source UNI-N UC data link, receive the test TEST message of the MAC Address of carrying source UNI-N equipment from source UNI-N equipment.
Above-mentioned and other operations of acquisition module 1240 and generation module 1220 and/or function can for fear of repetition, not repeat them here with reference to S512, S520 and the S530 of said method 500.
The network equipment that the embodiment of the invention provides can make packet successfully to transmit at LSP by come encapsulated data packet with the MAC Address of the mutual source UNI-N equipment that obtains of source UNI-N equipment on data link.Replace by means of the MAC Address that purpose UNI-N equipment carries out, can guarantee purpose UNI-C equipment to the identification of packet, thereby make UNI-C equipment to communicate by transmission network that the fusion of data network and transmission network is achieved.
Figure 13 is the structured flowchart according to the network equipment 1300 of the embodiment of the invention.
The network equipment 1300 comprises removing module 1310, packing module 1320 and sending module 1330.Removing module 1310 can be used for when receiving the packet that source UNI-C equipment sends to purpose UNI-C equipment on LSP, the transmission network label that the deletion packet carries, wherein LSP is the LSP that source UNI-C equipment and purpose UNI-C equipment are set up via source UNI-N equipment and the network equipment 1300.Packing module 1320 can be used for when the target MAC (Media Access Control) address field of packet is not carried the discernible MAC Address of purpose UNI-C equipment, fills the MAC Address of purpose UNI-C equipment in the target MAC (Media Access Control) address field of packet.Sending module 1330 can be used for sending to purpose UNI-C equipment the packet of the MAC Address of carrying purpose UNI-C equipment.
Removing module 1310, packing module 1320 and sending module 1330 above-mentioned and other operations and/or function can for fear of repetition, not repeat them here with reference to the S810 to S830 of said method 800.
The network equipment that provides according to the embodiment of the invention, when packet flows out from transmission network via LSP, when the target MAC (Media Access Control) address of packet can not be by purpose UNI-C recognition of devices, this network equipment can be filled the MAC Address of purpose UNI-C equipment in the target MAC (Media Access Control) address field of packet, can guarantee purpose UNI-C device identification data bag like this, thereby can realize the communication between the UNI-C equipment, the UNI-C equipment in the data network can not communicated by letter and is obstructed owing to the introducing of transmission network.Therefore, UNI-C equipment can utilize transmission network to carry out transfer of data efficiently, makes the fusion of transmission network and data network be achieved.
Figure 14 is the structured flowchart according to the network equipment 1400 of the embodiment of the invention.
The removing module 1410 of the network equipment 1400, packing module 1420 and sending module 1430 are basic identical with removing module 1310, packing module 1320 and the sending module 1330 of the network equipment 1300.
Wherein, the discernible MAC Address of purpose UNI-C equipment can be MAC Address or the default MAC Address of purpose UNI-C equipment.
According to one embodiment of present invention, the network equipment 1400 can also comprise acquisition module 1440.Acquisition module 1440 can be used for obtaining from purpose UNI-C equipment the MAC Address of purpose UNI-C equipment.For example, when acquisition module 1440 is used in purpose UNI-C UC data link, receive the test TEST message of the MAC Address of carrying purpose UNI-C equipment from purpose UNI-C equipment.
Above-mentioned and other operations and/or the function of acquisition module 1440 can for fear of repetition, not repeat them here with reference to the S912 of said method 900.
The network equipment that the embodiment of the invention provides is by obtaining the MAC Address of purpose UNI-C equipment, can guarantee that the packet that flows out from purpose UNI-N equipment can be by purpose UNI-C recognition of devices, thereby realize the communication between source UNI-C equipment and the purpose UNI-C equipment.
Next, in conjunction with the system 1500 that be used for transfer of data of Figure 15 description according to the embodiment of the invention.
System 1500 comprises source user network interface client side UNI-C equipment 1510, source user network interface network side UNI-N equipment 1520, purpose UNI-N equipment 1530 and source UNI-C equipment 1540.
Source UNI-C equipment 1510 can be used for and the LSP of purpose UNI-C equipment 1540 foundation via source UNI-N equipment 1520 and purpose UNI-N equipment 1530; Generation is carried the packet of particular mac address to what purpose UNI-C equipment 1540 sent in the target MAC (Media Access Control) address field; Send packet at LSP.
Source UNI-N equipment 1520 can be used for the packet that reception sources UNI-C equipment 1510 sends, and adds the transmission network label at packet.
Purpose UNI-N equipment 1530 can be used for when receiving the packet that source UNI-N equipment 1520 is transmitted, deletion transmission network label; When the target MAC (Media Access Control) address field of packet is not carried purpose UNI-C equipment 1540 discernible MAC Address, in the MAC Address of the target MAC (Media Access Control) address field filling purpose UNI-C of packet equipment 1540, send the packet of the MAC Address of carrying purpose UNI-C equipment 1540 to purpose UNI-C equipment 1540; When the target MAC (Media Access Control) address field of packet is carried purpose UNI-C equipment 1540 discernible MAC Address, send this packet to purpose UNI-C equipment 1540.
Purpose UNI-C equipment 1540 can be used for receiving the packet that purpose UNI-N equipment 1530 is transmitted.
According to embodiments of the invention, purpose UNI-C equipment 1540 discernible MAC Address are MAC Address or default MAC Address of purpose UNI-C equipment 1540.
Above-mentioned and other functions of source UNI-C equipment 1510, source UNI-N equipment 1520, purpose UNI-N equipment 1530 and source UNI-C equipment 1540 and/or operation can for fear of repetition, not repeat them here with reference to above-mentioned description in conjunction with Fig. 2 to Fig. 9.
The system that is used for transfer of data that provides according to the embodiment of the invention, source UNI-C equipment carries particular mac address by the target MAC (Media Access Control) address field at packet, can carry out the encapsulation of packet, thereby can send data to transmission network, and unlike correlation technique, can not generate packet.When packet flows out from transmission network via LSP, in the target MAC (Media Access Control) address field of packet, carry the discernible MAC Address of purpose UNI-C equipment, purpose UNI-C equipment receives and identifies this packet like this, thereby can realize the communication between the UNI-C equipment, the UNI-C equipment in the data network can not communicated by letter and is obstructed owing to the introducing of transmission network.Therefore, UNI-C equipment can utilize transmission network to carry out transfer of data efficiently, makes the fusion of transmission network and data network be achieved.
Those skilled in the art can recognize, in conjunction with the various method steps of describing among the embodiment disclosed herein and unit, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software clearly is described, step and the composition of each embodiment described in general manner according to function in the above description.These functions still are that software mode is carried out with hardware actually, depend on application-specific and the design constraint of technical scheme.Those skilled in the art can use distinct methods realize described function to each specific application, but this realization should not thought and exceeds scope of the present invention.
Can implement with hardware, the software program of processor execution or the combination of the two in conjunction with the method step that embodiment disclosed herein describes.Software program can place the storage medium of any other form known in random-access memory (ram), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or the technical field.
Although illustrated and described some embodiments of the present invention, it should be appreciated by those skilled in the art that without departing from the principles and spirit of the present invention can carry out various modifications to these embodiment, such modification should fall within the scope of the present invention.

Claims (16)

1. a method that is used for transfer of data is characterized in that, comprising:
With the label switching path LSP of purpose User Network Interface client side UNI-C equipment foundation via source user network interface network side UNI-N equipment and purpose UNI-N equipment;
Generation is carried the packet of particular mac address to what described purpose UNI-C equipment sent in purpose medium access control MAC Address field;
Send described packet at described LSP, so that described packet carries the discernible MAC Address of described purpose UNI-C equipment described target MAC (Media Access Control) address field when described purpose UNI-N equipment is exported.
2. method according to claim 1 is characterized in that, the discernible MAC Address of described purpose UNI-C equipment is the MAC Address of described purpose UNI-C equipment.
3. method according to claim 2 is characterized in that, also comprises:
When setting up described LSP, send LSP to described purpose UNI-C equipment and set up request;
The LSP that receives the MAC Address that carries described purpose UNI-C equipment that the described LSP of the described purpose UNI-C device responds request of setting up returns sets up response;
Wherein, described generation comprises to the packet that carries particular mac address in the target MAC (Media Access Control) address field that described purpose UNI-C equipment sends:
Generation is carried the packet of the MAC Address of described purpose UNI-C equipment to what described purpose UNI-C equipment sent in the target MAC (Media Access Control) address field.
4. method according to claim 2 is characterized in that, also comprises:
Obtain the MAC Address of described source UNI-N equipment from described source UNI-N equipment;
Wherein, described generation comprises to the packet that carries particular mac address in the target MAC (Media Access Control) address field that described purpose UNI-C equipment sends:
Generation is carried the packet of the MAC Address of described source UNI-N equipment to what described purpose UNI-C equipment sent in the target MAC (Media Access Control) address field, wherein the MAC Address of described source UNI-N equipment is replaced with the MAC Address of described purpose UNI-C equipment when exporting described packet by described purpose UNI-N equipment.
5. method according to claim 4 is characterized in that, the described MAC Address of obtaining described source UNI-N equipment from described source UNI-N equipment comprises:
With described source UNI-N UC data link the time, receive the test TEST message of the MAC Address of carrying described source UNI-N equipment from described source UNI-N equipment.
6. method according to claim 1 is characterized in that, the discernible MAC Address of described purpose UNI-C equipment is default MAC Address,
Wherein, described generation comprises to the packet that carries particular mac address in the target MAC (Media Access Control) address field that described purpose UNI-C equipment sends:
Generation is carried the packet of described default MAC Address to what described purpose UNI-C equipment sent in the target MAC (Media Access Control) address field.
7. a method that is used for transfer of data is characterized in that, comprising:
When receiving the packet that source user network interface client side UNI-C equipment sends to purpose UNI-C equipment on label switching path LSP, delete the transmission network label that described packet carries, wherein said LSP is the LSP that described source UNI-C equipment and described purpose UNI-C equipment are set up via source user network interface network side UNI-N equipment and purpose UNI-N equipment;
When the purpose medium access control MAC Address field of described packet is not carried the discernible MAC Address of described purpose UNI-C equipment, fill the MAC Address of described purpose UNI-C equipment in the target MAC (Media Access Control) address field of described packet;
Send the packet of the MAC Address of carrying described purpose UNI-C equipment to described purpose UNI-C equipment.
8. method according to claim 7 is characterized in that, the discernible MAC Address of described purpose UNI-C equipment is MAC Address or the default MAC Address of described purpose UNI-C equipment.
9. method according to claim 7 is characterized in that, described target MAC (Media Access Control) address field at described packet also comprises before filling the MAC Address of described purpose UNI-C equipment:
With described purpose UNI-C UC data link the time, receive the test TEST message of the MAC Address of carrying described purpose UNI-C equipment from described purpose UNI-C equipment.
10. a network equipment is characterized in that, comprising:
Set up module, be used for and the label switching path LSP of purpose User Network Interface client side UNI-C equipment foundation via source user network interface network side UNI-N equipment and purpose UNI-N equipment;
Generation module be used for to generate to what described purpose UNI-C equipment sent and carries the packet of particular mac address in purpose medium access control MAC Address field;
First sending module is used for sending described packet at described LSP, so that described packet carries the discernible MAC Address of described purpose UNI-C equipment described target MAC (Media Access Control) address field when described purpose UNI-N equipment is exported.
11. the network equipment according to claim 10 is characterized in that, also comprises:
Second sending module is used for when setting up described LSP, sends LSP to described purpose UNI-C equipment and sets up request;
Receiver module, the LSP that be used for to receive the MAC Address that carries described purpose UNI-C equipment that the described LSP of the described purpose UNI-C device responds request of setting up returns sets up response;
Wherein, the discernible MAC Address of described purpose UNI-C equipment is the MAC Address of described purpose UNI-C equipment;
Described generation module is used for generation and carries the packet of the MAC Address of described purpose UNI-C equipment to what described purpose UNI-C equipment sent in the target MAC (Media Access Control) address field.
12. the network equipment according to claim 10 is characterized in that, also comprises:
Acquisition module is used for receiving the test TEST message of the MAC Address of carrying described source UNI-N equipment from described source UNI-N equipment with described source UNI-N UC data link the time;
Wherein, the discernible MAC Address of described purpose UNI-C equipment is the MAC Address of described purpose UNI-C equipment;
Described generation module is used for generation and carries the packet of the MAC Address of described source UNI-N equipment to what described purpose UNI-C equipment sent in the target MAC (Media Access Control) address field, wherein the MAC Address of described source UNI-N equipment is replaced with the MAC Address of described purpose UNI-C equipment when exporting described packet by described purpose UNI-N equipment.
13. the network equipment according to claim 10 is characterized in that, the discernible MAC Address of described purpose UNI-C equipment is default MAC Address,
Wherein, described generation module carries the packet of described default MAC Address for generating to what described purpose UNI-C equipment sent in the target MAC (Media Access Control) address field.
14. a network equipment is characterized in that, comprising:
Removing module, be used for when receiving that source user network interface client side UNI-C equipment is on label switching path LSP during to the packet of purpose UNI-C equipment transmission, delete the transmission network label that described packet carries, wherein said LSP is the LSP that described source UNI-C equipment and described purpose UNI-C equipment are set up via source user network interface network side UNI-N equipment and the described network equipment;
Packing module is used for filling the MAC Address of described purpose UNI-C equipment in the target MAC (Media Access Control) address field of described packet when the purpose medium access control MAC Address field of described packet is not carried the discernible MAC Address of described purpose UNI-C equipment;
Sending module is used for carrying the packet of the MAC Address of described purpose UNI-C equipment to described purpose UNI-C equipment transmission.
15. the network equipment according to claim 14 is characterized in that, also comprises:
Acquisition module is used for receiving the test TEST message of the MAC Address of carrying described purpose UNI-C equipment from described purpose UNI-C equipment with described purpose UNI-C UC data link the time.
16. a system that is used for transfer of data is characterized in that, comprises source user network interface client side UNI-C equipment, source user network interface network side UNI-N equipment, purpose UNI-N equipment and source UNI-C equipment, wherein:
Described source UNI-C equipment is used for and the label switching path LSP of described purpose UNI-C equipment foundation via described source UNI-N equipment and described purpose UNI-N equipment; Generation is carried the packet of particular mac address to what described purpose UNI-C equipment sent in purpose medium access control MAC Address field; Send described packet at described LSP;
Described source UNI-N equipment is used for receiving the described packet that described source UNI-C equipment sends, and adds the transmission network label at described packet;
Described purpose UNI-N equipment is used for deleting described transmission network label when receiving the described packet of described source UNI-N device forwards; When the target MAC (Media Access Control) address field of described packet is not carried the discernible MAC Address of described purpose UNI-C equipment, fill the MAC Address of described purpose UNI-C equipment in the target MAC (Media Access Control) address field of described packet, send the packet of the MAC Address of carrying described purpose UNI-C equipment to described purpose UNI-C equipment; When the target MAC (Media Access Control) address field of described packet is carried the discernible MAC Address of described purpose UNI-C equipment, send described packet to described purpose UNI-C equipment;
Described purpose UNI-C equipment is used for receiving the packet of described purpose UNI-N device forwards.
CN201180000599.3A 2011-05-09 2011-05-09 Method, network equipment and system for data transmission Active CN102239681B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/073834 WO2011120471A2 (en) 2011-05-09 2011-05-09 Method, network equipment and system for data transmission

Publications (2)

Publication Number Publication Date
CN102239681A CN102239681A (en) 2011-11-09
CN102239681B true CN102239681B (en) 2013-09-11

Family

ID=44712681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201180000599.3A Active CN102239681B (en) 2011-05-09 2011-05-09 Method, network equipment and system for data transmission

Country Status (2)

Country Link
CN (1) CN102239681B (en)
WO (1) WO2011120471A2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104600B (en) 2013-04-01 2018-03-09 华为技术有限公司 The method and the network equipment that a kind of LSP is established
US20220316452A1 (en) 2021-04-02 2022-10-06 Ice Thermal Harvesting, Llc Systems for generating geothermal power in an organic rankine cycle operation during hydrocarbon production based on working fluid temperature

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7006499B2 (en) * 2003-04-28 2006-02-28 Alcatel Ip Networks, Inc. Source identifier for MAC address learning
US7813345B2 (en) * 2003-06-05 2010-10-12 At&T Intellectual Property I, L.P. MAC learning using VC-LSP dedicated for broadcast and unknown frames
CN101453403B (en) * 2007-12-04 2011-02-02 华为技术有限公司 Label management method and apparatus in PBB-TE

Also Published As

Publication number Publication date
WO2011120471A3 (en) 2012-04-12
WO2011120471A2 (en) 2011-10-06
CN102239681A (en) 2011-11-09

Similar Documents

Publication Publication Date Title
CN109194660B (en) Network access method and device of mobile terminal
CN106656794B (en) Message transmission method and device
CN107306222B (en) Method and equipment for establishing traffic engineering tunnel on label switching path
US8416787B2 (en) Method, system and apparatus for implementing L2VPN between autonomous systems
WO2015165311A1 (en) Method for transmitting data packet and provider edge device
US20070206494A1 (en) Tunnel Reroute
US8681805B2 (en) Method, device and system for interconnecting a multi-protocol label switching network and an ethernet
WO2015192501A1 (en) Address information publishing method and apparatus
CN109617803B (en) Forwarding table item generation method, device and equipment
CN101651630A (en) Switching method and switching device based on link fault
WO2017124709A1 (en) Method of establishing traffic engineering tunnel and device
EP2991284B1 (en) Method and device used in ethernet virtual private network
CN101388823A (en) Method and apparatus for establishing bidirectional flow engineering tunnel
CN102571375B (en) Multicast forwarding method and device as well as network device
CN101110746B (en) Edge equipment of operators, city Ethernet access network and its data processing method
CN105704029A (en) Pseudo wire establishing method, pseudo wire establishing system and equipment
CN102647328B (en) A kind of label distribution method, equipment and system
CN105553810A (en) Method and device for forwarding special line service packet
US8243728B2 (en) Apparatus and method for transmitting packets in a packet switched network
CN103795630A (en) Message transmitting method and device of label switching network
CN113726653B (en) Message processing method and device
CN102710510B (en) Information processing method, apparatus and system
CN102239681B (en) Method, network equipment and system for data transmission
CN103269300A (en) Method and equipment for achieving heterogeneous network interconnection
WO2016095571A1 (en) Method and device for establishing a multicast channel

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