CN105043377B - A kind of running route recording method, device and a kind of electronic equipment - Google Patents
A kind of running route recording method, device and a kind of electronic equipment Download PDFInfo
- Publication number
- CN105043377B CN105043377B CN201510351018.0A CN201510351018A CN105043377B CN 105043377 B CN105043377 B CN 105043377B CN 201510351018 A CN201510351018 A CN 201510351018A CN 105043377 B CN105043377 B CN 105043377B
- Authority
- CN
- China
- Prior art keywords
- running route
- acquiescence
- route
- rectangular area
- current
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 230000001788 irregular Effects 0.000 claims description 18
- 230000015572 biosynthetic process Effects 0.000 claims description 9
- 238000005457 optimization Methods 0.000 claims description 6
- 230000005611 electricity Effects 0.000 abstract description 6
- 238000004458 analytical method Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 239000002699 waste material Substances 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000001105 regulatory effect Effects 0.000 description 2
- 238000012163 sequencing technique Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Automation & Control Theory (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Navigation (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
Abstract
The recording method of kind running route, device and a kind of electronic equipment that the present invention is provided, for according to the analysis to multiple running route, obtain acquiescence running route, and when being run next time, directly obtain acquiescence running route, and current positional information is calculated to give display with smaller time interval, and running route is modified according to the current actual positions information obtained with long period interval using GPS module;And after the characteristic parameter of all rectangular areas of the acquiescence running route is traversed, obtain the acquiescence running route after being corrected, it is saved as this running route, the present invention can be when user be run with route, locating module need not be opened with less time interval to carry out the acquisition of actual position information and obtain running route, but locating module is opened to be modified to running route with larger time interval, the flow and electricity of electronic equipment can be saved.
Description
Technical field
The present invention relates to the acquisition of the data of running route, more particularly to a kind of running route recording method, device, with
And a kind of electronic equipment.
Background technology
Present user increasingly likes using running software, records the running process of oneself, but remember using running software
Recording running data needs constantly to obtain GPS running data, obtains once within such as every 2 seconds, consumes very much electricity and flow.A lot
When, user would generally select the running route of fixation.Using running software records user running data when, immediately it is each
Running route is all identical, and running route can be also recorded again, and this obviously can cause the waste of electricity and flow.
Conventional running data of the invention by analyzing user, are that it sets up " fixed running route " database, to obtain
The condition information of its running road route segment is obtained, after these information are obtained, GPS running data can be obtained with the longer interval time,
The number of times to GPS running data acquisitions can be so reduced, and does not interfere with the usage experience of user.
The content of the invention
The shortcoming of prior art in view of the above, it is an object of the invention to provide a kind of running route recording method,
Device and a kind of electronic equipment, for solving electronic equipment of the prior art for repeating fixed running route, constantly
The problem of flow waste for repeatedly obtaining the data of running route and causing and waste of energy.
In order to achieve the above objects and other related objects, the present invention provides a kind of running route recording method, applied to one
In electronic equipment with locating module, a plurality of running route is obtained previously according to the locating module, and work as and a running road
When the bar number of line identical running route reaches a threshold value, the running route is set as acquiescence running route;According to described silent
Recognize the routing characteristics of running route, the acquiescence running route is divided into multiple nonoverlapping rectangular areas, and record each institute
The characteristic parameter of rectangular area, and the position according to the rectangular area on the acquiescence running route are stated, by each square
The characteristic parameter in shape region is stored in a database with particular order, and the running route recording method comprises the following steps:
S11:The acquiescence running route is obtained, and makes the starting rectangular area for giving tacit consent to running route be current rectangle region;
S12:According to the characteristic parameter in the current rectangle region of acquisition, the first current geographical position is calculated with the first prefixed time interval
Information;S13:When the characteristic parameter according to the current rectangle region, judge that first geographical location information is worked as beyond described
During preceding rectangular area, next rectangular area adjacent with the characteristic parameter in the current rectangle region in the database is obtained
Characteristic parameter, and according to the characteristic parameter of next rectangular area, calculated again with first prefixed time interval
The first current geographical location information, and next rectangular area is set as current rectangle region;S14:It is pre- with second
If time interval opens the locating module and obtains current second geographical location information, and according to second geographical location information
With the comparison of first geographical location information, the acquiescence running route of the acquisition is modified;S15:Judge described silent
Whether the characteristic parameter for recognizing all rectangular areas of running route is acquired, if so, the acquiescence after being corrected described in then obtaining
Running route is simultaneously preserved;If it is not, then returning to step S12.
Optionally, processing is optimized to the acquiescence running route previously according to image processing techniques, to be had
Straight line, the acquiescence running route of the routing characteristics of regular camber line.
Optionally, the acquiescence running route after the optimization has irregular curve, and ought enter and the irregular song
During the corresponding rectangular area of line, open the locating module and obtain the current location information and simultaneously preserve.
Optionally, when judging that the route in each rectangular area has optional route, by the rectangular area
Optional route part be divided into can favored area, with judge to enter it is described can favored area when, open the locating module and obtain
Take the current location information and preserve.
Optionally, when judging whether the characteristic parameter of all rectangular areas of the acquiescence running route is acquired,
The d GPS locating module is opened, the running route after acquisition is simultaneously preserved.
In order to achieve the above objects and other related objects, the present invention also provides a kind of running route tape deck, is applied to
One has in the electronic equipment of locating module, including:Presetting module, a plurality of running road is obtained previously according to the locating module
Line, and when the bar number with a running route identical running route reaches a threshold value, set the running route and run as acquiescence
Step line;According to the routing characteristics of the acquiescence running route, the acquiescence running route is divided into multiple nonoverlapping squares
Shape region, and the characteristic parameter of each rectangular area is recorded, and according to the rectangular area on the acquiescence running route
Position, the characteristic parameter of each rectangular area is stored in a database with particular order;Predetermined paths acquisition module,
The acquiescence running route is obtained, and makes the starting rectangular area for giving tacit consent to running route be current rectangle region;First ground
Positional information calculation module is managed, according to the characteristic parameter in the current rectangle region of acquisition, is calculated and worked as with the first prefixed time interval
The first preceding geographical location information;And when the characteristic parameter according to the current rectangle region, judge first geographical position
When information exceeds the current rectangle region, obtain adjacent with the characteristic parameter in the current rectangle region in the database
The characteristic parameter of next rectangular area, and according to the characteristic parameter of next rectangular area, when being preset with described first
Between be spaced and calculate the first current geographical location information again, and next rectangular area is set as current rectangle area
Domain;Correcting module, current second geographical location information is obtained for opening the locating module with the second prefixed time interval, and
According to the comparison of second geographical location information and first geographical location information, the predetermined paths acquisition module is obtained
The acquiescence running route taken is modified;Running route formation module, when all rectangle regions for judging the acquiescence running route
When the characteristic parameter in domain is acquired, then obtains through the revised acquiescence running route of the correcting module and preserved.
Optionally, the presetting module is additionally operable to excellent to the acquiescence running route progress previously according to image processing techniques
Change is handled, to obtain the acquiescence running route of the routing characteristics with straight line, regular camber line.
Optionally, the acquiescence running route after the optimization has irregular curve, and ought enter and the irregular song
During the corresponding rectangular area of line, open the locating module and obtain the current location information and simultaneously preserve.
Optionally, the presetting module also judges that the route in each rectangular area has optional route to work as
When, the part of the optional route in the rectangular area is divided into can favored area;And the running route formation module, also use
With judge to enter it is described can favored area when, open the locating module and obtain the current location information and simultaneously preserve.
Optionally, when running route formation module judges the feature of all rectangular areas of the acquiescence running route
When whether parameter is acquired, the d GPS locating module is opened, the running route after acquisition is simultaneously preserved.
In order to achieve the above objects and other related objects, the present invention also provides a kind of electronic equipment, with as above any one
Described running route tape deck.
As described above, a kind of running route recording method, device and a kind of electronic equipment of the present invention, for basis
Analysis to multiple running route, obtains acquiescence running route, will be described silent according to the routing characteristics of the acquiescence running route
Recognize running route and be divided into multiple nonoverlapping rectangular areas, and record the characteristic parameter of each rectangular area, and according to institute
Position of the rectangular area on the acquiescence running route is stated, the characteristic parameter of each rectangular area is stored with particular order
In a database, and when being run next time, acquiescence running route is directly obtained, and calculate with smaller time interval
Current positional information, when the characteristic parameter according to the current rectangle region, judges that first geographical location information exceeds
During the current rectangle region, next square adjacent with the characteristic parameter in the current rectangle region in the database is obtained
The characteristic parameter in shape region, and according to the characteristic parameter of next rectangular area, with the first prefixed time interval weight
It is new to calculate the first current geographical location information, and next rectangular area is set as current rectangle region;And with compared with
Long interval of time obtains current actual position information, and the race according to current actual positions information to acquisition using locating module
Step line is modified;After the characteristic parameter of all rectangular areas of the acquiescence running route is traversed, quilt is obtained
The revised acquiescence running route is that this running route is preserved, and the present invention can be entered in user with route
When row is run, it is not necessary to open the acquisition of locating module progress actual position information with less time interval and obtain running road
Line, but locating module is opened to be modified to running route with larger time interval, the stream of electronic equipment can be saved
Amount and electricity.
Brief description of the drawings
Fig. 1 is shown as a kind of schematic flow sheet of running route recording method of the present invention in one embodiment.
Fig. 2 is shown as a kind of application schematic diagram of running route recording method of the present invention in one embodiment.
Fig. 3 is shown as a kind of module diagram of running route tape deck of the present invention in one embodiment.
Fig. 4 is shown as the module diagram of a kind of electronic equipment of the present invention in one embodiment
Component label instructions
1st, 21 running route tape deck
11 presetting modules
12 predetermined paths acquisition modules
13 first geographical location information computing modules
14 correcting modules
15 running routes formation module
2 electronic equipments
S11~S16 steps
Embodiment
Illustrate embodiments of the present invention below by way of specific instantiation, those skilled in the art can be by this specification
Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through specific realities different in addition
The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints with application, without departing from
Various modifications or alterations are carried out under the spirit of the present invention.It should be noted that, in the case where not conflicting, following examples and implementation
Feature in example can be mutually combined.
It should be noted that the diagram provided in following examples only illustrates the basic structure of the present invention in a schematic way
Think, only display is with relevant component in the present invention rather than according to component count, shape and the size during actual implement in illustrating then
Draw, it is actual when implementing, and kenel, quantity and the ratio of each component can be a kind of random change, and its assembly layout kenel
It is likely more complexity.
Show referring to Fig. 1, being shown as a kind of flow of running route recording method of the present invention in one embodiment
It is intended to.In the conventional running data by analyzing user, to be that it sets up " fixed running route " database, to obtain its race
The condition information of step route segment, after these information are obtained, can obtain GPS running data with the longer interval time, be, for example,
Obtain once within 30 seconds, can so reduce the number of times to GPS running data acquisitions, and do not interfere with the usage experience of user.
Methods described be applied to one have locating module electronic equipment in, the electronic equipment be, for example, smart mobile phone,
The mobile electronic devices such as MP3, the locating module is, for example, d GPS locating module.
Methods described obtains a plurality of running route previously according to the locating module, and is run when with a running route identical
When the bar number of step line reaches a threshold value, the running route is set as acquiescence running route;For example previously according to locating module
3 running routes are obtained, and it is compared, when three running routes are all identical, illustrate that user has found oneself happiness
Joyous running route, and the route that can substantially be run with this run, then it is acquiescence running route to identify the running route.
When only two of which running route is identical, or three are continued to obtain the running route when differing, then, are run until one
Step line is repeated 3 times, that is, the running route obtained is acquiescence running route.
And next according to it is described acquiescence running route routing characteristics, by it is described acquiescence running route be divided into it is multiple not
Overlapping rectangular area, and the characteristic parameter of each rectangular area is recorded, and run according to the rectangular area in the acquiescence
Position on the line of step, the characteristic parameter of each rectangular area is stored in a database with particular order, described specific
Sequentially, i.e., the putting in order on the acquiescence running route with the rectangular area, and the running route with user every time
Order is defined, and for example user is run with clock-wise order every time, then the up time with the rectangular area on acquiescence running route
The tactic order of pin is that sequencing is stored in database.The feature of the running route, such as with the running road
The linear feature of line is divided, and is divided into straight line, camber line and irregular curve etc., but obtained by general mode
Running route, it is difficult to well-regulated straight line or camber line etc., so, preferential, in another specific embodiment, also previously according to figure
As treatment technology optimizes processing to the acquiescence running route, to obtain the routing characteristics with straight line, rule camber line
Give tacit consent to running route, and it is then irregular curve that can not be optimised for the curve of straight line or camber line.Because d GPS locating module is determined
Position error is essentially 10 meters or so, so the area that can set the rectangular area is more than or equal to 0.01 sq-km, it is described
The characteristic parameter of rectangular area preferably includes the coordinate on four summits of the rectangle, to determine the scope of the rectangular area,
The also linear feature in the interior section including the rectangular area, such as section is straight line, and the slope including straight line, with can be square
Just the coordinate of each point for extrapolating the forthright line segment;Also such as section is the camber line of rule, in addition to the regular camber line
Curvature, can easily extrapolate the coordinate of each point in the regular arc route segment.
The running route recording method comprises the following steps:
S11:The acquiescence running route is obtained, and makes the starting rectangular area for giving tacit consent to running route be current rectangle
Region, user can also obtain acquiescence running route to be recorded or only by common GPS moulds according to self-positioning selection
The mode of block positioning obtains running route.
S12:According to the characteristic parameter in the current rectangle region of acquisition, current first is calculated with the first prefixed time interval
Geographical location information;The first current geographical location information is for example calculated with the frequency of every 2 seconds, and is shown.
S13:When the characteristic parameter according to the current rectangle region, judge first geographical location information beyond described
During current rectangle region, (current geographical position coordinates are for example extrapolated, are carried out with the apex coordinate in the current rectangle region
Compare, when abscissa or ordinate are more than the apex coordinate of the rectangular area, then judge beyond current rectangle region
Domain;) then obtain the feature of next rectangular area adjacent with the characteristic parameter in the current rectangle region in the database
Parameter, and according to the characteristic parameter of next rectangular area, calculate current again with first prefixed time interval
First geographical location information, and next rectangular area is set as current rectangle region;
S14:With current second geographical location information of the second prefixed time interval unlatching locating module acquisition, and according to
The comparison of second geographical location information and first geographical location information, is carried out to the acquiescence running route of the acquisition
Amendment;Second prefixed time interval is, for example, 30 seconds.
S15:Judge whether the characteristic parameter of all rectangular areas of the acquiescence running route is acquired, that is, judge institute
Whether the characteristic parameter for stating all rectangular areas in database is acquired, if so, then performing step S16;If it is not, then returning
To step S12, to proceed the reckoning and display of the first current geographical location information, and the reality obtained with locating module
The second geographical location information the running route of current record is modified.
Step S16:Obtain described in be corrected after acquiescence running route and preserved.
Further, the acquiescence running route after the optimization has an irregular curve, and when enter with it is described irregular
During the corresponding rectangular area of curve, open the locating module and obtain the current location information and simultaneously preserve.
Further, when the route in judging each rectangular area has optional route, such as a certain rectangle
When the forthright line segment in region also has fork crossing, by the part of the optional route in the rectangular area, (i.e. route divides
Trouble part) be divided into can favored area, with judge to enter it is described can favored area when, open the locating module and obtain described current
Positional information is simultaneously preserved, and crossed it is described can be after favored area, still to calculate current first geographical location information and each 30
Second obtains the second actual geographical location information, and the first geographical location information is modified according to the first geographical location information
Method obtain running route.
And when judging whether the characteristic parameter of all rectangular areas of the acquiescence running route is acquired, open institute
D GPS locating module is stated, the running route after acquisition is simultaneously preserved, to be combined with the running route after described be corrected, to be formed
This running route.
The application principle of the running route recording method also see shown in Fig. 2, and a in Fig. 2 is, for example, 30
Second, it is specially:Into after forthright line segment, relevant information, the rectangular area where for example described straight line of the relevant information are obtained
Four apex coordinates and forthright line segment slope.First determine whether whether to have among the section and section may be selected, if so,
Then according to changing coordinates point and section position, next coordinate is calculated, and judge whether the coordinate points exceed the square
The coordinate points on any summit in shape region, if not having, are recorded using the coordinate points extrapolated as current location, described
The action that coordinate is calculated is performed once for every 2 seconds;And when user enters optional then region in 30 seconds, then open GPS location
Module obtains current actual position information, and is recorded as the positional information of current location running route;And when the time reaches 30
During the second, 5 current location informations continuously were obtained every 2 seconds, are compared with the positional information with the place of being calculated, with to running road
Line is modified.And if the geographical position coordinates point currently extrapolated exceedes the coordinate points on any summit of the rectangular area
When, then judge to enter next rectangular area, and repeat the above-mentioned rate of exchange and amendment step.And it is further, do not advised when entering
Then during bent route segment, then the running route that locating module obtains current irregular bent route segment in real time is enabled.
Show referring to Fig. 3, being shown as a kind of module of running route tape deck of the present invention in one embodiment
It is intended to.In the running route tape deck 1, the electronic equipment applied to one with locating module, including it is presetting module 11, pre-
If route acquiring module 12, the first geographical location information computing module 13, correcting module 14, running route formation module 15.
The presetting module 11 obtains a plurality of running route previously according to the locating module, and works as and a running route phase
When the bar number of same running route reaches a threshold value, the running route is set as acquiescence running route;For example previously according to fixed
Position module obtains 3 running routes, and it is compared, and when three running routes are all identical, illustrates that user has found
The running route oneself liked, and the route that can substantially be run with this run, then identifies the running route and run for acquiescence
Step line.When only two of which running route is identical, or three are continued to obtain the running route when differing, then,
Until a running route is repeated 3 times, that is, the running route obtained is acquiescence running route.
The presetting module 11 is also used to the routing characteristics according to the acquiescence running route, by the acquiescence running route
Multiple nonoverlapping rectangular areas are divided into, and record the characteristic parameter of each rectangular area, and according to the rectangular area
Position on the acquiescence running route, a database is stored in by the characteristic parameter of each rectangular area with particular order
In;The particular order, i.e., the putting in order on the acquiescence running route with the rectangular area, and each with user
The order of running route is defined, and for example user is run with clock-wise order every time, then with the rectangular area on acquiescence running road
The order of clock-wise order arrangement on line is stored in database for sequencing.The feature of the running route, for example with
The linear feature of the running route is divided, and is divided into straight line, camber line and irregular curve etc., but by common
The running route of pattern acquiring, it is difficult to well-regulated straight line or camber line etc., so, preferential, in another specific embodiment, also
Processing optimized to the acquiescence running route previously according to image processing techniques, to obtain with straight line, rule camber line
The acquiescence running route of routing characteristics, and it is then irregular curve that can not be optimised for the curve of straight line or camber line.Because GPS determines
The position error of position module is essentially 10 meters or so, so the area that can set the rectangular area is more than or equal to 0.01 square
Km, the characteristic parameter of the rectangular area preferably includes the coordinate on four summits of the rectangle, to determine the rectangle region
The linear feature in the section in the scope in domain, in addition to the rectangular area, such as section are straight line, and including the oblique of straight line
Rate, with the coordinate for each point that can easily extrapolate the forthright line segment;Also such as section is the camber line of rule, in addition to the rule
Then arc curvature of a curve, can easily extrapolate the coordinate of each point in the regular arc route segment.
The predetermined paths acquisition module 12 obtains the acquiescence running route, and makes the starting of the acquiescence running route
Rectangular area is current rectangle region;User can also according to self-positioning selection, obtain acquiescence running route to be recorded or
Person only obtains running route by way of common GPS module positioning.
The first geographical location information computing module 13 is according to the characteristic parameter in the current rectangle region of acquisition, with first
Prefixed time interval calculates the first current geographical location information;The geographical position of current first was for example calculated with the frequency of every 2 seconds
Confidence ceases, and is shown.And when the characteristic parameter according to the current rectangle region, judge first geographical location information
During beyond the current rectangle region, (current geographical position coordinates are for example extrapolated, the summit with the current rectangle region
Coordinate is compared, and when abscissa or ordinate are more than the apex coordinate of the rectangular area, is then judged beyond current
Rectangular area;) obtain next rectangular area adjacent with the characteristic parameter in the current rectangle region in the database
Characteristic parameter, and according to the characteristic parameter of next rectangular area, calculated and worked as again with first prefixed time interval
The first preceding geographical location information, and next rectangular area is set as current rectangle region;
The correcting module 14 is used to open current second geography of the locating module acquisition with the second prefixed time interval
Positional information, and according to the comparison of second geographical location information and first geographical location information, the acquiescence is run
Step line is modified;Second prefixed time interval is, for example, 30 seconds.
Running route formation module 15, when the characteristic parameter quilt for all rectangular areas for judging the acquiescence running route
During acquisition, then obtain through the revised acquiescence running route of the correcting module and preserved.
Further, the acquiescence running route after the optimization has an irregular curve, and when enter with it is described irregular
During the corresponding rectangular area of curve, the correcting module, which opens the locating module and obtains the current location information, simultaneously to be protected
Deposit.
Further, the presetting module is also used to judge that the route in each rectangular area has optional road
During line, such as when the forthright line segment of a certain rectangular area also has fork crossing, by the rectangular area can routing
The part (i.e. route fork part) of line be divided into can favored area, with judge to enter it is described can favored area when, it is described fixed to open
Position module obtains the current location information and simultaneously preserved, and crossed it is described can be after favored area, still to calculate current first ground
Manage positional information and each 30 seconds obtain the second actual geographical location information, and according to the first geographical location information to the first ground
The method that reason positional information is modified obtains running route.
And when judging whether the characteristic parameter of all rectangular areas of the acquiescence running route is acquired, open institute
D GPS locating module is stated, the running route after acquisition is simultaneously preserved, to be combined with the running route after described be corrected, to be formed
This running route.
The realization principle of the running route tape deck also see shown in Fig. 2, and a in Fig. 2 is, for example, 30
Second, it is specially:Into after forthright line segment, relevant information, the rectangular area where for example described straight line of the relevant information are obtained
Four apex coordinates and forthright line segment slope.First determine whether whether to have among the section and section may be selected, if so,
Then according to changing coordinates point and section position, next coordinate is calculated, and judge whether the coordinate points exceed the square
The coordinate points on any summit in shape region, if not having, are recorded using the coordinate points extrapolated as current location, described
The action that coordinate is calculated is performed once for every 2 seconds;And when user enters optional then region in 30 seconds, then open GPS location
Module obtains current actual position information, and is recorded as the positional information of current location running route;And when the time reaches 30
During the second, 5 current location informations continuously were obtained every 2 seconds, are compared with the positional information with the place of being calculated, with to running road
Line is modified.And if the geographical position coordinates point currently extrapolated exceedes the coordinate points on any summit of the rectangular area
When, then judge to enter next rectangular area, and repeat the above-mentioned rate of exchange and amendment step.And it is further, do not advised when entering
Then during bent route segment, then the running route that locating module obtains current irregular bent route segment in real time is enabled.
Referring to Fig. 4, the module diagram of a kind of electronic equipment of the present invention in one embodiment is shown as, it is described
Electronic equipment 2, with running route tape deck 21, and the modular structure and application principle of the running route tape deck 21
It is identical with the running route tape deck 1 in embodiment as shown in Figure 3.
In summary, the present invention is as described above, a kind of running route recording method, device and a kind of electricity of the present invention
Sub- equipment, for according to the analysis to multiple running route, obtaining acquiescence running route, according to the road of the acquiescence running route
Line feature, is divided into multiple nonoverlapping rectangular areas, and record the spy of each rectangular area by the acquiescence running route
Parameter, and the position according to the rectangular area on the acquiescence running route are levied, the feature of each rectangular area is joined
Number is stored in a database with particular order, and when being run next time, is directly obtained and given tacit consent to running route, and with
Smaller time interval calculates current positional information, and utilizes the current actual positions that GPS module is obtained with long period interval
Information is modified to running route;When the characteristic parameter according to the current rectangle region, first geographical position is judged
When information exceeds the current rectangle region, obtain adjacent with the characteristic parameter in the current rectangle region in the database
The characteristic parameter of next rectangular area, and according to the characteristic parameter of next rectangular area, when being preset with described first
Between be spaced and calculate the first current geographical location information again, and next rectangular area is set as current rectangle area
Domain;And current actual position information is obtained using locating module with long period interval, and according to current actual positions information
The running route of acquisition is modified;Until the characteristic parameter of all rectangular areas of the acquiescence running route is traversed
Afterwards, the acquiescence running route after being corrected is obtained to be preserved for this running route, the present invention can user with
When route is run, it is not necessary to open the acquisition of locating module progress actual position information with less time interval and obtain
To running route, but locating module is opened to be modified to running route with larger time interval, electronics can be saved
The flow and electricity of equipment.So, the present invention effectively overcomes various shortcoming of the prior art and has high industrial exploitation value
Value.
The above-described embodiments merely illustrate the principles and effects of the present invention, not for the limitation present invention.It is any ripe
Know the personage of this technology all can carry out modifications and changes under the spirit and scope without prejudice to the present invention to above-described embodiment.Cause
This, those of ordinary skill in the art is complete without departing from disclosed spirit and institute under technological thought such as
Into all equivalent modifications or change, should by the present invention claim be covered.
Claims (11)
1. a kind of running route recording method, it is characterised in that in the electronic equipment applied to one with locating module, advance root
A plurality of running route is obtained according to the locating module, and when the bar number with a running route identical running route reaches a threshold value
When, the running route is set as acquiescence running route;According to the routing characteristics of the acquiescence running route, the acquiescence is run
Step line is divided into multiple nonoverlapping rectangular areas, and records the characteristic parameter of each rectangular area, and according to the square
Position of the shape region on the acquiescence running route, one is stored in by the characteristic parameter of each rectangular area with particular order
In database, the running route recording method comprises the following steps:
S11:The acquiescence running route is obtained, and makes the starting rectangular area for giving tacit consent to running route be current rectangle area
Domain;
S12:According to the characteristic parameter in the current rectangle region of acquisition, calculate that current first is geographical with the first prefixed time interval
Positional information;
S13:When the characteristic parameter according to the current rectangle region, judge first geographical location information beyond described current
During rectangular area, next rectangular area adjacent with the characteristic parameter in the current rectangle region in the database is obtained
Characteristic parameter, and according to the characteristic parameter of next rectangular area, calculated and worked as again with first prefixed time interval
The first preceding geographical location information, and next rectangular area is set as current rectangle region;
S14:The locating module is opened with the second prefixed time interval and obtains current second geographical location information, and according to described
The comparison of second geographical location information and first geographical location information, is repaiied to the acquiescence running route of the acquisition
Just;
S15:Judge whether the characteristic parameter of all rectangular areas of the acquiescence running route is acquired, if so, then obtaining
It is described be corrected after acquiescence running route and preserved;If it is not, then returning to step S12.
2. running route recording method according to claim 1, it is characterised in that:Previously according to image processing techniques to institute
State acquiescence running route and optimize processing, to obtain the acquiescence running route of the routing characteristics with straight line, regular camber line.
3. running route recording method according to claim 2, it is characterised in that:Acquiescence running route after the optimization
With irregular curve, and when entering the rectangular area corresponding with the irregular curve, open the locating module and obtain
Take the current location information and preserve.
4. running route recording method according to claim 1, it is characterised in that:When judging in each rectangular area
When route has optional route, by the part of the optional route in the rectangular area be divided into can favored area, with judge
Into it is described can favored area when, open the locating module and obtain the current location information and simultaneously preserve.
5. running route recording method according to claim 1, it is characterised in that:When judging the acquiescence running route
When whether the characteristic parameter of all rectangular areas is acquired, d GPS locating module is opened, the running route after acquisition is simultaneously protected
Deposit.
6. a kind of running route tape deck, it is characterised in that in the electronic equipment applied to one with locating module, including:
Presetting module, obtains a plurality of running route, and run when with a running route identical previously according to the locating module
When the bar number of route reaches a threshold value, the running route is set as acquiescence running route;According to the acquiescence running route
Routing characteristics, are divided into multiple nonoverlapping rectangular areas, and record each rectangular area by the acquiescence running route
Characteristic parameter, and the position according to the rectangular area on the acquiescence running route, by the feature of each rectangular area
Parameter is stored in a database with particular order;
Predetermined paths acquisition module, obtains the acquiescence running route, and make the starting rectangular area of the acquiescence running route
For current rectangle region;
First geographical location information computing module, according to the characteristic parameter in the current rectangle region of acquisition, with the first preset time
Interval calculates the first current geographical location information;And when according to the characteristic parameter in the current rectangle region, judging described the
When one geographical location information exceeds the current rectangle region, the feature with the current rectangle region in the database is obtained
The characteristic parameter of the adjacent next rectangular area of parameter, and according to the characteristic parameter of next rectangular area, with described
First prefixed time interval calculates the first current geographical location information again, and next rectangular area is set as to work as
Preceding rectangular area;
Correcting module, current second geographical location information is obtained for opening the locating module with the second prefixed time interval,
And according to the comparison of second geographical location information and first geographical location information, to the predetermined paths acquisition module
The acquiescence running route of acquisition is modified;
Running route formation module, when the characteristic parameter for all rectangular areas for judging the acquiescence running route is acquired
When, then obtain through the revised acquiescence running route of the correcting module and preserved.
7. running route tape deck according to claim 6, it is characterised in that:The presetting module is additionally operable to advance root
Processing is optimized to the acquiescence running route according to image processing techniques, it is special to obtain the route with straight line, regular camber line
The acquiescence running route levied.
8. running route tape deck according to claim 7, it is characterised in that:Acquiescence running route after the optimization
With irregular curve, and when entering the rectangular area corresponding with the irregular curve, open the locating module and obtain
Take the current location information and preserve.
9. running route tape deck according to claim 6, it is characterised in that:The presetting module is also to when judgement
When route in each rectangular area has optional route, the part of the optional route in the rectangular area is divided into
Can favored area;And running route formation module, also to judge to enter it is described can favored area when, open the positioning mould
Block obtains the current location information and preserved.
10. running route tape deck according to claim 6, it is characterised in that:When running route formation module
When judging whether the characteristic parameter of all rectangular areas of the acquiescence running route is acquired, d GPS locating module is opened, is obtained
Running route after taking simultaneously is preserved.
11. a kind of electronic equipment, it is characterised in that:With the running route record as any one of claim 6~10
Device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510351018.0A CN105043377B (en) | 2015-06-23 | 2015-06-23 | A kind of running route recording method, device and a kind of electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510351018.0A CN105043377B (en) | 2015-06-23 | 2015-06-23 | A kind of running route recording method, device and a kind of electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105043377A CN105043377A (en) | 2015-11-11 |
CN105043377B true CN105043377B (en) | 2017-09-29 |
Family
ID=54450111
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510351018.0A Expired - Fee Related CN105043377B (en) | 2015-06-23 | 2015-06-23 | A kind of running route recording method, device and a kind of electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105043377B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3388785A1 (en) * | 2015-12-31 | 2018-10-17 | Huawei Technologies Co., Ltd. | Route recommending method, electronic device and graphical user interface |
CN107580120B (en) * | 2017-08-30 | 2019-11-15 | 努比亚技术有限公司 | Running route recording method, mobile terminal and computer readable storage medium |
CN108874474A (en) * | 2018-06-21 | 2018-11-23 | 北京卡路里科技有限公司 | Determination method, apparatus, storage medium and the processor of competition object |
CN110060182A (en) * | 2019-03-16 | 2019-07-26 | 深圳壹账通智能科技有限公司 | Tourist image design method for tracing, device, computer equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101324440A (en) * | 2008-07-29 | 2008-12-17 | 光庭导航数据(武汉)有限公司 | Map-matching method based on forecast ideology |
US7480512B2 (en) * | 2004-01-16 | 2009-01-20 | Bones In Motion, Inc. | Wireless device, program products and methods of using a wireless device to deliver services |
CN102279406A (en) * | 2011-04-12 | 2011-12-14 | 广州星唯信息科技有限公司 | Fence identification method using global positioning system (GPS) to position tracks |
CN103162689A (en) * | 2011-12-16 | 2013-06-19 | 希姆通信息技术(上海)有限公司 | Auxiliary vehicle positioning system and auxiliary positioning method of vehicle |
-
2015
- 2015-06-23 CN CN201510351018.0A patent/CN105043377B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7480512B2 (en) * | 2004-01-16 | 2009-01-20 | Bones In Motion, Inc. | Wireless device, program products and methods of using a wireless device to deliver services |
CN101324440A (en) * | 2008-07-29 | 2008-12-17 | 光庭导航数据(武汉)有限公司 | Map-matching method based on forecast ideology |
CN102279406A (en) * | 2011-04-12 | 2011-12-14 | 广州星唯信息科技有限公司 | Fence identification method using global positioning system (GPS) to position tracks |
CN103162689A (en) * | 2011-12-16 | 2013-06-19 | 希姆通信息技术(上海)有限公司 | Auxiliary vehicle positioning system and auxiliary positioning method of vehicle |
Also Published As
Publication number | Publication date |
---|---|
CN105043377A (en) | 2015-11-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108846882B (en) | A kind of method, apparatus and electronic equipment of determining point and fence relationship | |
CN105043377B (en) | A kind of running route recording method, device and a kind of electronic equipment | |
CN110472534A (en) | 3D object detection method, device, equipment and storage medium based on RGB-D data | |
CN109688532A (en) | A kind of method and device dividing city function region | |
CN104270714B (en) | The method and apparatus for determining user movement track | |
CN105550199A (en) | Point position clustering method and point position clustering apparatus based on multi-source map | |
CN108256431A (en) | A kind of hand position identification method and device | |
CN106574975A (en) | Trajectory matching using peripheral signal | |
CN107968987B (en) | RSSI weighted centroid positioning method based on fixed integral combined with environmental parameters | |
CN105910612A (en) | Personalized navigation method and system | |
CN108834077B (en) | Tracking area division method and device based on user movement characteristics and electronic equipment | |
CN103822638B (en) | The treating method and apparatus of customer position information | |
CN107038589B (en) | A kind of entity information verification method and device | |
CN110967028A (en) | Navigation map construction method and device, robot and storage medium | |
CN110399445B (en) | Method, device and equipment for processing interest points | |
CN111880144B (en) | Positioning method, device, equipment and storage medium | |
CN107861992A (en) | A kind of running route processing method and apparatus | |
CN109493592A (en) | Path recommended method and device | |
CN106708837A (en) | Interest point search method and device | |
CN110060424A (en) | A kind of shared automobile returning method | |
CN106297536B (en) | Method and device for determining labeling position of planar graphic element name in electronic map | |
CN105869512A (en) | Multi-information mixed measurement mapping method and device | |
CN108268504A (en) | A kind of method and apparatus for the region of search for dividing point of interest | |
CN112734956A (en) | ETC portal determination method and device and storage medium | |
CN106855878A (en) | History wheelpath display methods and device based on electronic map |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PP01 | Preservation of patent right |
Effective date of registration: 20180313 Granted publication date: 20170929 |
|
PP01 | Preservation of patent right | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20210313 Granted publication date: 20170929 |
|
PD01 | Discharge of preservation of patent | ||
PP01 | Preservation of patent right |
Effective date of registration: 20210313 Granted publication date: 20170929 |
|
PP01 | Preservation of patent right | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20240313 Granted publication date: 20170929 |
|
PD01 | Discharge of preservation of patent | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170929 |
|
CF01 | Termination of patent right due to non-payment of annual fee |