CN103517341B - Split the method, system and device of flow in a kind of WLAN - Google Patents
Split the method, system and device of flow in a kind of WLAN Download PDFInfo
- Publication number
- CN103517341B CN103517341B CN201210226576.0A CN201210226576A CN103517341B CN 103517341 B CN103517341 B CN 103517341B CN 201210226576 A CN201210226576 A CN 201210226576A CN 103517341 B CN103517341 B CN 103517341B
- Authority
- CN
- China
- Prior art keywords
- address
- network
- network name
- name
- user terminal
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000013507 mapping Methods 0.000 claims abstract description 55
- 230000004044 response Effects 0.000 claims description 4
- 230000011218 segmentation Effects 0.000 claims description 4
- 230000010354 integration Effects 0.000 claims description 3
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 claims description 3
- 238000012795 verification Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 8
- 230000002776 aggregation Effects 0.000 description 4
- 238000004220 aggregation Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
本发明公开一种无线局域网中分割流量的方法,包括:AP接收WLAN用户终端根据数据业务选出的网络名称,并根据选出的网络名称创建网络名称与AC地址的映射关系;WLAN用户终端接入到接入网络后,所述AP根据网络名称与AC地址的映射关系,将WLAN用户终端发送的用户数据,发送到所述接入网络的网络名称对应的AC;本发明还提供一种无线局域网中分割流量的系统。根据本发明的技术方案,解决现有技术中AC上数据流量负担过大以及数据流量迂回的问题。
The invention discloses a method for segmenting traffic in a wireless local area network, comprising: an AP receives a network name selected by a WLAN user terminal according to data services, and creates a mapping relationship between the network name and an AC address according to the selected network name; the WLAN user terminal connects After entering the access network, the AP sends the user data sent by the WLAN user terminal to the AC corresponding to the network name of the access network according to the mapping relationship between the network name and the AC address; the present invention also provides a wireless A system for segmenting traffic in a local area network. According to the technical solution of the present invention, the problems of excessive data flow burden and data flow detours on the AC in the prior art are solved.
Description
技术领域technical field
本发明涉及无线通信中的流量分割技术,尤其涉及一种无线局域网中分割流量的方法、系统及装置。The present invention relates to traffic segmentation technology in wireless communication, in particular to a method, system and device for segmenting traffic in wireless local area network.
背景技术Background technique
无线局域网(WLAN,Wireless Local Area Network)是一种能够在一定区域范围内支持移动特性的无线宽带接入手段,为WLAN用户终端访问Internet提供了一种宽带接入方式。通过WLAN接入系统,WLAN用户终端能够高速使用WWW、FTP、E-mail等各种Internet业务。Wireless Local Area Network (WLAN, Wireless Local Area Network) is a wireless broadband access method that can support mobility within a certain area, and provides a broadband access method for WLAN user terminals to access the Internet. Through the WLAN access system, WLAN user terminals can use various Internet services such as WWW, FTP, and E-mail at high speed.
WLAN接入系统主要由接入点(AP,Access Point)和接入控制器(AC,AccessController)组成,WLAN接入系统用于完成WLAN用户终端的接入、接入控制、计费信息采集以及业务管理和控制等。接入点是WLAN接入系统中的小型无线基站设备,用于完成802.11系列标准涉及的无线接入,接入点也是一种网络桥接器,作为连接有线网络与无线网络的桥梁,任何WLAN用户终端均可通过相应的接入点接入到有线网络资源。The WLAN access system is mainly composed of an access point (AP, Access Point) and an access controller (AC, AccessController). The WLAN access system is used to complete WLAN user terminal access, access control, charging information collection and Business management and control, etc. The access point is a small wireless base station device in the WLAN access system. It is used to complete the wireless access involved in the 802.11 series standards. The access point is also a network bridge, which serves as a bridge connecting the wired network and the wireless network. Any WLAN user All terminals can access wired network resources through corresponding access points.
在安全控制方面,接入点可以通过网络标志和介质访问控制(MAC,Media AccessControl)地址来控制WLAN用户终端的接入;同时,接入点支持(WEP,Wired EquivalentPrivacy)技术的空中加密功能,保护WLAN用户终端的信息安全。在数据通讯方面,接入点负责完成自身与WLAN用户终端间交互的数据包的加密和解密处理。In terms of security control, the access point can control the access of WLAN user terminals through network identifiers and media access control (MAC, Media AccessControl) addresses; at the same time, the access point supports the air encryption function of (WEP, Wired EquivalentPrivacy) technology, Protect the information security of WLAN user terminals. In terms of data communication, the access point is responsible for encrypting and decrypting the data packets exchanged between itself and the WLAN user terminal.
目前,运营商部署的WLAN接入系统通常包括AP和AC两个主要设备,AP负责提供无线信号,AC既负责属下多个AP的管理、配置、用户的接入认证管理,也是经过AP的多个数据流量的汇聚者。通常情况下,AP对应的用户的数据流量会没有区分的统一发送给与该AP对应的AC,且AC通常部署在汇聚地点的机房中,由于AC是WLAN的重要控制点和流量汇聚点,且WLAN发送的用户的数据流量较大,将造成AC的数据流量较大,网络大规模发展后,AC将难以管控的局面。At present, the WLAN access system deployed by operators usually includes two main devices, AP and AC. The AP is responsible for providing wireless signals, and the AC is responsible for the management, Aggregator of multiple data flows. Usually, the data traffic of the user corresponding to the AP is uniformly sent to the AC corresponding to the AP without distinction, and the AC is usually deployed in the equipment room at the aggregation location, because the AC is an important control point and traffic aggregation point of the WLAN, and The user data traffic sent by the WLAN is large, which will cause a large data traffic on the AC. After the large-scale network development, the AC will be difficult to control.
图1是现有技术中接入系统中AP与AC之间的拓扑关系示意图,如图1所示,同一地域网络中的经过不同AP的数据流量均汇聚到集中机房中的AC,然后,WLAN用户终端通过AC的数据网络接入到业务网络中。这种方法会造成的问题主要有两点:Figure 1 is a schematic diagram of the topological relationship between AP and AC in the access system in the prior art. The user terminal accesses the service network through the data network of the AC. There are two main problems with this approach:
1)数据流量聚合到同一AC会给AC带来较大的处理负担,使得AC的处理能力下降,因而形成处理速度的瓶颈;1) The aggregation of data traffic to the same AC will bring a large processing burden to the AC, which will reduce the processing capacity of the AC, thus forming a bottleneck of processing speed;
2)如果WLAN用户终端访问的数据业务在AC2对应的业务网络2中,那么经过AP发往AC1的数据流量需要从业务网络1迂回至业务网络2,会造成较大的网络延迟,影响用户的业务体验。2) If the data service accessed by the WLAN user terminal is in the service network 2 corresponding to AC2, then the data traffic sent to AC1 through the AP needs to be detoured from the service network 1 to the service network 2, which will cause a large network delay and affect the user's performance. business experience.
目前,存在一些解决数据流量卸载问题的方案,如申请号为200910091448.8的发明专利,公开了一种无线网络部署方法及无线接入点,并具体公开以下技术方案:一个AP与一个以上的AC分别建立隧道连接,AP为每一条隧道独立下载并维护一套AP配置,为每一条隧道组建对应的BSS,并通过BSS提供无线网络服务;AP接收到无线终端的上行数据时,根据无线终端的BSS ID确定转发隧道,将上行数据通过所述确定的转发隧道发给对应的AC。该方案能够使一个AP与多个AC建立连接,避免多个运营商在同一区域内重复部署AP而导致的网络性能下降;但是,该方案使得一个AP能够和多个AC建立连接,但是没有解决AC上流量汇聚的问题。此外,如果采用负载均衡的方法来降低网络中间设备AC的负载,这种方法只能适用于局域网络,缺乏全局的部署和配置能力。At present, there are some solutions to the problem of unloading data traffic, such as the invention patent application number 200910091448.8, which discloses a wireless network deployment method and a wireless access point, and specifically discloses the following technical solutions: one AP and more than one AC respectively To establish a tunnel connection, the AP independently downloads and maintains a set of AP configurations for each tunnel, establishes a corresponding BSS for each tunnel, and provides wireless network services through the BSS; when the AP receives uplink data from the wireless terminal, it The ID determines a forwarding tunnel, and sends the uplink data to the corresponding AC through the determined forwarding tunnel. This solution enables one AP to establish connections with multiple ACs, avoiding network performance degradation caused by repeated deployment of APs by multiple operators in the same area; however, this solution enables one AP to establish connections with multiple ACs, but it does not solve the problem. The problem of traffic aggregation on the AC. In addition, if the load balancing method is used to reduce the load of the network intermediate device AC, this method can only be applied to a local area network, and lacks global deployment and configuration capabilities.
发明内容Contents of the invention
有鉴于此,本发明的主要目的在于提供一种无线局域网中分割流量的方法、系统及装置,解决现有技术中AC上数据流量负担过大以及数据流量迂回的问题。In view of this, the main purpose of the present invention is to provide a method, system and device for segmenting traffic in a wireless local area network, so as to solve the problems of excessive data traffic burden and detours on the AC in the prior art.
为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, technical solution of the present invention is achieved in that way:
本发明提供一种无线局域网中分割流量的方法,接入点AP接收WLAN用户终端根据数据业务选出的网络名称,并根据选出的网络名称创建网络名称与接入控制器AC地址的映射关系;该方法还包括:The present invention provides a method for dividing traffic in a wireless local area network. The access point AP receives the network name selected by the WLAN user terminal according to the data service, and creates a mapping relationship between the network name and the AC address of the access controller according to the selected network name. ; the method also includes:
WLAN用户终端接入到接入网络后,所述AP根据网络名称与AC地址的映射关系,将WLAN用户终端发送的用户数据,发送到所述接入网络的网络名称对应的AC。After the WLAN user terminal accesses the access network, the AP sends the user data sent by the WLAN user terminal to the AC corresponding to the network name of the access network according to the mapping relationship between the network name and the AC address.
上述方法中,所述AP接收WLAN用户终端根据数据业务选出的网络名称,并根据选出的网络名称创建网络名称与AC地址的映射关系为:In the above method, the AP receives the network name selected by the WLAN user terminal according to the data service, and creates a mapping relationship between the network name and the AC address according to the selected network name as follows:
AP广播网络名称;AP broadcast network name;
AP接收WLAN用户终端根据数据业务选出的网络名称,并根据WLAN用户终端选出的网络名称,向名字服务器发送查询请求消息;名字服务器根据查询请求消息中的网络名称,在本地查询对应的AC地址并返回给AP;The AP receives the network name selected by the WLAN user terminal based on the data service, and sends a query request message to the name server according to the network name selected by the WLAN user terminal; the name server queries the corresponding AC locally according to the network name in the query request message. Address and return to AP;
AP根据选出的网络名称和查询到的AC地址创建网络名称与AC地址的映射关系,并建立自身与所述AC地址之间的数据隧道。The AP creates a mapping relationship between the network name and the AC address according to the selected network name and the queried AC address, and establishes a data tunnel between itself and the AC address.
上述方法中,所述AP广播网络名称为:In the above method, the AP broadcast network name is:
接入系统中各AP根据预先配置的广播周期,定时的发出广播消息;所述广播消息中携带有指示帧,在所述指示帧的SSID字段中添加网络名称。Each AP in the access system regularly sends out a broadcast message according to a pre-configured broadcast period; the broadcast message carries an indication frame, and a network name is added to the SSID field of the indication frame.
上述方法中,所述名字服务器根据查询请求消息中的网络名称,在本地查询对应的AC地址并返回给AP为:In the above method, the name server queries the corresponding AC address locally according to the network name in the query request message and returns it to the AP as follows:
在名字服务器中预先配置网络名称与AC地址的对应关系;Pre-configure the correspondence between the network name and the AC address in the name server;
名字服务器收到AP发送的查询请求消息后,根据本地预先配置的可信AP的IP地址库,对所述AP的IP地址进行验证;After the name server receives the query request message sent by the AP, it verifies the IP address of the AP according to the local pre-configured IP address library of the trusted AP;
所述可信AP的IP地址库中有所述AP的IP地址时,名字服务器根据查询请求消息中的网络名称、以及本地保存的网络名称与AC地址的对应关系,查找与所述网络名称对应的AC地址,将找到的AC地址通过查询响应消息发送给AP。When the IP address library of the trusted AP has the IP address of the AP, the name server searches for the IP address corresponding to the network name according to the network name in the query request message and the correspondence between the locally stored network name and the AC address. AC address, and sends the found AC address to the AP through a query response message.
上述方法中,该方法还包括:In the above method, the method also includes:
所述可信AP的IP地址库中没有所述AP的IP地址时,名字服务器拒绝为所述AP查询AC地址,并向AP发送查询失败消息。When the IP address database of the trusted AP does not have the IP address of the AP, the name server refuses to query the AC address for the AP, and sends a query failure message to the AP.
上述方法中,In the above method,
所述名字服务器集成于域名系统DNS中;The name server is integrated in the domain name system DNS;
集成方式为在DNS服务器中添加对应关系表,所述对应关系表中的表项为网络名称与AC地址的对应关系。The integration method is to add a correspondence table in the DNS server, and the entries in the correspondence table are the correspondences between network names and AC addresses.
上述方法中,所述AP根据网络名称与AC地址的映射关系,将WLAN用户终端发送的用户数据,发送到所述接入网络的网络名称对应的AC为:In the above method, the AP sends the user data sent by the WLAN user terminal to the AC corresponding to the network name of the access network according to the mapping relationship between the network name and the AC address:
AP根据WLAN用户终端接入的接入网络,在保存的AC地址与网络名称的映射关系中,查找所述接入网络的网络名称对应的AC地址;The AP searches for the AC address corresponding to the network name of the access network in the saved mapping relationship between the AC address and the network name according to the access network accessed by the WLAN user terminal;
AP根据找到的AC地址,通过建立的自身与AC间的数据隧道,将所述WLAN用户终端发送的用户数据发送到所述AC地址。The AP sends the user data sent by the WLAN user terminal to the AC address through the established data tunnel between itself and the AC according to the found AC address.
本发明还提供一种无线局域网中分割流量的方法,包括:The present invention also provides a method for segmenting traffic in a wireless local area network, including:
WLAN用户终端根据自身的数据业务在AP广播的网络名称中选择网络名称。The WLAN user terminal selects a network name from the network names broadcast by the AP according to its own data service.
上述方法中,所述WLAN用户终端根据自身的数据业务在AP广播的网络名称中选择网络名称为:In the above method, the WLAN user terminal selects the network name from the network names broadcast by the AP according to its own data service as:
WLAN用户终端搜索网络时,所述WLAN用户终端接收到各AP发出的广播消息,从所述广播消息获取至少两个网络名称;When the WLAN user terminal searches for the network, the WLAN user terminal receives broadcast messages sent by each AP, and obtains at least two network names from the broadcast messages;
所述WLAN用户终端根据自身的数据业务在AP广播的网络名称中自主选择一个网络名称;The WLAN user terminal independently selects a network name from the network names broadcast by the AP according to its own data service;
选出网络名称后,建立与所述网络名称对应的接入网络之间的连接。After the network name is selected, a connection between access networks corresponding to the network name is established.
本发明还提供一种无线局域网中分割流量的系统,包括:WLAN用户终端、AP、AC;其中,The present invention also provides a system for segmenting traffic in a wireless local area network, including: a WLAN user terminal, an AP, and an AC; wherein,
AP,用于接收WLAN用户终端根据数据业务选出的网络名称,并根据选出的网络名称创建网络名称与AC地址的映射关系;还用于,根据网络名称与AC地址的映射关系,将WLAN用户终端发送的用户数据,发送到所述接入网络的网络名称对应的AC;The AP is used to receive the network name selected by the WLAN user terminal according to the data service, and create a mapping relationship between the network name and the AC address according to the selected network name; it is also used to map the WLAN to the AC address according to the mapping relationship between the network name and the AC address. The user data sent by the user terminal is sent to the AC corresponding to the network name of the access network;
WLAN用户终端,用于根据自身的数据业务在AP广播的网络名称中选择网络名称。The WLAN user terminal is configured to select a network name from the network names broadcast by the AP according to its own data service.
上述系统中,该系统还包括:In the above system, the system also includes:
名字服务器,用于保存网络名称与AC地址的对应关系;The name server is used to save the corresponding relationship between the network name and the AC address;
所述名字服务器,还用于收到AP发送的查询请求消息时,根据查询请求消息中的网络名称,在本地查询对应的AC地址并返回给AP。The name server is further configured to, when receiving the query request message sent by the AP, query the corresponding AC address locally according to the network name in the query request message and return it to the AP.
本发明还提供一种AP,包括:映射创建单元、数据转发单元;其中,The present invention also provides an AP, including: a mapping creation unit and a data forwarding unit; wherein,
映射创建单元,用于接收WLAN用户终端根据数据业务选出的网络名称,并根据选出的网络名称创建网络名称与接入控制器AC地址的映射关系;The mapping creation unit is used to receive the network name selected by the WLAN user terminal according to the data service, and create a mapping relationship between the network name and the AC address of the access controller according to the selected network name;
数据转发单元,用于WLAN用户终端接入到接入网络后,根据映射创建单元创建的网络名称与AC地址的映射关系,将WLAN用户终端发送的用户数据,发送到所述接入网络的网络名称对应的AC。The data forwarding unit is used for sending the user data sent by the WLAN user terminal to the network of the access network according to the mapping relationship between the network name and the AC address created by the mapping creation unit after the WLAN user terminal accesses the access network The AC corresponding to the name.
本发明还提供一种WLAN用户终端,其特征在于,该WLAN用户终端,用于根据自身的数据业务在AP广播的网络名称中选择网络名称。The present invention also provides a WLAN user terminal, which is characterized in that the WLAN user terminal is used to select a network name from the network names broadcast by the AP according to its own data service.
本发明提供的无线局域网中分割流量的方法、系统及装置,AP接收WLAN用户终端根据数据业务选出的网络名称,并根据选出的网络名称创建网络名称与AC地址的映射关系;WLAN用户终端接入到接入网络后,所述AP根据网络名称与AC地址的映射关系,将WLAN用户终端发送的用户数据,发送到所述接入网络的网络名称对应的AC;如此,WLAN用户终端为自身的不同数据业务选择不同的网络名称,AP根据选出的网络名称建立与AC之间的连接,实现一个AP能够与多个AC建立连接;需要发送数据业务时,AP根据不同的网络名称将用户数据发往不同的AC,卸载分割AC上的数据流量,从而解决了现有技术中AC上数据流量负担过大的问题;同时,解决了数据流量迂回的问题,提高用户访问的效率。In the method, system and device for segmenting traffic in the wireless local area network provided by the present invention, the AP receives the network name selected by the WLAN user terminal according to the data service, and creates a mapping relationship between the network name and the AC address according to the selected network name; the WLAN user terminal After accessing the access network, the AP sends the user data sent by the WLAN user terminal to the AC corresponding to the network name of the access network according to the mapping relationship between the network name and the AC address; thus, the WLAN user terminal is Different network names are selected for different data services, and the AP establishes connections with ACs based on the selected network names, so that one AP can establish connections with multiple ACs; when data services need to be sent, the AP will use different network names to User data is sent to different ACs, and the data traffic on the AC is offloaded and divided, thereby solving the problem of excessive data traffic burden on the AC in the prior art; at the same time, it solves the problem of data traffic detours and improves the efficiency of user access.
附图说明Description of drawings
图1是现有技术中接入系统中AP与AC之间的拓扑关系示意图;FIG. 1 is a schematic diagram of a topology relationship between an AP and an AC in an access system in the prior art;
图2是本发明实现无线局域网中分割流量的方法的流程示意图;Fig. 2 is a schematic flow diagram of the method for realizing traffic segmentation in a wireless local area network according to the present invention;
图3是本发明中步骤201的具体实现方法的流程示意图;Fig. 3 is a schematic flow chart of a specific implementation method of step 201 in the present invention;
图4是本发明中接入系统中AP与AC之间的拓扑关系示意图;Fig. 4 is a schematic diagram of the topology relationship between AP and AC in the access system in the present invention;
图5是本发明实现无线局域网中分割流量的系统的结构示意图。FIG. 5 is a schematic structural diagram of a system for realizing traffic segmentation in a wireless local area network according to the present invention.
具体实施方式detailed description
本发明的基本思想是:AP接收WLAN用户终端根据数据业务选出的网络名称,并根据选出的网络名称创建网络名称与AC地址的映射关系;WLAN用户终端接入到接入网络后,所述AP根据网络名称与AC地址的映射关系,将WLAN用户终端发送的用户数据,发送到所述接入网络的网络名称对应的AC。The basic idea of the present invention is: the AP receives the network name selected by the WLAN user terminal according to the data service, and creates a mapping relationship between the network name and the AC address according to the selected network name; after the WLAN user terminal accesses the access network, the The AP sends the user data sent by the WLAN user terminal to the AC corresponding to the network name of the access network according to the mapping relationship between the network name and the AC address.
下面通过附图及具体实施例对本发明再做进一步的详细说明。The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
本发明提供一种无线局域网中分割流量的方法,图2是本发明实现无线局域网中分割流量的方法的流程示意图,如图2所示,该方法包括以下步骤:The present invention provides a method for segmenting traffic in a wireless local area network. Fig. 2 is a schematic flow diagram of the method for realizing traffic splitting in a wireless local area network according to the present invention. As shown in Fig. 2, the method includes the following steps:
步骤201,AP接收WLAN用户终端根据数据业务选出的网络名称,并根据选出的网络名称创建网络名称与AC地址的映射关系。In step 201, the AP receives the network name selected by the WLAN user terminal according to the data service, and creates a mapping relationship between the network name and the AC address according to the selected network name.
步骤202,WLAN用户终端接入到接入网络后,AP根据网络名称与AC地址的映射关系,将WLAN用户终端发送的用户数据,发送到该接入网络的网络名称对应的AC;Step 202, after the WLAN user terminal accesses the access network, the AP sends the user data sent by the WLAN user terminal to the AC corresponding to the network name of the access network according to the mapping relationship between the network name and the AC address;
具体的,由于AP保存有AC地址与网络名称的对应关系,因此,当WLAN用户终端接入到接入网络后,向AP发送用户数据时,AP根据WLAN用户终端接入的接入网络,在保存的AC地址与网络名称的映射关系中,查找接入网络的网络名称对应的AC地址,根据找到的AC地址,通过建立的自身与AC间的数据隧道,将该WLAN用户终端发送的用户数据发送到该AC地址;如此,一个AP上的用户数据可以根据不同的数据网络对应不同的网络名称,进而根据不同的网络名称,将用户数据发往不同的AC,避免同一AC接收多个AP发送的用户数据导致的负担过大的问题。Specifically, since the AP stores the corresponding relationship between the AC address and the network name, when the WLAN user terminal accesses the access network and sends user data to the AP, the AP, according to the access network accessed by the WLAN user terminal, In the saved mapping relationship between the AC address and the network name, search for the AC address corresponding to the network name of the access network, and according to the found AC address, through the established data tunnel between itself and the AC, the user data sent by the WLAN user terminal Send to the AC address; in this way, the user data on an AP can correspond to different network names according to different data networks, and then send user data to different ACs according to different network names, so as to avoid the same AC from receiving multiple APs. The problem of excessive burden caused by user data.
图3是本发明中步骤201的具体实现方法的流程示意图,是AP接收WLAN用户终端根据数据业务选出的网络名称,并根据选出的网络名称创建网络名称与AC地址的映射关系的具体实现过程,如图3所示,该方法包括以下步骤:Fig. 3 is a schematic flow chart of a specific implementation method of step 201 in the present invention, which is a specific implementation of the AP receiving the network name selected by the WLAN user terminal according to the data service, and creating a mapping relationship between the network name and the AC address according to the selected network name Process, as shown in Figure 3, the method includes the following steps:
步骤301,AP广播网络名称;Step 301, the AP broadcasts the network name;
具体的,WLAN接入系统中,各AP根据预先配置的广播周期,定时的发出广播消息,该广播消息中携带有802.11标准中定义的基本数据帧,AP将至少两个网络名称添加到基本数据帧中,例如,该基本数据帧可以为IEEE802.11-2007标准中定义的指示帧(BeaconFrame),在该指示帧的SSID字段中添加网络名称(WNAME);这里,AP通过广播消息携带的网络名称是由WLAN的运营商在AP中预先配置的,WLAN的运营商会根据不同的数据业务配置不同的网络名称,例如,因特网的网络名称为WNAME_INTERNET,教育网的网络名称为WNAME_EDU,游戏网的网络名称为WNAME_GAME。Specifically, in the WLAN access system, each AP regularly sends out a broadcast message according to a pre-configured broadcast period, and the broadcast message carries the basic data frame defined in the 802.11 standard, and the AP adds at least two network names to the basic data frame In the frame, for example, the basic data frame can be an indication frame (BeaconFrame) defined in the IEEE802.11-2007 standard, and the network name (WNAME) is added in the SSID field of the indication frame; here, the network name (WNAME) carried by the AP through the broadcast message The name is pre-configured in the AP by the WLAN operator. The WLAN operator will configure different network names according to different data services. For example, the network name of the Internet is WNAME_INTERNET, the network name of the education network is WNAME_EDU, and the network name of the game network is WNAME_EDU. The name is WNAME_GAME.
步骤302,WLAN用户终端根据自身的数据业务在AP广播的网络名称中选择网络名称;Step 302, the WLAN user terminal selects a network name from the network names broadcast by the AP according to its own data service;
具体的,当WLAN用户终端搜索网络时,WLAN用户终端即可接收到各AP发出的广播消息,从该广播消息携带的基本数据帧中获取至少两个网络名称;WLAN用户终端根据自身的数据业务在AP广播的网络名称中自主选择一个网络名称,选出网络名称后,WLAN用户终端建立与该网络名称对应的接入网络之间的连接,如此,接入系统中的AP就可以知道WLAN用户终端选出的网络名称;Specifically, when the WLAN user terminal searches for the network, the WLAN user terminal can receive the broadcast message sent by each AP, and obtain at least two network names from the basic data frame carried in the broadcast message; Select a network name independently from the network names broadcast by the AP. After the network name is selected, the WLAN user terminal establishes a connection with the access network corresponding to the network name. In this way, the AP in the access system can know the WLAN user The network name selected by the terminal;
例如,WLAN用户终端的数据业务涉及教育网,则WLAN用户终端选择的网络名称为WNAME_EDU;WLAN用户终端的数据业务涉及网络游戏,则WLAN用户终端的网络名称为WNAME_GAME。For example, if the data service of the WLAN user terminal involves the education network, the network name selected by the WLAN user terminal is WNAME_EDU; if the data service of the WLAN user terminal involves online games, then the network name of the WLAN user terminal is WNAME_GAME.
步骤303,AP接收WLAN用户终端根据数据业务选出的网络名称,并根据WLAN用户终端选出的网络名称,向名字服务器发送查询请求消息;Step 303, the AP receives the network name selected by the WLAN user terminal according to the data service, and sends a query request message to the name server according to the network name selected by the WLAN user terminal;
具体的,AP在获得WLAN用户终端选出的网络名称后,根据该网络名称,需要从名字服务器查询对应的AC地址,因此,AP向名字服务器发送查询请求消息,其中携带WLAN用户终端选出的网络名称。Specifically, after the AP obtains the network name selected by the WLAN user terminal, it needs to query the corresponding AC address from the name server according to the network name. Therefore, the AP sends a query request message to the name server, which carries the AC address selected by the WLAN user terminal. network name.
步骤304,名字服务器根据查询请求消息中的网络名称,在本地查询对应的AC地址并返回给AP;Step 304, the name server queries the corresponding AC address locally according to the network name in the query request message and returns it to the AP;
具体的,图4是本发明中WLAN接入系统中AP与AC之间的拓扑关系示意图,如图4所示,WLAN的运营商在名字服务器中预先配置网络名称(WNAME)与AC地址(WNAME_AC_IP)的对应关系,名字服务器保存该网络名称与AC地址的对应关系,因而能够保证WLAN用户终端接入到接入网络后,根据该接入网络的网络名称找到并接入最合适的AC。例如,对于网络名称WNAME_EDU,运营商为该网络名称配置的AC为教育网接口带宽最丰富的AC,这样,WLAN用户终端将接入到教育网接口带宽最丰富的AC;对于网络名称WNAME_GAME,运营商为该网络名称配置的AC为游戏基地所在地域的AC或邻近游戏基地的AC,这样,WLAN用户终端将接入到游戏基地所在地域的AC或邻近游戏基地的AC;Specifically, Fig. 4 is a schematic diagram of the topological relationship between the AP and the AC in the WLAN access system in the present invention. As shown in Fig. 4, the operator of the WLAN pre-configures the network name (WNAME) and the AC address (WNAME_AC_IP ), the name server saves the correspondence between the network name and the AC address, thus ensuring that after the WLAN user terminal accesses the access network, it can find and access the most suitable AC according to the network name of the access network. For example, for the network name WNAME_EDU, the AC configured by the operator for this network name is the AC with the richest interface bandwidth on the education network. In this way, WLAN user terminals will connect to the AC with the richest interface bandwidth on the education network; for the network name WNAME_GAME, the operator The AC configured by the provider for the network name is the AC in the area where the game base is located or the AC adjacent to the game base, so that the WLAN user terminal will be connected to the AC in the area where the game base is located or the AC adjacent to the game base;
其中,名字服务器可以集成于域名系统(DNS,Domain Name System)中,集成方式为在DNS服务器中添加对应关系表,该对应关系表中的表项即为网络名称与AC地址的对应关系;此外,名字服务器仅对可信的AP开放,供可信的AP查询AC地址,拒绝非可信的AP查询AC地址,因此,名字服务器需要在AP查询AC地址时,验证该AP的IP地址;Wherein, the name server can be integrated in the Domain Name System (DNS, Domain Name System), and the integration method is to add a correspondence table in the DNS server, and the entry in the correspondence table is the correspondence between the network name and the AC address; in addition , the name server is only open to trusted APs, for trusted APs to query the AC address, and to reject untrusted APs from querying the AC address. Therefore, the name server needs to verify the IP address of the AP when the AP queries the AC address;
名字服务器收到AP发送的查询请求消息后,首先,根据本地预先配置的可信AP的IP地址库,对该AP的IP地址进行验证,判断可信AP的IP地址库中是否有该AP的IP地址,如果有该AP的IP地址,则验证通过,名字服务器根据查询请求消息中的网络名称、以及本地保存的网络名称与AC地址的对应关系,查找与该网络名称对应的AC地址,将找到的AC地址通过查询响应消息发送给AP;如果没有该AP的IP地址,则验证失败,名字服务器拒绝为该AP查询AC地址,向AP发送查询失败消息。After the name server receives the query request message sent by the AP, first, it verifies the IP address of the AP according to the pre-configured local IP address database of the trusted AP, and judges whether the IP address database of the trusted AP has the AP's IP address. IP address, if there is the IP address of the AP, the verification is passed, and the name server searches for the AC address corresponding to the network name according to the network name in the query request message and the corresponding relationship between the network name and the AC address stored locally. The found AC address is sent to the AP through a query response message; if there is no IP address of the AP, the verification fails, the name server refuses to query the AC address for the AP, and sends a query failure message to the AP.
步骤305,AP根据选出的网络名称和查询到的AC地址,创建网络名称与AC地址的映射关系,并建立自身与该AC地址之间的数据隧道;Step 305, the AP creates a mapping relationship between the network name and the AC address according to the selected network name and the queried AC address, and establishes a data tunnel between itself and the AC address;
具体的,AP收到名字服务器通过查询响应消息返回的AC地址后,根据该AC地址,建立自身与该AC地址之间的数据隧道WNAME_TUNNEL,如图4所示,只要AP从名字服务器收到一个AC地址,即可与该AC地址建立数据隧道,在收到多个AC地址后,一个AP即可与多个不同AC之间建立数据隧道,方便以后AP将用户数据发送给不同的AC;建立数据隧道后,AP还需要在本地创建收到的AC地址与网络名称的映射关系,如此,WLAN用户终端接入到某接入网络后,WLAN用户终端发送的用户数据,将被AP发送到该接入网络的网络名称所对应的AC地址,由对应的AC进行用户数据的处理。Specifically, after receiving the AC address returned by the name server through the query response message, the AP establishes a data tunnel WNAME_TUNNEL between itself and the AC address according to the AC address, as shown in Figure 4, as long as the AP receives a AC address, you can establish a data tunnel with the AC address. After receiving multiple AC addresses, an AP can establish a data tunnel with multiple different ACs, which is convenient for the AP to send user data to different ACs in the future; After the data tunnel, the AP also needs to create a mapping relationship between the received AC address and the network name locally. In this way, after the WLAN user terminal accesses a certain access network, the user data sent by the WLAN user terminal will be sent by the AP to the access network. The AC address corresponding to the network name of the access network, and the corresponding AC performs user data processing.
本发明还提供一种无线局域网中分割流量的方法,该方法包括:WLAN用户终端根据自身的数据业务在AP广播的网络名称中选择网络名称。The present invention also provides a method for dividing traffic in a wireless local area network, the method comprising: WLAN user terminal selects a network name from among network names broadcast by an AP according to its own data service.
具体的,当WLAN用户终端搜索网络时,WLAN用户终端即可接收到各AP发出的广播消息,从该广播消息携带的基本数据帧中获取至少两个网络名称;WLAN用户终端根据自身的数据业务在AP广播的网络名称中自主选择一个网络名称,选出网络名称后,WLAN用户终端建立与该网络名称对应的接入网络之间的连接,如此,接入系统中的AP就可以知道WLAN用户终端选出的网络名称;Specifically, when the WLAN user terminal searches for the network, the WLAN user terminal can receive the broadcast message sent by each AP, and obtain at least two network names from the basic data frame carried in the broadcast message; Select a network name independently from the network names broadcast by the AP. After the network name is selected, the WLAN user terminal establishes a connection with the access network corresponding to the network name. In this way, the AP in the access system can know the WLAN user The network name selected by the terminal;
例如,WLAN用户终端的数据业务涉及教育网,则WLAN用户终端选择的网络名称为WNAME_EDU;WLAN用户终端的数据业务涉及网络游戏,则WLAN用户终端的网络名称为WNAME_GAME。For example, if the data service of the WLAN user terminal involves the education network, the network name selected by the WLAN user terminal is WNAME_EDU; if the data service of the WLAN user terminal involves online games, then the network name of the WLAN user terminal is WNAME_GAME.
为实现上述方法,本发明还提供一种无线局域网中分割流量的系统,图5是本发明实现无线局域网中分割流量的系统的结构示意图,如图5所示,该系统包括:AP 10、WLAN用户终端20、AC 30;其中,In order to realize the above method, the present invention also provides a system for segmenting traffic in a wireless local area network. Fig. 5 is a schematic structural diagram of a system for realizing traffic splitting in a wireless local area network according to the present invention. As shown in Fig. 5, the system includes: AP 10, WLAN User terminal 20, AC 30; wherein,
AP 10,用于接收WLAN用户终端根据数据业务选出的网络名称,并根据选出的网络名称创建网络名称与AC地址的映射关系;还用于,根据网络名称与AC地址的映射关系,将WLAN用户终端20发送的用户数据,发送到所述接入网络的网络名称对应的AC 30;The AP 10 is configured to receive the network name selected by the WLAN user terminal according to the data service, and create a mapping relationship between the network name and the AC address according to the selected network name; it is also used to, according to the mapping relationship between the network name and the AC address, create The user data sent by the WLAN user terminal 20 is sent to the AC 30 corresponding to the network name of the access network;
WLAN用户终端20,用于根据自身的数据业务在AP 10广播的网络名称中选择网络名称。The WLAN user terminal 20 is configured to select a network name from the network names broadcast by the AP 10 according to its own data service.
该系统还包括:The system also includes:
名字服务器40,用于保存网络名称与AC地址的对应关系;The name server 40 is used for storing the corresponding relationship between the network name and the AC address;
所述名字服务器40,还用于收到AP 10发送的查询请求消息时,根据查询请求消息中的网络名称,在本地查询对应的AC地址并返回给AP 10。The name server 40 is further configured to, when receiving the query request message sent by the AP 10 , query the corresponding AC address locally and return it to the AP 10 according to the network name in the query request message.
其中,所述AP 10接收WLAN用户终端20根据数据业务选出的网络名称,并根据选出的网络名称创建网络名称与AC地址的映射关系为:AP 10广播网络名称;AP 10接收WLAN用户终端20根据数据业务选出的网络名称,并根据WLAN用户终端20选出的网络名称,向名字服务器40发送查询请求消息;名字服务器40根据查询请求消息中的网络名称,在本地查询对应的AC地址并返回给AP 10;AP 10根据选出的网络名称和查询到的AC地址创建网络名称与AC地址的映射关系,并建立自身与所述AC地址之间的数据隧道。Wherein, the AP 10 receives the network name selected by the WLAN user terminal 20 according to the data service, and creates a mapping relationship between the network name and the AC address according to the selected network name: the AP 10 broadcasts the network name; the AP 10 receives the WLAN user terminal 20 sends a query request message to the name server 40 according to the network name selected by the data service, and according to the network name selected by the WLAN user terminal 20; the name server 40 queries the corresponding AC address locally according to the network name in the query request message And return it to AP 10; AP 10 creates a mapping relationship between the network name and the AC address according to the selected network name and the queried AC address, and establishes a data tunnel between itself and the AC address.
其中,所述AP 10根据网络名称与AC地址的映射关系,将WLAN用户终端20发送的用户数据,发送到所述接入网络的网络名称对应的AC 30为:AP 10根据WLAN用户终端20接入的接入网络,在保存的AC地址与网络名称的映射关系中,查找所述接入网络的网络名称对应的AC地址;AP 10根据找到的AC地址,通过建立的自身与AC间的数据隧道,将所述WLAN用户终端20发送的用户数据发送到所述AC地址。Wherein, the AP 10 sends the user data sent by the WLAN user terminal 20 to the AC 30 corresponding to the network name of the access network according to the mapping relationship between the network name and the AC address. AP 10 searches for the AC address corresponding to the network name of the access network in the stored mapping relationship between the AC address and the network name; AP 10 uses the established AC address based on the AC address established between itself and the AC. A tunnel, sending the user data sent by the WLAN user terminal 20 to the AC address.
本发明还提供一种AP,如图5所述,该AP包括:映射创建单元101、数据转发单元102;其中,The present invention also provides an AP. As shown in FIG. 5 , the AP includes: a mapping creation unit 101 and a data forwarding unit 102; wherein,
映射创建单元101,用于接收WLAN用户终端20根据数据业务选出的网络名称,并根据选出的网络名称创建网络名称与接入控制器AC地址的映射关系;The mapping creation unit 101 is configured to receive the network name selected by the WLAN user terminal 20 according to the data service, and create a mapping relationship between the network name and the AC address of the access controller according to the selected network name;
数据转发单元102,用于WLAN用户终端20接入到接入网络后,根据映射创建单元创建的网络名称与AC地址的映射关系,将WLAN用户终端20发送的用户数据,发送到所述接入网络的网络名称对应的AC30。The data forwarding unit 102 is configured to send the user data sent by the WLAN user terminal 20 to the access network according to the mapping relationship between the network name and the AC address created by the mapping creation unit after the WLAN user terminal 20 accesses the access network. The network name of the network corresponds to the AC30.
本发明还提供一种WLAN用户终端,该WLAN用户终端,用于根据自身的数据业务在AP广播的网络名称中选择网络名称。The present invention also provides a WLAN user terminal, which is used for selecting a network name from network names broadcast by an AP according to its own data service.
本发明提供的技术方案中,能够为不同的数据业务配置不同的网络名称。由于不同的数据业务一般由不同的省市级运营机构运营,如北京公司部署物联网业务平台,在不利用本发明的技术方案时,其他省份的WLAN用户终端必须先接入到本地的骨干网络后,再路由到北京公司部署的物联网业务平台,才能开通或访问物联网业务;如果利用本发明的技术方案,其他省份的WLAN用户终端启动业务连接时就可以路由到北京公司部署的物联网业务平台,从而减少了用户数据的迂回,提高用户访问业务的效率。In the technical solution provided by the invention, different network names can be configured for different data services. Because different data services are generally operated by different provincial and municipal operating organizations, such as the Beijing company deploying the Internet of Things service platform, when the technical solution of the present invention is not used, the WLAN user terminals in other provinces must first be connected to the local backbone network After that, the Internet of Things service platform deployed by the Beijing company can only be opened or accessed by routing to the Internet of Things service platform deployed by the Beijing company; if the technical solution of the present invention is used, WLAN user terminals in other provinces can be routed to the Internet of Things deployed by the Beijing company when the service connection is started. The service platform reduces the detour of user data and improves the efficiency of user access to services.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above description is only a preferred embodiment of the present invention, and is not used to limit the protection scope of the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included in the within the protection scope of the present invention.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210226576.0A CN103517341B (en) | 2012-06-29 | 2012-06-29 | Split the method, system and device of flow in a kind of WLAN |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210226576.0A CN103517341B (en) | 2012-06-29 | 2012-06-29 | Split the method, system and device of flow in a kind of WLAN |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103517341A CN103517341A (en) | 2014-01-15 |
CN103517341B true CN103517341B (en) | 2017-06-20 |
Family
ID=49899172
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210226576.0A Active CN103517341B (en) | 2012-06-29 | 2012-06-29 | Split the method, system and device of flow in a kind of WLAN |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103517341B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107948002B (en) * | 2017-12-29 | 2021-01-26 | 杭州迪普科技股份有限公司 | AP access control method and device |
CN108712344B (en) * | 2018-03-22 | 2019-09-06 | 新华三信息安全技术有限公司 | A kind of message forwarding method and the network equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1705290A (en) * | 2004-06-03 | 2005-12-07 | 华为技术有限公司 | Method for accessing WLAN |
CN101262505A (en) * | 2008-04-22 | 2008-09-10 | 杭州华三通信技术有限公司 | A method, system and device for establishing ARP table items |
CN101640892A (en) * | 2009-08-21 | 2010-02-03 | 杭州华三通信技术有限公司 | Wireless network deployment method and wireless access point |
CN102209303A (en) * | 2007-01-12 | 2011-10-05 | 华为技术有限公司 | Method and system for determining presence of broadcast/multicast cache frame at access point |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050181734A1 (en) * | 2005-01-21 | 2005-08-18 | Knightsbridge Wireless Inc. | Automatic connection of a mobile device to a wireless network |
CA2636384C (en) * | 2006-11-21 | 2014-07-15 | Research In Motion Limited | Displaying a list of available wireless local area networks |
-
2012
- 2012-06-29 CN CN201210226576.0A patent/CN103517341B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1705290A (en) * | 2004-06-03 | 2005-12-07 | 华为技术有限公司 | Method for accessing WLAN |
CN102209303A (en) * | 2007-01-12 | 2011-10-05 | 华为技术有限公司 | Method and system for determining presence of broadcast/multicast cache frame at access point |
CN101262505A (en) * | 2008-04-22 | 2008-09-10 | 杭州华三通信技术有限公司 | A method, system and device for establishing ARP table items |
CN101640892A (en) * | 2009-08-21 | 2010-02-03 | 杭州华三通信技术有限公司 | Wireless network deployment method and wireless access point |
Also Published As
Publication number | Publication date |
---|---|
CN103517341A (en) | 2014-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4927939B2 (en) | Automatic home agent selection | |
JP3587984B2 (en) | Mobile communication system, packet gateway device, location information management method, and location information notification method | |
EP2586236B1 (en) | Method and apparatus for communicating via a gateway | |
US8614989B2 (en) | Predictive roaming between subnets | |
CN101218796B (en) | Method, system and apparatus for load balancing of wireless switches to support layer 3 roaming in wireless local area networks | |
JP2020532243A (en) | Data transmission methods, devices, and systems | |
CN107580360A (en) | Method, device and network architecture for network slice selection | |
US20130272287A1 (en) | System and Method for ANDSF Enhancement with ANQP Server Capability | |
CN101848513B (en) | Method for switching WiFi access network to WiMAX access network and related equipment | |
CN103313344B (en) | The core net and its cut-in method of fusion | |
CN107517189B (en) | Method and equipment for WLAN user access authentication and configuration information issuing | |
CN101945374A (en) | Network switching method, communication system and corresponding device | |
CN108882305A (en) | A kind of shunt method and device of data packet | |
US20120257565A1 (en) | Mobile network traffic management | |
US8990916B2 (en) | System and method for supporting web authentication | |
CN106255089B (en) | A kind of method and apparatus of radio three layer roaming | |
CN106231605A (en) | For dynamic creation and the method for deletion vWLAN in shared fixed access network | |
US20240214301A1 (en) | Packet processing method and related apparatus | |
CN101321118A (en) | Method and apparatus for implementing wireless router proxy | |
CN105530599A (en) | Configuration-free WiFi network system and networking method based on OpenFlow protocol | |
CN105025487B (en) | A method of the Working level wlan system based on SDN and unified certification | |
CN103517341B (en) | Split the method, system and device of flow in a kind of WLAN | |
JP2014505387A (en) | ID / locator separation network monitoring method and system | |
CN105493540A (en) | Wireless local area network user side device and information processing method | |
WO2025035675A1 (en) | Remote user equipment access method and apparatus, device, medium, and program product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |