Movatterモバイル変換


[0]ホーム

URL:


CN110691324B - Method for positioning terminal by utilizing WLAN signal - Google Patents

Method for positioning terminal by utilizing WLAN signal
Download PDF

Info

Publication number
CN110691324B
CN110691324BCN201810733482.XACN201810733482ACN110691324BCN 110691324 BCN110691324 BCN 110691324BCN 201810733482 ACN201810733482 ACN 201810733482ACN 110691324 BCN110691324 BCN 110691324B
Authority
CN
China
Prior art keywords
terminal
information
server
hotspot
wlan
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
CN201810733482.XA
Other languages
Chinese (zh)
Other versions
CN110691324A (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.)
Individual
Original Assignee
Individual
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 IndividualfiledCriticalIndividual
Priority to CN201810733482.XApriorityCriticalpatent/CN110691324B/en
Publication of CN110691324ApublicationCriticalpatent/CN110691324A/en
Application grantedgrantedCritical
Publication of CN110691324BpublicationCriticalpatent/CN110691324B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The present application relates to a client-side method for performing terminal positioning and a server-side method for performing terminal positioning, and a system or apparatus employing these methods. The application is conceived to determine the accurate position of the first terminal by matching the current information (including the nearby WLAN hotspot information and the current position) acquired by the first terminal with the WLAN hotspot information record table stored at the server side. The method of the application solves the problem of indoor positioning difference of the terminal in a simple way.

Description

Method for positioning terminal by utilizing WLAN signal
Technical Field
The application belongs to the technical field of communication, and particularly relates to a method for positioning a terminal by using WLAN signals, in particular to a client side method and a server side method for positioning the terminal, and a system and equipment for operating the method.
Background
Terminal devices such as cellular phones and the like have a remote positioning function, and current positioning methods are various, such as positioning by GPS, positioning by a base station and the like, however, these methods are not suitable for indoor positioning because the indoor positioning obtained by these methods has at least the following drawbacks: the deviation is large, and the deviation can reach 200 meters; the floor on which the terminal is located cannot be determined. Some methods for indoor positioning (such as infrared indoor positioning technology, bluetooth indoor positioning technology, RFID indoor positioning technology, wi-fi indoor positioning technology) are also presented at present, but these methods require special hardware equipment to be designed, and even require expensive grid layout to be built, even though various disadvantages still remain. Accurate positioning of a terminal indoors is always a problem to be solved.
Disclosure of Invention
The application provides a method for positioning a terminal, wherein a server stores a WLAN hotspot information record table, and a terminal searching for a strong signal of a certain WLAN hotspot is set to be the position of the WLAN hotspot by means of the table, so that positioning deviation brought by the terminal through other positioning methods is corrected by the method. Embodiments of the present application overcome one or more of the shortcomings in the art.
Specifically, the present application includes the following:
embodiment 1. A client method for terminal positioning includes
The first terminal logs in to the server, opens the terminal WLAN connection device (i.e., wifi connection), becomes an online terminal,
The first terminal receives a hotspot information record table containing at least one hotspot information record from the server, wherein each hotspot information record comprises at least one of the following information: "WLAN hotspot name, corresponding mac address, geographic location information of WLAN hotspot", wherein each hotspot information record optionally comprises a record name;
The first terminal acquires current information, wherein the current information comprises at least one of the following information:
Geographical location information of a first terminal, and
At least one of the following information for WLAN hotspot devices in the vicinity of the first terminal with a signal strength above a threshold: "WLAN hotspot name, corresponding mac address",
The first terminal judges whether the WLAN hotspot equipment near the first terminal with the signal intensity higher than the threshold accords with one hotspot information record in the hotspot information record table, wherein the 'accords with one hotspot information record in the hotspot information record table' refers to that the current information contains 'WLAN hotspot names, corresponding mac addresses' of the WLAN hotspot equipment near the first terminal and at least one of geographic position information of the first terminal is the same as the corresponding 'WLAN hotspot names, corresponding mac addresses and geographic position information of the WLAN hotspots' in the hotspot information record.
Embodiment 2. The method according to embodiment 1, wherein the method further comprises, for a WLAN hotspot device near a first terminal that conforms to one hotspot information record in the hotspot information record table, the first terminal sending a hint information near the hotspot to a server, where the hint information near the hotspot includes "at least a portion of current information" and/or "at least a portion of the one hotspot information record".
Embodiment 3. The method of embodiment 1, wherein the method further comprises at least one of the following steps:
For WLAN hotspot equipment near a first terminal which accords with one hotspot information record in the hotspot information record table, the first terminal modifies the current position of the first terminal into the position of 'geographic position information of WLAN hotspot' in the hotspot information record; and
The first terminal enters a map interface, and obtains the distribution condition of the online terminals with the positions in the range shown by the map on the map from a server.
Embodiment 4. The method of embodiment 2 wherein the method further comprises the first terminal receiving information from the server for at least one second terminal, the second terminal being another online terminal that also conforms to the record of hotspot information.
Embodiment 5. The method according to embodiment 1, wherein the WLAN hotspot is a "wifi hotspot", and the WLAN connection device is a wifi connection device provided on the terminal.
Embodiment 6. The method according to embodiment 1, wherein the current information includes the same geographical location information of the first terminal as the corresponding "geographical location information of the WLAN hotspot" in the hotspot information record, which means that the difference in location between the two geographical location information is less than 500 meters, such as less than 300 meters, such as less than 200 meters, such as less than 100 meters, such as less than 80 meters, such as less than 50 meters, such as less than 20 meters.
Embodiment 7. The method of embodiment 1 wherein the WLAN hotspot device in the vicinity of the first terminal having a signal strength above the threshold is a WLAN hotspot device in the vicinity of the first terminal scanned by the first terminal via the terminal WLAN connection device, and has a signal strength greater than-50 dbm, such as greater than-65 dbm, or such as greater than-70 dbm.
Embodiment 8. The method of embodiment 4, wherein,
The first terminal sends an instruction to the server to wish to establish contact with at least one second terminal,
And the at least one second terminal receives a prompt sent by the server whether to agree to establish contact with the first terminal, and sends a message of agreeing or disagreeing to the server.
Embodiment 9. The method according to embodiment 1, wherein when the first terminal closes the WLAN connection device, the first terminal sends a message "close WLAN connection device" to the server.
Embodiment 10. The method of embodiment 8, wherein the first terminal sends an instruction to the server to obtain at least one of the invited feature information and at least a portion of the registration information of the at least one second terminal, and obtains at least one of the invited feature information and at least a portion of the registration information of the second terminal from the server.
Embodiment 11. The method according to embodiment 8, further comprising, when the first terminal sends an instruction to the server that it wants to establish a connection with the second terminal, the first terminal horizontally points to the second terminal to form a direction vector, acquires the direction vector formed by the first terminal, that is, a direction vector pointing from the first terminal to the second terminal, sends data related to the direction vector to the server,
The second terminal receives the data related to the direction vector from the server and obtains the opposite direction vector, i.e. the direction of the first terminal relative to the second terminal.
Embodiment 12. A server-side method of terminal positioning comprising
The server stores a hotspot information record table containing at least one hotspot information record, wherein each hotspot information record comprises at least one of the following information: "WLAN hotspot name, corresponding mac address, geographic location information of WLAN hotspot", wherein each hotspot information record optionally includes a record name (merchant name);
And the server sends the hot spot information record list to the first terminal.
Embodiment 13. The method of embodiment 12 further comprises the server obtaining city information of the first terminal, wherein the hotspot information record table sent by the server to the first terminal includes a "hotspot information record" corresponding to a city in which the first terminal is located.
Embodiment 14. The method according to embodiment 12, further comprising:
The server receives prompt information sent by a first terminal and located near a hot spot, and optionally sends information of at least one second terminal to the first terminal, wherein the second terminal is other online terminals near a WLAN hot spot in the same hot spot information record as the first terminal, and
The server optionally records the first terminal as a terminal conforming to the hotspot information record, and sets the position of the first terminal as a position in the geographic position information of the WLAN hotspot in the same hotspot information record.
Embodiment 15. The method of embodiment 12, wherein the method further comprises the server setting the location of the terminal that corresponds to the hotspot information record to the location described in the hotspot information record, and sharing the location to the terminal that needs the information.
An embodiment 16 is a method according to embodiment 12, wherein the server receives an instruction sent by the first terminal to establish contact with the second terminal, the server sends a reminder (whether to agree with the reminder to establish contact with the first terminal) to the second terminal, the server receives a message sent by the second terminal that agrees or disagrees with establishing contact with the first terminal, sends a corresponding message to the first terminal if the message received by the server is disagreeable, and establishes a session for direct conversation between the first terminal and the second terminal if the message received by the server is agreeing.
Embodiment 17. The method of embodiment 12 wherein the server receives a message sent by the online terminal to the server to "close WLAN connectivity device", and the online terminal is set as an offline terminal.
Embodiment 18 the method of embodiment 12 wherein the server stores registration information for terminals logged into the server, and the server receives the "invited feature information" sent by the online terminal and updates the information of the online terminal accordingly.
Embodiment 19. The method of embodiments 12 or 18 wherein the server receives the instruction sent by the first terminal to obtain at least one of the invited feature information and at least a portion of the registration information for at least one optional second terminal and sends at least one of the invited feature information and at least a portion of the registration information for the optional second terminal to the first terminal.
An embodiment 20 is the method of embodiment 12, wherein the server receives data relating to a direction vector from the first terminal to the second terminal that the first terminal sends to the second terminal, and the server sends the data relating to the direction vector to the second terminal.
Embodiment 21. A terminal positioning system comprising a terminal configured to perform the client method of any of embodiments 1-11 and a server configured to perform the server method of any of embodiments 12-20.
Embodiment 22. A client configured to perform the client method of any of embodiments 1-11.
Embodiment 23. A server configured to perform the server-side method of any of embodiments 12-20.
Embodiment 24. A computer readable medium containing a computer program which, when executed by a computer, performs the method of any of embodiments 1-20.
The technology has the advantages that: 1. the position of the WLAN equipment (especially the WLAN equipment of a public place merchant) is generally unchanged, and the position of the WLAN equipment is generally used for positioning the terminal in the place with high WLAN signal intensity, so that indoor positioning equipment is not required to be added, an accurate positioning effect can be obtained, and the defects that the indoor positioning is inaccurate or expensive equipment is required for realizing the indoor positioning in the prior art are well overcome; 2. in the application, two or three of geographic position, name of nearby WLAN equipment and MAC address are used for combined judgment, so that the error rate of positioning can be further reduced, and the positioning precision is improved; 3. other preferred embodiments of the method of the application bring about further unexpected technical effects, which are described in detail in the detailed description section.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings of the embodiments will be briefly described below, and it is apparent that the drawings in the following description relate only to some embodiments of the present disclosure, not to limit the present disclosure.
FIG. 1 is a flow chart according to one embodiment of the present application.
Fig. 2 is a flow chart according to another embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present disclosure. It will be apparent that the described embodiments are some, but not all, of the embodiments of the present disclosure. All other embodiments, which can be made by one of ordinary skill in the art without the need for inventive faculty, are within the scope of the present disclosure, based on the described embodiments of the present disclosure.
In the present application, each term has its meaning commonly understood in the art, unless specifically indicated otherwise or understood by context. The terms commonly used in the present application are terminals, such as registration terminal, login terminal, first terminal, second terminal, online terminal, terminal of interest, etc., which terms are expressed in the context of the specific claims and the technical solutions as terminal devices. However, in describing some subjective actions or behaviors occurring in connection with the terminal behind the technical solution of the present application, reference to the terminal or the terminal user refers to the user of the terminal, or in a specific context, the terminal will also be understood as the terminal user, or it will be understood by those skilled in the art that "terminal" and "terminal user" may be used interchangeably in a specific case, but in describing specific claims and technical solution, the terminal refers only to the terminal device. The application has no special limitation on the operating system operated by the terminal, and the terminal can operate an Android operating system or an iOS operating system and the like.
In the present application, the term "terminal logged in to a server" includes terminals logged in to a server by various means, including terminals registered in a server, terminals logged in by means of third party authentication, and the like. The term "remote positioning device" in the present application refers to a device capable of acquiring the position of a terminal in a large range (such as in a range of several kilometers, several tens of kilometers, or even more than several hundred kilometers), and generally includes a GPS positioning device and a Beidou positioning device. The term "short-range positioning device" in the present application refers to a device having a positioning function within a short distance, wherein the positioning function generally refers to wireless positioning, such as bluetooth positioning means, infrared positioning means, wifi positioning means, RFID positioning means, which are characterized by a short positioning distance, typically within 20 meters, and positioning between them is different from GPS positioning means or Beidou positioning means using satellites. In practice, a frequently used positioning method also includes positioning a base station, and a mobile phone base station positioning service is called mobile location service (LBS-Location Based Service), which is a value added service for providing corresponding services for users under the support of an electronic map platform, such as a dynamic location query service provided by the current china mobile dynamic zone, etc., by acquiring the location information (latitude and longitude coordinates) of a mobile terminal user through a network (such as a GSM network) of a telecom mobile operator. The term "WLAN hotspot device" in the present application is a device providing wireless access services, such as a router. WLAN is all called: wireless Local Area Networks, chinese is interpreted as: the wireless local area network is a system for data transmission by utilizing the radio frequency (Radio Frequency RF) technology, and the technology is used for replacing the wired local area network in no way, but is used for making up the defects of the wired local area network so as to achieve the purpose of network extension, so that the wireless local area network can utilize a simple access architecture to enable a user to pass through the wireless local area network, and realize a clear network without network wires and distance limitation. WIFI (wireless fidelity) technology is a brand of wireless network communication technology based on IEEE 802.11 series standards, and aims to improve interoperability between wireless network products based on IEEE 802.11 standards, which is held by Wi-Fi alliance (Wi-FI ALLIANCE), simply referred to as WIFI is a technology of wireless networking. WIFI is a standard of WLAN in terms of inclusion, and WIFI is included in WLAN, which belongs to a new technology in WLAN protocol. The term "WLAN connection device" in the present application refers to a device provided on a terminal that can be used to wirelessly connect the terminal with a WLAN hotspot device. When the WLAN connection device on the terminal scans for a WLAN hotspot device available for connection, the information that can be obtained from the WLAN hotspot device even if the password of the WLAN hotspot device is not known includes: signal strength, WLAN hotspot name, corresponding MAC address, etc. The network signal strength of a WLAN is in dBm (milliwatt decibel), typically expressed as a negative number, and normal signal variation ranges from-110 dBm (difference) to-50 dBm (good), typically-70 dBm to-50 dBm being a better signal strength, in which case the terminal is typically within 20 meters, even within 10 meters, of the WLAN hotspot device. WLAN hotspot names and corresponding MAC addresses are two important distinguishing factors for WLAN hotspot devices, which are typically not frequently modified by merchants and companies in a mall or office building. The location of the WLAN hot spot device, once selected, is not changed frequently for a typical user. These features of WLAN hotspot devices have led to the possibility to use the information of the WLAN hotspot device for positioning. Thus, if the information of each WLAN hotspot device and the accurate address are recorded on the server, the server can help the terminal to perform accurate indoor positioning according to the information. The WLAN hotspot device may typically be a router.
As shown in fig. 1, according to a first aspect of the present application, there is provided a method for performing terminal positioning, including the steps of:
S101, a server stores a hot spot information record table containing at least one hot spot information record, wherein each hot spot information record comprises at least one of the following information: "WLAN hotspot name, corresponding mac address, geographical location information of WLAN hotspot", wherein each hotspot information record optionally comprises a record name (merchant name).
S102, the first terminal logged in to the server opens terminal WLAN connection equipment (i.e. wifi connection) to become an online terminal.
S103, the server sends the hot spot information record list to the first terminal, and the first terminal receives the hot spot information record list from the server.
S104, the first terminal acquires current information, wherein the current information comprises at least one of the following information:
Geographical location information of a first terminal, and
At least one of the following information for WLAN hotspot devices in the vicinity of the first terminal with a signal strength above a threshold (greater than-50 dbm, greater than-65 dbm, or greater than-70 dbm): "WLAN hotspot name, corresponding mac address".
S105, the first terminal judges whether WLAN hotspot equipment near the first terminal with the signal intensity higher than a threshold accords with one hotspot information record in the hotspot information record table, wherein the ' accords with one hotspot information record in the hotspot information record table ' refers to the ' WLAN hotspot name ', corresponding mac address ' and at least one of the geographic position information of the first terminal of the WLAN hotspot equipment near the first terminal contained in the current information are the same as the corresponding ' WLAN hotspot name, corresponding mac address and geographic position information of the WLAN hotspot ' in the hotspot information record.
S106, for the nearby WLAN hotspot equipment conforming to one hotspot information record in the hotspot information record table, the first terminal sends prompt information located nearby the hotspot to a server, wherein the prompt information located nearby the hotspot comprises at least one part of current information and/or at least one part of the hotspot information record, the server receives the prompt information located nearby the hotspot sent by the first terminal and sends information of a second terminal to the first terminal, and the second terminal is at least one of other online terminals conforming to the hotspot information record.
And S107, the first terminal receives the information of the second terminal from the server.
It should be noted that, in the present application, unless there is a logical relationship, the order of the steps is not necessarily required, and thus the relationship between the steps should not be considered as being limited in the claims and the specification.
The method of the present application may include one or more of steps S101 to S107, for example, steps S101 to S105 may implement that the first terminal determines whether itself is near a WLAN hot spot, so as to implement positioning.
In step S101, the server stores a hotspot information record table containing at least one hotspot information record, wherein each hotspot information record includes at least one of the following information: "WLAN hotspot name, corresponding mac address, geographical location information of WLAN hotspot", wherein each hotspot information record optionally comprises a record name (merchant name). In order to locate by using WLAN hotspot devices, information of each WLAN hotspot device needs to be stored on a server. In general, one or more of the WLAN hotspot name, the corresponding mac address, and the geographic location information of the WLAN hotspot may be saved in a hotspot information record. In general, WLAN hotspot names may be renamed, but the corresponding mac address is often unique, and the geographic location information of the WLAN hotspot is also often unique. A WLAN hot spot can be more precisely determined by means of a combination of two of these three information, any combination of which is within the intended scope of the application. It is of course also possible to use three kinds of information for the determination at the same time. The specific form of the hot spot information record and the hot spot information record table is not limited as long as it reflects specific substantial contents. In addition, other information, such as a record name, may be optionally included in the hotspot information record, where the record name may be the name information of a merchant, and when the terminal obtains its location and also can be accurate to the name of the merchant, the accurate sharing of the indoor location is more beneficial, because the name information of the merchant often also includes information such as floors. The server assumes the responsibility of updating the hotspot information record in addition to storing the hotspot information record table. And the server newly adds or updates the hot spot information record table according to the modes of reporting by the user and the like.
In step S102, the first terminal logged into the server opens the terminal WLAN connection device (i.e., wifi connection) to become an online terminal. The first terminal is one of the online terminals, which can log in to the server in any way. The WLAN connection device is a functional unit on the first terminal for connecting to the WLAN hotspot device, and the first terminal obtains relevant information of the WLAN hotspot device, such as signal strength, WLAN hotspot name, corresponding MAC address, and the like, through the WLAN connection device.
In step S103, the server sends the hotspot information record table to the first terminal, and the first terminal receives the hotspot information record table from the server. After the first terminal downloads the hotspot information record table from the server, the first terminal can automatically compare according to the scanned information.
In step S104, the first terminal acquires current information including at least one of the following information:
Geographical location information of a first terminal, and
At least one of the following information for a WLAN hotspot device in the vicinity of which the signal strength is above a threshold: "WLAN hotspot name, corresponding mac address". The first terminal acquires current information, and then the current information is used for comparing with information in the hot spot information record table. It should be noted that the WLAN hotspot information that can act on the positioning is only a WLAN hotspot with a higher signal strength, and the lower signal strength means a longer distance, and thus has no meaning for positioning. In general, a signal strength of a WLAN hotspot greater than-70 dbm indicates a stronger signal, e.g., greater than-68 dbm, greater than-65 dbm, or greater than-50 dbm. Thus, in the present application, the threshold may be a number from-70 dbm to-50 dbm, such as-70 dbm or-65 dbm. In the present application, the manner of acquiring the position information of the first terminal is not limited, and may be by GPS positioning, wifi positioning, base station positioning, or a combination of multiple manners.
In step S105, the first terminal determines whether the WLAN hotspot device near the first terminal with the signal strength higher than the threshold accords with one hotspot information record in the hotspot information record table, where the "accords with one hotspot information record in the hotspot information record table" refers to that at least one of the "WLAN hotspot name, the corresponding mac address" and the geographic location information of the first terminal of the nearby WLAN hotspot device included in the current information is the same as the corresponding "WLAN hotspot name, the corresponding mac address and the geographic location information of the WLAN hotspot" in the hotspot information record. It should be noted that, although at least one piece of information is identical, that is, it is considered to be coincident, in the case where two pieces of information are used for the combination comparison, it should be considered that "coincident with one piece of hotspot information record in the hotspot information record table" means that the two pieces of information are identical accordingly. In the case of using three kinds of information for the combination comparison, it should be considered that "conforming to one piece of the hotspot information record in the hotspot information record table" means that the three kinds of information are identical accordingly. It should be noted that the fact that the geographical location information of the first terminal included in the current information is identical to the geographical location information of the corresponding "WLAN hotspot" in the hotspot information record means that the difference in location between the two geographical location information is less than 500 meters, such as less than 300 meters, such as less than 200 meters, such as less than 150 meters, such as less than 100 meters, such as less than 80 meters, such as less than 50 meters, such as less than 20 meters. In this case, the current location of the first terminal may be modified to the location in the hotspot information record in order to directly follow the location of the first terminal to the location of the stronger-signaling WLAN hotspot device. Such positioning accuracy is sufficient in daily life.
The method of the first aspect of the present invention may be implemented in a client side and a server side, respectively, and therefore the first aspect of the present invention also includes a client side method and a server side method for implementing the method, respectively.
In some embodiments, a first aspect of the present invention provides a client method of terminal positioning, comprising
The first terminal logs in to the server, opens the terminal WLAN connection device (i.e., wifi connection), becomes an online terminal,
The first terminal receives a hotspot information record table containing at least one hotspot information record from the server, wherein each hotspot information record comprises at least one of the following information: "WLAN hotspot name, corresponding mac address, geographic location information of WLAN hotspot", wherein each hotspot information record optionally comprises a record name;
The first terminal acquires current information, wherein the current information comprises at least one of the following information:
Geographical location information of a first terminal, and
At least one of the following information for WLAN hotspot devices in the vicinity of the first terminal with a signal strength above a threshold: "WLAN hotspot name, corresponding mac address",
The first terminal judges whether the WLAN hotspot equipment near the first terminal with the signal intensity higher than the threshold accords with one hotspot information record in the hotspot information record table, wherein the 'accords with one hotspot information record in the hotspot information record table' refers to that the current information contains 'WLAN hotspot names, corresponding mac addresses' of the WLAN hotspot equipment near the first terminal and at least one of geographic position information of the first terminal is the same as the corresponding 'WLAN hotspot names, corresponding mac addresses and geographic position information of the WLAN hotspots' in the hotspot information record.
In some embodiments, the client method further includes, for a WLAN hotspot device near a first terminal that conforms to one hotspot information record in the hotspot information record table, the first terminal sending a hint information near the hotspot to a server, where the hint information near the hotspot includes "at least a portion of current information" and/or "at least a portion of the one hotspot information record".
In some embodiments, the client method further comprises at least one of the following steps:
For WLAN hotspot equipment near a first terminal which accords with one hotspot information record in the hotspot information record table, the first terminal modifies the current position of the first terminal into the position of 'geographic position information of WLAN hotspot' in the hotspot information record; and
The first terminal enters a map interface, and obtains the distribution condition of the online terminals with the positions in the range shown by the map on the map from a server.
In some embodiments, the client method further comprises the first terminal receiving information of at least one second terminal from the server, the second terminal being another online terminal that also conforms to the piece of hotspot information record.
In some embodiments of the client method, the WLAN hotspot refers to a "wifi hotspot", and the WLAN connection device refers to a wifi connection device provided on the terminal.
In some embodiments of the client method, the current information includes the same geographic location information of the first terminal as the corresponding "geographic location information of the WLAN hotspot" in the hotspot information record, which means that the difference in location between the two geographic location information is less than 500 meters, such as less than 300 meters, such as less than 200 meters, such as less than 100 meters, such as less than 80 meters, such as less than 50 meters, such as less than 20 meters.
In some embodiments of the client method, the WLAN hotspot device near the first terminal with the signal strength higher than the threshold value refers to a WLAN hotspot device near the first terminal, which is scanned by the first terminal through the terminal WLAN connection device, and has a signal strength greater than-50 dbm, such as greater than-65 dbm, or such as greater than-70 dbm.
In some embodiments of the client method, the first terminal sends an instruction to the server that it wants to establish contact with at least one second terminal, the at least one second terminal receives a reminder sent by the server whether to agree to establish contact with the first terminal, and sends a message of agreement or disagreement to the server.
In some embodiments of the client method, when the first terminal closes the WLAN connection device, the first terminal sends a message of "closing the WLAN connection device" to the server.
In some embodiments of the client method, the first terminal sends an instruction to the server to obtain at least one of the invited feature information and at least a portion of the registration information for the at least one second terminal, and obtains at least one of the invited feature information and at least a portion of the registration information for the second terminal from the server.
In some embodiments of the client method, when the first terminal sends an instruction to the server that the first terminal wants to establish contact with the second terminal, the first terminal points horizontally to the second terminal to form a direction vector, the direction vector formed by the first terminal is obtained, that is, the direction vector pointing from the first terminal to the second terminal, the data related to the direction vector is sent to the server,
The second terminal receives the data related to the direction vector from the server and obtains the opposite direction vector, i.e. the direction of the first terminal relative to the second terminal.
The application is not limited to the specific contact mode of the first terminal and the second terminal. In some cases, it is possible that the user of the first terminal has found the user of the second terminal, but the user of the second terminal is not aware. At this time, the method of the present application further provides a manner in which the first terminal contacts the second terminal as follows: after the first terminal is horizontally and positively pointed at the second terminal, a direction vector is formed, i.e. the direction of the second terminal relative to the first terminal (i.e. the direction from the first terminal to the second terminal is obtained by calling the compass tool of the terminal), the data related to the direction vector is sent to the server, the server sends the data related to the direction vector to the second terminal, the second terminal receives the data related to the direction vector, and an opposite direction vector is obtained, i.e. the direction of the first terminal relative to the second terminal (when the second terminal is horizontally and positively pointed at the first terminal along the opposite direction vector, the second terminal is pointed at the first terminal). In this way, the direction vector is added to the invitation of the first terminal, and the second terminal can conveniently and accurately find the first terminal by using the vector information. The compass tool in the application refers to a tool which is carried in terminal equipment and can distinguish the forward direction of the terminal, and comprises hardware equipment and a software interface, wherein the hardware equipment and the software interface are realized by using the principle of geomagnetic field, and the compass tool is also called compass in certain occasions. The application refers to a direction vector, which refers to a direction that one terminal points to another terminal, when the terminal acquires data related to the direction vector, the direction vector is considered to be acquired, and when the terminal transmits the data related to the direction vector, the direction vector is considered to be transmitted. The specific form of the direction vector and the specific form of the transmission direction vector are not limited, and any manner is within the intended scope of the present application as long as the information can be transferred. For example, the terminal acquires various coordinate values, such as the coordinate values r and θ in polar coordinates, or the coordinate values x and y in cartesian coordinates, and can be considered to acquire the direction vector as long as it can reflect the direction vector, and the data transmitted by the terminal can be considered to be data related to the direction vector as long as the data includes data capable of resolving the direction vector (for example, the coordinate value, or a certain transformation of the coordinate value such as the negative number of the coordinate value).
The first aspect of the present invention also provides a server-side method for terminal positioning, which includes
The server stores a hotspot information record table containing at least one hotspot information record, wherein each hotspot information record comprises at least one of the following information: "WLAN hotspot name, corresponding mac address, geographic location information of WLAN hotspot", wherein each hotspot information record optionally includes a record name (merchant name);
And the server sends the hot spot information record list to the first terminal.
In some embodiments of the server-side method, the method further includes the step that the server acquires city information of the first terminal, and the hotspot information record table sent to the first terminal by the server includes a "hotspot information record" corresponding to a city in which the first terminal is located.
In some embodiments of the server-side method, the method further comprises:
The server receives prompt information sent by a first terminal and located near a hot spot, and optionally sends information of at least one second terminal to the first terminal, wherein the second terminal is other online terminals near a WLAN hot spot in the same hot spot information record as the first terminal, and
The server optionally records the first terminal as a terminal conforming to the hotspot information record, and sets the position of the first terminal as a position in the geographic position information of the WLAN hotspot in the same hotspot information record.
In some embodiments of the server-side method, the method further includes the step that the server sets the position of the terminal conforming to the hot spot information record as the position recorded in the hot spot information record, and the position is shared with the terminal needing the information.
In some embodiments of the server-side method, the server receives an instruction sent by the first terminal and intended to establish contact with the second terminal, the server sends a reminder (whether to agree with the reminder to establish contact with the first terminal) to the second terminal, the server receives a message sent by the second terminal that agrees or disagrees to establish contact with the first terminal, sends a corresponding message to the first terminal if the message received by the server is disagreeable, and establishes a session of direct conversation between the first terminal and the second terminal if the message received by the server is agreeing.
In some embodiments of the server-side method, the server receives a message sent by an online terminal to the server to turn off the WLAN connection device, and sets the online terminal as an offline terminal.
In some embodiments of the server-side method, the server stores registration information of a terminal logged in to the server, and the server receives "invited feature information" sent by an online terminal and updates the information of the online terminal accordingly.
In some embodiments of the server-side method, the server receives an instruction sent by the first terminal to obtain at least one of the invited feature information and at least a portion of the registration information of the at least one optional second terminal, and sends at least one of the invited feature information and at least a portion of the registration information of the optional second terminal to the first terminal.
In some embodiments of the server-side method, the server receives data related to a direction vector directed from the first terminal to the second terminal, which is transmitted from the first terminal to the second terminal, and the server transmits the data related to the direction vector to the second terminal.
The application also provides a terminal positioning system, which comprises a terminal and a server, wherein the terminal is configured to execute the client method of any one of the previous claims, and the server is configured to execute the server method of any one of the previous claims.
The application also provides a client configured to perform the client method of any of the preceding claims.
The application also provides a server configured to perform the server-side method of any one of the preceding claims.
The application also provides a computer readable medium containing a computer program which, when executed by a computer, performs a method according to any one of the preceding claims.
In the present application, the structure of the terminal generally includes: CPU, memory (flash, RAM), input and output devices (keyboard, display, USB, serial port), and a more important I/O channel, namely the air interface, communicates with the base station via an air interface protocol (e.g. GSM, CDMA, PHS, etc.), and can transmit both voice and data. Meanwhile, the terminal can be also provided with a positioning device and a WLAN connection device.
The terminal may be a mobile computer, laptop, smart phone, PDA, desktop computer, or the like.
The server generally includes a processor, a hard disk, a memory, a system bus, and the like, and is similar to a general-purpose computer architecture, but is required to provide highly reliable services, and thus has high demands in terms of processing capacity, stability, reliability, security, scalability, manageability, and the like. On which server software is typically installed, such as MySQL, postgreSQL, microsoft SQL SERVER, etc.
The terminal and the server are connected through a wired network or a wireless network, and can be a local area network or a wide area network.
According to a second aspect of the present application, there is provided a method of terminal positioning, comprising the steps of:
S201, a server stores a hot spot information record table containing more than one hot spot information record, wherein each hot spot information record comprises at least one of the following information: "WLAN hotspot name, corresponding mac address, geographical location information of WLAN hotspot", wherein each hotspot information record optionally comprises a record name (merchant name).
S202, a first terminal acquires current information, wherein the current information comprises at least one of the following information:
Geographical location information of a first terminal, and
At least one of the following information for WLAN hotspot devices in the vicinity of the first terminal with a signal strength above a threshold: "WLAN hotspot name, corresponding mac address".
S203, the first terminal sends the current information to a server, and the server receives the current information sent by the first terminal.
S204, the server judges whether the current information accords with one piece of hot spot information record in the hot spot information record list, wherein the ' accords with one piece of hot spot information record in the hot spot information record list ' refers to the ' WLAN hot spot name ', corresponding mac address ' of WLAN hot spot equipment near the first terminal contained in the current information, and at least one of geographic position information of the first terminal is the same as the corresponding ' WLAN hot spot name, corresponding mac address and geographic position information of WLAN hot spot ' in the hot spot information record.
S205, when the server judges that the current information accords with one piece of hot spot information record in the hot spot information record table, the hot spot information record is sent to the first terminal, the server optionally records the first terminal as a terminal which accords with the hot spot information record, and the first terminal receives the hot spot information record.
S206, the server sends information of a second terminal to the first terminal, wherein the second terminal is other terminals which also accord with the hot spot information record.
S207, the first terminal receives information of the second terminal from the server.
It should be noted that, in the present application, unless there is a logical relationship, the order of the steps is not necessarily required, and thus the relationship between the steps should not be considered as being limited in the claims and the specification.
The method of the present application may comprise one or more of steps S201 to S207, and may optionally comprise other steps. The process of the first terminal acquiring its own position is implemented, for example, in steps S201 to S205. In some embodiments, the method further comprises the first terminal modifying its own location information according to the received record of hot spot information.
The method of the second aspect of the present invention is similar to the method of the first aspect, and so the description above for the method of the first aspect applies equally to the method of the second aspect. In the method of the second aspect of the present invention, after the first terminal obtains the current information, the first terminal sends the current information to the server for comparison, the server stores a known hotspot information record table, after comparison, the location of the first terminal is known, and meanwhile, the second terminal at the same location can also be pushed to the first terminal. Of course, if the first terminal is required, the server may display the online terminal in the map area displayed on the first terminal, where the displayed location may be a location updated by the server according to the hotspot information record table, and if the terminal is not updated, the location reported by the terminal itself is displayed (or not transmitted to the first terminal, that is, in this case, the server only transmits the online terminal whose location has been updated according to the hotspot information record table to the first terminal).
Embodiment 1. A client method for terminal positioning includes
The first terminal acquires current information, wherein the current information comprises at least one of the following information:
Geographical location information of a first terminal, and
At least one of the following information of a WLAN hot spot device in the vicinity of the first terminal, which is scanned by the first terminal through the WLAN connection device, and has a signal strength higher than a threshold value: "WLAN hotspot name, corresponding mac address",
The first terminal transmits the current information to the server,
The first terminal receives at least part of or all of the information of one hotspot information record from the server. Here, the "the first terminal receives at least part of or all of the information of one hotspot information record from the server" naturally also includes the case of "the first terminal receives at least part of or all of the information of a plurality of hotspot information records from the server", as long as the received "at least part of or all of the information of a plurality of hotspot information records" includes information required for positioning, or in other words, only the received information includes "at least part of or all of the information of one hotspot information record".
In the present application, unless there is a logical relationship, the order of the steps is not necessarily required, or the order of the steps is not limited.
Embodiment 2. The method of embodiment 1, wherein the hotspot information record comprises at least one of the following information: the "WLAN hotspot name, the corresponding mac address, and the geographic location information of the WLAN hotspot" and optionally include a record name (merchant name), and the current information conforms to the hotspot information record, where the "conforms to the hotspot information record" refers to that at least one of the "WLAN hotspot name, the corresponding mac address" and the geographic location information of the first terminal of the WLAN hotspot device near the first terminal included in the current information is the same as the corresponding "WLAN hotspot name, the corresponding mac address, and the geographic location information of the WLAN hotspot" in the hotspot information record.
Embodiment 3 the method according to embodiment 1 or 2, further comprising the first terminal receiving information of a second terminal from the server, said second terminal being another terminal that also corresponds to the record of hot spot information.
Embodiment 4. The method of embodiment 1 or 2, wherein the method further comprises at least one of the following steps:
The first terminal modifies the current position of the first terminal into the position of the 'geographic position information of WLAN hotspots' in the hotspot information record; and
The first terminal enters a map interface, and obtains the distribution condition of the online terminals with the positions in the range shown by the map on the map from a server.
Embodiment 5. The method of embodiment 3, wherein,
The first terminal sends an instruction to the server to wish to establish contact with at least one second terminal,
And the at least one second terminal receives a prompt sent by the server whether to agree to establish contact with the first terminal, and sends a message of agreeing or disagreeing to the server.
Embodiment 6. The method of embodiment 1, wherein the WLAN hotspot is a "wifi hotspot", and the WLAN connection device is a wifi connection device provided on the terminal.
Embodiment 7. The method of embodiment 2, wherein the current information includes the same geographical location information of the first terminal as the corresponding "geographical location information of the WLAN hotspot" in the hotspot information record, which means that the difference in location between the two geographical location information is less than 500 meters, such as less than 300 meters, such as less than 200 meters, such as less than 100 meters, such as less than 80 meters, such as less than 50 meters, such as less than 20 meters.
Embodiment 8. The method of embodiment 1 wherein the WLAN hotspot device in the vicinity of the first terminal having a signal strength above the threshold is a nearby WLAN hotspot device that the first terminal scans for via the terminal WLAN connection device, and has a signal strength greater than-50 dbm, such as greater than-65 dbm, or such as greater than-70 dbm.
Embodiment 9. The method according to embodiment 1, wherein when the first terminal turns off the WLAN connection device, the first terminal sends a message "turn off the WLAN connection device" to the server.
Embodiment 10. The method according to embodiment 3, wherein the first terminal sends an instruction to the server to acquire at least one of the invited feature information and at least a part of the registration information of the at least one second terminal, and acquires at least one of the invited feature information and at least a part of the registration information of the second terminal from the server.
Embodiment 11. The method according to embodiment 1, further comprising, when the first terminal sends an instruction to the server that it wants to establish a connection with the second terminal, the first terminal horizontally points to the second terminal to form a direction vector, acquires the direction vector formed by the first terminal, that is, a direction vector pointing from the first terminal to the second terminal, sends data related to the direction vector to the server,
The second terminal receives the data related to the direction vector from the server and obtains the opposite direction vector, i.e. the direction of the first terminal relative to the second terminal.
Embodiment 12. A server-side method of terminal positioning comprising
The server stores a hotspot information record table containing more than one piece of hotspot information record, wherein each piece of hotspot information record comprises at least one of the following information: "WLAN hotspot name, corresponding mac address, geographic location information of WLAN hotspot", wherein each hotspot information record optionally includes a record name (merchant name);
The server receives current information of a first terminal logged into the server, the current information including at least one of:
Geographical location information of a first terminal, and
At least one of the following information for WLAN hotspot devices in the vicinity of the first terminal with a signal strength above a threshold: "WLAN hotspot name, corresponding mac address";
The server judges whether the current information accords with one hotspot information record in the hotspot information record table, wherein the phrase "accords with one hotspot information record in the hotspot information record table" refers to that the current information includes the WLAN hotspot name of the WLAN hotspot device near the first terminal, at least one of the corresponding mac address and the geographic position information of the first terminal is the same as the corresponding WLAN hotspot name, the corresponding mac address and the geographic position information of the WLAN hotspot in the hotspot information record,
When the server judges that the current information accords with one piece of hot spot information record in the hot spot information record table, at least part of information of the piece of hot spot information record is sent to the first terminal, and the server optionally records the first terminal as a terminal which accords with the piece of hot spot information record.
Embodiment 13. The method according to embodiment 12, wherein the server sets the location of the terminal that matches the hotspot information record as the location described in the hotspot information record, and shares the location with the terminal that needs the information.
Embodiment 14. The method of embodiment 12 wherein the current information includes the same geographic location information of the first terminal as the corresponding "geographic location information of the WLAN hotspot" in the hotspot information record means that the two geographic location information differ by less than 500 meters, such as less than 300 meters, such as less than 200 meters, such as less than 100 meters, such as less than 80 meters, such as less than 50 meters, such as less than 20 meters.
An embodiment 15 is a method according to embodiment 12, wherein the server receives an instruction sent by the first terminal to establish contact with the second terminal, the server sends a reminder (whether to agree with the reminder to establish contact with the first terminal) to the second terminal, the server receives a message sent by the second terminal that agrees or disagrees with establishing contact with the first terminal, sends a corresponding message to the first terminal if the message received by the server is disagreeable, and establishes a session for direct conversation between the first terminal and the second terminal if the message received by the server is agreeing.
Embodiment 16. The method of embodiment 12 wherein the server receives a message sent by the first terminal to the server to "close WLAN connection device", and the first terminal is set as an offline terminal.
Embodiment 17 the method of embodiment 12 wherein the server stores registration information for terminals logged into the server, and the server receives the transmitted "invited feature information" and updates the information for the online terminals accordingly.
Embodiment 18 the method according to embodiment 12 or 17 wherein the server receives an instruction sent by the first terminal to obtain at least one of the invited feature information and at least a portion of the registration information for at least one second terminal and sends at least one of the invited feature information and at least a portion of the registration information for the second terminal to the first terminal.
An embodiment 19 is the method of embodiment 12 wherein the server receives data relating to a direction vector from the first terminal to the second terminal that the first terminal sends to the second terminal, and the server sends the data relating to the direction vector to the second terminal.
Embodiment 20. A terminal positioning system comprising a plurality of terminals configured to perform the client method of any of embodiments 1-11 and a server configured to perform the server method of any of embodiments 12-19.
Embodiment 21. A client configured to perform the client method of any of embodiments 1-11.
Embodiment 22. A server configured to perform the server-side method of any of embodiments 12-19.
Embodiment 23 a computer readable medium comprising a computer program which, when executed by a computer, performs the method of any of embodiments 1-19.
The foregoing is merely exemplary embodiments of the present disclosure and is not intended to limit the scope of the disclosure, which is defined by the appended claims.

Claims (17)

CN201810733482.XA2018-07-062018-07-06Method for positioning terminal by utilizing WLAN signalActiveCN110691324B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810733482.XACN110691324B (en)2018-07-062018-07-06Method for positioning terminal by utilizing WLAN signal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810733482.XACN110691324B (en)2018-07-062018-07-06Method for positioning terminal by utilizing WLAN signal

Publications (2)

Publication NumberPublication Date
CN110691324A CN110691324A (en)2020-01-14
CN110691324Btrue CN110691324B (en)2024-06-21

Family

ID=69106800

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810733482.XAActiveCN110691324B (en)2018-07-062018-07-06Method for positioning terminal by utilizing WLAN signal

Country Status (1)

CountryLink
CN (1)CN110691324B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112419681B (en)*2020-11-192022-04-01杭州云深科技有限公司Target early warning method, electronic device, and medium
CN118555652B (en)*2024-07-302024-11-26浙江口碑网络技术有限公司 Positioning method, device, electronic device and computer storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106202576A (en)*2016-08-252016-12-07深圳市沃特沃德股份有限公司Control method, terminal and the system made friends for house pet
CN106411685A (en)*2015-07-312017-02-15上海亿动信息技术有限公司Social system based on performance site, control device, and control method
CN106535325A (en)*2016-11-222017-03-22广东小天才科技有限公司Positioning method, information processing method, positioning device and information processing device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20090315775A1 (en)*2008-06-202009-12-24Microsoft CorporationMobile computing services based on devices with dynamic direction information
CN104581627B (en)*2014-12-052018-02-09广东小天才科技有限公司Positioning contact method and system based on WIFI
CN105142214B (en)*2015-07-232019-04-26中国联合网络通信集团有限公司 WLAN hotspot location information collection method and corresponding terminal
CN105407497B (en)*2015-12-082019-05-31北京百度网讯科技有限公司Indoor and outdoor judgment method and device
CN108064023B (en)*2017-12-132020-01-14Oppo广东移动通信有限公司Control method and device based on positioning module, storage medium and mobile terminal
CN108134733A (en)*2017-12-212018-06-08广东小天才科技有限公司Friend making method and system based on wearable device and wearable device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106411685A (en)*2015-07-312017-02-15上海亿动信息技术有限公司Social system based on performance site, control device, and control method
CN106202576A (en)*2016-08-252016-12-07深圳市沃特沃德股份有限公司Control method, terminal and the system made friends for house pet
CN106535325A (en)*2016-11-222017-03-22广东小天才科技有限公司Positioning method, information processing method, positioning device and information processing device

Also Published As

Publication numberPublication date
CN110691324A (en)2020-01-14

Similar Documents

PublicationPublication DateTitle
CN112369049B (en) Distributed location determination in wireless networks
US8743782B1 (en)Automated method to determine position of Wi-Fi access point to enable location based services
CN103347278B (en)The update method of fingerprint database and device in wireless location
CN104902541B (en) A network access method and mobile communication terminal
EP3234627B1 (en)Checking the health of radio model data
CN104853411B (en)A kind of method for network access and mobile communication terminal
CN105228106B (en) An indoor-based medical staff search method, positioning server and system
US10757556B2 (en)Device-based access point association and tracking of physical addresses
CN103533635A (en)Mobile terminal positioning method and mobile terminal
CN104980997A (en)Network access method and mobile communication terminal
US20130143584A1 (en)System and method for user control of location determination
KR102408419B1 (en)Method And Apparatus for Determining Position by Using Parameter Coefficent
CN112448779B (en)Intelligent terminal equipment and method for carrying out talkback communication
CN110691324B (en)Method for positioning terminal by utilizing WLAN signal
US20130331117A1 (en)Method and apparatus for white space database discovery
CN104968031A (en) A network access method and mobile communication terminal
CN104853410A (en)Network access method and mobile communication terminal
US7295846B2 (en)Method for localizing a mobile terminal in an area under radio coverage of a cellular communication network and of a localization point, corresponding mobile terminal, server and localization point
KR101815162B1 (en)Indoor Positioning Method and System and Apparatus Therefor
WO2016202263A1 (en)Method and server for saving standard format page
CN111194079A (en)Method for positioning terminal by using Bluetooth signal
CN104968030A (en) A network access method and mobile communication terminal
US9414189B2 (en)Method of locating a mobile device and mobile device utilizing the same
CN108271247A (en)The localization method and device of a kind of multimode terminal
KR20050019348A (en)System and Method for Framing Quality Map of Telephone Call in Mobile Communication Network

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp