CN104144491B - A kind of method and system to the real-time positioning of WiFi terminal - Google Patents

A kind of method and system to the real-time positioning of WiFi terminal Download PDF

Info

Publication number
CN104144491B
CN104144491B CN201310170075.XA CN201310170075A CN104144491B CN 104144491 B CN104144491 B CN 104144491B CN 201310170075 A CN201310170075 A CN 201310170075A CN 104144491 B CN104144491 B CN 104144491B
Authority
CN
China
Prior art keywords
access server
wifi terminal
access
wifi
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310170075.XA
Other languages
Chinese (zh)
Other versions
CN104144491A (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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201310170075.XA priority Critical patent/CN104144491B/en
Publication of CN104144491A publication Critical patent/CN104144491A/en
Application granted granted Critical
Publication of CN104144491B publication Critical patent/CN104144491B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of method and system to the real-time positioning of WiFi terminal, PORTAL servers receive the HTTP access requests of WiFi terminal transmission, according to the IP address of WiFi terminal, identify the access server of WiFi terminal access, the access server port returned according to access server and the access server and vlan information, the wireless access point AP equipment of WiFi terminal access is determined, and the real-time positioning to WiFi terminal is realized according to the deployed position of AP equipment.The method and system of the present invention, can reversal of identification go out the upper level link of WiFi user, and utilize the unique corresponding relation established between access server, access server port, the logical link information of the element of AP service VLAN three composition and the whole network AP equipment, in real time, WiFi user is positioned exactly, any application software is installed without terminal, to bearer network also without particular/special requirement, therefore strong applicability, can improve the WiFi stationkeeping abilities of telecom operators and its Service coverage of related service conscientiously.

Description

A kind of method and system to the real-time positioning of WiFi terminal
Technical field
The present invention relates to mobile positioning technique field, more particularly to a kind of method to the real-time positioning of WiFi terminal and it is System.
Background technology
User's space position location services in moving communicating field be widely used in traffic, mobile e-business, In the socio-economic activitys such as Emergency Assistance, turn into current most potential mobile Internet business.Currently used GPS (GPS) positioning service is limited by its technical principle, is only applicable to the outdoor depletion region such as desert, ocean, It is then ineffective for common application scenarios in city such as interior, housing-group close quarterses.
With the construction in WiMAX city and the popularization of user's WiFi terminal, WiFi network is widely deployed in city Indoor and outdoor traffic hotspots region.WiFi technology has turned into the main access means of current mobile Internet business.If utilize Radio communication connection between WiFi terminal and WiFi network, quickly and accurately measure the locus of user, it will greatly Ground facilitates the positioning service demand of user;Furthermore, it is possible to GPS location is effectively made up under building dense or indoor scene Using limitation, expand the application industry and scope of positioning service;Meanwhile will also it break through the tired of current WiFi value-added services development Border, effectively promote the development in WiFi network and WiMAX city.
It is presently disclosed that specific application is installed in WiFi user terminals to WiFi user's real-time location method, general use Software, by application software detection, collect periphery WiFi base stations(That is AP)Information, and report background system to be determined after analyzing and processing Customer location, this method are not suitable for not installing the WiFi user of positioning application software.Or special protocol fields are used to net Network system transmits subscriber's line circuit information to realize that WiFi user positions, and this method requires that all devices of WiFi network are supported, simultaneously These special protocol fields are transmitted according to unified coded format, but the network system of telecom operators is by more producers, multiclass Type equipment forms, and support and the compatibling problem of equipment be present.
Therefore, existing disclosed WiFi user's real-time location method has particular arrangement will to user terminal or bearer network Ask, it is poor for applicability, there is larger limitation in practical application, be unsuitable for extensive use.
The content of the invention
In view of this, the invention solves a technical problem be to provide a kind of side to the real-time positioning of WiFi terminal Method, can be by positioning according to the position of AP equipment to WiFi terminal.
A kind of method to the real-time positioning of WiFi terminal, including:PORTAL servers receive WiFi terminal transmission HTTP access requests;The PORTAL servers identify the WiFi terminal access according to the IP address of the WiFi terminal Access server;The PORTAL servers send query message to the access server, inquire about the WiFi terminal and connect The access server port entered and vlan information;The PORTAL servers are according to the access server, and the access The access server port of server return, vlan information, the wireless access point AP equipment of the WiFi terminal access is determined, and Positioning to the WiFi terminal is realized according to the deployed position of the AP equipment;Wherein, access server, access server side Mouth, vlan information(That is AP service VLAN)The logical link information of three elements composition establishes only one-to-one correspondence with AP.
According to one embodiment of the method for the invention, further, different IP is configured to different access servers Address field, and each IP address section non-overlapping copies;One AP configures a service VLAN;Access server has one or more Port, mutually different service VLAN is distributed to each AP under same access server port.
According to one embodiment of the method for the invention, further, WiFi terminal access AP, by AP according to DHCP protocol submits IP address application to the access server;The access server is according to DHCP protocol, by AP to institute State WiFi terminal distribution IP address;After the WiFi terminal obtains IP address, network address is inputted, submits HTTP online please by AP Ask;When the access server judges that the WiFi user does not pass through business authentication, the access server is whole to the WiFi End, which is sent, redirects instruction;After the WiFi terminal receives the redirection instruction, HTTP is submitted to the PORTAL servers Online request.
According to one embodiment of the method for the invention, further, the PORTAL servers receive the WiFi The HTTP online requests that terminal is sent, obtain the IP address of the WiFi terminal;The PORTAL servers are according to the WiFi The IP address section that the IP address of terminal is belonged to, identify the access server of the WiFi terminal access;It is described PORTAL servers send query message to the access server;Wherein, the query message includes the WiFi terminal IP address;The access server returns to Query Result message to the PORTAL servers;Wrapped in the Query Result message Include:The port information being made up of the groove number, pilot trench number, port numbers of the access server, the VLAN of the WiFi terminal access Information(That is AP service VLAN);Access server that the PORTAL servers access according to the WiFi terminal, access service Device port, vlan information, the AP equipment of the WiFi terminal access is determined, realizes the positioning to the WiFi terminal;It is described PORTAL servers push the forcible authentication page to the WiFi terminal, prompt to input user name, password, carry out business authentication.
According to one embodiment of the method for the invention, further, the PORTAL servers are to the access service Device sends the REQ_INFO messages of PORTAL agreements;Wherein, the IP of the WiFi terminal is carried in the REQ_INFO messages Location;Also, the value of the type field in the REQ_INFO messages is 9, the value of AttrType fields is 8;The access service Device is according to the REQ_INFO message informations, to the ACK_INFO messages of PORTAL servers return PORTAL agreements;Wherein, institute The value for stating the type field of ACK_INFO messages is that the value of 10, AttrType fields is to be included in 8, AttrValue fields by institute State port information, the vlan information of WiFi terminal access of groove number, pilot trench number, the port numbers composition of access server.
The invention solves a technical problem be to provide a kind of system to the real-time positioning of WiFi terminal, can pass through WiFi terminal is positioned according to the position of AP equipment.
A kind of system to the real-time positioning of WiFi terminal, including:PORTAL servers, access server and WAP AP equipment;The PORTAL servers receive the HTTP access requests of WiFi terminal transmission, according to the IP of the WiFi terminal Address, identify the access server of the WiFi terminal access;The PORTAL servers are sent to the access server Query message, inquire about access server port and the vlan information of the WiFi terminal access;The PORTAL servers according to The access server, and the access server port of access server return, vlan information, determine that the WiFi is whole Terminate into wireless access point AP equipment, and positioning to the WiFi terminal is realized according to the deployed position of the AP equipment; Wherein, access server, access server port, vlan information(That is AP service VLAN)The logical link information of three elements composition Only one-to-one correspondence is established with AP.
One embodiment of the system according to the present invention, further, different IP is configured to different access servers Address field, and each IP address section non-overlapping copies;One AP configures a service VLAN;Access server has one or more Port, mutually different service VLAN is distributed to each AP under same access server port.
One embodiment of the system according to the present invention, further, the WiFi terminal access AP, by AP according to DHCP protocol submits IP address application to the access server;The access server is according to DHCP protocol, by AP to institute State WiFi terminal distribution IP address;After the WiFi terminal obtains IP address, network address is inputted, submits HTTP online please by AP Ask;When the access server judges that the WiFi user does not pass through business authentication, the access server is whole to the WiFi End, which is sent, redirects instruction;After the WiFi terminal receives the redirection instruction, HTTP is submitted to the PORTAL servers Online request.
One embodiment of the system according to the present invention, further, the PORTAL servers receive the WiFi The HTTP online requests that terminal is sent, obtain the IP address of the WiFi terminal;The PORTAL servers are according to the WiFi The IP address section that the IP address of terminal is belonged to, identify the access server of the WiFi terminal access;It is described PORTAL servers send query message to the access server;Wherein, the query message includes the WiFi terminal IP address;The access server returns to Query Result message to the PORTAL servers;Wrapped in the Query Result message Include:The port information being made up of the groove number, pilot trench number, port numbers of the access server, the VLAN of the WiFi terminal access Information(That is AP service VLAN);Access server that the PORTAL servers access according to the WiFi terminal, access service Device port, vlan information, the AP equipment of the WiFi terminal access is determined, realizes the positioning to the WiFi terminal;It is described PORTAL servers push the forcible authentication page to the WiFi terminal, prompt to input user name, password, carry out business authentication.
One embodiment of the system according to the present invention, further, the PORTAL servers are to the access service Device sends the REQ_INFO messages of PORTAL agreements;Wherein, the IP of the WiFi terminal is carried in the REQ_INFO messages Location;Also, the value of the type field in the REQ_INFO messages is 9, the value of AttrType fields is 8;The access service Device is according to the REQ_INFO message informations, to the ACK_INFO messages of PORTAL servers return PORTAL agreements;Wherein, institute The value for stating the type field of ACK_INFO messages is that the value of 10, AttrType fields is to be included in 8, AttrValue fields by institute State port information, the vlan information of WiFi terminal access of groove number, pilot trench number, the port numbers composition of access server.
The present invention the method and system to the real-time positioning of WiFi terminal, can by according to the position of AP equipment to WiFi Terminal is positioned, and is forced PORTAL authentication methods by improving WiFi, is increased between PORTAL servers and access server Signalling exchange and analysis, reversal of identification go out the upper level link of WiFi user, and utilize access server, access server side The unique corresponding relation established between mouth, the logical link information of the element of AP service VLAN three composition and the whole network AP equipment, it is real When, exactly position WiFi user.Any application software is installed without user terminal, to bearer network also without particular/special requirement, because This strong applicability, the WiFi stationkeeping abilities of telecom operators and its Service coverage of related service can be improved conscientiously.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only Some embodiments of the present invention, for those of ordinary skill in the art, without having to pay creative labor, also Other accompanying drawings can be obtained according to these accompanying drawings.
Fig. 1 is the flow chart according to one embodiment of the method to the real-time positioning of WiFi terminal of the present invention;
Fig. 2 is the Signalling exchange flow according to another embodiment of the method to the real-time positioning of WiFi terminal of the present invention Figure;
Fig. 3 A are the Signalling exchange in another embodiment according to the method to the real-time positioning of WiFi terminal of the present invention Schematic diagram;
Fig. 3 B interacted between Portal server and access server used in portal protocol message format signal Figure;
Fig. 4 is the schematic diagram according to one embodiment of the system to the real-time positioning of WiFi terminal of the present invention.
Embodiment
The present invention is described more fully with reference to the accompanying drawings, wherein illustrating the exemplary embodiment of the present invention.Under The accompanying drawing that face will be combined in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, and shows So, described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Based on the reality in the present invention Example is applied, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made, is all belonged to In the scope of protection of the invention.
Wi-Fi is that one kind can be by PC, handheld device(Such as PDA, mobile phone)Wirelessly mutually it is connected etc. terminal The technology connect, Wi-Fi English full name are wireless fidelity, refer to that " wireless compatibility is recognized in WLAN category Card ", substantially a kind of commercial verification, while be also a kind of Wireless networking technologies.Wi-Fi online can simply be interpreted as nothing Line is surfed the Net, and cable network signal is actually converted into wireless signal, is surfed the Net and is very easy to realize.
Fig. 1 is the flow chart according to one embodiment of the method to the real-time positioning of WiFi terminal of the present invention.Such as Fig. 1 institutes Show:
Step 101, PORTAL servers receive the HTTP access requests of WiFi terminal transmission.
Step 102, PORTAL servers identify the access service of WiFi terminal access according to the IP address of WiFi terminal Device.
Step 103, PORTAL servers send query message, the access clothes of inquiry WiFi terminal access to access server Business device port and vlan information;
Step 104, PORTAL servers are according to access server, and the access server side that the access server returns Mouth, vlan information, the wireless access point AP equipment of WiFi terminal access is determined, and according to the realization pair of the deployed position of AP equipment The positioning of WiFi terminal.
Access server, access server port, vlan information(That is AP service VLAN)The logical links of three elements composition Information establishes only one-to-one correspondence with AP.Corresponding relation can be stored in PORTAL servers or other PORTAL services The storage device that device is able to access that.
According to one embodiment of present invention, different IP address sections is configured to different access servers, and it is each IP address section non-overlapping copies.
One AP configures a service VLAN.Access server has one or more ports, to same access server Each AP under port distributes mutually different service VLAN.
WiFi terminal refers to the equipment with WiFi function, including:Intelligent terminal, desktop computer, notebook computer, flat board electricity Brain etc..
VLAN(Virtual Local Area Network)Chinese entitled " VLAN ", VLAN sets LAN It is standby to be logically divided into the network segment one by one.
Portal is the meaning of entrance in English, and Portal certifications are also commonly referred to as web authentication, typically recognize Portal Card website is referred to as portal website.When unauthenticated user is surfed the Net, equipment forces user to sign in particular station, and user can freely visit Ask service therein.When user needs to use the other information in internet, it is necessary to be authenticated in portal website, only recognize Card can just use Internet resources after passing through.
Portal server is the service end system for receiving client certificate request in Portal networkings, there is provided free door Service and the interface based on WEB certifications, the identity information with the access server equipment interactive authentication client such as BAS.
AP(Access Point, wireless access node, session point)Not only include pure WAP(Wireless aps), Also wireless router is included(Containing radio network gateway, wireless bridge)Deng kind equipment, there is provided wireless stations to cable LAN and from Access of the cable LAN to wireless stations, the wireless stations in access points coverage can be carried out by it It is in communication with each other.
Because AP transmission powers are relatively low(Indoor AP transmission powers are generally 100 milliwatts), to effective covering radius of user It is smaller(Especially indoors in the case of), generally 10 meters or so(It is even more small).Therefore, according to inventing provided method, Real-time and accurately orient the AP that user is accessed, it is possible to according to AP deployed positions and with 10 meters around it of radius, measuring and calculating Go out WiFi customer location.
The localization method of the present invention is patrolled what access server, access server port, the element of AP service VLAN three formed Collect link information and set up unique corresponding relation with the whole network AP equipment.When WiFi user is accessed by any access server During internet, the WiFi user data of wherein not yet certification is forwarded to PORTAL servers, PORTAL services by access server Device identifies its access server connected according to IP address, then by the Signalling exchange with the access server, knows Do not go out access server port and vlan information used in the user(That is AP service VLAN), so as to form complete logic chain Road information, and the AP that the user accessed is identified according to corresponding relation, AP deployed position is accessed according to the user(Such as warp Latitude etc.), the user is oriented in real time.
Each step of the localization method of the present invention can be completed in real time, therefore can realize the real-time positioning of WiFi user, And each step of method of the present invention is realized on PORTAL servers and access server, therefore, the technology of the present invention with WiFi user terminals and bearer network are unrelated.
The present invention method can WiFi user access internet before just in real time, be accurately finished positioning, without user Terminal installs any application software, to bearer network also without any particular/special requirement, therefore strong applicability, telecommunications can be improved conscientiously The WiFi positioning service scopes of operator.
Fig. 2 is the Signalling exchange flow according to another embodiment of the method to the real-time positioning of WiFi terminal of the present invention Figure.As shown in Figure 2:
Step 201, WiFi terminal access AP, IP address application is submitted to access server according to DHCP protocol by AP.
Step 202 access server distributes IP address by AP according to DHCP protocol to WiFi terminal.
Step 203, after WiFi terminal obtains IP address, network address is inputted, HTTP online requests are submitted by AP.
Step 204, when access server judges that the WiFi user does not pass through business authentication, access server is whole to WiFi End, which is sent, redirects instruction.Using PORTAL authentication techniques are forced, the HTTP request is redirected to PORTAL servers.
Step 205, after WiFi terminal receives redirection instruction, HTTP request is resubmited, and make with PORTAL servers For the destination address of HTTP message.
Step 206, PORTAL servers receive the HTTP online requests of WiFi terminal transmission, obtain the IP of WiFi terminal Address.
Step 207, the IP address section that PORTAL servers are belonged to according to the IP address of WiFi terminal, WiFi ends are identified Terminate into access server.
Step 208, PORTAL servers send query message to access server.Wherein, it is whole to include WiFi for query message The IP address at end.
Step 209, access server returns to Query Result message to PORTAL servers.Query Result message includes: Access server side message breath, the vlan information of WiFi terminal access being made up of groove number, pilot trench number, port numbers.
Step 210, PORTAL servers access according to WiFi terminal access server, access server port and Vlan information(That is AP service VLAN), the AP equipment of WiFi terminal access is determined, realizes the positioning to WiFi terminal.
Step 211, PORTAL servers push the forcible authentication page to WiFi terminal, prompt to input user name, password, enter Row business authentication.
When forced portal/compulsory portal authentication techniques refer to unauthenticated user online, access server is forced by redirecting technique User accesses Portal server, and Portal server pushes the forcible authentication page to user.
User then enters the business authentication stage by Portal server, and in certification by rear, can just use mutual Networked resources.
The localization method of the present invention can just complete the operation positioned in real time before WiFi user carries out business authentication, and not Influence the subsequent business authentication of WiFi user, charging and internet access operation.
Fig. 3 A are the Signalling exchange in another embodiment according to the method to the real-time positioning of WiFi terminal of the present invention Schematic diagram.According to PORTAL agreements between PORTAL servers and access server, data message real-time, interactive is carried out, thus can be Identify the access server port and AP service VLAN that WiFi user connected.
Fig. 3 B interacted between Portal server and access server used in portal protocol message format signal Figure.The critical field of portal protocol message in Fig. 3 B is described as follows:
Ver:Protocol version.
Type:Type of message.Ten several portal protocol type of messages are defined, wherein the message used in the present invention Type is as follows:
As Type=0x09, the message is expressed as the message of REQ_INFO types, and direction of transfer is that PORTAL servers arrive Access server;
As Type=0x0a, the message is expressed as the message of ACK_INFO types, and direction of transfer arrives for access server PORTAL servers.
UserIP:By inquiry user IP, i.e., the present invention in " IP address of WiFi terminal ".
Attr:Message attribute field, variable length, it is formed by connecting by multiple attributes.
Each attribute uses TLV forms:AttrType-AttrLen-AttrValue.
Wherein, AttrType is the type of this attribute field, and AttrLen is the length of this attribute field, and AttrValue is The value of this attribute field.
According to one embodiment of present invention, as Type=0x09(REQ_INFO messages)Or 0x0a(ACK_INFO messages) When, AttrType=8.The difference of two kinds of messages is,
For Type=0x09(REQ_INFO messages), AttrValue field values are sky;
For Type=0x0a(ACK_INFO messages), AttrValue field values include the groove of inquired about access server Number, pilot trench number, port numbers, the information such as VLAN for inquiring user.
Step 31, PORTAL servers actively send REQ_INFO messages to access server, carry and are looked into the message Ask the IP address of user.The type field of the PORTAL agreement REQ_INFO messages(That is type of message)It is worth for 9, AttrType words Section(That is attribute type)It is worth for 8, represents to inquire about the port information that the user accessed to access server.
Step 32, access server is according to the REQ_INFO message informations received, to PORTAL server feedbacks ACK_ INFO messages.Now, the type field of the PORTAL agreement ACK_INFO messages(That is type of message)It is worth for 10, AttrType words Section(That is attribute type)It is worth for 8, represents the port information inquiry request of access server response PORTAL servers.And ACK_ The AttrValue fields of INFO messages(That is property value)In containing the port information inquired about, including access server physics end Mouthful(Groove number, pilot trench number, port numbers)And vlan information(I.e. the WiFi user connects AP service VLAN).
Fig. 4 is the schematic diagram according to one embodiment of the system to the real-time positioning of WiFi terminal of the present invention.Such as Fig. 4 institutes Show:The system of the real-time positioning of WiFi terminal is included:A set of PORTAL servers 41, more access servers 42,43 and multiple Wireless access point AP equipment 44,45,46,47.
According to one embodiment of present invention, to disposing a set of PORTAL servers in the system of the real-time positioning of WiFi terminal With more access servers.Wherein, every access server possesses multiple ports(Enter rower by groove number, pilot trench number, port numbers Know).WiFi user terminals access AP, then via access network(It is made up of interchanger, passive optical network local side apparatus OLT etc.)Convergence After flow, a certain access server port is above linked to.Access server is responsible for the IP address distribution of WiFi user.
According to one embodiment of present invention, different access servers configure different IP address sections, and each IP Address field non-overlapping copies.It is thus possible to the IP address section belonged to according to IP address, identify that what the user connected connects Enter server.
One AP configures a service VLAN, and the service VLAN of each AP under identical access server port is mutual not It is identical.It is thus possible to according to AP service VLAN, the different AP equipment under identical access server port are identified.
By above-mentioned configuration, formed and patrolled by what access server, access server port, the element of AP service VLAN three formed Link information and the unique corresponding relation of the whole network AP equipment are collected, connected access clothes can be identified according to WiFi IP address It is engaged in device, and and then access server port used in analyzing(It is made up of three groove number, pilot trench number, port numbers parts)、AP Service VLAN, and the logical link information formed according to this three element, identify AP equipment and its portion that WiFi user accessed Affix one's name to position(Such as longitude and latitude), realize that WiFi user positions.
According to one embodiment of present invention, PORTAL servers 41 receive the HTTP access that WiFi terminal 40 is sent and asked Ask, according to the IP address of WiFi terminal 40, identify the access server 42 that WiFi terminal 40 accesses.
PORTAL servers 41 send query message, the access server of inquiry WiFi terminal access to access server 42 Port and vlan information;The access service that PORTAL servers 41 return according to access server 42 and access server 42 Device port and vlan information, the wireless access point AP equipment 45 of WiFi terminal access is determined, and according to the deployment position of AP equipment 45 Put the positioning realized to WiFi terminal 40.
According to one embodiment of present invention, WiFi terminal 40 accesses AP45, by AP45 according to DHCP protocol to access Server 42 submits IP address application.
Access server 42 distributes IP address by AP45 according to DHCP protocol to WiFi terminal 40.WiFi terminal 40 obtains After obtaining IP address, network address is inputted, passes through AP45 and submits HTTP online requests.
When access server 42 judges that the WiFi user does not pass through business authentication, access server 42 is to WiFi terminal 40 Send and redirect instruction.After WiFi terminal 40 receives redirection instruction, submit HTTP online please to PORTAL servers 41 again Ask.
PORTAL servers 41 receive the HTTP online requests of the transmission of WiFi terminal 40, with obtaining the IP of WiFi terminal 40 Location.The IP address section that PORTAL servers 41 are belonged to according to the IP address of WiFi terminal 40, identify that WiFi terminal 40 accesses Access server 42.
PORTAL servers 41 send query message to access server 42.Wherein, query message includes WiFi terminal 40 IP address.Access server 42 returns to Query Result message to PORTAL servers 41.Query Result message includes:By groove Number, pilot trench number, port numbers composition access server 42 port information, WiFi terminal access vlan information.
Access server 42 that PORTAL servers 41 access according to WiFi terminal 40, the port of access server 42(Its In, groove number is a1, pilot trench number is b1, port numbers c1)And vlan information, the AP equipment 45 of WiFi terminal access is determined, is realized Positioning to WiFi terminal 40.PORTAL servers 41 to WiFi terminal 40 push the forcible authentication page, prompt input user name, Password, carry out business authentication.
According to one embodiment of present invention, PORTAL servers 41 send PORTAL agreements to access server 42 REQ_INFO messages.Wherein, the IP address of WiFi terminal 40 is carried in REQ_INFO messages.Also, in REQ_INFO messages The value of the type field is 9, the value of AttrType fields is 8.
Access server 42 is according to REQ_INFO message informations, to the ACK_ of the return PORTAL agreements of PORTAL servers 41 INFO messages.Wherein, the value of the type field of ACK_INFO messages is that the value of 10, AttrType fields is 8, AttrValue words Accessed in section comprising the port information by groove a1, pilot trench b1, port numbers the c1 access server 42 formed, WiFi terminal Vlan information.
The present invention the method and system to the real-time positioning of WiFi terminal, can by according to the position of AP equipment to WiFi Terminal is positioned, and is forced PORTAL authentication methods by improving WiFi, is increased between PORTAL servers and access server Signalling exchange and analysis, reversal of identification go out the upper level link of WiFi user, and utilize access server, access server side The unique corresponding relation established between mouth, the logical link information of the element of AP service VLAN three composition and the whole network AP equipment, it is real When, exactly position WiFi user.
Overcome the limitation of existing WiFi location technologies(Such as require user terminal installation application software or to bearer network Carry out particular arrangement etc.), only by the Signalling exchange between PORTAL servers and access server and analysis, just can in real time, WiFi user is positioned exactly, telecom operators is effectively provided using existing network for common WiFi user and is based on position The value-added service of service.
The method and system of the present invention may be achieved in many ways.For example, can by software, hardware, firmware or Software, hardware, firmware any combinations come realize the present invention method and system.The said sequence of the step of for method is only Order described in detail above is not limited in order to illustrate, the step of method of the invention, is especially said unless otherwise It is bright.In addition, in certain embodiments, the present invention can be also embodied as recording program in the recording medium, these programs include For realizing the machine readable instructions of the method according to the invention.Thus, the present invention also covering storage is used to perform according to this hair The recording medium of the program of bright method.
Description of the invention provides for the sake of example and description, and is not exhaustively or by the present invention It is limited to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.Select and retouch State embodiment and be to more preferably illustrate the principle and practical application of the present invention, and one of ordinary skill in the art is managed The present invention is solved so as to design the various embodiments with various modifications suitable for special-purpose.

Claims (8)

  1. A kind of 1. method to the real-time positioning of WiFi terminal, it is characterised in that including:
    PORTAL servers receive the HTTP access requests of WiFi terminal transmission;
    The PORTAL servers identify the access service of the WiFi terminal access according to the IP address of the WiFi terminal Device;
    The PORTAL servers send query message to the access server, inquire about the access clothes of the WiFi terminal access Business device port, vlan information;
    The PORTAL servers are according to the access server, and the access server side that the access server returns Mouth, vlan information, the wireless access point AP equipment of the WiFi terminal access is determined, and according to the deployed position of the AP equipment Realize the positioning to the WiFi terminal;
    Wherein, access server, access server port, the logical link information of the element of service VLAN three composition and AP are established only One-to-one correspondence;Different IP address sections, and each IP address section non-overlapping copies are configured to different access servers;One Individual AP configures a service VLAN;Access server has one or more ports, to each under same access server port Individual AP distributes mutually different service VLAN.
  2. 2. the method as described in claim 1, it is characterised in that:
    The WiFi terminal accesses AP, and IP address application is submitted to the access server according to DHCP protocol by AP;
    The access server distributes IP address by AP according to DHCP protocol to the WiFi terminal;
    After the WiFi terminal obtains IP address, network address is inputted, HTTP online requests are submitted by AP;
    When the access server judges that the WiFi user does not pass through business authentication, the access server is whole to the WiFi End, which is sent, redirects instruction;
    After the WiFi terminal receives the redirection instruction, HTTP online requests are submitted to the PORTAL servers.
  3. 3. method as claimed in claim 2, it is characterised in that:
    The PORTAL servers receive the HTTP online requests that the WiFi terminal is sent, and obtain the IP of the WiFi terminal Address;
    The IP address section that the PORTAL servers are belonged to according to the IP address of the WiFi terminal, identify that the WiFi is whole Terminate into the access server;
    The PORTAL servers send query message to the access server;Wherein, the query message includes described The IP address of WiFi terminal;
    The access server returns to Query Result message to the PORTAL servers;The Query Result message includes: The port information being made up of the groove number, pilot trench number, port numbers of the access server, the VLAN letters of the WiFi terminal access Breath;
    Access server that the PORTAL servers access according to the WiFi terminal, access server port, vlan information, The AP equipment of the WiFi terminal access is determined, realizes the positioning to the WiFi terminal;
    The PORTAL servers push the forcible authentication page to the WiFi terminal, prompt to input user name, password, enter industry Business certification.
  4. 4. method as claimed in claim 3, it is characterised in that:
    The PORTAL servers send the REQ_INFO messages of PORTAL agreements to the access server;
    Wherein, the IP address of the WiFi terminal is carried in the REQ_INFO messages;Also, in the REQ_INFO messages The value of the type field is 9, the value of AttrType fields is 8;
    The access server is according to the REQ_INFO message informations, to the ACK_ of PORTAL servers return PORTAL agreements INFO messages;
    Wherein, the value of the type field of the ACK_INFO messages is that the value of 10, AttrType fields is 8, AttrValue fields In include by the access server groove number, pilot trench number, port numbers form port information, the WiFi terminal access Vlan information.
  5. A kind of 5. system to the real-time positioning of WiFi terminal, it is characterised in that including:
    PORTAL servers, access server and wireless access point AP equipment;
    The PORTAL servers receive the HTTP access requests of WiFi terminal transmission, according to the IP of the WiFi terminal Location, identify the access server of the WiFi terminal access;
    The PORTAL servers send query message to the access server, inquire about the access clothes of the WiFi terminal access Business device port, vlan information;
    The PORTAL servers are according to the access server, and the access server side that the access server returns Mouth, vlan information, the wireless access point AP equipment of the WiFi terminal access is determined, and according to the deployed position of the AP equipment Realize the positioning to the WiFi terminal;
    Wherein, access server, access server port, the logical link information of the element of service VLAN three composition and AP are established only One-to-one correspondence;Different IP address sections, and each IP address section non-overlapping copies are configured to different access servers;One Individual AP configures a service VLAN;Access server has one or more ports, to each under same access server port Individual AP distributes mutually different service VLAN.
  6. 6. system as claimed in claim 5, it is characterised in that:
    The WiFi terminal accesses AP, and IP address application is submitted to the access server according to DHCP protocol by AP;
    The access server distributes IP address by AP according to DHCP protocol to the WiFi terminal;
    After the WiFi terminal obtains IP address, network address is inputted, HTTP online requests are submitted by AP;
    When the access server judges that the WiFi user does not pass through business authentication, the access server is whole to the WiFi End, which is sent, redirects instruction;
    After the WiFi terminal receives the redirection instruction, HTTP online requests are submitted to the PORTAL servers.
  7. 7. system as claimed in claim 6, it is characterised in that:
    The PORTAL servers receive the HTTP online requests that the WiFi terminal is sent, and obtain the IP of the WiFi terminal Address;
    The IP address section that the PORTAL servers are belonged to according to the IP address of the WiFi terminal, identify that the WiFi is whole Terminate into the access server;
    The PORTAL servers send query message to the access server;Wherein, the query message includes described The IP address of WiFi terminal;
    The access server returns to Query Result message to the PORTAL servers;The Query Result message includes: The port information being made up of the groove number, pilot trench number, port numbers of the access server, the VLAN letters of the WiFi terminal access Breath;
    Access server that the PORTAL servers access according to the WiFi terminal, access server port, vlan information, The AP equipment of the WiFi terminal access is determined, realizes the positioning to the WiFi terminal;
    The PORTAL servers push the forcible authentication page to the WiFi terminal, prompt to input user name, password, enter industry Business certification.
  8. 8. system as claimed in claim 7, it is characterised in that:
    The PORTAL servers send the REQ_INFO messages of PORTAL agreements to the access server;
    Wherein, the IP address of the WiFi terminal is carried in the REQ_INFO messages;Also, in the REQ_INFO messages The value of the type field is 9, the value of AttrType fields is 8;
    The access server is according to the REQ_INFO message informations, to the ACK_ of PORTAL servers return PORTAL agreements INFO messages;
    Wherein, the value of the type field of the ACK_INFO messages is that the value of 10, AttrType fields is 8, AttrValue fields In include by the access server groove number, pilot trench number, port numbers form port information, the WiFi terminal access Vlan information.
CN201310170075.XA 2013-05-10 2013-05-10 A kind of method and system to the real-time positioning of WiFi terminal Active CN104144491B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310170075.XA CN104144491B (en) 2013-05-10 2013-05-10 A kind of method and system to the real-time positioning of WiFi terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310170075.XA CN104144491B (en) 2013-05-10 2013-05-10 A kind of method and system to the real-time positioning of WiFi terminal

Publications (2)

Publication Number Publication Date
CN104144491A CN104144491A (en) 2014-11-12
CN104144491B true CN104144491B (en) 2017-12-29

Family

ID=51853537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310170075.XA Active CN104144491B (en) 2013-05-10 2013-05-10 A kind of method and system to the real-time positioning of WiFi terminal

Country Status (1)

Country Link
CN (1) CN104144491B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378378A (en) * 2014-11-25 2015-02-25 福建三元达通讯股份有限公司 Authentication method and system
CN104821940A (en) * 2015-04-16 2015-08-05 京信通信技术(广州)有限公司 Method and equipment for sending portal redirected address
CN105407156A (en) * 2015-11-23 2016-03-16 北京百度网讯科技有限公司 Method and device for positioning through client
CN105979521B (en) * 2016-06-23 2019-07-16 福建富士通信息软件有限公司 The method of fat or thin WiFi AP unaware certification free Internet access
CN106412972A (en) * 2016-10-25 2017-02-15 上海斐讯数据通信技术有限公司 Method and system for locating wireless AP (access point)
CN111836360B (en) * 2020-07-27 2022-07-19 海口亿游网络科技有限公司 Positioning method and system based on WiFi

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873329A (en) * 2010-06-29 2010-10-27 迈普通信技术股份有限公司 Portal compulsory authentication method and access equipment
EP2437557A1 (en) * 2010-09-30 2012-04-04 British Telecommunications Public Limited Company System and method for determing device location in a communications system
CN102447709A (en) * 2012-01-17 2012-05-09 神州数码网络(北京)有限公司 Access authority control method and system based on DHCP (Dynamic host configuration protocol) and 802.1x
CN102572689A (en) * 2011-12-30 2012-07-11 上海顶竹通讯技术有限公司 Mobile terminal locating system and method
CN102638470A (en) * 2012-04-20 2012-08-15 姜宁 WIFI (wireless fidelity) internet surfing filtering method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873329A (en) * 2010-06-29 2010-10-27 迈普通信技术股份有限公司 Portal compulsory authentication method and access equipment
EP2437557A1 (en) * 2010-09-30 2012-04-04 British Telecommunications Public Limited Company System and method for determing device location in a communications system
CN102572689A (en) * 2011-12-30 2012-07-11 上海顶竹通讯技术有限公司 Mobile terminal locating system and method
CN102447709A (en) * 2012-01-17 2012-05-09 神州数码网络(北京)有限公司 Access authority control method and system based on DHCP (Dynamic host configuration protocol) and 802.1x
CN102638470A (en) * 2012-04-20 2012-08-15 姜宁 WIFI (wireless fidelity) internet surfing filtering method

Also Published As

Publication number Publication date
CN104144491A (en) 2014-11-12

Similar Documents

Publication Publication Date Title
CN104144491B (en) A kind of method and system to the real-time positioning of WiFi terminal
CN111901135B (en) Data analysis method and device
US9374840B2 (en) Verification method for the verification of a connection request from a roaming mobile entity
TWI525447B (en) Dynamic account creation with secured hotspot network
CN104540185B (en) A kind of method, access gateway and access control equipment accessing network
CN102739455B (en) A kind of method of network equipments configuration and device
US20240196214A1 (en) Facilitating Residential Wireless Roaming Via VPN Connectivity Over Public Service Provider Networks
CN105025044A (en) Device control method and device control system
KR20210044831A (en) Session management method and device for user group
CN103873449B (en) Method for network access and system
CN103297968B (en) A kind of method, equipment and the system of wireless terminal certification
CN103297967A (en) Method, device and system for user authentication in access of wireless local area network
CN103716213A (en) Method for operation in fixed access network and method for operation in user equipment
CN105307170A (en) Communication system, connection control apparatus, mobile terminal, base station control method, service request method, and program
Xu et al. Exploiting hotspot-2.0 for traffic offloading in mobile networks
CN107135506A (en) A kind of portal authentication methods, apparatus and system
CN105306417B (en) A kind of network data distributing method and network system based on super router
CN104168564B (en) Authentication method and device based on GPRS network and integrated identification network
CN106941680A (en) Base station monitoring method, terminal, vpn server and system
US20210067505A1 (en) Sensor certificate lifecycle manager for access authentication for network management systems
CN105530633B (en) Realize method, system and the equipment of WiFi access service
CN109962917A (en) Authentication information processing method and equipment, system, storage medium
CN105262767B (en) Support the advertisement route system and its authentication method of multiple and different merchant advertisement push
Gilani et al. Mobility scenarios into future wireless access network
CN112019648A (en) Method and system for automatically configuring IP of wireless communication network

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