CN111757245B - Positioning method of wearable device and service device - Google Patents

Positioning method of wearable device and service device Download PDF

Info

Publication number
CN111757245B
CN111757245B CN201910565396.7A CN201910565396A CN111757245B CN 111757245 B CN111757245 B CN 111757245B CN 201910565396 A CN201910565396 A CN 201910565396A CN 111757245 B CN111757245 B CN 111757245B
Authority
CN
China
Prior art keywords
wireless access
mobile phone
access point
wearable device
target
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.)
Active
Application number
CN201910565396.7A
Other languages
Chinese (zh)
Other versions
CN111757245A (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 CN201910565396.7A priority Critical patent/CN111757245B/en
Publication of CN111757245A publication Critical patent/CN111757245A/en
Application granted granted Critical
Publication of CN111757245B publication Critical patent/CN111757245B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • 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

Abstract

The embodiment of the invention discloses a positioning method and positioning equipment of wearable equipment, which are applied to the technical field of positioning and can solve the problem of low positioning accuracy of the wearable equipment. The method comprises the following steps: the positioning device can acquire first data, wherein the first data is the signal strength of at least one first wireless access point searched by the wearable device; judging whether the first data comprises the signal intensity of the Bluetooth of the target mobile phone; if yes, the position of the target mobile phone is obtained, and the position of the wearable device is calculated according to the position of the target mobile phone and the signal intensity of the Bluetooth of the target mobile phone. The method is applied to positioning of the wearable device scene.

Description

Positioning method of wearable device and service device
Technical Field
The embodiment of the invention relates to the technical field of positioning, in particular to a positioning method and positioning equipment of wearable equipment.
Background
At present, wearable devices on the market generally collect the signal strength of peripheral wireless access points and perform positioning according to the signal strength of the collected wireless access points, and due to the limitation of the receiving and transmitting power of an antenna in the wearable device, the signal strength of the wireless access points collected by the wearable device is low, so that the positioning accuracy of the wearable device is low.
Disclosure of Invention
The embodiment of the invention provides a positioning method of wearable equipment and service equipment, which are used for solving the problem of low positioning accuracy of the wearable equipment in the prior art. In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, a positioning method of a wearable device is provided, the method including:
acquiring first data, wherein the first data is the signal strength of at least one first wireless access point searched by the wearable device;
judging whether the first data comprises the signal intensity of the Bluetooth of the target mobile phone;
if yes, judging whether the current position is the same as the current position; and acquiring the position of the target mobile phone, and calculating the position of the wearable device according to the position of the target mobile phone and the signal intensity of the Bluetooth of the target mobile phone.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, before determining whether the first data includes the signal strength of the bluetooth of the target mobile phone, the method further includes:
acquiring second data, wherein the second data is the signal strength of at least one second wireless access point searched by the target mobile phone;
calculating the number of the same third wireless access points in the at least one first target wireless access point and the at least one second target wireless access point; the first target wireless access point is an access point of the at least one first wireless access point, the signal strength of which is greater than or equal to a first preset strength, and the second target wireless access point is an access point of the at least one second wireless access point, the signal strength of which is greater than or equal to the first preset strength;
the determining whether the first data includes the signal strength of the bluetooth of the target mobile phone includes: and if the number of the third wireless access points is larger than the preset number, judging whether the first data comprises the signal intensity of the Bluetooth of the target mobile phone.
As an optional implementation manner, in the first aspect of this embodiment of the present invention, the method further includes:
if the first data does not comprise the signal intensity of the Bluetooth of the target mobile phone, calculating the number of the same fourth wireless access points in at least one third target wireless access point and at least one fourth target wireless access point;
if the number of the fourth wireless access points is larger than a preset number, acquiring the signal intensity of the fourth wireless access points searched by the target mobile phone from the second data, and acquiring the signal intensity of the fourth wireless access points searched by the wearable device from the first data;
calculating the position of the wearable device according to the position of the target mobile phone, the signal strength of the fourth wireless access point searched by the target mobile phone and the signal strength of the fourth wireless access point searched by the wearable device;
the third target wireless access point is an access point of which the signal strength is greater than or equal to a second preset strength in the at least one first wireless access point, the fourth target wireless access point is an access point of which the signal strength is greater than or equal to the second preset strength in the at least one second wireless access point, and the second preset strength is greater than the first preset strength.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the method is applied to a server, and after the calculating the location of the wearable device, the method further includes:
and sending the position of the wearable device to the wearable device and/or the target mobile phone.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the method is applied to a mobile phone, and after the calculating the location of the wearable device, the method further includes:
displaying a schematic diagram for indicating the relative position between the wearable device and the target mobile phone, and displaying longitude and latitude information of the wearable device in the schematic diagram.
In a second aspect, a positioning device is provided, the mobile phone comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring first data, and the first data is the signal strength of at least one first wireless access point searched by the wearable device;
the judging unit is used for judging whether the first data comprises the signal intensity of the Bluetooth of the target mobile phone;
a calculation unit, configured to, if yes; and acquiring the position of the target mobile phone, and calculating the position of the wearable device according to the position of the target mobile phone and the signal intensity of the Bluetooth of the target mobile phone.
As an alternative implementation, in the second aspect of the embodiment of the present invention,
the obtaining unit is further configured to obtain second data, where the second data is the signal strength of at least one second wireless access point searched by the target mobile phone;
the calculating unit is further configured to calculate the number of the same third wireless access points in the at least one first target wireless access point and the at least one second target wireless access point; the first target wireless access point is an access point of the at least one first wireless access point, the signal strength of which is greater than or equal to a first preset strength, and the second target wireless access point is an access point of the at least one second wireless access point, the signal strength of which is greater than or equal to the first preset strength;
the judging unit is specifically configured to judge whether the first data includes the signal strength of the bluetooth of the target mobile phone if the number of the third wireless access points is greater than a preset number.
As an alternative implementation, in the second aspect of the embodiment of the present invention,
the calculating unit is further configured to calculate the number of the same fourth wireless access points in the at least one third target wireless access point and the at least one fourth target wireless access point if the judging unit judges that the first data does not include the signal strength of the bluetooth of the target mobile phone;
if the number of the fourth wireless access points is larger than a preset number, acquiring the signal intensity of the fourth wireless access points searched by the target mobile phone from the second data, and acquiring the signal intensity of the fourth wireless access points searched by the wearable device from the first data;
calculating the position of the wearable device according to the position of the target mobile phone, the signal strength of the fourth wireless access point searched by the target mobile phone and the signal strength of the fourth wireless access point searched by the wearable device;
the third target wireless access point is an access point of which the signal strength is greater than or equal to a second preset strength in the at least one first wireless access point, the fourth target wireless access point is an access point of which the signal strength is greater than or equal to the second preset strength in the at least one second wireless access point, and the second preset strength is greater than the first preset strength.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the positioning device is a server, and the positioning device further includes:
a sending unit, configured to send the location of the wearable device to the wearable device and/or the target cell phone after the computing unit computes the location of the wearable device. As an optional implementation manner, in a second aspect of the embodiment of the present invention, the positioning device is a target mobile phone, and the positioning device further includes:
the display unit is used for displaying a schematic diagram used for indicating the relative position between the wearable device and the target mobile phone, and displaying longitude and latitude information of the wearable device in the schematic diagram.
In a third aspect, a positioning apparatus is provided, 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 wearable device in the first aspect of the embodiment of the invention.
In a fourth aspect, a computer-readable storage medium is provided, which stores a computer program, the computer program causing a computer to execute the positioning method of a wearable device in the first aspect of the embodiment of the present invention. The computer readable storage medium includes a ROM/RAM, a magnetic or optical disk, or the like.
In a fifth aspect, there is provided a computer program product for causing a computer to perform some or all of the steps of any one of the methods of the first aspect when the computer program product is run on the computer.
A sixth aspect provides an application publishing platform for publishing a computer program product, wherein the computer program product, 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.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the positioning device can acquire first data, wherein the first data is the signal strength of at least one first wireless access point searched by the wearable device; judging whether the first data comprises the signal intensity of the Bluetooth of the target mobile phone; if yes, the position of the target mobile phone is obtained, and the position of the wearable device is calculated according to the position of the target mobile phone and the signal intensity of the Bluetooth of the target mobile phone. Through the scheme, the position of the wearable device is calculated based on the position of the target mobile phone under the condition that the distance between the target mobile phone and the wearable device is close to the wearable device can be determined by judging whether the first data comprises the signal intensity of the Bluetooth of the target mobile phone, and the positioning accuracy of the wearable device can be improved compared with a mode that the wearable device is positioned by the wearable device in the prior art because the positioning of the mobile phone is accurate.
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 first flowchart illustrating a positioning method of a wearable device according to an embodiment of the present invention;
fig. 2 is a schematic flowchart illustrating a second method for positioning a wearable device according to an embodiment of the present invention;
fig. 3 is a third schematic flowchart of a positioning method of a wearable device according to an embodiment of the present invention;
fig. 4 is a first schematic structural diagram of a positioning apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a positioning apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram three of a positioning apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a positioning apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first data and the second data, etc. are for distinguishing different data, not for describing a specific order of data.
The terms "comprises," "comprising," and "having," and any variations thereof, of embodiments of the present invention are intended to cover non-exclusive inclusions, 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 explicitly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The embodiment of the invention provides a positioning method and positioning equipment of wearable equipment, which can improve the positioning accuracy of the wearable equipment.
The positioning device according to the embodiment of the present invention may be an electronic device such as a Mobile phone, a tablet Computer, a notebook Computer, a palm Computer, a vehicle-mounted Mobile phone, an Ultra-Mobile Personal Computer (UMPC), a netbook, or a Personal Digital Assistant (PDA), and may also be a server.
The wearable device related to the embodiment of the invention can be an intelligent watch, an intelligent bracelet, a watch phone, an intelligent foot ring, an intelligent ear ring, an intelligent necklace, an intelligent earphone and the like, and the embodiment of the invention is not limited.
An execution subject of the positioning method of the wearable device provided in the embodiment of the present invention may be the mobile phone or the server, or may also be a functional module and/or a functional entity in the mobile phone or the server, which can implement the positioning method of the wearable device, and may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present invention. The following describes an exemplary positioning method of a wearable device according to an embodiment of the present invention, taking an execution subject of the positioning method of the wearable device as a positioning device, a server, and a target mobile phone as examples.
The positioning method of the wearable device provided by the embodiment of the invention can be applied to a scene of positioning the wearable device.
Example one
As shown in fig. 1, an embodiment of the present invention provides a positioning method for a wearable device, which may include the following steps:
101. the positioning device obtains first data.
The first data is the signal strength of at least one first wireless access point searched by the wearable device.
Optionally, if the positioning device is a server, the obtaining of the first data is specifically receiving first data reported by the wearable device.
If the positioning device is a target mobile phone, the acquiring the first data is specifically receiving the first data sent by the server.
102. The positioning device judges whether the first data comprises the signal intensity of the Bluetooth of the target mobile phone.
In the embodiment of the present invention, if the first data includes the signal intensity of the bluetooth of the target mobile phone, it indicates that the wearable device can search for the bluetooth of the target mobile phone, and thus it indicates that the target mobile phone is closer to the wearable device, and at this time, the position of the wearable device is suitable to be calculated by using the position of the target mobile phone.
Optionally, in this embodiment of the present invention, the Wireless access point may be a bluetooth (that is, a Wireless access point using a bluetooth technology) or an access point using a Wireless Fidelity (Wi-Fi) technology
103. And if so, the positioning equipment acquires the position of the target mobile phone.
The location in the embodiment of the present invention may be understood as information of the location, for example, may be latitude and longitude information of the location.
104. And the positioning equipment calculates the position of the wearable equipment according to the position of the target mobile phone and the signal intensity of the Bluetooth of the target mobile phone.
In the embodiment of the invention, the positioning device can determine the relative position between the target mobile phone and the wearable device according to the signal intensity of the Bluetooth of the target mobile phone, and can calculate the position of the wearable device by combining the position of the target mobile phone.
In the embodiment of the invention, the positioning device can acquire first data, wherein the first data is the signal strength of at least one first wireless access point searched by the wearable device; judging whether the first data comprises the signal intensity of the Bluetooth of the target mobile phone; if so; and calculating the position of the wearable equipment according to the position of the target mobile phone and the signal intensity of the Bluetooth of the target mobile phone. Through the scheme, the position of the wearable device is calculated based on the position of the target mobile phone under the condition that the distance between the target mobile phone and the wearable device is close to the wearable device can be determined by judging whether the first data comprises the signal intensity of the Bluetooth of the target mobile phone, and the positioning accuracy of the wearable device can be improved compared with a mode that the wearable device is positioned by the wearable device in the prior art because the positioning of the mobile phone is accurate.
Example two
Taking an execution subject of the positioning method of the wearable device as a server as an example, as shown in fig. 2, the positioning method of the wearable device provided by the embodiment of the present invention may further include the following steps:
201. the server receives first data reported by the wearable device.
The first data is the signal strength of at least one first wireless access point searched by the wearable device.
202. And the server receives second data reported by the target mobile phone.
Wherein the second data comprises the signal strength of at least one second wireless access point searched by the target handset.
203. The server calculates the number of third wireless access points that are the same in the at least one first target wireless access point and the at least one second target wireless access point.
The first target wireless access point is an access point of which the signal strength is greater than or equal to a first preset strength in at least one first wireless access point, and the second target wireless access point is an access point of which the signal strength is greater than or equal to the first preset strength in at least one second wireless access point.
204. If the number of the third wireless access points is larger than the preset number, the server judges whether the first data comprises the signal intensity of the Bluetooth of the target mobile phone.
If the server determines that the first data includes the signal strength of the bluetooth of the target mobile phone, the following steps 205 and 206 are executed, and if the server determines that the second data does not include the signal strength of the bluetooth of the target mobile phone, the following steps 207 to 209 are executed.
205. And the server acquires the position reported by the target mobile phone.
206. And the server calculates the position of the wearable equipment according to the position of the target mobile phone and the signal intensity of the Bluetooth of the target mobile phone.
In the embodiment of the invention, the distance between the target mobile phone and the wearable device is determined to be not far away by judging the number of the third wireless access points and determining that the distance between the target mobile phone and the wearable device is within a smaller range under the condition that the number of the third wireless access points is larger than the preset number and further under the condition that the first data comprises the signal intensity of the Bluetooth of the target mobile phone, so that whether the position of the wearable device can be calculated by adopting the position of the target mobile phone is determined, and the accuracy of calculating the position of the wearable device according to the position of the target mobile phone is improved.
207. The server calculates the number of the same fourth wireless access points of the at least one third target wireless access point and the at least one fourth target wireless access point.
208. If the number of the fourth wireless access points is larger than the preset number, the server obtains the signal intensity of the fourth wireless access points searched by the target mobile phone from the second data, and obtains the signal intensity of the fourth wireless access points searched by the wearable device from the first data.
209. And the server calculates the position of the wearable device according to the position of the target mobile phone, the signal strength of the fourth wireless access point searched by the target mobile phone and the signal strength of the fourth wireless access point searched by the wearable device.
In the embodiment of the invention, the distance between the target mobile phone and the wearable device is determined to be not far away by judging the number of the third wireless access points and further determining that the distance between the target mobile phone and the wearable device is in a smaller range by determining that the distance between the target mobile phone and the wearable device is in the smaller range when the number of the fourth wireless access points is larger than the preset number under the condition that the number of the third wireless access points is larger than the preset number, so that whether the position of the wearable device can be calculated by adopting the position of the target mobile phone is determined, and the accuracy of calculating the position of the wearable device according to the position of the target mobile phone is improved.
In this embodiment, the server determines that the target mobile phone and the wearable device are within a small range, and calculates the position of the wearable device based on the position of the target mobile phone, and since the positioning of the mobile phone is accurate, compared with a method of positioning the wearable device by itself in the prior art, the positioning accuracy of the wearable device can be improved.
Optionally, after 206 or 209, the server may send the location of the wearable device to the wearable device and/or the target cell phone.
As an alternative implementation, after the server transmits the location of the wearable device to the wearable device and/or the target cell phone, the wearable device and/or the target cell phone may display a schematic diagram indicating the relative location between the wearable device and the target cell phone, and display latitude and longitude information of the wearable device in the schematic diagram.
Through the optional implementation mode, the wearable device and/or the target mobile phone can present the schematic diagram of the relative position between the wearable device and the target mobile phone and the longitude and latitude information of the wearable device to the user, so that the user of the wearable device and/or the target mobile phone can know the relative position between the wearable device and the target mobile phone, convenience is provided for the user of the wearable device and the target mobile phone to know the position of the other party or find the other party, and user experience is improved.
Further, as an optional implementation manner, the positioning method of the wearable device provided in the embodiment of the present invention may be applied to a scene where a user of the wearable device meets a user of a target mobile phone. Under the scene: after the wearable device and/or the target mobile phone display the schematic diagram, the wearable device and/or the target mobile phone may output target prompt information, the target prompt information is used for indicating the distance between the wearable device and the target mobile phone, and the target prompt information changes along with the change of the distance between the wearable device and the target mobile phone.
Through the optional implementation mode, the user of the wearable device and/or the target mobile phone can know the distance change between the two devices through the change of the target prompt message, so that the route between the user and the other user is determined according to the target prompt message, and the two people can find the other side.
EXAMPLE III
Taking an execution subject of the positioning method of the wearable device as an example of the target mobile phone, as shown in fig. 3, the positioning method of the wearable device provided by the embodiment of the present invention may further include the following steps:
301. the target mobile phone receives the first data sent by the server.
The first data is the signal strength of at least one first wireless access point searched by the wearable device.
Before sending the first data to the target mobile phone, the server may receive the first data sent by the wearable device.
302. The target handset searches the wireless access point to obtain second data.
Wherein the second data comprises the signal strength of at least one second wireless access point searched by the target handset.
303. The target handset calculates the number of the same third wireless access points of the at least one first target wireless access point and the at least one second target wireless access point.
The first target wireless access point is an access point of which the signal strength is greater than or equal to a first preset strength in at least one first wireless access point, and the second target wireless access point is an access point of which the signal strength is greater than or equal to the first preset strength in at least one second wireless access point.
304. If the number of the third wireless access points is larger than the preset number, the target mobile phone judges whether the first data comprises the signal intensity of the Bluetooth of the target mobile phone.
If the target mobile phone determines that the first data includes the signal strength of the bluetooth of the target mobile phone, the following steps 305 and 306 are performed, and if the server determines that the second data does not include the signal strength of the bluetooth of the target mobile phone, the following steps 307 to 309 are performed.
305. The target mobile phone acquires the position of the target mobile phone.
306. And the target mobile phone calculates the position of the wearable equipment according to the position of the target mobile phone and the signal intensity of the Bluetooth of the target mobile phone.
307. The target handset calculates the number of the same fourth wireless access points of the at least one third target wireless access point and the at least one fourth target wireless access point.
308. If the number of the fourth wireless access points is larger than the preset number, the target mobile phone obtains the signal strength of the fourth wireless access points searched by the target mobile phone from the second data, and obtains the signal strength of the fourth wireless access points searched by the wearable device from the first data.
309. And the target mobile phone calculates the position of the wearable device according to the position of the target mobile phone, the signal strength of the fourth wireless access point searched by the target mobile phone and the signal strength of the fourth wireless access point searched by the wearable device.
In the embodiment of the invention, the distance between the target mobile phone and the wearable device is determined to be not far away by judging the number of the third wireless access points and further determining that the distance between the target mobile phone and the wearable device is in a smaller range by determining that the distance between the target mobile phone and the wearable device is in the smaller range when the number of the fourth wireless access points is larger than the preset number under the condition that the number of the third wireless access points is larger than the preset number, so that whether the position of the wearable device can be calculated by adopting the position of the target mobile phone is determined, and the accuracy of calculating the position of the wearable device according to the position of the target mobile phone is improved.
In this embodiment, under the condition that the target mobile phone determines that the target mobile phone and the wearable device are within a small range, the position of the wearable device is calculated based on the position of the target mobile phone, and since the positioning of the mobile phone is accurate, compared with a method of positioning the wearable device in the prior art, the positioning accuracy of the wearable device can be improved.
Optionally, after 306 or 309, the target mobile phone may display a schematic diagram indicating a relative position between the wearable device and the target mobile phone, and display longitude and latitude information of the wearable device in the schematic diagram.
The target mobile phone can present the schematic diagram of the relative position between the wearable device and the target mobile phone and the longitude and latitude information of the wearable device to the user, so that the user of the target mobile phone can know the relative position between the wearable device and the target mobile phone, convenience is provided for the user of the target mobile phone to know the position of the other party or find the other party, and user experience is improved.
Further, as an optional implementation manner, the positioning method of the wearable device provided in the embodiment of the present invention may be applied to a scene where a user of the wearable device meets a user of a target mobile phone. Under the scene: after the target mobile phone displays the schematic diagram, the target mobile phone may output target prompt information, where the target prompt information is used to indicate a distance between the wearable device and the target mobile phone, and the target prompt information changes with a change in the distance between the wearable device and the target mobile phone.
Through the optional implementation mode, the user of the target mobile phone can know the distance change between the two devices through the change of the target prompt message, so that the route between the user and the other user is determined according to the target prompt message, and the two people can find the other side.
As an optional implementation manner, the manner of outputting the target prompt message by the target hand may include at least one of the following:
1. the target handset vibrates.
2. And displaying colors on a screen of the target mobile phone.
3. And displaying the distance information in a screen of the target mobile phone.
4. The target cell phone rings, etc.
For example, taking the target mobile phone outputting the target prompt information as the target mobile phone vibration as an example, the target mobile phone may change the vibration frequency with the change of the target distance. Specifically, the vibration frequency of the target mobile phone may be gradually increased when the target distance is increased, and the vibration frequency of the target mobile phone may be gradually decreased when the target distance is decreased. Therefore, under the condition that the vibration frequency of the target mobile phone is higher and higher, the user of the target mobile phone can know that the distance between the user of the wearable device and the user of the target mobile phone is closer and closer, and on the contrary, under the condition that the vibration frequency of the target mobile phone is lower and lower, the user of the target mobile phone can know that the distance between the user of the wearable device and the user of the target mobile phone is farther and farther.
For example, taking the target mobile phone outputting the target prompt message as the screen display color of the target mobile phone, the target mobile phone may change the screen color with the change of the target distance.
For example, taking the target mobile phone outputting the target prompt information as the display distance information in the screen of the target mobile phone, the target mobile phone may change the color displayed on the screen of the target mobile phone along with the change of the target distance.
For example, taking the target mobile phone outputting the target prompt information as the target mobile phone ringing as an example, the target mobile phone may change the sound and/or frequency of the target mobile phone ringing with the change of the target distance.
It should be noted that, the above is only described by taking the target mobile phone as an example, and the wearable device may also prompt the user of the distance between the wearable device and the target mobile phone by using the above manner of outputting the target prompt information, which is not described herein again.
Example four
As shown in fig. 4, an embodiment of the present invention provides a positioning apparatus, including:
an obtaining unit 401, configured to obtain first data, where the first data is signal strength of at least one first wireless access point searched by a wearable device;
a determining unit 402, configured to determine whether the first data includes a signal strength of bluetooth of the target mobile phone;
a calculating unit 403, configured to, if yes; and acquiring the position of the target mobile phone, and calculating the position of the wearable device according to the position of the target mobile phone and the signal intensity of the Bluetooth of the target mobile phone.
In the embodiment of the invention, the positioning device can acquire first data, wherein the first data is the signal strength of at least one first wireless access point searched by the wearable device; judging whether the first data comprises the signal intensity of the Bluetooth of the target mobile phone; if so; and calculating the position of the wearable equipment according to the position of the target mobile phone and the signal intensity of the Bluetooth of the target mobile phone. Through the scheme, the position of the wearable device is calculated based on the position of the target mobile phone under the condition that the distance between the target mobile phone and the wearable device is close to the wearable device can be determined by judging whether the first data comprises the signal intensity of the Bluetooth of the target mobile phone, and the positioning accuracy of the wearable device can be improved compared with a mode that the wearable device is positioned by the wearable device in the prior art because the positioning of the mobile phone is accurate.
Optionally, the obtaining unit 401 is further configured to obtain second data, where the second data includes a signal strength of at least one second wireless access point searched by the target mobile phone;
a calculating unit 402, configured to calculate a number of identical third wireless access points of the at least one first target wireless access point and the at least one second target wireless access point; the first target wireless access point is an access point of which the signal strength is greater than or equal to a first preset strength in at least one first wireless access point, and the second target wireless access point is an access point of which the signal strength is greater than or equal to the first preset strength in at least one second wireless access point;
the determining unit 403 is specifically configured to determine whether the first data includes the signal strength of the bluetooth of the target mobile phone if the number of the third wireless access points is greater than the preset number.
Optionally, the calculating module 402 is further configured to calculate the number of the same fourth wireless access points in the at least one third target wireless access point and the at least one fourth target wireless access point if the determining unit determines that the first data does not include the signal strength of the bluetooth of the target mobile phone;
if the number of the fourth wireless access points is larger than the preset number, acquiring the signal intensity of the fourth wireless access points searched by the target mobile phone from the second data, and acquiring the signal intensity of the fourth wireless access points searched by the wearable device from the first data;
calculating the position of the wearable device according to the position of the target mobile phone, the signal strength of the fourth wireless access point searched by the target mobile phone and the signal strength of the fourth wireless access point searched by the wearable device;
the third target wireless access point is an access point of which the signal strength is greater than or equal to a second preset strength in at least one first wireless access point, the fourth target wireless access point is an access point of which the signal strength is greater than or equal to the second preset strength in at least one second wireless access point, and the second preset strength is greater than the first preset strength.
Optionally, the positioning device is a server, and with reference to fig. 4, as shown in fig. 5, the positioning device further includes:
a sending module 404, configured to send the location of the wearable device to the wearable device and/or the target cell phone after the computing module calculates the location of the wearable device.
As an alternative implementation, after the server transmits the location of the wearable device to the wearable device and/or the target cell phone, the wearable device and/or the target cell phone may display a schematic diagram indicating the relative location between the wearable device and the target cell phone, and display latitude and longitude information of the wearable device in the schematic diagram.
Through the optional implementation mode, the wearable device and/or the target mobile phone can present the schematic diagram of the relative position between the wearable device and the target mobile phone and the longitude and latitude information of the wearable device to the user, so that the user of the wearable device and/or the target mobile phone can know the relative position between the wearable device and the target mobile phone, convenience is provided for the user of the wearable device and the target mobile phone to know the position of the other party or find the other party, and user experience is improved.
Further, as an optional implementation manner, the positioning method of the wearable device provided in the embodiment of the present invention may be applied to a scene where a user of the wearable device meets a user of a target mobile phone. Under the scene: after the wearable device and/or the target mobile phone display the schematic diagram, the wearable device and/or the target mobile phone may output target prompt information, the target prompt information is used for indicating the distance between the wearable device and the target mobile phone, and the target prompt information changes along with the change of the distance between the wearable device and the target mobile phone.
Through the optional implementation mode, the user of the wearable device and/or the target mobile phone can know the distance change between the two devices through the change of the target prompt message, so that the route between the user and the other user is determined according to the target prompt message, and the two people can find the other side.
Optionally, the positioning device is a target mobile phone, and with reference to fig. 4, as shown in fig. 6, the positioning device further includes:
the display module 405 is configured to display a schematic diagram indicating a relative position between the wearable device and the target mobile phone, and display latitude and longitude information of the wearable device in the schematic diagram.
Further, the positioning method of the wearable device provided by the embodiment of the invention can be applied to the scene that the user of the wearable device meets the user of the target mobile phone. As an alternative implementation, the positioning apparatus may further include the following units, not shown in the figure:
and the output unit is used for outputting target prompt information after the display unit displays the schematic diagram, the target prompt information is used for indicating the distance between the wearable device and the target mobile phone, and the target prompt information changes along with the change of the distance between the wearable device and the target mobile phone.
Through the optional implementation mode, the user of the target mobile phone can know the distance change between the two devices through the change of the target prompt message, so that the route between the user and the other user is determined according to the target prompt message, and the two people can find the other side.
As an optional implementation manner, the manner of outputting the target prompt information by the output unit may include at least one of the following:
1. the output unit controls the vibration of the target mobile phone.
2. The output unit controls the screen display color of the target mobile phone.
3. The output unit controls the display of distance information in the screen of the target mobile phone.
4. The output unit controls ringing of the target mobile phone and the like.
For example, taking the case that the output unit controls the target mobile phone to output the target prompt message as the vibration of the target mobile phone, the output unit may control the target mobile phone to change the vibration frequency with the change of the target distance. Specifically, the vibration frequency of the target mobile phone may be gradually increased when the target distance is increased, and the vibration frequency of the target mobile phone may be gradually decreased when the target distance is decreased. Therefore, under the condition that the vibration frequency of the target mobile phone is higher and higher, the user of the target mobile phone can know that the distance between the user of the wearable device and the user of the target mobile phone is closer and closer, and on the contrary, under the condition that the vibration frequency of the target mobile phone is lower and lower, the user of the target mobile phone can know that the distance between the user of the wearable device and the user of the target mobile phone is farther and farther.
For example, taking the case that the output unit controls the target mobile phone to output the target prompt message as the screen display color of the target mobile phone, the output unit may control the target mobile phone to change the screen color with the change of the target distance.
For example, taking the case that the output unit controls the target mobile phone to output the target prompt message as the display distance information in the screen of the target mobile phone, the output unit may control the target mobile phone to change the color displayed on the screen of the target mobile phone along with the change of the target distance.
For example, taking the output unit controlling the target mobile phone to output the target prompt information as the target mobile phone ring as an example, the output unit may control the target mobile phone to change the sound and/or frequency of the target mobile phone ring along with the change of the target distance.
As an alternative implementation, the positioning device may further include the following modules not shown in the existing drawings:
as shown in fig. 7, an embodiment of the present invention further provides a mobile phone, where the mobile phone may include:
a memory 501 in which executable program code is stored;
a processor 502 coupled to the memory 501;
the processor 502 calls the executable program code stored in the memory 501 to execute the positioning method of the wearable device executed by the mobile phone in the above embodiments of the methods.
It should be noted that the mobile phone shown in fig. 7 may further include components, which are not shown, such as a battery, an input key, a speaker, a microphone, a screen, an RF circuit, a Wi-Fi module, a bluetooth module, and a sensor, which are not described in detail in this embodiment.
Embodiments of the present invention provide a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute some or all of the steps of the method as in the above method embodiments.
Embodiments of the present invention also provide a computer program product, wherein the computer program product, when run on a computer, causes the computer to perform some or all of the steps of the method as in the above method embodiments.
Embodiments of the present invention further provide an application publishing platform, where the application publishing platform is configured to publish a computer program product, where the computer program product, when running on a computer, causes the computer to perform some or all of the steps of the method in the above method embodiments.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are exemplary and alternative embodiments, and that the acts and modules illustrated are not required in order to practice the invention.
The positioning device provided by the embodiment of the present invention can implement each process shown in the above method embodiments, and is not described herein again to avoid repetition.
In various embodiments of the present invention, it should be understood that the sequence numbers of the above-mentioned processes do not imply an inevitable order of execution, and the execution order of the processes should be determined by their functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present invention, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of each embodiment of the present invention.
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 hardware instructions of a program, and the program 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, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.

Claims (8)

1. A method for positioning a wearable device, the method comprising:
acquiring first data, wherein the first data is the signal strength of at least one first wireless access point searched by the wearable device;
acquiring second data, wherein the second data is the signal strength of at least one second wireless access point searched by the target mobile phone;
calculating the number of the same third wireless access points in the at least one first target wireless access point and the at least one second target wireless access point; the first target wireless access point is an access point of the at least one first wireless access point, the signal strength of which is greater than or equal to a first preset strength, and the second target wireless access point is an access point of the at least one second wireless access point, the signal strength of which is greater than or equal to the first preset strength;
if the number of the third wireless access points is larger than the preset number, judging whether the first data comprises the signal intensity of the Bluetooth of the target mobile phone;
if so; and acquiring the position of the target mobile phone, and calculating the position of the wearable device according to the position of the target mobile phone and the signal intensity of the Bluetooth of the target mobile phone.
2. The method of claim 1, further comprising:
if the first data does not comprise the signal intensity of the Bluetooth of the target mobile phone, calculating the number of the same fourth wireless access points in at least one third target wireless access point and at least one fourth target wireless access point;
if the number of the fourth wireless access points is larger than a preset number, acquiring the signal intensity of the fourth wireless access points searched by the target mobile phone from the second data, and acquiring the signal intensity of the fourth wireless access points searched by the wearable device from the first data;
calculating the position of the wearable device according to the position of the target mobile phone, the signal strength of the fourth wireless access point searched by the target mobile phone and the signal strength of the fourth wireless access point searched by the wearable device;
the third target wireless access point is an access point of which the signal strength is greater than or equal to a second preset strength in the at least one first wireless access point, the fourth target wireless access point is an access point of which the signal strength is greater than or equal to the second preset strength in the at least one second wireless access point, and the second preset strength is greater than the first preset strength.
3. The method according to claim 1 or 2, applied to a server, further comprising, after calculating the location of the wearable device:
and sending the position of the wearable device to the wearable device and/or the target mobile phone.
4. The method of claim 1 or 2, wherein the method is applied to a mobile phone, and after calculating the position of the wearable device, the method further comprises:
displaying a schematic diagram for indicating the relative position between the wearable device and the target mobile phone, and displaying longitude and latitude information of the wearable device in the schematic diagram.
5. A positioning apparatus, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring first data, and the first data is the signal strength of at least one first wireless access point searched by the wearable device;
the acquiring unit is further configured to acquire second data, where the second data includes signal strength of at least one second wireless access point searched by the target mobile phone;
a calculating unit, configured to calculate the number of the same third wireless access points in the at least one first target wireless access point and the at least one second target wireless access point; the first target wireless access point is an access point of the at least one first wireless access point, the signal strength of which is greater than or equal to a first preset strength, and the second target wireless access point is an access point of the at least one second wireless access point, the signal strength of which is greater than or equal to the first preset strength;
a determining unit, configured to determine whether the first data includes a signal strength of the bluetooth of the target mobile phone if the number of the third wireless access points is greater than a preset number;
the computing unit is further used for if so; and acquiring the position of the target mobile phone, and calculating the position of the wearable device according to the position of the target mobile phone and the signal intensity of the Bluetooth of the target mobile phone.
6. The pointing device of claim 5,
the calculating unit is further configured to calculate the number of the same fourth wireless access points in the at least one third target wireless access point and the at least one fourth target wireless access point if the determining unit determines that the first data does not include the signal strength of the bluetooth of the target mobile phone;
if the number of the fourth wireless access points is larger than a preset number, acquiring the signal intensity of the fourth wireless access points searched by the target mobile phone from the second data, and acquiring the signal intensity of the fourth wireless access points searched by the wearable device from the first data;
calculating the position of the wearable device according to the position of the target mobile phone, the signal strength of the fourth wireless access point searched by the target mobile phone and the signal strength of the fourth wireless access point searched by the wearable device;
the third target wireless access point is an access point of which the signal strength is greater than or equal to a second preset strength in the at least one first wireless access point, the fourth target wireless access point is an access point of which the signal strength is greater than or equal to the second preset strength in the at least one second wireless access point, and the second preset strength is greater than the first preset strength.
7. The positioning apparatus according to claim 5 or 6, wherein the positioning apparatus is a server, the positioning apparatus further comprising:
a sending unit, configured to send the location of the wearable device to the wearable device and/or the target cell phone after the computing unit computes the location of the wearable device.
8. The positioning apparatus according to claim 5 or 6, wherein the positioning apparatus is a target handset, the positioning apparatus further comprising:
the display unit is used for displaying a schematic diagram used for indicating the relative position between the wearable device and the target mobile phone, and displaying longitude and latitude information of the wearable device in the schematic diagram.
CN201910565396.7A 2019-06-26 2019-06-26 Positioning method of wearable device and service device Active CN111757245B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910565396.7A CN111757245B (en) 2019-06-26 2019-06-26 Positioning method of wearable device and service device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910565396.7A CN111757245B (en) 2019-06-26 2019-06-26 Positioning method of wearable device and service device

Publications (2)

Publication Number Publication Date
CN111757245A CN111757245A (en) 2020-10-09
CN111757245B true CN111757245B (en) 2022-07-08

Family

ID=72672857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910565396.7A Active CN111757245B (en) 2019-06-26 2019-06-26 Positioning method of wearable device and service device

Country Status (1)

Country Link
CN (1) CN111757245B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113316082B (en) * 2021-05-26 2022-06-14 Oppo广东移动通信有限公司 Pairing method, pairing device, mobile terminal and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581828B (en) * 2013-11-14 2017-02-08 三星电子(中国)研发中心 Method for inquiring nearby mobile terminals, server and system
CN105704669A (en) * 2016-03-25 2016-06-22 上海智向信息科技有限公司 Wearable-equipment-based user positioning method and system
CN107948953A (en) * 2016-10-13 2018-04-20 中兴通讯股份有限公司 Location determining method and device, the terminal of a kind of wearable device
WO2018145289A1 (en) * 2017-02-09 2018-08-16 深圳市汇顶科技股份有限公司 Positioning method and apparatus based on bluetooth ble
CN106912003A (en) * 2017-02-22 2017-06-30 上海斐讯数据通信技术有限公司 A kind of short distance hunting system and object method for searching
CN108833682A (en) * 2018-05-28 2018-11-16 广东小天才科技有限公司 Position reminding method and device

Also Published As

Publication number Publication date
CN111757245A (en) 2020-10-09

Similar Documents

Publication Publication Date Title
JP5663139B2 (en) Portable terminal device and positioning result acquisition interval setting method thereof
US20070213178A1 (en) Mobile communication terminal
KR100815524B1 (en) Method of scheduling using portable terminal and navigation terminal
KR20040054838A (en) System and method for providing a position information of mobile communication terminal
US11570745B2 (en) Positioning method and apparatus
US10088575B2 (en) Positioning system, positioning apparatus, storage apparatus, and positioning method
CN112312308A (en) Indoor positioning method and terminal equipment
GB2422988A (en) Communication terminal map display including location and environmental information
CN111757245B (en) Positioning method of wearable device and service device
KR20130044787A (en) Apparatus and method for providing advertisement data in a portable terminal and system thereof
JP2012021851A (en) Portable terminal and control method
CN108401502B (en) Measurement configuration method and device
US20230328681A1 (en) Terminal positioning method and apparatus, communication device, and storage medium
GB2452734A (en) Portable device determining and storing a location at which the device is stationary
CN109041212B (en) Positioning method and wearable device
JP3746704B2 (en) Location search system
CN111757463B (en) Indoor positioning method and terminal equipment
CN111757261B (en) Method for determining indoor position and terminal equipment
KR101215865B1 (en) Location based service offer method that use external wireless GPS receiver that use personal cellular phone
KR20070057554A (en) Golf course hole distance measuring apparatus and method using gps portable terminal
KR20050061791A (en) Method for informing the fact of being in the discounting zone in mobile phone
CN111757268B (en) Method for determining building position based on NFC assistance and terminal equipment
CN115200606A (en) Movement distance calculation method and wearable device
KR20030053928A (en) Method for informing of arrival/exit of specific area and mobile phone implementing the same
KR20070033622A (en) How to provide shopping items according to the location of the terminal

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