CN101141380A - Method and system of transmitting packet - Google Patents

Method and system of transmitting packet Download PDF

Info

Publication number
CN101141380A
CN101141380A CNA2006101268696A CN200610126869A CN101141380A CN 101141380 A CN101141380 A CN 101141380A CN A2006101268696 A CNA2006101268696 A CN A2006101268696A CN 200610126869 A CN200610126869 A CN 200610126869A CN 101141380 A CN101141380 A CN 101141380A
Authority
CN
China
Prior art keywords
vlan
edge routing
routing device
message
link
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2006101268696A
Other languages
Chinese (zh)
Other versions
CN101141380B (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
Priority to CN2006101268696A priority Critical patent/CN101141380B/en
Publication of CN101141380A publication Critical patent/CN101141380A/en
Application granted granted Critical
Publication of CN101141380B publication Critical patent/CN101141380B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention discloses a method and a system for packet transmission. In the present invention, at least two virtual local area network (VLAN) channels are arranged for the user; an edge routing equipment transmits the packet by utilizing the available VLAN channel in each arranged VLAN channel after receiving the packet sent by the user network, particularly, the edge routing equipment transmits the packet by utilizing the available VLAN channel with highest priority level in each arranged VLAN channel. In the present invention, any one VLAN channel has a fault, the edge routing equipment can still use other VLAN channel to transmit the packet, therefore, the communication of the user is ensured, thereby the reliability of the network side using the flexible QinQ is enhanced, and the business service quality of the network side is improved.

Description

A kind of method and system of message transmission
Technical field
The present invention relates to the network communications technology, particularly relate to a kind of QinQ of utilization protocol transmission method of message and system.
Background technology
The QinQ agreement is based on the tunnel protocol of 802.1q encapsulation.The QinQ agreement is carried the message of two-layer 802.1qta, thereby the inner Virtual Local Area Network that uses of shielding user reduces VLAN number, breakthrough 802.1q agreement 4K VLAN restriction on the service provider network, enlarges the scope of VLAN.This shows that the QinQ agreement has solved public network VLAN ID resource problem in short supply day by day, and make the user can plan the private network VLAN ID of oneself, can not cause conflict, therefore, have broad application prospects with public network VLAN ID.
Fig. 1 is the schematic network structure when utilizing QinQ protocol transmission message in the prior art.Fig. 2 is the flow chart that utilizes QinQ protocol transmission message in the prior art.Referring to Fig. 1 and Fig. 2, in the prior art, when cross-region enterprise customer's user network is realized interconnected by service provider's double layer network, and enable selective QinQ at the carrier network edge when professional, sending message with the user of the user in the user network 1 in user network 2 is example, and the process of its message transmission mainly may further comprise the steps:
Step 201: in advance in two layers of switching network for user data is provided with specific VLAN passage, promptly VLAN 1000.
Step 202: the user terminal in the user network 1 is sent to message the edge routing device 1 of two layers of switching network.
Step 203: after edge routing device 1 receives message, this message is carried out the operation of Stacking VLAN1000, VLAN 1000 signs are inserted in this message.
Step 204: edge routing device 1 is sent to user network 2 by the VLAN 1000 in two layers of switching network with message.
By above description as can be seen, in the prior art, it is that VLAN 1000 realizes the intercommunication between user network that a VLAN passage only is provided.Like this, this VLAN 1000 is then depended in intercommunication between user network fully, in case this VLAN 1000 breaks down, then can't guarantee the transmission of message between user network, can't guarantee user's communications, thereby greatly reduce the reliability that network side uses selective QinQ, reduced the QoS of network side.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method of message transmission, another object of the present invention is to provide a kind of system of message transmission, thereby guarantees the transmission of message.
In order to achieve the above object, technical scheme of the present invention is achieved in that
A kind of method of message transmission, this method comprises:
For the user is provided with at least two VLAN passages;
The edge routing device utilizes the available VLAN channel transfer message in set each VLAN passage after receiving the message that user network sends.
This method further comprises: for each set VLAN passage is provided with priority;
The described step of the available VLAN channel transfer message in set each VLAN passage of utilizing comprises: the edge routing device utilizes the highest available VLAN channel transfer message of set each VLAN passage medium priority.
This method further comprises: for each link corresponding to each VLAN passage on the described edge routing device is provided with link corresponding sign LINKID, monitor and upgrade the state of each link;
Described edge routing device utilizes the step of the highest available VLAN channel transfer message of set each VLAN passage medium priority to comprise: described edge routing device is selected corresponding to normal link of current state and the highest VLAN passage of priority, and by the link transmission message corresponding to selected VLAN passage.
The step of the state of described each link of monitoring comprises: described edge routing device structural exploration message, send to other edge routing devices by the link corresponding to set VLAN passage between self and other edge routing devices, and whether monitoring receives the response message that other edge routing devices return in setting-up time, if receive, determine that then this link corresponding to set VLAN passage is in normal condition, otherwise, determine that this link corresponding to set VLAN passage is in malfunction.
The broadcasting packet that carries the caller MAC Address that described message is sent for the calling subscriber;
Describedly comprise by step corresponding to the link transmission message of selected VLAN passage:
Described edge routing device inserts in the broadcasting packet with the sign of selected VLAN passage and corresponding to the LINKID of the link of selected VLAN passage, by the link corresponding to selected VLAN passage, broadcasting packet is sent to other edge routing devices;
Other edge routing devices are sent to the called subscriber with broadcasting packet, and set up first corresponding relation between VLAN gap marker, LINKID and the caller MAC Address of being obtained in self from broadcasting packet;
After other edge routing devices receive the response message that carries caller MAC Address and called MAC Address that the called subscriber sends, from first corresponding relation that self sets up, find VLAN gap marker, LINKID, the sign of the LINKID that found and VLAN passage is inserted in the response message, by link, response message is sent to described edge routing device corresponding to finding VLAN passage;
Described edge routing device is sent to the calling subscriber with response message.
Before described other edge routing devices are sent to the called subscriber with broadcasting packet, further comprise: described other edges routing devices are removed the LINKID in the received broadcasting packet and the sign of VLAN passage.
This method further comprises: described edge routing device sets up the sign of selected VLAN passage in self, corresponding to the LINKID of the link of selected VLAN passage and first corresponding relation of caller MAC Address; Described other edge routing devices increase called MAC Address in first corresponding relation of self setting up; Described edge routing device increases called MAC Address in first corresponding relation of self setting up; After described edge routing device receives the data message that carries caller MAC Address and called MAC Address, according to first corresponding relation of self setting up, by link transmission data message corresponding to selected VLAN passage.
Described edge routing device utilizes the step of the highest available VLAN channel transfer message of set each VLAN passage medium priority to comprise:
Described edge routing device is sent to other edge routing devices by all set VLAN passages with the broadcasting packet that carries each VLAN gap marker respectively;
Other edge routing devices are sent to the called subscriber with broadcasting packet, and selective reception is set up second corresponding relation between selected VLAN gap marker and the caller MAC Address to VLAN passage broadcasting packet, that priority is the highest in self;
After other edge routing devices receive the response message that carries caller MAC Address and called MAC Address that the called subscriber sends, from second corresponding relation that self sets up, find the VLAN gap marker, the sign of the VLAN passage that found is inserted in the response message, pass through the VLAN passage that found, response message is sent to described edge routing device;
Described edge routing device is sent to the calling subscriber with response message.
Before described other edge routing devices are sent to the called subscriber with broadcasting packet, further comprise: described other edge routing devices are removed the sign of the VLAN passage in the received broadcasting packet.
This method further comprises: described edge routing device is set up second corresponding relation of the sign and the caller MAC Address of selected VLAN passage in self; Described other edge routing devices increase called MAC Address in second corresponding relation of self setting up; Described edge routing device increases called MAC Address in second corresponding relation of self setting up; After described edge routing device receives the data message that carries caller MAC Address and called MAC Address, according to second current in self corresponding relation, by the VLAN channel transmission data message of correspondence.
A kind of system of message transmission, this system comprises: user network and switching network, comprise a plurality of edges routing device and at least two VLAN passages in the described switching network, wherein, described edge routing device, reception utilizes the available VLAN channel transfer message in the described VLAN passage from the message of user network.
Described edge routing device, be used for directly receiving the message that user network is sent, selection is corresponding to normal link of current state and the highest VLAN passage of priority, insert in the broadcasting packet with the sign of selected VLAN passage and corresponding to the LINKID of the link of selected VLAN passage, by link corresponding to selected VLAN passage, broadcasting packet is sent to other edge routing devices, and response message is sent to user network.
Described edge routing device, be used to receive the broadcasting packet that other edge routing devices are sent, broadcasting packet is sent to the called subscriber, and the VLAN gap marker that foundation is obtained from broadcasting packet in self, first corresponding relation between LINKID and the caller MAC Address, after receiving the response message that carries caller MAC Address and called MAC Address that the called subscriber sends, from first corresponding relation that self sets up, find the VLAN gap marker, LINKID, the sign of the LINKID that found and VLAN passage is inserted in the response message, by link, response message is sent to the described edge routing device that user network is sent message that directly receives corresponding to finding VLAN passage.
Described edge routing device is used for directly receiving the message that user network is sent, and by all VLAN passages, the broadcasting packet that carries each VLAN gap marker respectively is sent to other edge routing devices, and response message is sent to user network.
Described edge routing device, be used to receive the broadcasting packet that other edge routing devices are sent, broadcasting packet is sent to the called subscriber, broadcasting packet is arrived in selective reception, the VLAN passage that priority is the highest, in self, set up second corresponding relation between selected VLAN gap marker and the caller MAC Address, after receiving the response message that carries caller MAC Address and called MAC Address that the called subscriber sends, from second corresponding relation that self sets up, find the VLAN gap marker, the sign of the VLAN passage that found is inserted in the response message, pass through the VLAN passage that found, response message is sent to the described edge routing device that user network is sent message that directly receives.
This shows, in the present invention, be at least two VLAN passages of user data setting, the edge routing device can be selected VLAN channel transfer message after receiving the message that user network sends, therefore, break down at some VLAN passages, the edge routing device still can utilize other VLAN channel transfer message, has therefore guaranteed user's communications, thereby improved the reliability of network side use selective QinQ, improved the QoS of network side.
In addition, in the present invention, the edge routing device can write down the sign corresponding to the link of selected VLAN passage, when message transmission, transmit according to the sign of the link that is write down, therefore, when a large number of users network and a plurality of VLAN passage are arranged, still can guarantee correct message transmission, further guarantee the transmission of message, further improve the reliability of network side use selective QinQ.
Description of drawings
Fig. 1 is the schematic network structure when utilizing QinQ protocol transmission message in the prior art.
Fig. 2 is the flow chart that utilizes QinQ protocol transmission message in the prior art.
Fig. 3 is the system configuration schematic diagram when utilizing QinQ protocol transmission message in embodiments of the present invention.
Fig. 4 is 1 flow chart that utilizes QinQ protocol transmission message in embodiments of the present invention.
Fig. 5 is 2 flow charts that utilize QinQ protocol transmission message in embodiments of the present invention.
Embodiment
The present invention proposes a kind of method of message transmission, its core concept is: be at least two VLAN passages of user data setting; The edge routing device utilizes the available VLAN channel transfer message in set each VLAN passage after receiving the message that user network sends.
Accordingly, the invention allows for a kind of system of message transmission, this system comprises: user network and switching network, comprise a plurality of edges routing device and at least two VLAN passages in the described switching network, wherein, described edge routing device receives the message from user network, utilizes the available VLAN channel transfer message in the described VLAN passage.
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with drawings and the specific embodiments.
Come for two example two below specific implementation process of the present invention is described in detail.
Embodiment 1:
Fig. 3 is the system configuration schematic diagram when utilizing QinQ protocol transmission message in embodiments of the present invention.Fig. 4 is the flow chart that utilizes QinQ protocol transmission message in the embodiment of the invention 1.Referring to Fig. 3 and Fig. 4, in the present invention, sending message with the user of the user in the user network 1 in user network 2 is example, and the process of its message transmission mainly may further comprise the steps:
Step 401: be at least two VLAN passages of user data setting in advance in two layers of switching network.
For ease of describing, below comprise that with set VLAN passage VLAN 1000 and VLAN2000 are that example describes.
Step 402: for each set VLAN passage is provided with priority.
Here, the scope of described priority can be 1~4094, and wherein, priority 1 is the highest, under the identical situation of priority, and the priority height of the VLAN passage that VLAN tag value is little.
Step 403: at each edge routing device, for this edge routing device is provided with link corresponding sign (LINKID) corresponding to each link of each VLAN passage.
Here, referring to Fig. 3, such as can link corresponding sign LINKID 1 being set for the link AC corresponding to VLAN 1000 between edge routing device 1 and the edge routing device 2, for the link AC corresponding to VLAN 2000 between edge routing device 1 and the edge routing device 2 is provided with link corresponding sign LINKID 2, for the link AB corresponding to VLAN 1000 between edge routing device 1 and the edge routing device 3 is provided with link corresponding sign LINKID 3, for the link AB corresponding to VLAN 2000 between edge routing device 1 and the edge routing device 3 is provided with link corresponding sign LINKID 4.
Referring to Fig. 3, for another example, can be for the link BC corresponding to VLAN 1000 between edge routing device 2 and the edge routing device 3 be provided with link corresponding sign LINKID 5, for the link BC corresponding to VLAN 2000 between edge routing device 2 and the edge routing device 3 is provided with link corresponding sign LINKID 6.
For the chain line that each bar link is provided with can be referring to as shown in table 1 below.
LINKID 1 A<-->C VLAN 1000
LINKID 2 A<-->C VLAN 2000
LINKID 3 A<-->B VLAN 1000
LINKID 4 A<-->B VLAN 2000
LINKID 5 B<-->C VLAN 1000
LINKID 6 B<-->C VLAN 2000
Table 1
Step 404: according to set VLAN passage priority and corresponding to each link of each VLAN passage, set up the port link-state list, the port link-state list of being set up is kept in the corresponding edge routing device.
Here, comprise in the port link-state list of being set up: the port of edge routing device and corresponding to each chain line of each VLAN passage, VLAN gap marker, corresponding to state, the VLAN passage priority of each link of each VLAN passage and select corresponding relation between the mark for use.
Such as, for edge routing device 1, the port link-state list of being set up can be referring to as shown in table 2 below.
Port Link ID The VLAN passage State Priority Select mark for use
A LINKID 1 1000 UP 1 YES
A LINKID 2 2000 UP 2 NO
A LINKID 3 1000 UP 1 YES
A LINKID 4 2000 UP 2 NO
Table 2
Referring to table 2, exist between edge routing device 1 and the edge routing device 2 corresponding to VLAN1000, link is designated the link 1 of LINKID1, and corresponding to VLAN 2000, link is designated the link 2 of LINKID2; Exist between edge routing device 1 and the edge routing device 3 corresponding to VLAN 1000, link is designated the link 3 of LINKID3, and corresponding to VLAN 2000, link is designated the link 4 of LINKID4.
According to the priority that sets in advance, between edge routing device 1 and the edge routing device 2, the priority of VLAN passage 1 is greater than the priority of VLAN passage 2, so corresponding to VLAN 1000, link be designated LINKID1 link 1 priority greater than corresponding to VLAN 2000, link is designated the link 2 of LINKID2, promptly between edge routing device 1 and edge routing device 2, can preferentially select for use corresponding to VLAN 1000, link is designated the link 1 of LINKID1.In addition, between edge routing device 1 and the edge routing device 3, corresponding to VLAN 1000, link be designated LINKID3 link 3 priority greater than corresponding to VLAN 2000, link is designated the link 4 of LINKID4, promptly between edge routing device 1 and edge routing device 3, can preferentially select for use corresponding to VLAN 1000, link is designated the link 3 of LINKID3.
Step 405: routing device basis in edge is corresponding to the state of the link of each VLAN passage, real-time update port link-state list.
Here, described renewal comprises: normal or fault is upgraded the state of link according to link, removes link etc. during link switchover.
In this step, the edge routing device can carry out the availability monitoring to the link corresponding to each VLAN passage, thereby obtains the state of this each link, and upgrades the port link-state list.Wherein, the routing device existing link state monitoring method that can utilize the 802.1ag agreement to provide in edge realizes the process of availability monitoring in this step.Referring to table 2, such as for edge routing device 1, edge routing device 1 can be constructed a probe messages, by link this probe messages is sent to edge routing device 2 and edge routing device 3 corresponding to each VLAN passage, if in setting-up time, edge routing device 1 does not receive response message on the link AB corresponding to VLAN 1000, on other links, receive response message, then can determine to break down corresponding to the link AB of VLAN 1000, other links are normal, then the state corresponding to the link AB of VLAN 1000 in the port link-state list is updated to malfunction DOWN, and upgrade accordingly and select mark for use, specifically referring to as shown in table 3 below.
Port Link ID The VLAN passage State Priority Select mark for use
A LINKID 1 1000 DOWN 1 NO
A LINKID 2 2000 UP 2 YES
A LINKID 3 1000 UP 1 YES
A LINKID 4 2000 UP 2 NO
Table 3
Step 406: when the user in the user network 11 need communicate with the user 2 in the user network 2, the broadcasting packet that the user 1 in the user network 1 will carry self MAC address 1 was sent to edge routing device 1.
Step 407: after edge routing device 1 receives this broadcasting packet, corresponding to the state of the link of each set VLAN passage, according to the state of each link, and the priority of each VLAN passage, select the VLAN passage in the inquiry port link-state list.
Step 408: edge routing device 1 is carried out Stacking VLAN, the sign of selected VLAN passage is encapsulated in the broadcasting packet, and will insert corresponding to the LINKID of the link of selected VLAN passage in the broadcasting packet, by link, broadcasting packet is sent to edge routing device 2 and edge routing device 3 corresponding to selected VLAN passage.
Here, edge routing device 1 further in self, set up selected VLAN gap marker, corresponding to the LINKID of selected VLAN channel link and first corresponding relation between MAC Address 1 three.
Referring to table 2, be normal condition such as all being in the UP state corresponding to the link of each VLAN passage on the edge routing device 1, so, in above-mentioned steps 407, according to the port link-state list, because the priority of VLAN 1000 is greater than VLAN 2000, therefore, that selection is VLAN 1000.Like this, in step 408, between edge routing device 1 and edge routing device 2, preferentially select for use corresponding to VLAN 1000, link is designated the link 1 of LINKID1, between edge routing device 1 and the edge routing device 3, preferentially select for use corresponding to VLAN 1000, link is designated the link 3 of LINKID3, and by link 1 and link 3 broadcasting packet is sent to edge routing device 2 and edge routing device 3 respectively.
Here, because message sends to the user 2 in 2 logotype families of edge routing device network 2, so after edge routing device 3 receives broadcasting packet, abandon this broadcasting packet.
Step 409: after edge routing device 2 receives broadcasting packet, obtain the VLAN gap marker in this broadcasting packet, the LINKID of VLAN channel link and user 1 MAC Address 1 by edge routing device 2, set up the LINKID of this VLAN gap marker, VLAN channel link and first corresponding relation between MAC Address 1 three.
Here, such as in above-mentioned steps 408, edge routing device 1 is by being sent to edge routing device 2 corresponding to link 1 VLAN 1000, that link is designated LINKID1 with broadcasting packet, and by broadcasting packet being sent to edge routing device 3 corresponding to link 3 VLAN 1000, that link is designated LINKID3, like this, in this step 409, edge routing device 2 is set up is first corresponding relation between VLAN1000, LINKID1 and the MAC Address 1.
Step 410: the VLAN gap marker in the edge routing device 2 removal broadcasting packets and the LINKID of VLAN channel link are sent to broadcasting packet the user in the user network 2 then.
Step 411: need the user 2 who communicates by letter with user 1 to receive broadcasting packet in the user network 2, the response message that carries user 1 MAC Address 1 and user's 2 MAC Address 2 is sent to edge routing device 2.
Step 412: after edge routing device 2 receives response message, according to MAC Address 1 of carrying in this response message and first corresponding relation of in self, being set up, find the VLAN gap marker corresponding and corresponding to the LINKID of VLAN channel link, and in first corresponding relation that self sets up, add MAC Address 2 with MAC Address 1.
Here, edge routing device 2 adds MAC Address 2 in first corresponding relation that self sets up, and has then set up first corresponding relation between LINKID, MAC Address 1 and the MAC Address 2 four of VLAN gap marker, VLAN channel link.
Step 413: edge routing device 2 is carried at the LINKID that is found in the response message, and execution Stacking VLAN, the sign of the VLAN passage that found is inserted in the response message, pass through to be found corresponding to the VLAN channel link, response message is sent to edge routing device 1.
Here, because in step 409, edge routing device 2 is set up is corresponding relation between VLAN 1000, LINKID1 and the MAC Address 1, so, in step 412, that edge routing device 2 finds MAC Address 1 correspondence is VLAN 1000 and LINKID1, so by the link 1 corresponding to VLAN 1000 response message is sent to edge routing device 1.
Step 414: after edge routing device 1 receives response message, remove in this response message the VLAN gap marker and corresponding to the LINKID of VLAN channel link, be MAC Address 1 according to the target MAC (Media Access Control) address in this response message then, this response message is sent to user 1 in the user network 1.
In this step, edge routing device 1 further adds MAC Address 2 in first corresponding relation that self sets up, thereby set up first corresponding relation between LINKID, MAC Address 1 and the MAC Address 2 four of VLAN gap marker, VLAN channel link.
Step 415: after user 1 receives response message, from this response message, obtain user 2 MAC Address 2.
After this, user 1 and user 2 are when the other side sends datagram, all in data message, carry MAC Address 1 and MAC Address 2, edge routing device 1 and edge routing device 2 are after receiving data message, and first corresponding relation after then can upgrading according to self transmits by the link corresponding to selected VLAN passage.
So far, then realized the process that user 1 and user 2 in the user network 2 in the user network 1 communicate.
Embodiment 2:
Fig. 5 is the flow chart that utilizes QinQ protocol transmission message in the embodiment of the invention 2.Referring to Fig. 3 and Fig. 5, in the present invention, sending message with the user of the user in the user network 1 in user network 2 is example, and the process of its message transmission mainly may further comprise the steps:
All descriptions of step 501~step 502 are all identical with all descriptions of step 401~step 402.
Step 503: when the user in the user network 11 need communicate with the user 2 in the user network 2, the broadcasting packet that the user 1 in the user network 1 will carry self MAC address 1 was sent to edge routing device 1.
Step 504: edge routing device 1 is directly selected all set VLAN passages, by all VLAN passages broadcasting packet is sent to edge routing device 2 and edge routing device 3.
Here, because message sends to the user 2 in 2 logotype families of edge routing device network 2, so after edge routing device 3 receives broadcasting packet, abandon this broadcasting packet.
Step 505: after edge routing device 2 received broadcasting packet by each VLAN passage, selective reception was set up second corresponding relation between selected VLAN gap marker and the MAC Address 1 to VLAN passage broadcasting packet, that priority is the highest in self.
Step 506: edge routing device 2 is removed behind the VLAN gap marker in the broadcasting packets user who broadcasting packet is sent in the user network 2.
Step 507: need the user 2 who communicates by letter with user 1 to receive broadcasting packet in the user network 2, the response message that carries user 1 MAC Address 1 and user's 2 MAC Address 2 is sent to edge routing device 2.
Step 508: after edge routing device 2 receives response message, according to MAC Address 1 of carrying in this response message and second corresponding relation of in self, being set up, find the VLAN gap marker corresponding, and in second corresponding relation that self sets up, add MAC Address 2 with MAC Address 1.
Here, edge routing device 2 adds MAC Address 2 in second corresponding relation that self sets up, then set up second corresponding relation between VLAN gap marker, MAC Address 1 and the MAC Address 2.
Step 509: edge routing device 2 is carried out Stacking VLAN, and the sign of the VLAN passage that found is inserted in the response message, passes through the VLAN passage that found, and response message is sent to edge routing device 1.
Step 510: after edge routing device 1 receives response message, removing the VLAN gap marker in this response message, is MAC Address 1 according to the target MAC (Media Access Control) address in this response message then, and this response message is sent to user 1 in the user network 1.
Here, edge routing device 1 is further set up the sign of the VLAN passage that receives response message and second corresponding relation between MAC Address 1 and the MAC Address 2 in self.
Step 511: after user 1 receives response message, from this response message, obtain user 2 MAC Address 2.
After this, user 1 and user 2 are when the other side sends datagram, all in data message, carry MAC Address 1 and MAC Address 2, edge routing device 1 and edge routing device 2 are after receiving data message, and second corresponding relation after then can upgrading according to self transmits by the link corresponding to selected VLAN passage.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (15)

1. the method for a message transmission is characterized in that, this method comprises:
For the user is provided with at least two virtual LAN VLAN passages;
The edge routing device utilizes the available VLAN channel transfer message in set each VLAN passage after receiving the message that user network sends.
2. method according to claim 1 is characterized in that, this method further comprises: for each set VLAN passage is provided with priority;
The described step of the available VLAN channel transfer message in set each VLAN passage of utilizing comprises: the edge routing device utilizes the highest available VLAN channel transfer message of set each VLAN passage medium priority.
3. method according to claim 2 is characterized in that, this method further comprises: for each link corresponding to each VLAN passage on the described edge routing device is provided with link corresponding sign LINKID, monitor and upgrade the state of each link;
Described edge routing device utilizes the step of the highest available VLAN channel transfer message of set each VLAN passage medium priority to comprise: described edge routing device is selected corresponding to normal link of current state and the highest VLAN passage of priority, and by the link transmission message corresponding to selected VLAN passage.
4. method according to claim 3, it is characterized in that, the step of the state of described each link of monitoring comprises: described edge routing device structural exploration message, send to other edge routing devices by the link corresponding to set VLAN passage between self and other edge routing devices, and whether monitoring receives the response message that other edge routing devices return in setting-up time, if receive, determine that then this link corresponding to set VLAN passage is in normal condition, otherwise, determine that this link corresponding to set VLAN passage is in malfunction.
5. method according to claim 3 is characterized in that, the broadcasting packet that carries the caller MAC Address that described message is sent for the calling subscriber;
Describedly comprise by step corresponding to the link transmission message of selected VLAN passage:
Described edge routing device inserts in the broadcasting packet with the sign of selected VLAN passage and corresponding to the LINKID of the link of selected VLAN passage, by the link corresponding to selected VLAN passage, broadcasting packet is sent to other edge routing devices;
Other edge routing devices are sent to the called subscriber with broadcasting packet, and set up first corresponding relation between VLAN gap marker, LINKID and the caller MAC Address of being obtained in self from broadcasting packet;
After other edge routing devices receive the response message that carries caller MAC Address and called MAC Address that the called subscriber sends, from first corresponding relation that self sets up, find VLAN gap marker, LINKID, the sign of the LINKID that found and VLAN passage is inserted in the response message, by link, response message is sent to described edge routing device corresponding to finding VLAN passage;
Described edge routing device is sent to the calling subscriber with response message.
6. method according to claim 5, it is characterized in that, before described other edge routing devices are sent to the called subscriber with broadcasting packet, further comprise: described other edges routing devices are removed the LINKID in the received broadcasting packet and the sign of VLAN passage.
7. method according to claim 5, it is characterized in that this method further comprises: described edge routing device sets up the sign of selected VLAN passage in self, corresponding to the LINKID of the link of selected VLAN passage and first corresponding relation of caller MAC Address; Described other edge routing devices increase called MAC Address in first corresponding relation of self setting up; Described edge routing device increases called MAC Address in first corresponding relation of self setting up; After described edge routing device receives the data message that carries caller MAC Address and called MAC Address, according to first corresponding relation of self setting up, by link transmission data message corresponding to selected VLAN passage.
8. method according to claim 2 is characterized in that, described edge routing device utilizes the step of the highest available VLAN channel transfer message of set each VLAN passage medium priority to comprise:
Described edge routing device is sent to other edge routing devices by all set VLAN passages with the broadcasting packet that carries each VLAN gap marker respectively;
Other edge routing devices are sent to the called subscriber with broadcasting packet, and selective reception is set up second corresponding relation between selected VLAN gap marker and the caller MAC Address to VLAN passage broadcasting packet, that priority is the highest in self;
After other edge routing devices receive the response message that carries caller MAC Address and called MAC Address that the called subscriber sends, from second corresponding relation that self sets up, find the VLAN gap marker, the sign of the VLAN passage that found is inserted in the response message, pass through the VLAN passage that found, response message is sent to described edge routing device;
Described edge routing device is sent to the calling subscriber with response message.
9. method according to claim 8, it is characterized in that, before described other edge routing devices are sent to the called subscriber with broadcasting packet, further comprise: described other edge routing devices are removed the sign of the VLAN passage in the received broadcasting packet.
10. method according to claim 8 is characterized in that, this method further comprises: described edge routing device is set up second corresponding relation of the sign and the caller MAC Address of selected VLAN passage in self; Described other edge routing devices increase called MAC Address in second corresponding relation of self setting up; Described edge routing device increases called MAC Address in second corresponding relation of self setting up; After described edge routing device receives the data message that carries caller MAC Address and called MAC Address, according to second current in self corresponding relation, by the VLAN channel transmission data message of correspondence.
11. the system of a message transmission, it is characterized in that, this system comprises: user network and switching network, comprise a plurality of edges routing device and at least two VLAN passages in the described switching network, wherein, described edge routing device receives the message from user network, utilizes the available VLAN channel transfer message in the described VLAN passage.
12. system according to claim 11, it is characterized in that, described edge routing device, be used for directly receiving the message that user network is sent, selection is corresponding to normal link of current state and the highest VLAN passage of priority, inserts in the broadcasting packet, by the link corresponding to selected VLAN passage with the sign of selected VLAN passage and corresponding to the LINKID of the link of selected VLAN passage, broadcasting packet is sent to other edge routing devices, and response message is sent to user network.
13. system according to claim 11, it is characterized in that, described edge routing device, be used to receive the broadcasting packet that other edge routing devices are sent, broadcasting packet is sent to the called subscriber, and the VLAN gap marker that foundation is obtained from broadcasting packet in self, first corresponding relation between LINKID and the caller MAC Address, after receiving the response message that carries caller MAC Address and called MAC Address that the called subscriber sends, from first corresponding relation that self sets up, find the VLAN gap marker, LINKID, the sign of the LINKID that found and VLAN passage is inserted in the response message, by link, response message is sent to the described edge routing device that user network is sent message that directly receives corresponding to finding VLAN passage.
14. system according to claim 11, it is characterized in that, described edge routing device, be used for directly receiving the message that user network is sent, by all VLAN passages, the broadcasting packet that carries each VLAN gap marker respectively is sent to other edge routing devices, and response message is sent to user network.
15. system according to claim 11, it is characterized in that, described edge routing device, be used to receive the broadcasting packet that other edge routing devices are sent, broadcasting packet is sent to the called subscriber, broadcasting packet is arrived in selective reception, the VLAN passage that priority is the highest, in self, set up second corresponding relation between selected VLAN gap marker and the caller MAC Address, after receiving the response message that carries caller MAC Address and called MAC Address that the called subscriber sends, from second corresponding relation that self sets up, find the VLAN gap marker, the sign of the VLAN passage that found is inserted in the response message, pass through the VLAN passage that found, response message is sent to the described edge routing device that user network is sent message that directly receives.
CN2006101268696A 2006-09-07 2006-09-07 Method and system of transmitting packet Expired - Fee Related CN101141380B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006101268696A CN101141380B (en) 2006-09-07 2006-09-07 Method and system of transmitting packet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006101268696A CN101141380B (en) 2006-09-07 2006-09-07 Method and system of transmitting packet

Publications (2)

Publication Number Publication Date
CN101141380A true CN101141380A (en) 2008-03-12
CN101141380B CN101141380B (en) 2010-09-22

Family

ID=39193135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006101268696A Expired - Fee Related CN101141380B (en) 2006-09-07 2006-09-07 Method and system of transmitting packet

Country Status (1)

Country Link
CN (1) CN101141380B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860490A (en) * 2010-06-12 2010-10-13 中兴通讯股份有限公司 Method for communicating packet transport network (PTN) with double-layer Ethernet and system thereof
CN102055720A (en) * 2009-10-28 2011-05-11 中兴通讯股份有限公司 QinQ-based message transmission method and device
CN101616161B (en) * 2009-07-31 2012-07-18 中兴通讯股份有限公司 Method and device for transmitting service quality information in QinQ Metro Ethernet
CN105306302A (en) * 2015-11-04 2016-02-03 上海斐讯数据通信技术有限公司 Method and system for automatically testing Qinq function
CN106921473A (en) * 2015-12-28 2017-07-04 华为技术有限公司 A kind of data transmission method and relevant device of track traffic WLAN
CN109257285A (en) * 2018-10-31 2019-01-22 中国联合网络通信集团有限公司 route storage method and device
CN114500404A (en) * 2022-01-25 2022-05-13 银清科技有限公司 Communication message transmission isolation method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004080323A (en) * 2002-08-16 2004-03-11 Fujitsu Ltd Lan switching method and lan switch
CN1512675A (en) * 2002-12-31 2004-07-14 东方通信科技发展有限公司 Conversion method for main and spare communication channels

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616161B (en) * 2009-07-31 2012-07-18 中兴通讯股份有限公司 Method and device for transmitting service quality information in QinQ Metro Ethernet
CN102055720A (en) * 2009-10-28 2011-05-11 中兴通讯股份有限公司 QinQ-based message transmission method and device
CN102055720B (en) * 2009-10-28 2015-10-21 中兴通讯股份有限公司 Based on message transmitting method and the device of QinQ
CN101860490B (en) * 2010-06-12 2015-01-28 中兴通讯股份有限公司 Method for communicating packet transport network (PTN) with double-layer Ethernet and system thereof
CN101860490A (en) * 2010-06-12 2010-10-13 中兴通讯股份有限公司 Method for communicating packet transport network (PTN) with double-layer Ethernet and system thereof
CN105306302B (en) * 2015-11-04 2018-07-13 上海斐讯数据通信技术有限公司 The automated testing method and system of Qinq functions
CN105306302A (en) * 2015-11-04 2016-02-03 上海斐讯数据通信技术有限公司 Method and system for automatically testing Qinq function
CN106921473A (en) * 2015-12-28 2017-07-04 华为技术有限公司 A kind of data transmission method and relevant device of track traffic WLAN
CN106921473B (en) * 2015-12-28 2020-03-31 华为技术有限公司 Data transmission method of rail transit wireless local area network and related equipment
CN109257285A (en) * 2018-10-31 2019-01-22 中国联合网络通信集团有限公司 route storage method and device
CN109257285B (en) * 2018-10-31 2021-06-29 中国联合网络通信集团有限公司 Route storage method and device
CN114500404A (en) * 2022-01-25 2022-05-13 银清科技有限公司 Communication message transmission isolation method and device
CN114500404B (en) * 2022-01-25 2024-02-20 银清科技有限公司 Communication message transmission isolation method and device

Also Published As

Publication number Publication date
CN101141380B (en) 2010-09-22

Similar Documents

Publication Publication Date Title
CN102724118B (en) Label distribution method and device
CN107005462B (en) Method, equipment and system for forwarding data in software defined network
CN101141380B (en) Method and system of transmitting packet
CN101047618B (en) Method and system for acquiring network route information
CN102202104B (en) Managing distributed address pools within network devices
CN101133407B (en) Metro Ethernet with flexible broadcast and service instance domain
EP2086178B1 (en) Link aggregation method and device, mac frame receiving/sending method and system
EP2568670B1 (en) Method for message forwarding and device for deep packet inspection
CN101286922B (en) Signalling control method, system and apparatus
CN101364889B (en) Method for multicast user quick access
CN102918808A (en) Method to pass virtual local area network information in virtual station interface discovery and configuration protocol
KR20090028531A (en) Mac address learning in a distributed bridge
CN101227415A (en) Multi business resource allocation method, system, gateway equipment and authentication server
CN101877677B (en) Tunnel switching method and system for multi-protocol label switching services
CN103401773A (en) Method and network equipment realizing interboard communication
CN105490937B (en) Ether virtual network gateway switching method and service provider&#39;s edge node devices
CN107005479B (en) Method, device and system for forwarding data in Software Defined Network (SDN)
CN106375211B (en) Exchange data processing method and interchanger in VRRP load-balancing scenario
CN103297338A (en) Virtual private network (VPN) router advertisement method and device
CN101631060A (en) Method and device for managing edge port
CN103200107B (en) Message transmitting method and message transmitting equipment
CN105208598A (en) Network access method and apparatus
CN105791176A (en) Method and device for determining IT (Information Technology) equipment port
WO2023116457A1 (en) Packet processing method and apparatus, and communication system
CN102938732A (en) Method and device for improving double-tunnel reliability

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

Granted publication date: 20100922

Termination date: 20180907