The present disclosure generally relates to field of vehicle ridesharing, and more specifically to a system and method for measuring a social cost of a ridesharing service.
Ridesharing (also carpooling, car-sharing, and lift-sharing) is the sharing of car journeys so that more than one person travels in a car, and prevents the need for others to have to drive to a location themselves. By having more people using one vehicle, ridesharing reduces each person's travel costs such as: fuel costs, tolls, and the stress of driving. Ridesharing is potentially a more environmentally friendly and sustainable way to travel as sharing journeys can reduce air pollution, carbon emissions, traffic congestion on the roads, and the need for parking spaces. In recent years, ridesharing has revolutionized the mobility landscape and provided a novel way for people to access mobility. However, ridesharing may also lead to unwanted situations. For instance, ridesharing leads to the undesirable phenomenon of increased demand for unproductive transportation, i.e., deadheading. Deadheading is a situation where a rideshare vehicle heads to a pick-up location without passengers. This results in increased use of roads by unproductive transportation that may not serve any useful purpose.
As such, ridesharing service can both positively or negatively affect society. The total sum of all individuals' costs is referred to as the social cost. The social cost may include the total duration of all trips, average passenger convenience, economic costs, and pollution, among others.
Accordingly, it is an object of some embodiments to provide a system and a method for estimating a social cost of ridesharing services.
It is an object of some embodiments to provide a system and a method for estimating a social cost of ridesharing services. Additionally, or alternatively, it is an object of some embodiments to provide regulation of the ridesharing services to mitigate the social costs of ridesharing.
When a ridesharing passenger requests a rideshare vehicle for transportation, additional demand is created to the passenger's current location. This causes a ridesharing vehicle to lengthen an already existing trip, or perhaps worse, it causes deadheading, which is transportation without any passenger. In any case, additional transportation demand creates additional traffic delay without providing productive transportation to satisfy actual demand of the ridesharing passenger. It is an object of some embodiments to improve traffic by allowing ridesharing, such as carpooling that allow multiple ridesharing passengers to efficiently share the rideshare transportation. Such ridesharing may reduce the number of vehicles servicing a given demand for transportation. In this way, the reduction in the number of vehicles may improve the flow of traffic.
Some embodiments are based on the recognition that a social cost may be estimated based on negative externalities (e.g. pollution emissions) of the ridesharing services. Specifically, the negative externalities may be evaluated based on a difference between productive and unproductive demand for mobility that is caused by ridesharing. The productive demand may serve a social benefit serving transportation to passengers. The unproductive demand may cause an unnecessary cost to society. It is the object of some embodiments to balance unproductive transportation with an increase in productive transportation. To that end, the social cost may be evaluated by balancing the unproductive and productive transportation. In some embodiments, the balance in the unproductive and productive transportation may be achieved by comparing the actual social cost of transportation with ridesharing to a simulated social cost of transportation without ridesharing.
Some embodiments are based on the realization that the social cost may be viewed as a delay on a road caused by the motion of a vehicle rather than by the cost of actual transportation, such as fuel consumption. In such a manner, the social cost can be estimated from the outside of the vehicle transportation by its effect on others, which is consistent with the notion of social interaction. For example, the vehicle may be weighted in a reversed proportion to a number of passengers that may be transported by the vehicle. For example, the vehicle moves to pick up a passenger from a pick-up location. In such a scenario, the vehicle carries no passengers. The vehicle may be an automated-vehicle, a semi-automated, or manually operated vehicle. In such cases, the driver may not be counted as a passenger of the vehicle. When the vehicle carries no passenger, the weight of the vehicle is at maximum, e.g., equals to one. When the vehicle is carrying one passenger the weight may be low. However, the weight of the vehicle with one passenger may be higher than the weight of the vehicle with more than one passenger, e.g. two passengers. In some embodiments, a weighted distribution of the vehicle of an individual transportation path plan of a set of passengers may be simulated.
To that end, the weight of the vehicle is determined for each road or link of a road to provide a weighted delay of the ridesharing service. In some embodiments, the weighted delay caused by the ridesharing service of each vehicle may be estimated, as different links may have different weights. The weighted delay of the ridesharing service may be compared with the delay of individual but productive transportation of each passenger. Indeed, if a passenger instead of requesting a ridesharing service would use his/her personal vehicle to reach a desired destination, that transportation would always be productive, i.e., have no roads with weight corresponding to zero passengers, but also would not have of the benefit of decreasing weight further due to transportation of multiple passengers at once.
Some embodiments are based on a recognition that when a ridesharing company receives the request for the transportation for the passenger, the ridesharing company estimates a route for the transportation based on the request. The ridesharing company may optimize the route that the vehicle may travel to service multiple passengers. To that end, the route may include a transportation path plan that is common for providing ridesharing transportation to multiple passengers. Such a transportation path plan is referred to as a ridesharing path plan. This estimated ridesharing path plan may differ based on unproductive transportation to pick up the passenger. The ridesharing path plan may have a negative impact on the society. To that end, in some embodiments, an individual path plan of one or more passengers may be simulated independently. This individual path plan may differ from the ridesharing path plan. In some embodiments, the ridesharing path plan and individual path plan may differ in terms of a shorter route. For example, in some implementations, the individual path plan is the shortest route connecting pickup and destination locations. In some alternative embodiments, the ridesharing path plan and individual path plan may differ in terms of a faster route. For example, the individual path plan is the fastest route that may be selected by people traveling on their own.
Additionally, or alternatively, some embodiments are based on the recognition that in some situations, by not following a selfish path, an uncooperative vehicle may achieve its individual driving objective better than by following the selfish path. Specifically, this statement is correct only when enough vehicles cooperate. However, some embodiments are based on realization that when the traffic includes the cooperative vehicles that are guaranteed to pursue the common objective, the selfish path of the uncooperative vehicle may be suboptimal for the uncooperative vehicles. To that end, with the presence of the cooperative vehicles on the roads pursuing the common objective, the individual objective for each uncooperative vehicle represents the worst-case scenario for achieving the common objective of the cooperative vehicles as well as to achieve the individual objectives of the uncooperative vehicles. In other words, in a case where the common objective is to minimize average time spent in traffic, the deviation of the uncooperative vehicles from their selfish paths does not jeopardize the achievement of the common objective for cooperative vehicles. To that end, it is realized that if only cooperative vehicles are cooperative according to the partially social Nash equilibrium considering a combination of common and individual objectives, the movement of both the cooperative and uncooperative vehicles may converge to the allocation defined by the partially social Nash equilibrium even if only cooperative vehicles are directly cooperative. The Nash equilibrium may be based on delay functions indicative of delays on different path plans for transportation. In different embodiments, delay on a plan path may be defined by a linear or a nonlinear function. In some example embodiments, the Nash equilibrium may be implemented for quantifying the positive effect of ridesharing services in the transportation service. The positive effect of the ridesharing services may be quantified by solving an optimization problem using the Nash equilibrium. The Nash equilibrium solves the optimization problem to provide a solution for an unexpected distribution of the flow of vehicle in a traffic network and measure a social cost absence of ridesharing service.
Various embodiments estimate the social cost that may be used in different ways. In some embodiments, the social cost may be used for traffic control. The traffic control based on the social cost may assist a ridesharing company in providing transportation service to passengers. In an example embodiment, the traffic control may assist the ridesharing company in selecting a vehicle and/or selecting road segments to service the transportation. Additionally, or alternatively, in some embodiments, the social cost may be used for arbitration to prevent the ridesharing company to add an unreasonable cost to the society. Additionally, or alternatively, in some embodiments, the social cost may be used for mobility regulation to balance social costs imposed by the ridesharing company on society. In some example embodiments, a cap-and-trade approach may be used for mobility regulation. In a cap-and-trade approach, a cap on ridesharing service may be set for regulating limits and allowances of ridesharing transportation. The cap may be an aggregation of social costs of road segments determined in a virtual environment, such as a simulated environment.
Accordingly, one embodiment discloses a system for measuring the social cost of a ridesharing service to transport a set of passengers comprising one or more passengers requesting transportation from different pickup locations to different destination locations. The system includes an input interface configured to accept each of: the pickup and destination locations for the set of passengers, information about traffic in a region including the accepted pickup and destination locations, and a ridesharing path plan estimated by the ridesharing service for a vehicle to transport the set of passengers between their corresponding pickup and destination locations. The system also includes a processor configured to: estimate a first delay in the traffic caused by the vehicle traveling along ridesharing path plan estimated by the ridesharing service to transport the set of passengers; simulate an individual transportation path plan of each of the set of passengers between their corresponding pickup and destination locations to estimate a second delay in the traffic caused by a combination of the individual transportation path plan of each of the set of passengers based on the simulation; and determine the social cost of the ridesharing service based on a difference between the first delay and the second delay. The system further includes an output interface configured to output the social cost of the ridesharing service.
Another embodiment discloses a computer-implemented method for measuring a social cost of a ridesharing service to transport a passenger requesting transportation from a pickup location to a destination location. The computer-implemented method includes accepting each of: pickup and destination locations for more than one passengers in the plurality of passengers, information about traffic in a region including the accepted pickup and destination locations, and a first path plan estimated by the ridesharing service for a vehicle to transport the more than one passengers between their corresponding pickup and destination locations. The method includes estimating a first delay in the traffic caused by the vehicle traveling along the first path plan estimated by the ridesharing service to transport the passengers. The method includes simulating an individual transportation path plan of each of the passengers between their corresponding pickup and destination locations for estimating a second delay in the traffic caused by a combination of individual transportation path plan of each of the passengers. The method includes determining the social cost of the ridesharing service based on a difference between the first delay and the second delay. The method further includes outputting the social cost of the ridesharing service.
Further features and advantages will become more readily apparent from the following detailed description when taken in conjunction with the accompanying drawings.
The present disclosure is further described in the detailed description which follows, in reference to the noted plurality of drawings by way of non-limiting examples of exemplary embodiments of the present disclosure, in which like reference numerals represent similar parts throughout the several views of the drawings. The drawings shown are not necessarily to scale, with emphasis instead generally being placed upon illustrating the principles of the presently disclosed embodiments.
While the above-identified drawings set forth presently disclosed embodiments, other embodiments are also contemplated, as noted in the discussion. This disclosure presents illustrative embodiments by way of representation and not limitation. Numerous other modifications and embodiments can be devised by those skilled in the art which fall within the scope and spirit of the principles of the presently disclosed embodiments.
In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. It will be apparent, however, to one skilled in the art that the present disclosure may be practiced without these specific details. In other instances, apparatuses and methods are shown in block diagram form only in order to avoid obscuring the present disclosure.
As used in this specification and claims, the terms “for example,” “for instance,” and “such as,” and the verbs “comprising,” “having,” “including,” and their other verb forms, when used in conjunction with a listing of one or more components or other items, are each to be construed as open ended, meaning that the listing is not to be considered as excluding other, additional components or items. The term “based on” means at least partially based on. Further, it is to be understood that the phraseology and terminology employed herein are for the purpose of the description and should not be regarded as limiting. Any heading utilized within this description is for convenience only and has no legal or limiting effect.
The proposed system enables measurement of social cost of ridesharing services. The measured social cost may be used for regulation of the ridesharing services. The regulation of the ridesharing service may contribute in improvement of traffic. Moreover, the regulation may incentivize the ridesharing services that may help in the traffic improvement.
In some example embodiments, the vehicle 114 may be selected based on nearest distance measurement to the pick-up location of the passenger 104A or the passenger 104B. For instance, the vehicle 114 may be located within 5 kilometers (kin) of distance from the pick-up location of the passenger 104A. Further, the ridesharing service system 102 may estimate a ridesharing path plan between the pick-up locations and the drop locations of the passengers 104A and 104B. In some example embodiments, the ridesharing service system 102 may access, via a network 108, real-time traffic information from a traffic control system 112 for the estimation of the ridesharing path plan. The ridesharing service system 102 may share the estimated ridesharing path plan with the vehicle 114. In some embodiments, the ridesharing path plan may be stored in a database 116.
When the vehicle 114 starts to move towards the pick-up location of the passenger 104, the vehicle 114 may have no passenger. This leads to a phenomenon of deadheading, which is an additional demand for an unproductive transportation. Such deadheading may contribute in negative externalities to environment. The scenario of deadheading leading to unproductive transportation is described with reference to
However, there may be times that the ridesharing path plan 120 may be optimal for the transportation. The ridesharing path plan 120 may have negative externalities that impact the society. To that end, an individual path plan for each of the passengers 104A and 104B may be simulated by the system 110, which are shown and described next with reference to
In one example embodiment, the individual path plans 128A and 128B may be simulated using a deterministic simulator algorithm. For instance, the deterministic simulator algorithm may be used to track states of each of the transportation requests, implement delays and perform state transitions of each of the transportation requests. Each of the individual path plans 128A and 128B may impact the negative externalities of ridesharing services. To that end, social cost of the ridesharing services is measured by the system 110. The system 110 may measure social cost in each of the individual path plans 128A and 128B. The measurement of social cost is described next with reference to
In some example embodiments, when the system 110 receives the transportation requests of the passengers 124A and 124B, each of the transportation requests undergoes a state transition 134. Each of the transportation requests has states, such as queued state 134A and waiting state 134B. When each of the transportation requests is in the queued state 134A (e.g., at node j), each of the transportation requests is routed to a link i satisfying σ(i)=j according to the minimum-distance path. The transportation requests in the queued state 134A are transitioned into the waiting state 134B for a delay equal to delay on the link (e.g., the locations 122A and 122B and the locations 124A and 124B), ({circumflex over (D)}i ({circumflex over (T)}i0) at current time {circumflex over (T)}i0. After the duration of the delay, each of the transportation requests is placed back into the queue state 134A at node τ(i) and the process repeats until the transportation requests reach the destination. The delays for each of the transportation requests of the corresponding passengers 104A and 104B may be determined by the system 110 at the time of routing the individual path plans 128A and 128B.
The delay ({circumflex over (D)}i({circumflex over (T)}i0) on the link affects transportation, which is used for social cost measurement of the transportation. In the social cost measurement, a social cost caused by transportation services, e.g., a social cost caused by the ridesharing path plan 120 and a social cost caused by individual transportations, e.g., a social cost 140 caused by each of the individual path plan 128A and the individual path plan 128B. In some example embodiments, the social cost caused by the ridesharing path plan 120 is measured based on a delay along the ridesharing path plan 120, referred to as a first delay 136. In a similar manner, a combined social cost caused by the individual path plans is measured based on a delay, referred to as a second delay 138 along the individual path plans 128A and 128B.
The measured social cost of the ridesharing path plan 120 may have a positive or a negative impact to the society. To that end, the positive or negative social cost caused by the ridesharing path plan 120 is determined based on a comparison 140 between the first delay 136 and the second delay 138. In the comparison 140, a difference between the first delay and second delay is obtained as a measured social cost 142.
The first delay 136 and the second delay 138 for the social cost measurement are estimated by the system 110. The system 110 is further described with reference to
The memory 146 is configured to store instructions to be executed by the processor 150. In some embodiments, the processor 150 is configured to estimate a first delay in traffic that may be caused by the vehicle 114 traveling along the ridesharing path plan estimated by the ridesharing service system 102 to transport the set of passengers. The processor 150 is also configured to simulate an individual transportation of each of the set of passengers between their corresponding pickup and destination locations. The simulated individual transportation is used to estimate a second delay in the traffic that may be caused by a combination of the individual transportation of each of the set of passengers. Each of the individual path plans corresponds to each of the pickup and destination locations of each of the set of passengers. The processor 150 is further configured to determine the social cost of the ridesharing service based on a difference between the first delay and the second delay. The determined social cost of the ridesharing service is provided as an output, via the output interface 148.
In some embodiments, the processor 150 may be configured to estimate an individual path plan forming a shortest route connecting their corresponding pick-up and destination locations (e.g. the locations 122A to locations 122B and locations 124A to locations 124B). For instance, the shortest path may be estimated based on shortest path problem technique. The shortest path problem is a problem of finding a path between two vertices (or nodes) in a graph such that a sum of weights of its constituent edges is minimized. The problem of finding the shortest path between two intersections on a road map may be modeled as a special case of the shortest path problem in graphs, where the vertices correspond to intersections and the edges correspond to road segments, each weighted by the length of the segment. Examples of algorithms to find the shortest path include, but not limited to, Dijkstra's algorithm, Bellman-Ford algorithm, A* search algorithm, Floyd-Warshall algorithm, Johnson's algorithm, Viterbi algorithm. In some other embodiments, the processor 150 may be configured to estimate an individual path plan forming a fastest route connecting their corresponding pick-up and destination locations (e.g. the locations 122A to locations 122B and locations 124A to locations 124B).
The measurement of social cost of the ridesharing service is further described with reference to
minxΣi∈ε∫0x
sub. to Ax=b, (1b)
0≤x≤
Here, di is a delay function on each link (i) of a path plan (i.e., the ridesharing path plan 120 or the individual path plans 128A and 128B); E is a set of directed links or edges; let x: ϵ→R+ be a vector representing flow on each link; a matrix A: G→{0, ±1} represents a graph topology and satisfies,
A
ij
=I
j=σ(i)
−I
j=r(i) (2)
Further, b is a vector such that b: V→R+ represents exogenous flows into or out of each node. The exogenous flows are inflow rates of the traffic network 202 that are balance so that Σj∈Vbj=0 and
Σi∈εxidi(xi) (3)
To that end, the traffic network 202 be modeled as a directed graph, G=V×E. Here, V is a set of nodes or vertexes (such as N1, N2 and N3) and E is a set of directed links or edges (such as link 1, link 2, link
Each delay function di: R+→R+ is a piecewise-continuous, positive and non-decreasing function, di(ξ+η)≥di(ξ)>0, ∀i∈ε, ∀ξ, η∈R+.
The optimization problem at equation (1) may provide a solution for an expected distribution x of flow at the Nash equilibrium and may measure the social cost using equation (3), in absence of ridesharing and relating the actual cost in absence of ridesharing. To that end, a minimizer for equation (1) may be represented by x*: E→R and xR may represent an actual vector of flows. The actual flow x may consist of individual vehicles, such as the vehicle 114 and the vehicle 130.
In some example embodiments, each of the vehicles 114 and 130 may have more or less than one passenger. To that end, a weighted distribution of vehicles 114 and 130 of individual transportation of each of the set of passengers 104A and 104B may be simulated by the processor 150 of the system 110. For instance, let flow of xR,n, n=0, 1, 2, . . . , be distribution of routes of a ridesharing vehicle, such as the vehicle 114 carrying n passengers so that Σn=0∞=xR. A weighted distribution of the vehicles 114 and 130 is given by
{tilde over (x)}
R:=Σn=0∞nxR,n (4)
In some embodiments, a difference between social cost of flow x* at the Nash equilibrium and social cost of actual flow x,
ΔS:=Σi{tilde over (x)}iRd(xiR)−x*idi(x*i) (5)
Here, ΔS is based on social cost over each of the passengers 104A and 104B, an aggregate of which is represented by the weighted distribution {tilde over (x)}R, whose delay is based on actual distribution of flow xR. A negative additional cost ΔS implies a net improvement of social cost with use of the ridesharing services of the ridesharing service system 102.
In some example embodiments, the social cost may be negative, i.e., ΔS≤0. To that end, delay at link
{tilde over (x)}
1
R
d(x1R)+(x−{tilde over (x)}1R)d
If x2R=x, as at the user equilibrium, then the constraint ΔS≤0 requires that, {tilde over (x)}1R (d(x1R)−d
There maybe different scenarios that the social costs may differ, which is described next with reference to
Σi=14{tilde over (x)}iRdi(xiR)x*idi(xi)=x2(d2(x1)−d2(x2))>0 (7)
In the third scenario, ridesharing results in a decrease in social cost,
The difference in delays (e.g., first delay and second delay) in ridesharing path plan 120 and a combination of the individual path plans 128A and 128B, contribute in measurement of the social cost of the ridesharing, which is shown in
In some embodiments, when there is cause of the first delay or elimination of the second delay, the ridesharing service system 102 may get debited or credited, which is shown in
In some embodiments, the credits and debits may be exchanged among multiple ridesharing service providers. The ridesharing service providers may be controlled by the ridesharing service system 102. A credit for a ridesharing service is determined by the system 110 after completion of a transportation service of the passenger 104A. The credit may be equal to sum of delay of the passenger 104A and amount of delay caused by other passengers, such as the passenger 104B. The credit is determined by,
C
(i)
:={circumflex over (T)}
i
1
−{circumflex over (T)}
i
0
+{circumflex over (X)}
i({circumflex over (T)}i1)(Di({circumflex over (X)}i({circumflex over (T)}i1))−Di({circumflex over (X)}i({circumflex over (T)}i1)−1)) (8)
Here, {circumflex over (T)}i1 is at exit and is equal to time at entry {circumflex over (T)}i0 plus the delay at that time, which is deterministic and given by,
{circumflex over (T)}
i
1
−{circumflex over (T)}
i
0
=D
i({circumflex over (X)}i({circumflex over (T)}i0)) (9)
Using, equation (13) to replace {circumflex over (T)}i1 in equation (12). The total credited for virtual path plan p* is given by,
The debits for the ridesharing service providers may be determined in real-time. A debit for each link is earned after a passenger exits a link is equal to sum of the passenger's own delay and amount of delay caused by other passengers,
B
(i)
:=n
i({circumflex over (T)}i1−{circumflex over (T)}i0)+Xi({circumflex over (T)}i1)(Di(Xi(Ti1))−Di(Xi({circumflex over (T)}i1)−1)) (10)
Here, ni is number of passengers in the vehicle of link i. The total debited for a path plan p is given by,
The system 110 may share the debits and credits for the ridesharing services to the ridesharing service system 102. In some example embodiments, the debits or credits may correspond to points, such as loyalty points, coin-based debit/credit, or the like. Additionally, or alternatively, the debits and credits may be issued based on a blockchain technology, which is described next with reference to
In a static traffic, a marginal cost of a path plan p*in the simulated environment may be given by,
Σiϵp*di(x*i)+x*id′i(x*i) (11)
where, x*i is the solution to (1) and d′i is the right-hand derivative satisfying,
The cost to the provider is determined as the social cost of actual routes. For a single route, the social cost is given by,
Σi∈pnidi(xiR)+{tilde over (x)}iRd′i(xiR) (13)
where, ni is the number of passengers in the vehicle at link i. For example, the number of passengers may be 2 for the vehicle 114 at a single path plan 120.
In case of static distribution of ridesharing path plans, flows of the vehicles 114 and 130 and a weighted distribution are at xR and {tilde over (x)}R. The cost to be debited from the ridesharing service system 102 is given by,
B*:=Σ
i∈ε
{tilde over (x)}
i
R
d
i(xiR) (14)
The cost to be credited to the ridesharing service system 102 is given by,
C*:=Σ
i∈ε
x
i
R
d
i({tilde over (x)}*i) (15)
Here, x*i is the flow of vehicles (such as the vehicle 114) in the ridesharing path plan 120, which is solution to the optimization problem denoted by equation (1).
In one example embodiment, issuance of the credits and debits may be implemented via a clearing house entity (not shown in
In some example embodiments, the distributed ledger blockchain system 602 may implement transactions in distributed ledgers having a blockchain protocol. The blockchain protocol provides a decentralized, distributed, and oftentimes public, digital ledger that is used to record transactions across many computers so that any involved record is not altered retroactively, without the alteration of all subsequent blocks. This allows participants of transactions to verify and audit transactions independently and relatively inexpensively. In some example embodiments, the blockchain protocol may be suitable for creation of both credit and debit transactions. The blockchain protocol may be executed for receiving messages and processing the messages into one or more blocks of a blockchain. These one or more blocks may be connected to a plurality of nodes in the distributed ledger blockchain system 602. A node corresponds to a building block of an entire network using the blockchain protocol. For instance, the node may contain a copy of the entire blockchain. Further, each of the plurality of nodes may be interconnected to every other node in the network. Each node may be embodied in a plurality of ways, including but not limited to such as a computer, a mobile device, a handheld, a portable computing device, a tablet, a smartphone, a laptop, a smart wearable device and the like.
During processing of the messages, the distributed ledger blockchain system 602 may generate different types of the transaction including a credit transaction having an unmatched output configured for matching to the next transaction; a debit transaction having an unmatched input configured for matching to the previous transaction and a transfer transaction having a matched input and a matched output. The transfer transaction can be of different types, such as unspent debt-credit transaction and/or partially-repaid debt transaction, and others. In some implementation, the different types of the transaction can optionally include a coin-base transaction.
In some embodiments, the blockchain protocol may be implemented through use of an unspent transaction model (UTXO) model. To that end, a message may be associated with a transaction to be included in the blockchain by matching inputs and outputs of the transaction to neighboring transactions such that an input of the transaction is matched to an output of a previous transaction and an output of the transaction is matched to an input of a next transaction. In the UTXO model, if notion of credits is structured based on unmatched outputs of the transactions, notion of debits in extended UTXO model may be structured based on transactions with unmatched inputs. In other words, credit is a transaction with inputs and unmatched outputs, debit is a transaction with outputs and unmatched inputs. Such transactions with outputs and unmatched inputs may be referred to as debt transactions. In such a manner, debt transactions can be naturally integrated into the UTXO model. The introduction of debt transaction based on unmatched inputs integrates the debt and credit transaction into a single protocol. In one example embodiment, the distributed ledger blockchain system 602 may include a debt pool for storing a record of all outstanding debt transactions in the debt based distributed ledger blockchain system 602. When a debt is repaid, its corresponding debt transaction is removed from the debt pool and whenever debt is taken, a new transaction is added to the debt pool. The distributed ledger blockchain system 602 may also be configured to store a record of all other transactions, such as credit transactions, debt-credit transactions and the like. The record of the transactions may be stored in one or more databases, such as a block database (not shown in
The one or more blockchain databases may be managed autonomously using a peer-to-peer network of the plurality of nodes and a distributed timestamping server. They are authenticated by mass collaboration powered by collective self-interests. Such a design facilitates robust workflow where uncertainty of the participants regarding data security is marginal. The use of a blockchain removes the characteristic of infinite reproducibility from a digital asset. It confirms that each unit of value was transferred only once, solving the long-standing problem of double spending. In some example embodiments, the one or more blockchain databases may be based on database architectures such as a relational database architecture that may store information for the ridesharing service system 102, external regulatory and compliance related information, third party resources, and the like. The distributed ledger blockchain system 602 may be communicatively coupled to the system 110 and the ridesharing service system 102 through the network 108.
At step 702, a credit transaction is generated. The credit transaction may have both an input and an output. The input may point to a sender of credit and the output may point to a recipient of the credit. For instance, the sender or recipient may be between ridesharing service providers, between a bank and a ridesharing service provider, etc.
At step 704, a credit transfer transaction is generated. The credit transaction may be a transaction involving at least two nodes, e.g., first ridesharing service provider and second ridesharing service provider. The credit transaction may be transferred by mentioning an address of the first ridesharing service provider in an input field of the transaction received at the second ridesharing service provider and an address of the second ridesharing service provider in an output field of corresponding debit transaction originating at the first ridesharing service provider. In some cases, the credit transfer transaction may be generated when the first ridesharing service provider does not have sufficient credit or spendable UTXO amount available and thus, needs to take a debt for performing this credit transfer.
At step 706, a debit transaction is generated. The debit transaction may be generated when there is an unmatched transaction or no parent transaction as input. For instance, when the first ridesharing service provider needs debt, the output of the debit transaction points to the first ridesharing service provider. At the same time, the generated debt transaction may be added to a debt pool.
At step 708, a blockchain in the distributed ledger blockchain system 602 is updated with the generated transactions. Additionally, or alternatively, the distributed ledger blockchain system 602 may also include exchanging various messages describing a sequence of events associated with coin-base transactions.
At step 806, the system 110 estimates a first delay in traffic along the ridesharing path plan. The first delay is estimated based on the pick-up and destination locations as well as traffic information from the traffic control system 112.
At step 808, the system 110 estimates a second delay in the traffic caused by a combination of individual transportation path plans of each of the passengers 104A and 104B. The second delay is estimated in a simulation, where an individual transportation path plan for each of the set of passengers between their corresponding pick-up and destination locations is simulated.
At step 810, a social cost for a ridesharing service between the passengers 104A and 104B is determined. The social cost is determined based on a difference between the first delay and the second delay in the traffic. In case, the social cost is negative, the ridesharing service system 102 may proceed with the ridesharing service. In other case, the social cost may be positive based on the difference. In such a case, the ridesharing service system 102 may suspend the ridesharing service and proceed with the individual path plans for the transportation of the passengers 104A and 104B.
At step 812, the ridesharing service system 102 shares multiple options for ridesharing path plan for servicing the passengers 104A and 1104B to the system 110. At step 814, the system 110 estimates social cost of each of the multiple options, upon receipt of the multiple options. At step 816, the system 110 sends a request to the ridesharing service system 102 to select an option from the multiple options corresponding to lowest social cost or deny ridesharing requests having negative social cost.
At step 818, the ridesharing service system 110 sends the response of the selected option for the ridesharing to the electronic device 106A/106B. At step 820, the ridesharing service system 102 sends a response or confirmation for transportation of the passengers 104A and 104B based on the selected response from the multiple options.
At step 822, the system 110 determines credits or debits for the ridesharing. In some embodiments, the credits may be determined upon elimination of the second delay. The debits may be determined when there is cause of the first delay due to the ridesharing. The system 110 may issue the credits in proportion to the social cost of the ridesharing service when the social cost is negative. The debts may be issued in proportion to the social cost of the ridesharing service when the social cost is positive. At step 824, these credits or debits are assigned to the ridesharing service system 102 for the ridesharing service. In some example embodiments, the credits or debits may be issued using the distributed ledger blockchain system 602. These credits/debits may be exchanged via a clearing housing entity with the distributed ledger blockchain system 602. The exchange of the credits/debits is described next with reference to
At operation 904, a first delay in the traffic caused by the vehicle traveling along the ridesharing path plan, is estimated. In some example embodiments, the first delay is determined based on the pick-up and destination locations, traffic information along the ridesharing path plan and the ridesharing path plan shared by the ridesharing service (e.g., the ridesharing service system 102). At operation 906, an individual transportation path plan for each of the set of passengers between their corresponding pickup and destination locations is simulated for estimating a second delay in the traffic caused by a combination of individual transportation path plan of each of the passengers 104A and 104B. In some embodiments, the second delay may correspond to delay functions indicative of delays on the individual path plans 128A and 128B.
At operation 908, the social cost of the ridesharing service is determined based on a difference between the first delay and the second delay. In some example embodiment, the first delay and second delay may correspond to time delay in their corresponding path plans. For instance, the first delay may be a delay of 5 seconds and the second delay may be a delay of 10 seconds. The difference between the first and second delays corresponds to the social cost. At operation 910, the social cost of the ridesharing service is outputted via the output interface 148 of the system 110.
The processor 1004 corresponds to the processor 150. The processor 1004 may be a single core processor, a multi-core processor, a computing cluster, or any number of other configurations. The memory 1006 may include random access memory (RAM), read only memory (ROM), flash memory, or any other suitable memory systems. The processor 804 is connected through a bus 1012 to the input interface 1002. These instructions implement a method 900 for measuring the social cost of a ridesharing service to transport a set of passengers requesting transportation from their corresponding pick-up to destination locations.
In some implementations, the system 1000 may have different types and combination of input interfaces to receive input data 1018 that may include the pickup and destination locations, the traffic information and the ridesharing path plan from the ridesharing service system 102. In one implementation, the input interface 1002 may include a keyboard and/or pointing device, such as a mouse, trackball, touchpad, joy stick, pointing stick, stylus, or touchscreen, among others.
Additionally, or alternatively, the network interface controller 1014 may be adapted to connect the system 1000 through the bus 1012 to a network 1016. Through the network 1016, the input data 1018 may be downloaded and stored within the memory 1006 for storage and/or further processing.
In addition to input interface 1002, the system 1000 may include one or multiple output interfaces to output the determined social cost of the ridesharing. For example, the system 1000 may be linked through the bus 1012 to the output interface 1020 adapted to connect the system 1000 to an output device 1022, wherein the output device 1022 may include a computer monitor, projector, a display device, a screen, mobile device.
In this manner, the system 1000 measures the social cost of ridesharing services. The social cost may be used for limiting or allowing the ridesharing services and prevent negative externalities to society. Additionally, or alternatively, the limitation or allowance may be efficient for improving or controlling traffic on roads.
The above-described embodiments of the present disclosure may be implemented in any of numerous ways. For example, the embodiments may be implemented using hardware, software or a combination thereof. When implemented in software, the software code may be executed on any suitable processor or collection of processors, whether provided in a single computer or distributed among multiple computers. Such processors may be implemented as integrated circuits, with one or more processors in an integrated circuit component. Though, a processor may be implemented using circuitry in any suitable format.
Also, the various methods or processes outlined herein may be coded as software that is executable on one or more processors that employ any one of a variety of operating systems or platforms. Additionally, such software may be written using any of a number of suitable programming languages and/or programming or scripting tools, and also may be compiled as executable machine language code or intermediate code that is executed on a framework or virtual machine. Typically, the functionality of the program modules may be combined or distributed as desired in various embodiments.
Also, the embodiments of the present disclosure may be embodied as a method, of which an example has been provided. The acts performed as part of the method may be ordered in any suitable way. Accordingly, embodiments may be constructed in which acts are performed in an order different than illustrated, which may include performing some acts concurrently, even though shown as sequential acts in illustrative embodiments. Therefore, it is the object of the appended claims to cover all such variations and modifications as come within the true spirit and scope of the present disclosure.