An offline positioning method of an electronic device, a serving device, and a system

CN111143490BActive Publication Date: 2026-10-30GUANGDONG XIAOTIANCAI TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN201910191515.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-03-14
Publication Date
2026-10-30
Estimated Expiration
2039-03-14

AI Technical Summary

Technical Problem

[0003]但在实践中发现,由于下载的离线地图包需要占据较大的存储资源位置,容易造成存储资源较小的可穿戴设备无法实现上述的离线定位功能,而且离线地图包还需要经常从网络端中不断更新,会使得可穿戴设备因离线地图包更新不及时而造成定位失误的情况发生

Benefits of technology

[0028]本发明实施例中,服务设备可以预先根据第二电子设备上报的第二电子设备本身位置信息、第二电子设备与第一电子设备之间的距离、以及第二电子设备与第一电子设备的相对角度来计算得到第一电子设备的身份标识对应的位置信息存储至数据库中;在此基础上,当服务设备获取到用户设备上报的针对第一电子设备的定位请求时,可以从数据库中查询出第一电子设备的身份标识对应的位置信息,并向用户设备推送该位置信息。实施这一过程,能够实现电子设备在无须下载离线地图包的情况下的离线定位且不占用存储资源。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111143490B_ABST
    Figure CN111143490B_ABST
Patent Text Reader

Abstract

The embodiment of the present application relates to the technical field of positioning, and discloses an offline positioning method of an electronic device, a service device and a system, the method comprising: obtaining a positioning request for a first electronic device reported by a user device, the positioning request comprising at least an identity of the first electronic device; querying position information corresponding to the identity of the first electronic device from a database; and pushing the position information to the user device; wherein the position information corresponding to the identity of the first electronic device is calculated in advance according to self-position information of a second electronic device reported by the second electronic device, a distance between the second electronic device and the first electronic device, and a relative angle between the second electronic device and the first electronic device. The embodiment of the present application can realize offline positioning of an electronic device without downloading an offline map package and without occupying storage resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of positioning technology, and in particular to an offline positioning method and service device / system for electronic devices. Background Technology

[0002] Currently, most wearable devices on the market have offline positioning capabilities. However, these devices typically require downloading an offline map package of a city beforehand. The device then analyzes the WiFi and GPS information it finds to achieve offline positioning without a network connection.

[0003] However, in practice, it has been found that because the downloaded offline map package requires a large amount of storage space, wearable devices with limited storage resources may not be able to achieve the aforementioned offline positioning function. Moreover, the offline map package needs to be constantly updated from the network, which may cause positioning errors in wearable devices due to untimely updates of the offline map package. Summary of the Invention

[0004] This invention discloses an offline positioning method and service device / system for electronic devices, which enables offline positioning of electronic devices without downloading offline map packages and without occupying storage resources.

[0005] The first aspect of this invention discloses an offline positioning method for an electronic device, the method comprising:

[0006] Obtain a location request for a first electronic device reported by a user device, wherein the location request includes at least the identity identifier of the first electronic device;

[0007] Retrieve the location information corresponding to the identity identifier of the first electronic device from the database;

[0008] The location information is pushed to the user equipment;

[0009] The location information corresponding to the identity identifier of the first electronic device is calculated in advance based on the location information of the second electronic device reported by the second electronic device, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device.

[0010] A second aspect of this invention discloses a service device, the service device comprising:

[0011] The first acquisition unit is used to acquire a location request for the first electronic device reported by the user device, wherein the location request includes at least the identity identifier of the first electronic device.

[0012] The query unit is used to query the location information corresponding to the identity identifier of the first electronic device from the database;

[0013] The push unit is used to push the location information to the user equipment;

[0014] The location information corresponding to the identity identifier of the first electronic device is calculated in advance based on the location information of the second electronic device reported by the second electronic device, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device.

[0015] A third aspect of this invention discloses an offline positioning system for an electronic device, the system comprising a first electronic device, a second electronic device, a user device, and a service device, wherein:

[0016] The second electronic device is used to locate its own position information and to obtain the distance between the second electronic device and the first electronic device and the relative angle between the two electronic devices via Bluetooth scanning.

[0017] The service device is configured to acquire the location information of the second electronic device itself, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device reported by the second electronic device; and to calculate the location information of the first electronic device based on the location information of the second electronic device itself, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device; and to store the mapping relationship between the identity of the first electronic device and the location information of the first electronic device in a database.

[0018] The user equipment is configured to report a location request for the first electronic device to the service equipment, the location request including at least the identity identifier of the first electronic device;

[0019] The service device is further configured to acquire the location request for the first electronic device reported by the user device, and query the location information corresponding to the identity identifier of the first electronic device from the database; and push the location information to the user device.

[0020] A fourth aspect of this invention discloses a service device, comprising:

[0021] Memory containing executable program code;

[0022] A processor coupled to the memory;

[0023] The processor calls the executable program code stored in the memory to execute an offline positioning method for an electronic device disclosed in the first aspect of the present invention.

[0024] A fifth aspect of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute an offline positioning method for an electronic device disclosed in the first aspect of the present invention.

[0025] The sixth aspect of this invention discloses a computer program product that, when run on a computer, causes the computer to perform some or all of the steps of the offline positioning method of any electronic device of the first aspect.

[0026] The seventh aspect of this invention discloses an application publishing platform for publishing computer program products, wherein when the computer program product is run on a computer, the computer performs some or all of the steps of the offline positioning method for any electronic device of the first aspect.

[0027] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0028] In this embodiment of the invention, the service device can pre-calculate the location information corresponding to the identity identifier of the first electronic device based on the location information of the second electronic device itself reported by the second electronic device, the distance between the second electronic device and the first electronic device, and the relative angle between the two electronic devices, and store this information in a database. Based on this, when the service device receives a location request for the first electronic device reported by the user device, it can retrieve the location information corresponding to the identity identifier of the first electronic device from the database and push this location information to the user device. Implementing this process enables offline positioning of electronic devices without downloading offline map packages and without consuming storage resources. Attached Figure Description

[0029] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0030] Figure 1 This is a flowchart illustrating an offline positioning method for an electronic device disclosed in an embodiment of the present invention;

[0031] Figure 2This is a flowchart illustrating another offline positioning method for electronic devices disclosed in an embodiment of the present invention;

[0032] Figure 3 This is a flowchart illustrating another offline positioning method for electronic devices disclosed in an embodiment of the present invention;

[0033] Figure 4 This is a schematic diagram of the structure of a service device disclosed in an embodiment of the present invention;

[0034] Figure 5 This is a schematic diagram of the structure of another service device disclosed in an embodiment of the present invention;

[0035] Figure 6 This is a schematic diagram of the structure of another service device disclosed in an embodiment of the present invention;

[0036] Figure 7 This is a schematic diagram of the structure of another service device disclosed in an embodiment of the present invention;

[0037] Figure 8 This is a network architecture diagram of an offline positioning system for an electronic device disclosed in an embodiment of the present invention. Detailed Implementation

[0038] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0039] It should be noted that the terms "first," "second," "third," "fourth," etc., used in the specification and claims of this invention are used to distinguish different objects, not to describe a specific order. The terms "comprising" and "having," and any variations thereof, in the embodiments of this invention are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products, or devices.

[0040] This invention discloses an offline positioning method for electronic devices, enabling offline positioning of electronic devices without downloading offline map packages and without consuming storage resources. The following is a detailed description with reference to the accompanying drawings.

[0041] Example 1

[0042] Please see Figure 1 , Figure 1This is a flowchart illustrating an offline positioning method for an electronic device disclosed in an embodiment of the present invention. Figure 1 As shown, the offline positioning method for this electronic device may include the following steps:

[0043] 101. The service device obtains a location request for the first electronic device reported by the user device, the location request including at least the identity identifier of the first electronic device.

[0044] In this embodiment of the invention, the user equipment may include electronic devices with Bluetooth positioning function such as mobile phones, tablets, wristbands, watches, and smart glasses, but this embodiment of the invention does not limit the scope of the device.

[0045] In this embodiment of the invention, the first electronic device may include electronic devices with Bluetooth positioning function such as mobile phones, tablets, wristbands, watches, and smart glasses, and is not limited thereto in this embodiment of the invention.

[0046] In this embodiment of the invention, the identity identifier of the first electronic device may include the Bluetooth MAC address of the first electronic device; and / or, the identity identifier of the first electronic device may also include the International Mobile Subscriber Identification Number (IMSI) of the first electronic device.

[0047] In this embodiment of the invention, the location request for the first electronic device reported by the user device can be sent manually by the user through the user device, or it can be sent automatically by the user device.

[0048] For example, if a user of a user equipment needs to locate a first electronic device, but the first electronic device cannot be located due to network problems, the user of the user equipment can send a signal to the user equipment via voice indicating that they need to locate the first electronic device. The user equipment can detect whether there are preset keywords related to the intention to locate the first electronic device in the user's voice input, such as "search" or "locate". When there are preset keywords related to the intention to locate the first electronic device in the user's voice input, the user equipment can report a location request for the first electronic device to the service device, and the service device will execute step 101.

[0049] For example, if a user of a user equipment needs to locate a first electronic device, but the first electronic device cannot be located due to network problems, the user of the user equipment can manually send a signal to the user equipment via touch screen to request the location of the first electronic device. When the user equipment receives the signal from the user requesting the location of the first electronic device, the user equipment can report a location request for the first electronic device to the service device, and the service device will execute step 101.

[0050] For example, if a user of a user equipment needs to locate a first electronic device, but the first electronic device cannot be located due to network problems, the user of the user equipment can manually activate a physical button switch on the user equipment to send a signal to the user equipment that the user needs to locate the first electronic device. When the user equipment receives the signal sent by the user that the user needs to locate the first electronic device, the user equipment can report a location request for the first electronic device to the service device, and the service device will execute step 101.

[0051] For example, if a user of a user equipment needs to locate a first electronic device, but the first electronic device cannot be located due to network problems, the user equipment can periodically report a location request signal for the first electronic device to the service device. This location request signal does not require any instruction from the user of the user equipment.

[0052] As an optional implementation, in this embodiment of the invention, the service device can set a sensitive area for the user device. When the user device enters the set sensitive area, the service device can send an inquiry message to the user device to ask whether the user device needs to locate other electronic devices. When the user device needs to locate other electronic devices, the user device can report a location request for the first electronic device to the service device, and the service device executes step 101.

[0053] 102. The service device retrieves the location information corresponding to the identity identifier of the first electronic device from the database.

[0054] As an optional implementation, in this embodiment of the invention, the service device can obtain the identity identifier of the first electronic device from the location request reported by the user device for the first electronic device, and obtain the location information corresponding to the identity identifier of the first electronic device from the database based on the identity identifier of the first electronic device, wherein the identity identifier of the first electronic device includes at least a Bluetooth MAC address.

[0055] As an optional implementation, in this embodiment of the invention, the database of the service device may include, in addition to the location information corresponding to the identity identifier of the first electronic device, the basic parameter information of the first electronic device corresponding to the identity identifier of the first electronic device, the dwell time, start time, end time, and movement trajectory of the first electronic device corresponding to the identity identifier of the first electronic device at different locations.

[0056] As an optional implementation, in this embodiment of the invention, the service device can refresh the location information, basic parameter information, and information such as the dwell time, start time, end time, and movement trajectory of the first electronic device in the database at preset time intervals.

[0057] 103. The service device pushes the location information corresponding to the identity identifier of the first electronic device to the user device; wherein, the location information corresponding to the identity identifier of the first electronic device is calculated in advance by the service device based on the location information of the second electronic device itself reported by the second electronic device, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device.

[0058] In this embodiment of the invention, the relative angle between the second electronic device and the first electronic device may include the relative direction and angle between the second electronic device and the first electronic device.

[0059] As an optional implementation, in this embodiment of the invention, after the service device pushes the above location information to the user device, it can also send a first query message to the user, asking whether the user device needs to obtain the detailed information of the first electronic device. The detailed information of the first electronic device includes the dwell time, start time, end time, movement trajectory, and basic parameters of the first electronic device in different locations. When the user device needs to obtain the detailed information of the first electronic device, the service device can push the detailed information of the first electronic device to the user device from the database.

[0060] Furthermore, after the service device pushes the detailed information of the first electronic device from the database to the user device, the service device can also send a second query to the user, asking whether the user needs to search for and track the movement route of the latest located first electronic device. When the user device needs to search for and track the movement route of the latest located first electronic device, the service device can obtain the latest location information of the first electronic device from the database and search for the navigation route from the user device to the latest located first electronic device. The service device can push the searched navigation route to the user device.

[0061] Furthermore, after pushing the aforementioned navigation route to the user device, the service device can also send a third query to the user, asking whether the user wants to obtain the identification identifiers of the electronic devices surrounding the first electronic device. When the user device needs to obtain the identification identifiers of the electronic devices surrounding the first electronic device, the service device can push the identification identifiers of the electronic devices surrounding the first electronic device to the user device. In particular, since the second electronic device can report its own location information, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device to the service device, the service device can consider the second electronic device to be in a network-connected state. Accordingly, the service device can push the identification identifiers of the second electronic devices surrounding the first electronic device to the user device.

[0062] In this embodiment of the invention, after the service device pushes the identity identifiers of second electronic devices surrounding the first electronic device to the user device, the user device can know the identity of the second electronic devices surrounding the first electronic device through the identity identifiers of the second electronic devices, and can interact and communicate with the second electronic devices surrounding the first electronic device through an interactive platform. For example, the identity identifier of the second electronic device can also be a social account corresponding to a social application (such as WeChat or QQ) running on the second electronic device. Accordingly, the user device can interact and communicate with the social account corresponding to the social application (such as WeChat or QQ) running on the second electronic device through a social platform (which is a type of interactive platform). This allows the user device to achieve offline positioning of the first electronic device when it is offline or when the first electronic device does not need to download an offline map package, and also to understand the surrounding environmental status of the user to whom the first electronic device belongs through the social accounts corresponding to the social applications (such as WeChat or QQ) running on the surrounding second electronic devices.

[0063] It is evident that implementation Figure 1 The described offline positioning method for electronic devices enables offline positioning of electronic devices without downloading offline map packages and without consuming storage resources.

[0064] Example 2

[0065] Please see Figure 2 , Figure 2 This is a flowchart illustrating another offline positioning method for an electronic device disclosed in an embodiment of the present invention. Figure 2 As shown, the offline positioning method for this electronic device may include the following steps:

[0066] 201. The service device obtains the location information reported by the second electronic device; wherein the location information includes at least the location information of the second electronic device itself, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device; and the location information also includes the location configuration information set by the first electronic device, which includes a user device blacklist.

[0067] The distance between the second electronic device and the first electronic device, as well as the relative angle between the second electronic device and the first electronic device, are obtained by the second electronic device scanning via Bluetooth.

[0068] Correspondingly, the location configuration information set by the first electronic device can also be obtained by the second electronic device by scanning the first electronic device via Bluetooth.

[0069] In this embodiment of the invention, the relative angle between the second electronic device and the first electronic device may include the relative direction and angle between the second electronic device and the first electronic device.

[0070] In this embodiment of the invention, the second electronic device can be located via WiFi, GPS, or other methods. Furthermore, the second electronic device can scan via Bluetooth (e.g., Bluetooth 5.1) to obtain the distance between the second and first electronic devices, their relative angle, and the location configuration information set by the first electronic device. Notably, the first electronic device may be in a state without network access, where it cannot be located using conventional WiFi, GPS, or other methods.

[0071] 202. The service device calculates the position information of the first electronic device based on the position information of the second electronic device itself, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device.

[0072] As an optional implementation, in this embodiment of the invention, the position of the second electronic device can be a three-dimensional coordinate; the distance between the second electronic device and the first electronic device can be a straight-line distance in space; the relative angle between the second electronic device and the first electronic device can include the relative orientation of the second electronic device and the first electronic device; then, the service device can use a three-dimensional calculation method to obtain the position information of the first electronic device based on the three-dimensional coordinate, the straight-line distance between the second electronic device and the first electronic device, and the relative orientation of the second electronic device and the first electronic device.

[0073] 203. The service equipment stores the mapping relationship between the identity identifier of the first electronic device and the location information of the first electronic device in the database.

[0074] The identity identifier of the first electronic device includes its Bluetooth MAC address.

[0075] As an optional implementation, in this embodiment of the invention, the service device may also store the mapping relationship between the identity identifier of the first electronic device and the basic parameter information of the first electronic device, the dwell time, start time, end time and movement trajectory of the first electronic device at different locations, etc., in the database.

[0076] 204. The service device obtains a location request for the first electronic device reported by the user device, the location request including at least the identity identifier of the first electronic device.

[0077] 205. The service device verifies whether the above-mentioned user equipment belongs to any user equipment in the user equipment blacklist. If yes, proceed to step 206; otherwise, proceed to steps 207 to 208.

[0078] Accordingly, after the service device obtains the location request for the first electronic device reported by the user device, the service device can verify whether the user device belongs to any user device in the user device blacklist. When the user device belongs to any user device in the user device blacklist, the service device executes step 206. When the user device does not belong to any user device in the user device blacklist, the service device executes steps 207 to 208.

[0079] By implementing the above-described method, the first electronic device can be effectively prevented from being harassed.

[0080] 206. The service device pushes a first notification message to the user equipment, which instructs the user equipment not to obtain the location information of the first electronic device; the process ends.

[0081] In this embodiment of the invention, the service device may push a first notification message to the display screen of the user device; and / or, the service device may push a first notification message to the speaker of the user device.

[0082] In this embodiment of the invention, when the user equipment belongs to any user equipment in the user equipment blacklist, the user equipment is not allowed to obtain the location information of the first electronic device. The service device can push a first notification message to the user equipment to let the user equipment know that it is not allowed to obtain the location information of the first electronic device. This process effectively prevents the user equipment from continuously performing the operation of reporting the location request for the first electronic device to the service device because it does not know that it is not allowed to obtain the location information of the first electronic device, thereby reducing the power consumption of the service device.

[0083] 207. The service device retrieves the location information corresponding to the identity identifier of the first electronic device from the database.

[0084] 208. The service equipment pushes the above location information to the user equipment.

[0085] The location information corresponding to the identity of the first electronic device is calculated in advance by the service device based on the location information of the second electronic device reported by the second electronic device, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device.

[0086] It is evident that implementation Figure 2 Another offline positioning method for electronic devices described herein can effectively prevent the first electronic device from being harassed by the service device through the process of verifying whether the aforementioned user device belongs to any user device in the user device blacklist.

[0087] In addition, implementation Figure 2 Another offline positioning method for electronic devices is described. When the user device belongs to any user device in the user device blacklist, the service device can push a first notification message to the user device to let the user device know that it is not allowed to obtain the location information of the first electronic device. This process effectively prevents the user device from continuously performing the operation of reporting the location request for the first electronic device to the service device because it does not know that it is not allowed to obtain the location information of the first electronic device, thereby reducing the power consumption of the service device.

[0088] In addition, implementation Figure 2 Another offline positioning method for electronic devices is described, which enables offline positioning of electronic devices without downloading offline map packages and without consuming storage resources.

[0089] Example 3

[0090] Please see Figure 3 , Figure 3 This is a flowchart illustrating another offline positioning method for an electronic device disclosed in an embodiment of the present invention. Figure 3 As shown, the offline positioning method for this electronic device may include the following steps:

[0091] 301. The service device obtains the location information reported by the second electronic device, wherein the location information includes at least the location information of the second electronic device itself, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device; the location information also includes the location configuration information set by the first electronic device, which includes a user device blacklist, the time period during which the first electronic device is allowed to be located, and the user terminal level that allows the first electronic device to be located.

[0092] The distance between the second electronic device and the first electronic device, as well as the relative angle between the second electronic device and the first electronic device, are obtained by the second electronic device scanning via Bluetooth.

[0093] Accordingly, the location configuration information set by the first electronic device is obtained by the second electronic device through scanning via Bluetooth.

[0094] 302. The service device calculates the position information of the first electronic device based on the position information of the second electronic device itself, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device.

[0095] 303. The service equipment stores the mapping relationship between the identity identifier of the first electronic device and the location information of the first electronic device in the database.

[0096] The identity identifier of the first electronic device includes its Bluetooth MAC address.

[0097] 304. The service device obtains a location request for the first electronic device reported by the user device, the location request including at least the identity identifier of the first electronic device.

[0098] 305. The service device verifies whether the above-mentioned user equipment belongs to any user equipment in the user equipment blacklist. If yes, proceed to step 306; otherwise, proceed to step 307.

[0099] 306. The service device pushes a first notification message to the user equipment, which instructs the user equipment not to obtain the location information of the first electronic device; the process ends.

[0100] 307. The service device determines whether the current time falls within the time period during which the first electronic device is allowed to be located. If not, proceed to step 308; if yes, proceed to step 309.

[0101] Accordingly, after the service device verifies that the user device does not belong to any user device in the user device blacklist, the service device determines whether the current time is within the time period during which the first electronic device is allowed to be located. If the current time is not within the time period during which the first electronic device is allowed to be located, the service device executes step 308. If the current time is within the time period during which the first electronic device is allowed to be located, the service device executes step 309.

[0102] By implementing the above-described method, the first electronic device can be effectively prevented from being harassed.

[0103] 308. The service device pushes a second notification message to the user device, which indicates that the location information of the first electronic device is not allowed at the current time; this process ends.

[0104] In this embodiment of the invention, the service device may push a second notification message to the display screen of the user device; and / or, the service device may push a second notification message to the speaker of the user device.

[0105] In this embodiment of the invention, step 308 enables the user equipment to know that it is not currently allowed to obtain the location information of the first electronic device, effectively preventing the user equipment from continuously performing location request operations to report the location of the first electronic device to the service device because it does not know that it is not currently allowed to obtain the location information of the first electronic device, thereby reducing the power consumption of the service device.

[0106] 309. The service device identifies whether the current level of the user device matches the user terminal level that allows the location of the first electronic device. If not, proceed to step 310; if yes, proceed to steps 311 to 312.

[0107] As an optional implementation, in this embodiment of the invention, the service device can determine the current level of the user device by the degree of connection between the user device and the first electronic device. The higher the degree of connection between the first electronic device and the user device, the higher the current level of the user device. The degree of connection between the user device and the first electronic device can be directly proportional to the number of times the user device locates the first electronic device.

[0108] As an optional implementation, in this embodiment of the invention, the service device can identify the degree of intimacy between the user device and the first electronic device through the user device's identification identifier, and then determine the current level of the user device based on this intimacy. The higher the intimacy between the first electronic device and the user device, the higher the current level of the user device. The degree of intimacy between the user device and the first electronic device can be directly proportional to the frequency of communication (e.g., call frequency) between the user device and the first electronic device. The service device can obtain the frequency of communication (e.g., call frequency) between the user device and the first electronic device from the mobile switching center based on the user device's identification identifier, and thus determine the degree of intimacy between the user device and the first electronic device.

[0109] 310. The service device pushes a third notification message to the user device, which indicates that the user device's current level is not allowed to obtain the location information of the aforementioned first electronic device; this process ends.

[0110] In this embodiment of the invention, step 310 can effectively prevent the user equipment from continuously executing the operation of reporting the location request for the first electronic device to the service device because it does not know that it is currently not allowed to obtain the location information of the first electronic device, thereby reducing the power consumption of the service device.

[0111] 311. The service equipment retrieves the location information corresponding to the identity identifier of the first electronic device from the database.

[0112] 312. The service equipment pushes the above location information to the user equipment.

[0113] It is evident that implementation Figure 3 Another offline positioning method for electronic devices described herein, in which the service device verifies whether the aforementioned user device belongs to any user device in the user device blacklist, can effectively prevent the first electronic device from being harassed, and is conducive to improving the user's experience with the service device.

[0114] In addition, implementation Figure 3 Another offline positioning method for electronic devices is described. When the user device belongs to any user device in the user device blacklist, the service device can push a first notification message to the user device to let the user device know that it is not allowed to obtain the location information of the first electronic device. This process effectively prevents the user device from continuously performing the operation of reporting the location request for the first electronic device to the service device because it does not know that it is not allowed to obtain the location information of the first electronic device, thereby reducing the power consumption of the service device.

[0115] In addition, implementation Figure 3Another offline positioning method for electronic devices described herein involves the service device determining whether the current time falls within the time period during which the first electronic device is allowed to be located, and identifying whether the current level of the user device matches the user terminal level that allows the positioning of the first electronic device. This process can further effectively prevent the first electronic device from being harassed and improve the user's experience with the service device.

[0116] In addition, implementation Figure 3 Another offline positioning method for electronic devices described herein involves the service device sending a second notification message to the user device when the current time does not fall within the time period during which the first electronic device is permitted to be located, and sending a third notification message to the user device when the current level of the user device does not match the user terminal level that allows the positioning of the first electronic device. These two processes can further and effectively prevent the user device from continuously performing positioning request operations to the service device for the first electronic device because it does not know that it is currently not permitted to obtain the location information of the first electronic device, thereby reducing the power consumption of the service device.

[0117] In addition, implementation Figure 3 Another offline positioning method for electronic devices is described, which enables offline positioning of electronic devices without downloading offline map packages and without consuming storage resources.

[0118] Example 4

[0119] Please see Figure 4 , Figure 4 This is a schematic diagram of the structure of a service device disclosed in an embodiment of the present invention. Figure 4 As shown, the service device 400 may include a first acquisition unit 401, a query unit 402, and a push unit 403, wherein:

[0120] The first acquisition unit 401 is used to acquire a location request for the first electronic device reported by the user device, the location request including at least the identity identifier of the first electronic device.

[0121] The query unit 402 is used to query the location information corresponding to the identity identifier of the first electronic device from the database.

[0122] The push unit 403 is used to push the location information corresponding to the identity identifier of the first electronic device to the user equipment.

[0123] The location information corresponding to the identity of the first electronic device is calculated in advance by the service device based on the location information of the second electronic device reported by the second electronic device, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device.

[0124] In this embodiment of the invention, the relative angle between the second electronic device and the first electronic device may include the relative direction and angle between the second electronic device and the first electronic device.

[0125] In this embodiment of the invention, the user equipment may include: mobile phones, tablets, positioning bracelets, and other electronic devices or wearable devices with Bluetooth positioning function, and no limitation is made in this embodiment of the invention.

[0126] In this embodiment of the invention, the first electronic device may include: mobile phones, tablet computers, positioning bracelets, and other electronic devices with Bluetooth positioning function, and no limitation is made in this embodiment of the invention.

[0127] In this embodiment of the invention, the identity identifier of the first electronic device includes at least the Bluetooth MAC address of the first electronic device.

[0128] In this embodiment of the invention, the location request for the first electronic device reported by the user device and obtained by the service device 400 through the first acquisition unit 401 can be sent manually by the user through the user device or automatically by the user device.

[0129] For example, if a user of a user equipment needs to locate a first electronic device, but the first electronic device cannot be located due to network problems, the user of the user equipment can send a signal to the user equipment via voice indicating that they need to locate the first electronic device. The user equipment can detect whether there are preset keywords related to the intention to locate the first electronic device in the user's voice input, such as "search" or "locate". When there are preset keywords related to the intention to locate the first electronic device in the user's voice input, the user equipment can report a location request for the first electronic device to the service device. The service device then performs the operation of obtaining the location request for the first electronic device reported by the user equipment.

[0130] For example, if a user of a user equipment needs to locate a first electronic device, but the first electronic device cannot be located due to network problems, the user of the user equipment can manually send a signal to the user equipment via touch screen to request the location of the first electronic device. When the user equipment receives the signal from the user requesting the location of the first electronic device, the user equipment can report a location request for the first electronic device to the service device, and the service device will perform the operation of obtaining the location request for the first electronic device reported by the user equipment.

[0131] For example, if a user of a user equipment needs to locate a first electronic device, but the first electronic device cannot be located due to network problems, the user of the user equipment can manually activate a physical button switch on the user equipment to send a signal that the user needs to locate the first electronic device. When the user equipment receives the signal that the user needs to locate the first electronic device, the user equipment can report a location request for the first electronic device to the service device, and the service device will perform the operation of obtaining the location request for the first electronic device reported by the user equipment.

[0132] For example, if a user of a user equipment needs to locate a first electronic device, but the first electronic device cannot be located due to network problems, the user equipment can periodically report a location request signal for the first electronic device to the service device. This location request signal does not require any instruction from the user of the user equipment.

[0133] As an optional implementation, in this embodiment of the invention, the service device can set a sensitive area for the user device. When the user device enters the set sensitive area, the service device can send an inquiry message to the user device to ask whether the user device needs to locate other electronic devices. When the user device needs to locate other electronic devices, the user device can report a location request for the first electronic device to the service device, and the service device performs the operation of obtaining the location request for the first electronic device reported by the user device.

[0134] As an optional implementation, in this embodiment of the invention, the service device can obtain the identity identifier of the first electronic device from the location request for the first electronic device reported by the user device through the first acquisition unit 401, and obtain the location information corresponding to the identity identifier of the first electronic device from the database according to the identity identifier of the first electronic device, wherein the identity identifier of the first electronic device includes at least a Bluetooth MAC address.

[0135] As an optional implementation, in this embodiment of the invention, the database of the service device may include, in addition to the location information corresponding to the identity identifier of the first electronic device, the basic parameter information of the first electronic device corresponding to the identity identifier of the first electronic device, the dwell time, start time, end time, and movement trajectory of the first electronic device corresponding to the identity identifier of the first electronic device at different locations.

[0136] As an optional implementation, in this embodiment of the invention, the service device can refresh the location information, basic parameter information, and information such as the dwell time, start time, end time, and movement trajectory of the first electronic device in the database at preset time intervals.

[0137] As an optional implementation, in this embodiment of the invention, after the service device pushes the above-mentioned location information to the user device through the push unit 403, it can also send a first query message to the user, asking whether the user device needs to obtain the detailed information of the first electronic device. The detailed information of the first electronic device includes the dwell time, start time, end time, movement trajectory, and basic parameters of the first electronic device in different locations. When the user device needs to obtain the detailed information of the first electronic device, the service device can push the detailed information of the first electronic device from the database to the user device through the push unit 403.

[0138] Furthermore, after the service device pushes the detailed information of the first electronic device from the database to the user device through the push unit 403, the service device can also send a second query message to the user, asking whether the user needs to search and track the movement route of the latest located first electronic device. When the user device needs to search and track the movement route of the latest located first electronic device, the service device can obtain the latest location information of the first electronic device from the database and search for the navigation route from the user device to the latest located first electronic device. The service device can push the searched navigation route to the user device.

[0139] Furthermore, after the service device pushes the aforementioned navigation route to the user device via the push unit 403, it can also send a third query to the user, asking whether the user wants to obtain the identification identifiers of the electronic devices surrounding the first electronic device. When the user device needs to obtain the identification identifiers of the electronic devices surrounding the first electronic device, the service device can push the identification identifiers of the electronic devices surrounding the first electronic device to the user device. In particular, since the second electronic device can report its own location information, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device to the service device, the service device can consider the second electronic device to be in a network state. Accordingly, the service device can push the identification identifiers of the second electronic devices surrounding the first electronic device to the user device.

[0140] In this embodiment of the invention, after the service device pushes the identity identifiers of second electronic devices surrounding the first electronic device to the user device, the user device can know the identity of the second electronic devices surrounding the first electronic device through the identity identifiers of the second electronic devices, and can interact and communicate with the second electronic devices surrounding the first electronic device through an interactive platform. For example, the identity identifier of the second electronic device can also be a social account corresponding to a social application (such as WeChat or QQ) running on the second electronic device. Accordingly, the user device can interact and communicate with the social account corresponding to the social application (such as WeChat or QQ) running on the second electronic device through a social platform (which is a type of interactive platform). This allows the user device to achieve offline positioning of the first electronic device when it is offline or when the first electronic device does not need to download an offline map package, and also to understand the surrounding environmental status of the user to whom the first electronic device belongs through the social accounts corresponding to the social applications (such as WeChat or QQ) running on the surrounding second electronic devices.

[0141] It is evident that implementation Figure 4 The described service device enables electronic devices to locate themselves offline without downloading offline map packages and without consuming storage resources.

[0142] Example 5

[0143] Please see Figure 5 , Figure 5 This is a schematic diagram of the structure of another service device disclosed in an embodiment of the present invention. Wherein, Figure 5 The service equipment shown is made by Figure 4 The service equipment shown is optimized. Figure 4 Compared to the service equipment shown, in Figure 5 Among the service equipment shown:

[0144] The second acquisition unit 404 is used to acquire the location information reported by the second electronic device before the first acquisition unit 401 acquires the location request for the first electronic device reported by the user device. The location information includes at least the location information of the second electronic device itself, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device.

[0145] In this embodiment of the invention, the relative angle between the second electronic device and the first electronic device may include the relative direction and angle between the second electronic device and the first electronic device.

[0146] In this embodiment of the invention, the second electronic device can be located via WiFi, GPS, or other methods. Furthermore, the second electronic device can scan via Bluetooth (e.g., Bluetooth 5.1) to obtain the distance between the second and first electronic devices, their relative angle, and the location configuration information set by the first electronic device. Notably, the first electronic device may be in a state without network access, where it cannot be located using conventional WiFi, GPS, or other methods.

[0147] The calculation unit 405 is used to calculate the position information of the first electronic device based on the position information of the second electronic device itself, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device; wherein the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device are obtained by the second electronic device scanning via Bluetooth.

[0148] As an optional implementation, in this embodiment of the invention, the position of the second electronic device can be a three-dimensional coordinate; the distance between the second electronic device and the first electronic device can be a straight-line distance in space; the relative angle between the second electronic device and the first electronic device can include the relative orientation of the second electronic device and the first electronic device; then, the service device can use a three-dimensional calculation method to obtain the position information of the first electronic device based on the three-dimensional coordinate, the straight-line distance between the second electronic device and the first electronic device, and the relative orientation of the second electronic device and the first electronic device.

[0149] Storage unit 406 is used to store the mapping relationship between the identity identifier of the first electronic device and the location information of the first electronic device in the database; the identity identifier of the first electronic device includes the Bluetooth MAC address of the first electronic device.

[0150] As an optional implementation method, in Figure 5 In the service device shown, the aforementioned location information also includes location configuration information set by the first electronic device, which includes a user device blacklist. This location configuration information is obtained by the second electronic device from the first electronic device via Bluetooth.

[0151] As an optional implementation method, in Figure 5 In the service device shown, the service device can also store the mapping relationship between the identity of the first electronic device and the basic parameter information of the first electronic device, the dwell time of the first electronic device at different locations, the start time, the end time, and the movement trajectory, etc., in the database through the storage unit 406.

[0152] Accordingly, Figure 5The service facilities shown also include:

[0153] The verification unit 407 is used to verify whether the user equipment belongs to any user equipment in the user equipment blacklist after the first acquisition unit 401 acquires the location request for the first electronic device reported by the user equipment.

[0154] Accordingly, after the service device obtains the location request for the first electronic device reported by the user device through the first acquisition unit 401, the service device can verify through the verification unit 407 whether the user device belongs to any user device in the user device blacklist. When the user device belongs to any user device in the user device blacklist, the service device performs the operation of pushing a first notification message to the user device. When the user device does not belong to any user device in the user device blacklist, the service device performs the operation of querying the location information corresponding to the identity of the first electronic device from the database.

[0155] By implementing the above-described method, the first electronic device can be effectively prevented from being harassed.

[0156] Accordingly, in Figure 5 In the service equipment shown, the query unit 402 is used to query the location information corresponding to the identity identifier of the first electronic device from the database when the verification unit 407 verifies that the user equipment does not belong to any user equipment in the user equipment blacklist.

[0157] Accordingly, in Figure 5 In the service device shown, the push unit 403 is also used to push a first notification message to the user device when the verification unit 407 verifies that the user device belongs to any user device in the user device blacklist. The first notification message is used to indicate that the user device is not allowed to obtain the location information of the first electronic device.

[0158] By implementing the above-described embodiments, it is possible to effectively prevent the user equipment from continuously executing the operation of reporting the location request for the first electronic device to the service device because it does not know that it is currently not allowed to obtain the location information of the first electronic device, thereby reducing the power consumption of the service device.

[0159] It is evident that implementation Figure 5 Another service device described herein can effectively prevent the first electronic device from being harassed by verifying whether the aforementioned user device belongs to any user device in the user device blacklist.

[0160] In addition, implementation Figure 5Another service device described herein, when the aforementioned user device is any user device in the user device blacklist, the service device can push a first notification message to the aforementioned user device to let the user device know that it is not currently allowed to obtain the location information of the aforementioned first electronic device. This process effectively prevents the user device from continuously performing the operation of reporting the location request for the first electronic device to the service device because it does not know that it is not currently allowed to obtain the location information of the aforementioned first electronic device, thereby reducing the power consumption of the service device.

[0161] In addition, implementation Figure 5 Another service device described herein enables electronic devices to locate offline without downloading offline map packages and without consuming storage resources.

[0162] Example 6

[0163] Please see Figure 6 , Figure 6 This is a schematic diagram of the structure of another service device disclosed in an embodiment of the present invention. Wherein, Figure 6 The service equipment shown is made by Figure 5 The service equipment shown is optimized. Figure 6 The location configuration information for the service devices shown also includes the time period during which the first electronic device is allowed to be located.

[0164] Accordingly, with Figure 5 Compared to the service equipment shown, Figure 6 The service equipment shown may also include:

[0165] The judgment unit 408 is used to determine whether the current time is within the time period during which the first electronic device is allowed to be located after the verification unit 407 verifies that the user device does not belong to any user device in the user device blacklist.

[0166] Accordingly, after the service device verifies through the verification unit 407 that the user device does not belong to any user device in the user device blacklist, the service device can determine through the judgment unit 408 whether the current time belongs to the time period during which the first electronic device is allowed to be located. When the judgment unit 408 determines that the current time does not belong to the time period during which the first electronic device is allowed to be located, the service device performs the operation of pushing a second notification message to the user device. When the judgment unit 408 determines that the current time belongs to the time period during which the first electronic device is allowed to be located, the service device performs the operation of querying the location information corresponding to the identity identifier of the first electronic device from the database.

[0167] By implementing the above-described method, the first electronic device can be effectively prevented from being harassed.

[0168] Accordingly, in Figure 6 In the service device shown, the query unit 402 is used to query the location information corresponding to the identity of the first electronic device from the database when the verification unit 407 verifies that the user device does not belong to any user device in the user device blacklist and the judgment unit 408 determines that the current time belongs to the time period during which the first electronic device is allowed to be located.

[0169] Accordingly, in Figure 6 In the service device shown, the push unit 403 is also used to push a second notification message to the user device when the judgment unit 408 determines that the current time does not belong to the time period during which the first electronic device is allowed to be located. The second notification message is used to indicate that the location information of the first electronic device is not allowed to be obtained at the current time.

[0170] By implementing the above-described embodiments, it is possible to effectively prevent the user equipment from continuously executing the operation of reporting the location request for the first electronic device to the service device because it does not know that it is currently not allowed to obtain the location information of the first electronic device, thereby reducing the power consumption of the service device.

[0171] As an optional implementation method, in Figure 6 In the service equipment shown, the aforementioned location configuration information also includes a user terminal level that allows the location of the first electronic device.

[0172] Accordingly, with Figure 5 Compared to the service equipment shown, Figure 6 The service equipment shown may also include:

[0173] The identification unit 409 is used to identify whether the current level of the user equipment matches the user terminal level that allows the first electronic device to be located after the judgment unit 408 determines that the current time belongs to the time period during which the first electronic device is allowed to be located.

[0174] As an optional implementation method, in Figure 6 In the service equipment shown, the service equipment can determine the current level of the user equipment by the degree of connection between the user equipment and the first electronic equipment. The higher the degree of connection between the first electronic equipment and the user equipment, the higher the current level of the user equipment. The degree of connection between the user equipment and the first electronic equipment can be directly proportional to the number of times the user equipment locates the first electronic equipment.

[0175] As an optional implementation method, in Figure 6In the service equipment shown, the service equipment can identify the degree of closeness between the user equipment and the first electronic device through the user equipment's identification mark, and then determine the current level of the user equipment based on this closeness. The higher the closeness between the first electronic device and the user equipment, the higher the current level of the user equipment. The closeness between the user equipment and the first electronic device can be directly proportional to the frequency of their communication (e.g., call frequency). The service equipment can obtain the communication frequency (e.g., call frequency) between the user equipment and the first electronic device from the mobile switching center based on the user equipment's identification mark, and thus determine the degree of closeness between the user equipment and the first electronic device.

[0176] Accordingly, in Figure 6 In the service device shown, the query unit 402 is used to query the location information corresponding to the identity of the first electronic device from the database when the verification unit 407 verifies that the user device does not belong to any user device in the user device blacklist, the judgment unit 408 determines that the current time belongs to the time period during which the first electronic device is allowed to be located, and the identification unit 409 identifies that the current level of the user device matches the user terminal level that allows the first electronic device to be located.

[0177] Accordingly, in Figure 6 In the service device shown, the push unit 403 is further configured to push a third notification message to the user device when the identification unit 409 identifies that the current level of the user device does not match the user terminal level that allows the location of the first electronic device. The third notification message is used to indicate that the current level of the user device is not allowed to obtain the location information of the first electronic device.

[0178] It is evident that implementation Figure 6 Another service device described herein can effectively prevent the first electronic device from being harassed by performing three processes: verifying whether the aforementioned user device belongs to any user device in the user device blacklist, determining whether the current time is within the time period during which the aforementioned first electronic device is allowed to be located, and identifying whether the current level of the user device matches the user terminal level that allows the location of the aforementioned first electronic device.

[0179] In addition, implementation Figure 6Another service device described herein, when the aforementioned user device is any user device in the user device blacklist, the service device can effectively prevent the user device from continuously performing location request operations to report the location of the first electronic device to the service device because the user device does not know that it is currently not allowed to obtain the location information of the first electronic device, by pushing a first notification message to the aforementioned user device, sending a second notification message to the user device when the current time is not within the time period during which the first electronic device is allowed to be located, and sending a third notification message to the user device when the current level of the user device does not match the user terminal level that allows the location of the first electronic device. This reduces the power consumption of the service device.

[0180] In addition, implementation Figure 6 Another service device described herein enables electronic devices to locate offline without downloading offline map packages and without consuming storage resources.

[0181] Example 7

[0182] Please see Figure 7 , Figure 7 This is a schematic diagram of the structure of another service device disclosed in an embodiment of the present invention. For example... Figure 7 As shown, the service equipment may include:

[0183] Memory 701 storing executable program code;

[0184] Processor 702 coupled to memory 701;

[0185] Specifically, the processor 702 calls the executable program code stored in the memory 701 and executes it. Figures 1-3 Offline positioning method for any electronic device.

[0186] Example 8

[0187] Please see Figure 8 , Figure 8 This is a network architecture diagram of an offline positioning system for an electronic device disclosed in an embodiment of the present invention. For example... Figure 8 As shown, the offline positioning system of this electronic device may include:

[0188] The system comprises a first electronic device 801, a second electronic device 802, a user equipment 803, and a service equipment 804, wherein:

[0189] The second electronic device 802 is used to locate its own position information and to obtain the distance between the second electronic device 802 and the first electronic device 801 and the relative angle between the second electronic device 802 and the first electronic device 801 by Bluetooth scanning.

[0190] User equipment 803 is used to report a location request for the first electronic device 801 to service equipment 804. The location request includes at least the identity identifier of the first electronic device 801.

[0191] Service device 804 is used to acquire the location information of the second electronic device 802, the distance between the second electronic device 802 and the first electronic device 801, and the relative angle between the second electronic device 802 and the first electronic device 801 reported by the second electronic device 802; and to calculate the location information of the first electronic device 801 based on the location information of the second electronic device 802, the distance between the second electronic device 802 and the first electronic device 801, and the relative angle between the second electronic device 802 and the first electronic device 801; and to store the mapping relationship between the identity of the first electronic device 801 and the location information of the first electronic device 801 in a database.

[0192] Accordingly, in Figure 8 In the offline positioning system shown, the service device 804 is also used to obtain the positioning request for the first electronic device 801 reported by the user device 803, and query the location information corresponding to the identity of the first electronic device 801 from the database; and to push the location information to the user device 803.

[0193] This invention discloses a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute... Figures 1-3 Offline positioning method for any electronic device.

[0194] This invention also discloses a computer program product, wherein when the computer program product is run on a computer, the computer performs some or all of the steps of the methods described in the above method embodiments.

[0195] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, including 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 optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data.

[0196] The above provides a detailed description of an offline positioning method and service device / system for electronic devices disclosed in the embodiments of the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. An offline positioning method for an electronic device, characterized in that, Applied to service equipment, the method includes: Obtain a location request reported by the user device for a first electronic device that is in a state of being offline. The location request includes at least the identity identifier of the first electronic device. The first electronic device being in the state of being offline means that the first electronic device cannot be located due to network problems. Retrieve the location information corresponding to the identity identifier of the first electronic device from the database; The location information is pushed to the user equipment; The location information corresponding to the identity of the first electronic device is calculated in advance by the service device based on the location information of the second electronic device itself reported by the second electronic device in the network state, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device. The second electronic device being in the network state means that the second electronic device can report information to the service device.

2. The offline positioning method for electronic devices according to claim 1, characterized in that, Before obtaining the location request for the first electronic device reported by the user device, the method further includes: Obtain the location information reported by the second electronic device, wherein the location information includes at least the location information of the second electronic device itself, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device; The position information of the first electronic device is calculated based on the position information of the second electronic device itself, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device; wherein, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device are obtained by the second electronic device scanning via Bluetooth; The mapping relationship between the identity of the first electronic device and the location information of the first electronic device is stored in the database; the identity of the first electronic device includes the Bluetooth MAC address of the first electronic device.

3. The offline positioning method for electronic devices according to claim 2, characterized in that, The location information also includes location configuration information set by the first electronic device, the location configuration information including a user device blacklist, wherein the location configuration information is obtained by the second electronic device from the first electronic device via Bluetooth; after obtaining the location request for the first electronic device reported by the user device, and before retrieving the location information corresponding to the identity identifier of the first electronic device from the database, the method further includes: Verify whether the user equipment belongs to any user equipment in the user equipment blacklist; If it is verified that the user equipment does not belong to any user equipment in the user equipment blacklist, the step of querying the location information corresponding to the identity identifier of the first electronic device from the database is executed. If the user equipment is found to belong to any user equipment in the user equipment blacklist, a first notification message is pushed to the user equipment. The first notification message is used to indicate that the user equipment is not allowed to obtain the location information of the first electronic device.

4. The offline positioning method for electronic devices according to claim 3, characterized in that, The location configuration information also includes the time period during which the first electronic device is allowed to be located; after verifying that the user device does not belong to any user device in the user device blacklist, and before retrieving the location information corresponding to the identity identifier of the first electronic device from the database, the method further includes: Determine whether the current time falls within the time period during which the first electronic device is allowed to be located; If the current time falls within the time period during which the first electronic device is allowed to be located, then the step of retrieving the location information corresponding to the identity identifier of the first electronic device from the database is executed. If the current time does not fall within the time period during which the first electronic device is allowed to be located, a second notification message is pushed to the user equipment. The second notification message is used to indicate that the location information of the first electronic device is not allowed to be obtained at the current time.

5. The offline positioning method for electronic devices according to claim 4, characterized in that, The location configuration information also includes the user terminal level that allows the first electronic device to be located; after determining that the current time belongs to the time period during which the first electronic device is allowed to be located, and before retrieving the location information corresponding to the identity identifier of the first electronic device from the database, the method further includes: Identify whether the current level of the user equipment matches the user terminal level that allows the location of the first electronic device; If the current level of the user equipment matches the user terminal level that allows the location of the first electronic device, the step of querying the location information corresponding to the identity of the first electronic device from the database is executed. If the current level of the user equipment does not match the user terminal level that allows the location of the first electronic device, a third notification message is pushed to the user equipment. The third notification message is used to indicate that the current level of the user equipment is not allowed to obtain the location information of the first electronic device.

6. A service device, characterized in that, The service equipment includes: The first acquisition unit is used to acquire a location request reported by the user device for a first electronic device that is in a network-disconnected state. The location request includes at least the identity identifier of the first electronic device. The first electronic device being in the network-disconnected state means that the first electronic device cannot be located due to network problems. The query unit is used to query the location information corresponding to the identity identifier of the first electronic device from the database; The push unit is used to push the location information to the user equipment; The location information corresponding to the identity of the first electronic device is calculated in advance by the service device based on the location information of the second electronic device itself reported by the second electronic device in the network state, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device. The second electronic device being in the network state means that the second electronic device can report information to the service device.

7. The service equipment according to claim 6, characterized in that, The service equipment also includes: The second acquisition unit is used to acquire location information reported by the second electronic device before the first acquisition unit acquires the location request for the first electronic device reported by the user device. The location information includes at least the location information of the second electronic device itself, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device. The calculation unit is used to calculate the position information of the first electronic device based on the position information of the second electronic device itself, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device; wherein the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device are obtained by the second electronic device scanning via Bluetooth. The storage unit is used to store the mapping relationship between the identity identifier of the first electronic device and the location information of the first electronic device in the database; the identity identifier of the first electronic device includes the Bluetooth MAC address of the first electronic device.

8. The service equipment according to claim 7, characterized in that, The location information also includes location configuration information set by the first electronic device, the location configuration information including a user device blacklist, wherein the location configuration information is obtained by the second electronic device from the first electronic device via Bluetooth; In addition, the service equipment also includes: The verification unit is used to verify whether the user device belongs to any user device in the user device blacklist after the first acquisition unit acquires the location request for the first electronic device reported by the user device. The query unit is used to query the location information corresponding to the identity identifier of the first electronic device from the database when the verification unit verifies that the user device does not belong to any user device in the user device blacklist. The push unit is further configured to push a first notification message to the user device when the verification unit verifies that the user device belongs to any user device in the user device blacklist. The first notification message is used to indicate that the user device is not allowed to obtain the location information of the first electronic device.

9. The service equipment according to claim 8, characterized in that, The location configuration information also includes the time period during which the first electronic device is allowed to be located; In addition, the service equipment also includes: The judgment unit is used to determine whether the current time is within the time period during which the first electronic device is allowed to be located after the verification unit verifies that the user device does not belong to any user device in the user device blacklist. The query unit is used to query the location information corresponding to the identity identifier of the first electronic device from the database when the verification unit verifies that the user device does not belong to any user device in the user device blacklist and the judgment unit determines that the current time is within the time period during which the first electronic device is allowed to be located. The push unit is further configured to push a second notification message to the user equipment when the judgment unit determines that the current time does not belong to the time period during which the first electronic device is allowed to be located. The second notification message is used to indicate that the location information of the first electronic device is not allowed to be obtained at the current time.

10. The service equipment according to claim 9, characterized in that, The location configuration information also includes the user terminal level that allows the location of the first electronic device; In addition, the service equipment also includes: The identification unit is used to identify whether the current level of the user device matches the user terminal level that allows the first electronic device to be located after the judgment unit determines that the current time belongs to the time period during which the first electronic device is allowed to be located. The query unit is used to query the location information corresponding to the identity identifier of the first electronic device from the database when the verification unit verifies that the user device does not belong to any user device in the user device blacklist, the judgment unit determines that the current time is within the time period during which the first electronic device is allowed to be located, and the identification unit identifies that the current level of the user device matches the user terminal level that allows the first electronic device to be located. The push unit is further configured to push a third notification message to the user device when the identification unit identifies that the current level of the user device does not match the user terminal level that allows the location of the first electronic device. The third notification message is used to indicate that the current level of the user device is not allowed to obtain the location information of the first electronic device.

11. An offline positioning system for an electronic device, characterized in that, The system includes a first electronic device, a second electronic device, a user device, and a service device. The first electronic device is in a network-off state, while the second electronic device is in a network-connected state. The first electronic device being in a network-off state means that it cannot be located due to network problems. The second electronic device being in a network-connected state means that it can report information to the service device. The second electronic device is used to locate its own position information and to obtain the distance between the second electronic device and the first electronic device and the relative angle between the two electronic devices via Bluetooth scanning. The service device is configured to acquire the location information of the second electronic device itself, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device reported by the second electronic device; and to calculate the location information of the first electronic device based on the location information of the second electronic device itself, the distance between the second electronic device and the first electronic device, and the relative angle between the second electronic device and the first electronic device; and to store the mapping relationship between the identity of the first electronic device and the location information of the first electronic device in a database. The user equipment is configured to report a location request for the first electronic device to the service equipment, the location request including at least the identity identifier of the first electronic device; The service device is further configured to acquire the location request for the first electronic device reported by the user device, and query the location information corresponding to the identity identifier of the first electronic device from the database; and push the location information to the user device.

Citation Information

Patent Citations

  • Wearable electronic equipment and positioning and navigation system

    CN107015256A

  • Method and server for constructing and utilizing needs traffic information database

    KR101712022B1

  • Method for searching intelligent terminal, intelligent terminal and storage medium

    CN109451438A