CN109241206A - A kind of route inquiry method and device - Google Patents

A kind of route inquiry method and device Download PDF

Info

Publication number
CN109241206A
CN109241206A CN201710524124.3A CN201710524124A CN109241206A CN 109241206 A CN109241206 A CN 109241206A CN 201710524124 A CN201710524124 A CN 201710524124A CN 109241206 A CN109241206 A CN 109241206A
Authority
CN
China
Prior art keywords
traffic path
trip
information
used time
route
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710524124.3A
Other languages
Chinese (zh)
Other versions
CN109241206B (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

Abstract

The embodiment of the present invention provides a kind of route inquiry method and apparatus, which comprises receipt routing inquiry request, the route inquiry request packet include departure place information and destination information;The distance used time of traffic path and multiple and different periods corresponding with the traffic path is determined according to the route inquiry request departure place information that includes, destination information;Show the determining traffic path and the distance used time of multiple and different periods corresponding with the traffic path.The embodiment of the present invention can show same route in the used time of different periods, carrying out cumbersome operation without user can be to provide more accurate and effective trip information for user in user query route.

Description

A kind of route inquiry method and device
Technical field
The present embodiments relate to field of computer technology, and in particular to a kind of route inquiry method and device.
Background technique
In the prior art, map class application query traffic path is can be used in user before travel.Map class application can be with Corresponding traffic path and traffic path are displayed for a user according to the departure place, destination, departure place of user's input Used time.For example, if the departure place of user be " five road junctions ", destination be " Oak Tree gulf cell ", user default choosing The departure time selected is 11 points of current time, and map class application can show recommended route " No. 13 60 tunnels line Zhuan Zhuan of subway ", used time 30 minutes.If the trip that user wants relatively different time is time-consuming, when needing to input repeatedly, inquire, and needing to remember each The time-consuming of section operates very cumbersome.
Summary of the invention
The embodiment of the present invention is intended to provide a kind of route inquiry method and device, can show in user query route For same route in the used time of different periods, carrying out cumbersome operation without user can be more accurate and effective to provide for user Trip information.
For this purpose, the embodiment of the present invention provides the following technical solutions:
In a first aspect, the embodiment of the invention provides a kind of route inquiry methods, comprising: receipt routing inquiry request, institute It states route inquiry request packet and includes departure place information and destination information;The departure place letter for including according to route inquiry request Breath, destination information determine the distance used time of traffic path and multiple and different periods corresponding with the traffic path;Display The determining traffic path and the distance used time of multiple and different periods corresponding with the traffic path.
Second aspect, the embodiment of the invention provides a kind of route inquiry devices, comprising: receiving unit, for receiving road Line inquiry request, the route inquiry request packet include departure place information and destination information;Determination unit, for according to the road Departure place information that line inquiry request includes, destination information determine traffic path and corresponding with the traffic path multiple The distance used time of different periods;Display unit, for showing the determining traffic path and corresponding with the traffic path Multiple and different periods the distance used time.
The third aspect, it to include memory, Yi Jiyi that the embodiment of the invention provides a kind of devices for route inquiry A perhaps more than one program one of them or more than one program is stored in memory, and is configured to by one Or it includes the instruction for performing the following operation that more than one processor, which executes the one or more programs: being received Route inquiry request, the route inquiry request packet include departure place information and destination information;It is requested according to the route inquiry The departure place information that includes, destination information determine traffic path and multiple and different periods corresponding with the traffic path The distance used time;Show that the determining traffic path and the distance of multiple and different periods corresponding with the traffic path are used When.
Fourth aspect, the embodiment of the invention provides a kind of machine readable medias, are stored thereon with instruction, when by one or When multiple processors execute, so that device executes the route inquiry method as shown in first aspect.
Route inquiry method and device provided in an embodiment of the present invention can request the departure place for including according to route inquiry Information, destination information determine the distance used time of traffic path and multiple and different periods corresponding with the traffic path, and The determining traffic path and the distance used time of multiple and different periods corresponding with the traffic path, side are shown to user Just the used time of user's more different trip periods, more accurate and effective trip information is provided for user.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The some embodiments recorded in invention, for those of ordinary skill in the art, without creative efforts, It is also possible to obtain other drawings based on these drawings.
Fig. 1 is the route inquiry method flow diagram that one embodiment of the invention provides;
Fig. 2 is the route inquiry schematic device that one embodiment of the invention provides;
Fig. 3 is a kind of block diagram of the device of the route inquiry shown according to another exemplary embodiment;
Fig. 4 is the block diagram of server shown according to an exemplary embodiment.
Specific embodiment
The embodiment of the present invention is intended to provide a kind of route inquiry method and device, can show in user query route For same route in the used time of different periods, carrying out cumbersome operation without user can be more accurate and effective to provide for user Trip information.
Technical solution in order to enable those skilled in the art to better understand the present invention, below in conjunction with of the invention real The attached drawing in example is applied, technical solution in the embodiment of the present invention is described, it is clear that described embodiment is only this hair Bright a part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not having Every other embodiment obtained under the premise of creative work is made, should fall within the scope of the present invention.
The route inquiry method shown in exemplary embodiment of the present is introduced below in conjunction with attached drawing 1.
Referring to Fig. 1, the route inquiry method flow diagram provided for one embodiment of the invention.As shown in Figure 1, may include:
S101, receipt routing inquiry request, the route inquiry request packet include departure place information and destination information.
It, can also be with it should be noted that departure place information and destination information can be determined according to the input information of user It determines by other means.For example, can use location information obtain user current location as departure place information, by user Input the place " work " for perhaps destination information being selected for example to prestore or " family " information as a purpose.Concrete implementation Mode can be very flexibly, herein without limiting.
S102, according to the route inquiry request departure place information that includes, destination information determine traffic path and The distance used time of multiple and different periods corresponding with the traffic path.
It should be noted that the prior art, which is only user, provides the used time of a trip period, if user wants to compare The distance used time of different travel times needs to carry out cumbersome operation, and inconvenient.In addition, the distance that the prior art provides is used When often single period used time, be easy to cause to perplex to user, user is one at used time that can take for no matter when setting out Sample, reasonable routing can not be provided the user with.And in embodiments of the present invention, when showing traffic path for user, Can determine distance used times of multiple and different periods for user, user is facilitated to compare, without troublesome operation can show effectively, Accurate trip information.When specific implementation, the distance used time of the multiple different periods includes corresponding use of current departure time When, peak period corresponding used time, two kinds or two in flat peak period corresponding used time or period holiday corresponding used time Kind or more combination.For example, the distance used time of the multiple different periods may include distance used time, the morning set out now The distance use of the distance used time of peak period, the distance used time of evening peak period, the distance used time of flat peak period or festivals or holidays When.Certainly, it above are only exemplary illustration, the used time that can also choose other different periods shows user, as long as can be use Family provides the used time for the different periods that two kinds of distinct methods determine.
In some embodiments, the route inquiry request packet includes row temporal information, the travel time information pair Answer a travel time.The departure place information for including according to route inquiry request, destination information determine walking along the street The distance used time of line and multiple and different periods corresponding with the traffic path include: that the acquisition route inquiry request is corresponding Travel time period attribute, determine that one or more requests the period of corresponding travel time to belong to the route inquiry The property different trip period;Request the period attribute of corresponding travel time determining according to the route inquiry and the walking along the street out The line corresponding distance used time, and, according to one or more determining travel time corresponding with route inquiry request Period attribute it is different trip the period determine it is corresponding with the traffic path one or more different periods the distance used time. For example, it is 11 points of the morning that user, which inputs or selected the travel time, the period attribute of travel time is flat peak, then can To determine one or more periods different from flat peak period attribute, such as morning peak period or evening peak period, to user The distance used time of flat peak period and the distance used time of morning peak period or evening peak period are shown simultaneously.It is corresponding, if with The travel time that family inputs or selects is 8 points of morning, and the period attribute of travel time is peak, then one can be determined The period different from peak period attribute, such as flat peak period, to user simultaneously show the morning peak period the distance used time and The distance used time of flat peak period.
In other embodiments, the route inquiry request further includes travel time information, the travel time letter Breath included at least two different travel times, the departure place information for including according to route inquiry request, destination Information determines that traffic path and the distance used time of multiple and different periods corresponding with the traffic path include: according to the road Departure place information that line inquiry request includes, destination information, described at least two different travel times determine traffic path And the travel time corresponding each distance used time different from described at least two.For example, being used in application scenes Family may have the demand of the distance time-consuming of more multiple and different travel times to facilitate the selection travel time.At this moment, Ke Yixian Show user interface, prompts user that can input two or more plan travel times.If user has input two differences Travel time, then the trip period according to corresponding to the two travel times can determine the distance used time.
In yet other embodiments, route inquiry request does not include travel time information, at this moment can be according to setting It is set to the distance used time that user shows at least two periods of default.For example, can show that the distance of peak period is used for user When and the flat peak period the distance used time, facilitate client to select the trip of suitable time.
In other embodiments, the distance used time can also be determined according to the trip scene of user.It is described according to The route inquiry request departure place information that includes, destination information determine traffic path and corresponding with the traffic path more The distance used time of a different periods includes: to obtain the departure place information and/or the corresponding attribute information of destination information, according to The attribute information determines trip scene;According to the corresponding relationship determination and the trip scene pair of trip scene and period of going on a journey The trip period corresponding used time answered.For example, the corresponding attribute information of destination information is office space, user currently goes out The attribute information for sending out position is residential area, then can determine trip scene as working, can show the corresponding trip of working scene Period is morning peak, can be using the used time of morning peak period as used time period of display, another period, which can be, is One period of default of uniting or the period different from currently determining morning peak period attribute.Again for example, destination is believed Ceasing corresponding attribute information is residential area, and the attribute information of the current homeposition of user is office space, then can determine trip Scene be it is next, can show the next scene corresponding trip period be evening peak, can using the used time of evening peak period as One used time period of display.Again for example, the corresponding attribute of destination information be tourist attractions, can determine it is corresponding go out Row scene is tourism, and the corresponding trip period is to go on a journey the period holiday, can be at this moment to use according to festivals or holidays road conditions historical data The distance used time of family displaying festivals or holidays.Further, the determining traffic path of display and with the traffic path pair The distance used time for the multiple and different periods answered includes: to highlight corresponding with trip scene trip period corresponding use When.For example, corresponding with trip scene trip period corresponding used time can preferentially or significantly be shown.For example, Corresponding working scene, can preferentially show used time morning peak period, show flat used time peak period behind.
In some embodiments, the departure place information for including according to route inquiry request, destination information Determine the traffic path departure place information that include: according to route inquiry request include, destination information and two or more Trip mode determine the first traffic path;Wherein, first traffic path is divided at least two trip sections, different Trip section correspond to different trip modes.For example, can only often provide going out for single trip mode in the prior art Walking along the street line can provide the traffic path for stepping out line mode when the embodiment of the present invention implements.For example, the prior art, is only capable of The traffic path of the single trip mode of " arriving the station A, 1.5 kilometers of walking by the subway " or " calling a taxi 32 kilometers " is provided.And in this hair In bright, the data of each trip mode can be integrated, the route recommendation for stepping out line mode is provided.It specifically, can be by traffic path It is divided into two or more trip section, each section corresponds to different trip modes.For example, the present invention can With the trip mode of offer " first arrive the station A by the subway, then call a taxi 1.5 kilometers, network minimal N member of calling a taxi ".It further, can be with The traffic path data that single trip mode is determined and the traffic path data progress determined by least two trip modes Comparison is shown, is selected for user.Specifically, the departure place information for including according to route inquiry request, destination are believed It ceases and determines traffic path further include: the departure place information that includes according to route inquiry request, destination information and single Trip mode determines the second traffic path;The determining traffic path of the display and corresponding with the traffic path more The distance used time of a different periods includes: by the route of the route data of first traffic path and second traffic path Data comparison shows, the route data include route details, the distance used time of different periods, saving time cost data with And one of economic costs data saved or a variety of.For example, the traffic path data may include the distance used time, Data such as the time cost data of saving, whole economic costs, increased economic costs or the economic costs of saving etc..
In some embodiments, if the trip mode according to two or more determines traffic path, when described First traffic path is divided into the first trip section and the second trip section, the corresponding first trip side in first trip section When formula, the second trip section correspond to the second trip mode, the method also includes: the second trip mode is triggered in response to user Operation is that user plans corresponding with the second trip section according to the starting position in second trip section and end position Navigation routine.For example, the first traffic path is divided into A sections and B sections, the trip mode of A sections of corresponding subways, B sections right The trip mode answered is to call a taxi or ride.When user, which takes subway, completes A sections of distances, user can click directly on " second Trip mode is for example called a taxi ", it at this moment automatically can be that user plans call a taxi route and/or unlatching according to the initial position in the section B Taxi-hailing software starts to navigate, and user no longer needs to re-enter starting position and end position, user-friendly.
S103 shows the determining traffic path and the distance of multiple and different periods corresponding with the traffic path Used time.
When specific implementation, used in display traffic path and the distance of multiple and different periods corresponding with the traffic path When, it can show the distance used time of different periods simultaneously in the page, user is facilitated to compare.Certainly, in order to save screen space, The distance used time that one of them period can also be highlighted, by the distance used time Folding display of other periods, in response to clicking Display is unfolded in the distance used time of other periods of Folding display by operation.
It in some embodiments, can be according to the update information tune of user in order to provide more accurate and effective information Whole distance used time data.Specifically, can be with display reminding information, the traffic path for prompting user to correct user's selection is corresponding The distance used time;The amendment used time data for receiving and saving user's input, according to the amendment used time data, traffic path, use The distance used time of family trip period adjustment trip period corresponding with the traffic path.For example, user can be prompted to select Distance used time estimated data is accurate, partially long, partially short etc., to correct the distance used time of trip period corresponding with the traffic path, To provide more accurate used time calculating for subsequent user.
In some embodiments, the method also includes: judge whether the determining traffic path is associated with and miss end Regular bus event;If last bus event is missed in the traffic path association, the cost of the trip mode of substitution last bus is calculated;Display Substitute the cost of the trip mode of last bus.For example, if route occur is to be associated with the route for missing last bus event, If the cost for changing into and calling a taxi can be calculated, and it is prompted to user.126 tunnels are changed to for ground Figure 13 line for example, there is route, currently When travel time is, then the last bus on 126 tunnels may be missed at 10, at this moment user is prompted " may to miss 126 tunnel of last bus, beat The expense that vehicle substitutes 126 tunnels is 23 yuan ".In this way, can allow user judge whether to undertake miss last bus and caused by call a taxi Cost, and then can choose a better scheme.Further, when cost is called a taxi in calculating, can transfer difference call a taxi it is soft The charging result of part is the preferably generally the least expensive charging platform of user.Such as can pull in real time the current preferential activity of each platform, Double multiple converts expense of calling a taxi.Further, it is also possible to be provided for user without downloading application by interface conjunctionn other application The service of calling a taxi.Further, user account and other social platform accounts can also be associated, to obtain other societies The favor information under platform account is handed over, spends result to provide and more accurately call a taxi.
Referring to fig. 2, the route inquiry schematic device provided for one embodiment of the invention.
A kind of route inquiry device 200, comprising:
Receiving unit 201, is used for receipt routing inquiry request, and the route inquiry request packet includes departure place information and purpose Ground information.Wherein, the specific implementation of the receiving unit 201 is referred to the step 101 of embodiment illustrated in fig. 1 and realizes.
Determination unit 202, departure place information, destination information for including according to route inquiry request are determined The distance used time of walking along the street line and multiple and different periods corresponding with the traffic path.Wherein, the multiple different periods The distance used time include the current departure time corresponding used time, the peak period corresponding used time, the flat peak period corresponding used time or Two or more combination in the period holiday corresponding used time.Wherein, the specific implementation of the determination unit 202 can It is realized with the step 102 of illustrated embodiment referring to Fig.1.
Display unit 203, for show the determining traffic path and it is corresponding with the traffic path it is multiple not With the distance used time of period.Wherein, the specific implementation of the display unit 203 is referred to the step 103 of embodiment illustrated in fig. 1 And it realizes.
In some embodiments, the determination unit 202 is specifically used for when route inquiry request further including trip Temporal information, when the travel time information included at least two different travel times, according to the route inquiry request packet The departure place information that contains, destination information, described at least two different travel times determine traffic path and with it is described extremely Few two different travel times corresponding each distance used time.
In some embodiments, the determination unit 202 is specifically used for when route inquiry request further including trip Temporal information, when the travel time information corresponds to a travel time, when obtaining the corresponding trip of route inquiry request Between period attribute, determine that one or more requests the period attribute of corresponding travel time different from the route inquiry It goes on a journey the period;Request the period attribute determination of corresponding travel time corresponding with the traffic path according to the route inquiry The distance used time, and, request the period of corresponding travel time to belong to the route inquiry according to determining one or more Property different trip period determine distance used times of one or more different periods corresponding with the traffic path.
In some embodiments, the determination unit 202 is specifically used for being gone out according to what route inquiry request included Hair ground information, destination information and two or more trip modes determine traffic path.
In some embodiments, the determination unit 202 is specifically used for obtaining the departure place information and/or destination The corresponding attribute information of information determines trip scene according to the attribute information;According to trip scene and the corresponding of period of going on a journey Relationship determination trip period corresponding with the trip scene corresponding used time.
In some embodiments, the display unit 203 is specifically used for highlighting corresponding with the trip scene It goes on a journey the period corresponding used time.
In some embodiments, described device further include: prompt unit is used for display reminding information, uses for prompting Correct the traffic path corresponding distance used time of user's selection in family;Adjustment unit, for receiving and saving the amendment of user's input Used time data, being gone on a journey according to the amendment used time data, traffic path, user, period adjustment is corresponding with the traffic path to go on a journey The distance used time of period.
In some embodiments, described device further include: judging unit, for judging that the determining traffic path is Last bus event is missed in no association;Computing unit calculates substitution end if missing last bus event for traffic path association The cost of the trip mode of regular bus;The display unit is also used to show the cost of the trip mode of substitution last bus.
In some embodiments, the determination unit 202 is specifically used for: being gone out according to what route inquiry request included Hair ground information, destination information and two or more trip modes determine the first traffic path;Wherein, described first goes out walking along the street Line is divided at least two trip sections, and different trip sections corresponds to different trip modes.
In some embodiments, the determination unit 202 is specifically also used to: including according to route inquiry request Departure place information, destination information and single trip mode determine the second traffic path;
The display unit is specifically used for: by the route data of first traffic path and second traffic path Route data comparison display, the route data include route details, the distance used time of different periods, saving time spend number Accordingly and one of the economic costs data or a variety of saved.
In some embodiments, described device further include:
Planning unit, for being divided into the first trip section and the second trip section, institute when first traffic path When stating the first trip section the first trip mode of correspondence, second trip section the second trip mode of correspondence, triggered in response to user The operation of second trip mode is user's planning and described the according to the starting position in second trip section and end position The corresponding navigation routine in two trip sections.
Wherein, the setting of apparatus of the present invention each unit or module is referred to method shown in FIG. 1 and realizes, does not go to live in the household of one's in-laws on getting married herein It states.
It is a kind of block diagram of device for route inquiry shown according to an exemplary embodiment referring to Fig. 3.For example, dress Setting 300 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical treatment Equipment, body-building equipment, personal digital assistant etc..
Referring to Fig. 3, device 300 may include following one or more components: processing component 302, memory 304, power supply Component 306, multimedia component 308, audio component 310, the interface 312 of input/output (I/O), sensor module 314, and Communication component 316.
The integrated operation of the usual control device 300 of processing component 302, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 302 may include that one or more processors 320 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 302 may include one or more modules, just Interaction between processing component 302 and other assemblies.For example, processing component 302 may include multi-media module, it is more to facilitate Interaction between media component 308 and processing component 302.
Memory 304 is configured as storing various types of data to support the operation in equipment 300.These data are shown Example includes the instruction of any application or method for operating on the device 300, contact data, and telephone book data disappears Breath, picture, video etc..Memory 304 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 306 provides electric power for the various assemblies of device 300.Power supply module 306 may include power management system System, one or more power supplys and other with for device 300 generate, manage, and distribute the associated component of electric power.
Multimedia component 308 includes the screen of one output interface of offer between described device 300 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 308 includes a front camera and/or rear camera.When equipment 300 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 310 is configured as output and/or input audio signal.For example, audio component 310 includes a Mike Wind (MIC), when device 300 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 304 or via communication set Part 316 is sent.In some embodiments, audio component 310 further includes a loudspeaker, is used for output audio signal.
I/O interface 312 provides interface between processing component 302 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 314 includes one or more sensors, and the state for providing various aspects for device 300 is commented Estimate.For example, sensor module 314 can detecte the state that opens/closes of equipment 300, and the relative positioning of component, for example, it is described Component is the display and keypad of device 300, and sensor module 314 can be with 300 1 components of detection device 300 or device Position change, the existence or non-existence that user contacts with device 300,300 orientation of device or acceleration/deceleration and device 300 Temperature change.Sensor module 314 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 314 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 316 is configured to facilitate the communication of wired or wireless way between device 300 and other equipment.Device 300 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 316 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 316 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 300 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
Specifically, the embodiment of the invention provides a kind of route inquiry devices 300, include memory 304 and one Perhaps more than one program one of them or more than one program is stored in memory 304, and is configured to by one Or it includes the instruction for performing the following operation that more than one processor 320, which executes the one or more programs: Receipt routing inquiry request, the route inquiry request packet include departure place information and destination information;According to the route inquiry Departure place information that request includes, destination information determine traffic path and it is corresponding with the traffic path multiple and different when The distance used time of section;Show the determining traffic path and the distance of multiple and different periods corresponding with the traffic path Used time.
Further, it includes to be used for that the processor 320, which specifically is also used to execute the one or more programs, The instruction performed the following operation: when route inquiry request further includes travel time information, the travel time information includes It is the departure place information that includes according to route inquiry request, destination information, described when at least two different travel times At least two different travel times determined traffic path and the travel time different from described at least two corresponding each road The journey used time.
Further, it includes to be used for that the processor 320, which specifically is also used to execute the one or more programs, The instruction performed the following operation: when route inquiry request further includes travel time information, the travel time information is corresponding When one travel time, the period attribute that the route inquiry requests the corresponding travel time is obtained, determines one or more From the route inquiry trip period that request the period attribute of corresponding travel time different;It is requested according to the route inquiry The period attribute of corresponding travel time determines the distance used time corresponding with the traffic path, and, according to determining one Or multiple trip periods for requesting from the route inquiry period attribute of corresponding travel time different it is determining with it is described go out The distance used time of one or more corresponding different periods of walking along the street line.
Further, it includes to be used for that the processor 320, which specifically is also used to execute the one or more programs, The instruction performed the following operation: the departure place information and/or the corresponding attribute information of destination information are obtained, according to the category Property information determine trip scene;Corresponding relationship determination according to trip scene and period of going on a journey is corresponding with the trip scene out The row period corresponding used time.
Further, it includes to be used for that the processor 320, which specifically is also used to execute the one or more programs, The instruction performed the following operation: corresponding with trip scene trip period corresponding used time is highlighted.
Further, it includes to be used for that the processor 320, which specifically is also used to execute the one or more programs, The instruction performed the following operation: display reminding information, for prompting user to correct the corresponding distance of traffic path of user's selection Used time;The amendment used time data for receiving and saving user's input are gone on a journey according to the amendment used time data, traffic path, user The distance used time of period adjustment trip period corresponding with the traffic path.
Further, it includes to be used for that the processor 320, which specifically is also used to execute the one or more programs, The instruction performed the following operation: judge whether the determining traffic path is associated with and miss last bus event;If the walking along the street out Last bus event is missed in line association, calculates the cost of the trip mode of substitution last bus;The trip mode of display substitution last bus Cost.
Further, it includes to be used for that the processor 320, which specifically is also used to execute the one or more programs, The instruction performed the following operation:
The departure place information, destination information and the two or more trip modes that include are requested according to the route inquiry Determine the first traffic path;Wherein, first traffic path is divided at least two trip sections, different trip sections Corresponding different trip mode.
Further, it includes to be used for that the processor 320, which specifically is also used to execute the one or more programs, The instruction performed the following operation: according to the route inquiry request include departure place information, destination information and it is single go out Line mode determines the second traffic path;By the route number of the route data of first traffic path and second traffic path According to comparison show, the route data include route details, the distance used time of different periods, saving time cost data and One of economic costs data of saving are a variety of.
Further, it includes to be used for that the processor 320, which specifically is also used to execute the one or more programs, The instruction performed the following operation: when first traffic path be divided into the first trip section and second trip section, it is described When corresponding second trip mode in corresponding first trip mode in the first trip section, the second trip section, in response to user's triggering the The operation of two trip modes is user's planning and described second according to the starting position in second trip section and end position The corresponding navigation routine in trip section.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 304 of instruction, above-metioned instruction can be executed by the processor 320 of device 300 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of machine readable media, such as the machine readable media can be non-transitorycomputer readable storage medium, When the instruction in the medium is executed by the processor of device (terminal or server), enable a device to execute a kind of road Line querying method, which comprises receipt routing inquiry request, the route inquiry request packet include departure place information and purpose Ground information;According to the route inquiry request departure place information that includes, destination information determine traffic path and with it is described The distance used time of traffic path corresponding multiple and different periods;Show the determining traffic path and with the traffic path The distance used time of corresponding multiple and different periods.
Optionally, the distance used time of the multiple different periods includes current departure time corresponding used time, peak period Two or more group in corresponding used time, flat peak period corresponding used time or period holiday corresponding used time It closes.
Optionally, the route inquiry request further includes travel time information, and the travel time information includes at least two A different travel time, the departure place information for including according to route inquiry request, destination information determine trip The distance used time of route and multiple and different periods corresponding with the traffic path include: according to the route inquiry request packet The departure place information that contains, destination information, described at least two different travel times determine traffic path and with it is described extremely Few two different travel times corresponding each distance used time.
Optionally, the route inquiry request further includes travel time information, and the travel time information corresponding one goes out The row time, it is described according to the route inquiry request departure place information that includes, destination information determine traffic path and with The distance used time of the traffic path corresponding multiple and different periods includes: when obtaining the route inquiry to request corresponding trip Between period attribute, determine that one or more requests the period attribute of corresponding travel time different from the route inquiry It goes on a journey the period;Request the period attribute determination of corresponding travel time corresponding with the traffic path according to the route inquiry The distance used time, and, request the period of corresponding travel time to belong to the route inquiry according to determining one or more Property different trip period determine distance used times of one or more different periods corresponding with the traffic path.
Optionally, the departure place information for including according to route inquiry request, destination information determine walking along the street The distance used time of line and multiple and different periods corresponding with the traffic path include: obtain the departure place information and/or The corresponding attribute information of destination information determines trip scene according to the attribute information;According to trip scene and trip period Corresponding relationship determine corresponding with trip scene trip period corresponding used time.
Optionally, the determining traffic path of display and multiple and different periods corresponding with the traffic path The distance used time include: to highlight corresponding with trip scene trip period corresponding used time.
Optionally, the method also includes display reminding information, for prompting user to correct the traffic path of user's selection The corresponding distance used time;The amendment used time data for receiving and saving user's input according to the amendment used time data, go out walking along the street Line, the distance used time of user's trip period adjustment trip period corresponding with the traffic path.
Optionally, the method also includes: judge whether the determining traffic path is associated with and miss last bus event;If Last bus event is missed in the traffic path association, calculates the cost of the trip mode of substitution last bus;Display substitution last bus Trip mode cost.
Optionally, the departure place information for including according to route inquiry request, destination information determine walking along the street Line includes: to request the departure place information, destination information and the two or more trip modes that include according to the route inquiry Determine the first traffic path;Wherein, first traffic path is divided at least two trip sections, different trip sections Corresponding different trip mode.
Optionally, the departure place information for including according to route inquiry request, destination information determine walking along the street Line further include: determined according to departure place information, destination information and the single trip mode that route inquiry request includes Second traffic path;
The display determining traffic path and the distance of multiple and different periods corresponding with the traffic path Used time includes: to show the route data of first traffic path and the comparison of the route data of second traffic path, institute State the economy flower that route data includes route details, the distance used time of different periods, the time cost data of saving and saving Take one of data or a variety of.
Optionally, first traffic path is divided into the first trip section and the second trip section, and described first goes out When walking along the street section corresponds to corresponding second trip mode in the first trip mode, the second trip section, the method also includes: in response to Family trigger the second trip mode operation, according to it is described second trip section starting position and end position be user planning with The corresponding navigation routine in second trip section.
Fig. 4 is the structural schematic diagram of server in the embodiment of the present invention.The server 400 can be due to configuration or performance be different Generate bigger difference, may include one or more central processing units (central processing units, CPU) 422 (for example, one or more processors) and memory 432, one or more storage application programs 442 or The storage medium 430 (such as one or more mass memory units) of data 444.Wherein, memory 432 and storage medium 430 can be of short duration storage or persistent storage.The program for being stored in storage medium 430 may include one or more modules (diagram does not mark), each module may include to the series of instructions operation in server.Further, central processing unit 422 can be set to communicate with storage medium 430, and the series of instructions behaviour in storage medium 430 is executed on server 400 Make.
Server 400 can also include one or more power supplys 426, one or more wired or wireless networks Interface 450, one or more input/output interfaces 458, one or more keyboards 456, and/or, one or one The above operating system 441, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.The present invention is directed to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.The present invention can be by calculating The general described in the text, such as program module up and down for the computer executable instructions that machine executes.Generally, program module includes holding The routine of row particular task or realization particular abstract data type, programs, objects, component, data structure etc..It can also divide Cloth, which calculates, practices the present invention in environment, in these distributed computing environments, by connected long-range by communication network Processing equipment executes task.In a distributed computing environment, program module can be located at the local including storage equipment In remote computer storage medium.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method Part explanation.The apparatus embodiments described above are merely exemplary, wherein described be used as separate part description Unit may or may not be physically separated, component shown as a unit may or may not be Physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to the actual needs Some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying In the case where creative work, it can understand and implement.The above is only a specific embodiment of the invention, should be referred to Out, for those skilled in the art, without departing from the principle of the present invention, can also make several Improvements and modifications, these modifications and embellishments should also be considered as the scope of protection of the present invention.

Claims (13)

1. a kind of route inquiry method characterized by comprising
Receipt routing inquiry request, the route inquiry request packet include departure place information and destination information;
According to the route inquiry request departure place information that includes, destination information determine traffic path and with the trip The distance used time of route corresponding multiple and different periods;
Show the determining traffic path and the distance used time of multiple and different periods corresponding with the traffic path.
2. the method according to claim 1, wherein the distance used time of the multiple different periods includes currently going out Send out time corresponding used time, peak period corresponding used time, flat peak period corresponding used time or period holiday corresponding used time In two or more combination.
3. the method according to claim 1, wherein the route inquiry request further include travel time information, The travel time information included at least two different travel times, described to be set out according to what route inquiry request included Ground information, destination information determine traffic path and the distance used time of multiple and different periods corresponding with traffic path packet It includes:
When requesting the departure place information for including, destination information, described at least two different trips according to the route inquiry Between determine traffic path and the travel time corresponding each distance used time different from described at least two.
4. the method according to claim 1, wherein the route inquiry request further include travel time information, A travel time information corresponding travel time, the departure place information for including according to route inquiry request, mesh Ground information determine traffic path and the distance used time of multiple and different periods corresponding with the traffic path includes:
The period attribute that the route inquiry requests the corresponding travel time is obtained, determines that one or more is looked into the route Ask the trip period for requesting the period attribute of corresponding travel time different;
The period attribute of corresponding travel time is requested to determine distance corresponding with the traffic path according to the route inquiry Used time, and, the period attribute of corresponding travel time is requested not with the route inquiry according to determining one or more The same trip period determines the distance used time of one or more different periods corresponding with the traffic path.
5. the method according to claim 1, wherein the departure place for being requested to include according to the route inquiry Information, destination information determine traffic path and the distance used time of multiple and different periods corresponding with traffic path packet It includes:
The departure place information and/or the corresponding attribute information of destination information are obtained, is determined and is gone on a journey according to the attribute information Scene;
According to the corresponding relationship determination of trip scene and period of going on a journey trip period corresponding with the trip scene corresponding use When.
6. the method according to claim 1, wherein the method also includes:
Display reminding information, for prompting user to correct the traffic path corresponding distance used time of user's selection;
The amendment used time data for receiving and saving user's input, when being gone on a journey according to the amendment used time data, traffic path, user The distance used time of section adjustment trip period corresponding with the traffic path.
7. the method according to claim 1, wherein the method also includes:
Judge whether the determining traffic path is associated with and misses last bus event;
If last bus event is missed in the traffic path association, the cost of the trip mode of substitution last bus is calculated;
The cost of the trip mode of display substitution last bus.
8. the method according to claim 1, wherein the departure place for being requested to include according to the route inquiry Information, destination information determine that traffic path includes:
Departure place information, destination information and the two or more trip modes for including according to route inquiry request determine First traffic path;Wherein, first traffic path is divided at least two trip sections, and different trip sections is corresponding Different trip modes.
9. according to the method described in claim 8, it is characterized in that, the departure place for being requested to include according to the route inquiry Information, destination information determine traffic path further include:
Determine that second goes out according to departure place information, destination information and the single trip mode that route inquiry request includes Walking along the street line;
The display determining traffic path and the distance used time of multiple and different periods corresponding with the traffic path Include:
The route data of first traffic path and the route data of second traffic path are compared and shown, the route Data include route details, the distance used time of different periods, the time cost data of saving and the economic costs data of saving One of or it is a variety of.
10. the method according to claim 8 or 10, which is characterized in that when first traffic path is divided into first Trip section and the second trip section, corresponding first trip mode in first trip section, the second trip section correspond to second When trip mode, the method also includes:
The operation that the second trip mode is triggered in response to user, according to the starting position in second trip section and end position For user's planning navigation routine corresponding with the second trip section.
11. a kind of route inquiry device characterized by comprising
Receiving unit, is used for receipt routing inquiry request, and the route inquiry request packet includes departure place information and destination information;
Determination unit, departure place information, destination information for including according to route inquiry request determine traffic path And the distance used time of multiple and different periods corresponding with the traffic path;
Display unit, for showing the determining traffic path and multiple and different periods corresponding with the traffic path The distance used time.
12. a kind of device for route inquiry, which is characterized in that include memory and one or more than one Program, perhaps more than one program is stored in memory and is configured to by one or more than one processing for one of them It includes the instruction for performing the following operation that device, which executes the one or more programs:
Receipt routing inquiry request, the route inquiry request packet include departure place information and destination information;
According to the route inquiry request departure place information that includes, destination information determine traffic path and with the trip The distance used time of route corresponding multiple and different periods;
Show the determining traffic path and the distance used time of multiple and different periods corresponding with the traffic path.
13. a kind of machine readable media is stored thereon with instruction, when executed by one or more processors, so that device is held Route inquiry method of the row as described in one or more in claims 1 to 10.
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 true CN109241206A (en) 2019-01-18
CN109241206B 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)

Cited By (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
CN113537535A (en) * 2021-08-02 2021-10-22 深圳市新天能科技开发有限公司 Car booking method, route planning management method and device
CN113553517A (en) * 2021-07-23 2021-10-26 上海蒜芽信息科技有限公司 Ticket information display method, processing method, device, electronic equipment and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103337167A (en) * 2013-04-11 2013-10-02 沈怀信 Method for preventing traffic jams through determining final driving route by urban road scheduled allocation
CN103364002A (en) * 2012-03-30 2013-10-23 北京掌城科技有限公司 Route planning system and method combining real-time road conditions and public transport operation information
KR20150043188A (en) * 2013-10-11 2015-04-22 주식회사 크루메이트 Method and system for heuristic airline searching
CN104882020A (en) * 2015-06-05 2015-09-02 刘光明 Method for predicting traffic conditions and driving time
CN105608508A (en) * 2015-12-25 2016-05-25 上海电机学院 Vehicle optimum route query method and system
CN106210094A (en) * 2016-07-19 2016-12-07 腾讯科技(深圳)有限公司 Periphery focus road conditions methods of exhibiting, the first client, service end and system
CN106225793A (en) * 2016-06-30 2016-12-14 佛山市天地行科技有限公司 navigation algorithm based on experience
CN106248093A (en) * 2016-08-30 2016-12-21 深圳市金立通信设备有限公司 A kind of stroke reminding method and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103364002A (en) * 2012-03-30 2013-10-23 北京掌城科技有限公司 Route planning system and method combining real-time road conditions and public transport operation information
CN103337167A (en) * 2013-04-11 2013-10-02 沈怀信 Method for preventing traffic jams through determining final driving route by urban road scheduled allocation
KR20150043188A (en) * 2013-10-11 2015-04-22 주식회사 크루메이트 Method and system for heuristic airline searching
CN104882020A (en) * 2015-06-05 2015-09-02 刘光明 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
CN106210094A (en) * 2016-07-19 2016-12-07 腾讯科技(深圳)有限公司 Periphery focus road conditions methods of exhibiting, the first client, service end and system
CN106248093A (en) * 2016-08-30 2016-12-21 深圳市金立通信设备有限公司 A kind of stroke reminding method and terminal

Cited By (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

Also Published As

Publication number Publication date
CN109241206B (en) 2022-01-14

Similar Documents

Publication Publication Date Title
CN107315511B (en) Service display method, device, equipment and system
WO2017186012A1 (en) Electronic map layer display method and device, terminal device and user interface system
KR101753031B1 (en) Mobile terminal and Method for setting metadata thereof
WO2017071075A1 (en) Smart method for directing user to take elevator and apparatus therefor
WO2017071076A1 (en) Car-hailing method and apparatus
CN103916473B (en) Travel information processing method and relevant apparatus
CN104318803B (en) Parking information Forecasting Methodology and device
KR20110084498A (en) Data acquisition apparatus, data acquisition system and method of acquiring data
CN106488037A (en) Calendar prompting method and device
CN104994125B (en) Method for sending information, information display method and device
CN104977010A (en) Navigation prompting method and apparatus
CN105261227A (en) Arrival prompting method and device
CN106157602A (en) The method and apparatus of calling vehicle
US10846804B2 (en) Electronic business card exchange system and method using mobile terminal
WO2017186007A1 (en) Media processing method, device, apparatus and system
KR20140119611A (en) Method and device for executing application
CN105430077A (en) Service pushing method, service pushing device and terminal
CN109241206A (en) A kind of route inquiry method and device
CN106897897A (en) Content item method for pushing and device
CN106779174A (en) Route planning method, apparatus and system
CN110887498A (en) Navigation route recommendation method and device, electronic equipment and readable storage medium
CN106484822B (en) Map amending method and terminal
CN108572979A (en) A kind of position service method and device, a kind of device for location-based service
CN110715672A (en) Navigation path planning method and device
CN108694638A (en) A kind of order, which moves back, changes 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