CN105392171B - A kind of message forwarding method and its forwarding unit - Google Patents

A kind of message forwarding method and its forwarding unit Download PDF

Info

Publication number
CN105392171B
CN105392171B CN201510725672.3A CN201510725672A CN105392171B CN 105392171 B CN105392171 B CN 105392171B CN 201510725672 A CN201510725672 A CN 201510725672A CN 105392171 B CN105392171 B CN 105392171B
Authority
CN
China
Prior art keywords
message
identifier
virtual port
vlan
port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201510725672.3A
Other languages
Chinese (zh)
Other versions
CN105392171A (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.)
Comba Network Systems Co Ltd
Original Assignee
Comba Telecom Technology Guangzhou Ltd
Comba Telecom Systems China Ltd
Comba Telecom Systems Guangzhou Co Ltd
Tianjin Comba Telecom Systems 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 Comba Telecom Technology Guangzhou Ltd, Comba Telecom Systems China Ltd, Comba Telecom Systems Guangzhou Co Ltd, Tianjin Comba Telecom Systems Co Ltd filed Critical Comba Telecom Technology Guangzhou Ltd
Priority to CN201510725672.3A priority Critical patent/CN105392171B/en
Publication of CN105392171A publication Critical patent/CN105392171A/en
Application granted granted Critical
Publication of CN105392171B publication Critical patent/CN105392171B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices

Abstract

The invention discloses a kind of message forwarding method and its forwarding unit, this method includes:After receiving the first message comprising first identifier, according to the correspondence of first identifier and second identifier, the corresponding second identifier of first identifier in first message is determined;According to the first identifier and the second identifier, the first virtual port and the second virtual port are determined;The second message that will be converted to by first message protocol, it is forwarded by first virtual port and second virtual port, pass through the correspondence of first identifier and second identifier, the process of the MAC Address list item study of the prior art is substituted, the time is saved, the treatment effeciency of equipment is improved.

Description

A kind of message forwarding method and its forwarding unit
Technical field
The present invention relates in communication system message retransmission technique field more particularly to a kind of message forwarding method and its turn Send out equipment.
Background technology
Traditional interchanger internal structure is typically a bridge, and so-called bridge is a kind of skill being forwarded to data frame Art, main function are the network-termination devices that will be in different segment in network, are connected in a data link layer, that is, Say that the data that network-termination device is sent out carry out two layers of forwarding by bridge.
Two layers of forwarding specifically refer to after bridge receives a message, can carry out source MAC (Media Access to message Control, media access control) address learning, the study of MAC Address list item is mainly to record arrival end slogan and the source of message MAC Address, target MAC (Media Access Control) address and exit port side VLAN ID (Virtual Local Area Network Identity, VLAN ID), when next forwarding number according to when, first with searching MAC according to the target MAC (Media Access Control) address of this message and VLAN ID Location learns list item, is forwarded the message from the corresponding exit ports of VLAN ID according to lookup result.As it can be seen that two layers forwarded over Journey can learn to generate regular hour consumption because of MAC Address list item, and then influence the treatment effeciency of message forwarding.
To sum up, existing layer 2 forwarding method causes time loss big because there are the learning processes of MAC Address list item, report Literary forward efficiency is low.
Invention content
A kind of message forwarding method of offer of the embodiment of the present invention and its forwarding unit, to solve in the prior art because of MAC Address list item study causes the consumption of message forwarding time big, the low problem for the treatment of effeciency.
The method of the present invention includes a kind of message forwarding method, and this method includes:Include the first of first identifier receiving After message, according to the correspondence of first identifier and second identifier, the first identifier corresponding in first message is determined Two marks;According to the first identifier and the second identifier, the first virtual port and the second virtual port are determined;It will be by described The second message that first message protocol is converted to is turned by first virtual port and second virtual port Hair.
Based on same inventive concept, the embodiment of the invention also includes a kind of message forwarding equipment, which includes:First Determination unit, for after receiving the first message comprising first identifier, being closed according to first identifier and the corresponding of second identifier System, determines the corresponding second identifier of first identifier in first message;Second determination unit, for being marked according to described first Knowledge and the second identifier, determine the first virtual port and the second virtual port;Retransmission unit, being used for will be by first message The second message that protocol conversion obtains is forwarded by first virtual port and second virtual port.
The embodiment of the present invention passes through the first identifier pre-established in wireless access point device and the correspondence of second identifier Relationship is assured that out second identifier after the message for receiving first identifier, while can also be according to first identifier and Two marks determine the first virtual port and the second virtual port, and then complete message in the first virtual port and the second virtual terminal Forwarding between mouthful, in this way, because the foundation of the correspondence of first identifier and second identifier is a kind of building for mapping relations It is vertical, MAC address learning need not be carried out according to the message of reception, the process of update and aging also be not present, therefore pass through this hair The Bridge configuration of the prior art is substituted in the retransmission method of bright embodiment, the process of the MAC Address list item study avoided, to subtract Few time loss improves the treatment effeciency of wireless access point device.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is a kind of message forwarding method schematic diagram provided in an embodiment of the present invention;
The uplink message that Fig. 2 provides single wireless access point for the embodiment of the present invention forwards schematic diagram;
The downlink message that Fig. 3 provides single wireless access point for the embodiment of the present invention forwards schematic diagram;
Fig. 4 provides the cascade uplink message of multiple wireless access point for the embodiment of the present invention and forwards schematic diagram;
Fig. 5 provides the cascade downlink message of multiple wireless access point for the embodiment of the present invention and forwards schematic diagram;
Fig. 6 provides a kind of message forwarding equipment schematic diagram for the embodiment of the present invention.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
VLAN (Virtual Local Area Network, virtual LAN) is a kind of equipment by LAN from patrolling It collects upper rather than is physically divided into multiple network segments, to realize the emerging data switching technology of virtual workgroup.Due to it It is logically to divide, rather than physically divide, so each work station in the same VLAN is not limited to together In one physical extent, i.e., these work stations can be in different physics LAN (Local Area Network, LAN) nets Section.Broadcast and unicast traffic inside one VLAN will not be all forwarded in other VLAN, to help to control flow, reduce Equipment investment, the safety for simplifying network management, improving network.
Currently, the standard for dividing VLAN has very much, such as:It divides VLAN according to port, divided according to MAC Address VLAN, VLAN is divided according to network layer and is divided according to IP (Internet Protocol, the agreement interconnected between network) multicast VLAN etc..A kind of division sides VLAN based on VAP (Virtual Access Point, virtual access point) of traditional bridge connected Method is:VLAN is divided according to port, this method is by binding the same ports VLAN agreements ID, when there is user data When packet is by port, port is that user data package adds a VLAN agreement ID, and material is thus formed what is identified with VLAN ID Multiple virtual ports.
It is actively to use in port when there is another side ports of the data packet Jing Guo wireless access point based on same reason User data packet adds the mark of a SSID (Service Set Identifier, service set), so that it may with by the port It is divided into the multiple virtual ports identified with SSID.
After the operation of port virtualization more than access point apparatus completion, the embodiment of the present invention is by providing a kind of report Literary retransmission method completes effective forwarding to message, and shown in Figure 1, specifically implementation method includes:
Step S101, after receiving the first message comprising first identifier, according to pair of first identifier and second identifier It should be related to, determine the corresponding second identifier of first identifier in first message.
Step S102 determines the first virtual port and the second virtual terminal according to the first identifier and the second identifier Mouthful.
Step S103, the second message that will be converted to by first message protocol pass through first virtual port It is forwarded with second virtual port.
Before executing step S101, the one-to-one relationship of first identifier and second identifier is preset, such as set SSID1 corresponds to VLAN ID1, and SSID2 corresponds to VLAN ID2, and so on.In this way, carrying the first of first identifier when receiving After message, it can determine that the first identifier in the message is corresponding according to the first identifier information of the first message received Second identifier.
Wherein it should be noted that if the first identifier is service set SSID, then the second identifier is virtual LAN ID VLAN ID;If the first identifier is VLAN ID, the second identifier is SSID.
Can include multiple and different SSID names in the broadcast message sent out in view of wireless access point device, when When client selects one of connection from the SSID name of acquisition, carrying selection will be sent out to wireless access point device SSID name connection request message, after wireless access point device receives the message, can on uplink by the message into Row data conversion, 802.11 frame data through the first message are converted to 802.3 frame data, and the second message after converting no longer is taken Mark with SSID name.In order to identify the message in the wireless access point device of subsequent cascaded, need artificially First message is specifically converted into the second message of 802.3 formats by addition mark after message conversion, and by institute The corresponding second identifier of the first identifier for including is stated in the first message to be placed in second message;Or by described first Message is converted into the second message of 802.3 formats, and the first identifier for including in first message is placed in described In two messages.
For example, client selects connection SSID1, wireless access point device to receive connection request from the SSID name of acquisition Message, and message conversion is carried out, transformed message no longer also has SSID1 marks, is needed at this time according to SSID name and VLAN The correspondence addition mark of interface, the mark of addition can be different SSID name, such as SSID1, SSID2 etc., certainly The mark of addition can also be corresponding with SSID name VLAN interface title, such as VLAN ID1, VLAN ID2 etc., also It is to say that addition mark can be first identifier, can also be second identifier.
In addition, the first virtual port and the second virtual port that are related to for following content of the embodiment of the present invention are made in advance Setting, that is, it is the side received after the SSID mark completions carried according to message are distributed that it is corresponding, which to set the first virtual port, the Corresponding two virtual ports are another side ports being connect with optical interface or Ethernet protocol interface, are divided generally by VLAN The multiple virtual ports obtained afterwards.
In step s 102, the first virtual port and the second virtual port are determined by first identifier and second identifier Implementation method is as follows:
If the first identifier is SSID, first message and second message are uplink message;According to described One mark and the second identifier, determine the first virtual port and the second virtual port, including:It is determined according to the first identifier First virtual port, and the second virtual port is determined according to the second identifier;
If the first identifier is VLAN ID, first message and second message are uplink message;According to described First identifier and the second identifier determine the first virtual port and the second virtual port, including:
The first virtual port is determined according to the second identifier, and the second virtual terminal is determined according to the first identifier Mouthful.
If the first identifier is SSID, first message and second message are downlink message;According to described One mark and the second identifier, determine the first virtual port and the second virtual port, including:It is determined according to the first identifier First virtual port, and the second virtual port is determined according to the second identifier;
If the first identifier is VLAN ID, first message and second message are downlink message;According to described First identifier and the second identifier determine the first virtual port and the second virtual port, including:
The first virtual port is determined according to the second identifier, and the second virtual terminal is determined according to the first identifier Mouthful.
As it can be seen that the first virtual port is obtained by SSID mark determinations, the second virtual port is determining by VLAN ID mark Go out.
In view of realizing that the forwarding unit of repeating process may be a wireless access point device, it is also possible to multiple cascades Wireless access point device, and forward process there is also two kinds of situations of uplink message and downlink message, therefore there is with Lower four kinds of scenes, it should be noted that following four kinds of scenes be only using SSID1 the and VLAN ID1 in Fig. 2 to Fig. 5 as example into Row describes, and the repeating process in figure between rest channels such as SSID2 and VLAN ID2, which can analogize, to be obtained.
Scene one:
If realizing, the forwarding unit of repeating process is single wireless access point device, and it is the upper of user side initiation to receive message Row message, as shown in Fig. 2, the repeating process so realized using retransmission method provided in an embodiment of the present invention is as follows:
Wireless access point device receives the first message for including SSID1 marks, then determines that corresponding second identifier is VALN ID1, therefore corresponding first virtual ports of SSID1 are determined by SSID1, VALN is determined by VALN ID1 Corresponding second virtual ports of ID1, the first message pass through after the first virtual port, have completed 802.11 frame data extremely The conversion of 802.3 frame data obtains the second message, is turned second message according to the second virtual port that VLAN ID1 are determined It is sent to the second virtual port, and is actively the mark of the identification information either VLAN ID1 marks of message addition SSID1 marks Know information.
Scene two:
If realizing, the forwarding unit of repeating process is single wireless access point device, the downlink message that network side is initiated, root The second message is determined according to following manner:First message is converted into the second message of 802.11 formats, and by described first The corresponding second identifier of the first identifier for including in message is placed in second message;Alternatively, by first message It is converted into the second message of 802.11 formats, and the first identifier for including in first message is placed in second report Wen Zhong.Specifically, as shown in figure 3, further explaining how the repeating process of determining second message and message.
Situation one:
Wireless access point device receives the first message for carrying SSID1 marks, according to preset first identifier and the The one-to-one relationship of two marks determines that second identifier is VLAN ID1 by SSID1 marks, then determines VLAN ID1 Corresponding second virtual port and corresponding first virtual ports of SSID1, and the message is forwarded to from the second virtual port One virtual port, and complete conversion of 802.3 frame data of downlink to 802.11 frame data.
Situation two:
Wireless access point device receives the first message for carrying VLAN ID1 marks, directly determines second by VLAN ID1 Virtual port is searched by VLAN ID1 and is corresponded to according to the one-to-one relationship of preset first identifier and second identifier Second identifier SSID1, and then the first virtual port is determined by second identifier SSID1, and by the message from the second virtual terminal Mouth is forwarded to the first virtual port, and completes conversion of 802.3 frame data of downlink to 802.11 frame data.
Scene three:
If realizing, the forwarding unit of repeating process is multiple cascade wireless access point devices, and it is user side hair to receive message The uplink message risen, as shown in figure 4, the repeating process so realized using retransmission method provided in an embodiment of the present invention is as follows:
Wireless access point device receives the first message for including SSID1 marks, then determines that corresponding second identifier is VALN ID1, therefore corresponding first virtual ports of SSID1 are determined by SSID1, VALN is determined by VALN ID1 Corresponding second virtual ports of ID1, the first message pass through after the first virtual port, have completed 802.11 frame data extremely The conversion of 802.3 frame data obtains the second message, is turned second message according to the second virtual port that VLAN ID1 are determined It is sent to the second virtual port, and is actively the mark of the identification information either VLAN ID1 marks of message addition SSID1 marks Know information.After the message is forwarded to the wireless access point device of next stage, a point following two situations are handled respectively:
Situation one:
Next stage wireless access point device determines SSID1 corresponding the according to message of the reception comprising SSID1 marks One virtual port then completes forwarding of first virtual port to the second virtual port, if also having wireless access point to set below Standby, repeating process is similar, repeats no more.
Situation two:
Next stage wireless access point device determines that second identifier is according to the message comprising VLAN ID1 marks of reception SSID1 then determines corresponding first virtual ports of SSID1, then completes the first virtual port to the second virtual port Forwarding, if there is wireless access point device below, repeating process is similar, repeats no more.
Scene four:
If realizing, the forwarding unit of repeating process is multiple cascade wireless access point devices, and it is network side hair to receive message The downlink message risen, as shown in figure 5, the repeating process so realized using retransmission method provided in an embodiment of the present invention is as follows:
Wireless access point device receives the first message for carrying SSID1 marks either VLAN ID1 marks, passes through SSID1 Mark determines that second identifier is VLAN ID1, then determines that corresponding second virtual ports of VLAN ID1 and SSID1 correspond to The first virtual port, or the second virtual port is directly determined by VLAN ID1, passes through VLAN ID1 corresponding second Mark SSID1 determines the first virtual port.And the message is forwarded to the first virtual port and complete from the second virtual port At the conversion of 802.3 frame data of downlink to 802.11 frame data, while data conversion, artificially by transformed report Text increases the identification information of the identification information either VLAN ID1 marks of SSID1 marks.When the message is forwarded to next stage After wireless access point device, next stage wireless access point device receives the report for carrying SSID1 marks either VLAN ID1 marks Text is completed subsequent forwarding still according to above-mentioned repeating process and is operated, therefore repeats no more.
As it can be seen that the Bridge configuration of the prior art is substituted in the repeating process of above-mentioned scene provided in an embodiment of the present invention, keep away The process for the MAC Address list item study exempted from improves the treatment effeciency of wireless access point device to the time loss of reduction.
It is worth noting that the equally applicable wireless access point device of the embodiment of the present invention only broadcasts a SSID name outward The case where, only need to establish the mapping between message inbound port and exit port at this time, message can complete both sides port it Between repeating process, MAC Address list item learning process is omitted, saves time loss, provides the forward efficiency of equipment.
Based on the same technical idea, the embodiment of the present invention also provides a kind of message forwarding equipment, on the equipment is executable State embodiment of the method.Equipment provided in an embodiment of the present invention is as shown in Figure 6.
The message forwarding equipment includes:First determination unit 401, the second determination unit 402, retransmission unit 403.
First determination unit 401, for after receiving the first message comprising first identifier, according to first identifier and the The correspondence of two marks, determines the corresponding second identifier of first identifier in first message;
Second determination unit 402, for according to the first identifier and the second identifier, determine the first virtual port and Second virtual port;
Retransmission unit 403, the second message for will be converted to by first message protocol are empty by described first Quasi- port and second virtual port are forwarded;
Wherein, if the first identifier is service set SSID, the second identifier is VLAN ID number VLAN ID;
If the first identifier is VLAN ID, the second identifier is SSID.
In forwarding unit, the first determination unit 401 initially sets up correspondence, that is, presets first identifier and second The one-to-one relationship of mark, such as setting SSID1 correspond to VLAN ID1, and SSID2 corresponds to VLAN ID2, and so on.In this way, After receiving the first message for carrying first identifier, it can be determined according to the first identifier information of the first message received Go out the corresponding second identifier of first identifier in the message.
In the second determination unit 402, the first virtual port and the second void are determined by first identifier and second identifier The implementation method of quasi- port is as follows:
If the first identifier is SSID, first message and second message are uplink message;According to described One mark and the second identifier, determine the first virtual port and the second virtual port, including:It is determined according to the first identifier First virtual port, and the second virtual port is determined according to the second identifier;
If the first identifier is VLAN ID, first message and second message are uplink message;According to described First identifier and the second identifier determine the first virtual port and the second virtual port, including:
The first virtual port is determined according to the second identifier, and the second virtual terminal is determined according to the first identifier Mouthful.
If the first identifier is SSID, first message and second message are downlink message;According to described One mark and the second identifier, determine the first virtual port and the second virtual port, including:It is determined according to the first identifier First virtual port, and the second virtual port is determined according to the second identifier;
If the first identifier is VLAN ID, first message and second message are downlink message;According to described First identifier and the second identifier determine the first virtual port and the second virtual port, including:
The first virtual port is determined according to the second identifier, and the second virtual terminal is determined according to the first identifier Mouthful.
As it can be seen that the first virtual port is obtained by SSID mark determinations, the second virtual port is determining by VLAN ID mark Go out.
In view of realizing that the forwarding unit of repeating process may be a wireless access point device, it is also possible to multiple cascades Wireless access point device, and the process forwarded is there is also two kinds of situations of uplink message and downlink message, therefore retransmission unit 403 specific implementation procedure describes respectively for following four scene.
Scene one:
If realizing, the forwarding unit of repeating process is single wireless access point device, and it is the first message to receive message, that is, is used The uplink message that family side is initiated, retransmission unit are additionally operable to:First message is converted into the second message of 802.3 formats, and The corresponding second identifier of the first identifier for including in first message is placed in second message;Alternatively, by institute The second message that the first message is converted into 802.3 formats is stated, and the first identifier for including in first message is placed in In second message.Specifically, as shown in Fig. 2, so utilizing repeating process of the embodiment of the present invention as follows:
Wireless access point device receives the first message for including SSID1 marks, and the first determination unit 401 first is determined pair The second identifier answered is VALN ID1, therefore the second determination unit 402 determines SSID1 corresponding first virtually by SSID1 Corresponding second virtual ports of VALN ID1 are determined in port by VALN ID1, the first message by the first virtual port it Afterwards, conversion of 802.11 frame data to 802.3 frame data has been completed, has obtained the second message, retransmission unit 403 is according to VLAN Second message is forwarded to the second virtual port by the second virtual port that ID1 is determined, and is actively message addition SSID1 The identification information of the identification information of mark either VLAN ID1 marks.
Scene two:
If realizing, the forwarding unit of repeating process is single wireless access point device, and the downlink message that network side is initiated is the One message, the retransmission unit are additionally operable to:First message is converted into the second message of 802.11 formats, and by described The corresponding second identifier of the first identifier for including in one message is placed in second message;Alternatively, described first is reported Text is converted into the second message of 802.11 formats, and the first identifier for including in first message is placed in described second In message.Specifically, as shown in figure 3, so utilizing repeating process of the embodiment of the present invention as follows:
Situation one:
Wireless access point device receives the first message for carrying SSID1 marks, and the first determination unit 401 first passes through SSID1 marks determine that second identifier is VLAN ID1, and then the second determination unit 402 determines VLAN ID1 corresponding second The message is forwarded to first by virtual port and corresponding first virtual ports of SSID1, retransmission unit 403 from the second virtual port Virtual port, and complete conversion of 802.3 frame data of downlink to 802.11 frame data.
Situation two:
Wireless access point device receives the first message for carrying VLAN ID1 marks, and the second determination unit 402 directly passes through VLAN ID1 determine the second virtual port, and the first virtual port is determined by the corresponding second identifier SSID1 of VLAN ID1.Turn The message is forwarded to the first virtual port by bill member 403 from the second virtual port, and completes 802.3 frame data of downlink To the conversion of 802.11 frame data.
Scene three:
If realizing, the forwarding unit of repeating process is multiple cascade wireless access point devices, and it is user side hair to receive message The uplink message risen, as shown in figure 4, so utilizing repeating process of the embodiment of the present invention as follows:
Wireless access point device receives the first message for including SSID1 marks, and the first determination unit 401 first is determined pair The second identifier answered is VALN ID1, therefore the second determination unit 402 determines SSID1 corresponding first virtually by SSID1 Corresponding second virtual ports of VALN ID1 are determined in port by VALN ID1, the first message by the first virtual port it Afterwards, conversion of 802.11 frame data to 802.3 frame data has been completed, has obtained the second message, retransmission unit 403 is according to VLAN Second message is forwarded to the second virtual port by the second virtual port that ID1 is determined, and is actively message addition SSID1 The identification information of the identification information of mark either VLAN ID1 marks.When the wireless access point that the message is forwarded to next stage is set After standby, a point following two situations are handled respectively:
Situation one:
The second determination unit 402 in next stage wireless access point device is according to the message for including SSID1 marks of reception Determine corresponding first virtual ports of SSID1, then retransmission unit 403 completes the first virtual port to the second virtual port Forwarding, if there is wireless access point device below, repeating process is similar, repeats no more.
Situation two:
The first determination unit 401 in next stage wireless access point device is according to the report for including VLAN ID1 marks of reception Text determines that second identifier is SSID1, and then the second determination unit 402 determines corresponding first virtual ports of SSID1, then Retransmission unit 403 completes the forwarding of the first virtual port to the second virtual port, if there is wireless access point device below, turns Hair process is similar, repeats no more.
Scene four:
If realizing, the forwarding unit of repeating process is multiple cascade wireless access point devices, and it is network side hair to receive message The downlink message risen, as shown in figure 5, so utilizing repeating process of the embodiment of the present invention as follows:
Wireless access point device receives the first message for carrying SSID1 marks either VLAN ID1 marks, and first determines Unit 401 determines that second identifier is VLAN ID1 by SSID1 marks, and then the second determination unit 402 determines VLAN Corresponding second virtual ports of ID1 and corresponding first virtual ports of SSID1, or directly second is determined by VLAN ID1 Virtual port determines the first virtual port by the corresponding second identifier SSID1 of VLAN ID1.Retransmission unit 403 is by the report Text is forwarded to the first virtual port from the second virtual port, and completes 802.3 frame data of downlink to 802.11 frame data Conversion, while data conversion, artificially by transformed message increase SSID1 mark identification information either VLAN The identification information of ID1 marks.After the message is forwarded to the wireless access point device of next stage, next stage wireless access point device The message for carrying SSID1 marks either VLAN ID1 marks is received, subsequent forwarding is completed still according to above-mentioned repeating process Operation, therefore repeat no more.
As it can be seen that the Bridge configuration of the prior art is substituted in the repeating process of above-mentioned scene provided in an embodiment of the present invention, keep away The process for the MAC Address list item study exempted from improves the treatment effeciency of wireless access point device to the time loss of reduction.
It is worth noting that the equally applicable wireless access point device of the embodiment of the present invention only broadcasts a SSID name outward The case where, only need to establish the mapping between message inbound port and exit port at this time, message can complete both sides port it Between repeating process, MAC Address list item learning process is omitted, saves time loss, provides the forward efficiency of equipment.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of message forwarding method, which is characterized in that this method includes:
After receiving the first message comprising first identifier, according to the correspondence of first identifier and second identifier, institute is determined State the corresponding second identifier of first identifier in the first message;If the first identifier is service set SSID, described the Two are identified as VLAN ID VLAN ID;If the first identifier is VLAN ID, the second identifier is SSID;
According to the first identifier and the second identifier, the first virtual port and the second virtual port are determined;
The second message that will be converted to by first message protocol, virtually by first virtual port and described second Port is forwarded.
2. the method as described in claim 1, which is characterized in that if the first identifier is SSID, first message and institute It is uplink message to state the second message;According to the first identifier and the second identifier, the first virtual port and the second void are determined Quasi- port, including:
The first virtual port is determined according to the first identifier, and the second virtual port is determined according to the second identifier;
If the first identifier is VLAN ID, first message and second message are uplink message;According to described first Mark and the second identifier, determine the first virtual port and the second virtual port, including:
The first virtual port is determined according to the second identifier, and the second virtual port is determined according to the first identifier.
3. method as claimed in claim 2, which is characterized in that the second message obtained according to following manner:
First message is converted into the second message of 802.3 formats, and will include in first message described first Corresponding second identifier is identified to be placed in second message;Or
First message is converted into the second message of 802.3 formats, and will include in first message described first Mark is placed in second message.
4. the method as described in claim 1, which is characterized in that if the first identifier is SSID, first message and institute It is downlink message to state the second message;According to the first identifier and the second identifier, the first virtual port and the second void are determined Quasi- port, including:The first virtual port is determined according to the first identifier, and determines that second is virtual according to the second identifier Port;
If the first identifier is VLAN ID, first message and second message are downlink message;According to described first Mark and the second identifier, determine the first virtual port and the second virtual port, including:
The first virtual port is determined according to the second identifier, and the second virtual port is determined according to the first identifier.
5. method as claimed in claim 4, which is characterized in that the second message obtained according to following manner:
First message is converted into the second message of 802.11 formats, and will include in first message described first Corresponding second identifier is identified to be placed in second message;Or
First message is converted into the second message of 802.11 formats, and will include in first message described first Mark is placed in second message.
6. a kind of message forwarding equipment, which is characterized in that the equipment includes:
First determination unit, for after receiving the first message comprising first identifier, according to first identifier and second identifier Correspondence, determine the corresponding second identifier of first identifier in first message;If the first identifier is services set SSID is identified, then the second identifier is VLAN ID VLAN ID;If the first identifier is VLAN ID, institute It is SSID to state second identifier;
Second determination unit, for according to the first identifier and the second identifier, determining the first virtual port and the second void Quasi- port;
Retransmission unit, the second message for will be converted to by first message protocol pass through first virtual port It is forwarded with second virtual port.
7. equipment as claimed in claim 6, which is characterized in that if the first identifier is SSID, first message and institute It is uplink message to state the second message;Second determination unit is specifically used for:The first virtual terminal is determined according to the first identifier Mouthful, and the second virtual port is determined according to the second identifier;
If the first identifier is VLAN ID, first message and second message are uplink message;Described second determines Unit is specifically used for:The first virtual port is determined according to the second identifier, and the second void is determined according to the first identifier Quasi- port.
8. equipment as claimed in claim 7, which is characterized in that the retransmission unit is additionally operable to:
First message is converted into the second message of 802.3 formats, and will include in first message described first Corresponding second identifier is identified to be placed in second message;Or
First message is converted into the second message of 802.3 formats, and will include in first message described first Mark is placed in second message.
9. equipment as claimed in claim 6, which is characterized in that if the first identifier is SSID, first message and institute It is downlink message to state the second message;Second determination unit is specifically used for:The first virtual terminal is determined according to the first identifier Mouthful, and the second virtual port is determined according to the second identifier;
If the first identifier is VLAN ID, first message and second message are downlink message;Described second determines Unit is specifically used for:The first virtual port is determined according to the second identifier, and the second void is determined according to the first identifier Quasi- port.
10. equipment as claimed in claim 9, which is characterized in that the retransmission unit is additionally operable to:
First message is converted into the second message of 802.11 formats, and will include in first message described first Corresponding second identifier is identified to be placed in second message;Or
First message is converted into the second message of 802.11 formats, and will include in first message described first Mark is placed in second message.
CN201510725672.3A 2015-10-29 2015-10-29 A kind of message forwarding method and its forwarding unit Expired - Fee Related CN105392171B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510725672.3A CN105392171B (en) 2015-10-29 2015-10-29 A kind of message forwarding method and its forwarding unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510725672.3A CN105392171B (en) 2015-10-29 2015-10-29 A kind of message forwarding method and its forwarding unit

Publications (2)

Publication Number Publication Date
CN105392171A CN105392171A (en) 2016-03-09
CN105392171B true CN105392171B (en) 2018-11-06

Family

ID=55423904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510725672.3A Expired - Fee Related CN105392171B (en) 2015-10-29 2015-10-29 A kind of message forwarding method and its forwarding unit

Country Status (1)

Country Link
CN (1) CN105392171B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517149A (en) * 2016-06-16 2017-12-26 中兴通讯股份有限公司 A kind of virtual LAN aggregation method and device
CN106230684B (en) * 2016-08-05 2019-06-14 锐捷网络股份有限公司 Message forwarding method, interchanger and system
CN111064671B (en) * 2019-12-09 2022-05-06 南京中孚信息技术有限公司 Data packet forwarding method and device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022392A (en) * 2007-03-06 2007-08-22 华为技术有限公司 Virtual local network-based data exchanging method and equipment
CN104040966A (en) * 2012-11-09 2014-09-10 华为技术有限公司 Method, Forwarding-plane Apparatus, And Network Device For Processing Packet

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3253006B1 (en) * 2010-12-27 2018-12-12 NEC Corporation Mapping server, network system, packet forwarding method and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022392A (en) * 2007-03-06 2007-08-22 华为技术有限公司 Virtual local network-based data exchanging method and equipment
CN104040966A (en) * 2012-11-09 2014-09-10 华为技术有限公司 Method, Forwarding-plane Apparatus, And Network Device For Processing Packet

Also Published As

Publication number Publication date
CN105392171A (en) 2016-03-09

Similar Documents

Publication Publication Date Title
CN102547592B (en) Data transmission method and device
CN103856995B (en) Pseudo-wire for mobile management
EP3255840B1 (en) Label distribution method and device
CN103052038B (en) One sets up the contextual method and system of group calling, base station, cluster EPC
EP3863246B1 (en) Service traffic processing method and apparatus
US20130343394A1 (en) Method and Apparatus for Converting Virtual Local Area Network Identity
WO2006006325A1 (en) Communication system, radio lan base station control device, and radio lan base station device
CN109039742A (en) A kind of network slice and its switching method servicing different service types
CN105357099A (en) Implementation method of VPN (virtual private network) on basis of SDN (software defined network)
CN103220650A (en) Method and device for WiFi terminal to visit different service domains
CN105392171B (en) A kind of message forwarding method and its forwarding unit
US20170310581A1 (en) Communication Network, Communication Network Management Method, and Management System
CN114128228B (en) Transmitting MTNC-ID through SRv head to realize 5G transmission
CN104980347A (en) Tunnel establishing method and tunnel establishing device
US8040885B2 (en) Wireless network system and communication method in a wireless network
EP2822238B1 (en) Method and device for establishing a pseudo wire
US20080239988A1 (en) Method and System For Network Infrastructure Offload Traffic Filtering
CN103209125B (en) A kind of transmission method of label information and equipment
WO2016095142A1 (en) Data forwarding method, device and system in software-defined networking (sdn)
CN105451272A (en) Data interaction method, building baseband unit, radio remote unit and R-Hub
CN114128227B (en) Transmitting MTNC-ID on SRv 6-enabled data plane to enable 5G transmission
EP2573987A1 (en) Method for label distribution in multi-topology
CN101179421B (en) Method, device and system of distinguishing mapping table of service quality
CN103716220B (en) A kind of data transmission method and its device
CN102647333B (en) Communication means under distributed base station system between baseband processing equipment and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180227

Address after: 510663 Shenzhou Road, Guangzhou Science City, Guangzhou, Guangzhou economic and Technological Development Zone, Guangdong Province, No. 10

Applicant after: COMBA TELECOM SYSTEMS (CHINA) Ltd.

Applicant after: COMBA TELECOM SYSTEMS (GUANGZHOU) Ltd.

Applicant after: COMBA TELECOM TECHNOLOGY (GUANGZHOU) Ltd.

Applicant after: TIANJIN COMBA TELECOM SYSTEMS Ltd.

Address before: 510663 Guangdong city of Guangzhou Province Economic and Technological Development Zone Jinbi Road No. 6

Applicant before: COMBA TELECOM TECHNOLOGY (GUANGZHOU) Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200106

Address after: 510663 No. 10, Shenzhou Road, Science City, Guangzhou, economic and Technological Development Zone, Huangpu District, Guangzhou, Guangdong Province

Patentee after: COMBA TELECOM SYSTEMS (CHINA) Ltd.

Address before: 510663 Shenzhou Road, Guangzhou Science City, Guangzhou, Guangzhou economic and Technological Development Zone, Guangdong Province, No. 10

Co-patentee before: COMBA TELECOM SYSTEMS (GUANGZHOU) Ltd.

Patentee before: COMBA TELECOM SYSTEMS (CHINA) Ltd.

Co-patentee before: COMBA TELECOM TECHNOLOGY (GUANGZHOU) Ltd.

Co-patentee before: TIANJIN COMBA TELECOM SYSTEMS Ltd.

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder

Address after: 510663 No.10, Shenzhou Road, Guangzhou Science City, economic and Technological Development Zone, Huangpu District, Guangzhou City, Guangdong Province

Patentee after: Jingxin Network System Co.,Ltd.

Address before: 510663 No.10, Shenzhou Road, Guangzhou Science City, economic and Technological Development Zone, Huangpu District, Guangzhou City, Guangdong Province

Patentee before: COMBA TELECOM SYSTEMS (CHINA) Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181106

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