CN105959223A - Message forwarding method and apparatus - Google Patents

Message forwarding method and apparatus Download PDF

Info

Publication number
CN105959223A
CN105959223A CN201610270106.2A CN201610270106A CN105959223A CN 105959223 A CN105959223 A CN 105959223A CN 201610270106 A CN201610270106 A CN 201610270106A CN 105959223 A CN105959223 A CN 105959223A
Authority
CN
China
Prior art keywords
message
address
switching equipment
downlink data
target
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
CN201610270106.2A
Other languages
Chinese (zh)
Other versions
CN105959223B (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201610270106.2A priority Critical patent/CN105959223B/en
Publication of CN105959223A publication Critical patent/CN105959223A/en
Application granted granted Critical
Publication of CN105959223B publication Critical patent/CN105959223B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • H04L49/253Routing or path finding in a switch fabric using establishment or release of connections between ports

Landscapes

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

Abstract

The invention provides a message forwarding method and an apparatus. The method comprises the following steps: obtaining the destination port number of the downlink data message when a switching device receives the downlink data message sent by the AC; querying the self-maintained flow table entry according to the destination port number, and determining the destination AP corresponding to the destination port number; and transmitting the downlink data message to the destination AP. According to the embodiment of the invention, the method and the apparatus can fully utilize the processing performance of a switching device and improve the resource utilization ratio of the switching device.

Description

A kind of message forwarding method and device
Technical field
The present invention relates to network communication technology field, particularly relate to a kind of message forwarding method and device.
Background technology
Tradition AC (Access Controller, access controller)+Fit (thin) AP (Access Point, Access point) WLAN (Wireless Local Area Networks, WLAN) network model In, generally formed AC pond in logic by one or more AC, manage numerous Fit AP (letter below It is referred to as AP), by certain agreement (such as CAPWAP (Control And Provisioning between AC and AP Of Wireless Access Points Protocol Specification, the control of WAP and configuration association View) or HTTP (HyperText Transfer Protocol, HTML (Hypertext Markup Language)) etc.) couple together.
Summary of the invention
The present invention provides a kind of message forwarding method and device, sets to improve to exchange in AC+Fit AP networking Standby resource utilization.
First aspect according to embodiments of the present invention, it is provided that a kind of message forwarding method, described method is applied In switching equipment, and include:
When receiving the downlink data message that access controller AC sends, obtain described downlink data report The destination slogan of literary composition;
According to the drain list item of described destination slogan inquiry self maintained, determine described destination slogan pair Target access AP answered;
Described downlink data message is sent to described mesh by the data channel set up with described target AP Mark AP.
Second aspect according to embodiments of the present invention, it is provided that a kind of message forwarding method, including:
The downlink data report that described switching equipment sends is received by the data channel set up with switching equipment Literary composition;Wherein, described downlink data message is the downlink data report that described switching equipment receives that AC sends Wen Shi, inquires about the drain list item of self maintained, determines according to the destination slogan of described downlink data message Go out after target AP corresponding to described destination slogan be described AP, send to described AP;
Forward after described downlink data message is carried out decapsulation process.
The third aspect according to embodiments of the present invention, it is provided that a kind of apparatus for forwarding message, described device is applied In switching equipment, and include:
Receive unit, for receiving the downlink data message that access controller AC sends;
Acquiring unit, for when described reception unit receives the downlink data message that AC sends, obtaining Take the destination slogan of described downlink data message;
Query unit, for the drain list item according to described destination slogan inquiry self maintained, determines institute State target AP that destination slogan is corresponding;
Transmitting element, for leading to described downlink data message by the data set up with described target AP Road is sent to described target AP.
Fourth aspect according to embodiments of the present invention, it is provided that a kind of apparatus for forwarding message, described device is applied In access point AP, and include:
Receive unit, for the data channel reception described switching equipment transmission by setting up with switching equipment Downlink data message;Wherein, described downlink data message is that described switch receives AC transmission During downlink data message, inquire about the drain of self maintained according to the destination slogan of described downlink data message After list item determines target AP that described destination slogan is corresponding, send to described target AP;
Decapsulation unit, for carrying out decapsulation process to described downlink data message;
Transmitting element, the downlink data message after processing described decapsulation forwards.
The application embodiment of the present invention, when switching equipment receives the downlink data message that AC sends, obtains Take the destination slogan of downlink data message, and according to the drain table of this destination slogan inquiry self maintained , determine target AP that this destination slogan is corresponding, and then by this downlink data message by with target The data channel that AP sets up is sent to target AP, during so that target AP receives this downlink data message, After downlink data message is decapsulated, carry out forward process, make full use of the treatability of switching equipment Can, improve the resource utilization of switching equipment.
Accompanying drawing explanation
Fig. 1 is the network architecture schematic diagram that a kind of message that the embodiment of the present invention provides forwards;
Fig. 2 is the schematic flow sheet of a kind of message forwarding method that the embodiment of the present invention provides;
Fig. 3 is the schematic flow sheet of the another kind of message forwarding method that the embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of apparatus for forwarding message that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the another kind of apparatus for forwarding message that the embodiment of the present invention provides;
Fig. 6 is the structural representation of a kind of apparatus for forwarding message that the embodiment of the present invention provides;
Fig. 7 is the structural representation of the another kind of apparatus for forwarding message that the embodiment of the present invention provides.
Detailed description of the invention
In the WLAN network model of tradition AC+Fit AP, AP needs the function undertaken more, as RRM (Radio Resource Management, RRM) calculating in real time, WIPS (Wireless Intrusion Prevention System, wireless invasive system of defense) calculating etc. controls plane traffic, and Data forwarding etc., thus AP must be equipped with high performance hardware, such as high performance CPU (Center Process Unit, CPU), internal memory etc..
Additionally, in traditional AC+Fit AP group-network construction, Fit AP would generally pass through switching equipment (as Switch) it is connected with AC, in this group-network construction, switching equipment major function includes powering for AP And wired message forwards, and with wireless network do not have any alternately, the process performance of switching equipment does not has It is fully utilized, causes the waste of resource.
For the technical scheme making those skilled in the art be more fully understood that in the embodiment of the present invention, and make The above-mentioned purpose of the embodiment of the present invention, feature and advantage can become apparent from understandable, the most right In the embodiment of the present invention, technical scheme is described in further detail.
The network architecture being the most first suitable for the embodiment of the present invention is described.
Refer to the network architecture signal that Fig. 1, Fig. 1 forward for a kind of message that the embodiment of the present invention provides Figure, as it is shown in figure 1, can include in this network architecture that AC, switching equipment are (below with switching equipment For illustrating as a example by switch) and AP;Wherein:
What deserves to be explained is, in embodiments of the present invention, if non-specified otherwise, mentioned switch is equal Referring to the switch direct-connected with AP, the embodiment of the present invention is follow-up no longer to be repeated.
In the embodiment of the present invention, by transformation switch, switch it is connected (such as with AC foundation CAPWAP, HTTP or other agreement connect), so, AC is only responsible for communicating with switch, Be responsible for the AP being attached thereto by switch, the configuration of switch and AP can be issued by AC is unified, Further, switch is also responsible for the control plane traffic (such as RRM, Roaming control, WIPS etc.) of AP. AP only needs to be responsible for the datum plane business such as radio frequency processing and data message process, so can reduce AP Hardware cost.
In the embodiment of the present invention, in order to enable switch to process the control plane traffic of AP, Ke Yi Switch is inserted related software modules (AP is for processing the software module of related control plane business), And then the cpu resource of switch can be utilized, process the required control plane traffic processed of AP, as RRM calculating, Roaming control, WIPS etc..
Wherein, switch passes through inserted related software modules and realizes the process of related control plane business May refer to existing AP and process the specific implementation of related control plane business, the embodiment of the present invention exists This does not repeats.Additionally, data required during switch processes related control plane business can be passed through Connection (such as two layers proprietary protocol connect) between switch and AP obtains from AP.
In embodiments of the present invention, after switch and AC set up and control passage, it is also possible to for each AP Creating a special data channel, every data passage uses different port numbers.
Concrete, after switch and AC are successfully established control passage, exchange opportunity is and this switch The AP connected distributes UDP (User Datagram Protocol, UDP) port numbers, And then, switch can create corresponding data channel according to the UDP port number distributed for AP, and By this data channel to AP downward message packaging information, in order to after AP receives message packaging information, It is stored in this locality, in case using the when that follow-up data message forwarding.
Wherein, this message packaging information can include but not limited to: is encapsulated as the message (example of specified protocol If specified protocol is CAPWAP agreement) target MAC (Media Access Control) address to be switch set to the down hop of AC The MAC Address of standby (such as gateway), purpose IP address is the IP address of AC, and destination slogan is Socket (socket) port numbers of AC, source IP address is the IP address of switch, and source port number is Switch is the UDP port number of AP distribution, VLAN residing for the data channel between switch and AP.
In the embodiment of the present invention, in order to realize the switch destination according to the downlink data message received Downlink data message is transmitted to correct AP by mouth, and switch is creating corresponding data channel for each AP Afterwards, in addition it is also necessary to for each AP create drain list item (or referred to as ACL (Access Control List, Access and control list) strategy), the message mated with the port numbers distributed for AP by destination slogan forwards To this AP, thus, when switch receives downlink data message, can be according to this downlink data report The destination slogan of literary composition carries out drain list item coupling, and carries out turning to downlink data message according to matching result Send out.
Based on the network architecture shown in Fig. 1, the embodiment of the present invention additionally provides a kind of message processing method, Referring to Fig. 2, the schematic flow sheet of a kind of message processing method provided for the embodiment of the present invention, such as Fig. 2 Shown in, the method may comprise steps of:
What deserves to be explained is, the executive agent of step 201~step 203 can be for the network architecture shown in Fig. 1 In switch.
Step 201, when receive AC send downlink data message time, obtain this downlink data message Destination slogan.
In the embodiment of the present invention, when AC have received the outer network packet that external network is sent to STA, AC can determine need this outer net according to the purpose IP address lookup of this outer network packet forwarding-table item of being correlated with Which switch message mails on, is determining that target switch is the above-mentioned switch as executive agent Time, this outer network packet is entered by the encapsulation format of the uplink data messages that AC sends according to this target switch Row encapsulation, obtains downlink data message, and the purpose IP address of this downlink data message is target switch IP address.
Due to the IP address that purpose IP address is target switch of downlink data message, therefore, under this Row data message can first deliver to target switch.
When switch receives the downlink data message that AC sends, this downlink data message can be obtained Destination slogan;Wherein, the destination slogan of this downlink data message is effectively swapped between machine is that this is descending The port numbers of the AP distribution associated by the destination of data message.
Step 202, according to destination slogan inquiry self maintained drain list item, determine destination interface pair Target AP answered.
In the embodiment of the present invention, switch receives the downlink data message that AC sends, and gets this After the destination slogan of downlink data message, can drawing according to this destination slogan inquiry self maintained Stream list item;Wherein, this drain list item includes the corresponding relation of port numbers and AP.
If the drain list item that switch is safeguarded existing corresponding with the destination slogan of downlink data message AP, then this AP can be defined as target AP of downlink data message, i.e. downlink data report by switch The AP associated by destination of literary composition.
If the drain list item that switch is safeguarded not existing corresponding with the destination slogan of downlink data message AP, then switch can directly abandon this downlink data message or according to other strategy to downlink data message Processing, this is not limited by the embodiment of the present invention.
Step 203, the downlink data message received is sent out by the data channel set up with target AP Give target AP.
In the embodiment of the present invention, switch determines target AP that the destination slogan of downlink data message is corresponding After, this downlink data message can be sent to target AP by the data channel set up with target AP.
After target AP receives the downlink data message that switch sends, can be to this downlink data message Carry out decapsulation process, and the wired message obtained after decapsulation is converted to air message, as carried out 802.3 to 802.11 form conversions, and the air message obtained is forwarded by Radio (radio frequency) mouth.
Further, in embodiments of the present invention, when switch receive with switch establish data lead to During the uplink data messages that the AP in road sends, can according to the purpose IP address of this uplink data messages and This uplink data messages is forwarded by target MAC (Media Access Control) address.
Concrete, in embodiments of the present invention, when AP receives air message, and AP can be wireless by this Message is converted to wired message, and wired message is sealed by the message packaging information issued according to switch Dress, to obtain uplink data messages.
Wherein, this message packaging information includes: the purpose IP address of the message being encapsulated as specified protocol is The IP address of AC, target MAC (Media Access Control) address is the switch MAC Address to the next-hop device of AC, Destination slogan is the socket port number of AC, and source IP address is the IP address of switch, source port Number for switch be AP distribution UDP port number.
For example, when AP receives air message (being assumed to be 802.11 messages) from Radio mouth, The air message received first can be converted to wired message by AP, as carried out 802.11 to 802.3 forms Conversion, then, wired message is encapsulated as by the message packaging information that AP can utilize switch to issue Row data message.For example, it is assumed that the specified protocol in message packaging information is CAPWAP agreement, false The 802.3 message encapsulation one if not having other equipment between switch and AC, then after AP can be conversion Individual CAPWAP protocol massages head, and using 802.3 messages after conversion as uplink data messages Payload (payload) is encapsulated, and the purpose IP address of the uplink data messages encapsulated is AC IP address, target MAC (Media Access Control) address is the MAC Address of AC, and destination slogan is the socket of AC Port numbers, source IP address is the IP address of switch, source port number be switch be AP distribution UDP Port numbers.
Wherein, message packaging information can be switch after creating corresponding data channel with AP, to AP issues.
After AP obtains uplink data messages, this uplink data messages can be sent from Ethernet interface.
When switch receives the uplink data messages sent with the AP self establishing data channel, can With the purpose IP address according to this uplink data messages and target MAC (Media Access Control) address, this uplink data messages is entered Row forwards.Due to the IP address that purpose IP address is AC of this uplink data messages, therefore, on this Row data message is eventually sent to AC.
After AC receives the uplink data messages that switch forwards, this uplink data messages can be carried out Decapsulation, and carry out concentrating forward process to the message after encapsulation, it is forwarded to external network.
Further, in embodiments of the present invention, switch is by the control channel reception set up with AC To AC send control message time, can according to this control message be controlled plane traffic process.Its In, this control plane traffic can include but not limited to RRM, Roaming control, WIPS etc..
Based on the network architecture shown in Fig. 1, the embodiment of the present invention additionally provides another kind of message processing method, Referring to Fig. 3, the schematic flow sheet of a kind of message processing method provided for the embodiment of the present invention, such as Fig. 3 Shown in, the method may comprise steps of:
What deserves to be explained is, the executive agent of step 301~step 302 can be for the network architecture shown in Fig. 1 In AP.
Step 301, receive, by the data channel set up with switching equipment, the lower line number that switching equipment sends According to message.
In the embodiment of the present invention, when AC receives the outer network packet that external network is sent to STA, AC Can determine need this outer net report according to the purpose IP address lookup of this outer network packet forwarding-table item of being correlated with Which switching equipment literary composition mails on, when determining that target switching equipment is the switching equipment in step 301, This outer network packet is carried out by the encapsulation format of the uplink data messages that AC sends according to this target switching equipment Encapsulation, obtains downlink data message, and the purpose IP address of this downlink data message is target switching equipment IP address.
Due to the IP address that purpose IP address is target switching equipment of downlink data message, therefore, should Downlink data message also can be sent to target switching equipment.Target switching equipment receives this downlink data After message, the drain list item of self maintained can be inquired about according to the destination slogan of this downlink data message, Determine target AP of correspondence, when determining that target AP is the above-mentioned AP as executive agent, should Downlink data message is sent to this AP.
Step 302, downlink data message is carried out decapsulation process after, carry out forward process.
In the embodiment of the present invention, when AP receives the downlink data message that switching equipment sends, AP can So that this downlink data message to carry out decapsulation process, and wired message decapsulation obtained is converted to nothing Report from a liner literary composition, as carried out 802.3 to 802.1 form conversions, and passes through Radio by the air message obtained Mouth forwards.
Further, in embodiments of the present invention, when AP receives air message, AP can will be somebody's turn to do Air message is converted into wired message, and the message packaging information issued according to switching equipment, wired to this Message is packaged, and obtains uplink data messages;Wherein, this message packaging information may include that encapsulation For the IP address that purpose IP address is AC of the message of specified protocol, target MAC (Media Access Control) address is this exchange Equipment is to the MAC Address of the next-hop device of AC, and destination slogan is the socket port number of AC, Source IP address is the IP address of switching equipment, source port number be switching equipment be AP distribution UDP end Slogan.
After AP obtains the uplink data messages of correspondence according to the air message received, can be up by this Data message forwarding is to switching equipment, so that described switching equipment is according to purpose IP of this uplink data messages Address and target MAC (Media Access Control) address, forward uplink data messages, and it implements and may refer to Fig. 2 The shown associated description in method flow, the embodiment of the present invention does not repeats them here.
By above description it can be seen that the embodiment of the present invention provide technical scheme in, when exchange sets Standby when receiving the downlink data message that AC sends, obtain the destination slogan of downlink data message, and According to the drain list item of this destination slogan inquiry self maintained, determine the target that this destination slogan is corresponding AP, and then this downlink data message is sent to target AP by the data channel set up with target AP, During so that target AP receives this downlink data message, after downlink data message is decapsulated, enter Row forward process, makes full use of the process performance of switching equipment, improves the resource utilization of switching equipment; Additionally, in embodiments of the present invention, it is AP processing controls plane traffic by switching equipment, releases AP controls the pressure of plane, and AP only needs to process datum plane business, and the hardware performance reducing AP is wanted Ask.
Refer to Fig. 4, the structural representation of a kind of apparatus for forwarding message is provided for the embodiment of the present invention, its In, this message process device can apply to the switching equipment in the network architecture shown in Fig. 1, such as Fig. 4 institute Showing, described device may include that
Receive unit 410, for receiving the downlink data message that AC sends;
Acquiring unit 420, during for receiving the downlink data message of AC transmission when described reception unit, Obtain the destination slogan of described downlink data message;
Query unit 430, for the drain list item according to described destination slogan inquiry self maintained, really Target AP that fixed described destination slogan is corresponding;
Transmitting element 440, is used for described downlink data message by the number set up with described target AP It is sent to described target AP according to passage.
In an alternative embodiment, described reception unit 410, it is also possible to for receiving and described switching equipment Establish the uplink data messages that the AP of data channel sends;
Described transmitting element 440, it is also possible to for receiving and described exchange when described reception unit 410 When equipment establishes the uplink data messages of AP transmission of data channel, according to described uplink data messages Purpose internet protocol address and purpose MAC address to this uplink data messages Forward;
Wherein, described uplink data messages is described AP when receiving air message, by described without report from a liner Literary composition is converted into wired message, and the message packaging information issued according to described switching equipment has report from a liner to described Literary composition is packaged obtaining;
Described message packaging information includes: the purpose IP address being encapsulated as specified protocol message is described AC IP address, target MAC (Media Access Control) address is the described switching equipment MAC to the next-hop device of described AC Address, destination slogan is the socket port number of described AC, and source IP address is described switching equipment IP address, source port number be described switching equipment be described AP distribution UDP port number.
In an alternative embodiment, described reception unit 410, it is also possible to for by setting up with described AC Control the control message that AC described in channel reception sends;
Correspondingly, see also Fig. 5, the another kind of apparatus for forwarding message provided for the embodiment of the present invention Structural representation, on the basis of embodiment illustrated in fig. 4, the device shown in Fig. 5 can also include:
Processing unit 450, processes for being controlled plane traffic according to described control message.
Refer to Fig. 6, the structural representation of a kind of apparatus for forwarding message is provided for the embodiment of the present invention, its In, this apparatus for forwarding message can apply to the AP in the network architecture shown in Fig. 1, as shown in Figure 6, Described device may include that
Receive unit 610, for the data channel described switching equipment of reception by setting up with switching equipment The downlink data message that desampler sends;Wherein, described downlink data message is that described switch connects When receiving the downlink data message that AC sends, inquire about according to the destination slogan of described downlink data message After the drain list item of self maintained determines target AP that described destination slogan is corresponding, to described target AP Send;
Decapsulation unit 620, for carrying out decapsulation process to described downlink data message;
Transmitting element 630, the downlink data message after processing described decapsulation forwards.
Seeing also Fig. 7, the structure for the another kind of apparatus for forwarding message of embodiment of the present invention offer is shown Being intended to, on the basis of embodiment illustrated in fig. 6, the device shown in Fig. 7 can also include:
Encapsulation unit 640, for when described reception unit 610 receives air message, by described nothing Report from a liner literary composition is converted to wired message, and the message packaging information issued according to described switching equipment, to described Wired message is packaged, and obtains uplink data messages;Described message packaging information includes: be encapsulated as referring to Determining the IP address that purpose internet protocol address is described AC of the message of agreement, purpose media are visited Ask that control MAC Address is the described switching equipment MAC Address to the next-hop device of described AC, mesh The socket port number that port numbers is described AC, source IP address is the IP address of described switching equipment, Source port number be described switching equipment be described AP distribution UDP port number;
Described transmitting element 630, it is also possible to set for described uplink data messages is forwarded to described exchange It is standby, so that described switching equipment is according to the purpose IP address of described uplink data messages and purpose MAC ground Location, forwards described uplink data messages.
In said apparatus, the function of unit and the process that realizes of effect specifically refer in said method corresponding Step realize process, do not repeat them here.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part ginseng See that the part of embodiment of the method illustrates.Device embodiment described above is only schematically, The wherein said unit illustrated as separating component can be or may not be physically separate, makees The parts shown for unit can be or may not be physical location, i.e. may be located at a place, Or can also be distributed on multiple NE.Can select according to the actual needs part therein or The whole module of person realizes the purpose of the present invention program.Those of ordinary skill in the art are not paying creativeness In the case of work, i.e. it is appreciated that and implements.
As seen from the above-described embodiment, when switching equipment receives the downlink data message that AC sends, obtain Take the destination slogan of downlink data message, and according to the drain table of this destination slogan inquiry self maintained , determine target AP that this destination slogan is corresponding, and then by this downlink data message by with target The data channel that AP sets up is sent to target AP, during so that target AP receives this downlink data message, After downlink data message is decapsulated, carry out forward process, make full use of the treatability of switching equipment Can, improve the resource utilization of switching equipment.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to this Other embodiment of invention.The application is intended to any modification, purposes or the adaptability of the present invention Change, these modification, purposes or adaptations are followed the general principle of the present invention and include this Bright undocumented common knowledge in the art or conventional techniques means.Description and embodiments only by Being considered as exemplary, true scope and spirit of the invention are pointed out by claim below.
It should be appreciated that the invention is not limited in described above and illustrated in the accompanying drawings accurately Structure, and various modifications and changes can carried out without departing from the scope.The scope of the present invention is only by institute Attached claim limits.

Claims (10)

1. a message forwarding method, it is characterised in that described method is applied to switching equipment, and includes:
When receiving the downlink data message that access controller AC sends, obtain described downlink data report The destination slogan of literary composition;
According to the drain list item of described destination slogan inquiry self maintained, determine described destination slogan pair Target access AP answered;
Described downlink data message is sent to described mesh by the data channel set up with described target AP Mark AP.
Method the most according to claim 1, it is characterised in that described method also includes:
Establish, with described switching equipment, the uplink data messages that the AP of data channel sends when receiving Time, purpose internet protocol address and purpose media interviews according to described uplink data messages control MAC Address, forwards described uplink data messages;
Wherein, described uplink data messages is described AP when receiving air message, by described without report from a liner Literary composition is converted into wired message, and the message packaging information issued according to described switching equipment has report from a liner to described Literary composition is packaged obtaining;
Described message packaging information includes: the purpose IP address of the message being encapsulated as specified protocol is described The IP address of AC, target MAC (Media Access Control) address is the described switching equipment next-hop device to described AC MAC Address, destination slogan is the socket port number of described AC, and source IP address is described exchange The IP address of equipment, source port number be described switching equipment be described AP distribution UDP UDP port number.
Method the most according to claim 1 and 2, it is characterised in that described method also includes:
By controlling, with described AC sets up, the control message that AC described in channel reception sends, and according to Described control message is controlled Business Processing.
4. a message forwarding method, it is characterised in that described method is applied to access point AP, and bag Include:
The downlink data report that described switching equipment sends is received by the data channel set up with switching equipment Literary composition;Wherein, described downlink data message is the downlink data report that described switching equipment receives that AC sends Wen Shi, inquires about the drain list item of self maintained, determines according to the destination slogan of described downlink data message Go out after target AP corresponding to described destination slogan be described AP, send to described AP;
Forward after described downlink data message is carried out decapsulation process.
Method the most according to claim 4, it is characterised in that described method also includes:
When receiving air message, described air message is converted into wired message;
The message packaging information issued according to described switching equipment, is packaged described wired message, To uplink data messages;Described message packaging information includes: the purpose of the message being encapsulated as specified protocol is mutual Networking protocol IP address is the IP address of described AC, and purpose MAC address is described Switching equipment is to the MAC Address of the next-hop device of described AC, and destination slogan is described AC's Socket port number, source IP address is the IP address of described switching equipment, and source port number is described exchange Equipment is the UDP UDP port number of described AP distribution;
Described uplink data messages is forwarded to described switching equipment, so that described switching equipment is according to described The purpose IP address of uplink data messages and target MAC (Media Access Control) address, carry out described uplink data messages turning Send out.
6. an apparatus for forwarding message, it is characterised in that described device is applied to switching equipment, and includes:
Receive unit, for receiving the downlink data message that access controller AC sends;
Acquiring unit, for when described reception unit receives the downlink data message that AC sends, obtaining Take the destination slogan of described downlink data message;
Query unit, for the drain list item according to described destination slogan inquiry self maintained, determines institute State target AP that destination slogan is corresponding;
Transmitting element, for leading to described downlink data message by the data set up with described target AP Road is sent to described target AP.
Device the most according to claim 6, it is characterised in that
Described reception unit, be additionally operable to receive with described switching equipment establish data channel AP send Uplink data messages;
Described transmitting element, is additionally operable to establish number when described reception unit receives with described switching equipment During according to the uplink data messages of the AP transmission of passage, according to the purpose the Internet of described uplink data messages This uplink data messages is forwarded by Protocol IP address and purpose MAC address;
Wherein, described uplink data messages is described AP when receiving air message, by described without report from a liner Literary composition is converted into wired message, and the message packaging information issued according to described switching equipment has report from a liner to described Literary composition is packaged obtaining;
Described message packaging information includes: the purpose IP address of the message being encapsulated as specified protocol is described The IP address of AC, target MAC (Media Access Control) address is the described switching equipment next-hop device to described AC MAC Address, destination slogan is the socket port number of described AC, and source IP address is described exchange Equipment is the UDP UDP port number of described AP distribution.
8. according to the device described in claim 6 or 7, it is characterised in that
Described reception unit, is additionally operable to AC described in the control channel reception by setting up with described AC and sends out The control message sent;
Described device also includes:
Processing unit, processes for being controlled plane traffic according to described control message.
9. an apparatus for forwarding message, it is characterised in that described device is applied to access point AP, and bag Include:
Receive unit, for the data channel reception described switching equipment transmission by setting up with switching equipment Downlink data message;Wherein, described downlink data message is that described switch receives AC transmission During downlink data message, inquire about the drain of self maintained according to the destination slogan of described downlink data message After list item determines target AP that described destination slogan is corresponding, send to described target AP;
Decapsulation unit, for carrying out decapsulation process to described downlink data message;
Transmitting element, the downlink data message after processing described decapsulation forwards.
Device the most according to claim 9, it is characterised in that described device also includes:
Encapsulation unit, for when described reception unit receives air message, turns described air message It is changed to wired message, and the message packaging information issued according to described switching equipment, to described wired message It is packaged, obtains uplink data messages;Described message packaging information includes: be encapsulated as specified protocol The IP address that purpose internet protocol address is described AC of message, purpose media interviews control MAC Address is the described switching equipment MAC Address to the next-hop device of described AC, and destination slogan is The socket port number of described AC, source IP address is the IP address of described switching equipment, source port number For the UDP UDP port number that described switching equipment is described AP distribution;
Described transmitting element, is additionally operable to described uplink data messages is forwarded to described switching equipment, so that Described switching equipment is according to the purpose IP address of described uplink data messages and target MAC (Media Access Control) address, to institute State uplink data messages to forward.
CN201610270106.2A 2016-04-26 2016-04-26 A kind of message forwarding method and device Active CN105959223B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610270106.2A CN105959223B (en) 2016-04-26 2016-04-26 A kind of message forwarding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610270106.2A CN105959223B (en) 2016-04-26 2016-04-26 A kind of message forwarding method and device

Publications (2)

Publication Number Publication Date
CN105959223A true CN105959223A (en) 2016-09-21
CN105959223B CN105959223B (en) 2019-11-12

Family

ID=56915766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610270106.2A Active CN105959223B (en) 2016-04-26 2016-04-26 A kind of message forwarding method and device

Country Status (1)

Country Link
CN (1) CN105959223B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547621A (en) * 2017-06-27 2018-01-05 新华三技术有限公司 A kind of message forwarding method and device
CN108322389A (en) * 2017-01-17 2018-07-24 深圳市万网博通科技有限公司 Data message forwarding method and system, radio reception device
CN114158036A (en) * 2021-12-06 2022-03-08 成都飞鱼星科技股份有限公司 Method, device, system and medium for configuring and managing AP

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127707A (en) * 2007-09-21 2008-02-20 杭州华三通信技术有限公司 Data forwarding method and access point device
CN103118366A (en) * 2013-01-23 2013-05-22 北京傲天动联技术股份有限公司 Wireless access point login method and user authentication method and device of wireless access point login
CN103686854A (en) * 2012-09-17 2014-03-26 中兴通讯股份有限公司 Method and device for controlling AP
US8804732B1 (en) * 2010-01-29 2014-08-12 Trapeze Networks, Inc. Methods and apparatus for separate control and data planes in a wireless network
CN104320764A (en) * 2014-10-20 2015-01-28 公安部沈阳消防研究所 Wireless network fireman positioning monitoring system and data transmission method on basis of thin access point (AP) framework

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127707A (en) * 2007-09-21 2008-02-20 杭州华三通信技术有限公司 Data forwarding method and access point device
US8804732B1 (en) * 2010-01-29 2014-08-12 Trapeze Networks, Inc. Methods and apparatus for separate control and data planes in a wireless network
CN103686854A (en) * 2012-09-17 2014-03-26 中兴通讯股份有限公司 Method and device for controlling AP
CN103118366A (en) * 2013-01-23 2013-05-22 北京傲天动联技术股份有限公司 Wireless access point login method and user authentication method and device of wireless access point login
CN104320764A (en) * 2014-10-20 2015-01-28 公安部沈阳消防研究所 Wireless network fireman positioning monitoring system and data transmission method on basis of thin access point (AP) framework

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
霍群松: "《关于WLAN组网和数据转发方式的研究》", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322389A (en) * 2017-01-17 2018-07-24 深圳市万网博通科技有限公司 Data message forwarding method and system, radio reception device
CN108322389B (en) * 2017-01-17 2021-05-18 深圳市万网博通科技有限公司 Data message forwarding method and system, and wireless access device
CN107547621A (en) * 2017-06-27 2018-01-05 新华三技术有限公司 A kind of message forwarding method and device
CN107547621B (en) * 2017-06-27 2020-11-06 新华三技术有限公司 Message forwarding method and device
CN114158036A (en) * 2021-12-06 2022-03-08 成都飞鱼星科技股份有限公司 Method, device, system and medium for configuring and managing AP
CN114158036B (en) * 2021-12-06 2024-01-23 成都飞鱼星科技股份有限公司 Method, equipment, system and medium for configuration management of AP

Also Published As

Publication number Publication date
CN105959223B (en) 2019-11-12

Similar Documents

Publication Publication Date Title
CN105009544B (en) Tunnel processing method, switching equipment and the control device of message
CN107071791A (en) A kind of network-building method and system based on LoRa
CN103200283B (en) The implementation method of many relay wireless communications system and this Systems Air Interface IPization
CN107801249A (en) The resource allocation methods and its equipment and system of wireless communication system
CN109195116A (en) A kind of application layer group broadcasting method of LPWAN Internet of Things
WO2002021768A3 (en) Location-independent packet routing and secure access in a short-range wireless networking environment
CN106488512B (en) Bandwidth management method and system for base station and backhaul network thereof
CN103313308B (en) A kind of data transmission method and equipment
CN102625363A (en) Mobile evolved packet network system
EP3949292B1 (en) Systems and methods for establishing communication links between networks and devices with different routing protocols
CN101640621B (en) Method and device for realizing data transmission in wireless network
CN106209932B (en) The remote communication method and system, gateway and ZigBee node of ZigBee node
CN102739541A (en) Method, device and system for starting routing function and transmitting data
US20150103746A1 (en) Communication system and computer-readable recording medium
CN107734571A (en) The processing method and equipment of a kind of data transmission channel
KR20110039564A (en) Communication control system, communication system and communication control method
CN102868586A (en) Method for establishing tunnel forwarding table entries, central node and branch nodes
CN105959223A (en) Message forwarding method and apparatus
CN107431917A (en) Session anchor point is separated with forwarding the method and system of anchor point
EP4030864B1 (en) Binding of multiple sessions
CN106789533A (en) Method and its system that service channel with management passage separate
CN109246016A (en) Message processing method and device across VXLAN
CN105847136B (en) A kind of wireless sense network communication means and IPv6 gateway for supporting multi-protocols
CN108011742A (en) A kind of WLAN data concentrates the device and method that forwarding switching locally forwards
CN106506686A (en) Connection internet of things equipment and the method and apparatus of service 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant