CN111757247A - Data sharing method based on wearable device and wearable device - Google Patents
Data sharing method based on wearable device and wearable device Download PDFInfo
- Publication number
- CN111757247A CN111757247A CN201910672813.8A CN201910672813A CN111757247A CN 111757247 A CN111757247 A CN 111757247A CN 201910672813 A CN201910672813 A CN 201910672813A CN 111757247 A CN111757247 A CN 111757247A
- Authority
- CN
- China
- Prior art keywords
- wearable device
- information
- path
- peer
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 230000004044 response Effects 0.000 claims description 3
- 238000001514 detection method Methods 0.000 claims description 2
- 238000004590 computer program Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 238000012795 verification Methods 0.000 description 6
- 238000003860 storage Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000005457 optimization Methods 0.000 description 3
- 238000009825 accumulation Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a data sharing method based on wearable equipment and the wearable equipment, wherein the method comprises the following steps: the first wearable device sends a data sharing instruction to a second wearable device connected with the first wearable device through Bluetooth, so that the second wearable device responds to the data sharing instruction and sends the positioning information of the second wearable device to the first wearable device; the positioning information at least comprises first track information and Wi-Fi fingerprint database information of a user wearing the second wearable device; the first wearable device determines a target path from the first track information; the first wearable device searches for a positioning record of a target positioning point contained in a target path in the Wi-Fi fingerprint database information; and the first wearable device obtains a target Wi-Fi fingerprint database corresponding to the target path according to the positioning record. By implementing the embodiment of the invention, the utilization rate of the positioning data can be effectively improved.
Description
Technical Field
The invention relates to the technical field of wearable equipment, in particular to a data sharing method based on wearable equipment and the wearable equipment.
Background
Before Wi-Fi fingerprint positioning, most of existing wearable devices generally need to perform offline signal acquisition, that is, to acquire the signal strength of wireless access points around each reference point in the user's activity range, and to construct a Wi-Fi fingerprint database according to the signal strength of the wireless access point of each reference point and the location information of the reference point. In practice, it is found that a plurality of users (students in the same school, the same year, the same cell, the same building and the same floor) with large daily activity range overlapping degrees often have more overlapping in Wi-Fi fingerprint databases stored on their wearable devices, and if their wearable devices perform offline signal acquisition in the activity overlapping ranges before performing Wi-Fi fingerprint positioning, the utilization rate of data is seriously reduced.
Disclosure of Invention
The embodiment of the invention discloses a data sharing method based on wearable equipment and the wearable equipment, which can improve the utilization rate of positioning data.
The first aspect of the embodiments of the present invention discloses a data sharing method based on wearable devices, including:
the method comprises the steps that a first wearable device sends a data sharing instruction to a second wearable device connected with the first wearable device through Bluetooth, so that the second wearable device responds to the data sharing instruction and sends positioning information of the second wearable device to the first wearable device; wherein the positioning information comprises at least first trajectory information and Wi-Fi fingerprint library information of a user wearing the second wearable device;
the first wearable device determines a target path from the first trajectory information;
the first wearable device searches for a positioning record of a target positioning point contained in the target path in the Wi-Fi fingerprint database information;
and the first wearable device obtains a target Wi-Fi fingerprint database corresponding to the target path according to the positioning record.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, before the sending, by the first wearable device, the data sharing instruction to the second wearable device connected to the bluetooth of the first wearable device, the method further includes:
the method comprises the steps that a first wearable device obtains user information of a second wearable device connected with the first wearable device through Bluetooth;
the first wearable device calculates a relevancy index of the first wearable device and the second wearable device by comparing user information of the first wearable device with user information of the second wearable device;
the first wearable device sends a data sharing instruction to a second wearable device connected with the first wearable device through Bluetooth, and the data sharing instruction comprises the following steps:
and when the correlation index is larger than a preset numerical value, the first wearable device sends a data sharing instruction to a second wearable device connected with the first wearable device through Bluetooth.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the first wearable device sends a data sharing instruction to a second wearable device connected to a bluetooth of the first wearable device when the relevance index is greater than a preset value, the method further includes:
the first wearable device marks a relevant recommended path in the first track information;
the first wearable device determines a target path from the first trajectory information, including:
the first wearable device determines a target path from the relevant recommended paths.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the first wearable device determines the target path from the trajectory information, the method further includes:
the first wearable device detecting whether a peer-to-peer path of the target path exists in second trajectory information of a user of the first wearable device;
if yes, comparing the average time of the target path with the average time of the peer-to-peer path to obtain a comparison result;
when the comparison result indicates that the average time of the target path is less than the average time of the peer-to-peer path, the first wearable device performs the locating record of the target locating point contained in the target path in the Wi-Fi fingerprint library information.
As an optional implementation manner, in the first aspect of this embodiment of the present invention, when the comparison result indicates that the average time duration of the target path is greater than the average time duration of the peer path, the method further includes:
the first wearable device sends the peer-to-peer path and a Wi-Fi fingerprint database corresponding to the peer-to-peer path to the second wearable device, so that the second wearable device updates the positioning information.
A second aspect of the embodiments of the present invention discloses a first wearable device, including:
a first sending unit, configured to send a data sharing instruction to a second wearable device bluetooth-connected to the first wearable device, so that the second wearable device sends, in response to the data sharing instruction, location information of the second wearable device to the first wearable device; wherein the positioning information comprises at least first trajectory information and Wi-Fi fingerprint library information of a user wearing the second wearable device;
a determining unit, configured to determine a target path from the first trajectory information;
the searching unit is used for searching the positioning record of the target positioning point contained in the target path in the Wi-Fi fingerprint database information; and obtaining a target Wi-Fi fingerprint database corresponding to the target path according to the positioning record.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the first wearable device further includes:
the acquisition unit is used for acquiring user information of a second wearable device connected with a first wearable device in a Bluetooth mode before the first sending unit sends a data sharing instruction to the second wearable device connected with the first wearable device in the Bluetooth mode;
the analysis unit is used for calculating a correlation index of the first wearable device and the second wearable device by comparing the user information of the first wearable device with the user information of the second wearable device;
the first sending unit is specifically configured to send a data sharing instruction to a second wearable device connected to the first wearable device in a bluetooth manner when the correlation index is greater than a preset numerical value.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the first wearable device further includes:
the marking unit is used for marking a relevant recommended path in the first track information after the first sending unit sends a data sharing instruction to a second wearable device connected with the first wearable device through Bluetooth when the relevancy index is larger than a preset numerical value;
the determining unit is configured to determine the target path from the first trajectory information in a specific manner:
the determining unit is used for determining a target path from the related recommended paths.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the first wearable device further includes:
a detection unit, configured to detect whether a peer-to-peer path of the target path exists in second trajectory information of the user of the first wearable device after the determination unit determines the target path from the first trajectory information;
a comparing unit, configured to compare the average time of the target path with the average time of the peer-to-peer path to obtain a comparison result; and when the comparison result indicates that the average time of the target path is less than the average time of the peer-to-peer path, triggering the search unit to perform the operation of searching the Wi-Fi fingerprint library information for the positioning record of the target positioning point contained in the target path.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the first wearable device further includes:
a second sending unit, configured to send, to the second wearable device, the peer-to-peer path and a Wi-Fi fingerprint library corresponding to the peer-to-peer path when the comparison result indicates that the average usage of the target path is greater than the average usage of the peer-to-peer path, so as to cause the second wearable device to update the positioning information.
A third aspect of the embodiments of the present invention discloses a first wearable 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 perform part or all of the steps of any one of the methods of the first aspect of the invention.
A fourth aspect of the embodiments of the present invention discloses a computer-readable storage medium storing a computer program comprising a program for performing some or all of the steps of any one of the methods of the first aspect of the present invention.
A fifth aspect of the embodiments of the present invention discloses a computer program product, which, when run on a computer, causes the computer to perform part or all of the steps of any one of the methods of the first aspect.
A sixth aspect of the present embodiment discloses an application distribution system, configured to distribute a computer program product, where the computer program product, when running on a computer, causes the computer 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, a first wearable device sends a data sharing instruction to a second wearable device connected with the first wearable device through Bluetooth, so that the second wearable device responds to the data sharing instruction and sends the positioning information of the second wearable device to the first wearable device; the positioning information at least comprises first track information and Wi-Fi fingerprint database information of a user wearing the second wearable device; the first wearable device determines a target path from the first track information; the first wearable device searches for a positioning record of a target positioning point contained in a target path in the Wi-Fi fingerprint database information; and the first wearable device obtains a target Wi-Fi fingerprint database corresponding to the target path according to the positioning record. By implementing the embodiment of the invention, the first wearable device can share the positioning information of the second wearable device, and the target Wi-Fi fingerprint database suitable for the user wearing the second wearable device is obtained according to the positioning information of the first wearable device, so that the utilization rate of the positioning information of the second wearable device is effectively improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without making a creative effort.
Fig. 1 is a schematic flowchart of a data sharing method based on a wearable device according to an embodiment of the present invention;
FIG. 2 is a flow chart of another wearable device-based data sharing method disclosed in the embodiments of the present invention;
fig. 3 is a schematic flowchart of another wearable device-based data sharing method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a first wearable device disclosed in the embodiment of the invention;
fig. 5 is a schematic structural diagram of another first wearable device disclosed in the embodiment of the invention;
FIG. 6 is a schematic structural diagram of a first wearable device according to an embodiment of the disclosure;
fig. 7 is a schematic structural diagram of another first wearable device disclosed in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is noted that the terms "comprises," "comprising," and any variations thereof in the embodiments and drawings of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a data sharing method based on wearable equipment and the wearable equipment, which can improve the utilization rate of positioning data. In the embodiment of the present invention, the data sharing method based on the wearable device may be applied to various wearable devices such as a smart band, a smart watch, and smart glasses, and the embodiment of the present invention is not limited. The operating systems of the various wearable devices may include, but are not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a Black Berry operating system, a Windows Phone8 operating system, and the like, which is not limited in the embodiments of the present invention.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a data sharing method based on a wearable device according to an embodiment of the present invention. The wearable device-based data sharing method shown in fig. 1 may specifically include the following steps:
101. the first wearable device sends a data sharing instruction to a second wearable device connected with the first wearable device through Bluetooth, so that the second wearable device responds to the data sharing instruction and sends the positioning information of the second wearable device to the first wearable device; wherein the positioning information comprises at least first trajectory information and Wi-Fi fingerprint library information of a user wearing the second wearable device.
102. The first wearable device determines a target path from the first trajectory information.
In this embodiment of the present invention, the first track information includes several pieces of path information, and each piece of path information may include at least a path name (which may be named as an end position of the path) and identification information of an anchor point (which includes at least a start point and an end point of the path) to which the path relates. Optionally, the determining, by the first wearable device, the target path from the first trajectory information may include:
the first wearable device outputs path names of a plurality of paths contained in the first track information on a display screen of the first wearable device;
the first wearable device determines a target name according to the instruction of the selection operation of the first wearable device user, and determines a path corresponding to the target name as a target path.
By implementing the method, the path names of the paths are provided for the user to select, and the selection efficiency of the target path can be improved.
103. And the first wearable device searches the Wi-Fi fingerprint database information for the positioning record of the target positioning point contained in the target path.
In this embodiment of the present invention, the recording, in the Wi-Fi fingerprint library information, of positioning records of all positioning points included in the first trajectory information, where each positioning record may include identification information, location information, and Wi-Fi fingerprint information of a positioning point, where Wi-Fi fingerprint information of a positioning point records signal strength of Wi-Fi of the positioning point, and the searching, by the first wearable device, of a positioning record of a target positioning point included in the target path in the Wi-Fi fingerprint library information may include: the method comprises the steps that a first wearable device obtains identification information of a target positioning point contained in a target path; and acquiring a positioning record of the target positioning point from the Wi-Fi fingerprint database information according to the identification information. By implementing the method, the searching precision of the positioning record of the target positioning point can be improved.
104. And the first wearable device obtains a target Wi-Fi fingerprint database corresponding to the target path according to the positioning record of the target positioning point.
By implementing the method, the utilization rate of the positioning information of the second wearable device can be improved, the selection efficiency of the target path can be improved, and the searching precision of the positioning record of the target positioning point can be improved.
Example two
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating another data sharing method based on a wearable device according to an embodiment of the present invention. The wearable device-based data sharing method shown in fig. 2 may specifically include the following steps:
201. the first wearable device acquires user information of a second wearable device connected with the first wearable device through Bluetooth.
202. The first wearable device calculates the relevancy index of the first wearable device and the second wearable device by comparing the user information of the first wearable device with the user information of the second wearable device.
203. When the correlation index is larger than a preset value, the first wearable device sends a data sharing instruction to a second wearable device connected with the Bluetooth device, so that the second wearable device responds to the data sharing instruction and sends the positioning information of the second wearable device to the first wearable device; wherein the positioning information comprises at least first trajectory information and Wi-Fi fingerprint library information of a user wearing the second wearable device.
By executing step 201 to step 203, before the first wearable device sends a data sharing instruction to the second wearable device connected to the first wearable device via bluetooth, the correlation between the first wearable device and the second wearable device is detected, so that the utilization rate of the positioning data can be further improved.
204. The first wearable device marks the relevant recommended path in the first trajectory information.
In this embodiment of the present invention, if the first wearable device and the second wearable device are child phone watches, the user information may include feature information such as a detailed home address, a school address, information of a grade, and hobby information of the user, and the embodiment of the present invention is not particularly limited. Different weighting coefficients may be preset for different feature information of the user information, and optionally, calculating, by the first wearable device, the correlation index of the first wearable device and the second wearable device by comparing the user information of the first wearable device with the user information of the second wearable device may include:
the first wearable device obtains related characteristic information by comparing the user information of the first wearable device with the user information of the second wearable device;
and performing accumulation operation on the weight coefficients of the related characteristic information to obtain a relevancy index of the first wearable device and the second wearable device.
Further optionally, the marking, by the first wearable device, the relevant recommended path in the first trajectory information may include:
the first wearing equipment obtains a relevant recommended path according to the relevant characteristic information;
the first wearable device marks the relevant recommended path.
By implementing the method, the relevance index and the relevant recommended path of the first wearable device and the second wearable device are calculated based on the weight coefficient of the characteristic information contained in the user information, and the reasonability of the relevance index and the relevant recommended path can be effectively improved.
205. The first wearable device determines a target path from the relevant recommended paths.
In this embodiment of the present invention, the first wearable device may detect a selection instruction input by a user, and determine the target path from the relevant recommended paths according to an indication of the selection instruction, where a manner of inputting the selection instruction by the user may be operations such as voice, gesture, or pressing, and this embodiment of the present invention is not limited.
206. And the first wearable device searches the Wi-Fi fingerprint database information for the positioning record of the target positioning point contained in the target path.
207. And the first wearable device obtains a target Wi-Fi fingerprint database corresponding to the target path according to the positioning record of the target positioning point.
By implementing the method, the utilization rate of the positioning information of the second wearable device can be improved, the selection efficiency of the target path can be improved, the searching precision of the positioning record of the target positioning point can be improved, the utilization rate of the positioning information of the second wearable device can be further improved, and the relevance index and the rationality of the relevant recommended path can be effectively improved.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating another data sharing method based on a wearable device according to an embodiment of the present invention. The wearable device-based data sharing method shown in fig. 3 may specifically include the following steps:
301. the first wearable device sends a data sharing instruction to a second wearable device connected with the first wearable device through Bluetooth, so that the second wearable device responds to the data sharing instruction and sends the positioning information of the second wearable device to the first wearable device; wherein the positioning information comprises at least first trajectory information and Wi-Fi fingerprint library information of a user wearing the second wearable device.
As an optional implementation manner, in this embodiment of the present invention, before the first wearable device sends the data sharing instruction to the second wearable device connected to its bluetooth, the following steps may also be performed:
the method comprises the steps that a first wearable device sends a Bluetooth connection request carrying a device identifier of the first wearable device to a second wearable device, so that the second wearable device conducts identity verification on the first wearable device according to the device identifier of the first wearable device, and when the identity verification is passed, indication information used for indicating Bluetooth connection success is sent to the first wearable device;
the first wearable device sends a data sharing instruction to a second wearable device connected with the first wearable device through Bluetooth, and the data sharing instruction may include:
and when the first wearable device receives the indication information, the first wearable device sends a data sharing instruction to a second wearable device connected with the Bluetooth device.
By implementing the method, the first wearable device is subjected to identity verification in the Bluetooth connection process of the first wearable device and the second wearable device, and the improvement of data security is facilitated.
302. The first wearable device determines a target path from the first trajectory information.
For detailed descriptions of steps 301 to 302, please refer to the description in the first embodiment, which is not repeated herein.
303. The first wearable device detects whether a peer-to-peer path of the target path exists in the second track information of the user of the first wearable device, and if yes, steps 304-307 are executed; if not, the flow is ended.
In the embodiment of the present invention, the peer-to-peer path is the same as the start point and the end point of the target path, and the positioning point included in the peer-to-peer path is not completely consistent with the positioning point included in the target path. When the determination result in step 303 is negative, the first wearable device may search, in the Wi-Fi fingerprint library information, a positioning record of a target positioning point included in the target path, and continue to execute step 306.
304. And comparing the average time of the target path with the average time of the peer path to obtain a comparison result.
305. When the comparison result indicates that the average consumption time of the target path is less than that of the peer-to-peer path, the first wearable device searches the Wi-Fi fingerprint database information for a positioning record of a target positioning point contained in the target path.
306. And the first wearable device obtains a target Wi-Fi fingerprint database corresponding to the target path according to the positioning record of the target positioning point.
307. When the comparison result indicates that the average use time of the target path is greater than the average use time of the peer-to-peer path, the first wearable device sends the peer-to-peer path and the Wi-Fi fingerprint database corresponding to the peer-to-peer path to the second wearable device, so that the second wearable device updates the positioning information.
By executing step 304 to step 307, the updating optimization of the second trajectory information and the first trajectory information is realized by comparing the peer-to-peer path and the target path, and the use experience of the user can be improved.
By implementing the method, the utilization rate of the positioning information of the second wearable device can be improved, the selection efficiency of the target path can be improved, the searching precision of the positioning record of the target positioning point can be improved, the updating optimization of the second track information and the first track information can be realized, the use experience of a user can be improved, and the improvement of data safety is facilitated.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of a first wearable device according to an embodiment of the disclosure. As shown in fig. 4, the first wearable device may include:
a first sending unit 401, configured to send a data sharing instruction to a second wearable device bluetooth-connected to a first wearable device, so that the second wearable device sends, in response to the data sharing instruction, location information of the second wearable device to the first wearable device; wherein the positioning information comprises at least first trajectory information and Wi-Fi fingerprint library information of a user wearing the second wearable device.
A determining unit 402, configured to determine the target path from the first track information.
In this embodiment of the present invention, the first track information includes several pieces of path information, and each piece of path information may include at least a path name (which may be named as an end position of the path) and identification information of an anchor point (which includes at least a start point and an end point of the path) to which the path relates. Optionally, the manner that the determining unit 402 is configured to determine the target path from the first track information may specifically be:
a determining unit 402, configured to output path names of the paths included in the first trajectory information on a display screen of the first wearable device; and determining a target name according to the instruction of the selection operation of the first wearable device user, and determining a path corresponding to the target name as a target path. By implementing the method, the path names of the paths are provided for the user to select, and the selection efficiency of the target path can be improved.
A searching unit 403, configured to search, in the Wi-Fi fingerprint library information, a positioning record of a target positioning point included in a target path; and obtaining a target Wi-Fi fingerprint database corresponding to the target path according to the positioning record of the target positioning point.
In the embodiment of the present invention, for the description of the first track information, please refer to the description in the first embodiment, which is not repeated herein. The manner of the searching unit 403 used for searching the positioning record of the target positioning point included in the target path in the Wi-Fi fingerprint library information may specifically be: a searching unit 403, configured to obtain identification information of a target location point included in a target path; and acquiring a positioning record of the target positioning point from the Wi-Fi fingerprint database information according to the identification information. By implementing the method, the searching precision of the positioning record of the target positioning point can be improved.
By implementing the first wearable device, the utilization rate of the positioning information of the second wearable device can be improved, the selection efficiency of the target path can be improved, and the searching precision of the positioning record of the target positioning point can be improved.
EXAMPLE five
Referring to fig. 5, fig. 5 is a schematic structural diagram of another first wearable device according to an embodiment of the disclosure. The first wearable device shown in fig. 5 is optimized by the first wearable device shown in fig. 4, and as shown in fig. 5, the first wearable device may further include:
an obtaining unit 404, configured to obtain user information of a second wearable device bluetooth-connected to the first wearable device before the first sending unit 401 sends the data sharing instruction to the second wearable device bluetooth-connected to the first wearable device.
An analyzing unit 405, configured to calculate a correlation index between the first wearable device and the second wearable device by comparing the user information of the first wearable device and the user information of the second wearable device.
The first sending unit 401 is specifically configured to send a data sharing instruction to a second wearable device connected to the first wearable device in a bluetooth manner when the correlation index is greater than a preset value.
In the embodiment of the present invention, before the first sending unit 401 sends the data sharing instruction to the second wearable device connected to the first wearable device in a bluetooth manner, the analyzing unit 405 detects the correlation between the first wearable device and the second wearable device, so as to further improve the utilization rate of the positioning data.
Optionally, the first wearable device may further include:
the marking unit 406 is configured to mark, by the first sending unit 401, the relevant recommended path in the first track information after sending the data sharing instruction to the second wearable device connected to the first wearable device in the bluetooth mode when the relevance index is greater than the preset value.
In this embodiment of the present invention, if the first wearable device and the second wearable device are child phone watches, the user information may include feature information such as a detailed home address, a school address, information of a grade, and hobby information of the user, and the embodiment of the present invention is not particularly limited. Different weighting coefficients may be preset for different feature information of the user information, and optionally, the manner that the analysis unit 405 is configured to calculate the correlation index between the first wearable device and the second wearable device by comparing the user information of the first wearable device with the user information of the second wearable device may specifically be:
an analysis unit 405, configured to obtain relevant characteristic information by comparing user information of the first wearable device with user information of the second wearable device; and performing accumulation operation on the weight coefficients of the related characteristic information to obtain a relevancy index of the first wearable device and the second wearable device.
Further optionally, the manner that the marking unit 406 is used for marking the relevant recommended path in the first track information may specifically be:
a marking unit 406, configured to obtain a relevant recommended path according to the relevant characteristic information; and marking the relevant recommended path.
By implementing the above mode, the relevance index and the relevant recommended path of the first wearable device and the second wearable device are calculated based on the weight coefficient of the feature information contained in the user information, and the reasonability of the relevance index and the relevant recommended path can be effectively improved.
The manner of determining the target path from the first track information by the determining unit 402 may specifically be: a determining unit 402, configured to determine a target path from the relevant recommended paths.
Through implementing above-mentioned first wearable equipment, can improve the utilization ratio of the location information of the wearable equipment of second, can also improve the efficiency of selecting of target route, can also improve the precision of looking for of the location record of target setpoint, can also further improve the utilization ratio of the location information of the wearable equipment of second, can also effectively improve the rationality of relevance index and relevant recommendation route.
EXAMPLE six
Referring to fig. 6, fig. 6 is a schematic structural diagram of another first wearable device according to an embodiment of the disclosure. The first wearable device shown in fig. 6 is optimized by the first wearable device shown in fig. 4, and the first wearable device shown in fig. 6 further includes:
a detecting unit 407, configured to detect whether a peer-to-peer path of the target path exists in the second trajectory information of the user of the first wearable device after the determining unit 402 determines the target path from the first trajectory information.
As an optional implementation manner, in this embodiment of the present invention, the first sending unit 401 may be further configured to send, before sending the data sharing instruction to a second wearable device connected to the first wearable device in a bluetooth manner, a bluetooth connection request carrying an apparatus identifier of the first wearable device to the second wearable device, so that the second wearable device performs identity verification on the first wearable device according to the apparatus identifier of the first wearable device, and sends, when the identity verification passes, indication information indicating that the bluetooth connection is successful to the first wearable device;
the way that the first sending unit 401 is used to send the data sharing instruction to the second wearable device connected to the first wearable device by bluetooth is specifically: the first sending unit 401 is configured to send a data sharing instruction to a second wearable device connected to the first wearable device in a bluetooth manner when receiving the indication information. According to the embodiment, in the process of Bluetooth connection between the first wearable device and the second wearable device, identity verification is carried out on the first wearable device, and improvement of data safety is facilitated.
A comparing unit 408, configured to compare the average elapsed time of the target path with the average elapsed time of the peer-to-peer path to obtain a comparison result; and when the comparison result indicates that the average usage of the target path is less than the average usage of the peer-to-peer path, triggering the search unit 403 to perform the above-mentioned operation of searching for the positioning record of the target positioning point contained in the target path in the Wi-Fi fingerprint database information.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the first wearable device further includes:
a second sending unit 409, configured to send the Wi-Fi fingerprint library corresponding to the peer-to-peer path and the peer-to-peer path to the second wearable device when the comparison result indicates that the average usage of the target path is greater than the average usage of the peer-to-peer path, so that the second wearable device updates the positioning information.
Through implementing above-mentioned first wearable equipment, can improve the utilization ratio of the location information of the wearable equipment of second, can also improve the efficiency of selecting of target route, can also improve the precision of seeking of the location record of target setpoint, can also realize the update optimization of second track information and first track information to improve user's use and experience the sense, still be favorable to improving data security.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a first wearable device according to an embodiment of the disclosure. As shown in fig. 7, the first wearable device 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 any one of the data sharing methods based on the wearable device in fig. 1 to 3.
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program, wherein the computer program enables a computer to execute any one of the data sharing methods based on wearable equipment in figures 1-3.
The embodiment of the invention discloses a computer program product, which enables a computer to execute any one of the data sharing methods based on wearable equipment in figures 1-3 when the computer program product runs on the computer.
The embodiment of the invention discloses an application issuing system, which is used for issuing a computer program product, wherein when the computer program product runs on a computer, the computer is enabled to execute any one of data sharing methods based on wearable equipment in figures 1-3.
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 wearable device and the data sharing method based on the wearable device disclosed in the embodiments of the present invention are described in detail above, and specific examples are applied in this document to explain the principles and implementations of the present invention, and the size of the step numbers in the specific examples does not mean that the execution sequence is necessarily sequential, and the execution sequence of each process should be determined by its function and internal logic, but should not be limited to the implementation process of the embodiments of the present invention. The units described as separate parts may or may not be physically separate, and some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
The character "/" herein generally indicates that the former and latter associated objects are in an "or" relationship. In the embodiments provided herein, it should be understood that "B corresponding to A" means that B is associated with A from which B can be determined. It should also be understood, however, that determining B from a does not mean determining B from a alone, but may also be determined from a and/or other information. 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. If the integrated unit is implemented as a software functional unit and sold or used as a stand-alone product, it may be stored in a memory accessible to a computer. 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.
The above description of the embodiments is only intended to facilitate the understanding of the method of the invention and its core ideas; 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 (10)
1. A data sharing method based on a wearable device is characterized by comprising the following steps:
the method comprises the steps that a first wearable device sends a data sharing instruction to a second wearable device connected with the first wearable device through Bluetooth, so that the second wearable device responds to the data sharing instruction and sends positioning information of the second wearable device to the first wearable device; wherein the positioning information comprises at least first trajectory information and Wi-Fi fingerprint library information of a user wearing the second wearable device;
the first wearable device determines a target path from the first trajectory information;
the first wearable device searches for a positioning record of a target positioning point contained in the target path in the Wi-Fi fingerprint database information;
and the first wearable device obtains a target Wi-Fi fingerprint database corresponding to the target path according to the positioning record.
2. The method of claim 1, wherein before the first wearable device sends the data sharing instruction to the second wearable device connected to the first wearable device via bluetooth, the method further comprises:
the method comprises the steps that a first wearable device obtains user information of a second wearable device connected with the first wearable device through Bluetooth;
the first wearable device calculates a relevancy index of the first wearable device and the second wearable device by comparing user information of the first wearable device with user information of the second wearable device;
the first wearable device sends a data sharing instruction to a second wearable device connected with the first wearable device through Bluetooth, and the data sharing instruction comprises the following steps:
and when the correlation index is larger than a preset numerical value, the first wearable device sends a data sharing instruction to a second wearable device connected with the first wearable device through Bluetooth.
3. The method according to claim 2, wherein after the first wearable device sends a data sharing instruction to a second wearable device connected to the first wearable device via bluetooth when the relevancy index is greater than a preset value, the method further comprises:
the first wearable device marks a relevant recommended path in the first track information;
the first wearable device determines a target path from the first trajectory information, including:
the first wearable device determines a target path from the relevant recommended paths.
4. The method of claim 1, wherein after the first wearable device determines a target path from the trajectory information, the method further comprises:
the first wearable device detecting whether a peer-to-peer path of the target path exists in second trajectory information of a user of the first wearable device;
if yes, comparing the average time of the target path with the average time of the peer-to-peer path to obtain a comparison result;
when the comparison result indicates that the average time of the target path is less than the average time of the peer-to-peer path, the first wearable device performs the locating record of the target locating point contained in the target path in the Wi-Fi fingerprint library information.
5. The method of claim 4, wherein when the comparison result indicates that the average utilization of the target path is greater than the average utilization of the peer-to-peer path, the method further comprises:
the first wearable device sends the peer-to-peer path and a Wi-Fi fingerprint database corresponding to the peer-to-peer path to the second wearable device, so that the second wearable device updates the positioning information.
6. A first wearable device, comprising:
a first sending unit, configured to send a data sharing instruction to a second wearable device bluetooth-connected to the first wearable device, so that the second wearable device sends, in response to the data sharing instruction, location information of the second wearable device to the first wearable device; wherein the positioning information comprises at least first trajectory information and Wi-Fi fingerprint library information of a user wearing the second wearable device;
a determining unit, configured to determine a target path from the first trajectory information;
the searching unit is used for searching the positioning record of the target positioning point contained in the target path in the Wi-Fi fingerprint database information; and obtaining a target Wi-Fi fingerprint database corresponding to the target path according to the positioning record.
7. The first wearable device of claim 6, further comprising:
the acquisition unit is used for acquiring user information of a second wearable device connected with a first wearable device in a Bluetooth mode before the first sending unit sends a data sharing instruction to the second wearable device connected with the first wearable device in the Bluetooth mode;
the analysis unit is used for calculating a correlation index of the first wearable device and the second wearable device by comparing the user information of the first wearable device with the user information of the second wearable device;
the first sending unit is specifically configured to send a data sharing instruction to a second wearable device connected to the first wearable device in a bluetooth manner when the correlation index is greater than a preset numerical value.
8. The first wearable device of claim 7, further comprising:
the marking unit is used for marking a relevant recommended path in the first track information after the first sending unit sends a data sharing instruction to a second wearable device connected with the first wearable device through Bluetooth when the relevancy index is larger than a preset numerical value;
the determining unit is configured to determine the target path from the first trajectory information in a specific manner:
the determining unit is used for determining a target path from the related recommended paths.
9. The first wearable device of claim 6, further comprising:
a detection unit, configured to detect whether a peer-to-peer path of the target path exists in second trajectory information of the user of the first wearable device after the determination unit determines the target path from the first trajectory information;
a comparing unit, configured to compare the average time of the target path with the average time of the peer-to-peer path to obtain a comparison result; and when the comparison result indicates that the average time of the target path is less than the average time of the peer-to-peer path, triggering the search unit to perform the operation of searching the Wi-Fi fingerprint library information for the positioning record of the target positioning point contained in the target path.
10. The first wearable device of claim 9, further comprising:
a second sending unit, configured to send the peer-to-peer path and a Wi-Fi fingerprint library corresponding to the peer-to-peer path to the second wearable device when the comparison result indicates that the average time of the target path is greater than the average time of the peer-to-peer path, so that the second wearable device updates the positioning information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910672813.8A CN111757247B (en) | 2019-07-24 | 2019-07-24 | Data sharing method based on wearable device and wearable device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910672813.8A CN111757247B (en) | 2019-07-24 | 2019-07-24 | Data sharing method based on wearable device and wearable device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111757247A true CN111757247A (en) | 2020-10-09 |
CN111757247B CN111757247B (en) | 2022-01-28 |
Family
ID=72672757
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910672813.8A Active CN111757247B (en) | 2019-07-24 | 2019-07-24 | Data sharing method based on wearable device and wearable device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111757247B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105263113A (en) * | 2015-10-26 | 2016-01-20 | 深圳大学 | Wi-Fi location fingerprint map building method and system based on crowd-sourcing |
EP3136128A1 (en) * | 2014-04-25 | 2017-03-01 | Samsung Electronics Co., Ltd. | Trajectory matching using peripheral signal |
US20180091953A1 (en) * | 2016-09-28 | 2018-03-29 | Mapsted Corp | Crowd-sourced passive positioning and calibration |
CN107948956A (en) * | 2017-11-07 | 2018-04-20 | 北京小米移动软件有限公司 | Localization method and device |
CN109874112A (en) * | 2017-12-05 | 2019-06-11 | 华为技术有限公司 | A kind of method and terminal of positioning |
-
2019
- 2019-07-24 CN CN201910672813.8A patent/CN111757247B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3136128A1 (en) * | 2014-04-25 | 2017-03-01 | Samsung Electronics Co., Ltd. | Trajectory matching using peripheral signal |
CN105263113A (en) * | 2015-10-26 | 2016-01-20 | 深圳大学 | Wi-Fi location fingerprint map building method and system based on crowd-sourcing |
US20180091953A1 (en) * | 2016-09-28 | 2018-03-29 | Mapsted Corp | Crowd-sourced passive positioning and calibration |
CN107948956A (en) * | 2017-11-07 | 2018-04-20 | 北京小米移动软件有限公司 | Localization method and device |
CN109874112A (en) * | 2017-12-05 | 2019-06-11 | 华为技术有限公司 | A kind of method and terminal of positioning |
Also Published As
Publication number | Publication date |
---|---|
CN111757247B (en) | 2022-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2018264440B2 (en) | Identity authentication method, device and system | |
CN111782943B (en) | Information recommendation method, device, equipment and medium based on historical data record | |
US10282477B2 (en) | Method, system and apparatus for searching for user in social network | |
JP3838014B2 (en) | Preference learning device, preference learning system, preference learning method, and recording medium | |
US8990011B2 (en) | Determining user device's starting location | |
CN111954175B (en) | Method for judging visiting of interest point and related device | |
CN109084795B (en) | Method and device for searching service facilities based on map service | |
CN107798557A (en) | Electronic installation, the service location based on LBS data recommend method and storage medium | |
CN111460327B (en) | Method and device for searching for interest, storage medium and computer equipment | |
CN110619027B (en) | House source information recommendation method and device, terminal equipment and medium | |
CN109933714A (en) | A kind of calculation method, searching method and the relevant apparatus of entry weight | |
JP2014044675A (en) | Attractiveness evaluation device, attractiveness adjustment device, computer program for evaluating attractiveness, and computer program for adjusting attractiveness | |
KR101820505B1 (en) | Apparatus and method for generating address book based on user relationship and record medium | |
CN111174778A (en) | Building entrance determining method and device based on pedestrian dead reckoning | |
US11574625B2 (en) | Audio-based link generation | |
CN111831930A (en) | Destination information pushing method and device, electronic equipment and readable storage medium | |
CN111757247B (en) | Data sharing method based on wearable device and wearable device | |
CN110136701A (en) | Interactive voice service processing method, device and equipment | |
CN111757465A (en) | Clustering positioning method, service equipment and system | |
CN116915831A (en) | Sample data generation, model training and method for determining equipment association relation | |
CN109637225B (en) | Interactive learning method and system | |
CN110866182B (en) | House resource recommendation method, device, server and computer readable storage medium | |
KR101832398B1 (en) | Method and Apparatus for Recommending Location-Based Service Provider | |
CN109800359B (en) | Information recommendation processing method and device, electronic equipment and readable storage medium | |
CN113191821A (en) | Data processing method and device |
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 |