CN105043377A - Method and device for recording running routes, and electronic equipment - Google Patents
Method and device for recording running routes, and electronic equipment Download PDFInfo
- Publication number
- CN105043377A CN105043377A CN201510351018.0A CN201510351018A CN105043377A CN 105043377 A CN105043377 A CN 105043377A CN 201510351018 A CN201510351018 A CN 201510351018A CN 105043377 A CN105043377 A CN 105043377A
- Authority
- CN
- China
- Prior art keywords
- running route
- route
- rectangular area
- acquiescence
- characteristic parameter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 230000001788 irregular Effects 0.000 claims description 20
- 238000005457 optimization Methods 0.000 claims description 6
- 230000015572 biosynthetic process Effects 0.000 claims description 3
- 238000013386 optimize process Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000005611 electricity 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
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 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 invention provides a method and a device for recording running routes, and electronic equipment. The method is characterized in that based on the analysis of repeated running routes, a default running route is obtained; during the next time running, the default running route is obtained directly, current position information is calculated with shorter time intervals to be displayed, and current practical position information is obtained by using a GPS module to correct the running route with longer time intervals; after characteristic parameters of all rectangular areas of the default running route are traversed, the corrected default running route is obtained, and stored as a current running route. According to the method and the device, a user can start the positioning module (the GPS module) with the longer time intervals to correct a running route, without starting the positioning module to obtain the practical position information to obtain the running route with the shorter time intervals, so that traffic and electric quantity of the electronic equipment are saved.
Description
Technical field
The present invention relates to the acquisition of the data of running route, particularly relate to the recording method of a kind of running route, device and a kind of electronic equipment.
Background technology
Present user more and more likes using running software, records the running process of oneself, but uses running software records running data to need constantly to obtain GPS running data, within such as every 2 seconds, obtains once, very consumes power and flow.Many times, user can select the running route fixed usually.When using the running data of running software records user, immediately each running route is all identical, also can again record running route, and this obviously can cause the waste of electricity and flow.
The present invention is by analyzing the running data in the past of user, for it sets up " fixing running route " database, to obtain the condition information of its running road route segment, after these information of acquisition, the interval longer time can obtain GPS running data, the number of times to GPS running data acquisition can be reduced like this, and the experience of user can not be affected.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide the recording method of a kind of running route, device and a kind of electronic equipment, for solving electronic equipment of the prior art for the running route repeating to fix, the problem of the data of continuous repeated obtain running route and the flow waste that causes and waste of energy.
For achieving the above object and other relevant objects, the invention provides the recording method of a kind of running route, being applied to one has in the electronic equipment of locating module, many running routes are obtained in advance according to described locating module, and when the number of the running route identical with a running route reaches a threshold value, set described running route as acquiescence running route; According to the routing characteristics of described acquiescence running route, described acquiescence running route is divided into multiple nonoverlapping rectangular area, and record the characteristic parameter of each described rectangular area, and according to the position of described rectangular area on described acquiescence running route, the characteristic parameter of each described rectangular area is stored in a database with particular order, the recording method of described running route comprises the steps: S11: obtain described acquiescence running route, and the initial rectangular area making described acquiescence running route is current rectangle region; S12: according to the characteristic parameter in the current rectangle region obtained, calculate the first current geographical location information with the first prefixed time interval; S13: when the characteristic parameter according to described current rectangle region, when judging that described first geographical location information exceeds described current rectangle region, obtain the characteristic parameter of next rectangular area adjacent with the characteristic parameter in described current rectangle region in described database, and according to the characteristic parameter of described next rectangular area, again calculate the first current geographical location information with described first prefixed time interval, and described next rectangular area is set as current rectangle region; S14: open described locating module with the second prefixed time interval and obtain current second geographical location information, and comparing according to described second geographical location information and described first geographical location information, revise the acquiescence running route of described acquisition; S15: judge whether the characteristic parameter of all rectangular areas of described acquiescence running route is all acquired, the acquiescence running route after being corrected described in if so, then obtaining also is preserved; If not, then step S12 is turned back to.
Optionally, according to image processing techniques, process is optimized to described acquiescence running route in advance, to obtain having the acquiescence running route of routing characteristics of straight line, regular camber line.
Optionally, the acquiescence running route after described optimization has irregular curve, and when entering the rectangular area corresponding with described irregular curve, opening described locating module and obtain described current location information and preserve.
Optionally, when judging that the route in each described rectangular area has optional route, the part of the optional route in described rectangular area is divided into optional area, with when judging to enter described optional area, opens described locating module and obtain described current location information and preserve.
Optionally, when whether the characteristic parameter of all rectangular areas judging described acquiescence running route is all acquired, open described GPS locating module, the running route after acquisition is also preserved.
For achieving the above object and other relevant objects, the present invention also provides a kind of running route pen recorder, being applied to one has in the electronic equipment of locating module, comprise: presetting module, many running routes are obtained in advance according to described locating module, and when the number of the running route identical with a running route reaches a threshold value, set described running route as acquiescence running route; According to the routing characteristics of described acquiescence running route, described acquiescence running route is divided into multiple nonoverlapping rectangular area, and record the characteristic parameter of each described rectangular area, and according to the position of described rectangular area on described acquiescence running route, the characteristic parameter of each described rectangular area is stored in a database with particular order; Predetermined paths acquisition module, obtains described acquiescence running route, and the initial rectangular area making described acquiescence running route is current rectangle region; First geographical location information computing module, according to the characteristic parameter in the current rectangle region obtained, calculates the first current geographical location information with the first prefixed time interval; And when the characteristic parameter according to described current rectangle region, when judging that described first geographical location information exceeds described current rectangle region, obtain the characteristic parameter of next rectangular area adjacent with the characteristic parameter in described current rectangle region in described database, and according to the characteristic parameter of described next rectangular area, again calculate the first current geographical location information with described first prefixed time interval, and described next rectangular area is set as current rectangle region; Correcting module, current second geographical location information is obtained for opening described locating module with the second prefixed time interval, and comparing according to described second geographical location information and described first geographical location information, the acquiescence running route that described predetermined paths acquisition module obtains is revised; Running route forms module, when the characteristic parameter of all rectangular areas judging described acquiescence running route is all acquired, then obtains through described correcting module revised acquiescence running route and preserves.
Optionally, described presetting module also for being optimized process according to image processing techniques to described acquiescence running route in advance, to obtain having the acquiescence running route of routing characteristics of straight line, regular camber line.
Optionally, the acquiescence running route after described optimization has irregular curve, and when entering the rectangular area corresponding with described irregular curve, opening described locating module and obtain described current location information and preserve.
Optionally, the part of the optional route in described rectangular area also in order to when judging that the route in each described rectangular area has optional route, is divided into optional area by described presetting module; And described running route forms module, also in order to when judging to enter described optional area, opening described locating module and obtain described current location information and preserve.
Optionally, when described running route formation module judges whether the characteristic parameter of all rectangular areas of described acquiescence running route is all acquired, open described GPS locating module, the running route after acquisition is also preserved.
For achieving the above object and other relevant objects, the present invention also provides a kind of electronic equipment, has the running route pen recorder as above described in any one.
As mentioned above, a kind of running route of the present invention recording method, device, and a kind of electronic equipment, for the analysis of basis to route of repeatedly running, obtain acquiescence running route, according to the routing characteristics of described acquiescence running route, described acquiescence running route is divided into multiple nonoverlapping rectangular area, and record the characteristic parameter of each described rectangular area, and according to the position of described rectangular area on described acquiescence running route, the characteristic parameter of each described rectangular area is stored in a database with particular order, and when next time runs, directly obtain acquiescence running route, and to calculate current positional information compared with small time intervals, when the characteristic parameter according to described current rectangle region, when judging that described first geographical location information exceeds described current rectangle region, obtain the characteristic parameter of next rectangular area adjacent with the characteristic parameter in described current rectangle region in described database, and according to the characteristic parameter of described next rectangular area, again the first current geographical location information is calculated with described first prefixed time interval, and described next rectangular area is set as current rectangle region, and utilize locating module to obtain current actual position information with long period interval, and according to current actual positions information, the running route obtained is revised, until after the characteristic parameter of all rectangular areas of described acquiescence running route is all traversed, the described acquiescence running route obtained after being corrected is that this running route is preserved, the present invention can when user runs with route, need not the acquisition of actual position information be carried out with unlatching of less time interval locating module and obtain running route, but open locating module to revise running route with the larger time interval, flow and the electricity of electronic equipment can be saved.
Accompanying drawing explanation
Fig. 1 is shown as a kind of route recording method schematic flow sheet in one embodiment of running of the present invention.
Fig. 2 is shown as a kind of route recording method application schematic diagram in one embodiment of running of the present invention.
Fig. 3 is shown as a kind of route pen recorder module diagram in one embodiment of running of the present invention.
Fig. 4 is shown as a kind of electronic equipment of the present invention module diagram in one embodiment
Element numbers explanation
1,21 running route pen recorders
11 presetting module
12 predetermined paths acquisition modules
13 first geographical location information computing modules
14 correcting modules
15 running routes form module
2 electronic equipments
S11 ~ S16 step
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this instructions can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this instructions also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.It should be noted that, when not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram provided in following examples only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in diagram but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
Refer to Fig. 1, be shown as a kind of route recording method schematic flow sheet in one embodiment of running of the present invention.To pass through the running data in the past analyzing user, for it sets up " fixing running route " database, to obtain the condition information of its running road route segment, after these information of acquisition, the interval longer time can obtain GPS running data, be such as obtain once for 30 seconds, the number of times to GPS running data acquisition can be reduced like this, and the experience of user can not be affected.
Described method is applied to one and has in the electronic equipment of locating module, and described electronic equipment is such as the mobile electronic device such as smart mobile phone, MP3, and described locating module is such as GPS locating module.
Described method obtains many running routes according to described locating module in advance, and when the number of the running route identical with a running route reaches a threshold value, sets described running route as acquiescence running route; Such as obtain 3 running routes according to locating module in advance, and it is compared, when three running routes are all identical, illustrate that user has found the running route oneself liked, and substantially can run with this route of running, then identify described running route for acquiescence running route.When only having that wherein two running routes are identical, or three all not identical time, then continue to obtain described running route, until a running route is repeated 3 times, the described running route namely obtained is acquiescence running route.
And next according to the routing characteristics of described acquiescence running route, described acquiescence running route is divided into multiple nonoverlapping rectangular area, and record the characteristic parameter of each described rectangular area, and according to the position of described rectangular area on described acquiescence running route, the characteristic parameter of each described rectangular area is stored in a database with particular order, described particular order, namely with described rectangular area putting in order on described acquiescence running route, and be as the criterion with the order of each running route of user, such as user runs with clock-wise order at every turn, then with the order of the clock-wise order arrangement of described rectangular area on acquiescence running route for sequencing is stored in database.The feature of described running route, such as divide with the linear feature of described running route, be divided into straight line, camber line and irregular curve etc., but the running route obtained by general mode, be difficult to well-regulated straight line or camber line etc., so, preferential, in another specific embodiment, also according to image processing techniques, process is optimized to described acquiescence running route in advance, to obtain having the acquiescence running route of routing characteristics of straight line, regular camber line, and the curve that can not be optimised for straight line or camber line is then irregular curve.Because the positioning error of GPS locating module is about 10 meters substantially, so the area that can set described rectangular area is more than or equal to 0.01 sq-km, the characteristic parameter of described rectangular area preferably includes the coordinate on four summits of described rectangle, to determine the scope of described rectangular area, also comprise the linear feature in the interior section of described rectangular area, such as section is straight line, and comprises the slope of straight line, can extrapolate the coordinate of each point of described forthright line segment easily; Also such as section is the camber line of rule, also comprises this regular arc curvature of a curve, can extrapolate the coordinate of each point in this regular arc route segment easily.
The recording method of described running route comprises the steps:
S11: obtain described acquiescence running route, and the initial rectangular area making described acquiescence running route is current rectangle region, user according to self-align selection, can also obtain acquiescence running route to carry out recording or only obtaining running route by the mode of common GPS module location.
S12: according to the characteristic parameter in the current rectangle region obtained, calculate the first current geographical location information with the first prefixed time interval; Such as calculate the first current geographical location information with the frequency of every 2 seconds, and shown.
S13: when the characteristic parameter according to described current rectangle region, when judging that described first geographical location information exceeds described current rectangle region, (such as extrapolate current geographical position coordinates, compare with the apex coordinate in described current rectangle region, when horizontal ordinate or ordinate are greater than the apex coordinate of described rectangular area, then judge beyond current rectangular area; ) then obtain the characteristic parameter of next rectangular area adjacent with the characteristic parameter in described current rectangle region in described database, and according to the characteristic parameter of described next rectangular area, again calculate the first current geographical location information with described first prefixed time interval, and described next rectangular area is set as current rectangle region;
S14: open described locating module with the second prefixed time interval and obtain current second geographical location information, and comparing according to described second geographical location information and described first geographical location information, revise the acquiescence running route of described acquisition; Described second prefixed time interval is such as 30 seconds.
S15: judge whether the characteristic parameter of all rectangular areas of described acquiescence running route is all acquired, namely judge whether the characteristic parameter of all rectangular areas in described database is all acquired, if so, then performs step S16; If not, then turn back to step S12, to proceed reckoning and the display of the first current geographical location information, and revise with the running route of the second geographical location information to current record of the reality of locating module acquisition.
Step S16: the acquiescence running route after being corrected described in acquisition is also preserved.
Further, the acquiescence running route after described optimization has irregular curve, and when entering the rectangular area corresponding with described irregular curve, opening described locating module and obtain described current location information and preserve.
Further, when judging that the route in each described rectangular area has optional route, such as, time the forthright line segment of a certain rectangular area also has point fork in the road, the part (i.e. route fork part) of the optional route in described rectangular area is divided into optional area, with when judging to enter described optional area, open described locating module obtain described current location information and preserve, and after having crossed described optional area, still to calculate current first geographical location information and to obtain the second actual geographical location information in each 30 seconds, and according to the first geographical location information, running route is obtained to the method that the first geographical location information is revised.
And when whether the characteristic parameter of all rectangular areas judging described acquiescence running route is all acquired, open described GPS locating module, running route after acquisition is also preserved, and is combined with the running route after described being corrected, to form this running route.
The application principle of described running route recording method also can be consulted shown in Fig. 2, and the described a in Fig. 2 is such as 30 seconds, be specially: after entering forthright line segment, obtain relevant information, four apex coordinates of rectangular area at described relevant information such as described straight line place and the slope of forthright line segment.First judge whether have in the middle of this section and section can be selected, if, then according to changing coordinates point and position, section, calculate next coordinate, and judge whether described coordinate points exceedes the coordinate points on arbitrary summit of described rectangular area, if no, then with the described coordinate points extrapolated for current location carries out record, the action that described coordinate calculates performs once for every 2 seconds; And when user enters optional then region in 30 seconds, then open GPS locating module and obtain current actual position information, and be recorded as the positional information of current location running route; And when the time reaches 30 seconds, obtained 5 current location informations, to compare with by the positional information of reckoning place, to revise running route every 2 seconds continuously.And if when the current geographical position coordinates point extrapolated exceedes the coordinate points on arbitrary summit of described rectangular area, then judge to enter next rectangular area, and repeat the above-mentioned rate of exchange and revise step.And further, when entering irregular bent route segment, then enable the running route of the current irregular bent route segment of locating module Real-time Obtaining.
Refer to Fig. 3, be shown as a kind of route pen recorder module diagram in one embodiment of running of the present invention.Described running route pen recorder 1, is applied to one and has in the electronic equipment of locating module, comprises presetting module 11, predetermined paths acquisition module 12, first geographical location information computing module 13, correcting module 14, running route formation module 15.
Described presetting module 11 obtains many running routes according to described locating module in advance, and when the number of the running route identical with a running route reaches a threshold value, sets described running route as acquiescence running route; Such as obtain 3 running routes according to locating module in advance, and it is compared, when three running routes are all identical, illustrate that user has found the running route oneself liked, and substantially can run with this route of running, then identify described running route for acquiescence running route.When only having that wherein two running routes are identical, or three all not identical time, then continue to obtain described running route, until a running route is repeated 3 times, the described running route namely obtained is acquiescence running route.
Described presetting module 11 is also in order to the routing characteristics according to described acquiescence running route, described acquiescence running route is divided into multiple nonoverlapping rectangular area, and record the characteristic parameter of each described rectangular area, and according to the position of described rectangular area on described acquiescence running route, the characteristic parameter of each described rectangular area is stored in a database with particular order; Described particular order, namely with described rectangular area putting in order on described acquiescence running route, and be as the criterion with the order of each running route of user, such as user runs with clock-wise order at every turn, then with the order of the clock-wise order arrangement of described rectangular area on acquiescence running route for sequencing is stored in database.The feature of described running route, such as divide with the linear feature of described running route, be divided into straight line, camber line and irregular curve etc., but the running route obtained by general mode, be difficult to well-regulated straight line or camber line etc., so, preferential, in another specific embodiment, also according to image processing techniques, process is optimized to described acquiescence running route in advance, to obtain having the acquiescence running route of routing characteristics of straight line, regular camber line, and the curve that can not be optimised for straight line or camber line is then irregular curve.Because the positioning error of GPS locating module is about 10 meters substantially, so the area that can set described rectangular area is more than or equal to 0.01 sq-km, the characteristic parameter of described rectangular area preferably includes the coordinate on four summits of described rectangle, to determine the scope of described rectangular area, also comprise the linear feature in the interior section of described rectangular area, such as section is straight line, and comprises the slope of straight line, can extrapolate the coordinate of each point of described forthright line segment easily; Also such as section is the camber line of rule, also comprises this regular arc curvature of a curve, can extrapolate the coordinate of each point in this regular arc route segment easily.
Described predetermined paths acquisition module 12 obtains described acquiescence running route, and the initial rectangular area making described acquiescence running route is current rectangle region; User according to self-align selection, can also obtain acquiescence running route to carry out recording or only obtaining running route by the mode of common GPS module location.
Described first geographical location information computing module 13, according to the characteristic parameter in the current rectangle region obtained, calculates the first current geographical location information with the first prefixed time interval; Such as calculate the first current geographical location information with the frequency of every 2 seconds, and shown.And when the characteristic parameter according to described current rectangle region, when judging that described first geographical location information exceeds described current rectangle region, (such as extrapolate current geographical position coordinates, compare with the apex coordinate in described current rectangle region, when horizontal ordinate or ordinate are greater than the apex coordinate of described rectangular area, then judge beyond current rectangular area; ) obtain the characteristic parameter of next rectangular area adjacent with the characteristic parameter in described current rectangle region in described database, and according to the characteristic parameter of described next rectangular area, again calculate the first current geographical location information with described first prefixed time interval, and described next rectangular area is set as current rectangle region;
Described correcting module 14 obtains current second geographical location information for opening described locating module with the second prefixed time interval, and comparing according to described second geographical location information and described first geographical location information, described acquiescence running route is revised; Described second prefixed time interval is such as 30 seconds.
Running route forms module 15, when the characteristic parameter of all rectangular areas judging described acquiescence running route is all acquired, then obtains through described correcting module revised acquiescence running route and preserves.
Further, the acquiescence running route after described optimization has irregular curve, and when entering the rectangular area corresponding with described irregular curve, described correcting module is opened described locating module and obtained described current location information and preserve.
Further, described presetting module is also in order to when judging that the route in each described rectangular area has optional route, such as, time the forthright line segment of a certain rectangular area also has point fork in the road, the part (i.e. route fork part) of the optional route in described rectangular area is divided into optional area, with when judging to enter described optional area, open described locating module obtain described current location information and preserve, and after having crossed described optional area, still to calculate current first geographical location information and to obtain the second actual geographical location information in each 30 seconds, and according to the first geographical location information, running route is obtained to the method that the first geographical location information is revised.
And when whether the characteristic parameter of all rectangular areas judging described acquiescence running route is all acquired, open described GPS locating module, running route after acquisition is also preserved, and is combined with the running route after described being corrected, to form this running route.
The realizing principle and also can consult shown in Fig. 2 of described running route pen recorder, and the described a in Fig. 2 is such as 30 seconds, be specially: after entering forthright line segment, obtain relevant information, four apex coordinates of rectangular area at described relevant information such as described straight line place and the slope of forthright line segment.First judge whether have in the middle of this section and section can be selected, if, then according to changing coordinates point and position, section, calculate next coordinate, and judge whether described coordinate points exceedes the coordinate points on arbitrary summit of described rectangular area, if no, then with the described coordinate points extrapolated for current location carries out record, the action that described coordinate calculates performs once for every 2 seconds; And when user enters optional then region in 30 seconds, then open GPS locating module and obtain current actual position information, and be recorded as the positional information of current location running route; And when the time reaches 30 seconds, obtained 5 current location informations, to compare with by the positional information of reckoning place, to revise running route every 2 seconds continuously.And if when the current geographical position coordinates point extrapolated exceedes the coordinate points on arbitrary summit of described rectangular area, then judge to enter next rectangular area, and repeat the above-mentioned rate of exchange and revise step.And further, when entering irregular bent route segment, then enable the running route of the current irregular bent route segment of locating module Real-time Obtaining.
Refer to Fig. 4, be shown as a kind of electronic equipment of the present invention module diagram in one embodiment, described electronic equipment 2, there is running route pen recorder 21, and the modular structure of described running route pen recorder 21 and application principle are all identical with the running route pen recorder 1 in embodiment as shown in Figure 3.
In sum, the present invention is described above, a kind of running route of the present invention recording method, device, and a kind of electronic equipment, for the analysis of basis to route of repeatedly running, obtain acquiescence running route, according to the routing characteristics of described acquiescence running route, described acquiescence running route is divided into multiple nonoverlapping rectangular area, and record the characteristic parameter of each described rectangular area, and according to the position of described rectangular area on described acquiescence running route, the characteristic parameter of each described rectangular area is stored in a database with particular order, and when next time runs, directly obtain acquiescence running route, and to calculate current positional information compared with small time intervals, and with the current actual positions information that long period interval utilizes GPS module to obtain, running route is revised, when the characteristic parameter according to described current rectangle region, when judging that described first geographical location information exceeds described current rectangle region, obtain the characteristic parameter of next rectangular area adjacent with the characteristic parameter in described current rectangle region in described database, and according to the characteristic parameter of described next rectangular area, again calculate the first current geographical location information with described first prefixed time interval, and described next rectangular area is set as current rectangle region, and utilize locating module to obtain current actual position information with long period interval, and according to current actual positions information, the running route obtained is revised, until after the characteristic parameter of all rectangular areas of described acquiescence running route is all traversed, the described acquiescence running route obtained after being corrected is that this running route is preserved, the present invention can when user runs with route, need not the acquisition of actual position information be carried out with unlatching of less time interval locating module and obtain running route, but open locating module to revise running route with the larger time interval, flow and the electricity of electronic equipment can be saved.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.
Claims (11)
1. running route recording method, it is characterized in that, being applied to one has in the electronic equipment of locating module, many running routes are obtained in advance according to described locating module, and when the number of the running route identical with a running route reaches a threshold value, set described running route as acquiescence running route; According to the routing characteristics of described acquiescence running route, described acquiescence running route is divided into multiple nonoverlapping rectangular area, and record the characteristic parameter of each described rectangular area, and according to the position of described rectangular area on described acquiescence running route, be stored in a database by the characteristic parameter of each described rectangular area with particular order, the recording method of described running route comprises the steps:
S11: obtain described acquiescence running route, and the initial rectangular area making described acquiescence running route is current rectangle region;
S12: according to the characteristic parameter in the current rectangle region obtained, calculate the first current geographical location information with the first prefixed time interval;
S13: when the characteristic parameter according to described current rectangle region, when judging that described first geographical location information exceeds described current rectangle region, obtain the characteristic parameter of next rectangular area adjacent with the characteristic parameter in described current rectangle region in described database, and according to the characteristic parameter of described next rectangular area, again calculate the first current geographical location information with described first prefixed time interval, and described next rectangular area is set as current rectangle region;
S14: open described locating module with the second prefixed time interval and obtain current second geographical location information, and comparing according to described second geographical location information and described first geographical location information, revise the acquiescence running route of described acquisition;
S15: judge whether the characteristic parameter of all rectangular areas of described acquiescence running route is all acquired, the acquiescence running route after being corrected described in if so, then obtaining also is preserved; If not, then step S12 is turned back to.
2. running route according to claim 1 recording method, is characterized in that: be optimized process according to image processing techniques to described acquiescence running route in advance, to obtain having the acquiescence running route of routing characteristics of straight line, regular camber line.
3. running route according to claim 2 recording method, it is characterized in that: the acquiescence running route after described optimization has irregular curve, and when entering the rectangular area corresponding with described irregular curve, opening described locating module and obtain described current location information and preserve.
4. running route according to claim 1 recording method, it is characterized in that: when judging that the route in each described rectangular area has optional route, the part of the optional route in described rectangular area is divided into optional area, with when judging to enter described optional area, opening described locating module and obtain described current location information and preserve.
5. running route according to claim 1 recording method, is characterized in that: when whether the characteristic parameter of all rectangular areas judging described acquiescence running route is all acquired, open described GPS locating module, the running route after acquisition is also preserved.
6. a running route pen recorder, is characterized in that, is applied to one and has in the electronic equipment of locating module, comprising:
Presetting module, obtains many running routes according to described locating module in advance, and when the number of the running route identical with a running route reaches a threshold value, sets described running route as acquiescence running route; According to the routing characteristics of described acquiescence running route, described acquiescence running route is divided into multiple nonoverlapping rectangular area, and record the characteristic parameter of each described rectangular area, and according to the position of described rectangular area on described acquiescence running route, the characteristic parameter of each described rectangular area is stored in a database with particular order;
Predetermined paths acquisition module, obtains described acquiescence running route, and the initial rectangular area making described acquiescence running route is current rectangle region;
First geographical location information computing module, according to the characteristic parameter in the current rectangle region obtained, calculates the first current geographical location information with the first prefixed time interval; And when the characteristic parameter according to described current rectangle region, when judging that described first geographical location information exceeds described current rectangle region, obtain the characteristic parameter of next rectangular area adjacent with the characteristic parameter in described current rectangle region in described database, and according to the characteristic parameter of described next rectangular area, again calculate the first current geographical location information with described first prefixed time interval, and described next rectangular area is set as current rectangle region;
Correcting module, current second geographical location information is obtained for opening described locating module with the second prefixed time interval, and comparing according to described second geographical location information and described first geographical location information, the acquiescence running route that described predetermined paths acquisition module obtains is revised;
Running route forms module, when the characteristic parameter of all rectangular areas judging described acquiescence running route is all acquired, then obtains through described correcting module revised acquiescence running route and preserves.
7. running route pen recorder according to claim 6, it is characterized in that: described presetting module also for being optimized process according to image processing techniques to described acquiescence running route in advance, to obtain having the acquiescence running route of routing characteristics of straight line, regular camber line.
8. running route pen recorder according to claim 7, it is characterized in that: the acquiescence running route after described optimization has irregular curve, and when entering the rectangular area corresponding with described irregular curve, opening described locating module and obtain described current location information and preserve.
9. running route pen recorder according to claim 6, it is characterized in that: the part of the optional route in described rectangular area also in order to when judging that the route in each described rectangular area has optional route, is divided into optional area by described presetting module; And described running route forms module, also in order to when judging to enter described optional area, opening described locating module and obtain described current location information and preserve.
10. running route pen recorder according to claim 6, it is characterized in that: when described running route formation module judges whether the characteristic parameter of all rectangular areas of described acquiescence running route is all acquired, open described GPS locating module, the running route after acquisition is also preserved.
11. 1 kinds of electronic equipments, is characterized in that: have the running route pen recorder according to any one of claim 6 ~ 10.
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 true CN105043377A (en) | 2015-11-11 |
CN105043377B CN105043377B (en) | 2017-09-29 |
Family
ID=54450111
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510351018.0A Active 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) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017113367A1 (en) * | 2015-12-31 | 2017-07-06 | 华为技术有限公司 | Route recommending method, electronic device and graphical user interface |
CN107580120A (en) * | 2017-08-30 | 2018-01-12 | 努比亚技术有限公司 | The recording method of running route and mobile terminal |
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 active Active
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 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017113367A1 (en) * | 2015-12-31 | 2017-07-06 | 华为技术有限公司 | Route recommending method, electronic device and graphical user interface |
CN107580120A (en) * | 2017-08-30 | 2018-01-12 | 努比亚技术有限公司 | The recording method of running route and mobile terminal |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN105043377B (en) | 2017-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104850641B (en) | A kind of method and device of recommendation information | |
CN102840864B (en) | A kind of method and apparatus being realized location navigation by Quick Response Code | |
CN111654823B (en) | Information pushing method and device | |
JP6130524B2 (en) | Population estimation apparatus, program, and population estimation method | |
CN105043377A (en) | Method and device for recording running routes, and electronic equipment | |
WO2012018131A1 (en) | Action characteristic extraction device, action characteristic extraction system, method of extracting action characteristic, and action characteristic extraction program | |
RU2011102604A (en) | DEVICE AND METHOD OF NAVIGATION | |
CN105809967A (en) | Traffic flow displaying method and device | |
CN105910612A (en) | Personalized navigation method and system | |
CN103929719B (en) | The optimization method and optimization device of location information | |
CN103822638B (en) | The treating method and apparatus of customer position information | |
CN105608919B (en) | The determination method and device of interchange of position | |
TWI479122B (en) | Method, apparatus, and computer program product for estimating and displaying destination | |
CN110362242A (en) | A kind of map methods of exhibiting and terminal device | |
CN109688532A (en) | A kind of method and device dividing city function region | |
CN104581626A (en) | Travel reminding method and device | |
CN104102637A (en) | Method and device for generating hot spot region | |
JP6396686B2 (en) | Action determination device, action determination method, and program | |
CN105184435A (en) | Field staff management method and system | |
CN104599002A (en) | Order value predicting method and equipment | |
CN114153934A (en) | Machine learning model training, navigation route recommendation method and computer storage medium | |
JP7172157B2 (en) | Information processing method and information processing device | |
CN104931062A (en) | Display method and device of track route map | |
CN103900596A (en) | Method and device for planning navigation path based on road sections | |
CN104599161A (en) | Method and device for pricing orders based on GPS (global positioning system) coordinate points of client |
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 | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20210313 Granted publication date: 20170929 |
|
PP01 | Preservation of patent right | ||
PP01 | Preservation of patent right |
Effective date of registration: 20210313 Granted publication date: 20170929 |
|
PD01 | Discharge of preservation of patent | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20240313 Granted publication date: 20170929 |