A bus dispatching method and device based on real-time passenger flow
By acquiring passenger flow information and bus departure rules, a bus dispatching plan was determined, which solved the problem of low efficiency in the use of bus resources and improved the quality of bus services and operational efficiency.
Patent Information
- Application Number
- CN202110739914.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-30
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2041-06-30
AI Technical Summary
Fluctuations in passenger flow at bus stops and uncertainties in the operating environment lead to low efficiency in the use of public transport resources, making it difficult to meet passenger demand.
By acquiring passenger flow information of the target boarding area, and determining the available and required bus information according to the preset bus departure rules, a dispatching plan is formulated to meet the real-time boarding needs of passengers.
It has improved the efficiency of bus dispatching and resource utilization, and enhanced the quality of bus services and operational efficiency.
Smart Images

Figure CN114219193B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of public transportation, in particular to a bus dispatching method and device based on real-time passenger flow. BACKGROUND
[0002] With the rapid development of the national economy, people's living standards continue to improve, and new requirements are put forward for transportation. However, due to the volatility of passenger flow at bus stops, the uncertainty of the operating environment, and the current bus service mode being relatively old and single, the use efficiency of bus resources is not high, and it is difficult to maximize the use of bus resources to meet passenger demand. Therefore, it is particularly important to provide a bus dispatching method based on real-time passenger flow to improve the efficiency of bus dispatching and the use efficiency of bus resources, and thus improve the service quality and operation efficiency of buses. SUMMARY
[0003] The technical problem to be solved by the present application is to provide a bus dispatching method and device based on real-time passenger flow, which can provide a bus dispatching method based on real-time passenger flow to improve the efficiency of bus dispatching and the use efficiency of bus resources, and thus improve the service quality and operation efficiency of buses.
[0004] To solve the above technical problems, the first aspect of the embodiment of the present application discloses a bus dispatching method based on real-time passenger flow, the method comprising:
[0005] obtaining passenger flow information of a target boarding area; the passenger flow information includes a plurality of passengers who want to take the bus, a destination corresponding to each of the passengers who want to take the bus, and a boarding time;
[0006] determining dispatchable bus information and dispatchable bus information according to the passenger flow information and a preset bus dispatching rule; the dispatchable bus information includes at least one first destination corresponding to a dispatchable bus type and a number of dispatchable buses corresponding to the dispatchable bus type; the dispatchable bus information includes at least one second destination corresponding to a dispatchable bus type and a number of dispatchable buses corresponding to the dispatchable bus type;
[0007] determining a dispatching scheme according to the dispatchable bus information and the dispatchable bus information; the dispatching scheme is used to dispatch the dispatchable bus to meet the real-time boarding demand of passengers.
[0008] As an optional implementation, in the first aspect of the embodiment of the present application, the dispatchable bus information and the dispatchable bus information are determined according to the passenger flow information and the preset bus dispatching rule, comprising:
[0009] determine passenger quantity information according to the passenger flow information and departure time information corresponding to the bus departure rule; the passenger quantity information includes first passenger quantity corresponding to at least two destinations;
[0010] determine the dispatchable bus information and the required dispatch bus information according to the passenger quantity information and bus capacity information corresponding to the bus departure rule; the bus capacity information includes first bus type corresponding to any of the destinations and first bus quantity corresponding to the first bus type.
[0011] As an optional implementation form, in the first aspect of the embodiment of the present application, the determination of the passenger quantity information according to the passenger flow information and the departure time information corresponding to the bus departure rule includes:
[0012] determination of the nearest departure time corresponding to any of the destinations according to the departure time information corresponding to any of the destinations and the bus departure rule;
[0013] determination of the first passenger quantity corresponding to any of the destinations according to the nearest departure time, the passenger who wants to take the bus, the destination corresponding to the passenger who wants to take the bus and the pre-boarding time.
[0014] As an optional implementation form, in the first aspect of the embodiment of the present application, the determination of the dispatchable bus information and the required dispatch bus information according to the passenger quantity information and the bus capacity information corresponding to the bus departure rule includes:
[0015] for any of the at least two destinations, determination of whether the first passenger quantity corresponding to the destination is greater than a first capacity threshold to obtain a first determination result; when the first determination result indicates that the first passenger quantity is less than or equal to the first capacity threshold, determination of the destination as a first destination, and determination of the dispatchable bus information corresponding to the first destination according to the first passenger quantity corresponding to the destination and the bus capacity information corresponding to the destination;
[0016] when the first determination result indicates that the first passenger quantity is greater than the first capacity threshold, determination of the destination as a second destination, and determination of the required dispatch bus information corresponding to the second destination according to the first passenger quantity corresponding to the destination and the bus capacity information corresponding to the destination.
[0017] As an optional implementation form, in the first aspect of the embodiment of the present application, the determination of the dispatchable bus information corresponding to the first destination according to the first passenger quantity corresponding to the destination and the bus capacity information corresponding to the destination includes:
[0018] determining whether the first passenger quantity corresponding to the first destination is less than or equal to a second transport capacity threshold, to obtain a second determination result;
[0019] when the second determination result indicates that the first passenger quantity corresponding to the first destination is less than or equal to the second transport capacity threshold, determining that the first bus type corresponding to the first destination is a dispatchable bus type corresponding to the first destination, and determining that the number of the first bus corresponding to the first bus type is the number of the dispatchable bus corresponding to the dispatchable bus type.
[0020] As an optional implementation, in the first aspect of the embodiment of the present application, the determining of the dispatchable bus information corresponding to the second destination according to the first passenger quantity corresponding to the destination and the bus transport capacity information corresponding to the destination comprises:
[0021] determining a second passenger quantity corresponding to the second destination according to the first passenger quantity corresponding to the destination, the second bus type corresponding to the destination and the number of the second bus corresponding to the second bus type;
[0022] determining a dispatchable bus type corresponding to the second destination and the number of the dispatchable bus corresponding to the dispatchable bus type according to the second passenger quantity and preset in-service bus information.
[0023] As an optional implementation, in the first aspect of the embodiment of the present application, the determining of the dispatch scheme according to the dispatchable bus information and the dispatchable bus information comprises:
[0024] screening the dispatchable bus type matching the dispatchable bus type as a target bus type;
[0025] determining the dispatch scheme according to the number of the dispatchable bus and the number of the dispatchable bus corresponding to the target bus type.
[0026] As an optional implementation, in the first aspect of the embodiment of the present application, the determining of the dispatch scheme according to the number of the dispatchable bus and the number of the dispatchable bus corresponding to the target bus type comprises:
[0027] determining whether the number of the dispatchable bus is greater than the number of the dispatchable bus corresponding to the target bus type, to obtain a third determination result;
[0028] when the third determination result indicates that the number of the dispatchable bus is greater than or equal to the number of the dispatchable bus corresponding to the target bus type, selecting all the dispatchable bus corresponding to the target bus type as the dispatchable bus;
[0029] When the third determination result indicates that the number of the required scheduled buses is less than the number of the schedulable buses corresponding to the target bus type, the schedulable buses corresponding to the target bus type that match the number of the required scheduled buses are selected as the required scheduled buses according to a preset bus selection rule.
[0030] As an optional implementation, in the first aspect of the embodiment of the present application, the step of selecting the schedulable buses corresponding to the target bus type that match the number of the required scheduled buses as the required scheduled buses according to the preset bus selection rule comprises:
[0031] determining a pre-loading rate corresponding to each of the schedulable buses according to the schedulable buses corresponding to the target bus type and the first passenger number, and sorting the schedulable buses according to the pre-loading rate from low to high to obtain a schedulable bus sequence;
[0032] selecting the first N schedulable buses in the schedulable bus sequence as the required scheduled buses; the N is the number of the required scheduled buses.
[0033] The second aspect of the embodiment of the present application discloses a bus scheduling device based on real-time passenger flow, which comprises:
[0034] a obtaining module configured to obtain passenger flow information of a target boarding area; the passenger flow information comprises a plurality of passengers who desire to take a bus, a destination and a pre-boarding time corresponding to each of the passengers who desire to take a bus;
[0035] a first determining module configured to determine schedulable bus information and required scheduled bus information according to the passenger flow information and a preset bus departure rule; the schedulable bus information comprises a schedulable bus type corresponding to at least one first destination and a number of schedulable buses corresponding to the schedulable bus type; the required scheduled bus information comprises a required scheduled bus type corresponding to at least one second destination and a number of required scheduled buses corresponding to the required scheduled bus type;
[0036] a second determining module configured to determine a scheduling scheme according to the schedulable bus information and the required scheduled bus information; the scheduling scheme is used to schedule the required scheduled buses to meet real-time boarding demands of passengers.
[0037] As an optional implementation, in the second aspect of the embodiment of the present application, the first determining module comprises a first determining submodule and a second determining submodule, wherein:
[0038] the first determining submodule is configured to determine passenger number information according to the passenger flow information and departure time information corresponding to the bus departure rule; the passenger number information comprises a first passenger number corresponding to at least two destinations;
[0039] a second determining sub-module, configured to determine the dispatchable bus information and the to-be-dispatched bus information according to the passenger quantity information and bus capacity information corresponding to the bus departure rule, wherein the bus capacity information comprises a first bus type corresponding to any of the destinations and a quantity of first buses corresponding to the first bus type.
[0040] As an optional implementation form, in the second aspect of the embodiment of the present application, the specific manner of determining the passenger quantity information by the first determining sub-module according to the passenger flow information and the departure time information corresponding to the bus departure rule is that:
[0041] determining a latest departure time corresponding to any of the destinations according to the departure time information corresponding to any of the destinations and the bus departure rule;
[0042] determining a first passenger quantity corresponding to any of the destinations according to the latest departure time, the passenger who desires to take a bus, the destination corresponding to the passenger who desires to take a bus and a pre-boarding time.
[0043] As an optional implementation form, in the second aspect of the embodiment of the present application, the specific manner of determining the dispatchable bus information and the to-be-dispatched bus information by the second determining sub-module according to the passenger quantity information and the bus capacity information corresponding to the bus departure rule is that:
[0044] judging whether the first passenger quantity corresponding to any of the at least two destinations is greater than a first capacity threshold to obtain a first judgment result;
[0045] when the first judgment result indicates that the first passenger quantity is less than or equal to the first capacity threshold, determining that the destination is a first destination, and determining the dispatchable bus information corresponding to the first destination according to the first passenger quantity corresponding to the destination and the bus capacity information corresponding to the destination;
[0046] when the first judgment result indicates that the first passenger quantity is greater than the first capacity threshold, determining that the destination is a second destination, and determining the to-be-dispatched bus information corresponding to the second destination according to the first passenger quantity corresponding to the destination and the bus capacity information corresponding to the destination.
[0047] As an optional implementation form, in the second aspect of the embodiment of the present application, the specific manner of determining the dispatchable bus information corresponding to the first destination by the second determining sub-module according to the first passenger quantity corresponding to the destination and the bus capacity information corresponding to the destination is that:
[0048] determine whether the first passenger quantity corresponding to the first destination is less than or equal to a second transport capacity threshold, to obtain a second determination result;
[0049] when the second determination result indicates that the first passenger quantity corresponding to the first destination is less than or equal to the second transport capacity threshold, determine that the first bus type corresponding to the first destination is a dispatchable bus type corresponding to the first destination, and determine that the number of the first bus corresponding to the first bus type is the number of the dispatchable bus corresponding to the dispatchable bus type.
[0050] As an optional implementation, in the second aspect of the embodiment of the present application, the specific manner in which the second determination sub-module determines the dispatchable bus information corresponding to the second destination according to the first passenger quantity corresponding to the destination and the bus transport capacity information corresponding to the destination is that:
[0051] determine a second passenger quantity corresponding to the second destination according to the first passenger quantity corresponding to the destination, the second bus type corresponding to the destination, and the number of the second bus corresponding to the second bus type;
[0052] determine a dispatchable bus type corresponding to the second destination and the number of the dispatchable bus corresponding to the dispatchable bus type according to the second passenger quantity and preset in-service bus information.
[0053] As an optional implementation, in the second aspect of the embodiment of the present application, the second determination module includes a screening sub-module and a third determination sub-module, wherein:
[0054] the screening sub-module is configured to screen the dispatchable bus type matching the dispatchable bus type as a target bus type;
[0055] the third determination sub-module is configured to determine a dispatching scheme according to the number of the dispatchable bus and the number of the dispatchable bus corresponding to the target bus type.
[0056] As an optional implementation, in the second aspect of the embodiment of the present application, the specific manner in which the third determination sub-module determines the dispatching scheme according to the number of the dispatchable bus and the number of the dispatchable bus corresponding to the target bus type is that:
[0057] determine whether the number of the dispatchable bus is greater than the number of the dispatchable bus corresponding to the target bus type, to obtain a third determination result;
[0058] when the third determination result indicates that the number of the dispatchable bus is greater than or equal to the number of the dispatchable bus corresponding to the target bus type, select all the dispatchable bus corresponding to the target bus type as the dispatchable bus;
[0059] When the third determination result indicates that the number of the required dispatching buses is less than the number of the dispatchable buses corresponding to the target bus type, the dispatchable buses corresponding to the target bus type that match the number of the required dispatching buses are selected as the required dispatching buses according to a preset bus selection rule.
[0060] As an optional implementation, in the second aspect of the embodiment of the application, the third determination sub-module determines the specific manner of selecting the dispatchable buses corresponding to the target bus type that match the number of the required dispatching buses according to the preset bus selection rule as follows:
[0061] According to the number of the first passengers and the dispatchable buses corresponding to the target bus type, a plurality of pre-loading rates respectively corresponding to the dispatchable buses are determined, the dispatchable buses are sorted according to the pre-loading rates from low to high, and a dispatchable bus sequence is obtained.
[0062] The first N dispatchable buses in the dispatchable bus sequence are selected as the required dispatching buses, and the N is the number of the required dispatching buses.
[0063] The third aspect of the application discloses another bus dispatching device based on real-time passenger flow, and the device comprises:
[0064] A memory in which executable program codes are stored;
[0065] A processor coupled with the memory;
[0066] The processor invokes the executable program codes stored in the memory to execute part or all of the steps of the bus dispatching method based on real-time passenger flow disclosed in the first aspect of the embodiment of the application.
[0067] The fourth aspect of the application discloses a computer storage medium, and the computer storage medium stores computer instructions.
[0068] Compared with the prior art, the embodiment of the application has the following beneficial effects:
[0069] In the embodiment of the present application, the passenger flow information of the target boarding area is acquired; the passenger flow information includes a plurality of passengers who want to take the bus, a destination and a boarding time corresponding to each passenger who wants to take the bus; then, according to the passenger flow information and a preset bus departure rule, the dispatchable bus information and the required dispatch bus information are determined; the dispatchable bus information includes a dispatchable bus type corresponding to at least one first destination and a number of dispatchable buses corresponding to the dispatchable bus type; the required dispatch bus information includes a required dispatch bus type corresponding to at least one second destination and a number of required dispatch buses corresponding to the required dispatch bus type; according to the dispatchable bus information and the required dispatch bus information, the dispatch scheme is determined; the dispatch scheme is used to dispatch the required dispatch bus to meet the real-time boarding demand of the passengers. It can be seen that the present application can provide a bus dispatching method based on real-time passenger flow to improve the bus dispatching efficiency and the bus resource utilization efficiency, thereby improving the service quality of the bus and the bus operation benefit. BRIEF DESCRIPTION OF DRAWINGS
[0070] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort based on these drawings.
[0071] Figure 1 is a flow diagram of a bus dispatching method based on real-time passenger flow disclosed by the embodiment of the present application;
[0072] Figure 2 is a flow diagram of another bus dispatching method based on real-time passenger flow disclosed by the embodiment of the present application;
[0073] Figure 3 is a structural diagram of a bus dispatching device based on real-time passenger flow disclosed by the embodiment of the present application;
[0074] Figure 4 is a structural diagram of another bus dispatching device based on real-time passenger flow disclosed by the embodiment of the present application;
[0075] Figure 5 is a structural diagram of another bus dispatching device based on real-time passenger flow disclosed by the embodiment of the present application. DETAILED DESCRIPTION
[0076] In the following, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all the other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.
[0077] The terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish different objects, rather than to describe a particular order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, device, product, or equipment including a series of steps or units is not limited to the listed steps or units, but can optionally include steps or units not listed or can optionally include other steps or units inherent to the process, method, product, or equipment.
[0078] Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The phrase appears at various places in the specification does not necessarily all refer to the same embodiment, nor is it necessarily mutually exclusive of other embodiments. It is explicitly and implicitly understood that the embodiments described herein can be combined with other embodiments.
[0079] The present application discloses a bus scheduling method and device based on real-time passenger flow, which can determine a bus scheduling scheme by obtaining passenger flow information of a target boarding area and a preset bus departure rule, thereby improving bus scheduling efficiency and bus resource utilization efficiency, and further improving bus service quality and bus operation efficiency. The following will be described in detail.
[0080] Embodiment one
[0081] Please refer to Figure 1 , Figure 1 is a flowchart of a bus scheduling method based on real-time passenger flow disclosed by an embodiment of the present application. Wherein, Figure 1 The described bus scheduling method based on real-time passenger flow is applied in a bus management system, such as a local server or a cloud server for scheduling buses, etc., which is not limited by the present application. As Figure 1 shown, the bus scheduling method based on real-time passenger flow can include the following operations:
[0082] 101, obtaining passenger flow information of a target boarding area.
[0083] The passenger flow information includes a plurality of passengers who want to take a bus, a destination corresponding to each passenger who wants to take a bus, and a boarding time.
[0084] 102. Determine the dispatchable bus information and the required dispatch bus information according to the passenger flow information and a preset bus departure rule.
[0085] In the embodiment of the application, the dispatchable bus information includes a dispatchable bus type corresponding to at least one first destination and a number of dispatchable buses corresponding to the dispatchable bus type; and the required dispatch bus information includes a required dispatch bus type corresponding to at least one second destination and a number of required dispatch buses corresponding to the required dispatch bus type.
[0086] 103. Determine a dispatch scheme according to the dispatchable bus information and the required dispatch bus information.
[0087] In the embodiment of the application, the dispatch scheme is used to dispatch the required dispatch bus to meet the real-time boarding demand of the passengers.
[0088] It can be seen that the bus dispatching method based on real-time passenger flow described in the embodiment of the application can determine a bus dispatching scheme by obtaining passenger flow information of a target boarding area and a preset bus departure rule, which is beneficial to improving the bus dispatching efficiency and the bus resource use efficiency, and further improving the service quality of the bus and the bus operation benefit.
[0089] In an optional embodiment, the step 102 of determining the dispatchable bus information and the required dispatch bus information according to the passenger flow information and the preset bus departure rule includes:
[0090] Determine passenger quantity information according to the passenger flow information and departure time information corresponding to the bus departure rule; the passenger quantity information includes a first passenger quantity corresponding to at least two destinations;
[0091] Determine the dispatchable bus information and the required dispatch bus information according to the passenger quantity information and bus capacity information corresponding to the bus departure rule; the bus capacity information includes a first bus type corresponding to any destination and a number of first buses corresponding to the first bus type.
[0092] Optionally, the bus departure rule includes departure time information and bus capacity information corresponding to any bus line. Further, the bus line includes a starting station and a terminal station of the bus, i.e., a destination. Optionally, the departure time information includes at least one departure time corresponding to the destination of any bus line. Optionally, the bus capacity information includes at least one first bus type corresponding to the departure time of the destination and a number of first buses corresponding to the first bus type. For example, the bus departure rule of X line is that y Y-type buses depart from A to B at x time point.
[0093] Optionally, the target boarding area has at least two bus lines, and the destinations corresponding to the two bus lines are inconsistent.
[0094] It can be seen that the bus dispatching method based on real-time passenger flow described in the embodiments of the present application can determine the number of passengers to be boarded corresponding to different destinations according to the departure time information and the passenger flow information, and further determine the dispatchable bus information and the bus information to be dispatched, which is beneficial to improving the bus dispatching efficiency and the bus resource use efficiency, and further improving the service quality of the bus and the bus operation benefit.
[0095] In another optional embodiment, the determination of the passenger number information according to the passenger flow information and the departure time information corresponding to the bus departure rule includes:
[0096] determining the nearest departure time corresponding to any destination according to the destination and the departure time information corresponding to the bus departure rule;
[0097] determining the first passenger number corresponding to any destination according to the nearest departure time, the passenger to be boarded, the destination corresponding to the passenger to be boarded, and the pre-boarding time.
[0098] Optionally, the destination corresponding to the passenger to be boarded in the passenger flow information is selected from the destinations corresponding to the bus departure rule of all target boarding areas according to the requirement, and the nearest departure time corresponding to the destination is determined. For example, the passengers a and b go to A and B respectively, and the nearest departure time corresponding to A and B is c time point and d time point respectively.
[0099] Optionally, a current time interval corresponding to one of the destinations is determined according to the nearest departure time corresponding to the destination and the current time. For example, the nearest departure time corresponding to the destination is c time point, and the current time is e time point, and the current time interval corresponding to the destination is determined as [e, f], where f can be c time point or any time point greater than c time point, and the embodiments of the present application are not limited.
[0100] According to the current time interval corresponding to the destination, all the boarding passengers corresponding to the destination and the pre-boarding time corresponding to each boarding passenger, the number of the boarding passengers corresponding to the destination in the current time interval is determined, and the first passenger number is determined according to the number of the boarding passengers. Optionally, the first passenger number can be the number of the boarding passengers, the product of the number of the boarding passengers and a first weight coefficient, or the sum of the number of the boarding passengers and a specific value, and the embodiment of the application is not limited. Optionally, the first weight coefficient can be pre-set or obtained according to historical data, and the embodiment of the application is not limited.
[0101] It can be seen that the bus scheduling method based on real-time passenger flow described in the embodiment of the application can determine the nearest departure time according to the departure time information corresponding to the destination, and then determine the number of the boarding passengers corresponding to different destinations according to the nearest departure time and the passenger flow information, which is beneficial to improve the bus scheduling efficiency and the bus resource utilization efficiency, and further improve the service quality of the bus and the bus operation benefit.
[0102] In another optional embodiment, the bus scheduling information and the bus scheduling information are determined according to the passenger number information and the bus scheduling rule corresponding to the bus capacity information, including:
[0103] For any destination in the at least two destinations, it is judged whether the first passenger number corresponding to the destination is greater than a first capacity threshold, and a first judgment result is obtained;
[0104] When the first judgment result indicates that the first passenger number is less than or equal to the first capacity threshold, the destination is determined as a first destination, and the first passenger number corresponding to the destination and the bus capacity information corresponding to the destination are used to determine the bus scheduling information corresponding to the first destination;
[0105] When the first judgment result indicates that the first passenger number is greater than the first capacity threshold, the destination is determined as a second destination, and the first passenger number corresponding to the destination and the bus capacity information corresponding to the destination are used to determine the bus scheduling information corresponding to the second destination.
[0106] In the embodiment of the application, the first capacity threshold is the limit capacity of the bus of different types, or the minimum comfort capacity, and the embodiment of the application is not limited. For example, the number of passengers that can be carried by the basic capacity of the Y-type bus is z, and the limit capacity of the Y-type bus is Z1, wherein the relationship between z and Z1 can be represented as
[0107] Z1=[z*λ1]
[0108] Wherein, [·] is a floor function, λ1 is a second weight coefficient, which can be pre-set or obtained according to historical data, and the embodiment of the application is not limited.
[0109] Optionally, when the first passenger quantity is less than or equal to the first transport capacity threshold, the destination corresponding to the first passenger quantity is determined as the first destination.
[0110] Optionally, when the first passenger quantity is greater than the first transport capacity threshold, the destination corresponding to the first passenger quantity is determined as the second destination.
[0111] It can be seen that the bus scheduling method based on real-time passenger flow described in the embodiment of the application can determine the schedulable bus information and the bus information to be scheduled by comparing and analyzing the number of passengers to be taken and the existing bus transport capacity, which is more conducive to improving the bus scheduling efficiency and the bus resource use efficiency, and thus improving the service quality of the bus and the bus operation benefit.
[0112] In another optional embodiment, the schedulable bus information corresponding to the first destination is determined according to the first passenger quantity corresponding to the destination and the bus transport capacity information corresponding to the destination, including:
[0113] determining whether the first passenger quantity corresponding to the first destination is less than or equal to a second transport capacity threshold to obtain a second determination result;
[0114] When the second determination result indicates that the first passenger quantity corresponding to the first destination is less than or equal to the second transport capacity threshold, the first bus type corresponding to the first destination is determined as the schedulable bus type corresponding to the first destination, and the number of the first bus corresponding to the first bus type is determined as the number of the schedulable bus corresponding to the schedulable bus type.
[0115] In the embodiment of the application, the second transport capacity threshold is the minimum schedulable transport capacity corresponding to different types of buses. Further, only when the first passenger quantity going to the first destination is less than the minimum schedulable transport capacity, the bus corresponding to the first destination can be determined as the schedulable bus. For example, the number of passengers that can be carried by the basic transport capacity of the Y-type bus is z, and the minimum schedulable transport capacity corresponding to the Y-type bus is Z2, wherein the relationship between z and Z2 can be represented as
[0116] Z2 = [z * λ2]
[0117] Wherein, [·] is a floor function, λ2 is a third weight coefficient, which can be pre-set or obtained according to historical data, and the embodiment of the application is not limited.
[0118] Optionally, the first passenger quantity corresponding to all the first destinations is compared with the second transport capacity threshold corresponding to the first destination to obtain all the schedulable buses.
[0119] It can be seen that the bus scheduling method based on real-time passenger flow described in the embodiments of the present application can determine the schedulable bus type and the quantity of the schedulable buses corresponding to the schedulable bus type according to the judgment of the quantity of the passengers to be taken and the threshold of the schedulable bus transport capacity, which is more conducive to improving the bus scheduling efficiency and the bus resource use efficiency, and further improving the service quality of the bus and the bus operation benefit.
[0120] In yet another optional embodiment, the determination of the second destination corresponding to the bus to be scheduled according to the first passenger quantity corresponding to the destination and the bus transport capacity information corresponding to the destination comprises:
[0121] determining the second passenger quantity corresponding to the second destination according to the first passenger quantity corresponding to the destination, the second bus type corresponding to the destination, and the quantity of the second buses corresponding to the second bus type;
[0122] determining the bus to be scheduled corresponding to the second destination according to the second passenger quantity and the preset in-service bus information.
[0123] In the embodiments of the present application, the quantity of the passengers to be taken that exceeds the current transport capacity, i.e., the second passenger quantity corresponding to the second destination, is determined according to the first passenger quantity corresponding to the destination and the bus transport capacity corresponding to the destination. Specifically, the total transport capacity corresponding to the destination is determined according to the second bus type corresponding to the destination and the quantity of the second buses corresponding to the second bus type. For example, the bus types to the destination include two types of Y1 and Y2 buses, the quantities of the buses corresponding to Y1 and Y2 are n1 and n2 respectively, and the number of passengers that can be carried by the buses corresponding to Y1 and Y2 are z1 and z2 respectively, then the total transport capacity Z corresponding to the destination is Z z For
[0124] Z z = z1*n1 + z2*n2
[0125] After the total transport capacity is determined, the second passenger quantity is determined according to the first passenger quantity corresponding to the destination and the total transport capacity. Optionally, the second passenger quantity can be the difference between the first passenger quantity and the total transport capacity.
[0126] In the embodiments of the present application, the preset in-service bus information includes the types of all the buses in the target bus area.
[0127] Optionally, the bus type to be dispatched and the number of buses to be dispatched corresponding to the bus type to be dispatched are determined according to the second passenger quantity and the bus type corresponding to the in-service bus information.
[0128] In this embodiment, as an optional implementation, the bus type to be dispatched and the number of buses to be dispatched corresponding to the bus type to be dispatched are determined according to a preset bus selection table, that is, the bus selection table includes a plurality of predefined passenger quantity intervals, each passenger quantity interval corresponds to a bus type to be dispatched and the number of buses to be dispatched corresponding to the bus type to be dispatched, and the corresponding bus type to be dispatched and the number of buses to be dispatched corresponding to the bus type to be dispatched can be determined by matching the passenger quantity interval in which the second passenger quantity falls. For example, the preset bus selection table includes three passenger quantity intervals C1, C2 and C3, wherein the bus type to be dispatched and the number of buses to be dispatched corresponding to C1, C2 and C3 are Y1 and n1, Y2 and n2, and Y3 and n3, the second passenger quantity is l1, and the l1 falls into the interval C2, then the bus type to be dispatched and the number of buses to be dispatched corresponding to the first destination of the second passenger quantity are Y2 and n2.
[0129] In this embodiment, as another optional implementation, the second passenger quantity is matched with all bus types corresponding to the in-service bus information to obtain all possible matching combinations. The matching combination includes a specific bus type to be dispatched and the number of buses to be dispatched corresponding to the bus type to be dispatched. Optionally, the above matching calculation can be realized by a preset calculation model. Optionally, the calculation model can be a neural network model or other model based on known intelligent algorithms, and the embodiments of the present application are not limited thereto.
[0130] It can be seen that the bus dispatching method based on real-time passenger flow described in the embodiments of the present application can determine the bus type to be dispatched and the number of buses to be dispatched corresponding to the bus type to be dispatched according to the passenger quantity and the bus operation information, which is more conducive to improving the bus dispatching efficiency and the bus resource utilization efficiency, and thus improving the service quality of the bus and the bus operation benefit.
[0131] Embodiment two
[0132] Please refer to Figure 4 , Figure 4 is a flow diagram of another bus dispatching method based on real-time passenger flow disclosed by the embodiments of the present application. Among them, Figure 4 The bus dispatching method based on real-time passenger flow described in the embodiments of the present application can obtain the passenger flow information of the target boarding area, and determine the bus dispatching scheme according to the preset bus dispatching rule, which is conducive to improving the bus dispatching efficiency and the bus resource utilization efficiency, and thus improving the service quality of the bus and the bus operation benefit. For example Figure 4As shown, the bus scheduling method based on real-time passenger flow can include the following operations:
[0133] 201, obtain passenger flow information of a target boarding area.
[0134] 202, determine dispatchable bus information and bus information to be dispatched according to the passenger flow information and a preset bus departure rule.
[0135] In the embodiment of the application, for the specific technical details and technical terms of steps 201-202, reference can be made to the detailed description of steps 101-102 in Embodiment One, and the embodiment of the application will not be described again.
[0136] 203, screen the dispatchable bus type matching the bus type to be dispatched as the target bus type.
[0137] 204, determine a scheduling scheme according to the number of buses to be dispatched and the number of dispatchable buses corresponding to the target bus type.
[0138] In the embodiment of the application, the bus type matching the bus type to be dispatched is screened from all dispatchable bus types as the target bus type. For example, when the bus type to be dispatched is Y1, the dispatchable bus types include Y1 and Y2, and all dispatchable buses of type Y1 are selected as the target bus type.
[0139] It can be seen that the bus scheduling method based on real-time passenger flow described in the embodiment of the application can determine a bus scheduling scheme by obtaining passenger flow information of a target boarding area and a preset bus departure rule, which is beneficial to improving the bus scheduling efficiency and the bus resource use efficiency, and further improving the service quality of the bus and the bus operation benefit.
[0140] In an optional embodiment, the determination of the scheduling scheme according to the number of buses to be dispatched and the number of dispatchable buses corresponding to the target bus type in step 204 includes:
[0141] determining whether the number of buses to be dispatched is greater than the number of dispatchable buses corresponding to the target bus type, to obtain a third determination result;
[0142] when the third determination result indicates that the number of buses to be dispatched is greater than or equal to the number of dispatchable buses corresponding to the target bus type, all dispatchable buses corresponding to the target bus type are selected as the buses to be dispatched;
[0143] when the third determination result indicates that the number of buses to be dispatched is less than the number of dispatchable buses corresponding to the target bus type, the dispatchable buses corresponding to the target bus type matching the number of buses to be dispatched are screened according to a preset bus selection rule as the buses to be dispatched.
[0144] Optionally, after determining the target bus type, the number of buses to be dispatched is compared with the number of buses to be dispatched corresponding to the target bus type. When the number of buses to be dispatched is less than the number of buses to be dispatched corresponding to the target bus type, part of the buses to be dispatched is selected as the buses to be dispatched.
[0145] Optionally, when the number of buses to be dispatched is sufficient, i.e., the number of buses to be dispatched is less than the number of buses to be dispatched corresponding to the target bus type, part of the buses to be dispatched is selected as the buses to be dispatched.
[0146] It can be seen that the bus dispatching method based on real-time passenger flow described in the embodiment of the application can determine the buses to be dispatched by comparing the number of buses to be dispatched with the number of buses to be dispatched, so as to obtain a high-performance neural network model, improve the efficiency of bus dispatching and the efficiency of bus resource utilization, and further improve the service quality of buses and the operation efficiency of buses.
[0147] In another optional embodiment, the above-mentioned buses to be dispatched corresponding to the target bus type matching the number of buses to be dispatched are selected as the buses to be dispatched according to the preset bus selection rule, including:
[0148] According to the first passenger number and the target bus type corresponding to the plurality of buses to be dispatched, the pre-loading passenger rate of the plurality of buses to be dispatched is determined, the plurality of buses to be dispatched is sorted from low to high according to the pre-loading passenger rate, and a bus sequence is obtained.
[0149] The first N buses to be dispatched in the bus sequence are selected as the buses to be dispatched; N is the number of buses to be dispatched.
[0150] Optionally, the pre-loading passenger rate of all buses to be dispatched is determined by the bus type and the number of buses to be dispatched of all buses to be dispatched and the first passenger number corresponding thereto. For example, when the type of the bus to be dispatched is Y1, the number of buses to be dispatched of the Y1 type and the corresponding number of passengers to be carried are 1 and z1, respectively, and the first passenger number corresponding thereto is m1, then the pre-loading passenger rate L of the bus to be dispatched is f which can be expressed as
[0151] L f = m1 / z1
[0152] Optionally, when the number of the schedulable buses corresponding to the first destination is multiple, the range of the pre-loading passenger rate is set as [0, 1], that is, the maximum number of the pre-loading passengers of each schedulable bus is the number of the passengers that can be loaded by the bus of the type corresponding to the schedulable bus. Further, when the first passenger number exceeds the number of the passengers that can be loaded, the schedulable buses are matched with the first passenger number in sequence to obtain the pre-loading passenger rate of each schedulable bus. For example, when the number of the schedulable buses corresponding to the first destination is 2, the type of the schedulable buses is Y3, the number of the passengers that can be loaded by the bus of the type Y3 is 20, and the first passenger number is 21, the loading rates of the schedulable buses of the type Y3 are 1 and 0.05 respectively.
[0153] Optionally, after the pre-loading passenger rates of all the schedulable buses are determined, the pre-loading passenger rates are sequentially sorted from low to high to obtain a schedulable bus sequence, and then the schedulable buses with low pre-loading passenger rates are selected in sequence as the buses to be dispatched according to the number of the buses to be dispatched.
[0154] It can be seen that the bus dispatching method based on real-time passenger flow described in the embodiments of the present application can determine the buses to be dispatched according to the pre-loading passenger rates of the schedulable buses, which is more conducive to improving the bus dispatching efficiency and the bus resource use efficiency, and further improving the service quality of the bus and the bus operation benefit.
[0155] Embodiment Three
[0156] Please refer to Figure 3 , Figure 3 is a structural schematic diagram of a bus dispatching device based on real-time passenger flow disclosed by the embodiments of the present application. In the diagram, Figure 3 The device described in the embodiments of the present application can obtain the passenger flow information of a target boarding area, and determine a bus dispatching scheme according to a preset bus departure rule, which is conducive to improving the bus dispatching efficiency and the bus resource use efficiency, and further improving the service quality of the bus and the bus operation benefit. As Figure 3 shown in the diagram, the device can include:
[0157] The obtaining module 301 is configured to obtain the passenger flow information of a target boarding area. The passenger flow information includes a plurality of passengers who desire to take a bus, a destination corresponding to each passenger who desires to take a bus, and a pre-boarding time.
[0158] The first determining module 302 is configured to determine schedulable bus information and bus to be dispatched information according to the passenger flow information and a preset bus departure rule. The schedulable bus information includes a schedulable bus type corresponding to at least one first destination and the number of the schedulable buses of the schedulable bus type. The bus to be dispatched information includes a bus to be dispatched type corresponding to at least one second destination and the number of the buses to be dispatched of the bus to be dispatched type.
[0159] The second determining module 303 is configured to determine a scheduling scheme according to the dispatchable bus information and the to-be-dispatched bus information, and the scheduling scheme is used to dispatch the to-be-dispatched bus to meet the real-time passenger riding demand.
[0160] It can be seen that, in the embodiments Figure 3 The bus dispatching device based on real-time passenger flow can provide a bus dispatching method based on real-time passenger flow, can determine a bus dispatching scheme according to the passenger flow information of the target riding area and the preset bus departure rule, and is beneficial to improving the bus dispatching efficiency and the bus resource use efficiency, and further improving the service quality of the bus and the bus operation benefit.
[0161] In another optional embodiment, as shown in the figure, Figure 4 The first determining module 302 includes a first determining sub-module 3021 and a second determining sub-module 3022, where:
[0162] The first determining sub-module 3021 is configured to determine passenger quantity information according to the passenger flow information and the departure time information corresponding to the bus departure rule, and the passenger quantity information includes a first passenger quantity corresponding to at least one destination.
[0163] The second determining sub-module 3022 is configured to determine the dispatchable bus information and the to-be-dispatched bus information according to the passenger quantity information and the bus carrying capacity information corresponding to the bus departure rule, and the bus carrying capacity information includes a first bus type corresponding to any destination and a quantity of the first bus corresponding to the first bus type.
[0164] It can be seen that, in the embodiments Figure 4 The bus dispatching device based on real-time passenger flow can provide a bus dispatching method based on real-time passenger flow, can determine a bus dispatching scheme according to the passenger flow information and the departure time information, determine the passenger quantity information corresponding to different destinations, and further determine the dispatchable bus information and the to-be-dispatched bus information, which is beneficial to improving the bus dispatching efficiency and the bus resource use efficiency, and further improving the service quality of the bus and the bus operation benefit.
[0165] In yet another optional embodiment, the first determining sub-module 3021 determines the passenger quantity information according to the passenger flow information and the departure time information corresponding to the bus departure rule in the following specific manner:
[0166] determining a latest departure time corresponding to any destination according to the departure time information corresponding to any destination and the bus departure rule;
[0167] determining a first passenger quantity corresponding to any destination according to the latest departure time, the passenger who desires to ride a bus, the destination corresponding to the passenger who desires to ride a bus, and a pre-riding time.
[0168] It can be seen that the bus scheduling device based on real-time passenger flow described in the embodiment of the present application can provide a bus scheduling method based on real-time passenger flow, can determine the nearest departure time according to the departure time information corresponding to the destination, and then determine the number of passengers intending to take the bus corresponding to different destinations according to the nearest departure time and the passenger flow information, which is beneficial to improving the bus scheduling efficiency and the bus resource use efficiency, and further improving the service quality of the bus and the bus operation benefit.
[0169] In yet another optional embodiment, the specific manner in which the second determining submodule 3022 determines the dispatchable bus information and the required dispatch bus information according to the passenger quantity information and the bus transport capacity information corresponding to the bus departure rule is as follows:
[0170] For any destination in the at least two destinations, it is determined whether the first passenger quantity corresponding to the destination is greater than a first transport capacity threshold, to obtain a first determination result;
[0171] When the first determination result indicates that the first passenger quantity is less than or equal to the first transport capacity threshold, the destination is determined to be a first destination, and the dispatchable bus information corresponding to the first destination is determined according to the first passenger quantity corresponding to the destination and the bus transport capacity information corresponding to the destination;
[0172] When the first determination result indicates that the first passenger quantity is greater than the first transport capacity threshold, the destination is determined to be a second destination, and the required dispatch bus information corresponding to the second destination is determined according to the first passenger quantity corresponding to the destination and the bus transport capacity information corresponding to the destination.
[0173] It can be seen that the bus scheduling device based on real-time passenger flow described in the embodiment of the present application can provide a bus scheduling method based on real-time passenger flow, can provide the dispatchable bus information and the required dispatch bus information by comparing and analyzing the number of passengers intending to take the bus and the existing bus transport capacity, which is more beneficial to improving the bus scheduling efficiency and the bus resource use efficiency, and further improving the service quality of the bus and the bus operation benefit.
[0174] In yet another optional embodiment, the specific manner in which the second determining submodule 3022 determines the dispatchable bus information corresponding to the first destination according to the first passenger quantity corresponding to the destination and the bus transport capacity information corresponding to the destination is as follows:
[0175] It is determined whether the first passenger quantity corresponding to the first destination is less than or equal to a second transport capacity threshold, to obtain a second determination result;
[0176] When the second determination result indicates that the first passenger quantity corresponding to the first destination is less than or equal to the second transport capacity threshold, the first bus type corresponding to the first destination is determined as a dispatchable bus type corresponding to the first destination, and the quantity of the first bus corresponding to the first bus type is determined as the quantity of the dispatchable bus corresponding to the dispatchable bus type.
[0177] It can be seen that the bus dispatching device based on real-time passenger flow described in the embodiments of the present application can provide a bus dispatching method based on real-time passenger flow, can determine the dispatchable bus type and the quantity of the dispatchable bus corresponding to the dispatchable bus type according to the judgment of the passenger quantity to be taken and the threshold of the dispatchable bus transport capacity, is more conducive to improving the bus dispatching efficiency and the bus resource use efficiency, and further improves the service quality of the bus and the bus operation benefit.
[0178] In yet another optional embodiment, the second determining sub-module 3022 determines the specific manner of determining the dispatchable bus information corresponding to the second destination according to the first passenger quantity corresponding to the destination and the bus transport capacity information corresponding to the destination, as follows:
[0179] determining the second passenger quantity corresponding to the second destination according to the first passenger quantity corresponding to the destination, the second bus type corresponding to the destination, and the quantity of the second bus corresponding to the second bus type;
[0180] determining the dispatchable bus type corresponding to the second destination and the quantity of the dispatchable bus corresponding to the dispatchable bus type according to the second passenger quantity and the preset in-service bus information.
[0181] It can be seen that the bus dispatching device based on real-time passenger flow described in the embodiments of the present application can provide a bus dispatching method based on real-time passenger flow, can determine the dispatchable bus type and the quantity of the dispatchable bus corresponding to the dispatchable bus type according to the judgment of the passenger quantity to be taken and the threshold of the dispatchable bus transport capacity, is more conducive to improving the bus dispatching efficiency and the bus resource use efficiency, and further improves the service quality of the bus and the bus operation benefit.
[0182] In yet another optional embodiment, as shown in Figure 4 the second determining module 303 includes a screening sub-module 3031 and a third determining sub-module 3032, wherein:
[0183] The screening sub-module 3031 is configured to screen the dispatchable bus type matching the dispatchable bus type as a target bus type;
[0184] The third determining sub-module 3032 is configured to determine the dispatching scheme according to the quantity of the dispatchable bus and the quantity of the dispatchable bus corresponding to the target bus type.
[0185] It can be seen that the bus dispatching device based on real-time passenger flow described in the embodiments of the present application can provide a bus dispatching method based on real-time passenger flow, can determine the dispatchable bus type and the quantity of the dispatchable bus corresponding to the dispatchable bus type according to the judgment of the passenger quantity to be taken and the threshold of the dispatchable bus transport capacity, is more conducive to improving the bus dispatching efficiency and the bus resource use efficiency, and further improves the service quality of the bus and the bus operation benefit. Figure 4The bus scheduling device based on real-time passenger flow can provide a bus scheduling method based on real-time passenger flow, can determine a bus scheduling scheme by acquiring passenger flow information of a target boarding area and a preset bus departure rule, is favorable for improving bus scheduling efficiency and bus resource use efficiency, and further improves service quality and bus operation benefit of the bus.
[0186] In still another optional embodiment, the third determining submodule 3032 determines the specific manner of the scheduling scheme according to the number of buses to be scheduled and the number of schedulable buses corresponding to the target bus type, which is as follows:
[0187] determining whether the number of buses to be scheduled is greater than the number of schedulable buses corresponding to the target bus type, to obtain a third determination result;
[0188] when the third determination result indicates that the number of buses to be scheduled is greater than or equal to the number of schedulable buses corresponding to the target bus type, selecting all the schedulable buses corresponding to the target bus type as the buses to be scheduled;
[0189] when the third determination result indicates that the number of buses to be scheduled is less than the number of schedulable buses corresponding to the target bus type, screening the schedulable buses corresponding to the target bus type that match the number of buses to be scheduled as the buses to be scheduled according to a preset bus selection rule.
[0190] It can be seen that the bus scheduling device based on real-time passenger flow described in the embodiments of the present application can provide a bus scheduling method based on real-time passenger flow, can determine buses to be scheduled by judging the number of buses to be scheduled and the number of schedulable buses, is favorable for obtaining a high-performance neural network model, is more favorable for improving bus scheduling efficiency and bus resource use efficiency, and further improves service quality and bus operation benefit of the bus.
[0191] In still another optional embodiment, the third determining submodule 3032 determines the specific manner of the scheduling scheme according to the preset bus selection rule, which is as follows:
[0192] determining a pre-loading passenger rate corresponding to each of the schedulable buses according to the first passenger number and the schedulable buses corresponding to the target bus type, sorting the schedulable buses according to the pre-loading passenger rate from low to high to obtain a schedulable bus sequence;
[0193] selecting the first N schedulable buses in the schedulable bus sequence as the buses to be scheduled; N is the number of buses to be scheduled.
[0194] It can be seen that the bus scheduling device based on real-time passenger flow described in the embodiment of the present application can provide a bus scheduling method based on real-time passenger flow, can determine the bus to be dispatched according to the pre-loading passenger rate of the schedulable bus, is more conducive to improving the bus scheduling efficiency and the bus resource use efficiency, and further improves the service quality of the bus and the bus operation benefit.
[0195] Embodiment four
[0196] Please refer to Figure 5 , Figure 5 is another structure diagram of the bus scheduling device based on real-time passenger flow disclosed by the embodiment of the present application. Wherein, Figure 5 The device described can obtain the passenger flow information of the target boarding area, and determine the bus scheduling scheme according to the preset bus departure rule, which is conducive to improving the bus scheduling efficiency and the bus resource use efficiency, and further improving the service quality of the bus and the bus operation benefit. As shown in Figure 5 The device can include:
[0197] The memory 401 stores executable program codes;
[0198] The processor 402 is coupled with the memory 401;
[0199] The processor 402 calls the executable program codes stored in the memory 401, and is used for executing the steps in the bus scheduling method based on real-time passenger flow described in the embodiment one or the embodiment two.
[0200] Embodiment five
[0201] The embodiment of the present application discloses a computer readable storage medium which stores a computer program for electronic data exchange, wherein the computer program makes the computer execute the steps in the bus scheduling method based on real-time passenger flow described in the embodiment one or the embodiment two.
[0202] Embodiment six
[0203] The embodiment of the present application discloses a computer program product, which includes a non-transitory computer readable storage medium storing a computer program, and the computer program is operable to make a computer execute the steps in the bus scheduling method based on real-time passenger flow described in the embodiment one or the embodiment two.
[0204] The apparatus embodiments described above are only illustrative, wherein the modules illustrated as separate components can or can not be physically separated, and the components illustrated as modules can or can not be physical modules, i.e., can be located in one place or distributed to multiple network modules. Part or all of the modules can be selected to achieve the purposes of the embodiments according to actual needs. Those skilled in the art can understand and implement without creative labor.
[0205] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be realized by means of software and necessary general hardware platform, and of course can also be realized by hardware. Based on such understanding, the above technical solutions can be embodied in the form of software products, and the computer software products can be stored in a computer readable storage medium, including a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, a magnetic disk storage, a magnetic tape storage, or any other computer readable medium that can be used to carry or store data.
[0206] Finally, it should be noted that: the bus dispatching method and device based on real-time passenger flow disclosed by the embodiments of the present application are only the preferred embodiments of the present application, and are used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that; the technical solutions recorded in the foregoing embodiments can be modified, or some technical features can be replaced by equivalents; and these modifications or replacements do not make the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A bus dispatching method based on real-time passenger flow, characterized in that, The method comprises: acquiring passenger flow information of a target boarding area; the passenger flow information comprises a plurality of passengers intending to board, a destination corresponding to each of the passengers intending to board, and a boarding time; determining dispatchable bus information and bus information to be dispatched according to the passenger flow information and a preset bus dispatching rule; the dispatchable bus information comprises a dispatchable bus type corresponding to at least one first destination and a number of dispatchable buses corresponding to the dispatchable bus type; the bus information to be dispatched comprises a bus type to be dispatched corresponding to at least one second destination and a number of buses to be dispatched corresponding to the bus type to be dispatched; determining a dispatching scheme according to the dispatchable bus information and the bus information to be dispatched; the dispatching scheme is used to dispatch the buses to be dispatched to meet real-time boarding demands of the passengers; wherein the determining of the dispatchable bus information and the bus information to be dispatched according to the passenger flow information and the preset bus dispatching rule comprises: determining passenger quantity information according to the passenger flow information and dispatching time information corresponding to the bus dispatching rule; the passenger quantity information comprises a first passenger quantity corresponding to at least two destinations; determining the dispatchable bus information and the bus information to be dispatched according to the passenger quantity information and bus capacity information corresponding to the bus dispatching rule; the bus capacity information comprises a first bus type corresponding to any of the destinations and a number of first buses corresponding to the first bus type; wherein the determining of the dispatchable bus information and the bus information to be dispatched according to the passenger quantity information and the bus capacity information corresponding to the bus dispatching rule comprises: for any of the at least two destinations, determining whether the first passenger quantity corresponding to the destination is greater than a first capacity threshold to obtain a first determination result; when the first determination result indicates that the first passenger quantity is less than or equal to the first capacity threshold, determining that the destination is a first destination, and determining the dispatchable bus information corresponding to the first destination according to the first passenger quantity corresponding to the destination and the bus capacity information corresponding to the destination; when the first determination result indicates that the first passenger quantity is greater than the first capacity threshold, determining that the destination is a second destination, and determining the bus information to be dispatched corresponding to the second destination according to the first passenger quantity corresponding to the destination and the bus capacity information corresponding to the destination; and the determining of the dispatchable bus information corresponding to the first destination according to the first passenger quantity corresponding to the destination and the bus capacity information corresponding to the destination comprises: determining whether the first passenger quantity corresponding to the first destination is less than or equal to a second capacity threshold to obtain a second determination result, the second capacity threshold being a minimum dispatchable capacity corresponding to different types of buses. determining that the first bus type corresponding to the first destination is a dispatchable bus type corresponding to the first destination when the second determination result indicates that the first passenger quantity corresponding to the first destination is less than or equal to a second transport capacity threshold value, and determining that the number of the first buses corresponding to the first bus type is the number of the dispatchable buses corresponding to the dispatchable bus type. 2.The real-time passenger flow based bus dispatching method according to claim 1, wherein, The passenger quantity information is determined according to the passenger flow information and the departure time information corresponding to the bus departure rule. The nearest departure time corresponding to any of the destinations is determined according to the passenger flow information and the departure time information corresponding to the bus departure rule. The first passenger quantity corresponding to any of the destinations is determined according to the nearest departure time, the passenger who desires to take a bus, the destination corresponding to the passenger who desires to take a bus, and the pre-boarding time. 3.The real-time passenger flow based bus dispatching method according to claim 1, wherein, The second passenger quantity corresponding to the second destination is determined according to the first passenger quantity corresponding to the destination, the second bus type corresponding to the destination, and the number of the second buses corresponding to the second bus type. The second passenger quantity corresponding to the second destination is determined according to the first passenger quantity corresponding to the destination, the second bus type corresponding to the destination, and the number of the second buses corresponding to the second bus type. The dispatch scheme is determined according to the dispatchable bus information and the dispatch bus information. 4.The real-time passenger flow based bus dispatching method according to claim 1, wherein, The dispatchable bus type that matches the dispatch bus type is selected as a target bus type. The dispatch scheme is determined according to the number of the dispatch buses and the number of the dispatchable buses corresponding to the target bus type. The dispatch scheme is determined according to the number of the dispatch buses and the number of the dispatchable buses corresponding to the target bus type.
5. The real-time passenger flow based bus dispatching method of claim 4, wherein, A third determination result is obtained by determining whether the number of the dispatch buses is greater than or equal to the number of the dispatchable buses corresponding to the target bus type. When the third determination result indicates that the number of the dispatch buses is greater than or equal to the number of the dispatchable buses corresponding to the target bus type, all the dispatchable buses corresponding to the target bus type are selected as the dispatch buses. When the third determination result indicates that the number of the dispatch buses is less than the number of the dispatchable buses corresponding to the target bus type, the dispatchable buses corresponding to the target bus type that match the number of the dispatch buses are selected as the dispatch buses according to a preset bus selection rule. The device is used to perform the bus dispatch method based on real-time passenger flow according to any of claims 1-5, and the device comprises:
6. A bus dispatching device based on real-time passenger flow, characterized by, A obtaining module is configured to obtain passenger flow information of a target boarding area, wherein the passenger flow information comprises a plurality of passengers who desire to take a bus, a destination corresponding to each of the passengers who desire to take a bus, and a pre-boarding time. The passenger flow information is obtained by the obtaining module. The first determining module is configured to determine dispatchable bus information and required dispatch bus information according to the passenger flow information and a preset bus dispatch rule; the dispatchable bus information comprises a dispatchable bus type corresponding to at least one first destination and a number of dispatchable buses corresponding to the dispatchable bus type; the required dispatch bus information comprises a required dispatch bus type corresponding to at least one second destination and a number of required dispatch buses corresponding to the required dispatch bus type; The second determining module is configured to determine a dispatch scheme according to the dispatchable bus information and the required dispatch bus information; the dispatch scheme is used to dispatch the required dispatch buses to meet real-time passenger riding demands.
7. A bus dispatching device based on real-time passenger flow, characterized by, The device comprises: a memory storing executable program codes; a processor coupled with the memory; the processor invokes the executable program codes stored in the memory to execute the bus dispatch method based on real-time passenger flow according to any one of claims 1-5.
Citation Information
Patent Citations
Intelligent scheduling system of bus
CN104217582A
Bus dispatching system and dispatching method
CN108961750A
Vehicle automatic scheduling control method and device
CN112330956A