CN105959223B - A kind of message forwarding method and device - Google Patents

A kind of message forwarding method and device Download PDF

Info

Publication number
CN105959223B
CN105959223B CN201610270106.2A CN201610270106A CN105959223B CN 105959223 B CN105959223 B CN 105959223B CN 201610270106 A CN201610270106 A CN 201610270106A CN 105959223 B CN105959223 B CN 105959223B
Authority
CN
China
Prior art keywords
message
switching equipment
address
downlink data
sent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610270106.2A
Other languages
Chinese (zh)
Other versions
CN105959223A (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.)
New H3C Technologies Co Ltd
Original Assignee
New 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 New H3C Technologies Co Ltd filed Critical New 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 present invention provides a kind of message forwarding method and device, which comprises when switching equipment receives the downlink data message of AC transmission, obtains the destination slogan of the downlink data message;The drainage list item that self maintained is inquired according to the destination slogan, determines the corresponding target AP of the destination slogan;The downlink data message is sent to the target AP.The process performance that switching equipment can be made full use of using the embodiment of the present invention improves the resource utilization of switching equipment.

Description

A kind of message forwarding method and device
Technical field
The present invention relates to network communication technology field more particularly to a kind of message forwarding methods and device.
Background technique
Traditional AC (Access Controller, access controller)+Fit (thin) AP (Access Point, access point) In WLAN (Wireless Local Area Networks, WLAN) network model, usually by one or more AC group At the pond AC in logic, numerous Fit AP (hereinafter referred to as AP) are managed, pass through certain agreement (such as CAPWAP between AC and AP (Control And Provisioning of Wireless Access Points Protocol Specification, nothing The control of line access point and configuration protocol) or HTTP (HyperText Transfer Protocol, hypertext transfer protocol) Deng) connect.
Summary of the invention
The present invention provides a kind of message forwarding method and device, to improve the resource of switching equipment in AC+Fit AP networking Utilization rate.
According to a first aspect of the embodiments of the present invention, a kind of message forwarding method is provided, the method is applied to exchange and sets It is standby, and include:
When receiving the downlink data message of access controller AC transmission, the destination of the downlink data message is obtained Slogan;
The drainage list item that self maintained is inquired according to the destination slogan, determines the corresponding target of the destination slogan Access point AP;
The downlink data message is sent to the target AP by the data channel established with the target AP.
According to a second aspect of the embodiments of the present invention, a kind of message forwarding method is provided, comprising:
By receiving the downlink data message that the switching equipment is sent with the data channel that switching equipment is established;Wherein, When the downlink data message is the downlink data message that the switching equipment receives AC transmission, according to the downlink data report The drainage list item of the destination slogan inquiry self maintained of text, determines that the corresponding target AP of the destination slogan is the AP Afterwards, Xiang Suoshu AP is sent;
It is forwarded after carrying out decapsulation processing to the downlink data message.
According to a third aspect of the embodiments of the present invention, a kind of apparatus for forwarding message is provided, described device is applied to exchange and sets It is standby, and include:
Receiving unit, for receiving the downlink data message of access controller AC transmission;
Acquiring unit obtains the downlink when for receiving the downlink data message of AC transmission when the receiving unit The destination slogan of data message;
Query unit determines the destination for inquiring the drainage list item of self maintained according to the destination slogan The corresponding target AP of slogan;
Transmission unit, for the downlink data message to be sent to institute by the data channel established with the target AP State target AP.
According to a fourth aspect of the embodiments of the present invention, a kind of apparatus for forwarding message is provided, described device is applied to access point AP, and include:
Receiving unit, for by receiving the lower line number that the switching equipment is sent with the data channel that switching equipment is established According to message;Wherein, when the downlink data message is the downlink data message that the switching equipment receives AC transmission, according to institute The drainage list item for stating the destination slogan inquiry self maintained of downlink data message determines the corresponding target of the destination slogan After AP, what Xiang Suoshu target AP was sent;
Decapsulation unit, for carrying out decapsulation processing to the downlink data message;
Transmission unit, for treated that downlink data message is forwarded to the decapsulation.
Downlink data is obtained when switching equipment receives the downlink data message of AC transmission using the embodiment of the present invention The destination slogan of message, and according to the drainage list item of destination slogan inquiry self maintained, determine the destination slogan pair The target AP answered, and then the downlink data message is sent to target AP by the data channel established with target AP, so that mesh When mark AP receives the downlink data message, after decapsulating to downlink data message, it is forwarded processing, makes full use of friendship The process performance of exchange device improves the resource utilization of switching equipment.
Detailed description of the invention
Fig. 1 is a kind of network architecture schematic diagram of message forwarding provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of message forwarding method provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of another message forwarding method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of apparatus for forwarding message provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another apparatus for forwarding message provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of apparatus for forwarding message provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another apparatus for forwarding message provided in an embodiment of the present invention.
Specific embodiment
In the WLAN network model of traditional AC+Fit AP, the function that AP needs to undertake is more, such as real-time RRM (Radio Resource Management, wireless resource management) it calculates, WIPS (Wireless Intrusion Prevention System, wireless invasive system of defense) the control plane traffic and data forwarding etc. such as calculate, thus AP must be equipped with high property The hardware of energy, such as high performance CPU (Center Process Unit, central processing unit), memory etc..
In addition, in traditional AC+Fit AP group-network construction, Fit AP would generally by switching equipment (such as interchanger) with AC connection, in the group-network construction, switching equipment major function include for AP power supply and wired message forwarding, and and wireless network Network does not have any interaction, and the process performance of switching equipment is not fully utilized, and causes the waste of resource.
Technical solution in embodiment in order to enable those skilled in the art to better understand the present invention, and make of the invention real The above objects, features, and advantages for applying example can be more obvious and easy to understand, with reference to the accompanying drawing to technical side in the embodiment of the present invention Case is described in further detail.
The network architecture being first applicable in below the embodiment of the present invention is described.
Referring to Figure 1, Fig. 1 is a kind of network architecture schematic diagram of message forwarding provided in an embodiment of the present invention, such as Fig. 1 institute Show, may include AC, switching equipment (being illustrated so that switching equipment is interchanger as an example below) and AP in the network architecture; Wherein:
It is worth noting that in embodiments of the present invention, if non-specified otherwise, mentioned interchanger refers both to direct-connected with AP Interchanger, the embodiment of the present invention is subsequent no longer to be repeated.
In the embodiment of the present invention, by the way that interchanger is transformed, by interchanger and AC establish connection (such as CAPWAP, HTTP or The other agreement connections of person), in this way, AC is only responsible for being communicated with interchanger, the AP that management is attached thereto is responsible for by interchanger, is handed over The configuration with AP of changing planes can uniformly be issued by AC, also, interchanger is also responsible for control plane traffic (such as RRM, roaming control of AP System, WIPS etc.).AP only needs to be responsible for the data planes business such as radio frequency processing and data message processing, can reduce AP's in this way Hardware cost.
In the embodiment of the present invention, in order to enable switch to the control plane traffic of processing AP, it can set in a switch Enter related software modules (software module that AP is used to handle related control plane business), and then can use the CPU of interchanger Resource, the required control plane traffic handled of processing AP, such as RRM calculating, Roaming control, WIPS.
Wherein, interchanger realizes that the processing of related control plane business may refer to by be placed in related software modules The specific implementation of existing AP processing related control plane business, this will not be repeated here for the embodiment of the present invention.In addition, interchanger Required data can pass through connection between interchanger and AP (such as two layers of privately owned association when handling related control plane business View connection) it is obtained from AP.
In embodiments of the present invention, interchanger and AC are established after control channel, and one can also be created for each AP specially Data channel, every data channel use different port numbers.
Specifically, interchanger and AC are successfully established after control channel, exchange opportunity is AP points connect with the interchanger With UDP (User Datagram Protocol, User Datagram Protocol) port numbers, in turn, interchanger can be according to being AP point The UDP port number matched creates corresponding data channel, and by the data channel to AP downward message packaging information, so as to AP After receiving message packaging information, it is stored in local, in case using when the forwarding of follow-up data message.
Wherein, which can include but is not limited to: be encapsulated as message (such as the specified protocol of specified protocol For CAPWAP agreement) target MAC (Media Access Control) address be interchanger to AC next-hop device (such as gateway) MAC Address, destination IP Location is the IP address of AC, and destination slogan is socket (socket) port numbers of AC, and source IP address is the IP address of interchanger, Source port number is the UDP port number that interchanger is AP distribution, VLAN locating for the data channel between interchanger and AP.
In the embodiment of the present invention, in order to realize interchanger according to the destination port of the downlink data message received by downlink Data message forwarding gives correct AP, and interchanger is after creating corresponding data channel for each AP, it is also necessary to create for each AP One drainage list item (or being ACL (Access Control List, accesses control list) strategy), by destination slogan with The matched message of port numbers for AP distribution is transmitted to the AP, thus, when interchanger receives downlink data message, Ke Yigen Drainage list item matching is carried out according to the destination slogan of the downlink data message, and downlink data message is carried out according to matching result Forwarding.
Based on the network architecture shown in FIG. 1, the embodiment of the invention also provides a kind of message processing methods, refer to Fig. 2, For a kind of flow diagram of message processing method provided in an embodiment of the present invention, as shown in Fig. 2, this method may include following Step:
It is worth noting that step 201~step 203 executing subject can be the exchange in the network architecture shown in Fig. 1 Machine.
Step 201, when receive AC transmission downlink data message when, obtain the destination port of the downlink data message Number.
In the embodiment of the present invention, when AC, which has received external network, is sent to the outer network packet of STA, AC can be according to this The purpose IP address of outer network packet, which is inquired related forwarding-table item and determined, to be needed for the outer network packet to be sent on which interchanger, true When to make target switch be the above-mentioned interchanger as executing subject, upstream data report that AC is sent according to this target switch The encapsulation format of text is packaged the outer network packet, obtains downlink data message, the purpose IP address of the downlink data message For the IP address of target switch.
Due to downlink data message purpose IP address be target switch IP address, the downlink data message It can first send to target switch.
When interchanger receives the downlink data message of AC transmission, the destination port of the available downlink data message Number;Wherein, the destination slogan of the downlink data message is effectively swapped between machine and is closed by the destination of the downlink data message The port numbers of the AP distribution of connection.
Step 202, the drainage list item that self maintained is inquired according to destination slogan, determine the corresponding target of destination port AP。
In the embodiment of the present invention, interchanger receives the downlink data message of AC transmission, and gets the downlink data report After the destination slogan of text, the drainage list item of self maintained can be inquired according to the destination slogan;Wherein, the drainage list item In include port numbers and AP corresponding relationship.
If there is AP corresponding with the destination slogan of downlink data message in the drainage list item of interchanger maintenance, exchange The AP can be determined as the target AP of downlink data message, i.e. AP associated by the destination of downlink data message by machine.
If AP corresponding with the destination slogan of downlink data message is not present in the drainage list item of interchanger maintenance, hand over The downlink data message can directly be abandoned or be handled according to other strategies downlink data message by changing planes, and the present invention is implemented Example does not limit this.
The downlink data message received is sent to target AP by the data channel established with target AP by step 203.
It, can be with after interchanger determines the corresponding target AP of the destination slogan of downlink data message in the embodiment of the present invention The downlink data message is sent to target AP by the data channel established with target AP.
After target AP receives the downlink data message of interchanger transmission, which can be decapsulated Processing, and the wired message obtained after decapsulation is converted into air message, the conversion of 802.3 to 802.11 formats is such as carried out, and Obtained air message is forwarded by Radio (radio frequency) mouth.
Further, in embodiments of the present invention, it is sent out when interchanger receives the AP for establishing data channel with interchanger It, can be according to the purpose IP address and target MAC (Media Access Control) address of the uplink data messages to line number on this when the uplink data messages sent It is forwarded according to message.
Specifically, in embodiments of the present invention, when AP receives air message, AP can be converted to the air message Report from a liner text, and the message packaging information issued according to interchanger is packaged wired message, to obtain uplink data messages.
Wherein, which includes: to be encapsulated as the IP address that the purpose IP address of the message of specified protocol is AC, Target MAC (Media Access Control) address is the MAC Address of the next-hop device of interchanger to AC, and destination slogan is the socket port number of AC, source IP address is the IP address of interchanger, and source port number is the UDP port number that interchanger is AP distribution.
For example, when AP is from when receiving air message (being assumed to be 802.11 messages) for Radio mouthfuls, AP will can first be connect The air message received is converted to wired message, such as carries out the conversion of 802.11 to 802.3 formats, then, AP can use exchange Wired message is encapsulated as uplink data messages by the message packaging information that machine issues.For example, it is assumed that the finger in message packaging information Determining agreement is CAPWAP agreement, it is assumed that does not have other equipment between interchanger and AC, then AP can be 802.3 messages after conversion A CAPWAP protocol massages head is encapsulated, and (effectively using 802.3 messages after conversion as the payload of uplink data messages Load) it is encapsulated, the purpose IP address of the uplink data messages encapsulated is the IP address of AC, and target MAC (Media Access Control) address is AC's MAC Address, destination slogan are the socket port number of AC, and source IP address is the IP address of interchanger, and source port number is exchange Machine is the UDP port number of AP distribution.
Wherein, message packaging information can be interchanger after data channel corresponding with AP creation, issue to AP.
After AP obtains uplink data messages, which can be sent from Ethernet interface.
It, can be according on this when interchanger receives the uplink data messages sent with the AP for itself establishing data channel The purpose IP address and target MAC (Media Access Control) address of row data message are forwarded the uplink data messages.Due to the upstream data report The purpose IP address of text is the IP address of AC, and therefore, which is eventually sent to AC.
After AC receives the uplink data messages of interchanger forwarding, which can be decapsulated, and Concentration forward process is carried out to the message after encapsulation, is forwarded to external network.
Further, in embodiments of the present invention, interchanger is by receiving AC transmission with the control channel that AC is established When controlling message, control plane traffic processing can be carried out according to the control message.Wherein, which may include But be not limited to RRM, Roaming control, WIPS etc..
Based on the network architecture shown in FIG. 1, the embodiment of the invention also provides another message processing methods, refer to figure 3, be a kind of flow diagram of message processing method provided in an embodiment of the present invention, as shown in figure 3, this method may include with Lower step:
It is worth noting that step 301~step 302 executing subject can be the AP in the network architecture shown in Fig. 1.
Step 301 receives the downlink data message that switching equipment is sent by the data channel established with switching equipment.
In the embodiment of the present invention, when AC, which receives external network, is sent to the outer network packet of STA, AC can be outer according to this The purpose IP address of network packet, which is inquired related forwarding-table item and determined, to be needed for the outer network packet to be sent on which switching equipment, true When to make target switching equipment be the switching equipment in step 301, upstream data report that AC is sent according to this target switching equipment The encapsulation format of text is packaged the outer network packet, obtains downlink data message, the purpose IP address of the downlink data message For the IP address of target switching equipment.
Due to downlink data message purpose IP address be target switching equipment IP address, the downlink data report Text can also be sent to target switching equipment.It, can be according to the downlink after target switching equipment receives the downlink data message The drainage list item of the destination slogan inquiry self maintained of data message, determines corresponding target AP, is determining that target AP is When the above-mentioned AP as executing subject, which is sent to the AP.
Step 302 after carrying out decapsulation processing to downlink data message, is forwarded processing.
In the embodiment of the present invention, when AP receives the downlink data message of switching equipment transmission, AP can be to the downlink Data message carries out decapsulation processing, and wired message that decapsulation obtains is converted to air message, such as carries out 802.3 and arrives The conversion of 802.1 formats, and obtained air message is forwarded by Radio mouthfuls.
Further, in embodiments of the present invention, when AP receives air message, AP can be converted the air message At wired message, and the message packaging information issued according to switching equipment, which is packaged, upstream data is obtained Message;Wherein, which may include: to be encapsulated as the IP that the purpose IP address of the message of specified protocol is AC Location, target MAC (Media Access Control) address are the MAC Address of the next-hop device of the switching equipment to AC, and destination slogan is the end socket of AC Slogan, source IP address are the IP address of switching equipment, and source port number is the UDP port number that switching equipment is AP distribution.
After AP obtains corresponding uplink data messages according to the air message received, which can be turned It is sent to switching equipment, so that purpose IP address and target MAC (Media Access Control) address of the switching equipment according to the uplink data messages, to upper Row data message is forwarded, and specific implementation may refer to the associated description in method flow shown in Fig. 2, and the present invention is implemented Details are not described herein for example.
Through above description as can be seen that in technical solution provided in an embodiment of the present invention, when switching equipment receives When the downlink data message that AC is sent, the destination slogan of downlink data message is obtained, and certainly according to destination slogan inquiry The drainage list item of body maintenance, determines the corresponding target AP of the destination slogan, so by the downlink data message by with target The data channel that AP is established is sent to target AP, when so that target AP receiving the downlink data message, to downlink data message After being decapsulated, it is forwarded processing, makes full use of the process performance of switching equipment, improves the utilization of resources of switching equipment Rate;In addition, in embodiments of the present invention, being AP processing control plane traffic by switching equipment, releasing AP control plane Pressure, AP only need processing data plane business, reduce the hardware performance requirements of AP.
Fig. 4 is referred to, provides a kind of structural schematic diagram of apparatus for forwarding message for the embodiment of the present invention, wherein the message Processing unit can be applied to the switching equipment in the network architecture shown in Fig. 1, as shown in figure 4, the apparatus may include:
Receiving unit 410, for receiving the downlink data message of AC transmission;
Acquiring unit 420, when for receiving the downlink data message of AC transmission when the receiving unit, under acquisition is described The destination slogan of row data message;
Query unit 430 determines the purpose for inquiring the drainage list item of self maintained according to the destination slogan The corresponding target AP of port numbers;
Transmission unit 440, for sending the downlink data message by the data channel established with the target AP To the target AP.
In an alternative embodiment, the receiving unit 410 can be also used for receiving and the switching equipment establish data The uplink data messages that the AP in channel is sent;
The transmission unit 440 can be also used for establishing when the receiving unit 410 is received with the switching equipment When the uplink data messages that the AP of data channel is sent, according to the purpose internet protocol address of the uplink data messages and Purpose MAC address is forwarded the uplink data messages;
Wherein, when the uplink data messages are that the AP receives air message, the air message has been converted into Report from a liner text, and the message packaging information issued according to the switching equipment is packaged wired message;
The message packaging information includes: to be encapsulated as the IP address that the purpose IP address of specified protocol message is the AC, Target MAC (Media Access Control) address is the MAC Address of the next-hop device of the switching equipment to the AC, and destination slogan is the AC's Socket port number, source IP address are the IP address of the switching equipment, and source port number is that the switching equipment is the AP points The UDP port number matched.
In an alternative embodiment, the receiving unit 410 can be also used for connecing by the control channel established with the AC Receive the control message that the AC is sent;
Correspondingly, please refer to fig. 5, being the structural representation of another apparatus for forwarding message provided in an embodiment of the present invention Figure, on the basis of the embodiment shown in fig. 4, device shown in fig. 5 can also include:
Processing unit 450, for carrying out control plane traffic processing according to the control message.
Fig. 6 is referred to, provides a kind of structural schematic diagram of apparatus for forwarding message for the embodiment of the present invention, wherein the message Retransmission unit can be applied to the AP in the network architecture shown in Fig. 1, as shown in fig. 6, the apparatus may include:
Receiving unit 610, for by being received under the switching equipment transmission with the data channel that switching equipment is established Row data message;Wherein, when the downlink data message is the downlink data message that the switching equipment receives AC transmission, root Determine that the destination slogan is corresponding according to the drainage list item of the destination slogan inquiry self maintained of the downlink data message After target AP, what Xiang Suoshu target AP was sent;
Decapsulation unit 620, for carrying out decapsulation processing to the downlink data message;
Transmission unit 630, for treated that downlink data message is forwarded to the decapsulation.
Referring to Figure 7 together, it is the structural schematic diagram of another apparatus for forwarding message provided in an embodiment of the present invention, is scheming On the basis of 6 illustrated embodiments, device shown in Fig. 7 can also include:
Encapsulation unit 640, for when the receiving unit 610 receives air message, the air message to be converted For wired message, and the message packaging information issued according to the switching equipment, wired message is packaged, is obtained Row data message;The message packaging information includes: to be encapsulated as the purpose internet protocol address of the message of specified protocol to be The IP address of the AC, purpose MAC address be the switching equipment to the AC next-hop device MAC Address, destination slogan are the socket port number of the AC, and source IP address is the IP address of the switching equipment, source port number It is the UDP port number of the AP distribution for the switching equipment;
The transmission unit 630 can be also used for the uplink data messages being forwarded to the switching equipment, so that institute Switching equipment is stated according to the purpose IP address and target MAC (Media Access Control) address of the uplink data messages, to the uplink data messages into Row forwarding.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize the present invention program.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
As seen from the above-described embodiment, when switching equipment receives the downlink data message of AC transmission, downlink data is obtained The destination slogan of message, and according to the drainage list item of destination slogan inquiry self maintained, determine the destination slogan pair The target AP answered, and then the downlink data message is sent to target AP by the data channel established with target AP, so that mesh When mark AP receives the downlink data message, after decapsulating to downlink data message, it is forwarded processing, makes full use of friendship The process performance of exchange device improves the resource utilization of switching equipment.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (6)

1. a kind of message forwarding method, which is characterized in that the method is applied to switching equipment, and includes:
When receiving the downlink data message of access controller AC transmission, the destination port of the downlink data message is obtained Number;
The drainage list item that self maintained is inquired according to the destination slogan determines the corresponding target access of the destination slogan Point AP;
The downlink data message is sent to the target AP by the data channel established with the target AP;
Wherein, the method also includes:
When receiving the uplink data messages that the AP for establishing data channel with the switching equipment is sent, according to the uplink The purpose internet protocol address and purpose MAC address of data message, to the uplink data messages into Row forwarding;
Wherein, when the uplink data messages are that the AP receives air message, the air message report from a liner has been converted into Text, and the message packaging information issued according to the switching equipment is packaged wired message;
The message packaging information includes: to be encapsulated as the IP address that the purpose IP address of the message of specified protocol is the AC, mesh MAC Address be the switching equipment to the AC next-hop device MAC Address, destination slogan is the AC Socket port number, source IP address are the IP address of the switching equipment, and source port number is that the switching equipment is the AP points The User Datagram Protocol UDP port number matched.
2. the method according to claim 1, wherein the method also includes:
The control message that the AC is sent is received by the control channel established with the AC, and is carried out according to the control message Control business processing.
3. a kind of message forwarding method, which is characterized in that the method is applied to access point AP, and includes:
By receiving the downlink data message that the switching equipment is sent with the data channel that switching equipment is established;Wherein, described When downlink data message is the downlink data message that the switching equipment receives AC transmission, according to the downlink data message Destination slogan inquires the drainage list item of self maintained, after determining that the corresponding target AP of the destination slogan is the AP, It is sent to the AP;
It is forwarded after carrying out decapsulation processing to the downlink data message;
Wherein, the method also includes:
When receiving air message, the air message is converted into wired message;
The message packaging information issued according to the switching equipment is packaged wired message, obtains upstream data report Text;The message packaging information include: be encapsulated as the message of specified protocol purpose internet protocol address be the AC IP address, MAC Address of the purpose MAC address for the next-hop device of the switching equipment to the AC, mesh Port numbers be the AC socket port number, source IP address be the switching equipment IP address, source port number is described Switching equipment is the User Datagram Protocol UDP port number of AP distribution;
The uplink data messages are forwarded to the switching equipment, so that the switching equipment is according to the uplink data messages Purpose IP address and target MAC (Media Access Control) address, the uplink data messages are forwarded.
4. a kind of apparatus for forwarding message, which is characterized in that described device is applied to switching equipment, and includes:
Receiving unit, for receiving the downlink data message of access controller AC transmission;
Acquiring unit obtains the downlink data when for receiving the downlink data message of AC transmission when the receiving unit The destination slogan of message;
Query unit determines the destination slogan for inquiring the drainage list item of self maintained according to the destination slogan Corresponding target AP;
Transmission unit, for the downlink data message to be sent to the mesh by the data channel established with the target AP Mark AP;
Wherein,
The receiving unit is also used to receive the upstream data report that the AP for establishing data channel with the switching equipment is sent Text;
The transmission unit is also used to send out when the receiving unit receives the AP for establishing data channel with the switching equipment When the uplink data messages sent, according to the purpose internet protocol address of the uplink data messages and purpose media interviews control MAC Address processed is forwarded the uplink data messages;
Wherein, when the uplink data messages are that the AP receives air message, the air message report from a liner has been converted into Text, and the message packaging information issued according to the switching equipment is packaged wired message;
The message packaging information includes: to be encapsulated as the IP address that the purpose IP address of the message of specified protocol is the AC, mesh MAC Address be the switching equipment to the AC next-hop device MAC Address, destination slogan is the AC Socket port number, source IP address are the User Datagram Protocol UDP port number that the switching equipment is the AP distribution.
5. device according to claim 4, which is characterized in that
The receiving unit is also used to receive the control message that the AC is sent with the AC by the control channel established;
Described device further include:
Processing unit, for carrying out control plane traffic processing according to the control message.
6. a kind of apparatus for forwarding message, which is characterized in that described device is applied to access point AP, and includes:
Receiving unit, for by receiving the downlink data report that the switching equipment is sent with the data channel that switching equipment is established Text;Wherein, when the downlink data message is the downlink data message that the switching equipment receives AC transmission, under described After the drainage list item of the destination slogan inquiry self maintained of row data message determines the corresponding target AP of the destination slogan, It is sent to the target AP;
Decapsulation unit, for carrying out decapsulation processing to the downlink data message;
Transmission unit, for treated that downlink data message is forwarded to the decapsulation;
Wherein,
Described device further include:
Encapsulation unit, for when the receiving unit receives air message, the air message to be converted to wired message, And the message packaging information issued according to the switching equipment, wired message is packaged, uplink data messages are obtained; The message packaging information includes: to be encapsulated as the IP that the purpose internet protocol address of the message of specified protocol is the AC Location, MAC Address of the purpose MAC address for the next-hop device of the switching equipment to the AC, destination Slogan is the socket port number of the AC, and source IP address is the IP address of the switching equipment, and source port number is the exchange Equipment is the User Datagram Protocol UDP port number of AP distribution;
The transmission unit is also used to the uplink data messages being forwarded to the switching equipment, so that the switching equipment According to the purpose IP address and target MAC (Media Access Control) address of the uplink data messages, the uplink data messages are forwarded.
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 CN105959223A (en) 2016-09-21
CN105959223B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322389B (en) * 2017-01-17 2021-05-18 深圳市万网博通科技有限公司 Data message forwarding method and system, and wireless access device
CN107547621B (en) * 2017-06-27 2020-11-06 新华三技术有限公司 Message forwarding method and device
CN114158036B (en) * 2021-12-06 2024-01-23 成都飞鱼星科技股份有限公司 Method, equipment, system and medium for configuration management of 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组网和数据转发方式的研究》;霍群松;《中国优秀硕士学位论文全文数据库信息科技辑》;20110315(第3期);全文 *

Also Published As

Publication number Publication date
CN105959223A (en) 2016-09-21

Similar Documents

Publication Publication Date Title
US10009267B2 (en) Method and system for controlling an underlying physical network by a software defined network
CN104518973B (en) A kind of reliable multicast transmission method of the data based on SDN environment
CN107079015A (en) System and method for the addressing based on stream under mobile environment
CN109195116A (en) A kind of application layer group broadcasting method of LPWAN Internet of Things
CN103476150B (en) Integrated base station
CN110290093A (en) The SD-WAN network architecture and network-building method, message forwarding method
CN104365066B (en) Method and apparatus for ether Virtual Private Network
CN102958197B (en) Method for establishing X2 service signaling connection, base station and CSG (cell site gateway)
CN103685023A (en) Broadband satellite communication system and method based on satellite-borne IP switching
CN105959223B (en) A kind of message forwarding method and device
CN103200283B (en) The implementation method of many relay wireless communications system and this Systems Air Interface IPization
CN107734571A (en) The processing method and equipment of a kind of data transmission channel
CN102625363A (en) Mobile evolved packet network system
CN109302226A (en) Incorporate network communication method
CN103313308A (en) Data transmission method and device
MX2020012948A (en) Method and apparatus for managing virtual private network.
CN110324159A (en) Link configuration method and controller
CN104144157B (en) A kind of TCP session establishing method, device, multihome node and satellite node
WO2015113291A1 (en) Wireless network data processing device and wireless network system
CN105471742B (en) A kind of message processing method and equipment
CN110062060A (en) A kind of system and method for IP address distribution
CN104168273A (en) Method and system for achieving TCP proxy in thin AP mode
JP2017532875A (en) Data exchange method, baseband processing unit, wireless remote unit and relay unit
CN109246016A (en) Message processing method and device across VXLAN
CN107409047A (en) Encrypt the coordinate packet delivering of session

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