CN107122892B - Vehicle scheduling method and equipment - Google Patents

Vehicle scheduling method and equipment Download PDF

Info

Publication number
CN107122892B
CN107122892B CN201710240323.1A CN201710240323A CN107122892B CN 107122892 B CN107122892 B CN 107122892B CN 201710240323 A CN201710240323 A CN 201710240323A CN 107122892 B CN107122892 B CN 107122892B
Authority
CN
China
Prior art keywords
working day
specific working
scheduled
scheduling
vehicle route
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710240323.1A
Other languages
Chinese (zh)
Other versions
CN107122892A (en
Inventor
刘涛
汪训
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Raxtone Software Co ltd
Original Assignee
Shanghai Raxtone Software Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Raxtone Software Co ltd filed Critical Shanghai Raxtone Software Co ltd
Priority to CN201710240323.1A priority Critical patent/CN107122892B/en
Publication of CN107122892A publication Critical patent/CN107122892A/en
Application granted granted Critical
Publication of CN107122892B publication Critical patent/CN107122892B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06312Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • G06Q10/063118Staff planning in a project environment

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Educational Administration (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Traffic Control Systems (AREA)

Abstract

The method comprises the steps of obtaining a vehicle route and setting the validity period of the vehicle route; configuring scheduling unit time in a valid period of the vehicle route, wherein the scheduling unit time comprises a specific working day, a conventional working day and a non-working day; determining a vehicle route to be scheduled and scheduling unit time to be scheduled according to a preset timing strategy; and carrying out vehicle scheduling in the valid period of the vehicle route based on the vehicle route to be scheduled and the scheduling unit time to be scheduled. Therefore, the situation of improper resource allocation or wrong resource allocation is avoided, the route is configured with the effective period, the timer checks whether the route needs to be scheduled or not in each scheduling unit time in the effective period, the problem that manual scheduling is not timely is solved, meanwhile, a scheduler does not need to allocate vehicles to drivers every day, work is scheduled and the like, labor and time are saved, and meanwhile, the cost of human resources is saved.

Description

Vehicle scheduling method and equipment
Technical Field
The application relates to the field of computers, in particular to a vehicle scheduling method and device.
Background
With the progress of the times and the development of emerging industries, the internet has become an inseparable part for promoting the development of society. The coming of the network information era brings more and more convenience to people, but has defects in resource and personnel allocation and scheduling, such as taxi personnel and vehicle allocation and scheduling, express delivery and hospital personnel allocation and scheduling, bus driver scheduling, scheduling planning by using excel documents, or scheduling by manually operating a better scheduling system, and the like. The conventional manual scheduling has the following problems: the scheduling is not timely, along with the development and growth of enterprises, the manpower and more resources are needed to be scheduled, and the manual scheduling is probably not timely arranged, so that the delay of subsequent work is caused; cost is increased, human resources are wasted, in most enterprise operations, there are peak periods, such as spring festival, mid-autumn festival and other festivals and activity days, at this time, the enterprise may add new dispatchers to deal with the scheduling in the peak periods, but the new dispatchers only play the greatest role in the peak periods, and are idle in most of the time, so that the waste of human resources is caused, and meanwhile, the cost of the enterprise personnel is increased; resource allocation errors are mostly calculated and planned through brains in a manual allocation process, and risks of resource allocation errors and allocation errors easily occur.
Content of application
An object of the present application is to provide a vehicle scheduling method and apparatus, which solve the problems of manual scheduling, scheduling untimely and human resource waste in the prior art.
According to one aspect of the present application, there is provided a method of scheduling a vehicle, the method comprising:
acquiring a vehicle route and setting the validity period of the vehicle route;
configuring scheduling unit time in a valid period of the vehicle route, wherein the scheduling unit time comprises a specific working day, a conventional working day and a non-working day;
determining a vehicle route to be scheduled and scheduling unit time to be scheduled according to a preset timing strategy;
and carrying out vehicle scheduling in the valid period of the vehicle route based on the vehicle route to be scheduled and the scheduling unit time to be scheduled.
Further, after acquiring the scheduling unit time in the validity period of the vehicle route, the method comprises the following steps:
performing any one of operations including addition, editing, and deletion on a specific working day within the shift unit time within a validity period of the vehicle route;
and determining the specific working day to be scheduled based on the ticket selling state of departure of the specific working day.
Further, the method comprises:
acquiring an operation request for adding or editing a specific workday;
and judging whether the ticket selling state of departure on the specific working day is sold or not based on the operation request, if not, judging whether the specific working day exists in a database or not, and if not, updating an operation result obtained after adding or editing operation on the specific working day into the database.
Further, the method comprises:
acquiring an operation request for adding or editing a specific workday;
judging whether the ticket sold state of the departure of the specific working day is sold or not based on the operation request, if so, failing to operate the operation request;
if not, judging whether the specific working day exists in the database, and if so, failing the operation request.
Further, the method comprises:
acquiring an operation request for deleting a specific working day in a database;
and judging whether the ticket selling state of the departure on the specific working day is sold or not based on the operation request, if not, deleting the specific working day, and updating the deleting operation result into the database.
Further, vehicle scheduling is carried out in the valid period of the vehicle route based on the vehicle route to be scheduled and the scheduling unit time to be scheduled, and the vehicle scheduling method comprises the following steps:
determining the number of drivers of the regular buses and the number of the regular buses based on the routes of the vehicles to be scheduled and the scheduling unit time of the vehicles to be scheduled, wherein one vehicle route corresponds to one or a plurality of drivers of the regular buses within the scheduling unit time;
and performing vehicle scheduling based on the determined drivers of the regular buses, the validity period of the vehicle route and the number of the scheduled vehicles.
According to another aspect of the present application, there is also provided an apparatus for scheduling a vehicle, the apparatus including:
an acquisition device for acquiring a vehicle route and setting a validity period of the vehicle route;
the configuration device is used for configuring scheduling unit time in the valid period of the vehicle route, wherein the scheduling unit time comprises a specific working day, a conventional working day and a non-working day;
the determining device is used for determining a vehicle route to be scheduled and scheduling unit time to be scheduled according to a preset timing strategy;
and the distribution device is used for carrying out vehicle scheduling in the valid period of the vehicle route based on the vehicle route to be scheduled and the scheduling unit time to be scheduled.
Further, the configuration means is configured to:
performing any one of operations including addition, editing, and deletion on a specific working day within the shift unit time within a validity period of the vehicle route;
and determining the specific working day to be scheduled based on the ticket selling state of departure of the specific working day.
Further, the apparatus comprises:
a first acquisition request means for acquiring an operation request for adding or editing a specific workday;
and the first operation device is used for judging whether the ticket sold state of departure on the specific working day is sold or not based on the operation request, judging whether the specific working day exists in a database or not if the ticket sold state of departure on the specific working day is not sold, and updating an operation result obtained after addition or editing operation on the specific working day into the database if the specific working day does not exist in the database.
Further, the apparatus comprises:
the first acquisition request device is also used for acquiring an operation request for adding or editing a specific workday;
the first operation device is also used for judging whether the ticket sold state of departure of the specific working day is sold or not based on the operation request, and if yes, the operation request fails;
the first operation device is further used for judging whether the specific working day exists in the database if the specific working day does not exist in the database, and the operation request fails if the specific working day exists in the database.
Further, the apparatus comprises:
second acquisition request means for acquiring an operation request for deleting a specific work day in the database;
and the second operation device is used for judging whether the ticket selling state of departure on the specific working day is sold or not based on the operation request, and if not, deleting the specific working day and updating the deleting operation result into the database.
Further, the distribution device is configured to:
determining the number of drivers of the regular buses and the number of the regular buses based on the routes of the vehicles to be scheduled and the scheduling unit time of the vehicles to be scheduled, wherein one vehicle route corresponds to one or a plurality of drivers of the regular buses within the scheduling unit time;
and performing vehicle scheduling based on the determined drivers of the regular buses, the validity period of the vehicle route and the number of the scheduled vehicles.
Compared with the prior art, the method and the device have the advantages that the vehicle route is obtained, and the validity period of the vehicle route is set; configuring scheduling unit time in a valid period of the vehicle route, wherein the scheduling unit time comprises a specific working day, a conventional working day and a non-working day; determining a vehicle route to be scheduled and scheduling unit time to be scheduled according to a preset timing strategy; and carrying out vehicle scheduling in the valid period of the vehicle route based on the vehicle route to be scheduled and the scheduling unit time to be scheduled. Therefore, after a route, a working day, a non-working day, a route validity period, a vehicle, departure time and the like are configured, whether the database has a route needing new scheduling is detected through the timer cluster, the strategy of automatically scheduling the route for the driver according to the configured factors of the working day, the non-working day and the like is adopted, the condition of improper resource distribution or wrong resource distribution is avoided, the timer checks whether the route needs scheduling in each scheduling unit time in the validity period through configuring the validity period for the route, the problem of untimely manual scheduling is solved, meanwhile, a scheduler does not need to distribute the vehicle to the driver every day, schedule work and the like, and meanwhile, the cost of human resources is saved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 illustrates a schematic flow chart of a method for scheduling a vehicle according to one aspect of the present application;
FIG. 2 illustrates a schematic diagram of operations performed on a particular weekday in one embodiment of the present application;
FIG. 3 illustrates a schematic diagram of an apparatus for scheduling a vehicle according to another aspect of the present application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
Fig. 1 shows a schematic flow diagram of a method for scheduling a vehicle according to an aspect of the present application, the method comprising: step S11 to step S14, wherein, in step S11, a vehicle route is acquired, and a validity period of the vehicle route is set; in step S12, configuring a shift unit time within the validity period of the vehicle route, wherein the shift unit time includes a specific working day, a regular working day and a non-working day; in step S13, determining a vehicle route to be scheduled and a scheduling unit time to be scheduled according to a preset timing strategy; in step S14, vehicle scheduling is performed within the validity period of the vehicle route based on the vehicle route to be scheduled and the scheduling unit time to be scheduled. Therefore, after a route, a working day, a non-working day, a route validity period, vehicles, departure time and the like are configured, whether the database has a route needing new scheduling is detected through the timer cluster, the strategy of automatically scheduling the route for the drivers according to the configured factors of the working day, the non-working day and the like is adopted, the condition of improper resource distribution or wrong resource distribution is avoided, the timer checks whether the route needs scheduling in each scheduling unit time in the validity period through configuring the validity period for the route, the problem of untimely manual scheduling is solved, meanwhile, a scheduler does not need to distribute the vehicles to the drivers every day, scheduling work and the like is carried out, manpower and time are saved, and meanwhile, the cost of manpower resources is also saved.
Specifically, in step S11, a vehicle route is acquired, and a validity period of the vehicle route is set; the route of the vehicle is acquired, the configured route is added, the vehicle route is configured with a valid period, if the valid period is from 1 month and 1 day of 2017 to 3 months and 1 day of 2017, the drivers, the vehicles and the departure time of the Monday and the Sunday of each week are arranged in the route valid period.
Specifically, in step S12, a shift unit time within the validity period of the vehicle route is configured, wherein the shift unit time includes a specific working day, a regular working day, and a non-working day; for example, the validity period is from 1/2017 to 1/2017, a scheduling unit time is configured in the period, the scheduling unit time is, for example, from 6 am to 11 pm in one day as a scheduling unit, and the scheduling in the same day may be a regular working day or a specific working day or a non-working day, wherein the regular working day is daily monday to friday, the non-working day is a weekend in daily life, and the specific working day is a holiday or an active day, such as a five-work day and a double-eleven activity, and the holiday has a case that the working on a saturday or the working on a monday to friday is not needed, and at this time, an operation peak period exists, so the specific working day is configured during scheduling, and scheduling can be performed more reasonably and dynamically, and cost increase and manpower resource waste are reduced when performing automatic and reasonable scheduling on the specific working day.
Specifically, in step S13, determining a vehicle route to be scheduled and a scheduling unit time to be scheduled according to a preset timing strategy; in an embodiment of the application, the timing strategy can select to use a quartz timer framework, trigger to execute driver scheduling 10 minutes in the morning, and acquire a vehicle route to be scheduled, a date needing scheduling, a driver and the like from a database. The quartz timer frame comprises a task scheduler (scheduler), a trigger (trigger) and a scheduled task (job), can support various rich scheduling methods, can meet various conventional and special requirements, supports various combination modes of tasks and scheduling, supports various storage modes of scheduling data, and can check whether a route needing scheduling exists in a configured vehicle route in a database and information such as scheduling time needing scheduling.
Specifically, in step S14, vehicle shift is performed within the validity period of the vehicle route based on the vehicle route to be shifted, the shift unit time to be shifted. According to the embodiment, the specific working days in the preset time days from today are removed according to the configured specific working days to obtain new working days, the vehicles are arranged according to the new working days and the configured vehicle routes, and corresponding drivers, departure times, routes and the like are arranged.
In an embodiment of the present application, in step S12, after acquiring the shift unit time in the validity period of the vehicle route, any one of operations including adding, editing and deleting is performed on a specific working day in the shift unit time in the validity period of the vehicle route; and step S122, determining the specific working day to be scheduled based on the ticket selling state of departure of the specific working day. Here, when configuring the specific working day, the specific working day within the route validity period may be added or edited into the database or deleted, whether the operation for the specific working day is possible may be determined according to whether the ticket is sold or not when the vehicle is dispatched for the specific working day, such as not being deletable or edited, or the specific working day may be added into the database, and the like. When a specific working day is configured, the vehicle can be intelligently scheduled for the specific working day, improper scheduling is avoided, the number of vehicles serving the user does not meet the user requirement, and the like.
Specifically, when any one of the operations including adding, editing and deleting is performed on a specific workday, the determination as to whether the operation is possible and the update of the result after the operation to the database may be performed in the following manner: step S121, acquiring an operation request for adding or editing a specific workday; and step S122, judging whether the ticket sold state of departure on the specific working day is sold or not based on the operation request, if not, judging whether the specific working day exists in a database or not, and if not, updating the operation result after adding or editing operation on the specific working day into the database. In an embodiment of the application, as shown in fig. 2, where a specific working day is a special working day in fig. 2, an operation request for adding or editing the specific working day is first obtained, if a working day on which a national day festival in 10 months 1 to 12 months 1 in an effective period needs to be complemented and a day date on which twenty one is located are to be added to a database, it is first determined whether a ticket issued on the day of the specific working day is sold, if so, it is described that an existing vehicle is scheduled, no scheduling needs to be performed again, the specific working day cannot be added, if not, a specific working day is added or edited, and an operation result is updated to the database so that a reasonable scheduling can be performed according to latest working day information during scheduling.
It will be appreciated that in addition to the specific weekday to add or edit being updated to the database, there are also situations where a specific weekday is not to be edited or added, specifically: in step S121, an operation request to add or edit a specific workday is acquired; in step S122, it is determined whether the ticket sold state of departure on the specific working day is sold based on the operation request, and if so, the operation request fails; if not, judging whether the specific working day exists in the database, and if so, failing the operation request. In fig. 2, when adding or editing operation is performed on a specific working day, it is determined whether the ticket selling status of departure on the specific working day is sold according to the received operation request, if there is a ticket sold, the adding or editing operation cannot be performed on the specific working day, if there is no ticket sold, it is determined whether there is a specific working day in the database, if there is a ticket sold, it is determined that information of the specific working day is stored in the database, and when a vehicle is scheduled, the adding or editing operation is not performed on the specific working day according to the stored working day information.
Preferably, the method further comprises: step S121', obtaining an operation request for deleting a specific working day in a database; and step 122', judging whether the ticket selling state of the departure on the specific working day is sold or not based on the operation request, if not, deleting the specific working day, and updating the deleting operation result into the database. As for the above embodiment, in fig. 2, an adding or editing operation or a deleting operation may be performed on a specific working day, whether tickets issued on the specific working day are sold or not is determined according to a request for the deleting operation, when the tickets are not sold, it is indicated that the driver has not been scheduled or the scheduled vehicles have not been sold to the user, the user is not affected by changing the scheduled vehicles, the specific working day may be deleted, and a deleted result is updated to the database to update the working day information, so that the driver and the vehicle can be scheduled automatically; if the ticket for departure on the specific working day is sold, the fact that the shift is arranged on the day where the specific working day is located is shown, the user knows departure time information, a route and the like, and at the moment, the specific working day cannot be deleted.
In an embodiment of the present application, when a specific working day is added, for example, weekend is designated as a working day, or any day or any several days from monday to friday is designated as a non-working day, it is verified during the adding process whether the specific working day has been added, whether a ticket has been sold on the specific working day, and the specified daily non-working day can be added to the database to become the specific working day, or the specified daily working day can be added to the database to become the specific non-working day. When the specific working day is edited, for example, if an error operation or a plan is changed in the operation process, the specific working day can be revised again, and the revision process also verifies whether the previous date has the specific working day to be revised or not and whether tickets have been sold on the specific working day or not. When the specific working day is deleted, whether the ticket is sold on the deleted specific day is verified, and the specific working day is deleted.
Preferably, in step S14, the drivers of the regular buses and the number of the regular buses are determined based on the routes of the vehicles to be scheduled and the scheduling unit time of the vehicles to be scheduled, wherein one vehicle route corresponds to one or several drivers of the regular buses in the scheduling unit time; and performing vehicle scheduling based on the determined drivers of the regular buses, the validity period of the vehicle route and the number of the scheduled vehicles. In one embodiment of the application, the route of the regular bus is configured without being affected by a specific working day, drivers and vehicles are configured to operate every day from Monday to Sunday within the validity period of the route, the drivers are configured to be the drivers and vehicles appointed from Monday to Sunday, and a plurality of drivers and vehicles can be configured on a route every day; configuring a timing strategy through a quartz frame, checking a route needing to be scheduled in a database according to the timing strategy, and configured specific working days, validity periods and the like, automatically identifying whether drivers and vehicles need to be scheduled for the route needing to be scheduled, specifically, checking the route needing to be scheduled according to the timing strategy, determining a vehicle route to be scheduled, presetting the number of vehicles per day on the route, the departure time of each vehicle, the number of drivers and the like, and automatically scheduling according to the validity period of the route and the specific working days, daily working days and non-working days stored in the database.
Fig. 3 is a schematic structural diagram of a vehicle shift scheduling apparatus according to another aspect of the present application, the apparatus including: the device comprises an acquisition device 11, a configuration device 12, a determination device 13 and a distribution device 14, wherein the acquisition device 11 is used for acquiring a vehicle route and setting the validity period of the vehicle route; a configuration device 12, configured to configure a scheduling unit time within a validity period of the vehicle route, wherein the scheduling unit time includes a specific working day, a regular working day and a non-working day; the determining device 13 is used for determining a vehicle route to be scheduled and scheduling unit time to be scheduled according to a preset timing strategy; the distribution device 14 is used for carrying out vehicle scheduling in the valid period of the vehicle route based on the vehicle route to be scheduled and the scheduling unit time to be scheduled. Therefore, after a route, a working day, a non-working day, a route validity period, vehicles, departure time and the like are configured, whether the database has a route needing new scheduling is detected through the timer cluster, the strategy of automatically scheduling the route for the drivers according to the configured factors of the working day, the non-working day and the like is adopted, the condition of improper resource distribution or wrong resource distribution is avoided, the timer checks whether the route needs scheduling in each scheduling unit time in the validity period through configuring the validity period for the route, the problem of untimely manual scheduling is solved, meanwhile, a scheduler does not need to distribute the vehicles to the drivers every day, scheduling work and the like is carried out, manpower and time are saved, and meanwhile, the cost of manpower resources is also saved.
Specifically, the acquisition means 11 is configured to acquire a vehicle route and set a validity period of the vehicle route; the route of the vehicle is acquired, the configured route is added, the vehicle route is configured with a valid period, if the valid period is from 1 month and 1 day of 2017 to 3 months and 1 day of 2017, the drivers, the vehicles and the departure time of the Monday and the Sunday of each week are arranged in the route valid period.
Specifically, the configuration device 12 is configured to configure the scheduling unit time in the validity period of the vehicle route, wherein the scheduling unit time includes a specific working day, a regular working day and a non-working day; for example, the validity period is from 1/2017 to 1/2017, a scheduling unit time is configured in the period, the scheduling unit time is, for example, from 6 am to 11 pm in one day as a scheduling unit, and the scheduling in the same day may be a regular working day or a specific working day or a non-working day, wherein the regular working day is daily monday to friday, the non-working day is a weekend in daily life, and the specific working day is a holiday or an active day, such as a five-work day and a double-eleven activity, and the holiday has a case that the working on a saturday or the working on a monday to friday is not needed, and at this time, an operation peak period exists, so the specific working day is configured during scheduling, and scheduling can be performed more reasonably and dynamically, and cost increase and manpower resource waste are reduced when performing automatic and reasonable scheduling on the specific working day.
Specifically, the determining device 13 is configured to determine a vehicle route to be scheduled and a scheduling unit time to be scheduled according to a preset timing strategy; in an embodiment of the application, the timing strategy can select to use a quartz timer framework, trigger to execute driver scheduling 10 minutes in the morning, and acquire a vehicle route to be scheduled, a date needing scheduling, a driver and the like from a database. The quartz timer frame comprises a task scheduler (scheduler), a trigger (trigger) and a scheduled task (job), can support various rich scheduling methods, can meet various conventional and special requirements, supports various combination modes of tasks and scheduling, supports various storage modes of scheduling data, and can check whether a route needing scheduling exists in a configured vehicle route in a database and information such as scheduling time needing scheduling.
Specifically, the allocating device 14 is used for performing vehicle scheduling in the valid period of the vehicle route based on the vehicle route to be scheduled and the scheduling unit time of the vehicle route to be scheduled. According to the embodiment, the specific working days in the preset time days from today are removed according to the configured specific working days to obtain new working days, the vehicles are arranged according to the new working days and the configured vehicle routes, and corresponding drivers, departure times, routes and the like are arranged.
In an embodiment of the present application, the configuration device 12 is configured to, after acquiring the shift unit time in the validity period of the vehicle route, perform any one of operations including adding, editing, and deleting on a specific workday in the shift unit time in the validity period of the vehicle route; and determining the specific working day to be scheduled based on the ticket selling state of departure of the specific working day. Here, when configuring the specific working day, the specific working day within the route validity period may be added or edited into the database or deleted, whether the operation for the specific working day is possible may be determined according to whether the ticket is sold or not when the vehicle is dispatched for the specific working day, such as not being deletable or edited, or the specific working day may be added into the database, and the like. When a specific working day is configured, the vehicle can be intelligently scheduled for the specific working day, improper scheduling is avoided, the number of vehicles serving the user does not meet the user requirement, and the like.
Specifically, when any one of the operations including adding, editing and deleting is performed on a specific workday, the determination as to whether the operation is possible and the update of the result after the operation to the database may be performed in the following manner: the apparatus further includes a first obtaining request device 121, configured to obtain an operation request for adding or editing a specific workday; the first operation device 122 is configured to determine, based on the operation request, whether the ticket sold on departure on the specific working day is already sold, if not, determine whether the specific working day already exists in the database, and if not, update an operation result obtained after adding or editing operation is performed on the specific working day into the database. In an embodiment of the application, as shown in fig. 2, where a specific working day is a special working day in fig. 2, an operation request for adding or editing the specific working day is first obtained, if a working day on which a national day festival in 10 months 1 to 12 months 1 in an effective period needs to be complemented and a day date on which twenty one is located are to be added to a database, it is first determined whether a ticket issued on the day of the specific working day is sold, if so, it is described that an existing vehicle is scheduled, no scheduling needs to be performed again, the specific working day cannot be added, if not, a specific working day is added or edited, and an operation result is updated to the database so that a reasonable scheduling can be performed according to latest working day information during scheduling.
It will be appreciated that in addition to the specific weekday to add or edit being updated to the database, there are also situations where a specific weekday is not to be edited or added, specifically: a first acquisition request means 121 for acquiring an operation request for adding or editing a specific workday; the first operation device 122 is configured to determine whether the ticket sold state of departure on the specific working day is sold based on the operation request, and if so, the operation request fails; if not, judging whether the specific working day exists in the database, and if so, failing the operation request. In fig. 2, when adding or editing operation is performed on a specific working day, it is determined whether the ticket selling status of departure on the specific working day is sold according to the received operation request, if there is a ticket sold, the adding or editing operation cannot be performed on the specific working day, if there is no ticket sold, it is determined whether there is a specific working day in the database, if there is a ticket sold, it is determined that information of the specific working day is stored in the database, and when a vehicle is scheduled, the adding or editing operation is not performed on the specific working day according to the stored working day information.
Preferably, the apparatus further comprises: second acquiring request means 121' for acquiring an operation request for deleting a specific workday in the database; and a second operation device 122' configured to determine whether the ticket sold on the departure day on the specific working day is already sold based on the operation request, and if not, perform a deletion operation on the specific working day, and update a result of the deletion operation to the database. As for the above embodiment, in fig. 2, an adding or editing operation or a deleting operation may be performed on a specific working day, whether tickets issued on the specific working day are sold or not is determined according to a request for the deleting operation, when the tickets are not sold, it is indicated that the driver has not been scheduled or the scheduled vehicles have not been sold to the user, the user is not affected by changing the scheduled vehicles, the specific working day may be deleted, and a deleted result is updated to the database to update the working day information, so that the driver and the vehicle can be scheduled automatically; if the ticket for departure on the specific working day is sold, the fact that the shift is arranged on the day where the specific working day is located is shown, the user knows departure time information, a route and the like, and at the moment, the specific working day cannot be deleted.
In an embodiment of the present application, when a specific working day is added, for example, weekend is designated as a working day, or any day or any several days from monday to friday is designated as a non-working day, it is verified during the adding process whether the specific working day has been added, whether a ticket has been sold on the specific working day, and the specified daily non-working day can be added to the database to become the specific working day, or the specified daily working day can be added to the database to become the specific non-working day. When the specific working day is edited, for example, if an error operation or a plan is changed in the operation process, the specific working day can be revised again, and the revision process also verifies whether the previous date has the specific working day to be revised or not and whether tickets have been sold on the specific working day or not. When the specific working day is deleted, whether the ticket is sold on the deleted specific day is verified, and the specific working day is deleted.
Preferably, the allocating device 14 is configured to determine the drivers of the regular buses and the number of the vehicles to be scheduled based on the vehicle route to be scheduled and the scheduling unit time to be scheduled, where one vehicle route corresponds to one or several drivers of the regular buses in the scheduling unit time; and performing vehicle scheduling based on the determined drivers of the regular buses, the validity period of the vehicle route and the number of the scheduled vehicles. In one embodiment of the application, the route of the regular bus is configured without being affected by a specific working day, drivers and vehicles are configured to operate every day from Monday to Sunday within the validity period of the route, the drivers are configured to be the drivers and vehicles appointed from Monday to Sunday, and a plurality of drivers and vehicles can be configured on a route every day; configuring a timing strategy through a quartz frame, checking a route needing to be scheduled in a database according to the timing strategy, and configured specific working days, validity periods and the like, automatically identifying whether drivers and vehicles need to be scheduled for the route needing to be scheduled, specifically, checking the route needing to be scheduled according to the timing strategy, determining a vehicle route to be scheduled, presetting the number of vehicles per day on the route, the departure time of each vehicle, the number of drivers and the like, and automatically scheduling according to the validity period of the route and the specific working days, daily working days and non-working days stored in the database.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Program instructions which invoke the methods of the present application may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (10)

1. A method of vehicle scheduling, wherein the method comprises:
acquiring a vehicle route and setting the validity period of the vehicle route;
configuring scheduling unit time in a valid period of the vehicle route, wherein the scheduling unit time comprises a specific working day, a conventional working day and a non-working day;
performing any one operation including addition, editing and deletion on a specific working day in the scheduling unit time within the validity period of the vehicle route, and determining the specific working day to be scheduled based on the ticket selling state of departure of the specific working day;
determining a vehicle route to be scheduled and scheduling unit time to be scheduled according to a preset timing strategy;
performing vehicle scheduling in the valid period of the vehicle route based on the vehicle route to be scheduled and the scheduling unit time to be scheduled;
wherein, based on the vehicle route of waiting to arrange the work, the unit time of arranging the work is in the valid period of vehicle route carries out vehicle scheduling, includes:
and according to the specific working day to be scheduled, removing the specific working day in the preset time days from today to obtain a new working day, and scheduling the vehicle in the valid period of the vehicle route according to the newly obtained new working day and the vehicle route to be scheduled.
2. The method of claim 1, wherein the method comprises:
acquiring an operation request for adding or editing a specific workday;
and judging whether the ticket selling state of departure on the specific working day is sold or not based on the operation request, if not, judging whether the specific working day exists in a database or not, and if not, updating an operation result obtained after adding or editing operation on the specific working day into the database.
3. The method of claim 1, wherein the method comprises:
acquiring an operation request for adding or editing a specific workday;
judging whether the ticket sold state of the departure of the specific working day is sold or not based on the operation request, if so, failing to operate the operation request;
if not, judging whether the specific working day exists in the database, and if so, failing the operation request.
4. The method of claim 1, wherein the method comprises:
acquiring an operation request for deleting a specific working day in a database;
and judging whether the ticket selling state of the departure on the specific working day is sold or not based on the operation request, if not, deleting the specific working day, and updating the deleting operation result into the database.
5. The method of claim 1, wherein vehicle scheduling based on the vehicle route to be scheduled, the scheduling unit time to be scheduled within the validity period of the vehicle route comprises:
determining the number of drivers of the regular buses and the number of the regular buses based on the routes of the vehicles to be scheduled and the scheduling unit time of the vehicles to be scheduled, wherein one vehicle route corresponds to one or a plurality of drivers of the regular buses within the scheduling unit time;
and performing vehicle scheduling based on the determined drivers of the regular buses, the validity period of the vehicle route and the number of the scheduled vehicles.
6. An apparatus for vehicle scheduling, wherein the apparatus comprises:
an acquisition device for acquiring a vehicle route and setting a validity period of the vehicle route;
the configuration device is used for configuring scheduling unit time in the valid period of the vehicle route, wherein the scheduling unit time comprises a specific working day, a conventional working day and a non-working day;
configuration means for performing any one of operations including addition, editing, and deletion on a specific working day in the scheduling unit time within a validity period of the vehicle route, the specific working day to be scheduled being determined based on a ticket selling status of departure of the specific working day;
the determining device is used for determining a vehicle route to be scheduled and scheduling unit time to be scheduled according to a preset timing strategy;
the distribution device is used for carrying out vehicle scheduling in the valid period of the vehicle route based on the vehicle route to be scheduled and the scheduling unit time to be scheduled;
the distribution device is used for eliminating a specific working day from the preset time days to the present according to the specific working day to be scheduled to obtain a new working day, and scheduling the vehicle in the valid period of the vehicle route according to the newly obtained new working day and the vehicle route to be scheduled.
7. The apparatus of claim 6, wherein the apparatus comprises:
a first acquisition request means for acquiring an operation request for adding or editing a specific workday;
and the first operation device is used for judging whether the ticket sold state of departure on the specific working day is sold or not based on the operation request, judging whether the specific working day exists in a database or not if the ticket sold state of departure on the specific working day is not sold, and updating an operation result obtained after addition or editing operation on the specific working day into the database if the specific working day does not exist in the database.
8. The apparatus of claim 6, wherein the apparatus comprises:
the first acquisition request device is also used for acquiring an operation request for adding or editing a specific workday;
the first operation device is also used for judging whether the ticket sold state of departure of the specific working day is sold or not based on the operation request, and if yes, the operation request fails;
the first operation device is further used for judging whether the specific working day exists in the database if the specific working day does not exist in the database, and the operation request fails if the specific working day exists in the database.
9. The apparatus of claim 6, wherein the apparatus comprises:
second acquisition request means for acquiring an operation request for deleting a specific work day in the database;
and the second operation device is used for judging whether the ticket selling state of departure on the specific working day is sold or not based on the operation request, and if not, deleting the specific working day and updating the deleting operation result into the database.
10. The apparatus of claim 6, wherein the assigning means is for:
determining the number of drivers of the regular buses and the number of the regular buses based on the routes of the vehicles to be scheduled and the scheduling unit time of the vehicles to be scheduled, wherein one vehicle route corresponds to one or a plurality of drivers of the regular buses within the scheduling unit time;
and performing vehicle scheduling based on the determined drivers of the regular buses, the validity period of the vehicle route and the number of the scheduled vehicles.
CN201710240323.1A 2017-04-13 2017-04-13 Vehicle scheduling method and equipment Active CN107122892B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710240323.1A CN107122892B (en) 2017-04-13 2017-04-13 Vehicle scheduling method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710240323.1A CN107122892B (en) 2017-04-13 2017-04-13 Vehicle scheduling method and equipment

Publications (2)

Publication Number Publication Date
CN107122892A CN107122892A (en) 2017-09-01
CN107122892B true CN107122892B (en) 2020-12-11

Family

ID=59724658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710240323.1A Active CN107122892B (en) 2017-04-13 2017-04-13 Vehicle scheduling method and equipment

Country Status (1)

Country Link
CN (1) CN107122892B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111160720A (en) * 2019-12-11 2020-05-15 青岛海信网络科技股份有限公司 Automatic bus scheduling event handling method and device
CN111667097B (en) * 2020-05-13 2024-01-23 郑州天迈科技股份有限公司 Multi-chain search-based scheduling method for drivers of vehicles in same scheduling room

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101520945A (en) * 2008-02-29 2009-09-02 厦门雅迅网络股份有限公司 Automatic scheduling method for urban public bus lines
CN101887381A (en) * 2010-06-22 2010-11-17 北京伟库电子商务科技有限公司 Method and device for configuring timing tasks based on Quartz frame
CN102567927A (en) * 2010-12-14 2012-07-11 上海莫言信息科技有限公司 Scheduled bus arranging method and realization of cross-regional travel distribution center operating system
CN104331765A (en) * 2014-10-24 2015-02-04 沈阳化工大学 Public transport company vehicle and personnel management system
CN105894219A (en) * 2016-06-28 2016-08-24 郑州天迈科技股份有限公司 Bus automatic shift arrangement method
CN105976294A (en) * 2016-05-06 2016-09-28 厦门蓝斯通信股份有限公司 Intelligent traffic management method and system supporting multi-line hybrid scheduling
CN106095540A (en) * 2016-05-31 2016-11-09 上海萌果信息科技有限公司 A kind of flow of task processing method based on Quartz framework
CN106448137A (en) * 2016-11-04 2017-02-22 东南大学 Public transportation service system and method based on electric automobile

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101520945A (en) * 2008-02-29 2009-09-02 厦门雅迅网络股份有限公司 Automatic scheduling method for urban public bus lines
CN101887381A (en) * 2010-06-22 2010-11-17 北京伟库电子商务科技有限公司 Method and device for configuring timing tasks based on Quartz frame
CN102567927A (en) * 2010-12-14 2012-07-11 上海莫言信息科技有限公司 Scheduled bus arranging method and realization of cross-regional travel distribution center operating system
CN104331765A (en) * 2014-10-24 2015-02-04 沈阳化工大学 Public transport company vehicle and personnel management system
CN105976294A (en) * 2016-05-06 2016-09-28 厦门蓝斯通信股份有限公司 Intelligent traffic management method and system supporting multi-line hybrid scheduling
CN106095540A (en) * 2016-05-31 2016-11-09 上海萌果信息科技有限公司 A kind of flow of task processing method based on Quartz framework
CN105894219A (en) * 2016-06-28 2016-08-24 郑州天迈科技股份有限公司 Bus automatic shift arrangement method
CN106448137A (en) * 2016-11-04 2017-02-22 东南大学 Public transportation service system and method based on electric automobile

Also Published As

Publication number Publication date
CN107122892A (en) 2017-09-01

Similar Documents

Publication Publication Date Title
US7898679B2 (en) Method and system for scheduling jobs in a computer system
US8051420B2 (en) Method and system for governing access to computing utilities
US20110119680A1 (en) Policy-driven schema and system for managing data system pipelines in multi-tenant model
US20140244334A1 (en) Facilitating allocation of resources to tasks
US9329892B1 (en) Systems and methods for performing scheduling for a cluster
CN103593236A (en) Computer equipment, method and device for scheduling service process
CN111367984A (en) Method and system for loading high-timeliness data into data lake
CN107122892B (en) Vehicle scheduling method and equipment
CN113742044A (en) Timed task management method, device, equipment and storage medium
CN113032125A (en) Job scheduling method, device, computer system and computer-readable storage medium
US7877750B2 (en) Scheduled job execution management
US20050222884A1 (en) Capacity planning of resources
CN111736961B (en) Virtual machine release method and device, storage medium and electronic equipment
CN108521524B (en) Agent collaborative task management method and device, computer equipment and storage medium
WO2019223152A1 (en) Task assigning method, server and computer-readable storage medium
US20220391969A1 (en) Systems, methods, and user interfaces for obtaining independent-provider services
CN115048204A (en) Job scheduling method, job scheduling system and storage medium
CN114205837B (en) Scheduling method, device, computing equipment and storage medium for 5G core network operation
JP2006146530A (en) Scheduling support system
CN113240384A (en) Salary statistical accounting method and device
US20160004562A1 (en) Method of Centralized Planning of Tasks to be Executed by Computers Satisfying Certain Qualitative Criteria Within a Distributed Set of Computers
CN112561266A (en) Service request processing method, device, equipment and storage medium
CN114138435A (en) Distributed scheduling method, device and medium under micro-service architecture
CN107122893A (en) Distribute the method and apparatus of resource automatically based on timer
JP2020194433A (en) Vehicle management device, vehicle management program, and vehicle management method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant