CN111143419A - Shutdown positioning method of electronic equipment, service equipment and system - Google Patents
Shutdown positioning method of electronic equipment, service equipment and system Download PDFInfo
- Publication number
- CN111143419A CN111143419A CN201910191587.1A CN201910191587A CN111143419A CN 111143419 A CN111143419 A CN 111143419A CN 201910191587 A CN201910191587 A CN 201910191587A CN 111143419 A CN111143419 A CN 111143419A
- Authority
- CN
- China
- Prior art keywords
- electronic device
- equipment
- electronic
- user equipment
- identity
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/70—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
- H04B5/73—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for taking measurements, e.g. using sensing coils
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a shutdown positioning method of electronic equipment, service equipment and a system, wherein the method comprises the following steps: acquiring a position information query request which is reported by user equipment and aims at first electronic equipment, wherein the position information query request at least comprises an identity of the first electronic equipment; inquiring position information corresponding to the identity of the first electronic equipment from a database; pushing the position information corresponding to the identity of the first electronic equipment to the user equipment; the first electronic device drives the Bluetooth function by using the reserved electric quantity when being in a power-off state, the position information corresponding to the identity of the first electronic device is obtained by calculation according to the position information of the second electronic device reported by the second electronic device, the distance between the second electronic device and the first electronic device scanned by the second electronic device by using Bluetooth and the relative position of the second electronic device and the first electronic device, the positioning after the electronic device is powered off can be realized, and the positioning experience is improved.
Description
Technical Field
The present invention relates to the field of positioning technologies, and in particular, to a shutdown positioning method for an electronic device, and a service device and a system.
Background
At present, electronic equipment on the market possesses various functions, can provide convenient for user's life, for example, child can wear or carry electronic equipment (like telephone wrist-watch), and this electronic equipment can provide child's positional information for the head of a family, makes things convenient for the head of a family to monitor child's motion trail, avoids child to lose. However, in practice, it is found that after the electronic device is turned off, the electronic device is difficult to position, so that parents cannot acquire position information of children in time, and the positioning experience is greatly reduced.
Disclosure of Invention
The embodiment of the invention discloses a shutdown positioning method of electronic equipment, service equipment and a system, which can be used for positioning the electronic equipment after the electronic equipment is shut down and improving the positioning experience.
The first aspect of the embodiments of the present invention discloses a shutdown positioning method for an electronic device, where the method includes:
acquiring a position information query request which is reported by user equipment and aims at first electronic equipment, wherein the position information query request at least comprises an identity of the first electronic equipment;
inquiring position information corresponding to the identity of the first electronic equipment from a database;
pushing the position information corresponding to the identity of the first electronic equipment to the user equipment;
the position information corresponding to the identity of the first electronic device is obtained by calculation in advance according to the position 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 position between the second electronic device and the first electronic device; when the first electronic device is in a power-off state, the first electronic device drives the bluetooth function of the first electronic device by using the reserved electric quantity, so that the second electronic device obtains the distance between the second electronic device and the first electronic device and the relative position of the second electronic device and the first electronic device by using bluetooth scanning.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, before acquiring the location information query request for the first electronic device, which is reported by the user equipment, the method further includes:
acquiring positioning information reported by second electronic equipment, wherein the positioning information at least comprises position information of the second electronic equipment and a Bluetooth scanning result; the Bluetooth scanning result at least comprises the distance between the second electronic device and the first electronic device and the relative position of the second electronic device and the first electronic device; when the first electronic device is in a power-off state, the reserved electric quantity is utilized to drive the Bluetooth function of the first electronic device, so that the second electronic device utilizes Bluetooth scanning to obtain the Bluetooth scanning result;
calculating to obtain the position information of the first electronic equipment according to the self position information of the second electronic equipment, the distance between the second electronic equipment and the first electronic equipment and the relative position of the second electronic equipment and the first electronic equipment;
and establishing a corresponding relation between the position information of the first electronic equipment and the identity of the first electronic equipment and storing the corresponding relation into a database.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the bluetooth scanning result further includes an identity of the first electronic device, where the identity of the first electronic device includes a bluetooth Mac address of the first electronic device; after the obtaining of the positioning information reported by the second electronic device, the method further includes:
checking whether the Bluetooth Mac address of the first electronic equipment is a pre-stored legal Bluetooth Mac address or not;
if so, executing the step of calculating and obtaining the position information of the first electronic equipment according to the self position information of the second electronic equipment, the distance between the second electronic equipment and the first electronic equipment and the relative position between the second electronic equipment and the first electronic equipment.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the bluetooth scanning result further includes location configuration information of the first electronic device, where the location configuration information includes a user equipment blacklist; after the location information query request for the first electronic device reported by the user equipment is obtained, the method further includes:
checking whether the user equipment belongs to any user equipment in the user equipment blacklist;
if not, the step of inquiring the position information corresponding to the identity of the first electronic equipment from the database is executed;
if yes, pushing a notification message to the user equipment, wherein the notification message is used for indicating that the user equipment is not allowed to obtain the position information of the first electronic equipment.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the location information query request further includes user location information of the user equipment; the pushing, to the user equipment, the location information corresponding to the identity of the first electronic device includes:
calculating the distance between the first electronic equipment and the user equipment according to the position information corresponding to the identity of the first electronic equipment and the user position information;
judging whether the distance between the first electronic equipment and the user equipment is greater than a preset distance or not;
if so, pushing the position information corresponding to the identity of the first electronic equipment to the user equipment;
if not, generating position navigation information according to the position information corresponding to the identity of the first electronic equipment and the user position information, and pushing the position navigation information to the user equipment.
A first aspect of an embodiment of the present invention discloses a service device, where the service device includes:
a first obtaining unit, configured to obtain a location information query request for a first electronic device, where the location information query request includes at least an identity of the first electronic device, and the location information query request is reported by a user equipment;
the query unit is used for querying the position information corresponding to the identity of the first electronic equipment from a database;
the first pushing unit is used for pushing the position information corresponding to the identity of the first electronic equipment to the user equipment;
the position information corresponding to the identity of the first electronic device is obtained by calculation in advance according to the position 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 position between the second electronic device and the first electronic device; when the first electronic device is in a power-off state, the first electronic device drives the bluetooth function of the first electronic device by using the reserved electric quantity, so that the second electronic device obtains the distance between the second electronic device and the first electronic device and the relative position of the second electronic device and the first electronic device by using bluetooth scanning.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the service apparatus further includes:
a second obtaining unit, configured to obtain, before the first obtaining unit obtains a location information query request, which is reported by a user equipment and is addressed to a first electronic device, location information reported by a second electronic device, where the location information at least includes location information of the second electronic device and a bluetooth scanning result; the Bluetooth scanning result at least comprises the distance between the second electronic device and the first electronic device and the relative position of the second electronic device and the first electronic device; when the first electronic device is in a power-off state, the reserved electric quantity is utilized to drive the Bluetooth function of the first electronic device, so that the second electronic device utilizes Bluetooth scanning to obtain the Bluetooth scanning result;
the computing unit is used for computing and obtaining the position information of the first electronic equipment according to the self position information of the second electronic equipment, the distance between the second electronic equipment and the first electronic equipment and the relative position of the second electronic equipment and the first electronic equipment;
and the relationship establishing unit is used for establishing the corresponding relationship between the position information of the first electronic equipment and the identity of the first electronic equipment and storing the corresponding relationship into a database.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the bluetooth scanning result further includes an identity of the first electronic device, where the identity of the first electronic device includes a bluetooth Mac address of the first electronic device; and the service device further comprises:
the first checking unit is used for checking whether the Bluetooth Mac address of the first electronic equipment is a prestored legal Bluetooth Mac address or not after the second acquiring unit acquires the positioning information reported by the second electronic equipment;
the calculating unit is further configured to calculate and obtain the location information of the first electronic device according to the location information of the second electronic device, the distance between the second electronic device and the first electronic device, and the relative position between the second electronic device and the first electronic device when the checking unit checks that the bluetooth Mac address of the first electronic device is the pre-stored legal bluetooth Mac address.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the bluetooth scanning result further includes location configuration information of the first electronic device, where the location configuration information includes a user equipment blacklist; and the service device further comprises:
a second checking unit, configured to check whether the user equipment belongs to any user equipment in the user equipment blacklist after the first obtaining unit obtains the location information query request for the first electronic equipment, which is reported by the user equipment;
the query unit is further configured to query, when the second checking unit checks that the user equipment does not belong to any user equipment in the user equipment blacklist, location information corresponding to the identity of the first electronic device from a database;
a second pushing unit, configured to push a notification message to the user equipment when the second checking unit checks that the user equipment belongs to any user equipment in the user equipment blacklist, where the notification message is used to indicate that the user equipment is not allowed to obtain the location information of the first electronic device.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the location information query request further includes user location information of the user equipment; and the first pushing unit comprises:
the calculating subunit is configured to calculate, according to the location information corresponding to the identity of the first electronic device and the user location information, a distance between the first electronic device and the user device;
the judging subunit is configured to judge whether a distance between the first electronic device and the user equipment is greater than a preset distance;
the first pushing subunit is configured to, when the judging subunit judges that the distance between the first electronic device and the user equipment is greater than a preset distance, push, to the user equipment, location information corresponding to the identity of the first electronic device;
and the second pushing subunit is used for judging that the distance between the first electronic equipment and the user equipment is smaller than or equal to a preset distance in the judging subunit, generating position navigation information according to the position information corresponding to the identity of the first electronic equipment and the user position information, and pushing the position navigation information to the user equipment.
A third aspect of the present invention discloses a shutdown positioning system for an electronic device, where the system includes a first electronic device, a second electronic device, a user device, and a service device, where:
the first electronic device is used for driving the Bluetooth function of the first electronic device by using reserved electric quantity when the first electronic device is in a power-off state;
the second electronic device is used for acquiring the position information of the second electronic device, and obtaining the distance between the second electronic device and the first electronic device and the relative position of the second electronic device and the first electronic device by using Bluetooth scanning; reporting the self-position information of the second electronic equipment, the distance between the second electronic equipment and the first electronic equipment and the relative position between the second electronic equipment and the first electronic equipment to the service equipment;
the service device is configured to calculate, according to location information of the second electronic device, which is reported by the second electronic device, a distance between the second electronic device and the first electronic device, and a relative position between the second electronic device and the first electronic device, location information corresponding to the identity of the first electronic device, and store the location information in a database;
the user equipment is configured to report a location information query request for the first electronic device to the service equipment, where the location information query request at least includes an identity of the first electronic device;
the service device is further configured to obtain the location information query request, which is reported by the user device and is directed to the first electronic device, and query location information corresponding to the identity of the first electronic device from a database; and pushing the position information corresponding to the identity of the first electronic equipment to the user equipment.
A fourth aspect of the present invention discloses a service device, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the shutdown positioning method of the electronic device disclosed by the first aspect of the embodiment of the invention.
A fifth aspect of the embodiments of the present invention discloses a computer-readable storage medium, which stores a computer program, where the computer program enables a computer to execute the shutdown positioning method for an electronic device disclosed in the first aspect of the embodiments of the present invention.
A sixth aspect of the embodiments of the present invention discloses a computer program product, which, when run on a computer, causes the computer to perform some or all of the steps of any one of the methods of the first aspect.
A seventh aspect of the present embodiment discloses an application publishing platform, where the application publishing platform is configured to publish a computer program product, where when the computer program product runs on a computer, the computer is caused to perform part or all of the steps of any one of the methods in the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, after the first electronic device is powered off, the Bluetooth function is driven, so that the second electronic device obtains the distance between the second electronic device and the first electronic device and the relative position between the second electronic device and the first electronic device by utilizing Bluetooth scanning, the service device calculates the position information of the first electronic device according to the position information of the second electronic device, the distance between the second electronic device and the first electronic device and the relative position between the second electronic device and the first electronic device, and when the user device inquires, the position information is inquired in the database and pushed to the user device, so that the electronic device can be positioned after the electronic device is powered off, and the positioning experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart illustrating a shutdown positioning method for an electronic device according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a shutdown positioning method for an electronic device according to another embodiment of the disclosure;
FIG. 3 is a flowchart illustrating a shutdown positioning method for an electronic device according to another embodiment of the disclosure;
fig. 4 is a schematic structural diagram of a service device disclosed in the embodiment of the present invention;
FIG. 5 is a schematic structural diagram of another service device disclosed in the embodiment of the present invention;
fig. 6 is a schematic structural diagram of a shutdown positioning system of an electronic device according to an embodiment of the disclosure;
fig. 7 is a schematic structural diagram of another service device disclosed in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is to be noted that the terms "first", "second", and the like in the description and claims of the present invention are used for distinguishing different objects, and are not used for describing a specific order. The terms "comprises," "comprising," and any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a shutdown positioning method of electronic equipment, service equipment and a system, which can be used for positioning the electronic equipment after the electronic equipment is shut down and improving the positioning experience. The following detailed description is made from the perspective of a service device in conjunction with the accompanying drawings.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a shutdown positioning method of an electronic device according to an embodiment of the present invention. As shown in fig. 1, the shutdown positioning method of the electronic device may include the following steps.
101. The service equipment acquires a position information query request which is reported by user equipment and aims at the first electronic equipment, wherein the position information query request at least comprises an identity of the first electronic equipment.
In the embodiment of the present invention, the service device may be a location server, and is configured to store location information of different electronic devices. The user equipment may include a smart phone, a smart watch, a mobile tablet, and the like, and the first electronic equipment may include a smart phone, a smart watch, a smart bracelet, a mobile tablet, and the like.
In the embodiment of the present invention, when a user equipment initiates a positioning request to a first electronic device and does not receive a reply from the first electronic device, a location information query request for the first electronic device is reported to a service device to query location information of the first electronic device, where the location information query request at least includes an identity of the first electronic device, and the identity of the first electronic device may include a device identification code and a communication number of the first electronic device.
For example, when a user to which the user equipment belongs needs to locate the first electronic equipment but the first electronic equipment cannot be located due to low power shutdown, the user to which the user equipment belongs may "query location information" in a voice manner or send a signal that the user equipment needs to locate the first electronic equipment to the user equipment in a touch screen manner, and the user equipment may report a location query request for the first electronic equipment to the service equipment to query location information of the first electronic equipment.
For another example, when the ue detects that the ue locates the first electronic device but the first electronic device fails to locate due to low power shutdown, the ue automatically reports a location query request for the first electronic device to the service device to query the location information of the first electronic device.
102. The service equipment inquires the position information corresponding to the identity of the first electronic equipment from the database.
In the embodiment of the present invention, the service device may query, according to the identity of the first electronic device, the correspondence of the identity of the first electronic device in the database, and further may query, according to the correspondence, the location information corresponding to the identity of the first electronic device. The identity of the first electronic device comprises a Bluetooth Mac address of the first electronic device, and the database is a Bluetooth position database and is used for storing position information corresponding to the Bluetooth Mac address.
103. The service equipment pushes the position information corresponding to the identity of the first electronic equipment to the user equipment; the position information corresponding to the identity of the first electronic device is obtained by calculating in advance according to the position information of the second electronic device reported by the second electronic device, the bluetooth function of the first electronic device driven by the reserved electric quantity when the first electronic device is in the power-off state, so that the second electronic device obtains the distance between the second electronic device and the first electronic device by bluetooth scanning, and the relative position between the second electronic device and the first electronic device.
As an optional implementation manner, a dangerous area set by the user equipment for the first electronic equipment may be stored in the database, and when the service device detects that the location of the first electronic equipment is located in the dangerous area, alarm information is sent to the user equipment to notify that the first electronic equipment is located in the dangerous area, and an alarm signal is sent when the first electronic equipment is operating normally. By implementing the implementation mode, when the first electronic equipment is in a dangerous area, the user to which the user equipment belongs can be timely notified, and the user of the first electronic equipment is warned, so that accidents are avoided.
It can be seen that, with the implementation of the shutdown positioning method for the electronic device described in fig. 1, the position information of the first electronic device may be calculated according to the position information of the second electronic device, the distance between the second electronic device and the first electronic device, and the relative position between the second electronic device and the first electronic device, and when the user equipment queries, the position information is queried in the database and pushed to the user equipment, so that the electronic device can be positioned after being shutdown, and the positioning experience is improved.
Example two
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating another shutdown positioning method for an electronic device according to an embodiment of the present invention. As shown in fig. 2, the shutdown positioning method of the electronic device may include the following steps.
201. The service equipment acquires positioning information reported by the second electronic equipment, wherein the positioning information at least comprises the position information of the second electronic equipment and a Bluetooth scanning result; the Bluetooth scanning result at least comprises the distance between the second electronic equipment and the first electronic equipment and the relative position of the second electronic equipment and the first electronic equipment; when the first electronic device is in the power-off state, the reserved electric quantity is utilized to drive the Bluetooth function of the first electronic device, so that the second electronic device obtains a Bluetooth scanning result by utilizing Bluetooth scanning.
In the embodiment of the present invention, the second electronic device may locate its own position through a conventional positioning method (e.g., GPS, WI-FI, etc.), obtain its own position information, and scan through a bluetooth method (e.g., bluetooth 5.1) to obtain a distance between the second electronic device and the first electronic device and a relative position between the second electronic device and the first electronic device, at this time, the first electronic device is in an off state, and cannot perform communication and positioning, and may drive a bluetooth function of the first electronic device by using a reserved electric quantity (e.g., 1% electric quantity), so that the second electronic device obtains a bluetooth scanning result by using bluetooth scanning.
The Bluetooth scanning result further comprises an identity of the first electronic device, and the identity of the first electronic device comprises a Bluetooth Mac address of the first electronic device; and the Bluetooth scanning result also comprises positioning configuration information of the first electronic equipment, and the positioning configuration information comprises a user equipment blacklist.
202. The service equipment checks whether the Bluetooth Mac address of the first electronic equipment is a pre-stored legal Bluetooth Mac address or not; if yes, executing step 203-step 209; if not, the flow is ended.
In the embodiment of the invention, the service equipment can inquire in the database according to the Bluetooth Mac address of the first electronic equipment, and if the inquiry is obtained, the Bluetooth Mac address of the first electronic equipment is a pre-stored legal Bluetooth Mac address; if the inquiry is not available, the Bluetooth Mac address of the first electronic equipment is not a pre-stored legal Bluetooth Mac address. By implementing the method, the Bluetooth Mac address of the electronic equipment can be verified, the legal electronic equipment can be screened, and the power consumption of the service equipment can be reduced.
203. The service equipment calculates and obtains the position information of the first electronic equipment according to the position information of the second electronic equipment, the distance between the second electronic equipment and the first electronic equipment and the relative position of the second electronic equipment and the first electronic equipment.
As an optional implementation manner, when the distance between the second electronic device and the first electronic device is greater than a preset distance value, the service device obtains the self-location information reported by the third electronic device, the distance between the third electronic device and the first electronic device, and the relative position between the third electronic device and the first electronic device, where the distance between the third electronic device and the first electronic device is greater than the preset distance value; calculating to obtain first position information of the first electronic device according to the self position information of the second electronic device, the distance between the second electronic device and the first electronic device and the relative position between the second electronic device and the first electronic device, and calculating to obtain second position information of the first electronic device according to the self position information of the third electronic device, the distance between the third electronic device and the first electronic device and the relative position between the third electronic device and the first electronic device; and calibrating according to the first position information and the second position information to obtain target position information. By implementing the embodiment, the positioning of the first electronic equipment can be more accurate.
204. The service equipment establishes a corresponding relation between the position information of the first electronic equipment and the identity of the first electronic equipment and stores the corresponding relation in a database.
In the embodiment of the invention, after the service equipment calculates the position information of the first electronic equipment, the corresponding relation between the position information of the first electronic equipment and the identity of the first electronic equipment is established and stored in the database, so that the service equipment can inquire the position information of the first electronic equipment by the identity of the first electronic equipment, and the inquiry speed of the position information of the first electronic equipment is improved.
205. The service equipment acquires a position information query request which is reported by user equipment and aims at the first electronic equipment, wherein the position information query request at least comprises an identity of the first electronic equipment.
206. The service equipment checks whether the user equipment belongs to any user equipment in a user equipment blacklist; if yes, go to step 207; if not, steps 208-209 are performed.
Specifically, the service device may check whether the reported user equipment for the location information query request of the first electronic device belongs to any user equipment in a user equipment blacklist of the first electronic device, execute step 207 when the user equipment belongs to any user equipment in the user equipment blacklist, and execute step 208-step 209 when the user equipment does not belong to any user equipment in the user equipment blacklist. By implementing the method, the legal user equipment can only inquire the position information of the first electronic equipment, the safety of the first electronic equipment is ensured, and the first electronic equipment can be prevented from being disturbed.
As an alternative embodiment, the service device may determine whether the current time belongs to a time period allowed by the first electronic device to be located, and if so, execute steps 208-209; and if not, pushing a second notification message to the user equipment, wherein the second notification message is used for indicating that the current time is not allowed to obtain the position information of the first electronic equipment. By implementing the embodiment, the position information of the first electronic equipment can not be provided in the time period which is not allowed to be positioned, and the first electronic equipment is guaranteed not to be disturbed.
As a further alternative, the service device may identify whether the current level of the user equipment matches the level of the user terminal that allows the first electronic device to be located, and if so, perform steps 208-209; if not, pushing a third notification message to the user equipment, wherein the third notification message is used for indicating that the current level of the user equipment is not allowed to obtain the position information of the first electronic equipment. By implementing the method, the first electronic equipment is not interfered by the user equipment with unmatched user terminal levels, and the power consumption of the service equipment can be reduced.
207. The service device pushes a notification message to the user device, wherein the notification message is used for indicating that the user device is not allowed to obtain the position information of the first electronic device.
In the embodiment of the present invention, when the user equipment belongs to any user equipment in the user equipment blacklist, that is, when the user equipment is not allowed to acquire the location information of the first electronic equipment, the service equipment may push a notification message to the user equipment to notify the user equipment that the user equipment is not allowed to acquire the location information of the first electronic equipment, so that the first electronic equipment may be prevented from being disturbed.
208. The service equipment inquires the position information corresponding to the identity of the first electronic equipment from the database.
209. The service equipment pushes the position information corresponding to the identity of the first electronic equipment to the user equipment.
Therefore, by implementing the shutdown positioning method for the electronic device described in fig. 2, the electronic device can be positioned after being shutdown, so that the positioning experience is improved. In addition, the Bluetooth Mac address of the electronic equipment can be verified, legal electronic equipment is screened, the power consumption of service equipment is reduced, the legal user equipment can inquire the position information of the electronic equipment, the safety of the electronic equipment is guaranteed, and the electronic equipment is prevented from being disturbed.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating another shutdown positioning method for an electronic device according to an embodiment of the disclosure. As shown in fig. 3, the shutdown positioning method of the electronic device may include the following steps.
301. The service equipment acquires positioning information reported by the second electronic equipment, wherein the positioning information at least comprises the position information of the second electronic equipment and a Bluetooth scanning result; the Bluetooth scanning result at least comprises the distance between the second electronic equipment and the first electronic equipment and the relative position of the second electronic equipment and the first electronic equipment; when the first electronic device is in the power-off state, the reserved electric quantity is utilized to drive the Bluetooth function of the first electronic device, so that the second electronic device obtains a Bluetooth scanning result by utilizing Bluetooth scanning.
302. The service equipment checks whether the Bluetooth Mac address of the first electronic equipment is a pre-stored legal Bluetooth Mac address or not; if yes, go to step 303-step 312; if not, the flow is ended.
The Bluetooth scanning result further comprises an identity of the first electronic device, and the identity of the first electronic device comprises a Bluetooth Mac address of the first electronic device; and the Bluetooth scanning result also comprises positioning configuration information of the first electronic equipment, and the positioning configuration information comprises a user equipment blacklist.
303. The service equipment calculates and obtains the position information of the first electronic equipment according to the position information of the second electronic equipment, the distance between the second electronic equipment and the first electronic equipment and the relative position of the second electronic equipment and the first electronic equipment.
304. The service equipment establishes a corresponding relation between the position information of the first electronic equipment and the identity of the first electronic equipment and stores the corresponding relation in a database.
305. The service equipment acquires a position information query request which is reported by user equipment and aims at the first electronic equipment, wherein the position information query request at least comprises an identity of the first electronic equipment.
Wherein, the location information inquiry request also comprises the user location information of the user equipment.
306. The service equipment checks whether the user equipment belongs to any user equipment in a user equipment blacklist; if yes, go to step 307; if not, steps 308-312 are performed.
The Bluetooth scanning result also comprises positioning configuration information of the first electronic equipment, and the positioning configuration information comprises a user equipment blacklist;
307. the service device pushes a notification message to the user device, wherein the notification message is used for indicating that the user device is not allowed to obtain the position information of the first electronic device.
308. The service equipment inquires the position information corresponding to the identity of the first electronic equipment from the database.
309. And the service equipment calculates the distance between the first electronic equipment and the user equipment according to the position information corresponding to the identity of the first electronic equipment and the user position information.
310. The service equipment judges whether the distance between the first electronic equipment and the user equipment is greater than a preset distance or not; if yes, go to step 311; if not, step 312 is performed.
Specifically, when the distance between the first electronic device and the user equipment is greater than the preset distance, it indicates that the first electronic device and the user equipment are not located in the same area, and the service device pushes the location information corresponding to the identity of the first electronic device to the user equipment, so that the user to which the user equipment belongs can know the area where the user of the first electronic device is located; when the distance between the first electronic device and the user equipment is smaller than the preset distance, the fact that the first electronic device and the user equipment are located in the same area is shown, the user of the first electronic device possibly loses the user to which the user equipment belongs, the service equipment pushes the position navigation information to the user equipment, the user to which the user equipment belongs can find the user of the first electronic device as soon as possible according to the position navigation information, and accidents are avoided.
311. The service equipment pushes the position information corresponding to the identity of the first electronic equipment to the user equipment.
312. The service equipment generates position navigation information according to the position information corresponding to the identity of the first electronic equipment and the user position information, and pushes the position navigation information to the user equipment.
Therefore, by implementing the shutdown positioning method for the electronic device described in fig. 3, the electronic device can be positioned after being shutdown, so that the positioning experience is improved. In addition, the Bluetooth Mac address of the electronic equipment can be verified, legal electronic equipment is screened, the power consumption of service equipment is reduced, the legal user equipment can inquire the position information of the electronic equipment, the safety of the electronic equipment is guaranteed, and the electronic equipment is prevented from being disturbed. In addition, when the user of the electronic equipment possibly goes away from the user to which the user equipment belongs, the user to which the user equipment belongs can find the user of the electronic equipment as soon as possible according to the position navigation information, and accidents are avoided.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of a service device according to an embodiment of the present invention. As shown in fig. 4, the service apparatus may include:
a first obtaining unit 401, configured to obtain a location information query request, which is reported by a user equipment and is addressed to a first electronic device, where the location information query request at least includes an identity of the first electronic device.
In the embodiment of the present invention, the service device may be a location server, and is configured to store location information of different electronic devices. The user equipment may include a smart phone, a smart watch, a mobile tablet, and the like, and the first electronic equipment may include a smart phone, a smart watch, a smart bracelet, a mobile tablet, and the like.
In the embodiment of the present invention, when a user equipment initiates a positioning request to a first electronic device and does not receive a reply from the first electronic device, a location information query request for the first electronic device is reported to a service device to query location information of the first electronic device, where the location information query request at least includes an identity of the first electronic device, and the identity of the first electronic device may include a device identification code and a communication number of the first electronic device.
For example, when a user to which the user equipment belongs needs to locate the first electronic equipment but the first electronic equipment cannot be located due to low power shutdown, the user to which the user equipment belongs may "query location information" in a voice manner or send a signal that the user equipment needs to locate the first electronic equipment to the user equipment in a touch screen manner, and the user equipment may report a location query request for the first electronic equipment to the service equipment to query location information of the first electronic equipment.
For another example, when the ue detects that the ue locates the first electronic device but the first electronic device fails to locate due to low power shutdown, the ue automatically reports a location query request for the first electronic device to the service device to query the location information of the first electronic device.
The querying unit 402 is configured to query the database for location information corresponding to the identity of the first electronic device.
In this embodiment of the present invention, the querying unit 402 is configured to query, according to the identity of the first electronic device, a corresponding relationship of the identity of the first electronic device in the database, and further query, according to the corresponding relationship, location information corresponding to the identity of the first electronic device. The identity of the first electronic device comprises a Bluetooth Mac address of the first electronic device, and the database is a Bluetooth position database and is used for storing position information corresponding to the Bluetooth Mac address.
A first pushing unit 403, configured to push, to a user equipment, location information corresponding to an identity of a first electronic device;
the position information corresponding to the identity of the first electronic device is obtained by calculation in advance according to the position 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 position between the second electronic device and the first electronic device; when the first electronic device is in a power-off state, the reserved electric quantity is utilized to drive the Bluetooth function of the first electronic device, so that the second electronic device obtains the distance between the second electronic device and the first electronic device and the relative position of the second electronic device and the first electronic device by utilizing Bluetooth scanning.
As an alternative implementation manner, a dangerous area set by the user device for the first electronic device may be stored in the database, and the first pushing unit 403 is configured to send alarm information to the user device when the service device detects that the location of the first electronic device is located in the dangerous area, to notify that the first electronic device is located in the dangerous area, and to send an alarm signal when the first electronic device is operating normally. By implementing the implementation mode, when the first electronic equipment is in a dangerous area, the user to which the user equipment belongs can be timely notified, and the user of the first electronic equipment is warned, so that accidents are avoided.
It can be seen that, with the service device described in fig. 4, the location information of the first electronic device can be calculated according to the location information of the second electronic device, the distance between the second electronic device and the first electronic device, and the relative position between the second electronic device and the first electronic device, and when the user device queries, the location information is queried in the database and pushed to the user device, so that the electronic device can be located after being powered off, and the location experience is improved.
EXAMPLE five
Referring to fig. 5, fig. 5 is a schematic structural diagram of another service device according to an embodiment of the disclosure. As shown in fig. 5, the service device shown in fig. 5 is optimized by the service device shown in fig. 4. Compared with the service apparatus shown in fig. 4, the service apparatus shown in fig. 5 may further include:
a second obtaining unit 404, configured to obtain, before the first obtaining unit obtains the location information query request, which is reported by the user equipment and is addressed to the first electronic device, location information reported by the second electronic device, where the location information at least includes location information of the second electronic device and a bluetooth scanning result; the Bluetooth scanning result at least comprises the distance between the second electronic equipment and the first electronic equipment and the relative position of the second electronic equipment and the first electronic equipment; when the first electronic device is in the power-off state, the reserved electric quantity is utilized to drive the Bluetooth function of the first electronic device, so that the second electronic device obtains a Bluetooth scanning result by utilizing Bluetooth scanning.
In the embodiment of the present invention, the second electronic device may locate its own position through a conventional positioning method (e.g., GPS, WI-FI, etc.), obtain its own position information, and scan through a bluetooth method (e.g., bluetooth 5.1) to obtain a distance between the second electronic device and the first electronic device and a relative position between the second electronic device and the first electronic device, at this time, the first electronic device is in an off state, and cannot perform communication and positioning, and may drive a bluetooth function of the first electronic device by using a reserved electric quantity (e.g., 1% electric quantity), so that the second electronic device obtains a bluetooth scanning result by using bluetooth scanning.
The calculating unit 405 is configured to calculate and obtain the location information of the first electronic device according to the location information of the second electronic device, the distance between the second electronic device and the first electronic device, and the relative orientation between the second electronic device and the first electronic device.
As an optional implementation manner, the calculating unit 405 is configured to, when the distance between the second electronic device and the first electronic device is greater than a preset distance value, the service device obtains location information of the service device, the distance between the third electronic device and the first electronic device, and the relative position between the third electronic device and the first electronic device, where the distance between the third electronic device and the first electronic device is greater than the preset distance value; calculating to obtain first position information of the first electronic device according to the self position information of the second electronic device, the distance between the second electronic device and the first electronic device and the relative position between the second electronic device and the first electronic device, and calculating to obtain second position information of the first electronic device according to the self position information of the third electronic device, the distance between the third electronic device and the first electronic device and the relative position between the third electronic device and the first electronic device; and calibrating according to the first position information and the second position information to obtain target position information. By implementing the embodiment, the positioning of the first electronic equipment can be more accurate.
The relationship establishing unit 406 is configured to establish a corresponding relationship between the location information of the first electronic device and the identity of the first electronic device, and store the corresponding relationship in the database.
In this embodiment of the present invention, the relationship establishing unit 406 is configured to establish a corresponding relationship between the location information of the first electronic device and the identity of the first electronic device after the location information of the first electronic device is calculated, and store the corresponding relationship in the database, so that the service device can query the location information of the first electronic device with the identity of the first electronic device, and the query speed of the location information of the first electronic device is increased.
The Bluetooth scanning result further comprises an identity of the first electronic device, and the identity of the first electronic device comprises a Bluetooth Mac address of the first electronic device; and the service device further comprises:
the first checking unit 407 is configured to check whether the bluetooth Mac address of the first electronic device is a pre-stored legal bluetooth Mac address after the second obtaining unit obtains the positioning information reported by the second electronic device.
In the embodiment of the present invention, the first verification unit 407 is configured to query in a database according to a bluetooth Mac address of the first electronic device, and if the query is obtained, the bluetooth Mac address of the first electronic device is a pre-stored legal bluetooth Mac address; if the inquiry is not available, the Bluetooth Mac address of the first electronic equipment is not a pre-stored legal Bluetooth Mac address. By implementing the method, the Bluetooth Mac address of the electronic equipment can be verified, the legal electronic equipment can be screened, and the power consumption of the service equipment can be reduced.
The calculating unit 405 is further configured to, when the checking unit 407 checks that the bluetooth Mac address of the first electronic device is a valid bluetooth Mac address stored in advance, calculate and obtain the location information of the first electronic device according to the location information of the second electronic device, the distance between the second electronic device and the first electronic device, and the relative orientation between the second electronic device and the first electronic device.
The Bluetooth scanning result also comprises positioning configuration information of the first electronic equipment, and the positioning configuration information comprises a user equipment blacklist; and the service device further comprises:
the second checking unit 408 is configured to check whether the user equipment belongs to any user equipment in the user equipment blacklist after the first obtaining unit obtains the location information query request, which is reported by the user equipment and is addressed to the first electronic equipment.
Specifically, the second checking unit 408 is configured to check whether the reported user equipment for the location information query request of the first electronic device belongs to any user equipment in a user equipment blacklist of the first electronic device, when the user equipment belongs to any user equipment in the user equipment blacklist, the service equipment executes the second pushing unit 409, and when the user equipment does not belong to any user equipment in the user equipment blacklist, the service equipment executes the querying unit 402. By implementing the method, the legal user equipment can only inquire the position information of the first electronic equipment, the safety of the first electronic equipment is ensured, and the first electronic equipment can be prevented from being disturbed.
As an optional implementation manner, the second checking unit 408 is configured to determine whether the current time belongs to a time period allowed to be located by the first electronic device, and if so, execute the querying unit 402; and if not, pushing a second notification message to the user equipment, wherein the second notification message is used for indicating that the current time is not allowed to obtain the position information of the first electronic equipment. By implementing the embodiment, the position information of the first electronic equipment can not be provided in the time period which is not allowed to be positioned, and the first electronic equipment is guaranteed not to be disturbed.
Further optionally, the second checking unit 408 is configured to identify whether the current level of the user equipment matches a level of a user terminal that allows positioning of the first electronic device, and if so, execute the querying unit 402; if not, pushing a third notification message to the user equipment, wherein the third notification message is used for indicating that the current level of the user equipment is not allowed to obtain the position information of the first electronic equipment. By implementing the method, the first electronic equipment is not interfered by the user equipment with unmatched user terminal levels, and the power consumption of the service equipment can be reduced.
The querying unit 402 is further configured to query, when the second checking unit 408 checks that the user equipment does not belong to any user equipment in the user equipment blacklist, location information corresponding to the identity of the first electronic device from the database;
a second pushing unit 409, configured to push a notification message to the user equipment when the second checking unit 408 checks that the user equipment belongs to any user equipment in the user equipment blacklist, where the notification message is used to indicate that the user equipment is not allowed to obtain the location information of the first electronic device.
In this embodiment of the present invention, the second pushing unit 409 is configured to, when the user equipment belongs to any user equipment in the user equipment blacklist, that is, when the user equipment is not allowed to acquire the location information of the first electronic equipment, push, by the service equipment, a notification message to the user equipment to notify that the user equipment is not allowed to acquire the location information of the first electronic equipment, so as to prevent the first electronic equipment from being disturbed.
The location information query request also comprises user location information of the user equipment; and the first pushing unit 403 includes:
a calculating subunit 4031, configured to calculate, according to the location information and the user location information corresponding to the identity of the first electronic device, a distance between the first electronic device and the user device;
a determining subunit 4032, configured to determine whether a distance between the first electronic device and the user equipment is greater than a preset distance.
Specifically, when the distance between the first electronic device and the user equipment is greater than the preset distance, it indicates that the first electronic device and the user equipment are not located in the same area, and the service device pushes the location information corresponding to the identity of the first electronic device to the user equipment, so that the user to which the user equipment belongs can know the area where the user of the first electronic device is located; when the distance between the first electronic device and the user equipment is smaller than the preset distance, the fact that the first electronic device and the user equipment are located in the same area is shown, the user of the first electronic device possibly loses the user to which the user equipment belongs, the service equipment pushes the position navigation information to the user equipment, the user to which the user equipment belongs can find the user of the first electronic device as soon as possible according to the position navigation information, and accidents are avoided.
A first pushing subunit 4033, configured to push, to the user equipment, location information corresponding to the identity of the first electronic device when the determining subunit 4032 determines that the distance between the first electronic device and the user equipment is greater than the preset distance;
a second pushing subunit 4033, configured to determine, in the determining subunit 4032, that the distance between the first electronic device and the user equipment is smaller than or equal to the preset distance, generate position navigation information according to the position information and the user position information corresponding to the identity of the first electronic device, and push the position navigation information to the user equipment.
Therefore, by implementing the service device described in fig. 5, the electronic device can be positioned after being powered off, so that the positioning experience is improved. In addition, the Bluetooth Mac address of the electronic equipment can be verified, legal electronic equipment is screened, the power consumption of service equipment is reduced, the legal user equipment can inquire the position information of the electronic equipment, the safety of the electronic equipment is guaranteed, and the electronic equipment is prevented from being disturbed. In addition, when the user of the electronic equipment possibly goes away from the user to which the user equipment belongs, the user to which the user equipment belongs can find the user of the electronic equipment as soon as possible according to the position navigation information, and accidents are avoided.
EXAMPLE six
Referring to fig. 6, fig. 6 is a schematic structural diagram of a shutdown positioning system of an electronic device according to an embodiment of the present invention. As shown in fig. 6, the shutdown positioning system of the electronic device may include:
the system comprises a first electronic device 610, a second electronic device 620, a user device 630 and a service device 640, wherein:
the first electronic device 610 is configured to drive a bluetooth function of the first electronic device 610 with a reserved power amount when the first electronic device is in an off state;
the second electronic device 620 is configured to obtain position information of the second electronic device 620, and obtain a distance between the second electronic device 620 and the first electronic device 610 and a relative position between the second electronic device 620 and the first electronic device 610 by using bluetooth scanning; reporting the position information of the second electronic device 620, the distance between the second electronic device 620 and the first electronic device 610, and the relative position between the second electronic device 620 and the first electronic device 610 to the service device;
the service device 640 is configured to calculate, according to the location information of the second electronic device 620, the distance between the second electronic device 620 and the first electronic device 610, and the relative position between the second electronic device 620 and the first electronic device 610, which are reported by the second electronic device 620, location information corresponding to the identity of the first electronic device 610, and store the location information in the database;
the user equipment 630 is configured to report a location information query request for the first electronic device 610 to the service device 640, where the location information query request at least includes an identity of the first electronic device 610;
the service device 640 is further configured to obtain a location information query request for the first electronic device 610, which is reported by the user device 630, and query location information corresponding to the identity of the first electronic device 610 from a database; and pushing the location information corresponding to the identity of the first electronic device 610 to the user equipment 630.
It can be seen that, with the shutdown positioning system of the electronic device described in fig. 6, the position information of the first electronic device may be calculated according to the position information of the second electronic device, the distance between the second electronic device and the first electronic device, and the relative position between the second electronic device and the first electronic device, and when the user equipment queries, the position information is queried in the database and pushed to the user equipment, so that the electronic device can be positioned after being shutdown, and the positioning experience is improved.
EXAMPLE seven
Referring to fig. 7, fig. 7 is a schematic structural diagram of another service device according to an embodiment of the disclosure. As shown in fig. 7, the service apparatus may include:
a memory 701 in which executable program code is stored;
a processor 702 coupled to the memory 701;
the processor 702 calls the executable program code stored in the memory 701 to execute the shutdown positioning method of any one of the electronic devices in fig. 1 to 3.
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program, wherein the computer program enables a computer to execute a shutdown positioning method of any one of electronic equipment shown in figures 1-3.
Embodiments of the present invention also disclose a computer program product, wherein, when the computer program product is run on a computer, the computer is caused to execute part or all of the steps of the method as in the above method embodiments.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by instructions associated with a program, which may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), compact disc-Read-Only Memory (CD-ROM), or other Memory, magnetic disk, magnetic tape, or magnetic tape, Or any other medium which can be used to carry or store data and which can be read by a computer.
The shutdown positioning method, the service device, and the system of the electronic device disclosed in the embodiments of the present invention are described in detail above, and a specific example is applied in the description to explain the principle and the implementation of the present invention, and the description of the embodiments above is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (13)
1. A method for locating shutdown of an electronic device, the method comprising:
acquiring a position information query request which is reported by user equipment and aims at first electronic equipment, wherein the position information query request at least comprises an identity of the first electronic equipment;
inquiring position information corresponding to the identity of the first electronic equipment from a database;
pushing the position information corresponding to the identity of the first electronic equipment to the user equipment;
the position information corresponding to the identity of the first electronic device is obtained by calculation in advance according to the position 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 position between the second electronic device and the first electronic device; when the first electronic device is in a power-off state, the first electronic device drives the bluetooth function of the first electronic device by using the reserved electric quantity, so that the second electronic device obtains the distance between the second electronic device and the first electronic device and the relative position of the second electronic device and the first electronic device by using bluetooth scanning.
2. The method according to claim 1, wherein before obtaining the location information query request for the first electronic device reported by the ue, the method further comprises:
acquiring positioning information reported by second electronic equipment, wherein the positioning information at least comprises position information of the second electronic equipment and a Bluetooth scanning result; the Bluetooth scanning result at least comprises the distance between the second electronic device and the first electronic device and the relative position of the second electronic device and the first electronic device; when the first electronic device is in a power-off state, the reserved electric quantity is utilized to drive the Bluetooth function of the first electronic device, so that the second electronic device utilizes Bluetooth scanning to obtain the Bluetooth scanning result;
calculating to obtain the position information of the first electronic equipment according to the self position information of the second electronic equipment, the distance between the second electronic equipment and the first electronic equipment and the relative position of the second electronic equipment and the first electronic equipment;
and establishing a corresponding relation between the position information of the first electronic equipment and the identity of the first electronic equipment and storing the corresponding relation into a database.
3. The method of claim 2, wherein the Bluetooth scan result further comprises an identity of the first electronic device, the identity of the first electronic device comprising a Bluetooth Mac address of the first electronic device; after the obtaining of the positioning information reported by the second electronic device, the method further includes:
checking whether the Bluetooth Mac address of the first electronic equipment is a pre-stored legal Bluetooth Mac address or not;
if so, executing the step of calculating and obtaining the position information of the first electronic equipment according to the self position information of the second electronic equipment, the distance between the second electronic equipment and the first electronic equipment and the relative position between the second electronic equipment and the first electronic equipment.
4. The method of claim 3, wherein the Bluetooth scan result further comprises location configuration information of the first electronic device, the location configuration information comprising a user device blacklist; after the location information query request for the first electronic device reported by the user equipment is obtained, the method further includes:
checking whether the user equipment belongs to any user equipment in the user equipment blacklist;
if not, the step of inquiring the position information corresponding to the identity of the first electronic equipment from the database is executed;
if yes, pushing a notification message to the user equipment, wherein the notification message is used for indicating that the user equipment is not allowed to obtain the position information of the first electronic equipment.
5. The method of claim 4, wherein the location information query request further comprises user location information of the user equipment; the pushing, to the user equipment, the location information corresponding to the identity of the first electronic device includes:
calculating the distance between the first electronic equipment and the user equipment according to the position information corresponding to the identity of the first electronic equipment and the user position information;
judging whether the distance between the first electronic equipment and the user equipment is greater than a preset distance or not;
if so, pushing the position information corresponding to the identity of the first electronic equipment to the user equipment;
if not, generating position navigation information according to the position information corresponding to the identity of the first electronic equipment and the user position information, and pushing the position navigation information to the user equipment.
6. A service device, characterized in that the service device comprises:
a first obtaining unit, configured to obtain a location information query request for a first electronic device, where the location information query request includes at least an identity of the first electronic device, and the location information query request is reported by a user equipment;
the query unit is used for querying the position information corresponding to the identity of the first electronic equipment from a database;
the first pushing unit is used for pushing the position information corresponding to the identity of the first electronic equipment to the user equipment;
the position information corresponding to the identity of the first electronic device is obtained by calculation in advance according to the position 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 position between the second electronic device and the first electronic device; when the first electronic device is in a power-off state, the first electronic device drives the bluetooth function of the first electronic device by using the reserved electric quantity, so that the second electronic device obtains the distance between the second electronic device and the first electronic device and the relative position of the second electronic device and the first electronic device by using bluetooth scanning.
7. The service device of claim 6, wherein the service device further comprises:
a second obtaining unit, configured to obtain, before the first obtaining unit obtains a location information query request, which is reported by a user equipment and is addressed to a first electronic device, location information reported by a second electronic device, where the location information at least includes location information of the second electronic device and a bluetooth scanning result; the Bluetooth scanning result at least comprises the distance between the second electronic device and the first electronic device and the relative position of the second electronic device and the first electronic device; when the first electronic device is in a power-off state, the reserved electric quantity is utilized to drive the Bluetooth function of the first electronic device, so that the second electronic device utilizes Bluetooth scanning to obtain the Bluetooth scanning result;
the computing unit is used for computing and obtaining the position information of the first electronic equipment according to the self position information of the second electronic equipment, the distance between the second electronic equipment and the first electronic equipment and the relative position of the second electronic equipment and the first electronic equipment;
and the relationship establishing unit is used for establishing the corresponding relationship between the position information of the first electronic equipment and the identity of the first electronic equipment and storing the corresponding relationship into a database.
8. The serving device of claim 7, wherein the Bluetooth scan result further includes an identification of the first electronic device, the identification of the first electronic device including a Bluetooth Mac address of the first electronic device; and the service device further comprises:
the first checking unit is used for checking whether the Bluetooth Mac address of the first electronic equipment is a prestored legal Bluetooth Mac address or not after the second acquiring unit acquires the positioning information reported by the second electronic equipment;
the calculating unit is further configured to calculate and obtain the location information of the first electronic device according to the location information of the second electronic device, the distance between the second electronic device and the first electronic device, and the relative position between the second electronic device and the first electronic device when the checking unit checks that the bluetooth Mac address of the first electronic device is the pre-stored legal bluetooth Mac address.
9. The service device of claim 8, wherein the bluetooth scan result further comprises location configuration information of the first electronic device, the location configuration information comprising a user device blacklist; and the service device further comprises:
a second checking unit, configured to check whether the user equipment belongs to any user equipment in the user equipment blacklist after the first obtaining unit obtains the location information query request for the first electronic equipment, which is reported by the user equipment;
the query unit is further configured to query, when the second checking unit checks that the user equipment does not belong to any user equipment in the user equipment blacklist, location information corresponding to the identity of the first electronic device from a database;
a second pushing unit, configured to push a notification message to the user equipment when the second checking unit checks that the user equipment belongs to any user equipment in the user equipment blacklist, where the notification message is used to indicate that the user equipment is not allowed to obtain the location information of the first electronic device.
10. The serving device of claim 9, wherein the location information query request further includes user location information of the user device; and the first pushing unit comprises:
the calculating subunit is configured to calculate, according to the location information corresponding to the identity of the first electronic device and the user location information, a distance between the first electronic device and the user device;
the judging subunit is configured to judge whether a distance between the first electronic device and the user equipment is greater than a preset distance;
the first pushing subunit is configured to, when the judging subunit judges that the distance between the first electronic device and the user equipment is greater than a preset distance, push, to the user equipment, location information corresponding to the identity of the first electronic device;
and the second pushing subunit is used for judging that the distance between the first electronic equipment and the user equipment is smaller than or equal to a preset distance in the judging subunit, generating position navigation information according to the position information corresponding to the identity of the first electronic equipment and the user position information, and pushing the position navigation information to the user equipment.
11. A power-off positioning system of an electronic device, the system comprising a first electronic device, a second electronic device, a user device and a service device, wherein:
the first electronic device is used for driving the Bluetooth function of the first electronic device by using reserved electric quantity when the first electronic device is in a power-off state;
the second electronic device is used for acquiring the position information of the second electronic device, and obtaining the distance between the second electronic device and the first electronic device and the relative position of the second electronic device and the first electronic device by using Bluetooth scanning; reporting the self-position information of the second electronic equipment, the distance between the second electronic equipment and the first electronic equipment and the relative position between the second electronic equipment and the first electronic equipment to the service equipment;
the service device is configured to calculate, according to location information of the second electronic device, which is reported by the second electronic device, a distance between the second electronic device and the first electronic device, and a relative position between the second electronic device and the first electronic device, location information corresponding to the identity of the first electronic device, and store the location information in a database;
the user equipment is configured to report a location information query request for the first electronic device to the service equipment, where the location information query request at least includes an identity of the first electronic device;
the service device is further configured to obtain the location information query request, which is reported by the user device and is directed to the first electronic device, and query location information corresponding to the identity of the first electronic device from a database; and pushing the position information corresponding to the identity of the first electronic equipment to the user equipment.
12. A service device, comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory for executing a shutdown positioning method of an electronic device according to any one of claims 1-5.
13. A computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute the power-off location method of an electronic device according to any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910191587.1A CN111143419B (en) | 2019-03-14 | 2019-03-14 | Shutdown positioning method for electronic equipment, service equipment and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910191587.1A CN111143419B (en) | 2019-03-14 | 2019-03-14 | Shutdown positioning method for electronic equipment, service equipment and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111143419A true CN111143419A (en) | 2020-05-12 |
CN111143419B CN111143419B (en) | 2024-04-23 |
Family
ID=70516637
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910191587.1A Active CN111143419B (en) | 2019-03-14 | 2019-03-14 | Shutdown positioning method for electronic equipment, service equipment and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111143419B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112437401A (en) * | 2020-11-25 | 2021-03-02 | 维沃移动通信有限公司 | Operation control method and device and electronic equipment |
WO2023274026A1 (en) * | 2021-07-01 | 2023-01-05 | 华为技术有限公司 | Interaction method and apparatus for electronic device |
WO2023001035A1 (en) * | 2021-07-20 | 2023-01-26 | 华为技术有限公司 | Positioning method and related device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011099910A1 (en) * | 2010-02-12 | 2011-08-18 | Telefonaktiebolaget L M Ericsson (Publ) | Methods and arrangements for performing measurements in a wireless communication network for positioning or for enabling location- based services |
CN103856895A (en) * | 2014-03-11 | 2014-06-11 | 华为技术有限公司 | Method and terminal for sharing positioning information |
CN103874064A (en) * | 2012-12-17 | 2014-06-18 | 联想(北京)有限公司 | Position information protecting method and electronic equipment |
CN204166130U (en) * | 2014-11-05 | 2015-02-18 | 江苏舟航网络科技有限公司 | Radio frequency locating device and system |
CN107040881A (en) * | 2017-04-26 | 2017-08-11 | 广东小天才科技有限公司 | Terminal device positioning method and device and terminal device |
CN107645720A (en) * | 2017-09-18 | 2018-01-30 | 蔡诗伟 | A kind of child's lost contact alarm luggage case intelligence system |
CN109451438A (en) * | 2018-08-31 | 2019-03-08 | 努比亚技术有限公司 | A kind of finding method of intelligent terminal, intelligent terminal and storage medium |
-
2019
- 2019-03-14 CN CN201910191587.1A patent/CN111143419B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011099910A1 (en) * | 2010-02-12 | 2011-08-18 | Telefonaktiebolaget L M Ericsson (Publ) | Methods and arrangements for performing measurements in a wireless communication network for positioning or for enabling location- based services |
CN103874064A (en) * | 2012-12-17 | 2014-06-18 | 联想(北京)有限公司 | Position information protecting method and electronic equipment |
CN103856895A (en) * | 2014-03-11 | 2014-06-11 | 华为技术有限公司 | Method and terminal for sharing positioning information |
CN204166130U (en) * | 2014-11-05 | 2015-02-18 | 江苏舟航网络科技有限公司 | Radio frequency locating device and system |
CN107040881A (en) * | 2017-04-26 | 2017-08-11 | 广东小天才科技有限公司 | Terminal device positioning method and device and terminal device |
CN107645720A (en) * | 2017-09-18 | 2018-01-30 | 蔡诗伟 | A kind of child's lost contact alarm luggage case intelligence system |
CN109451438A (en) * | 2018-08-31 | 2019-03-08 | 努比亚技术有限公司 | A kind of finding method of intelligent terminal, intelligent terminal and storage medium |
Non-Patent Citations (1)
Title |
---|
陈应冬: "室内外一体化位置服务应用", 北京光明日报出版社, pages: 19 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112437401A (en) * | 2020-11-25 | 2021-03-02 | 维沃移动通信有限公司 | Operation control method and device and electronic equipment |
WO2023274026A1 (en) * | 2021-07-01 | 2023-01-05 | 华为技术有限公司 | Interaction method and apparatus for electronic device |
WO2023001035A1 (en) * | 2021-07-20 | 2023-01-26 | 华为技术有限公司 | Positioning method and related device |
Also Published As
Publication number | Publication date |
---|---|
CN111143419B (en) | 2024-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105472737B (en) | A kind of method of locating terminal and server | |
US8229473B1 (en) | Geo-fence | |
CN111143419A (en) | Shutdown positioning method of electronic equipment, service equipment and system | |
EP2672767B1 (en) | Positioning service method and system, and terminal | |
CN114268658B (en) | Equipment binding method, device and system | |
JP5329716B2 (en) | Concept of generating experience messages for updating reference databases | |
CN104954981A (en) | Method and device for determining safety position | |
US20210035062A1 (en) | Information prompt | |
CN104994471A (en) | Position tracking method for terminal equipment, server and terminal equipment | |
CN111148215B (en) | A positioning method and system for a mobile device, and related equipment | |
CN104165632A (en) | Method for pre-warning path deviation by using mobile terminal, and apparatus thereof | |
CN103873673A (en) | Mobile terminal and automatic silencing method based on occasions | |
US9723448B2 (en) | Tracking device, battery charger, and tracking method thereof | |
CN103476111A (en) | Method, device and system for obtaining geographic position information | |
CN105243525A (en) | User prompting method and terminal | |
CN105282704A (en) | Information pushing method and device | |
CN111148042A (en) | Message reminding method, device, control equipment and storage medium | |
CN111356081A (en) | Bluetooth starting control method and device | |
CN103714632A (en) | Method, device and system for monitoring tax-control terminal and tax-control terminal | |
CN109583801B (en) | Monitoring method and system for shared recyclable logistics appliances | |
US11343644B2 (en) | Neighbor awareness method, beacon device, and mobile terminal | |
KR20110129731A (en) | Push Notification System and How to Provide Push Notifications | |
CN107396313B (en) | Positioning triggering method and system | |
CN111757465A (en) | Clustering positioning method, service equipment and system | |
CN111143490A (en) | Offline positioning method, service device and system for electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |