CN101860856B - Method and equipment for providing differentiated service in wireless local area network - Google Patents

Method and equipment for providing differentiated service in wireless local area network Download PDF

Info

Publication number
CN101860856B
CN101860856B CN 201010152163 CN201010152163A CN101860856B CN 101860856 B CN101860856 B CN 101860856B CN 201010152163 CN201010152163 CN 201010152163 CN 201010152163 A CN201010152163 A CN 201010152163A CN 101860856 B CN101860856 B CN 101860856B
Authority
CN
China
Prior art keywords
wireless terminal
ssid
gateway device
address
corresponding relation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 201010152163
Other languages
Chinese (zh)
Other versions
CN101860856A (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
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 CN 201010152163 priority Critical patent/CN101860856B/en
Publication of CN101860856A publication Critical patent/CN101860856A/en
Application granted granted Critical
Publication of CN101860856B publication Critical patent/CN101860856B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for providing a differentiated service in a wireless local area network. The method comprises the following steps that: gateway equipment acquires a corresponding relationship between an IP addresses of a wireless terminal and a service set identifier (SSID); and the gateway equipment provides the differentiated service for the wireless terminal according to the SSID corresponding to the wireless terminal. In the method and the equipment, the gateway equipment can serve a user differentially according to SSID information by sending the SSID information to the gateway equipment.

Description

A kind of method and apparatus of providing differentiated service in wireless local area network
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method and apparatus of providing differentiated service in wireless local area network.
Background technology
WLAN (Wireless Local Area Networks, WLAN (wireless local area network)) provides a kind of wireless connections service of local area network (LAN), and wireless data access at a high speed can be provided, and has been widely used in the various places such as city, enterprise, building, family.Compare with traditional Wired access mode, WLAN (wireless local area network) makes the user of network freer, thoroughly broken away from the constraint of cable and port position, and WLAN (wireless local area network) makes terminal have to be easy to carry, be easy to the advantages such as mobile, removed or reduced numerous and diverse network layout from, only need to lay one or more AP (Access Point, access point) equipment and just can set up the LAN that covers whole building or area.
Along with the fast development of wireless network, the situation of the mode access network by WLAN is more and more.In wlan network, for numerous access users, there has been the demand for services of differentiation, for example, the certain user needs cryptographic services, and the certain user needs larger bandwidth, and the certain user needs the demand for services of the higher differentiation such as priority.
In traditional fixed network, the position of PC (Personal Computer, personal computer) is relatively fixing, IP (Intemet Protocol, the agreement that interconnects between network) address change is little, and at this moment, the demand for services of differentiation can realize by the IP address of distinguishing the user.And in WLAN used, PC can be moved at any time, and fixing IP can't realize the address, and at this moment, the demand for services of differentiation can not realize by the IP address of distinguishing the user.
Concrete, traditional wired mode networking plan as shown in Figure 1, the position of PC is all fixed, NAT (Network Address Translation, network address translation) externally ported as network of gateway, can carry out for each PC the service of various differentiation.Wherein, in networking shown in Figure 1, because PC fixes, can fix the IP address of each PC, and IP address or the address field according to each PC carries out various operations in the NAT gateway, thereby carry out the service of various differentiation for each PC.
And if applied environment is when being the WLAN environment, can't realize due to fixing IP address, can not carry out by the NAT gateway service of various differentiation for each PC.Wherein, for company of certain scale or unit, along with the increase of area, a wireless aps obviously can't cover All Ranges, when PC is moved, when transferring to another AP from an AP, may cause the variation of IP address.And if during the WLAN that applied environment provides for operator access focus, PC may access on any one position, fix the IP address of this PC and substantially can't realize.
Wired and wireless mixed networking schematic diagram as shown in Figure 2, when PC was linked into different AP, this PC distributes IP address may change, and the NAT gateway can't provide the service of differentiation based on the IP address for each PC.If still will fix IP address or the address field of certain PC, need DHCP (Dynamic Host Configuration Protocol, DynamicHost arranges agreement) server and certificate server to cooperatively interact, reserve special address field for special PC.At this moment, when the quantity of PC increased, when the WLAN that especially provides for operator when applied environment accessed environment, maintenance and management work meeting became very huge.
Summary of the invention
The invention provides a kind of method and apparatus of providing differentiated service in wireless local area network, with under the WLAN environment, different user is provided the service of differentiation.
In order to achieve the above object, the present invention proposes a kind of method of providing differentiated service in wireless local area network, be applied to comprise in the WLAN (wireless local area network) of gateway device, the wireless control apparatus of three layers and wireless terminal, said method comprising the steps of:
Described gateway device obtains the IP address of described wireless terminal and the corresponding relation of services set identification code SSID; Wherein, described gateway device obtains the IP address of described wireless terminal and the corresponding relation of services set identification code SSID, specifically comprises:
Described gateway device obtains the IP address of described wireless terminal and the corresponding relation of SSID from described wireless control apparatus;
When the message that receives from described wireless terminal, described gateway device is according to the IP address of carrying in described message, and described IP address obtains SSID corresponding to described wireless terminal with the corresponding relation of SSID;
The SSID that described gateway device is corresponding according to described wireless terminal provides the service of differentiation for described wireless terminal.
Described gateway device obtains the IP address of described wireless terminal and the corresponding relation of SSID from described wireless control apparatus, specifically comprises:
When described wireless terminal access, described wireless control apparatus obtains the medium access control MAC Address of described wireless terminal and the SSID of access, when the message that receives from described wireless terminal, obtain MAC Address and the IP address of described wireless terminal, and according to the MAC Address of described wireless terminal and SSID and MAC Address and the IP address of the described wireless terminal of IP address acquisition and the corresponding relation of SSID of access;
Described wireless control apparatus sends to described gateway device with the IP address of described wireless terminal and the corresponding relation of SSID.
Described wireless control apparatus sends to described gateway device with the IP address of described wireless terminal and the corresponding relation of SSID, specifically comprises:
Described wireless control apparatus sends the user datagram protocol UDP inquiry message to described gateway device, has carried in described UDP inquiry message and has inquired whether described gateway device supports the information of SSID upload function;
If receive the response message that described gateway device returns, described wireless control apparatus sends the IP address of described wireless terminal and the corresponding relation of SSID according to the address of pre-configured described gateway device to described gateway device.
The SSID that described gateway device is corresponding according to described wireless terminal provides the service of differentiation for described wireless terminal, also comprise afterwards:
When described wireless terminal withdrawed from described WLAN (wireless local area network), described wireless control apparatus sent UDP deletion message to described gateway device, the information of having carried the corresponding relation of notifying described gateway device deletion described IP address and SSID in described UDP deletion message;
The corresponding relation of described gateway device deletion described IP address and SSID.
The SSID that described gateway device is corresponding according to described wireless terminal provides the service of differentiation for described wireless terminal, specifically comprise:
Described gateway device provides the service of differentiation according to the corresponding relation between the service of the SSID that sets in advance and differentiation for described wireless terminal.
A kind of gateway device is applied to comprise that in the WLAN (wireless local area network) of gateway device, the wireless control apparatus of three layers and wireless terminal, this gateway device comprises:
The first acquisition module is used for obtaining the IP address of described wireless terminal and the corresponding relation of SSID; Wherein, described the first acquisition module specifically is used for obtaining the IP address of described wireless terminal and the corresponding relation of SSID from described wireless control apparatus;
Transceiver module is used for receiving the message from described wireless terminal;
The second acquisition module, with described the first acquisition module be connected transceiver module and be connected respectively, be used for when the message that receives from described wireless terminal, according to the IP address of carrying in described message, and described IP address obtains SSID corresponding to described wireless terminal with the corresponding relation of SSID;
Processing module is connected with described the second acquisition module, and being used for the SSID corresponding according to described wireless terminal provides the service of differentiation for described wireless terminal.
Described transceiver module also is used for, when described wireless terminal withdraws from described WLAN (wireless local area network), reception has been carried in described UDP deletion message and has been notified described gateway device to delete the information of the corresponding relation of described IP address and SSID from the UDP deletion message of described wireless control apparatus;
Described gateway device also comprises:
Removing module is connected with described transceiver module, is used for deleting the corresponding relation of described IP address and SSID when described transceiver module receives described UDP deletion message.
Described processing module specifically is used for, and the service of differentiation is provided for described wireless terminal according to the corresponding relation between the service of the SSID that sets in advance and differentiation.
A kind of wireless control apparatus is applied to comprise that in the WLAN (wireless local area network) of gateway device, wireless control apparatus and wireless terminal, this wireless control apparatus comprises:
The first acquisition module is used for obtaining the MAC address of described wireless terminal and the SSID of access when described wireless terminal access;
The second acquisition module is used for when the message that receives from described wireless terminal, obtains MAC Address and the IP address of described wireless terminal;
The 3rd acquisition module, with described the first acquisition module be connected the second acquisition module and be connected respectively, be used for according to the MAC Address of described wireless terminal and SSID and MAC Address and the IP address of the described wireless terminal of IP address acquisition and the corresponding relation of SSID of access;
Transceiver module, be connected with described the 3rd acquisition module, be used for the IP address of described wireless terminal and the corresponding relation of SSID are sent to described gateway device, the SSID corresponding according to described wireless terminal for described gateway device provides the service of differentiation for described wireless terminal.
Described transceiver module further comprises:
The first transmitting-receiving submodule is used for sending the UDP inquiry message to described gateway device, has carried in described UDP inquiry message and has inquired whether described gateway device supports the information of SSID upload function; And wait receives the response message that returns from described gateway device;
The second transmitting-receiving submodule, be connected with described the first transmitting-receiving submodule, be used for when receiving the response message that described gateway device returns, according to the address of pre-configured described gateway device to the IP address of the described wireless terminal of described gateway device transmission and the corresponding relation of SSID.
Described transceiver module also comprises:
The 3rd transmitting-receiving submodule, be used for when described wireless terminal withdraws from described WLAN (wireless local area network), send UDP deletion message to described gateway device, the information of having carried the corresponding relation of notifying described gateway device deletion described IP address and SSID in described UDP deletion message.
Compared with prior art, the present invention has the following advantages:
By SSID information is sent to gateway device, make gateway device to carry out differentiated service to the user according to this SSID information; And system maintenance is easy, increases or when revising a certain class user's service, only need to carry out corresponding configuration on gateway device and get final product, and does not all need to change for equipment such as wireless control apparatus, intermediate equipments.
Description of drawings
Fig. 1 is wired mode networking plan schematic diagram traditional in prior art;
Fig. 2 is wired in prior art and wireless mixed networking schematic diagram;
Fig. 3 is the method flow diagram of a kind of providing differentiated service in wireless local area network of proposing of the present invention;
Fig. 4 A, Fig. 4 B and Fig. 4 C are the networking schematic diagram between AP equipment, AC equipment and gateway device;
Fig. 5 A and Fig. 5 B are positioned at the handling process schematic diagram of AC equipment side and gateway device side in PC access notification procedure;
Fig. 6 A and Fig. 6 B are positioned at the handling process schematic diagram of AC equipment side and gateway device side in PC OPT-OUT NOTICE process;
Fig. 7 A, Fig. 7 B, Fig. 7 C and Fig. 7 D are the schematic diagram of each message;
Fig. 8 is the structure chart of a kind of gateway device of proposing of the present invention;
Fig. 9 is the structure chart of a kind of wireless control apparatus of proposing of the present invention.
Embodiment
In the present invention, gateway device by obtaining wireless terminal the IP address and the corresponding relation of SSID (Service SetIdentifier, services set identification code); When the message that receives from wireless terminal, can obtain SSID corresponding to this wireless terminal with the corresponding relation of SSID according to the IP address of carrying in this message and IP address; And the SSID corresponding according to this wireless terminal provides the service of differentiation for wireless terminal.
Based on above-mentioned thought, a kind of method of providing differentiated service in wireless local area network is provided in the present invention, be applied to comprise that in the WLAN (wireless local area network) of gateway device and wireless terminal, as shown in Figure 3, the method comprises the following steps:
Step 301, described gateway device are obtained the IP address of described wireless terminal and the corresponding relation of services set identification code SSID.
Step 302, when the message that receives from described wireless terminal, described gateway device is according to the IP address of carrying in described message, and described IP address obtains SSID corresponding to described wireless terminal with the corresponding relation of SSID.
Step 303, the SSID that described gateway device is corresponding according to described wireless terminal provides the service of differentiation for described wireless terminal.Wherein, in WLAN (wireless local area network), each SSID correspondence corresponding service, for example, SSID1 represents to provide encryption, when SSID2 represents to provide larger bandwidth, when if wireless terminal 1 needs encryption, when wireless terminal 1 access, can select SSID1, and will store the IP address of wireless terminal 1 and the corresponding relation of SSID1 on gateway device, thereby make gateway device that the service of encryption can be provided for wireless terminal 1.When if wireless terminal 2 needs larger bandwidth, will store the IP address of wireless terminal 2 and the corresponding relation of SSID2 on gateway device, thereby make gateway device that the service of larger bandwidth can be provided for wireless terminal 2, namely can provide for different wireless terminals the service of differentiation.
Need to prove, in WLAN (wireless local area network), comprised AP equipment, AC equipment, gateway device and wireless terminal; And in actual applications, for above-mentioned each equipment, the wireless access networking can be divided into following several situation:
(1) AP equipment, AC equipment and gateway device are same equipment (being gateway device), the networking schematic diagram as shown in Fig. 4 A.At this moment, when wireless terminal accesses by gateway device, this gateway device can be known the SSID of this wireless terminal access and the IP address of this wireless terminal, namely this gateway device can be known the IP address of this wireless terminal and the corresponding relation of SSID, gives unnecessary details no longer in detail in this situation the present invention.
(2) AP equipment and AC equipment are same equipment (be wireless control apparatus, this wireless control apparatus is three-layer equipment), and gateway device is independent equipment, networking schematic diagram as shown in Figure 4 B.At this moment, this gateway device need to be known the IP address of this wireless terminal and the corresponding relation of SSID from wireless control apparatus.
(3) AP equipment, AC equipment and gateway device are independent equipment, the networking schematic diagram as shown in Fig. 4 C.At this moment, this gateway device need to be known the IP address of this wireless terminal and the corresponding relation of SSID from AP equipment or AC equipment.
It should be noted that according to the actual needs, gateway device can be known the IP address of this wireless terminal and the corresponding relation of SSID from AP equipment or AC equipment when AP equipment and AC equipment are three-layer equipment; When gateway device was known the corresponding relation of the IP address of this wireless terminal and SSID from AP equipment, this AP equipment was wireless control apparatus; When gateway device was known the corresponding relation of the IP address of this wireless terminal and SSID from AC equipment, this AC equipment was wireless control apparatus.
When AP equipment be two-layer equipment, when AC equipment is three-layer equipment, AC equipment is wireless control apparatus, gateway device need to be known the IP address of this wireless terminal and the corresponding relation of SSID from AC equipment; When AC equipment be two-layer equipment, when AP equipment is three-layer equipment, AP equipment is wireless control apparatus, gateway device need to be known the IP address of this wireless terminal and the corresponding relation of SSID from AP equipment.
Concrete, gateway device knows that from wireless control apparatus the IP address of this wireless terminal and the corresponding relation of SSID specifically comprise: when (1) passes through the wireless control apparatus access network at wireless terminal, wireless control apparatus obtains MAC (MediaAccess Control, the medium access control) address of this wireless terminal and the SSID of access; And when the message that receives from this wireless terminal, obtain MAC Address and the IP address of this wireless terminal; And according to the MAC Address of this wireless terminal and SSID and MAC Address and the IP address of this wireless terminal of IP address acquisition and the corresponding relation of SSID of access.(2) wireless control apparatus sends to gateway device with the IP address of this wireless terminal and the corresponding relation of SSID.
It should be noted that, in actual applications, this gateway device may be supported SSID upload function (namely can carry out respective handling to the corresponding relation of IP address and SSID), also may not support SSID upload function (namely can not carry out respective handling to the corresponding relation of IP address and SSID), only have when gateway device is supported the SSID upload function, this gateway device can use above-mentioned processing procedure to process accordingly.Therefore, before wireless control apparatus sends to gateway device with the corresponding relation of the IP address of this wireless terminal and SSID, this wireless control apparatus also needs to send UDP (UserDatagram Protocol to gateway device, User Datagram Protocol) inquiry message has carried in this UDP inquiry message and has inquired whether gateway device supports the information of SSID upload function; If can receive the response message that gateway device returns, illustrate that gateway device supports the SSID upload function, if can't receive the response message that gateway device returns, illustrate that gateway device do not support the SSID upload function.
Further, the pre-configured address of gateway device on wireless control apparatus, when if gateway device is supported the SSID upload function, wireless control apparatus need to send the IP address of wireless terminal and the corresponding relation of SSID to this gateway device according to the address of pre-configured gateway device.
For technical scheme provided by the invention more clearly is described, below in conjunction with a kind of concrete application scenarios, technical scheme provided by the invention is described in detail.Under this application scene, AP equipment, AC equipment and gateway device are independent equipment, are example take AC equipment as three-layer equipment and as wireless control apparatus, and gateway device need to be known the IP address of wireless terminal and the corresponding relation of SSID from this AC equipment.
Based on above-mentioned situation, under this application scene, the reciprocal process between AC equipment and gateway device comprises: initial authentication stage, PC access notice and PC OPT-OUT NOTICE.Wherein, this PC equipment is wireless terminal.
(1) the initial authentication stage
Because gateway device may be supported the SSID upload function or not support the SSID upload function, therefore, AC equipment need to know whether gateway device supports the SSID upload function, and this process is the initial authentication stage.Wherein, on gateway device, if when having enabled support SSID upload function, gateway device is supported the SSID upload function, if when not enabling to support the SSID upload function, gateway device is not held the SSID upload function.
Concrete, uncertainty due to position between AC equipment and gateway device, this AC equipment is difficult to find gateway device, therefore, need to configure the address of this gateway device on this AC equipment, and send the UDP inquiry message according to the address of this gateway device to this gateway device, carried in this UDP inquiry message and inquired whether gateway device supports the information of SSID upload function; If can receive the response message that gateway device returns, illustrate that gateway device supports the SSID upload function, if can't receive the response message that gateway device returns, illustrate that gateway device do not support the SSID upload function.
Preferably, AC equipment need to send the UDP inquiry message of preset times (for example, three times) to gateway device, if three times all do not receive the response message that gateway device returns, illustrates that gateway device do not support the SSID upload function; If receive the response message that any gateway device returns, gateway device support SSID upload function is described.
(2) PC access notice
When wireless terminal passes through AC equipment access network, this wireless terminal can be selected the SSID that self needs, and when this wireless terminal passes through the authentication of AC equipment, this AC equipment can be known the MAC Address of this wireless terminal, namely at wireless terminal when the AC equipment access network, AC equipment can be known the MAC Address of wireless terminal of access and the SSID of access; And when receiving the first IP message of this wireless terminal, AC equipment can obtain MAC Address and the IP address of this wireless terminal; Thereby according to the MAC Address of this wireless terminal and SSID and MAC Address and the IP address of this wireless terminal of IP address acquisition and the corresponding relation of SSID of access.
If when knowing that in the above-mentioned initial authentication stage gateway device is supported the SSID upload function, AC equipment directly sends to gateway device with the corresponding relation of this IP address and SSID; If when knowing that in the above-mentioned initial authentication stage gateway device is not supported the SSID upload function, need further to carry out above-mentioned initial authentication process this moment, do not support the SSID upload function if still know gateway device, do not need to send to this gateway device the corresponding relation of IP address and SSID, if know gateway device support SSID upload function, send the corresponding relation of IP address and SSID to gateway device.
The handling process of the AC equipment as shown in Fig. 5 A and the handling process of the gateway device shown in Fig. 5 B.
In Fig. 5 A, when wireless terminal accessed successfully, AC equipment was set up the IP address of this wireless terminal and the corresponding relation of SSID, and this corresponding relation is sent to gateway device, and awaited a response; If receive response, process ends; If do not receive response, judge whether to have sent to gateway device the corresponding relation of preset times (3 times), if do not have, continue to send this corresponding relation to gateway device, otherwise, process ends.
In Fig. 5 B, when the corresponding relation that receives from the IP address of the wireless terminal of AC equipment and SSID, this gateway device stores the corresponding relation of this IP address and SSID in the list item of self into, and responds the ACK message to AC equipment.
(3) PC OPT-OUT NOTICE
When wireless terminal withdrawed from wireless network, this AC equipment need to send UDP deletion message to gateway device, had carried the information of the corresponding relation of notifying IP address that this gateway device deletes this wireless terminal and SSID in this UDP deletion message; At this moment, this gateway device need to be deleted the IP address of this wireless terminal and the corresponding relation of SSID.
Concrete, AC equipment can be according to from reasons such as the related message of the solution of wireless terminal or keepalive timer expiries, know that this wireless terminal withdraws from wireless network, at this moment, this AC equipment needs the IP address of this wireless terminal of notification gateway unit deletion and the corresponding relation of SSID, with the confusion that prevents from having obtained same IP address after other network access by wireless terminal and cause.
The handling process of AC equipment as shown in Figure 6A and the handling process of the gateway device shown in Fig. 6 B.
In Fig. 6 A, when wireless terminal withdraws from wireless network, the IP address of this wireless terminal of AC unit deletion and the corresponding relation of SSID, and send UDP deletion message to gateway device, and await a response; If receive response, process ends; If do not receive response, judge whether to have sent to gateway device the UDP deletion message of preset times (3 times), if do not have, continue to send this UDP deletion message to gateway device, otherwise, process ends.
In Fig. 6 B, when receiving from the UDP of AC equipment deletion message, the IP address and the corresponding relation of SSID of the wireless terminal that this gateway device deletion is corresponding, and to AC equipment response ACK message.And in order to prevent the address of this wireless terminal application, some application on gateway device (for example, Internet protocol safety IPSEC application) before the session (session) that has set up is overtime, again arrived by other wireless terminal applications, this gateway device also needs to notify the correlation module on it to discharge this this IP session corresponding to address.
It should be noted that, in above-mentioned processing procedure, the message of stages as shown in Figure 7, wherein, the UDP inquiry message of initial authentication during the stage is Fig. 7 A, the message that has carried the corresponding relation of IP address and SSID during PC access notice is Fig. 7 B, and the UDP deletion message during the PC OPT-OUT NOTICE is Fig. 7 C, and the ACK message is Fig. 7 D.
Each message in Fig. 7, be the message based on UDP, all shown the UDP payload content in each message, this UDP use side slogan is 40000, and consider under some environment the situation that the UDP message that uses large port number can be fallen by firewall filtering, the port numbers that the message of each process interface uses can be configured by the user, only needs AC equipment and identical the getting final product of gateway device configuration.
In Fig. 7, the implication of each field is as follows:
Magic Number:32 position random number is generated by AC equipment, and gateway device copies when replying ACK, so that AC equipment can carry out corresponding with its message that sends ACK.
FLAG: message implication sign, 0x20 represent whether AC environment inquiry gateway device supports SSID to upload (being the UDP inquiry message); 0x1 represents PC access notice (namely having carried the message of the corresponding relation of IP address and SSID); 0x2 represents PC OPT-OUT NOTICE (being UDP deletion message); 0x10 represents the ACK message, and its residual value is for keeping.In actual applications, this message implication sign can be adjusted arbitrarily according to actual needs, for example, represents UDP deletion message by using 0x20, represents the UDP inquiry message by using 0x2.
IP addr: add or the IP address of the wireless terminal when withdrawing from.
Len: the length of the SSID that the wireless terminal that adds uses.
SSID: the SSID that the wireless terminal that adds uses.
Under this application scene, after the corresponding relation (this corresponding relation can have corresponding list item to store) of the IP address of having stored each wireless terminal on gateway device and SSID, when the network equipment receives message from certain wireless terminal (wireless terminal 1), the SSID corresponding according to the IP address search of this message, and determine according to this SSID the service that needs provide for this wireless terminal.
Concrete, if arrive corresponding SSID, the corresponding service that provides for this wireless terminal according to this SSID according to the IP address search of this message.For example, SSID1 represents to provide encryption, when SSID2 represents to provide larger bandwidth, if the SSID corresponding according to the IP address search of this message is SSID1, needs to provide for this wireless terminal 1 service of encryption.If do not find corresponding SSID according to the IP address of this message, can not process according to corresponding SSID, this process this application scene repeats no more.
Inventive concept based on same with said method the invention allows for a kind of gateway device, is applied to comprise that in the WLAN (wireless local area network) of gateway device and wireless terminal, as shown in Figure 8, this gateway device comprises:
The first acquisition module 11 is used for obtaining the IP address of described wireless terminal and the corresponding relation of SSID.
Transceiver module 12 is used for receiving the message from described wireless terminal.
The second acquisition module 13, with described the first acquisition module 11 be connected transceiver module 12 and be connected respectively, be used for when the message that receives from described wireless terminal, according to the IP address of carrying in described message, and described IP address obtains SSID corresponding to described wireless terminal with the corresponding relation of SSID.Wherein, also comprise the wireless control apparatus of three layers in described WLAN (wireless local area network), described the second acquisition module 13 specifically is used for, and obtains the IP address of described wireless terminal and the corresponding relation of SSID from described wireless control apparatus.
Processing module 14 is connected with described the second acquisition module 13, and being used for the SSID corresponding according to described wireless terminal provides the service of differentiation for described wireless terminal.
Described processing module 14 specifically is used for, and the service of differentiation is provided for described wireless terminal according to the corresponding relation between the service of the SSID that sets in advance and differentiation.
In the present invention, when described wireless terminal withdraws from described WLAN (wireless local area network), described transceiver module 12 also is used for receiving the UDP deletion message from described wireless control apparatus, the information of having carried the corresponding relation of notifying described gateway device deletion described IP address and SSID in described UDP deletion message;
At this moment, described gateway device also comprises:
Removing module 15 is connected with described transceiver module 12, is used for deleting the corresponding relation of described IP address and SSID when described transceiver module 12 receives described UDP deletion message.
Wherein, the modules of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Inventive concept based on same with said method the invention allows for a kind of wireless control apparatus, is applied to comprise that in the WLAN (wireless local area network) of gateway device, wireless control apparatus and wireless terminal, as shown in Figure 9, this wireless control apparatus comprises:
The first acquisition module 21 is used for obtaining the MAC Address of described wireless terminal and the SSID of access when described wireless terminal access.
The second acquisition module 22 is used for when the message that receives from described wireless terminal, obtains MAC Address and the IP address of described wireless terminal.
The 3rd acquisition module 23, with described the first acquisition module 21 be connected the second acquisition module 22 and be connected respectively, be used for according to the MAC Address of described wireless terminal and SSID and MAC Address and the IP address of the described wireless terminal of IP address acquisition and the corresponding relation of SSID of access.
Transceiver module 24, be connected with described the 3rd acquisition module 23, be used for the IP address of described wireless terminal and the corresponding relation of SSID are sent to described gateway device, the SSID corresponding according to described wireless terminal for described gateway device provides the service of differentiation for described wireless terminal.
Described transceiver module 24 further comprises:
The first transmitting-receiving submodule 241 is used for sending the UDP inquiry message to described gateway device, has carried in described UDP inquiry message and has inquired whether described gateway device supports the information of SSID upload function; And wait receives the response message that returns from described gateway device.
The second transmitting-receiving submodule 242, be connected with described the first transmitting-receiving submodule 241, be used for when receiving the response message that described gateway device returns, according to the address of pre-configured described gateway device to the IP address of the described wireless terminal of described gateway device transmission and the corresponding relation of SSID.
The 3rd transmitting-receiving submodule 243, be used for when described wireless terminal withdraws from described WLAN (wireless local area network), send UDP deletion message to described gateway device, the information of having carried the corresponding relation of notifying described gateway device deletion described IP address and SSID in described UDP deletion message.
Wherein, the modules of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device in embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from the present embodiment.The module of above-described embodiment can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number does not represent the quality of embodiment just to description.
Above disclosed be only several specific embodiment of the present invention, still, the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (11)

1. the method for a providing differentiated service in wireless local area network is applied to comprise in the WLAN (wireless local area network) of gateway device, the wireless control apparatus of three layers and wireless terminal, it is characterized in that, said method comprising the steps of:
Described gateway device obtains the IP address of described wireless terminal and the corresponding relation of services set identification code SSID; Wherein, described gateway device obtains the IP address of described wireless terminal and the corresponding relation of services set identification code SSID, specifically comprises:
Described gateway device obtains the IP address of described wireless terminal and the corresponding relation of SSID from described wireless control apparatus;
When the message that receives from described wireless terminal, described gateway device is according to the IP address of carrying in described message, and described IP address obtains SSID corresponding to described wireless terminal with the corresponding relation of SSID;
The SSID that described gateway device is corresponding according to described wireless terminal provides the service of differentiation for described wireless terminal.
2. the method for claim 1, is characterized in that, described gateway device obtains the IP address of described wireless terminal and the corresponding relation of SSID from described wireless control apparatus, specifically comprises:
When described wireless terminal access, described wireless control apparatus obtains the medium access control MAC Address of described wireless terminal and the SSID of access, when the message that receives from described wireless terminal, obtain MAC Address and the IP address of described wireless terminal, and according to the MAC Address of described wireless terminal and SSID and MAC Address and the IP address of the described wireless terminal of IP address acquisition and the corresponding relation of SSID of access;
Described wireless control apparatus sends to described gateway device with the IP address of described wireless terminal and the corresponding relation of SSID.
3. method as claimed in claim 2, is characterized in that, described wireless control apparatus sends to described gateway device with the IP address of described wireless terminal and the corresponding relation of SSID, specifically comprises:
Described wireless control apparatus sends the user datagram protocol UDP inquiry message to described gateway device, has carried in described UDP inquiry message and has inquired whether described gateway device supports the information of SSID upload function;
If receive the response message that described gateway device returns, described wireless control apparatus sends the IP address of described wireless terminal and the corresponding relation of SSID according to the address of pre-configured described gateway device to described gateway device.
4. method as claimed in claim 3, is characterized in that, the SSID that described gateway device is corresponding according to described wireless terminal provides the service of differentiation for described wireless terminal, also comprise afterwards:
When described wireless terminal withdrawed from described WLAN (wireless local area network), described wireless control apparatus sent UDP deletion message to described gateway device, the information of having carried the corresponding relation of notifying described gateway device deletion described IP address and SSID in described UDP deletion message;
The corresponding relation of described gateway device deletion described IP address and SSID.
5. the method for claim 1, is characterized in that, the SSID that described gateway device is corresponding according to described wireless terminal provides the service of differentiation for described wireless terminal, specifically comprise:
Described gateway device provides the service of differentiation according to the corresponding relation between the service of the SSID that sets in advance and differentiation for described wireless terminal.
6. gateway device is applied to comprise in the WLAN (wireless local area network) of gateway device, the wireless control apparatus of three layers and wireless terminal, and it is characterized in that, this gateway device comprises:
The first acquisition module is used for obtaining the IP address of described wireless terminal and the corresponding relation of SSID; Wherein, described the first acquisition module specifically is used for obtaining the IP address of described wireless terminal and the corresponding relation of SSID from described wireless control apparatus;
Transceiver module is used for receiving the message from described wireless terminal;
The second acquisition module, with described the first acquisition module be connected transceiver module and be connected respectively, be used for when the message that receives from described wireless terminal, according to the IP address of carrying in described message, and described IP address obtains SSID corresponding to described wireless terminal with the corresponding relation of SSID;
Processing module is connected with described the second acquisition module, and being used for the SSID corresponding according to described wireless terminal provides the service of differentiation for described wireless terminal.
7. gateway device as claimed in claim 6, is characterized in that,
Described transceiver module also is used for, when described wireless terminal withdraws from described WLAN (wireless local area network), reception has been carried in described UDP deletion message and has been notified described gateway device to delete the information of the corresponding relation of described IP address and SSID from the UDP deletion message of described wireless control apparatus;
Described gateway device also comprises:
Removing module is connected with described transceiver module, is used for deleting the corresponding relation of described IP address and SSID when described transceiver module receives described UDP deletion message.
8. gateway device as claimed in claim 6, is characterized in that,
Described processing module specifically is used for, and the service of differentiation is provided for described wireless terminal according to the corresponding relation between the service of the SSID that sets in advance and differentiation.
9. a wireless control apparatus, be applied to comprise in the WLAN (wireless local area network) of gateway device, wireless control apparatus and wireless terminal, and it is characterized in that, this wireless control apparatus comprises:
The first acquisition module is used for obtaining the MAC Address of described wireless terminal and the SSID of access when described wireless terminal access;
The second acquisition module is used for when the message that receives from described wireless terminal, obtains MAC Address and the IP address of described wireless terminal;
The 3rd acquisition module, with described the first acquisition module be connected the second acquisition module and be connected respectively, be used for according to the MAC Address of described wireless terminal and SSID and MAC Address and the IP address of the described wireless terminal of IP address acquisition and the corresponding relation of SSID of access;
Transceiver module, be connected with described the 3rd acquisition module, be used for the IP address of described wireless terminal and the corresponding relation of SSID are sent to described gateway device, the SSID corresponding according to described wireless terminal for described gateway device provides the service of differentiation for described wireless terminal.
10. wireless control apparatus as claimed in claim 9, is characterized in that, described transceiver module further comprises:
The first transmitting-receiving submodule is used for sending the UDP inquiry message to described gateway device, has carried in described UDP inquiry message and has inquired whether described gateway device supports the information of SSID upload function; And wait receives the response message that returns from described gateway device;
The second transmitting-receiving submodule, be connected with described the first transmitting-receiving submodule, be used for when receiving the response message that described gateway device returns, according to the address of pre-configured described gateway device to the IP address of the described wireless terminal of described gateway device transmission and the corresponding relation of SSID.
11. wireless control apparatus as claimed in claim 10 is characterized in that, described transceiver module also comprises:
The 3rd transmitting-receiving submodule, be used for when described wireless terminal withdraws from described WLAN (wireless local area network), send UDP deletion message to described gateway device, the information of having carried the corresponding relation of notifying described gateway device deletion described IP address and SSID in described UDP deletion message.
CN 201010152163 2010-04-21 2010-04-21 Method and equipment for providing differentiated service in wireless local area network Expired - Fee Related CN101860856B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010152163 CN101860856B (en) 2010-04-21 2010-04-21 Method and equipment for providing differentiated service in wireless local area network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010152163 CN101860856B (en) 2010-04-21 2010-04-21 Method and equipment for providing differentiated service in wireless local area network

Publications (2)

Publication Number Publication Date
CN101860856A CN101860856A (en) 2010-10-13
CN101860856B true CN101860856B (en) 2013-06-05

Family

ID=42946446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010152163 Expired - Fee Related CN101860856B (en) 2010-04-21 2010-04-21 Method and equipment for providing differentiated service in wireless local area network

Country Status (1)

Country Link
CN (1) CN101860856B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895875B (en) * 2010-07-29 2013-06-05 杭州华三通信技术有限公司 Method and system of using gateway device to provide differentiated services in wireless network
WO2013164844A2 (en) * 2012-03-20 2013-11-07 Agale Rahul Ganesh A system and method to provide differentiated wireless connectivity
CN103384399B (en) * 2012-05-02 2017-04-12 阿里巴巴集团控股有限公司 Method for near-field information transmission, information transmitting client-side, information receiving client-side and information system
CN102685725A (en) * 2012-05-11 2012-09-19 中国联合网络通信集团有限公司 Information receiving method, information sending method, devices, and system
CN102724662A (en) * 2012-06-05 2012-10-10 中国联合网络通信集团有限公司 Method and device for providing differentiated services in broadband wireless network
CN108667699B (en) * 2013-08-06 2021-07-20 华为终端(深圳)有限公司 Method and device for interconnecting terminal equipment and gateway equipment
CN104618893B (en) * 2015-02-28 2018-07-20 新华三技术有限公司 The implementation method and equipment of different Chinese character code SSID in network
CN107086934B (en) * 2017-06-12 2019-09-10 中国联合网络通信集团有限公司 The configuration method and gateway of networking equipment
CN107295504B (en) * 2017-06-23 2020-03-10 青岛海信宽带多媒体技术有限公司 Control method for Wi-Fi protection setting and gateway equipment
CN108848198B (en) * 2018-05-07 2021-06-29 上海中兴易联通讯股份有限公司 Portal differential pushing method of multi-service forwarding mode AP

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006074592A1 (en) * 2005-01-13 2006-07-20 Huawei Technologies Co., Ltd. A method and device for supporting multiple logic networks in the wlan
CN1972230A (en) * 2006-11-09 2007-05-30 杭州华为三康技术有限公司 A broadcasting method and access controller for wireless LAN address resolution protocol
WO2007103055A2 (en) * 2006-03-03 2007-09-13 Interdigital Technology Corporation Methods for supporting emergency calls on a wireless local area network
CN101199166A (en) * 2005-04-29 2008-06-11 艾利森电话股份有限公司 Operator shop selection in broadband access
CN101420759A (en) * 2008-12-12 2009-04-29 杭州华三通信技术有限公司 Service combined identification code switching control method and wireless access equipment
CN101483606A (en) * 2009-02-26 2009-07-15 中国网络通信集团公司 Internal data switch control method for home gateway and home gateway therefor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007045147A1 (en) * 2005-10-21 2007-04-26 Huawei Technologies Co., Ltd. An accessing network method, system and terminal of the wireless local area network terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006074592A1 (en) * 2005-01-13 2006-07-20 Huawei Technologies Co., Ltd. A method and device for supporting multiple logic networks in the wlan
CN101199166A (en) * 2005-04-29 2008-06-11 艾利森电话股份有限公司 Operator shop selection in broadband access
WO2007103055A2 (en) * 2006-03-03 2007-09-13 Interdigital Technology Corporation Methods for supporting emergency calls on a wireless local area network
CN1972230A (en) * 2006-11-09 2007-05-30 杭州华为三康技术有限公司 A broadcasting method and access controller for wireless LAN address resolution protocol
CN101420759A (en) * 2008-12-12 2009-04-29 杭州华三通信技术有限公司 Service combined identification code switching control method and wireless access equipment
CN101483606A (en) * 2009-02-26 2009-07-15 中国网络通信集团公司 Internal data switch control method for home gateway and home gateway therefor

Also Published As

Publication number Publication date
CN101860856A (en) 2010-10-13

Similar Documents

Publication Publication Date Title
CN101860856B (en) Method and equipment for providing differentiated service in wireless local area network
EP3327992B1 (en) Method of selecting network slice and system utilizing same
RU2270531C2 (en) System and method for using ip-address as an identifier of wireless device
CN101895875B (en) Method and system of using gateway device to provide differentiated services in wireless network
CN103250397B (en) Methods and arrangements for enabling data transmission between a mobile device and a static destination address
US20130182651A1 (en) Virtual Private Network Client Internet Protocol Conflict Detection
US20130191906A1 (en) Apparatus and method for supporting portable mobile virtual private network service
TW200803301A (en) Automatic selection of a home agent
CN114422473B (en) IP address allocation method and device
JP5192047B2 (en) Communication control system, communication system, and communication control method
CN105430059A (en) Smart client routing
US8611358B2 (en) Mobile network traffic management
CN107889194B (en) Obtain, provide method, equipment and the medium of wireless access point access information
CN103259736A (en) Tunnel building method and network equipment
CN110972226B (en) Local area network communication method, device and system
CN116886588A (en) Communication method, device and system
WO2018129665A1 (en) Communication method, network exposure function network element, and control plane network element
CN113079547A (en) Method, equipment and device for providing relay service and readable storage medium
CN104641679A (en) Method, apparatus and system for wireless network distribution
RU2693326C1 (en) Method for accessing a local area network and a corresponding device
JP5937563B2 (en) Communication base station and control method thereof
JP6406045B2 (en) Karaoke system, address lease server, management server, karaoke equipment
CN104639439A (en) Service message processing method and service message processing device
CN106034048B (en) A kind of method and device of information configuration
JP6101197B2 (en) Network connection management system and method, and wireless terminal 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
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

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

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

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

Granted publication date: 20130605

Termination date: 20200421