Traffic resource-based route planning method, apparatus and device, and storage medium

By using time-lag traffic trend charts and road section division technology, we can dynamically adjust transportation means and optimize public transportation route planning, which solves the problem of failure to consider traffic changes in traditional solutions and improves travel efficiency and the rationality of planning.

CN118798453APending Publication Date: 2024-10-18CHINA MOBILE M2M +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311570740.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-22
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Traditional public transportation route planning solutions fail to effectively consider the dynamic changes in road traffic conditions, resulting in unreasonable planning and reduced user travel efficiency.

Method used

The method based on the time difference traffic trend chart is used to divide the initial trip into multiple road sections, and predict the driving speed of the next section based on the changes in the driving speed of transportation vehicles in different time periods, dynamically adjust the transportation means, and optimize the trip planning.

Benefits of technology

It improves the rationality of itinerary planning and user travel efficiency, shortens driving time, meets users' needs for travel time and economy, and alleviates traffic congestion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118798453A_ABST
    Figure CN118798453A_ABST
Patent Text Reader

Abstract

The invention discloses a travel route planning method and device based on traffic resources, equipment and a storage medium. The method comprises the following steps: determining an initial vehicle according to the duration consumed by a plurality of types of vehicles from an initial position to a target position; the initial driving route is divided into a plurality of road sections according to a time difference traffic trend chart corresponding to the initial vehicle, and the time difference traffic trend chart is used for representing the change trend of the driving speed of the initial vehicle in different time periods and different roads; according to the time difference traffic trend charts corresponding to the plurality of types of vehicles, predicting the driving speeds of the plurality of types of vehicles in the next road section; comparing the driving speeds of the plurality of types of vehicles in the next road section, and determining a target vehicle corresponding to the next road section; and switching the initial vehicle corresponding to the next road section to the target vehicle to obtain a target travel. According to the scheme provided by the invention, the rationality of route planning can be ensured, and the travel efficiency of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of intelligent transportation technology, and in particular, relates to a method, device, equipment and storage medium for itinerary planning based on transportation resources. Background Art

[0002] As cities grow in size, urban commuting issues have become one of many livelihood issues, and the development of public transportation has brought people different options in solving commuting needs.

[0003] Traditional solutions for route planning using public transportation resources mainly include two aspects, namely, route planning solutions based on taxis and route planning solutions that combine public transportation such as buses and subways with walking.

[0004] However, traditional route planning solutions only plan routes based on economy and traffic efficiency, without considering the impact of dynamic changes in road traffic conditions on users' travel itineraries. The planned routes are unreasonable, resulting in users being unable to reach their destinations at the expected time, reducing their travel efficiency. Summary of the invention

[0005] The embodiments of the present application provide a method, device, equipment and storage medium for itinerary planning based on traffic resources, which can ensure the rationality of itinerary planning and improve the travel efficiency of users.

[0006] In a first aspect, an embodiment of the present application provides a method for itinerary planning based on traffic resources, the method comprising: determining an initial vehicle from multiple types of vehicles according to the time consumed by multiple types of vehicles to travel from a starting position to a target position; dividing an initial driving route included in the initial itinerary into multiple sections according to a time difference traffic trend graph corresponding to the initial vehicle, wherein the initial itinerary is the itinerary of the initial vehicle from the starting position to the target position, and the time difference traffic trend graph is used to characterize the changing trend of the driving speed of the initial vehicle in different time periods and on different roads; predicting the driving speed of multiple types of vehicles in a next section corresponding to a current section according to the time difference traffic trend graph corresponding to multiple types of vehicles, wherein the current section is any section of the multiple sections except the last section; comparing the driving speeds of multiple types of vehicles in the next section, determining a target vehicle corresponding to the next section from multiple types of vehicles; switching the initial vehicle corresponding to the next section to the target vehicle to obtain a target itinerary.

[0007] In a second aspect, an embodiment of the present application provides a trip planning device based on traffic resources, the device comprising: a vehicle determination module, used to determine an initial vehicle from multiple types of vehicles according to the time consumed by multiple types of vehicles to travel from a starting position to a target position; a segment division module, used to divide an initial driving route included in an initial trip into multiple segments according to a time difference traffic trend map corresponding to the initial vehicle, wherein the initial trip is a trip of the initial vehicle from the starting position to the target position, and the time difference traffic trend map is used to characterize the changing trend of the driving speed of the initial vehicle in different time periods and on different roads; a speed prediction module, used to predict the driving speed of multiple types of vehicles in a next segment corresponding to a current segment according to the time difference traffic trend map corresponding to multiple types of vehicles, wherein the current segment is any one of the multiple segments except the last segment; a comparison module, used to compare the driving speeds of multiple types of vehicles in the next segment, and determine the target vehicle corresponding to the next segment from multiple types of vehicles; a trip switching module, used to switch the initial vehicle corresponding to the next segment to the target vehicle, and obtain a target trip.

[0008] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the itinerary planning method based on transportation resources as described in the first aspect is implemented.

[0009] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the method for itinerary planning based on transportation resources as described in the first aspect is implemented.

[0010] In a fifth aspect, an embodiment of the present application provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the itinerary planning method based on transportation resources as described in the first aspect.

[0011] In the present application, the time difference traffic trend chart can reflect the changing trend of the driving speed of the vehicle, and the change of the driving speed of the vehicle can reflect the change of the traffic conditions. That is, when optimizing the itinerary, the impact of the dynamic changes in traffic conditions on the itinerary planning is taken into account, so that the planned itinerary is more reasonable and the user's travel efficiency is improved.

[0012] In addition, in the present application, the travel mode that consumes the least time is used as the initial itinerary. On this basis, the travel speeds of different means of transportation through each section in the initial itinerary are analyzed to determine the optimal means of transportation for traveling in each section, so as to minimize the travel time of each section, thereby achieving the purpose of shortening the travel time of each section and improving the user's travel efficiency.

[0013] It can be seen that the present application optimizes the initial itinerary by using the time difference traffic trend chart and dividing the initial itinerary into sections, so that the optimized itinerary is more in line with the changes in traffic conditions and meets the user's travel needs to the greatest extent. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0015] Figure 1 It is a flowchart of a method for itinerary planning based on traffic resources provided by an embodiment of the present application;

[0016] Figure 2 It is a schematic diagram of itinerary planning provided by an embodiment of the present application;

[0017] Figure 3 is a structural schematic diagram of a traffic resource-based itinerary planning device provided by another embodiment of the present application;

[0018] Figure 4 It is a structural diagram of an electronic device provided by yet another embodiment of the present application. DETAILED DESCRIPTION

[0019] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0020] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0021] For ease of understanding, before explaining the solution provided in the present application, the background of the solution provided in the present application is first explained.

[0022] As cities expand, the economy of travel is usually given priority when planning user itineraries, with public transportation as the main method. Traditional itinerary planning solutions cannot perfectly meet the following travel needs:

[0023] (1) The destination is far from the public transportation station and the walking distance is too long;

[0024] (2) In scenarios where traffic efficiency is prioritized, public transportation is only advantageous in more congested areas, and it is not possible to flexibly plan travel plans based on traffic information along the way;

[0025] (3) In scenarios where both economy and traffic efficiency are taken into consideration, there are no flexible and alternative travel options on certain road sections.

[0026] In addition, in the related art, in order to improve travel efficiency, non-public transportation travel methods are usually recommended to users, for example, ride-sharing is recommended to users. However, in the related art, in the process of planning the ride-sharing route, the dynamic changes in road traffic conditions are not taken into account, and only transfer options are provided. When users need to carpool or transfer, it is usually during peak hours, and road traffic conditions will change dramatically within a short window period, resulting in unreasonable initial planning routes, and even unnecessary traffic congestion caused for transfers. In addition, in the related art, only the efficiency of ride-sharing is optimized, which has a very limited effect on alleviating the traffic burden of the entire city, and is still far from enough to meet passengers' travel needs for speed and economy.

[0027] In this regard, in order to solve the above problems, in an embodiment of the present application, public transportation and non-public transportation are combined to realize user itinerary planning, so that itinerary planning is more reasonable to improve the user's travel efficiency.

[0028] The embodiment of the present application provides a method, device, equipment and storage medium for itinerary planning based on traffic resources. The following first introduces the itinerary planning method based on traffic resources provided by the embodiment of the present application. The method provided by the embodiment of the present application can be executed in a server, and the server can obtain the user's starting position and target position sent by the client, and then plan the user's itinerary. Among them, the above-mentioned client can be an application that can implement navigation.

[0029] Figure 1 FIG. 1 is a flow chart of a method for itinerary planning based on traffic resources provided by an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:

[0030] Step S101 , determining an initial means of transport from multiple types of means of transport according to the time taken for the multiple types of means of transport to travel from a starting position to a target position.

[0031] In step S101, the multiple types of transportation may include at least one of the following: a first type of transportation affected by road traffic conditions (e.g., buses), a second type of transportation not affected by road traffic conditions (e.g., subways), and non-public transportation (e.g., taxis).

[0032] In one example, when a user plans an itinerary through a client, the user inputs the starting location and the target location as well as the time of the user's travel into the client, and the client sends the starting location, the target location and the travel time to the server, so that the server plans the user's travel itinerary based on the starting location and the target location combined with the travel time. After receiving the starting location and the target location, the server can determine the time consumed by each type of transportation to travel from the starting location to the target location, and use the transportation with the shortest time as the initial transportation. In the case where there are multiple transportations with the shortest time, the server can randomly select a transportation as the initial transportation, or select the transportation with the lowest economic consumption as the initial transportation.

[0033] It should be noted that when users plan their trips on the client, they can also set the priority of their trip planning requirements, which may include but are not limited to travel efficiency requirements and economic requirements. In the scenario where the priority of travel efficiency requirements is higher than the priority of economic requirements, the server will use the transportation that takes the shortest time to travel from the starting location to the target location as the initial transportation; in the scenario where the priority of economic requirements is higher than the priority of travel efficiency requirements, the server will use the transportation that takes the least economic cost to travel from the starting location to the target location as the initial transportation.

[0034] Step S102, dividing the initial driving route included in the initial trip into a plurality of sections according to the time difference traffic trend diagram corresponding to the initial transportation tool.

[0035] In step S102, the initial trip is the trip of the initial vehicle from the starting position to the target position, and the initial trip at least includes the initial driving route corresponding to the initial vehicle.

[0036] In addition, the time difference traffic trend graph is used to characterize the changing trend of the driving speed of the initial vehicle in different time periods and on different roads. The time difference traffic trend graph is composed of historical data, which includes road sections, historical time periods, and the driving speed of the initial vehicle when traveling on the road section during the historical time period. The time difference traffic trend graphs corresponding to different types of vehicles are not the same. For example, the time difference traffic trend graph corresponding to the subway contains the driving speed of the subway in each time period, and the driving speed is the same; the time difference traffic trend graph corresponding to the bus contains the driving speed of the bus in different sections and different time periods, wherein, for the same section, the driving speed of the bus is usually different in different time periods.

[0037] In addition, the time difference traffic trend chart can be used to predict the driving speed of the initial vehicle in the same section of road and the same time period of each day. For example, for section A, the time difference traffic trend chart shows that the driving speed of the bus passing through section A from 7 am to 9 am every day is v a , it can be predicted that the corresponding speed of the bus when traveling on section A between 7 and 9 am on the current date is also v a .

[0038] In step S102, the server can determine the speed of the initial vehicle on the initial route during the time period selected by the user according to the time difference traffic trend map corresponding to the initial vehicle, and divide the initial route into multiple sections according to the change of the speed. When the initial vehicle travels in each section, the change of its corresponding speed is within a certain range, that is, each section can be regarded as a constant speed area.

[0039] Step S103, predicting the travel speeds of multiple types of transportation tools in the next road section corresponding to the current road section according to the time difference traffic trend diagrams corresponding to the multiple types of transportation tools.

[0040] In step S103, the current road section is any road section except the last road section among the multiple road sections. The time difference traffic trend graphs corresponding to different types of vehicles may be different. Since the time difference traffic trend graph contains the travel speed of the corresponding type of vehicles passing through a certain road section in the historical time period, the travel speed of the corresponding type of vehicles passing through a certain road section in the current time period can be inferred based on the time difference traffic trend graph.

[0041] Step S104 , comparing the travel speeds of multiple types of vehicles in the next road segment, and determining a target vehicle corresponding to the next road segment from the multiple types of vehicles.

[0042] In step S104, the target transportation means is the transportation means recommended for the user to use on the next road section. As an example, the transportation means with the fastest travel speed can be used as the target transportation means for the next road section. It is worth noting that through step S104, using the transportation means with the fastest travel speed on each road section can shorten the travel time corresponding to the road section, improve the travel efficiency corresponding to the road section, and thus improve the travel efficiency of the user moving from the starting position to the target position.

[0043] Step S105, switching the initial transportation tool corresponding to the next road segment to the target transportation tool to obtain the target trip.

[0044] In step S105, when the means of transportation corresponding to the current section is the same as the means of transportation corresponding to the next section, the target means of transportation is the initial means of transportation. For example, the means of transportation corresponding to the current section is a bus, and after the above steps S101 to S104, it is determined that the means of transportation corresponding to the next section is also a bus, and there is no need to switch the means of transportation. When the means of transportation corresponding to the current section is different from the means of transportation corresponding to the next section, it is necessary to switch the means of transportation. For example, the means of transportation corresponding to the current section is a bus, and after the above steps S101 to S104, it is determined that the means of transportation corresponding to the next section is a subway, then the means of transportation corresponding to the next section is switched to the subway to improve the travel efficiency of the user.

[0045] It should be noted that the switching of the above-mentioned means of transportation is actually the user's transfer. In addition, in the embodiment of the present application, the above-mentioned steps S101 to S105 can be used to determine the means of transportation corresponding to each section at one time to optimize the user's itinerary. In addition, the user can take the initial means of transportation to travel in the first section, and before completing the itinerary of the first section, the above-mentioned steps S101 to S105 are used to determine the means of transportation corresponding to the next section, that is, each time the itinerary of a section is completed, the server repeats the above steps to determine the itinerary of the next section, and dynamically adjusts the itinerary so that the planned itinerary can be more compatible with the current traffic conditions, while improving the user's travel efficiency, it can also alleviate the problem of traffic congestion.

[0046] Based on the scheme defined in the above steps S101 to S105, it can be known that in the present application, the time difference traffic trend chart can reflect the changing trend of the driving speed of the vehicle, and the change in the driving speed of the vehicle can reflect the change in traffic conditions, that is, when optimizing the itinerary, the impact of the dynamic changes in traffic conditions on itinerary planning is taken into account, thereby making the planned itinerary more reasonable and improving the user's travel efficiency.

[0047] In addition, in the present application, the travel mode that consumes the least time is used as the initial itinerary. On this basis, the travel speeds of different means of transportation through each section in the initial itinerary are analyzed to determine the optimal means of transportation for traveling in each section, so as to minimize the travel time of each section, thereby achieving the purpose of shortening the travel time of each section and improving the user's travel efficiency.

[0048] It can be seen that the present application optimizes the initial itinerary by using the time difference traffic trend chart and dividing the initial itinerary into sections, so that the optimized itinerary is more in line with the changes in traffic conditions and meets the user's travel needs to the greatest extent.

[0049] The following is a detailed explanation of each step defined in the above step S101 to step S105.

[0050] Before planning the user's itinerary, it is first necessary to determine an initial itinerary, which includes not only an initial driving route but also a vehicle traveling on the initial driving route, that is, executing step S101.

[0051] Specifically, the server obtains the time consumed by multiple types of transportation vehicles to travel from a starting position to a target position, and obtains the driving time corresponding to each type of transportation vehicle; and then determines the transportation vehicle with the shortest driving time as the initial transportation vehicle.

[0052] As an example, plan the travel plans corresponding to different types of transportation between the starting location and the target location. Take bus, subway and taxi as examples. The travel plan for bus is P bus , the driving time is T bus ; The travel plan for the subway is P subway , the driving time is T subway ; The taxi's travel plan is P texi , the driving time is T texi . Take T bus 、T subway 、T texi The travel plan P corresponding to the minimum value of the three is taken as the initial itinerary, and the means of transportation corresponding to the initial itinerary is taken as the initial means of transportation.

[0053] It should be noted that when planning the travel plan for each type of transportation from the starting location to the target location, if there are multiple travel plans for a type of transportation, the plan with the shortest travel time is selected as the travel plan corresponding to this type of transportation. For example, if there are multiple travel plans corresponding to a bus, the travel time of each travel plan is counted, and the travel plan with the shortest travel time is used as the travel plan corresponding to the bus. The shortest travel time is the travel time corresponding to the bus.

[0054] After the initial means of transportation is determined, that is, the user's initial itinerary is determined, in order to achieve reasonable planning of the user's itinerary, in an embodiment of the present application, the user's initial itinerary is divided into multiple sections, and the itinerary is planned in units of sections, that is, step S102 is executed.

[0055] Specifically, when the initial means of transportation is a non-public transportation or a first-class public transportation, the server determines the speed change range corresponding to the initial driving route within the target time period based on the time difference traffic trend chart corresponding to the initial means of transportation; then, the initial driving route is divided into multiple sections according to the speed change range, wherein, within each section, the speed change data of the initial means of transportation is within the speed change range.

[0056] As an example, the server calls the program interface of a third-party map to plan the driving routes of various types of vehicles from the starting position to the target position, and determines the multiple satellite sampling points corresponding to each driving route, wherein the satellite sampling points can be GPS (Global Positioning System) points. In the case where the initial vehicle is a non-public transportation vehicle (e.g., a taxi), the time difference traffic trend chart is analyzed at the starting point (i.e., the starting position) of the initial trip corresponding to the non-public transportation vehicle to determine the driving speed corresponding to the current time in the historical time period, for example, the driving speed of the non-public transportation vehicle passing through a certain road section from 9 to 10 a.m. every day in the time difference traffic trend chart is determined, and the driving speed is used as the driving speed corresponding to the current time period (e.g., from 9 to 10 a.m. today).

[0057] Then, the distance between the starting position and the next satellite sampling point is obtained, and the time for the non-public transportation vehicle to reach the next satellite sampling point can be determined based on the above distance and driving speed; and then the driving speed corresponding to the time when the non-public transportation vehicle reaches the next satellite sampling point is determined through the time difference traffic trend chart. The above scheme is repeated until the driving speed corresponding to each satellite sampling point on the initial driving route corresponding to the non-public transportation vehicle is determined.

[0058] Next, the server can set a speed variation range according to the driving speed corresponding to each satellite sampling point and the distance between the satellite sampling points. The speed variation range is used to characterize the speed tolerance of non-public transportation vehicles. The server divides the initial driving route into sections according to the set speed variation range, thereby obtaining multiple sections. For example, when the speed variation range is 10km / h and the driving speed corresponding to the starting position is v0, if the driving speed corresponding to the satellite sampling point 1 adjacent to the starting position is within the range of [v0-5, v0+5], the route between the starting position and the satellite sampling point 1 is considered as a section; correspondingly, if the driving speed corresponding to the satellite sampling point 2 is also within the range of [v0-5, v0+5], the route between the starting position and the satellite sampling point 2 is determined to be a section; if the driving speed corresponding to the satellite sampling point 3 is outside the range of [v0-5, v0+5], the route between the starting position and the satellite sampling point 3 is determined to be a section, and the route after the satellite sampling point 3 is another section.

[0059] It should be noted that, for different types of transportation tools, the corresponding speed change ranges may be different; for the same type of transportation tool, the corresponding speed change ranges may also be different in different time periods.

[0060] In addition, it should be noted that in the above three scenarios, the smaller the speed variation range is set, the more sensitive it is to the driving speed when dividing the initial driving route, and the more road sections are obtained. Correspondingly, the shorter the length of the road section, the shorter the time consumed to pass the road, and thus the more accurate the itinerary planning of the entire initial driving route, but the corresponding amount of calculation will also increase. Therefore, in actual applications, the speed variation range can be set and / or adjusted according to actual needs.

[0061] In another example, when the initial transportation vehicle is a first-class public transportation vehicle (e.g., a bus), the bus stops are used as sampling points of the initial driving route, and the route between two adjacent bus stops is the minimum unit for segment division. When the initial driving route is segmented, the segmented sections must include at least one section of the route determined by two adjacent bus stops. The subsequent segment division of the initial driving route is the same as the division principle in the non-public transportation vehicle scenario, which has been described in detail above and will not be repeated here.

[0062] There is also a scenario where, when the initial vehicle is a second type of public transport (e.g., a subway), the initial driving route is determined to be the road section corresponding to the initial vehicle. Since the second type of public transport is not affected by road traffic conditions, in the embodiment of the present application, for this type of transport, the entire initial driving route is considered as a road section.

[0063] Furthermore, after dividing the initial driving section into multiple sections, the server can predict the driving speeds of multiple types of vehicles in the next section corresponding to the current section according to the time difference traffic trend diagrams corresponding to the multiple types of vehicles, that is, execute step S103.

[0064] Specifically, when other means of transportation have multiple sub-segments in the next road section, the server predicts the driving speed of other means of transportation in each sub-segment through the time difference traffic area map corresponding to other means of transportation; then, the ratio of the sub-segment length corresponding to each sub-segment to the segment length of the next road section is calculated to determine the weight value corresponding to each sub-segment; finally, the weight value corresponding to each sub-segment and the weighted sum of the driving speeds of multiple sub-segments are calculated to obtain the driving speed of other means of transportation in the next road section.

[0065] It should be noted that other means of transportation are any means of transportation among multiple types of means of transportation except the initial means of transportation.

[0066] For example, a road section contains multiple stations, the total length of the road section is P, and other transportation tools have n sub-sections P in the road section. i , i∈[1,n], the driving speed corresponding to each sub-segment is vi , then the weight value corresponding to each sub-segment is Then the speed of other vehicles in the next section can be expressed by formula (1):

[0067]

[0068] In formula (1), is the speed of other vehicles in the next road section.

[0069] Furthermore, after determining the travel speeds of different types of vehicles in the next road segment, the server can compare the travel speeds of multiple types of vehicles in the next road segment, and determine the target vehicle corresponding to the next road segment from the multiple types of vehicles, that is, execute step S104.

[0070] Specifically, when the initial vehicle travels to the end of the current road segment, the server first obtains the travel speed of each type of vehicle in the next road segment; then, the server compares the travel speeds of multiple types of vehicles in the next road segment and determines the vehicle with the highest travel speed as the target vehicle corresponding to the next road segment. Each road segment includes at least a road segment start point and a road segment end point.

[0071] In one example, if the driving speed of the initial vehicle is greater than the driving speeds of other vehicles in the next road segment, the initial vehicle will still drive the next road segment; if the driving speed of the initial vehicle is less than the driving speed of the first vehicle in the next road segment, the first vehicle will drive the next road segment. Figure 2 In the schematic diagram of the itinerary planning shown, vehicle 1 is used in the first section; in the second section, since the driving speed corresponding to vehicle 1 is less than the driving speed corresponding to vehicle 2, the vehicle is switched from vehicle 1 to vehicle 2 in the second section; in the third section, since the driving speed corresponding to vehicle 1 is the largest, the vehicle is switched back to vehicle 1 in the third section; in the fourth section, since the driving speed corresponding to vehicle 1 is less than the driving speed corresponding to vehicle 3, the vehicle is switched from vehicle 1 to vehicle 3 in the fourth section.

[0072] It should be noted that, since the initial trip has been optimized, after the initial vehicle passes through the end of the current road section, the above method is repeated at the corresponding time to continue itinerary planning for the remaining route of the initial driving route until the entire initial driving route is planned.

[0073] It can be seen from the above content that in the embodiment of the present application, the division of the initial driving route and the driving speed of each type of vehicle in each road section are determined by the time difference traffic trend map. In the embodiment of the present application, by collecting the changing trend of road traffic congestion in a certain area, analyzing the changing law of road congestion with days, weeks and months as cycles, a road traffic analysis map with both spatial coordinates and time scales is established, that is, a time difference traffic trend map. After determining the specified time point of the specified vehicle in the specified time period, the time difference traffic trend map can be used to predict the driving speed of the specified vehicle at a certain specific coordinate and specified time point. Different types of vehicles correspond to different time difference traffic trend maps, and the construction method of the time difference traffic trend map corresponding to different types of vehicles is similar. The following is an example of the construction of the time difference traffic trend map corresponding to the initial vehicle.

[0074] Specifically, firstly, the driving speed of the initial vehicle when driving in different target sections in different time periods is collected; then, the changing data of the driving speed of the initial vehicle in different target sections in different time periods are counted; finally, the correlation relationship between the changing data of the driving speed corresponding to different time periods, different target sections and the initial vehicle is constructed to generate the time difference traffic trend graph corresponding to the initial vehicle.

[0075] It should be noted that the above time period may include different levels, that is, the time period includes a first time period based on a day cycle, a second time period based on a week unit, and a third time period based on a month unit.

[0076] As an example, first, the driving speed of the initial vehicle when traveling in each target road section is collected on a daily, weekly, and monthly basis, and then the data of driving speed changes over time in the same physical space road section are statistically marked.

[0077] It should be noted that accurate time difference traffic trend charts need to collect data according to different time periods. For example, collect the law of the initial vehicle speed changing over time in a certain section of road; collect the law of the initial vehicle speed changing at the same time point in a day in a certain section of road within a week; collect the law of the initial vehicle speed changing at the same time point in a day in a certain section of road within a month.

[0078] After obtaining the changing rules of the driving speed of the initial vehicle in different target sections and different time periods, a time difference traffic trend graph can be constructed.

[0079] It should be noted that in actual applications, in the process of constructing the time difference traffic trend map, the impact of other factors on the vehicle speed will also be considered. For example, through the monthly year-on-year data, find out the factors that affect traffic on a monthly scale in addition to the daily peak period and weekly changes (for example, holidays, large-scale events, traffic control, etc.). When predicting the driving speed of a vehicle based on the time difference traffic trend map, first check whether the current time period is a holiday, and / or whether there is traffic control, and / or whether there is a large-scale event; when it is determined that the above factors do not exist in the current time period, the driving speed of the vehicle is predicted according to the changes in the driving speed of the vehicle in one or more of the above-mentioned first time period, second time period, and third time period and the corresponding time of each day.

[0080] In one example, in the process of collecting the driving speed of the initial vehicle when traveling in different target sections in different time periods, the server first obtains multiple satellite sampling points corresponding to different target sections, and determines the sampling point distance between two adjacent satellite sampling points; then, the driving time consumed by the initial vehicle passing through two satellite sampling points in sequence in different time periods is collected; finally, the driving speed of the initial vehicle in different target sections in different time periods is determined based on the sampling point distance and the driving time.

[0081] As an example, the server can plan a path for traveling on the road section (i.e., the initial driving route) by calling the interface of a third-party map, and obtain the satellite sampling points of the initial driving route; traverse all satellite sampling points, combine adjacent satellite sampling points into new starting points and end points, and re-plan the path between two satellite sampling points through the third-party map; obtain the time it takes for the vehicle to pass through the path between each two satellite sampling points and the distance between the two satellite sampling points at a specified sampling time point, thereby calculating the speed of the vehicle on the road section at that time point.

[0082] It should be noted that for the same road, the driving speed of a specified vehicle in different time periods can be repeatedly collected through the above method, or it can be continuously collected through different three-party map sampling methods and corrected each other.

[0083] The above completes the introduction of the itinerary planning method based on traffic resources provided in the embodiment of the present application. The above method can be applied to the scenario of efficiency demand, which can be the scenario of rush hour commuting. At this time, the traffic conditions vary greatly with time. The entire travel planning takes traffic efficiency as the first principle, and switches between public transportation and non-public transportation to improve the travel efficiency of users.

[0084] In the scenario where economic needs take priority, travel efficiency is the second priority. The itinerary planning principle corresponding to this scenario is to give priority to public transportation, and use non-public transportation (for example, taxis) as a supplementary solution to cover areas where public transportation is less developed.

[0085] As an example, first search for nearby bus and subway stations with the starting point and the end point as the center. Then, plan the best transfer plan from one public transportation station to another through the existing map. Next, calculate the response time for calling a taxi from a nearby bus station and the traffic efficiency reflected by the time difference traffic trend chart. Finally, determine the first time from the starting point to the nearby public transportation pick-up point, the second time from the public transportation station near the starting point to the public transportation station near the end point, and the third time from the public transportation station near the end point to the end point through a third-party map, and obtain three time sets. Determine the travel plan based on the time and determined by the first time, the second time, and the third time. Among them, the travel plan with the shortest time is the target travel plan.

[0086] Based on the above content, it can be known that in the relevant technology, the itinerary planning scheme only optimizes the travel path of the hitchhiking, provides a static analysis of road traffic, and improves the efficiency of carpooling through transfers, thereby reducing the pressure of road traffic. However, during the peak period when road traffic pressure changes rapidly, carpooling cannot affect the changing trend of traffic conditions, and more complex transfers will also increase the user's time cost. In order to solve the above problems, the present application proposes an itinerary planning method that combines public transportation and non-public transportation. This method uses a time difference traffic trend map and road section division to enable itinerary planning to fit the real-time changes in traffic and maximize the user's travel needs. In addition, the present application controls the accuracy of the driving speed determined based on multiple road sections by determining the speed change range, thereby achieving a balance between computing power and demand.

[0087] It can be seen that this application combines public transportation and non-public transportation in the travel plan, so that different means of transportation can maximize their advantages and ensure that users can accurately grasp the travel time and travel economy. Secondly, this application takes into account the dynamic changes of the city's own traffic conditions over time in the optimization algorithm of travel rules, and optimizes space and time during transfers and pick-ups. While ensuring safety and speed during transfers, it also alleviates the traffic load on congested sections during peak hours to the greatest extent.

[0088] The present application also provides a travel planning device based on traffic resources, such as Figure 3 As shown, the device 300 includes: a transportation tool determination module 301, a road segment division module 302, a speed prediction module 303, a comparison module 304 and a trip switching module 305.

[0089] The transportation tool determination module 301 is used to determine an initial transportation tool from multiple types of transportation tools according to the time consumed by the multiple types of transportation tools to travel from the starting position to the target position;

[0090] The road segment division module 302 is used to divide the initial driving route included in the initial trip into multiple road segments according to the time difference traffic trend map corresponding to the initial transportation tool, wherein the initial trip is the trip of the initial transportation tool from the starting position to the target position, and the time difference traffic trend map is used to represent the change trend of the driving speed of the initial transportation tool in different time periods and on different roads;

[0091] The speed prediction module 303 is used to predict the travel speed of multiple types of vehicles in the next road section corresponding to the current road section according to the time difference traffic trend diagrams corresponding to the multiple types of vehicles, wherein the current road section is any road section among the multiple road sections except the last road section;

[0092] A comparison module 304 is used to compare the travel speeds of multiple types of vehicles in the next road segment, and determine a target vehicle corresponding to the next road segment from the multiple types of vehicles;

[0093] The itinerary switching module 305 is used to switch the initial transportation tool corresponding to the next road segment to the target transportation tool to obtain the target itinerary.

[0094] In one example, the transportation vehicle determination module is specifically used to obtain the time consumed by multiple types of transportation vehicles to travel from a starting position to a target position, and obtain the travel time corresponding to each type of transportation vehicle, wherein the multiple types of transportation vehicles include at least one of the following: a first type of transportation vehicle affected by road traffic conditions, a second type of transportation vehicle not affected by road traffic conditions, and non-public transportation vehicles; and determine the transportation vehicle with the shortest travel time as the initial transportation vehicle.

[0095] In one example, when the initial means of transportation is a non-public transportation or a first-class public transportation, the segment division module is specifically used to determine the speed change range corresponding to the initial driving route within the target time period according to the time difference traffic trend chart corresponding to the initial means of transportation; the initial driving route is divided into multiple segments according to the speed change range, wherein, within each segment, the speed change data of the initial means of transportation is within the speed change range.

[0096] In one example, when the initial transportation vehicle is a second-category public transportation vehicle, the road segment division module is specifically used to determine that the initial driving route is a road segment corresponding to the initial transportation vehicle.

[0097] In one example, the itinerary planning device based on traffic resources also includes a trend chart construction module, which is used to construct a time difference traffic trend chart corresponding to the initial transportation tool. The trend chart construction module includes: a speed collection module, a speed statistics module and a relationship construction module. Among them, the speed collection module is used to collect the driving speed of the initial transportation tool when driving in different target sections in different time periods; the speed statistics module is used to count the change data of the driving speed of the initial transportation tool in different target sections in different time periods; the relationship construction module is used to construct the correlation relationship between the change data of the driving speed corresponding to different time periods, different target sections and the initial transportation tool, and generate the time difference traffic trend chart corresponding to the initial transportation tool.

[0098] In one example, the speed collection module is specifically used to obtain multiple satellite sampling points corresponding to different target road sections, and determine the sampling point distance between two adjacent satellite sampling points; collect the driving time consumed by the initial vehicle passing through two satellite sampling points in sequence in different time periods; and determine the driving speed of the initial vehicle in different target road sections in different time periods based on the sampling point distance and the driving time.

[0099] In one example, the speed prediction module is specifically used to predict the travel speed of other vehicles in each sub-segment through the time difference traffic area map corresponding to other vehicles when other vehicles have multiple sub-segments in the next road segment, wherein the other vehicles are any one of multiple types of vehicles except the initial vehicle; calculate the ratio of the sub-segment length corresponding to each sub-segment to the segment length of the next road segment, and determine the weight value corresponding to each sub-segment; calculate the weighted sum of the weight value corresponding to each sub-segment and the travel speeds of multiple sub-segments, and obtain the travel speed of other vehicles in the next road segment.

[0100] In one example, the comparison module is specifically used to obtain the travel speed of each type of vehicle in the next road segment when the initial vehicle travels to the end point of the current road segment, wherein each road segment includes at least a starting point and an end point of the road segment; compare the travel speeds of multiple types of vehicles in the next road segment, and determine that the vehicle with the highest travel speed is the target vehicle corresponding to the next road segment.

[0101] The traffic resource-based itinerary planning device provided in the embodiment of the present application can implement each process implemented in the aforementioned method embodiment, and will not be described again here to avoid repetition.

[0102] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0103] Figure 4 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0104] The electronic device may include a processor 401 and a memory 402 storing computer program instructions.

[0105] Specifically, the processor 401 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0106] Memory 402 may include a large capacity memory for data or instructions. By way of example and not limitation, memory 402 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, memory 402 may include a removable or non-removable (or fixed) medium. In appropriate cases, memory 402 may be inside or outside of an integrated gateway disaster recovery device. In a specific embodiment, memory 402 is a non-volatile solid-state memory.

[0107] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.

[0108] The processor 401 implements any one of the traffic resource-based itinerary planning methods in the above embodiments by reading and executing computer program instructions stored in the memory 402 .

[0109] In one example, the electronic device may further include a communication interface 403 and a bus 410. Figure 4 As shown, the processor 401, the memory 402, and the communication interface 403 are connected via a bus 410 and communicate with each other.

[0110] The communication interface 403 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0111] Bus 410 includes hardware, software or both, and the parts of electronic equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 410 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.

[0112] In addition, in combination with the method for itinerary planning based on traffic resources in the above embodiments, the embodiments of the present application may provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the itinerary planning methods based on traffic resources in the above embodiments is implemented.

[0113] In addition, in combination with the method for itinerary planning based on traffic resources in the above embodiments, the embodiments of the present application may provide a computer program product for implementation. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes and implements any one of the itinerary planning methods based on traffic resources in the above embodiments.

[0114] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0115] The functional modules shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. Programs or code segments can be stored in machine-readable media, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable media" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0116] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0117] The above reference is based on the flow chart and / or block diagram of the itinerary planning method, device, equipment and storage medium of the embodiment of the present disclosure, and describes various aspects of the present disclosure. It should be understood that each box in the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine, so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flow chart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flow chart and the combination of boxes in the block diagram and / or flow chart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0118] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A method for itinerary planning based on transportation resources, characterized in that: include: determining an initial vehicle from the plurality of types of vehicles according to a time taken by the plurality of types of vehicles to travel from a starting location to a target location; Dividing an initial driving route included in an initial trip into a plurality of road segments according to a time difference traffic trend graph corresponding to the initial vehicle, wherein the initial trip is the trip of the initial vehicle from the starting location to the target location, and the time difference traffic trend graph is used to represent a changing trend of the driving speed of the initial vehicle in different time periods and on different roads; Predicting the travel speeds of the multiple types of vehicles in a next road segment corresponding to a current road segment based on the time difference traffic trend graphs corresponding to the multiple types of vehicles, wherein the current road segment is any road segment except the last road segment among the multiple road segments; comparing the travel speeds of the multiple types of vehicles within the next road segment, and determining a target vehicle corresponding to the next road segment from the multiple types of vehicles; The initial means of transportation corresponding to the next road segment is switched to the target means of transportation to obtain a target trip.

2. The method according to claim 1, characterized in that Determining an initial vehicle from the multiple types of vehicles according to the time taken for the multiple types of vehicles to travel from a starting location to a target location includes: Obtaining the time taken for multiple types of transportation to travel from the starting location to the target location, and obtaining the travel time corresponding to each type of transportation, wherein the multiple types of transportation include at least one of the following: a first type of transportation affected by road traffic conditions, a second type of transportation not affected by road traffic conditions, and a non-public transportation; The vehicle with the shortest travel time is determined as the initial vehicle.

3. The method according to claim 2, characterized in that In a case where the initial transportation vehicle is the non-public transportation vehicle or the first category of public transportation vehicle, the initial driving route included in the initial itinerary is divided into a plurality of sections according to the time difference traffic trend graph corresponding to the initial transportation vehicle, including: Determining a speed variation range corresponding to the initial travel route within a target time period based on a time difference traffic trend graph corresponding to the initial means of transport; The initial driving route is divided into the plurality of road sections according to the speed variation range, wherein, in each road section, the speed variation data of the initial vehicle is within the speed variation range.

4. The method according to claim 3, characterized in that The method further comprises: In a case where the initial transportation vehicle is the second type of public transportation vehicle, the initial driving route is determined to be the road section corresponding to the initial transportation vehicle.

5. The method according to any one of claims 1 to 4, characterized in that The time difference traffic trend graph corresponding to the initial transportation means is determined by the following method: Collecting the driving speed of the initial vehicle when traveling in different target road sections at different time periods; Collecting data on changes in the driving speed of the initial vehicle within the different target road sections during the different time periods; A correlation relationship is established between the different time periods, the different target road sections, and the change data of the driving speed corresponding to the initial transportation tool, and a time difference traffic trend graph corresponding to the initial transportation tool is generated.

6. The method according to claim 5, characterized in that The speed of the initial vehicle when traveling in different target road sections at different time periods is collected, including: Acquire multiple satellite sampling points corresponding to the different target road sections, and determine the sampling point distance between two adjacent satellite sampling points; Collecting the driving time consumed by the initial vehicle passing through the two satellite sampling points in sequence during the different time periods; The driving speed of the initial vehicle in the different target road sections during the different time periods is determined according to the sampling point distance and the driving duration.

7. The method according to claim 1, characterized in that Predicting the travel speeds of the multiple types of vehicles in a next road segment corresponding to the current road segment based on the time difference traffic trend graphs corresponding to the multiple types of vehicles includes: If the other vehicle has multiple sub-segments within the next road segment, predicting the travel speed of the other vehicle within each sub-segment using a time-difference traffic area map corresponding to the other vehicle, wherein the other vehicle is any one of the multiple types of vehicles except the initial vehicle; Calculating the ratio of the sub-segment length corresponding to each sub-segment to the segment length of the next segment, and determining the weight value corresponding to each sub-segment; The weight value corresponding to each sub-road segment and the weighted sum of the driving speeds of the multiple sub-road segments are calculated to obtain the driving speed of the other vehicles in the next road segment.

8. The method according to claim 7, characterized in that Comparing the travel speeds of the multiple types of vehicles in the next road segment and determining a target vehicle corresponding to the next road segment from the multiple types of vehicles includes: When the initial vehicle travels to the end point of the current road segment, obtaining the travel speed of each type of vehicle in the next road segment, wherein each road segment includes at least a road segment start point and the road segment end point; The driving speeds of the multiple types of vehicles in the next road segment are compared, and the vehicle with the highest driving speed is determined as the target vehicle corresponding to the next road segment.

9. A trip planning device based on traffic resources, characterized in that: include: a transportation tool determination module, configured to determine an initial transportation tool from a plurality of types of transportation tools according to a time duration consumed by the plurality of types of transportation tools to travel from a starting position to a target position; a road segment division module, configured to divide an initial driving route included in an initial trip into a plurality of road segments based on a time difference traffic trend graph corresponding to the initial vehicle, wherein the initial trip is the trip of the initial vehicle from the starting location to the target location, and the time difference traffic trend graph is used to represent a changing trend of the driving speed of the initial vehicle in different time periods and on different roads; a speed prediction module, configured to predict the travel speeds of the multiple types of vehicles in a next road segment corresponding to a current road segment based on the time difference traffic trend graphs corresponding to the multiple types of vehicles, wherein the current road segment is any road segment except the last road segment among the multiple road segments; a comparison module, configured to compare the travel speeds of the multiple types of vehicles within the next road segment, and determine a target vehicle corresponding to the next road segment from the multiple types of vehicles; The itinerary switching module is used to switch the initial transportation tool corresponding to the next road segment to the target transportation tool to obtain a target itinerary.

10. An electronic device, characterized in that: The electronic device includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the method for itinerary planning based on traffic resources as described in any one of claims 1 to 8 is implemented.

11. A computer-readable storage medium, characterized in that Computer program instructions are stored on a computer-readable storage medium, and when the computer program instructions are executed by a processor, the method for itinerary planning based on transportation resources according to any one of claims 1 to 8 is implemented.