CN111148032A - Real-time positioning method and wearable device - Google Patents

Real-time positioning method and wearable device Download PDF

Info

Publication number
CN111148032A
CN111148032A CN201910347625.8A CN201910347625A CN111148032A CN 111148032 A CN111148032 A CN 111148032A CN 201910347625 A CN201910347625 A CN 201910347625A CN 111148032 A CN111148032 A CN 111148032A
Authority
CN
China
Prior art keywords
positioning
period
initial
information
positioning information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910347625.8A
Other languages
Chinese (zh)
Other versions
CN111148032B (en
Inventor
张腾飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL China Star Optoelectronics Technology Co Ltd
Original Assignee
Shenzhen China Star Optoelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen China Star Optoelectronics Technology Co Ltd filed Critical Shenzhen China Star Optoelectronics Technology Co Ltd
Priority to CN201910347625.8A priority Critical patent/CN111148032B/en
Publication of CN111148032A publication Critical patent/CN111148032A/en
Application granted granted Critical
Publication of CN111148032B publication Critical patent/CN111148032B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/024Guidance services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention relates to the technical field of positioning, and discloses a real-time positioning method and wearable equipment. The method comprises the following steps: acquiring starting point positioning information of an initial positioning period; when the initial positioning period is finished, acquiring the end point positioning information of the initial positioning period; acquiring a virtual positioning track according to the starting point positioning information and the end point positioning information; dividing the virtual positioning track into N sections to obtain N-1 pieces of virtual positioning information, wherein N is a positive integer greater than 1; taking 1/N duration of the initial positioning period as an updating time interval; and gradually carrying out positioning updating according to the starting point positioning information, the N-1 virtual positioning information and the end point positioning information in N +1 times in the next positioning period according to the updating time interval. By implementing the embodiment of the invention, the periodic positioning can be carried out at a larger time interval, and then the periodic positioning updating can be carried out at a smaller time interval, so that the power consumption of equipment can be reduced, and the cruising ability of the battery can be improved.

Description

Real-time positioning method and wearable device
Technical Field
The invention relates to the technical field of positioning, in particular to a real-time positioning method and wearable equipment.
Background
At present, accurate positioning is one of the core functions of wearable equipment such as intelligent glasses, intelligent wrist-watch and intelligent bracelet, especially the intelligent wrist-watch that child user wore usually, and accurate positioning seems more important, because carry out periodic accurate positioning to intelligent wrist-watch through certain time interval, send the mobile terminal that the head of a family used with locating information, can feed back the accurate change of child place positional information to the head of a family, supplementary head of a family concerns that child is walking toward which direction or judges whether child deviates from the predetermined route.
In practical applications, in order to feed back the precise change of the position information of the child in real time, the positioning is performed periodically at a small time interval. However, in practice, it has been found that in the method of performing periodic positioning at small time intervals, the power consumption of the device is high, resulting in a low battery life.
Disclosure of Invention
In order to overcome the defects, the embodiment of the invention discloses a real-time positioning method and wearable equipment, which can reduce the power consumption of the equipment so as to improve the cruising ability of a battery.
The first aspect of the embodiments of the present invention discloses a real-time positioning method, including:
acquiring starting point positioning information of an initial positioning period;
when the initial positioning period is finished, acquiring the end point positioning information of the initial positioning period;
acquiring a virtual positioning track according to the starting point positioning information and the end point positioning information;
dividing the virtual positioning track into N sections to obtain N-1 pieces of virtual positioning information, wherein N is a positive integer greater than 1;
taking 1/N duration of the initial positioning period as an updating time interval;
and gradually performing positioning updating according to the starting point positioning information, the N-1 pieces of virtual positioning information and the end point positioning information in N +1 times in the next positioning period according to the updating time interval.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the obtaining of the end point positioning information of the initial positioning period, the method further includes:
acquiring the actual moving speed of the initial positioning period;
adjusting a positioning period to obtain the duration of the next positioning period according to the actual moving speed;
and the step of taking the 1/N duration of the initial positioning period as an updating time interval comprises the following steps:
and taking the 1/N duration of the next positioning period as an updating time interval.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the method is applied to a wearable device; before the obtaining of the starting point positioning information of the initial positioning period, the method further includes:
determining the duration of the initial positioning period, the updating time interval and the positive integer N according to a preset minimum period, a preset maximum waiting value and a target preset maximum period corresponding to the current mobile scene of the wearable device;
the preset minimum period is obtained according to power consumption limit parameters of the wearable device, the preset maximum waiting value is obtained according to feedback information of a plurality of users for positioning delay, the duration of the initial positioning period is not less than the preset minimum period, the duration of the initial positioning period is not greater than the target preset maximum period, the updating time interval is not greater than the preset maximum waiting value, and the updating time interval is 1/N duration of the initial positioning period;
when a positioning function starting instruction input by a user of the mobile terminal bound with the wearable device is received, executing the step of obtaining the starting point positioning information of the initial positioning period.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the acquiring start point positioning information of the initial positioning period includes:
detecting whether the current GPS signal intensity of the wearable equipment reaches a preset intensity threshold value;
if the current GPS signal intensity reaches the preset intensity threshold value, the wearable equipment is firstly positioned by using a GPS, and positioning information obtained by the first positioning is used as starting point positioning information of the initial positioning period.
As an optional implementation manner, in the first aspect of this embodiment of the present invention, the method further includes:
if the current GPS signal intensity does not reach the preset intensity threshold value, performing first positioning on the wearable equipment by using a WIFI positioning technology, and using positioning information obtained by the first positioning as starting point positioning information of the initial positioning period;
when the current GPS signal intensity is detected to reach the preset intensity threshold value again, a positioning period is refreshed, the wearable equipment is repositioned by using the GPS, and positioning information obtained by repositioning is used as starting point positioning information of a new initial positioning period.
A second aspect of an embodiment of the present invention discloses a wearable device, including:
the first positioning unit is used for acquiring starting point positioning information of an initial positioning period;
the second positioning unit is used for acquiring the end point positioning information of the initial positioning period when the initial positioning period is finished;
a track obtaining unit, configured to obtain a virtual positioning track according to the starting point positioning information and the end point positioning information;
the virtual positioning unit is used for dividing the virtual positioning track into N sections to obtain N-1 pieces of virtual positioning information, wherein N is a positive integer greater than 1;
a determining unit, configured to use 1/N duration of the initial positioning period as an update time interval;
and the updating unit is used for gradually performing positioning updating according to the starting point positioning information, the N-1 pieces of virtual positioning information and the end point positioning information in N +1 times in the next positioning period according to the updating time interval.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the method further includes:
a speed obtaining unit, configured to obtain an actual moving speed of the initial positioning period after the second positioning unit obtains the end point positioning information of the initial positioning period;
the adjusting unit is used for adjusting a positioning period to obtain the duration of the next positioning period according to the actual moving speed;
the determining unit is specifically configured to use 1/N duration of the next positioning period as an update time interval.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the method further includes:
the setting unit is used for determining the duration of an initial positioning period, the updating time interval and the positive integer N according to a preset minimum period, a preset maximum waiting value and a target preset maximum period corresponding to a current moving scene of the wearable device before the first positioning unit acquires starting point positioning information of the initial positioning period;
the preset minimum period is obtained according to power consumption limit parameters of the wearable device, the preset maximum waiting value is obtained according to feedback information of a plurality of users for positioning delay, the duration of the initial positioning period is not less than the preset minimum period, the duration of the initial positioning period is not greater than the target preset maximum period, the updating time interval is not greater than the preset maximum waiting value, and the updating time interval is 1/N duration of the initial positioning period;
the receiving unit is used for triggering the first positioning unit to execute the step of acquiring the starting point positioning information of the initial positioning period when receiving a positioning function starting instruction input by a user of the mobile terminal bound with the wearable device.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the first positioning unit includes:
the detection subunit is used for detecting whether the current GPS signal intensity of the wearable device reaches a preset intensity threshold value;
and the first positioning subunit is used for performing first positioning on the wearable device by using the GPS when the detection subunit detects that the current GPS signal intensity reaches the preset intensity threshold value, and using positioning information obtained by the first positioning as starting point positioning information of the initial positioning period.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the first positioning unit further includes:
the second positioning subunit is configured to, when the detection subunit detects that the current GPS signal intensity does not reach the preset intensity threshold, perform first positioning on the wearable device by using a WIFI positioning technology, and use positioning information obtained by the first positioning as starting point positioning information of the initial positioning period;
and the refreshing subunit is configured to, after the second positioning subunit uses a WIFI positioning technology to perform first positioning on the wearable device, use positioning information obtained by the first positioning as start positioning information of the initial positioning period, and when the detecting subunit detects again that the current GPS signal intensity reaches the preset intensity threshold, refresh the positioning period, trigger the first positioning subunit to perform relocation on the wearable device using a GPS, and use the positioning information obtained by the relocation as start positioning information of a new initial positioning period.
A third aspect of an embodiment of the present invention discloses a 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 execute the real-time positioning method disclosed by the first aspect of the embodiment of the invention.
A fourth aspect of the embodiments of the present invention discloses a computer-readable storage medium, which stores a computer program, where the computer program enables a computer to execute a real-time positioning method disclosed in the first aspect of the embodiments of the present invention.
A fifth aspect of embodiments of the present invention discloses a computer program product, which, when run on a computer, causes the computer to perform some or all of the steps of any one of the methods of the first aspect.
A sixth aspect of the present embodiment discloses an application publishing platform, where the application publishing platform is configured to publish a computer program product, where the computer program product is configured to, when running on a computer, cause 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, the starting point positioning information of the initial positioning period is obtained, the end point positioning information of the initial positioning period is obtained again when the initial positioning period is finished, the virtual positioning track is obtained according to the two times of positioning information, the virtual positioning track is divided into N sections to obtain N-1 pieces of virtual positioning information, finally, the 1/N duration of the initial positioning period is taken as an updating time interval, the positioning updating is carried out according to the starting point positioning information, the N-1 pieces of virtual positioning information and the end point positioning information step by step in N +1 times in the next positioning period, the periodic positioning can be carried out at a larger time interval, the periodic positioning updating is carried out at a smaller time interval, the power consumption of equipment can be reduced, and the cruising ability of the battery can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a real-time positioning method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of another real-time positioning method disclosed in the embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating a real-time positioning method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a wearable device disclosed in the embodiment of the invention;
FIG. 5 is a schematic structural diagram of another wearable device disclosed in the embodiments of the present invention;
fig. 6 is a schematic structural diagram of another 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 to be noted that the terms "first", "second", and the like in the description and claims of the present invention are used for distinguishing different objects, and are not used for describing a specific order. The terms "comprises," "comprising," and any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a real-time positioning method and wearable equipment, which can reduce the power consumption of the equipment so as to improve the cruising ability of a battery. The method is suitable for electronic equipment such as smart phones, tablet computers, smart watches, smart bracelets and even smart glasses. The operating systems of various electronic devices 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. The embodiment of the invention is described by taking an electronic device or a wearable device as an execution main body, and it should be understood that the invention should not be limited in any way. The following detailed description is made with reference to the accompanying drawings.
Example one
Referring to fig. 1, fig. 1 is a schematic flow chart of a real-time positioning method according to an embodiment of the present invention. As shown in fig. 1, the real-time positioning method may include the steps of:
101. the electronic device obtains starting point positioning information of an initial positioning period.
102. And when the initial positioning period is finished, the electronic equipment acquires the end positioning information of the initial positioning period. The initial positioning period refers to a first positioning period in which the electronic device starts to perform real-time positioning. The size of the positioning period may specifically be 3 seconds. Of course, the size of the positioning period may be other values besides 3 seconds, for example, 2.6 seconds, 3.8 seconds, and the like, and the size of the positioning period is not particularly limited in the embodiment of the present invention.
When the electronic device is located, that is, when the start point location information and the end point location information of the initial location period are obtained, a common Global Positioning System (GPS) technology, a base station location technology, a network location technology, or the like may be adopted, and specifically, what kind of location mode is adopted to locate the electronic device is adopted, which is not limited in the embodiment of the present invention. Wherein the positioning information comprises longitude and latitude information. That is, each time the electronic device is located, a pair of coordinate values of shape (lat) can be obtained. Where lat refers to latitude and long refers to longitude.
As an optional implementation manner, the electronic device includes a wearable device that is usually worn by a child user, and after step 101 is executed, the wearable device may determine whether a location corresponding to the starting point positioning information belongs to a preset safety area; if yes, step 102 may include: when the initial positioning period is finished, the wearable equipment monitors the motion state of the wearable equipment through the sensor; and if the motion state is used for describing that the current position is changed, executing the step of acquiring the end point positioning information of the initial positioning period.
Further optionally, if the motion state is used to describe that the current position is not changed, the initial positioning period is extended. When the motion state is a static state, a vibration state, a free-fall motion state and/or an angular motion state, the wearable device judges that the motion state of the wearable device is used for describing that the current position is not changed.
It can be understood that if the position of the wearable device in the positioning period is not changed, the start point positioning information and the end point positioning information of the wearable device are still obtained, which will cause unnecessary power consumption and affect the battery endurance of the wearable device. Therefore, by implementing the above embodiment, when the wearable device is in the preset safety region and there is no position change in the initial positioning period, the initial positioning period is extended, the power consumption of the device can be reduced, and the cruising ability of the battery can be improved.
Further optionally, if the motion state is used to describe that the current position changes, after the step of obtaining the end point positioning information of the initial positioning period is executed, the wearable device may further obtain a first electronic fence in which a position corresponding to the start point positioning information is located, and determine whether the position corresponding to the end point positioning information is located in the first electronic fence, if so, still use a first preset duration corresponding to the first electronic fence as a duration of a next positioning period, where the first preset duration corresponding to the first electronic fence is the duration of the initial positioning period; if not, the time length of a second period corresponding to a second electronic fence in which the position corresponding to the end point positioning information is located is used as the time length of the next positioning period, and prompt information used for describing that the wearable device is switched from the first electronic fence to the second electronic fence is sent to the mobile terminal bound by the wearable device.
According to the implementation of the embodiment, the positioning period is adaptively set and updated according to the electronic fence where the terminal positioning information is located, so that the power consumption of the device can be reduced, the communication traffic between the wearable device and the server can be reduced, and the cruising ability of the battery can be improved. In addition, after the wearable device is switched to the electronic fence, prompt information is sent to the bound mobile terminal (namely, the household terminal), and the safety of the wearable device user (namely, children) can be protected in a more targeted mode.
103. And the electronic equipment acquires the virtual positioning track according to the starting point positioning information and the end point positioning information.
It should be noted that the virtual positioning track may be a straight line connecting between the positioning points corresponding to the start point positioning information and the end point positioning information, or a curved line connecting between two positioning points, and the present invention is not limited specifically.
104. The electronic equipment divides the virtual positioning track into N sections to obtain N-1 pieces of virtual positioning information, wherein N is a positive integer larger than 1.
The positive integer N may be set by a developer according to actual conditions.
105. The electronic equipment takes 1/N duration of the initial positioning period as an updating time interval.
106. And the electronic equipment performs positioning updating according to the starting point positioning information, the N-1 pieces of virtual positioning information and the end point positioning information step by step in the next positioning period for N +1 times according to the updating time interval.
It can be understood that the duration of the next positioning period is the same as the duration of the initial positioning period, and after the initial positioning period, steps 103-106 are executed in a loop. That is, at the beginning of the next positioning period, the positioning update is performed according to the N +1 positioning information obtained from the initial positioning period, and meanwhile, the start point positioning information and the end point positioning information of the current positioning period are also obtained for performing the positioning update in the next positioning period.
Implementing the method described in fig. 1, by obtaining the starting point positioning information of the initial positioning period, and waiting until the initial positioning period is finished, obtaining the end point positioning information of the initial positioning period, then obtaining the virtual positioning track according to the two positioning information, dividing the virtual positioning track into N segments to obtain N-1 pieces of virtual positioning information, finally taking the 1/N duration of the initial positioning period as the updating time interval, and gradually performing positioning updating according to the starting point positioning information, the N-1 pieces of virtual positioning information and the end point positioning information in N +1 times in the next positioning period, thereby, in a larger positioning period, only needing to perform two times of accurate positioning, performing multiple times of positioning updating in the next positioning period with a smaller time interval, and because the number of times of accurate positioning is reduced, the power consumption of the device can be reduced, thereby improving the endurance of the battery, meanwhile, the positioning updating can be carried out in real time, and the balance between the reduction of the power consumption of the equipment and the real-time positioning is kept to a greater extent.
Example two
Referring to fig. 2, fig. 2 is a schematic flow chart of another real-time positioning method according to an embodiment of the invention. As shown in fig. 2, the real-time positioning method may include the steps of:
201 to 204. For the description of steps 201 to 204, please refer to the detailed description of steps 101 to 104 in the first embodiment, which is not repeated herein.
205. The electronic device obtains the actual moving speed of the initial positioning period.
As an alternative embodiment, after step 205 is executed, the following steps may also be executed:
the electronic equipment detects whether the electronic equipment is in an electronic map navigation mode; if the electronic map is in the navigation mode, the electronic equipment judges whether the actual moving speed reaches a preset speed threshold value; if the preset speed threshold is reached and the electronic identifier corresponding to the electronic equipment is not displayed in the map visible area on the current display interface, the electronic equipment adjusts the map visible area on the current display interface according to the starting point positioning information and the end point positioning information so that the display position of the electronic identifier on the current display interface is unchanged, and the adjusted map visible area is displayed on the current display interface. The adjusted map visible area comprises accurate positioning points corresponding to the starting point positioning information and the end point positioning information respectively, and a virtual positioning track.
Further optionally, after the adjusted map visible area is displayed on the display interface, a sliding operation instruction input by a user on the display interface may be further received, and the map visible area is adjusted according to the sliding operation instruction.
By implementing the implementation of the embodiment, the moving state of the electronic equipment is judged according to the actual moving speed in the electronic map navigation mode, if the actual moving speed reaches the preset speed threshold value and the electronic identifier corresponding to the electronic equipment is not displayed in the map visible area on the current display interface, the map visible area on the current display interface can be adjusted according to the starting point positioning information and the end point positioning information, and the adjusted map visible area including the accurate positioning points and the virtual positioning tracks corresponding to the starting point positioning information and the end point positioning information is displayed, so that the display effect of the electronic map is optimized.
206. And the electronic equipment adjusts the positioning period to obtain the duration of the next positioning period according to the actual moving speed.
It can be understood that the faster the actual moving speed is, the shorter the positioning period should be, otherwise, the distance between the start point positioning information and the end point positioning information is too large to ensure accurate positioning update.
Specifically, optionally, step 206 may include: the electronic equipment calculates the difference value between the actual moving speed and the preset moving speed; if the actual moving speed is greater than the preset moving speed and the difference value is greater than the preset threshold value, the electronic equipment shortens the positioning period by the preset time quantum to obtain shorter duration of the next positioning period; if the actual moving speed is less than the preset moving speed and the difference value is greater than the preset threshold value, the electronic equipment prolongs the positioning period by the preset time amount to obtain the longer duration of the next positioning period.
And step 205-207 is implemented, the duration of the next positioning period is adaptively adjusted according to the actual moving speed of the positioning period, so that the power consumption of the equipment can be reduced, the communication traffic with the server can be reduced, and the cruising ability of the battery can be improved.
207. The electronic equipment takes 1/N duration of the following positioning period as an updating time interval.
It should be noted that, since N +1 positioning points have been obtained in the initial positioning period, in order to perform positioning update uniformly in the next positioning period, the update time interval needs to be adjusted according to the duration of the next positioning period. For example, assuming that the original initial positioning period is 9 seconds, N is equal to 3, the update time interval is 3 seconds, and the duration of the next positioning period obtained after the positioning period is adjusted according to the actual moving speed is 12 seconds, and N remains unchanged, the update time interval is adjusted to 4 seconds.
208. And the electronic equipment performs positioning updating according to the starting point positioning information, the N-1 pieces of virtual positioning information and the end point positioning information step by step in the next positioning period for N +1 times according to the updating time interval.
Compared with the method described by implementing the method described by the fig. 1, the method described by the fig. 2 can also adaptively adjust the duration of the next positioning period according to the actual moving speed of the positioning period, can reduce the power consumption of the device, and can also reduce the communication traffic with the server, thereby improving the cruising ability of the battery.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic flow chart of another real-time positioning method according to an embodiment of the present invention. As shown in fig. 3, the real-time positioning method may include the steps of:
301. the wearable device determines the duration of an initial positioning period, an updating time interval and a positive integer N according to a preset minimum period, a preset maximum waiting value and a target preset maximum period corresponding to the current mobile scene of the wearable device.
The preset minimum period is obtained according to power consumption limit parameters of the wearable device, the preset maximum waiting value is obtained according to feedback information of a plurality of users for positioning delay, the duration of the initial positioning period is not less than the preset minimum period, the duration of the initial positioning period is not greater than the target preset maximum period, the updating time interval is not greater than the preset maximum waiting value, and the updating time interval is 1/N duration of the initial positioning period. The power consumption limit parameters are hardware parameters of the wearable device, and if the power consumption reaches a threshold value in the power consumption limit parameters, the body performance of the wearable device can be considered to be unqualified.
It should be noted that the wearable device may acquire a historical movement speed of the wearable device in each preset movement scene in advance, and obtain a preset maximum period corresponding to each preset movement scene according to the historical movement speed; and determining a target preset moving scene matched with the current moving scene of the wearable device from each preset moving scene, and obtaining a target preset maximum period corresponding to the target preset moving scene.
For example, such as the wearable device user is sitting in a car, the preset maximum period may be 3 seconds or 5 seconds; assuming that the wearable device user is walking, the preset maximum period is approximately 10 seconds.
It can be understood that the location update of the wearable device is generally sent to the mobile terminal bound to the wearable device, so that the mobile terminal user (i.e. a parent) can know the location information of the wearable device user (i.e. a child), and therefore, in order to avoid a situation that the mobile terminal user waits for the location update for a long time to cause a negative emotion, feedback information of a plurality of mobile terminal users for location delay can be collected in advance, and according to the feedback information, a preset maximum waiting value is obtained, and the set update time interval is not greater than the preset maximum waiting value.
For example, assume that the preset minimum period is 2 seconds, the preset maximum waiting value is 3 seconds, and the target preset maximum period corresponding to the current moving scene of the wearable device is 11 seconds. Since the duration of the initial positioning period is greater than the update time interval, and the duration of the initial positioning period is N times the update time interval, where N is a positive integer greater than 1, the duration of the initial positioning period cannot be 2 seconds or 3 seconds. Then, if the duration of the initial positioning period is 4 seconds and the update time interval is 3 seconds, then the ratio of 4 seconds to 3 seconds is 1.33, and N is obtained after rounding up and is equal to 2, so that it is determined that the duration of the initial positioning period is 6 seconds, the update time interval is 3 seconds, and the positive integer N is equal to 2, or the duration of the initial positioning period is 4 seconds, and the update time interval is 2 seconds and the positive integer N is equal to 2.
For another example, if the duration of the initial positioning period is 10 seconds and the update time interval is 3 seconds, then the ratio of 10 seconds to 3 seconds is 3.33, and N is equal to 3 after rounding, so that the duration of the initial positioning period is determined to be 9 seconds, the update time interval is 3 seconds, and the positive integer N is equal to 3.
For another example, if the duration of the initial positioning period is 7.6 seconds, the update time interval is 2 seconds, the ratio of 7.6 seconds to 2 seconds is 3.8, and N is obtained after rounding, it is determined that the duration of the initial positioning period is 8 seconds, the update time interval is 2 seconds, and the positive integer N is equal to 4.
For example, if the duration of the initial positioning period is 8.4 seconds and the update time interval is 2.1 seconds, the positive integer N is equal to 4.
302. When a positioning function starting instruction input by a user of the mobile terminal bound with the wearable device is received, the wearable device detects whether the current GPS signal intensity of the wearable device reaches a preset intensity threshold value. If yes, go to step 303; otherwise, the flow is ended.
As an optional implementation manner, if the current GPS signal strength of the wearable device does not reach the preset strength threshold, the wearable device may send a prompt message for describing that the current GPS signal is weak to the bound mobile terminal, and when it is detected again that the current GPS signal strength reaches the preset strength threshold, step 303 is executed again. By implementing the embodiment, the situation that the mobile terminal user waits for the positioning update for a long time to cause negative emotion can be avoided, and the user experience is improved.
303. The wearable device uses the GPS to perform first positioning on the wearable device, and positioning information obtained by the first positioning is used as starting point positioning information of an initial positioning period.
As an optional implementation manner, after step 302 is executed, if the current GPS signal strength does not reach the preset strength threshold, the wearable device may further perform first positioning on the wearable device by using a WIFI positioning technology, and use positioning information obtained by the first positioning as start positioning information of an initial positioning period; and then when the current GPS signal intensity is detected again to reach the preset intensity threshold value, refreshing the positioning period, using the GPS to reposition the wearable equipment, and using the positioning information obtained by repositioning as the starting point positioning information of a new initial positioning period.
Implement this embodiment, can adopt WIFI location technique earlier to fix a position when the GPS signal is relatively weak, wait to when the GPS signal is strong enough, refresh the positioning cycle and reposition, can guarantee to fix a position the update to wearable equipment in real time, protect children user's safety better.
It is to be understood that since both GPS positioning technology and WIFI positioning technology relate to the prior art, the present invention will not be described in detail herein.
304. And when the initial positioning period is finished, the wearable device acquires the end point positioning information of the initial positioning period.
305. And the wearable equipment obtains a virtual positioning track according to the starting point positioning information and the end point positioning information.
306. The wearable device divides the virtual positioning track into N sections to obtain N-1 pieces of virtual positioning information, wherein N is a positive integer larger than 1.
307. The wearable device takes 1/N duration of the initial positioning period as an update time interval.
308. And the wearable equipment performs positioning updating according to the starting point positioning information, the N-1 virtual positioning information and the end point positioning information step by step in the next positioning period for N +1 times according to the updating time interval.
Compared with the method described by implementing the method described by fig. 1, the method described by implementing fig. 3 can also determine the preset minimum period according to the power consumption limit parameter of the wearable device, determining a preset maximum waiting value according to feedback information of a plurality of users for positioning delay, and determining a corresponding target preset maximum period according to a current moving scene of the wearable device, thereby setting parameters of the duration of the initial positioning period, the updating time interval and a positive integer N, so that the duration of the initial positioning period meets the condition that the duration is not less than the preset minimum period and not more than the target preset maximum period, the updating time interval meets the condition that the duration is not more than the preset maximum waiting value and is 1/N duration of the initial positioning period, therefore, the setting of the parameters is more reasonable and intelligent, the power consumption of the equipment is reduced while the real-time accurate positioning is realized, and the waiting emotion of the parent user is taken care of.
In addition, prompt information for describing the current weak GPS signal can be sent to the bound mobile terminal when the GPS signal is weak, so that the situation that a mobile terminal user waits for positioning update for a long time to cause negative emotion can be avoided, and user experience is improved; or adopt WIFI location technique earlier to fix a position, when the GPS signal is strong enough, refresh the location cycle and reposition, can guarantee to fix a position the update to wearable equipment in real time, protect children user's safety better.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of a wearable device according to an embodiment of the present invention. As shown in fig. 4, the wearable device may include:
the first positioning unit 401 is configured to obtain start positioning information of an initial positioning period.
A second positioning unit 402, configured to obtain end point positioning information of the initial positioning period when the initial positioning period ends.
A track obtaining unit 403, configured to obtain a virtual positioning track according to the start point positioning information and the end point positioning information.
The virtual positioning unit 404 is configured to divide the virtual positioning track into N segments to obtain N-1 pieces of virtual positioning information, where N is a positive integer greater than 1.
A determining unit 405, configured to use 1/N duration of the initial positioning period as an update time interval.
And the updating unit 406 is configured to perform positioning updating according to the starting point positioning information, the N-1 pieces of virtual positioning information, and the ending point positioning information step by step in N +1 times in the next positioning period according to the updating time interval.
As an alternative embodiment, the wearable device shown in fig. 4 may further include the following units not shown:
a determining unit, configured to determine whether a position corresponding to starting point positioning information belongs to a preset safety region after the first positioning unit 401 acquires the starting point positioning information of the initial positioning period;
the detection unit is used for monitoring the motion state of the wearable equipment through the sensor when the judgment unit judges that the position corresponding to the starting point positioning information belongs to the preset safety area and the initial positioning period is finished;
accordingly, the second positioning unit 402 is specifically configured to obtain the end point positioning information of the initial positioning period when the detection unit detects that the motion state of the wearable device is used to describe a change in the current position.
Further optionally, the wearable device shown in fig. 4 may further include an extension unit, configured to extend the initial positioning period when the detection unit detects that the motion state of the wearable device is used to describe that the current location is not changed.
And when the motion state is a static state, a vibration state, a free-fall motion state and/or an angular motion state, judging that the motion state of the wearable device is used for describing that the current position is not changed.
It can be understood that if the position of the wearable device in the positioning period is not changed, the start point positioning information and the end point positioning information of the wearable device are still obtained, which will cause unnecessary power consumption and affect the battery endurance of the wearable device. Therefore, when the wearable device is in the preset safety area and the position of the wearable device is not changed in the initial positioning period, the initial positioning period is prolonged, the power consumption of the device can be reduced, and the cruising ability of the battery is improved.
As another optional implementation manner, in the wearable device shown in fig. 4, if the motion state is used to describe that the current position changes, the determining unit is further configured to, after the second positioning unit 402 acquires the end point positioning information of the initial positioning period, acquire a first electronic fence in which a position corresponding to the start point positioning information is located, and determine whether the position corresponding to the end point positioning information is located in the first electronic fence;
correspondingly, the determining unit 405 is further configured to, when the determining unit determines that the position corresponding to the end point positioning information is in the first electronic fence, still adopt a first preset time duration corresponding to the first electronic fence as a time duration of a next positioning period, where the first preset time duration corresponding to the first electronic fence is a time duration of an initial positioning period;
the determining unit 405 is further configured to, when the determining unit determines that the position corresponding to the end point positioning information is not located in the first electronic fence, use a second period duration corresponding to a second electronic fence in which the position corresponding to the end point positioning information is located as a duration of a next positioning period;
and the sending unit is used for sending prompt information for describing that the wearable device is switched from the first electronic fence to the second electronic fence to the mobile terminal bound with the wearable device when the judging unit judges that the position corresponding to the end point positioning information is not in the first electronic fence.
According to the implementation of the embodiment, the positioning period is adaptively set and updated according to the electronic fence where the terminal positioning information is located, so that the power consumption of the device can be reduced, the communication traffic between the wearable device and the server can be reduced, and the cruising ability of the battery can be improved. In addition, after the wearable device is switched to the electronic fence, prompt information is sent to the bound mobile terminal (namely, the household terminal), and the safety of the wearable device user (namely, children) can be protected in a more targeted mode.
The wearable device shown in fig. 4 is implemented, by acquiring the starting point positioning information of the initial positioning period, and waiting for the end of the initial positioning period, acquiring the end point positioning information of the initial positioning period, then acquiring the virtual positioning track according to the two positioning information, dividing the virtual positioning track into N segments to acquire N-1 pieces of virtual positioning information, and finally taking the 1/N duration of the initial positioning period as the updating time interval, and performing positioning updating according to the starting point positioning information, the N-1 pieces of virtual positioning information and the end point positioning information step by step in the next positioning period for N +1 times, periodic positioning can be performed at a larger time interval, and then periodic positioning updating can be performed at a smaller time interval, so that within a larger positioning period, only two times of accurate positioning need to be performed, multiple positioning updating can be performed at a smaller time interval in the next positioning period, because the times of accurate positioning are reduced, the power consumption of the equipment can be reduced, the cruising ability of the battery is improved, meanwhile, the positioning updating can be carried out in real time, and the balance between the reduction of the power consumption of the equipment and the real-time positioning is kept to a greater extent.
EXAMPLE five
Referring to fig. 5, fig. 5 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention. Wherein, the wearable device shown in fig. 5 is optimized by the wearable device shown in fig. 4, and compared with fig. 4, the wearable device shown in fig. 5 may further include:
a speed acquiring unit 407, configured to acquire an actual moving speed of the initial positioning period after the second positioning unit 402 acquires the end positioning information of the initial positioning period.
The adjusting unit 408 is configured to adjust the duration of the next positioning period obtained by the positioning period according to the actual moving speed.
The determination unit 406 is specifically configured to use 1/N duration of the following positioning period as the update time interval.
As an alternative embodiment, the wearable device shown in fig. 5 may further include:
the setting unit 409 is configured to determine, before the first positioning unit 401 acquires the start point positioning information of the initial positioning period, a duration of the initial positioning period, an update time interval, and a positive integer N according to a preset minimum period, a preset maximum waiting value, and a target preset maximum period corresponding to a current mobile scene of the wearable device.
The preset minimum period is obtained according to power consumption limit parameters of the wearable device, the preset maximum waiting value is obtained according to feedback information of a plurality of users for positioning delay, the duration of the initial positioning period is not less than the preset minimum period, the duration of the initial positioning period is not greater than the target preset maximum period, the updating time interval is not greater than the preset maximum waiting value, and the updating time interval is 1/N duration of the initial positioning period.
The receiving unit 410 is configured to trigger the first positioning unit 401 to execute the step of acquiring the starting point positioning information of the initial positioning period when receiving a positioning function starting instruction input by a user of the mobile terminal bound to the wearable device.
As an alternative embodiment, in the wearable device shown in fig. 5, the first positioning unit 401 may include:
the detecting sub-unit 4011 is configured to detect whether the current GPS signal strength of the wearable device reaches a preset strength threshold.
The first positioning sub-unit 4012 is configured to, when the detection sub-unit 4011 detects that the current GPS signal intensity reaches a preset intensity threshold, perform first positioning on the wearable device using the GPS, and use positioning information obtained by the first positioning as starting point positioning information of an initial positioning period.
As an optional implementation manner, the first positioning unit 401 may further include:
the second positioning sub-unit 4013 is configured to detect that the current GPS signal strength does not reach the preset strength threshold at the detection sub-unit 4011, perform first positioning on the wearable device by using a WIFI positioning technology, and use positioning information obtained by the first positioning as starting point positioning information of an initial positioning period.
The refreshing sub-unit 4014 is configured to perform first positioning on the wearable device by using a WIFI positioning technology in the second positioning sub-unit 4013, after positioning information obtained by the first positioning is used as starting point positioning information of an initial positioning period, and when the detecting sub-unit 4011 detects that the current GPS signal intensity reaches a preset intensity threshold value again, the positioning period is refreshed, the first positioning sub-unit 4012 is triggered to perform repositioning on the wearable device by using a GPS, and the positioning information obtained by the repositioning is used as starting point positioning information of a new initial positioning period.
As an alternative embodiment, the manner for the adjusting unit 408 to adjust the duration of the next positioning period obtained by the positioning period according to the actual moving speed may specifically be:
an adjusting unit 408, configured to calculate a difference between the actual moving speed and a preset moving speed; when the actual moving speed is higher than the preset moving speed and the difference value is higher than the preset threshold value, shortening the positioning period by the preset time amount to obtain shorter duration of the next positioning period; and when the actual moving speed is less than the preset moving speed and the difference value is greater than the preset threshold value, prolonging the positioning period by the preset time amount to obtain the longer duration of the next positioning period.
According to the embodiment, the duration of the next positioning period is adaptively adjusted according to the actual moving speed of the positioning period, so that the power consumption of the device can be reduced, the communication traffic between the wearable device and the server can be reduced, and the cruising ability of the battery can be improved.
As an optional implementation manner, in the wearable device shown in fig. 5, the sending unit is further configured to send, when the detecting sub-unit 4011 detects that the current GPS signal strength does not reach the preset strength threshold, a prompt message for describing that the current GPS signal is weak to the bound mobile terminal; and when the detecting sub-unit 4011 detects that the current GPS signal intensity reaches the preset intensity threshold value again, the first positioning sub-unit 4012 is triggered to perform first positioning on the wearable device by using the GPS, and the positioning information obtained by the first positioning is used as the starting point positioning information of the initial positioning period.
By implementing the embodiment, the situation that the mobile terminal user waits for the positioning update for a long time to cause negative emotion can be avoided, and the user experience is improved.
As an alternative embodiment, in the wearable device shown in fig. 5, the detection unit is further configured to detect whether the wearable device is in the electronic map navigation mode after the speed acquisition unit 407 acquires the actual moving speed of the initial positioning period;
the judging unit is further configured to judge whether the actual moving speed reaches a preset speed threshold value when the detecting unit detects that the wearable device is in the electronic map navigation mode;
and the wearable device shown in fig. 5 may further include a navigation unit, not shown in the figure, configured to adjust the map visible area on the current display interface according to the starting point positioning information and the ending point positioning information when the determination unit determines that the actual moving speed reaches the preset speed threshold and the electronic identifier corresponding to the wearable device is not displayed in the map visible area on the current display interface, so that the display position of the electronic identifier on the current display interface is unchanged, and the adjusted map visible area is displayed on the current display interface.
The adjusted map visible area comprises accurate positioning points corresponding to the starting point positioning information and the end point positioning information respectively, and a virtual positioning track.
Further optionally, the navigation unit is further configured to receive a sliding operation instruction input by a user on the display interface after the adjusted map visible area is displayed on the display interface, and adjust the map visible area according to the sliding operation instruction.
By implementing the implementation of the embodiment, the moving state of the wearable device is judged according to the actual moving speed in the electronic map navigation mode, if the actual moving speed reaches the preset speed threshold value and the electronic identifier corresponding to the wearable device is not displayed in the map visible area on the current display interface, the map visible area on the current display interface can be adjusted according to the starting point positioning information and the end point positioning information, and the adjusted map visible area including the accurate positioning points and the virtual positioning tracks corresponding to the starting point positioning information and the end point positioning information is displayed, so that the display effect of the electronic map is optimized.
Compared with the wearable device shown in fig. 4, the wearable device shown in fig. 5 can also send prompt information for describing the current weak GPS signal to the bound mobile terminal when the GPS signal is weak, so that the situation that a mobile terminal user waits for positioning update for a long time to cause negative emotion can be avoided, and user experience is improved; or adopt WIFI location technique earlier to fix a position, when the GPS signal is strong enough, refresh the location cycle and reposition, can guarantee to fix a position the update to wearable equipment in real time, protect children user's safety better.
In addition, the setting of the parameters of the duration of the initial positioning period, the updating time interval and the positive integer N can be more rationalized and intelligentized, the power consumption of the equipment is reduced while the real-time accurate positioning is realized, and the waiting emotion of the parent user is taken care of.
In addition, the duration of the next positioning period can be adaptively adjusted according to the actual moving speed of the positioning period, the power consumption of the device can be reduced, and the communication traffic between the wearable device and the server can be reduced, so that the cruising ability of the battery is improved.
EXAMPLE six
Referring to fig. 6, fig. 6 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention. As shown in fig. 6, the wearable device may include:
a memory 601 in which executable program code is stored;
a processor 602 coupled to a memory 601;
the processor 602 calls the executable program code stored in the memory 601 to execute any one of the real-time positioning methods shown 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 real-time positioning methods shown in the figures 1-3.
Embodiments of the present invention also disclose a computer program product, wherein, when the computer program product is run on a computer, the computer is caused to execute part or all of the steps of the method as in the above method embodiments.
The embodiment of the present invention also discloses an application publishing platform, wherein the application publishing platform is used for publishing a computer program product, and when the computer program product runs on a computer, the computer is caused to execute part or all of the steps of the method in the above method embodiments.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are exemplary and alternative embodiments, and that the acts and modules illustrated are not required in order to practice the invention.
In various embodiments of the present invention, it should be understood that the sequence numbers of the above-mentioned processes do not imply an inevitable order of execution, and the execution order of the processes should be determined by their functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present invention, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of each embodiment of the present invention.
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.
Those skilled in the art will appreciate that some or all of the steps in the methods of the above embodiments may be implemented by a program instructing associated hardware, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), compact disc-Read Only Memory (CD-ROM), or other Memory, 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 above detailed description is given to a real-time positioning method and a wearable device disclosed in the embodiments of the present invention, and a specific example is applied in the detailed description to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A real-time positioning method, comprising:
acquiring starting point positioning information of an initial positioning period;
when the initial positioning period is finished, acquiring the end point positioning information of the initial positioning period;
acquiring a virtual positioning track according to the starting point positioning information and the end point positioning information;
dividing the virtual positioning track into N sections to obtain N-1 pieces of virtual positioning information, wherein N is a positive integer greater than 1;
taking 1/N duration of the initial positioning period as an updating time interval;
and gradually performing positioning updating according to the starting point positioning information, the N-1 pieces of virtual positioning information and the end point positioning information in N +1 times in the next positioning period according to the updating time interval.
2. The method of claim 1, wherein after obtaining the end positioning information of the initial positioning period, the method further comprises:
acquiring the actual moving speed of the initial positioning period;
adjusting a positioning period to obtain the duration of the next positioning period according to the actual moving speed;
and the step of taking the 1/N duration of the initial positioning period as an updating time interval comprises the following steps:
and taking the 1/N duration of the next positioning period as an updating time interval.
3. The method according to claim 1 or 2, wherein the method is applied to a wearable device; before the obtaining of the starting point positioning information of the initial positioning period, the method further includes:
determining the duration of the initial positioning period, the updating time interval and the positive integer N according to a preset minimum period, a preset maximum waiting value and a target preset maximum period corresponding to the current mobile scene of the wearable device;
the preset minimum period is obtained according to power consumption limit parameters of the wearable device, the preset maximum waiting value is obtained according to feedback information of a plurality of users for positioning delay, the duration of the initial positioning period is not less than the preset minimum period, the duration of the initial positioning period is not greater than the target preset maximum period, the updating time interval is not greater than the preset maximum waiting value, and the updating time interval is 1/N duration of the initial positioning period;
when a positioning function starting instruction input by a user of the mobile terminal bound with the wearable device is received, executing the step of obtaining the starting point positioning information of the initial positioning period.
4. The method of claim 3, wherein the obtaining of the starting point positioning information of the initial positioning period comprises:
detecting whether the current GPS signal intensity of the wearable equipment reaches a preset intensity threshold value;
if the current GPS signal intensity reaches the preset intensity threshold value, the wearable equipment is firstly positioned by using a GPS, and positioning information obtained by the first positioning is used as starting point positioning information of the initial positioning period.
5. The method of claim 4, further comprising:
if the current GPS signal intensity does not reach the preset intensity threshold value, performing first positioning on the wearable equipment by using a WIFI positioning technology, and using positioning information obtained by the first positioning as starting point positioning information of the initial positioning period;
when the current GPS signal intensity is detected to reach the preset intensity threshold value again, a positioning period is refreshed, the wearable equipment is repositioned by using the GPS, and positioning information obtained by repositioning is used as starting point positioning information of a new initial positioning period.
6. A wearable device, comprising:
the first positioning unit is used for acquiring starting point positioning information of an initial positioning period;
the second positioning unit is used for acquiring the end point positioning information of the initial positioning period when the initial positioning period is finished;
a track obtaining unit, configured to obtain a virtual positioning track according to the starting point positioning information and the end point positioning information;
the virtual positioning unit is used for dividing the virtual positioning track into N sections to obtain N-1 pieces of virtual positioning information, wherein N is a positive integer greater than 1;
a determining unit, configured to use 1/N duration of the initial positioning period as an update time interval;
and the updating unit is used for gradually performing positioning updating according to the starting point positioning information, the N-1 pieces of virtual positioning information and the end point positioning information in N +1 times in the next positioning period according to the updating time interval.
7. The wearable device of claim 6, further comprising:
a speed obtaining unit, configured to obtain an actual moving speed of the initial positioning period after the second positioning unit obtains the end point positioning information of the initial positioning period;
the adjusting unit is used for adjusting a positioning period to obtain the duration of the next positioning period according to the actual moving speed;
the determining unit is specifically configured to use 1/N duration of the next positioning period as an update time interval.
8. The wearable device according to claim 6 or 7, further comprising:
the setting unit is used for determining the duration of an initial positioning period, the updating time interval and the positive integer N according to a preset minimum period, a preset maximum waiting value and a target preset maximum period corresponding to a current moving scene of the wearable device before the first positioning unit acquires starting point positioning information of the initial positioning period;
the preset minimum period is obtained according to power consumption limit parameters of the wearable device, the preset maximum waiting value is obtained according to feedback information of a plurality of users for positioning delay, the duration of the initial positioning period is not less than the preset minimum period, the duration of the initial positioning period is not greater than the target preset maximum period, the updating time interval is not greater than the preset maximum waiting value, and the updating time interval is 1/N duration of the initial positioning period;
the receiving unit is used for triggering the first positioning unit to execute the step of acquiring the starting point positioning information of the initial positioning period when receiving a positioning function starting instruction input by a user of the mobile terminal bound with the wearable device.
9. The wearable device of claim 8, wherein the first positioning unit comprises:
the detection subunit is used for detecting whether the current GPS signal intensity of the wearable device reaches a preset intensity threshold value;
and the first positioning subunit is used for performing first positioning on the wearable device by using the GPS when the detection subunit detects that the current GPS signal intensity reaches the preset intensity threshold value, and using positioning information obtained by the first positioning as starting point positioning information of the initial positioning period.
10. The wearable device of claim 9, wherein the first positioning unit further comprises:
the second positioning subunit is configured to, when the detection subunit detects that the current GPS signal intensity does not reach the preset intensity threshold, perform first positioning on the wearable device by using a WIFI positioning technology, and use positioning information obtained by the first positioning as starting point positioning information of the initial positioning period;
and the refreshing subunit is configured to, after the second positioning subunit uses a WIFI positioning technology to perform first positioning on the wearable device, use positioning information obtained by the first positioning as start positioning information of the initial positioning period, and when the detecting subunit detects again that the current GPS signal intensity reaches the preset intensity threshold, refresh the positioning period, trigger the first positioning subunit to perform relocation on the wearable device using a GPS, and use the positioning information obtained by the relocation as start positioning information of a new initial positioning period.
CN201910347625.8A 2019-04-28 2019-04-28 Real-time positioning method and wearable device Active CN111148032B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910347625.8A CN111148032B (en) 2019-04-28 2019-04-28 Real-time positioning method and wearable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910347625.8A CN111148032B (en) 2019-04-28 2019-04-28 Real-time positioning method and wearable device

Publications (2)

Publication Number Publication Date
CN111148032A true CN111148032A (en) 2020-05-12
CN111148032B CN111148032B (en) 2021-08-24

Family

ID=70516641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910347625.8A Active CN111148032B (en) 2019-04-28 2019-04-28 Real-time positioning method and wearable device

Country Status (1)

Country Link
CN (1) CN111148032B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112351490A (en) * 2020-10-09 2021-02-09 广州市物联万方电子科技有限公司 Positioning method and device and positioning terminal
CN113791438A (en) * 2021-09-15 2021-12-14 上海探寻信息技术有限公司 Method, device and medium for improving positioning sensing speed of intelligent wearable equipment
CN114373277A (en) * 2021-12-01 2022-04-19 深圳优美创新科技有限公司 Child monitoring method and system based on intelligent wearable device and mobile terminal

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037506A (en) * 2011-10-10 2013-04-10 中国移动通信集团公司 Locating methods, locating system and relevant equipment
CN104703132A (en) * 2015-02-04 2015-06-10 四川大学 Self adaption positioning cycle setting method for positioning service of children
CN105607103A (en) * 2015-12-23 2016-05-25 木牙(天津)科技有限公司 Children location real-time positioning system and method
CN106507311A (en) * 2016-12-13 2017-03-15 深圳亿家联网络科技有限公司 A kind of processing method of positioning and system
CN106685454A (en) * 2016-11-30 2017-05-17 深圳市几米软件有限公司 Vehicle-mounted position transmission method, vehicle-mounted positioning terminal and system
CN107529138A (en) * 2012-07-18 2017-12-29 微软技术许可有限责任公司 The position prediction preserved for the electric power in mobile device
US20180322431A1 (en) * 2017-05-05 2018-11-08 Walmart Apollo, Llc Predicting realistic time of arrival for queue priority adjustment
CN109040975A (en) * 2018-08-30 2018-12-18 四川爱联科技有限公司 Pet tracking and interactive system
CN109547268A (en) * 2019-01-03 2019-03-29 浙江天地人科技有限公司 It is a kind of to reduce the method and system for uploading the data volume in relation to location information within the regular period

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037506A (en) * 2011-10-10 2013-04-10 中国移动通信集团公司 Locating methods, locating system and relevant equipment
CN107529138A (en) * 2012-07-18 2017-12-29 微软技术许可有限责任公司 The position prediction preserved for the electric power in mobile device
CN104703132A (en) * 2015-02-04 2015-06-10 四川大学 Self adaption positioning cycle setting method for positioning service of children
CN105607103A (en) * 2015-12-23 2016-05-25 木牙(天津)科技有限公司 Children location real-time positioning system and method
CN106685454A (en) * 2016-11-30 2017-05-17 深圳市几米软件有限公司 Vehicle-mounted position transmission method, vehicle-mounted positioning terminal and system
CN106507311A (en) * 2016-12-13 2017-03-15 深圳亿家联网络科技有限公司 A kind of processing method of positioning and system
US20180322431A1 (en) * 2017-05-05 2018-11-08 Walmart Apollo, Llc Predicting realistic time of arrival for queue priority adjustment
CN109040975A (en) * 2018-08-30 2018-12-18 四川爱联科技有限公司 Pet tracking and interactive system
CN109547268A (en) * 2019-01-03 2019-03-29 浙江天地人科技有限公司 It is a kind of to reduce the method and system for uploading the data volume in relation to location information within the regular period

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112351490A (en) * 2020-10-09 2021-02-09 广州市物联万方电子科技有限公司 Positioning method and device and positioning terminal
CN112351490B (en) * 2020-10-09 2023-08-08 广州市物联万方电子科技有限公司 Positioning method, positioning device and positioning terminal
CN113791438A (en) * 2021-09-15 2021-12-14 上海探寻信息技术有限公司 Method, device and medium for improving positioning sensing speed of intelligent wearable equipment
CN114373277A (en) * 2021-12-01 2022-04-19 深圳优美创新科技有限公司 Child monitoring method and system based on intelligent wearable device and mobile terminal

Also Published As

Publication number Publication date
CN111148032B (en) 2021-08-24

Similar Documents

Publication Publication Date Title
CN111148032B (en) Real-time positioning method and wearable device
US11307639B2 (en) Power consumption control method and system for electronic positioning device, and electronic positioning device
CN109581437B (en) Wearable device and positioning method and device thereof
CN109959379B (en) Positioning method and electronic equipment
US20160057572A1 (en) Geo-fencing notifications subscriptions
CN105333880A (en) Communication terminal and prompting method and device
CN106413089A (en) Positioning method, positioning device and mobile terminal
CA2928191C (en) Location based information service application
CN104596500B (en) A kind of air navigation aid, device and terminal
US11693082B2 (en) Mobile device location
CN104570019A (en) Location reminding method and user client
CN108566617A (en) Emergency route monitors based reminding method and device
CN105426179A (en) Application program control method and terminal
CN105737837B (en) A kind of positioning navigation method, device and system
CN103037506A (en) Locating methods, locating system and relevant equipment
CN104717607B (en) A kind of calendar prompting method and mobile terminal
CN110876182A (en) Position measuring method and device
CN106341786B (en) Positioning method, method for determining safe area and related device
CN106936881B (en) Information pushing method and device based on geographic position
CN103813441B (en) Terminal positioning method and apparatus
US20230188935A1 (en) Method and system for accessing historical sensor data without location services
CN108738117B (en) Method for optimizing power consumption of application program and terminal
US11790415B2 (en) Route determination based on last known position
CN111829550B (en) Motion distance determining method, device and equipment
CN111694905B (en) Track playback method and track playback 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