CN106610286B - Path information acquisition method and device - Google Patents

Path information acquisition method and device Download PDF

Info

Publication number
CN106610286B
CN106610286B CN201510690406.1A CN201510690406A CN106610286B CN 106610286 B CN106610286 B CN 106610286B CN 201510690406 A CN201510690406 A CN 201510690406A CN 106610286 B CN106610286 B CN 106610286B
Authority
CN
China
Prior art keywords
path
information
terminal
route
path 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.)
Active
Application number
CN201510690406.1A
Other languages
Chinese (zh)
Other versions
CN106610286A (en
Inventor
陈国荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Koubei Holding Ltd
Original Assignee
Koubei Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Koubei Holding Ltd filed Critical Koubei Holding Ltd
Priority to CN201510690406.1A priority Critical patent/CN106610286B/en
Publication of CN106610286A publication Critical patent/CN106610286A/en
Application granted granted Critical
Publication of CN106610286B publication Critical patent/CN106610286B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00

Abstract

The application discloses a method and a device for acquiring path information, wherein the method comprises the following steps: when the terminal does not find the path information from the current position to the path end point, the current position is used as the path starting point and the position information of the terminal is collected, and when the terminal receives an end point reaching instruction input by a user, the path starting point, the path end point and the collected position information are sent to the server, so that the server generates and stores the path information from the path starting point to the path end point according to the received position information. By the method, when the collection vehicle cannot collect the path information, the position information can be collected through the terminal of the user in the process that the user with the terminal goes to the path end point, the server generates and stores the path information from the path starting point to the path end point according to the position information, and then the navigation service from the path starting point to the path end point can be provided.

Description

Path information acquisition method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for acquiring path information.
Background
With the continuous development of network technology, internet-based service providers provide more and more various services for users, for example, the service providers provide map navigation services for users.
At present, people usually use services provided by service providers based on an interconnection network according to their own needs for life convenience, for example, people are often unfamiliar in the way of going out, so that people can smoothly reach a destination by using a map navigation service provided by the service providers.
In the prior art, when a user needs to use a map navigation service provided by a service provider, an interface of the map navigation service can be opened, and a starting point and an end point are input according to needs, so that specific path information can be displayed on a map, and a client starts to navigate for the user according to the path information.
However, map navigation services in the prior art are implemented based on geographic data provided by some large-scale service providers, and the large-scale service providers collect the geographic data through collection vehicles, and due to the limitations of the collection vehicles, all actual geographic scenes cannot be completely covered in the process of collecting the geographic data, for example, the collection vehicles often cannot collect path information in residential districts, and the path information cannot be provided in map navigation, so that if an end point input by a user happens to be uncovered in the map navigation services, the map navigation services cannot accurately provide map navigation for the user.
Disclosure of Invention
The embodiment of the application provides a method and a device for acquiring path information, which are used for solving the problem that map navigation service cannot accurately provide map navigation for a user due to the limitation of an acquisition vehicle.
The method for acquiring the path information provided by the embodiment of the application comprises the following steps:
the terminal receives a path end point input by a user;
when the terminal does not find the path information from the current position to the path end point in the server, taking the current position as a path starting point and collecting the position information of the terminal;
and when the terminal receives an end point reaching instruction input by a user, the terminal sends the path starting point, the path end point and the collected position information to the server, so that the server generates and stores the path information from the path starting point to the path end point according to the received position information.
Another method for acquiring path information provided in an embodiment of the present application includes:
the server receives the current position and the path end point of the terminal sent by the terminal;
when the path information from the current position of the terminal to the path end point is not found, a path information acquisition instruction is sent to the terminal, so that the terminal acquires the position information of the terminal;
receiving a path starting point, a path end point and collected position information sent by the terminal, wherein the path starting point is a position when the terminal starts to collect the position information;
and generating and storing path information from the path starting point to the path end point according to the received position information.
The navigation method provided by the embodiment of the application comprises the following steps:
receiving a path starting point and a path end point input by a user;
searching the path information from the starting point to the end point of the path according to a pre-stored electronic map and the path information stored in a database, wherein the path information stored in the database is generated according to the self position information collected by a terminal in advance;
and navigating according to the path information searched from the database.
The embodiment of the application provides a path information's collection system, the device includes:
the receiving module is used for receiving a path end point input by a user;
the acquisition module is used for taking the current position as a path starting point and acquiring the position information of the terminal when the device does not find the path information from the current position to the path end point in the server;
and the sending module is used for sending the path starting point, the path end point and the collected position information to a server when the receiving module receives an end point reaching instruction input by a user, so that the server generates and stores the path information from the path starting point to the path end point according to the received position information.
Another path information acquisition device provided in an embodiment of the present application includes:
the first receiving module is used for receiving the current position and the path end point of the terminal sent by the terminal;
the searching module is used for sending a path information acquisition instruction to the terminal when the path information from the current position of the terminal to the path end point is not searched, so that the terminal acquires the position information of the terminal;
the second receiving module is used for receiving a path starting point, a path end point and each piece of collected position information which are sent by the terminal, wherein the path starting point is a position when the terminal starts to collect the position information;
and the processing module is used for generating and storing path information from the path starting point to the path end point according to the received position information.
The embodiment of the application provides a navigation device, the device includes:
the receiving module is used for receiving a path starting point and a path ending point input by a user;
the searching module is used for searching the path information from the starting point to the end point of the path according to a pre-stored electronic map and the path information stored in a database, wherein the path information stored in the database is generated according to the self position information collected by a terminal in advance;
and the navigation module is used for navigating according to the path information searched from the database.
The embodiment of the application provides a method and a device for acquiring path information, wherein when a terminal does not find the path information from a current position to a path end point, the current position is used as the path starting point and the position information of the terminal is acquired, and when the terminal receives an end point arrival instruction input by a user, the path starting point, the path end point and the acquired position information are sent to a server, so that the server generates and stores the path information from the path starting point to the path end point according to the received position information. By the method, when the collection vehicle cannot collect the path information, the position information can be collected through the terminal of the user in the process that the user with the terminal goes to the path end point, the server generates and stores the path information from the path starting point to the path end point according to the position information, and then the navigation service from the path starting point to the path end point can be provided.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a first process for acquiring path information according to an embodiment of the present disclosure;
fig. 2 is a second process for acquiring path information according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of generated path information provided in an embodiment of the present application;
fig. 4 is a schematic diagram of pre-stored path information provided in an embodiment of the present application;
FIG. 5 is a navigation process provided by an embodiment of the present application;
fig. 6 is a schematic structural diagram of a first path information acquisition device according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a second path information acquisition device according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a navigation device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a first process for acquiring path information according to an embodiment of the present disclosure, which includes the following steps:
s101: the terminal receives a path end point input by a user.
In real life, a user is unfamiliar in the way of going out, so that the user can use a map navigation application in a terminal to smoothly arrive at a destination. When a user uses the map navigation application, a route starting point and a route ending point can be input according to actual needs, wherein a terminal usually defaults the current position of the terminal as the route starting point, and the terminal can be a mobile phone or other terminal equipment.
For example, a distributor at a certain logistics site needs to distribute a piece of goods to a resident living in a cell 321 of beijing city, 39, but since the distributor does not know the specific location of the cell 321 of beijing city, 39, the distributor opens a map navigation application in a mobile phone (i.e., a terminal), inputs "the cell 321 of beijing city, 39" in a cell in the cell, receives the path end input by the distributor, defaults the current location of the mobile phone as the path start point (i.e., the logistics site), and makes a corresponding response according to the input of the distributor.
S102: and when the terminal does not find the path information from the current position to the path end point in the server, taking the current position as a path starting point and collecting the position information of the terminal.
In the embodiment of the application, after the terminal receives the route end point input by the user and determines that the current position of the terminal is the route start point, the terminal can search the route information from the current position to the route end point according to the electronic map. The electronic map may be stored in a map navigation application of the terminal, or may be stored in a server corresponding to the map navigation application, and the following description will be given only by taking an example in which the electronic map is stored in a server corresponding to the map navigation application.
In practical application, most of the electronic maps stored in the server are realized based on geographic data provided by some large-scale service providers, and the large-scale service providers collect the geographic data through collection vehicles, because of the limitations of the collection vehicles, when the geographic data are collected, position information of some actual geographic scenes cannot be collected, so that if a path end point input by a user is not collected in the electronic map, when the terminal searches for the path information from the current position of the terminal (i.e., the geographic position where the terminal is currently located) to the input path end point in the server, the corresponding path information cannot be accurately searched, that is, the path information cannot be accurately displayed in the electronic map displayed by the map navigation application.
However, in general, no matter whether the electronic map provides accurate path information, the user may want to reach the path end point by a method, and therefore, in the embodiment of the present application, if the terminal does not find the path information from the current position of the terminal to the input path end point in the server, the terminal may continuously collect the position information of the terminal in the process that the user reaches the path end point, so as to obtain the accurate path information from the path start point to the path end point. Specifically, when the terminal does not find the path information from the current position of the terminal to the path end point, the current position of the terminal can be used as the path starting point, and the collection of the position information of the terminal itself is started, wherein the terminal can continuously collect a plurality of position information of the terminal itself, and meanwhile, when the terminal does not find the path information from the current position of the terminal to the path end point in the server, the current position can be used as the path starting point, and the time for collecting the position information can also be recorded from the current moment.
In the process that the terminal collects the plurality of position information of the terminal, the terminal can continuously collect the current position information of the terminal at random time intervals (for example, the time interval from the second time of collecting the current position information of the terminal to the third time of collecting the current position information of the terminal is 3 seconds, and the time interval from the third time of collecting the current position information of the terminal to the fourth time of collecting the current position information of the terminal is 5 seconds, that is, the time interval from the third time of collecting the current position information of the terminal to the fourth time of collecting the current position information of the terminal is random).
Continuing the above example, when the mobile phone receives the "building 321 of the cell 39 in beijing city" (i.e. the route end point) input by the distributor, and searches the route information from the logistics site (i.e. the current position of the mobile phone itself) to the "building 321 of the cell 39 in beijing city" in the server, since the collection vehicle cannot enter the inside of the cell 39 in beijing city, all the geographic position information data in the cell in beijing city is not collected by the collection vehicle, that is, all the geographic position information in the cell in beijing city is not collected on the electronic map, therefore, the map navigation application does not find the route information from the logistics site to the "building 321 of the cell 39 in beijing city", the mobile phone can use the logistics site as the route start point, use the building 321 of the cell 39 in beijing city as the end point ", and start to collect the own position information of the mobile phone, at the same time, and recording the time of position information acquisition from the current moment.
Assuming that the mobile phone collects the current position information of the mobile phone at random time intervals when collecting the position information of the mobile phone, namely, the time interval of each collection is not fixed, when a distributor moves forward 3 seconds from a logistics site to a building 321 of a cell 39 # of Beijing city, the mobile phone collects the current position information of the mobile phone, namely the position information of a geographic position A (39 degrees 8 minutes of northern latitude and 116 degrees 6 minutes of east longitude), when the distributor moves forward 3 seconds, the mobile phone collects the current position information of the mobile phone, namely the position information of a geographic position B (39 degrees 8 minutes of northern latitude and 116 degrees 7 minutes of east longitude), when the distributor moves forward 5 seconds, the mobile phone collects the current position information of the mobile phone, namely the position information of a geographic position C (39 degrees 8 minutes of northern latitude and 116 degrees 9 minutes of east longitude), the mobile phone collects the current position information all the time according to the collection mode, when the position information is collected, the time taken by a distributor to reach the No. 39 building 321 of a certain cell in Beijing is recorded all the time, and the mobile phone stops collecting the position information of the mobile phone and recording the time for collecting the position information until the mobile phone receives a destination arrival instruction input by the distributor.
S103: and when the terminal receives an end point reaching instruction input by a user, the terminal sends the path starting point, the path end point and the collected position information to the server, so that the server generates and stores the path information from the path starting point to the path end point according to the received position information.
In the embodiment of the application, the terminal collects the self position information from the path starting point continuously, when the user reaches the path end point, an end point reaching instruction can be input on the terminal, when the terminal receives the end point reaching instruction input by the user, the collection of the self position information can be stopped, meanwhile, the collection time of the position information is also stopped, the path starting point, the path end point, the collected position information and the time taken by the user to reach the path end point are sent to the server, and the server can generate the path information from the path starting point to the path end point according to the received position information and store the path information in the storage area of the server.
Continuing the above example, after the distributor arrives at the building 321 of the cell 39 in beijing, the mobile phone inputs an end point arrival instruction, the mobile phone immediately stops collecting the position information of the distributor, stops recording the time of collecting the position information, and sends the logistics site, the building 321 of the cell 39 in beijing, the collected position information and 30 minutes (namely, the time of the distributor arriving at the building 321 of the cell 39 in beijing) to the server, and the server generates path information from the logistics site to the building 321 of the cell 39 in beijing according to the received position information and stores the generated path information in the server.
Through the steps, when the collection vehicle cannot collect the path information, the terminal of the user can collect the position information in the process that the user with the terminal goes to the path end point, the server generates and stores the path information from the path starting point to the path end point according to the position information, and then the navigation service from the path starting point to the path end point can be provided.
In step S102, the terminal continuously collects the current position information of the terminal at random time intervals, and it should be noted that the time intervals may also be preset (for example, the terminal collects the position information of the terminal once every 5 seconds), and specifically, the terminal periodically collects the position information of the terminal according to the preset time intervals.
In addition, in the embodiment of the present application, a user may all use a certain transportation mode (e.g., walking, riding, public transportation, etc.) to go from a route starting point to a route ending point, and in order to improve accuracy of navigation, that is, to provide route information and also provide a transportation mode, in the embodiment of the present application, when the terminal sends the route starting point, the route ending point and each piece of position information collected by the terminal to the server, the transportation mode used by the user may also be sent to the server. Specifically, after the terminal does not find the route information from the current position of the terminal to the route end point in the server, the terminal can prompt the user to select a traffic mode going to the route end point, after receiving the traffic mode selected by the user, the terminal starts to collect the position information of the terminal, stops collecting the position information until receiving an end point arrival instruction input by the user, and sends the route start point, the route end point, the collected position information and the traffic mode to the server.
Continuing the above example, in the above example, the mobile phone defaults itself to the current position as the starting point of the route (i.e., the logistics site) while receiving the "building 321 of a certain cell 39 in beijing city" (i.e., the end point of the route) inputted by the distributor, and the path information from the building 321 with the number 39 of a certain cell in Beijing city to the logistics site is searched in the electronic map stored by the server, but the path information is not searched, then the delivery staff is prompted to select the transportation mode to be adopted when the user goes to the logistics site, the delivery staff selects 'bicycle' according to the prompt, after the mobile phone receives the transportation mode selected by the delivery staff, the self position information of the mobile phone is collected, when a distributor arrives at a No. 39 building 321 of a certain cell in Beijing, when a destination arrival instruction is input into the mobile phone, the mobile phone immediately stops collecting position information of the mobile phone, and sends the position information of a certain cell 39 building 321 in Beijing city, the logistics site, the collected position information and the traffic mode 'bicycle' to the server together. Subsequently, if the server provides the route information from the logistics site to the building 321 of the cell 39 in beijing city for other users, the server can provide the recommended transportation mode 'bicycle' in addition to the stored route information.
The above is a first method for acquiring path information provided by the present application, and it should be noted that in the first method for acquiring path information, after a terminal receives a path start point and a path end point input by a user, and queries path information from the path start point to the path end point in a server, the terminal determines whether the path information returned by the server is accurate, that is, the terminal determines whether the server returns accurate path information from the path start point to the path end point, if the determination result is yes, the terminal does not need to acquire location information, otherwise, the terminal needs to acquire location information of itself. The judging method may specifically be: and judging whether the path end point input by the user is consistent with the path end point corresponding to the path information returned by the server, if so, indicating that the path information returned by the server is accurate from the path starting point to the path end point, and position information does not need to be collected, and if not, indicating that the path information returned by the server is not accurate from the path starting point to the path end point, and position information needs to be collected. That is, in the first method for acquiring path information, the terminal determines whether position information needs to be acquired.
The present application further provides a second method for acquiring path information, as shown in fig. 2.
Fig. 2 is a second process for acquiring path information according to the embodiment of the present application, which specifically includes the following steps:
s201: and the server receives the current position and the path end point of the terminal sent by the terminal.
In this embodiment of the application, when using the map navigation service, a user may open a map navigation application in a terminal, and input a route end point on a map navigation application interface in the terminal, and after receiving the route end point input by the user, the terminal determines a current geographic position of the terminal, and then sends the current geographic position and the route end point of the terminal to a server (as in the example in S101), that is, the server receives the current geographic position and the route end point of the terminal sent by the terminal.
S202: and when the path information from the current position of the terminal to the path end point is not found, sending a path information acquisition instruction to the terminal to enable the terminal to acquire the position information of the terminal.
In the embodiment of the application, after receiving the current position and the path end point of the terminal sent by the terminal, the server can determine whether the electronic map stored by the server has the path information from the current position of the terminal to the path end point, if so, the server returns the path information from the current position of the terminal to the path end point to the terminal, and if not, the server returns a path information acquisition instruction to the terminal, wherein the path information acquisition instruction is used for indicating the terminal to start to acquire the position information of the terminal and indicating the terminal to start to record the time for acquiring the position information.
For example, after the server receives (39 degrees 7 minutes in north latitude and 116 degrees 6 minutes in east longitude) and "39 th floor 321 in a certain cell in beijing city", the server searches for the path information (39 degrees 7 minutes in north latitude and 116 degrees 6 minutes in east longitude) from the electronic map stored in the server to the "39 th floor 321 in the certain cell in beijing city", and if the server does not find the path information (39 degrees 7 minutes in north latitude and 116 degrees 6 minutes in east longitude) from the "39 th floor 321 in the certain cell in beijing city", a path information acquisition instruction is sent to the mobile phone, so that the mobile phone starts to acquire the own position information, and meanwhile, the mobile phone starts to record the time for acquiring the position information.
S203: and receiving a path starting point, a path ending point and each piece of collected position information which are sent by the terminal, wherein the path starting point is the position when the terminal starts to collect the position information.
In the embodiment of the application, after receiving a path acquisition instruction sent by a server, a terminal starts to acquire a plurality of different position information of the terminal and records the time for acquiring the position information from the current moment, and after a user arrives at a path end point, an end point arrival instruction can be input on the terminal (the end point arrival instruction is used for indicating the terminal to stop acquiring the position information of the terminal and indicating the terminal to stop recording the time for acquiring the position information).
After receiving the route end point, the route start point, the collected position information and the time taken by the user to reach the end point (the time can be used for providing the shortest route for the user subsequently by the server), which are sent by the terminal, the server can perform corresponding processing on the received position information, wherein the route start point refers to the position when the terminal starts to collect the position information of the terminal.
S204: and generating and storing path information from the path starting point to the path end point according to the received position information.
In this embodiment of the application, the server may perform end-to-end connection on the received position information according to the collection sequence to generate path information from the path starting point to the path ending point, or may fit a piece of path information from the path starting point to the path ending point according to the received position information.
Through the steps, the server generates the path information from the path starting point to the path end point according to the position information collected by the terminal, enriches the path information and the electronic map in the server, and simultaneously can better provide map navigation service for the user.
Similar to the first method for acquiring path information, in order to provide more accurate navigation service for a user, after receiving a path information acquisition instruction sent by a server, a terminal may prompt the user to select a traffic mode to be adopted, the user may select a traffic mode (such as walking, riding, public transportation) on a mobile phone map navigation application interface, the terminal starts to acquire position information of the terminal after the user selects the traffic mode, and when the terminal receives an end point arrival instruction input by the user, the terminal may send the start point of the path, the end point of the path, the acquired position information and the traffic mode selected by the user to the server together, so that the server can subsequently provide path information from the start point of the path to the end point of the path and recommend a corresponding traffic mode.
In addition, in practical applications, although some users use the map navigation service, after the map navigation application does not return the route information to the terminal, the user does not necessarily go to the route end point immediately, and thus the position information of the user collected by the terminal is of no practical significance for the server to process the collected data, and the route information from the route start point to the route end point cannot be generated according to the received position information, so that the server sends a route information collection instruction to the terminal, and the terminal needs to be determined to meet the condition for collecting the route information before the terminal collects the position information of the user, where the condition for collecting the route information may be: and in a preset time period, the moving distance of the terminal is greater than a certain threshold value. For example, before the server sends the path information acquisition instruction to the terminal, the location of the terminal may be monitored, assuming that the preset time period is 3 minutes and the threshold is 100 meters, and if the distance that the terminal moves in 3 minutes is greater than 100 meters, it indicates that the terminal meets the condition of acquiring the path information, that is, the geographic location information acquired by the terminal is of practical significance for the server to process the acquired data.
Of course, the above-mentioned conditions for collecting the path information are not limited to this, for example, the conditions for collecting the path information may also be: the method comprises the steps that a user attribute of map navigation application is used as a specific attribute, the specific attribute comprises a distributor, a postman and other specific occupations, when a server does not find path information from a path starting point to a path end point, prompt information can be sent to a terminal to prompt a user to input the occupation of the user, the terminal returns the occupation input by the user to the server, if the server judges that the occupation input by the user is the distributor or the courier, the terminal is determined to meet the condition for collecting the path information, a path information collecting instruction is sent to the terminal, if the server judges that the occupation input by the user is not the distributor or the courier, the terminal is determined not to meet the condition for collecting the path information, and the path information collecting instruction is not sent to the terminal. Of course, the server may also determine whether the occupation of the user is a specific occupation such as a deliverer or a postman according to user information corresponding to an account pre-registered by the user.
In this embodiment, the server may process the received route start point, route end point and each piece of location information after receiving the route start point, route end point and each piece of location information transmitted by the terminal, and specifically, the server may generate route information from the route start point to the route end point according to each received information location, and update the electronic map or the route information stored in advance according to the generated route information. When updating the route information, the server may compare the generated route information with the route information on the electronic map, determine a portion that does not overlap with the route information on the electronic map in the generated route information, and update the electronic map with the determined portion of the route information. Of course, the generated path information may be directly stored in a separate database.
For example, after receiving the position information, the server connects the position information end to end in the collection order, as shown in fig. 3, and the path information on the electronic map is as shown in fig. 4, and the server compares the path information shown in fig. 3 with the path information shown in fig. 4, and determines a part which is not overlapped with the path information shown in fig. 4 in the path information shown in fig. 3, that is, the part of the path information from the geographic position B to the geographic position C in the path information shown in fig. 3 is not overlapped with the path information shown in fig. 4, so that the part of the path information from B to C is updated to the electronic map, and at the same time, the path information shown in fig. 3 can be stored in an independent database.
Compared with the first path information acquisition method, in the second path information acquisition method, the terminal is not required to judge whether position information needs to be acquired or not, but the server judges according to the query result of path information from a path starting point to a path end point, and the terminal only needs to start acquiring the position information after receiving a path information acquisition instruction sent by the server and stop acquiring after receiving an end point arrival instruction input by a user.
The above are two path information collection methods provided by the present application, and in addition, the present application also provides a navigation method, as shown in fig. 5.
Fig. 5 is a navigation process provided in the embodiment of the present application, which specifically includes the following steps:
s501: and receiving a path starting point and a path end point input by a user.
S502: and searching the path information from the starting point to the end point of the path according to a pre-stored electronic map and the path information stored in a database, wherein the path information stored in the database is generated according to the self position information collected by the terminal in advance.
In the embodiment of the application, when using the map navigation service, a user may open a map navigation application in a terminal, and input a path start point and a path end point on a map navigation application interface in the terminal, and the terminal searches for path information from the path start point to the path end point in a pre-stored electronic map and a pre-stored database according to the input path start point to the path end point, where the electronic map may be stored locally in the terminal or in a server corresponding to the navigation application, and the path information stored in the database is collected in advance through the processes shown in fig. 1 and fig. 2 (that is, generated according to own location information collected by the terminal), and is independent of the electronic map.
For example, a distributor of a certain logistics site needs to distribute a piece of goods to a resident residing in a certain cell 39 th building 321 in beijing city, but since the distributor does not know the specific position of the certain cell 39 th building 321 in beijing city, the distributor opens a map navigation application in a mobile phone (i.e., a terminal), inputs a "logistics site" in an input box corresponding to a route starting point, inputs a "certain cell 39 th building 321 in beijing city" in an input box corresponding to a route ending point, and after receiving the route starting point and the route ending point input by the distributor, the mobile phone searches for route information from the "logistics site" to the "certain cell 39 th building 321 in beijing city" in an electronic map and a database stored locally.
S503: and navigating according to the path information searched from the database.
In the embodiment of the present application, after the route information is collected through the processes shown in fig. 1 and fig. 2, the route information may not be updated to the electronic map, but the route information may be stored in an independent database. That is, even if the terminal collects the route information from the route start point to the route end point, the electronic map cannot find the route information from the route start point to the route end point.
Therefore, in the embodiment of the present application, when the terminal does not find the path information from the path starting point to the path ending point in the pre-stored electronic map according to the path starting point to the path ending point input by the user, the terminal may directly search in the database storing the path information (the path information stored in the database is the path information acquired through the steps in the foregoing fig. 1 and fig. 2), and navigate the user according to the found path information, that is, provide the path information acquired through the processes shown in the foregoing fig. 1 and fig. 2 to the user, and navigate the user, thereby implementing multiplexing of the path information and multiplexing of the navigation.
For the example, it is assumed that path information from the "logistics site" to the "building 321 of the cell 39 in beijing city" is generated through the collected location information, and the path information is stored in the database, and after the mobile phone searches the path information from the "logistics site" to the "building 321 of the cell 39 in beijing city" in the electronic map stored locally, the mobile phone directly searches in the database in which the path information is stored, and navigates the user according to the searched path information.
In practical applications, there is a high possibility that not only the route information from the route start point to the route end point input by the user is not found in the electronic map, but also the route information from the route start point to the route end point is not found in the database storing the route information, however, since there is a possibility that the route information from the route start point to a certain position exists in the electronic map, and there is also a case that the route information from the certain position to the route end point exists in the database, in the present application, if the route information from the route start point to the certain position input by the user is not found in both the electronic map stored in advance and the database, the first route information from the route start point to the certain position (i.e., the first route information from the route start point to the route end point) can be found from the electronic map stored in advance, and searching and obtaining second path information from the position to the path end point (namely, the second path information from the path starting point to the path end point) from the database, forming the first path information and the second path information into the path information from the path starting point to the path end point, and navigating the user according to the formed path information.
Based on the same idea, the embodiment of the present application further provides two path information collection devices and a navigation device, as shown in fig. 6, 7, and 8.
Fig. 6 is a schematic structural diagram of a first path information acquisition device provided in an embodiment of the present application, including:
a receiving module 601, configured to receive a path end point input by a user;
an acquisition module 602, configured to, when the device does not find path information from a current position of the device to the path end point in the server, use the current position as a path starting point, and acquire position information of the terminal itself;
a sending module 603, configured to send the path starting point, the path ending point, and the collected location information to a server when the receiving module 601 receives an ending point arrival instruction input by a user, so that the server generates and stores path information from the path starting point to the path ending point according to the received location information.
The acquisition module 602 is specifically configured to periodically acquire the location information of the terminal itself according to a preset time interval.
The device further comprises:
the selecting module 604 is configured to receive a transportation mode selected by a user, and the sending module 303 is specifically configured to send the route starting point, the route ending point, the collected location information, and the transportation mode to a server.
In particular, the apparatus illustrated in fig. 6 may be located in a terminal.
Fig. 7 is a schematic structural diagram of a second path information acquisition device provided in an embodiment of the present application, including:
a first receiving module 701, configured to receive a current position and a path end point of a terminal sent by the terminal;
a searching module 702, configured to send a path information acquisition instruction to the terminal when the path information from the current position of the terminal to the path end point is not found, so that the terminal acquires position information of the terminal;
a second receiving module 703, configured to receive a path starting point, a path ending point, and each piece of collected location information sent by the terminal, where the path starting point is a location where the terminal starts to collect the location information;
and the processing module 704 is configured to generate and store path information from the path starting point to the path ending point according to the received position information.
The second receiving module 703 is specifically configured to receive a route start point, a route end point, collected location information, and the transportation mode, where the route start point, the route end point, the collected location information, and the transportation mode are sent by the terminal.
Sending a path information acquisition instruction to the terminal, so that before the terminal acquires the position information of the terminal, the device further comprises:
a determining module 705, configured to determine that the terminal meets a condition for acquiring path information.
The processing module 704 is specifically configured to generate route information from the route starting point to the route ending point according to the received information positions, and update a pre-stored electronic map or route information according to the generated route information.
In particular, the apparatus shown in fig. 7 may be located in a server.
Fig. 8 is a schematic structural diagram of a navigation device according to an embodiment of the present application, including:
a receiving module 801, configured to receive a path starting point and a path ending point input by a user;
the searching module 802 is configured to search the path information from the starting point to the ending point of the path according to a pre-stored electronic map and the path information stored in a database, where the path information stored in the database is generated in advance according to the self location information collected by the terminal;
and the navigation module 803 is configured to navigate according to the path information found in the database.
The searching module 802 is specifically configured to, when the path information from the path starting point to the path ending point is not found in the pre-stored electronic map, search the path information from the path starting point to the path ending point according to the path information stored in the database, or, when the path information from the path starting point to the path ending point is not found in both the pre-stored electronic map and the database, search the pre-stored electronic map to obtain first path information from the path starting point to the path ending point, search the pre-stored electronic map to obtain second path information from the database, and combine the first path information and the second path information into the path information from the path starting point to the path ending point.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for acquiring path information is characterized by comprising the following steps:
the terminal receives a path end point input by a user;
when the terminal does not find the path information from the current position to the path end point in the server, taking the current position as a path starting point and collecting the position information of the terminal;
when the terminal receives an end point arrival instruction input by a user, the terminal sends the path starting point, the path end point, the collected position information and a traffic mode selected by the user to a server, so that the server generates path information from the path starting point to the path end point according to the received position information and stores the path information in an independent database without updating the path information to an electronic map, when in navigation application, if the path information from the target path starting point to the target path end point is not found in the electronic map and the database, first path information from the target path starting point to a certain position is found in the electronic map, second path information from the certain position to the target path end point is found in the database, and the first path information and the second path information form path information from the target path starting point to the target path end point, and navigating the user according to the composed path information, wherein the traffic mode is used for generating a traffic mode recommendation.
2. The method of claim 1, wherein the collecting the location information of the terminal itself includes:
and periodically acquiring the position information of the terminal according to a preset time interval.
3. The method of claim 1, wherein before sending the route start point, route end point, and the collected location information to a server, the method further comprises:
and receiving the transportation mode selected by the user.
4. A method for acquiring path information is characterized by comprising the following steps:
the server receives the current position and the path end point of the terminal sent by the terminal;
when the path information from the current position of the terminal to the path end point is not found, a path information acquisition instruction is sent to the terminal, so that the terminal acquires the position information of the terminal;
receiving a route starting point, a route end point, collected position information and a traffic mode selected by a user, wherein the route starting point is a position when the terminal starts to collect the position information;
according to the received position information, generating path information from the path starting point to the path ending point, storing the path information into an independent database, not updating the path information onto an electronic map, searching first path information from the target path starting point to a certain position from the electronic map if the path information from the target path starting point to the target path ending point is not found in the electronic map and the database in the navigation application, searching second path information from the certain position to the target path ending point from the database, forming the first path information and the second path information into the path information from the target path starting point to the target path ending point, and navigating for a user according to the formed path information, wherein the transportation mode is used for generating a transportation mode recommendation.
5. The method of claim 4, wherein before sending a path information acquisition instruction to the terminal to cause the terminal to acquire its own location information, the method further comprises:
and determining that the terminal meets the condition of acquiring the path information.
6. An apparatus for acquiring path information, comprising:
the receiving module is used for receiving a path end point input by a user;
the acquisition module is used for taking the current position as a path starting point and acquiring the position information of the terminal when the device does not find the path information from the current position to the path end point in the server;
a sending module, configured to send the route starting point, the route ending point, the collected location information, and a transportation mode selected by a user to a server when the receiving module receives an ending point arrival instruction input by the user, so that the server generates route information from the route starting point to the route ending point according to the received location information and stores the route information in an independent database without updating the route information to an electronic map, and in a navigation application, if route information from the target route starting point to the target route ending point is not found in both the electronic map and the database, find first route information from the target route starting point to a certain location from the electronic map, find second route information from the certain location to the target route ending point from the database, and combine the first route information and the second route information into route information from the target route starting point to the target route ending point, and navigating the user according to the composed path information, wherein the traffic mode is used for generating a traffic mode recommendation.
7. The apparatus according to claim 6, wherein the collecting module is specifically configured to periodically collect the location information of the terminal itself according to a preset time interval.
8. The apparatus of claim 6, wherein the apparatus further comprises:
and the selection module is used for receiving the transportation mode selected by the user.
9. An apparatus for acquiring path information, comprising:
the first receiving module is used for receiving the current position and the path end point of the terminal sent by the terminal;
the searching module is used for sending a path information acquisition instruction to the terminal when the path information from the current position of the terminal to the path end point is not searched, so that the terminal acquires the position information of the terminal;
the second receiving module is used for receiving a route starting point, a route ending point, collected position information and a traffic mode selected by a user, wherein the route starting point is a position when the terminal starts to collect the position information;
the processing module is used for generating path information from the path starting point to the path ending point according to the received position information, storing the path information into an independent database and not updating the path information on the electronic map, so that when the navigation application is used, if the path information from the starting point of the target path to the end point of the target path is not found in the electronic map and the database, finding first path information from the target path starting point to a certain position from the electronic map, finding second path information from the certain position to the target path end point from the database, and combining the first path information and the second path information into path information from the target path starting point to the target path end point, and navigating the user according to the composed path information, wherein the traffic mode is used for generating a traffic mode recommendation.
10. The apparatus of claim 9, wherein the apparatus further comprises:
and the determining module is used for sending a path information acquisition instruction to the terminal so as to determine that the terminal meets the condition of acquiring the path information before the terminal acquires the position information of the terminal.
CN201510690406.1A 2015-10-22 2015-10-22 Path information acquisition method and device Active CN106610286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510690406.1A CN106610286B (en) 2015-10-22 2015-10-22 Path information acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510690406.1A CN106610286B (en) 2015-10-22 2015-10-22 Path information acquisition method and device

Publications (2)

Publication Number Publication Date
CN106610286A CN106610286A (en) 2017-05-03
CN106610286B true CN106610286B (en) 2021-07-16

Family

ID=58610283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510690406.1A Active CN106610286B (en) 2015-10-22 2015-10-22 Path information acquisition method and device

Country Status (1)

Country Link
CN (1) CN106610286B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107478243A (en) * 2017-06-30 2017-12-15 百度在线网络技术(北京)有限公司 Air navigation aid, device, equipment and computer-readable recording medium
CN107895207A (en) * 2017-11-11 2018-04-10 鄢碧珠 A kind of method, storage medium and equipment for being segmented navigation
CN109631926B (en) * 2018-12-27 2022-06-07 拉扎斯网络科技(上海)有限公司 Determination method and determination device for rider path and electronic equipment
CN110059857A (en) * 2019-03-15 2019-07-26 青岛日日顺物流有限公司 Community distribution path recommended method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141407A (en) * 2010-02-02 2011-08-03 财团法人工业技术研究院 Map building system and method and recording media
CN102564433A (en) * 2010-12-14 2012-07-11 蔡显强 Map automatic updating method in GPS navigation
CN103217697A (en) * 2013-03-21 2013-07-24 广东欧珀移动通信有限公司 Method and mobile terminal for recording moving path
CN103900582A (en) * 2012-12-25 2014-07-02 上海博泰悦臻电子设备制造有限公司 Residential quarter map recording method and system
CN103900553A (en) * 2012-12-25 2014-07-02 上海博泰悦臻电子设备制造有限公司 Regional map recording method and system
CN104765781A (en) * 2015-03-20 2015-07-08 四川九洲电器集团有限责任公司 Route acquiring system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002022478A (en) * 2000-07-06 2002-01-23 Seiko Instruments Inc Portable type gps receiver, navigator and navigation system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141407A (en) * 2010-02-02 2011-08-03 财团法人工业技术研究院 Map building system and method and recording media
CN102564433A (en) * 2010-12-14 2012-07-11 蔡显强 Map automatic updating method in GPS navigation
CN103900582A (en) * 2012-12-25 2014-07-02 上海博泰悦臻电子设备制造有限公司 Residential quarter map recording method and system
CN103900553A (en) * 2012-12-25 2014-07-02 上海博泰悦臻电子设备制造有限公司 Regional map recording method and system
CN103217697A (en) * 2013-03-21 2013-07-24 广东欧珀移动通信有限公司 Method and mobile terminal for recording moving path
CN104765781A (en) * 2015-03-20 2015-07-08 四川九洲电器集团有限责任公司 Route acquiring system and method

Also Published As

Publication number Publication date
CN106610286A (en) 2017-05-03

Similar Documents

Publication Publication Date Title
US10216765B2 (en) Image based routing and confirmation
US9200921B2 (en) Parking information based on destination
US11009360B2 (en) Method, apparatus and storage medium for determining navigation reference point, navigation method, apparatus and storage medium
KR101614264B1 (en) Labeling visited locations based on contact information
US9377323B2 (en) Systems and methods for using route matrices for identifying intersection POIs
US20170131109A1 (en) Electronic device and method for planning tour route
CN106610286B (en) Path information acquisition method and device
CN107806883B (en) Navigation method and device
US11966425B2 (en) Visual search system for finding trip destination
CN111143679A (en) Digital intelligent tourism control system and method based on big data
JP5846576B2 (en) Visited neighborhood information providing server and information providing method
WO2011155936A1 (en) System and method for determining locations within points of interest
US20130226915A1 (en) Organization of search results based upon availability of respective providers comprised therein
CN110749330B (en) Navigation path planning method and device
US20150073708A1 (en) Navigation via recorded paths
CN106323306B (en) Navigation information processing method and electronic equipment
CN109614558A (en) A kind of more locating travel log automatic generation methods and system
CN105376713A (en) Indoor information recommending method and user terminal
US10959052B2 (en) Local memory direction caching
CN113124889A (en) Path planning method and device and electronic equipment
CN104180802A (en) Mobile electronic equipment, and navigation system and method for looking for Halal food in going out of Muslims
WO2019177786A1 (en) System for location naming service
CN117131268B (en) Itinerary recommendation method, equipment and medium based on street view map
KR20210098183A (en) System for providing location based service
Ahmed et al. Routing and Tracking System for Buses

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant