Abstract:
Disclosed are an access method for a WiFi access point, a WiFi access point and a WiFi system, which relate to communications technology. The present application adds to a WiFi system the RAN and PSCN of a 3G network, and adds a 3G module to an AP, so that the AP can serve as a 3G terminal to access the 3G network, thereby connecting the AP and an AC/BRAS through the RAN and PSCN. Because the 3G network has broader coverage, implementing access point access through the 3G network reduces the complexity of an AP accessing the AC/BRAS.

Description:
[0001]    This application claims priority to Chinese Patent Application No. 201110322722 filed with the State Intellectual Property Office of China on Oct. 21, 2011 and entitled “Access method for WiFi access point, WiFi access point and WiFi system”, which is hereby incorporated by reference in its entirety. 
       FIELD OF THE INVENTION 
       [0002]    The present invention relates to the field of communication and particularly to an access method for a WiFi access point, a WiFi access point and a WiFi system. 
       BACKGROUND OF THE INVENTION 
       [0003]    At present, a Wireless Fidelity system includes a Station (STA, i.e., a WiFi user), an Access Point (AP), an Access Controller (AC), a Broadband Remote Application Server (BRAS), a portal server, a Remote Authentication Dial-in User Service (RADIUS) and other nodes, and  FIG. 1  illustrates a schematic diagram of the WiFi system networking. 
         [0004]    In  FIG. 1 , an interface between the STA and the AP is an air interface for wireless transmission in compliance with the specifications of the protocols IEEE802.11a/b/g/n, etc. An interface between the AP and the AC/BRAS complies with the specification of the Control And Provisioning of Wireless Access Point Protocol (CAPWAP) for wired transmission. 
         [0005]    An operation process of the WiFi network can be roughly divided into three phases: 
         [0006]    In phase  1 , the WiFi access point accesses the WiFi system, which is a procedure in which the AP is powered on and accesses the AC, where the AP can obtain an Internet Protocol (IP) address of the AP through the Dynamic Host Configuration Protocol (DHCP) and obtain an IP address of the AC through the DHCP Options43 attribute or Domain Name System (DNS) resolving or otherwise. The AP which has obtained the IP address of the AC initiates actively an authentication connection with the AC. The AC verifies the AP and then establishes a Control And Provisioning of Wireless Access Point Protocol (CAPWAP) tunnel connection with the AP. The AP can download a corresponding configuration file from the AC over the CAPWAP tunnel to obtain configuration information and configure itself. 
         [0007]    In phase  2 , the WiFi user is authenticated. Firstly the WiFi user obtains an IP address through the standard DHCP, Where the address is allocated by the AC/BRAS; and thereafter the WiFi user accesses a web server and initiates a Hyper Text Transfer Protocol (HTTP) request The AC/BRAS intercepts the HTTP request and forces the user to be authenticated with the portal server. The portal server pushes a web authentication page to the WiFi user. The user fills a user name, a password and other information into the authentication page and submits them to the portal server. The portal server sends a user information query request to the Remote Authentication Dial-in User Service (RADIUS) upon reception of the user information, and the RADIUS server verifies the user information. 
         [0008]    In phase  3 , WiFi user data is transmitted. After the WiFi user is authenticated, the AP transmits WiFi user data to the AC/BRAS over the CAPWAP tunnel. Taking uplink data as an example, an IP header in a CAPWAP message is filled as illustrated in  FIG. 2 , where the CAPWAP message includes an IP header, a User Datagram Protocol (UDP) header, a CAPWAP header and a CAPWAP payload, wherein the CAPWAP payload further includes an IP header and WiFi user data; and the IP header of the CAPWAP message is filled with slashes, and in the IP header of the CAPWAP message, a Source IP is the IP of the AP device, and a Target IP is the IP of the AC device; and the IP header of the CAPWAP payload is filled with vertical lines, and in the IP header of the CAPWAP payload, a Source IP is the IP of the WiFi user, and a Target IP is the IP of the accessed web. 
         [0009]    As illustrated in  FIG. 3 , the operation process of the WiFi network includes the following steps: 
         [0010]    The phase  1  includes the following steps: 
         [0011]    In the step S 301 , the AP is powered on and initiates a DHCP request; 
         [0012]    In the step S 302 , the AP obtains an IP address of the AP; 
         [0013]    In the step S 303 , the AP Obtains an IP address of the AC; 
         [0014]    In the step S 304 , the AP establishes a CAPWAP tunnel connection with the AC; 
         [0015]    In the step S 305 , the AP configures itself; 
         [0016]    In the step S 306 , the AC/BRAS allocates an IP address for the WiFi user; and 
         [0017]    In the step S 307 , the WiFi user is authenticated and the data is transmitted. 
         [0018]    The AP is an important transmitting medium in WiFi networking, and is typically connected with the AC/BRAS through a switcher, a router or other device in a wired connection manner. The wired connection manner may result in complicated and troublesome network wiring. The coverage area of the AP itself is small, so a large total number of APs may be required. Deployment of a sufficiently large number of APs outdoors means a high engineering cost and a long construction period. 
         [0019]    Consequently, WiFi networking is typically limited to a hotspot indoors, and mobility may be supported poorly due to the technical characteristic of the WiFi system, on at least an interruption and even unavailability of a service may arise in some high mobility-demanding scenarios. 
       SUMMARY OF THE INVENTION 
       [0020]    Embodiments of the present invention provide an access method for a WiFi access point, a WiFi access point and a WiFi system, so as to reduce the complexity of an access of an AP to an AC/BRAS. 
         [0021]    An access method for a WiFi access point includes:
       the access point accessing a 3G network and Obtaining its own IP address in the 3G network;   the access point obtaining an IP address of an AC through a preset AC domain name and an address server of the 3G network, wherein the AC is connected with the 3G network; and   the access point establishing a connection with the AC through its own IP address in the 3G network.       
 
         [0025]    A WiFi access point includes:
       a 3G access component configured to access a 3G network and obtain an IP address of the WiFi access point in the 3G network;   an address obtainment component configured to obtain an IP address of an AC through a preset AC domain name and an address server of the 3G network, wherein the AC is connected with the 3G network; and   a connection establishment component configured to establish a connection with the AC through the IP address of the WiFi access point in the 3G network.       
 
         [0029]    A WiFi system includes an access point, a 3G network and an AC, wherein:
       the access point is configured to access the 3G network and to obtain its own IP address in the 3G network; to obtain an IP address of the AC through a preset AC domain name and an address server of the 3G network, and to establish a connection with the AC through its own IP address in the 3G network; and   the AC is connected with the 3G network and configured to establish the connection with the access point upon reception of a connection request of the access point.       
 
         [0032]    Embodiments of the present invention provide an access method for a WiFi access point, a WiFi access point and a WiFi system, where a Radio Access Network (RAN) and a Packet Switch Core Network (PSCN) in a 3G network are added to the WiFi system, and a 3G component is added to an AP, so that the AP can access the 3G network as a 3G terminal, and the AP can be connected with an AC/BRAS through the RAN and the PSCN, and since the coverage area of the 3G network is wide, an access of the access point over the 3G network can reduce the complexity of an access of the AP to the AC/BRAS. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0033]      FIG. 1  is a schematic structural diagram of a WiFi network in the prior art; 
           [0034]      FIG. 2  is a schematic structural diagram of a CAPWAP message in the prior art; 
           [0035]      FIG. 3  is a flow chart of an access method for a WiFi access point in the prior art; 
           [0036]      FIG. 4  is a flow chart of an access method for a WiFi access point in an embodiment of the present invention; 
           [0037]      FIG. 5  is a schematic structural diagram of a WiFi network in an embodiment of the present invention; 
           [0038]      FIG. 6   a  is a schematic structural diagram of a protocol stack in an embodiment of the present invention; 
           [0039]      FIG. 6   b  is a schematic structural diagram of a CAPWAP message in an embodiment of the present invention; 
           [0040]      FIG. 7  is a flow chart of a specific access method for a WiFi access point in an embodiment of the present invention; and 
           [0041]      FIG. 8  is a schematic structural diagram of a WiFi access point in an embodiment of the present invention. 
       
    
    
     DETAILED DESCRIPTION OF THE EMBODIMENTS 
       [0042]    Embodiments of the present invention provide an access method for a access point, a WiFi access point and a WiFi system, where an RAN and a PSCN in a 3G network are added into the WiFi system, and a 3G component is added into an AP, so that the AP can access the 3G network as a 3G terminal, and the AP can be connected with an AC/BRAS through the RAN and the PSCN, and since the coverage area of the 3G network is wide, an access of the access point over the 3G network can reduce the complexity of an access of the AP to the AC/BRAS. 
         [0043]    As illustrated in  FIG. 4 , an access method for a WiFi access point according to an embodiment of the present invention includes the following steps: 
         [0044]    In the step S 401 , the access point accesses a 3G network and obtains its own IP address in the 3G network; 
         [0045]    In the step S 402 , the access point obtains an IP address of an AC through a preset AC domain name and an address server of the 3G network, where the AC is connected with the 3G network; and 
         [0046]    In the step S 403 , the access point establishes a connection with the AC through its own IP address in the 3G network. 
         [0047]    Since the access point and the AC are connected over the 3G network, the access point can access the AC/BRAS so along as the 3G network is available, thereby reducing the complexity of an access of the access point to the AC/BRAS and facilitating deployment of a larger number of WiFi access points. 
         [0048]    The access point in the embodiment of the present invention has functions of a 3G terminal and can access the 3G network, and also the AC is connected with the 3G network, so the access point can be connected with the AC over the 3G network. 
         [0049]    Since the AP accesses the 3G network as a 3G terminal, there is a wireless connection between the AP and the 3G network, and the AP may be arranged in a train, a bus or other high mobility-demanding scenario, to thereby improve a support of mobility by the WiFi network. 
         [0050]    As illustrated in  FIG. 5 , a WiFi system according to an embodiment of the present invention includes an access point  501 , a 3G network  502  and an AC  503 , wherein: 
         [0051]    The access point  501  is configured to access the 3G network  502  and to obtain its own IP address in the 3G network  502 ; to obtain an IP address of the AC through a preset AC domain name and an address server of the 3G network  502 ; and to establish a connection with the AC through its own IP address in the 3G network  502 ; and 
         [0052]    The AC  503  is connected with the 3G network  502  and configured to establish the connection with the access point  501  upon reception of a connection request of the access point  501 . 
         [0053]    The 3G network includes a 3G Radio Access network (RAN) and a 3G Packet Switch Core Network (PSCN), wherein the 3G RAN includes a Node B and a Radio Network Controller (RNC), and the 3G PSCN includes a Serving GPRS Support Node (SGSN) and a Gateway GPRS Support Node (GGSN), and the AC is connected with the GGSN. 
         [0054]    The AP is connected with a WiFi STA (A WiFi user equipment) via an air interface for wireless transmission in compliance with the specifications of the protocols IEEE802.11a/b/g/n, etc.; and also the AP has functions of a 3G terminal, and its interface to the 3G RAN is also an air interface for wireless transmission in compliance with the specifications of the related 3GPP protocols. 
         [0055]    The AP accessing the WiFi network firstly needs to access the 3G network, and the AP is registered and authenticated in the 3G network, which means that the AP is a legal user of the 3G network and can make use of the 3G network resources. Since the domain name of the AC to be connected with and the address of the DNS server in the 3G network are preset in the AP, the AP device can obtain the IP address of the AC in the DNS server through the domain name of the AC before being connected with the AC. 
         [0056]    Firstly, the AP which has accessed to the 3G network needs to trigger a Packet Data Protocol (PDP) activation procedure and obtains its own IP address in the 3G network; and is connected with the address server DNS of the 3G network through its own IP address in the 3G network; obtains the IP address of the AC through the preset AC domain name; and further interacts with the AC to initiate an authentication connection with the AC. The AC establishes a CAPWAP tunnel connection with the AP after the AC verifies the AR. The AP downloads a corresponding configuration file from the AC over the CAPWAP tunnel to obtain configuration information and configure itself. 
         [0057]    When there is a WiFi user accessing through the AP, its user authentication and data transmission procedures are also performed over the CAPWAP tunnel except a CAPWAP message needs to be forwarded by the RAN and the PSCN. 
         [0058]    During transmission of uplink data, WiFi user data with an IP header added thereto is packaged in the format of the CAPWAP protocol, and in the IP header of the WiFi data, a source IP is the IP address of the WiFi user, and a target IP is the IP address of a web accessed by the WiFi user. In the IP header of the CAPWAP message, a source IP is filled as the IP address of the AP in the 3G network, and a target IP is filled as the IP address of the AC. The data is transmitted transparently through the RAN/PSCN and arrives at the GGSN, and the GGSN routes the data according to the target IP and forwards the data to the AC. 
         [0059]    During transmission of downlink data, the GGSN receives the data packet and then determines that the source IP in the IP header thereof is the IP address of the AC and the target IP is the IP address of the AP in the 3G network, and then the GGSN routes the data packet according to the target address by transmitting transparently the data packet through the PSCN/RAN, and the AP device obtains the WiFi user data from the CAPWAP message after the AP device receives the data packet and further forwards the WiFi user data to the corresponding user according to the IP header previously to the WiFi user data. 
         [0060]    In an embodiment of the present invention, a protocol stack of the CAPWAP tunnel is illustrated in  FIG. 6   a,  wherein the WiFi user and the AP transmit data over the WiFi network, and data is transmitted between the AP and the AC over the 3G network and through the wired connection. 
         [0061]    In an embodiment of the present invention, a structure of the uplink CAPWAP message is illustrated in  FIG. 6   b  and also includes an IP header, a UDP header, a CAPWAP header and a CAPWAP payload, wherein the CAPWAP payload further includes an IP header and WiFi user data, and in  FIG. 6   b,  the IP header of the CAPWAP message is denoted by slashes, and in the IP header of the CAPWAP message, the source IP is the IP address of the AP in the 3G network, and the target IP is the IP address of the AC device; and the IP header of the CAPWAP payload is denoted by vertical lines, and in the IP header of the CAPWAP payload, the source IP is the IP of the WiFi user, and the target IP is the IP of an accessed web. 
         [0062]    An access method for a WiFi access point according to an embodiment of the present invention will be described below in detail with reference to  FIG. 7 , wherein the method includes the following steps: 
         [0063]    In the step S 701 , the access point is registered and authenticated in the 3G network; 
         [0064]    In the step S 702 , the AP initiates a DNS request in the 3G network; 
         [0065]    In the step S 703 , the AP initiates a PDP activation request; 
         [0066]    In the step S 704 , the AP obtains its own IP address through PDP activation; 
         [0067]    In the step S 705 , the AP is connected with an address server of the 3G network through its own IP address in the 3G network and obtains an IP address of an AC through a preset AC domain name; 
         [0068]    In the step S 706 , the AP establishes a CAPWAP tunnel with the AC; 
         [0069]    In the step S 707 , the AP downloads a configuration file from the AC and configures itself; 
         [0070]    In the step S 708 , a WiFi user accesses, and the AC allocates an IP address for the WiFi user; and 
         [0071]    In the step S 709 , the WiFi user is authenticated and the data is transmitted. 
         [0072]    The address server of the 3G network is a DNS server and the AC is connected with a GGSN in the 3G network. 
         [0073]    Based upon the same inventive idea, an embodiment of the present invention further provides a WiFi access point, and since the WiFi access point addresses the problem under a principle similar to the access method for a WiFi access point and the WiFi system according to the embodiments of the present invention, reference can be made to the implementations of the method and the system for an implementation of the WiFi access point, and a repeated description thereof will be omitted here. 
         [0074]    An embodiment of the present invention further provides a WiFi access point, as illustrated in  FIG. 8 , the WiFi access point includes: 
         [0075]    a 3G access component  801  configured to access a 3G network and to obtain an IP address of the WiFi access point in the 3G network; 
         [0076]    an address obtainment component  802  configured to obtain an IP address of an AC through a preset AC domain name and an address server of the 3G network, where the AC is connected with the 3G network; and 
         [0077]    a connection establishment component  803  configured to establish a connection with the AC through the IP address of the WiFi access point in the 3G network. 
         [0078]    The 3G access component  801  is further configured: 
         [0079]    to be registered and authenticated in the 3G network; and 
         [0080]    to perform PDP activation and to obtain the IP address of the WiFi access point in the 3G network. 
         [0081]    The address obtainment component  802  is further configured: 
         [0082]    to be connected with the address server of the 3G network through the IP address of the WiFi access point in the 3G network; and 
         [0083]    to obtain the IP address of the AC through the preset AC domain name. 
         [0084]    The embodiments of the present invention provide an access method for a WiFi access point, a WiFi access point and a WiFi system, where an RAN and a PSCN in a 3G network are added to the WiFi system, and a 3G component is added to the AP, so that the AP can access the 3G network as a 3G terminal, and the AP can be connected with an AC/BRAS through the RAN and the PSCN, and since the coverage area of the 3G network is wide, an access of the access point over the 3G network can reduce the complexity of an access of the AP to the AC/BRAS. 
         [0085]    Those skilled in the art shall appreciate that the embodiments of the present invention can be embodied as a method, a system or a computer program product. Therefore, the present invention can be embodied in the form of an all-hardware embodiment, an all-software embodiment or an embodiment of software and hardware in combination. Furthermore, the present invention can be embodied in the form of a computer program product embodied in one or more computer useable storage mediums (including but not limited to a disk memory, a CD-ROM, an optical memory, etc.) in which computer useable program codes are contained. 
         [0086]    The present invention has been described in a flow chart and/or a block diagram of the method, the device (system) and the computer program product according to the embodiments of the present invention. It shall be appreciated that respective flows and/or blocks in the flow chart and/or the block diagram and combinations of the flows and/or the blocks in the flow chart and/or the block diagram can be embodied in computer program instructions. These computer program instructions can be loaded onto a general-purpose computer, a specific-purpose computer, an embedded processor or a processor of other programmable data processing device to produce a machine so that the instructions executed on the computer or the processor of the other programmable data processing device create means for performing the functions specified in the flow(s) of the flow chart and/or the block(s) of the block diagram. 
         [0087]    These computer program instructions can also be stored into a computer readable memory capable of directing the computer or the other programmable data processing device to operate in a specific manner so that the instructions stored in the computer readable memory create an article of manufacture including instruction means which perform the functions specified in the flow(s) of the flow chart and/or the block(s) of the block diagram. 
         [0088]    These computer program instructions can also be loaded onto the computer or the other programmable data processing device so that a series of operational steps are performed on the computer or the other programmable data processing device to create a process implemented by a computer so that the instructions executed on the computer or the other programmable device provide steps for performing the functions specified in the flow(s) of the flow chart and/or the block(s) of the block diagram. 
         [0089]    Although the preferred embodiments of the present invention have been described, those skilled in the art benefiting from the underlying inventive concept can make additional modifications and variations to these embodiments. Therefore the appended claims are intended to be construed as encompassing the preferred embodiments and all the modifications and variations coming into the scope of the present invention. 
         [0090]    Evidently those skilled in the art can make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Thus the present invention is also intended to encompass these modifications and variations thereto so long as the modifications and variations come into the scope of the claims appended to the present invention and their equivalents.