CN109241206B - Route query method and device - Google Patents

Route query method and device Download PDF

Info

Publication number
CN109241206B
CN109241206B CN201710524124.3A CN201710524124A CN109241206B CN 109241206 B CN109241206 B CN 109241206B CN 201710524124 A CN201710524124 A CN 201710524124A CN 109241206 B CN109241206 B CN 109241206B
Authority
CN
China
Prior art keywords
travel
route
time
information
different
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
CN201710524124.3A
Other languages
Chinese (zh)
Other versions
CN109241206A (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.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201710524124.3A priority Critical patent/CN109241206B/en
Publication of CN109241206A publication Critical patent/CN109241206A/en
Application granted granted Critical
Publication of CN109241206B publication Critical patent/CN109241206B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Navigation (AREA)

Abstract

The embodiment of the invention provides a route query method and a route query device, wherein the method comprises the following steps: receiving a route query request, wherein the route query request comprises departure place information and destination information; determining a travel route and the journey time of a plurality of different time periods corresponding to the travel route according to the departure place information and the destination information contained in the route query request; and displaying the determined travel route and the travel time of a plurality of different periods corresponding to the travel route. According to the embodiment of the invention, when a user inquires a route, the user can display the use of the same route in different time periods, and more accurate and effective travel information can be provided for the user without carrying out complicated operation by the user.

Description

Route query method and device
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a route query method and a route query device.
Background
In the prior art, a user can use a map application to inquire a travel route before traveling. The map application can display a corresponding travel route and the time of the travel route for the user according to the departure point, the destination point and the departure point input by the user. For example, if the departure point of the user is a five-crossing, the destination point is an oak bay cell, and the departure time selected by the user as a default is the current time of 11 points, the map application displays the recommended route "subway No. 13 changes to special 60 roads", and the time is 30 minutes. If the user wants to compare the travel time consumption at different times, the user needs to repeatedly input and query, and needs to remember the time consumption of each time interval, so that the operation is very complicated.
Disclosure of Invention
The embodiment of the invention aims to provide a route query method and a route query device, which can be used for displaying the use of the same route in different time periods when a user queries a route, and can provide more accurate and effective travel information for the user without complicated operation of the user.
Therefore, the embodiment of the invention provides the following technical scheme:
in a first aspect, an embodiment of the present invention provides a route query method, including: receiving a route query request, wherein the route query request comprises departure place information and destination information; determining a travel route and the journey time of a plurality of different time periods corresponding to the travel route according to the departure place information and the destination information contained in the route query request; and displaying the determined travel route and the travel time of a plurality of different periods corresponding to the travel route.
In a second aspect, an embodiment of the present invention provides a route query device, including: a receiving unit for receiving a route inquiry request including departure place information and destination information; a determining unit, configured to determine a travel route and a plurality of travel times in different time periods corresponding to the travel route according to departure place information and destination information included in the route query request; and the display unit is used for displaying the determined travel route and the travel time of a plurality of different time periods corresponding to the travel route.
In a third aspect, an embodiment of the present invention provides an apparatus for route querying, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and configured to be executed by the one or more processors includes instructions for: receiving a route query request, wherein the route query request comprises departure place information and destination information; determining a travel route and the journey time of a plurality of different time periods corresponding to the travel route according to the departure place information and the destination information contained in the route query request; and displaying the determined travel route and the travel time of a plurality of different periods corresponding to the travel route.
In a fourth aspect, an embodiment of the present invention provides a machine-readable medium, on which instructions are stored, which when executed by one or more processors, cause an apparatus to perform the route query method as shown in the first aspect.
According to the route query method and device provided by the embodiment of the invention, when the travel route and the routes corresponding to the travel route in different time periods are determined according to the departure place information and the destination information contained in the route query request, and the determined travel route and the routes corresponding to the travel route in different time periods are displayed for the user, the user can conveniently compare the use times in different travel time periods, and more accurate and effective travel information is provided for the user.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a route query method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a route query device according to an embodiment of the present invention;
FIG. 3 is a block diagram illustrating an apparatus for route querying in accordance with another exemplary embodiment;
FIG. 4 is a block diagram illustrating a server in accordance with an example embodiment.
Detailed Description
The embodiment of the invention aims to provide a route query method and a route query device, which can be used for displaying the use of the same route in different time periods when a user queries a route, and can provide more accurate and effective travel information for the user without complicated operation of the user.
In order to make those skilled in the art better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
A route query method according to an exemplary embodiment of the present invention will be described with reference to fig. 1.
Referring to fig. 1, a flowchart of a route query method according to an embodiment of the present invention is provided. As shown in fig. 1, may include:
s101, receiving a route inquiry request, wherein the route inquiry request comprises departure place information and destination information.
The departure point information and the destination point information may be determined based on input information of the user, or may be determined in another manner. For example, the current location of the user may be acquired using the positioning information as departure place information, and destination information, such as a pre-stored place "work" or "home", may be input or selected by the user as the destination information. The specific implementation may be very flexible and is not limited herein.
And S102, determining a travel route and a plurality of journey time periods corresponding to the travel route according to the departure place information and the destination information contained in the route inquiry request.
It should be noted that, in the prior art, only one trip time period is provided for the user, and if the user wants to compare the trips of different trip times, complicated operations are required, which is inconvenient. In addition, the journey time provided by the prior art is often the time spent in a single time period, which is easy to cause trouble for users, and the users can mistakenly think that the journey time is the same whenever starting to use, so that reasonable journey arrangement cannot be provided for the users. In the embodiment of the invention, when the travel route is displayed for the user, the travel routes in different time periods can be determined for the user, so that the user can conveniently compare the travel routes, and effective and accurate travel information can be displayed without complicated operation. In a specific implementation, the travel time of the plurality of different periods includes two or more combinations of time corresponding to the current departure time, time corresponding to a peak period, time corresponding to a peak-off period, or time corresponding to a holiday period. For example, the journey hours in the plurality of different periods may include a current departure journey hour, a journey hour in an early peak period, a journey hour in a late peak period, a journey hour in a flat peak period, or a journey hour on a holiday. Of course, the above is only an exemplary illustration, and the time spent in other different time periods can be displayed to the user, as long as the time spent in different time periods determined by two different methods can be provided for the user.
In some embodiments, the route query request includes travel time information, and the travel time information corresponds to a travel time. The determining of the travel route and the routes in different time periods corresponding to the travel route according to the departure place information and the destination information contained in the route query request comprises: acquiring a time interval attribute of travel time corresponding to the route inquiry request, and determining one or more travel time intervals with different time interval attributes of the travel time corresponding to the route inquiry request; determining the time of the journey corresponding to the travel route according to the time interval attribute of the travel time corresponding to the route inquiry request, and determining the time of the journey corresponding to the travel route in one or more different time intervals according to one or more determined travel time intervals with different time interval attributes of the travel time corresponding to the route inquiry request. For example, if the user inputs or selects a travel time of 11 am and the time interval attribute of the travel time is flat peak, one or more time intervals with different attributes from the flat peak time interval, such as early peak time interval or late peak time interval, may be determined, and the travel time of the flat peak time interval and the travel time of the early peak time interval or late peak time interval may be simultaneously shown to the user. Correspondingly, if the travel time input or selected by the user is eight morning hours and the time interval attribute of the travel time is a peak, a time interval with a different attribute from the peak time interval, such as a peak-off time interval, and the journey hour in the early peak time interval and the journey hour in the peak-off time interval are simultaneously shown to the user.
In some other embodiments, the route query request further includes travel time information, the travel time information includes at least two different travel times, and determining a travel route and a plurality of routes in different time periods corresponding to the travel route according to the departure place information and the destination information included in the route query request includes: and determining a travel route and time for each route corresponding to the at least two different travel times according to the departure place information, the destination information and the at least two different travel times contained in the route query request. For example, in some application scenarios, a user may have a time-consuming need to compare the journey times of multiple different travel times to facilitate selection of a travel time. At this point, a user interface may be displayed prompting the user to enter two or more planned line times. If the user inputs two different trip times, the journey time can be determined according to the trip time periods corresponding to the two trip times.
In still other embodiments, the route query request does not include travel time information, and the travel time may be set to indicate a default at least two periods of travel time for the user. For example, the user can be shown the journey time in the peak time period and the journey time in the peak leveling time period, so that the user can conveniently select the proper time to travel.
In other embodiments, the journey time can also be determined according to the travel scene of the user. The determining of the travel route and the routes in different time periods corresponding to the travel route according to the departure place information and the destination information contained in the route query request comprises: acquiring attribute information corresponding to the departure place information and/or the destination information, and determining a travel scene according to the attribute information; and determining the time spent corresponding to the travel time period corresponding to the travel scene according to the corresponding relation between the travel scene and the travel time period. For example, if the attribute information corresponding to the destination information is an office place, and the attribute information of the current departure position of the user is a residential area, it may be determined that the travel scene is on duty, and it may be shown that the travel time period corresponding to the on-duty scene is an early peak, and the time of the early peak time period may be a time period of display, and another time period may be a time period of system default or a time period with a different attribute from the currently determined early peak time period. For example, if the attribute information corresponding to the destination information is a residential area and the attribute information of the current departure position of the user is an office place, the travel scene can be determined as off-duty, the travel time period corresponding to the off-duty scene can be shown as a late peak, and the time of the late peak time period can be used as a displayed time period time. For example, the attribute corresponding to the destination information is a tourist attraction, the corresponding travel scene can be determined to be a tour, the corresponding travel time interval is a holiday travel time interval, and the journey time of the holiday can be displayed for the user according to the holiday road condition historical data. Further, the method for displaying the determined travel route and a plurality of routes in different time periods corresponding to the travel route comprises the following steps: highlighting the elapsed time corresponding to the travel time period corresponding to the travel scene. For example, the elapsed time corresponding to the travel time period corresponding to the travel scene may be preferentially or significantly displayed. For example, the time spent in the early peak period and the time spent in the flat peak period can be displayed preferentially corresponding to the working scene.
In some embodiments, the determining a travel route according to the departure point information and the destination information included in the route query request includes: determining a first travel route according to departure place information, destination information and more than two travel modes contained in the route query request; the first travel route is divided into at least two travel road sections, and different travel road sections correspond to different travel modes. For example, in the prior art, only a travel route in a single travel mode is often provided, and when the embodiment of the present invention is specifically implemented, a travel route in a cross-travel mode may be provided. For example, the prior art can only provide a single travel route of "sit subway to a station, walk 1.5 km" or "take car 32 km". In the invention, the data of various travel modes can be integrated, and route recommendation crossing the travel modes is provided. Specifically, the travel route may be divided into two or more travel sections, and each travel section corresponds to a different travel mode. For example, the invention can provide a travel mode of 'firstly sitting on a subway to a station A, then driving for 1.5 kilometers, and having the lowest driving cost of N yuan'. Furthermore, the travel route data determined by the single travel mode and the travel route data determined by the at least two travel modes can be compared and displayed for the user to select. Specifically, the determining the travel route according to the departure place information and the destination information included in the route query request further includes: determining a second travel route according to the departure place information, the destination information and the single travel mode contained in the route query request; the displaying the determined travel route and a plurality of routes in different time periods corresponding to the travel route includes: and comparing and displaying the route data of the first travel route with the route data of the second travel route, wherein the route data comprises one or more of route details, journey time at different time intervals, saved time cost data and saved economic cost data. For example, the travel route data may include journey elapsed time, saved time cost data, full economic cost, increased economic cost or saved economic cost data, and the like.
In some embodiments, when determining the travel route according to two or more travel modes, when the first travel route is divided into a first travel section and a second travel section, and the first travel section corresponds to the first travel mode and the second travel section corresponds to the second travel mode, the method further includes: and responding to the operation of triggering a second travel mode by the user, and planning a navigation route corresponding to the second travel road section for the user according to the starting position and the ending position of the second travel road section. For example, the first travel route is divided into a section a and a section B, the section a corresponds to a travel mode of a subway, and the travel mode corresponding to the section B is driving or riding. When the user takes the subway to finish the distance A, the user can directly click a second travel mode such as taxi taking, the taxi taking route can be automatically planned for the user and/or taxi taking software is started to start navigation according to the starting position of the distance B, the user does not need to input the starting position and the ending position again, and the operation of the user is facilitated.
S103, displaying the determined travel route and the travel time of a plurality of different time periods corresponding to the travel route.
In specific implementation, when the travel route and a plurality of routes in different time periods corresponding to the travel route are displayed, the routes in different time periods can be displayed in a page at the same time, and comparison is facilitated for a user. Of course, in order to save screen space, when the route in one time interval is highlighted, the routes in other time intervals are folded and displayed, and in response to the click operation, the routes in other time intervals which are folded and displayed are unfolded and displayed.
In some embodiments, the journey time data may be adjusted based on user correction information in order to provide more accurate and efficient information. Specifically, prompt information can be displayed for prompting the user to correct the journey time corresponding to the trip route selected by the user; receiving and storing correction time data input by a user, and adjusting the journey time of a journey time period corresponding to the journey route according to the correction time data, the journey route and the user journey time period. For example, the user may be prompted to select accurate, longer, shorter, and the like of the estimated time of the journey, so as to correct the journey time of the journey time period corresponding to the travel route, and provide more accurate time calculation for the subsequent user.
In some embodiments, the method further comprises: judging whether the determined travel route is related to a last bus missing event; if the travel route association misses the last car event, calculating the cost of the travel mode for replacing the last car; the cost of travel modes to replace the last car is displayed. For example, if the route is associated with a missed last car event, the cost of the car may be calculated and prompted to the user. For example, if the route is the map line 13 to 126, and the current travel time is 10 o' clock, the last car of the 126 routes may be missed, and the user is prompted to "the last car 126 routes may be missed, and the cost for taking the car instead of the 126 routes is 23 yuan". Therefore, the user can judge whether the taxi taking cost caused by missing the last taxi can be borne, and a better scheme can be selected. Further, when the taxi taking cost is calculated, the charging results of different taxi taking software can be called, and the cheapest charging platform is preferred for the user. For example, the current preferential activities and the doubling times of each platform can be pulled in real time, and the taxi taking cost is converted. In addition, other applications can be associated through the interface, and taxi taking services without downloading the applications are provided for the user. Furthermore, the user account can be associated with other social platform accounts, so that preferential information under other social platform accounts can be obtained, and a more accurate taxi taking expense result can be provided.
Referring to fig. 2, a schematic diagram of a route query device according to an embodiment of the present invention is provided.
A route querying device 200, comprising:
a receiving unit 201, configured to receive a route query request, where the route query request includes departure point information and destination information. The specific implementation of the receiving unit 201 can be implemented with reference to step 101 in the embodiment shown in fig. 1.
A determining unit 202, configured to determine a travel route and a plurality of travel times in different time periods corresponding to the travel route according to the departure place information and the destination information included in the route query request. The travel time of the different time periods comprises two or more combinations of time corresponding to the current departure time, time corresponding to a peak time period or time corresponding to a holiday time period. The specific implementation of the determining unit 202 can be implemented with reference to step 102 in the embodiment shown in fig. 1.
A display unit 203, configured to display the determined travel route and a plurality of travel times in different time periods corresponding to the travel route. The specific implementation of the display unit 203 can be implemented with reference to step 103 of the embodiment shown in fig. 1.
In some embodiments, the determining unit 202 is specifically configured to, when the route query request further includes travel time information, and the travel time information includes at least two different travel times, determine a travel route and respective travel times corresponding to the at least two different travel times according to the departure information, the destination information, and the at least two different travel times included in the route query request.
In some embodiments, the determining unit 202 is specifically configured to, when the route query request further includes travel time information, where the travel time information corresponds to a travel time, obtain a time interval attribute of the travel time corresponding to the route query request, and determine one or more travel time intervals having different time interval attributes of the travel time corresponding to the route query request; determining the time of the journey corresponding to the travel route according to the time interval attribute of the travel time corresponding to the route inquiry request, and determining the time of the journey corresponding to the travel route in one or more different time intervals according to one or more determined travel time intervals with different time interval attributes of the travel time corresponding to the route inquiry request.
In some embodiments, the determining unit 202 is specifically configured to determine the travel route according to the departure point information, the destination information, and more than two travel modes included in the route query request.
In some embodiments, the determining unit 202 is specifically configured to obtain attribute information corresponding to the departure place information and/or the destination information, and determine a travel scene according to the attribute information; and determining the time spent corresponding to the travel time period corresponding to the travel scene according to the corresponding relation between the travel scene and the travel time period.
In some embodiments, the display unit 203 is specifically configured to highlight the elapsed time corresponding to the travel time period corresponding to the travel scene.
In some embodiments, the apparatus further comprises: the prompting unit is used for displaying prompting information and prompting a user to correct the journey time corresponding to the trip route selected by the user; and the adjusting unit is used for receiving and storing correction time data input by a user and adjusting the journey time of the journey time period corresponding to the journey route according to the correction time data, the journey route and the user journey time period.
In some embodiments, the apparatus further comprises: the judging unit is used for judging whether the determined travel route is related to a last bus missing event; the calculating unit is used for calculating the cost of a travel mode for replacing the last bus if the travel route is associated with the last bus and misses the last bus event; the display unit is also used for displaying the cost of the travel mode of replacing the last bus.
In some embodiments, the determining unit 202 is specifically configured to: determining a first travel route according to departure place information, destination information and more than two travel modes contained in the route query request; the first travel route is divided into at least two travel road sections, and different travel road sections correspond to different travel modes.
In some embodiments, the determining unit 202 is further specifically configured to: determining a second travel route according to the departure place information, the destination information and the single travel mode contained in the route query request;
the display unit is specifically configured to: and comparing and displaying the route data of the first travel route with the route data of the second travel route, wherein the route data comprises one or more of route details, journey time at different time intervals, saved time cost data and saved economic cost data.
In some embodiments, the apparatus further comprises:
and the planning unit is used for responding to the operation of triggering the second travel mode by the user when the first travel route is divided into a first travel road section and a second travel road section, the first travel road section corresponds to the first travel mode, and the second travel road section corresponds to the second travel mode, and planning the navigation route corresponding to the second travel road section for the user according to the starting position and the ending position of the second travel road section.
The arrangement of each unit or module of the apparatus of the present invention can be implemented by referring to the method shown in fig. 1, which is not described herein again.
Referring to fig. 3, a block diagram of an apparatus for route query is shown in accordance with an exemplary embodiment. For example, the apparatus 300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 3, the apparatus 300 may include one or more of the following components: processing component 302, memory 304, power component 306, multimedia component 308, audio component 310, input/output (I/O) interface 312, sensor component 314, and communication component 316.
The processing component 302 generally controls overall operation of the device 300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 302 may include one or more processors 320 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 302 can include one or more modules that facilitate interaction between the processing component 302 and other components. For example, the processing component 302 can include a multimedia module to facilitate interaction between the multimedia component 308 and the processing component 302.
The memory 304 is configured to store various types of data to support operations at the device 300. Examples of such data include instructions for any application or method operating on device 300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 304 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 306 provides power to the various components of the device 300. The power components 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 300.
The multimedia component 308 includes a screen that provides an output interface between the device 300 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 308 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 300 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 310 is configured to output and/or input audio signals. For example, audio component 310 includes a Microphone (MIC) configured to receive external audio signals when apparatus 300 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 304 or transmitted via the communication component 316. In some embodiments, audio component 310 also includes a speaker for outputting audio signals.
The I/O interface 312 provides an interface between the processing component 302 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 314 includes one or more sensors for providing various aspects of status assessment for the device 300. For example, sensor assembly 314 may detect an open/closed state of device 300, the relative positioning of components, such as a display and keypad of apparatus 300, the change in position of apparatus 300 or a component of apparatus 300, the presence or absence of user contact with apparatus 300, the orientation or acceleration/deceleration of apparatus 300, and the change in temperature of apparatus 300. Sensor assembly 314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 316 is configured to facilitate wired or wireless communication between the apparatus 300 and other devices. The device 300 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication section 316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
Specifically, the present embodiment provides a route querying device 300, comprising a memory 304, and one or more programs, wherein the one or more programs are stored in the memory 304, and configured to be executed by the one or more processors 320, the one or more programs including instructions for: receiving a route query request, wherein the route query request comprises departure place information and destination information; determining a travel route and the journey time of a plurality of different time periods corresponding to the travel route according to the departure place information and the destination information contained in the route query request; and displaying the determined travel route and the travel time of a plurality of different periods corresponding to the travel route.
Further, the processor 320 is specifically configured to execute the one or more programs including instructions for: when the route query request further includes travel time information, and the travel time information includes at least two different travel times, determining a travel route and travel times corresponding to the at least two different travel times according to departure point information, destination information, and the at least two different travel times included in the route query request.
Further, the processor 320 is specifically configured to execute the one or more programs including instructions for: when the route query request further comprises travel time information, and the travel time information corresponds to travel time, acquiring time interval attributes of the travel time corresponding to the route query request, and determining one or more travel time intervals with different time interval attributes of the travel time corresponding to the route query request; determining the time of the journey corresponding to the travel route according to the time interval attribute of the travel time corresponding to the route inquiry request, and determining the time of the journey corresponding to the travel route in one or more different time intervals according to one or more determined travel time intervals with different time interval attributes of the travel time corresponding to the route inquiry request.
Further, the processor 320 is specifically configured to execute the one or more programs including instructions for: acquiring attribute information corresponding to the departure place information and/or the destination information, and determining a travel scene according to the attribute information; and determining the time spent corresponding to the travel time period corresponding to the travel scene according to the corresponding relation between the travel scene and the travel time period.
Further, the processor 320 is specifically configured to execute the one or more programs including instructions for: highlighting the elapsed time corresponding to the travel time period corresponding to the travel scene.
Further, the processor 320 is specifically configured to execute the one or more programs including instructions for: displaying prompt information for prompting a user to correct the journey time corresponding to the trip route selected by the user; receiving and storing correction time data input by a user, and adjusting the journey time of a journey time period corresponding to the journey route according to the correction time data, the journey route and the user journey time period.
Further, the processor 320 is specifically configured to execute the one or more programs including instructions for: judging whether the determined travel route is related to a last bus missing event; if the travel route association misses the last car event, calculating the cost of the travel mode for replacing the last car; the cost of travel modes to replace the last car is displayed.
Further, the processor 320 is specifically configured to execute the one or more programs including instructions for:
determining a first travel route according to departure place information, destination information and more than two travel modes contained in the route query request; the first travel route is divided into at least two travel road sections, and different travel road sections correspond to different travel modes.
Further, the processor 320 is specifically configured to execute the one or more programs including instructions for: determining a second travel route according to the departure place information, the destination information and the single travel mode contained in the route query request; and comparing and displaying the route data of the first travel route with the route data of the second travel route, wherein the route data comprises one or more of route details, journey time at different time intervals, saved time cost data and saved economic cost data.
Further, the processor 320 is specifically configured to execute the one or more programs including instructions for: when the first travel route is divided into a first travel road section and a second travel road section, the first travel road section corresponds to a first travel mode, and the second travel road section corresponds to a second travel mode, responding to the operation that a user triggers the second travel mode, and planning a navigation route corresponding to the second travel road section for the user according to the starting position and the ending position of the second travel road section.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 304 comprising instructions, executable by the processor 320 of the apparatus 300 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A machine-readable medium, which may be, for example, a non-transitory computer-readable storage medium, in which instructions, when executed by a processor of a device (terminal or server), enable the device to perform a route query method, the method comprising: receiving a route query request, wherein the route query request comprises departure place information and destination information; determining a travel route and the journey time of a plurality of different time periods corresponding to the travel route according to the departure place information and the destination information contained in the route query request; and displaying the determined travel route and the travel time of a plurality of different periods corresponding to the travel route.
Optionally, the travel time of the plurality of different time periods includes a combination of two or more of time corresponding to the current departure time, time corresponding to a peak time period, or time corresponding to a holiday time period.
Optionally, the route query request further includes travel time information, the travel time information includes at least two different travel times, and determining a travel route and a plurality of routes in different time periods corresponding to the travel route according to the departure place information and the destination information included in the route query request includes: and determining a travel route and time for each route corresponding to the at least two different travel times according to the departure place information, the destination information and the at least two different travel times contained in the route query request.
Optionally, the route query request further includes travel time information, the travel time information corresponds to a travel time, and determining a travel route and a plurality of routes in different time periods corresponding to the travel route according to the departure information and the destination information included in the route query request includes: acquiring a time interval attribute of travel time corresponding to the route inquiry request, and determining one or more travel time intervals with different time interval attributes of the travel time corresponding to the route inquiry request; determining the time of the journey corresponding to the travel route according to the time interval attribute of the travel time corresponding to the route inquiry request, and determining the time of the journey corresponding to the travel route in one or more different time intervals according to one or more determined travel time intervals with different time interval attributes of the travel time corresponding to the route inquiry request.
Optionally, the determining a travel route and a plurality of routes in different time periods corresponding to the travel route according to the departure place information and the destination information included in the route query request includes: acquiring attribute information corresponding to the departure place information and/or the destination information, and determining a travel scene according to the attribute information; and determining the time spent corresponding to the travel time period corresponding to the travel scene according to the corresponding relation between the travel scene and the travel time period.
Optionally, the displaying the determined travel route and a plurality of routes in different time periods corresponding to the travel route includes: highlighting the elapsed time corresponding to the travel time period corresponding to the travel scene.
Optionally, the method further comprises: displaying prompt information for prompting a user to correct the journey time corresponding to the trip route selected by the user; receiving and storing correction time data input by a user, and adjusting the journey time of a journey time period corresponding to the journey route according to the correction time data, the journey route and the user journey time period.
Optionally, the method further comprises: judging whether the determined travel route is related to a last bus missing event; if the travel route association misses the last car event, calculating the cost of the travel mode for replacing the last car; the cost of travel modes to replace the last car is displayed.
Optionally, the determining a travel route according to the departure place information and the destination information included in the route query request includes: determining a first travel route according to departure place information, destination information and more than two travel modes contained in the route query request; the first travel route is divided into at least two travel road sections, and different travel road sections correspond to different travel modes.
Optionally, the determining a travel route according to the departure place information and the destination information included in the route query request further includes: determining a second travel route according to the departure place information, the destination information and the single travel mode contained in the route query request;
the displaying the determined travel route and a plurality of routes in different time periods corresponding to the travel route includes: and comparing and displaying the route data of the first travel route with the route data of the second travel route, wherein the route data comprises one or more of route details, journey time at different time intervals, saved time cost data and saved economic cost data.
Optionally, when the first travel route is divided into a first travel route section and a second travel route section, and the first travel route section corresponds to a first travel mode, and the second travel route section corresponds to a second travel mode, the method further includes: and responding to the operation of triggering a second travel mode by the user, and planning a navigation route corresponding to the second travel road section for the user according to the starting position and the ending position of the second travel road section.
Fig. 4 is a schematic structural diagram of a server in an embodiment of the present invention. The server 400 may vary significantly due to configuration or performance, and may include one or more Central Processing Units (CPUs) 422 (e.g., one or more processors) and memory 432, one or more storage media 430 (e.g., one or more mass storage devices) storing applications 442 or data 444. Wherein the memory 432 and storage medium 430 may be transient or persistent storage. The program stored on the storage medium 430 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, the central processor 422 may be arranged to communicate with the storage medium 430, and execute a series of instruction operations in the storage medium 430 on the server 400.
The server 400 may also include one or more power supplies 426, one or more wired or wireless network interfaces 450, one or more input-output interfaces 458, one or more keyboards 456, and/or one or more operating systems 441, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and so forth.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is only limited by the appended claims
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 identical elements in a process, method, article, or apparatus that comprises the element. The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort. The foregoing is directed to embodiments of the present invention, and it is understood that various modifications and improvements can be made by those skilled in the art without departing from the spirit of the invention.

Claims (20)

1. A route query method, comprising:
receiving a route query request, wherein the route query request comprises departure place information and destination information;
determining a travel route and the journey time of a plurality of different time periods corresponding to the travel route according to the departure place information and the destination information contained in the route query request;
displaying the determined travel route and a plurality of routes in different time periods corresponding to the travel route;
wherein, the determining the travel route according to the departure place information and the destination information contained in the route inquiry request comprises:
determining a first travel route according to departure place information, destination information and more than two travel modes contained in the route query request; the first travel route is divided into at least two travel sections, and different travel sections correspond to different travel modes;
determining a second travel route according to the departure place information, the destination information and the single travel mode contained in the route query request;
the displaying the determined travel route and a plurality of routes in different time periods corresponding to the travel route includes:
and comparing and displaying the route data of the first travel route with the route data of the second travel route, wherein the route data comprises one or more of route details, journey time at different time intervals, saved time cost data and saved economic cost data.
2. The method according to claim 1, wherein the plurality of different periods of time for travel use comprise a combination of two or more of a current departure time for travel use, a peak time for travel use, or a holiday time for travel use.
3. The method of claim 1, wherein the route query request further includes travel time information, the travel time information includes at least two different travel times, and the determining of the travel route according to the departure information and the destination information included in the route query request and the plurality of different periods of time corresponding to the travel route includes:
and determining a travel route and time for each route respectively corresponding to the at least two different travel times according to the departure place information, the destination information and the at least two different travel times contained in the route query request.
4. The method of claim 1, wherein the route query request further includes travel time information, the travel time information corresponds to a travel time, and the determining of the travel route and the routes in different time periods corresponding to the travel route according to the departure information and the destination information included in the route query request comprises:
acquiring a time interval attribute of travel time corresponding to the route inquiry request, and determining one or more travel time intervals with different time interval attributes of the travel time corresponding to the route inquiry request;
determining the time of the journey corresponding to the travel route according to the time interval attribute of the travel time corresponding to the route inquiry request, and determining the time of the journey corresponding to the travel route in one or more different time intervals according to one or more determined travel time intervals with different time interval attributes of the travel time corresponding to the route inquiry request.
5. The method according to claim 1, wherein the determining a travel route and a plurality of routes in different time periods corresponding to the travel route according to the departure point information and the destination information included in the route query request comprises:
acquiring attribute information corresponding to the departure place information and/or the destination information, and determining a travel scene according to the attribute information;
and determining the time spent corresponding to the travel time period corresponding to the travel scene according to the corresponding relation between the travel scene and the travel time period.
6. The method of claim 1, further comprising:
displaying prompt information for prompting a user to correct the journey time corresponding to the trip route selected by the user;
receiving and storing correction time data input by a user, and adjusting the journey time of a journey time period corresponding to the journey route according to the correction time data, the journey route and the user journey time period.
7. The method of claim 1, further comprising:
judging whether the determined travel route is related to a last bus missing event;
if the travel route association misses the last car event, calculating the cost of the travel mode for replacing the last car;
the cost of travel modes to replace the last car is displayed.
8. The method of claim 1, wherein when the first travel route is divided into a first travel segment and a second travel segment, the first travel segment corresponding to a first travel mode and the second travel segment corresponding to a second travel mode, the method further comprises:
and responding to the operation of triggering a second travel mode by the user, and planning a navigation route corresponding to the second travel road section for the user according to the starting position and the ending position of the second travel road section.
9. The method of claim 5, wherein the displaying the determined travel route and a plurality of different time periods of journey corresponding to the travel route includes: highlighting the elapsed time corresponding to the travel time period corresponding to the travel scene.
10. A route inquiry apparatus, comprising:
a receiving unit for receiving a route inquiry request including departure place information and destination information;
a determining unit, configured to determine a travel route and a plurality of travel times in different time periods corresponding to the travel route according to departure place information and destination information included in the route query request;
the display unit is used for displaying the determined travel route and the travel time of a plurality of different time periods corresponding to the travel route;
wherein the determining unit is specifically configured to:
determining a first travel route according to departure place information, destination information and more than two travel modes contained in the route query request; the first travel route is divided into at least two travel sections, and different travel sections correspond to different travel modes;
determining a second travel route according to the departure place information, the destination information and the single travel mode contained in the route query request;
the display unit is specifically configured to:
and comparing and displaying the route data of the first travel route with the route data of the second travel route, wherein the route data comprises one or more of route details, journey time at different time intervals, saved time cost data and saved economic cost data.
11. The apparatus according to claim 10, wherein the plurality of different periods of time for travel use includes a combination of two or more of a time for current departure time, a time for rush hour, a time for flat peak hour, or a time for holiday hours.
12. The apparatus according to claim 10, wherein the determining unit is specifically configured to, when the route query request further includes travel time information, and the travel time information includes at least two different travel times, determine a travel route and respective travel times corresponding to the at least two different travel times according to departure point information, destination information, and the at least two different travel times included in the route query request.
13. The apparatus according to claim 10, wherein the determining unit is specifically configured to, when the route query request further includes travel time information, where the travel time information corresponds to a travel time, obtain a time interval attribute of the travel time corresponding to the route query request, and determine one or more travel time intervals having different time interval attributes of the travel time corresponding to the route query request; determining the time of the journey corresponding to the travel route according to the time interval attribute of the travel time corresponding to the route inquiry request, and determining the time of the journey corresponding to the travel route in one or more different time intervals according to one or more determined travel time intervals with different time interval attributes of the travel time corresponding to the route inquiry request.
14. The apparatus according to claim 10, wherein the determining unit is specifically configured to obtain attribute information corresponding to the departure location information and/or the destination information, and determine a travel scene according to the attribute information; and determining the time spent corresponding to the travel time period corresponding to the travel scene according to the corresponding relation between the travel scene and the travel time period.
15. The apparatus of claim 10, further comprising: the prompting unit is used for displaying prompting information and prompting a user to correct the journey time corresponding to the trip route selected by the user; and the adjusting unit is used for receiving and storing correction time data input by a user and adjusting the journey time of the journey time period corresponding to the journey route according to the correction time data, the journey route and the user journey time period.
16. The apparatus of claim 10, further comprising: the judging unit is used for judging whether the determined travel route is related to a last bus missing event; the calculating unit is used for calculating the cost of a travel mode for replacing the last bus if the travel route is associated with the last bus and misses the last bus event; the display unit is also used for displaying the cost of the travel mode of replacing the last bus.
17. The apparatus of claim 10, further comprising:
and the planning unit is used for responding to the operation of triggering the second travel mode by the user when the first travel route is divided into a first travel road section and a second travel road section, the first travel road section corresponds to the first travel mode, and the second travel road section corresponds to the second travel mode, and planning the navigation route corresponding to the second travel road section for the user according to the starting position and the ending position of the second travel road section.
18. The apparatus according to claim 14, wherein the display unit is specifically configured to highlight a user hour corresponding to a travel period corresponding to the travel scene.
19. An apparatus for route querying, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and wherein execution of the one or more programs by one or more processors comprises instructions for:
receiving a route query request, wherein the route query request comprises departure place information and destination information;
determining a travel route and the journey time of a plurality of different time periods corresponding to the travel route according to the departure place information and the destination information contained in the route query request;
displaying the determined travel route and a plurality of routes in different time periods corresponding to the travel route;
wherein, the determining the travel route according to the departure place information and the destination information contained in the route inquiry request comprises:
determining a first travel route according to departure place information, destination information and more than two travel modes contained in the route query request; the first travel route is divided into at least two travel sections, and different travel sections correspond to different travel modes;
determining a second travel route according to the departure place information, the destination information and the single travel mode contained in the route query request;
the displaying the determined travel route and a plurality of routes in different time periods corresponding to the travel route includes:
and comparing and displaying the route data of the first travel route with the route data of the second travel route, wherein the route data comprises one or more of route details, journey time at different time intervals, saved time cost data and saved economic cost data.
20. A machine-readable medium having stored thereon instructions, which when executed by one or more processors, cause an apparatus to perform a route query method as recited in one or more of claims 1-9.
CN201710524124.3A 2017-06-30 2017-06-30 Route query method and device Active CN109241206B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710524124.3A CN109241206B (en) 2017-06-30 2017-06-30 Route query method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710524124.3A CN109241206B (en) 2017-06-30 2017-06-30 Route query method and device

Publications (2)

Publication Number Publication Date
CN109241206A CN109241206A (en) 2019-01-18
CN109241206B true CN109241206B (en) 2022-01-14

Family

ID=65083152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710524124.3A Active CN109241206B (en) 2017-06-30 2017-06-30 Route query method and device

Country Status (1)

Country Link
CN (1) CN109241206B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110657817A (en) * 2019-09-29 2020-01-07 武汉元光科技有限公司 Method and device for recommending travel route
CN113553517A (en) * 2021-07-23 2021-10-26 上海蒜芽信息科技有限公司 Ticket information display method, processing method, device, electronic equipment and medium
CN113537535A (en) * 2021-08-02 2021-10-22 深圳市新天能科技开发有限公司 Car booking method, route planning management method and device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103364002B (en) * 2012-03-30 2017-06-23 北京掌行通信息技术有限公司 Route planning system and method combining real-time road conditions and public transport operation information
CN103337167B (en) * 2013-04-11 2015-03-18 沈怀信 Controlling system for preventing traffic jams
KR101558324B1 (en) * 2013-10-11 2015-10-13 주식회사 크루메이트 Method and system for heuristic airline searching
CN104882020B (en) * 2015-06-05 2017-01-25 刘光明 Method for predicting traffic conditions and driving time
CN105608508A (en) * 2015-12-25 2016-05-25 上海电机学院 Vehicle optimum route query method and system
CN106225793A (en) * 2016-06-30 2016-12-14 佛山市天地行科技有限公司 navigation algorithm based on experience
CN106210094B (en) * 2016-07-19 2019-08-13 腾讯科技(深圳)有限公司 Periphery hot spot road conditions methods of exhibiting, the first client, server-side and system
CN106248093A (en) * 2016-08-30 2016-12-21 深圳市金立通信设备有限公司 A kind of stroke reminding method and terminal

Also Published As

Publication number Publication date
CN109241206A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
JP6349467B2 (en) Vehicle allocation reservation method and apparatus, program, and recording medium
EP3163254B1 (en) Method and device for intelligently guiding user to ride elevator/escalator
US9916750B2 (en) Method and device for reminding based on alarm clock
CN107452221B (en) Arrival reminding method and device
EP3418962A1 (en) Public transit payment method and device
EP3715789A1 (en) Method, apparatus for displaying travelling strategy based on public transportation and storage medium
CN104966411A (en) Method, apparatus and system for determining idle parking stalls
CN107180349B (en) Virtual bus card calling method and device and terminal equipment
CN103916473B (en) Travel information processing method and relevant apparatus
WO2017054497A1 (en) Transaction processing method, device and electronic apparatus based on navigation information
CN104318803A (en) Parking information prediction method and apparatus
CN109241206B (en) Route query method and device
CN110887498B (en) Navigation route recommendation method and device, electronic equipment and readable storage medium
CN105388503A (en) Navigation method and device
CN107402777B (en) Resource updating method and electronic equipment
RU2648264C2 (en) Method and device (variants) for processing communication messages
CN106156207A (en) Reminder time amending method and device
CN110715672B (en) Navigation path planning method and device
US20160364459A1 (en) Search method and search device
CN106464760B (en) Clock adding method and device
CN103900601A (en) Event reminding method and device based on navigation map
CN106681600A (en) Information display method and device
CN107404430B (en) Using method, device and system of shared vehicle
RU2620277C1 (en) Method, device and usage records display system
CN110019611B (en) Multi-destination query method and device

Legal Events

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