CN111770434A - Positioning method of electronic equipment, service equipment and system - Google Patents

Positioning method of electronic equipment, service equipment and system Download PDF

Info

Publication number
CN111770434A
CN111770434A CN201910656313.5A CN201910656313A CN111770434A CN 111770434 A CN111770434 A CN 111770434A CN 201910656313 A CN201910656313 A CN 201910656313A CN 111770434 A CN111770434 A CN 111770434A
Authority
CN
China
Prior art keywords
electronic device
coordinate position
electronic equipment
information
electronic
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
Application number
CN201910656313.5A
Other languages
Chinese (zh)
Other versions
CN111770434B (en
Inventor
王强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201910656313.5A priority Critical patent/CN111770434B/en
Publication of CN111770434A publication Critical patent/CN111770434A/en
Application granted granted Critical
Publication of CN111770434B publication Critical patent/CN111770434B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S11/00Systems for determining distance or velocity not using reflection or reradiation
    • G01S11/02Systems for determining distance or velocity not using reflection or reradiation using radio waves
    • G01S11/06Systems for determining distance or velocity not using reflection or reradiation using radio waves using intensity measurements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The embodiment of the invention relates to the technical field of positioning, and discloses a positioning method of electronic equipment, service equipment and a system, wherein the method comprises the following steps: acquiring a residual electric quantity value of the first electronic equipment; detecting whether the residual electric quantity value of the first electronic equipment is smaller than a first specified threshold value; if yes, controlling the first electronic equipment to enter a specified pairing state; acquiring identification information of the second electronic equipment reported by the first electronic equipment; calculating to obtain the position distance between the first electronic device and the second electronic device according to the Bluetooth signal intensity information; calculating to obtain the coordinate position of the first electronic equipment according to the position information of the second electronic equipment and the position distance; pushing the coordinate position to the first electronic device. According to the embodiment of the invention, the positioning use power consumption of the electronic equipment can be reduced, so that the battery endurance of the electronic equipment is improved.

Description

Positioning method of electronic equipment, service equipment and system
Technical Field
The present invention relates to the field of positioning technologies, and in particular, to a positioning method for an electronic device, a service device, and a system.
Background
At present, most of the electronic devices (such as telephone watches) on the market have a positioning function, and users can obtain all-weather and high-precision positioning information by using the positioning function. In practice, it is found that, because the electronic device needs to perform operations such as satellite search or WiFi information acquisition when positioning, the process may cause large power consumption to the electronic device, and further battery endurance of the electronic device is easily affected.
Disclosure of Invention
The embodiment of the invention discloses a positioning method of electronic equipment and the electronic equipment, which can reduce the positioning use power consumption of the electronic equipment so as to improve the battery endurance of the electronic equipment.
The first aspect of the embodiments of the present invention discloses a method for positioning an electronic device, where the method includes:
acquiring a residual electric quantity value of the first electronic equipment;
detecting whether the residual electric quantity value of the first electronic equipment is smaller than a first specified threshold value; if yes, controlling the first electronic equipment to enter a specified pairing state; wherein the first electronic device searches for identification information of a second electronic device in the designated pairing state;
acquiring identification information of the second electronic device reported by the first electronic device, wherein the identification information of the second electronic device at least comprises position information of the second electronic device and Bluetooth signal intensity information of the second electronic device received by the first electronic device;
calculating to obtain the position distance between the first electronic device and the second electronic device according to the Bluetooth signal intensity information;
calculating to obtain the coordinate position of the first electronic equipment according to the position information of the second electronic equipment and the position distance;
pushing the coordinate position to the first electronic device.
A second aspect of the embodiments of the present invention discloses a service apparatus,
as an optional implementation manner, in a second aspect of the embodiment of the present invention, the service apparatus includes:
a first acquisition unit configured to acquire a remaining electric quantity value of the first electronic device;
a first detection unit for detecting whether the remaining electric quantity value of the first electronic device is smaller than a first specified threshold value;
the first control unit is used for controlling the first electronic equipment to enter a specified pairing state when the first detection unit detects that the residual electric quantity value of the first electronic equipment is smaller than a first specified threshold value; wherein the first electronic device searches for identification information of a second electronic device in the designated pairing state;
the first obtaining unit is further configured to obtain identification information of the second electronic device, where the identification information of the second electronic device at least includes location information of the second electronic device and bluetooth signal strength information of the second electronic device received by the first electronic device;
the first calculating unit is used for calculating the position distance between the first electronic equipment and the second electronic equipment according to the Bluetooth signal intensity information;
the second calculation unit is used for calculating the coordinate position of the first electronic equipment according to the position information of the second electronic equipment and the position distance;
the first pushing unit is used for pushing the coordinate position to the first electronic equipment.
A third aspect of the embodiments of the present invention discloses a positioning system for an electronic device, where the system includes a first electronic device and a service device, where:
the service equipment is used for acquiring a residual electric quantity value of the first electronic equipment; and detecting whether the remaining electric quantity value of the first electronic device is smaller than a first specified threshold value; if yes, controlling the first electronic equipment to enter the appointed pairing state; acquiring identification information of the second electronic device reported by the first electronic device, wherein the identification information of the second electronic device at least comprises position information of the second electronic device and Bluetooth signal intensity information of the second electronic device received by the first electronic device; calculating to obtain the position distance between the first electronic device and the second electronic device according to the Bluetooth signal strength information; calculating to obtain the coordinate position of the first electronic equipment according to the position information of the second electronic equipment and the position distance; pushing the coordinate position to the first electronic equipment;
the first electronic device is configured to search for the identification information of the second electronic device in the designated pairing state and report the identification information to the service device; and receiving the coordinate position sent by the service 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 positioning method of the electronic equipment 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 method for positioning 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, the service device can acquire the residual electric quantity value of the first electronic device and detect whether the residual electric quantity value of the first electronic device is smaller than a first specified threshold value, and if so, the service device can control the first electronic device to enter a specified pairing state; the service device may obtain identification information of the second electronic device reported by the first electronic device, where the identification information of the second electronic device at least includes location information of the second electronic device and bluetooth signal strength information of the second electronic device received by the first electronic device, and may obtain a location distance between the first electronic device and the second electronic device according to the bluetooth signal strength information, and obtain a coordinate location of the first electronic device according to the location information and the location distance of the second electronic device, and finally may push the coordinate location to the first electronic device. Therefore, the embodiment of the invention can reduce the positioning use power consumption of the electronic equipment so as to improve the battery endurance of the electronic equipment.
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 of a positioning method for an electronic device according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating another positioning method for an electronic device according to an embodiment of the disclosure;
FIG. 3 is a flowchart illustrating another positioning method for an electronic device according to an 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 another service device disclosed in the embodiment of the present invention;
FIG. 7 is a schematic structural diagram of another service device disclosed in the embodiment of the present invention;
fig. 8 is a network architecture diagram of a positioning system of an electronic device according to an embodiment of the disclosure.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first", "second", "third", "fourth", and the like in the description and the claims of the present invention are used for distinguishing different objects, and are not used for describing a specific order. The terms "comprises," "comprising," and any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a positioning method of electronic equipment, service equipment and a system, which can reduce the positioning use power consumption of the electronic equipment so as to improve the battery endurance of the electronic equipment. The following detailed description is made with reference to the accompanying drawings.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a positioning method of an electronic device according to an embodiment of the present invention. As shown in fig. 1, the method for positioning an electronic device may include the following steps.
101. The service device acquires the residual electric quantity value of the first electronic device.
In the embodiment of the present invention, the first electronic device may include an electronic device with a bluetooth positioning function, such as a mobile phone, a tablet computer, a bracelet, a watch, and smart glasses, which is not limited in the embodiment of the present invention.
As an optional implementation manner, in this embodiment of the present invention, the service device may obtain the remaining power value of the first electronic device once every preset time, for example, once every 10ms, or once every 15ms, which is not specifically limited in this embodiment of the present invention.
As an optional implementation manner, in the embodiment of the present invention, after acquiring the location request for the first electronic device, which is reported by the first electronic device, the service device may acquire the remaining electric quantity value of the first electronic device; and/or the service device may directly perform the operation of obtaining the remaining power value of the first electronic device, without obtaining a location request for the first electronic device, which is reported by the first electronic device.
102. The service equipment detects whether the residual electric quantity value of the first electronic equipment is smaller than a first specified threshold value, if so, the step 103 to the step 107 are executed, and if not, the process is ended.
As an optional implementation manner, in an embodiment of the present invention, the size of the first specified threshold may be set by a system default of the first electronic device, or may be set by a user.
As an alternative implementation manner, in an embodiment of the present invention, the service device may use the first specified threshold for indicating a low power setting value of the first electronic device, that is, when the service device detects that the remaining power value of the first electronic device is smaller than the low power setting value, the service device may consider that the first electronic device is in a low power state at first, and then execute steps 103 to 107.
As an optional implementation manner, in the embodiment of the present invention, when the service device detects that the remaining power value of the first electronic device is not less than the first specified threshold, it may be considered that the current power of the first electronic device is in a sufficient state, and if the service device obtains the positioning request for the first electronic device, which is reported by the first electronic device, at this time, the service device may perform positioning in a GPS satellite navigation positioning manner; and/or the service equipment can adopt a WiFi connection positioning mode to position; and/or the service equipment can be positioned by adopting a positioning mode of Bluetooth connection.
103. The service equipment controls the first electronic equipment to enter a specified pairing state; and the first electronic equipment searches the identification information of the second electronic equipment in the appointed pairing state.
As an optional implementation manner, in this embodiment of the present invention, the service device may control the first electronic device to search for the identification information of the second electronic device in the specified pairing state at every preset time, for example, search once every 10ms or search once every 15ms, which is not specifically limited in this embodiment of the present invention.
As an optional implementation manner, in the embodiment of the present invention, when the service device detects that the remaining electric quantity value of the first electronic device is smaller than the first specified threshold, the service device may control the first electronic device to enter the specified pairing state in order to preferentially protect the electric quantity value of the first electronic device, and in the specified pairing state, the identification information of the first electronic device may not be acquired by other devices, but may search for identification information of other devices.
As an optional implementation manner, in the embodiment of the present invention, when the service device detects that the remaining power value of the first electronic device is not less than the first specified threshold, the service device may consider that the current power of the first electronic device is in a sufficient state, and the service device may control the first electronic device not to actively search for the identification information of the other device, but the identification information of the first electronic device may be acquired by the other device; and/or, the user may set the pairing state of the first electronic device in a user-defined manner, for example, the user may set the first electronic device in a user-defined manner to enter a normal pairing state, that is, the identification information of the first electronic device may be obtained by other devices, and may also be searched to obtain the identification information of other devices.
104. The service equipment acquires identification information of the second electronic equipment reported by the first electronic equipment, wherein the identification information of the second electronic equipment at least comprises position information of the second electronic equipment and Bluetooth signal intensity information of the second electronic equipment received by the first electronic equipment.
As an optional implementation manner, in the embodiment of the present invention, the second electronic device may acquire the current coordinate position in a GPS satellite navigation positioning manner when the power is recharged, and/or the second electronic device may acquire the current coordinate position in a WiFi connection positioning manner when the power is recharged.
As an optional implementation manner, in the embodiment of the present invention, the first electronic device may perform scanning in a bluetooth manner to obtain the location information of the second electronic device and the bluetooth signal strength information of the second electronic device received by the first electronic device.
105. And the service equipment calculates the position distance between the first electronic equipment and the second electronic equipment according to the Bluetooth signal strength information.
As an optional implementation manner, in the embodiment of the present invention, the service device may calculate and obtain the location distance between the first electronic device and the second electronic device by using a calculation formula of RSSI, where d is 10^ ((abs (RSSI) -a)/(10 × n)), where d is the calculated location distance between the first electronic device and the second electronic device, RSSI is bluetooth signal strength information (negative value) of the second electronic device received by the first electronic device, a is signal strength when the first electronic device and the second electronic device are separated by 1 meter, and n is an environmental attenuation factor.
106. And the service equipment calculates the coordinate position of the first electronic equipment according to the position information of the second electronic equipment and the position distance.
As an optional implementation manner, in the embodiment of the present invention, before the service device calculates the coordinate position of the first electronic device according to the position information of the second electronic device and the position distance, the service device may further obtain a relative angle between the first electronic device and the second electronic device;
and after the service device obtains the relative angle between the first electronic device and the second electronic device, the service device may set the position information of the second electronic device as a three-dimensional coordinate, and set the position distance between the first electronic device and the second electronic device as a spatial straight-line distance, and the relative angle between the first electronic device and the second electronic device may include the relative orientation of the first electronic device and the second electronic device, and the service device may obtain the position information of the first electronic device by using a three-dimensional calculation method according to the three-dimensional coordinate, the spatial straight-line distance between the first electronic device and the second electronic device, and the relative orientation of the first electronic device and the second electronic device.
107. And the service equipment pushes the coordinate position to the first electronic equipment.
As an optional implementation manner, in the embodiment of the present invention, after the service device pushes the coordinate position to the first electronic device, the service device may further send first query information to the first electronic device to query whether the user needs to acquire detailed information in the coordinate position, and if so, the service device may acquire landmark building information of an area where the coordinate position is located and information of a person in charge of the area where the coordinate position belongs;
and the service equipment can also detect whether the coordinate position belongs to the tourist attraction, if so, the service equipment can send second inquiry information to the first electronic equipment to inquire whether the user needs to acquire the electronic guide of the tourist attraction, and if the user needs to acquire the electronic guide of the tourist attraction, the service equipment can push the electronic guide of the tourist attraction to the first electronic equipment.
As an optional implementation manner, in the embodiment of the present invention, the service device may further obtain identity information of the second electronic device, where the identity information at least includes identity information of a user of the second electronic device and a contact information of the user;
after the service equipment acquires the identity identification information of the second electronic equipment, the service equipment can also detect whether the identity information of the user exists in a friend list in the first electronic equipment or not according to the identity information of the user, and if so, the service equipment can send prompt information to the first electronic equipment to prompt the user that a friend and the friend are located in the same position area;
and after the service device sends the prompt message to the first electronic device, the service device may also send third query information to the first electronic device to query whether the user needs to acquire a navigation route to the location of the second electronic device, and if so, the service device may push the navigation route to the location of the second electronic device to the first electronic device.
Therefore, by implementing the positioning method for the electronic device described in fig. 1, the positioning power consumption of the electronic device can be reduced, so as to improve the battery endurance of the electronic device.
In addition, by implementing the positioning method of the electronic device described in fig. 1, the user to whom the electronic device belongs can perform interactive communication with the friend, which is beneficial to improving the use experience of the user on the electronic device.
In addition, implementing the positioning method of the electronic device described in fig. 1 enables the electronic device to obtain continuous positioning information even when continuous positioning is not performed.
Example two
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating another positioning method for an electronic device according to an embodiment of the present invention. As shown in fig. 2, the positioning method of the electronic device may include the steps of:
201. the service device acquires the residual electric quantity value of the first electronic device.
202. The service device detects whether the remaining electric quantity value of the first electronic device is smaller than a first specified threshold value, if so, step 203-step 209 are executed, and if not, the process is ended.
203. The service equipment controls the first electronic equipment to enter a specified pairing state; and the first electronic equipment searches the identification information of the second electronic equipment in the appointed pairing state.
204. The service equipment acquires identification information of the second electronic equipment reported by the first electronic equipment, wherein the identification information of the second electronic equipment at least comprises position information of the second electronic equipment and Bluetooth signal intensity information of the second electronic equipment received by the first electronic equipment.
205. And the service equipment calculates the position distance between the first electronic equipment and the second electronic equipment according to the Bluetooth signal strength information.
206. And the service equipment calculates the coordinate position of the first electronic equipment according to the position information of the second electronic equipment and the position distance.
207. And the service equipment pushes the coordinate position to the first electronic equipment.
208. The service equipment acquires detailed information of the first electronic equipment on the coordinate position; the detailed information at least comprises the stay time of the first electronic equipment on the coordinate position, mark building information of the area where the coordinate position is located and information of a person in charge of the area where the coordinate position belongs.
As an optional implementation manner, in the embodiment of the present invention, the service device may further obtain an emergency contact way and an address of an area to which the coordinate position belongs, for example, an emergency contact way and an address of a hospital closest to the coordinate position, and an emergency contact way and an address of a police station closest to the coordinate position;
and after the service equipment acquires the emergency contact way and the address of the area to which the coordinate position belongs, the service equipment can also output the logo building information of the area to which the coordinate position belongs, the information of the responsible person of the area to which the coordinate position belongs, the emergency contact way and the address of the area to which the coordinate position belongs to the first electronic equipment.
209. The service device detects whether the stay time of the first electronic device at the coordinate position exceeds a second specified threshold, if so, the steps 210 to 212 are executed, and if not, the process is ended.
As an optional implementation manner, in an embodiment of the present invention, after the service device detects that the staying time of the first electronic device at the coordinate position exceeds a second specified threshold, the service device may detect whether the coordinate position is within a set sensitive area, and if so, the service device may perform steps 210 to 212;
and when the service device detects that the coordinate position is not in the set sensitive area, the service device may detect whether the coordinate position is in a set safe area (e.g., school), if not, the service device may perform steps 210 to 212, and if so, the process is ended.
210. The service equipment pushes the stay time of the first electronic equipment on the coordinate position, the mark building information of the area where the coordinate position is located and the information of the responsible person of the area where the coordinate position belongs to the user equipment associated with the first electronic equipment.
As an optional implementation manner, in this embodiment of the present invention, after the service device performs step 210, the service device may further push, to the user device associated with the first electronic device, an emergency contact and an address of an area to which the coordinate position belongs, for example, an emergency contact and an address of a hospital closest to the coordinate position, and an emergency contact and an address of a police station closest to the coordinate position.
211. The service equipment performs Bluetooth connection on the first electronic equipment and the second electronic equipment to obtain a wireless mesh network with the first electronic equipment as a network node.
As an optional implementation manner, in the embodiment of the present invention, the service device may control the first electronic device to perform bluetooth connection between the first electronic device and the second electronic device every preset time, for example, the bluetooth connection is performed every 10ms or every 15ms, which is not specifically limited in the embodiment of the present invention;
and after the service device obtains the wireless mesh network using the first electronic device as the network node, the service device may replace the previous wireless mesh network with the new wireless mesh network, and may store the previous wireless mesh network in the database for subsequent information query by the user.
212. And the service equipment exchanges data with the first electronic equipment and the second electronic equipment at preset time intervals through the wireless mesh network so as to refresh the coordinate position of the first electronic equipment in the database.
As an optional implementation manner, in the embodiment of the present invention, after the service device obtains a new coordinate position, the service device may detect whether the new coordinate position is consistent with the coordinate position, if so, the service device may still push the coordinate position to the first electronic device without changing a current positioning result, otherwise, the service device may push the new coordinate position to the first electronic device, and step 208 to step 212 are executed again.
Therefore, by implementing another positioning method for an electronic device described in fig. 2, the positioning power consumption of the electronic device can be reduced, so as to improve the battery endurance of the electronic device.
In addition, by implementing another positioning method for electronic devices described in fig. 2, the user can obtain the emergency contact information and the address of the location area, so that the user can be timely rescued when encountering an emergency.
In addition, another positioning method of the electronic device described in fig. 2 is implemented, which can give the user a relevant prompt message when the user steps into a sensitive area with low security, so as to reduce the risk of the user.
In addition, by implementing another positioning method for electronic equipment described in fig. 2, the positioning information of the electronic equipment can be updated in real time to obtain a more accurate positioning result.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic flow chart illustrating another positioning method for an electronic device according to an embodiment of the present invention. As shown in fig. 3, the positioning method of the electronic device may include the steps of:
301. the service device acquires the residual electric quantity value of the first electronic device.
302. The service equipment detects whether the residual electric quantity value of the first electronic equipment is smaller than a first specified threshold value, if so, the step 303 to the step 309 are executed, and if not, the process is ended.
303. The service equipment controls the first electronic equipment to enter a specified pairing state; and the first electronic equipment searches the identification information of the second electronic equipment in the appointed pairing state.
304. The service equipment acquires identification information of the second electronic equipment reported by the first electronic equipment, wherein the identification information of the second electronic equipment at least comprises position information of the second electronic equipment and Bluetooth signal intensity information of the second electronic equipment received by the first electronic equipment.
305. And the service equipment calculates the position distance between the first electronic equipment and the second electronic equipment according to the Bluetooth signal strength information.
306. And the service equipment calculates the coordinate position of the first electronic equipment according to the position information of the second electronic equipment and the position distance.
307. And the service equipment pushes the coordinate position to the first electronic equipment.
308. The service equipment acquires detailed information of the first electronic equipment on the coordinate position; the detailed information at least comprises the stay time of the first electronic equipment on the coordinate position, mark building information of the area where the coordinate position is located and information of a person in charge of the area where the coordinate position belongs.
309. The service device detects whether the stay time of the first electronic device at the coordinate position exceeds a second specified threshold, if so, the steps 310 to 313 are executed, and if not, the process is ended.
310. The service equipment pushes the stay time of the first electronic equipment on the coordinate position, the mark building information of the area where the coordinate position is located and the information of the responsible person of the area where the coordinate position belongs to the user equipment associated with the first electronic equipment.
311. The service equipment performs Bluetooth connection on the first electronic equipment and the second electronic equipment to obtain a wireless mesh network with the first electronic equipment as a network node.
312. And the service equipment exchanges data with the first electronic equipment and the second electronic equipment at preset time intervals through the wireless mesh network so as to refresh the coordinate position of the first electronic equipment in the database.
313. The service device detects whether the remaining electric quantity value of the first electronic device reported by the first electronic device reaches the lowest preset value, if so, the steps 314 to 318 are executed, and if not, the process is ended.
As an optional implementation manner, in the embodiment of the present invention, the size of the minimum preset value may be set by a system default of the first electronic device, or may be set by a user.
As an optional implementation manner, in the embodiment of the present invention, the service device may obtain the remaining power value of the first electronic device every preset time, for example, the service device is connected every 10ms, or every 15ms, which is not specifically limited in the embodiment of the present invention.
314. The service equipment controls the first electronic equipment to output prompt information to prompt a user that the residual electric quantity value of the first electronic equipment reaches the minimum preset value, and the user is charged as soon as possible.
As an optional implementation manner, in an embodiment of the present invention, the prompt information output by the first electronic device includes:
the display information prompt of the display screen of the first electronic equipment;
and/or a voice message prompt sent by the first electronic equipment.
315. The service device acquires the latest coordinate position of the first electronic device from the database.
As an optional implementation manner, in the embodiment of the present invention, the service device may obtain information of current basic parameter information of the first electronic device, and information of a staying time, a starting time, an ending time, a motion trajectory, and the like of the first electronic device at the latest coordinate position.
316. And the service equipment pushes the latest coordinate position to the first electronic equipment.
As an optional implementation manner, in the embodiment of the present invention, the service device may obtain coordinate position data within a specified time range from the server china, and may obtain a moving area range of the first electronic device according to the coordinate position data;
and after the service device obtains the active area range of the first electronic device according to the coordinate position data, the service device can also push the active area range to the first electronic device.
317. And the service equipment pushes the residual electric quantity value of the first electronic equipment and the latest coordinate position to the user equipment.
As an optional implementation manner, in the embodiment of the present invention, the service device may obtain coordinate position data within a specified time range from the server china, and may obtain a moving area range of the first electronic device according to the coordinate position data;
after the service device obtains the activity area range of the first electronic device according to the coordinate position data, the service device can also push the activity area range to the user device;
the service equipment can also acquire basic parameter information of the first electronic equipment in the coordinate position data, and information of stay time, starting time, ending time, motion track and the like of the first electronic equipment in the coordinate position data;
and the service device may further push information, such as basic parameter information of the first electronic device in the coordinate position data, and a stay time, a start time, an end time, and a motion trajectory of the first electronic device in the coordinate position data, to the user device.
318. The service device sends an inquiry message to the ue to inquire whether a user of the ue needs to control the first electronic device to enter the specified power saving mode, if not, step 319 is executed, and if so, step 320 is executed.
As an optional implementation manner, in an embodiment of the present invention, after the service device sends the query information to the user device, the service device may further send second query information to the user device to query whether a user of the user device needs to search for a moving route of the first electronic device that is located latest, when the user device needs to search for a moving route of the first electronic device that is located latest, the service device may obtain latest location information of the first electronic device from the database, and search for a navigation route from the user device to the first electronic device that is located latest, and the service device may push the searched navigation route to the user device;
and after the service device pushes the navigation route to the user device, the service device may also send third query information to the user to query whether the user obtains the identity of the electronic device around the first electronic device, and when the user device needs to obtain the identity of the electronic device around the first electronic device, the service device may push the identity of the electronic device around the first electronic device to the user device.
319. The service device detects whether the remaining electric quantity value of the first electronic device is increased within a specified time, if not, step 320 is executed, and if so, the process is ended.
As an optional implementation manner, in an embodiment of the present invention, when the service device detects that the remaining power value of the first electronic device has reached the minimum preset value and the user of the ue does not control the first electronic device to enter the specified power saving mode, the service device may control the first electronic device to enter the preset power saving mode.
For example, the first electronic device may set the minimum preset value of the electric quantity value to 20%, that is, when the service device detects that the remaining electric quantity value of the first electronic device reaches 20%, the service device may send an inquiry message to the user device to inquire whether a user of the user device needs to control the first electronic device to enter the specified power saving mode, and when the user of the user device does not need to control the first electronic device to enter the specified power saving mode, the service device may control the first electronic device to enter the preset power saving mode and convert a battery color on a display screen of the first electronic device into a specified color, such as yellow, to prompt the user that the battery should be charged as soon as possible; and the first electronic equipment stops all power-consuming software running in the background in the preset power-saving mode so as to save the electric quantity of the first electronic equipment.
320. The service equipment controls the first electronic equipment to enter a designated power saving mode.
As an optional implementation manner, in an embodiment of the present invention, when the service device detects that the remaining power value of the first electronic device is not increased within a specified time, the service device may control the first electronic device to enter the specified power saving mode after waiting for the remaining power value of the first electronic device to reach a specified threshold.
As an optional implementation manner, in the embodiment of the present invention, before the service device controls the first electronic device to enter the specified power saving mode, the service device may obtain the latest coordinate position of the first electronic device from the database, and push the latest coordinate position to the user equipment.
As an optional implementation manner, in the embodiment of the present invention, in the specified power saving mode, the first electronic device may enter a sleep state, that is, the first electronic device stops running all software, and only a call function is left, so as to prevent a state where the first electronic device is completely powered off and the user is disconnected.
It can be seen that, by implementing another positioning method for an electronic device described in fig. 3, the positioning power consumption of the electronic device can be reduced, so as to improve the battery endurance of the electronic device.
In addition, by implementing another positioning method for an electronic device described in fig. 3, a user device associated with the electronic device can learn the activity area range of the user, thereby increasing the interactive communication between the electronic device and the user device.
In addition, by implementing another positioning method for electronic equipment described in fig. 3, the current latest coordinate position and the prompt information of the electronic equipment can be sent to the user equipment associated with the electronic equipment when the electric quantity of the electronic equipment reaches the minimum preset value, so as to avoid the situation that the user equipment cannot find the electronic equipment.
In addition, by implementing another positioning method for the electronic device described in fig. 3, after the electric quantity of the electronic device reaches the minimum preset value, the electronic device is controlled to enter the specified power saving mode, so that the situation that the electronic device is completely powered off without power and the user is lost can be 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 remaining electric quantity value of the first electronic device.
A first detecting unit 402, configured to detect whether a remaining electric quantity value of the first electronic device is smaller than a first specified threshold.
A first control unit 403, configured to control the first electronic device to enter a designated pairing state when the first detection unit 402 detects that the remaining electric quantity value of the first electronic device is smaller than a first designated threshold; and the first electronic equipment searches the identification information of the second electronic equipment in the appointed pairing state.
Correspondingly, in the service device shown in fig. 4, the first obtaining unit 401 is further configured to obtain identification information of the second electronic device reported by the first electronic device, where the identification information of the second electronic device at least includes location information of the second electronic device and bluetooth signal strength information of the second electronic device received by the first electronic device.
The first calculating unit 404 is configured to calculate a position distance between the first electronic device and the second electronic device according to the bluetooth signal strength information.
The second calculating unit 405 is configured to calculate a coordinate position of the first electronic device according to the position information and the position distance of the second electronic device.
The first pushing unit 406 is configured to push the coordinate position to the first electronic device.
In the embodiment of the present invention, the first electronic device may include an electronic device with a bluetooth positioning function, such as a mobile phone, a tablet computer, a bracelet, a watch, and smart glasses, which is not limited in the embodiment of the present invention.
As an optional implementation manner, in an embodiment of the present invention, the first obtaining unit 401 may obtain the remaining electric quantity value of the first electronic device once every preset time, for example, once every 10ms, or once every 15ms, which is not limited in the embodiment of the present invention.
As an optional implementation manner, in the embodiment of the present invention, after acquiring the positioning request for the first electronic device, which is reported by the first electronic device, the first acquiring unit 401 may acquire the remaining electric quantity value of the first electronic device; and/or the first obtaining unit 401 may directly perform an operation of obtaining the remaining power value of the first electronic device, without obtaining a positioning request for the first electronic device, where the positioning request is reported by the first electronic device.
As an optional implementation manner, in an embodiment of the present invention, the size of the first specified threshold may be set by a system default of the first electronic device, or may be set by a user.
As an alternative implementation manner, in the embodiment of the present invention, the service device may use the first specified threshold for indicating the low power setting value of the first electronic device, that is, when the first detection unit 402 detects that the remaining power value of the first electronic device is smaller than the low power setting value, the service device may consider that the first electronic device is in the low power state, and then execute steps 103 to 107.
As an optional implementation manner, in the embodiment of the present invention, when the first detection unit 402 detects that the remaining power value of the first electronic device is not less than the first specified threshold, it may be considered that the current power of the first electronic device is in a sufficient state, and if the service device obtains the positioning request for the first electronic device, which is reported by the first electronic device, at this time, the service device may perform positioning in a GPS satellite navigation positioning manner; and/or the service equipment can adopt a WiFi connection positioning mode to position; and/or the service equipment can be positioned by adopting a positioning mode of Bluetooth connection.
As an optional implementation manner, in an embodiment of the present invention, the first control unit 403 may control the first electronic device to search for the identification information of the second electronic device in the specified pairing state at every preset time, for example, search once every 10ms or search once every 15ms, which is not specifically limited in the embodiment of the present invention.
As an optional implementation manner, in the embodiment of the present invention, when the first detecting unit 402 detects that the remaining electric quantity value of the first electronic device is smaller than the first specified threshold, the first controlling unit 403 may control the first electronic device to enter the specified pairing state in order to preferentially protect the electric quantity value of the first electronic device, and in the specified pairing state, the identification information of the first electronic device may not be acquired by other devices, but may search for identification information of other devices.
As an optional implementation manner, in the embodiment of the present invention, when the first detection unit 402 detects that the remaining power value of the first electronic device is not less than the first specified threshold, the service device may consider that the current power of the first electronic device is in a sufficient state, and the first control unit 403 may control the first electronic device not to actively search for the identification information of the other device, but the identification information of the first electronic device may be acquired by the other device; and/or, the user may set the pairing state of the first electronic device in a user-defined manner, for example, the user may set the first electronic device in a user-defined manner to enter a normal pairing state, that is, the identification information of the first electronic device may be obtained by other devices, and may also be searched to obtain the identification information of other devices.
As an optional implementation manner, in the embodiment of the present invention, the second electronic device may acquire the current coordinate position in a GPS satellite navigation positioning manner when the power is recharged, and/or the second electronic device may acquire the current coordinate position in a WiFi connection positioning manner when the power is recharged.
As an optional implementation manner, in the embodiment of the present invention, the first electronic device may perform scanning in a bluetooth manner to obtain the location information of the second electronic device and the bluetooth signal strength information of the second electronic device received by the first electronic device.
As an alternative implementation manner, in the embodiment of the present invention, the first calculating unit 404 may calculate and obtain the location distance between the first electronic device and the second electronic device by using a calculation formula of RSSI, where d is 10^ ((abs (RSSI) -a)/(10 × n)), where d is the calculated location distance between the first electronic device and the second electronic device, RSSI is bluetooth signal strength information (negative value) of the second electronic device received by the first electronic device, a is signal strength when the first electronic device and the second electronic device are separated by 1 meter, and n is an environmental attenuation factor.
As an optional implementation manner, in the embodiment of the present invention, before the second calculating unit 405 calculates the coordinate position of the first electronic device according to the position information of the second electronic device and the position distance, the service device may further obtain a relative angle between the first electronic device and the second electronic device;
and after the service device obtains the relative angle between the first electronic device and the second electronic device, the service device may set the position information of the second electronic device as a three-dimensional coordinate, and set the position distance between the first electronic device and the second electronic device as a spatial straight-line distance, and the relative angle between the first electronic device and the second electronic device may include the relative orientation between the first electronic device and the second electronic device, and the second calculation unit 405 may obtain the position information of the first electronic device by using a three-dimensional calculation method according to the three-dimensional coordinate, the spatial straight-line distance between the first electronic device and the second electronic device, and the relative orientation between the first electronic device and the second electronic device.
As an optional implementation manner, in the embodiment of the present invention, after the first pushing unit 406 pushes the coordinate position to the first electronic device, the service device may further send first query information to the first electronic device to query whether the user needs to acquire detailed information in the coordinate position, and if so, the service device may acquire landmark building information of an area where the coordinate position is located and information of a person in charge of the area where the coordinate position belongs;
and if the user needs to obtain the electronic guide of the scenic spot, the first pushing unit 406 may push the electronic guide of the scenic spot to the first electronic device.
As an optional implementation manner, in the embodiment of the present invention, the service device may further obtain identity information of the second electronic device, where the identity information at least includes identity information of a user of the second electronic device and a contact information of the user;
after the service equipment acquires the identity identification information of the second electronic equipment, the service equipment can also detect whether the identity information of the user exists in a friend list in the first electronic equipment or not according to the identity information of the user, and if so, the service equipment can send prompt information to the first electronic equipment to prompt the user that friends and other friends are in the same position area;
and after the service device sends the prompt message to the first electronic device, the service device may also send third query information to the first electronic device to query whether the user needs to acquire a navigation route to the location of the second electronic device, and if so, the first pushing unit 406 may push the navigation route to the location of the second electronic device to the first electronic device.
It can be seen that, by implementing the service device described in fig. 4, the location use power consumption of the electronic device can be reduced, so as to improve the battery endurance of the electronic device.
In addition, the service device described in fig. 4 is implemented, so that the user to whom the electronic device belongs can perform interactive communication with the friend, which is beneficial to improving the use experience of the user on the electronic device.
In addition, implementing the service device described in fig. 4 enables the electronic device to obtain continuous positioning information even when continuous positioning is not performed.
EXAMPLE five
Referring to fig. 5, fig. 5 is a schematic structural diagram of another service device according to an embodiment of the disclosure. The service device shown in fig. 5 is optimized by the service device shown in fig. 4. In comparison with the service apparatus shown in fig. 4, in the service apparatus shown in fig. 5:
a second obtaining unit 407, configured to obtain detailed information of the first electronic device at the coordinate position after the first pushing unit 406 pushes the coordinate position to the first electronic device; the detailed information at least includes a stay time of the first electronic device at the coordinate position, logo building information of an area where the coordinate position is located, and information of a person in charge of the area where the coordinate position belongs.
As an optional implementation manner, in the embodiment of the present invention, the second obtaining unit 407 may further obtain an emergency contact information and an address of an area to which the coordinate position belongs, for example, an emergency contact information and an address of a hospital closest to the coordinate position, and an emergency contact information and an address of a police station closest to the coordinate position;
and, after the second acquiring unit 407 acquires the emergency contact address and the address of the area to which the coordinate position belongs, the service device may further output, to the first electronic device, landmark building information of the area to which the coordinate position belongs, information of a person in charge of the area to which the coordinate position belongs, and the emergency contact address and the address of the area to which the coordinate position belongs.
A second detecting unit 408, configured to detect whether the lingering time of the first electronic device at the coordinate position exceeds a second specified threshold.
As an alternative implementation manner, in the embodiment of the present invention, after the second detecting unit 408 detects that the staying time of the first electronic device at the coordinate position exceeds a second specified threshold, the service device may detect whether the coordinate position is within a set sensitive area;
and when the service device detects that the coordinate position is not in the set sensitive area, the service device may detect whether the coordinate position is in a set safe area (e.g., school).
A second pushing unit 409, configured to, when the second detecting unit 408 detects that the stay time of the first electronic device at the coordinate position exceeds a second specified threshold, push the stay time of the first electronic device at the coordinate position, the landmark building information of the area where the coordinate position is located, and the information of the person in charge of the area where the coordinate position belongs to the user equipment associated with the first electronic device.
As an optional implementation manner, in the embodiment of the present invention, the second pushing unit 409 may also push, to the user equipment associated with the first electronic device, an emergency contact address and an emergency contact address of an area to which the coordinate position belongs, for example, an emergency contact address and an emergency contact address of a hospital closest to the coordinate position, and an emergency contact address of a police station closest to the coordinate position.
Accordingly, compared to the service apparatus shown in fig. 4, the service apparatus shown in fig. 5 further includes:
a connection unit 410, configured to perform bluetooth connection between the first electronic device and the second electronic device after the second pushing unit 409 pushes the stay time of the first electronic device at the coordinate position, the landmark building information of the area where the coordinate position is located, and the information of the person in charge of the area where the coordinate position belongs to the user equipment associated with the first electronic device, so as to obtain a wireless mesh network using the first electronic device as a network node.
As an optional implementation manner, in an embodiment of the present invention, the connection unit 410 may control the first electronic device to perform bluetooth connection between the first electronic device and the second electronic device every preset time, for example, the bluetooth connection is performed every 10ms or every 15ms, which is not specifically limited in the embodiment of the present invention;
and after the service device obtains the wireless mesh network using the first electronic device as the network node, the service device may replace the previous wireless mesh network with the new wireless mesh network, and may store the previous wireless mesh network in the database for subsequent information query by the user.
The exchanging unit 411 is configured to perform data exchange between the first electronic device and the second electronic device at a preset time interval through the wireless mesh network, so as to refresh the coordinate position of the first electronic device in the database.
As an optional implementation manner, in the embodiment of the present invention, after the service device obtains a new coordinate position, the service device may detect whether the new coordinate position is consistent with the coordinate position, if so, the service device may still push the coordinate position to the first electronic device without changing a current positioning result, and if not, the service device may push the new coordinate position to the first electronic device.
It can be seen that, by implementing another service device described in fig. 5, the location use power consumption of the electronic device can be reduced, so as to improve the battery endurance of the electronic device.
In addition, another service device described in fig. 5 is implemented to enable the user to obtain the emergency contact information and the address of the location area, so that the user can be timely rescued when encountering an emergency.
In addition, another service device described in fig. 5 is implemented to give the user a relevant prompt message when the user steps into a sensitive area with low security, so as to reduce the risk of danger for the user.
In addition, by implementing another service device described in fig. 5, the positioning information of the electronic device can be updated in real time to obtain a more accurate positioning result.
EXAMPLE six
Referring to fig. 6, fig. 6 is a schematic structural diagram of another service device according to an embodiment of the present invention. The service device shown in fig. 6 is optimized by the service device shown in fig. 5. In comparison with the service apparatus shown in fig. 5, in the service apparatus shown in fig. 6:
the third detecting unit 412 is configured to detect whether the remaining power value of the first electronic device reported by the first electronic device reaches the minimum preset value after the exchanging unit 411 exchanges data between the first electronic device and the second electronic device at a preset time interval through the wireless mesh network to refresh the coordinate position of the first electronic device in the database.
As an optional implementation manner, in the embodiment of the present invention, the size of the minimum preset value may be set by a system default of the first electronic device, or may be set by a user.
As an optional implementation manner, in the embodiment of the present invention, the service device may obtain the remaining power value of the first electronic device every preset time, for example, the service device is connected every 10ms, or every 15ms, which is not specifically limited in the embodiment of the present invention.
The second control unit 413 is configured to control the first electronic device to output a prompt message when the third detection unit 412 detects that the remaining electric quantity value of the first electronic device reported by the first electronic device reaches the minimum preset value, so as to prompt a user that the remaining electric quantity value of the first electronic device reaches the minimum preset value, and please charge as soon as possible.
As an optional implementation manner, in an embodiment of the present invention, the prompt information output by the first electronic device includes:
the display information prompt of the display screen of the first electronic equipment;
and/or a voice message prompt sent by the first electronic equipment.
A third obtaining unit 414, configured to obtain the latest coordinate position of the first electronic device from the database.
As an optional implementation manner, in an embodiment of the present invention, the third obtaining unit 414 may obtain current basic parameter information of the first electronic device, and information of a lingering time, a starting time, an ending time, a motion track, and the like of the first electronic device at the latest coordinate position.
A third pushing unit 415, configured to push the latest coordinate position to the first electronic device.
As an optional implementation manner, in the embodiment of the present invention, the service device may obtain coordinate position data within a specified time range from the server china, and may obtain a moving area range of the first electronic device according to the coordinate position data;
and after the service device obtains the active area range of the first electronic device according to the coordinate position data, the third pushing unit 415 may further push the active area range to the first electronic device.
A fourth detecting unit 416, configured to detect whether the remaining power value of the first electronic device increases within a specified time.
As an optional implementation manner, in an embodiment of the invention, when the fourth detecting unit 416 detects that the remaining power value of the first electronic device has reached the minimum preset value and the user of the ue does not control the first electronic device to enter the specified power saving mode, the service device may control the first electronic device to enter the preset power saving mode.
For example, the first electronic device may set the minimum preset value of the electric quantity value to 20%, that is, when the fourth detecting unit 416 detects that the remaining electric quantity value of the first electronic device reaches 20%, it may send an inquiry message to the user equipment to inquire whether the user of the user equipment needs to control the first electronic device to enter the specified power saving mode, and when the user of the user equipment does not need to control the first electronic device to enter the specified power saving mode, the service device may control the first electronic device to enter the preset power saving mode and convert the battery color on the display screen of the first electronic device into a specified color, such as yellow, to prompt the user that the battery should be charged as soon as possible; and the first electronic equipment stops all power-consuming software running in the background in the preset power-saving mode so as to save the electric quantity of the first electronic equipment.
Accordingly, in the service apparatus shown in fig. 6, the second control unit 413 is also configured to control the first electronic apparatus to enter the specified power saving mode.
As an alternative implementation manner, in the embodiment of the present invention, when the fourth detecting unit 416 detects that the remaining power value of the first electronic device is not increased within the specified time, the second controlling unit 413 may control the first electronic device to enter the specified power saving mode after waiting for the remaining power value of the first electronic device to reach the specified threshold.
As an optional implementation manner, in the embodiment of the present invention, before the second control unit 413 controls the first electronic device to enter the specified power saving mode, the service device may obtain the latest coordinate position of the first electronic device from the database, and push the latest coordinate position to the user device.
As an optional implementation manner, in the embodiment of the present invention, in the specified power saving mode, the first electronic device may enter a sleep state, that is, the first electronic device stops running all software, and only a call function is left, so as to prevent a state where the first electronic device is completely powered off and the user is disconnected.
As an alternative implementation manner, in the service device shown in fig. 6, the second pushing unit 409 is further configured to push the remaining electric quantity value of the first electronic device and the latest coordinate position to the user device after the third pushing unit 415 pushes the latest coordinate position to the first electronic device, and before the fourth detecting unit 416 detects whether the remaining electric quantity value of the first electronic device is increased within a specified time. Accordingly, compared to the service apparatus shown in fig. 5, the service apparatus shown in fig. 6 further includes:
an interaction unit 417, configured to send query information to the ue to query whether a user of the ue needs to control the first electronic device to enter the specified power saving mode; if yes, the second control unit 413 is triggered to control the first electronic device to enter the specified power saving mode; if not, the fourth detecting unit 416 is triggered to detect whether the remaining power value of the first electronic device is increased within a specified time.
As an optional implementation manner, in the embodiment of the present invention, the service device may obtain coordinate position data within a specified time range from the server china, and may obtain a moving area range of the first electronic device according to the coordinate position data;
after the service device obtains the active area range of the first electronic device according to the coordinate position data, the second pushing unit 409 may also push the active area range to the user device;
the service equipment can also acquire basic parameter information of the first electronic equipment in the coordinate position data, and information of stay time, starting time, ending time, motion track and the like of the first electronic equipment in the coordinate position data;
the second pushing unit 409 may also push information, such as basic parameter information of the first electronic device in the coordinate position data, a staying time, a starting time, an ending time, and a motion track of the first electronic device in the coordinate position data, to the user equipment.
As an optional implementation manner, in an embodiment of the present invention, after the interaction unit 417 sends query information to the user equipment, the interaction unit 417 may further send second query information to the user equipment to query whether a user of the user equipment needs to search for a moving route of the first electronic device that is located latest, and when the user equipment needs to search for a moving route of the first electronic device that is located latest, the service equipment may obtain latest location information of the first electronic device from the database, and search for a navigation route from the user equipment to the first electronic device that is located latest, and the service equipment may push the searched navigation route to the user equipment;
and after the interaction unit 417 pushes the navigation route to the user equipment, it may also send third query information to the user to query whether the user acquires the identity of the electronic device around the first electronic device, and when the user equipment needs to acquire the identity of the electronic device around the first electronic device, the service device may push the identity of the electronic device around the first electronic device to the user equipment.
It can be seen that, by implementing another service device as described in fig. 6, the location use power consumption of the electronic device can be reduced to improve the battery endurance of the electronic device.
In addition, the implementation of another service device as described in fig. 3 enables a user device associated with the electronic device to learn the range of the user's activity area, thereby increasing the interactive communication between the electronic device and the user device.
In addition, with the implementation of another service device described in fig. 3, the current latest coordinate position and the prompt information of the electronic device can be sent to the user device associated with the electronic device when the power of the electronic device reaches the minimum preset value, so as to avoid a situation that the user device cannot find the electronic device.
In addition, by implementing another service device described in fig. 3, after the electric quantity of the electronic device reaches the minimum preset value, the electronic device is controlled to enter the specified power saving mode, so that a situation that the electronic device is completely powered off without power and a user loses contact can be avoided.
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 positioning method of any one of the electronic devices in fig. 1 to 3.
Example eight
Referring to fig. 8, fig. 8 is a network architecture diagram of a positioning system of an electronic device according to an embodiment of the present invention. As shown in fig. 8, the positioning system of the electronic device may include:
a first electronic device 801 and a service device 802, wherein:
the service equipment is used for acquiring a residual electric quantity value of the first electronic equipment; and detecting whether the remaining electric quantity value of the first electronic device is smaller than a first specified threshold value; if yes, controlling the first electronic equipment to enter the appointed pairing state; acquiring identification information of the second electronic device reported by the first electronic device, wherein the identification information of the second electronic device at least comprises position information of the second electronic device and Bluetooth signal intensity information of the second electronic device received by the first electronic device; calculating to obtain the position distance between the first electronic device and the second electronic device according to the Bluetooth signal strength information; calculating to obtain the coordinate position of the first electronic equipment according to the position information of the second electronic equipment and the position distance; pushing the coordinate position to the first electronic equipment;
the first electronic device is configured to search for the identification information of the second electronic device in the designated pairing state and report the identification information to the service device; and receiving the coordinate position sent by the service equipment.
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 positioning method of any one electronic device 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 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 present disclosure to explain the principle and the implementation of the present invention, and the description of the above embodiments 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 (11)

1. A method for positioning an electronic device, the method comprising:
acquiring a residual electric quantity value of the first electronic equipment;
detecting whether the residual electric quantity value of the first electronic equipment is smaller than a first specified threshold value; if yes, controlling the first electronic equipment to enter a specified pairing state; wherein the first electronic device searches for identification information of a second electronic device in the designated pairing state;
acquiring identification information of the second electronic device reported by the first electronic device, wherein the identification information of the second electronic device at least comprises position information of the second electronic device and Bluetooth signal intensity information of the second electronic device received by the first electronic device;
calculating to obtain the position distance between the first electronic device and the second electronic device according to the Bluetooth signal intensity information;
calculating to obtain the coordinate position of the first electronic equipment according to the position information of the second electronic equipment and the position distance;
pushing the coordinate position to the first electronic device.
2. The positioning method according to claim 1, wherein after pushing the coordinate position to the first electronic device, the method further comprises:
acquiring detailed information of the first electronic equipment on the coordinate position; the detailed information at least comprises the stay time of the first electronic equipment on the coordinate position, mark building information of the area where the coordinate position is located and responsible person information of the area where the coordinate position belongs;
detecting whether the stay time of the first electronic equipment on the coordinate position exceeds a second specified threshold value, if so, pushing the stay time of the first electronic equipment on the coordinate position, the mark building information of the area where the coordinate position is located and the information of a person in charge of the area where the coordinate position belongs to a user equipment associated with the first electronic equipment.
3. The positioning method according to claim 2, wherein after pushing the stay time of the first electronic device at the coordinate position, the landmark building information of the area where the coordinate position is located, and the information of the person in charge of the area where the coordinate position belongs to the user equipment associated with the first electronic device, the method further comprises:
performing Bluetooth connection on the first electronic device and the second electronic device to obtain a wireless mesh network with the first electronic device as a network node;
and exchanging data between the first electronic equipment and the second electronic equipment at preset time intervals through the wireless mesh network so as to refresh the coordinate position of the first electronic equipment in a database.
4. The positioning method according to claim 3, wherein after exchanging data between said first electronic device and said second electronic device over said wireless mesh network at predetermined time intervals to refresh the coordinate position of said first electronic device in said database, said method further comprises:
detecting whether the residual electric quantity value of the first electronic equipment reported by the first electronic equipment reaches a minimum preset value, if so, controlling the first electronic equipment to output prompt information to prompt a user that the residual electric quantity value of the first electronic equipment reaches the minimum preset value, and charging as soon as possible;
acquiring the latest coordinate position of the first electronic equipment from a database;
pushing the latest coordinate position to the first electronic device;
detecting whether the residual electric quantity value of the first electronic equipment is increased within a specified time: and if not, controlling the first electronic equipment to enter a specified power saving mode.
5. The location method according to claim 4, wherein after pushing the latest coordinate position to the first electronic device and before detecting whether the remaining electric quantity value of the first electronic device increases within a specified time, the method further comprises:
pushing the residual electric quantity value of the first electronic equipment and the latest coordinate position to the user equipment;
sending inquiry information to the UE to inquire whether a user of the UE needs to control the first electronic equipment to enter the specified power saving mode; if yes, controlling the first electronic equipment to enter a specified power saving mode; if not, executing the step of detecting whether the residual electric quantity value of the first electronic equipment is increased within the appointed time.
6. A service device, characterized in that the service device comprises:
a first acquisition unit configured to acquire a remaining electric quantity value of the first electronic device;
a first detection unit for detecting whether the remaining electric quantity value of the first electronic device is smaller than a first specified threshold value;
the first control unit is used for controlling the first electronic equipment to enter a specified pairing state when the first detection unit detects that the residual electric quantity value of the first electronic equipment is smaller than a first specified threshold value; wherein the first electronic device searches for identification information of a second electronic device in the designated pairing state;
the first obtaining unit is further configured to obtain identification information of the second electronic device, where the identification information of the second electronic device at least includes location information of the second electronic device and bluetooth signal strength information of the second electronic device received by the first electronic device;
the first calculating unit is used for calculating the position distance between the first electronic equipment and the second electronic equipment according to the Bluetooth signal intensity information;
the second calculation unit is used for calculating the coordinate position of the first electronic equipment according to the position information of the second electronic equipment and the position distance;
the first pushing unit is used for pushing the coordinate position to the first electronic equipment.
7. The service device of claim 6, wherein the service device further comprises:
the second obtaining unit is used for obtaining the detailed information of the first electronic equipment on the coordinate position after the first pushing unit pushes the coordinate position to the first electronic equipment; the detailed information at least comprises the stay time of the first electronic equipment on the coordinate position, mark building information of the area where the coordinate position is located and responsible person information of the area where the coordinate position belongs;
a second detection unit, configured to detect whether a lingering time of the first electronic device at the coordinate position exceeds a second specified threshold;
and a second pushing unit, configured to, when the second detecting unit detects that the stay time of the first electronic device at the coordinate position exceeds a second specified threshold, push, to a user device associated with the first electronic device, the stay time of the first electronic device at the coordinate position, landmark building information of an area where the coordinate position is located, and person in charge information of the area where the coordinate position belongs.
8. The service device of claim 7, wherein the service device further comprises:
the connection unit is used for carrying out Bluetooth connection on the first electronic device and the second electronic device after the second pushing unit pushes the stay time of the first electronic device on the coordinate position, the mark building information of the area where the coordinate position is located and the information of the person in charge of the area where the coordinate position belongs to the user equipment associated with the first electronic device, so as to obtain a wireless mesh network with the first electronic device as a network node;
and the exchange unit is used for exchanging data between the first electronic equipment and the second electronic equipment at a preset time interval through the wireless mesh network so as to refresh the coordinate position of the first electronic equipment in the database.
9. The service device of claim 8, wherein the service device further comprises:
a third detecting unit, configured to detect whether a remaining power value of the first electronic device reported by the first electronic device reaches a minimum preset value after the exchanging unit exchanges data between the first electronic device and the second electronic device at a preset time interval through the wireless mesh network to refresh a coordinate position of the first electronic device in a database;
the second control unit is configured to control the first electronic device to output a prompt message when the third detection unit detects that the remaining electric quantity value of the first electronic device reported by the first electronic device reaches the minimum preset value, so as to prompt a user that the remaining electric quantity value of the first electronic device reaches the minimum preset value, and please charge as soon as possible;
a third obtaining unit, configured to obtain a latest coordinate position of the first electronic device from a database;
the third pushing unit is used for pushing the latest coordinate position to the first electronic equipment;
a fourth detecting unit, configured to detect whether a remaining power value of the first electronic device increases within a specified time:
the second control unit is further configured to control the first electronic device to enter a specified power saving mode.
10. The service device of claim 9, wherein:
the second pushing unit is further configured to push the remaining electric quantity value of the first electronic device and the latest coordinate position to the user equipment after the third pushing unit pushes the latest coordinate position to the first electronic device and before the fourth detecting unit detects whether the remaining electric quantity value of the first electronic device is increased within a specified time;
an interaction unit, configured to send query information to the ue, so as to query whether a user of the ue needs to control the first electronic device to enter the specified power saving mode; if yes, triggering the second control unit to control the first electronic equipment to enter the specified power saving mode; if not, triggering the fourth detection unit to detect whether the residual electric quantity value of the first electronic equipment is increased within a specified time.
11. A positioning system for an electronic device, the system comprising a first electronic device and a service device, wherein:
the service equipment is used for acquiring a residual electric quantity value of the first electronic equipment; and detecting whether the remaining electric quantity value of the first electronic device is smaller than a first specified threshold value; if yes, controlling the first electronic equipment to enter the appointed pairing state; acquiring identification information of the second electronic device reported by the first electronic device, wherein the identification information of the second electronic device at least comprises position information of the second electronic device and Bluetooth signal intensity information of the second electronic device received by the first electronic device; calculating to obtain the position distance between the first electronic device and the second electronic device according to the Bluetooth signal strength information; calculating to obtain the coordinate position of the first electronic equipment according to the position information of the second electronic equipment and the position distance; pushing the coordinate position to the first electronic equipment;
the first electronic device is configured to search for the identification information of the second electronic device in the designated pairing state and report the identification information to the service device; and receiving the coordinate position sent by the service equipment.
CN201910656313.5A 2019-07-19 2019-07-19 Positioning method of electronic equipment, service equipment and system Active CN111770434B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910656313.5A CN111770434B (en) 2019-07-19 2019-07-19 Positioning method of electronic equipment, service equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910656313.5A CN111770434B (en) 2019-07-19 2019-07-19 Positioning method of electronic equipment, service equipment and system

Publications (2)

Publication Number Publication Date
CN111770434A true CN111770434A (en) 2020-10-13
CN111770434B CN111770434B (en) 2022-12-27

Family

ID=72718341

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910656313.5A Active CN111770434B (en) 2019-07-19 2019-07-19 Positioning method of electronic equipment, service equipment and system

Country Status (1)

Country Link
CN (1) CN111770434B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106291636A (en) * 2016-07-27 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of method and system positioning terminal
CN108040320A (en) * 2017-12-13 2018-05-15 广东欧珀移动通信有限公司 Control method, device, storage medium and the mobile terminal of GNSS positioning
CN108566676A (en) * 2018-01-17 2018-09-21 石化盈科信息技术有限责任公司 A kind of bluetooth localization method
CN109831738A (en) * 2019-03-18 2019-05-31 广东小天才科技有限公司 A kind of localization method and smart machine of smart machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106291636A (en) * 2016-07-27 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of method and system positioning terminal
CN108040320A (en) * 2017-12-13 2018-05-15 广东欧珀移动通信有限公司 Control method, device, storage medium and the mobile terminal of GNSS positioning
CN108566676A (en) * 2018-01-17 2018-09-21 石化盈科信息技术有限责任公司 A kind of bluetooth localization method
CN109831738A (en) * 2019-03-18 2019-05-31 广东小天才科技有限公司 A kind of localization method and smart machine of smart machine

Also Published As

Publication number Publication date
CN111770434B (en) 2022-12-27

Similar Documents

Publication Publication Date Title
CN111629425B (en) Power consumption control method and system of electronic positioning equipment and electronic positioning equipment
WO2017117979A1 (en) Navigation device, and navigation method
KR101748226B1 (en) Method for discovering augmented reality object, and terminal
CN107534932B (en) Method for controlling functional state and related equipment
CN108308059B (en) Pet collar system and pet collar control method
WO2014118529A1 (en) A method of generating an alert message
KR20160020825A (en) Electronic apparatus and positiong method thereof
EP3550448A1 (en) Map display method and system, terminal and map server
CN106886279A (en) A kind of control method and device
JP2014077680A (en) Information processor, processing method and program
CN105706149A (en) Tracking system
US20120010811A1 (en) Route information generation device and route information generation method
CN107835304B (en) Method and device for controlling mobile terminal, mobile terminal and storage medium
CN111770434B (en) Positioning method of electronic equipment, service equipment and system
KR20170095849A (en) Location method and corresponding terminals, vehicle, computer program product and storage medium
CN111757465A (en) Clustering positioning method, service equipment and system
KR20160113898A (en) Method and apparatus for walking navigation
CN110839105A (en) Terminal management method, device, terminal and computer storage medium
JP2010034982A (en) Information communication system and information communication method
CN204788357U (en) Handheld mapping device
CN112055311A (en) One-key vehicle searching method, device and system and vehicle
CN113824461A (en) Positioning method and system based on smart watch and mobile terminal
KR101197586B1 (en) A location recognition system using wireless fidelity and method of thereof
CN111143490A (en) Offline positioning method of electronic equipment, service equipment and system
JP2008180642A (en) Position retrieval system, mobile terminal, and position retrieval method

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