CN104808932A - Route information obtaining method and terminal - Google Patents
Route information obtaining method and terminal Download PDFInfo
- Publication number
- CN104808932A CN104808932A CN201410033897.8A CN201410033897A CN104808932A CN 104808932 A CN104808932 A CN 104808932A CN 201410033897 A CN201410033897 A CN 201410033897A CN 104808932 A CN104808932 A CN 104808932A
- Authority
- CN
- China
- Prior art keywords
- information
- contact track
- road
- track
- road information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
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
- G01C21/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
Abstract
The invention discloses a route information obtaining method and a terminal. The route information obtaining method comprises the steps of displaying map information, then selecting a track changing mode to obtain current contact point track information, converting the current contact point track information into geographical coordinate set information corresponding to a contact point track, obtaining road information from the map information according to the geographical coordinate set information corresponding to the contact point track and utilizing the road information to generate display route information. By means of the route information obtaining method and the terminal, an optimal route is provided for a user according to the demand of the user.
Description
Technical field
The present invention relates to the information processing technology, particularly relate to a kind of route information acquisition method and terminal.
Background technology
Along with the development of intelligent terminal, the application of electronic chart class makes the trip of people more and more convenient.Nowadays transport development is very fast, a lot of bar circuit is had to B point from city A point, the navigation circuit that electronic chart can provide is 2-3 bar backbone road, and the generation strategy of its navigation circuit is generally: choose the road that traffic lights quantity is few, or chooses the shortest path way between origin-to-destination.But the navigation circuit using above-mentioned strategy to produce is not sometimes the optimal path that user needs.
Visible, the electronic chart provided in prior art, usually cannot meet the demand of user completely, thus cannot provide optimal path for user.
Summary of the invention
In view of this, the object of the embodiment of the present invention is to provide a kind of route information acquisition method and terminal, at least can solve the problems referred to above that prior art exists.
For achieving the above object, technical scheme of the present invention is achieved in that
Embodiments provide a kind of route information acquisition method, described method comprises:
After display cartographic information, enter track and change pattern, obtain this contact track information;
Described contact track information is converted to set of geographic coordinates information corresponding to contact track;
The set of geographic coordinates information corresponding according to described contact track obtains road information from described cartographic information, utilizes described road information generate and show route information.
In such scheme, this contact track information of described acquisition, comprising: when touch operation being detected, gathers successively and records the position coordinates that in touch operation, each contact is corresponding; Using position coordinates corresponding for these whole contacts of recording as this contact track information.
In such scheme, the described set of geographic coordinates information corresponding according to described contact track obtains road information from described cartographic information, utilizes described road information to generate route information, comprising:
Whole latitude and longitude information in set of geographic coordinates information corresponding for described contact track are divided into groups, in each grouping, comprises a specified quantity latitude and longitude information;
Extract grouping successively as current group, judge whether described current group has one or more corresponding road information, if having, then extracts described one or more road information; If no, then extract next grouping as current group, until complete judgement to all groupings;
The whole road informations extracted are spliced, obtain spliced road information, between the starting point to the end judging described spliced road information, whether have between any two coordinate points and there is no corresponding road information, if no, then utilize described spliced road information to generate route information; If have, then from described cartographic information, choose the road information connecting described two coordinate points, after adding described road information to described spliced road information, generate route information.
The embodiment of the present invention additionally provides a kind of route information acquisition method, and described method comprises:
After terminal demonstration cartographic information, enter track and change pattern, obtain this contact track information;
Described contact track information is converted to the set of geographic coordinates information of contact track by described terminal, and sends set of geographic coordinates information corresponding to described contact track to server;
Described terminal receives from server and shows route information.
In such scheme, this contact track information of described acquisition, comprising: when touch operation being detected, gathering successively and recording the position coordinates that in touch operation, each contact is corresponding, using position coordinates corresponding for these whole contacts of recording as this contact track information.
Embodiments provide a kind of terminal, described terminal comprises: touch-display unit and information process unit; Wherein,
Touch-display unit, after showing cartographic information, enters track and changes pattern, obtain this contact track information;
Information process unit, for being converted to the set of geographic coordinates information of contact track by described contact track information; And the set of geographic coordinates information corresponding according to described contact track obtains corresponding road information from described cartographic information, described road information is utilized to generate route information.
In such scheme, described touch-display unit, specifically for when detecting that touch operation is opened, gathering successively and recording position coordinates corresponding to current contact in touch operation; At the end of touch operation being detected, using position coordinates corresponding for these whole contacts of recording as this contact track information.
In such scheme, described information process unit, specifically for the whole latitude and longitude information in set of geographic coordinates information corresponding for described contact track being divided into groups, comprises a specified quantity latitude and longitude information in each grouping; Extract grouping successively as current group, judge whether described current group has one or more corresponding road information, if having, then extracts described one or more road information; If no, then extract next grouping as current group, until complete judgement to all groupings; The whole road informations extracted are spliced, obtain spliced road information, between the starting point to the end judging described spliced road information, whether have between any two coordinate points and there is no corresponding road information, if no, then utilize described spliced road information to generate route information; If have, then from described cartographic information, choose the road information connecting described two coordinate points, after adding described road information to described spliced road information, generate route information.
The embodiment of the present invention additionally provides a kind of terminal, and described terminal comprises: touch-display unit, information process unit and Transmit-Receive Unit; Wherein,
Described touch-display unit, after showing cartographic information, enters track and changes pattern, obtain this contact track information; Receive and show described route information;
Described information process unit, for described contact track information being converted to the set of geographic coordinates information of contact track, and sends set of geographic coordinates information corresponding to described contact track to server;
Described Transmit-Receive Unit, for from server receipt routing information, and sends route information to touch-display unit.
In such scheme, described touch-display unit, specifically for when touch operation being detected, gathering successively and recording the position coordinates that in touch operation, each contact is corresponding; Using position coordinates corresponding for these whole contacts of recording as this contact track information.
The route information acquisition method that the embodiment of the present invention provides and terminal, can be converted to set of geographic coordinates information corresponding to contact track by the contact track information of user; Set of geographic coordinates information corresponding according to described contact track again obtains road information from described cartographic information, utilizes described road information generate and show route information.So, the route just can selected according to user, determines final route information, thus ensures the demand according to user, for user provides optimal path.
Accompanying drawing explanation
Fig. 1 is embodiment of the present invention route information acquisition method schematic flow sheet;
Fig. 2 be in prior art starting point to the route schematic diagram of terminal;
Fig. 3 is the route information schematic diagram obtained in the embodiment of the present invention;
Fig. 4 is end side schematic flow sheet in embodiment of the present invention route information acquisition method;
Fig. 5 is server side schematic flow sheet in embodiment of the present invention route information acquisition method;
Fig. 6 is the composition structural representation one of embodiment of the present invention terminal;
Fig. 7 is the composition structural representation two of embodiment of the present invention terminal;
Fig. 8 is embodiment of the present invention server composition structural representation.
Embodiment
Below in conjunction with drawings and the specific embodiments, the embodiment of the present invention is further described in more detail.
Embodiment one,
The route information acquisition method that the embodiment of the present invention proposes, as shown in Figure 1, comprises the following steps:
Step 101: after display cartographic information, enters track and changes pattern, obtain this contact track information.
Here, before described display cartographic information, also comprise: unlocking electronic map application in the terminal, cartographic information corresponding to the region, path user will planned is presented in display interface.
The described track change pattern that enters comprises: after user opens map application, the menu according to the map in application is selected track and changed pattern; Described map application display cartographic information also enters track change pattern; Wherein, it is that cartographic information is constant that described track changes pattern, receive the touch operation of user, and the coordinate information touch operation of user obtained chooses the pattern of information as route.
Wherein, described cartographic information can for being pre-stored in the off-line cartographic information in terminal;
Described off-line cartographic information is existing information in prior art, can comprise: road information, area information, link information etc.; Described road information can comprise the information such as latitude and longitude coordinates string of described road name, category of roads, road; The information such as described area information can comprise zone name, the latitude and longitude coordinates string that in region, each position is corresponding.
Such as, shown in Fig. 2, be A point when the path that user will plan is starting point, terminal is when being the path of B point, need display in the on-screen display (osd) area of terminal current again to comprise the map of described A point and B point.
This contact track information of described acquisition comprises: when touch operation being detected, gathers successively and records position coordinates corresponding to each contact; Using position coordinates corresponding for these whole contacts of recording as this contact track information.
Preferably, described contact track information can also comprise the writing time of each position coordinates.
Wherein, position coordinates corresponding to the described current contact of described collection can be for: periodically gather the position coordinates corresponding to current contact, and such as, each clock period once gathers the operation of position coordinates corresponding to contact; Described position coordinates is the current contact that the collects coordinate at touch-screen.
This contact track information got in the present embodiment can be as shown by the dotted line in fig. 3, be specially: when user needs to arrive B point from A point through C point, the route from A point to C point can be selected on screen, select the route from C point to B point again, finally obtain contact track information as shown in phantom in Figure 3.
Step 102: the set of geographic coordinates information described contact track information being converted to contact track.
Concrete, according to coordinate informations whole in described contact track information, match with the latitude and longitude information of the map area of current display one by one, obtain the latitude and longitude information that described whole coordinate information is corresponding, using whole described latitude and longitude information as set of geographic coordinates information corresponding to described contact track.
Such as, according to contact track information shown in dotted lines in Figure 3, determine the set of geographic coordinates information that contact track that user will select is corresponding.
Preferably, in the set of geographic coordinates information that described contact track is corresponding except comprising described latitude and longitude information, the writing time that each latitude and longitude information is corresponding can also be comprised.
Step 103: the set of geographic coordinates information corresponding according to described contact track obtains road information from described cartographic information, utilizes described road information generate and show route information.
Concrete, such as, as shown in Figure 3, when the set of geographic coordinates information that described contact track is corresponding is shown in dotted line, namely user have selected from A point through C point to the route of B point time, according to the sequencing of writing time, the whole latitude and longitude information in set of geographic coordinates information corresponding for described contact track are divided into groups, in each grouping, comprise a specified quantity latitude and longitude information;
Extract grouping successively as current group, judge whether described current group has one or more corresponding road information, if having, then extracts described one or more road information; If no, then extract next grouping as current group, until complete judgement to all groupings;
The whole road informations extracted are spliced, obtain spliced road information, between the starting point to the end judging described spliced road information, whether have between any two coordinate points and there is no corresponding road information, if no, then utilize described spliced road information to generate route information; If have, then from described cartographic information, choose the road information connecting described two coordinate points, after adding described road information to described spliced road information, generate route information.
Visible, by said method, when just can solve programme path information in prior art, the problem of route planning cannot be carried out according to the demand of user, user be obtained and meets the optimal path oneself required, thus can Consumer's Experience be promoted.
Embodiment two,
The operating process of end side in the route information acquisition method that the embodiment of the present invention proposes, as shown in Figure 4, comprises the following steps:
Step 401: after terminal demonstration cartographic information, enters track and changes pattern, obtain this contact track information.
Here, before described display cartographic information, also comprise: unlocking electronic map application in the terminal, cartographic information corresponding to the region, path user will planned is presented in display interface.
The described track change pattern that enters comprises: after user opens map application, the menu according to the map in application is selected track and changed pattern; Described map application display cartographic information also enters track change pattern; Wherein, it is that cartographic information is constant that described track changes pattern, receive the touch operation of user, and the coordinate information touch operation of user obtained chooses the pattern of information as route.
Wherein, when described cartographic information can be terminal unlocking electronic map application, the cartographic information that described terminal gets from server;
Described cartographic information is existing information in prior art, can comprise: road information, area information, link information etc.; Described road information can comprise the information such as latitude and longitude coordinates string of described road name, category of roads, road; The information such as described area information can comprise zone name, the latitude and longitude coordinates string that in region, each position is corresponding.
Such as, shown in Fig. 2, be A point when the path that user will plan is starting point, terminal is when being the path of B point, need display in the on-screen display (osd) area of terminal current again to comprise the map of described A point and B point.
This contact track information of described acquisition comprises: when touch operation being detected, gathers successively and records position coordinates corresponding to each contact; Using position coordinates corresponding for these whole contacts of recording as this contact track information.
Preferably, described contact track information can also comprise the writing time of each position coordinates.
Wherein, position coordinates corresponding to the described current contact of described collection can be for: periodically gather the position coordinates corresponding to current contact, and such as, each clock period once gathers the operation of position coordinates corresponding to contact; Described position coordinates is the current contact that the collects coordinate at touch-screen.
This contact track information got in the present embodiment can be as shown by the dotted line in fig. 3, concrete, when user needs to arrive B point from A point through C point, the route from A point to C point can be selected on screen, select the route from C point to B point again, finally obtain contact track information as shown in phantom in Figure 3.
Step 402: described contact track information is converted to the set of geographic coordinates information of contact track by described terminal, and send set of geographic coordinates information corresponding to described contact track to server.
Concrete, according to coordinate informations whole in described contact track information, match with the latitude and longitude information of the map area of current display one by one, obtain the latitude and longitude information that described whole coordinate information is corresponding, using whole described latitude and longitude information as set of geographic coordinates information corresponding to described contact track, and send set of geographic coordinates information corresponding to described contact track to server.
Such as, according to contact track information shown in dotted lines in Figure 3, determine the set of geographic coordinates information that contact track that user will select is corresponding.
Preferably, in the set of geographic coordinates information that described contact track is corresponding except comprising described latitude and longitude information, the writing time that each latitude and longitude information is corresponding can also be comprised.
Step 403: described terminal receives from server and shows route information.
Visible, use said method, can after terminal get Online Map, according to the demand of user, the set of geographic coordinates delivering that route user planned is corresponding, so, just can obtain and meet user's REQUESTED ROUTING information most.
The operating process of server side in the route information acquisition method that the embodiment of the present invention provides, as shown in Figure 5, comprises the following steps:
Step 501: after server receives set of geographic coordinates information corresponding to contact track, the set of geographic coordinates information corresponding according to described contact track obtains corresponding road information from described cartographic information, utilizes described road information to generate route information.
Concrete, according to described latitude and longitude information whole in the set of geographic coordinates information that described contact track is corresponding, from the described cartographic information that self stores, find out one or more road informations of Corresponding matching, utilize described one or more road information to generate route information.
Here, find out corresponding one or more road informations the described described cartographic information from self storing can comprise:
Such as, as shown in Figure 3, when the set of geographic coordinates information that described contact track is corresponding is shown in dotted line, namely user have selected from A point through C point to the route of B point time, according to the sequencing of writing time, whole latitude and longitude information in set of geographic coordinates information corresponding for described contact track are divided into groups, in each grouping, comprises a specified quantity latitude and longitude information;
Extract grouping successively as current group, judge whether described current group has one or more corresponding road information, if having, then extracts described one or more road information; If no, then extract next grouping as current group, until complete judgement to all groupings;
The whole road informations extracted are spliced, obtain spliced road information, between the starting point to the end judging described spliced road information, whether have between any two coordinate points and there is no corresponding road information, if no, then utilize described spliced road information to generate route information; If have, then from described cartographic information, choose the road information connecting described two coordinate points, after adding described road information to described spliced road information, generate route information.
Step 502: described route information sends by described server.
Here, described route information, according to the terminal iidentification sending set of geographic coordinates information corresponding to contact track, is sent to corresponding terminal by described server.It obtains the method for terminal iidentification, the method for transmission route information is prior art, does not repeat here.
Visible, by said method, when just can solve programme path information in prior art, the problem of route planning cannot be carried out according to the demand of user, user be obtained and meets the optimal path oneself required, thus can Consumer's Experience be promoted.
Embodiment three,
A kind of terminal that the embodiment of the present invention proposes, as shown in Figure 6, comprising: touch-display unit and information process unit; Wherein,
Touch-display unit, after showing cartographic information, enters track and changes pattern, obtain this contact track information;
Information process unit, for being converted to the set of geographic coordinates information of contact track by described contact track information; And the set of geographic coordinates information corresponding according to described contact track obtains corresponding road information from described cartographic information, described road information is utilized to generate route information.
Described touch-display unit, also for when unlocking electronic map application, according to the operation of user, cartographic information corresponding to the region, path user will planned is presented in display interface.It is that cartographic information is constant that described track changes pattern, receive the touch operation of user, and the coordinate information touch operation of user obtained chooses the pattern of information as route.
Described information process unit, also for the off-line cartographic information that prestores; Described off-line cartographic information is existing information in prior art, can comprise: road information, area information, link information etc.; Described road information can comprise the information such as latitude and longitude coordinates string of described road name, category of roads, road; The information such as described area information can comprise zone name, the latitude and longitude coordinates string that in region, each position is corresponding.Such as, shown in Fig. 2, be A point when the path that user will plan is starting point, terminal is when being the path of B point, need display in the on-screen display (osd) area of terminal current again to comprise the map of described A point and B point.
Described touch-display unit, specifically for when touch operation being detected, gathering successively and recording position coordinates corresponding to each contact; Using position coordinates corresponding for these whole contacts of recording as this contact track information.
Preferably, described contact track information can also comprise the writing time of each position coordinates.
Described touch-display unit, specifically for periodically gathering the position coordinates corresponding to current contact, such as, each clock period once gathers the operation of position coordinates corresponding to contact; Described position coordinates is the current contact that the collects coordinate at touch-screen.
This contact track information got in the present embodiment can be as shown by the dotted line in fig. 3, concrete, when user needs to arrive B point from A point through C point, the route from A point to C point can be selected on screen, select the route from C point to B point again, finally obtain contact track information as shown in phantom in Figure 3.
Described information process unit, specifically for according to coordinate informations whole in described contact track information, match with the latitude and longitude information of the map area of current display one by one, obtain the latitude and longitude information that described whole coordinate information is corresponding, using whole described latitude and longitude information as set of geographic coordinates information corresponding to described contact track.
Such as, according to contact track information shown in dotted lines in Figure 3, determine the set of geographic coordinates information that contact track that user will select is corresponding.
Preferably, in the set of geographic coordinates information that described contact track is corresponding except comprising described latitude and longitude information, the writing time that each latitude and longitude information is corresponding can also be comprised.
Described information process unit, specifically for according to described latitude and longitude information whole in set of geographic coordinates information corresponding to described contact track, from the described cartographic information that self stores, find out one or more road informations of Corresponding matching, utilize described one or more road information to generate route information.
Whole latitude and longitude information in set of geographic coordinates information corresponding for described contact track specifically for the sequencing according to writing time, are divided into groups, are comprised a specified quantity latitude and longitude information in each grouping by described information process unit; Extract grouping successively as current group, judge whether described current group has one or more corresponding road information, if having, then extracts described one or more road information; If no, then extract next grouping as current group, until complete judgement to all groupings; The whole road informations extracted are spliced, obtain spliced road information, between the starting point to the end judging described spliced road information, whether have between any two coordinate points and there is no corresponding road information, if no, then utilize described spliced road information to generate route information; If have, then from described cartographic information, choose the road information connecting described two coordinate points, after adding described road information to described spliced road information, generate route information.
Visible, by said method, when just can solve programme path information in prior art, the problem of route planning cannot be carried out according to the demand of user, user be obtained and meets the optimal path oneself required, thus can Consumer's Experience be promoted.
If module integrated described in the embodiment of the present invention and unit thereof using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the embodiment of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprises some instructions and performs all or part of of method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server or the network equipment etc.).And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.Like this, the embodiment of the present invention is not restricted to any specific hardware and software combination.
Accordingly, the embodiment of the present invention also describes a kind of computer-readable recording medium, this storage medium comprises one group of instruction, when executed, cause at least one processor to perform and comprise following operation: utilize the text fingerprint value of each info web to be divided into groups by info web, obtain ground floor grouping; Respectively second layer grouping is carried out to each info web in the grouping of each ground floor; Info web in the grouping of each second layer is screened, obtains the result after re-scheduling.
Preferably, described storage medium also comprises the instruction causing at least one processor to perform following operation, and described operation comprises: after display cartographic information, enter gesture operation pattern, obtain this contact track information.
Preferably, described storage medium also comprises the instruction causing at least one processor to perform following operation, and described operation comprises: the set of geographic coordinates information described contact track information being converted to contact track; And the set of geographic coordinates information corresponding according to described contact track obtains corresponding road information from described cartographic information, described road information is utilized to generate route information.
Preferably, described storage medium also comprises the instruction causing at least one processor to perform following operation, described operation comprises: when unlocking electronic map application, according to the operation of user, and cartographic information corresponding to the region, path user will planned is presented in display interface.
Preferably, described storage medium also comprises the instruction causing at least one processor to perform following operation, and described operation comprises: prestore off-line cartographic information.
Preferably, described storage medium also comprises the instruction causing at least one processor to perform following operation, and described operation comprises: when detecting that touch operation is opened, and gathers successively and records position coordinates corresponding to described current contact; At the end of touch operation being detected, using position coordinates corresponding for these whole contacts of recording as this contact track information.
Preferably, described storage medium also comprises the instruction causing at least one processor to perform following operation, described operation comprises: periodically gather the position coordinates corresponding to current contact, and such as, each clock period once gathers the operation of position coordinates corresponding to contact; Described position coordinates is the current contact that the collects coordinate at touch-screen.
Preferably, described storage medium also comprises the instruction causing at least one processor to perform following operation, described operation comprises: according to coordinate informations whole in described contact track information, match with the latitude and longitude information of the map area of current display one by one, obtain the latitude and longitude information that described whole coordinate information is corresponding, using whole described latitude and longitude information as set of geographic coordinates information corresponding to described contact track.
Preferably, described storage medium also comprises the instruction causing at least one processor to perform following operation, described operation comprises: according to described latitude and longitude information whole in the set of geographic coordinates information that described contact track is corresponding, from the described cartographic information that self stores, find out one or more road informations of Corresponding matching, utilize described one or more road information to generate route information.
Preferably, described storage medium also comprises the instruction causing at least one processor to perform following operation, described operation comprises: according to the sequencing of writing time, whole latitude and longitude information in set of geographic coordinates information corresponding for described contact track are divided into groups, in each grouping, comprises a specified quantity latitude and longitude information; Extract grouping successively as current group, judge whether described current group has one or more corresponding road information, if having, then extracts described one or more road information; If no, then extract next grouping as current group, until complete judgement to all groupings; The whole road informations extracted are spliced, obtain spliced road information, between the starting point to the end judging described spliced road information, whether have between any two coordinate points and there is no corresponding road information, if no, then utilize described spliced road information to generate route information; If have, then from described cartographic information, choose the road information connecting described two coordinate points, after adding described road information to described spliced road information, generate route information.
Embodiment four,
A kind of terminal that the embodiment of the present invention proposes, as shown in Figure 7, can comprise: touch-display unit, information process unit and Transmit-Receive Unit; Wherein,
Described touch-display unit, after showing cartographic information, enters track and changes pattern, obtain this contact track information; Receive and show described route information;
Described information process unit, for described contact track information being converted to the set of geographic coordinates information of contact track, and sends set of geographic coordinates information corresponding to described contact track to server;
Described Transmit-Receive Unit, for from server receipt routing information, and sends route information to touch-display unit.
Described touch-display unit, also for when unlocking electronic map application, cartographic information corresponding to the region, path user will planned is presented in display interface.Wherein, when described cartographic information can be terminal unlocking electronic map application, the cartographic information that described terminal gets from server; Described cartographic information is existing information in prior art, can comprise: road information, area information, link information etc.; Described road information can comprise the information such as latitude and longitude coordinates string of described road name, category of roads, road; The information such as described area information can comprise zone name, the latitude and longitude coordinates string that in region, each position is corresponding.
It is that cartographic information is constant that described track changes pattern, receive the touch operation of user, and the coordinate information touch operation of user obtained chooses the pattern of information as route.
Such as, shown in Fig. 2, be A point when the path that user will plan is starting point, terminal is when being the path of B point, need display in the on-screen display (osd) area of terminal current again to comprise the map of described A point and B point.
Described touch-display unit, specifically for when touch operation being detected, gathering successively and recording position coordinates corresponding to described each contact current; Using position coordinates corresponding for these whole contacts of recording as this contact track information.
Preferably, described contact track information can also comprise the writing time of each position coordinates.
Described touch-display unit, specifically for periodically gathering the position coordinates corresponding to current contact, such as, each clock period once gathers the operation of position coordinates corresponding to contact; Described position coordinates is the current contact that the collects coordinate at touch-screen.
This contact track information got in the present embodiment can be as shown by the dotted line in fig. 3, concrete, when user needs to arrive B point from A point through C point, the route from A point to C point can be selected on screen, select the route from C point to B point again, finally obtain contact track information as shown in phantom in Figure 3.
Concrete, according to coordinate informations whole in described contact track information, match with the latitude and longitude information of the map area of current display one by one, obtain the latitude and longitude information that described whole coordinate information is corresponding, using whole described latitude and longitude information as set of geographic coordinates information corresponding to described contact track.
Such as, according to contact track information shown in dotted lines in Figure 3, determine the set of geographic coordinates information that contact track that user will select is corresponding.
Preferably, in the set of geographic coordinates information that described contact track is corresponding except comprising described latitude and longitude information, the writing time that each latitude and longitude information is corresponding can also be comprised.
Visible, use said method, can after terminal get Online Map, according to the demand of user, the set of geographic coordinates delivering that route user planned is corresponding, so, just can obtain and meet user's REQUESTED ROUTING information most.
If module integrated described in the embodiment of the present invention and unit thereof using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the embodiment of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprises some instructions and performs all or part of of method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server or the network equipment etc.).And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.Like this, the embodiment of the present invention is not restricted to any specific hardware and software combination.
Accordingly, the embodiment of the present invention also describes a kind of computer-readable recording medium, this storage medium comprises one group of instruction, when executed, cause at least one processor to perform and comprise following operation: the set of geographic coordinates information described contact track information being converted to contact track, and send set of geographic coordinates information corresponding to described contact track.When unlocking electronic map application, cartographic information corresponding to the region, path user will planned is presented in display interface.
Preferably, described storage medium also comprises the instruction causing at least one processor to perform following operation, and described operation comprises: after display cartographic information, enter gesture operation pattern, obtain this contact track information; Described contact track information is converted to the set of geographic coordinates information of contact track, and sends set of geographic coordinates information corresponding to described contact track.
Preferably, described storage medium also comprises the instruction causing at least one processor to perform following operation, and described operation comprises: when unlocking electronic map application, and cartographic information corresponding to the region, path user will planned is presented in display interface.
Preferably, described storage medium also comprises the instruction causing at least one processor to perform following operation, and described operation comprises: when detecting that touch operation is opened, and gathers successively and records position coordinates corresponding to described current contact; At the end of touch operation being detected, using position coordinates corresponding for these whole contacts of recording as this contact track information.
Preferably, described storage medium also comprises the instruction causing at least one processor to perform following operation, and described operation comprises: periodically gather the position coordinates corresponding to current contact.
Preferably, above-mentioned terminal and server can also use by the embodiment of the present invention jointly, and as shown in Figure 8, described server can comprise: processing unit and Transmit-Receive Unit; Wherein,
Processing unit, after receiving set of geographic coordinates information corresponding to contact track, the set of geographic coordinates information corresponding according to described contact track obtains corresponding road information from described cartographic information, utilizes described road information to generate route information;
Transmit-Receive Unit, for set of geographic coordinates information corresponding for the contact track received is sent to processing unit, and sends the route information that processing unit sends.
Described processing unit, specifically for according to described latitude and longitude information whole in set of geographic coordinates information corresponding to described contact track, from the described cartographic information that self stores, find out one or more road informations of Corresponding matching, utilize described one or more road information to generate route information.
Described processing unit, specifically for such as, as shown in Figure 3, when the set of geographic coordinates information that described contact track is corresponding is shown in dotted line, namely user have selected from A point through C point to the route of B point time, according to the sequencing of writing time, the whole latitude and longitude information in set of geographic coordinates information corresponding for described contact track are divided into groups, in each grouping, comprise a specified quantity latitude and longitude information; Extract grouping successively as current group, judge whether described current group has one or more corresponding road information, if having, then extracts described one or more road information; If no, then extract next grouping as current group, until complete judgement to all groupings; The whole road informations extracted are spliced, obtain spliced road information, between the starting point to the end judging described spliced road information, whether have between any two coordinate points and there is no corresponding road information, if no, then utilize described spliced road information to generate route information; If have, then from described cartographic information, choose the road information connecting described two coordinate points, after adding described road information to described spliced road information, generate route information.
Here, described route information, according to the terminal iidentification sending set of geographic coordinates information corresponding to contact track, is sent to corresponding terminal by described server.It obtains the method for terminal iidentification, the method for transmission route information is prior art, does not repeat here.
Visible, by said method, when just can solve programme path information in prior art, the problem of route planning cannot be carried out according to the demand of user, user be obtained and meets the optimal path oneself required, thus can Consumer's Experience be promoted.
If module integrated described in the embodiment of the present invention and unit thereof using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the embodiment of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprises some instructions and performs all or part of of method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server or the network equipment etc.).And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.Like this, the embodiment of the present invention is not restricted to any specific hardware and software combination.
Accordingly, the embodiment of the present invention also describes a kind of computer-readable recording medium, this storage medium comprises one group of instruction, when executed, cause at least one processor to perform and comprise following operation: after receiving set of geographic coordinates information corresponding to contact track, the set of geographic coordinates information corresponding according to described contact track obtains corresponding road information from described cartographic information, utilizes described road information to generate route information; And send the route information that processing unit sends.
Preferably, described storage medium also comprises the instruction causing at least one processor to perform following operation, described operation comprises: according to described latitude and longitude information whole in the set of geographic coordinates information that described contact track is corresponding, from the described cartographic information that self stores, find out one or more road informations of Corresponding matching, utilize described one or more road information to generate route information.
Preferably, described storage medium also comprises the instruction causing at least one processor to perform following operation, described operation comprises: according to the sequencing of writing time, whole latitude and longitude information in set of geographic coordinates information corresponding for described contact track are divided into groups, in each grouping, comprises a specified quantity latitude and longitude information; Extract grouping successively as current group, judge whether described current group has one or more corresponding road information, if having, then extracts described one or more road information; If no, then extract next grouping as current group, until complete judgement to all groupings; The whole road informations extracted are spliced, obtain spliced road information, between the starting point to the end judging described spliced road information, whether have between any two coordinate points and there is no corresponding road information, if no, then utilize described spliced road information to generate route information; If have, then from described cartographic information, choose the road information connecting described two coordinate points, after adding described road information to described spliced road information, generate route information.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.
Claims (10)
1. a route information acquisition method, is characterized in that, described method comprises:
After display cartographic information, enter track and change pattern, obtain this contact track information;
Described contact track information is converted to set of geographic coordinates information corresponding to contact track;
The set of geographic coordinates information corresponding according to described contact track obtains road information from described cartographic information, utilizes described road information generate and show route information.
2. method according to claim 1, is characterized in that, this contact track information of described acquisition, comprising: when touch operation being detected, gathers successively and records the position coordinates that in touch operation, each contact is corresponding; Using position coordinates corresponding for these whole contacts of recording as this contact track information.
3. method according to claim 1, is characterized in that, the described set of geographic coordinates information corresponding according to described contact track obtains road information from described cartographic information, utilizes described road information to generate route information, comprising:
Whole latitude and longitude information in set of geographic coordinates information corresponding for described contact track are divided into groups, in each grouping, comprises a specified quantity latitude and longitude information;
Extract grouping successively as current group, judge whether described current group has one or more corresponding road information, if having, then extracts described one or more road information; If no, then extract next grouping as current group, until complete judgement to all groupings;
The whole road informations extracted are spliced, obtain spliced road information, between the starting point to the end judging described spliced road information, whether have between any two coordinate points and there is no corresponding road information, if no, then utilize described spliced road information to generate route information; If have, then from described cartographic information, choose the road information connecting described two coordinate points, after adding described road information to described spliced road information, generate route information.
4. a route information acquisition method, is characterized in that, described method comprises:
After terminal demonstration cartographic information, enter track and change pattern, obtain this contact track information;
Described contact track information is converted to the set of geographic coordinates information of contact track by described terminal, and sends set of geographic coordinates information corresponding to described contact track to server;
Described terminal receives from server and shows route information.
5. method according to claim 4, it is characterized in that, this contact track information of described acquisition, comprise: when touch operation being detected, gather successively and record the position coordinates that in touch operation, each contact is corresponding, using position coordinates corresponding for these whole contacts of recording as this contact track information.
6. a terminal, is characterized in that, described terminal comprises: touch-display unit and information process unit; Wherein,
Touch-display unit, after showing cartographic information, enters track and changes pattern, obtain this contact track information;
Information process unit, for being converted to the set of geographic coordinates information of contact track by described contact track information; And the set of geographic coordinates information corresponding according to described contact track obtains corresponding road information from described cartographic information, described road information is utilized to generate route information.
7. terminal according to claim 6, is characterized in that, described touch-display unit, specifically for when detecting that touch operation is opened, gathering successively and recording position coordinates corresponding to current contact in touch operation; At the end of touch operation being detected, using position coordinates corresponding for these whole contacts of recording as this contact track information.
8. terminal according to claim 6, it is characterized in that, described information process unit, specifically for the whole latitude and longitude information in set of geographic coordinates information corresponding for described contact track being divided into groups, comprises a specified quantity latitude and longitude information in each grouping; Extract grouping successively as current group, judge whether described current group has one or more corresponding road information, if having, then extracts described one or more road information; If no, then extract next grouping as current group, until complete judgement to all groupings; The whole road informations extracted are spliced, obtain spliced road information, between the starting point to the end judging described spliced road information, whether have between any two coordinate points and there is no corresponding road information, if no, then utilize described spliced road information to generate route information; If have, then from described cartographic information, choose the road information connecting described two coordinate points, after adding described road information to described spliced road information, generate route information.
9. a terminal, is characterized in that, described terminal comprises: touch-display unit, information process unit and Transmit-Receive Unit; Wherein,
Described touch-display unit, after showing cartographic information, enters track and changes pattern, obtain this contact track information; Receive and show described route information;
Described information process unit, for described contact track information being converted to the set of geographic coordinates information of contact track, and sends set of geographic coordinates information corresponding to described contact track to server;
Described Transmit-Receive Unit, for from server receipt routing information, and sends route information to touch-display unit.
10. terminal according to claim 9, is characterized in that, described touch-display unit, specifically for when touch operation being detected, gathering successively and recording the position coordinates that in touch operation, each contact is corresponding; Using position coordinates corresponding for these whole contacts of recording as this contact track information.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410033897.8A CN104808932B (en) | 2014-01-23 | 2014-01-23 | Route information acquisition method and terminal |
PCT/CN2015/071323 WO2015110041A1 (en) | 2014-01-23 | 2015-01-22 | Route information acquiring method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410033897.8A CN104808932B (en) | 2014-01-23 | 2014-01-23 | Route information acquisition method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104808932A true CN104808932A (en) | 2015-07-29 |
CN104808932B CN104808932B (en) | 2020-04-10 |
Family
ID=53680826
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410033897.8A Active CN104808932B (en) | 2014-01-23 | 2014-01-23 | Route information acquisition method and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104808932B (en) |
WO (1) | WO2015110041A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106446083A (en) * | 2016-09-09 | 2017-02-22 | 珠海市魅族科技有限公司 | Route indication method and mobile terminal |
CN106484907A (en) * | 2016-10-24 | 2017-03-08 | 重庆联导金宏实业有限公司 | Based on the fast search display methods of engine map, device and engine map |
CN111368218A (en) * | 2020-02-25 | 2020-07-03 | 深圳市口袋网络科技有限公司 | Display method, device, terminal and computer storage medium |
CN111896023A (en) * | 2020-06-30 | 2020-11-06 | 汉海信息技术(上海)有限公司 | Navigation route generation method, user side, server side, device and storage medium |
CN112789619A (en) * | 2020-12-31 | 2021-05-11 | 华为技术有限公司 | Simulation scene construction method, simulation method and device |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108828643B (en) * | 2018-04-25 | 2022-04-29 | 长安大学 | Indoor and outdoor seamless positioning system and method based on grey prediction model |
CN112677763B (en) * | 2020-12-28 | 2023-05-02 | 广州小马慧行科技有限公司 | Automatic driving vehicle journey planning processing method and device and vehicle-mounted terminal |
CN113761618B (en) * | 2021-08-03 | 2024-04-16 | 武汉光庭信息技术股份有限公司 | Real data-based automatic construction method and system for 3D simulation road network |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1948908A (en) * | 2005-10-12 | 2007-04-18 | 深圳市融进科技有限公司 | Navigation method and system based on cell phone |
EP2244061A1 (en) * | 2009-04-23 | 2010-10-27 | HTC Corporation | Route reporting method, system and recording medium using the same |
CN102829793A (en) * | 2011-06-16 | 2012-12-19 | 环达电脑(上海)有限公司 | Navigation device and control method thereof |
CN102915348A (en) * | 2012-09-27 | 2013-02-06 | 北京百度网讯科技有限公司 | Method and system for recommending search information to user in map |
JP5182158B2 (en) * | 2009-03-04 | 2013-04-10 | 株式会社デンソー | Navigation device |
CN103471606A (en) * | 2013-08-27 | 2013-12-25 | 深圳市凯立德科技股份有限公司 | Navigation method and navigation equipment |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101113903A (en) * | 2006-07-28 | 2008-01-30 | 佛山市顺德区顺达电脑厂有限公司 | Map data correcting navigation information method with identifying information and device |
JP4678609B2 (en) * | 2007-06-08 | 2011-04-27 | アイシン・エィ・ダブリュ株式会社 | Navigation device and navigation program |
CN101319900A (en) * | 2007-06-08 | 2008-12-10 | 杨爱国 | Method for implementing navigation by photograph based on mobile phone |
CN102080964A (en) * | 2009-12-01 | 2011-06-01 | 汤贻芸 | Intelligent navigation method and system for automatically determining navigation destination address |
CN103364001A (en) * | 2012-03-27 | 2013-10-23 | 哈尔滨工业大学深圳研究生院 | Intelligent GPS (global position system) route planning system and method based on cloud service |
CN103424121A (en) * | 2013-08-27 | 2013-12-04 | 深圳市卡讯尔车联网科技开发有限公司 | Vehicle navigation method and system based on cloud server |
-
2014
- 2014-01-23 CN CN201410033897.8A patent/CN104808932B/en active Active
-
2015
- 2015-01-22 WO PCT/CN2015/071323 patent/WO2015110041A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1948908A (en) * | 2005-10-12 | 2007-04-18 | 深圳市融进科技有限公司 | Navigation method and system based on cell phone |
JP5182158B2 (en) * | 2009-03-04 | 2013-04-10 | 株式会社デンソー | Navigation device |
EP2244061A1 (en) * | 2009-04-23 | 2010-10-27 | HTC Corporation | Route reporting method, system and recording medium using the same |
CN102829793A (en) * | 2011-06-16 | 2012-12-19 | 环达电脑(上海)有限公司 | Navigation device and control method thereof |
CN102915348A (en) * | 2012-09-27 | 2013-02-06 | 北京百度网讯科技有限公司 | Method and system for recommending search information to user in map |
CN103471606A (en) * | 2013-08-27 | 2013-12-25 | 深圳市凯立德科技股份有限公司 | Navigation method and navigation equipment |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106446083A (en) * | 2016-09-09 | 2017-02-22 | 珠海市魅族科技有限公司 | Route indication method and mobile terminal |
CN106484907A (en) * | 2016-10-24 | 2017-03-08 | 重庆联导金宏实业有限公司 | Based on the fast search display methods of engine map, device and engine map |
CN111368218A (en) * | 2020-02-25 | 2020-07-03 | 深圳市口袋网络科技有限公司 | Display method, device, terminal and computer storage medium |
CN111896023A (en) * | 2020-06-30 | 2020-11-06 | 汉海信息技术(上海)有限公司 | Navigation route generation method, user side, server side, device and storage medium |
CN112789619A (en) * | 2020-12-31 | 2021-05-11 | 华为技术有限公司 | Simulation scene construction method, simulation method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104808932B (en) | 2020-04-10 |
WO2015110041A1 (en) | 2015-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104808932A (en) | Route information obtaining method and terminal | |
US10101165B2 (en) | Electronic device and method for planning tour route | |
US10914597B2 (en) | Information processing system, information processing method, information processing device, and information processing program | |
US7962284B2 (en) | Device, method and medium providing customized audio tours | |
CN102902596B (en) | A kind of point of interest data verification method and device | |
CN105007320A (en) | Mobile intelligent tour guiding and navigating system based on cloud server | |
CN104123398A (en) | Information pushing method and device | |
US20150073941A1 (en) | Hotel finder interface | |
CN105025101A (en) | Hand-drawn map-based intelligent guide and navigation system of Android system | |
CN110444133A (en) | A kind of method and apparatus of tourist attraction intelligent guide | |
CN105241446B (en) | A kind of indoor navigation route generation method and user terminal | |
CN104598506A (en) | Address generation method and device and address inquiry method and device for geographic position point | |
CN106022535A (en) | Distribution route automatic generating method and distribution route automatic generating system | |
CN104391869A (en) | Electronic map data updating method and device | |
CN104634359A (en) | Method and device for obtaining information through navigation application | |
CN103185581A (en) | Information prompting device and prompting method for POI search results | |
CN108288201A (en) | The method and device of stroke expense bill is provided in net about vehicle system for target user | |
CN105115510A (en) | Navigation method based on shopping mall and mobile terminal | |
JP2005265688A (en) | Moving object navigation device, and destination searching method and program in the moving navigation device | |
CN103069416A (en) | Electronic map data processing system | |
CN102331578B (en) | Navigation information transmission method as well as navigation server and position service terminal | |
CN103162703A (en) | Navigation information prompting method and device | |
JP4836283B2 (en) | Map search apparatus and map search method | |
CN102291419A (en) | Navigation information system and method for providing navigation information | |
CN103852080A (en) | Map display method and system for objects |
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 |