CN110536242A - Location information acquisition method, device, storage medium, intelligent wearable device - Google Patents
Location information acquisition method, device, storage medium, intelligent wearable device Download PDFInfo
- Publication number
- CN110536242A CN110536242A CN201910790165.6A CN201910790165A CN110536242A CN 110536242 A CN110536242 A CN 110536242A CN 201910790165 A CN201910790165 A CN 201910790165A CN 110536242 A CN110536242 A CN 110536242A
- Authority
- CN
- China
- Prior art keywords
- intelligent wearable
- bound
- locating module
- wearable device
- bound device
- 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.)
- Pending
Links
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
- H04W4/021—Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/70—Services for machine-to-machine communication [M2M] or machine type communication [MTC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Navigation (AREA)
Abstract
The application provides a kind of location information acquisition method, device, storage medium, intelligent wearable device, which comprises whether identification intelligent wearable device and bound device are in connection status;If intelligent wearable device and bound device are in connection status, location information acquisition request is sent to bound device;Receive the current location information that bound device is returned according to the acquisition request, wherein the current location information is obtained by the locating module of bound device;If intelligent wearable device and bound device are not in connection status, intelligent wearable device locating module is called, obtains current location information.
Description
Technical field
This application involves intelligent terminal technical field more particularly to a kind of location information acquisition method, device, storage Jie
Matter, intelligent wearable device.
Background technique
With the continuous development of internet and intelligent terminal, intelligent wearable device, such as smart motion wrist-watch, hand
Ring etc. has become more more and more universal equipment.Intelligent wearable device can usually lead to bound device, such as mobile phone etc.
Bluetooth is crossed to be bound.
Currently, intelligent wearable device has been increasingly becoming the necessary equipment that user carries out outdoor sports, gradually have
Positioning function, available current location information, and it is supplied to user, outdoor sports are carried out convenient for user, wherein position is believed
Breath generally includes position coordinates.Due to being limited to the size and performance of intelligent wearable device, intelligent wearable device positioning is quasi-
True property is poor, and the current location information accuracy for being retrieved and provided to user accordingly is also poor, reduces the usage experience of user.
Meanwhile the battery capacity of intelligent wearable device is smaller, it is very big on influencing cruise duration if always on GPS positioning function.
Summary of the invention
In view of this, the application provides a kind of location information acquisition method, device, storage medium, intelligent wearable device.
Specifically, the application is achieved by the following technical solution:
In a first aspect, the embodiment of the present application provides a kind of location information acquisition method, it is applied to intelligent wearable device, it should
Method includes:
Whether identification intelligent wearable device and bound device are in connection status;
If intelligent wearable device and bound device are in connection status, location information is sent to bound device and is obtained
Request;Receive the current location information that bound device is returned according to the acquisition request, wherein the current location information is by tying up
The locating module of locking equipment obtains;
If intelligent wearable device and bound device are not in connection status, intelligent wearable device positioning mould is called
Block obtains current location information.
Preferably, whether the identification intelligent wearable device and bound device are in connection status, comprising:
In the region using intelligent wearable device as starting point, using pre-determined distance as radius, identification intelligent wearable device
Whether connection status is in bound device.
Preferably, whether the identification intelligent wearable device and bound device are in connection status, comprising:
The wireless connection mark of the bound device of input is received, and stores the mark;
In the case where receiving position positioning open command, the wireless connection target of the bound device currently connected is obtained
Mark;
If the mark is consistent with the target identification, it is determined that intelligent wearable device and bound device are in connection
State.
Preferably, it if the intelligent wearable device and bound device are in connection status, is sent to bound device
Location information acquisition request, comprising:
If intelligent wearable device and bound device are in connection status, the positioning of bound device locating module is obtained
The positioning accuracy of precision and intelligent wearable device locating module;
Judge bound device locating module positioning accuracy whether be more than intelligent wearable device locating module positioning accurate
Degree;
If the positioning accuracy of bound device locating module is more than the positioning accuracy of intelligent wearable device locating module,
Location information acquisition request is sent to bound device.
Preferably, the method also includes:
If the positioning accuracy of bound device locating module is less than the positioning accuracy of intelligent wearable device locating module,
Intelligent wearable device locating module is then called, current location information is obtained.
Preferably, it if the intelligent wearable device and bound device are in connection status, is sent to bound device
Location information acquisition request, comprising:
If intelligent wearable device and bound device are in connection status, whether inquiry bound device locating module is opened
It opens;
If bound device locating module is opened, location information acquisition request directly is sent to bound device.
Preferably, the method also includes:
If bound device locating module is not opened, locating module is sent to bound device and opens request, wherein described
It opens request and opens bound device locating module for requesting;
After the message that the locating module for receiving bound device return is opened, location information is sent to bound device and is obtained
Request.
Preferably, the method also includes:
If intelligent wearable device and bound device are in connection status, intelligent wearable device locating module is closed.
Second aspect, the embodiment of the present application provide a kind of location information acquisition device, are applied to intelligent wearable device, should
Device includes:
State recognition module, whether intelligent wearable device and bound device are in connection status for identification;
Request sending module is set if being in connection status for intelligent wearable device and bound device to binding
Preparation send location information acquisition request;
Information receiving module, the current location information returned for receiving bound device according to the acquisition request, wherein
The current location information is obtained by the locating module of bound device;
Data obtaining module calls intelligence if being not in connection status for intelligent wearable device and bound device
Energy wearable device locating module, obtains current location information.
Preferably, the state recognition module is specifically used for:
In the region using intelligent wearable device as starting point, using pre-determined distance as radius, identification intelligent wearable device
Whether connection status is in bound device.
Preferably, the state recognition module is specifically used for:
The wireless connection mark of the bound device of input is received, and stores the mark;
In the case where receiving position positioning open command, the wireless connection target of the bound device currently connected is obtained
Mark;
If the mark is consistent with the target identification, it is determined that intelligent wearable device and bound device are in connection
State.
Preferably, the request sending module is specifically used for:
If intelligent wearable device and bound device are in connection status, the positioning of bound device locating module is obtained
The positioning accuracy of precision and intelligent wearable device locating module;
Judge bound device locating module positioning accuracy whether be more than intelligent wearable device locating module positioning accurate
Degree;
If the positioning accuracy of bound device locating module is more than the positioning accuracy of intelligent wearable device locating module,
Location information acquisition request is sent to bound device.
Preferably, the data obtaining module is also used to:
If the positioning accuracy of bound device locating module is less than the positioning accuracy of intelligent wearable device locating module,
Intelligent wearable device locating module is then called, current location information is obtained.
Preferably, the request sending module is specifically used for:
If intelligent wearable device and bound device are in connection status, whether inquiry bound device locating module is opened
It opens;
If bound device locating module is opened, location information acquisition request directly is sent to bound device.
Preferably, the request sending module is also used to:
If bound device locating module is not opened, locating module is sent to bound device and opens request, wherein described
It opens request and opens bound device locating module for requesting;
After the message that the locating module for receiving bound device return is opened, location information is sent to bound device and is obtained
Request.
Preferably, described device further include:
It is wearable to close intelligence if being in connection status for intelligent wearable device and bound device for closedown module
Equipment locating module.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer program,
Location information acquisition method above-mentioned is realized when described program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of intelligent wearable device, including memory, processor and are stored in
On memory and the computer program that can run on a processor, the processor realize position above-mentioned when executing described program
Information acquisition method.
Technical solution provided by the embodiments of the present application can according to the connection status of bound device and intelligent wearable device
With the acquisition modes of Auto Select Position information, seamless connection may be implemented for the acquisition of location information, it is ensured that real for user
When current location information is provided.Wherein in the case where bound device and intelligent wearable device are in connection status, from binding
Equipment flanks receipts current location information, and for intelligent wearable device, usual bound device positioning accuracy is higher, because
This is higher from the received current location information accuracy in bound device side, while improving the continuation of the journey energy of intelligent wearable device
Power improves the usage experience of user.
Detailed description of the invention
In order to illustrate more clearly of this specification embodiment or technical solution in the prior art, below will to embodiment or
Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only
The some embodiments recorded in this specification embodiment for those of ordinary skill in the art can also be attached according to these
Figure obtains other attached drawings.
Fig. 1 is a kind of intelligent wearable device shown in one exemplary embodiment of the application and ties up between bound device
Fixed schematic diagram;
Fig. 2 is a kind of implementation process diagram of location information acquisition method shown in one exemplary embodiment of the application;
Fig. 3 is a kind of schematic diagram of acquisition current location information shown in one exemplary embodiment of the application;
Fig. 4 is a kind of intelligent wearable device shown in one exemplary embodiment of the application and the interaction between bound device
Flow diagram;
Fig. 5 is a kind of schematic diagram of user movement track shown in one exemplary embodiment of the application;
Fig. 6 is a kind of structural schematic diagram of location information acquisition device shown in one exemplary embodiment of the application.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application.
It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority
Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps
It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from
In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination ".
In the embodiment of the present application, intelligent wearable device can be smart motion wrist-watch, bracelet etc., and bound device can be with
It is mobile phone, plate, PDA (Personal Digital Assistant, palm PC) etc., intelligent wearable device is set with binding
It can be bound by bluetooth between standby, as shown in Figure 1, intelligent wearable device is set with binding after being bound by bluetooth
It is standby to be in connection status.In the related technology, due to being limited to the size and performance of intelligent wearable device, intelligent wearable device
Positioning accuracy is poor, and the current location information accuracy for being retrieved and provided to user accordingly is also poor, reduces making for user
With experience.
In view of the above technical problems, the embodiment of the present application provides a kind of technical solution, can be worn according to bound device and intelligence
The connection status of equipment is worn, seamless rank may be implemented for the acquisition of location information in the acquisition modes of Auto Select Position information
It connects, it is ensured that provide current location information in real time for user.Wherein connection status is in bound device and intelligent wearable device
In the case where, receipts current location information is flanked from bound device, for intelligent wearable device, usual bound device is fixed
Position accuracy it is higher therefore higher from the received current location information accuracy in bound device side, while improve intelligence can wear
The cruising ability for wearing equipment improves the usage experience of user.
In order to technical solution provided by the embodiments of the present application is described in detail, the following example is provided:
As shown in Fig. 2, be a kind of implementation process diagram of location information acquisition method provided by the embodiments of the present application, it should
Method can specifically include following steps:
Whether S201, identification intelligent wearable device and bound device are in connection status;
In the embodiment of the present application, for intelligent wearable device and bound device, the case where the two is in short distance
Under, the acquisition modes of location information shown in the embodiment of the present application can be automatically selected, it can be with for the acquisition of location information
Realize seamless connection, it is ensured that provide current location information in real time for user, otherwise call intelligent wearable device locating module, obtain
Take current location information.
For this purpose, in an optional implementation, using intelligent wearable device as starting point, using pre-determined distance as the area of radius
In domain, whether identification intelligent wearable device and bound device are in connection status, if intelligent wearable device is set with binding
It is standby to be in connection status, then show the case where intelligent wearable device and bound device are in short distance.
For example, in the region using smart motion wrist-watch as starting point, using 2M as radius, identification intelligent sports watch and mobile phone
Whether connection status is in.
Wherein, in the region using smart motion wrist-watch as starting point, using 2M as radius, identification intelligent sports watch and mobile phone
In connection status, it is meant that in the case where smart motion wrist-watch and mobile phone be in short distance, identification intelligent sports watch and
Mobile phone is in connection status, may insure that the location information of the two can be used in this way, will not be due to objective factor (smart motion
The distance between wrist-watch and mobile phone are too far) cause the location information of smart motion wrist-watch and the location information of mobile phone to there is very big difference
It is different;If identification intelligent sports watch and mobile phone are in and connect outside the region using smart motion wrist-watch as starting point, using 2M as radius
State is connect, then cannot use the location information of bound device, selection uses the location information of intelligent wearable device.
For intelligent wearable device and bound device, in an optional embodiment, the two is usually carried out by bluetooth
Binding is based on this, and identification intelligent wearable device and the optional implementation whether bound device is in connection status are as follows:
In the region using intelligent wearable device as starting point, using pre-determined distance as radius, intelligent wearable device is detected
Whether bluetooth connect with bound device bluetooth, is based on testing result, and whether identification intelligent wearable device is in bound device
Connection status.Wherein, in the region using intelligent wearable device as starting point, using pre-determined distance as radius, if intelligence can be worn
Equipment bluetooth and bound device bluetooth connection are worn, then identifies that intelligent wearable device and bound device are in connection status;Such as
Fruit intelligence wearable device bluetooth is disconnected with bound device bluetooth, then identifies intelligent wearable device and bound device not
In connection status.
S202 sends position to bound device and believes if intelligent wearable device and bound device are in connection status
Cease acquisition request;Receive the current location information that bound device is returned according to the acquisition request, wherein the present bit confidence
Breath is obtained by the locating module of bound device;
For the recognition result in above-mentioned steps S201, connect if identifying that intelligent wearable device and bound device are in
State is connect, then can obtain current location information from bound device side, for intelligent wearable device, usually binding is set
Standby positioning accuracy is higher, such as mobile phone positioning accuracy is higher, therefore the current location information obtained from bound device side is quasi-
True property is higher, improves the usage experience of user.Pass through intelligence from bound device side acquisition current location information is indirect simultaneously
Wearable device improves the cruising ability of intelligent wearable device, further increases the usage experience of user.
As shown in figure 3, wherein including: from the optional implementation that bound device side obtains current location information
Location information acquisition request is sent to bound device, receives the present bit that bound device is returned according to the acquisition request
Confidence breath.So current location information can be obtained from bound device side, location information generally includes in the embodiment of the present application
Position coordinates.Wherein, it for current location information, can be assisted by Bluetooth transmission between bound device and intelligent wearable device
View is transmitted.
It wherein, can be according to preset week in the case where intelligent wearable device and bound device are in connection status
Phase periodically sends location information acquisition request to bound device, in bound device side, receives the acquisition request, calls this
Ground locating module obtains current location information, which is sent to intelligent wearable device, wearable in intelligence
Equipment side receives the current location information that bound device is returned according to the acquisition request.
Secondly, in order to ensure the accuracy of current location information, to bound device send location information acquisition request it
Before, it obtains the positioning accuracy of bound device locating module and the positioning accuracy of intelligent wearable device locating module, judgement is tied up
The positioning accuracy of locking equipment locating module whether be more than intelligent wearable device locating module positioning accuracy, if bound device
The positioning accuracy of locating module is more than the positioning accuracy of intelligent wearable device locating module, then sends position to bound device and believe
Acquisition request is ceased, if the positioning accuracy of bound device locating module is less than the positioning accurate of intelligent wearable device locating module
Degree then calls intelligent wearable device locating module, obtains current location information.
For bound device locating module, current GPS (Global Positioning System, global location can be
System) etc. locating modules can also be current GPS (Global Positioning for intelligent wearable device locating module
System, global positioning system) etc. locating modules, the embodiment of the present application this is not construed as limiting.
It is between spatial entities location information (generally including coordinate) and its actual position close to journey for positioning accuracy
Degree.For example, the positioning accuracy of current GPS positioning module can achieve meter level, Centimeter Level etc..
For example, it is fixed to obtain bound device GPS in the case where intelligent wearable device and bound device are in connection status
The positioning accuracy of position module, such as can achieve Centimeter Level, and the positioning accuracy of intelligent wearable device GPS positioning module,
Such as can achieve meter level, by judgement it is found that the positioning accuracy of bound device GPS positioning module is more than intelligent wearable device
The positioning accuracy of GPS positioning module, can send location information acquisition request to bound device, such available accuracy compared with
High location information.
It should be noted that for the positioning accuracy of bound device locating module, it can be local from intelligent wearable device
It is obtained, can also be obtained from bound device, the embodiment of the present application is not construed as limiting this.Wherein, intelligence can be worn
The positioning accuracy for wearing the bound device locating module of equipment local can be and pass through indigo plant in bound device and intelligent wearable device
In the case that tooth is bound, the positioning accuracy of bound device locating module is obtained, is stored local to intelligent wearable device.
In addition, bound device locating module can also be inquired before sending location information acquisition request to bound device
Whether open, if bound device locating module is opened, directly location information acquisition request is sent to bound device, if tied up
Locking equipment locating module is not opened, then sends locating module to bound device and open request, and wherein unlatching request is for requesting
Bound device locating module is opened, after the message that the locating module for receiving bound device return is opened, then to bound device
Send location information acquisition request.Locating module so can be directly or indirectly sent to bound device opens request.
For example, as shown in figure 4, inquiry is tied up in the case where intelligent wearable device and bound device are in connection status
Whether locking equipment GPS positioning module opens, if bound device GPS positioning module has turned on, directly sends to bound device
Location information acquisition request;If bound device GPS positioning module is not opened, locating module unlatching is sent to bound device and is asked
Ask, optional implementation 1: bound device can voluntarily open local GPS positioning module after receiving unlatching request, can
Select implementation 2: bound device can ask the user whether to open after receiving unlatching request, defeated receiving user
In the case where the confirmation instruction entered, local GPS positioning module is opened, then sends GPS positioning module to intelligent wearable device
The message of unlatching, behind intelligent wearable device side, the message of GPS positioning module unlatching for receiving bound device return, to
Bound device sends location information acquisition request.
It should be noted that before sending location information acquisition request to bound device, it can be by above two realization
Mode is combined, and for specific combination, the embodiment of the present application is not construed as limiting this.
If acquisition is tied up for example, being optionally combined with mode 1, intelligent wearable device and bound device is in connection status
The positioning accuracy of the positioning accuracy of locking equipment locating module and intelligent wearable device locating module;Judge that bound device positions
The positioning accuracy of module whether be more than intelligent wearable device locating module positioning accuracy;If bound device locating module
Positioning accuracy is more than the positioning accuracy of intelligent wearable device locating module, and whether inquiry bound device locating module is opened, such as
The positioning accuracy of fruit bound device locating module is less than the positioning accuracy of intelligent wearable device locating module, then calls intelligence
Wearable device locating module obtains current location information;If bound device locating module is opened, directly to bound device
Send location information acquisition request;If bound device locating module is not opened, locating module is sent to bound device and is opened
Request, wherein unlatching request opens bound device locating module for requesting;In the positioning mould for receiving bound device return
After the message that block is opened, location information acquisition request is sent to bound device.
In another example inquiry is tied up if being optionally combined with mode 2, intelligent wearable device and bound device is in connection status
Whether locking equipment locating module is opened;If bound device locating module is opened, the positioning of bound device locating module is obtained
The positioning accuracy of precision and intelligent wearable device locating module;Judge whether the positioning accuracy of bound device locating module surpasses
Cross the positioning accuracy of intelligent wearable device locating module;If the positioning accuracy of bound device locating module is more than that intelligence can be worn
The positioning accuracy of equipment locating module is worn, then location information acquisition request is sent to bound device, if bound device positioning mould
The positioning accuracy of block is less than the positioning accuracy of intelligent wearable device locating module, then calls intelligent wearable device positioning mould
Block obtains current location information;
If bound device locating module is not opened, locating module is sent to bound device and opens request, wherein this is opened
It opens request and opens bound device locating module for requesting;In the message that the locating module for receiving bound device return is opened
Afterwards, the positioning accuracy of bound device locating module and the positioning accuracy of intelligent wearable device locating module are obtained;Judgement is tied up
The positioning accuracy of locking equipment locating module whether be more than intelligent wearable device locating module positioning accuracy;If bound device
The positioning accuracy of locating module is more than the positioning accuracy of intelligent wearable device locating module, then sends position to bound device and believe
Acquisition request is ceased, if the positioning accuracy of bound device locating module is less than the positioning accurate of intelligent wearable device locating module
Degree then calls intelligent wearable device locating module, obtains current location information.
Furthermore due to the size and performance for being limited to intelligent wearable device, intelligent wearable device power module itself
Capacity is limited, such as 300 milliampere hour.In order to save electric quantity consumption, effectively extend intelligent wearable device cruise duration, if
Intelligent wearable device and bound device are in connection status, intelligent wearable device locating module are closed, if subsequent needs
Intelligent wearable device locating module is opened, intelligent wearable device locating module can be again turned on, it is so effective to improve
The duration performance of intelligent wearable device.
S203 calls intelligent wearable device if intelligent wearable device and bound device are not in connection status
Locating module obtains current location information.
For the recognition result in above-mentioned steps S201, if intelligent wearable device and bound device are not in connection shape
State needs to call intelligent wearable device locating module to obtain current location information, obtains present bit confidence with this
Breath.
Based on foregoing description it is found that in the embodiment of the present application according to the connection shape of bound device and intelligent wearable device
State, can be with the acquisition modes of Auto Select Position information.
For the current location information obtained in above-mentioned steps, user movement rail can also be generated according to current location information
Mark, and carry out output and show.Wherein user's running track can carry out output on intelligent wearable device and show, can also be with
It is uploaded to bound device, such as mobile phone, output is carried out in bound device and is shown, as shown in Figure 5.
It, can also be with it should be noted that technical solution provided by the embodiments of the present application can be adapted for initial alignment scene
The scene suitable for positioning progress, the embodiment of the present application are not construed as limiting this.
For initial alignment scene, wireless connection (such as can be bluetooth) mark of the bound device of input is received, and
The mark is stored, in the case where receiving position positioning open command, obtaining the bound device currently connected (can be hand
Machine, wireless access point etc.) wireless connection target identification, if mark is consistent with target identification, it is determined that intelligently wearable sets
Standby to be in connection status with bound device, selection obtains current location information from bound device side, subsequent in positioning progress
Scene, can be in real time according to the connection status of bound device and intelligent wearable device, the acquisition side of Auto Select Position information
Formula.
For example, receiving the Bluetooth address of the mobile phone of user's input, and the Bluetooth address is stored, is opened receiving position positioning
In the case where opening instruction, in the region using intelligent wearable device as starting point, using pre-determined distance as radius, current connection is obtained
The Bluetooth address of mobile phone illustrate smart motion wrist-watch if two Bluetooth address are consistent and mobile phone be in the case of short distance,
Then determine that smart motion wrist-watch and mobile phone are in connection status, selection obtains current location information from bound device side, subsequent right
The scene in positioning carries out, can in real time according to the connection status of mobile phone and smart motion wrist-watch, Auto Select Position information
Acquisition modes.
By the above-mentioned description to technical solution provided by the embodiments of the present application, set according to bound device with intelligently wearable
Seamless connection may be implemented for the acquisition of location information, really in standby connection status, the acquisition modes of Auto Select Position information
Protect is that user provides current location information in real time.Wherein the case where bound device and intelligent wearable device are in connection status
Under, receipts current location information is flanked from bound device, for intelligent wearable device, usual bound device accurate positioning
Property is higher therefore higher from the received current location information accuracy in bound device side, improves the usage experience of user.While from
Bound device side obtains current location information and indirect by intelligent wearable device, improves the continuous of intelligent wearable device
Boat ability further increases the usage experience of user.
Corresponding with the embodiment of aforementioned location information acquisition method, the embodiment of the present application also provides a kind of location informations
The embodiment of acquisition device.
It please refers to shown in Fig. 6, is the structural schematic diagram of location information acquisition device provided by the embodiments of the present application, is applied to
Intelligent wearable device, the apparatus may include: state recognition module 610, request sending module 620, information receiving module
630, data obtaining module 640.
State recognition module 610, whether intelligent wearable device and bound device are in connection status for identification;
Request sending module 620, if connection status is in for intelligent wearable device and bound device, to binding
Equipment sends location information acquisition request;
Information receiving module 630, the current location information returned for receiving bound device according to the acquisition request,
In, the current location information is obtained by the locating module of bound device;
Data obtaining module 640 calls if being not in connection status for intelligent wearable device and bound device
Intelligent wearable device locating module obtains current location information.
In a kind of specific embodiment of the embodiment of the present application, the state recognition module 610 is specifically used for:
In the region using intelligent wearable device as starting point, using pre-determined distance as radius, identification intelligent wearable device
Whether connection status is in bound device.
In a kind of specific embodiment of the embodiment of the present application, the state recognition module 610 is specifically used for:
The wireless connection mark of the bound device of input is received, and stores the mark;
In the case where receiving position positioning open command, the wireless connection target of the bound device currently connected is obtained
Mark;
If the mark is consistent with the target identification, it is determined that intelligent wearable device and bound device are in connection
State.
In a kind of specific embodiment of the embodiment of the present application, the request sending module 620 is specifically used for:
If intelligent wearable device and bound device are in connection status, the positioning of bound device locating module is obtained
The positioning accuracy of precision and intelligent wearable device locating module;
Judge bound device locating module positioning accuracy whether be more than intelligent wearable device locating module positioning accurate
Degree;
If the positioning accuracy of bound device locating module is more than the positioning accuracy of intelligent wearable device locating module,
Location information acquisition request is sent to bound device.
In a kind of specific embodiment of the embodiment of the present application, the data obtaining module 640 is also used to:
If the positioning accuracy of bound device locating module is less than the positioning accuracy of intelligent wearable device locating module,
Intelligent wearable device locating module is then called, current location information is obtained.
In a kind of specific embodiment of the embodiment of the present application, the request sending module 620 is specifically used for:
If intelligent wearable device and bound device are in connection status, whether inquiry bound device locating module is opened
It opens;
If bound device locating module is opened, location information acquisition request directly is sent to bound device.
In a kind of specific embodiment of the embodiment of the present application, the request sending module 620 is also used to:
If bound device locating module is not opened, locating module is sent to bound device and opens request, wherein described
It opens request and opens bound device locating module for requesting;
After the message that the locating module for receiving bound device return is opened, location information is sent to bound device and is obtained
Request.
In a kind of specific embodiment of the embodiment of the present application, described device further include:
Closedown module 650, if being in connection status for intelligent wearable device and bound device, closing intelligence can be worn
Wear equipment locating module.
By the above-mentioned description to technical solution provided by the embodiments of the present application, by that can be worn according to bound device and intelligence
The connection status of equipment is worn, seamless rank may be implemented for the acquisition of location information in the acquisition modes of Auto Select Position information
It connects, it is ensured that provide current location information in real time for user.Wherein connection status is in bound device and intelligent wearable device
In the case where, receipts current location information is flanked from bound device, for intelligent wearable device, usual bound device is fixed
Position accuracy is higher therefore higher from the received current location information accuracy in bound device side, improves the usage experience of user.
It is indirect by intelligent wearable device from bound device side acquisition current location information simultaneously, improve intelligently wearable set
Standby cruising ability further increases the usage experience of user.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus
Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying
Out in the case where creative work, it can understand and implement.
The embodiment of the present application also provides a kind of computer readable storage medium, is stored thereon with computer program, the program
Location information acquisition method above-mentioned is realized when being executed by processor, this method includes at least:
Whether identification intelligent wearable device and bound device are in connection status;If intelligent wearable device and binding
Equipment is in connection status, then sends location information acquisition request to bound device;Bound device is received to be asked according to the acquisition
Seek the current location information of return, wherein the current location information is obtained by the locating module of bound device;If intelligence can
Wearable device and bound device are not in connection status, then call intelligent wearable device locating module, obtain present bit confidence
Breath.
The application also provides a kind of intelligent wearable device, including memory, processor and storage are on a memory and can
The computer program run on a processor, the processor realize location information acquisition side above-mentioned when executing described program
Method, this method include at least:
Whether identification intelligent wearable device and bound device are in connection status;If intelligent wearable device and binding
Equipment is in connection status, then sends location information acquisition request to bound device;Bound device is received to be asked according to the acquisition
Seek the current location information of return, wherein the current location information is obtained by the locating module of bound device;If intelligence can
Wearable device and bound device are not in connection status, then call intelligent wearable device locating module, obtain present bit confidence
Breath.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.
Claims (18)
1. a kind of location information acquisition method is applied to intelligent wearable device, which is characterized in that the described method includes:
Whether identification intelligent wearable device and bound device are in connection status;
If intelligent wearable device and bound device are in connection status, location information acquisition is sent to bound device and is asked
It asks;Receive the current location information that bound device is returned according to the acquisition request, wherein the current location information is by binding
The locating module of equipment obtains;
If intelligent wearable device and bound device are not in connection status, intelligent wearable device locating module is called,
Obtain current location information.
2. the method according to claim 1, wherein the identification intelligent wearable device and bound device whether
In connection status, comprising:
In the region using intelligent wearable device as starting point, using pre-determined distance as radius, identification intelligent wearable device with tie up
Whether locking equipment is in connection status.
3. the method according to claim 1, wherein the identification intelligent wearable device and bound device whether
In connection status, comprising:
The wireless connection mark of the bound device of input is received, and stores the mark;
In the case where receiving position positioning open command, the wireless connection target mark of the bound device currently connected is obtained
Know;
If the mark is consistent with the target identification, it is determined that intelligent wearable device and bound device are in connection shape
State.
4. the method according to claim 1, wherein if the intelligent wearable device is in bound device
Connection status then sends location information acquisition request to bound device, comprising:
If intelligent wearable device and bound device are in connection status, the positioning accuracy of bound device locating module is obtained
And the positioning accuracy of intelligent wearable device locating module;
Judge bound device locating module positioning accuracy whether be more than intelligent wearable device locating module positioning accuracy;
If the positioning accuracy of bound device locating module is more than the positioning accuracy of intelligent wearable device locating module, to tying up
Locking equipment sends location information acquisition request.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
If the positioning accuracy of bound device locating module is less than the positioning accuracy of intelligent wearable device locating module, adjust
With intelligent wearable device locating module, current location information is obtained.
6. the method according to claim 1, wherein if the intelligent wearable device is in bound device
Connection status then sends location information acquisition request to bound device, comprising:
If intelligent wearable device and bound device are in connection status, whether inquiry bound device locating module is opened;
If bound device locating module is opened, location information acquisition request directly is sent to bound device.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
If bound device locating module is not opened, locating module is sent to bound device and opens request, wherein the unlatching
Request opens bound device locating module for requesting;
After the message that the locating module for receiving bound device return is opened, location information acquisition is sent to bound device and is asked
It asks.
8. method according to any one of claims 1 to 7, which is characterized in that the method also includes:
If intelligent wearable device and bound device are in connection status, intelligent wearable device locating module is closed.
9. a kind of location information acquisition device, it is applied to intelligent wearable device, which is characterized in that described device includes:
State recognition module, whether intelligent wearable device and bound device are in connection status for identification;
Request sending module is sent out if being in connection status for intelligent wearable device and bound device to bound device
Send location information acquisition request;
Information receiving module, the current location information returned for receiving bound device according to the acquisition request, wherein described
Current location information is obtained by the locating module of bound device;
Data obtaining module calls intelligence can if being not in connection status for intelligent wearable device and bound device
Wearable device locating module obtains current location information.
10. device according to claim 9, which is characterized in that the state recognition module is specifically used for:
In the region using intelligent wearable device as starting point, using pre-determined distance as radius, identification intelligent wearable device with tie up
Whether locking equipment is in connection status.
11. device according to claim 9, which is characterized in that the state recognition module is specifically used for:
The wireless connection mark of the bound device of input is received, and stores the mark;
In the case where receiving position positioning open command, the wireless connection target mark of the bound device currently connected is obtained
Know;
If the mark is consistent with the target identification, it is determined that intelligent wearable device and bound device are in connection shape
State.
12. device according to claim 9, which is characterized in that the request sending module is specifically used for:
If intelligent wearable device and bound device are in connection status, the positioning accuracy of bound device locating module is obtained
And the positioning accuracy of intelligent wearable device locating module;
Judge bound device locating module positioning accuracy whether be more than intelligent wearable device locating module positioning accuracy;
If the positioning accuracy of bound device locating module is more than the positioning accuracy of intelligent wearable device locating module, to tying up
Locking equipment sends location information acquisition request.
13. device according to claim 12, which is characterized in that the data obtaining module is also used to:
If the positioning accuracy of bound device locating module is less than the positioning accuracy of intelligent wearable device locating module, adjust
With intelligent wearable device locating module, current location information is obtained.
14. device according to claim 9, which is characterized in that the request sending module is specifically used for:
If intelligent wearable device and bound device are in connection status, whether inquiry bound device locating module is opened;
If bound device locating module is opened, location information acquisition request directly is sent to bound device.
15. device according to claim 14, which is characterized in that the request sending module is also used to:
If bound device locating module is not opened, locating module is sent to bound device and opens request, wherein the unlatching
Request opens bound device locating module for requesting;
After the message that the locating module for receiving bound device return is opened, location information acquisition is sent to bound device and is asked
It asks.
16. according to the described in any item devices of claim 9 to 15, which is characterized in that described device further include:
Closedown module closes intelligent wearable device if being in connection status for intelligent wearable device and bound device
Locating module.
17. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is processed
Device realizes method as claimed in any one of claims 1 to 8 when executing.
18. a kind of intelligence wearable device, including memory, processor and storage can be run on a memory and on a processor
Computer program, which is characterized in that the processor is realized as described in any one of claim 1 to 8 when executing described program
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910790165.6A CN110536242A (en) | 2019-08-26 | 2019-08-26 | Location information acquisition method, device, storage medium, intelligent wearable device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910790165.6A CN110536242A (en) | 2019-08-26 | 2019-08-26 | Location information acquisition method, device, storage medium, intelligent wearable device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110536242A true CN110536242A (en) | 2019-12-03 |
Family
ID=68664204
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910790165.6A Pending CN110536242A (en) | 2019-08-26 | 2019-08-26 | Location information acquisition method, device, storage medium, intelligent wearable device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110536242A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111726753A (en) * | 2020-06-30 | 2020-09-29 | 安徽华米信息科技有限公司 | Motion data acquisition method and device, intelligent wearable device and storage medium |
CN111726859A (en) * | 2020-06-05 | 2020-09-29 | 安徽华米信息科技有限公司 | Positioning method and device and wearable device |
CN113873427A (en) * | 2021-08-20 | 2021-12-31 | 上海探寻信息技术有限公司 | Positioning method, device and system |
WO2024021095A1 (en) * | 2022-07-29 | 2024-02-01 | 北京小米移动软件有限公司 | Device positioning method, system, and apparatus, communication device, and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150170504A1 (en) * | 2013-12-16 | 2015-06-18 | Google Inc. | Method of Location Coordination Via Wireless Protocol Between Multiple Devices |
CN106102165A (en) * | 2016-06-13 | 2016-11-09 | 乐视控股(北京)有限公司 | A kind of method and apparatus determining Wearable electronic equipment position |
CN106211120A (en) * | 2016-06-23 | 2016-12-07 | 乐视控股(北京)有限公司 | The method of determining position information of a kind of wearable device, device and system |
CN108174375A (en) * | 2017-12-25 | 2018-06-15 | 广东小天才科技有限公司 | A kind of localization method and system based on wearable device |
CN108882209A (en) * | 2018-06-04 | 2018-11-23 | 上海康斐信息技术有限公司 | Wearable device and its anti-lost processing method, device |
CN109246595A (en) * | 2018-07-26 | 2019-01-18 | 努比亚技术有限公司 | Method of locating terminal, mobile terminal and computer readable storage medium |
CN109462815A (en) * | 2018-12-29 | 2019-03-12 | 前海随身宝(深圳)科技有限公司 | Carry-on method of locating terminal, carry-on terminal and computer readable storage medium |
-
2019
- 2019-08-26 CN CN201910790165.6A patent/CN110536242A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150170504A1 (en) * | 2013-12-16 | 2015-06-18 | Google Inc. | Method of Location Coordination Via Wireless Protocol Between Multiple Devices |
CN106102165A (en) * | 2016-06-13 | 2016-11-09 | 乐视控股(北京)有限公司 | A kind of method and apparatus determining Wearable electronic equipment position |
CN106211120A (en) * | 2016-06-23 | 2016-12-07 | 乐视控股(北京)有限公司 | The method of determining position information of a kind of wearable device, device and system |
CN108174375A (en) * | 2017-12-25 | 2018-06-15 | 广东小天才科技有限公司 | A kind of localization method and system based on wearable device |
CN108882209A (en) * | 2018-06-04 | 2018-11-23 | 上海康斐信息技术有限公司 | Wearable device and its anti-lost processing method, device |
CN109246595A (en) * | 2018-07-26 | 2019-01-18 | 努比亚技术有限公司 | Method of locating terminal, mobile terminal and computer readable storage medium |
CN109462815A (en) * | 2018-12-29 | 2019-03-12 | 前海随身宝(深圳)科技有限公司 | Carry-on method of locating terminal, carry-on terminal and computer readable storage medium |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111726859A (en) * | 2020-06-05 | 2020-09-29 | 安徽华米信息科技有限公司 | Positioning method and device and wearable device |
CN111726753A (en) * | 2020-06-30 | 2020-09-29 | 安徽华米信息科技有限公司 | Motion data acquisition method and device, intelligent wearable device and storage medium |
WO2022001728A1 (en) * | 2020-06-30 | 2022-01-06 | 安徽华米信息科技有限公司 | Motion data acquisition method and apparatus, smart wearable device and storage medium |
CN113873427A (en) * | 2021-08-20 | 2021-12-31 | 上海探寻信息技术有限公司 | Positioning method, device and system |
WO2024021095A1 (en) * | 2022-07-29 | 2024-02-01 | 北京小米移动软件有限公司 | Device positioning method, system, and apparatus, communication device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110536242A (en) | Location information acquisition method, device, storage medium, intelligent wearable device | |
CN105959026B (en) | The optimization method and device of positioning strategy | |
CN104471826A (en) | Charging support method, charging support management device, and charging support system | |
CN105873177A (en) | Method and equipment for obtaining access information of shared wireless access point | |
CN107179524A (en) | Fire-fighting equipment localization method, device, system and computer-readable recording medium | |
CN102568051A (en) | Terminal device for track record | |
CN103179503A (en) | Mobile terminal and reminding method | |
WO2021136547A1 (en) | Base station sharing method and system of autonomous robot, and storage medium | |
CN105050051A (en) | Travel location management system | |
CN109996185A (en) | The localization method and device of terminal, storage medium, electronic device | |
CN102469112B (en) | Position tracking implementation method, Apparatus and system | |
CN107182028A (en) | The localization method and positioner of a kind of article | |
CN110475233A (en) | Resource transfers method, apparatus, computer equipment and storage medium | |
CN110070652A (en) | A kind of access control method, system, electronic equipment and storage medium | |
CN104820603A (en) | Automatic screenshot method and system in global positioning system (GPS) map navigation | |
CN202563079U (en) | Positioning tracker | |
CN107071728A (en) | A kind of method of locating terminal and device | |
CN105988841A (en) | Update method of application program, and mobile terminal | |
CN105929423A (en) | Wearable Apparatus And Controlling Method Thereof | |
CN102801845B (en) | Automatically reduce method and the mobile terminal of volume | |
CN102223598A (en) | Intelligent tour guiding machine and service system based on wireless network | |
CN108805512B (en) | Attendance information recording method, equipment and system thereof | |
CN103513660B (en) | A kind of method of locating terminal and system, mobile terminal | |
CN109005499B (en) | Mobile charging equipment and positioning method thereof | |
CN105376698A (en) | Prompt method and system based on positional relation |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191203 |
|
RJ01 | Rejection of invention patent application after publication |