WO2019056875A1 - Ridesharing route planning method, client, server and system - Google Patents

Ridesharing route planning method, client, server and system Download PDF

Info

Publication number
WO2019056875A1
WO2019056875A1 PCT/CN2018/098642 CN2018098642W WO2019056875A1 WO 2019056875 A1 WO2019056875 A1 WO 2019056875A1 CN 2018098642 W CN2018098642 W CN 2018098642W WO 2019056875 A1 WO2019056875 A1 WO 2019056875A1
Authority
WO
WIPO (PCT)
Prior art keywords
candidate
travel
shared
route
sharing
Prior art date
Application number
PCT/CN2018/098642
Other languages
French (fr)
Chinese (zh)
Inventor
夏一平
尹大飞
杨毓杰
朱家辉
Original Assignee
北京摩拜科技有限公司
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 北京摩拜科技有限公司 filed Critical 北京摩拜科技有限公司
Publication of WO2019056875A1 publication Critical patent/WO2019056875A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • G06Q10/047Optimisation of routes or paths, e.g. travelling salesman problem
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/20Monitoring the location of vehicles belonging to a group, e.g. fleet of vehicles, countable or determined number of vehicles

Definitions

  • the present invention relates to the field of traffic planning technology, and more particularly to a method, device and system for planning a shared route.
  • a method for planning a shared route for planning a shared route for a plurality of commutators traveling through a shared transportation device, including:
  • the traffic geographic information includes at least a traffic map, and the travel parameters include at least a shared identity, a departure place, and a destination of the shared passenger;
  • the candidate starting point is a candidate location where some or all of the co-occupant personnel gather into the shared transportation device
  • the candidate sharing route includes a common starting point, a destination, and a sharing mode of each of the common passengers, and the sharing starting point is one of the sharing starting points in the candidate starting point set, the total
  • the multiplication mode includes at least a mode of travel of the co-occupant from the corresponding departure place to the common start point; the travel mode includes at least the ride of the shared transportation device, bicycle riding, and walking; the travel cost includes at least One of travel distance, travel time, and travel expenses;
  • the step of selecting a corresponding candidate starting point according to the departure place of the multiple occupants includes:
  • the corresponding candidate starting point area is obtained by a predetermined geographical radius
  • each of the candidate starting point regions at least one location that allows the shared transportation device to be docked is selected as a candidate starting point, and a plurality of the candidate starting points are obtained to generate the candidate starting point set.
  • the step of constructing multiple candidate sharing routes includes:
  • the corresponding candidate sharing route is obtained according to the traffic geographic information.
  • the step of calculating the travel cost of each of the candidate shared route includes:
  • the travel cost of the candidate shared route is calculated according to the minimum travel cost of all the passengers under the candidate shared route.
  • the method further includes:
  • the candidate end point is a candidate location where at least one co-occupant person leaves the shared transportation device
  • the step of constructing the candidate common-share route to calculate the travel cost of each of the candidate shared route includes:
  • the candidate sharing route includes a common starting point, a common end point, and a sharing mode of each of the common passengers, and the sharing mode further includes that the common passenger arrives from the corresponding sharing terminal The way the destination travels.
  • the step of generating a candidate endpoint set includes:
  • the corresponding candidate end point area is obtained by a predetermined geographic radius
  • the step of constructing multiple candidate sharing routes includes:
  • the corresponding candidate sharing route is obtained according to the traffic map.
  • the step of calculating the travel cost of each of the candidate shared route routes comprises:
  • the travel cost of the candidate shared route is calculated according to the minimum travel cost of all the passengers under the candidate shared route.
  • the traffic geographic information also includes a geographical distribution of shared bicycles, the geographic distribution of the shared bicycles including stops and available numbers of the shared bicycles;
  • the shared passengers provide a shared bicycle reservation service.
  • the traffic geographic information further includes historical traffic data, and the historical traffic data includes one of historical congestion data and historical shared hotspot data;
  • the travel parameters of the co-occupant personnel further include historical travel information of the co-occupant, and the historical travel information includes at least one of historical share-sharing mode and historical time-speed information.
  • a method for planning a common route for planning a shared route for a plurality of commutators traveling through a shared transportation device, including:
  • the travel parameter includes at least a shared identity, a departure place, and a destination of the user;
  • the common multiplication route is obtained according to the method according to any one of the first aspects of the present invention, wherein the common route includes at least a corresponding sharing start point and a common multiplication mode, and at least the common multiplication mode
  • the method includes the travel mode from the corresponding travel destination to the common start point; the travel mode includes at least the ride of the shared transportation device, bicycle riding, and walking; the travel cost includes at least a travel distance, a travel time, and a travel fee. one of them.
  • a server for planning a shared route for a plurality of occupants traveling through a shared transportation device, including:
  • a memory for storing executable instructions
  • a processor for operating the server to perform a method of a common route planning according to any one of the first aspects of the present invention, in accordance with control of the instructions.
  • a client for planning a shared route for a plurality of accommodating persons traveling through a shared transportation device, including:
  • a memory for storing executable instructions
  • a processor configured to execute the shared-party route planning method according to the second aspect of the present invention according to the control of the instruction.
  • a planning system for a shared route for planning a shared route for a plurality of occupants traveling through a shared transportation device, including:
  • At least one server as in the third aspect of the invention.
  • a plurality of clients as in the fourth aspect of the invention are identical to the fourth aspect of the invention.
  • the commuting route with the smallest travel cost can be provided to the co-occupant, so that the co-occupant can start the communal travel by the corresponding travel mode to the common start point corresponding to the common route, and realize the travel cost. Minimal, improve the efficiency of shared travel.
  • FIG. 1 is a block diagram showing an example of a hardware configuration of a system that can be used to implement an embodiment of the present invention.
  • Fig. 2 is a flow chart showing a method of planning a common route according to the first embodiment of the present invention.
  • Fig. 3 is a flow chart showing the acquisition of a candidate starting point set in the first embodiment of the present invention.
  • Fig. 4 is a flow chart showing the construction of a candidate sharing route in the first embodiment of the present invention.
  • FIG. 5 is a flow chart showing the calculation of the travel cost of each of the candidate common-sharing routes in the first embodiment of the present invention.
  • Fig. 6 is still another flow chart showing the method of planning the common route according to the first embodiment of the present invention.
  • Fig. 7 is a schematic diagram showing an example of a method of planning a common route according to the first embodiment of the present invention.
  • Figure 8 is a schematic block diagram of a server in accordance with a first embodiment of the present invention.
  • Figure 9 is a flow chart showing a method of planning a common route according to a second embodiment of the present invention.
  • Figure 10 is a schematic block diagram of a client of a second embodiment of the present invention.
  • Figure 11 is a schematic block diagram of a planning system of a shared route according to a third embodiment of the present invention.
  • system 1000 includes a server 1100, a client 1200, and a network 1300.
  • the server 1100 is a service point that provides processing, database, and communication facilities, and may be an integral server or a distributed server that spans multiple computers or computer data centers.
  • the type may be limited to a web server, a news server, a mail server, a message server, an advertisement server, a file server, an application server, an interactive server, a database server, or a proxy server.
  • each server may comprise hardware, software, or an embedded logic component or a combination of two or more such components for performing the appropriate functions supported or implemented by the server.
  • a server such as a blade server, a cloud server, or the like, or may be a server group composed of a plurality of servers, may include one or more of the above types of servers, and the like.
  • server 1100 can be a computer.
  • the server 1100 can include a processor 1110, a memory 1120, an interface device 1130, a communication device 1140, a display device 1150, and an input device 1160, as shown in FIG.
  • the server may also include a speaker, a microphone, etc., these components are not relevant to the present invention and are therefore omitted herein.
  • the processor 1110 may be, for example, a central processing unit CPU, a microprocessor MCU, or the like.
  • the memory 1120 includes, for example, a ROM (Read Only Memory), a RAM (Random Access Memory), a nonvolatile memory such as a hard disk, and the like.
  • the interface device 1130 includes, for example, a USB interface, a serial interface, and the like.
  • the communication device 1140 can perform, for example, wired or wireless communication.
  • the display device 1150 is, for example, a liquid crystal display.
  • Input device 1160 can include, for example, a touch screen, a keyboard, and the like.
  • the client 1200 is an electronic device having a communication function and a service processing function.
  • the client 1200 can be a mobile terminal such as a cell phone, a laptop, a tablet, a palmtop, and the like.
  • the client 1200 is installed with an application (APP) that provides a transportation device sharing service, and can support a user having a shared travel demand to obtain a shared route that meets the demand, and according to the indication of the shared route, If you are walking, cycling, driving, or riding a shared transportation device, you can start a commuter trip.
  • the shared transportation equipment is a transportation device that can provide multiple users to travel together, such as providing a private car service, an express service, or a shuttle service. Motor vehicles, private motor vehicles, motor vehicles that drive and travel on time, motor vehicles that provide operational services, etc., which may be two or more small cars, minibuses, buses, coaches, and the like.
  • client 1200 can include processor 1210, memory 1220, interface device 1230, communication device 1240, display device 1250, input device 1260, speaker 1270, microphone 1280, and the like.
  • the processor 1210 may be a central processing unit CPU, a microprocessor MCU, or the like.
  • the memory 1220 includes, for example, a ROM (Read Only Memory), a RAM (Random Access Memory), a nonvolatile memory such as a hard disk, and the like.
  • the interface device 1230 includes, for example, a USB interface, a headphone jack, and the like.
  • the communication device 1240 can, for example, perform wired or wireless communication.
  • the display device 1250 is, for example, a liquid crystal display, a touch display, or the like.
  • Input device 1260 can include, for example, a touch screen, a keyboard, and the like. The user can input/output voice information through the speaker 1270 and the microphone 1280.
  • the communication network 1300 can be a wireless network or a network, and can be a local area network or a wide area network.
  • clients 1200-1, 1200-2, 1200-3, 1200-4, and web server 1100 can communicate over communication network 1300.
  • the memory 1120 of the server 1100 is configured to store executable instructions
  • the processor 1110 is configured to run the server 1100 according to the control of the instructions to perform an embodiment of the present invention. Planning method for any of the shared routes provided.
  • the memory 1220 of the client 1200 is configured to store executable instructions, and the processor 1210 is configured to run the client 1200 according to the control of the instruction to perform any one of the sharing provided by the embodiment of the present invention.
  • the planning method of the route is configured to run the client 1200 according to the control of the instruction to perform any one of the sharing provided by the embodiment of the present invention. The planning method of the route.
  • the present invention may only cover some of the devices, for example, the server 1100 only relates to the processor 1110 and the memory. 1120, or client 1200 only relates to processor 1210 and memory 1220, and the like.
  • a technician can design instructions in accordance with the disclosed aspects of the present invention. How the instructions control the processor for operation is well known in the art and will not be described in detail herein.
  • a method for planning a common route is provided for planning a shared route for a plurality of commutators traveling through a shared transportation device.
  • a shared transportation device is a transportation device that can provide multiple users to travel together.
  • it may be a motor vehicle that provides a car service, an express service or a shuttle service, a private motor vehicle, a motor vehicle that travels in a time-sharing manner, an agitation vehicle that provides an operation service, etc.
  • the motor vehicle may be a small car of two or more. , minibuses, buses, coaches, etc.
  • Co-occupants include drivers who drive shared transportation equipment and passengers who take public transportation equipment.
  • the planning method of the shared route includes: steps S2100-S2400.
  • Step S2100 Obtain traffic geographic information and travel parameters of each of the common passengers
  • the traffic geographic information includes at least a traffic map, and the travel parameters include at least a shared identity, a departure place, and a destination of the shared passenger.
  • the traffic map includes a map that covers the corresponding travel area, and may be pre-stored in the local storage of the device that implements the embodiment, or may be invoked through an interface provided by an existing map application to obtain a correspondingly provided map, and may also acquire different
  • the route combination and real-time road condition information under the travel mode include public transportation, bicycle riding, walking, self-driving travel, etc.
  • the traffic geographic information may further include historical traffic data including one of historical congestion data and historical shared hotspot data.
  • the historical congestion data is data of a congestion state of each time period of a traffic route that can be traveled on the traffic map according to historical data;
  • the historical shared hotspot data is a shared starting point or a total of statistics according to historical data.
  • the shared hotspot may be a subway station, a parking lot, a bus stop, a bicycle stop, a taxi waiting point, an intersection of a convenient car, etc., the historical shared hotspot.
  • the data may include unique name information, geographic coordinate data, or geographic identification, etc. of the shared hotspot.
  • the traffic geographic information further includes a geographic distribution of shared bicycles, the geographic distribution of the shared bicycles including stops and available numbers of the shared bicycles.
  • the shared bicycle is a bicycle that can provide a time-sharing rental service, including a human bicycle, a power bicycle, an electric bicycle, and the like.
  • the travel parameter is related parameter information of a corresponding commutator in traveling through the shared transportation device.
  • the shared identity of the co-occupant includes a driver driving a shared transportation device and a passenger riding a shared transportation device.
  • the origin and destination may be unique name information, unique identifiers or geographical location coordinate data of the corresponding geographical location.
  • the travel parameter may further include historical travel information of the corresponding engineering personnel, and the historical travel information includes at least one of historical sharing mode and historical speed information, and the historical sharing method is that the commuting personnel are in the past
  • the historical speed information is the speed information of the commuting passengers in the past, which may be the driver driving sharing
  • the human-machine interaction interface may be provided by the client facing the co-occupant, and the user may input the co-multiplying parameter corresponding to the co-occupant, thereby obtaining the multi-shared parameter.
  • Step S2200 Select a candidate starting point according to a departure place of the plurality of co-occupants, and obtain a candidate starting point set including a plurality of the candidate starting points.
  • the candidate starting point is a candidate location where some or all of the co-occupant personnel gather into the shared transportation device.
  • the step S2200 can be as shown in FIG. 3, and includes:
  • Step S2201 centering on the departure place of each commune person, and dividing the corresponding candidate starting point area by a predetermined geographic radius.
  • the preset geographic radius may be set according to a specific application scenario or engineering experience.
  • the candidate starting point area obtained by the division is composed of a location within the preset geographical radius of the corresponding starting point.
  • an inappropriate candidate starting point area may also be filtered out in the divided candidate starting area according to the traffic geographic information, for example, a crowded area that is not suitable for the traffic sharing device, or is not suitable for the total An area where the person arrives by bicycle riding, walking, or the like; or, in the divided candidate starting area, according to the traffic geographic information, only the candidate starting area related to the historical shared hotspot data is retained, for example, including the subway station Candidates, parking lots, bus stops, bicycle stops, taxi waiting points, candidate starting areas for easy intersections.
  • Step S2202 In each of the candidate starting point regions, selecting at least one location that allows the shared transportation device to stop as a candidate starting point, and obtaining a plurality of the candidate starting points to generate the candidate starting point set.
  • the shared hotspot in the candidate starting area may be selected as a candidate starting point according to historical shared hotspot data included in the traffic geographic information, for example, a subway station, a parking lot, a bus stop, a bicycle stop, Taxi waiting point, easy intersection, etc.
  • the application may be selected according to an application scenario. For example, the available number of shared bicycles in the candidate starting area may be greater than a preset number of bicycle stops, and the location of the shared transportation device may be docked. Demand settings.
  • the distribution of the departure place of each commutator is arbitrary, and there may be partial geographic overlap between different candidate starting areas, and the candidate starting point is selected in different candidate starting areas. There may be duplicates.
  • the repetition may be that the geographic locations of the multiple candidate locations are identical, or the distances of the candidate locations may be relatively close, for example, the distance is within a preset smaller distance range. It should be understood that obtaining a plurality of the candidate starting points included in the candidate starting point set is a candidate starting point for filtering out repetitions, and is a candidate starting point having different geographical positions.
  • the candidate starting point in the candidate starting point set may be used as the common starting point of the common riding route, and the corresponding candidate sharing route may be constructed, and the common traveling route with the smallest travel cost of the entire commune passenger may be selected, so that part or all Co-occupants use the corresponding travel mode to arrive at the commuting starting point of the shared route to start the multi-ride trip, reducing the time cost of the high-collecting crew due to traffic congestion or poor road conditions (such as driver detours, traffic jams waiting) Time, passenger waiting time, etc., to achieve the minimum travel costs, improve the efficiency of shared travel.
  • traffic congestion or poor road conditions such as driver detours, traffic jams waiting
  • Step S2300 constructing a plurality of candidate sharing routes according to the traffic geographic information, the travel parameters of the common passenger, and the candidate starting point set, and calculating and obtaining the travel cost of each of the candidate shared route.
  • the candidate sharing route includes a common starting point, a destination, and a sharing mode of each of the common passengers, and the sharing starting point is one of the sharing starting points in the candidate starting point set, the total
  • the multiplication mode includes at least a mode of travel of the co-occupant from the corresponding departure place to the common start point; the travel mode includes at least the ride of the shared transportation device, bicycle riding, and walking; the travel cost includes at least One of travel distance, travel time, and travel expenses.
  • the step of constructing multiple candidate sharing routes may be as shown in FIG. 4, including:
  • Step S2311 for each of the candidate starting points, constructing a plurality of candidate path sequences having different path sequences according to destinations of the plurality of co-occupant personnel and other candidate starting points in the candidate starting point set;
  • Step S2312 Acquire, for each of the candidate path sequences, the corresponding candidate sharing route according to the traffic geographic information.
  • the traffic sharing device is a vehicle that can provide K+1 passengers to share the vehicle, including the driver D and the K passenger U k (k ⁇ 1, 2, 3,..., K ⁇ ).
  • the driver's departure point D_s the passenger's initial departure point U k _s(k ⁇ 1,2,3,...,K ⁇ ) and the passenger's final destination U k _e(k ⁇ 1,2,3, ..., K ⁇ )
  • the obtained candidate starting point set includes P candidate starting points: Ps p (p ⁇ ⁇ 1, 2, 3, ..., P ⁇ ), and candidate path sequences with different path order can be obtained:
  • a candidate path sequence may include a plurality of candidate starting points, which can traverse the coverage of the actual application, and a vehicle will stay at a plurality of sharing starting points to allow the passengers to be far away from the starting point. The situation of getting on the train separately.
  • the corresponding candidate sharing route may be obtained according to the traffic geographic information.
  • each candidate path sequence can be directly obtained according to the traffic map, and the shortest path is selected for each of the two nodes in the traffic map.
  • the path distance between the nodes is planned, and the corresponding candidate sharing route is obtained.
  • the distance of the reachable path between any two nodes may be weighted according to various information to select the shortest path.
  • the plurality of reachable paths between any two nodes in the candidate path sequence may be weighted by the weighting coefficient according to the corresponding historical traffic data respectively (for example, the congestion degree is high, the weighting system) Large, making the path distance larger) to select the shortest path obtained by integrating the actual path distance and historical traffic data.
  • the step of obtaining the travel cost of each of the candidate sharing routes may be as shown in FIG. 5, including:
  • Step S2321 Calculate, according to the corresponding travel parameters and the traffic geographic information, a minimum travel cost under the candidate shared route and the corresponding sharing mode for each of the co-occupants;
  • Step S2322 Calculate the travel cost of the candidate shared route according to the minimum travel cost of all the common passengers under the candidate shared route.
  • the candidate sharing route corresponding to the above candidate path sequence ⁇ Ps 1 , U 1 _e, U 2 _e, ..., U K _e ⁇ is exemplified.
  • the candidate common-sampling route corresponding to the candidate path sequence ⁇ Ps 1 , U 1 _e, U 2 _e, ..., U K _e ⁇ is shared with other co-occupant personnel by driving the vehicle, and the candidate is shared by the candidate.
  • the method of sharing by the route is to take the vehicle, according to its distance from the departure point D_s to Ps 1 . And the distance between all the two nodes before and after the candidate is shared Calculated total travel distance of the candidate shared route
  • the travel cost is calculated as the travel distance
  • the minimum travel cost of driver D under the candidate shared route is SumL D ;
  • the travel cost is calculated as the travel time, it can be based on the historical speed information of the driver driving the vehicle or the pre-acquired average speed information.
  • the travel cost is calculated based on the travel cost, and the fuel consumption can be calculated based on the travel distance, etc.;
  • the distance from the departure point U 1 _s to Ps 1 can be based on the passenger U 1 Select passengers U 1 U 1 _s a departure point Ps 1 reaches such a small travel costs travel mode, for example, the travel cost is the travel time, More than 1 km, you can choose a bicycle ride for passenger U 1 . Less than 1 km, you can choose to walk for passenger U 1 , you can also choose according to the historical sharing method of passenger U 1 , and so on;
  • the minimum travel cost of passenger U 1 under the candidate shared route is Assuming that the travel cost is calculated based on the travel time, the passenger U 1 is shared by the bicycle ride + ride-sharing traffic equipment, based on the historical speed information of the passenger U 1 and the driver D or the pre-stored parallel speed information. The next passenger takes the time of cycling and the driver D drives The time of the distance is summed to obtain the corresponding travel time; if the travel cost is calculated based on the travel cost, it can be calculated according to the bicycle riding cost of the passenger U 1 at the travel distance and the mileage cost of riding the transportation sharing device, and the like;
  • the travel cost of the candidate communal route can be obtained by accumulating, for example, if the travel cost is calculated by the travel distance,
  • the travel cost of the candidate shared route is:
  • the travel cost calculation is more complicated in order to better fit the needs of the commuters.
  • the travel cost needs to comprehensively consider the travel distance, travel time, and travel expenses.
  • the travel distance, the travel time, and the travel cost are set to different weights to realize the comprehensive calculation of the travel cost.
  • improvements are made to apply to scenarios where cost needs to take into account travel distance, travel time, travel costs or more.
  • a common-sharing route with the lowest travel cost of all the commune passengers can be selected, so that some or all of the co-occupant personnel arrive at the common multiplication by the corresponding travel mode.
  • the commuting start point of the route starts to share the travel, reducing the time cost of the high-collected commuters due to traffic congestion or poor road conditions (such as the driver detour, the waiting time of the traffic jam, the waiting time of the passengers, etc.)
  • the travel cost of the passenger is the smallest, and the efficiency of the shared travel is improved.
  • the destinations of some of the co-occupants may be closer, and the successive stops may cause the overall commuting travel time or travel distance to become longer, or the destination of some co-occupants may not be suitable for docking.
  • the destination needs to turn around in the direction of travel of the shared route, or the destination is relatively time-consuming to travel, which will affect the travel cost and reduce the efficiency of the shared travel.
  • a method for planning a common route is also provided, as shown in FIG. 6, including:
  • the method further includes:
  • Step S2200-1 generating a corresponding candidate endpoint set according to the destinations of the plurality of co-occupants
  • the candidate end point is a candidate location where at least one co-occupant person leaves the shared transportation device
  • the step S2300 of constructing the candidate common-share route to calculate the travel cost of each of the candidate shared route includes:
  • the candidate sharing route includes a common starting point, a sharing end point, and a sharing mode of each of the common passengers, and the sharing end point is one of the candidate end points in the candidate end point set, the total
  • the multiply mode also includes the manner in which the co-occupant travels from the corresponding co-multiple end point to the destination.
  • the step of generating a candidate endpoint set includes:
  • the corresponding candidate end point area is obtained by a predetermined geographic radius
  • the step of generating the candidate end point set described above is compared with the step of generating the candidate start point set as shown in FIG. 3, except that the divided candidate end point area is the destination of each commutator, and the like, The steps shown in FIG. 3 are implemented, and details are not described herein again.
  • the step of constructing a plurality of candidate sharing routes may include:
  • the corresponding candidate sharing route is obtained according to the traffic map.
  • the traffic sharing device is a vehicle that can provide K+1 passengers to share the vehicle, including the driver D and the K passenger U k (k ⁇ 1, 2, 3,..., K ⁇ ).
  • the driver's departure point D_s the passenger's initial departure point U k _s(k ⁇ 1,2,3,...,K ⁇ ) and the passenger's final destination U k _e(k ⁇ 1,2,3, ..., K ⁇ )
  • the obtained candidate starting point set includes P candidate starting points: Ps p (p ⁇ ⁇ 1, 2, 3, ..., P ⁇ )
  • the obtained candidate end point set includes Q candidates.
  • a candidate path sequence may include multiple candidate starting points and multiple candidate ending points, which can be traversed to cover the actual application, and a vehicle will stay at multiple sharing starting points to make the departure distance longer.
  • the corresponding candidate sharing route may be obtained according to the traffic geographic information.
  • the step of obtaining the shared route is the same as the step S2312 shown in FIG. 4 which has been described in detail above, and details are not described herein again.
  • the step of calculating the travel cost of each of the candidate shared routes may include:
  • the travel cost of the candidate shared route is calculated according to the minimum travel cost of all the passengers under the candidate shared route.
  • the candidate shared route corresponding to the candidate path sequence ⁇ Ps 1 , Pe 1 ⁇ is shared by the driving vehicle and the other common passengers are shared, and the sharing method under the candidate sharing route is to ride the vehicle. According to its distance from the departure point D_s to Ps 1 And the distance between all the two nodes before and after the candidate is shared Calculated total travel distance of the candidate shared route
  • the travel cost is calculated as the travel distance
  • the minimum travel cost of driver D under the candidate shared route is SumL D ;
  • the travel cost is calculated as the travel time, it can be based on the historical speed information of the driver driving the vehicle or the pre-acquired average speed information.
  • the travel cost is calculated based on the travel cost, and the fuel consumption can be calculated based on the travel distance, etc.;
  • the distance from the departure point U 1 _s to Ps 1 can be based on the passenger U 1 Select passengers U 1 U 1 _s a departure point Ps 1 reaches such a small travel costs travel mode, for example, the travel cost is the travel time, More than 1 km, you can choose a bicycle ride for passenger U 1 . Less than 1 km, you can choose to walk for passenger U 1 , and you can also choose according to the historical sharing method of passenger U 1 _s;
  • the distance from the common end point Pe 1 to the destination U 1 _e can also be used.
  • the travel mode in which the passenger U 1 is made to travel from the common destination end point Pe 1 to the destination Pe 1 to make the travel cost small is selected.
  • the minimum travel cost of passenger U 1 under the candidate shared route is Is assumed to travel cost calculated travel time may be based on historical information speed passenger and driver D U 1 or speed parallel information stored in advance, to calculate passenger cycling U 1 Time and driver D driving The time of the distance is summed to obtain the corresponding travel time; if the travel cost is calculated based on the travel cost, it can be calculated according to the bicycle riding cost of the passenger U 1 at the travel distance and the mileage cost of riding the transportation sharing device, and the like;
  • the travel cost of the candidate communal route can be obtained by accumulating, for example, if the travel cost is calculated by the travel distance,
  • the travel cost of the candidate shared route is:
  • the travel cost calculation is more complicated in order to better fit the needs of the commuters.
  • the travel cost needs to comprehensively consider the travel distance, travel time, and travel expenses.
  • the traveling distance, the travel time, and the travel setting are different weights to realize the comprehensive calculation of the travel cost, and after the example of calculating the travel cost of the candidate sharing route is disclosed in the embodiment, those skilled in the art can perform without any creativity. Improvements to suit the cost of a scenario that takes into account travel distance, travel time, and travel costs or more.
  • the candidate common starting point with the candidate starting point in the candidate starting point set as the sharing starting point and the candidate ending point in the candidate end point set as the common multiplication end point is constructed, and the common multiplication route with the smallest row cost is selected to achieve the sharing. Allowing some or all of the co-occupants to leave the traffic-sharing equipment at the corresponding commuting destination and reach their respective destinations in the corresponding travel mode, which can reduce the arrival of the high-sorted passengers due to traffic congestion or poor road conditions.
  • the time cost of the destination (such as the driver's detour, the time of traffic jam, the time of the passengers who are close to each other but not waiting for the trip, etc.), to achieve the minimum travel cost of all the commuters and improve the efficiency of the communal travel.
  • Step S2400 selecting the candidate shared route with the lowest travel cost as the shared route, and providing the shared route to the plurality of riders, triggering each of the riders to pass the shared traffic
  • the device shares the trip.
  • the candidate shared route with the lowest travel cost is selected as the shared route, and the shared route with the least travel cost of all the commuters can be provided to improve the efficiency of the shared travel.
  • the shared route can be provided to the co-occupant through the human-computer interaction interface of the client, for example, for each co-occupant, the common-share starting point and the common-end destination of the shared route are respectively displayed through the interface.
  • the method of sharing in particular, for the driver, can show the starting point of the commuting from the driver's starting point, the commuting destination, the estimated travel time, etc.; for the passenger, it can be shown which way to get from the departure point to the sharing starting point,
  • the traffic sharing equipment is expected to arrive at the sharing start point, the shared end point, the travel mode from the shared end point to the destination, and the like.
  • the shared passengers provide a shared bicycle reservation service.
  • Providing a shared bicycle reservation service for the passengers can enable the commuter to realize a “seamless” transfer of the bicycle to the shared transportation equipment, to carry out the communal travel, and improve the efficiency of the shared travel.
  • the transport device is a four carpool vehicle, by the driver and the passenger D U 1, U 2, U 3 carpool travel.
  • the method includes:
  • Step S701 obtaining the travel parameters of the driver D and the passengers U 1 , U 2 , and U 3 , and obtaining the departure place of the driver D is D_s, the departure place U 1 _s of the passenger U 1 , the destination U 1 _e, and the departure of the passenger U 2 Ground U 2 _s, destination U 2 _e, departure point U 3 _s of passenger U 3 , destination U 3 _e;
  • Step S702 by providing the step of generating a candidate starting point set in the foregoing embodiment, obtaining a candidate starting point set including three candidate starting points: Ps 1 , Ps 2 , Ps 3 , and providing the generated candidate end point set in the foregoing embodiment.
  • the step of obtaining a candidate endpoint set includes three candidate starting points: Pe 1 , Pe 2 , Pe 3 ;
  • Step S703 constructing a plurality of candidate sharing routes according to the candidate starting point set and the candidate ending point set, each candidate sharing route includes a sharing start point, a sharing end point, and a sharing mode, and the sharing mode includes each of the commuting personnel The way in which the respective destinations arrive at the starting point of the sharing, and the way in which each of the commuters passes from their respective sharing destinations to the destination.
  • the candidate common multiplication route in this example is a plurality of routes constructed by traversing the candidate starting points Ps 1 , Ps 2 , Ps 3 and the candidate end points Pe 1 , Pe 2 , and Pe 3 , and each route includes Obtain the travel mode of the driver D and the passengers U 1 , U 2 , U 3 from the respective departure points to the corresponding sharing start point, and the travel mode from the corresponding communal destination to the respective destinations.
  • the candidate candidate sharing route may include multiple sharing starting points or multiple sharing destinations, which may support different distances between the commuting personnel and the destination distance. Scenes.
  • step S704 the travel cost under each candidate sharing route is calculated separately.
  • step S705 the candidate shared route with the smallest travel cost is selected as the shared route, and is provided to the corresponding commutator.
  • the corresponding departure place and destination are different, and different riders can be respectively displayed in different ways, for example,
  • For the driver D it is possible to display the driving route from the departure point of the car, the commuting destination on each of the commuting routes, and the starting point of the commuting.
  • For the passenger it is possible to show the ride from the starting place to the corresponding riding start point. The route, the ride route from the shared start point to the corresponding communal destination, and the ride for the shared ride to the corresponding destination ride.
  • the passengers can select a commuter starting point that can be respectively reached by the bicycle and can be conveniently docked, and the collection is waiting for the driver to pick up the vehicle. It is also possible to select the same easy-to-stop shared destination for a plurality of passengers whose destinations are located close to each other, so that the passengers can get to the corresponding destination by bicycle riding after getting off at the shared terminal, so that the driver can be convenient.
  • the passengers at the docking point pick up and drop off passengers, and do not have to pick up the passengers one by one, and reduce the time cost caused by traffic congestion or poor road conditions. Accordingly, the passengers’ time and expenses are reduced, and the passengers and passengers are all realized. Co-occupants have the lowest travel costs and improve the efficiency of shared travel.
  • a server 200 is further provided for implementing the planning method of the common route provided in this embodiment.
  • the memory 210 and the processor 220 are included:
  • a memory 210 configured to store executable instructions
  • the processor 220 is configured to run the server to perform the planning method of the common route provided in the embodiment according to the control of the instruction.
  • the server 200 may have various physical forms, for example, may be a blade server, a cloud server, or the like, or may be a server group composed of a plurality of servers.
  • server 200 can be server 1100 as shown in FIG.
  • server 200 can be implemented in a variety of ways.
  • server 200 can be implemented by an instruction configuration processor.
  • the instructions can be stored in the ROM, and when the device is booted, the instructions are read from the ROM into the programmable device to implement the server 200.
  • server 200 can be cured into a dedicated device (eg, an ASIC).
  • the server 200 can be divided into mutually independent units, or they can be implemented together.
  • the server 200 may be implemented by one of the various implementations described above, or may be implemented by a combination of two or more of the various implementations described above.
  • the sharing route with the lowest travel cost of all the commuters can be provided, so that the common passengers can correspond.
  • the travel mode arrives at the common start point corresponding to the common route to start the shared travel, which realizes the minimum travel cost and improves the efficiency of the shared travel.
  • a method for planning a common route is provided, which is used for planning a shared route for a plurality of commutators traveling through a shared transportation device, as shown in FIG. 9, including:
  • Step S3100 Providing a travel parameter input interface for the user to perform an input operation to obtain the corresponding travel parameter, wherein the travel parameter includes at least the shared identity, the departure place, and the destination of the user.
  • the travel parameter input interface is a human-machine interaction interface that can be used by a user to perform a click operation, a text or a voice input operation, and can obtain a corresponding user-entered travel parameter in response to a user input operation, so as to cooperate with the implementation of the first embodiment.
  • the planning method of taking the route is a human-machine interaction interface that can be used by a user to perform a click operation, a text or a voice input operation, and can obtain a corresponding user-entered travel parameter in response to a user input operation, so as to cooperate with the implementation of the first embodiment.
  • the planning method of taking the route is a human-machine interaction interface that can be used by a user to perform a click operation, a text or a voice input operation, and can obtain a corresponding user-entered travel parameter in response to a user input operation, so as to cooperate with the implementation of the first embodiment.
  • step S3200 a common route display interface is provided, and the user obtains a corresponding shared route through the interface display.
  • the common route is obtained by the planning method of the common route provided in the first embodiment, and details are not described herein again.
  • the sharing route includes at least a corresponding sharing starting point and a sharing mode; the sharing mode includes at least a travel mode from the corresponding travel destination to the shared start point; and the travel mode includes at least the ride Take transportation equipment, bicycle riding, and walking; the travel cost includes at least one of travel distance, travel time, and travel expenses.
  • the shared route display interface is a human-machine interaction interface that can be used by the user to perform a click operation and a zoom operation, and can display a corresponding shared route to the user in response to the related operation of the user, to provide implementation of the first embodiment.
  • the shared route obtained after the route planning method.
  • the shared route may further include a shared end point
  • the shared mode may further include a travel mode from the shared start point to the share end point and a travel mode from the share end point to the destination.
  • a client 300 is further provided for implementing the planning method of the common route provided in this embodiment.
  • the memory 310 and the processor 320 are included:
  • a memory 310 configured to store executable instructions
  • the processor 320 is configured to run the server to perform the planning method of the common route provided in the embodiment according to the control of the instruction.
  • the client 300 can have various physical forms, for example, a mobile phone, a palmtop computer, a tablet computer, a desktop computer, or the like.
  • client 300 can be server 1200 as shown in FIG.
  • client 300 can be implemented in a variety of ways.
  • client 300 can be implemented by an instruction configuration processor.
  • the instructions can be stored in the ROM, and when the device is booted, the instructions are read from the ROM into the programmable device to implement the client 300.
  • client 300 can be cured into a dedicated device (eg, an ASIC).
  • the client 300 can be divided into mutually independent units, or they can be combined and implemented.
  • the client 300 may be implemented by one of the various implementations described above, or may be implemented by a combination of two or more of the various implementations described above.
  • the shared route with the lowest travel cost can be provided to the common passengers, so that the common passengers can correspond.
  • the travel mode arrives at the common start point corresponding to the common route to start the shared travel, which realizes the minimum travel cost and improves the efficiency of the shared travel.
  • a planning system 400 for a shared route is provided for planning a shared route for a plurality of commutators traveling through the shared transportation device, as shown in FIG. 11, including:
  • At least one server 200 provided in the first embodiment At least one server 200 provided in the first embodiment
  • a plurality of clients 300 as provided in the second embodiment is provided.
  • the driver and the passenger riding the shared transportation device as the passengers can input their own departure place, destination, and the travel parameter input interface provided by the client 300.
  • the client 300 obtains the corresponding travel parameters in response to the user's operation, and then sends the corresponding travel parameters to the server 200.
  • the server 200 plans the common travel route with the least travel cost for the common passenger according to the planning method of the shared route provided in the first embodiment. And respectively sent to the corresponding client 300, so that the client 300 can provide the shared route to the co-occupant of the corresponding use client 300 through the shared route display interface.
  • the planning system 400 of the shared route may have multiple physical forms.
  • the planning system 400 of the shared route may be the system 1000 shown in FIG.
  • the planning system of the shared route provided by the embodiment has been described above with reference to the accompanying drawings, and the shared route with the lowest travel cost of all the commuters can be provided, so that the commutator can reach the common multiplication by the corresponding travel mode.
  • the starting point starts to share the travel, which achieves the minimum travel cost and improves the efficiency of the shared travel.
  • the invention can be a system, method and/or computer program product.
  • the computer program product can comprise a computer readable storage medium having computer readable program instructions embodied thereon for causing a processor to implement various aspects of the present invention.
  • the computer readable storage medium can be a tangible device that can hold and store the instructions used by the instruction execution device.
  • the computer readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • Non-exhaustive list of computer readable storage media include: portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM) Or flash memory), static random access memory (SRAM), portable compact disk read only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, for example, with instructions stored thereon A raised structure in the hole card or groove, and any suitable combination of the above.
  • a computer readable storage medium as used herein is not to be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (eg, a light pulse through a fiber optic cable), or through a wire The electrical signal transmitted.
  • the computer readable program instructions described herein can be downloaded from a computer readable storage medium to various computing/processing devices or downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network.
  • the network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and/or edge servers.
  • a network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in each computing/processing device .
  • Computer program instructions for performing the operations of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine related instructions, microcode, firmware instructions, state setting data, or in one or more programming languages.
  • the computer readable program instructions can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer, partly on the remote computer, or entirely on the remote computer or server. carried out.
  • the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or wide area network (WAN), or can be connected to an external computer (eg, using an Internet service provider to access the Internet) connection).
  • the customized electronic circuit such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), can be customized by utilizing state information of computer readable program instructions.
  • Computer readable program instructions are executed to implement various aspects of the present invention.
  • the computer readable program instructions can be provided to a general purpose computer, a special purpose computer, or a processor of other programmable data processing apparatus to produce a machine such that when executed by a processor of a computer or other programmable data processing apparatus Means for implementing the functions/acts specified in one or more of the blocks of the flowcharts and/or block diagrams.
  • the computer readable program instructions can also be stored in a computer readable storage medium that causes the computer, programmable data processing device, and/or other device to operate in a particular manner, such that the computer readable medium storing the instructions includes An article of manufacture that includes instructions for implementing various aspects of the functions/acts recited in one or more of the flowcharts.
  • the computer readable program instructions can also be loaded onto a computer, other programmable data processing device, or other device to perform a series of operational steps on a computer, other programmable data processing device or other device to produce a computer-implemented process.
  • instructions executed on a computer, other programmable data processing apparatus, or other device implement the functions/acts recited in one or more of the flowcharts and/or block diagrams.
  • each block in the flowchart or block diagram can represent a module, a program segment, or a portion of an instruction that includes one or more components for implementing the specified logical functions.
  • Executable instructions can also occur in a different order than those illustrated in the drawings. For example, two consecutive blocks may be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or action. Or it can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are equivalent.

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Navigation (AREA)
  • Traffic Control Systems (AREA)

Abstract

A ridesharing route planning method, a client, a server and a system. The method comprises: obtaining traffic geographic information and travel parameters of each ridesharing passenger (S2100); selecting corresponding candidate start points according to departure locations of the plurality of ridesharing passengers, and obtaining a candidate start point set comprising the plurality of candidate start points (S2200); constructing a plurality of candidate ridesharing routes according to the traffic geographic information, the travel parameters of the ridesharing passengers and the candidate start point set, and calculating a travel cost of each candidate ridesharing route (S2300); selecting the candidate ridesharing route having the lowest travel cost as a ridesharing route, providing the corresponding ridesharing route to the plurality of ridesharing passengers, and triggering each ridesharing passenger to participate in ridesharing travel via a ridesharing communication device (S2400). The present invention minimises the travel costs for all the ridesharing passengers, and increases the ridesharing travel efficiency.

Description

共乘路线的规划方法、客户端、服务器及系统Planning method, client, server and system for shared route 技术领域Technical field
本发明涉及交通规划技术领域,更具体地,涉及一种共乘路线的规划方法、设备及系统。The present invention relates to the field of traffic planning technology, and more particularly to a method, device and system for planning a shared route.
背景技术Background technique
随着互联网技术的发展,人们的出行方式日趋增多,例如可以通过相关的车辆服务应用,通过互联网实时呼叫或者预约车辆出行,例如呼叫专车、快车、出租车、小巴等。With the development of Internet technology, people's travel modes are increasing. For example, through related vehicle service applications, real-time calls or reservations for vehicles can be made through the Internet, such as calling a private car, express train, taxi, minibus, and the like.
但是,在人们通过专车、快车等方式出行时,通常都是选择在自身当前的地点为上车点,等待接单的车辆到来接送。但是由于用户的上车点选择具有随意性,在路况不佳的区域或者交通高峰时期,车辆为了达到用户上车点,很容易因为一个转弯或者掉头,就陷入拥堵状态,耗费较长时间才能到达上车点,导致用户等车时间较长,十分影响用户体验。同时,司机接单的效率也较低。However, when people travel by car, express train, etc., they usually choose to pick up the car at their current location and wait for the vehicle to pick up. However, due to the randomness of the user's pick-up point, in the area with poor road conditions or during the peak traffic period, in order to reach the user's boarding point, the vehicle is easily caught in a congested state due to a turn or a U-turn, and it takes a long time to arrive. On the train, the user waits for a longer time, which greatly affects the user experience. At the same time, the driver's order is also less efficient.
因此,发明人认为,有必要针对上述现有技术中存在的问题进行改进。Therefore, the inventors believe that it is necessary to improve the problems existing in the above prior art.
发明内容Summary of the invention
本发明的一个目的是提供一种用于规划共乘路线的新技术方案。It is an object of the present invention to provide a new technical solution for planning a shared route.
根据本发明的第一方面,提供了一种共乘路线的规划方法,用于为通过共乘交通设备出行的多个共乘人员规划共乘路线,包括:According to a first aspect of the present invention, a method for planning a shared route is provided for planning a shared route for a plurality of commutators traveling through a shared transportation device, including:
获取交通地理信息以及每个所述共乘人员的出行参数,Obtaining traffic geographic information and travel parameters of each of the commutators
其中,所述交通地理信息至少包括交通地图,所述出行参数至少包括所述共乘人员的共乘身份、出发地、目的地;The traffic geographic information includes at least a traffic map, and the travel parameters include at least a shared identity, a departure place, and a destination of the shared passenger;
根据所述多个共乘人员的出发地,选择对应的候选起点,得到包括多 个所述候选起点的候选起点集,Selecting a corresponding candidate starting point according to the departure place of the plurality of co-occupants, and obtaining a candidate starting point set including a plurality of the candidate starting points,
其中,所述候选起点是部分或全部所述共乘人员集合进入所述共乘交通设备的候选地点;Wherein the candidate starting point is a candidate location where some or all of the co-occupant personnel gather into the shared transportation device;
根据所述交通地理信息、所述共乘人员的出行参数以及所述候选起点集,构建多条候选共乘路线,并计算获取每条所述候选共乘路线的出行成本,Determining a plurality of candidate co-multiplication routes according to the traffic geographic information, the travel parameters of the co-occupant, and the candidate starting point set, and calculating a travel cost for acquiring each of the candidate co-multiplied routes,
其中,所述候选共乘路线包括每个所述共乘人员的共乘起点、目的地、共乘方式,所述共乘起点是所述候选起点集中的一个所述共乘起点,所述共乘方式至少包括所述共乘人员从对应的出发地到达所述共乘起点的出行方式;所述出行方式至少包括乘坐所述共乘交通设备、自行车骑行、步行;所述出行成本至少包括出行距离、出行时间、出行费用其中之一;Wherein the candidate sharing route includes a common starting point, a destination, and a sharing mode of each of the common passengers, and the sharing starting point is one of the sharing starting points in the candidate starting point set, the total The multiplication mode includes at least a mode of travel of the co-occupant from the corresponding departure place to the common start point; the travel mode includes at least the ride of the shared transportation device, bicycle riding, and walking; the travel cost includes at least One of travel distance, travel time, and travel expenses;
选择出行成本最小的所述候选共乘路线作为共乘路线,并将所述共乘路线提供给所述多个共乘人员,触发每个所述共乘人员通过所述共乘交通设备共乘出行。Selecting the candidate shared route with the lowest travel cost as a common route, and providing the shared route to the plurality of riders, triggering each of the riders to share by the shared transport device Travel.
可选地,所述根据所述多个共乘人员的出发地,选择对应的候选起点的步骤,包括:Optionally, the step of selecting a corresponding candidate starting point according to the departure place of the multiple occupants includes:
以每个共乘人员的出发地为中心,以预设的地理半径划分得到对应的候选起点区域;Centering on the departure place of each commune person, the corresponding candidate starting point area is obtained by a predetermined geographical radius;
在每个所述候选起点区域中,选择至少一个允许所述共乘交通设备停靠的地点作为候选起点,得到多个所述候选起点,以生成所述候选起点集合。In each of the candidate starting point regions, at least one location that allows the shared transportation device to be docked is selected as a candidate starting point, and a plurality of the candidate starting points are obtained to generate the candidate starting point set.
可选地,所述构建多条候选共乘路线的步骤包括:Optionally, the step of constructing multiple candidate sharing routes includes:
分别对每个所述候选起点,根据所述多个共乘人员的目的地以及所述候选起点集中的其他所述候选起点,构建多条具有不同路径次序的候选路径序列;Constructing, for each of the candidate starting points, a plurality of candidate path sequences having different path orders according to destinations of the plurality of co-occupant personnel and other candidate starting points in the candidate starting point set;
分别对每个所述候选路径序列,根据所述交通地理信息,获取对应的所述候选共乘路线。For each of the candidate path sequences, the corresponding candidate sharing route is obtained according to the traffic geographic information.
可选地,所述计算获取每条所述候选共乘路线的出行成本的步骤包括:Optionally, the step of calculating the travel cost of each of the candidate shared route includes:
分别对每个所述共乘人员,根据对应的出行参数以及所述交通地理信息,计算得到在该候选共乘路线下的最小出行成本以及对应的所述共乘方式;Calculating, according to the corresponding travel parameters and the traffic geographic information, a minimum travel cost under the candidate shared route and the corresponding sharing mode for each of the co-occupant personnel;
根据全部所述共乘人员在该候选共乘路线下的最小出行成本,计算得到该候选共乘路线的出行成本。The travel cost of the candidate shared route is calculated according to the minimum travel cost of all the passengers under the candidate shared route.
可选地,所述方法中,Optionally, in the method,
在所述构建候选共乘路线步骤之前,还包括:Before the step of constructing the candidate sharing route, the method further includes:
根据所述多个共乘人员的目的地,生成对应的候选终点集,Generating a corresponding candidate endpoint set according to the destinations of the plurality of co-occupants
其中,所述候选终点是至少一个共乘人员离开所述共乘交通设备的候选地点;Wherein the candidate end point is a candidate location where at least one co-occupant person leaves the shared transportation device;
所述构建所述候选共乘路线计算每条所述候选共乘路线的出行成本的步骤包括:The step of constructing the candidate common-share route to calculate the travel cost of each of the candidate shared route includes:
根据所述交通地理信息、所述共乘人员的出行参数、所述候选起点集以及所述候选终点集,构建多条候选共乘路线,并计算获取每条所述候选共乘路线的出行成本;Determining a plurality of candidate co-multiplying routes according to the traffic geographic information, the travel parameters of the co-occupant, the candidate starting point set, and the candidate end point set, and calculating a travel cost for obtaining each of the candidate co-multiplied routes ;
其中,所述候选共乘路线包括每个所述共乘人员的共乘起点、共乘终点、共乘方式,所述共乘方式还包括所述共乘人员从对应的共乘终点到达所述目的地的出行方式。Wherein the candidate sharing route includes a common starting point, a common end point, and a sharing mode of each of the common passengers, and the sharing mode further includes that the common passenger arrives from the corresponding sharing terminal The way the destination travels.
可选地,所述生成候选终点集的步骤包括:Optionally, the step of generating a candidate endpoint set includes:
以每个共乘人员的目的地为中心,以预设的地理半径划分得到对应的候选终点区域;Centering on the destination of each commune person, the corresponding candidate end point area is obtained by a predetermined geographic radius;
在每个所述候选终点区域中选择至少一个允许所述共乘交通设备停靠的地点作为候选终点,得到多个所述候选终点,以生成所述候选终点集。Selecting at least one location in the candidate end point region that allows the shared traffic device to be docked as a candidate endpoint, and obtaining a plurality of the candidate endpoints to generate the candidate endpoint set.
可选地,所述构建多条候选共乘路线的步骤包括:Optionally, the step of constructing multiple candidate sharing routes includes:
分别对每个所述候选起点,根据所述候选集中的其他所述候选起点以及所述候选终点集,构建多条具有不同路径次序的候选路径序列;Constructing, for each of the candidate starting points, a plurality of candidate path sequences having different path orders according to the other candidate starting points in the candidate set and the candidate end point set;
分别对每个所述候选路径序列,根据所述交通地图,获取对应的所述候选共乘路线。For each of the candidate path sequences, the corresponding candidate sharing route is obtained according to the traffic map.
可选地,所述计算获取每条所述候选共乘路线的出行成本的步骤包 括:Optionally, the step of calculating the travel cost of each of the candidate shared route routes comprises:
分别对每个所述共乘人员,根据对应的出行参数以及所述交通地理信息,计算得到在该候选共乘路线下的最小出行成本以及对应的所述共乘方式,Calculating, according to the corresponding travel parameters and the traffic geographic information, a minimum travel cost under the candidate shared route and the corresponding sharing mode, respectively, for each of the co-occupant personnel,
根据全部所述共乘人员在该候选共乘路线下的最小出行成本,计算得到该候选共乘路线的出行成本。The travel cost of the candidate shared route is calculated according to the minimum travel cost of all the passengers under the candidate shared route.
可选地,Optionally,
所述交通地理信息还包括共享自行车的地理分布,所述共享自行车的地理分布包括所述共享自行车的停靠点以及可用数量;The traffic geographic information also includes a geographical distribution of shared bicycles, the geographic distribution of the shared bicycles including stops and available numbers of the shared bicycles;
和/或and / or
当所述共乘人员被触发通过自行车骑行从对应的所述出发地到达所述共乘起点,或者被触发通过自行车骑行从所述共乘终点达到对应的所述目的地时,为所述共乘人员提供共享自行车预约服务。When the co-occupant is triggered to reach the common riding starting point from the corresponding starting place by bicycle riding, or triggered to reach the corresponding destination from the sharing end point by bicycle riding, The shared passengers provide a shared bicycle reservation service.
可选地,Optionally,
所述交通地理信息还包括历史交通数据,所述历史交通数据包括历史拥堵数据、历史共乘热点数据其中之一;The traffic geographic information further includes historical traffic data, and the historical traffic data includes one of historical congestion data and historical shared hotspot data;
和/或and / or
所述共乘人员的出行参数还包括所述共乘人员的历史出行信息,所述历史出行信息至少包括在历史共乘方式、历史时速信息其中之一。The travel parameters of the co-occupant personnel further include historical travel information of the co-occupant, and the historical travel information includes at least one of historical share-sharing mode and historical time-speed information.
根据本发明的第二方面,提供一种共乘路线的规划方法,用于为通过共乘交通设备出行的多个共乘人员规划共乘路线,包括:According to a second aspect of the present invention, a method for planning a common route is provided for planning a shared route for a plurality of commutators traveling through a shared transportation device, including:
提供出行参数输入界面,供用户实施输入操作以获取对应的所述出行参数,Providing a travel parameter input interface for the user to perform an input operation to obtain the corresponding travel parameter,
其中,所述出行参数至少包括所述用户的共乘身份、出发地、目的地;The travel parameter includes at least a shared identity, a departure place, and a destination of the user;
提供共乘路线展示界面,供用户通过界面展示获取对应的共乘路线,Provide a shared route display interface for the user to obtain the corresponding shared route through the interface display.
其中,所述共乘路线根据如本发明的第一方面提供的任意一项所述的方法获得,所述共乘路线至少包括对应的共乘起点以及共乘方式,所述共乘方式中至少包括从对应的出行地到达所述共乘起点的出行方式;所述出行方式至少包括乘坐所述共乘交通设备、自行车骑行、步行;所述出行成 本至少包括出行距离、出行时间、出行费用其中之一。Wherein the common multiplication route is obtained according to the method according to any one of the first aspects of the present invention, wherein the common route includes at least a corresponding sharing start point and a common multiplication mode, and at least the common multiplication mode The method includes the travel mode from the corresponding travel destination to the common start point; the travel mode includes at least the ride of the shared transportation device, bicycle riding, and walking; the travel cost includes at least a travel distance, a travel time, and a travel fee. one of them.
根据本发明的第三方面,提供一种服务器,用于为通过共乘交通设备出行的多个共乘人员规划共乘路线,包括:According to a third aspect of the present invention, a server is provided for planning a shared route for a plurality of occupants traveling through a shared transportation device, including:
存储器,用于存储可执行的指令;a memory for storing executable instructions;
处理器,用于根据所述指令的控制,运行所述服务器以执行如本发明第一方面提供的任意一项所述的共乘路线规划方法。a processor for operating the server to perform a method of a common route planning according to any one of the first aspects of the present invention, in accordance with control of the instructions.
根据本发明的第四方面,提供一种客户端,,用于为通过共乘交通设备出行的多个共乘人员规划共乘路线,包括:According to a fourth aspect of the present invention, a client is provided for planning a shared route for a plurality of accommodating persons traveling through a shared transportation device, including:
存储器,用于存储可执行的指令;a memory for storing executable instructions;
处理器,用于根据所述指令的控制,运行所述客户端执行如本发明第二方面的共乘路线规划方法。And a processor, configured to execute the shared-party route planning method according to the second aspect of the present invention according to the control of the instruction.
根据本发明的第五方面,提供一种共乘路线的规划系统,用于为通过共乘交通设备出行的多个共乘人员规划共乘路线,包括:According to a fifth aspect of the present invention, a planning system for a shared route is provided for planning a shared route for a plurality of occupants traveling through a shared transportation device, including:
至少一个如本发明第三方面的服务器;At least one server as in the third aspect of the invention;
多个如本发明第四方面的客户端。A plurality of clients as in the fourth aspect of the invention.
根据本发明的一个实施例,可以将出行成本最小的共乘路线提供给共乘人员,使得共乘人员都以对应的出行方式到达共乘路线对应的共乘起点开始共乘出行,实现出行成本最小,提升共乘出行的效率。According to an embodiment of the present invention, the commuting route with the smallest travel cost can be provided to the co-occupant, so that the co-occupant can start the communal travel by the corresponding travel mode to the common start point corresponding to the common route, and realize the travel cost. Minimal, improve the efficiency of shared travel.
通过以下参照附图对本发明的示例性实施例的详细描述,本发明的其它特征及其优点将会变得清楚。Other features and advantages of the present invention will become apparent from the Detailed Description of the <RTIgt;
附图说明DRAWINGS
被结合在说明书中并构成说明书的一部分的附图示出了本发明的实施例,并且连同其说明一起用于解释本发明的原理。The accompanying drawings, which are incorporated in FIG
图1是显示可用于实现本发明的实施例的系统的硬件配置的例子的框图。1 is a block diagram showing an example of a hardware configuration of a system that can be used to implement an embodiment of the present invention.
图2示出了本发明第一实施例的共乘路线的规划方法的流程图。Fig. 2 is a flow chart showing a method of planning a common route according to the first embodiment of the present invention.
图3示出了本发明第一实施例的获取候选起点集的流程图。Fig. 3 is a flow chart showing the acquisition of a candidate starting point set in the first embodiment of the present invention.
图4示出了本发明第一实施例的构建候选共乘路线的流程图。Fig. 4 is a flow chart showing the construction of a candidate sharing route in the first embodiment of the present invention.
图5示出了本发明第一实施例的计算获取每条所述候选共乘路线的出行成本的流程图。FIG. 5 is a flow chart showing the calculation of the travel cost of each of the candidate common-sharing routes in the first embodiment of the present invention.
图6示出了本发明第一实施例的共乘路线的规划方法的又一个流程图。Fig. 6 is still another flow chart showing the method of planning the common route according to the first embodiment of the present invention.
图7是本发明第一实施例的共乘路线的规划方法的例子的示意图。Fig. 7 is a schematic diagram showing an example of a method of planning a common route according to the first embodiment of the present invention.
图8是本发明第一实施例的服务器的示意性框图。Figure 8 is a schematic block diagram of a server in accordance with a first embodiment of the present invention.
图9是本发明第二实施例的共乘路线的规划方法的流程图。Figure 9 is a flow chart showing a method of planning a common route according to a second embodiment of the present invention.
图10是本发明第二实施例的客户端的示意性框图。Figure 10 is a schematic block diagram of a client of a second embodiment of the present invention.
图11是本发明第三实施例的共乘路线的规划系统的示意性框图。Figure 11 is a schematic block diagram of a planning system of a shared route according to a third embodiment of the present invention.
具体实施方式Detailed ways
现在将参照附图来详细描述本发明的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本发明的范围。Various exemplary embodiments of the present invention will now be described in detail with reference to the drawings. It should be noted that the relative arrangement of the components and steps, numerical expressions and numerical values set forth in the embodiments are not intended to limit the scope of the invention unless otherwise specified.
以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本发明及其应用或使用的任何限制。The following description of the at least one exemplary embodiment is merely illustrative and is in no way
对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。Techniques, methods and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail, but the techniques, methods and apparatus should be considered as part of the specification, where appropriate.
在这里示出和讨论的所有例子中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它例子可以具有不同的值。In all of the examples shown and discussed herein, any specific values are to be construed as illustrative only and not as a limitation. Thus, other examples of the exemplary embodiments may have different values.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that similar reference numerals and letters indicate similar items in the following figures, and therefore, once an item is defined in one figure, it is not required to be further discussed in the subsequent figures.
<硬件配置><Hardware Configuration>
如图1所示,系统1000包括服务器1100、客户端1200以及网络1300。As shown in FIG. 1, system 1000 includes a server 1100, a client 1200, and a network 1300.
服务器1100是提供处理、数据库、通讯设施的业务点,可以是整体 式服务器或是跨多计算机或计算机数据中心的分散式服务器。其类型可以单不限于网络服务器,新闻服务器,邮件服务器,消息服务器,广告服务器,文件服务器,应用服务器,交互服务器,数据库服务器,或代理服务器。在一些实施例中,每个服务器可以包括硬件,软件,或用于执行服务器所支持或实现的合适功能的内嵌逻辑组件或两个或多个此类组件的组合。例如,服务器例如刀片服务器、云端服务器等,或者可以是由多台服务器组成的服务器群组,可以包括上述类型的服务器中的一种或多种等等。The server 1100 is a service point that provides processing, database, and communication facilities, and may be an integral server or a distributed server that spans multiple computers or computer data centers. The type may be limited to a web server, a news server, a mail server, a message server, an advertisement server, a file server, an application server, an interactive server, a database server, or a proxy server. In some embodiments, each server may comprise hardware, software, or an embedded logic component or a combination of two or more such components for performing the appropriate functions supported or implemented by the server. For example, a server such as a blade server, a cloud server, or the like, or may be a server group composed of a plurality of servers, may include one or more of the above types of servers, and the like.
在一个例子中,服务器1100可以是一台计算机。在在另一个例子中,服务器1100可以如图1所示,包括处理器1110、存储器1120、接口装置1130、通信装置1140、显示装置1150、输入装置1160。尽管服务器也可以包括扬声器、麦克风等等,但是,这些部件与本发明无关,故在此省略。In one example, server 1100 can be a computer. In another example, the server 1100 can include a processor 1110, a memory 1120, an interface device 1130, a communication device 1140, a display device 1150, and an input device 1160, as shown in FIG. Although the server may also include a speaker, a microphone, etc., these components are not relevant to the present invention and are therefore omitted herein.
其中,处理器1110例如可以是中央处理器CPU、微处理器MCU等。存储器1120例如包括ROM(只读存储器)、RAM(随机存取存储器)、诸如硬盘的非易失性存储器等。接口装置1130例如包括USB接口、串行接口等。通信装置1140例如能够进行有线或无线通信。显示装置1150例如是液晶显示屏。输入装置1160例如可以包括触摸屏、键盘等。The processor 1110 may be, for example, a central processing unit CPU, a microprocessor MCU, or the like. The memory 1120 includes, for example, a ROM (Read Only Memory), a RAM (Random Access Memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1130 includes, for example, a USB interface, a serial interface, and the like. The communication device 1140 can perform, for example, wired or wireless communication. The display device 1150 is, for example, a liquid crystal display. Input device 1160 can include, for example, a touch screen, a keyboard, and the like.
客户端1200是具有通信功能、业务处理功能的电子设备。客户端1200可以是移动终端,例如手机、便携式电脑、平板电脑、掌上电脑等等。在一个例子中,客户端1200是安装有提供交通设备共乘服务的应用(APP),可以支持有共乘出行需求的用户获取符合需求的共乘路线,根据所述共乘路线的指示,通过如步行、自行车骑行、驾驶或乘坐共乘交通设备集合后开始共乘出行,共乘交通设备是可以提供多个用户共乘出行的交通设备,例如提供专车服务、快车服务或顺风车服务的机动车辆、私家机动车辆、分时租赁驾驶出行的机动车辆、提供运营服务的机动车辆等,该机动车辆可以是二座以上的小型车、小巴车、大巴车、旅游车等。The client 1200 is an electronic device having a communication function and a service processing function. The client 1200 can be a mobile terminal such as a cell phone, a laptop, a tablet, a palmtop, and the like. In one example, the client 1200 is installed with an application (APP) that provides a transportation device sharing service, and can support a user having a shared travel demand to obtain a shared route that meets the demand, and according to the indication of the shared route, If you are walking, cycling, driving, or riding a shared transportation device, you can start a commuter trip. The shared transportation equipment is a transportation device that can provide multiple users to travel together, such as providing a private car service, an express service, or a shuttle service. Motor vehicles, private motor vehicles, motor vehicles that drive and travel on time, motor vehicles that provide operational services, etc., which may be two or more small cars, minibuses, buses, coaches, and the like.
如图1所示,客户端1200可以包括处理器1210、存储器1220、接口装置1230、通信装置1240、显示装置1250、输入装置1260、扬声器1270、麦克风1280,等等。其中,处理器1210可以是中央处理器CPU、微处理器MCU等。存储器1220例如包括ROM(只读存储器)、RAM(随机存取存储器)、 诸如硬盘的非易失性存储器等。接口装置1230例如包括USB接口、耳机接口等。通信装置1240例如能够进行有线或无线通信。显示装置1250例如是液晶显示屏、触摸显示屏等。输入装置1260例如可以包括触摸屏、键盘等。用户可以通过扬声器1270和麦克风1280输入/输出语音信息。As shown in FIG. 1, client 1200 can include processor 1210, memory 1220, interface device 1230, communication device 1240, display device 1250, input device 1260, speaker 1270, microphone 1280, and the like. The processor 1210 may be a central processing unit CPU, a microprocessor MCU, or the like. The memory 1220 includes, for example, a ROM (Read Only Memory), a RAM (Random Access Memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1230 includes, for example, a USB interface, a headphone jack, and the like. The communication device 1240 can, for example, perform wired or wireless communication. The display device 1250 is, for example, a liquid crystal display, a touch display, or the like. Input device 1260 can include, for example, a touch screen, a keyboard, and the like. The user can input/output voice information through the speaker 1270 and the microphone 1280.
通信网络1300可以是无线网络也可以网络,可以是局域网也可以是广域网。在图1所示的系统1000中,客户端1200-1、1200-2、1200-3、1200-4以及网页服务器1100可以通过通信网络1300进行通信。The communication network 1300 can be a wireless network or a network, and can be a local area network or a wide area network. In the system 1000 shown in FIG. 1, clients 1200-1, 1200-2, 1200-3, 1200-4, and web server 1100 can communicate over communication network 1300.
图1所示的系统1000仅是解释性的,并且决不是为了要限制本发明、其应用或用途。The system 1000 illustrated in Figure 1 is merely illustrative and is in no way intended to limit the invention, its application or use.
应用于本发明的实施例中,服务器1100的所述存储器1120用于存储可执行的指令,所述处理器1110用于根据所述指令的控制,运行所述服务器1100,以执行本发明实施例中提供的任意一项共乘路线的规划方法。In an embodiment of the present invention, the memory 1120 of the server 1100 is configured to store executable instructions, and the processor 1110 is configured to run the server 1100 according to the control of the instructions to perform an embodiment of the present invention. Planning method for any of the shared routes provided.
客户端1200的所述存储器1220用于存储可执行的指令,所述处理器1210用于根据所述指令的控制,运行所述客户端1200,以执行本发明实施例提供的任意一项共乘路线的规划方法。The memory 1220 of the client 1200 is configured to store executable instructions, and the processor 1210 is configured to run the client 1200 according to the control of the instruction to perform any one of the sharing provided by the embodiment of the present invention. The planning method of the route.
本领域技术人员应当理解,尽管在图1中对服务器1100以及客户端1200都示出了多个装置,但是,本发明可以仅涉及其中的部分装置,例如,服务器1100只涉及处理器1110和存储器1120,或者客户端1200只涉及处理器1210和存储器1220等。技术人员可以根据本发明所公开方案设计指令。指令如何控制处理器进行操作,这是本领域公知,故在此不再详细描述。It should be understood by those skilled in the art that although a plurality of devices are shown for both the server 1100 and the client 1200 in FIG. 1, the present invention may only cover some of the devices, for example, the server 1100 only relates to the processor 1110 and the memory. 1120, or client 1200 only relates to processor 1210 and memory 1220, and the like. A technician can design instructions in accordance with the disclosed aspects of the present invention. How the instructions control the processor for operation is well known in the art and will not be described in detail herein.
<第一实施例><First Embodiment>
<方法><method>
在本实施例中,提供一种共乘路线的规划方法,用于为通过共乘交通设备出行的多个共乘人员规划共乘路线。In the present embodiment, a method for planning a common route is provided for planning a shared route for a plurality of commutators traveling through a shared transportation device.
共乘交通设备是可以提供多个用户共乘出行的交通设备。例如,可以是提供专车服务、快车服务或顺风车服务的机动车辆、私家机动车辆、分时租赁驾驶出行的机动车辆、提供运营服务的激动车辆等,该机动车辆可 以是二座以上的小型车、小巴车、大巴车、旅游车等。A shared transportation device is a transportation device that can provide multiple users to travel together. For example, it may be a motor vehicle that provides a car service, an express service or a shuttle service, a private motor vehicle, a motor vehicle that travels in a time-sharing manner, an agitation vehicle that provides an operation service, etc., and the motor vehicle may be a small car of two or more. , minibuses, buses, coaches, etc.
共乘人员包括驾驶共乘交通设备的司机、搭乘共乘交通设备的乘客。Co-occupants include drivers who drive shared transportation equipment and passengers who take public transportation equipment.
该共乘路线的规划方法,如图2所示,包括:步骤S2100-S2400。The planning method of the shared route, as shown in FIG. 2, includes: steps S2100-S2400.
步骤S2100,获取交通地理信息以及每个所述共乘人员的出行参数,Step S2100: Obtain traffic geographic information and travel parameters of each of the common passengers,
其中,所述交通地理信息至少包括交通地图,所述出行参数至少包括所述共乘人员的共乘身份、出发地、目的地。The traffic geographic information includes at least a traffic map, and the travel parameters include at least a shared identity, a departure place, and a destination of the shared passenger.
所述交通地图包括覆盖对应出行区域的地图,可以是预先存储在实施本实施例的设备本地存储中,也可以通过现有的地图应用提供的接口进行调用获取对应提供的地图,还可以获取不同出行方式下的路线组合、实时路况信息等,该出行方式包括乘坐公共交通、自行车骑行、步行、自驾出行等。The traffic map includes a map that covers the corresponding travel area, and may be pre-stored in the local storage of the device that implements the embodiment, or may be invoked through an interface provided by an existing map application to obtain a correspondingly provided map, and may also acquire different The route combination and real-time road condition information under the travel mode include public transportation, bicycle riding, walking, self-driving travel, etc.
所述交通地理信息还可以包括历史交通数据,所述历史交通数据包括历史拥堵数据、历史共乘热点数据其中之一。所述历史拥堵数据是根据历史数据统计的所述交通地图上可出行的交通路线的每个时段的拥堵状态的数据;所述历史共乘热点数据是根据历史数据统计的作为共乘起点或者共乘终点的共乘热点的地理位置的数据,共乘热点可以是某个地铁站口、停车场、公交站、自行车停靠点、出租车候车点、便于等车的路口等,该历史共乘热点数据可以包括共乘热点的唯一名称信息、地理坐标数据或者地理标识等。The traffic geographic information may further include historical traffic data including one of historical congestion data and historical shared hotspot data. The historical congestion data is data of a congestion state of each time period of a traffic route that can be traveled on the traffic map according to historical data; the historical shared hotspot data is a shared starting point or a total of statistics according to historical data. By taking the data of the geographic location of the shared hotspot at the end point, the shared hotspot may be a subway station, a parking lot, a bus stop, a bicycle stop, a taxi waiting point, an intersection of a convenient car, etc., the historical shared hotspot. The data may include unique name information, geographic coordinate data, or geographic identification, etc. of the shared hotspot.
在一个例子中,所述交通地理信息还包括共享自行车的地理分布,所述共享自行车的地理分布包括所述共享自行车的停靠点以及可用数量。In one example, the traffic geographic information further includes a geographic distribution of shared bicycles, the geographic distribution of the shared bicycles including stops and available numbers of the shared bicycles.
所述共享自行车是可以提供分时租赁骑行服务的自行车,包括人力自行车、助力自行车、电动自行车等。The shared bicycle is a bicycle that can provide a time-sharing rental service, including a human bicycle, a power bicycle, an electric bicycle, and the like.
所述出行参数是对应的共乘人员在通过所述共乘交通设备出行的相关参数信息。The travel parameter is related parameter information of a corresponding commutator in traveling through the shared transportation device.
所述共乘人员的共乘身份包括驾驶共乘交通设备的司机、搭乘共乘交通设备的乘客。The shared identity of the co-occupant includes a driver driving a shared transportation device and a passenger riding a shared transportation device.
所述出发地、目的地可以是对应的地理位置的唯一名称信息、唯一标识或者地理位置坐标数据。The origin and destination may be unique name information, unique identifiers or geographical location coordinate data of the corresponding geographical location.
在一个例子中,所述出行参数还可以包括对应的工程人员的历史出行信息,该历史出行信息至少包括历史共乘方式、历史时速信息其中之一,该历史共乘方式是共乘人员在过去共乘时选择的共乘方式,包括乘客历史共乘时通过步行方式或者自行车骑行方式到达共乘起点;历史时速信息是共乘人员在过去共乘时的时速信息,可以是司机驾驶共乘交通设备的历史平均时速以及乘客步行或者自行车骑行时历史平均时速。In an example, the travel parameter may further include historical travel information of the corresponding engineering personnel, and the historical travel information includes at least one of historical sharing mode and historical speed information, and the historical sharing method is that the commuting personnel are in the past The sharing method selected during the sharing, including the passengers' historical sharing, arrives at the sharing start point by walking or bicycle riding; the historical speed information is the speed information of the commuting passengers in the past, which may be the driver driving sharing The historical average speed of traffic equipment and the historical average speed of passengers walking or cycling.
在本实施例中,可以通过面向共乘人员的客户端提供人机交互界面,供用户输入对应作为共乘人员时的共乘参数,以此获取共乘参数。In this embodiment, the human-machine interaction interface may be provided by the client facing the co-occupant, and the user may input the co-multiplying parameter corresponding to the co-occupant, thereby obtaining the multi-shared parameter.
步骤S2200,根据所述多个共乘人员的出发地,选择对应的候选起点,得到包括多个所述候选起点的候选起点集,Step S2200: Select a candidate starting point according to a departure place of the plurality of co-occupants, and obtain a candidate starting point set including a plurality of the candidate starting points.
其中,所述候选起点是部分或全部所述共乘人员集合进入所述共乘交通设备的候选地点。The candidate starting point is a candidate location where some or all of the co-occupant personnel gather into the shared transportation device.
具体地,所述步骤S2200可以如图3所示,包括:Specifically, the step S2200 can be as shown in FIG. 3, and includes:
步骤S2201,以每个共乘人员的出发地为中心,以预设的地理半径划分得到对应的候选起点区域。Step S2201: centering on the departure place of each commune person, and dividing the corresponding candidate starting point area by a predetermined geographic radius.
所述预设的地理半径可以根据具体的应用场景或者工程经验设置。划分得到的候选起点区域,是由距离对应的出发地在预设的地理半径内的地点构成。The preset geographic radius may be set according to a specific application scenario or engineering experience. The candidate starting point area obtained by the division is composed of a location within the preset geographical radius of the corresponding starting point.
在一个例子中,还可以根据所述交通地理信息在划分的候选起点区域中滤除不适当的候选起点区域,例如,人流密集不适合交通共乘设备的停靠的区域,或者不适合所述共乘人员通过自行车骑行、步行等方式到达的区域;或者,可以根据所述交通地理信息在划分的候选起点区域中,只保留与历史共乘热点数据相关的候选起点区域,例如,包括地铁站口、停车场、公交站、自行车停靠点、出租车候车点、便于等车的路口的候选起点区域。In an example, an inappropriate candidate starting point area may also be filtered out in the divided candidate starting area according to the traffic geographic information, for example, a crowded area that is not suitable for the traffic sharing device, or is not suitable for the total An area where the person arrives by bicycle riding, walking, or the like; or, in the divided candidate starting area, according to the traffic geographic information, only the candidate starting area related to the historical shared hotspot data is retained, for example, including the subway station Candidates, parking lots, bus stops, bicycle stops, taxi waiting points, candidate starting areas for easy intersections.
步骤S2202,在每个所述候选起点区域中,选择至少一个允许所述共乘交通设备停靠的地点作为候选起点,得到多个所述候选起点,以生成所述候选起点集合。Step S2202: In each of the candidate starting point regions, selecting at least one location that allows the shared transportation device to stop as a candidate starting point, and obtaining a plurality of the candidate starting points to generate the candidate starting point set.
具体地,可以根据所述交通地理信息中包括的历史共乘热点数据,选 择所述候选起点区域中的共乘热点作为候选起点,例如,地铁站口、停车场、公交站、自行车停靠点、出租车候车点、便于等车的路口等。或者,还可以根据应用场景选择,例如,可以选择候选起点区域中的共享自行车的可用数量大于预设数量的自行车停靠点附近、可以停靠共乘交通设备的地点,该预设数量可以根据实际应用需求设置。Specifically, the shared hotspot in the candidate starting area may be selected as a candidate starting point according to historical shared hotspot data included in the traffic geographic information, for example, a subway station, a parking lot, a bus stop, a bicycle stop, Taxi waiting point, easy intersection, etc. Alternatively, the application may be selected according to an application scenario. For example, the available number of shared bicycles in the candidate starting area may be greater than a preset number of bicycle stops, and the location of the shared transportation device may be docked. Demand settings.
在实际应用中,每个共乘人员的出发地的分布具有随意性,不同的候选起点区域之间可能存在部分的地理位置交叠,在不同的候选起点区域中选择的得到所述候选起点,可能存在重复。该重复可能是多个候选地点的地理位置完全相同,也可能是候选地点的距离较近,例如,距离在预设的较小的距离范围内。应当理解的是,得到候选起点集中包含的多个所述候选起点,是滤除重复的候选起点,是具有不同地理位置的候选起点。In practical applications, the distribution of the departure place of each commutator is arbitrary, and there may be partial geographic overlap between different candidate starting areas, and the candidate starting point is selected in different candidate starting areas. There may be duplicates. The repetition may be that the geographic locations of the multiple candidate locations are identical, or the distances of the candidate locations may be relatively close, for example, the distance is within a preset smaller distance range. It should be understood that obtaining a plurality of the candidate starting points included in the candidate starting point set is a candidate starting point for filtering out repetitions, and is a candidate starting point having different geographical positions.
获取候选起点集后,可以以候选起点集中的候选起点作为共乘路线的共乘起点,构建对应的候选共乘路线,从中选择全体共乘人员的出行成本最小的共乘路线,使得部分或全部共乘人员都以对应的出行方式到达共乘路线的共乘起点开始共乘出行,降低因交通拥堵或路况不佳带来较高的集合共乘人员的时间成本(例如司机绕道、堵车等待的时间、乘客等待的时间等),实现出行成本最小,提升共乘出行的效率。After obtaining the candidate starting point set, the candidate starting point in the candidate starting point set may be used as the common starting point of the common riding route, and the corresponding candidate sharing route may be constructed, and the common traveling route with the smallest travel cost of the entire commune passenger may be selected, so that part or all Co-occupants use the corresponding travel mode to arrive at the commuting starting point of the shared route to start the multi-ride trip, reducing the time cost of the high-collecting crew due to traffic congestion or poor road conditions (such as driver detours, traffic jams waiting) Time, passenger waiting time, etc., to achieve the minimum travel costs, improve the efficiency of shared travel.
步骤S2300,根据所述交通地理信息、所述共乘人员的出行参数以及所述候选起点集,构建多条候选共乘路线,并计算获取每条所述候选共乘路线的出行成本,Step S2300, constructing a plurality of candidate sharing routes according to the traffic geographic information, the travel parameters of the common passenger, and the candidate starting point set, and calculating and obtaining the travel cost of each of the candidate shared route.
其中,所述候选共乘路线包括每个所述共乘人员的共乘起点、目的地、共乘方式,所述共乘起点是所述候选起点集中的一个所述共乘起点,所述共乘方式至少包括所述共乘人员从对应的出发地到达所述共乘起点的出行方式;所述出行方式至少包括乘坐所述共乘交通设备、自行车骑行、步行;所述出行成本至少包括出行距离、出行时间、出行费用其中之一。Wherein the candidate sharing route includes a common starting point, a destination, and a sharing mode of each of the common passengers, and the sharing starting point is one of the sharing starting points in the candidate starting point set, the total The multiplication mode includes at least a mode of travel of the co-occupant from the corresponding departure place to the common start point; the travel mode includes at least the ride of the shared transportation device, bicycle riding, and walking; the travel cost includes at least One of travel distance, travel time, and travel expenses.
具体地,所述构建多条候选共乘路线的步骤可以如图4所示,包括:Specifically, the step of constructing multiple candidate sharing routes may be as shown in FIG. 4, including:
步骤S2311,分别对每个所述候选起点,根据所述多个共乘人员的目的地以及所述候选起点集中的其他所述候选起点,构建多条具有不同路径次序的候选路径序列;Step S2311, for each of the candidate starting points, constructing a plurality of candidate path sequences having different path sequences according to destinations of the plurality of co-occupant personnel and other candidate starting points in the candidate starting point set;
步骤S2312,分别对每个所述候选路径序列,根据所述交通地理信息,获取对应的所述候选共乘路线。Step S2312: Acquire, for each of the candidate path sequences, the corresponding candidate sharing route according to the traffic geographic information.
例如,假设交通共乘设备是可以提供K+1位共乘人员共乘的车辆,包括司机D与K位乘客U k(k∈{1,2,3,...,K}),已知司机的出发地D_s,乘客的最初出发地U k_s(k∈{1,2,3,...,K})与乘客最终目的地U k_e(k∈{1,2,3,...,K}),得到的候选起点集为包括P个候选起点:Ps p(p∈{1,2,3,...,P}),可以得到不同路径次序的候选路径序列: For example, suppose the traffic sharing device is a vehicle that can provide K+1 passengers to share the vehicle, including the driver D and the K passenger U k (k∈{1, 2, 3,..., K}). Know the driver's departure point D_s, the passenger's initial departure point U k _s(k∈{1,2,3,...,K}) and the passenger's final destination U k _e(k∈{1,2,3, ..., K}), the obtained candidate starting point set includes P candidate starting points: Ps p (p ∈ {1, 2, 3, ..., P}), and candidate path sequences with different path order can be obtained:
{Ps 1,U 1_e,U 2_e,…,U K_e} {Ps 1 , U 1 _e, U 2 _e,..., U K _e}
{Ps 1,Ps 2,U 1_e,U 2_e,…,U K_e} {Ps 1 , Ps 2 , U 1 _e, U 2 _e,..., U K _e}
{Ps 1,Ps 2,Ps 3,U 1_e,U 2_e,…,U K_e} {Ps 1 , Ps 2 , Ps 3 , U 1 _e, U 2 _e,..., U K _e}
{Ps 1,…,Ps P,U 1_e,U 2_e,…,U K_e} {Ps 1 ,...,Ps P ,U 1 _e,U 2 _e,...,U K _e}
{Ps 1,…,Ps P,U 2_e,U 1_e,…,U K_e} {Ps 1 ,...,Ps P ,U 2 _e,U 1 _e,...,U K _e}
……......
{Ps 1,…,Ps P,U K_e,U K-1_e,…,U 1_e} {Ps 1 ,...,Ps P ,U K _e,U K-1 _e,...,U 1 _e}
{Ps 2,U 1_e,U 2_e,…,U K_e} {Ps 2 , U 1 _e, U 2 _e,..., U K _e}
{Ps 2,Ps 1,U 1_e,U 2_e,…,U K_e} {Ps 2 , Ps 1 , U 1 _e, U 2 _e,..., U K _e}
……......
{Ps P,…,Ps 1,U K_e,U 2_e,…,U 1_e} {Ps P ,...,Ps 1 ,U K _e,U 2 _e,...,U 1 _e}
从上述构建得到的候选路径序列中,可知一个候选路径序列可能包括多个候选起点,可以遍历覆盖实际应用中,一辆车辆会在多个共乘起点停留让出发地距离较远的共乘人员分别上车的情况。From the candidate path sequence obtained from the above construction, it can be known that a candidate path sequence may include a plurality of candidate starting points, which can traverse the coverage of the actual application, and a vehicle will stay at a plurality of sharing starting points to allow the passengers to be far away from the starting point. The situation of getting on the train separately.
在构建得到多条候选路径序列后,可以根据交通地理信息,获取对应的所述候选共乘路线。After constructing a plurality of candidate path sequences, the corresponding candidate sharing route may be obtained according to the traffic geographic information.
例如,根据交通地理信息中包括的交通地图,可以直接根据交通地图,得到每个候选路径序列中,对任意两个节点之间在交通地图存在多条可达路径分别选取最短路径(同时得到两个节点之间的路径距离),规划得到对应的候选共乘路线。For example, according to the traffic map included in the traffic geographic information, each candidate path sequence can be directly obtained according to the traffic map, and the shortest path is selected for each of the two nodes in the traffic map. The path distance between the nodes is planned, and the corresponding candidate sharing route is obtained.
以候选路径序列{Ps 1,U 1_e,U 2_e,…,U K_e}为例,可以根据交通地图,获取Ps 1与U 1_e之间、U 1_e与U 2_e、……U K-1_e与U K_e之间的最短路径(同时得到两个节点之间的路径距离),连接得到对应的候选共乘路线。 Taking the candidate path sequence {Ps 1 , U 1 _e, U 2 _e, ..., U K _e} as an example, it is possible to obtain between Ps 1 and U 1 _e, U 1 _e and U 2 _e, according to the traffic map. The shortest path between U K-1 _e and U K _e (the path distance between the two nodes is obtained at the same time), and the connection obtains the corresponding candidate sharing route.
应当理解的是,当所述交通地理信息包括多种信息时,可以根据多种 信息加权计算任意两个节点之间的可达路径的距离,来选取最短路径。例如包含交通地图、历史交通数据时,还可以对候选路径序列中任意两个节点的之间的多条可达路径分别根据对应的历史交通数据以加权系数加权(例如,拥堵程度高,加权系统大,使得路径距离变大),以选取综合实际路径距离和历史交通数据后得到的最短路径。It should be understood that when the traffic geographic information includes a plurality of types of information, the distance of the reachable path between any two nodes may be weighted according to various information to select the shortest path. For example, when the traffic map and the historical traffic data are included, the plurality of reachable paths between any two nodes in the candidate path sequence may be weighted by the weighting coefficient according to the corresponding historical traffic data respectively (for example, the congestion degree is high, the weighting system) Large, making the path distance larger) to select the shortest path obtained by integrating the actual path distance and historical traffic data.
在获取多条候选共乘路线后,计算获取每条所述候选共乘路线的出行成本的步骤,可以如图5所示,包括:After acquiring the plurality of candidate sharing routes, the step of obtaining the travel cost of each of the candidate sharing routes may be as shown in FIG. 5, including:
步骤S2321,分别对每个所述共乘人员,根据对应的出行参数以及所述交通地理信息,计算得到在该候选共乘路线下的最小出行成本以及对应的所述共乘方式;Step S2321: Calculate, according to the corresponding travel parameters and the traffic geographic information, a minimum travel cost under the candidate shared route and the corresponding sharing mode for each of the co-occupants;
步骤S2322,根据全部所述共乘人员在该候选共乘路线下的最小出行成本,计算得到该候选共乘路线的出行成本。Step S2322: Calculate the travel cost of the candidate shared route according to the minimum travel cost of all the common passengers under the candidate shared route.
基于以上述候选路径序列{Ps 1,U 1_e,U 2_e,…,U K_e}对应的候选共乘路线举例说明。该候选共乘路径序列中包含了n=1+K个节点,通过如图4所示的方法,已经获取该候选共乘路线上所有前后两个节点之间的距离:
Figure PCTCN2018098642-appb-000001
The candidate sharing route corresponding to the above candidate path sequence {Ps 1 , U 1 _e, U 2 _e, ..., U K _e} is exemplified. The candidate shared-shared path sequence includes n=1+K nodes, and the distance between all the two nodes before and after the candidate-shared route has been obtained by the method shown in FIG. 4:
Figure PCTCN2018098642-appb-000001
对于司机D,是通过驾驶车辆对候选路径序列{Ps 1,U 1_e,U 2_e,…,U K_e}对应的候选共乘路线实施与其他共乘人员共乘,其在该候选共乘路线下的共乘方式是乘坐车辆,根据其由出发地D_s到Ps 1的距离
Figure PCTCN2018098642-appb-000002
与获取该候选共乘路线上所有前后两个节点之间的距离
Figure PCTCN2018098642-appb-000003
计算得到的候选共乘路线的总出行距离
Figure PCTCN2018098642-appb-000004
For the driver D, the candidate common-sampling route corresponding to the candidate path sequence {Ps 1 , U 1 _e, U 2 _e, ..., U K _e} is shared with other co-occupant personnel by driving the vehicle, and the candidate is shared by the candidate. The method of sharing by the route is to take the vehicle, according to its distance from the departure point D_s to Ps 1 .
Figure PCTCN2018098642-appb-000002
And the distance between all the two nodes before and after the candidate is shared
Figure PCTCN2018098642-appb-000003
Calculated total travel distance of the candidate shared route
Figure PCTCN2018098642-appb-000004
假设出行成本以出行距离计算,那么司机D在该候选共乘路线下的最小出行成本为SumL D;假设出行成本以出行时间计算,可以根据司机驾驶车辆的历史时速信息或预先获取的平均时速信息来计算行驶该出行距离的出行时间;假设出行成本以出行费用计算,可以根据该出行距离计算油耗来计算,等等; Assuming that the travel cost is calculated as the travel distance, the minimum travel cost of driver D under the candidate shared route is SumL D ; if the travel cost is calculated as the travel time, it can be based on the historical speed information of the driver driving the vehicle or the pre-acquired average speed information. To calculate the travel time of the travel distance; assume that the travel cost is calculated based on the travel cost, and the fuel consumption can be calculated based on the travel distance, etc.;
对于乘客U 1,是可以通过步行、自行车骑行或者搭乘其他公共交通的方式,从出发地U 1_s到达Ps 1,通过搭乘共乘交通设备在候选路径序列 {Ps 1,U 1_e,U 2_e,…,U K_e}对应的候选共乘路线上实施共乘,并且在对应的目的地U 1_e下车; For passenger U 1 , it is possible to reach Ps 1 from the departure point U 1 _s by walking, cycling or other public transportation, and by taking the shared traffic equipment in the candidate route sequence {Ps 1 , U 1 _e, U 2 _e,..., U K _e} performs a common multiplication on the candidate common multiplication route, and gets off at the corresponding destination U 1 _e;
可以根据乘客U 1由出发地U 1_s到达Ps 1的距离
Figure PCTCN2018098642-appb-000005
选择乘客U 1由出发地U 1_s到达Ps 1使得出行成本较小的出行方式,例如,出行成本是出行时间时,
Figure PCTCN2018098642-appb-000006
大于1千米,可以为乘客U 1选择自行车骑行,
Figure PCTCN2018098642-appb-000007
小于1千米,可以为乘客U 1选择步行,还可以根据乘客U 1的历史共乘方式来选取,等等;
The distance from the departure point U 1 _s to Ps 1 can be based on the passenger U 1
Figure PCTCN2018098642-appb-000005
Select passengers U 1 U 1 _s a departure point Ps 1 reaches such a small travel costs travel mode, for example, the travel cost is the travel time,
Figure PCTCN2018098642-appb-000006
More than 1 km, you can choose a bicycle ride for passenger U 1 .
Figure PCTCN2018098642-appb-000007
Less than 1 km, you can choose to walk for passenger U 1 , you can also choose according to the historical sharing method of passenger U 1 , and so on;
假设获取该候选共乘路线上所有前后两个节点之间的距离
Figure PCTCN2018098642-appb-000008
计算得到乘客U 1在候选共乘路线的总出行距离
Figure PCTCN2018098642-appb-000009
Assume that the distance between all the two nodes before and after the candidate common multiplication route is obtained.
Figure PCTCN2018098642-appb-000008
Calculate the total travel distance of passenger U 1 in the candidate shared route
Figure PCTCN2018098642-appb-000009
假设出行成本以出行距离计算,那么乘客U 1在该候选共乘路线下的最小出行成本为
Figure PCTCN2018098642-appb-000010
假设出行成本以出行时间计算,乘客U 1的共乘方式是自行车骑行+乘坐共乘交通设备,根据乘客U 1和司机D的历史时速信息或者预先存储的平行时速信息,计算
Figure PCTCN2018098642-appb-000011
下乘客以自行车骑行的时间以及司机D驾驶
Figure PCTCN2018098642-appb-000012
距离的时间,求和得到对应的出行时间;假设出行成本以出行费用计算,可以根据乘客U 1在该出行距离上的自行车骑行花费以及搭乘交通共乘设备的里程花费来计算,等等;
Assuming that the travel cost is calculated as the travel distance, the minimum travel cost of passenger U 1 under the candidate shared route is
Figure PCTCN2018098642-appb-000010
Assuming that the travel cost is calculated based on the travel time, the passenger U 1 is shared by the bicycle ride + ride-sharing traffic equipment, based on the historical speed information of the passenger U 1 and the driver D or the pre-stored parallel speed information.
Figure PCTCN2018098642-appb-000011
The next passenger takes the time of cycling and the driver D drives
Figure PCTCN2018098642-appb-000012
The time of the distance is summed to obtain the corresponding travel time; if the travel cost is calculated based on the travel cost, it can be calculated according to the bicycle riding cost of the passenger U 1 at the travel distance and the mileage cost of riding the transportation sharing device, and the like;
对于其他乘客U k(k=2,...,K),计算出行成本如与乘客U 1类似,在此不再赘述。 For other passengers U k (k=2,...,K), the calculation of the travel cost is similar to that of the passenger U 1 and will not be described here.
在获取每个共乘人员在该条候选共乘路线下的最小出行车本后,进行累加,就能得到该候选共乘路线的出行成本,例如,假设出行成本以出行距离计算时,可以得到该候选共乘路线的出行成本为:
Figure PCTCN2018098642-appb-000013
After obtaining the minimum travel planbook of each of the commune personnel under the candidate share-sharing route, the travel cost of the candidate communal route can be obtained by accumulating, for example, if the travel cost is calculated by the travel distance, The travel cost of the candidate shared route is:
Figure PCTCN2018098642-appb-000013
应当理解的是,在某些应用场景中,为了更好地贴合共乘人员的需求,出行成本的计算会更为复杂,例如出行成本需要综合考虑出行距离、出行时间以及出行费用,可以通过为出行距离、出行时间、出行费用设置对应不同的权重来实现出行成本的综合计算,而在本实施例公开了上述计算候选共乘路线的出行成本的例子后,本领域技术人员可以无需任何创造性进行改进,以适用于成本需要综合考虑出行距离、出行时间以及出行费用或者更多信息的场景。It should be understood that in some application scenarios, the travel cost calculation is more complicated in order to better fit the needs of the commuters. For example, the travel cost needs to comprehensively consider the travel distance, travel time, and travel expenses. The travel distance, the travel time, and the travel cost are set to different weights to realize the comprehensive calculation of the travel cost. However, after the example of calculating the travel cost of the candidate shared route is disclosed in the embodiment, those skilled in the art may not need any creativity. Improvements are made to apply to scenarios where cost needs to take into account travel distance, travel time, travel costs or more.
此外,对于具有不同优先级的共乘人员,在本实施例公开了上述计算候选共乘路线的出行成本的例子后,本领域技术人员可以无需任何创造性进行改进,很容易想到,在累加求取候选共乘路线的出行成本时,为不同优先级的共乘人员设置不同的优先级权重,来计算每一条共乘路线下的出行成本。In addition, for the common passengers having different priorities, after the example of calculating the travel cost of the candidate sharing route is disclosed in the embodiment, those skilled in the art can improve without any creativity, and it is easy to think that the accumulation is obtained. When the travel cost of the candidate shared route is set, different priority weights are set for the different priority sharers to calculate the travel cost under each shared route.
通过构建多条具有共乘起点候选共乘路线并计算对应的出行成本,可以选择全体共乘人员的出行成本最小的共乘路线,使得部分或全部共乘人员都以对应的出行方式到达共乘路线的共乘起点开始共乘出行,降低因交通拥堵或路况不佳带来较高的集合共乘人员的时间成本(例如司机绕道、堵车等待的时间、乘客等待的时间等),实现全体共乘人员的出行成本最小,提升共乘出行的效率。By constructing a plurality of shared-shared route candidate sharing routes and calculating corresponding travel costs, a common-sharing route with the lowest travel cost of all the commune passengers can be selected, so that some or all of the co-occupant personnel arrive at the common multiplication by the corresponding travel mode. The commuting start point of the route starts to share the travel, reducing the time cost of the high-collected commuters due to traffic congestion or poor road conditions (such as the driver detour, the waiting time of the traffic jam, the waiting time of the passengers, etc.) The travel cost of the passenger is the smallest, and the efficiency of the shared travel is improved.
而在实际应用中,部分共乘人员中的目的地可能距离较近,分次停靠可能会导致整体共乘的出行时间或出行距离变长,或者某些共乘人员的目的地并不适于停靠,例如目的地在共乘路线的行驶方向上需要掉头、或者目的地比较拥堵行驶到达耗时较长等,都会影响出行成本,降低共乘出行效率。In practical applications, the destinations of some of the co-occupants may be closer, and the successive stops may cause the overall commuting travel time or travel distance to become longer, or the destination of some co-occupants may not be suitable for docking. For example, the destination needs to turn around in the direction of travel of the shared route, or the destination is relatively time-consuming to travel, which will affect the travel cost and reduce the efficiency of the shared travel.
因此,在本实施例中,还提供一种共乘路线规划方法,如图6所示,包括:Therefore, in this embodiment, a method for planning a common route is also provided, as shown in FIG. 6, including:
在所述构建候选共乘路线步骤之前,还包括:Before the step of constructing the candidate sharing route, the method further includes:
步骤S2200-1,根据所述多个共乘人员的目的地,生成对应的候选终点集,Step S2200-1, generating a corresponding candidate endpoint set according to the destinations of the plurality of co-occupants
其中,所述候选终点是至少一个共乘人员离开所述共乘交通设备的候选地点;Wherein the candidate end point is a candidate location where at least one co-occupant person leaves the shared transportation device;
所述构建所述候选共乘路线计算每条所述候选共乘路线的出行成本的步骤S2300包括:The step S2300 of constructing the candidate common-share route to calculate the travel cost of each of the candidate shared route includes:
根据所述交通地理信息、所述共乘人员的出行参数、所述候选起点集以及所述候选终点集,构建多条候选共乘路线,并计算获取每条所述候选共乘路线的出行成本;Determining a plurality of candidate co-multiplying routes according to the traffic geographic information, the travel parameters of the co-occupant, the candidate starting point set, and the candidate end point set, and calculating a travel cost for obtaining each of the candidate co-multiplied routes ;
其中,所述候选共乘路线包括每个所述共乘人员的共乘起点、共乘终 点、共乘方式,所述共乘终点是所述候选终点集中的一个所述候选终点,所述共乘方式还包括所述共乘人员从对应的共乘终点到达所述目的地的出行方式。Wherein the candidate sharing route includes a common starting point, a sharing end point, and a sharing mode of each of the common passengers, and the sharing end point is one of the candidate end points in the candidate end point set, the total The multiply mode also includes the manner in which the co-occupant travels from the corresponding co-multiple end point to the destination.
具体地,所述生成候选终点集的步骤包括:Specifically, the step of generating a candidate endpoint set includes:
以每个共乘人员的目的地为中心,以预设的地理半径划分得到对应的候选终点区域;Centering on the destination of each commune person, the corresponding candidate end point area is obtained by a predetermined geographic radius;
在每个所述候选终点区域中选择至少一个允许所述共乘交通设备停靠的地点作为候选终点,得到多个所述候选终点,以生成所述候选终点集。Selecting at least one location in the candidate end point region that allows the shared traffic device to be docked as a candidate endpoint, and obtaining a plurality of the candidate endpoints to generate the candidate endpoint set.
上述生成候选终点集的步骤,与如图3所示的生成候选起点集的步骤相比,除了划分的候选终点区域时是以每个共乘人员的目的地之外,其他类似,可以参照前文如图3所示的步骤实施,在此不再赘述。The step of generating the candidate end point set described above is compared with the step of generating the candidate start point set as shown in FIG. 3, except that the divided candidate end point area is the destination of each commutator, and the like, The steps shown in FIG. 3 are implemented, and details are not described herein again.
具体地,如图6所示的方法中,所述构建多条候选共乘路线的步骤可以包括:Specifically, in the method shown in FIG. 6, the step of constructing a plurality of candidate sharing routes may include:
分别对每个所述候选起点,根据所述候选集中的其他所述候选起点以及所述候选终点集,构建多条具有不同路径次序的候选路径序列;Constructing, for each of the candidate starting points, a plurality of candidate path sequences having different path orders according to the other candidate starting points in the candidate set and the candidate end point set;
分别对每个所述候选路径序列,根据所述交通地图,获取对应的所述候选共乘路线。For each of the candidate path sequences, the corresponding candidate sharing route is obtained according to the traffic map.
例如,假设交通共乘设备是可以提供K+1位共乘人员共乘的车辆,包括司机D与K位乘客U k(k∈{1,2,3,...,K}),已知司机的出发地D_s,乘客的最初出发地U k_s(k∈{1,2,3,...,K})与乘客最终目的地U k_e(k∈{1,2,3,...,K}),得到的候选起点集为包括P个候选起点:Ps p(p∈{1,2,3,...,P}),得到的候选终点集为包括Q个候选起点:Pe q(q∈{1,2,3,...,Q}), For example, suppose the traffic sharing device is a vehicle that can provide K+1 passengers to share the vehicle, including the driver D and the K passenger U k (k∈{1, 2, 3,..., K}). Know the driver's departure point D_s, the passenger's initial departure point U k _s(k∈{1,2,3,...,K}) and the passenger's final destination U k _e(k∈{1,2,3, ..., K}), the obtained candidate starting point set includes P candidate starting points: Ps p (p ∈ {1, 2, 3, ..., P}), and the obtained candidate end point set includes Q candidates. Starting point: Pe q (q∈{1,2,3,...,Q}),
可以得到不同路径次序的候选路径序列:Can obtain candidate path sequences with different path order:
{Ps 1,Pe 1} {Ps 1 ,Pe 1 }
{Ps 1,Ps 2,Pe 1} {Ps 1 , Ps 2 , Pe 1 }
{Ps 1,Ps 2,Ps 3,Pe 1} {Ps 1 , Ps 2 , Ps 3 , Pe 1 }
{Ps 1,…,Ps P,Pe 1} {Ps 1 ,...,Ps P ,Pe 1 }
{Ps 1,…,Ps P,Pe 1,Pe 2} {Ps 1 ,...,Ps P ,Pe 1 ,Pe 2 }
{Ps 1,…,Ps P,Pe 2,Pe 1} {Ps 1 ,...,Ps P ,Pe 2 ,Pe 1 }
……......
{Ps 1,…,Ps P,Pe Q,…,Pe 1} {Ps 1 ,...,Ps P ,Pe Q ,...,Pe 1 }
{Ps 2,Pe 1} {Ps 2 ,Pe 1 }
……......
{Ps 2,…,Ps P,Pe Q,…,Pe 1} {Ps 2 ,...,Ps P ,Pe Q ,...,Pe 1 }
……......
{Ps P,…,Ps 1,Pe Q,…,Pe 1} {Ps P ,...,Ps 1 ,Pe Q ,...,Pe 1 }
从上述构建得到的后续路径序列中,可知一个候选路径序列可能包括多个候选起点以及多个候选终点,可以遍历覆盖实际应用中,一辆车辆会在多个共乘起点停留让出发地距离较远的共乘人员分别上车、以及在多个共乘终点停留让目的地距离较远的共乘人员分别下车情况。From the subsequent path sequence obtained from the above construction, it can be known that a candidate path sequence may include multiple candidate starting points and multiple candidate ending points, which can be traversed to cover the actual application, and a vehicle will stay at multiple sharing starting points to make the departure distance longer. The far-off passengers boarded the car separately, and the passengers who stayed at the multi-shared destinations to make the destination far away were respectively disembarked.
在构建得到多条候选路径序列后,可以根据交通地理信息,获取对应的所述候选共乘路线。获取共乘路线的步骤,与前文已详细描述的图4所示的步骤S2312相同,在此不再赘述。After constructing a plurality of candidate path sequences, the corresponding candidate sharing route may be obtained according to the traffic geographic information. The step of obtaining the shared route is the same as the step S2312 shown in FIG. 4 which has been described in detail above, and details are not described herein again.
在获取多条候选路线后,如图6所示的方法中,计算获取每条所述候选共乘路线的出行成本的步骤,可以包括:After acquiring a plurality of candidate routes, in the method shown in FIG. 6, the step of calculating the travel cost of each of the candidate shared routes may include:
分别对每个所述共乘人员,根据对应的出行参数以及所述交通地理信息,计算得到在该候选共乘路线下的最小出行成本以及对应的所述共乘方式,Calculating, according to the corresponding travel parameters and the traffic geographic information, a minimum travel cost under the candidate shared route and the corresponding sharing mode, respectively, for each of the co-occupant personnel,
根据全部所述共乘人员在该候选共乘路线下的最小出行成本,计算得到该候选共乘路线的出行成本。The travel cost of the candidate shared route is calculated according to the minimum travel cost of all the passengers under the candidate shared route.
例如,对上述例子中的候选路径序列{Ps 1,Pe 1}对应的候选共乘路线,假设获取该候选共乘路线上所有前后两个节点之间的距离:
Figure PCTCN2018098642-appb-000014
For example, for the candidate common multiplication route corresponding to the candidate path sequence {Ps 1 , Pe 1 } in the above example, it is assumed that the distance between all the two nodes before and after the candidate common multiplication route is obtained:
Figure PCTCN2018098642-appb-000014
对于司机D,是通过驾驶车辆对候选路径序列{Ps 1,Pe 1}对应的候选共乘路线实施与其他共乘人员共乘,其在该候选共乘路线下的共乘方式是乘坐车辆,根据其由出发地D_s到Ps 1的距离
Figure PCTCN2018098642-appb-000015
与获取该候选共乘路线上 所有前后两个节点之间的距离
Figure PCTCN2018098642-appb-000016
计算得到的候选共乘路线的总出行距离
Figure PCTCN2018098642-appb-000017
For the driver D, the candidate shared route corresponding to the candidate path sequence {Ps 1 , Pe 1 } is shared by the driving vehicle and the other common passengers are shared, and the sharing method under the candidate sharing route is to ride the vehicle. According to its distance from the departure point D_s to Ps 1
Figure PCTCN2018098642-appb-000015
And the distance between all the two nodes before and after the candidate is shared
Figure PCTCN2018098642-appb-000016
Calculated total travel distance of the candidate shared route
Figure PCTCN2018098642-appb-000017
假设出行成本以出行距离计算,那么司机D在该候选共乘路线下的最小出行成本为SumL D;假设出行成本以出行时间计算,可以根据司机驾驶车辆的历史时速信息或预先获取的平均时速信息来计算行驶该出行距离的出行时间;假设出行成本以出行费用计算,可以根据该出行距离计算油耗来计算,等等; Assuming that the travel cost is calculated as the travel distance, the minimum travel cost of driver D under the candidate shared route is SumL D ; if the travel cost is calculated as the travel time, it can be based on the historical speed information of the driver driving the vehicle or the pre-acquired average speed information. To calculate the travel time of the travel distance; assume that the travel cost is calculated based on the travel cost, and the fuel consumption can be calculated based on the travel distance, etc.;
对于乘客U 1,是可以通过步行、自行车骑行或者搭乘其他公共交通的方式,从出发地U 1_s到达Ps 1,通过搭乘共乘交通设备在候选路径序列{Ps 1,Pe 1}对应的候选共乘路线上实施共乘,并且在共乘终点Pe 1下车,通过可以通过步行、自行车骑行或者搭乘其他公共交通的方式从共乘终点Pe 1到达目的地U 1_e; For passenger U 1 , it is possible to reach Ps 1 from the departure place U 1 _s by walking, cycling or other public transportation, and by taking the shared traffic equipment in the candidate path sequence {Ps 1 , Pe 1 } carpool embodiment carpool candidate on the route, and the end point Pe 1 carpool off, can be U 1 _e by foot, by bike riding public transport or take other way to reach the end point Pe 1 carpool from destination;
可以根据乘客U 1由出发地U 1_s到达Ps 1的距离
Figure PCTCN2018098642-appb-000018
选择乘客U 1由出发地U 1_s到达Ps 1使得出行成本较小的出行方式,例如,出行成本是出行时间时,
Figure PCTCN2018098642-appb-000019
大于1千米,可以为乘客U 1选择自行车骑行,
Figure PCTCN2018098642-appb-000020
小于1千米,可以为乘客U 1选择步行,还可以根据乘客U 1_s的历史共乘方式来选取等等;
The distance from the departure point U 1 _s to Ps 1 can be based on the passenger U 1
Figure PCTCN2018098642-appb-000018
Select passengers U 1 U 1 _s a departure point Ps 1 reaches such a small travel costs travel mode, for example, the travel cost is the travel time,
Figure PCTCN2018098642-appb-000019
More than 1 km, you can choose a bicycle ride for passenger U 1 .
Figure PCTCN2018098642-appb-000020
Less than 1 km, you can choose to walk for passenger U 1 , and you can also choose according to the historical sharing method of passenger U 1 _s;
类似地,也可以根据共乘终点Pe 1到目的地U 1_e的距离
Figure PCTCN2018098642-appb-000021
或者根据乘客U 1_s的历史共乘方式,选择乘客U 1由从共乘终点Pe 1到达目的地Pe 1使得出行成本较小的出行方式。
Similarly, the distance from the common end point Pe 1 to the destination U 1 _e can also be used.
Figure PCTCN2018098642-appb-000021
Alternatively, according to the historical sharing method of the passenger U 1 _s, the travel mode in which the passenger U 1 is made to travel from the common destination end point Pe 1 to the destination Pe 1 to make the travel cost small is selected.
假设获取该候选共乘路线上所有前后两个节点之间的距离
Figure PCTCN2018098642-appb-000022
计算得到乘客U 1在候选共乘路线的总出行距离
Figure PCTCN2018098642-appb-000023
Assume that the distance between all the two nodes before and after the candidate common multiplication route is obtained.
Figure PCTCN2018098642-appb-000022
Calculate the total travel distance of passenger U 1 in the candidate shared route
Figure PCTCN2018098642-appb-000023
假设出行成本以出行距离计算,那么乘客U 1在该候选共乘路线下的最小出行成本为
Figure PCTCN2018098642-appb-000024
假设出行成本以出行时间计算,可以根据乘客U 1和司机D的历史时速信息或者预先存储的平行时速信息,计算乘客U 1以自行车骑行
Figure PCTCN2018098642-appb-000025
的时间以及司机D驾驶
Figure PCTCN2018098642-appb-000026
距离的时间,求和得到对应的出行时间;假设出行成本以出行费用计算,可以根据乘客U 1在该出行距离上的自行车骑行花费以及搭乘交通共乘设备的里程花费来计算,等等;
Assuming that the travel cost is calculated as the travel distance, the minimum travel cost of passenger U 1 under the candidate shared route is
Figure PCTCN2018098642-appb-000024
Is assumed to travel cost calculated travel time may be based on historical information speed passenger and driver D U 1 or speed parallel information stored in advance, to calculate passenger cycling U 1
Figure PCTCN2018098642-appb-000025
Time and driver D driving
Figure PCTCN2018098642-appb-000026
The time of the distance is summed to obtain the corresponding travel time; if the travel cost is calculated based on the travel cost, it can be calculated according to the bicycle riding cost of the passenger U 1 at the travel distance and the mileage cost of riding the transportation sharing device, and the like;
对于其他乘客U k(k=2,...,K),计算出行成本如与乘客U 1类似,在此不再 赘述。 For other passengers U k (k=2,...,K), the calculation of the travel cost is similar to that of the passenger U 1 and will not be described here.
在获取每个共乘人员在该条候选共乘路线下的最小出行车本后,进行累加,就能得到该候选共乘路线的出行成本,例如,假设出行成本以出行距离计算时,可以得到该候选共乘路线的出行成本为:
Figure PCTCN2018098642-appb-000027
After obtaining the minimum travel planbook of each of the commune personnel under the candidate share-sharing route, the travel cost of the candidate communal route can be obtained by accumulating, for example, if the travel cost is calculated by the travel distance, The travel cost of the candidate shared route is:
Figure PCTCN2018098642-appb-000027
应当理解的是,在某些应用场景中,为了更好地贴合共乘人员的需求,出行成本的计算会更为复杂,例如出行成本需要综合考虑出行距离、出行时间以及出行费用,可以通过为出行距离、出行时间、出行设置对应不同的权重来实现出行成本的综合计算,而在本实施例公开了上述计算候选共乘路线的出行成本的例子后,本领域技术人员可以无需任何创造性进行改进,以适用于成本需要综合考虑出行距离、出行时间以及出行费用或者更多信息的场景。It should be understood that in some application scenarios, the travel cost calculation is more complicated in order to better fit the needs of the commuters. For example, the travel cost needs to comprehensively consider the travel distance, travel time, and travel expenses. The traveling distance, the travel time, and the travel setting are different weights to realize the comprehensive calculation of the travel cost, and after the example of calculating the travel cost of the candidate sharing route is disclosed in the embodiment, those skilled in the art can perform without any creativity. Improvements to suit the cost of a scenario that takes into account travel distance, travel time, and travel costs or more.
此外,对于具有不同优先级的共乘人员,在本实施例公开了上述计算候选共乘路线的出行成本的例子后,本领域技术人员可以无需任何创造性进行改进,很容易想到,在累加求取候选共乘路线的出行成本时,为不同优先级的共乘人员设置不同的优先级权重,分别乘以对应的出行成本,来累加计算该共乘路线下的出行成本。In addition, for the common passengers having different priorities, after the example of calculating the travel cost of the candidate sharing route is disclosed in the embodiment, those skilled in the art can improve without any creativity, and it is easy to think that the accumulation is obtained. When the travel cost of the candidate shared route is set, different priority weights are set for the different priority commutators, and the corresponding travel costs are respectively multiplied to calculate the travel cost under the shared route.
通过上述生成候选终点集,构建以候选起点集中的候选起点为共乘起点、候选终点集中的候选终点为共乘终点的候选共乘路线,选出行成本最小的共乘路线实现共乘,可以使得部分或者全部共乘人员在对应的共乘终点离开交通共乘设备,以对应的出行方式到达各自的目的地,可以降低因交通拥堵或路况不佳带来较高的分送共乘人员到达目的地的时间成本(例如司机绕道、堵车等待的时间、距离相近但不顺路的乘客等待下车的时间等),实现全体共乘人员的出行成本最小,提升共乘出行的效率。By generating the candidate endpoint set, the candidate common starting point with the candidate starting point in the candidate starting point set as the sharing starting point and the candidate ending point in the candidate end point set as the common multiplication end point is constructed, and the common multiplication route with the smallest row cost is selected to achieve the sharing. Allowing some or all of the co-occupants to leave the traffic-sharing equipment at the corresponding commuting destination and reach their respective destinations in the corresponding travel mode, which can reduce the arrival of the high-sorted passengers due to traffic congestion or poor road conditions. The time cost of the destination (such as the driver's detour, the time of traffic jam, the time of the passengers who are close to each other but not waiting for the trip, etc.), to achieve the minimum travel cost of all the commuters and improve the efficiency of the communal travel.
步骤S2400,选择出行成本最小的所述候选共乘路线作为共乘路线,并将所述共乘路线提供给所述多个共乘人员,触发每个所述共乘人员通过所述共乘交通设备共乘出行。Step S2400, selecting the candidate shared route with the lowest travel cost as the shared route, and providing the shared route to the plurality of riders, triggering each of the riders to pass the shared traffic The device shares the trip.
选择出行成本最小的所述候选共乘路线作为共乘路线,可以提供全部共乘人员的出行成本最小的共乘路线,提升共乘出行的效率。The candidate shared route with the lowest travel cost is selected as the shared route, and the shared route with the least travel cost of all the commuters can be provided to improve the efficiency of the shared travel.
在本实施例中,可以通过客户端的人机交互界面将共乘路线提供给共乘人员,例如,分别对每个共乘人员,通过界面对应展示共乘路线的共乘起点、共乘终点、共乘方式,具体地,对司机,可以展示从司机的出发地途径的共乘起点、共乘终点、预计出行时间等;对于乘客,可以展示以哪种出行方式从出发地到达共乘起点、交通共乘设备预计什么时间点到达共乘起点、共乘终点、以哪种出行方式从共乘终点到达目的地等等。In this embodiment, the shared route can be provided to the co-occupant through the human-computer interaction interface of the client, for example, for each co-occupant, the common-share starting point and the common-end destination of the shared route are respectively displayed through the interface. The method of sharing, in particular, for the driver, can show the starting point of the commuting from the driver's starting point, the commuting destination, the estimated travel time, etc.; for the passenger, it can be shown which way to get from the departure point to the sharing starting point, The traffic sharing equipment is expected to arrive at the sharing start point, the shared end point, the travel mode from the shared end point to the destination, and the like.
在本实施例中提供的共乘路线的规划方法还可以包括:The planning method of the shared route provided in this embodiment may further include:
当所述共乘人员被触发通过自行车骑行从对应的所述出发地到达所述共乘起点,或者被触发通过自行车骑行从所述共乘终点达到对应的所述目的地时,为所述共乘人员提供共享自行车预约服务。When the co-occupant is triggered to reach the common riding starting point from the corresponding starting place by bicycle riding, or triggered to reach the corresponding destination from the sharing end point by bicycle riding, The shared passengers provide a shared bicycle reservation service.
为共乘人员提供共享自行车预约服务,可以使得共乘人员实现骑行自行车“无缝”地换乘进入共乘交通设备,进行共乘出行,提高共乘出行的效率。Providing a shared bicycle reservation service for the passengers can enable the commuter to realize a “seamless” transfer of the bicycle to the shared transportation equipment, to carry out the communal travel, and improve the efficiency of the shared travel.
<例子><example>
以下将结合图7所示的例子,进一步说明本实施例中提供的共乘路线的规划方法。The planning method of the shared route provided in the present embodiment will be further described below with reference to the example shown in FIG.
在图7所示的例子中,共乘交通设备是一辆四座车辆,由司机D和乘客U 1、U 2、U 3共乘出行。该方法包括: In the example shown in FIG. 7, the transport device is a four carpool vehicle, by the driver and the passenger D U 1, U 2, U 3 carpool travel. The method includes:
步骤S701,获取司机D和乘客U 1、U 2、U 3的出行参数,得到司机D的出发地是D_s,乘客U 1的出发地U 1_s、目的地U 1_e,乘客U 2的出发地U 2_s、目的地U 2_e,乘客U 3的出发地U 3_s、目的地U 3_e; Step S701, obtaining the travel parameters of the driver D and the passengers U 1 , U 2 , and U 3 , and obtaining the departure place of the driver D is D_s, the departure place U 1 _s of the passenger U 1 , the destination U 1 _e, and the departure of the passenger U 2 Ground U 2 _s, destination U 2 _e, departure point U 3 _s of passenger U 3 , destination U 3 _e;
步骤S702,通过前述的本实施例中提供生成候选起点集的步骤,得到候选起点集中包括3个候选起点:Ps 1、Ps 2、Ps 3,以及通过前述的本实施例中提供生成候选终点集的步骤,得到候选终点集中包括3个候选起点:Pe 1、Pe 2、Pe 3Step S702, by providing the step of generating a candidate starting point set in the foregoing embodiment, obtaining a candidate starting point set including three candidate starting points: Ps 1 , Ps 2 , Ps 3 , and providing the generated candidate end point set in the foregoing embodiment. The step of obtaining a candidate endpoint set includes three candidate starting points: Pe 1 , Pe 2 , Pe 3 ;
步骤S703,根据候选起点集、候选终点集,构建得到多条候选共乘路线,每条候选共乘路线包括共乘起点、共乘终点、共乘方式,共乘方式包括每个共乘人员从各自的目的地到达共乘起点的出行方式、每个共乘人员从各自的共乘终点到达目的地的出行方式。Step S703, constructing a plurality of candidate sharing routes according to the candidate starting point set and the candidate ending point set, each candidate sharing route includes a sharing start point, a sharing end point, and a sharing mode, and the sharing mode includes each of the commuting personnel The way in which the respective destinations arrive at the starting point of the sharing, and the way in which each of the commuters passes from their respective sharing destinations to the destination.
如图7所示,本例中的候选共乘路线是遍历候选起点Ps 1、Ps 2、Ps 3以及候选终点Pe 1、Pe 2、Pe 3构建得到的多条路线,每条路线中还包括获取司机D和乘客U 1、U 2、U 3从各自的出发地到达对应的共乘起点的出行方式,以及从对应的共乘终点到达各自的目的地的出行方式。 As shown in FIG. 7, the candidate common multiplication route in this example is a plurality of routes constructed by traversing the candidate starting points Ps 1 , Ps 2 , Ps 3 and the candidate end points Pe 1 , Pe 2 , and Pe 3 , and each route includes Obtain the travel mode of the driver D and the passengers U 1 , U 2 , U 3 from the respective departure points to the corresponding sharing start point, and the travel mode from the corresponding communal destination to the respective destinations.
应当理解的是,图7中相同的候选起点或者候选终点中存在连线,是为了更容易说明候选共乘路线的构建,在实施构建候选共乘路线时,相同的候选起点或者相同的候选终点之间的路径距离为0,可以滤除相同的候选起点或候选终点的连线。It should be understood that there are connections in the same candidate starting point or candidate ending point in FIG. 7 in order to more easily illustrate the construction of the candidate sharing path, the same candidate starting point or the same candidate ending point when implementing the construction candidate candidate multiplication route. The path distance between the two is 0, and the connection of the same candidate starting point or candidate ending point can be filtered out.
此外,如图7所示,构建的候选共乘路线中可能包括多个共乘起点或者多个共乘终点,可以支持不同的共乘人员之间出发地距离较远或者目的地距离较远的场景。In addition, as shown in FIG. 7 , the candidate candidate sharing route may include multiple sharing starting points or multiple sharing destinations, which may support different distances between the commuting personnel and the destination distance. Scenes.
步骤S704,分别计算每条候选共乘路线下的出行成本。In step S704, the travel cost under each candidate sharing route is calculated separately.
计算出行成本的具体步骤在本实施例中的前述步骤描述中已经详细说明,在此不再赘述。The specific steps of calculating the travel cost have been described in detail in the foregoing description of the steps in the embodiment, and are not described herein again.
步骤S705,选取出行成本最小的候选共乘路线为共乘路线,并提供给对应的共乘人员。In step S705, the candidate shared route with the smallest travel cost is selected as the shared route, and is provided to the corresponding commutator.
应当理解的是,不同的共乘人员虽然搭乘相同的交通共乘设备,但对应的出发地、目的地不同,可以分别对不同的共乘人员,对应以不同的方式展示共乘路线,例如,对于司机D,可以展示从其出发地出发,途径各个共乘路线上的共乘终点、共乘起点的驾驶路线;对于乘客,可以展示其从出发地骑行自行车到达对应的共乘起点的骑行路线、从共乘起点乘车到达对应的共乘终点的乘车路线、以及供共乘终点骑行自行车到达对应的目的地骑行路线。It should be understood that although different riders take the same traffic sharing device, the corresponding departure place and destination are different, and different riders can be respectively displayed in different ways, for example, For the driver D, it is possible to display the driving route from the departure point of the car, the commuting destination on each of the commuting routes, and the starting point of the commuting. For the passenger, it is possible to show the ride from the starting place to the corresponding riding start point. The route, the ride route from the shared start point to the corresponding communal destination, and the ride for the shared ride to the corresponding destination ride.
当本例应用于出发地分布距离较近的多个乘客共同搭乘专车时,可以为多个乘客选择可以分别以自行车骑行到达的、并且便于停靠的共乘起点,集合等待专车司机接取,还可以为目的地分布距离较近的多个乘客选择相同的便于停靠的共乘终点,使得乘客可以在共乘终点下车后分别以自行车骑行到达对应的目的地,可以让专车司机在便于停靠的地点接送乘客,并且不必逐一拾取、逐一分送乘客,降低因交通拥堵或者路况不佳带来的时 间成本,相应地,也降低乘客的时间、花费等出行成本,实现专车司机和乘客全部共乘人员的出行成本最小,提高共乘出行效率。When the present example is applied to a plurality of passengers whose departure distances are close to each other, the passengers can select a commuter starting point that can be respectively reached by the bicycle and can be conveniently docked, and the collection is waiting for the driver to pick up the vehicle. It is also possible to select the same easy-to-stop shared destination for a plurality of passengers whose destinations are located close to each other, so that the passengers can get to the corresponding destination by bicycle riding after getting off at the shared terminal, so that the driver can be convenient. The passengers at the docking point pick up and drop off passengers, and do not have to pick up the passengers one by one, and reduce the time cost caused by traffic congestion or poor road conditions. Accordingly, the passengers’ time and expenses are reduced, and the passengers and passengers are all realized. Co-occupants have the lowest travel costs and improve the efficiency of shared travel.
<服务器><server>
在本实施例中,还提供一种服务器200,用于实施本实施例中提供的共乘路线的规划方法,如图8所示,包括存储器210、和处理器220:In this embodiment, a server 200 is further provided for implementing the planning method of the common route provided in this embodiment. As shown in FIG. 8, the memory 210 and the processor 220 are included:
存储器210,用于存储可执行的指令;a memory 210, configured to store executable instructions;
处理器220,用于根据所述指令的控制,运行所述服务器以执行本实施例中提供的共乘路线的规划方法。The processor 220 is configured to run the server to perform the planning method of the common route provided in the embodiment according to the control of the instruction.
在本实施例中,服务器200可以具有各种实体形式,例如,可以是刀片服务器、云端服务器等,或者可以是由多台服务器组成的服务器群组。在一个例子中,服务器200可以是如图1所示的服务器1100。In this embodiment, the server 200 may have various physical forms, for example, may be a blade server, a cloud server, or the like, or may be a server group composed of a plurality of servers. In one example, server 200 can be server 1100 as shown in FIG.
本领域技术人员应当明白,可以通过各种方式来实现服务器200。例如,可以通过指令配置处理器来实现服务器200。例如,可以将指令存储在ROM中,并且当启动设备时,将指令从ROM读取到可编程器件中来实现服务器200。例如,可以将服务器200固化到专用器件(例如ASIC)中。可以将服务器200分成相互独立的单元,或者可以将它们合并在一起实现。服务器200可以通过上述各种实现方式中的一种来实现,或者可以通过上述各种实现方式中的两种或更多种方式的组合来实现。Those skilled in the art will appreciate that server 200 can be implemented in a variety of ways. For example, server 200 can be implemented by an instruction configuration processor. For example, the instructions can be stored in the ROM, and when the device is booted, the instructions are read from the ROM into the programmable device to implement the server 200. For example, server 200 can be cured into a dedicated device (eg, an ASIC). The server 200 can be divided into mutually independent units, or they can be implemented together. The server 200 may be implemented by one of the various implementations described above, or may be implemented by a combination of two or more of the various implementations described above.
以上已经结合附图、例子描述了本实施例中提供的共乘路线的规划方法及服务器,根据本实施例,可以提供全体共乘人员出行成本最小的共乘路线,使得共乘人员都以对应的出行方式到达共乘路线对应的共乘起点开始共乘出行,实现出行成本最小,提升共乘出行的效率。The planning method and server for the common route provided in this embodiment have been described above with reference to the accompanying drawings and examples. According to the embodiment, the sharing route with the lowest travel cost of all the commuters can be provided, so that the common passengers can correspond. The travel mode arrives at the common start point corresponding to the common route to start the shared travel, which realizes the minimum travel cost and improves the efficiency of the shared travel.
<第二实施例><Second embodiment>
<方法><method>
在本实施例中,提供一种共乘路线的规划方法,用于为通过共乘交通设备出行的多个共乘人员规划共乘路线,如图9所示,包括:In this embodiment, a method for planning a common route is provided, which is used for planning a shared route for a plurality of commutators traveling through a shared transportation device, as shown in FIG. 9, including:
步骤S3100,提供出行参数输入界面,供用户实施输入操作以获取对 应的所述出行参数,其中,所述出行参数至少包括所述用户的共乘身份、出发地、目的地。Step S3100: Providing a travel parameter input interface for the user to perform an input operation to obtain the corresponding travel parameter, wherein the travel parameter includes at least the shared identity, the departure place, and the destination of the user.
具体地,所述出行参数在第一实施例中已经详细描述,在此不再赘述。Specifically, the travel parameters have been described in detail in the first embodiment, and details are not described herein again.
所述出行参数输入界面是可供用户执行点击操作、文本或语音输入操作的人机交互界面,可以通过响应于用户的输入操作获取对应的用户输入的出行参数,以配合实施第一实施例中共乘路线的规划方法。The travel parameter input interface is a human-machine interaction interface that can be used by a user to perform a click operation, a text or a voice input operation, and can obtain a corresponding user-entered travel parameter in response to a user input operation, so as to cooperate with the implementation of the first embodiment. The planning method of taking the route.
步骤S3200,提供共乘路线展示界面,供用户通过界面展示获取对应的共乘路线,In step S3200, a common route display interface is provided, and the user obtains a corresponding shared route through the interface display.
其中,所述共乘路线由第一实施例中提供的共乘路线的规划方法获得,在此不再赘述。所述共乘路线至少包括对应的共乘起点以及共乘方式;所述共乘方式中至少包括从对应的出行地到达所述共乘起点的出行方式;所述出行方式至少包括乘坐所述共乘交通设备、自行车骑行、步行;所述出行成本至少包括出行距离、出行时间、出行费用其中之一。The common route is obtained by the planning method of the common route provided in the first embodiment, and details are not described herein again. The sharing route includes at least a corresponding sharing starting point and a sharing mode; the sharing mode includes at least a travel mode from the corresponding travel destination to the shared start point; and the travel mode includes at least the ride Take transportation equipment, bicycle riding, and walking; the travel cost includes at least one of travel distance, travel time, and travel expenses.
所述共乘路线展示界面是可供用户执行点击操作、缩放操作的人机交互界面,可以通过响应于用户的相关操作,向用户展示对应的共乘路线,以提供实施第一实施例中共乘路线的规划方法后获取的共乘路线。The shared route display interface is a human-machine interaction interface that can be used by the user to perform a click operation and a zoom operation, and can display a corresponding shared route to the user in response to the related operation of the user, to provide implementation of the first embodiment. The shared route obtained after the route planning method.
共乘路线还可以包括共乘终点,所述共乘方式还可以包括从所述共乘起点到达所述共乘终点的出行方式和从所述共乘终点到达目的地的出行方式。The shared route may further include a shared end point, and the shared mode may further include a travel mode from the shared start point to the share end point and a travel mode from the share end point to the destination.
<客户端><client>
在本实施例中,还提供一种客户端300,用于实施本实施例中提供的共乘路线的规划方法,如图10所示,包括存储器310、和处理器320:In this embodiment, a client 300 is further provided for implementing the planning method of the common route provided in this embodiment. As shown in FIG. 10, the memory 310 and the processor 320 are included:
存储器310,用于存储可执行的指令;a memory 310, configured to store executable instructions;
处理器320,用于根据所述指令的控制,运行所述服务器以执行本实施例中提供的共乘路线的规划方法。The processor 320 is configured to run the server to perform the planning method of the common route provided in the embodiment according to the control of the instruction.
在本实施例中,客户端300可以具有各种实体形式,例如,可以手机、掌上电脑、平板电脑、台式计算机等。在一个例子中,客户端300可以是如图1所示的服务器1200。In this embodiment, the client 300 can have various physical forms, for example, a mobile phone, a palmtop computer, a tablet computer, a desktop computer, or the like. In one example, client 300 can be server 1200 as shown in FIG.
本领域技术人员应当明白,可以通过各种方式来实现客户端300。例如,可以通过指令配置处理器来实现客户端300。例如,可以将指令存储在ROM中,并且当启动设备时,将指令从ROM读取到可编程器件中来实现客户端300。例如,可以将客户端300固化到专用器件(例如ASIC)中。可以将客户端300分成相互独立的单元,或者可以将它们合并在一起实现。客户端300可以通过上述各种实现方式中的一种来实现,或者可以通过上述各种实现方式中的两种或更多种方式的组合来实现。Those skilled in the art will appreciate that the client 300 can be implemented in a variety of ways. For example, client 300 can be implemented by an instruction configuration processor. For example, the instructions can be stored in the ROM, and when the device is booted, the instructions are read from the ROM into the programmable device to implement the client 300. For example, client 300 can be cured into a dedicated device (eg, an ASIC). The client 300 can be divided into mutually independent units, or they can be combined and implemented. The client 300 may be implemented by one of the various implementations described above, or may be implemented by a combination of two or more of the various implementations described above.
以上已经结合附图描述了本实施例中提供的共乘路线的规划方法及客户端,根据本实施例,可以将出行成本最小的共乘路线提供给共乘人员,使得共乘人员都以对应的出行方式到达共乘路线对应的共乘起点开始共乘出行,实现出行成本最小,提升共乘出行的效率。The planning method and the client for the common route provided in this embodiment have been described above with reference to the accompanying drawings. According to the embodiment, the shared route with the lowest travel cost can be provided to the common passengers, so that the common passengers can correspond. The travel mode arrives at the common start point corresponding to the common route to start the shared travel, which realizes the minimum travel cost and improves the efficiency of the shared travel.
<第三实施例><Third embodiment>
在本实施例中,提供一种共乘路线的规划系统400,用于为通过共乘交通设备出行的多个共乘人员规划共乘路线,如图11所示,包括:In this embodiment, a planning system 400 for a shared route is provided for planning a shared route for a plurality of commutators traveling through the shared transportation device, as shown in FIG. 11, including:
至少一个第一实施例中提供的服务器200;At least one server 200 provided in the first embodiment;
多个如第二实施例中提供的客户端300。A plurality of clients 300 as provided in the second embodiment.
通过本实施例中提供的共乘路线的规划系统400,搭乘共乘交通设备的司机和乘客作为共乘人员,可以通过客户端300提供的出行参数输入界面,输入自身的出发地、目的地以及身份;Through the planning system 400 of the shared route provided in this embodiment, the driver and the passenger riding the shared transportation device as the passengers can input their own departure place, destination, and the travel parameter input interface provided by the client 300. Identity
客户端300响应于用户的操作获取得到对应的出行参数后,发送给服务器200;服务器200根据第一实施例中提供的共乘路线的规划方法,为共乘人员规划出行成本最小的共乘路线,并分别发送给对应的客户端300,使得客户端300可以通过共乘路线展示界面,将共乘路线提供给对应使用客户端300的共乘人员。The client 300 obtains the corresponding travel parameters in response to the user's operation, and then sends the corresponding travel parameters to the server 200. The server 200 plans the common travel route with the least travel cost for the common passenger according to the planning method of the shared route provided in the first embodiment. And respectively sent to the corresponding client 300, so that the client 300 can provide the shared route to the co-occupant of the corresponding use client 300 through the shared route display interface.
在本实施例中,共乘路线的规划系统400可以具有多种实体形式,具体的一个例子中,共乘路线的规划系统400可以如图1所示的系统1000。In the present embodiment, the planning system 400 of the shared route may have multiple physical forms. In a specific example, the planning system 400 of the shared route may be the system 1000 shown in FIG.
以上已经结合附图说明本实施例提供的共乘路线的规划系统,可以提供全体共乘人员出行成本最小的共乘路线,使得共乘人员都以对应的出行方式到达共乘路线对应的共乘起点开始共乘出行,实现出行成本最小,提升共乘出行的效率。The planning system of the shared route provided by the embodiment has been described above with reference to the accompanying drawings, and the shared route with the lowest travel cost of all the commuters can be provided, so that the commutator can reach the common multiplication by the corresponding travel mode. The starting point starts to share the travel, which achieves the minimum travel cost and improves the efficiency of the shared travel.
本领域技术人员公知的是,随着诸如大规模集成电路技术的电子信息技术的发展和软件硬件化的趋势,要明确划分计算机系统软、硬件界限已经显得比较困难了。因为,任何操作可以软件来实现,也可以由硬件来实现。任何指令的执行可以由硬件完成,同样也可以由软件来完成。对于某一机器功能采用硬件实现方案还是软件实现方案,取决于价格、速度、可靠性、存储容量、变更周期等非技术性因素。因此,对于电子信息技术领域的普通技术人员来说,更为直接和清楚地描述一个技术方案的方式是描述该方案中的各个操作。在知道所要执行的操作的情况下,本领域技术人员可以基于对所述非技术性因素的考虑直接设计出期望的产品。It is well known to those skilled in the art that with the development of electronic information technology such as large scale integrated circuit technology and the trend of software hardware, it has become difficult to clearly define the software and hardware boundaries of computer systems. Because any operation can be implemented in software, it can also be implemented by hardware. Execution of any instruction can be done by hardware, as well as by software. Whether a hardware implementation or a software implementation is used for a certain machine function depends on non-technical factors such as price, speed, reliability, storage capacity, and change cycle. Thus, one of ordinary skill in the art of electronic information technology, a more direct and clear way of describing a technical solution is to describe the various operations in the solution. Those skilled in the art can directly design the desired product based on consideration of the non-technical factors, knowing the operation to be performed.
本发明可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本发明的各个方面的计算机可读程序指令。The invention can be a system, method and/or computer program product. The computer program product can comprise a computer readable storage medium having computer readable program instructions embodied thereon for causing a processor to implement various aspects of the present invention.
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是――但不限于――电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。The computer readable storage medium can be a tangible device that can hold and store the instructions used by the instruction execution device. The computer readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (non-exhaustive list) of computer readable storage media include: portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM) Or flash memory), static random access memory (SRAM), portable compact disk read only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, for example, with instructions stored thereon A raised structure in the hole card or groove, and any suitable combination of the above. A computer readable storage medium as used herein is not to be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (eg, a light pulse through a fiber optic cable), or through a wire The electrical signal transmitted.
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载 到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。The computer readable program instructions described herein can be downloaded from a computer readable storage medium to various computing/processing devices or downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in each computing/processing device .
用于执行本发明操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本发明的各个方面。Computer program instructions for performing the operations of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine related instructions, microcode, firmware instructions, state setting data, or in one or more programming languages. Source code or object code written in any combination, including object oriented programming languages such as Smalltalk, C++, etc., as well as conventional procedural programming languages such as the "C" language or similar programming languages. The computer readable program instructions can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer, partly on the remote computer, or entirely on the remote computer or server. carried out. In the case of a remote computer, the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or wide area network (WAN), or can be connected to an external computer (eg, using an Internet service provider to access the Internet) connection). In some embodiments, the customized electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), can be customized by utilizing state information of computer readable program instructions. Computer readable program instructions are executed to implement various aspects of the present invention.
这里参照根据本发明实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本发明的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus, and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowcharts and/or block diagrams can be implemented by computer readable program instructions.
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、 可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。The computer readable program instructions can be provided to a general purpose computer, a special purpose computer, or a processor of other programmable data processing apparatus to produce a machine such that when executed by a processor of a computer or other programmable data processing apparatus Means for implementing the functions/acts specified in one or more of the blocks of the flowcharts and/or block diagrams. The computer readable program instructions can also be stored in a computer readable storage medium that causes the computer, programmable data processing device, and/or other device to operate in a particular manner, such that the computer readable medium storing the instructions includes An article of manufacture that includes instructions for implementing various aspects of the functions/acts recited in one or more of the flowcharts.
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。The computer readable program instructions can also be loaded onto a computer, other programmable data processing device, or other device to perform a series of operational steps on a computer, other programmable data processing device or other device to produce a computer-implemented process. Thus, instructions executed on a computer, other programmable data processing apparatus, or other device implement the functions/acts recited in one or more of the flowcharts and/or block diagrams.
附图中的流程图和框图显示了根据本发明的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。对于本领域技术人员来说公知的是,通过硬件方式实现、通过软件方式实现以及通过软件和硬件结合的方式实现都是等价的。The flowchart and block diagrams in the Figures illustrate the architecture, functionality and operation of possible implementations of systems, methods and computer program products according to various embodiments of the invention. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a portion of an instruction that includes one or more components for implementing the specified logical functions. Executable instructions. In some alternative implementations, the functions noted in the blocks may also occur in a different order than those illustrated in the drawings. For example, two consecutive blocks may be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented in a dedicated hardware-based system that performs the specified function or action. Or it can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are equivalent.
以上已经描述了本发明的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。本发明的范围由所附权利要求来限定。The embodiments of the present invention have been described above, and the foregoing description is illustrative, not limiting, and not limited to the disclosed embodiments. Numerous modifications and changes will be apparent to those skilled in the art without departing from the scope of the invention. The choice of terms used herein is intended to best explain the principles, practical applications, or technical improvements in the various embodiments of the embodiments, or to enable those of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.

Claims (14)

  1. 一种共乘路线的规划方法,用于为通过共乘交通设备出行的多个共乘人员规划共乘路线,包括:A method of planning a shared route for planning a shared route for multiple commuters who travel through a shared transportation device, including:
    获取交通地理信息以及每个所述共乘人员的出行参数,Obtaining traffic geographic information and travel parameters of each of the commutators
    其中,所述交通地理信息至少包括交通地图,所述出行参数至少包括所述共乘人员的共乘身份、出发地、目的地;The traffic geographic information includes at least a traffic map, and the travel parameters include at least a shared identity, a departure place, and a destination of the shared passenger;
    根据所述多个共乘人员的出发地,选择对应的候选起点,得到包括多个所述候选起点的候选起点集,Selecting a candidate starting point according to the departure place of the plurality of co-occupants, and obtaining a candidate starting point set including a plurality of the candidate starting points,
    其中,所述候选起点是部分或全部所述共乘人员集合进入所述共乘交通设备的候选地点;Wherein the candidate starting point is a candidate location where some or all of the co-occupant personnel gather into the shared transportation device;
    根据所述交通地理信息、所述共乘人员的出行参数以及所述候选起点集,构建多条候选共乘路线,并计算获取每条所述候选共乘路线的出行成本,Determining a plurality of candidate co-multiplication routes according to the traffic geographic information, the travel parameters of the co-occupant, and the candidate starting point set, and calculating a travel cost for acquiring each of the candidate co-multiplied routes,
    其中,所述候选共乘路线包括每个所述共乘人员的共乘起点、目的地、共乘方式,所述共乘起点是所述候选起点集中的一个所述共乘起点,所述共乘方式至少包括所述共乘人员从对应的出发地到达所述共乘起点的出行方式;所述出行方式至少包括乘坐所述共乘交通设备、自行车骑行、步行;所述出行成本至少包括出行距离、出行时间、出行费用其中之一;Wherein the candidate sharing route includes a common starting point, a destination, and a sharing mode of each of the common passengers, and the sharing starting point is one of the sharing starting points in the candidate starting point set, the total The multiplication mode includes at least a mode of travel of the co-occupant from the corresponding departure place to the common start point; the travel mode includes at least the ride of the shared transportation device, bicycle riding, and walking; the travel cost includes at least One of travel distance, travel time, and travel expenses;
    选择出行成本最小的所述候选共乘路线作为共乘路线,并将所述共乘路线提供给所述多个共乘人员,触发每个所述共乘人员通过所述共乘交通设备共乘出行。Selecting the candidate shared route with the lowest travel cost as a common route, and providing the shared route to the plurality of riders, triggering each of the riders to share by the shared transport device Travel.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述多个共乘人员的出发地,选择对应的候选起点的步骤包括:The method according to claim 1, wherein the step of selecting a corresponding candidate starting point according to the departure place of the plurality of co-occupants includes:
    以每个共乘人员的出发地为中心,以预设的地理半径划分得到对应的候选起点区域;Centering on the departure place of each commune person, the corresponding candidate starting point area is obtained by a predetermined geographical radius;
    在每个所述候选起点区域中,选择至少一个允许所述共乘交通设备停靠的地点作为候选起点,得到多个所述候选起点,以生成所述候选起点集 合。In each of the candidate starting point regions, at least one location that allows the shared transportation device to be docked is selected as a candidate starting point, and a plurality of the candidate starting points are obtained to generate the candidate starting point set.
  3. 根据权利要求1或2所述的方法,其特征在于,所述构建多条候选共乘路线的步骤包括:The method according to claim 1 or 2, wherein the step of constructing a plurality of candidate commuting routes comprises:
    分别对每个所述候选起点,根据所述多个共乘人员的目的地以及所述候选起点集中的其他所述候选起点,构建多条具有不同路径次序的候选路径序列;Constructing, for each of the candidate starting points, a plurality of candidate path sequences having different path orders according to destinations of the plurality of co-occupant personnel and other candidate starting points in the candidate starting point set;
    分别对每个所述候选路径序列,根据所述交通地理信息,获取对应的所述候选共乘路线。For each of the candidate path sequences, the corresponding candidate sharing route is obtained according to the traffic geographic information.
  4. 根据权利要求1-3任意一项所述的方法,其特征在于,所述计算获取每条所述候选共乘路线的出行成本的步骤包括:The method according to any one of claims 1-3, wherein the calculating the step of obtaining the travel cost of each of the candidate shared routes comprises:
    分别对每个所述共乘人员,根据对应的出行参数以及所述交通地理信息,计算得到在该候选共乘路线下的最小出行成本以及对应的所述共乘方式;Calculating, according to the corresponding travel parameters and the traffic geographic information, a minimum travel cost under the candidate shared route and the corresponding sharing mode for each of the co-occupant personnel;
    根据全部所述共乘人员在该候选共乘路线下的最小出行成本,计算得到该候选共乘路线的出行成本。The travel cost of the candidate shared route is calculated according to the minimum travel cost of all the passengers under the candidate shared route.
  5. 根据权利要求1-4任意一项所述的方法,其特征在于,A method according to any one of claims 1 to 4, characterized in that
    在所述构建候选共乘路线步骤之前,还包括:Before the step of constructing the candidate sharing route, the method further includes:
    根据所述多个共乘人员的目的地,生成对应的候选终点集,Generating a corresponding candidate endpoint set according to the destinations of the plurality of co-occupants
    其中,所述候选终点是至少一个共乘人员离开所述共乘交通设备的候选地点;Wherein the candidate end point is a candidate location where at least one co-occupant person leaves the shared transportation device;
    所述构建所述候选共乘路线计算每条所述候选共乘路线的出行成本的步骤包括:The step of constructing the candidate common-share route to calculate the travel cost of each of the candidate shared route includes:
    根据所述交通地理信息、所述共乘人员的出行参数、所述候选起点集以及所述候选终点集,构建多条候选共乘路线,并计算获取每条所述候选共乘路线的出行成本;Determining a plurality of candidate co-multiplying routes according to the traffic geographic information, the travel parameters of the co-occupant, the candidate starting point set, and the candidate end point set, and calculating a travel cost for obtaining each of the candidate co-multiplied routes ;
    其中,所述候选共乘路线包括每个所述共乘人员的共乘起点、共乘终 点、共乘方式,所述共乘方式还包括所述共乘人员从对应的共乘终点到达所述目的地的出行方式。Wherein the candidate sharing route includes a common starting point, a common end point, and a sharing mode of each of the common passengers, and the sharing mode further includes that the common passenger arrives from the corresponding sharing terminal The way the destination travels.
  6. 根据权利要求1-5任意一项所述的方法,其特征在于,所述生成候选终点集的步骤包括:The method of any of claims 1-5, wherein the step of generating a candidate endpoint set comprises:
    以每个共乘人员的目的地为中心,以预设的地理半径划分得到对应的候选终点区域;Centering on the destination of each commune person, the corresponding candidate end point area is obtained by a predetermined geographic radius;
    在每个所述候选终点区域中选择至少一个允许所述共乘交通设备停靠的地点作为候选终点,得到多个所述候选终点,以生成所述候选终点集。Selecting at least one location in the candidate end point region that allows the shared traffic device to be docked as a candidate endpoint, and obtaining a plurality of the candidate endpoints to generate the candidate endpoint set.
  7. 根据权利要求1-6任意一项所述的方法,其特征在于,所述构建多条候选共乘路线的步骤包括:The method according to any one of claims 1 to 6, wherein the step of constructing a plurality of candidate sharing routes comprises:
    分别对每个所述候选起点,根据所述候选集中的其他所述候选起点以及所述候选终点集,构建多条具有不同路径次序的候选路径序列;Constructing, for each of the candidate starting points, a plurality of candidate path sequences having different path orders according to the other candidate starting points in the candidate set and the candidate end point set;
    分别对每个所述候选路径序列,根据所述交通地图,获取对应的所述候选共乘路线。For each of the candidate path sequences, the corresponding candidate sharing route is obtained according to the traffic map.
  8. 根据权利要求1-7任意一项所述的方法,其特征在于,所述计算获取每条所述候选共乘路线的出行成本的步骤包括:The method according to any one of claims 1 to 7, wherein the calculating the acquisition of the travel cost of each of the candidate shared routes comprises:
    分别对每个所述共乘人员,根据对应的出行参数以及所述交通地理信息,计算得到在该候选共乘路线下的最小出行成本以及对应的所述共乘方式,Calculating, according to the corresponding travel parameters and the traffic geographic information, a minimum travel cost under the candidate shared route and the corresponding sharing mode, respectively, for each of the co-occupant personnel,
    根据全部所述共乘人员在该候选共乘路线下的最小出行成本,计算得到该候选共乘路线的出行成本。The travel cost of the candidate shared route is calculated according to the minimum travel cost of all the passengers under the candidate shared route.
  9. 根据权利要求1-8任意一项所述的方法,其特征在于,A method according to any one of claims 1-8, characterized in that
    所述交通地理信息还包括共享自行车的地理分布,所述共享自行车的地理分布包括所述共享自行车的停靠点以及可用数量;The traffic geographic information also includes a geographical distribution of shared bicycles, the geographic distribution of the shared bicycles including stops and available numbers of the shared bicycles;
    和/或and / or
    当所述共乘人员被触发通过自行车骑行从对应的所述出发地到达所述共乘起点,或者被触发通过自行车骑行从所述共乘终点达到对应的所述目的地时,为所述共乘人员提供共享自行车预约服务。When the co-occupant is triggered to reach the common riding starting point from the corresponding starting place by bicycle riding, or triggered to reach the corresponding destination from the sharing end point by bicycle riding, The shared passengers provide a shared bicycle reservation service.
  10. 根据权利要求1-9任意一项所述的方法,其特征在于,A method according to any one of claims 1-9, characterized in that
    所述交通地理信息还包括历史交通数据,所述历史交通数据包括历史拥堵数据、历史共乘热点数据其中之一;The traffic geographic information further includes historical traffic data, and the historical traffic data includes one of historical congestion data and historical shared hotspot data;
    和/或and / or
    所述共乘人员的出行参数还包括所述共乘人员的历史出行信息,所述历史出行信息至少包括在历史共乘方式、历史时速信息其中之一。The travel parameters of the co-occupant personnel further include historical travel information of the co-occupant, and the historical travel information includes at least one of historical share-sharing mode and historical time-speed information.
  11. 一种共乘路线的规划方法,用于为通过共乘交通设备出行的多个共乘人员规划共乘路线,包括:A method of planning a shared route for planning a shared route for multiple commuters who travel through a shared transportation device, including:
    提供出行参数输入界面,供用户实施输入操作以获取对应的所述出行参数,Providing a travel parameter input interface for the user to perform an input operation to obtain the corresponding travel parameter,
    其中,所述出行参数至少包括所述用户的共乘身份、出发地、目的地;The travel parameter includes at least a shared identity, a departure place, and a destination of the user;
    提供共乘路线展示界面,供用户通过界面展示获取对应的共乘路线,Provide a shared route display interface for the user to obtain the corresponding shared route through the interface display.
    其中,所述共乘路线根据如权利要求1-10任意一项所述的方法获得,所述共乘路线至少包括对应的共乘起点以及共乘方式,所述共乘方式中至少包括从对应的出行地到达所述共乘起点的出行方式;所述出行方式至少包括乘坐所述共乘交通设备、自行车骑行、步行;所述出行成本至少包括出行距离、出行时间、出行费用其中之一。Wherein the common multiplication route is obtained according to the method of any one of claims 1-10, the common multiplication route at least includes a corresponding sharing start point and a common multiplication mode, and the common multiplication mode includes at least a corresponding correspondence Traveling to the commuting starting point; the travel mode includes at least riding the shared transportation equipment, bicycle riding, walking; the travel cost includes at least one of travel distance, travel time, travel cost .
  12. 一种服务器,用于为通过共乘交通设备出行的多个共乘人员规划共乘路线,包括:A server for planning a shared route for multiple commuters who travel through a shared transportation device, including:
    存储器,用于存储可执行的指令;a memory for storing executable instructions;
    处理器,用于根据所述指令的控制,运行所述服务器以执行如权利要求1-10任意一项所述的共乘路线规划方法。a processor for operating the server to perform the method of a common route planning according to any one of claims 1-10 in accordance with control of the instructions.
  13. 一种客户端,用于为通过共乘交通设备出行的多个共乘人员规划共乘路线,包括:A client that is used to plan a shared route for multiple commuters who travel through a shared transportation device, including:
    存储器,用于存储可执行的指令;a memory for storing executable instructions;
    处理器,用于根据所述指令的控制,运行所述客户端执行如权利要求11所述的共乘路线规划方法。And a processor, configured to run the client to perform the common route planning method according to claim 11 according to the control of the instruction.
  14. 一种共乘路线的规划系统,用于为通过共乘交通设备出行的多个共乘人员规划共乘路线,包括:A planning system for a shared route for planning a shared route for multiple commuters who travel through a shared transportation device, including:
    至少一个如权利要求12所述的服务器;At least one server according to claim 12;
    多个如权利要求13所述的客户端。A plurality of clients as claimed in claim 13.
PCT/CN2018/098642 2017-09-20 2018-08-03 Ridesharing route planning method, client, server and system WO2019056875A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710855190.9 2017-09-20
CN201710855190.9A CN107679652B (en) 2017-09-20 2017-09-20 Planning method, client, server and system of ride-sharing route

Publications (1)

Publication Number Publication Date
WO2019056875A1 true WO2019056875A1 (en) 2019-03-28

Family

ID=61137446

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/098642 WO2019056875A1 (en) 2017-09-20 2018-08-03 Ridesharing route planning method, client, server and system

Country Status (2)

Country Link
CN (1) CN107679652B (en)
WO (1) WO2019056875A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190360826A1 (en) * 2018-05-24 2019-11-28 International Business Machines Corporation Context based ride offer search
CN113159882A (en) * 2021-03-23 2021-07-23 广州宸祺出行科技有限公司 Passenger transfer method and system based on congested road conditions

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107679652B (en) * 2017-09-20 2021-01-05 汉海信息技术(上海)有限公司 Planning method, client, server and system of ride-sharing route
CN108955709A (en) * 2018-07-16 2018-12-07 深圳市元征科技股份有限公司 A kind of regular bus route planning method, system, equipment and computer storage medium
CN108934415B (en) * 2018-07-20 2021-03-26 陈添发 Sharing pile
CN111125179B (en) * 2018-10-30 2023-10-20 百度在线网络技术(北京)有限公司 Travel mode determining method, device, equipment and storage medium
CN109670671B (en) * 2018-11-14 2023-08-04 创新先进技术有限公司 Bus network evaluation method and device
CN110619438A (en) * 2019-09-20 2019-12-27 北京首汽智行科技有限公司 Optimal path planning method based on bipartite graph
CN113298443A (en) * 2019-11-14 2021-08-24 广东科学技术职业学院 Route planning method
CN112329961A (en) * 2020-10-28 2021-02-05 北京嘀嘀无限科技发展有限公司 Route information interaction method and device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101165A (en) * 2015-04-29 2016-11-09 福特全球技术公司 That takes advantage of altogether takes advantage of group for a long time altogether
CN106096744A (en) * 2015-04-29 2016-11-09 福特全球技术公司 Utilize context limitation takes advantage of route planning altogether
CN106096749A (en) * 2015-04-29 2016-11-09 福特全球技术公司 Take advantage of range profile altogether
CN107679652A (en) * 2017-09-20 2018-02-09 北京摩拜科技有限公司 Multiply planing method, client, server and the system of route altogether

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040158483A1 (en) * 2003-02-10 2004-08-12 Lecouturier Jacques M. Business and technological method for a flexible automobile sharing transit on demand
CN105243836B (en) * 2015-10-14 2019-03-12 青岛众至创捷网络科技有限公司 A kind of share-car method and apparatus
CN105678412A (en) * 2015-12-31 2016-06-15 百度在线网络技术(北京)有限公司 Path planning method and device facing multiple passengers

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101165A (en) * 2015-04-29 2016-11-09 福特全球技术公司 That takes advantage of altogether takes advantage of group for a long time altogether
CN106096744A (en) * 2015-04-29 2016-11-09 福特全球技术公司 Utilize context limitation takes advantage of route planning altogether
CN106096749A (en) * 2015-04-29 2016-11-09 福特全球技术公司 Take advantage of range profile altogether
CN107679652A (en) * 2017-09-20 2018-02-09 北京摩拜科技有限公司 Multiply planing method, client, server and the system of route altogether

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190360826A1 (en) * 2018-05-24 2019-11-28 International Business Machines Corporation Context based ride offer search
CN113159882A (en) * 2021-03-23 2021-07-23 广州宸祺出行科技有限公司 Passenger transfer method and system based on congested road conditions
CN113159882B (en) * 2021-03-23 2024-05-31 广州宸祺出行科技有限公司 Passenger transfer method and system based on congestion road conditions

Also Published As

Publication number Publication date
CN107679652A (en) 2018-02-09
CN107679652B (en) 2021-01-05

Similar Documents

Publication Publication Date Title
CN107682419B (en) Car pooling route providing method, client, server and car pooling system
WO2019056875A1 (en) Ridesharing route planning method, client, server and system
US9689693B2 (en) Systems and methods for learning and displaying customized geographical navigational options
CN113029177B (en) Frequency-based traffic travel characterization
US20200041291A1 (en) Multi-modal method of transportation routing
CN108151754B (en) Travel service providing method, server, client and system
JP7275295B2 (en) Systems and methods for scheduling early and late riders
US20170191849A1 (en) Parking availability system
US20210020038A1 (en) Predictive route congestion management
US20180060778A1 (en) Driver location prediction for a transportation service
US20170092130A1 (en) Automatic selection of parking spaces based on parking space attributes, driver preferences, and vehicle information
CN108062865B (en) Parking direction prompting method and device
JP2019527389A (en) Method, apparatus, device, and system for predicting future travel in multiple geographic regions based on past transportation network data
US20140372904A1 (en) System and method for communicating transportation events
CN108154253B (en) Travel mode recommendation method and device
KR102026913B1 (en) Method and system for selecting a stop for traffic demand service
US20200012971A1 (en) Systems and methods for dynamic transfer-based transportation
US11584241B2 (en) Routing and charging of electric powertrain vehicle
JP2023087058A (en) Information processing system, information processing program, and information processing method
JP6439251B2 (en) Vehicle management system and vehicle management method
WO2018138884A1 (en) Traffic guidance system, traffic guidance method, parking lot management system, parking lot management method, and recording medium
JP2016212056A (en) Notification system, server device, communication terminal device, program, and notification method
Peng et al. Searching parking spaces in urban environments based on non-stationary Poisson process analysis
CN113139138B (en) Information recommendation method and device, electronic equipment and storage medium
Soni et al. Survey on vehicular cloud computing and big data

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18858486

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10/09/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18858486

Country of ref document: EP

Kind code of ref document: A1