Traffic path selection method for online car-hailing system based on hybrid game algorithm

By introducing the path selection method of hybrid game algorithm and penalty function into the online car-hailing system, the problem of path congestion in urban traffic is solved, the operating efficiency of the online car-hailing system is improved and the traffic flow is balanced, and the loss of individual workers' interests is avoided. .

CN113935515BActive Publication Date: 2024-10-25HANGZHOU DIANZI UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111027409.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-02
Publication Date
2024-10-25
Estimated Expiration
2041-09-02

AI Technical Summary

Technical Problem

Existing ride-hailing systems cannot effectively avoid path congestion in urban traffic, resulting in low operating efficiency, and often sacrifice the interests of individual ride-hailing workers to maximize system performance.

Method used

A path selection method based on a hybrid game algorithm is adopted. By constructing a ride-hailing path selection model and a traffic flow model, a penalty function is introduced, and Nash equilibrium characteristics are used to allow ride-hailing workers to game-determine paths, avoid congested road sections, and achieve path equilibrium.

Benefits of technology

It can effectively alleviate traffic congestion, improve the operating efficiency of the online car-hailing system, avoid the loss of individual workers' interests, and at the same time make the spatial distribution of online car-hailing workers more extensive and reduce the total traffic time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113935515B_ABST
    Figure CN113935515B_ABST
Patent Text Reader

Abstract

The present invention discloses a traffic path selection method for an online car-hailing system based on a hybrid game algorithm. The present invention adopts a hybrid game and utilizes the characteristics of Nash equilibrium, allowing the workers in the system to compete with each other to produce an equilibrium path selection strategy. At the same time, a penalty mechanism is introduced to enable online car-hailing to avoid congested sections. The advantage of this method is that while improving the operating efficiency of the system, it avoids sacrificing the interests of individual workers in the traditional method of maximizing the overall benefits of the system. The method steps are as follows: First, the online car-hailing system selects several suitable alternative paths and initializes the path decisions of the workers; then, the system evaluates the traffic status based on external traffic information, and calculates the recommended path decision for each worker through a hybrid game algorithm; repeatedly iterates the previous step until the termination condition, thereby approaching the equilibrium path.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of urban transportation, and specifically relates to a traffic path selection method for an online car-hailing system based on a hybrid game algorithm. Background Art

[0002] With the advent of the smart era, smartphones have become our inseparable companions. As mobile terminals, they have powerful functions. They can be used as high-quality data processors to provide data processing services to users; they can also be used as multimodal sensors to collect and share various types of real-time spatial data (such as time, location, images, direction, speed, and acceleration). Based on smartphones, online car-hailing systems came into being.

[0003] Online ride-hailing systems are often used in densely populated cities. With the process of urbanization, the urban population has increased dramatically, and traffic congestion has become an issue that cannot be ignored. Urban congestion affects the operating efficiency of online ride-hailing systems. In summary, how to effectively guide workers on online ride-hailing systems to choose appropriate traffic routes is of great significance.

[0004] The core of solving the problem of urban traffic path selection is the study of the optimal path selection algorithm. At present, the optimal path selection algorithm has attracted the attention of many researchers and has achieved some successful research results. In recent years, many scholars have explored genetic algorithms, neural network methods, and reinforcement learning algorithms, which have been widely used. However, these methods often sacrifice the interests of individual workers in order to minimize global congestion. The path selection algorithm based on hybrid game improved by the present invention can effectively avoid such situations.

[0005] The mixed strategy in the mixed game algorithm refers to the situation in which, in a complete information game, different strategies are selected with a certain probability under each given information. The mixed strategy is the probability distribution of pure strategies in space. In 2014, Du Lili et al. proposed a mixed game path selection algorithm for vehicle-mounted systems. The algorithm balances traffic flow and has a good effect in alleviating urban traffic congestion. The present invention considers introducing the mixed game method into the scenario of online car-hailing, and using the characteristics of online car-hailing, introduces a penalty function. The penalty function can encourage workers to avoid congested sections of road. Summary of the invention

[0006] In view of the shortcomings of the prior art, the present invention proposes a traffic path selection method for an online car-hailing system based on a hybrid game algorithm. The purpose of the present invention is to provide an algorithm for alleviating traffic congestion and improving operating efficiency for the online car-hailing system. The proposed path selection algorithm is based on a hybrid game algorithm. First, the system will select an alternative path, and then make a path decision in a probabilistic way through a hybrid game. Since it is applied to the online car-hailing system, it is not difficult to obtain traffic status data, which provides data support for the direct application of a global algorithm in the present invention. By adopting a hybrid game, the characteristics of Nash equilibrium are fully utilized, so that the strategy of each participant is the optimal response to the strategy of other participants. Let the online car-hailing workers play games with each other to determine the path, which not only improves the spatial mobility efficiency of the workers, but also avoids sacrificing the interests of individual workers in the method of maximizing the overall performance of the system. Try to introduce a path equilibrium function, which can alleviate traffic pressure while making the spatial distribution of crowdsourcing workers more extensive.

[0007] The traffic path selection method for an online car-hailing system based on a hybrid game algorithm provided by the present invention is implemented in the following steps:

[0008] Step 1: Build a route selection model for online ride-hailing services;

[0009] Step 1: Construct a traffic perception network G(E, V, C), where V is a set of nodes, nodes are intersections in the actual scene; E is a set of edges, edges are road sections in the actual scene; each edge contains two endpoints, e(v i , v j )∈E represents, where v i , v j ∈V; C is the set of edge weights, c e ∈C is the weight of edge e, that is, the time required to pass through edge e;

[0010] Step 2: Build a model of online car-hailing workers; the set of workers who need to make path decisions is W; worker w is represented by <o, d>; where w∈W, wo represents the starting position, and wd represents the destination;

[0011] Step 3: Construct a path model; path h uses node sequence <v1,v2,…,v k > indicates that when a ride-hailing worker encounters a route selection, the ride-hailing system will provide the ride-hailing worker w with r w The set of alternative paths H from the starting point wo to the destination wd; the set of alternative paths H for the online car-hailing worker w w , sorted from short to long according to the travel time, where the i-th alternative path is represented by h w,i The traffic time formula on the alternative path is as follows:

[0012]

[0013] Step 4: Construct a traffic flow model; traffic flow f e refers to the number of vehicles on edge e; f w,i Indicates that the route decision of the online car-hailing worker w will make the alternative route h w,i Increased traffic flow; because the algorithm is based on mixed games, this patent probabilizes the path strategy and obtains 0≤f w,i ≤1; In addition, in the process of path selection decision, the background traffic flow f b is a constant value; that is, it does not change as the decision-making process proceeds; therefore, the background traffic flow is not explicitly included in the travel time cost function in this patent;

[0014] where c e =t e ×(1+α×f e ), where t e It refers to the travel time required to pass through edge e when ignoring the influence of other online car-hailing workers; α is the coefficient,

[0015] Get f e and f w,i The relationship is as follows:

[0016]

[0017] in

[0018]

[0019] Step 2: Give the mathematical equation (1) used in the mixed game to obtain the equilibrium path decision;

[0020]

[0021] In formula (1), Ω represents the set of online car-hailing workers' decisions; θ represents the traffic flow balance coefficient. The smaller θ is, the more balanced the traffic flow is; η is the penalty coefficient. When the penalty coefficient is larger, the online car-hailing workers will avoid congested sections more often.

[0022] Step 3: Calculate the equilibrium path decision using the route selection method for the online car-hailing system based on the hybrid game algorithm, including steps 1 to 4;

[0023] Step 1: Provide several alternative routes for the online car-hailing system workers; input real-time external traffic flow information and assign weights to the edges of the traffic network;

[0024] Step 2: Initialize the route decision of the online car-hailing workers;

[0025] Step 3: The online car-hailing worker w obtains the decision information of other workers and updates his own decision using mathematical equation (1), that is, he chooses the decision that minimizes Z. At the same time, all other workers perform this step. The specific formula for the update is as follows:

[0026]

[0027] in

[0028] Step 4: Substitute the updated worker decision set into the mathematical programming model (1) to calculate the value of Z and compare it with the value of Z calculated before the update. If Z(Ω π-1 ) / Z(Ω π )<1+σ, the iteration is terminated; otherwise, the external traffic flow information is input again, the weights of the edges in the traffic network are updated, and the process goes to step 3; where π is the number of iterations and σ is a parameter to be determined;

[0029] Step 5: Based on the latest decision set Ω, each online car-hailing worker takes the path decision with the highest probability as the final decision.

[0030] Preferably, the path decision of the online car-hailing workers is initialized; specifically, a greedy algorithm is used to take the alternative path with the least traffic time as the initial path decision, and the value of Z is calculated based on the initialized decision.

[0031] The present invention provides a route selection method for online car-hailing based on a hybrid game algorithm. Compared with the existing technology, its advantages and effects are that it can solve the route congestion by balancing the traffic flow while fully considering the interests of online car-hailing workers. By introducing a penalty function, online car-hailing workers can actively avoid congested sections, which can alleviate urban traffic congestion and improve the operating efficiency of the online car-hailing system. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 It is an overall flow chart of the traffic path selection method of the online car-hailing system of the hybrid game algorithm provided by the present invention;

[0033] Figure 2 It is a specific implementation effect diagram of the present invention, wherein the competition ratio refers to the ratio of the total traffic time under the algorithm of the present invention to the total traffic time under the greedy algorithm under the same conditions. The lower the competition ratio, the better the effect. DETAILED DESCRIPTION

[0034] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments.

[0035] like Figure 1 As shown, the route selection method of the online car-hailing system based on the hybrid game algorithm provided by the present invention comprises the following steps:

[0036] Step 1: Set up a number of online car-hailing workers who participate in decision-making and initialize the workers' state space, that is, the current location and destination;

[0037] Step 2: Provide several alternative routes for the online car-hailing system workers. Input real-time external traffic flow information and assign weights to the edges of the traffic network. And calculate the travel time required to pass through edge e in the traffic network according to formula (2).

[0038] c e =t e ×(1+α×f e ) (2)

[0039] Where α is the unknown coefficient.

[0040] Step 3: Initialize the route decision of the online car-hailing worker. Using the greedy algorithm, take the alternative route with the least traffic time as the initial route decision, and calculate the value of Z with the initialized decision.

[0041] Step 4: The online car-hailing worker w obtains the decision information of other workers and uses mathematical equation (1) to update his own decision, that is, to choose the decision that minimizes Z. At the same time, all other workers perform this step.

[0042] Step 5: Substitute the updated worker decision set into the mathematical programming model (1) to calculate the value of Z and compare it with the value of Z calculated before the update. If Z(Ω π-1 ) / Z(Ω π )<1+σ, the iteration is terminated. Otherwise, the external traffic flow information is input again, the weights of the edges in the traffic network are updated, and the process goes to step 4. Where π is the number of iterations and σ is a parameter to be determined.

[0043] Step 6: Based on the latest decision set Ω, each online car-hailing worker takes the path decision with the highest probability as the final decision.

[0044] Simulation experiment: Generate a traffic network and the data in the traffic network also includes the free travel time of each edge.

[0045] Generate a set of several online car-hailing workers, assign a state space, and make an equilibrium path decision according to the steps of the hybrid game algorithm mentioned above. Calculate the total traffic time of the equilibrium path decision calculated by the online car-hailing system using the algorithm. At the same time, a greedy algorithm is used, that is, each worker selects the path with the shortest traffic time as the control group. Comparing the two control groups, it can be concluded that the total traffic time of the online car-hailing system using the present invention is lower than the total traffic time of the greedy algorithm. Therefore, it can be analyzed that the path selection method of the online car-hailing system based on the hybrid game algorithm achieves the effect of traffic diversion, avoids congested sections, and thereby alleviates traffic congestion. Experimental results show that the hybrid game path selection algorithm can effectively reduce the total traffic time, and the competition ratio is less than 1. In the interval [0.80, 0.95], it is as follows Figure 2 As shown. It is found that the more vehicles there are, the better the effect of the present invention is. The penalty function also has a certain effect on reducing the total traffic time, but the reduction in the total traffic time gradually converges as the penalty coefficient increases.

Claims

1. A traffic path selection method for an online car-hailing system based on a hybrid game algorithm, characterized in that: The method comprises the following steps: Step 1: Build a route selection model for online ride-hailing services; Step 1.1: Construct a traffic perception network G(E,V,C), where V is a set of nodes, nodes are intersections in the actual scene; E is a set of edges, edges are road sections in the actual scene; each edge contains two endpoints, represented by e(v i ,v j )∈E represents, where v i ,v j ∈V; C is the set of edge weights, c e ∈C is the weight of edge e, that is, the time required to pass through edge e; Step 1.2: Build a model of online car-hailing workers; the set of workers who need to make path decisions is W; worker w uses<o,d> Indicates; where w∈W, wo represents the starting position, and wd represents the destination; Step 1.3: Construct path model; path h uses node sequence <v1,v2,…,v k > indicates that when a ride-hailing worker encounters a route selection, the ride-hailing system will provide the ride-hailing worker w with r w The set of alternative paths H from the starting point wo to the destination wd; the set of alternative paths H for the online car-hailing worker w w , sorted from short to long according to the travel time, where the i-th alternative path is represented by h w,i The traffic time formula on the alternative path is as follows: Step 1.4: Construct a traffic flow model; traffic flow f e refers to the number of vehicles on edge e; f w,i Indicates that the route decision of the online car-hailing worker w will make the alternative route h w,i Increased traffic flow; probabilizing the path strategy to obtain 0≤f w,i ≤1; where c e =t e ×(1+α×f e ), where t e It refers to the travel time required to pass through edge e when ignoring the influence of other online car-hailing workers; α is the coefficient, Get f e and f w,i The relationship is as follows: in Step 2: Give the mathematical equation (1) used in the mixed game to obtain the equilibrium path decision; In formula (1), Ω represents the set of online car-hailing workers' decisions; θ represents the traffic flow balance coefficient. The smaller θ is, the more balanced the traffic flow is; η is the penalty coefficient. When the penalty coefficient is larger, the online car-hailing workers will avoid congested sections more often. Step 3: Calculate the equilibrium path decision using the route selection method for the online car-hailing system based on the hybrid game algorithm, including steps 3.1 to 3.5; Step 3.1: Provide several alternative routes for the online car-hailing system workers; input real-time external traffic flow information and assign weights to the edges of the traffic network; Step 3.2: Initialize the route decision of the online car-hailing workers; Step 3.3: The online car-hailing worker w obtains the decision information of other workers and updates his own decision using mathematical equation (1), that is, he chooses the decision that minimizes Z. At the same time, all other workers perform this step. The specific formula for the update is as follows: in Step 3.4: Substitute the updated worker decision set into the mathematical equation (1) to calculate the value of Z and compare it with the value of Z calculated before the update. If Z(Ω π-1 ) / Z(Ω π )<1+σ, the iteration is terminated; otherwise, the external traffic flow information is input again, the weights of the edges in the traffic network are updated, and the process goes to step 3; where π is the number of iterations and σ is a parameter to be determined; Step 3.5: Based on the latest decision set Ω, each online car-hailing worker takes the path decision with the highest probability as the final decision.

2. The method for selecting a traffic path for an online car-hailing system based on a hybrid game algorithm according to claim 1, characterized in that: The path decision of the initialization of the online car-hailing workers is specifically as follows: using a greedy algorithm, taking the alternative path with the least traffic time as the initial path decision, and calculating the value of Z based on the initialized decision.

Citation Information

Patent Citations

  • Urban public transport policy analysis platform based on multi-agent simulation

    CN104881992A

  • Dynamic real-time multi-intersection path selection method for city traffic road network

    CN106096756A

  • Vehicle driving guidance method for intelligent mobile travel platform

    CN111429743A