Bus scheduling method, device, equipment and medium

By combining weather forecast data and driver/vehicle safety index in the bus dispatching system, the most suitable combination of buses and drivers is solved, and the problem of neglecting weather factors in the prior art is improved, and the driving safety and scheduling accuracy of buses are improved.

CN119918885AInactive Publication Date: 2025-05-02BEIJING WEIRAN HUIKE INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510073447.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-16
Publication Date
2025-05-02
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing bus scheduling methods lack sufficient consideration of weather factors, which has affected the safety and efficiency of buses.

Method used

By determining the weather safety index of the bus route based on the current weather forecast data and the departure time of the target bus, and combining the safety index of the available driver and bus, a pre-trained bus dispatch model is entered to determine the most suitable bus and driver combination.

Benefits of technology

It effectively reduces the impact of weather on bus driving safety, improves travel safety, ensures the effective utilization of resources, and improves the accuracy of bus dispatch.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119918885A_ABST
    Figure CN119918885A_ABST
Patent Text Reader

Abstract

The invention provides a bus scheduling method, device and equipment and a medium, and the method comprises the steps: determining a weather safety index of a driving route of a target shift bus based on the current weather forecast data and the departure time of the target shift bus; obtaining a driving safety index of available drivers of the target shift and a vehicle safety index of available buses; and inputting the weather safety index, the driving safety index of the available driver and the vehicle safety index of the available bus into a pre-trained bus scheduling model to determine the bus and the driver used by the target shift. Therefore, the most appropriate bus and driver can be matched according to the weather forecast data, the bus driving safety is improved, the influence of weather on the bus driving safety is reduced, and the travel safety is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent transportation technology, and in particular to a bus dispatching method, device, equipment and medium. Background Art

[0002] At present, weather conditions have become one of the important factors affecting the smoothness and safety of transportation. Its ever-changing and unpredictable characteristics often bring many challenges to the transportation system. However, in the current bus scheduling, there is a general lack of sufficient consideration of weather factors. This neglect has greatly affected the safety and efficiency of bus driving. For example, heavy rain may cause slippery roads and serious water accumulation, increasing the difficulty and risk of vehicle driving. Heavy snow weather will reduce visibility, seriously affecting the driver's sight and judgment, etc.

[0003] Therefore, how to dispatch buses according to weather conditions has become a research hotspot. Summary of the invention

[0004] In view of this, the present application provides a bus scheduling method, device, equipment and computer-readable storage medium, which can match the most suitable bus and driver according to weather forecast data, improve bus driving safety, reduce the impact of weather on bus driving safety, and improve travel safety.

[0005] According to the first aspect of the present application, a bus scheduling method is provided, which may include: determining the weather safety index of the target bus route based on current weather forecast data and the departure time of the target bus; obtaining the driving safety index of the available drivers of the target bus and the vehicle safety index of the available buses; inputting the weather safety index, the driving safety index of the available drivers and the vehicle safety index of the available buses into a pre-trained bus scheduling model to determine the bus and driver used for the target bus.

[0006] According to a second aspect of the present application, a bus dispatching device is provided, which may include: a weather index determination module, used to determine the weather safety index of the target bus route based on current weather forecast data and the departure time of the target bus; a driving and vehicle index acquisition module, used to obtain the driving safety index of available drivers and the vehicle safety index of available buses for the target shift; a bus and driver determination module, used to input the weather safety index, the driving safety index of available drivers and the vehicle safety index of available buses into a pre-trained bus dispatching model to determine the bus and driver used for the target shift.

[0007] According to a third aspect of the present application, an electronic device is provided, comprising a processor, a memory, and a program stored in the memory and capable of running on the processor, wherein when the program is executed by the processor, the steps of any one of the bus dispatching methods provided in the embodiments of the present application are implemented.

[0008] According to a fourth aspect of the present application, a computer-readable storage medium is provided, on which instructions are stored. When the instructions are executed by a processor, the steps of any one of the bus dispatching methods provided in the embodiments of the present application are implemented.

[0009] In summary, the bus dispatching method, device, electronic device, and computer-readable storage medium provided by the present application have the following beneficial effects:

[0010] By determining the weather safety index of the target bus route based on the current weather forecast data and the departure time of the target bus, the impact of the weather conditions along the target bus route on driving safety can be quantified. The driving safety index of the available drivers of the target bus and the vehicle safety index of the available buses are obtained, and the weather safety index, the driving safety index of the available drivers and the vehicle safety index of the available buses are input into the pre-trained bus scheduling model to determine the bus and driver used for the target bus. In this way, by comprehensively considering the weather safety index, the driving safety index of the driver and the vehicle safety index of the bus, the operating conditions of the target bus can be evaluated more comprehensively and accurately, so as to select the optimal bus and driver combination, effectively reduce the risk of traffic accidents, improve the accuracy of scheduling, and make full use of weather forecast data and real-time bus operation data, so as to flexibly schedule buses and drivers according to specific predicted weather conditions and ensure the effective use of resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0012] Figure 1 A schematic diagram showing the structure of a bus dispatching system provided by an embodiment of the present application is shown;

[0013] Figure 2 A schematic diagram showing a process flow of a public transportation scheduling method provided by an embodiment of the present application is shown;

[0014] Figure 3A schematic diagram showing the structure of a weather safety index evaluation model provided in an embodiment of the present application is shown;

[0015] Figure 4 A schematic diagram showing the structure of a bus dispatching device provided by an embodiment of the present application is shown;

[0016] Figure 5 A schematic structural diagram of an electronic device provided according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0017] In order to make the above and other features and advantages of the present application more clear, the present application is further described below in conjunction with the accompanying drawings. It should be understood that the specific embodiments given herein are for the purpose of explaining to those skilled in the art and are only exemplary and not restrictive.

[0018] In the following description, many specific details are set forth to provide a thorough understanding of the present application. However, it is apparent to those skilled in the art that specific details need not be adopted to practice the present application. In other cases, well-known steps or operations are not described in detail to avoid blurring the present application.

[0019] On the one hand, an embodiment of the present application provides an intelligent public transportation system. Figure 1 A schematic diagram of the structure of a bus dispatching system provided by an embodiment of the present application is shown as follows: Figure 1 As shown, the intelligent public transportation system 10 may include a public transportation management platform 11, a bus terminal 12 arranged on each bus, and an electronic bus stop sign 13 set up at each bus stop.

[0020] The bus management platform 11, the bus terminal 12 and the electronic bus stop 13 can communicate with each other. The bus management platform 11 can receive weather information from the weather forecast platform, filter and integrate it according to the bus's route, and generate weather information along the bus route.

[0021] The bus management platform 11 pushes weather information along the way to the bus terminal 12 and the electronic bus stop 13. The bus terminal 12 and the electronic bus stop 13 display the weather information along the way, so that passengers can understand the weather information along the way through the bus terminal and the electronic bus stop during riding or waiting, so as to make travel preparations in advance.

[0022] In addition, the electronic bus stop sign 13 can also be used to display the arrival information and route information of the bus.

[0023] In order to reduce the impact of weather on bus driving safety, in some embodiments, the bus management platform 11 can execute any bus scheduling method provided in the embodiments of the present application to match the optimal bus and driver according to the weather safety index of the target shift, thereby reducing the impact of weather on bus driving safety and improving travel safety.

[0024] On the other hand, an embodiment of the present application provides a bus dispatching method, which can be applied to a bus management platform 11. Figure 2 A schematic diagram of a process of a bus dispatching method provided by an embodiment of the present application is shown as follows: Figure 2 As shown, the bus scheduling method may include the following steps.

[0025] S21, determining the weather safety index of the target bus route based on the current weather forecast data and the departure time of the target bus.

[0026] The current weather forecast data involved in one embodiment of the present application may be the weather forecast data most recently acquired before the departure time. The weather safety index is a quantitative index that can be used to reflect the relative safety of a bus traveling on a specific route under predicted weather conditions. The target bus may refer to any bus whose departure time is after the time when the current weather forecast data is acquired. The travel time of the target bus is within the predicted time period in the current weather forecast data.

[0027] In an embodiment of the present application, the bus management platform 11 can query the weather forecast data within a preset period from the weather forecast platform, wherein the preset period can be set according to user needs, for example, the preset duration can be 12 hours. And according to the departure time of the target bus, the weather forecast data of the target bus time is selected from the queried weather forecast data, wherein the departure time of the target bus is the planned departure time. The target bus time can refer to the time period from the departure time to the time when the bus arrives at the final stop.

[0028] The bus management platform 11 analyzes the impact of the weather forecast data of the corresponding time period on the driving safety of the bus, and calculates the weather safety index of the bus on the driving route in the corresponding time period. The driving route can be the bus route corresponding to the target shift.

[0029] S22, obtaining the driving safety index of the available drivers of the target shift and the vehicle safety index of the available buses.

[0030] The target shift available driver involved in one embodiment of the present application may refer to a driver who is idle during the target shift time. The available bus may be a bus that is idle during the target shift time. The driving safety index may be used to reflect the driving ability and safety of the driver under various weather conditions. The vehicle safety index may reflect the reliability and safety of the bus.

[0031] In one embodiment of the present application, the bus management platform 11 can calculate a driving safety index for each driver based on the driving record of each driver. The driving record may include but is not limited to accident rates, driving skills, and bad driving behaviors under various weather conditions. In addition, the bus management platform 11 can calculate a vehicle safety index for each bus based on the vehicle information of each bus. The vehicle information may include vehicle type, age, failure rate, repair record, and maintenance status.

[0032] It should be noted that the higher the driving safety index, the higher the driver's driving ability and safety. The higher the vehicle safety index, the higher the reliability and safety of the vehicle.

[0033] In addition, the bus management platform 11 selects idle drivers and buses within the target shift time as available drivers and available buses for the target shift according to the bus attendance records.

[0034] S23, inputting the weather safety index, the driving safety index of the available drivers, and the vehicle safety index of the available buses into a pre-trained bus dispatching model to determine the buses and drivers used for the target shift.

[0035] The pre-trained bus dispatch model involved in one embodiment of the present application refers to a trained bus dispatch model. The bus dispatch model is a model constructed based on a dispatch algorithm combined with an optimization algorithm, and is trained based on a dispatch data set. The dispatch data set includes actual weather safety indexes in various time periods, driving safety indexes of multiple drivers and vehicle safety indexes of buses, and driver and bus combinations matched based on expert experience.

[0036] The bus and driver used for the target shift involved in one embodiment of the present application refer to the optimal bus and driver that match the weather conditions corresponding to the target shift time. Among them, the optimal bus and driver may refer to the bus and driver combination with the highest driving safety during the driving process.

[0037] In one embodiment of the present application, the weather safety index, the driving safety index of available drivers and the vehicle safety index of available buses are used as inputs of the bus dispatch model. The bus management platform 11 inputs various safety indexes into the bus dispatch model to calculate the bus and driver combination with the best target shift.

[0038] In the above embodiments, the weather safety index of the target bus route is determined based on the current weather forecast data and the departure time of the target bus, so that the impact of the weather conditions along the target bus route on the driving safety can be quantified. The driving safety index of the available drivers of the target shift and the vehicle safety index of the available buses are obtained, and the weather safety index, the driving safety index of the available drivers and the vehicle safety index of the available buses are input into the pre-trained bus scheduling model to determine the bus and driver used for the target shift. In this way, by comprehensively considering the weather safety index, the driving safety index of the driver and the vehicle safety index of the bus, the operating conditions of the target bus can be evaluated more comprehensively and accurately, so as to select the optimal bus and driver combination, effectively reduce the risk of traffic accidents, improve the accuracy of scheduling, and make full use of weather forecast data and real-time bus operation data, so as to flexibly schedule buses and drivers according to specific predicted weather conditions to ensure the effective use of resources.

[0039] In some embodiments, the dispatching target of the bus dispatching model may be the highest safety. S23, inputting the weather safety index, the driving safety index of the available drivers, and the vehicle safety index of the available buses into the pre-trained bus dispatching model to determine the bus and driver used for the target shift, may include: inputting the weather safety index, the driving safety index of the available drivers, and the vehicle safety index of the available buses into the bus dispatching model; determining the safety scores of multiple driver and bus combinations that match the weather safety index through the bus dispatching model; and selecting the bus and driver combination with the highest score as the bus and driver used for the target shift.

[0040] In one embodiment of the present application, the bus dispatch model first matches each available driver with each available bus to generate all available combinations. A safety score is calculated for each combination based on the driving safety index of all available drivers, the vehicle safety index of all available buses, and the weather safety index. Based on the safety score of each combination, the bus and driver combination with the highest score is selected as the bus and driver used for the target shift.

[0041] In one embodiment of the present application, the calculation formula for the safety score of the driver and bus combination may be the following formula.

[0042] S=α×W+β×D-γ×V (1)

[0043] Among them, S represents the safety score, W represents the driving safety index, D represents the vehicle safety index, V represents the weather index, and α, β, and γ represent the weight coefficients of the three. It should be noted that the weight coefficients are obtained through pre-training.

[0044] In one embodiment of the present application, when the safety scores of two combinations are the same, the combination with the lowest cost of driver and bus is selected as the bus and driver used for the target shift. The combination cost can be calculated based on the cost of using the bus and the salary of the driver.

[0045] In the above embodiment, the bus dispatching model can effectively select the bus and driver combination that best suits the current weather conditions according to the weather safety index, the driver's driving safety and the bus vehicle safety index, thereby improving driving safety.

[0046] In some embodiments, since the mileage of the bus route is relatively long, the weather conditions of each road section are comprehensively considered when evaluating the weather of the bus route.

[0047] S21, based on the current weather forecast data and the departure time of the target bus, determining the weather safety index of the target bus route, may include: determining the time for the target bus to travel to each section in the route based on the departure time of the target bus and the location of each station on the route; based on the time for the target bus to travel to each section in the route, obtaining the weather forecast data for each section at the corresponding time from the current weather data; based on the weather forecast data, using a weather safety index evaluation model to determine the weather safety index of the target bus route.

[0048] The road section involved in an embodiment of the present application may be a road between adjacent stations. The weather safety index evaluation model is used to evaluate the impact of weather on the entire bus route.

[0049] In one embodiment of the present application, the bus management platform 11 can obtain the bus stop schedule, and query the time it takes for the target bus to travel to each section of the route based on the departure time of the target bus and the location of each stop on the route.

[0050] In another embodiment of the present application, the bus management platform 11 can obtain the departure time of the target bus, the location of each station on the bus route and the bus speed without obtaining the bus station schedule. The relative mileage between each section can be calculated based on the location of each station, and the travel time of each section can be estimated based on the bus speed. Based on the historical waiting time and travel time of each section, the time for the target bus to travel to each section in the route can be obtained, so that a more accurate arrival time can be obtained, so as to obtain a more accurate weather forecast later.

[0051] In one embodiment of the present application, the bus management platform 11 selects weather forecast data for the corresponding time of each section from the current weather forecast data according to the time when the target bus arrives at each section in the route and the location of each section.

[0052] In one embodiment of the present application, the bus management platform 11 can use the weather safety index evaluation model to perform weather safety evaluation on each road section based on the weather forecast data at the corresponding time of each road section, and comprehensively evaluate the weather safety of each road section to obtain the weather safety index of the entire target bus route.

[0053] In the above embodiment, by determining the time when the target bus will arrive at each section of the road, obtaining the weather forecast data for each section within the corresponding time, and using the weather safety index assessment model to conduct a safety assessment on the weather conditions of the entire driving route based on the weather data of each section, a weather safety index that can reflect the weather conditions of the entire driving route is obtained, thereby providing favorable support for subsequent bus scheduling.

[0054] In some embodiments, based on weather forecast data, using a weather safety index assessment model, determining the weather safety index of a target bus route includes: inputting the weather forecast data for the corresponding time of each road section into the weather safety index assessment model; converting the weather forecast data for the corresponding time of each road section into a weather index corresponding to each road section through a weather coefficient conversion module of the weather safety index assessment model; and determining the weather safety index of the target bus route based on the mileage and weather index of each road section through a weather safety index calculation module of the weather safety index assessment model.

[0055] In one embodiment of the present application, Figure 3 A schematic diagram showing the structure of a weather safety index evaluation model provided by an embodiment of the present application is shown as follows: Figure 3 As shown, the weather safety index evaluation model 30 may include a weather coefficient conversion module 31 and a weather safety index calculation module 32. The weather coefficient conversion module 31 is used to convert weather data into a weather index related to weather safety. The weather index reflects the safety of the road section under specific weather conditions.

[0056] The weather safety index calculation module 32 can be used to calculate the weather safety index of the entire driving route according to the weather index of each road section and the corresponding mileage.

[0057] In an embodiment of the present application, the weather coefficient conversion module 31 can convert various types of weather data into weather indices according to preset conversion rules. The preset rules can be set based on the degree of influence of weather data on bus driving safety. For example, the preset conversion rules may include clear corresponding to 0, cloudy corresponding to 0, light snow corresponding to 1, moderate snow corresponding to 2, heavy snow corresponding to 3, and blizzard corresponding to 4, etc.

[0058] In the above embodiment, the weather index of each road section is obtained based on the weather data of each road section at the corresponding time through the weather coefficient conversion module, and the weather index of each road section and the corresponding mileage are integrated through the weather safety index calculation module 32 to calculate the weather safety index of the entire driving route, thereby improving the accuracy and practicality of the weather safety index.

[0059] In some embodiments, determining the weather safety index of the target bus route based on the mileage and weather index of each road segment includes: calculating the weather safety index using the following formula.

[0060]

[0061] Among them, L i represents the mileage of the i-th road section, Ki represents the weather index of the i-th road section, and n represents the total number of road sections on the driving route.

[0062] That is to say, the weather safety index calculation module 32 obtains the weather safety index of the target bus route by using an additive fusion method, that is, the product of the weather index and the mileage of each section is added to obtain the weather safety index of the entire route.

[0063] In the above embodiment, the product of the weather index and mileage of each road section is added to obtain the weather safety index of the entire driving route. The weather safety index comprehensively considers the impact of weather conditions and mileage on the safe driving of the bus, providing strong support for subsequent bus scheduling strategies.

[0064] In some embodiments, the weather safety index calculation module 32 may also obtain the weather safety index of the target bus route by weighted fusion, that is, according to the road type of each road section, obtain the corresponding road section weight coefficient.

[0065] It should be noted that the conversion rules between road types and road section weighting coefficients are determined according to the degree to which the safety of different types of roads is affected by weather. For example, the safety of bridge decks is easily affected by weather, and the road section weighting coefficient is relatively large.

[0066] The calculation formula of the weather safety index can also be expressed as the following formula.

[0067]

[0068] Wherein, ωi represents the link weighting coefficient of the i-th link.

[0069] In the above embodiment, the weather index, mileage and product of the section weighted coefficient of each road section are added together to obtain the weather safety index of the entire driving route. The weather safety index comprehensively considers the impact of road type, weather conditions and mileage on the safe driving of buses, providing strong support for subsequent bus scheduling strategies.

[0070] In some embodiments, the bus dispatching method further includes: during the driving process of the bus used for the target shift, obtaining weather forecast data for each section of the driving route according to a preset time frequency.

[0071] In an embodiment of the present application, the preset time frequency may be the time frequency at which the weather forecast platform updates the weather forecast. For example, the preset time frequency may be 1 hour. During the driving process of the bus used for the target shift, the bus management platform 11 obtains updated weather forecast data from the weather forecast platform according to the preset time frequency, and then screens the weather forecast data of each road section according to the location of each road section and the corresponding time, so as to timely release the updated weather forecast data on the driving route, so that passengers can prepare countermeasures in advance.

[0072] In some embodiments, after obtaining weather forecast data for each section of the driving route at a preset time frequency, the bus scheduling method also includes: comparing the difference between the most recent weather forecast data for each section and the previous weather forecast data for each section to determine weather difference information; updating the weather difference information to the bus terminal of the bus used by the target shift and / or updating it to the electronic bus stop sign of each station corresponding to the difference information.

[0073] In one embodiment of the present application, since the weather forecast data between two consecutive times will not change on a large scale, the public transportation management platform 11 compares the difference between the most recent weather forecast data of each road section and the previous weather forecast data of each road section to determine the weather difference information. The difference information includes the station and the latest weather data of the road section where the weather data has changed.

[0074] The bus management platform 11 pushes the weather difference information to the bus terminal 12 of the bus used by the target shift, or to the electronic bus stop 13 of each station corresponding to the weather difference information, or to the bus terminal of the bus used by the target shift and the electronic bus stop 13 of each station corresponding to the weather difference information.

[0075] Since the public transportation management platform 11 sends the corresponding weather forecast data to the electronic stop board of each station corresponding to the weather difference information, the weather forecast data of the electronic stop board of each station corresponding to the weather difference information changes, while the weather forecast data of the electronic stop board of other stations except the electronic stop board of each station corresponding to the weather difference information does not change.

[0076] In the above embodiment, the weather difference information is updated to the bus terminal and / or updated to the electronic stop board of each station corresponding to the difference information, which can facilitate the bus terminal to timely update the weather forecast data of the corresponding road section based on the weather difference information, so that the driver and passengers can view the latest weather forecast data in real time, and facilitate the electronic stop board to timely update the weather forecast data of the corresponding station based on the weather difference information, ensuring that passengers can also obtain the latest weather conditions when waiting for the bus. In addition, since the amount of difference information data is small, the time required for the bus management platform 11 to transmit the difference information is relatively short, so that the bus terminal and the electronic stop board can quickly complete the weather forecast update.

[0077] On the other hand, an embodiment of the present application provides a bus dispatching device that can be applied to a bus management platform 11. Figure 4 FIG. 1 is a schematic diagram showing the structure of a bus dispatching device provided by an embodiment of the present application. Figure 4 As shown, the bus dispatching device 40 may include a weather index determination module 41 , a driving and vehicle index acquisition module 42 and a bus and driver determination module 43 .

[0078] The weather index determination module 41 is used to determine the weather safety index of the target bus route based on the current weather forecast data and the departure time of the target bus.

[0079] The driving and vehicle index acquisition module 42 is used to acquire the driving safety index of the available drivers of the target shift and the vehicle safety index of the available buses.

[0080] The bus and driver determination module 43 is used to input the weather safety index, the driving safety index of the available drivers and the vehicle safety index of the available buses into the pre-trained bus scheduling model to determine the bus and driver used for the target shift.

[0081] In the above embodiment, the weather safety index of the target bus route is determined based on the current weather forecast data and the departure time of the target bus, so that the impact of the weather conditions along the target bus route on the driving safety can be quantified. The driving safety index of the available drivers of the target shift and the vehicle safety index of the available buses are obtained, and the weather safety index, the driving safety index of the available drivers and the vehicle safety index of the available buses are input into the pre-trained bus scheduling model to determine the bus and driver used for the target shift. In this way, by comprehensively considering the weather safety index, the driving safety index of the driver and the vehicle safety index of the bus, the operating conditions of the target bus can be evaluated more comprehensively and accurately, so as to select the optimal bus and driver combination, effectively reduce the risk of traffic accidents, improve the accuracy of scheduling, and make full use of weather forecast data and real-time bus operation data, so as to flexibly schedule buses and drivers according to specific predicted weather conditions to ensure the effective use of resources.

[0082] In some embodiments, the bus and driver determination module 43 may include the following units.

[0083] The index input unit is used to input the weather safety index, the driving safety index of available drivers, and the vehicle safety index of available buses into the bus dispatch model.

[0084] The score determination unit is used to determine the safety scores of multiple driver-bus combinations matching the weather safety index through a bus dispatch model.

[0085] The selection unit is used to select the bus and driver combination with the highest score as the bus and driver used for the target shift.

[0086] In some embodiments, the weather index determination module 41 includes the following units.

[0087] The determination unit is used to determine the time when the target bus travels to each section in the travel route based on the departure time of the target bus and the location of each station on the travel route.

[0088] The weather data acquisition unit is used to acquire the weather forecast data of the corresponding time of each road section from the current weather data based on the time when the target bus travels to each road section in the driving route.

[0089] The weather safety index determination unit is used to determine the weather safety index of the target bus route based on weather forecast data and using a weather safety index evaluation model.

[0090] In some embodiments, the weather safety index determination unit is specifically used to input the weather forecast data at the corresponding time of each road section into the weather safety index evaluation model; through the weather coefficient conversion module of the weather safety index evaluation model, the weather forecast data at the corresponding time of each road section is converted into the weather index corresponding to each road section; through the weather safety index calculation module of the weather safety index evaluation model, the weather safety index of the target bus route is determined based on the mileage and weather index of each road section.

[0091] In some embodiments, the weather safety index determination unit is specifically used to calculate the weather safety index according to the following formula.

[0092]

[0093] Among them, Li represents the mileage of the i-th road section, and Ki represents the weather index of the i-th road section.

[0094] In some embodiments, the bus dispatching device 40 may include a weather data periodic acquisition module for acquiring weather forecast data for each section of the travel route at a preset time frequency during the travel of the bus used for the target shift.

[0095] In some embodiments, the bus dispatching device 40 may also include an updating module for obtaining weather forecast data for each section in the driving route at a preset time frequency, comparing the difference between the most recent weather forecast data for each section and the previous weather forecast data for each section, and determining weather difference information; updating the weather difference information to the bus terminal of the bus used for the target shift and / or updating it to the electronic bus stop sign of each station corresponding to the weather difference information.

[0096] It should be understood that the specific features, operations and details described hereinabove with respect to the method of the present application may also be similarly applied to the device and system of the present application, or vice versa. In addition, each step of the method of the present application described above may be performed by a corresponding component or unit of the device or system of the present application.

[0097] It should be understood that each module / unit of the device of the present application can be implemented in whole or in part by software, hardware, firmware or a combination thereof. Each module / unit can be embedded in the processor of the electronic device or independent of the processor in the form of hardware or firmware, or can be stored in the memory of the electronic device in the form of software for the processor to call to perform the operation of each module / unit. Each module / unit can be implemented as an independent component or module, or two or more modules / units can be implemented as a single component or module.

[0098] In yet another aspect of the present application, an electronic device is provided. Figure 5A schematic diagram of the structure of an electronic device provided according to an embodiment of the present application is shown. Figure 5 As shown, the electronic device 50 includes a processor 51, a memory 52, and a program stored in the memory and capable of running on the processor. When the program is executed by the processor, the steps of the bus dispatching method provided in any of the above embodiments are implemented.

[0099] In one embodiment, the electronic device 50 may include a processor, a memory, a network interface, a communication interface, etc. connected through a system bus. The processor of the electronic device 50 may be used to provide necessary computing, processing and / or control capabilities. The memory of the electronic device 80 may include a non-volatile storage medium and an internal memory. The non-volatile storage medium may store an operating system, a computer program, etc. The internal memory may provide an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface and the communication interface of the electronic device 50 may be used to connect and communicate with external devices through a network.

[0100] On the other hand, the present application provides a computer-readable storage medium, on which instructions are stored, wherein when the instructions are executed by a processor, the steps of the bus dispatching method provided in any of the above embodiments are implemented.

[0101] Those skilled in the art will appreciate that the method steps of the present application can be completed by instructing related hardware such as electronic devices or processors through a computer program, and the computer program can be stored in a non-temporary computer-readable storage medium, and the computer program causes the steps of the present application to be executed when it is executed. Depending on the circumstances, any reference to memory, storage or other media herein may include non-volatile or volatile memory. Examples of non-volatile memory include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid state disk, etc. Examples of volatile memory include random access memory (RAM), external cache memory, etc.

[0102] The various technical features described above can be combined arbitrarily. Although all possible combinations of these technical features are not described, any combination of these technical features should be considered to be covered by this specification as long as there is no contradiction in such combination.

[0103] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A bus dispatching method, characterized in that: The method comprises: Based on the current weather forecast data and the departure time of the target bus, determine the weather safety index of the target bus route; Obtaining the driving safety index of the available drivers and the vehicle safety index of the available buses for the target shift; The weather safety index, the driving safety index of available drivers, and the vehicle safety index of available buses are input into a pre-trained bus dispatch model to determine the buses and drivers used for the target shift.

2. The method according to claim 1, characterized in that The weather safety index, the driving safety index of the available drivers, and the vehicle safety index of the available buses are input into the bus dispatch model to determine the buses and drivers used for the target shifts, including: Inputting the weather safety index, the driving safety index of available drivers, and the vehicle safety index of available buses into a bus dispatch model; Determine safety scores of multiple driver-bus combinations matching the weather safety index through a bus dispatch model; The bus and driver combination with the highest score is selected as the bus and driver used for the target shift.

3. The method according to claim 1, characterized in that: The weather safety index of the target bus route is determined based on the current weather forecast data and the departure time of the target bus, including: Based on the departure time of the target bus and the location of each stop on the travel route, determine the time for the target bus to travel to each section of the travel route; Based on the time when the target bus arrives at each section of the driving route, obtaining weather forecast data for the corresponding time of each section from the current weather data; Based on the weather forecast data, a weather safety index evaluation model is used to determine the weather safety index of the target bus route.

4. The method according to claim 3, characterized in that: The weather safety index of the target bus route is determined based on the weather forecast data using a weather safety index evaluation model, including: Inputting the weather forecast data of the corresponding time of each road section into the weather safety index evaluation model; The weather coefficient conversion module of the weather safety index evaluation model converts the weather forecast data of the corresponding time of each road section into the weather index corresponding to each road section; The weather safety index calculation module of the weather safety index evaluation model is used to determine the weather safety index of the target bus route based on the mileage and weather index of each road section.

5. The method according to claim 4, characterized in that The weather safety index of the target bus route is determined based on the mileage and weather index of each road section, including: the weather safety index is calculated using the following formula: Among them, L i represents the mileage of the i-th road section, and Ki represents the weather index of the i-th road section.

6. The method according to claim 1, characterized in that The method further comprises: During the driving process of the bus used for the target shift, weather forecast data for each section of the driving route is obtained according to a preset time frequency.

7. The method according to claim 6, characterized in that After obtaining the weather forecast data for each section of the driving route according to the preset time frequency, the method further includes: Compare the difference between the most recent weather forecast data for each road section and the previous weather forecast data for each road section to determine weather difference information; The weather difference information is updated to the bus terminal of the bus used by the target bus and / or updated to the electronic bus stop sign of each station corresponding to the weather difference information.

8. A bus dispatching device, characterized in that: The device comprises: A weather index determination module is used to determine the weather safety index of the target bus route based on the current weather forecast data and the departure time of the target bus; A driving and vehicle index acquisition module, used to acquire the driving safety index of the available drivers of the target shift and the vehicle safety index of the available buses; The bus and driver determination module is used to input the weather safety index, the driving safety index of the available drivers and the vehicle safety index of the available buses into a pre-trained bus scheduling model to determine the bus and driver used for the target shift.

9. An electronic device, characterized in that: The method comprises a processor, a memory and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the bus dispatching method as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed by the processor, the steps of the bus dispatching method according to any one of claims 1 to 7 are implemented.