WO2020186659A1 - 一种智能设备的定位方法及智能设备 - Google Patents

一种智能设备的定位方法及智能设备 Download PDF

Info

Publication number
WO2020186659A1
WO2020186659A1 PCT/CN2019/095276 CN2019095276W WO2020186659A1 WO 2020186659 A1 WO2020186659 A1 WO 2020186659A1 CN 2019095276 W CN2019095276 W CN 2019095276W WO 2020186659 A1 WO2020186659 A1 WO 2020186659A1
Authority
WO
WIPO (PCT)
Prior art keywords
smart device
target device
hotspot
target
information
Prior art date
Application number
PCT/CN2019/095276
Other languages
English (en)
French (fr)
Inventor
王程辉
王风
Original Assignee
广东小天才科技有限公司
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 广东小天才科技有限公司 filed Critical 广东小天才科技有限公司
Publication of WO2020186659A1 publication Critical patent/WO2020186659A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/06Position of source determined by co-ordinating a plurality of position lines defined by path-difference measurements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Definitions

  • the present invention relates to the technical field of positioning, in particular to a positioning method of a smart device and a smart device.
  • the embodiment of the invention discloses a positioning method of a smart device and the smart device, which can realize the positioning of the smart device without relying on a positioning server, and the positioning process is not affected by the network, thereby improving the positioning experience.
  • the first aspect of the embodiments of the present invention discloses a positioning method of a smart device, and the method includes:
  • the smart device When the smart device receives a positioning request, it performs a Bluetooth scanning operation to obtain a Bluetooth scanning result; wherein the Bluetooth scanning result includes the identities of several peripheral devices;
  • the smart device determines the target device from the several peripheral devices; wherein, the target device has recently located the location information of the target device;
  • the smart device calculates the location information of the smart device according to the location information of the target device, the distance between the smart device and the target device, and the relative orientation of the smart device and the target device.
  • the identity of the peripheral device includes at least the Bluetooth Mac address of the peripheral device; the smart device determines from the plurality of peripheral devices Target equipment, including:
  • the smart device screens out a number of legitimate peripheral devices from the number of peripheral devices according to the Bluetooth Mac address of the peripheral device;
  • the smart device selects, from the plurality of legal peripheral devices, a legal peripheral device that has recently located location information and determines it as the target device.
  • the method further includes:
  • the smart device obtains the instruction information sent by the target device, the instruction information is sent after the target device has verified the identity information of the user to which the smart device belongs, and the instruction information is used to instruct to detect the Whether the network signal strength of the smart device is lower than the preset threshold;
  • the smart device detects whether the network signal strength of the smart device is lower than a preset threshold according to the instruction information
  • the smart device sends network signal information to the target device, and when the target device sends the location information of the target device to the smart device, executes the acquisition of the location information of the target device Step; wherein, the network signal information is used to indicate that the network signal strength of the smart device is lower than a preset threshold.
  • the method further includes:
  • the smart device obtains the hotspot list and hotspot verification indication information pushed by the target device, the hotspot list includes hotspot information of all the hotspots that the target device has connected to, and the hotspot verification indication information is used to indicate verification Whether there is any hot spot that the smart device has connected to matches the hot spot in the hot spot list;
  • the smart device verifies whether any hotspot that the smart device has connected to matches the hotspot in the hotspot list according to the hotspot verification instruction information
  • the smart device extracts a target hotspot, where the target hotspot is a hotspot that the smart device has connected to and matches a hotspot in the hotspot list;
  • the smart device sends hotspot information to the target device, and when the target device sends the location information of the target device to the smart device, executes the step of acquiring the location information of the target device; wherein,
  • the hotspot information includes at least matching information that matches the target hotspot with a hotspot in the hotspot list.
  • the location information of the target device includes the moving track, moving speed, and positioning time of the location information of the target device; After the smart device acquires the distance between the smart device and the target device and the relative position of the smart device and the target device through Bluetooth, the method further includes:
  • the smart device detects whether the time interval between the positioning time and the current time is less than a preset time interval
  • the smart device performs the calculation of the calculation of the target device based on the location information of the target device, the distance between the smart device and the target device, and the relative orientation of the smart device and the target device. Steps for location information of smart devices;
  • the smart device calculates the final location information of the target device according to the movement track, the movement speed, and the time interval; and according to the final location information of the target device, the smart device and the The distance between the target device and the relative orientation of the smart device and the target device are used to calculate the location information of the smart device.
  • the first aspect of the embodiments of the present invention discloses a smart device, and the smart device includes:
  • the Bluetooth scanning unit is configured to perform a Bluetooth scanning operation when receiving a positioning request to obtain a Bluetooth scanning result; wherein the Bluetooth scanning result includes the identities of several peripheral devices;
  • the determining unit is configured to determine the target device from the several peripheral devices; wherein the target device has recently located the location information of the target device;
  • a location acquiring unit configured to acquire location information of the target device
  • a Bluetooth acquisition unit configured to acquire the distance between the smart device and the target device and the relative orientation of the smart device and the target device through Bluetooth
  • a calculation unit configured to calculate the location information of the smart device according to the location information of the target device, the distance between the smart device and the target device, and the relative orientation of the smart device and the target device .
  • the identity of the peripheral device at least includes the Bluetooth Mac address of the peripheral device; and the determining unit includes:
  • the screening subunit is used to screen out several legal peripheral devices from the several peripheral devices according to the Bluetooth Mac addresses of the peripheral devices;
  • the determining subunit is configured to select, from the plurality of legitimate peripheral devices, a legitimate peripheral device whose location information has been recently located and determine it as the target device.
  • the smart device further includes:
  • the sending unit is configured to send a location information query request for the target device to the target device after the determining unit determines the target device from the several peripheral devices, where the location information query request includes at least all State the identity information of the user to which the smart device belongs;
  • the first acquiring unit is configured to acquire instruction information sent by the target device, where the instruction information is sent after the target device has verified the identity information of the user to which the smart device belongs, and the instruction information is used to indicate Detecting whether the network signal strength of the smart device is lower than a preset threshold;
  • the first detection unit is configured to detect whether the network signal strength of the smart device is lower than a preset threshold according to the instruction information
  • the information interaction unit is configured to send network signal information to the target device when the first detection unit detects that the network signal strength of the smart device is lower than a preset threshold, and to send network signal information to the smart device when the target device
  • the location acquiring unit is executed to acquire the location information of the target device; wherein the network signal information is used to indicate that the network signal strength of the smart device is lower than a preset Threshold.
  • the smart device further includes:
  • the second acquiring unit is configured to acquire the hotspot list and hotspot verification indication information pushed by the target device after the information interaction unit sends the network signal information to the target device, the hotspot list including the target device connection Hotspot information of all hotspots that have been used, the hotspot verification indication information is used to indicate whether any hotspot to which the smart device has been connected matches a hotspot in the hotspot list;
  • a verification unit configured to verify whether any hotspot to which the smart device has been connected matches a hotspot in the hotspot list according to the hotspot verification instruction information
  • the extracting unit is configured to extract a target hotspot when the verification unit verifies that any hotspot connected to the smart device matches the hotspot in the hotspot list, and the target hotspot is the smart device Connected hotspots and match a hotspot in the hotspot list;
  • the information interaction unit is further configured to send hotspot information to the target device, and when the target device sends the location information of the target device to the smart device, the location acquiring unit is executed to acquire the target device
  • the hotspot information includes at least matching information that matches the target hotspot with a hotspot in the hotspot list.
  • the location information of the target device includes the moving track, moving speed, and positioning time of the location information of the target device; and Smart devices also include:
  • the second detection unit is configured to detect the positioning after the Bluetooth acquisition unit acquires the distance between the smart device and the target device and the relative position of the smart device and the target device through Bluetooth. Whether the time interval between the time and the current time is less than the preset time interval;
  • the calculation unit is further configured to: when the second detection unit detects that the time interval between the positioning time and the current time is less than a preset time interval, according to the location information of the target device, the smart device and the The distance between the target device and the relative position of the smart device and the target device are calculated to calculate the position information of the smart device; and the time interval between the positioning time and the current time is detected by the second detection unit When the time interval is greater than or equal to the preset time interval, the final position information of the target device is calculated according to the movement track, the movement speed, and the time interval; and according to the final position information of the target device, the smart The distance between the device and the target device and the relative orientation of the smart device and the target device are calculated to calculate the location information of the smart device.
  • a third aspect of the embodiments of the present invention discloses a smart device, including:
  • a memory storing executable program codes
  • a processor coupled with the memory
  • the processor calls the executable program code stored in the memory to execute the method for locating a smart device disclosed in the first aspect of the embodiment of the present invention.
  • a fourth aspect of the embodiments of the present invention discloses a computer-readable storage medium that stores a computer program, where the computer program causes a computer to execute the method for locating a smart device disclosed in the first aspect of the embodiments of the present invention.
  • a fifth aspect of the embodiments of the present invention discloses a computer program product, which when the computer program product runs on a computer, causes the computer to execute part or all of the steps of any method in the first aspect.
  • an application publishing platform is disclosed.
  • the application publishing platform is used to publish a computer program product, wherein when the computer program product runs on a computer, the computer executes any of the first aspect Part or all of the steps of a method.
  • the smart device when a positioning request is received, several peripheral devices are scanned through Bluetooth, the recently positioned target device is determined from the several peripheral devices, the location information of the target device is obtained, and the smart device is obtained through Bluetooth.
  • the location information of the device can realize the positioning of the smart device without relying on the positioning server, and the positioning process is not affected by the network, thereby enhancing the positioning experience.
  • FIG. 1 is a schematic flowchart of a method for positioning a smart device disclosed in an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another smart device positioning method disclosed in an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of another smart device positioning method disclosed in an embodiment of the present invention.
  • Figure 4 is a schematic structural diagram of a smart device disclosed in an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another smart device disclosed in an embodiment of the present invention.
  • Fig. 6 is a schematic structural diagram of another smart device disclosed in an embodiment of the present invention.
  • the embodiment of the invention discloses a positioning method of a smart device and the smart device, which can realize the positioning of the smart device without relying on a positioning server, and the positioning process is not affected by the network, thereby improving the positioning experience.
  • the following describes in detail from the perspective of smart devices with reference to the accompanying drawings.
  • FIG. 1 is a schematic flowchart of a method for positioning a smart device disclosed in an embodiment of the present invention. As shown in Fig. 1, the positioning method of the smart device may include the following steps.
  • the smart device When receiving a positioning request, the smart device performs a Bluetooth scanning operation to obtain a Bluetooth scanning result; wherein the Bluetooth scanning result includes the identities of several peripheral devices.
  • smart devices may include smart phones, smart watches, mobile tablets, etc.
  • peripheral devices may include smart phones, smart watches, smart bracelets, mobile tablets, and the like.
  • the smart device when it receives a positioning request, it turns on the Bluetooth function and performs a Bluetooth scanning operation to search for surrounding Bluetooth information and obtain the identity identifiers including several peripheral devices.
  • the peripheral device has the Bluetooth function and turns on Bluetooth. Function, so that the smart device can be scanned through the Bluetooth scanning operation, and the identification of the peripheral device can include the Bluetooth Mac address, device identification code and communication number of the peripheral device.
  • the smart device cannot proceed due to network abnormalities During positioning, the smart device can perform a Bluetooth scanning operation to obtain the Bluetooth scan result, so that the smart device can obtain the location information of the smart device by performing step 102 to step 105, so that the positioning process is not affected by the network.
  • the smart device determines the target device from a number of peripheral devices; among them, the target device has located location information of the target device recently.
  • the smart device can obtain the location time of the location information of the peripheral device by sending and receiving Bluetooth broadcast signals. According to the location time of the location information of the peripheral device, select the peripheral device that has recently located the location information from a number of peripheral devices ( That is, one of the peripheral devices whose time interval between the location information of the location information and the current time is within the preset time period) is used as the target device. Therefore, the timeliness of the location information of the target device can be guaranteed, so that the When the information locates the smart device, the accuracy of the positioning can be improved.
  • the smart device obtains location information of the target device.
  • the target device can obtain its own location information through traditional positioning methods (such as GPS, Wi-Fi, etc.), and send the location information of the target device to the smart device so that the smart device can obtain the target The location information of the device, where the location information of the target device is the location information corrected by the inertial measurement module of the target device.
  • traditional positioning methods such as GPS, Wi-Fi, etc.
  • the smart device acquires the distance between the smart device and the target device and the relative position of the smart device and the target device through Bluetooth.
  • the smart device can scan the target device through Bluetooth (such as Bluetooth 5.1) to obtain the distance between the smart device and the target device and the relative orientation of the smart device and the target device.
  • Bluetooth such as Bluetooth 5.1
  • the smart device calculates the location information of the smart device according to the location information of the target device, the distance between the smart device and the target device, and the relative position of the smart device and the target device.
  • the smart device can establish three-dimensional coordinates, set the location information of the target device as the first location coordinates, set the location information of the smart device as the second location coordinates, and set the distance between the smart device and the target device as the target distance,
  • the relative position of the smart device and the target device is taken as the target angle, where the second position coordinates are unknown, so that the second position coordinates can be calculated on the three-dimensional coordinates based on the first position coordinates, the target distance and the target angle, and the smart device’s Location information
  • the implementation of the above method can realize the positioning of the smart device without the positioning server (such as the Baidu server).
  • the smart device establishes a three-dimensional map after calculating the location information of the smart device, and displays the location information of the smart device on the three-dimensional map.
  • the location information of the smart device includes surrounding information of the location of the smart device.
  • the surrounding information of the location of the smart device includes street information, mountain information, and river information. The implementation of this embodiment can make the display of the location information of the smart device more intuitive, and further improve the accuracy of positioning based on the surrounding information.
  • the smart device displays the location information of the smart device on the three-dimensional map, it detects whether the location of the smart device is located in a preset dangerous area, and if so, sends an alarm signal to remind the user to leave the area as soon as possible.
  • the smart device is in a dangerous area, promptly remind users to avoid accidents.
  • the smart device detects whether the distance between the smart device and the target device is greater than a preset distance threshold, and if so, uses the target device as the first target device and the location information of the smart device as the first One location information, and select another target device from a number of peripheral devices as the second target device, and then obtain the location information of the second target device, and obtain the distance between the smart device and the second target device and the intelligence through Bluetooth
  • the relative position of the device and the second target device, the second position of the smart device is calculated based on the position information of the second target device, the distance between the smart device and the second target device, and the relative position of the smart device and the second target device Information; calibrate the first location information and the second location information to obtain the target location information of the smart device.
  • the target location information of the smart device is obtained by calibrating the first location information and the second location information, thereby improving the accuracy of the positioning of the smart device.
  • the implementation of the smart device positioning method described in Figure 1 when a positioning request is received, several peripheral devices are scanned via Bluetooth, the recently located target device is determined from the several peripheral devices, and the location information of the target device is obtained , And then obtain the distance between the smart device and the target device and the relative position of the smart device and the target device through Bluetooth, so that it can be based on the location information of the target device, the distance between the smart device and the target device, and the smart device and the target device.
  • the relative position of the target device calculates the location information of the smart device, which can realize the positioning of the smart device without relying on the positioning server, and the positioning process is not affected by the network, thereby enhancing the positioning experience.
  • FIG. 2 is a schematic flowchart of another smart device positioning method disclosed in an embodiment of the present invention.
  • the positioning method of the smart device may include the following steps.
  • the smart device When receiving a positioning request, the smart device performs a Bluetooth scanning operation to obtain a Bluetooth scanning result; wherein the Bluetooth scanning result includes the identities of several peripheral devices.
  • the identity of the peripheral device at least includes the Bluetooth Mac address of the peripheral device.
  • the smart device screens out a number of legal peripheral devices from a number of peripheral devices according to the Bluetooth Mac address of the peripheral device.
  • the legal peripheral devices may include peripheral devices whose Bluetooth Mac address conforms to the preset Bluetooth Mac address format, or peripheral devices whose Bluetooth Mac address matches the Bluetooth Mac address in the database, which is not limited in the embodiment of the present invention.
  • the smart device selects a legal peripheral device that has recently located location information from a number of legal peripheral devices and determines it as the target device.
  • the smart device sends a location information query request for the target device to the target device, where the location information query request includes at least the identity information of the user to which the smart device belongs.
  • the smart device sends a location information query request for the target device to the target device for querying the location information of the target device.
  • the location information query request includes the identity information of the user to which the smart device belongs, and is used to make the target device.
  • the identity information of the user to which the smart device belongs is verified, for example, to verify whether the user to which the smart device belongs is a blacklisted user of any target device.
  • the smart device obtains the instruction information sent by the target device.
  • the instruction information is sent after the target device has verified the identity information of the user to which the smart device belongs.
  • the instruction information is used to indicate whether the network signal strength of the smart device is lower than the expected value. Set the threshold.
  • the indication information sent by the target device is used to indicate whether the network signal strength of the smart device is lower than a preset threshold, and thereby determine whether the smart device is in a network abnormal state.
  • the smart device detects whether the network signal strength of the smart device is lower than a preset threshold according to the instruction information; if it is, perform step 207-step 209; if not, end this process.
  • the smart device sends network signal information to the target device, and when the target device sends the location information of the target device to the smart device, obtains the location information of the target device; wherein the network signal information is used to indicate that the network signal strength of the smart device is low At the preset threshold.
  • the smart device when it is detected that the network signal strength of the smart device is lower than a preset threshold, the smart device generates network signal information to the target device to inform the target device that the smart device is in a network abnormal state and cannot be located and needs to obtain the target.
  • the location information of the device is used to realize the positioning of the smart device.
  • performing step 204-step 207 can verify the identity through the information interaction between the smart device and the target device, and obtain the location information of the target device when the smart device network is abnormal, thereby improving the security of the smart device and the target device Sex.
  • the smart device acquires the distance between the smart device and the target device and the relative position of the smart device and the target device through Bluetooth.
  • the smart device calculates the location information of the smart device according to the location information of the target device, the distance between the smart device and the target device, and the relative position of the smart device and the target device.
  • implementing the positioning method of the smart device described in FIG. 2 can realize the positioning of the smart device without relying on the positioning server, and the positioning process is not affected by the network, thereby improving the positioning experience.
  • the identity can be verified through the information interaction between the smart device and the target device, and when the smart device network is abnormal, the location information of the target device can be obtained, thereby improving the security of the smart device and the target device.
  • FIG. 3 is a schematic flowchart of another smart device positioning method disclosed in an embodiment of the present invention. As shown in FIG. 3, the positioning method of the smart device may include the following steps.
  • the smart device When receiving a positioning request, the smart device performs a Bluetooth scanning operation to obtain a Bluetooth scanning result; wherein the Bluetooth scanning result includes the identities of several peripheral devices.
  • the identity of the peripheral device at least includes the Bluetooth Mac address of the peripheral device.
  • the smart device screens out a number of legal peripheral devices from a number of peripheral devices according to the Bluetooth Mac address of the peripheral device.
  • the smart device selects a legal peripheral device that has recently located location information from a number of legal peripheral devices and determines it as the target device.
  • the smart device sends a location information query request for the target device to the target device, where the location information query request includes at least the identity information of the user to which the smart device belongs.
  • the smart device obtains the instruction information sent by the target device.
  • the instruction information is sent after the target device has verified the identity information of the user to which the smart device belongs.
  • the instruction information is used to indicate whether the network signal strength of the smart device is lower than the expected value. Set the threshold.
  • the smart device detects whether the network signal strength of the smart device is lower than a preset threshold according to the instruction information; if it is, perform step 307 to step 315; if not, end this process.
  • the smart device sends network signal information to the target device; the network signal information is used to indicate that the network signal strength of the smart device is lower than a preset threshold.
  • the smart device obtains a list of hotspots pushed by the target device and hotspot verification instruction information.
  • the hotspot list includes hotspot information of all hotspots that the target device has connected to.
  • the hotspot verification instruction information is used to indicate whether the smart device has been connected to the verification. Any one of the hotspots matches the hotspots in the hotspot list.
  • the hotspot verification indication information is used to indicate whether any hotspot that the smart device has connected to matches the hotspot in the hotspot list, so as to verify whether the information interaction between the smart device and the target device is safe .
  • the smart device verifies whether there is any hotspot that the smart device has connected to matches the hotspot in the hotspot list according to the hotspot verification instruction information; if yes, perform step 310 to step 315; if not, end this process.
  • the smart device extracts a target hotspot, where the target hotspot is a hotspot that the smart device has connected to and matches a hotspot in the hotspot list.
  • the smart device sends hotspot information to the target device, and when the target device sends the location information of the target device to the smart device, obtains the location information of the target device; wherein, the hotspot information includes at least the target hotspot and a hotspot in the hotspot list. Matched match information.
  • performing step 304-step 311 can verify the identity through information interaction between the smart device and the target device, and obtain the location of the target device when the smart device network is abnormal and the smart device and the target device are connected to the same hotspot Information to improve the security of smart devices and target devices.
  • the location information of the target device includes the moving track, moving speed, and positioning time of the location information of the target device.
  • the smart device acquires the distance between the smart device and the target device and the relative position of the smart device and the target device through Bluetooth.
  • the smart device detects whether the time interval between the positioning time and the current time is less than the preset time interval; if yes, execute step 314; if not, execute step 315.
  • the smart device calculates the location information of the smart device according to the location information of the target device, the distance between the smart device and the target device, and the relative orientation of the smart device and the target device.
  • the smart device calculates the final location information of the target device according to the movement trajectory, movement speed, and time interval; and according to the final location information of the target device, the distance between the smart device and the target device, and the relative relationship between the smart device and the target device The position calculates the location information of the smart device.
  • implementing the smart device positioning method described in FIG. 3 can realize the positioning of the smart device without relying on a positioning server, and the positioning process is not affected by the network, thereby enhancing the positioning experience.
  • it can also verify the identity through the information interaction between the smart device and the target device, and obtain the location information of the target device when the smart device network is abnormal and the smart device and the target device are connected to the same hotspot, thereby improving the security of the smart device and the target device Sex.
  • FIG. 4 is a schematic structural diagram of a smart device disclosed in an embodiment of the present invention.
  • the smart device may include:
  • the Bluetooth scanning unit 401 is configured to perform a Bluetooth scanning operation when receiving a positioning request to obtain a Bluetooth scanning result; wherein the Bluetooth scanning result includes the identities of several peripheral devices; the identities of the peripheral devices include at least the Bluetooth of the peripheral device Mac address.
  • smart devices may include smart phones, smart watches, mobile tablets, etc.
  • peripheral devices may include smart phones, smart watches, smart bracelets, mobile tablets, and the like.
  • the Bluetooth scanning unit 401 is used to turn on the Bluetooth function and perform a Bluetooth scanning operation when receiving a positioning request to search for surrounding Bluetooth information and obtain the identity identifiers including several peripheral devices.
  • the peripheral device has Bluetooth Function and turn on the Bluetooth function, so that the smart device can be scanned through the Bluetooth scanning operation.
  • the identity of the peripheral device may include the Bluetooth Mac address, device identification code and communication number of the peripheral device.
  • the smart device cannot proceed due to network abnormalities During positioning, the smart device can perform a Bluetooth scanning operation to obtain the Bluetooth scan result, so that the smart device obtains the location information of the smart device by executing the determining unit 402, the location obtaining unit 403, the Bluetooth obtaining unit 404, and the computing unit 405, so that the positioning process is not Network influence.
  • the determining unit 402 is used to determine the target device from a number of peripheral devices; where the target device has recently located the location information of the target device.
  • the determining unit 402 is used to obtain the location time of the location information of the peripheral device by sending and receiving Bluetooth broadcast signals, and select the peripheral that has recently located location information from a number of peripheral devices according to the location time of the location information of the peripheral device
  • One of the devices that is, peripheral devices whose location information is located within a preset time period between the location time and the current time
  • the target device is used as the target device. Therefore, the timeliness of the location information of the target device can be guaranteed, so that the When locating the smart device, the location information can improve the accuracy of positioning.
  • the location acquiring unit 403 is configured to acquire location information of the target device.
  • the target device can obtain its own location information through traditional positioning methods (such as GPS, Wi-Fi, etc.), and send the location information of the target device to the smart device so that the smart device can obtain the target The location information of the device, where the location information of the target device is the location information corrected by the inertial measurement module of the target device.
  • traditional positioning methods such as GPS, Wi-Fi, etc.
  • the Bluetooth acquisition unit 404 is configured to acquire the distance between the smart device and the target device and the relative position of the smart device and the target device through Bluetooth.
  • the Bluetooth acquiring unit 404 is configured to scan the target device through a Bluetooth method (such as Bluetooth 5.1) to obtain the distance between the smart device and the target device, and the relative orientation of the smart device and the target device.
  • a Bluetooth method such as Bluetooth 5.1
  • the calculation unit 405 is configured to calculate the location information of the smart device according to the location information of the target device, the distance between the smart device and the target device, and the relative position of the smart device and the target device.
  • the calculation unit 405 is used to establish three-dimensional coordinates, set the location information of the target device as the first location coordinates, set the location information of the smart device as the second location coordinates, and set the distance between the smart device and the target device as the target Distance, taking the relative orientation of the smart device and the target device as the target angle, where the second position coordinates are unknown, so that the second position coordinates can be calculated on the three-dimensional coordinates based on the first position coordinates, the target distance, and the target angle to determine the intelligence
  • the location information of the device it can be seen that the implementation of the above method can realize the positioning of the smart device without the positioning server (such as the Baidu server).
  • the computing unit 405 is configured to create a three-dimensional map after calculating the location information of the smart device, and display the location information of the smart device on the three-dimensional map.
  • the location information of the smart device includes the location information of the smart device. Surrounding information, where the surrounding information of the location of the smart device includes street information, mountain information, and river information. The implementation of this embodiment can make the display of the location information of the smart device more intuitive, and further improve the accuracy of positioning based on the surrounding information.
  • the calculation unit 405 is configured to detect whether the location of the smart device is located in a preset dangerous area after the three-dimensional map displays the location information of the smart device, and if so, send an alarm signal to remind the user to leave the area as soon as possible and implement the In this way, the user can be reminded in time when the smart device is in a dangerous area to avoid accidents.
  • the calculation unit 405 is configured to detect whether the distance between the smart device and the target device is greater than a preset distance threshold, and if so, use the target device as the first target device, and the location of the smart device
  • the information is used as the first location information, and another target device is selected as the second target device from several peripheral devices, and then the location information of the second target device is obtained, and the distance between the smart device and the second target device is obtained through Bluetooth ,
  • the relative position of the smart device and the second target device calculate the smart device’s position based on the position information of the second target device, the distance between the smart device and the second target device, and the relative position of the smart device and the second target device Second location information; calibrate the first location information and the second location information to obtain the target location information of the smart device.
  • the target location information of the smart device is obtained by calibrating the first location information and the second location information, thereby improving the accuracy of the positioning of the smart device.
  • the smart device described in Figure 4 when receiving a positioning request, it scans several peripheral devices through Bluetooth, determines the recently located target device from several peripheral devices, obtains the location information of the target device, and then The Bluetooth method obtains the distance between the smart device and the target device, as well as the relative position of the smart device and the target device, which can be based on the location information of the target device, the distance between the smart device and the target device, and the distance between the smart device and the target device.
  • the relative position calculates the location information of the smart device, which can realize the positioning of the smart device without relying on the positioning server, and the positioning process is not affected by the network, thereby enhancing the positioning experience.
  • FIG. 5 is a schematic structural diagram of another smart device disclosed in an embodiment of the present invention.
  • the smart device shown in FIG. 5 is optimized by the smart device shown in FIG. 4.
  • the smart device shown in FIG. 5 may further include:
  • the determining unit 402 includes:
  • the screening subunit is used to screen out a number of legitimate peripheral devices from a number of peripheral devices based on the Bluetooth Mac address of the peripheral device; the determining subunit is used to select the legitimate peripheral device that has recently located location information from a number of legitimate peripheral devices and determine it as The target device.
  • the legal peripheral devices may include peripheral devices whose Bluetooth Mac address conforms to the preset Bluetooth Mac address format, or peripheral devices whose Bluetooth Mac address matches the Bluetooth Mac address in the database, which is not limited in the embodiment of the present invention.
  • the sending unit 406 is configured to send a location information query request for the target device to the target device after the determining unit 402 determines the target device from several peripheral devices.
  • the location information query request includes at least the identity information of the user to which the smart device belongs.
  • the sending unit 406 is configured to send a location information query request for the target device to the target device for querying the location information of the target device.
  • the location information query request includes the identity information of the user to which the smart device belongs. Let the target device verify the identity information of the user to which the smart device belongs, such as verifying whether the user to which the smart device belongs is a blacklisted user of any target device.
  • the first acquiring unit 407 is configured to acquire the instruction information sent by the target device.
  • the instruction information is sent after the target device verifies the identity information of the user to which the smart device belongs, and the instruction information is used to instruct to detect the network signal strength of the smart device Is it lower than the preset threshold.
  • the indication information sent by the target device is used to indicate whether the network signal strength of the smart device is lower than a preset threshold, and thereby determine whether the smart device is in a network abnormal state.
  • the first detection unit 408 is configured to detect whether the network signal strength of the smart device is lower than a preset threshold according to the instruction information
  • the information interaction unit 409 is configured to send network signal information to the target device when the first detection unit 408 detects that the network signal strength of the smart device is lower than a preset threshold, and when the target device sends location information of the target device to the smart device ,
  • the execution location obtaining unit is used to obtain location information of the target device; wherein the network signal information is used to indicate that the network signal strength of the smart device is lower than a preset threshold.
  • the information interaction unit 409 is used to detect that the network signal strength of the smart device is lower than a preset threshold, and send network signal information to the target device to inform the target device that the smart device is in an abnormal network state and cannot be located. , It is necessary to obtain the location information of the target device to realize the positioning of the smart device.
  • the second acquiring unit 410 is configured to acquire the hotspot list pushed by the target device and hotspot verification instruction information after the information interaction unit 409 sends the network signal information to the target device.
  • the hotspot list includes hotspot information of all hotspots connected to the target device .
  • the hotspot verification instruction information is used to indicate whether any hotspot to which the smart device has been connected matches the hotspot in the hotspot list.
  • the hotspot verification indication information is used to indicate whether any hotspot that the smart device has connected to matches the hotspot in the hotspot list, so as to verify whether the information interaction between the smart device and the target device is safe .
  • the verification unit 411 is configured to verify whether any hotspot to which the smart device has been connected matches the hotspot in the hotspot list according to the hotspot verification instruction information;
  • the extracting unit 412 is configured to extract the target hotspot when the verification unit 411 verifies that any hotspot that the smart device has connected to matches the hotspot in the hotspot list, and the target hotspot is the hotspot that the smart device has connected to and is connected to the hotspot Match a hot spot in the list;
  • the information interaction unit 409 is also used to send hotspot information to the target device, and when the target device sends the location information of the target device to the smart device, the execution location obtaining unit is used to obtain the location information of the target device; wherein the hotspot information includes at least The matching information that the target hot spot matches a hot spot in the hot spot list.
  • the execution of the above unit can verify the identity through the information interaction between the smart device and the target device, and obtain the location information of the target device when the smart device network is abnormal and the smart device and the target device are connected to the same hotspot. Security of smart devices and target devices.
  • the location information of the target device includes the moving track, moving speed, and positioning time of the location information of the target device; and the smart device also includes:
  • the second detection unit 413 is configured to detect whether the time interval between the positioning time and the current time is less than the preset time after the Bluetooth obtaining unit 404 obtains the distance between the smart device and the target device and the relative orientation of the smart device and the target device through Bluetooth. Set time interval;
  • the calculation unit 405 is further configured to: when the second detection unit 413 detects that the time interval between the positioning time and the current time is less than the preset time interval, according to the location information of the target device, the distance between the smart device and the target device, and the smart device
  • the position information of the smart device is calculated from the relative position of the target device; and when the second detection unit 413 detects that the time interval between the positioning time and the current time is greater than or equal to the preset time interval, according to the movement trajectory, movement speed, and time interval Calculate the final location information of the target device; and calculate the location information of the smart device based on the final location information of the target device, the distance between the smart device and the target device, and the relative position of the smart device and the target device.
  • implementing the smart device described in FIG. 5 can realize the positioning of the smart device without relying on the positioning server, and the positioning process is not affected by the network, thereby enhancing the positioning experience.
  • it can also verify the identity through the information interaction between the smart device and the target device, and obtain the location information of the target device when the smart device network is abnormal and the smart device and the target device are connected to the same hotspot, thereby improving the security of the smart device and the target device Sex.
  • FIG. 6 is a schematic structural diagram of another smart device disclosed in an embodiment of the present invention.
  • the smart device may include:
  • a memory 601 storing executable program codes
  • a processor 602 coupled with the memory 601;
  • the processor 602 calls the executable program code stored in the memory 601 to execute any one of the smart device positioning methods in FIGS. 1 to 3.
  • the embodiment of the present invention discloses a computer-readable storage medium that stores a computer program, where the computer program causes a computer to execute any one of the smart device positioning methods shown in FIGS. 1 to 3.
  • the embodiment of the present invention also discloses a computer program product, wherein when the computer program product runs on a computer, the computer is caused to execute part or all of the steps of the method in the above method embodiments.
  • the program can be stored in a computer-readable storage medium.
  • the storage medium includes read-only Memory (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), Electronically-Erasable Programmable Read-Only Memory (EEPROM), CD-ROM (Compact Disc) Read-Only Memory (CD-ROM) or other optical disk storage, magnetic disk storage, tape storage, or any other computer-readable medium that can be used to carry or store data.
  • Read-Only Memory ROM
  • RAM Random Access Memory
  • PROM Programmable Read-only Memory
  • EPROM Erasable Programmable Read Only Memory
  • OTPROM One-time Programmable Read-Only Memory
  • EEPROM Electronically-Erasable Programmable Read-Only Memory
  • CD-ROM Compact Disc

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明实施例涉及定位技术领域,公开了一种智能设备的定位方法及智能设备,该方法包括:在收到定位请求时,执行蓝牙扫描操作,以获得蓝牙扫描结果;其中,该蓝牙扫描结果包括若干个周边设备的身份标识;从若干个周边设备中确定出目标设备;其中,目标设备最近定位过目标设备的位置信息;获取目标设备的位置信息;通过蓝牙方式获取智能设备与目标设备之间的距离、以及智能设备与目标设备的相对方位;根据目标设备的位置信息、智能设备与目标设备之间的距离、以及智能设备与目标设备的相对方位计算出智能设备的位置信息。实施本发明实施例,能够在无需依赖定位服务器的情况下实现对智能设备的定位,定位过程不受网络影响,从而提升定位体验感。

Description

一种智能设备的定位方法及智能设备 技术领域
本发明涉及定位技术领域,尤其涉及一种智能设备的定位方法及智能设备。
背景技术
目前,市面上很多的智能设备(如智能手表)在定位时需要通过网络向定位服务器(如百度服务器)发起定位请求,以获得定位服务器(如百度服务器)反馈的位置信息。然而,在实践中发现,上述的定位方式不仅需要依赖于定位服务器,而且定位过程还容易受到网络异常的影响,从而降低定位体验感。
发明内容
本发明实施例公开了一种智能设备的定位方法及智能设备,能够在无需依赖定位服务器的情况下实现对智能设备的定位,定位过程不受网络影响,从而提升定位体验感。
本发明实施例第一方面公开一种智能设备的定位方法,所述方法包括:
智能设备在收到定位请求时,执行蓝牙扫描操作,以获得蓝牙扫描结果;其中,所述蓝牙扫描结果包括若干个周边设备的身份标识;
所述智能设备从所述若干个周边设备中确定出目标设备;其中,所述目标设备最近定位过所述目标设备的位置信息;
所述智能设备获取所述目标设备的位置信息;
所述智能设备通过蓝牙方式获取所述智能设备与所述目标设备之间的距离、以及所述智能设备与所述目标设备的相对方位;
所述智能设备根据所述目标设备的位置信息、所述智能设备与所述目标设备之间的距离、以及所述智能设备与所述目标设备的相对方位计算出所述智能设备的位置信息。
作为一种可选的实施方式,在本发明实施例第一方面中,所述周边设备的身份标识至少包括所述周边设备的蓝牙Mac地址;所述智能设备从所述若干个周边设备中确定出目标设备,包括:
所述智能设备根据所述周边设备的蓝牙Mac地址,从所述若干个周边设备筛选出若干合法周边设备;
所述智能设备从所述若干合法周边设备中选取最近定位过位置信息的合法周边设备确定为目标设备。
作为一种可选的实施方式,在本发明实施例第一方面中,在所述智能设备从所述若干个周边设备中确定出目标设备之后,所述方法还包括:
所述智能设备向所述目标设备发送针对所述目标设备的位置信息查询请求,所述位置信息查询请求至少包括所述智能设备所属用户的身份信息;
所述智能设备获取所述目标设备发送的指示信息,所述指示信息是所述目标设备对所述智能设备所属用户的身份信息进行验证通过后发送的,所述指示信息用于指示检测所述智能设备的网络信号强度是否低于预设阈值;
所述智能设备根据所述指示信息,检测所述智能设备的网络信号强度是否低于预设阈值;
如果是,所述智能设备向所述目标设备发送网络信号信息,以及在所述目标设备向所述智能设备发送所述目标设备的位置信息时,执行所述获取所述目标设备的位置信息的步骤;其中,所述网络信号信息用于指示所述智能设备的网络信号强度低于预设阈值。
作为一种可选的实施方式,在本发明实施例第一方面中,在所述智能设备向所述目标设备发送网络信号信息之后,所述方法还包括:
所述智能设备获取所述目标设备推送的热点列表和热点校验指示信息,所述热点列表包括所述目标设备连接过的所有热点的热点信息,所述热点校验指示信息用于指示校验是否存在所述智能设备连接过的任意一个热点与所述热点列表中的热点相匹配;
所述智能设备根据所述热点校验指示信息,校验是否存在所述智能设备连接过的任意一个热点与所述热点列表中的热点相匹配;
如果存在,所述智能设备提取目标热点,所述目标热点为所述智能设备连接过的热点且与所述热点列表中某一热点相匹配;
所述智能设备向所述目标设备发送热点信息,以及在所述目标设备向所述智能设备发送所述目标设备的位置信息时,执行所述获取所述目标设备的位置信息的步骤;其中,所述热点信息至少包括所述目标热点与所述热点列表中某一热点相匹配的匹配信息。
作为一种可选的实施方式,在本发明实施例第一方面中,所述目标设备的位置信息包括所述目标设备的移动轨迹、移动速度、以及所述位置信息的定位时间; 在所述智能设备通过蓝牙方式获取所述智能设备与所述目标设备之间的距离、以及所述智能设备与所述目标设备的相对方位之后,所述方法还包括:
所述智能设备检测所述定位时间与当前时间的时间间隔是否小于预设时间间隔;
如果是,所述智能设备执行所述根据所述目标设备的位置信息、所述智能设备与所述目标设备之间的距离、以及所述智能设备与所述目标设备的相对方位计算出所述智能设备的位置信息的步骤;
如果否,所述智能设备根据所述移动轨迹、所述移动速度、以及所述时间间隔计算出所述目标设备的最终位置信息;以及根据所述目标设备的最终位置信息、所述智能设备与所述目标设备之间的距离、以及所述智能设备与所述目标设备的相对方位计算出所述智能设备的位置信息。
本发明实施例第一方面公开一种智能设备,所述智能设备包括:
蓝牙扫描单元,用于在收到定位请求时,执行蓝牙扫描操作,以获得蓝牙扫描结果;其中,所述蓝牙扫描结果包括若干个周边设备的身份标识;
确定单元,用于从所述若干个周边设备中确定出目标设备;其中,所述目标设备最近定位过所述目标设备的位置信息;
位置获取单元,用于获取所述目标设备的位置信息;
蓝牙获取单元,用于通过蓝牙方式获取所述智能设备与所述目标设备之间的距离、以及所述智能设备与所述目标设备的相对方位;
计算单元,用于根据所述目标设备的位置信息、所述智能设备与所述目标设备之间的距离、以及所述智能设备与所述目标设备的相对方位计算出所述智能设备的位置信息。
作为一种可选的实施方式,在本发明实施例第二方面中,所述周边设备的身份标识至少包括所述周边设备的蓝牙Mac地址;以及所述确定单元包括:
筛选子单元,用于根据所述周边设备的蓝牙Mac地址,从所述若干个周边设备筛选出若干合法周边设备;
确定子单元,用于从所述若干合法周边设备中选取最近定位过位置信息的合法周边设备确定为目标设备。
作为一种可选的实施方式,在本发明实施例第二方面中,所述智能设备还包括:
发送单元,用于在所述确定单元从所述若干个周边设备中确定出目标设备之 后,向所述目标设备发送针对所述目标设备的位置信息查询请求,所述位置信息查询请求至少包括所述智能设备所属用户的身份信息;
第一获取单元,用于获取所述目标设备发送的指示信息,所述指示信息是所述目标设备对所述智能设备所属用户的身份信息进行验证通过后发送的,所述指示信息用于指示检测所述智能设备的网络信号强度是否低于预设阈值;
第一检测单元,用于根据所述指示信息,检测所述智能设备的网络信号强度是否低于预设阈值;
信息交互单元,用于在所述第一检测单元检测出所述智能设备的网络信号强度低于预设阈值时,向所述目标设备发送网络信号信息,以及在所述目标设备向所述智能设备发送所述目标设备的位置信息时,执行所述位置获取单元用于获取所述目标设备的位置信息;其中,所述网络信号信息用于指示所述智能设备的网络信号强度低于预设阈值。
作为一种可选的实施方式,在本发明实施例第二方面中,所述智能设备还包括:
第二获取单元,用于在所述信息交互单元向所述目标设备发送网络信号信息之后,获取所述目标设备推送的热点列表和热点校验指示信息,所述热点列表包括所述目标设备连接过的所有热点的热点信息,所述热点校验指示信息用于指示校验是否存在所述智能设备连接过的任意一个热点与所述热点列表中的热点相匹配;
校验单元,用于根据所述热点校验指示信息,校验是否存在所述智能设备连接过的任意一个热点与所述热点列表中的热点相匹配;
提取单元,用于在所述校验单元校验出存在所述智能设备连接过的任意一个热点与所述热点列表中的热点相匹配时,提取目标热点,所述目标热点为所述智能设备连接过的热点且与所述热点列表中某一热点相匹配;
信息交互单元,还用于向所述目标设备发送热点信息,以及在所述目标设备向所述智能设备发送所述目标设备的位置信息时,执行所述位置获取单元用于获取所述目标设备的位置信息;其中,所述热点信息至少包括所述目标热点与所述热点列表中某一热点相匹配的匹配信息。
作为一种可选的实施方式,在本发明实施例第二方面中,所述目标设备的位置信息包括所述目标设备的移动轨迹、移动速度、以及所述位置信息的定位时间;以及所述智能设备还包括:
第二检测单元,用于在所述蓝牙获取单元通过蓝牙方式获取所述智能设备与所述目标设备之间的距离、以及所述智能设备与所述目标设备的相对方位之后,检测所述定位时间与当前时间的时间间隔是否小于预设时间间隔;
所述计算单元,还用于在所述第二检测单元检测出所述定位时间与当前时间的时间间隔小于预设时间间隔时,根据所述目标设备的位置信息、所述智能设备与所述目标设备之间的距离、以及所述智能设备与所述目标设备的相对方位计算出所述智能设备的位置信息;以及在所述第二检测单元检测出所述定位时间与当前时间的时间间隔大于或等于预设时间间隔时,根据所述移动轨迹、所述移动速度、以及所述时间间隔计算出所述目标设备的最终位置信息;以及根据所述目标设备的最终位置信息、所述智能设备与所述目标设备之间的距离、以及所述智能设备与所述目标设备的相对方位计算出所述智能设备的位置信息。
本发明实施例第三方面公开一种智能设备,包括:
存储有可执行程序代码的存储器;
与所述存储器耦合的处理器;
所述处理器调用所述存储器中存储的所述可执行程序代码,执行本发明实施例第一方面公开的一种智能设备的定位方法。
本发明实施例第四方面公开一种计算机可读存储介质,其存储计算机程序,其中,所述计算机程序使得计算机执行本发明实施例第一方面公开的一种智能设备的定位方法。
本发明实施例第五方面公开一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行第一方面的任意一种方法的部分或全部步骤。
本发明实施例第六方面公开一种应用发布平台,所述应用发布平台用于发布计算机程序产品,其中,当所述计算机程序产品在计算机上运行时,使得所述计算机执行第一方面的任意一种方法的部分或全部步骤。
与现有技术相比,本发明实施例具有以下有益效果:
本发明实施例中,在收到定位请求时,通过蓝牙扫描若干个周边设备,从若干个周边设备确定出最近定位过的目标设备,获取到目标设备的位置信息,再通过蓝牙方式获取到智能设备与目标设备之间的距离、以及智能设备与目标设备的相对方位,从而可以根据目标设备的位置信息、智能设备与目标设备之间的距离、以及智能设备与目标设备的相对方位计算出智能设备的位置信息,能够在无需依 赖定位服务器的情况下实现对智能设备的定位,定位过程不受网络影响,从而提升定位体验感。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例公开的一种智能设备的定位方法的流程示意图;
图2是本发明实施例公开的另一种智能设备的定位方法的流程示意图;
图3是本发明实施例公开的另一种智能设备的定位方法的流程示意图;
图4是本发明实施例公开的一种智能设备的结构示意图;
图5是本发明实施例公开的另一种智能设备的结构示意图;
图6是本发明实施例公开的另一种智能设备的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
需要说明的是,本发明的说明书和权利要求书中的术语“第一”、“第二”等是用于区别不同的对象,而不是用于描述特定顺序。本发明实施例的术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
本发明实施例公开了一种智能设备的定位方法及智能设备,能够在无需依赖定位服务器的情况下实现对智能设备的定位,定位过程不受网络影响,从而提升定位体验感。以下结合附图,从智能设备角度出发进行详细描述。
实施例一
请参阅图1,图1是本发明实施例公开的一种智能设备的定位方法的流程示意 图。如图1所示,该智能设备的定位方法可以包括以下步骤。
101、智能设备在收到定位请求时,执行蓝牙扫描操作,以获得蓝牙扫描结果;其中,该蓝牙扫描结果包括若干个周边设备的身份标识。
本发明实施例中,智能设备可以包括智能手机、智能手表、移动平板等,周边设备可以包括智能手机、智能手表、智能手环、移动平板等。
本发明实施例中,智能设备在收到定位请求时,开启蓝牙功能,执行蓝牙扫描操作,以搜索周边蓝牙信息,获得包括若干个周边设备的身份标识,其中,周边设备具备蓝牙功能且开启蓝牙功能,以使智能设备通过蓝牙扫描操作扫描得到,周边设备的身份标识可以包括周边设备的蓝牙Mac地址、设备识别码及通信号码。
举例来说,当与智能设备绑定的移动终端(家长端)向智能设备发起定位请求或者智能设备使用者通过触屏方式或语音方式向智能设备发起定位请求,但智能设备因网络异常无法进行定位时,智能设备可以执行蓝牙扫描操作,获得蓝牙扫描结果,以便智能设备通过执行步骤102-步骤105获得智能设备的位置信息,使得定位过程不受网络影响。
102、智能设备从若干个周边设备中确定出目标设备;其中,目标设备最近定位过目标设备的位置信息。
本发明实施例中,智能设备可以通过收发蓝牙广播信号获取周边设备的位置信息的定位时间,根据周边设备的位置信息的定位时间,从若干个周边设备中选取最近定位过位置信息的周边设备(即位置信息的定位时间与当前时间的时间间隔在预设时间段内的周边设备)的其中一个作为目标设备,因此,可以保证目标设备的位置信息的时效性,从而使得在通过目标设备的位置信息对智能设备进行定位时,可以提高定位的精准度。
103、智能设备获取目标设备的位置信息。
本发明实施例中,目标设备可以通过传统定位方式(如GPS、WI-FI等)进行定位获得自身的位置信息,并将目标设备的位置信息发送给智能设备,以使智能设备可以获取到目标设备的位置信息,其中,目标设备的位置信息是通过目标设备的惯性测量模块矫正后的位置信息。
104、智能设备通过蓝牙方式获取智能设备与目标设备之间的距离、以及智能设备与目标设备的相对方位。
本发明实施例中,智能设备可以通过蓝牙方式(如蓝牙5.1)对目标设备进 行扫描,得到智能设备与目标设备之间的距离、以及智能设备与目标设备的相对方位。
105、智能设备根据目标设备的位置信息、智能设备与目标设备之间的距离、以及智能设备与目标设备的相对方位计算出智能设备的位置信息。
具体地,智能设备可以建立三维坐标,将目标设备的位置信息定为第一位置坐标,将智能设备的位置信息定为第二位置坐标,将智能设备与目标设备之间的距离作为目标距离,将智能设备与目标设备的相对方位作为目标角度,其中,第二位置坐标未知,从而可以在三维坐标上根据第一位置坐标、目标距离以及目标角度计算出第二位置坐标,确定出智能设备的位置信息,可见,实施上述方法,可以在脱离定位服务器(如百度服务器)的情况下,实现智能设备的定位。
作为一种可选的实施方式,智能设备在计算出智能设备的位置信息之后,建立三维地图,并在三维地图显示智能设备的位置信息,智能设备的位置信息包括智能设备所在位置的周边信息,其中,智能设备所在位置的周边信息包括街道信息、山脉信息以及河流信息。实施该实施方式,能够使智能设备的位置信息的显示更加直观,根据周边信息进一步提高定位的准确性。
进一步可选的,智能设备在三维地图显示智能设备的位置信息之后,检测智能设备的位置是否位于预设危险区域,如果是,发出告警信号,以提醒用户尽快离开该区域,实施该方式,能够在智能设备处于危险区域时,及时提醒用户,避免意外的发生。
作为另一种可选的实施方式,智能设备检测智能设备与目标设备之间的距离是否大于预设距离阈值,如果是,将该目标设备作为第一目标设备,将智能设备的位置信息作为第一位置信息,并从若干个周边设备中选取另一目标设备作为第二目标设备,然后获取第二目标设备的位置信息,通过蓝牙方式获取智能设备与第二目标设备之间的距离、以及智能设备与第二目标设备的相对方位,根据第二目标设备的位置信息、智能设备与第二目标设备之间的距离、以及智能设备与第二目标设备的相对方位计算出智能设备的第二位置信息;将第一位置信息和第二位置信息进行校准获得智能设备的目标位置信息。实施该实施方式,通过对第一位置信息和第二位置信息进行校准获得智能设备的目标位置信息,提高智能设备定位的准确性。
可见,实施图1所描述的智能设备的定位方法,在收到定位请求时,通过蓝牙扫描若干个周边设备,从若干个周边设备确定出最近定位过的目标设备,获取 到目标设备的位置信息,再通过蓝牙方式获取到智能设备与目标设备之间的距离、以及智能设备与目标设备的相对方位,从而可以根据目标设备的位置信息、智能设备与目标设备之间的距离、以及智能设备与目标设备的相对方位计算出智能设备的位置信息,能够在无需依赖定位服务器的情况下实现对智能设备的定位,定位过程不受网络影响,从而提升定位体验感。
实施例二
请参阅图2,图2是本发明实施例公开的另一种智能设备的定位方法的流程示意图。如图2所示,该智能设备的定位方法可以包括以下步骤。
201、智能设备在收到定位请求时,执行蓝牙扫描操作,以获得蓝牙扫描结果;其中,该蓝牙扫描结果包括若干个周边设备的身份标识。
其中,周边设备的身份标识至少包括周边设备的蓝牙Mac地址。
202、智能设备根据周边设备的蓝牙Mac地址,从若干个周边设备筛选出若干合法周边设备。
本发明实施例中,合法周边设备可以包括蓝牙Mac地址符合预设蓝牙Mac地址格式的周边设备,也可以是蓝牙Mac地址与数据库中的蓝牙Mac地址匹配的周边设备,本发明实施例不作限定。
203、智能设备从若干合法周边设备中选取最近定位过位置信息的合法周边设备确定为目标设备。
204、智能设备向目标设备发送针对目标设备的位置信息查询请求,该位置信息查询请求至少包括智能设备所属用户的身份信息。
本发明实施例中,智能设备向目标设备发送针对目标设备的位置信息查询请求,用于查询目标设备的位置信息,该位置信息查询请求包括的智能设备所属用户的身份信息,用于让目标设备对智能设备所属用户的身份信息进行验证,比如验证智能设备所属用户是否为任意一个目标设备的黑名单用户。
205、智能设备获取目标设备发送的指示信息,该指示信息是目标设备对智能设备所属用户的身份信息进行验证通过后发送的,该指示信息用于指示检测智能设备的网络信号强度是否低于预设阈值。
本发明实施例中,目标设备发送的指示信息用于指示检测智能设备的网络信号强度是否低于预设阈值,进而以此判断智能设备是否处于网络异常状态。
206、智能设备根据指示信息,检测智能设备的网络信号强度是否低于预设 阈值;如果是,执行步骤207-步骤209;如果否,结束本流程。
207、智能设备向目标设备发送网络信号信息,以及在目标设备向智能设备发送目标设备的位置信息时,获取目标设备的位置信息;其中,该网络信号信息用于指示智能设备的网络信号强度低于预设阈值。
本发明实施例中,在检测智能设备的网络信号强度低于预设阈值时,智能设备向目标设备发生网络信号信息,以告知目标设备此时智能设备处于网络异常状态无法进行定位,需要获取目标设备的位置信息来实现智能设备的定位。
本发明实施例中,执行步骤204-步骤207,能够通过智能设备与目标设备的信息交互验证身份,并在智能设备网络出现异常时,获取目标设备的位置信息,提高智能设备和目标设备的安全性。
208、智能设备通过蓝牙方式获取智能设备与目标设备之间的距离、以及智能设备与目标设备的相对方位。
209、智能设备根据目标设备的位置信息、智能设备与目标设备之间的距离、以及智能设备与目标设备的相对方位计算出智能设备的位置信息。
可见,实施图2所描述的智能设备的定位方法,能够在无需依赖定位服务器的情况下实现对智能设备的定位,定位过程不受网络影响,从而提升定位体验感。此外,还能够通过智能设备与目标设备的信息交互验证身份,并在智能设备网络出现异常时,获取目标设备的位置信息,提高智能设备和目标设备的安全性。
实施例三
请参阅图3,图3是本发明实施例公开的另一种智能设备的定位方法的流程示意图。如图3所示,该智能设备的定位方法可以包括以下步骤。
301、智能设备在收到定位请求时,执行蓝牙扫描操作,以获得蓝牙扫描结果;其中,该蓝牙扫描结果包括若干个周边设备的身份标识。
其中,周边设备的身份标识至少包括周边设备的蓝牙Mac地址。
302、智能设备根据周边设备的蓝牙Mac地址,从若干个周边设备筛选出若干合法周边设备。
303、智能设备从若干合法周边设备中选取最近定位过位置信息的合法周边设备确定为目标设备。
304、智能设备向目标设备发送针对目标设备的位置信息查询请求,该位置信息查询请求至少包括智能设备所属用户的身份信息。
305、智能设备获取目标设备发送的指示信息,该指示信息是目标设备对智能设备所属用户的身份信息进行验证通过后发送的,该指示信息用于指示检测智能设备的网络信号强度是否低于预设阈值。
306、智能设备根据指示信息,检测智能设备的网络信号强度是否低于预设阈值;如果是,执行步骤307-步骤315;如果否,结束本流程。
307、智能设备向目标设备发送网络信号信息;该网络信号信息用于指示智能设备的网络信号强度低于预设阈值。
308、智能设备获取目标设备推送的热点列表和热点校验指示信息,该热点列表包括目标设备连接过的所有热点的热点信息,该热点校验指示信息用于指示校验是否存在智能设备连接过的任意一个热点与热点列表中的热点相匹配。
本发明实施例中,热点校验指示信息用于指示校验是否存在智能设备连接过的任意一个热点与热点列表中的热点相匹配,以此检验智能设备与目标设备之间的信息交互是否安全。
309、智能设备根据热点校验指示信息,校验是否存在智能设备连接过的任意一个热点与热点列表中的热点相匹配;如果是,执行步骤310-步骤315;如果否,结束本流程。
310、智能设备提取目标热点,该目标热点为智能设备连接过的热点且与热点列表中某一热点相匹配。
311、智能设备向目标设备发送热点信息,以及在目标设备向智能设备发送目标设备的位置信息时,获取目标设备的位置信息;其中,该热点信息至少包括目标热点与热点列表中某一热点相匹配的匹配信息。
本发明实施例中,执行步骤304-步骤311,能够通过智能设备与目标设备的信息交互验证身份,并在智能设备网络出现异常以及智能设备与目标设备连接过同一热点时,获取目标设备的位置信息,提高智能设备和目标设备的安全性。
其中,目标设备的位置信息包括目标设备的移动轨迹、移动速度、以及位置信息的定位时间。
312、智能设备通过蓝牙方式获取智能设备与目标设备之间的距离、以及智能设备与目标设备的相对方位。
313、智能设备检测定位时间与当前时间的时间间隔是否小于预设时间间隔;如果是,执行步骤314;如果否,执行步骤315。
314、智能设备根据目标设备的位置信息、智能设备与目标设备之间的距离、 以及智能设备与目标设备的相对方位计算出智能设备的位置信息。
315、智能设备根据移动轨迹、移动速度、以及时间间隔计算出目标设备的最终位置信息;以及根据目标设备的最终位置信息、智能设备与目标设备之间的距离、以及智能设备与目标设备的相对方位计算出智能设备的位置信息。
可见,实施图3所描述的智能设备的定位方法,能够在无需依赖定位服务器的情况下实现对智能设备的定位,定位过程不受网络影响,从而提升定位体验感。此外,还能够通过智能设备与目标设备的信息交互验证身份,并在智能设备网络出现异常以及智能设备与目标设备连接过同一热点时,获取目标设备的位置信息,提高智能设备和目标设备的安全性。
实施例四
请参阅图4,图4是本发明实施例公开的一种智能设备的结构示意图。如图4所示,该智能设备可以包括:
蓝牙扫描单元401,用于在收到定位请求时,执行蓝牙扫描操作,以获得蓝牙扫描结果;其中,蓝牙扫描结果包括若干个周边设备的身份标识;周边设备的身份标识至少包括周边设备的蓝牙Mac地址。
本发明实施例中,智能设备可以包括智能手机、智能手表、移动平板等,周边设备可以包括智能手机、智能手表、智能手环、移动平板等。
本发明实施例中,蓝牙扫描单元401用于在收到定位请求时,开启蓝牙功能,执行蓝牙扫描操作,以搜索周边蓝牙信息,获得包括若干个周边设备的身份标识,其中,周边设备具备蓝牙功能且开启蓝牙功能,以使智能设备通过蓝牙扫描操作扫描得到,周边设备的身份标识可以包括周边设备的蓝牙Mac地址、设备识别码及通信号码。
举例来说,当与智能设备绑定的移动终端(家长端)向智能设备发起定位请求或者智能设备使用者通过触屏方式或语音方式向智能设备发起定位请求,但智能设备因网络异常无法进行定位时,智能设备可以执行蓝牙扫描操作,获得蓝牙扫描结果,以便智能设备通过执行确定单元402、位置获取单元403、蓝牙获取单元404以及计算单元405获得智能设备的位置信息,使得定位过程不受网络影响。
确定单元402,用于从若干个周边设备中确定出目标设备;其中,目标设备最近定位过目标设备的位置信息。
本发明实施例中,确定单元402用于通过收发蓝牙广播信号获取周边设备的位置信息的定位时间,根据周边设备的位置信息的定位时间,从若干个周边设备中选取最近定位过位置信息的周边设备(即位置信息的定位时间与当前时间的时间间隔在预设时间段内的周边设备)的其中一个作为目标设备,因此,可以保证目标设备的位置信息的时效性,从而使得在通过目标设备的位置信息对智能设备进行定位时,可以提高定位的精准度。
位置获取单元403,用于获取目标设备的位置信息。
本发明实施例中,目标设备可以通过传统定位方式(如GPS、WI-FI等)进行定位获得自身的位置信息,并将目标设备的位置信息发送给智能设备,以使智能设备可以获取到目标设备的位置信息,其中,目标设备的位置信息是通过目标设备的惯性测量模块矫正后的位置信息。
蓝牙获取单元404,用于通过蓝牙方式获取智能设备与目标设备之间的距离、以及智能设备与目标设备的相对方位。
本发明实施例中,蓝牙获取单元404用于通过蓝牙方式(如蓝牙5.1)对目标设备进行扫描,得到智能设备与目标设备之间的距离、以及智能设备与目标设备的相对方位。
计算单元405,用于根据目标设备的位置信息、智能设备与目标设备之间的距离、以及智能设备与目标设备的相对方位计算出智能设备的位置信息。
具体地,计算单元405用于建立三维坐标,将目标设备的位置信息定为第一位置坐标,将智能设备的位置信息定为第二位置坐标,将智能设备与目标设备之间的距离作为目标距离,将智能设备与目标设备的相对方位作为目标角度,其中,第二位置坐标未知,从而可以在三维坐标上根据第一位置坐标、目标距离以及目标角度计算出第二位置坐标,确定出智能设备的位置信息,可见,实施上述方法,可以在脱离定位服务器(如百度服务器)的情况下,实现智能设备的定位。
作为一种可选的实施方式,计算单元405用于在计算出智能设备的位置信息之后,建立三维地图,并在三维地图显示智能设备的位置信息,智能设备的位置信息包括智能设备所在位置的周边信息,其中,智能设备所在位置的周边信息包括街道信息、山脉信息以及河流信息。实施该实施方式,能够使智能设备的位置信息的显示更加直观,根据周边信息进一步提高定位的准确性。
进一步可选的,计算单元405用于在三维地图显示智能设备的位置信息之后,检测智能设备的位置是否位于预设危险区域,如果是,发出告警信号,以提醒用 户尽快离开该区域,实施该方式,能够在智能设备处于危险区域时,及时提醒用户,避免意外的发生。
作为另一种可选的实施方式,计算单元405用于检测智能设备与目标设备之间的距离是否大于预设距离阈值,如果是,将该目标设备作为第一目标设备,将智能设备的位置信息作为第一位置信息,并从若干个周边设备中选取另一目标设备作为第二目标设备,然后获取第二目标设备的位置信息,通过蓝牙方式获取智能设备与第二目标设备之间的距离、以及智能设备与第二目标设备的相对方位,根据第二目标设备的位置信息、智能设备与第二目标设备之间的距离、以及智能设备与第二目标设备的相对方位计算出智能设备的第二位置信息;将第一位置信息和第二位置信息进行校准获得智能设备的目标位置信息。实施该实施方式,通过对第一位置信息和第二位置信息进行校准获得智能设备的目标位置信息,提高智能设备定位的准确性。
可见,实施图4所描述的智能设备,在收到定位请求时,通过蓝牙扫描若干个周边设备,从若干个周边设备确定出最近定位过的目标设备,获取到目标设备的位置信息,再通过蓝牙方式获取到智能设备与目标设备之间的距离、以及智能设备与目标设备的相对方位,从而可以根据目标设备的位置信息、智能设备与目标设备之间的距离、以及智能设备与目标设备的相对方位计算出智能设备的位置信息,能够在无需依赖定位服务器的情况下实现对智能设备的定位,定位过程不受网络影响,从而提升定位体验感。
实施例五
请参阅图5,图5是本发明实施例公开的另一种智能设备的结构示意图。如图5所示,其中,图5所示的智能设备是由图4所示的智能设备进行优化得到的。与图4所示的智能设备相比较,图5所示的智能设备还可以包括:
作为一种可选的实施方式,确定单元402包括:
筛选子单元,用于根据周边设备的蓝牙Mac地址,从若干个周边设备筛选出若干合法周边设备;确定子单元,用于从若干合法周边设备中选取最近定位过位置信息的合法周边设备确定为目标设备。
本发明实施例中,合法周边设备可以包括蓝牙Mac地址符合预设蓝牙Mac地址格式的周边设备,也可以是蓝牙Mac地址与数据库中的蓝牙Mac地址匹配的周边设备,本发明实施例不作限定。
发送单元406,用于在确定单元402从若干个周边设备中确定出目标设备之后,向目标设备发送针对目标设备的位置信息查询请求,该位置信息查询请求至少包括智能设备所属用户的身份信息。
本发明实施例中,发送单元406用于向目标设备发送针对目标设备的位置信息查询请求,用于查询目标设备的位置信息,该位置信息查询请求包括的智能设备所属用户的身份信息,用于让目标设备对智能设备所属用户的身份信息进行验证,比如验证智能设备所属用户是否为任意一个目标设备的黑名单用户。
第一获取单元407,用于获取目标设备发送的指示信息,该指示信息是目标设备对智能设备所属用户的身份信息进行验证通过后发送的,该指示信息用于指示检测智能设备的网络信号强度是否低于预设阈值。
本发明实施例中,目标设备发送的指示信息用于指示检测智能设备的网络信号强度是否低于预设阈值,进而以此判断智能设备是否处于网络异常状态。
第一检测单元408,用于根据指示信息,检测智能设备的网络信号强度是否低于预设阈值;
信息交互单元409,用于在第一检测单元408检测出智能设备的网络信号强度低于预设阈值时,向目标设备发送网络信号信息,以及在目标设备向智能设备发送目标设备的位置信息时,执行位置获取单元用于获取目标设备的位置信息;其中,该网络信号信息用于指示智能设备的网络信号强度低于预设阈值。
本发明实施例中,信息交互单元409用于在检测智能设备的网络信号强度低于预设阈值时,向目标设备发生网络信号信息,以告知目标设备此时智能设备处于网络异常状态无法进行定位,需要获取目标设备的位置信息来实现智能设备的定位。
第二获取单元410,用于在信息交互单元409向目标设备发送网络信号信息之后,获取目标设备推送的热点列表和热点校验指示信息,该热点列表包括目标设备连接过的所有热点的热点信息,该热点校验指示信息用于指示校验是否存在智能设备连接过的任意一个热点与热点列表中的热点相匹配。
本发明实施例中,热点校验指示信息用于指示校验是否存在智能设备连接过的任意一个热点与热点列表中的热点相匹配,以此检验智能设备与目标设备之间的信息交互是否安全。
校验单元411,用于根据热点校验指示信息,校验是否存在智能设备连接过的任意一个热点与热点列表中的热点相匹配;
提取单元412,用于在校验单元411校验出存在智能设备连接过的任意一个热点与热点列表中的热点相匹配时,提取目标热点,该目标热点为智能设备连接过的热点且与热点列表中某一热点相匹配;
信息交互单元409,还用于向目标设备发送热点信息,以及在目标设备向智能设备发送目标设备的位置信息时,执行位置获取单元用于获取目标设备的位置信息;其中,该热点信息至少包括目标热点与热点列表中某一热点相匹配的匹配信息。
本发明实施例中,执行上述单元,能够通过智能设备与目标设备的信息交互验证身份,并在智能设备网络出现异常以及智能设备与目标设备连接过同一热点时,获取目标设备的位置信息,提高智能设备和目标设备的安全性。
其中,目标设备的位置信息包括目标设备的移动轨迹、移动速度、以及位置信息的定位时间;以及智能设备还包括:
第二检测单元413,用于在蓝牙获取单元404通过蓝牙方式获取智能设备与目标设备之间的距离、以及智能设备与目标设备的相对方位之后,检测定位时间与当前时间的时间间隔是否小于预设时间间隔;
计算单元405,还用于在第二检测单元413检测出定位时间与当前时间的时间间隔小于预设时间间隔时,根据目标设备的位置信息、智能设备与目标设备之间的距离、以及智能设备与目标设备的相对方位计算出智能设备的位置信息;以及在第二检测单元413检测出定位时间与当前时间的时间间隔大于或等于预设时间间隔时,根据移动轨迹、移动速度、以及时间间隔计算出目标设备的最终位置信息;以及根据目标设备的最终位置信息、智能设备与目标设备之间的距离、以及智能设备与目标设备的相对方位计算出智能设备的位置信息。
可见,实施图5所描述的智能设备,能够在无需依赖定位服务器的情况下实现对智能设备的定位,定位过程不受网络影响,从而提升定位体验感。此外,还能够通过智能设备与目标设备的信息交互验证身份,并在智能设备网络出现异常以及智能设备与目标设备连接过同一热点时,获取目标设备的位置信息,提高智能设备和目标设备的安全性。
实施例六
请参阅图6,图6是本发明实施例公开的另一种智能设备的结构示意图。如图6所示,该智能设备可以包括:
存储有可执行程序代码的存储器601;
与存储器601耦合的处理器602;
其中,处理器602调用存储器601中存储的可执行程序代码,执行图1~图3任意一种智能设备的定位方法。
本发明实施例公开一种计算机可读存储介质,其存储计算机程序,其中,该计算机程序使得计算机执行图1~图3任意一种智能设备的定位方法。
本发明实施例还公开一种计算机程序产品,其中,当计算机程序产品在计算机上运行时,使得计算机执行如以上各方法实施例中的方法的部分或全部步骤。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(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)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。
以上对本发明实施例公开的一种智能设备的定位方法及智能设备进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Claims (12)

  1. 一种智能设备的定位方法,其特征在于,所述方法包括:
    智能设备在收到定位请求时,执行蓝牙扫描操作,以获得蓝牙扫描结果;其中,所述蓝牙扫描结果包括若干个周边设备的身份标识;
    所述智能设备从所述若干个周边设备中确定出目标设备;其中,所述目标设备最近定位过所述目标设备的位置信息;
    所述智能设备获取所述目标设备的位置信息;
    所述智能设备通过蓝牙方式获取所述智能设备与所述目标设备之间的距离、以及所述智能设备与所述目标设备的相对方位;
    所述智能设备根据所述目标设备的位置信息、所述智能设备与所述目标设备之间的距离、以及所述智能设备与所述目标设备的相对方位计算出所述智能设备的位置信息。
  2. 根据权利要求1所述的方法,其特征在于,所述周边设备的身份标识至少包括所述周边设备的蓝牙Mac地址;所述智能设备从所述若干个周边设备中确定出目标设备,包括:
    所述智能设备根据所述周边设备的蓝牙Mac地址,从所述若干个周边设备筛选出若干合法周边设备;
    所述智能设备从所述若干合法周边设备中选取最近定位过位置信息的合法周边设备确定为目标设备。
  3. 根据权利要求1或2所述的方法,其特征在于,在所述智能设备从所述若干个周边设备中确定出目标设备之后,所述方法还包括:
    所述智能设备向所述目标设备发送针对所述目标设备的位置信息查询请求,所述位置信息查询请求至少包括所述智能设备所属用户的身份信息;
    所述智能设备获取所述目标设备发送的指示信息,所述指示信息是所述目标设备对所述智能设备所属用户的身份信息进行验证通过后发送的,所述指示信息用于指示检测所述智能设备的网络信号强度是否低于预设阈值;
    所述智能设备根据所述指示信息,检测所述智能设备的网络信号强度是否低于预设阈值;
    如果是,所述智能设备向所述目标设备发送网络信号信息,以及在所述目标设备向所述智能设备发送所述目标设备的位置信息时,执行所述获取所述目标设备的位置信息的步骤;其中,所述网络信号信息用于指示所述智能设备的网络信号强度低于预设阈值。
  4. 根据权利要求3所述的方法,其特征在于,在所述智能设备向所述目标设备发送网络信号信息之后,所述方法还包括:
    所述智能设备获取所述目标设备推送的热点列表和热点校验指示信息,所述热点列表包括所述目标设备连接过的所有热点的热点信息,所述热点校验指示信息用于指示校验是否存在所述智能设备连接过的任意一个热点与所述热点列表中的热点相匹配;
    所述智能设备根据所述热点校验指示信息,校验是否存在所述智能设备连接过的任意一个热点与所述热点列表中的热点相匹配;
    如果存在,所述智能设备提取目标热点,所述目标热点为所述智能设备连接过的热点且与所述热点列表中某一热点相匹配;
    所述智能设备向所述目标设备发送热点信息,以及在所述目标设备向所述智能设备发送所述目标设备的位置信息时,执行所述获取所述目标设备的位置信息的步骤;其中,所述热点信息至少包括所述目标热点与所述热点列表中某一热点相匹配的匹配信息。
  5. 根据权利要求3或4所述的方法,其特征在于,所述目标设备的位置信息包括所述目标设备的移动轨迹、移动速度、以及所述位置信息的定位时间;在所述智能设备通过蓝牙方式获取所述智能设备与所述目标设备之间的距离、以及所述智能设备与所述目标设备的相对方位之后,所述方法还包括:
    所述智能设备检测所述定位时间与当前时间的时间间隔是否小于预设时间间隔;
    如果是,所述智能设备执行所述根据所述目标设备的位置信息、所述智能设备与所述目标设备之间的距离、以及所述智能设备与所述目标设备的相对方位计算出所述智能设备的位置信息的步骤;
    如果否,所述智能设备根据所述移动轨迹、所述移动速度、以及所述时间间隔计算出所述目标设备的最终位置信息;以及根据所述目标设备的最终位置信 息、所述智能设备与所述目标设备之间的距离、以及所述智能设备与所述目标设备的相对方位计算出所述智能设备的位置信息。
  6. 一种智能设备,其特征在于,所述智能设备包括:
    蓝牙扫描单元,用于在收到定位请求时,执行蓝牙扫描操作,以获得蓝牙扫描结果;其中,所述蓝牙扫描结果包括若干个周边设备的身份标识;
    确定单元,用于从所述若干个周边设备中确定出目标设备;其中,所述目标设备最近定位过所述目标设备的位置信息;
    位置获取单元,用于获取所述目标设备的位置信息;
    蓝牙获取单元,用于通过蓝牙方式获取所述智能设备与所述目标设备之间的距离、以及所述智能设备与所述目标设备的相对方位;
    计算单元,用于根据所述目标设备的位置信息、所述智能设备与所述目标设备之间的距离、以及所述智能设备与所述目标设备的相对方位计算出所述智能设备的位置信息。
  7. 根据权利要求6所述的智能设备,其特征在于,所述周边设备的身份标识至少包括所述周边设备的蓝牙Mac地址;以及所述确定单元包括:
    筛选子单元,用于根据所述周边设备的蓝牙Mac地址,从所述若干个周边设备筛选出若干合法周边设备;
    确定子单元,用于从所述若干合法周边设备中选取最近定位过位置信息的合法周边设备确定为目标设备。
  8. 根据权利要求6或7所述的智能设备,其特征在于,所述智能设备还包括:
    发送单元,用于在所述确定单元从所述若干个周边设备中确定出目标设备之后,向所述目标设备发送针对所述目标设备的位置信息查询请求,所述位置信息查询请求至少包括所述智能设备所属用户的身份信息;
    第一获取单元,用于获取所述目标设备发送的指示信息,所述指示信息是所述目标设备对所述智能设备所属用户的身份信息进行验证通过后发送的,所述指示信息用于指示检测所述智能设备的网络信号强度是否低于预设阈值;
    第一检测单元,用于根据所述指示信息,检测所述智能设备的网络信号强度 是否低于预设阈值;
    信息交互单元,用于在所述第一检测单元检测出所述智能设备的网络信号强度低于预设阈值时,向所述目标设备发送网络信号信息,以及在所述目标设备向所述智能设备发送所述目标设备的位置信息时,执行所述位置获取单元用于获取所述目标设备的位置信息;其中,所述网络信号信息用于指示所述智能设备的网络信号强度低于预设阈值。
  9. 根据权利要求8所述的智能设备,其特征在于,所述智能设备还包括:
    第二获取单元,用于在所述信息交互单元向所述目标设备发送网络信号信息之后,获取所述目标设备推送的热点列表和热点校验指示信息,所述热点列表包括所述目标设备连接过的所有热点的热点信息,所述热点校验指示信息用于指示校验是否存在所述智能设备连接过的任意一个热点与所述热点列表中的热点相匹配;
    校验单元,用于根据所述热点校验指示信息,校验是否存在所述智能设备连接过的任意一个热点与所述热点列表中的热点相匹配;
    提取单元,用于在所述校验单元校验出存在所述智能设备连接过的任意一个热点与所述热点列表中的热点相匹配时,提取目标热点,所述目标热点为所述智能设备连接过的热点且与所述热点列表中某一热点相匹配;
    信息交互单元,还用于向所述目标设备发送热点信息,以及在所述目标设备向所述智能设备发送所述目标设备的位置信息时,执行所述位置获取单元用于获取所述目标设备的位置信息;其中,所述热点信息至少包括所述目标热点与所述热点列表中某一热点相匹配的匹配信息。
  10. 根据权利要求8或9所述的智能设备,其特征在于,所述目标设备的位置信息包括所述目标设备的移动轨迹、移动速度、以及所述位置信息的定位时间;以及所述智能设备还包括:
    第二检测单元,用于在所述蓝牙获取单元通过蓝牙方式获取所述智能设备与所述目标设备之间的距离、以及所述智能设备与所述目标设备的相对方位之后,检测所述定位时间与当前时间的时间间隔是否小于预设时间间隔;
    所述计算单元,还用于在所述第二检测单元检测出所述定位时间与当前时间的时间间隔小于预设时间间隔时,根据所述目标设备的位置信息、所述智能设备 与所述目标设备之间的距离、以及所述智能设备与所述目标设备的相对方位计算出所述智能设备的位置信息;以及在所述第二检测单元检测出所述定位时间与当前时间的时间间隔大于或等于预设时间间隔时,根据所述移动轨迹、所述移动速度、以及所述时间间隔计算出所述目标设备的最终位置信息;以及根据所述目标设备的最终位置信息、所述智能设备与所述目标设备之间的距离、以及所述智能设备与所述目标设备的相对方位计算出所述智能设备的位置信息。
  11. 一种智能设备,其特征在于,包括:
    存储有可执行程序代码的存储器;
    与所述存储器耦合的处理器;
    所述处理器调用所述存储器中存储的所述可执行程序代码,用于执行权利要求1-5任一项所述的一种智能设备的定位方法。
  12. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储计算机程序,其中,所述计算机程序使得计算机执行权利要求1-5任一项所述的一种智能设备的定位方法。
PCT/CN2019/095276 2019-03-18 2019-07-09 一种智能设备的定位方法及智能设备 WO2020186659A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910201134.2 2019-03-18
CN201910201134.2A CN109831738A (zh) 2019-03-18 2019-03-18 一种智能设备的定位方法及智能设备

Publications (1)

Publication Number Publication Date
WO2020186659A1 true WO2020186659A1 (zh) 2020-09-24

Family

ID=66870431

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/095276 WO2020186659A1 (zh) 2019-03-18 2019-07-09 一种智能设备的定位方法及智能设备

Country Status (2)

Country Link
CN (1) CN109831738A (zh)
WO (1) WO2020186659A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831738A (zh) * 2019-03-18 2019-05-31 广东小天才科技有限公司 一种智能设备的定位方法及智能设备
CN110351654A (zh) * 2019-07-04 2019-10-18 宇龙计算机通信科技(深圳)有限公司 一种定位方法、装置、存储介质及电子设备
CN110381132B (zh) * 2019-07-15 2022-06-21 三星电子(中国)研发中心 用于在服务器中控制信息推送的方法和设备
CN111770434B (zh) * 2019-07-19 2022-12-27 广东小天才科技有限公司 一种电子设备的定位方法及服务设备、系统
CN111193996A (zh) * 2019-11-11 2020-05-22 广东小天才科技有限公司 一种智能音箱的寻找方法及智能音箱
CN113572665B (zh) * 2020-04-26 2022-07-12 华为技术有限公司 一种确定操控目标的方法、移动设备及网关
CN111694360B (zh) * 2020-06-22 2021-12-03 珠海格力电器股份有限公司 确定扫地机器人位置的方法、装置及扫地机器人
CN115379001B (zh) * 2021-05-06 2023-11-17 云米互联科技(广东)有限公司 智能设备位置的展示控制方法及装置
CN114585085A (zh) * 2022-04-26 2022-06-03 浙江口碑网络技术有限公司 一种定位方法、定位装置和定位系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120100868A1 (en) * 2010-10-20 2012-04-26 Samsung Electronics Co., Ltd. Method and apparatus for searching for bluetooth device in portable terminal
CN103557859A (zh) * 2013-10-10 2014-02-05 北京智谷睿拓技术服务有限公司 图像采集定位方法及图像采集定位系统
CN106303914A (zh) * 2015-06-04 2017-01-04 北京搜狗科技发展有限公司 一种定位方法及电子设备
CN108566676A (zh) * 2018-01-17 2018-09-21 石化盈科信息技术有限责任公司 一种蓝牙定位方法
CN109831738A (zh) * 2019-03-18 2019-05-31 广东小天才科技有限公司 一种智能设备的定位方法及智能设备

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105068103A (zh) * 2015-08-10 2015-11-18 联想(北京)有限公司 一种辅助定位方法及电子设备
CN105472731A (zh) * 2015-10-12 2016-04-06 北京奇虎科技有限公司 定位方法、辅助定位设备、地理位置监测设备及系统
CN105704669A (zh) * 2016-03-25 2016-06-22 上海智向信息科技有限公司 基于可穿戴设备的用户定位方法及系统
CN107148004A (zh) * 2017-07-05 2017-09-08 深圳传音通讯有限公司 一种基于智能终端的定位系统及定位方法
CN108668221A (zh) * 2018-04-28 2018-10-16 北京万兔思睿科技有限公司 一种智能定位系统及方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120100868A1 (en) * 2010-10-20 2012-04-26 Samsung Electronics Co., Ltd. Method and apparatus for searching for bluetooth device in portable terminal
CN103557859A (zh) * 2013-10-10 2014-02-05 北京智谷睿拓技术服务有限公司 图像采集定位方法及图像采集定位系统
CN106303914A (zh) * 2015-06-04 2017-01-04 北京搜狗科技发展有限公司 一种定位方法及电子设备
CN108566676A (zh) * 2018-01-17 2018-09-21 石化盈科信息技术有限责任公司 一种蓝牙定位方法
CN109831738A (zh) * 2019-03-18 2019-05-31 广东小天才科技有限公司 一种智能设备的定位方法及智能设备

Also Published As

Publication number Publication date
CN109831738A (zh) 2019-05-31

Similar Documents

Publication Publication Date Title
WO2020186659A1 (zh) 一种智能设备的定位方法及智能设备
EP3446457B1 (en) Two-factor authentication
CN108291960B (zh) 用于验证距离测量的系统
EP2687055B1 (en) Improved device location detection
CN110582078B (zh) 一种蓝牙配对方法、装置、存储介质及电子设备
US20140118113A1 (en) Detecting rogue radio frequency based tags based on locationing
CN105704734B (zh) 一种指定类型小区的检测方法、装置和通信终端
WO2016169142A1 (zh) 识别无线接入点合法性的方法、终端、系统及存储介质
US20120190369A1 (en) Method and system for determining position of moving wireless communication
CN104363585A (zh) 一种无线局域网的接入方法
CN111148215B (zh) 一种移动设备的定位方法及系统、相关设备
CN109523672B (zh) 一种门禁控制方法及装置
CN104363665A (zh) 一种终端
TWI734385B (zh) 身份識別預處理、身份識別方法及系統
CN112947580A (zh) 无人机定位的融合处理方法、装置、系统、设备与介质
US11722986B2 (en) Positioning system for continuously and accurately updating position value of wireless LAN AP, and method therefor
WO2022121972A1 (zh) 信息输出方法、装置、计算机设备及可读存储介质
US20120263050A1 (en) Wireless network access device with positioning function and method thereof
CN111757465A (zh) 一种聚类定位方法及服务设备、系统
CN111148028B (zh) 一种定位纠偏方法及服务器
CN111148027B (zh) 一种电子设备的查找方法及移动设备
KR20180046818A (ko) 핑거프린트 측위 방법 및 이를 위한 장치
JP2011237336A (ja) 端末、端末制御方法及びプログラム
KR20130123087A (ko) 단말 위치 추적 방법 및 장치
WO2019095498A1 (zh) 覆盖漏洞检测方法、系统、定位服务器及可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19920322

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19920322

Country of ref document: EP

Kind code of ref document: A1