CN104144491A - Method and system used for positioning WiFi terminal in real time - Google Patents

Method and system used for positioning WiFi terminal in real time Download PDF

Info

Publication number
CN104144491A
CN104144491A CN201310170075.XA CN201310170075A CN104144491A CN 104144491 A CN104144491 A CN 104144491A CN 201310170075 A CN201310170075 A CN 201310170075A CN 104144491 A CN104144491 A CN 104144491A
Authority
CN
China
Prior art keywords
wifi terminal
access
access server
server
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.)
Granted
Application number
CN201310170075.XA
Other languages
Chinese (zh)
Other versions
CN104144491B (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 method and system used for positioning a WiFi terminal in real time. A PORTAL server receives an HTTP access request sent by the WiFi terminal, an access server to which the WiFI terminal has access is recognized according to the IP address of the WIFI terminal, wireless access point AP equipment to which the WiFi terminal has access to is determined according to the access server and access server port and VLAN information fed back by the access server, and real-time positioning of the WiFi terminal is achieved according to the deploying position of the AP equipment. The method and system can reversely recognize the uplink of a WiFi user, and build a unique correspondence relationship with whole web AP equipment by using logic link information composed of the three elements of the access server, an access server port and an AP service VLAN, position the WiFi user accurately in real time, do not need any application software installed on the terminal and have no special requirements of a bearer network, thereby being high in adaptability, and capable of actually improving the WiFi positioning capacity and service coverage range of relevant services of a telecom operator.

Description

A kind of to the WiFi terminal method and system of location in real time
Technical field
The present invention relates to mobile positioning technique field, relate in particular to a kind of to the WiFi terminal method and system of location in real time.
Background technology
User's space position location services in moving communicating field has been widely used in the socio-economic activitys such as traffic, mobile e-business, Emergency Assistance, becomes the most potential current mobile Internet business.At present conventional GPS (GPS (Global Position System)) positioning service is subject to the restriction of its know-why, is only applicable to the outdoor spacious region such as desert, ocean, for common poor effect of application scenarios in city such as indoor, housing-group close quarterses.
Along with the construction in WiMAX city and popularizing of user WiFi terminal, WiFi network has been widely deployed in indoor, outdoor traffic hotspots region, city.WiFi technology has become the main access means of current mobile Internet business.If utilize the radio communication between WiFi terminal and WiFi network to be connected, measure quickly and accurately user's locus, positioning service demand that will greatly convenient user; In addition, can effectively make up GPS and be positioned at the application restric-tion under building dense or indoor scene, expand application industry and the scope of positioning service; Meanwhile, also, by breaking through the predicament of current WiFi value-added service development, effectively promote the development in WiFi network and WiMAX city.
At present disclosed to WiFi user's real-time location method, general employing installed specific application software at WiFi user terminal, detect, collect periphery WiFi base station (being AP) information by this application software, and determine customer location after reporting background system analyzing and processing, the method is not suitable for the WiFi user that position application software is not installed.Or adopt special protocol fields to transmit subscriber line circuit information to realize WiFi user location to network system, the method requires all devices support of WiFi network and transmits these special protocol fields according to unified coded format, but the network system of telecom operators is made up of many producers, polymorphic type equipment, there is support and the compatibling problem of equipment.
Therefore, existing disclosed WiFi user's real-time location method has particular arrangement requirement to user terminal or bearer network, poor for applicability, has larger limitation in practical application, is unsuitable for extensive use.
Summary of the invention
In view of this, the technical problem that the present invention will solve is to provide a kind of to the WiFi terminal method of location in real time, can be by WiFi terminal being positioned according to the position of AP equipment.
To a WiFi terminal method for location in real time, comprising: PORTAL server receives the HTTP access request that WiFi terminal sends; Described PORTAL server, according to the IP address of described WiFi terminal, identifies the access server of described WiFi terminal access; Described PORTAL server sends query message to described access server, inquires about access server port and the vlan information of described WiFi terminal access; Described PORTAL server is according to described access server, and described access server the access server port, the vlan information that return, determine the wireless access point AP equipment of described WiFi terminal access, and realize the location to described WiFi terminal according to the deployed position of described AP equipment; Wherein, logical links information and the AP of access server, access server port, vlan information (being AP service VLAN) element composition set up only one-to-one correspondence.
According to one embodiment of the method for the invention, further, different access servers is configured to different IP address fields, and each IP address field non-overlapping copies; A service VLAN of an AP configuration; Access server has one or more ports, and each AP under same access server port is distributed to mutually different service VLAN.
According to one embodiment of the method for the invention, further, described WiFi terminal access AP, submits IP application IP addresses according to DHCP agreement to described access server by AP; Described access server is according to DHCP agreement, by AP to described WiFi terminal distribution IP address; Described WiFi terminal obtains behind IP address, and input network address is submitted HTTP online request to by AP; In the time that described access server judges this WiFi user not by business authentication, described access server sends and is redirected instruction to described WiFi terminal; Described WiFi terminal is received after described redirected instruction, submits HTTP online request to described PORTAL server.
According to one embodiment of the method for the invention, further, described PORTAL server receives the HTTP online request that described WiFi terminal sends, the IP address that obtains described WiFi terminal; The IP address field that described PORTAL server belongs to according to the IP address of described WiFi terminal, identifies the described access server that described WiFi terminal accesses; Described PORTAL server sends query message to described access server; Wherein, described query message comprises the IP address of described WiFi terminal; Described access server returns to Query Result message to described PORTAL server; Described Query Result message comprises: the port information being made up of the groove of described access server number, pilot trench number, port numbers, the vlan information (being AP service VLAN) of described WiFi terminal access; Described PORTAL server, according to access server, access server port, the vlan information of described WiFi terminal access, is determined the AP equipment of described WiFi terminal access, realizes the location to described WiFi terminal; Described PORTAL server pushes the forcible authentication page to described WiFi terminal, and user name, password are inputted in prompting, carry out business authentication.
According to one embodiment of the method for the invention, further, described PORTAL server sends the REQ_INFO message of PORTAL agreement to described access server; Wherein, in described REQ_INFO message, carry the IP address of described WiFi terminal; And the value of the type field in described REQ_INFO message is 9, the value of AttrType field is 8; Described access server, according to described REQ_INFO message information, returns to the ACK_INFO message of PORTAL agreement to PORTAL server; Wherein, the value of the type field of described ACK_INFO message is 10, the value of AttrType field is in 8, AttrValue field, to comprise the port information being made up of the groove of described access server number, pilot trench number, port numbers, the vlan information of described WiFi terminal access.
The technical problem that the present invention will solve is to provide a kind of to the WiFi terminal system of location in real time, can be by WiFi terminal being positioned according to the position of AP equipment.
To a WiFi terminal system for location in real time, comprising: PORTAL server, access server and wireless access point AP equipment; Described PORTAL server receives the HTTP access request that WiFi terminal sends, and according to the IP address of described WiFi terminal, identifies the access server of described WiFi terminal access; Described PORTAL server sends query message to described access server, inquires about access server port and the vlan information of described WiFi terminal access; Described PORTAL server is according to described access server, and described access server the access server port, the vlan information that return, determine the wireless access point AP equipment of described WiFi terminal access, and realize the location to described WiFi terminal according to the deployed position of described AP equipment; Wherein, logical links information and the AP of access server, access server port, vlan information (being AP service VLAN) element composition set up only one-to-one correspondence.
According to system of the present invention embodiment, further, different access servers is configured to different IP address fields, and each IP address field non-overlapping copies; A service VLAN of an AP configuration; Access server has one or more ports, and each AP under same access server port is distributed to mutually different service VLAN.
According to system of the present invention embodiment, further, described WiFi terminal access AP, submits IP application IP addresses according to DHCP agreement to described access server by AP; Described access server is according to DHCP agreement, by AP to described WiFi terminal distribution IP address; Described WiFi terminal obtains behind IP address, and input network address is submitted HTTP online request to by AP; In the time that described access server judges this WiFi user not by business authentication, described access server sends and is redirected instruction to described WiFi terminal; Described WiFi terminal is received after described redirected instruction, submits HTTP online request to described PORTAL server.
According to system of the present invention embodiment, further, described PORTAL server receives the HTTP online request that described WiFi terminal sends, the IP address that obtains described WiFi terminal; The IP address field that described PORTAL server belongs to according to the IP address of described WiFi terminal, identifies the described access server that described WiFi terminal accesses; Described PORTAL server sends query message to described access server; Wherein, described query message comprises the IP address of described WiFi terminal; Described access server returns to Query Result message to described PORTAL server; Described Query Result message comprises: the port information being made up of the groove of described access server number, pilot trench number, port numbers, the vlan information (being AP service VLAN) of described WiFi terminal access; Described PORTAL server, according to access server, access server port, the vlan information of described WiFi terminal access, is determined the AP equipment of described WiFi terminal access, realizes the location to described WiFi terminal; Described PORTAL server pushes the forcible authentication page to described WiFi terminal, and user name, password are inputted in prompting, carry out business authentication.
According to system of the present invention embodiment, further, described PORTAL server sends the REQ_INFO message of PORTAL agreement to described access server; Wherein, in described REQ_INFO message, carry the IP address of described WiFi terminal; And the value of the type field in described REQ_INFO message is 9, the value of AttrType field is 8; Described access server, according to described REQ_INFO message information, returns to the ACK_INFO message of PORTAL agreement to PORTAL server; Wherein, the value of the type field of described ACK_INFO message is 10, the value of AttrType field is in 8, AttrValue field, to comprise the port information being made up of the groove of described access server number, pilot trench number, port numbers, the vlan information of described WiFi terminal access.
Of the present invention to the WiFi terminal method and system of location in real time, can be by WiFi terminal being positioned according to the position of AP equipment, force PORTAL authentication method by improving WiFi, increase Signalling exchange and analysis between PORTAL server and access server, reversal of identification goes out WiFi user's upper level link, and utilize the unique corresponding relation of setting up between the logical links information of access server, access server port, AP service VLAN element composition and the whole network AP equipment, locate in real time, exactly WiFi user.Without user terminal, any application software is installed, to bearer network, also without particular/special requirement, therefore applicability is strong, can conscientiously improve the WiFi stationkeeping ability of telecom operators and the Service coverage of related service thereof.
Description of the invention provides for example with for the purpose of describing, and is not exhaustively or limit the invention to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.Selecting and describing embodiment is for better explanation principle of the present invention and practical application, thereby and makes those of ordinary skill in the art can understand the present invention's design to be suitable for the various embodiment with various amendments of special-purpose.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is to the WiFi terminal flow chart of an embodiment of the method for location in real time according to of the present invention;
Fig. 2 is to the WiFi terminal Signalling exchange flow chart of another embodiment of the method for location in real time according to of the present invention;
Fig. 3 A is according to the Signalling exchange schematic diagram in another embodiment of the method that WiFi terminal is located in real time of the present invention;
Fig. 3 B is mutual used portal protocol message format schematic diagram between Portal server and access server;
Fig. 4 is to the WiFi terminal schematic diagram of an embodiment of the system of location in real time according to of the present invention.
Embodiment
With reference to the accompanying drawings the present invention is described more fully, exemplary embodiment of the present invention is wherein described.Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Wi-Fi is that one can be by terminals such as PC, handheld devices (as PDA, mobile phone) with the interconnected technology of wireless mode, the English full name of Wi-Fi is wireless fidelity, refer to " wireless compatibility certification " at WLAN (wireless local area network) category, be in fact a kind of commercial verification, be also a kind of Wireless Networking technology simultaneously.Wi-Fi online can simply be interpreted as wireless Internet access, in fact exactly cable network signal is converted to wireless signal, and online is very easy to realize.
Fig. 1 is to the WiFi terminal flow chart of an embodiment of the method for location in real time according to of the present invention.As shown in Figure 1:
Step 101, PORTAL server receives the HTTP access request that WiFi terminal sends.
Step 102, PORTAL server, according to the IP address of WiFi terminal, identifies the access server of WiFi terminal access.
Step 103, PORTAL server sends query message to access server, access server port and the vlan information of the access of inquiry WiFi terminal;
Step 104, PORTAL server is according to access server, and this access server the access server port, the vlan information that return, determine the wireless access point AP equipment of WiFi terminal access, and realize the location to WiFi terminal according to the deployed position of AP equipment.
Logical links information and the AP of access server, access server port, vlan information (being AP service VLAN) element composition set up only one-to-one correspondence.The memory device that corresponding relation can be stored in PORTAL server or other PORTAL server can be accessed.
According to one embodiment of present invention, different access servers is configured to different IP address fields, and each IP address field non-overlapping copies.
A service VLAN of an AP configuration.Access server has one or more ports, and each AP under same access server port is distributed to mutually different service VLAN.
WiFi terminal refers to the equipment with WiFi function, comprising: intelligent terminal, desktop computer, notebook computer, panel computer etc.
VLAN(Virtual Local Area Network) Chinese by name " VLAN ", VLAN by lan device from being divided in logic the network segment one by one.
Portal is the meaning of entrance in English, and Portal authenticates conventionally also referred to as web authentication, generally Portal authentication website is called to portal website.When unauthenticated user online, equipment force users signs in to particular station, and user can free access service wherein.In the time that user need to use the out of Memory in the Internet, must authenticate in portal website, only have certification by the rear Internet resources that just can use.
Portal server is the service end system of accepting client certificate request in Portal networking, and free portal service and the interface based on WEB certification are provided, with the identity information of the access server equipment interactive authentication client such as BAS.
AP(Access Point, wireless access node, session point) not only comprise pure WAP (wireless access point) (wireless aps), also comprise the kind equipments such as wireless router (containing radio network gateway, wireless bridge), provide wireless stations to cable LAN and the access to wireless stations from cable LAN, the wireless stations in access points coverage can intercom mutually by it.
Due to AP transmitting power lower (indoor AP transmitting power is generally 100 milliwatts), to effective covering radius of user less (especially in indoor situation), be generally 10 meters of left and right (even less).Therefore, according to the method that provides of invention, orient real-time and accurately the AP that user accesses, just can, according to AP deployed position and with the radius of 10 meters around it, calculate the customer location of WiFi.
Logical links information and the whole network AP equipment of access server, access server port, AP service VLAN element composition are set up unique corresponding relation by localization method of the present invention.In the time that WiFi user accesses the Internet by arbitrary access server, the WiFi user data wherein not yet authenticating is forwarded to PORTAL server by access server, PORTAL server identifies according to IP address the access server that it connects, again by with the Signalling exchange of this access server, identify access server port and vlan information (being AP service VLAN) that this user uses, thereby form complete logical links information, and identify according to corresponding relation the AP that this user accesses, according to the deployed position of AP that this user accesses (as longitude and latitude etc.), orient in real time this user.
Each step of localization method of the present invention all can complete in real time, therefore can realize WiFi user's real-time location, and each step of method of the present invention all realizes on PORTAL server and access server, therefore, the technology of the present invention and WiFi user terminal and bearer network are irrelevant.
Method of the present invention can just complete in real time, exactly location before WiFi user accesses the Internet, and without user terminal, any application software is installed, to bearer network, also without any particular/special requirement, therefore applicability is strong, can conscientiously improve the WiFi positioning service scope of telecom operators.
Fig. 2 is to the WiFi terminal Signalling exchange flow chart of another embodiment of the method for location in real time according to of the present invention.As shown in Figure 2:
Step 201, WiFi terminal access AP, submits IP application IP addresses according to DHCP agreement to access server by AP.
Step 202 access server is according to DHCP agreement, by AP to WiFi terminal distribution IP address.
Step 203, WiFi terminal obtains behind IP address, and input network address is submitted HTTP online request to by AP.
Step 204, in the time that access server judges this WiFi user not by business authentication, access server sends and is redirected instruction to WiFi terminal.Utilize and force PORTAL authentication techniques, this HTTP request is redirected to PORTAL server.
Step 205, WiFi terminal is received and is redirected after instruction, resubmits HTTP request, and destination address using PORTAL server as HTTP message.
Step 206, PORTAL server receives the HTTP online request that WiFi terminal sends, the IP address that obtains WiFi terminal.
Step 207, the IP address field that PORTAL server belongs to according to the IP address of WiFi terminal, identifies the access server that WiFi terminal accesses.
Step 208, PORTAL server sends query message to access server.Wherein, query message comprises the IP address of WiFi terminal.
Step 209, access server returns to Query Result message to PORTAL server.Query Result message comprises: the access server side message breath being made up of groove number, pilot trench number, port numbers, the vlan information of WiFi terminal access.
Step 210, PORTAL server, according to access server, access server port and the vlan information (being AP service VLAN) of the access of WiFi terminal, is determined the AP equipment of WiFi terminal access, realizes the location to WiFi terminal.
Step 211, PORTAL server pushes the forcible authentication page to WiFi terminal, and user name, password are inputted in prompting, carry out business authentication.
When forced portal/compulsory portal authentication techniques refer to unauthenticated user online, access server is by redirecting technique, and force users is accessed Portal server, and Portal server pushes the forcible authentication page to user.
User enters the business authentication stage by Portal server subsequently, and after certification is passed through, just can use Internet resources.
Localization method of the present invention can just complete the operation of real-time location before WiFi user carries out business authentication, and does not affect WiFi user's business authentication, charging and internet access operation subsequently.
Fig. 3 A is according to the Signalling exchange schematic diagram in another embodiment of the method that WiFi terminal is located in real time of the present invention.Between PORTAL server and access server, according to PORTAL agreement, carry out data message real-time, interactive, can identify thus access server port and AP service VLAN that WiFi user connects.
Fig. 3 B is mutual used portal protocol message format schematic diagram between Portal server and access server.Critical field to the portal protocol message in Fig. 3 B is described as follows:
Ver: protocol version.
Type: type of message.Defined the portal protocol type of message of tens kinds, the type of message of wherein using in the present invention is as follows:
In the time of Type=0x09, this message is expressed as the message of REQ_INFO type, and direction of transfer is that PORTAL server is to access server;
In the time of Type=0x0a, this message is expressed as the message of ACK_INFO type, and direction of transfer is that access server is to PORTAL server.
UserIP: by inquiry user's IP, i.e. " the IP address of WiFi terminal " in the present invention.
Attr: message attribute field, variable length, is formed by connecting by multiple attributes.
Each attribute adopts TLV form: AttrType-AttrLen-AttrValue.
Wherein, the type that AttrType is this attribute field, the length that AttrLen is this attribute field, the value that AttrValue is this attribute field.
According to one embodiment of present invention, when Type=0x09(REQ_INFO message) or 0x0a(ACK_INFO message) time, AttrType=8.The difference of two kinds of messages is,
For Type=0x09(REQ_INFO message), AttrValue field value is empty;
For Type=0x0a(ACK_INFO message), the information such as VLAN of the groove that AttrValue field value comprises inquired about access server number, pilot trench number, port numbers, the user that inquires.
Step 31, PORTAL server initiatively sends REQ_INFO message, the IP address of carrying institute's inquiring user in this message to access server.The type field (the being type of message) value of this PORTAL agreement REQ_INFO message is that 9, AttrType field (being attribute type) value is 8, represents to inquire about to access server the port information that this user accesses.
Step 32, access server is according to received REQ_INFO message information, to PORTAL server feedback ACK_INFO message.Now, the type field (the being type of message) value of this PORTAL agreement ACK_INFO message is that 10, AttrType field (being attribute type) value is 8, represents the port information inquiry request of access server response PORTAL server.And containing the port information of inquiry to some extent, comprise access server physical port (groove number, pilot trench number, port numbers) and vlan information (i.e. the service VLAN of AP that this WiFi user connects) in the AttrValue field of ACK_INFO message (being property value).
Fig. 4 is to the WiFi terminal schematic diagram of an embodiment of the system of location in real time according to of the present invention.As shown in Figure 4: to WiFi terminal in real time the system of location comprise: a set of PORTAL server 41, many access servers 42,43 and multiple wireless access point AP equipment 44,45,46,47.
In the system of according to one embodiment of present invention, WiFi terminal being located in real time, dispose a set of PORTAL server and Duo Tai access server.Wherein, every access server has multiple ports (identifying by groove number, pilot trench number, port numbers).WiFi user terminal access AP, then converge after flow via Access Network (being formed by switch, passive optical network local side apparatus OLT etc.), be above linked to a certain access server port.Access server is responsible for WiFi user's IP address assignment.
According to one embodiment of present invention, different access servers configure different IP address sections, and each IP address field non-overlapping copies.Thereby the IP address field that can belong to according to IP address, identifies the access server that this user connects.
A service VLAN of AP configuration, and the service VLAN of each AP under identical access server port is different.Thereby, can be according to AP service VLAN, identify the different AP equipment under identical access server port.
By above-mentioned configuration, form by access server, access server port, the corresponding relation that the logical links information of AP service VLAN element composition and the whole network AP equipment are unique, can identify connected access server according to WiFi IP address, and and then analyze used access server port (by groove number, pilot trench number, three part compositions of port numbers), AP service VLAN, and according to the logical links information of this element composition, identify AP equipment and deployed position (as longitude and latitude etc.) thereof that WiFi user accesses, realize WiFi user location.
According to one embodiment of present invention, PORTAL server 41 receives the HTTP access request that WiFi terminal 40 sends, and according to the IP address of WiFi terminal 40, identifies the access server 42 that WiFi terminal 40 accesses.
PORTAL server 41 sends query message to access server 42, access server port and the vlan information of the access of inquiry WiFi terminal; Access server port and vlan information that PORTAL server 41 returns according to access server 42 and access server 42, determine the wireless access point AP equipment 45 of WiFi terminal access, and realize the location to WiFi terminal 40 according to the deployed position of AP equipment 45.
According to one embodiment of present invention, WiFi terminal 40 accesses AP45, submits IP application IP addresses to by AP45 according to DHCP agreement to access server 42.
Access server 42 is according to DHCP agreement, by AP45 to WiFi terminal 40 distributing IP addresses.WiFi terminal 40 obtains behind IP address, and input network address is submitted HTTP online request to by AP45.
In the time that access server 42 judges this WiFi user not by business authentication, access server 42 sends and is redirected instruction to WiFi terminal 40.WiFi terminal 40 is received and is redirected after instruction, again submits HTTP online request to PORTAL server 41.
PORTAL server 41 receives the HTTP online request that WiFi terminal 40 sends, the IP address that obtains WiFi terminal 40.The IP address field that PORTAL server 41 belongs to according to the IP address of WiFi terminal 40, identifies the access server 42 that WiFi terminal 40 accesses.
PORTAL server 41 sends query message to access server 42.Wherein, query message comprises the IP address of WiFi terminal 40.Access server 42 returns to Query Result message to PORTAL server 41.Query Result message comprises: the port information of the access server 42 being made up of groove number, pilot trench number, port numbers, the vlan information of WiFi terminal access.
The access server 42 that PORTAL server 41 accesses according to WiFi terminal 40, the port of access server 42 are (wherein, groove number is that a1, pilot trench number are that b1, port numbers are c1) and vlan information, determine the AP equipment 45 of WiFi terminal access, realize the location to WiFi terminal 40.PORTAL server 41 pushes the forcible authentication page to WiFi terminal 40, and user name, password are inputted in prompting, carry out business authentication.
According to one embodiment of present invention, PORTAL server 41 sends the REQ_INFO message of PORTAL agreement to access server 42.Wherein, in REQ_INFO message, carry the IP address of WiFi terminal 40.And the value of the type field in REQ_INFO message is 9, the value of AttrType field is 8.
Access server 42, according to REQ_INFO message information, returns to the ACK_INFO message of PORTAL agreement to PORTAL server 41.Wherein, the value of the type field of ACK_INFO message is that the value of 10, AttrType field is the port information that comprises the access server 42 being made up of groove a1, pilot trench b1, port numbers c1 in 8, AttrValue field, the vlan information of WiFi terminal access.
Of the present invention to the WiFi terminal method and system of location in real time, can be by WiFi terminal being positioned according to the position of AP equipment, force PORTAL authentication method by improving WiFi, increase Signalling exchange and analysis between PORTAL server and access server, reversal of identification goes out WiFi user's upper level link, and utilize the unique corresponding relation of setting up between the logical links information of access server, access server port, AP service VLAN element composition and the whole network AP equipment, locate in real time, exactly WiFi user.
Overcome the limitation (application software is installed or bearer network is carried out to particular arrangement etc. as required user terminal) of existing WiFi location technology, only by Signalling exchange and analysis between PORTAL server and access server, just can locate WiFi user in real time, exactly, the value-added service that makes telecom operators can effectively utilize existing network to provide position-based to serve for common WiFi user.
May realize in many ways method and system of the present invention.For example, can realize method and system of the present invention by any combination of software, hardware, firmware or software, hardware, firmware.The said sequence that is used for the step of method is only in order to describe, and the step of method of the present invention is not limited to above specifically described order, unless otherwise specified.In addition, in certain embodiments, can be also the program being recorded in recording medium by the invention process, these programs comprise the machine readable instructions for realizing the method according to this invention.Thereby the present invention also covers the recording medium of storing the program for carrying out the method according to this invention.

Claims (10)

1. to a WiFi terminal method for location in real time, it is characterized in that, comprising:
PORTAL server receives the HTTP access request that WiFi terminal sends;
Described PORTAL server, according to the IP address of described WiFi terminal, identifies the access server of described WiFi terminal access;
Described PORTAL server sends query message to described access server, inquires about access server port, the vlan information of described WiFi terminal access;
Described PORTAL server is according to described access server, and described access server the access server port, the vlan information that return, determine the wireless access point AP equipment of described WiFi terminal access, and realize the location to described WiFi terminal according to the deployed position of described AP equipment;
Wherein, logical links information and the AP of access server, access server port, service VLAN element composition set up only one-to-one correspondence.
2. the method for claim 1, is characterized in that:
Different access servers is configured to different IP address fields, and each IP address field non-overlapping copies;
A service VLAN of an AP configuration;
Access server has one or more ports, and each AP under same access server port is distributed to mutually different service VLAN.
3. method as claimed in claim 2, is characterized in that:
Described WiFi terminal access AP, submits IP application IP addresses according to DHCP agreement to described access server by AP;
Described access server is according to DHCP agreement, by AP to described WiFi terminal distribution IP address;
Described WiFi terminal obtains behind IP address, and input network address is submitted HTTP online request to by AP;
In the time that described access server judges this WiFi user not by business authentication, described access server sends and is redirected instruction to described WiFi terminal;
Described WiFi terminal is received after described redirected instruction, submits HTTP online request to described PORTAL server.
4. method as claimed in claim 3, is characterized in that:
Described PORTAL server receives the HTTP online request that described WiFi terminal sends, the IP address that obtains described WiFi terminal;
The IP address field that described PORTAL server belongs to according to the IP address of described WiFi terminal, identifies the described access server that described WiFi terminal accesses;
Described PORTAL server sends query message to described access server; Wherein, described query message comprises the IP address of described WiFi terminal;
Described access server returns to Query Result message to described PORTAL server; Described Query Result message comprises: the port information being made up of the groove of described access server number, pilot trench number, port numbers, the vlan information of described WiFi terminal access;
Described PORTAL server, according to access server, access server port, the vlan information of described WiFi terminal access, is determined the AP equipment of described WiFi terminal access, realizes the location to described WiFi terminal;
Described PORTAL server pushes the forcible authentication page to described WiFi terminal, and user name, password are inputted in prompting, carry out business authentication.
5. method as claimed in claim 4, is characterized in that:
Described PORTAL server sends the REQ_INFO message of PORTAL agreement to described access server;
Wherein, in described REQ_INFO message, carry the IP address of described WiFi terminal; And the value of the type field in described REQ_INFO message is 9, the value of AttrType field is 8;
Described access server, according to described REQ_INFO message information, returns to the ACK_INFO message of PORTAL agreement to PORTAL server;
Wherein, the value of the type field of described ACK_INFO message is 10, the value of AttrType field is in 8, AttrValue field, to comprise the port information being made up of the groove of described access server number, pilot trench number, port numbers, the vlan information of described WiFi terminal access.
6. to a WiFi terminal system for location in real time, it is characterized in that, comprising:
PORTAL server, access server and wireless access point AP equipment;
Described PORTAL server receives the HTTP access request that WiFi terminal sends, and according to the IP address of described WiFi terminal, identifies the access server of described WiFi terminal access;
Described PORTAL server sends query message to described access server, inquires about access server port, the vlan information of described WiFi terminal access;
Described PORTAL server is according to described access server, and described access server the access server port, the vlan information that return, determine the wireless access point AP equipment of described WiFi terminal access, and realize the location to described WiFi terminal according to the deployed position of described AP equipment;
Wherein, logical links information and the AP of access server, access server port, service VLAN element composition set up only one-to-one correspondence.
7. system as claimed in claim 6, is characterized in that:
Different access servers is configured to different IP address fields, and each IP address field non-overlapping copies; A service VLAN of an AP configuration;
Access server has one or more ports, and each AP under same access server port is distributed to mutually different service VLAN.
8. system as claimed in claim 7, is characterized in that:
Described WiFi terminal access AP, submits IP application IP addresses according to DHCP agreement to described access server by AP;
Described access server is according to DHCP agreement, by AP to described WiFi terminal distribution IP address;
Described WiFi terminal obtains behind IP address, and input network address is submitted HTTP online request to by AP;
In the time that described access server judges this WiFi user not by business authentication, described access server sends and is redirected instruction to described WiFi terminal;
Described WiFi terminal is received after described redirected instruction, submits HTTP online request to described PORTAL server.
9. system as claimed in claim 8, is characterized in that:
Described PORTAL server receives the HTTP online request that described WiFi terminal sends, the IP address that obtains described WiFi terminal;
The IP address field that described PORTAL server belongs to according to the IP address of described WiFi terminal, identifies the described access server that described WiFi terminal accesses;
Described PORTAL server sends query message to described access server; Wherein, described query message comprises the IP address of described WiFi terminal;
Described access server returns to Query Result message to described PORTAL server; Described Query Result message comprises: the port information being made up of the groove of described access server number, pilot trench number, port numbers, the vlan information of described WiFi terminal access;
Described PORTAL server, according to access server, access server port, the vlan information of described WiFi terminal access, is determined the AP equipment of described WiFi terminal access, realizes the location to described WiFi terminal;
Described PORTAL server pushes the forcible authentication page to described WiFi terminal, and user name, password are inputted in prompting, carry out business authentication.
10. system as claimed in claim 9, is characterized in that:
Described PORTAL server sends the REQ_INFO message of PORTAL agreement to described access server;
Wherein, in described REQ_INFO message, carry the IP address of described WiFi terminal; And the value of the type field in described REQ_INFO message is 9, the value of AttrType field is 8;
Described access server, according to described REQ_INFO message information, returns to the ACK_INFO message of PORTAL agreement to PORTAL server;
Wherein, the value of the type field of described ACK_INFO message is 10, the value of AttrType field is in 8, AttrValue field, to comprise the port information being made up of the groove of described access server number, pilot trench number, port numbers, the vlan information of described WiFi terminal access.
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 true CN104144491A (en) 2014-11-12
CN104144491B 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)

Cited By (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
CN105979521A (en) * 2016-06-23 2016-09-28 福建富士通信息软件有限公司 Method for no-perception authentication free Internet access of fat WiFi AP and thin WiFi AP
CN106412972A (en) * 2016-10-25 2017-02-15 上海斐讯数据通信技术有限公司 Method and system for locating wireless AP (access point)
CN111836360A (en) * 2020-07-27 2020-10-27 海口亿游网络科技有限公司 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

Cited By (8)

* 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
CN105979521A (en) * 2016-06-23 2016-09-28 福建富士通信息软件有限公司 Method for no-perception authentication free Internet access of fat WiFi AP and thin WiFi AP
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)
CN111836360A (en) * 2020-07-27 2020-10-27 海口亿游网络科技有限公司 Positioning method and system based on WiFi
CN111836360B (en) * 2020-07-27 2022-07-19 海口亿游网络科技有限公司 Positioning method and system based on WiFi

Also Published As

Publication number Publication date
CN104144491B (en) 2017-12-29

Similar Documents

Publication Publication Date Title
US10840996B2 (en) Repeating method of wireless repeating device, and wireless repeating device
Yasmin et al. On the integration of LoRaWAN with the 5G test network
CN105228213B (en) A kind of method and apparatus that mobile device is relayed
CN105375970B (en) A kind of method and apparatus that mobile device is relayed
CN104144491A (en) Method and system used for positioning WiFi terminal in real time
US8611358B2 (en) Mobile network traffic management
US8665849B2 (en) Methods and systems for implementing inter-network roam, querying and attaching network
CN102055816A (en) Communication method, business server, intermediate equipment, terminal and communication system
CN105306612A (en) Method for acquiring identifier of terminal in network and management network element
CN103716213A (en) Method for operation in fixed access network and method for operation in user equipment
CN113765874B (en) Private network and dual-mode networking method based on 5G mobile communication technology
CN104837136B (en) Wireless access authentication method and device
EP3182745A1 (en) Resource sharing method and resource sharing system
CN105307170A (en) Communication system, connection control apparatus, mobile terminal, base station control method, service request method, and program
JP2017528074A5 (en)
CN104683994A (en) Wireless network configuration method and wireless network devices
CN103442328B (en) A kind of method for controlling quality of service of internet-of-things terminal and system
CN103906055A (en) Service data distribution method and service data distribution system
CN108377499A (en) A kind of method for network access, routing device and terminal
US20110158172A1 (en) Method and device for enforcing internet users' geographical positioning traceability
CN104168564B (en) Authentication method and device based on GPRS network and integrated identification network
CN104378799A (en) User access method, device and system
CN105635148A (en) Portal authentication method and apparatus
CN111030914B (en) Data transmission method and data transmission system
CN117119463A (en) CPE security authentication method and system for 5G private 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