CN111757465A - Clustering positioning method, service equipment and system - Google Patents

Clustering positioning method, service equipment and system Download PDF

Info

Publication number
CN111757465A
CN111757465A CN201910561993.2A CN201910561993A CN111757465A CN 111757465 A CN111757465 A CN 111757465A CN 201910561993 A CN201910561993 A CN 201910561993A CN 111757465 A CN111757465 A CN 111757465A
Authority
CN
China
Prior art keywords
wifi
indoor environment
identification information
intelligent
intelligent equipment
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.)
Pending
Application number
CN201910561993.2A
Other languages
Chinese (zh)
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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201910561993.2A priority Critical patent/CN111757465A/en
Publication of CN111757465A publication Critical patent/CN111757465A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/69Types of network addresses using geographic information, e.g. room number

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention relates to the technical field of positioning, and discloses a clustering positioning method, service equipment and a system, wherein the method comprises the following steps: acquiring first identification information of peripheral WiFi hotspots of the intelligent equipment, which is reported by the intelligent equipment; the first identification information of the peripheral WiFi hotspots of the intelligent equipment at least comprises Mac addresses of the peripheral WiFi hotspots of the intelligent equipment; acquiring an indoor environment matched with Mac addresses of WiFi hotspots around the intelligent equipment from a database; detecting whether a user resident address exists in the indoor environment from a WiFi fingerprint database; if so, acquiring the user resident address; and pushing the user resident address to the intelligent equipment. According to the embodiment of the invention, the indoor positioning accuracy and the response speed can be improved.

Description

Clustering positioning method, service equipment and system
Technical Field
The invention relates to the technical field of positioning, in particular to a clustering positioning method, service equipment and a system.
Background
Currently, many of the smart devices (such as telephone watches) appearing on the market have a positioning function, and the positioning function of the smart devices mostly depends on third-party software (such as a Baidu/Goods map) to obtain a positioning result.
In practice, it is found that a building can block signal transmission of a GPS, which easily causes that smart devices (such as a telephone watch) often have poor indoor positioning effect and slow response speed.
Disclosure of Invention
The embodiment of the invention discloses a clustering positioning method, service equipment and a system, which can improve the accuracy and response speed of indoor positioning.
The first aspect of the embodiments of the present invention discloses a cluster positioning method, which includes:
acquiring first identification information of peripheral WiFi hotspots of the intelligent equipment, which is reported by the intelligent equipment; the first identification information of the peripheral WiFi hotspots of the intelligent equipment at least comprises Mac addresses of the peripheral WiFi hotspots of the intelligent equipment;
acquiring an indoor environment matched with Mac addresses of WiFi hotspots around the intelligent equipment from a database;
detecting whether a user resident address exists in the indoor environment from a WiFi fingerprint database; if so, acquiring the user resident address;
and pushing the user resident address to the intelligent equipment.
A second aspect of an embodiment of the present invention discloses a service device, where the intelligent device includes:
the first acquisition unit is used for acquiring first identification information of peripheral WiFi hotspots of the intelligent equipment, which is reported by the intelligent equipment; the first identification information of the peripheral WiFi hotspots of the intelligent equipment at least comprises Mac addresses of the peripheral WiFi hotspots of the intelligent equipment;
the second acquisition unit is used for acquiring the indoor environment matched with the Mac address of the peripheral WiFi hotspot of the intelligent equipment from a database;
the first detection unit is used for detecting whether a user resident address exists in the indoor environment from a WiFi fingerprint database;
the second obtaining unit is further configured to obtain a user resident address when the first detecting unit detects that the user resident address exists in the indoor environment from the WiFi fingerprint database;
and the first pushing unit is used for pushing the user resident address to the intelligent equipment.
A third aspect of an embodiment of the present invention discloses a service device, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the cluster positioning method disclosed by the first aspect of the embodiment of the invention.
A fourth aspect of the embodiments of the present invention discloses a computer-readable storage medium, which stores a computer program, where the computer program enables a computer to execute a cluster location method disclosed in the first aspect of the embodiments of the present invention.
A fifth aspect of embodiments of the present invention discloses a computer program product, which, when run on a computer, causes the computer to perform some or all of the steps of any one of the methods of the first aspect.
A sixth aspect of the present embodiment discloses an application publishing platform, where the application publishing platform is configured to publish a computer program product, where the computer program product is configured to, when running on a computer, cause the computer to perform part or all of the steps of any one of the methods in the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, when the intelligent device receives a positioning request of a user, the server can acquire first identification information of peripheral WiFi hotspots of the intelligent device reported by the intelligent device, acquire an indoor environment matched with the first identification information of the peripheral WiFi hotspots from the database, and when the server detects that a user resident address exists in the indoor environment from the WiFi fingerprint database, the server can acquire the user resident address and push the user resident address to the intelligent device. Therefore, the indoor positioning accuracy and the response speed can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic flow chart of a cluster positioning method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of another cluster location method disclosed in the embodiments of the present invention;
FIG. 3 is a schematic flow chart of another cluster location method disclosed in the embodiments of the present invention;
fig. 4 is a schematic structural diagram of a service device disclosed in the embodiment of the present invention;
FIG. 5 is a schematic structural diagram of another service device disclosed in the embodiment of the present invention;
FIG. 6 is a schematic structural diagram of another service device disclosed in the embodiment of the present invention;
FIG. 7 is a schematic structural diagram of another service device disclosed in the embodiment of the present invention;
fig. 8 is a network architecture diagram of a cluster positioning system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first", "second", "third", "fourth", and the like in the description and the claims of the present invention are used for distinguishing different objects, and are not used for describing a specific order. The terms "comprises," "comprising," and any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a clustering positioning method, service equipment and a system, which can improve the accuracy and response speed of indoor positioning. The following detailed description is made with reference to the accompanying drawings.
Example one
Referring to fig. 1, fig. 1 is a schematic flow chart of a cluster location method according to an embodiment of the present invention. As shown in fig. 1, the cluster location method may include the following steps.
101. The service equipment acquires first identification information of peripheral WiFi hotspots of the intelligent equipment, wherein the first identification information is reported by the intelligent equipment; the first identification information of the peripheral WiFi hotspots of the intelligent equipment at least comprises Mac addresses of the peripheral WiFi hotspots of the intelligent equipment.
In the embodiment of the present invention, the user equipment may include an intelligent device such as a mobile phone, a tablet computer, an intelligent bracelet, an intelligent watch, and the like, which is not limited in the embodiment of the present invention.
As an optional implementation manner, in an embodiment of the present invention, the first Identification information of the WiFi hotspots around the smart device may further include an International mobile identity (IMSI) of the first electronic device.
As an optional implementation manner, in the embodiment of the present invention, before the service device executes step 101, the service device may first obtain a location request for the intelligent device, where the location request is sent by the user through the intelligent device in a manual manner or automatically sent by the intelligent device.
For example, when the user needs to locate the smart device, the user may send a location request signal to the smart device in a voice manner, the smart device may detect whether a preset keyword related to an intention to locate the smart device exists in the voice input by the user, for example, "search", "locate", or the like, when the preset keyword related to the intention to locate the smart device exists in the voice input by the user, the smart device may report the location request for the smart device to the service device, and the service device performs step 101.
For another example, when the user needs to locate the smart device, the user may manually send a location request signal to the smart device through a touch screen, and when the smart device receives the location request signal sent by the user, the smart device may report the location request for the smart device to the service device, and the service device performs step 101.
For another example, when the user needs to locate the smart device, the user may send a location request signal to the smart device by manually turning on a physical key switch disposed on the smart device, and when the smart device receives the location request signal sent by the user, the smart device may report a location request for the smart device to the service device, and the service device executes step 101.
For another example, when the user needs to locate the smart device, the smart device may report a location request signal for the smart device to the service device at regular time, and the location request signal is started without any instruction of the user to which the smart device belongs.
102. And the service equipment acquires the indoor environment matched with the Mac address of the peripheral WiFi hotspot of the intelligent equipment from the database.
As an optional implementation manner, in the embodiment of the present invention, after the service device obtains the indoor environment matched with the Mac address of the peripheral WiFi hotspot of the smart device from the database, the service device may further obtain relevant information of the indoor environment from the database, such as area information, name information, and information of a person in charge of the indoor environment;
and after the service device acquires the relevant information of the indoor environment from the database, the service device may transmit the relevant information of the indoor environment to the smart device.
As an optional implementation manner, in the embodiment of the present invention, the service device may set a sensitive area for the smart device, and after the service device obtains an indoor environment matched with the Mac address of the WiFi hotspot around the smart device from the database, the service device may detect whether the indoor environment belongs to the set sensitive area, and if so, the service device may send a prompt message to the smart device to prompt that the user is currently located in the sensitive area.
103. The service equipment detects whether a user resident address exists in the indoor environment from the WiFi fingerprint database, if so, step 104 is executed, and if not, the process is ended.
As an optional implementation manner, in the embodiment of the present invention, when the service device detects that the user's resident address exists in the indoor environment from the WiFi fingerprint database, the service device may obtain information related to the user's resident address, for example, coordinate and position information of the user's resident address.
104. And the service equipment pushes the user resident address to the intelligent equipment.
As an optional implementation manner, in the embodiment of the present invention, the service device may detect, at a preset time interval, whether the current environment of the smart device is still in the indoor environment, and if so, the service device may continue to push the user resident address to the smart device without changing the current positioning result; if not, the service device can acquire the identification information of the peripheral WiFi hotspots of the intelligent device again, and can acquire the new indoor environment from the database to obtain the user resident address of the intelligent device in the new indoor environment, and push the user resident address of the intelligent device in the new indoor environment to the intelligent device.
As an optional implementation manner, in the embodiment of the present invention, the service device may obtain a positioning request for the intelligent device, which is reported by an electronic device associated with the intelligent device, and the service device may obtain identification information of a peripheral WiFi hotspot of the intelligent device according to the positioning request, so as to obtain a user resident address of the intelligent device in an indoor environment mapped to the peripheral WiFi hotspot and in the indoor environment mapped to the peripheral WiFi hotspot, and push the user resident address to the electronic device associated with the intelligent device;
after the service device pushes the user resident address to the electronic device associated with the intelligent device, the service device can also push detailed information of the intelligent device to the electronic device associated with the intelligent device, wherein the detailed information of the intelligent device comprises information such as stay time, start time and end time of the intelligent device at the user resident address, basic parameters of the intelligent device and the like;
and after the service device pushes the detailed information of the intelligent device to the electronic device associated with the intelligent device, the service device can also send inquiry information to the electronic device to inquire whether a user to which the electronic device belongs needs to search a navigation route of the user's resident address, and when the user to which the electronic device belongs needs to search the navigation route of the user's resident address, the service device can push the searched navigation route to the electronic device.
It can be seen that the cluster positioning method described in fig. 1 is implemented, and the method can improve the accuracy and response speed of indoor positioning.
In addition, by implementing the cluster positioning method described in fig. 1, the service device can send corresponding prompt information to the user when the user steps into the set sensitive area, which is beneficial to improving the user experience of the service device.
In addition, by implementing the clustering positioning method described in fig. 1, the current positioning result of the intelligent device can be updated in time, which is beneficial to improving the accuracy of high indoor positioning of the intelligent device.
In addition, by implementing the cluster positioning method described in fig. 1, the electronic device associated with the intelligent device can obtain the positioning result of the intelligent device and the detailed information of the intelligent device, which is beneficial to interaction between a user and the intelligent device and improves the user experience of the user on the service device.
Example two
Referring to fig. 2, fig. 2 is a schematic flow chart of a cluster location method according to an embodiment of the present invention. As shown in fig. 2, the cluster location method may include the following steps.
201. The service equipment acquires identity identification information of the user reported by the intelligent equipment, second identification information of a WiFi hotspot of an indoor environment matched with the identity identification information of the user in specified time and GPS positioning information of the intelligent equipment in the specified time; the second identification information of the WiFi hotspot of the indoor environment at least includes a Mac address of the WiFi hotspot of the indoor environment and a signal strength of the WiFi hotspot of the indoor environment.
As an optional implementation manner, in the embodiment of the present invention, the smart device may pre-install a client, where the client is installed and operated in an APP (application program) form, and the smart device installed with the client may be triggered or periodically perform data acquisition and report, where the acquired and reported data is the identification information of the user, the second identification information of the WiFi hotspot in the indoor environment, which is matched with the identification information of the user in a specified time, and the GPS positioning information of the smart device in the specified time.
202. The service equipment calculates WiFi fingerprints corresponding to the indoor environment according to the signal intensity of the WiFi hotspots of the indoor environment; the WiFi fingerprint is a WiFi hotspot with signal intensity greater than or equal to preset intensity in WiFi hotspots of the indoor environment.
As an optional implementation manner, in the embodiment of the present invention, the service device may detect whether the obtained signal intensity of the WiFi hotspot of the indoor environment is lower than a specified threshold, and if so, the service device may delete the second identification information of the WiFi hotspot of the indoor environment lower than the specified threshold;
and after the service device deletes the second identification information of the WiFi hotspot of the indoor environment lower than the specified threshold, the service device may detect whether the current number of WiFi hotspots is higher than the second specified threshold, if not, the service device may continue to acquire the second identification information of the WiFi hotspot of the indoor environment matched with the identity identification information of the user in the specified time, and when the number of WiFi hotspots is higher than the second specified threshold, the service device may perform step 202.
As an alternative implementation manner, in the embodiment of the present invention, the service device may calculate, by using a proximity algorithm (for example, a KNN algorithm), a WiFi fingerprint corresponding to the indoor environment.
For example, the service device may preset a signal strength parameter K, and the service device may obtain a WiFi hotspot most similar to the signal strength parameter K from the signal strength of the WiFi hotspot in the indoor environment;
and after the service device obtains the WiFi hotspots most similar to the signal strength parameter K from the signal strengths of the WiFi hotspots in the indoor environment, the service device may sort the WiFi hotspots most similar to the signal strength parameter K in an order from strong signal strengths to weak signal strengths to obtain a sequence from strong signal strengths to weak signal strengths, and the service device may obtain the first N WiFi hotspots in the sequence as WiFi fingerprints corresponding to the indoor environment.
203. And the service equipment acquires the position distance between the transmitting port of the WiFi hotspot of the indoor environment and the intelligent equipment according to the GPS positioning information of the intelligent equipment and the Mac address of the WiFi hotspot of the indoor environment.
As an optional implementation manner, in the embodiment of the present invention, the service device may obtain the current physical location of the intelligent device according to the GPS positioning information of the intelligent device, and may obtain the physical location of the transmitting port of the WiFi hotspot of the indoor environment according to the Mac address of the WiFi hotspot of the indoor environment, so as to obtain the linear distance between the transmitting port of the WiFi hotspot of the indoor environment and the intelligent device.
204. And the service equipment selects WiFi hotspots with the position distances within the specified position distance from the WiFi fingerprints.
As an optional implementation manner, in the embodiment of the present invention, after the service device selects the WiFi hotspots whose location distances are within the specified location distance from the WiFi fingerprint, the service device may detect whether the number of the selected WiFi hotspots is higher than a specified threshold, and if not, the service device may repeatedly perform steps 201 to 204 until the service device detects that the number of the selected WiFi hotspots is higher than the specified threshold.
205. And the service equipment calculates the user resident address of the intelligent equipment in the indoor environment according to the WiFi hotspot of the position distance within the specified position distance.
As an optional implementation manner, in the embodiment of the present invention, the service device may calculate, by using a clustering operation (e.g., DBSCAN algorithm and BRICH algorithm), a user-resident address of the smart device in the indoor environment.
For example, the service device may integrate WiFi hotspots whose location distances are within a specified location distance into a set by using the DBSCAN algorithm, and may classify WiFi hotspots whose closeness degree is greater than a specified threshold value from the set into a class;
and after the service equipment obtains the classified WiFi hotspots by using the DBSCAN algorithm, the service equipment can also select the WiFi hotspot with the minimum distance from the classified WiFi hotspots by using the BRICH algorithm, and can calculate the average distance of the two classified WiFi hotspots to obtain a clustered WiFi hotspot.
206. And the service equipment stores the user resident address into a WiFi fingerprint database.
As an optional implementation manner, in the embodiment of the present invention, the service device may further store information, such as a resident time of the smart device at the user resident address and a basic parameter of the smart device, in the WiFi fingerprint library.
207. The service equipment acquires first identification information of peripheral WiFi hotspots of the intelligent equipment, wherein the first identification information is reported by the intelligent equipment; the first identification information of the peripheral WiFi hotspots of the intelligent equipment at least comprises Mac addresses of the peripheral WiFi hotspots of the intelligent equipment.
208. And the service equipment acquires the indoor environment matched with the Mac address of the peripheral WiFi hotspot of the intelligent equipment from the database.
209. The service device detects whether the user resident address exists in the indoor environment from the WiFi fingerprint database, if so, step 210 is executed, and if not, step 211 is executed.
210. And the service equipment pushes the user resident address to the intelligent equipment.
211. The service equipment detects whether the quantity of the identification information of the registered WiFi hotspots corresponding to the indoor environment stored in the database is larger than a first specified threshold value, if so, the steps 212 to 215 are executed, and if not, the process is ended.
As an optional implementation manner, in the embodiment of the present invention, before the service device detects that the number of the identification information of the registered WiFi hotspots corresponding to the indoor environment stored in the database is greater than a first specified threshold, the service device may detect whether the signal strength of the registered WiFi hotspots corresponding to the indoor environment is higher than the specified threshold, and if not, the service device may delete the identification information of the registered WiFi hotspots corresponding to the indoor environment whose signal strength of the WiFi hotspots is lower than the specified threshold.
212. The service equipment selects the identification information of the registered WiFi hotspot with the highest repetition rate from the identification information of the registered WiFi hotspots corresponding to the indoor environment as the identification information of the target WiFi hotspot.
As an optional implementation manner, in the embodiment of the present invention, the service device may obtain all identification information of the registered WiFi hotspots corresponding to the indoor environment from the database, and may select, as the identification information of the target WiFi hotspot, the identification information of the registered WiFi hotspot with the highest repetition rate from the identification information of the registered WiFi hotspots corresponding to the indoor environment;
and/or the service device may acquire, from the database, identification information of registered WiFi hotspots corresponding to the indoor environment within a specified time, and may select, as identification information of a target WiFi hotspot, identification information of a registered WiFi hotspot having a highest repetition rate from the identification information of the registered WiFi hotspots corresponding to the indoor environment.
213. And the service equipment acquires the physical position of the target WiFi hotspot according to the identification information of the target WiFi hotspot.
As an optional implementation manner, in the embodiment of the present invention, after the service device acquires the physical location of the target WiFi hotspot, the service device may further acquire related information of the user's resident address, for example, coordinate location information and area information of the physical location.
214. And the service equipment sets the physical position of the target WiFi hotspot as a resident address of the intelligent equipment in the indoor environment.
As an optional implementation manner, in the embodiment of the present invention, the service device may store the resident address of the smart device in the indoor environment in the database of the smart device, so that the smart device can quickly obtain the positioning result in the same indoor environment next time.
215. And the service equipment pushes the resident address of the intelligent equipment in the indoor environment to the intelligent equipment.
As an optional implementation manner, in the embodiment of the present invention, after the service device pushes the address of the smart device in the indoor environment to the smart device, the service device may further push an audio file related to the address of the smart device in the indoor environment to the smart device, so that the display screen of the smart device may display the location information of the address of the smart device in the indoor environment.
It can be seen that the cluster positioning method described in fig. 2 is implemented, and the method can improve the accuracy and response speed of indoor positioning.
In addition, by implementing the clustering positioning method described in fig. 2, information data of the intelligent device can be periodically collected, so that the accuracy of indoor positioning of the intelligent device is greatly improved.
In addition, by implementing the clustering positioning method described in fig. 2, the current positioning result of the intelligent device can be updated in time, which is beneficial to improving the accuracy of high indoor positioning of the intelligent device.
In addition, by implementing the clustering positioning method described in fig. 2, the intelligent device can quickly obtain the positioning result in the same indoor environment next time.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic flow chart of a cluster location method according to an embodiment of the present invention. As shown in fig. 3, the cluster location method may include the following steps.
301. The service equipment acquires identity identification information of the user reported by the intelligent equipment, second identification information of a WiFi hotspot of an indoor environment matched with the identity identification information of the user in specified time and GPS positioning information of the intelligent equipment in the specified time; the second identification information of the WiFi hotspot of the indoor environment at least includes a Mac address of the WiFi hotspot of the indoor environment and a signal strength of the WiFi hotspot of the indoor environment.
302. The service equipment calculates WiFi fingerprints corresponding to the indoor environment according to the signal intensity of the WiFi hotspots of the indoor environment; the WiFi fingerprint is a WiFi hotspot with signal intensity greater than or equal to preset intensity in WiFi hotspots of the indoor environment.
303. And the service equipment acquires the position distance between the transmitting port of the WiFi hotspot of the indoor environment and the intelligent equipment according to the GPS positioning information of the intelligent equipment and the Mac address of the WiFi hotspot of the indoor environment.
304. And the service equipment selects WiFi hotspots with the position distances within the specified position distance from the WiFi fingerprints.
305. And the service equipment calculates the user resident address of the intelligent equipment in the indoor environment according to the WiFi hotspot of the position distance within the specified position distance.
306. And the service equipment stores the user resident address into a WiFi fingerprint database.
307. The service equipment acquires first identification information of peripheral WiFi hotspots of the intelligent equipment, wherein the first identification information is reported by the intelligent equipment; the first identification information of the peripheral WiFi hotspots of the intelligent equipment at least comprises Mac addresses of the peripheral WiFi hotspots of the intelligent equipment.
308. The service equipment deletes the first identification information of the peripheral WiFi hotspots of the intelligent equipment, of which the signal intensity of the peripheral WiFi hotspots of the intelligent equipment is lower than a second specified threshold value, from the database.
As an optional implementation manner, in the embodiment of the present invention, after the service device deletes, from the database, the first identification information of the WiFi hotspots around the smart device whose signal strength is lower than the second specified threshold, the service device may detect whether the number of the WiFi hotspots around the smart device is higher than the specified number, and if so, the service device may delete, from the database, the first identification information of the WiFi hotspots around the smart device whose signal strength is lower than the third specified threshold, where the third specified threshold is greater than the second specified threshold.
309. The service equipment acquires the current GPS positioning information of the intelligent equipment reported by the intelligent equipment.
As an optional implementation manner, in the embodiment of the present invention, the intelligent device may obtain the GPS positioning data in real time by starting a GPS positioning function on the intelligent device, and report the obtained GPS positioning data to the service device in time; the GPS positioning function on the intelligent device can be automatically started by default, and/or the GPS positioning function on the intelligent device can be manually started by a user.
310. The service equipment acquires the position distance between the transmitting port of the peripheral WiFi hotspot of the intelligent equipment and the intelligent equipment according to the current GPS positioning information of the intelligent equipment and the Mac address of the peripheral WiFi hotspot of the intelligent equipment.
As an optional implementation manner, in the embodiment of the present invention, the service device may obtain the current physical location of the intelligent device according to the current GPS positioning information of the intelligent device, and may obtain the physical locations of the emission ports of the peripheral WiFi hotspots of the intelligent device according to the Mac addresses of the peripheral WiFi hotspots of the intelligent device, so as to obtain the linear distance between the emission ports of the peripheral WiFi hotspots of the intelligent device and the intelligent device.
311. The service equipment further deletes the first identification information of the peripheral WiFi hotspots of the intelligent equipment, of which the position distance between the emission ports of the peripheral WiFi hotspots of the intelligent equipment and the intelligent equipment exceeds a third specified threshold value, from the database.
As an optional implementation manner, in an embodiment of the present invention, a size of the third specified threshold may be set by a system default of the electronic device, or may be set by a user.
As an optional implementation manner, in the embodiment of the present invention, the service device may detect, from the database, whether the number of indoor environments matched with the Mac addresses of the WiFi hotspots around the smart device exceeds a specified threshold, and if so, the service device may obtain the target indoor environment through clustering operation.
312. And the service equipment acquires the indoor environment matched with the Mac address of the peripheral WiFi hotspot of the intelligent equipment from the database.
313. The service device detects whether the user resident address exists in the indoor environment from the WiFi fingerprint database, if not, step 314 is executed, and if yes, step 319 to step 321 are executed.
314. The service equipment detects whether the quantity of the identification information of the registered WiFi hotspots corresponding to the indoor environment stored in the database is larger than a first specified threshold value, if so, steps 315 to 318 are executed, and if not, the process is ended.
315. The service equipment selects the identification information of the registered WiFi hotspot with the highest repetition rate from the identification information of the registered WiFi hotspots corresponding to the indoor environment as the identification information of the target WiFi hotspot.
316. And the service equipment acquires the physical position of the target WiFi hotspot according to the identification information of the target WiFi hotspot.
317. And the service equipment sets the physical position of the target WiFi hotspot as a resident address of the intelligent equipment in the indoor environment.
318. The service equipment pushes the resident address of the intelligent equipment in the indoor environment to the intelligent equipment, and the process is finished.
319. And the service equipment pushes the user resident address to the intelligent equipment.
320. And the service equipment acquires the friend list of the user according to the identity identification information of the user reported by the intelligent equipment.
As an optional implementation manner, in the embodiment of the present invention, the service device may select the acquisition object by identifying whether the intimacy degree between the user to which the intelligent device belongs and the friend in the friend list reaches a specified threshold, that is, when the intimacy degree between the intelligent device and the electronic device to which the friend in the friend list belongs reaches the specified threshold, the service device may acquire related information of the electronic device, such as the identity information of the user to which the electronic device belongs and the current location information of the electronic device. The closeness degree of the intelligent device and the electronic device to which the friend in the friend list belongs can be in a direct proportion relation with the closeness frequency (such as call frequency) of the intelligent device and the electronic device to which the friend in the friend list belongs; the service device may obtain, from the mobile switching center, an intimacy frequency (e.g., a call frequency) between the smart device and an electronic device to which the friend in the friend list belongs according to the identity identifier of the smart device, and may further determine an intimacy degree between the smart device and the smart device.
321. The service device detects whether the indoor environment has the friend in the friend list, if yes, the step 322 to the step 323 are executed, and if not, the process is ended.
As an optional implementation manner, in the embodiment of the present invention, when the service device detects that a friend in the friend list exists in an indoor environment, the service device may detect whether a location distance between the intelligent device and the electronic device to which the friend belongs exceeds a specified threshold, and if not, the service device may perform steps 322 to 323; if so, the service equipment can judge that the current user and the friend are in the intimate contact state, and the service equipment ends the process.
322. The service equipment acquires the current position information of the friend and the identity information of the friend.
As an optional implementation manner, in the embodiment of the present invention, before the service device obtains the current location information of the friend and the identity information of the friend, the service device may send query information to the electronic device to which the friend belongs, to query whether the friend agrees to send the current location information and the identity information to the intelligent device, and when the friend agrees to send the current location information and the identity information to the intelligent device, the service device may perform step 322.
As an optional implementation manner, in the embodiment of the present invention, before the service device obtains the current location information of the friend and the identity information of the friend, the service device may send query information to the intelligent device, to query whether the user to which the intelligent device belongs needs to obtain the current location information of the friend and the identity information of the friend, and when the user to which the intelligent device belongs needs to obtain the current location information of the friend and the identity information of the friend, the service device may execute step 322.
323. The service equipment pushes the current position information of the friend and the identity information of the friend to the intelligent equipment.
As an optional implementation manner, in the embodiment of the present invention, after the service device pushes the current location information of the friend and the identity information of the friend to the intelligent device, the service device may further send the current location information of the intelligent device and the identity information of the user to which the intelligent device belongs to the electronic device to which the friend belongs, and may perform interactive communication between the intelligent device and the electronic device to which the friend belongs through an interactive platform. For example, the identification information of the friend may also be a social account corresponding to a social application (e.g., WeChat, QQ) run by the electronic device to which the friend belongs, and accordingly, the smart device may perform interactive communication with the social account corresponding to the social application (e.g., WeChat, QQ) run by the electronic device to which the friend belongs through a social platform (belonging to an interactive platform).
As an optional implementation manner, in the embodiment of the present invention, after the service device pushes the current location information of the friend and the identity information of the friend to the intelligent device, the service device may send query information to the intelligent device to query whether the user to which the intelligent device belongs needs to search for a navigation route to the current location of the friend, and when the user to which the intelligent device belongs needs to search for a navigation route to the current location of the friend, the service device may push the searched navigation route to the intelligent device.
It can be seen that the cluster positioning method described in fig. 3 is implemented, and the method can improve the accuracy and response speed of indoor positioning.
In addition, by implementing the clustering positioning method described in fig. 3, the first identification information of the peripheral WiFi hotspots of the intelligent device and the indoor environment can be accurately obtained, so that the accuracy of the indoor positioning of the intelligent device is greatly improved.
In addition, by implementing the clustering positioning method described in fig. 3, the user to which the intelligent device belongs can perform interactive communication with the friend, which is beneficial to improving the user experience of the service device.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of a service device according to an embodiment of the present invention. As shown in fig. 4, the service apparatus may include:
a first obtaining unit 401, configured to obtain first identification information of peripheral WiFi hotspots of the intelligent device, where the first identification information is reported by the intelligent device; the first identification information of the peripheral WiFi hotspots of the intelligent equipment at least comprises Mac addresses of the peripheral WiFi hotspots of the intelligent equipment.
A second obtaining unit 402, configured to obtain, from the database, an indoor environment matching the Mac address of the peripheral WiFi hotspot of the smart device.
A first detecting unit 403, configured to detect whether a user's resident address exists in the indoor environment from the WiFi fingerprint database.
Accordingly, in the service device shown in fig. 5, the second obtaining unit 402 is further configured to obtain the user resident address when the first detecting unit 403 detects that the user resident address exists in the indoor environment from the WiFi fingerprint database.
The first pushing unit 404 is configured to push the user resident address to the smart device.
In the embodiment of the present invention, the user equipment may include an intelligent device such as a mobile phone, a tablet computer, an intelligent bracelet, an intelligent watch, and the like, which is not limited in the embodiment of the present invention.
As an optional implementation manner, in an embodiment of the present invention, the first Identification information of the WiFi hotspots around the smart device may further include an International mobile identity (IMSI) of the first electronic device.
As an optional implementation manner, in the embodiment of the present invention, before the first obtaining unit 401 obtains the first identification information of the peripheral WiFi hotspots of the intelligent device, which is reported by the intelligent device, the first obtaining unit 401 may first obtain a positioning request for the intelligent device, which is reported by the intelligent device, where the positioning request may be sent manually by a user through the intelligent device, or sent automatically by the intelligent device.
For example, when a user needs to locate an intelligent device, the user may send a location request signal to the intelligent device in a voice manner, the intelligent device may detect whether a preset keyword related to an intention to locate the intelligent device exists in voice input by the user, for example, "search", "locate", and the like, when the preset keyword related to the intention to locate the intelligent device exists in the voice input by the user, the intelligent device may report a location request for the intelligent device to a service device, and the first obtaining unit 401 may obtain first identification information of peripheral WiFi hotspots of the intelligent device reported by the intelligent device.
For another example, when the user needs to locate the smart device, the user may manually send a location request signal to the smart device through a touch screen, when the smart device receives the location request signal sent by the user, the smart device may report the location request for the smart device to the service device, and the first obtaining unit 401 may obtain the first identification information of the peripheral WiFi hotspots of the smart device, which is reported by the smart device.
For another example, when the user needs to locate the smart device, the user may send a location request signal to the smart device by manually turning on a physical key switch disposed on the smart device, and when the smart device receives the location request signal sent by the user, the smart device may report a location request for the smart device to the service device, and the first obtaining unit 401 may obtain the first identification information of the peripheral WiFi hotspots of the smart device reported by the smart device.
For another example, when the user needs to locate the smart device, the smart device may report a location request signal for the smart device to the service device at regular time, and the location request signal is started without any instruction of the user to which the smart device belongs.
As an optional implementation manner, in the embodiment of the present invention, after the second obtaining unit 402 obtains the indoor environment matched with the Mac address of the peripheral WiFi hotspot of the smart device from the database, the second obtaining unit 402 may further obtain relevant information of the indoor environment from the database, for example, area information, name information, and information of a person in charge of the indoor environment;
and, after the second obtaining unit 402 obtains the relevant information of the indoor environment from the database, the service device may transmit the relevant information of the indoor environment to the smart device.
As an optional implementation manner, in the embodiment of the present invention, the service device may set a sensitive area for the smart device, and after the second obtaining unit 402 obtains the indoor environment matched with the Mac address of the WiFi hotspot around the smart device from the database, the service device may detect whether the indoor environment belongs to the set sensitive area, and if so, the service device may send a prompt message to the smart device to prompt that the user is currently located in the sensitive area.
As an optional implementation manner, in the embodiment of the present invention, when the first detecting unit 403 detects that the user's resident address exists in the indoor environment from the WiFi fingerprint database, the second acquiring unit 402 may acquire information related to the user's resident address, for example, coordinate and position information of the user's resident address.
As an optional implementation manner, in the embodiment of the present invention, the service device may detect, at a preset time interval, whether the current environment of the smart device is still in the indoor environment, and if so, the service device may not change the current positioning result, that is, the first pushing unit 404 continues to push the user resident address to the smart device; if not, the service device can acquire the identification information of the peripheral WiFi hotspots of the intelligent device again, and can acquire the new indoor environment from the database to obtain the user resident address of the intelligent device in the new indoor environment, and push the user resident address of the intelligent device in the new indoor environment to the intelligent device.
As an optional implementation manner, in the embodiment of the present invention, the first obtaining unit 401 may obtain a location request for the intelligent device, which is reported by an electronic device associated with the intelligent device, and the service device may obtain, according to the location request, identification information of peripheral WiFi hotspots of the intelligent device, so as to obtain a user resident address of the intelligent device in an indoor environment mapped to the peripheral WiFi hotspots and in an indoor environment mapped to the peripheral WiFi hotspots, and push the user resident address to the electronic device associated with the intelligent device;
after the first pushing unit 404 pushes the user resident address to the electronic device associated with the smart device, the first pushing unit 404 may also push detailed information of the smart device to the electronic device associated with the smart device, where the detailed information of the smart device includes information such as a stay time, a start time, an end time, and basic parameters of the smart device at the user resident address of the smart device;
and after the first pushing unit 404 pushes the detailed information of the smart device to the electronic device associated with the smart device, the service device may further send query information to the electronic device to query whether the user to which the electronic device belongs needs to search for the navigation route of the user's resident address, and when the user to which the electronic device belongs needs to search for the navigation route of the user's resident address, the service device may push the searched navigation route to the electronic device.
It can be seen that the implementation of the service device described in fig. 4 can improve the accuracy of indoor positioning and response speed.
In addition, by implementing the service device described in fig. 4, the service device can send corresponding prompt information to the user when the user steps into the set sensitive area, which is beneficial to improving the user experience of the service device.
In addition, the service device described in fig. 4 can update the current positioning result of the intelligent device in time, which is beneficial to improving the accuracy of high indoor positioning of the intelligent device.
In addition, when the service device described in fig. 4 is implemented, the electronic device associated with the smart device can obtain the positioning result of the smart device and the detailed information of the smart device, which is beneficial to interaction between a user and the smart device and improves the user experience of the service device.
EXAMPLE five
Referring to fig. 5, fig. 5 is a schematic structural diagram of another service device according to an embodiment of the disclosure. The service device shown in fig. 5 is optimized by the service device shown in fig. 4. Compared with the service apparatus shown in fig. 4, the service apparatus shown in fig. 5 may further include:
a second detecting unit 405, configured to detect whether the number of identification information of the registered WiFi hotspots corresponding to the indoor environment stored in the database is greater than a first specified threshold when the first detecting unit 403 detects that the user resident address does not exist in the indoor environment from the WiFi fingerprint database.
As an alternative implementation manner, in the embodiment of the present invention, before the second detecting unit 405 detects that the number of the identification information of the registered WiFi hotspots corresponding to the indoor environment stored in the database is greater than a first specified threshold, the service device may detect whether the signal strength of the registered WiFi hotspots corresponding to the indoor environment is higher than the specified threshold, and if not, the service device may delete the identification information of the registered WiFi hotspots corresponding to the indoor environment whose signal strength of the WiFi hotspots is lower than the specified threshold.
A first determining unit 406, configured to, when the second detecting unit 405 detects that the number of pieces of identification information of registered WiFi hotspots corresponding to the indoor environment stored in the database is greater than a first specified threshold, select, as the identification information of the target WiFi hotspot, the identification information of the registered WiFi hotspot with the highest repetition rate from the pieces of identification information of the registered WiFi hotspots corresponding to the indoor environment.
As an optional implementation manner, in an embodiment of the present invention, the first determining unit 406 may obtain all identification information of registered WiFi hotspots corresponding to the indoor environment from a database, and may select, as identification information of a target WiFi hotspot, identification information of a registered WiFi hotspot with a highest repetition rate from the identification information of registered WiFi hotspots corresponding to the indoor environment;
and/or the first determining unit 406 may obtain, from the database, the identification information of the registered WiFi hotspots corresponding to the indoor environment within a specified time, and may select, from the identification information of the registered WiFi hotspots corresponding to the indoor environment, the identification information of the registered WiFi hotspot with the highest repetition rate as the identification information of the target WiFi hotspot.
A third obtaining unit 407, configured to obtain a physical location of the target WiFi hotspot according to the identification information of the target WiFi hotspot.
As an optional implementation manner, in the embodiment of the present invention, after the third obtaining unit 407 obtains the physical location of the target WiFi hotspot, the third obtaining unit 407 may further obtain related information of the user's resident address, for example, coordinate location information and area information of the physical location.
A second determining unit 408, configured to set the physical location of the target WiFi hotspot as a resident address of the smart device in the indoor environment.
As an optional implementation manner, in the embodiment of the present invention, the service device may store the resident address of the smart device in the indoor environment in the database of the smart device, so that the smart device can quickly obtain the positioning result in the same indoor environment next time.
The second pushing unit 409 is configured to push the resident address of the smart device in the indoor environment to the smart device.
As an optional implementation manner, in the embodiment of the present invention, after the second pushing unit 409 pushes the address of the smart device in the indoor environment to the smart device, the second pushing unit 409 may also push an audio file related to the address of the smart device in the indoor environment to the smart device, so that the location information of the address of the smart device in the indoor environment may be displayed on the display screen of the smart device.
Accordingly, compared to the service apparatus shown in fig. 4, the service apparatus shown in fig. 5 further includes a calculation unit 410, a selection unit 411, and a storage unit 412:
correspondingly, in the service device shown in fig. 5, the first obtaining unit 401 is further configured to obtain, before obtaining the first identification information of the peripheral WiFi hotspots of the smart device reported by the smart device, the identity identification information of the user reported by the smart device, the second identification information of the WiFi hotspots of the indoor environment matched with the identity identification information of the user in the specified time, and the GPS positioning information of the smart device in the specified time; the second identification information of the WiFi hotspot of the indoor environment at least includes a Mac address of the WiFi hotspot of the indoor environment and a signal strength of the WiFi hotspot of the indoor environment.
As an optional implementation manner, in the embodiment of the present invention, the smart device may pre-install a client, where the client is installed and operated in an APP (application program) form, and the smart device installed with the client may be triggered or periodically perform data acquisition and report, where the acquired and reported data is the identification information of the user, the second identification information of the WiFi hotspot in the indoor environment, which is matched with the identification information of the user in a specified time, and the GPS positioning information of the smart device in the specified time.
The calculating unit 410 is configured to calculate a WiFi fingerprint corresponding to an indoor environment according to a signal strength of a WiFi hotspot of the indoor environment; the WiFi fingerprint is a WiFi hotspot with signal intensity greater than or equal to preset intensity in WiFi hotspots in an indoor environment.
As an optional implementation manner, in the embodiment of the present invention, the service device may detect whether the obtained signal intensity of the WiFi hotspot of the indoor environment is lower than a specified threshold, and if so, the service device may delete the second identification information of the WiFi hotspot of the indoor environment lower than the specified threshold;
and after the service device deletes the second identification information of the WiFi hotspot of the indoor environment lower than the specified threshold, the service device may detect whether the current number of WiFi hotspots is higher than the second specified threshold, if not, the first obtaining unit 401 may continue to obtain the second identification information of the WiFi hotspot of the indoor environment matched with the identity identification information of the user in the specified time, and when the number of WiFi hotspots is higher than the second specified threshold, the calculating unit 410 may calculate the WiFi fingerprint corresponding to the indoor environment according to the signal intensity of the WiFi hotspot of the indoor environment.
As an alternative implementation manner, in the embodiment of the present invention, the calculating unit 410 may calculate, by using a proximity algorithm (for example, a KNN algorithm), a WiFi fingerprint corresponding to the indoor environment.
For example, the calculating unit 410 may preset a signal strength parameter K, and the calculating unit 410 may obtain a WiFi hotspot most similar to the signal strength parameter K from the signal strength of the WiFi hotspot in the indoor environment;
and after the computing unit 410 obtains the WiFi hotspots most similar to the signal strength parameter K from the signal strengths of the WiFi hotspots in the indoor environment, the computing unit 410 may sort the WiFi hotspots most similar to the signal strength parameter K in order of strong signal strength to weak signal strength, so as to obtain a sequence of strong signal strength to weak signal strength, and the computing unit 410 may obtain the first N WiFi hotspots in the sequence as WiFi fingerprints corresponding to the indoor environment.
Correspondingly, in the service device shown in fig. 5, the third obtaining unit 407 is further configured to obtain, according to the GPS positioning information of the smart device and the Mac address of the WiFi hotspot of the indoor environment, a location distance between the transmitting port of the WiFi hotspot of the indoor environment and the smart device.
As an optional implementation manner, in the embodiment of the present invention, the third obtaining unit 407 may obtain the physical location of the current smart device according to the GPS positioning information of the smart device, and may obtain the physical location of the transmitting port of the WiFi hotspot of the indoor environment according to the Mac address of the WiFi hotspot of the indoor environment, so as to obtain the linear distance between the transmitting port of the WiFi hotspot of the indoor environment and the smart device.
A selecting unit 411, configured to select a WiFi hotspot whose location distance is within a specified location distance from the WiFi fingerprint.
As an optional implementation manner, in the embodiment of the present invention, after the selecting unit 411 selects WiFi hotspots whose location distances are within a specified location distance from the WiFi fingerprint, the service device may detect whether the number of the selected WiFi hotspots is higher than a specified threshold, if not, the first obtaining unit 401 may repeatedly obtain the identity information of the user reported by the smart device, the second identification information of the WiFi hotspots of the indoor environment matched with the identity information of the user in the specified time, and the GPS positioning information of the smart device in the specified time until the service device detects that the number of the selected WiFi hotspots is higher than the specified threshold.
Correspondingly, in the service device shown in fig. 5, the calculating unit 410 is further configured to calculate a user resident address of the smart device in the indoor environment according to the WiFi hotspot whose location distance is within the specified location distance.
As an alternative implementation manner, in the embodiment of the present invention, the calculating unit 410 may calculate and obtain the user resident address of the smart device in the indoor environment by using a clustering operation (for example, DBSCAN algorithm and BRICH algorithm).
For example, the calculating unit 410 may integrate WiFi hotspots with the above location distances within the specified location distance into one set by using the DBSCAN algorithm, and may classify WiFi hotspots with the closeness degree greater than the specified threshold value from the set as one class;
and after the calculating unit 410 obtains the classified WiFi hotspots by using the DBSCAN algorithm, the calculating unit 410 may further select a WiFi hotspot with the smallest mutual distance from the classified WiFi hotspots by using the BRICH algorithm, and may calculate an average distance between the two classified WiFi hotspots to obtain a clustered WiFi hotspot.
A storage unit 412, configured to store the user's resident address in the WiFi fingerprint database.
As an optional implementation manner, in the embodiment of the present invention, the storage unit 412 may further store information, such as a resident time of the smart device at the user resident address and a basic parameter of the smart device, in the WiFi fingerprint library.
It can be seen that the implementation of another service device described in fig. 5 can improve the accuracy of indoor positioning and response speed.
In addition, by implementing another service device described in fig. 5, information data of the smart device can be periodically collected, so that the accuracy of indoor positioning of the smart device is greatly improved.
In addition, by implementing another service device described in fig. 5, the current positioning result of the intelligent device can be updated in time, which is beneficial to improving the accuracy of high indoor positioning of the intelligent device.
In addition, the implementation of another service device described in fig. 5 enables the smart device to quickly obtain the positioning result in the same indoor environment next time.
EXAMPLE six
Referring to fig. 6, fig. 6 is a schematic structural diagram of another service device according to an embodiment of the present invention. The service device shown in fig. 6 is optimized by the service device shown in fig. 5. In the service device shown in fig. 6, the first identification information of the peripheral WiFi hotspots of the smart device at least further includes signal strengths of the peripheral WiFi hotspots of the smart device.
Accordingly, compared to the service apparatus shown in fig. 5, the service apparatus shown in fig. 6 may further include:
the deleting unit 413 is configured to delete, from the database, the first identification information of the peripheral WiFi hotspot of the intelligent device whose signal strength is lower than the second specified threshold after the first acquiring unit 401 acquires the first identification information of the peripheral WiFi hotspot of the intelligent device reported by the intelligent device and before the second acquiring unit acquires the indoor environment matched with the first identification information of the peripheral WiFi hotspot from the database.
As an optional implementation manner, in the embodiment of the present invention, after the deleting unit 413 deletes, from the database, the first identification information of the peripheral WiFi hotspots of the smart device whose signal strength of the peripheral WiFi hotspots of the smart device is lower than the second specified threshold, the service device may detect whether the number of the peripheral WiFi hotspots of the current smart device is higher than the specified number, and if so, the deleting unit 413 may delete, from the database, the first identification information of the peripheral WiFi hotspots of the smart device whose signal strength of the peripheral WiFi hotspots of the smart device is lower than a third specified threshold, where the third specified threshold is greater than the second specified threshold.
Correspondingly, in the service device shown in fig. 5, the first obtaining unit 401 is further configured to obtain current GPS positioning information of the smart device reported by the smart device.
As an optional implementation manner, in the embodiment of the present invention, the intelligent device may obtain the GPS positioning data in real time by starting a GPS positioning function on the intelligent device, and report the obtained GPS positioning data to the service device in time; the GPS positioning function on the intelligent device can be automatically started by default, and/or the GPS positioning function on the intelligent device can be manually started by a user.
Correspondingly, in the service device shown in fig. 5, the deleting unit 413 is further configured to obtain a location distance between a transmitting port of a peripheral WiFi hotspot of the intelligent device and the intelligent device according to the current GPS positioning information of the intelligent device and the Mac address of the peripheral WiFi hotspot of the intelligent device; and further deleting the first identification information of the peripheral WiFi hotspots of the intelligent equipment, of which the position distance between the emission ports of the peripheral WiFi hotspots of the intelligent equipment and the intelligent equipment exceeds a third specified threshold value, from the database.
As an optional implementation manner, in the embodiment of the present invention, the service device may obtain the current physical location of the intelligent device according to the current GPS positioning information of the intelligent device, and may obtain the physical locations of the emission ports of the peripheral WiFi hotspots of the intelligent device according to the Mac addresses of the peripheral WiFi hotspots of the intelligent device, so as to obtain the linear distance between the emission ports of the peripheral WiFi hotspots of the intelligent device and the intelligent device.
As an optional implementation manner, in an embodiment of the present invention, a size of the third specified threshold may be set by a system default of the electronic device, or may be set by a user.
As an optional implementation manner, in the embodiment of the present invention, the service device may detect, from the database, whether the number of indoor environments matched with the Mac addresses of the WiFi hotspots around the smart device exceeds a specified threshold, and if so, the service device may obtain the target indoor environment through clustering operation.
Accordingly, compared to the service apparatus shown in fig. 5, the service apparatus shown in fig. 6 may further include:
the fourth obtaining unit 414 is configured to, after the first pushing unit 404 pushes the user resident address to the intelligent device, obtain the buddy list of the user according to the identity information of the user reported by the intelligent device.
As an optional implementation manner, in the embodiment of the present invention, the service device may select the obtaining object by identifying whether the intimacy degree between the user to which the smart device belongs and the friend in the friend list reaches a specified threshold, that is, when the intimacy degree between the smart device and the electronic device to which the friend in the friend list belongs reaches the specified threshold, the fourth obtaining unit 414 may obtain related information of the electronic device, for example, the identity information of the user to which the electronic device belongs and the current location information of the electronic device. The closeness degree of the intelligent device and the electronic device to which the friend in the friend list belongs can be in a direct proportion relation with the closeness frequency (such as call frequency) of the intelligent device and the electronic device to which the friend in the friend list belongs; the service device may obtain, from the mobile switching center, an intimacy frequency (e.g., a call frequency) between the smart device and an electronic device to which the friend in the friend list belongs according to the identity identifier of the smart device, and may further determine an intimacy degree between the smart device and the smart device.
A fourth detecting unit 415, configured to detect whether there are friends in the friend list in the indoor environment; and if so, acquiring the current position information of the friend and the identity information of the friend.
As an optional implementation manner, in the embodiment of the present invention, when the fourth detecting unit 415 detects that a friend in the friend list exists in an indoor environment, the service device may detect whether a location distance between the smart device and an electronic device to which the friend belongs exceeds a specified threshold, if yes, the service device may determine that the current user and the friend are in an intimate contact state, and the service device ends the process.
As an optional implementation manner, in the embodiment of the present invention, before the service device obtains the current location information of the friend and the identity information of the friend, the service device may send query information to the electronic device to which the friend belongs, to query whether the friend agrees to send the current location information and the identity information to the intelligent device, and when the friend agrees to send the current location information and the identity information to the intelligent device, the service device may perform step 322.
As an optional implementation manner, in the embodiment of the present invention, before the service device obtains the current location information of the friend and the identity information of the friend, the service device may send query information to the intelligent device, to query whether the user to which the intelligent device belongs needs to obtain the current location information of the friend and the identity information of the friend, and when the user to which the intelligent device belongs needs to obtain the current location information of the friend and the identity information of the friend, the service device may execute step 322.
A third pushing unit 416, configured to push the current location information of the friend and the identity information of the friend to the smart device.
As an optional implementation manner, in the embodiment of the present invention, after the third pushing unit 416 pushes the current location information of the friend and the identification information of the friend to the intelligent device, the service device may further send the current location information of the intelligent device and the identification information of the user to which the intelligent device belongs to the electronic device to which the friend belongs, and may perform interactive communication between the intelligent device and the electronic device to which the friend belongs through an interactive platform. For example, the identification information of the friend may also be a social account corresponding to a social application (e.g., WeChat, QQ) run by the electronic device to which the friend belongs, and accordingly, the smart device may perform interactive communication with the social account corresponding to the social application (e.g., WeChat, QQ) run by the electronic device to which the friend belongs through a social platform (belonging to an interactive platform).
As an optional implementation manner, in the embodiment of the present invention, after the third pushing unit 416 pushes the current location information of the friend and the identification information of the friend to the intelligent device, the service device may send query information to the intelligent device to query whether the user to which the intelligent device belongs needs to search for a navigation route to the current location of the friend, and when the user to which the intelligent device belongs needs to search for a navigation route to the current location of the friend, the service device may push the searched navigation route to the intelligent device.
It can be seen that the implementation of another service apparatus described in fig. 6 can improve the accuracy of indoor positioning and response speed.
In addition, by implementing another service device described in fig. 6, the first identification information of the peripheral WiFi hotspots of the intelligent device and the indoor environment can be accurately obtained, so that the accuracy of the indoor positioning of the intelligent device is greatly improved.
In addition, by implementing another service device described in fig. 6, the user to which the intelligent device belongs can perform interactive communication with the friend, which is beneficial to improving the user experience of the service device.
EXAMPLE seven
Referring to fig. 7, fig. 7 is a schematic structural diagram of another service device according to an embodiment of the disclosure. As shown in fig. 7, the service apparatus may include:
a memory 701 in which executable program code is stored;
a processor 702 coupled to the memory 701;
the processor 702 calls the executable program code stored in the memory 701 to execute any one of the cluster location methods shown in fig. 1 to 3.
Example eight
Referring to fig. 8, fig. 8 is a network architecture diagram of a cluster positioning system according to an embodiment of the present invention. As shown in fig. 8, the cluster locating system may include:
intelligent device 801 and service device 802, wherein:
the intelligent device 801 is used for acquiring first identification information of peripheral WiFi hotspots of the intelligent device 801; the first identification information of the peripheral WiFi hotspots of the intelligent device 801 at least includes Mac addresses of the peripheral WiFi hotspots of the intelligent device 801.
The service device 802 is configured to obtain first identification information of peripheral WiFi hotspots of the intelligent device 801 reported by the intelligent device 801; acquiring an indoor environment matched with the Mac address of the WiFi hotspot around the intelligent device 801 from the database; acquiring a user resident address of the intelligent device 801 in the indoor environment from the WiFi fingerprint database; and pushes the user's resident address to the smart device 801.
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program, wherein the computer program enables a computer to execute any one of the cluster positioning methods shown in the figures 1-3.
Embodiments of the present invention also disclose a computer program product, wherein, when the computer program product is run on a computer, the computer is caused to execute part or all of the steps of the method as in the above method embodiments.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by instructions associated with a program, which may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), compact disc-Read-Only Memory (CD-ROM), or other Memory, magnetic disk, magnetic tape, or magnetic tape, Or any other medium which can be used to carry or store data and which can be read by a computer.
The cluster positioning method, the service device and the system disclosed by the embodiment of the invention are described in detail, specific examples are applied in the description to explain the principle and the implementation mode of the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (11)

1. A cluster location method, the method comprising:
acquiring first identification information of peripheral WiFi hotspots of the intelligent equipment, which is reported by the intelligent equipment; the first identification information of the peripheral WiFi hotspots of the intelligent equipment at least comprises Mac addresses of the peripheral WiFi hotspots of the intelligent equipment;
acquiring an indoor environment matched with Mac addresses of WiFi hotspots around the intelligent equipment from a database;
detecting whether a user resident address exists in the indoor environment from a WiFi fingerprint database; if so, acquiring the user resident address;
and pushing the user resident address to the intelligent equipment.
2. The method of claim 1, further comprising:
if the indoor environment is detected to have no user resident address, detecting whether the quantity of the identification information of the registered WiFi hotspot corresponding to the indoor environment, which is stored in the database, is greater than a first specified threshold value; if so, selecting the identification information of the registered WiFi hotspot with the highest repetition rate from the identification information of the registered WiFi hotspots corresponding to the indoor environment as the identification information of the target WiFi hotspot;
acquiring the physical position of the target WiFi hotspot according to the identification information of the target WiFi hotspot;
setting the physical location of the target WiFi hotspot as a resident address of the intelligent device in the indoor environment;
and pushing a resident address of the intelligent device in the indoor environment to the intelligent device.
3. The method according to claim 2, wherein before the obtaining the first identification information of the peripheral WiFi hotspots of the smart device reported by the smart device, the method further comprises:
acquiring identity identification information of the user reported by the intelligent equipment, second identification information of a WiFi hotspot of the indoor environment matched with the identity identification information of the user in a specified time and GPS positioning information of the intelligent equipment in the specified time; the second identification information of the WiFi hotspot of the indoor environment at least comprises a Mac address of the WiFi hotspot of the indoor environment and signal strength of the WiFi hotspot of the indoor environment;
calculating a WiFi fingerprint corresponding to the indoor environment according to the signal intensity of the WiFi hotspot of the indoor environment; the WiFi fingerprint is a WiFi hotspot of which the signal intensity is greater than or equal to a preset intensity in WiFi hotspots of the indoor environment;
acquiring the position distance between a transmitting port of the WiFi hotspot of the indoor environment and the intelligent equipment according to the GPS positioning information of the intelligent equipment and the Mac address of the WiFi hotspot of the indoor environment;
selecting WiFi hotspots from the WiFi fingerprints for which the location distances are within a specified location distance;
calculating to obtain the user resident address of the intelligent equipment in the indoor environment according to the WiFi hotspot of the position distance within the designated position distance;
and storing the user resident address into the WiFi fingerprint database.
4. The method according to claim 1, 2 or 3, wherein the first identification information of the peripheral WiFi hotspots of the smart device further comprises at least signal strengths of the peripheral WiFi hotspots of the smart device; after the obtaining of the first identification information of the peripheral WiFi hotspots of the smart device reported by the smart device and before obtaining the indoor environment matched with the Mac address of the peripheral WiFi hotspots of the smart device from the database, the method further includes:
deleting first identification information of peripheral WiFi hotspots of the intelligent equipment, of which the signal intensity is lower than a second specified threshold value, from a database;
acquiring current GPS positioning information of the intelligent equipment reported by the intelligent equipment;
acquiring the position distance between the transmitting port of the peripheral WiFi hotspot of the intelligent equipment and the intelligent equipment according to the current GPS positioning information of the intelligent equipment and the Mac address of the peripheral WiFi hotspot of the intelligent equipment;
and further deleting the first identification information of the peripheral WiFi hotspots of the intelligent equipment, of which the position distance between the emission ports of the peripheral WiFi hotspots of the intelligent equipment and the intelligent equipment exceeds a third specified threshold value, from the database.
5. The method of claim 4, wherein after the pushing the user-resident address to the smart device, the method further comprises:
acquiring a friend list of the user according to the identity information of the user reported by the intelligent equipment;
detecting whether a friend in the friend list exists in the indoor environment; if yes, acquiring the current position information of the friend and the identity information of the friend;
and pushing the current position information of the friend and the identity information of the friend to the intelligent equipment.
6. A service device, wherein the smart device comprises:
the first acquisition unit is used for acquiring first identification information of peripheral WiFi hotspots of the intelligent equipment, which is reported by the intelligent equipment; the first identification information of the peripheral WiFi hotspots of the intelligent equipment at least comprises Mac addresses of the peripheral WiFi hotspots of the intelligent equipment;
the second acquisition unit is used for acquiring the indoor environment matched with the Mac address of the peripheral WiFi hotspot of the intelligent equipment from a database;
the first detection unit is used for detecting whether a user resident address exists in the indoor environment from a WiFi fingerprint database;
the second obtaining unit is further configured to obtain a user resident address when the first detecting unit detects that the user resident address exists in the indoor environment from the WiFi fingerprint database;
and the first pushing unit is used for pushing the user resident address to the intelligent equipment.
7. The service device of claim 6, wherein the smart device further comprises:
the second detection unit is used for detecting whether the quantity of the identification information of the registered WiFi hotspots corresponding to the indoor environment stored in the database is larger than a first specified threshold value or not when the first detection unit detects that no user resident address exists in the indoor environment from a WiFi fingerprint database;
a first determining unit, configured to select, when the second detecting unit detects that the number of pieces of identification information of registered WiFi hotspots corresponding to the indoor environment stored in the database is greater than a first specified threshold, identification information of a registered WiFi hotspot with a highest repetition rate from the pieces of identification information of registered WiFi hotspots corresponding to the indoor environment as identification information of a target WiFi hotspot;
a third obtaining unit, configured to obtain a physical location of the target WiFi hotspot according to the identification information of the target WiFi hotspot;
a second determining unit, configured to set a physical location of the target WiFi hotspot as a resident address of the smart device in the indoor environment;
and the second pushing unit is used for pushing the resident address of the intelligent equipment in the indoor environment to the intelligent equipment.
8. The service device of claim 7, wherein:
the first obtaining unit is further configured to obtain, before obtaining first identification information of WiFi hotspots around the smart device reported by the smart device, identity identification information of a user reported by the smart device, second identification information of WiFi hotspots of the indoor environment that matches the identity identification information of the user at a specified time, and GPS positioning information of the smart device at the specified time; the second identification information of the WiFi hotspot of the indoor environment at least comprises a Mac address of the WiFi hotspot of the indoor environment and signal strength of the WiFi hotspot of the indoor environment;
the intelligent device further comprises a calculation unit, a selection unit and a storage unit:
the computing unit is used for computing a WiFi fingerprint corresponding to the indoor environment according to the signal intensity of the WiFi hotspot of the indoor environment; the WiFi fingerprint is a WiFi hotspot of which the signal intensity is greater than or equal to a preset intensity in WiFi hotspots of the indoor environment;
the third obtaining unit is further configured to obtain a position distance between a transmitting port of the WiFi hotspot of the indoor environment and the intelligent device according to the GPS positioning information of the intelligent device and the Mac address of the WiFi hotspot of the indoor environment;
the selecting unit is used for selecting the WiFi hotspots with the position distances within the specified position distance from the WiFi fingerprints;
the computing unit is further configured to compute the user resident address of the intelligent device in the indoor environment according to the WiFi hotspot of the location distance within the specified location distance;
the storage unit is used for storing the user resident address into the WiFi fingerprint database.
9. The service device according to claim 6, 7 or 8, wherein the first identification information of the peripheral WiFi hotspots of the smart device further includes at least signal strengths of the peripheral WiFi hotspots of the smart device; the smart device further comprises:
a deleting unit, configured to delete, from a database, first identification information of peripheral WiFi hotspots of the intelligent device whose signal strength is lower than a second specified threshold after the first acquisition unit acquires the first identification information of the peripheral WiFi hotspots of the intelligent device reported by the intelligent device and before the second acquisition unit acquires an indoor environment matched with the first identification information of the peripheral WiFi hotspots from the database;
the first obtaining unit is further configured to obtain current GPS positioning information of the intelligent device, which is reported by the intelligent device;
the deleting unit is further configured to obtain a position distance between a transmitting port of a peripheral WiFi hotspot of the intelligent device and the intelligent device according to the current GPS positioning information of the intelligent device and the Mac address of the peripheral WiFi hotspot of the intelligent device; and further deleting the first identification information of the peripheral WiFi hotspots of the intelligent equipment, of which the position distance between the emission ports of the peripheral WiFi hotspots of the intelligent equipment and the intelligent equipment exceeds a third specified threshold value, from the database.
10. The service device of claim 9, wherein the smart device further comprises:
a fourth obtaining unit, configured to obtain, after the first pushing unit pushes the user resident address to the intelligent device, a buddy list of the user according to the identity information of the user reported by the intelligent device;
a fourth detecting unit, configured to detect whether a friend in the friend list exists in the indoor environment; if yes, acquiring the current position information of the friend and the identity information of the friend;
and the third pushing unit is used for pushing the current position information of the friend and the identity information of the friend to the intelligent equipment.
11. A cluster location system, the system comprising a smart device and a service device, wherein:
the intelligent equipment is used for acquiring first identification information of peripheral WiFi hotspots of the intelligent equipment; the first identification information of the peripheral WiFi hotspots of the intelligent equipment at least comprises Mac addresses of the peripheral WiFi hotspots of the intelligent equipment;
the service equipment is used for acquiring first identification information of peripheral WiFi hotspots of the intelligent equipment reported by the intelligent equipment; acquiring an indoor environment matched with Mac addresses of WiFi hotspots around the intelligent equipment from the database; acquiring a user resident address of the intelligent equipment in the indoor environment from the WiFi fingerprint database; and pushing the user resident address to the intelligent equipment.
CN201910561993.2A 2019-06-26 2019-06-26 Clustering positioning method, service equipment and system Pending CN111757465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910561993.2A CN111757465A (en) 2019-06-26 2019-06-26 Clustering positioning method, service equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910561993.2A CN111757465A (en) 2019-06-26 2019-06-26 Clustering positioning method, service equipment and system

Publications (1)

Publication Number Publication Date
CN111757465A true CN111757465A (en) 2020-10-09

Family

ID=72672793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910561993.2A Pending CN111757465A (en) 2019-06-26 2019-06-26 Clustering positioning method, service equipment and system

Country Status (1)

Country Link
CN (1) CN111757465A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113283542A (en) * 2021-06-17 2021-08-20 北京红山信息科技研究院有限公司 Job and live information determination method, apparatus, device and storage medium
US20220321559A1 (en) * 2019-09-04 2022-10-06 China Unionpay Co., Ltd. Identity authentication method based on biometric feature, and identity authentication system thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9113344B1 (en) * 2012-03-21 2015-08-18 Square, Inc. Detecting location using WiFi hotspots
CN107302794A (en) * 2017-06-27 2017-10-27 哈尔滨工业大学深圳研究生院 The method of running fix and navigation is used as by the use of WIFI signal
CN107396299A (en) * 2017-06-01 2017-11-24 北京三快在线科技有限公司 Localization method and device, the method for building up and device of database
CN107484118A (en) * 2016-06-07 2017-12-15 滴滴(中国)科技有限公司 A kind of indoor scene localization method and system based on building WiFi fingerprints
CN108668221A (en) * 2018-04-28 2018-10-16 北京万兔思睿科技有限公司 A kind of intelligent positioning system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9113344B1 (en) * 2012-03-21 2015-08-18 Square, Inc. Detecting location using WiFi hotspots
CN107484118A (en) * 2016-06-07 2017-12-15 滴滴(中国)科技有限公司 A kind of indoor scene localization method and system based on building WiFi fingerprints
CN107396299A (en) * 2017-06-01 2017-11-24 北京三快在线科技有限公司 Localization method and device, the method for building up and device of database
CN107302794A (en) * 2017-06-27 2017-10-27 哈尔滨工业大学深圳研究生院 The method of running fix and navigation is used as by the use of WIFI signal
CN108668221A (en) * 2018-04-28 2018-10-16 北京万兔思睿科技有限公司 A kind of intelligent positioning system and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220321559A1 (en) * 2019-09-04 2022-10-06 China Unionpay Co., Ltd. Identity authentication method based on biometric feature, and identity authentication system thereof
US11811756B2 (en) * 2019-09-04 2023-11-07 China Unionpay Co., Ltd. Identity authentication method based on biometric feature, and identity authentication system thereof
CN113283542A (en) * 2021-06-17 2021-08-20 北京红山信息科技研究院有限公司 Job and live information determination method, apparatus, device and storage medium
CN113283542B (en) * 2021-06-17 2024-03-05 北京红山信息科技研究院有限公司 Method, device, equipment and storage medium for determining job information

Similar Documents

Publication Publication Date Title
JP6312716B2 (en) Method, apparatus and medium for determining a position of a mobile device within an indoor environment
US9479904B2 (en) Methods, apparatuses and computer program products for providing automatic maintenance of a geoposition system
CN109256029B (en) Automatic setting method and device for location attribute
KR101895455B1 (en) Method and apparatus for providing semantic location in electronic device
CN111597445B (en) Information recommendation method and device
CN116029719B (en) Payment service recommendation method, electronic device and storage medium
JP2018517193A (en) Computerized system and method for performing location-based search
CN111954175A (en) Method for judging visiting of interest point and related device
CN112235722B (en) Information output method and device, computer equipment and readable storage medium
CN111757465A (en) Clustering positioning method, service equipment and system
CN112261570B (en) Method, device, server and storage medium for associating interest point with wireless network
US9954966B2 (en) Method and apparatus for disaster notification
CN113124857A (en) Method for determining entrance and exit positions, related device, equipment and storage medium
JP6706865B2 (en) Position detection system and mobile terminal
CN107218943B (en) Indoor navigation method and device
CN109068374B (en) Resident POI (Point of interest) determining method, resident POI determining device, terminal and storage medium
JP2019527872A (en) Method for pushing information, positioning method and device
CN109670895B (en) Method and device for recommending getting-on position
CN114547386A (en) Positioning method and device based on Wi-Fi signal and electronic equipment
JP2010028806A (en) Position management server and communication system and communication terminal device, and position providing apparatus and communication system
CN108882165B (en) Navigation method and device
CN108199886B (en) Network fault detection method and device and computer readable storage medium
CN107656967B (en) Scene information processing method and device
CN111143490A (en) Offline positioning method of electronic equipment, service equipment and system
CN111355653B (en) Instant messaging relationship establishing method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20201009

RJ01 Rejection of invention patent application after publication