CN112465280A - Task adjusting method and device, server and computer readable storage medium - Google Patents
Task adjusting method and device, server and computer readable storage medium Download PDFInfo
- Publication number
- CN112465280A CN112465280A CN201910846956.6A CN201910846956A CN112465280A CN 112465280 A CN112465280 A CN 112465280A CN 201910846956 A CN201910846956 A CN 201910846956A CN 112465280 A CN112465280 A CN 112465280A
- Authority
- CN
- China
- Prior art keywords
- task
- target
- planned
- temporary
- execution
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 238000012546 transfer Methods 0.000 claims abstract description 18
- 230000015654 memory Effects 0.000 claims description 15
- 238000007711 solidification Methods 0.000 claims description 10
- 230000008023 solidification Effects 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 4
- 230000006870 function Effects 0.000 description 12
- 238000012946 outsourcing Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 7
- 230000007704 transition Effects 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 239000000843 powder Substances 0.000 description 4
- 238000007726 management method Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0637—Strategic management or analysis, e.g. setting a goal or target of an organisation; Planning actions based on goals; Analysis or evaluation of effectiveness of goals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Strategic Management (AREA)
- Development Economics (AREA)
- Educational Administration (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Game Theory and Decision Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the application discloses a task adjusting method, a task adjusting device, a server and a computer readable storage medium. The task adjusting device in the embodiment of the application acquires a historical task group of a previous transportation period of a branch line of a transfer station; then respectively determining a target plan task and a target temporary task from the historical task group according to a task matching rule; when the target plan task is a qualified task, determining whether the execution days of the target temporary task are greater than an execution day threshold value, and determining whether the loading rate of the target temporary task is greater than a temporary task loading rate threshold value; and if the number of days is larger than the threshold of the execution days and the temporary task loading rate is larger than the threshold of the temporary task loading rate, adjusting the planned task of the current transportation cycle based on the target temporary task. In the scheme, whether the planned task of the current transportation cycle needs to be adjusted or not can be determined according to the execution days and the loading rate of the target temporary task in the previous transportation cycle, and the planned task can be planned more reasonably.
Description
Technical Field
The application relates to the technical field of logistics transportation, in particular to a task adjusting method, a task adjusting device, a task adjusting server and a computer readable storage medium.
Background
In the logistics field, a branch line for connecting a transit station and a network point is an important line in express transportation, when express transportation is performed, on the basis of making a plan task meeting daily requirements, when express transportation is performed, temporary tasks are temporarily added to meet the requirement of service growth due to the fact that the amount of the plan task transportation is insufficient, wherein the temporary tasks are transportation tasks added outside a transportation plan.
Planning of the planned tasks in part of regions cannot match the business growth requirements, so that temporary tasks need to be added outside the planned tasks, the temporary tasks need to be frequently added, and the current task planning is unreasonable, and the transportation cost of the temporary tasks is higher than that of the planned tasks, so that the transportation cost is increased due to the fact that the task planning is not reasonable.
Disclosure of Invention
The embodiment of the application provides a task adjusting method, a task adjusting device, a server and a computer readable storage medium, which can reasonably plan tasks.
In a first aspect, an embodiment of the present application provides a method for adjusting a task, including:
acquiring a historical task group of a previous transportation cycle of a branch line of a transfer station, wherein the historical task group comprises a planned task group and a temporary task group;
determining a target planned task from the planned task group according to a task matching rule, and determining a target temporary task corresponding to the target planned task from the temporary task group;
when the target planned task is a qualified task, determining whether the number of execution days of the target temporary task is greater than a threshold of the number of execution days, and determining whether the loading rate of the target temporary task is greater than a threshold of the loading rate of the temporary task;
and if the number of execution days of the target temporary task is larger than the threshold of the number of execution days and the loading rate of the target temporary task is larger than the threshold of the loading rate of the temporary task, adjusting the planned task of the current transportation cycle based on the target temporary task.
In some embodiments, when the target planned task is a qualified task, determining whether the number of days of execution of the target provisional task is greater than a threshold number of days of execution, the method further comprises:
determining whether the task execution rate of the target planned task is greater than a planned task execution rate threshold and determining whether the load rate of the target planned task is greater than a planned task load rate threshold;
and if the task execution rate of the target plan task is greater than the plan task execution rate threshold and the loading rate of the target plan task is greater than the plan task loading rate threshold, determining that the target plan task passes.
In some embodiments, after determining whether the mission execution rate of the target planned mission is greater than a planned mission execution rate threshold and determining whether the load rate of the target planned mission is greater than a planned mission load rate threshold, the method further comprises:
if the task execution rate of the target plan tasks is not greater than the plan task execution rate threshold, or the loading rate of the target plan tasks is not greater than the plan task loading rate threshold, reducing the number of the target plan tasks;
and adjusting the planning tasks of the current transportation period according to the reduced number of the target planning tasks.
In some embodiments, the determining a target planned task from the planned task group and a target provisional task from the provisional task group according to task matching rules includes:
classifying the tasks in the planned task group according to the destination, the origin, the planned departure shift and the shift type of the tasks in the planned task group to obtain a classified planned task group;
selecting a preset class task from the classified plan task group as the target plan task;
classifying the tasks in the temporary task group according to the destination, the origin, the planned departure shift and the shift type of the tasks in the temporary task group to obtain a classified temporary task group;
and selecting the task corresponding to the target plan task category from the classified temporary task group as the target temporary task.
In some embodiments, when the target planned task is a qualified task, determining whether the number of days of execution of the target provisional task is greater than a threshold number of days of execution, the method further comprises:
determining a target number of days corresponding to the target temporary task according to the shift type of the target temporary task and the historical number of days corresponding to the historical task group;
and determining the executing day threshold according to the target days and the temporary task executing rate threshold.
In some embodiments, the historical task group of the previous transportation cycle is a task group corresponding to a previous month of the transfer branch line, the shift type corresponding to the target planned task and the target provisional task is a week n, where n includes an integer of one or more of 1 to 7, and adjusting the planned task of the current transportation cycle based on the target provisional task includes:
respectively acquiring the difference value between the total task execution number of each week n in the previous month and the planned task number to obtain the task number of the target temporary task;
acquiring the difference average value of the week n according to the task number of the target temporary task;
determining the average difference value as the curing task number of the week n;
and adjusting the planning task of the current transportation period according to the number of the solidification tasks.
In some embodiments, after the adjusting the planned mission of the current transportation cycle according to the solidified mission number, the method further comprises:
acquiring the execution cost of the scheduled tasks of the adjusted current transportation period and the execution cost of the tasks in the historical task group;
determining whether the execution cost of the planned tasks of the current transportation period is lower than the execution cost of the tasks in the historical task group;
if the current transportation period is lower than the preset transportation period, sending the adjusted plan task of the current transportation period to a terminal;
and if not, sending the task number interval value of the scheduled task of the adjusted current transportation period to the terminal, wherein the interval value is determined according to the standard deviation of the difference value between the solidified task number and the task number of the target temporary task.
In a second aspect, an embodiment of the present application further provides an apparatus for adjusting a task, including:
the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a historical task group of a previous transportation cycle of a branch line of a transfer station, and the historical task group comprises a planned task group and a temporary task group;
the first determining unit is used for determining a target planned task from the planned task group according to a task matching rule and determining a target temporary task corresponding to the target planned task from the temporary task group;
a second determining unit, configured to determine whether the number of execution days of the target provisional task is greater than a threshold number of execution days and determine whether a loading rate of the target provisional task is greater than a threshold rate of loading of provisional tasks, when the target planned task is a qualified task;
and the first adjusting unit is used for adjusting the planned task of the current transportation cycle based on the target temporary task when the execution days of the target temporary task are larger than the execution days threshold and the loading rate of the target temporary task is larger than the temporary task loading rate threshold.
In some embodiments, the apparatus further comprises:
a third determining unit, configured to determine whether a task execution rate of the target planned task is greater than a planned task execution rate threshold, and determine whether a loading rate of the target planned task is greater than a planned task loading rate threshold;
and the fourth determining unit is used for determining the passing of the target planning task when the task execution rate of the target planning task is greater than the planning task execution rate threshold and the loading rate of the target planning task is greater than the planning task loading rate threshold.
In some embodiments, the apparatus further comprises:
the processing unit is used for reducing the number of the target planning tasks when the task execution rate of the target planning tasks is not greater than the planning task execution rate threshold or the loading rate of the target planning tasks is not greater than the planning task loading rate threshold;
and the second adjusting unit is used for adjusting the planning tasks of the current transportation period according to the reduced number of the target planning tasks.
In some embodiments, the first determining unit is specifically configured to:
classifying the tasks in the planned task group according to the destination, the origin, the planned departure shift and the shift type of the tasks in the planned task group to obtain a classified planned task group;
selecting a preset class task from the classified plan task group as the target plan task;
classifying the tasks in the temporary task group according to the destination, the origin, the planned departure shift and the shift type of the tasks in the temporary task group to obtain a classified temporary task group;
and selecting the task corresponding to the target plan task category from the classified temporary task group as the target temporary task.
In some embodiments, the apparatus further comprises:
a fifth determining unit, configured to determine, according to the shift type of the target temporary task and the historical days corresponding to the historical task group, a target day corresponding to the target temporary task;
and the sixth determining unit is used for determining the executing day threshold according to the target days and the temporary task executing rate threshold.
In some embodiments, the historical task group of the previous transportation cycle is a task group corresponding to a previous month of the transit branch line, the shift type corresponding to the target planned task and the target provisional task is a week n, where n includes an integer of one or more of 1 to 7, and the first adjusting unit is specifically configured to:
respectively acquiring the difference value between the total task execution number of each week n in the previous month and the planned task number to obtain the task number of the target temporary task;
acquiring the difference average value of the week n according to the task number of the target temporary task;
determining the average difference value as the curing task number of the week n;
and adjusting the planning task of the current transportation period according to the number of the solidification tasks.
In some embodiments, the apparatus further comprises:
the second acquisition unit is used for acquiring the execution cost of the plan task of the adjusted current transportation period and the execution cost of the tasks in the historical task group;
a seventh determining unit, configured to determine whether an execution cost of a planned task of the current transportation cycle is lower than an execution cost of a task in the historical task group;
the first sending unit is used for sending the adjusted planned tasks of the current transportation period to a terminal when the execution cost of the planned tasks of the current transportation period is lower than the execution cost of the tasks in the historical task group;
and a second sending unit, configured to send, to the terminal, an adjusted task number interval value of the planned task in the current transportation cycle when the execution cost of the planned task in the current transportation cycle is not lower than the execution cost of the tasks in the historical task group, where the interval value is determined according to a standard deviation of a difference between the solidified task number and the task number of the target temporary task.
In a third aspect, an embodiment of the present application further provides a server, including a memory and a processor, where the memory stores a computer program, and the processor executes, when calling the computer program in the memory, any step in the method for adjusting a task provided in the embodiment of the present application.
In a fourth aspect, the present application further provides a computer-readable storage medium, where a plurality of instructions are stored, and the instructions are suitable for being loaded by a processor to perform the steps in the method for adjusting any one of the tasks provided by the present application.
In the embodiment of the application, a task adjusting device acquires a historical task group of a previous transportation cycle of a branch line of a transfer station, wherein the historical task group comprises a planned task group and a temporary task group; then determining a target planned task from the planned task group according to a task matching rule, and determining a target temporary task corresponding to the target planned task from the temporary task group; when the target plan task is a qualified task, determining whether the execution days of the target temporary task are greater than an execution day threshold value, and determining whether the loading rate of the target temporary task is greater than a temporary task loading rate threshold value; and if the number of execution days of the target temporary task is greater than the threshold of the number of execution days and the loading rate of the target temporary task is greater than the threshold of the loading rate of the temporary task, adjusting the planned task of the current transportation cycle based on the target temporary task. In the scheme, when the number of execution days of the target temporary task in the previous transportation cycle is greater than the threshold of the number of execution days and the loading rate is greater than the threshold of the loading rate of the temporary task, it indicates that the planned task in the current transportation cycle needs to be adjusted for the target temporary task, so that the planned task can be planned more reasonably.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a task adjustment method provided in an embodiment of the present application;
fig. 2 is another schematic flow chart of a task adjustment method provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of an embodiment of the present application;
FIG. 4 is another schematic diagram of an adjusting device for tasks according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description that follows, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise indicated. Accordingly, these steps and operations will be referred to, several times, as being performed by a computer, the computer performing operations involving a processing unit of the computer in electronic signals representing data in a structured form. This operation transforms the data or maintains it at locations in the computer's memory system, which may be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the application have been described in language specific to above, it is not intended to be limited to the specific form set forth herein, and it will be recognized by those of ordinary skill in the art that various of the steps and operations described below may be implemented in hardware.
The principles of the present application may be employed in numerous other general-purpose or special-purpose computing, communication environments or configurations. Examples of well known computing systems, environments, and configurations that may be suitable for use with the application include, but are not limited to, hand-held telephones, personal computers, servers, multiprocessor systems, microcomputer-based systems, mainframe-based computers, and distributed computing environments that include any of the above systems or devices.
The terms "first", "second", and "third", etc. in this application are used to distinguish between different objects and not to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a task adjustment method according to an embodiment of the present application. The execution main body of the task adjusting method may be an adjusting device of the task provided in the embodiment of the present application, or a server integrating the adjusting device of the task, where the adjusting device of the task may be implemented in a hardware or software manner. The task adjusting method can comprise the following steps:
101. and acquiring a historical task group of a previous transportation cycle of the branch line of the transfer station, wherein the historical task group comprises a planned task group and a temporary task group.
In this embodiment, a natural month may be used as a period for processing, at this time, a historical task group of a previous transportation period may be a task group corresponding to a transfer location in which a task adjustment needs to be performed in the previous month, a task in the historical task group is a task that has been executed in the previous transportation period, the historical task group includes a planned task group and a temporary task group, where the task in the planned task group is a task in a transportation plan, and the task in the temporary task group is a task outside the transportation plan, for example, when a planned task plan of the transfer cannot match a service growth requirement, that is, the planned task cannot meet a freight requirement, a corresponding temporary task needs to be added at this time.
The task in the application is a branch line task of a transition, when the task in the previous period is executed, a historical task group in the previous period needs to be obtained, a planned task in the current transportation period is adjusted according to the tasks in the historical task group, and the current transportation period is a transportation period which needs to be subjected to task planning currently.
102. And determining a target planned task from the planned task group according to a task matching rule, and determining a target temporary task corresponding to the target planned task from the temporary task group.
Specifically, the tasks in the planned task group may be classified according to the task matching rule to obtain various types of planned tasks, and then the task that needs to be processed currently is determined as the target planned task, where the task that needs to be processed currently is a task that determines whether to adjust the planned task for the current transportation cycle.
The task matching rule in the application comprises the following steps: the method comprises the following steps of determining a target planned task from a planned task group according to a task matching rule, wherein the target planned task comprises the following steps: classifying the tasks in the planned task group according to the destinations, the origins, the planned departure shift and the shift types of the tasks in the planned task group to obtain a classified planned task group, and selecting a preset task from the classified planned task group as the target planned task, wherein the preset task is the task type which needs to be processed currently.
Where the planned departure shift in this application includes the departure time of a truck reloading cargo (express), in some embodiments, the day may be divided into 7 shifts, i.e., 7 departure times. The shift type is a week n, where n includes an integer of one or more of 1 to 7, and in some embodiments of the present application, the shift type may be divided into a plurality of cargo types and bulk types according to historical experience from monday to sunday according to different properties of the cargo, bulk, and in some embodiments, the cargo type (origin to staging) includes: collections 1-5 (i.e., collections of monday through friday) and collections 6-7 (i.e., collections of saturday through sunday), the bulk type (staging to destination) includes: powder 2-6 (i.e., tuesday to saturday) and powder 7-1 (i.e., sunday to monday).
Similarly, the target temporary task determined from the temporary task group according to the task matching rule is also required, wherein the task matching rule is the same as the task matching rule corresponding to the target task group, and the category of the target temporary task is the same as that of the target plan task.
In some embodiments, when determining a target planned task, it is necessary to determine whether the target planned task is a qualified task, specifically, whether a task execution rate of the target planned task is greater than a planned task execution rate threshold (which may be preset, e.g., 90%), and whether a loading rate of the target planned task is greater than a planned task loading rate threshold (which may be preset, e.g., 60%); and if the task execution rate of the target plan task is greater than the plan task execution rate threshold and the loading rate of the target plan task is greater than the plan task loading rate threshold, determining that the target plan task passes. The load rate of the target planning task may be an average load rate of tasks in the target planning task.
In some embodiments, when there is no target provisional task corresponding to the target planning task, it is not necessary to determine the target provisional task at this time, but only to determine whether the target planning task is a qualified task, and when the target planning task is a qualified task, it is not necessary to adjust the target planning task in the current transportation cycle at this time, and when the target planning task is an unqualified task, it is necessary to adjust the target planning task in the current transportation cycle at this time, for example, when the historical execution rate of the number of cars existing in the target planning task is always low or the loading rate is always low, the number of cars is reduced.
103. When the target planned task is a qualified task, determining whether the number of execution days of the target provisional task is greater than a threshold number of execution days, and determining whether the loading rate of the target provisional task is greater than a threshold provisional task loading rate.
When the target planning task is determined to be a qualified task and a target temporary task corresponding to the target planning task exists, determining whether the number of execution days of the target temporary task is larger than a threshold of the number of execution days, and determining whether the loading rate of the target temporary task is larger than a threshold of the loading rate of the temporary task.
The loading rate of the target temporary task may be an average loading rate of tasks in the target temporary task.
In some embodiments, it is determined whether the number of execution days of the target temporary task is greater than the execution sequence of the threshold number of execution days, and before it is determined whether the loading rate of the target temporary task is greater than the threshold rate of loading of the temporary task, in other embodiments, the execution sequence of the two determination steps is not limited.
And if the number of execution days of the target temporary task is determined to be not more than the number of execution days threshold and the loading rate of the target temporary task is determined to be more than the temporary task loading rate threshold, determining that the target temporary task is increased reasonably, but because the number of execution days is not large, no curing requirement exists.
If the number of execution days of the target temporary task is determined to be not more than the threshold of the number of execution days and the loading rate of the target temporary task is determined to be not more than the threshold of the loading rate of the temporary task, the target temporary task is determined to have unreasonable increase, but the number of execution days is not large, so that the solidification requirement still does not exist.
If it is determined that the number of execution days of the target temporary task is greater than the threshold of the number of execution days, and it is determined that the loading rate of the target temporary task is greater than the threshold of the loading rate of the temporary task, it is determined that the target temporary task is increased reasonably, and since the number of execution days of the target temporary task is greater than the threshold of the number of execution days, the target temporary task is increased reasonably, and since the number of execution days is large, the target temporary task has a certain periodicity and popularity, so it is necessary to perform a curing process on the target temporary task (adjust a planned task of a current transportation cycle based on the target temporary task), and the specific curing process is referred to in step 104.
When the natural month is taken as the transportation cycle in this embodiment, the method for determining the execution day threshold in this application is as follows: determining the target days corresponding to the target temporary task according to the shift type of the target temporary task and the historical days corresponding to the historical task group; and determining the execution day threshold according to the target days and the temporary task execution rate threshold.
Specifically, in some embodiments, the temporary task execution rate and the loading rate threshold should be smaller than the planned task execution rate and the loading rate threshold, because the temporary task has a certain uncertainty than the planned task. Referring to the empirical data, the temporary task loading rate threshold is D30%, and the temporary task execution rate threshold C' is 60%. Since the temporary task is concerned about periodicity and universality, the judgment of the execution days is more appropriate. And because the natural days N of each month have differences, the threshold value C of the number of execution days is a dynamic threshold value, the class type corresponding to the target temporary task is a class type X, and at the moment, the threshold value of the number of execution days is calculated by the following method:wherein x isiThe class type corresponding to the ith day; i (x)iX) is an indicative function when XiWhen the value is X, the value is 1, otherwise, the value is 0; round () is a rounding function.
104. And if the number of execution days of the target temporary task is greater than the threshold of the number of execution days and the loading rate of the target temporary task is greater than the threshold of the loading rate of the temporary task, adjusting the planned task of the current transportation cycle based on the target temporary task.
In this embodiment, if the number of execution days of the target temporary task is greater than the threshold of the number of execution days, and the loading rate of the target temporary task is greater than the threshold of the loading rate of the temporary task, then the target temporary task needs to be solidified at this time to obtain a corresponding solidified task (i.e., a planned task increased in the current transportation cycle), i.e., the planned task in the current transportation cycle is adjusted based on the target temporary task, and the number of tasks of the planned task in the current transportation cycle is increased according to the target temporary task, so that the number of temporary tasks is reduced when the transportation task in the current transportation cycle is executed, thereby reducing the transportation cost.
In some embodiments, when the shift type corresponding to the target scheduled mission and the target provisional mission is monday, where n includes an integer of one or more of 1 to 7, the adjusting the scheduled mission of the current transportation cycle based on the target provisional mission comprises: respectively obtaining the difference value between the total task execution number of each week n in the previous month and the planned task number to obtain the task number of the target temporary task; acquiring the difference average value of the week n according to the task number of the target temporary task; determining the average difference value as the curing task number of the week n; and adjusting the planning task of the current transportation period according to the number of the solidification tasks.
Specifically, on the basis of the target planning task of the previous transportation cycle, the number of curing tasks corresponding to the week is increased, that is, the embodiment needs to determine the day of the week that needs curing and the number of curing tasks corresponding to the week, for example, when the target planning task is a shift type of 7-1, the number of curing tasks from sunday to monday needs to be calculated, and the following description will be given by taking the calculation of the number of curing tasks on monday as an example: counting the total number of target task executions (namely the total number of tasks corresponding to the target task matching rule which is the matching rule corresponding to the target plan task) of each Monday in the historical task group and the difference y of the target plan task numbersijI represents the week number corresponding to the current shift type, i is equal to 1 on Mondays, j represents the week number, and the average difference value of Mondays is determined according to the difference value of every Monday in the historical task groupAnd standard deviation of difference on MondayBecause of the fact thatThe recommended curing task number corresponding to the recommended curing week i is non-integer as far as possible to avoid resource wasteFloor () is a Floor function, from which the application depends on the average differenceThe number of curing tasks corresponding to monday is determined.
The recommendation result includes, in addition to the week to be recommended and the solidified task number of the week, the name of the corresponding transition, and the content corresponding to the task matching rule corresponding to the target task, such as the destination, the origin, the planned departure shift, and the shift type of the task.
In some embodiments, in addition to the week of curing and the number of curing tasks corresponding to the week, the curing carrier type, the curing tonnage and the curing mileage of the task of curing need to be recommended, wherein the determination method of the curing carrier type, the curing tonnage and the curing mileage is as follows:
and (4) a solidified carrier type is recommended according to the self-operation and outsourcing proportion in the executed target temporary task so as to enable the planning resources to meet the actual condition. For example: recommending and solidifying the week i, wherein the number of self-supporting tasks in the temporary tasks executed in the current month is ai1The number of outsourcing tasks is ai2If the number of self-supporting tasks in the corresponding solidification tasks is recommended to beThe number of outsourcing tasks is
Setting self-supporting recommended curing tonnage according to the mode of self-supporting task tonnage in the executed target temporary task; when the modes are not unique, a smaller value is selected. And in the same way, the recommended curing tonnage of the outsourcing task can be obtained.
Curing mileage: and setting the line mileage L corresponding to the solidification task according to the line mileage mode of the executed target planning task.
In some embodiments, after the adjusting the planned mission of the current transportation cycle according to the solidified number of missions, the method further comprises: acquiring the execution cost of the scheduled task of the adjusted current transportation period and the execution cost of the tasks in the historical task group; determining whether the execution cost of the planned tasks of the current transportation period is lower than the execution cost of the tasks in the historical task group; if the current transportation period is lower than the preset transportation period, sending the adjusted plan task of the current transportation period to the terminal; and if not, sending the task number interval value of the scheduled task of the adjusted current transportation period to the terminal, wherein the interval value is determined according to the standard deviation of the difference value between the solidified task number and the task number of the target temporary task.
Specifically, whether the curing scheme is reasonable or not can be judged according to whether the cost is reduced after the task is cured or not. In some embodiments, it is recommended to cure the Sudi Current task costWhere M is the number of executed target temporary tasks, cost1itThe cost of each executed target provisional task. Because the recommended curing task number and the executed target temporary task number have the difference in task number, in order to eliminate the influence of the task number on the cost judgment, the current task cost is standardized through the total recommended curing task number and the executed target temporary task number, that is, the current task cost for comparison is as follows:
because the general recognition that the planned task cost is lower than the temporary task cost exists, the planned task cost is firstly estimated for the cured task cost, and meanwhile, in order to avoid the influence of the line mileage on the cost estimation, the concept of the single-kilometer cost is selected. The part of the single kilometer cost of the corresponding planned task cannot be estimated in the self-service and outsourcing tasks: for the self-operation task, because the vehicle loss cost, the labor cost and the like are different in the planning and the temporary tasks, a reasonable assumption is provided, wherein the self-operation single-kilometer cost in the planning task and the self-operation single-kilometer cost in the temporary task do not have obvious difference, namely the self-operation single-kilometer cost in the planning task can be replaced by the self-operation single-kilometer cost in the temporary task; for outsourcing tasks, the temporary condition of the outsourcing tasks can greatly influence the cost, so when the cost of the single kilometer of the outsourcing in the planned tasks cannot be obtained, the average cost of the single kilometer of the outsourcing of the planned tasks in the current region is selected. In summary, the recommended task cost after curing the Sunday curing task (i.e., the Sunday planning task that needs to be added) is:
wherein, cost2itCost, L, for each executed planning task (task for which the target task matches the rule week i)tFor each mileage for which a planned task has been performed, Ω1For the set of self-supporting tasks in the executed planning task, omega2For the set of outsourced tasks in the executed planning task, Ω3For the set of self-supporting tasks in the executed temporary task, omega4For the set of outsourced tasks in executed planning tasks in the region where the tasks belong, Nvl () is a fill-in-the-empty function, i.e. Nvl (a, B) means to take a first and B when a is empty.
Compare old _ feiAnd new _ feiIf new _ fei≤old_feeiAnd if the curing scheme is reasonable, the recommended curing related information is output to the terminal, and the process is ended. If new _ fei>old_feeiNamely, the cost is not reduced after the task is solidified, and only the interval of the recommended solidified task number is output to the terminal at the momentFor reference. Wherein Ceil () is a ceiling function. The task adjustment method in the present disclosure needs to be executed for each type (type) of task, and the task adjustment for each type may be executed in parallel or sequentially.
In the embodiment of the application, a task adjusting device acquires a historical task group of a previous transportation cycle of a branch line of a transfer station, wherein the historical task group comprises a planned task group and a temporary task group; then determining a target planned task from the planned task group according to a task matching rule, and determining a target temporary task corresponding to the target planned task from the temporary task group; when the target plan task is a qualified task, determining whether the execution days of the target temporary task are greater than an execution day threshold value, and determining whether the loading rate of the target temporary task is greater than a temporary task loading rate threshold value; and if the number of execution days of the target temporary task is greater than the threshold of the number of execution days and the loading rate of the target temporary task is greater than the threshold of the loading rate of the temporary task, adjusting the planned task of the current transportation cycle based on the target temporary task. In the scheme, when the number of execution days of the target temporary task in the previous transportation cycle is greater than the threshold of the number of execution days and the loading rate is greater than the threshold of the loading rate of the temporary task, it indicates that the planned task in the current transportation cycle needs to be adjusted for the target temporary task, so that the planned task can be planned more reasonably.
The scheme is applied to branch line task optimization, the problems of low task execution rate, low loading rate and the like can be solved, the output planning task is more in line with the actual traffic demand, global resource integration and allocation are facilitated, and the transportation cost can be effectively reduced through temporary task solidification.
In terms of operation and use, the optimization scheme can be completely judged by program systematization calculation, and reasonable referenceable opinions are provided for managers.
The task adjustment method according to the above embodiment will be described in further detail below.
Referring to fig. 2, fig. 2 is another schematic flow chart of a task adjustment method according to an embodiment of the present disclosure. The task adjusting method may be applied to a server, and as shown in fig. 2, the flow of the task adjusting method may be as follows:
201. and acquiring a historical task group of a previous transportation cycle of the branch line of the transfer station, wherein the historical task group comprises a planned task group and a temporary task group.
The transportation cycle mentioned in the present application may use a natural month as a unit, where a historical task group of a previous transportation cycle may be a task group corresponding to a transfer location where a task needs to be adjusted in a previous month, a task in the historical task group is a task that has been executed in the previous transportation cycle, and the historical task group includes a planned task group and a temporary task group.
The task in the application is a branch line task of a transition, when the task in the previous period is executed, a historical task group in the previous period needs to be obtained, a planned task in the current transportation period is adjusted according to the tasks in the historical task group, and the current transportation period is a transportation period which needs to be subjected to task planning currently.
202. And determining a target planning task from the planning task group according to the task matching rule.
The task matching rule in the application comprises the following steps: the method comprises the following steps of determining a target planned task from a planned task group according to a task matching rule, wherein the target planned task comprises the following steps: classifying the tasks in the planned task group according to the destinations, the origins, the planned departure shift and the shift types of the tasks in the planned task group to obtain a classified planned task group, and selecting a preset task from the classified planned task group as the target planned task, wherein the preset task is the task type which needs to be processed currently.
Wherein the shift type in the present application includes a week n, where n includes an integer of one or more of 1 to 7, and in some embodiments of the present application, the shift type is a shift type that can be classified into a plurality of cargo collection types and cargo bulk types according to different properties of cargo collection and cargo bulk according to historical experience, and in some embodiments, the cargo collection types include: sets 1-5 and sets 6-7, bulk cargo types including: 2-6 parts of powder and 7-1 parts of powder.
The method and the device can take a plurality of week types as a shift type, and can improve the calculation efficiency.
203. And determining whether the task execution rate of the target planned task is greater than a planned task execution rate threshold, if so, executing step 204, and if not, executing step 205.
In some embodiments, when a target planned task is determined from a historical task group, it is determined whether the execution rate of the target planned task is greater than a planned task execution rate threshold, where the planned task execution rate threshold is a value preset according to historical experience, and may be 90%, and the specific value is not limited herein.
204. And determining whether the loading rate of the target planned task is greater than a planned task loading rate threshold, if so, executing step 206, and if not, executing step 205.
In some embodiments, if the task execution rate of the target planned task is not greater than the planned task execution rate threshold, it needs to be determined whether the load rate of the target planned task is greater than the planned task load rate threshold, where the planned task load rate threshold is a value preset according to historical experience, and the value may be 60%, and the specific value is not limited herein.
In other embodiments, the execution order of step 203 and step 204 is not limited.
205. The number of target planning tasks in the current transportation cycle is reduced.
If the task execution rate of the target planning task is determined to be not greater than the planned task execution rate threshold, or the loading rate of the target planning task is determined to be not greater than the planned task loading rate threshold, it is indicated that the target planning task in the previous transportation cycle is not fully utilized, and at this time, the number of the target planning tasks in the current transportation cycle should be reduced, and specifically, tasks corresponding to the train number in which the historical execution rate is always low or the loading rate is always low in the target planning task can be reduced.
206. And determining whether a target temporary task corresponding to the target plan task exists, if so, executing step 208, and if not, executing step 207.
If the loading rate of the target planned task is determined to be greater than the loading rate threshold of the planned task, the target temporary task in the previous transportation period can be determined to be a qualified task, and at this time, whether the target temporary task corresponding to the target planned task exists in the historical task group or not needs to be determined, namely whether the temporary task of the same type as the target temporary task exists or not is determined.
207. And determining that the target planning task is qualified and has no temporary relevant problems.
In some embodiments, if there is no target provisional task corresponding to the target planned task, a determination result that the target planned task is qualified and has no provisionally related problem may be output, that is, there is no target provisional task that needs to be solidified.
208. And determining whether the execution days of the target temporary task are larger than the execution days threshold, if so, executing the step 209, and if not, executing the step 211.
If a target temporary task corresponding to the target planned task exists, it is determined whether the number of execution days of the target temporary task is greater than an execution day threshold, that is, the number of execution days of the target temporary task in one month is determined, where in some embodiments, the method for determining the execution day threshold is as follows:
the temporary task loading rate threshold is D, and the temporary task execution rate threshold is C'. Since the temporary task is concerned about periodicity and universality, the judgment of the execution days is more appropriate. And because the natural days N of each month have differences, the threshold value C of the number of execution days is a dynamic threshold value, the class type corresponding to the target temporary task is a class type X, and at the moment, the threshold value of the number of execution days is calculated by the following method:wherein x isiThe class type corresponding to the ith day; i (x)iX) is an indicative function when XiWhen the value is X, the value is 1, otherwise, the value is 0; round () is a rounding function.
209. And determining whether the loading rate of the target temporary task is greater than a temporary task loading rate threshold value, if so, executing step 210, and if not, executing step 211.
In some embodiments, when it is determined that the number of execution days of the target provisional task is greater than the number-of-execution-days threshold, which indicates that the target provisional task has a certain longevity and universality, it may be further determined whether the loading rate of the target provisional task is greater than the provisional task loading rate threshold.
The temporary task loading rate threshold is determined according to historical experience, the value of the temporary task loading rate threshold may be 30%, and the specific value is not limited here.
210. And carrying out curing treatment on the target temporary task in the current transportation period, and determining a curing result.
In this embodiment, when the number of days for executing the target temporary task is greater than the threshold of the number of days for executing, and the loading rate is greater than the threshold of the loading rate of the temporary task, it may be determined that the curing process needs to be performed on the target temporary task, and a curing result is obtained.
Specifically, the target temporary task is cured, that is, on the basis of the target planning task of the previous transportation cycle, the number of curing tasks corresponding to the week is increased, that is, the embodiment needs to determine the day of the week that needs to be cured and the number of curing tasks corresponding to the week, for example, when the target planning task is a shift type of 7-1, the number of curing tasks on two days from sunday to monday needs to be calculated, and the following description will take the calculation of the number of curing tasks on monday as an example: counting the total number of target task executions (namely the total number of tasks corresponding to the target task matching rule which is the matching rule corresponding to the target plan task) of each Monday in the historical task group and the difference y of the target plan task numbersijI represents the week number corresponding to the current shift type, i is equal to 1 on Mondays, j represents the week number, and the average difference value of Mondays is determined according to the difference value of every Monday in the historical task groupAnd standard deviation of difference on MondayBecause of the fact thatThe recommended curing task number corresponding to the recommended curing week i is non-integer as far as possible to avoid resource wasteFloor () is a Floor function, from which the application depends on the average differenceThe number of curing tasks corresponding to monday is determined.
The recommendation result includes, in addition to the week to be recommended and the solidified task number of the week, the name of the corresponding transition, and the content corresponding to the task matching rule corresponding to the target task, such as the destination, the origin, the planned departure shift, and the shift type of the task.
In some embodiments, besides the week required to be cured and the number of curing tasks corresponding to the week, a curing carrier type, a curing tonnage and a curing mileage of the task required to be cured need to be recommended, wherein the curing carrier type, the curing tonnage and the curing mileage are similar to the determination method corresponding to fig. 1, and details are not repeated here.
211. Determining that the target provisional task has no curing requirement.
In some embodiments, when the number of execution days of the target provisional task is determined to be not greater than the execution day threshold, or the loading rate of the target provisional task is determined to be not greater than the provisional task loading rate threshold, it may be determined that the target provisional task has no curing requirement, i.e., the target provisional task does not need to be subjected to curing treatment.
When the number of execution days of the target temporary task is determined to be not more than the threshold of the number of execution days, but the loading rate of the target temporary task is greater than the threshold of the loading rate of the temporary task, the target temporary task is determined to be reasonably added in the last transportation period, but the long-term common requirement is not needed, and the target temporary task is not required to be solidified.
When the number of execution days of the target temporary task is determined to be not more than the execution day threshold and the loading rate of the target temporary task is determined to be not more than the temporary task loading rate threshold, it is determined that the target temporary task is unreasonably increased in the last transportation cycle.
212. It is determined whether the total cost of the post-cure task is less than the total cost of the pre-cure task, if so, step 213 is performed, and if not, step 214 is performed.
In some embodiments, after the temporary task is solidified, it is further determined whether the execution cost of the planned task in the current transportation period is lower than the execution cost of the tasks in the historical task group; or whether the solidification task (the scheduled task added according to the provisional task) of the current transportation cycle is lower than the execution cost of the provisional task of the previous transportation cycle.
Specifically, when the task needs to be solidified to a specific week number, cost comparison is performed for each week needing to be solidified, and a specific comparison method is similar to the embodiment corresponding to fig. 1, and details are not described here.
213. And sending the planning task after the current transportation period is adjusted to the terminal.
When the total cost of the task after curing is lower than that of the task before curing, the curing scheme is reasonable, and the planned task after the current transportation period is adjusted can be directly output to the terminal (the number of curing tasks needing curing is increased on the basis of the last transportation period).
214. And sending the adjusted task number interval value of the planned task of the current transportation period to the terminal.
When the total cost of the tasks after curing is not lower than the total cost of the tasks before curing, the curing scheme is unreasonable, and the task number interval value of the planned task of the current transportation period after adjustment is only needed to be output at the moment, wherein the interval value is determined according to the standard deviation of the difference value between the curing task number and the task number of the target temporary task.
In the embodiment of the application, a server acquires a historical task group of a previous transportation cycle of a branch line of a transfer station, wherein the historical task group comprises a planned task group and a temporary task group; then determining a target planned task from the planned task group according to a task matching rule, and determining a target temporary task corresponding to the target planned task from the temporary task group; when the target plan task is a qualified task, determining whether the execution days of the target temporary task are greater than an execution day threshold value, and determining whether the loading rate of the target temporary task is greater than a temporary task loading rate threshold value; and if the number of execution days of the target temporary task is greater than the threshold of the number of execution days and the loading rate of the target temporary task is greater than the threshold of the loading rate of the temporary task, adjusting the planned task of the current transportation cycle based on the target temporary task. In the scheme, when the number of execution days of the target temporary task in the previous transportation cycle is greater than the threshold of the number of execution days and the loading rate is greater than the threshold of the loading rate of the temporary task, it indicates that the planned task in the current transportation cycle needs to be adjusted for the target temporary task, so that the planned task can be planned more reasonably.
In order to better implement the method for adjusting the task provided by the embodiment of the present application, the embodiment of the present application further provides a device for adjusting the method based on the task. The terms are the same as those in the adjustment method of the task, and specific implementation details can be referred to the description in the method embodiment.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a task adjusting device according to an embodiment of the present application, where the task adjusting device 300 may include a first obtaining unit 301, a first determining unit 302, a second determining unit 303, a first controlling and adjusting unit 304, and the like, where:
a first obtaining unit 301, configured to obtain a historical task group of a previous transportation cycle of a branch line of a transition, where the historical task group includes a planned task group and a temporary task group;
a first determining unit 302, configured to determine a target planned task from the planned task group according to a task matching rule, and determine a target temporary task corresponding to the target planned task from the temporary task group;
a second determining unit 303, configured to determine whether the number of execution days of the target provisional task is greater than a threshold number of execution days and determine whether a loading rate of the target provisional task is greater than a threshold provisional task loading rate, when the target planned task is a qualified task;
a first adjusting unit 304, configured to adjust the planned task in the current transportation cycle based on the target temporary task when the number of execution days of the target temporary task is greater than the execution day threshold and the loading rate of the target temporary task is greater than the temporary task loading rate threshold.
Referring to fig. 4, in some embodiments, the apparatus further includes:
a third determining unit 305 for determining whether the task execution rate of the target planned task is greater than a planned task execution rate threshold and determining whether the load rate of the target planned task is greater than a planned task load rate threshold;
a fourth determining unit 306, configured to determine that the target planned task passes when the task execution rate of the target planned task is greater than the planned task execution rate threshold and the load rate of the target planned task is greater than the planned task load rate threshold.
In some embodiments, the apparatus further comprises:
a processing unit 307, configured to reduce the number of the target planning tasks when a task execution rate of the target planning tasks is not greater than the planning task execution rate threshold or a loading rate of the target planning tasks is not greater than the planning task loading rate threshold;
and a second adjusting unit 308, configured to adjust the planning task of the current transportation cycle according to the reduced number of target planning tasks.
In some embodiments, the first determining unit 302 is specifically configured to:
classifying the tasks in the planned task group according to the destination, the origin, the planned departure shift and the shift type of the tasks in the planned task group to obtain a classified planned task group;
selecting a preset class task from the classified plan task group as the target plan task;
classifying the tasks in the temporary task group according to the destination, the origin, the planned departure shift and the shift type of the tasks in the temporary task group to obtain a classified temporary task group;
and selecting the task corresponding to the target plan task category from the classified temporary task group as the target temporary task.
In some embodiments, the apparatus further comprises:
a fifth determining unit 309, configured to determine, according to the shift type of the target temporary task and the historical days corresponding to the historical task group, a target day corresponding to the target temporary task;
a sixth determining unit 310, configured to determine the execution day threshold according to the target number of days and a temporary task execution rate threshold.
In some embodiments, the historical task group of the previous transportation cycle is a task group corresponding to a previous month of the transit branch line, the shift type corresponding to the target planned task and the target provisional task is a week n, where n includes an integer of one or more of 1 to 7, and the first adjusting unit 304 is specifically configured to:
respectively acquiring the difference value between the total task execution number of each week n in the previous month and the planned task number to obtain the task number of the target temporary task;
acquiring the difference average value of the week n according to the task number of the target temporary task;
determining the average difference value as the curing task number of the week n;
and adjusting the planning task of the current transportation period according to the number of the solidification tasks.
In some embodiments, the apparatus further comprises:
a second obtaining unit 311, configured to obtain an execution cost of a scheduled task of the adjusted current transportation cycle and an execution cost of a task in the historical task group;
a seventh determining unit 312, configured to determine whether the execution cost of the planned task of the current transportation cycle is lower than the execution cost of the tasks in the historical task group;
a first sending unit 313, configured to send the adjusted scheduled task of the current transportation cycle to a terminal when the execution cost of the scheduled task of the current transportation cycle is lower than the execution cost of the tasks in the historical task group;
a second sending unit 314, configured to send, to the terminal, an interval value of the number of tasks of the scheduled task in the adjusted current transportation period when the execution cost of the scheduled task in the current transportation period is not lower than the execution cost of the tasks in the historical task group, where the interval value is determined according to a standard deviation of a difference between the number of the solidified tasks and the number of the tasks of the target temporary task.
In this embodiment of the present application, the first obtaining unit 301 obtains a historical task group of a previous transportation cycle of the branch line of the transfer station, where the historical task group includes a planned task group and a temporary task group; then, the first determining unit 302 determines a target planned task from the planned task group according to the task matching rule, and determines a target temporary task corresponding to the target planned task from the temporary task group; when the target planned task is a qualified task, the second determining unit 303 determines whether the number of execution days of the target provisional task is greater than the execution day threshold value, and determines whether the load rate of the target provisional task is greater than the provisional task load rate threshold value; if the number of execution days of the target temporary task is greater than the threshold number of execution days and the loading rate of the target temporary task is greater than the threshold rate of loading of the temporary task, the first adjusting unit 304 adjusts the planned task of the current transportation cycle based on the target temporary task. In the scheme, when the number of execution days of the target temporary task in the previous transportation cycle is greater than the threshold of the number of execution days and the loading rate is greater than the threshold of the loading rate of the temporary task, it indicates that the planned task in the current transportation cycle needs to be adjusted for the target temporary task, so that the planned task can be planned more reasonably.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Referring to fig. 5, the present application provides a server 500, which may include one or more processors 501 of a processing core, one or more memories 502 of a computer-readable storage medium, a Radio Frequency (RF) circuit 503, a power supply 504, an input unit 505, and a display unit 506. Those skilled in the art will appreciate that the server architecture shown in FIG. 5 is not meant to be limiting, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 501 is a control center of the server, connects various parts of the entire server by various interfaces and lines, and performs various functions of the server and processes data by running or executing software programs and/or modules stored in the memory 502 and calling data stored in the memory 502, thereby performing overall monitoring of the server. Optionally, processor 501 may include one or more processing cores; preferably, the processor 501 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 501.
The memory 502 may be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by operating the software programs and modules stored in the memory 502.
The RF circuit 503 may be used for receiving and transmitting signals during the process of transmitting and receiving information.
The server also includes a power supply 504 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 501 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
The server may further include an input unit 505, and the input unit 505 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
The server may also include a display unit 506, and the display unit 506 may be used to display information input by the user or provided to the user, as well as various graphical user interfaces of the server, which may be made up of graphics, text, icons, video, and any combination thereof. Specifically, in this embodiment, the processor 501 in the server loads the executable file corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 501 runs the application program stored in the memory 502, thereby implementing various functions as follows:
acquiring a historical task group of a previous transportation cycle of a branch line of a transfer station, wherein the historical task group comprises a planned task group and a temporary task group;
determining a target planned task from the planned task group according to a task matching rule, and determining a target temporary task corresponding to the target planned task from the temporary task group;
when the target planned task is a qualified task, determining whether the number of execution days of the target temporary task is greater than a threshold of the number of execution days, and determining whether the loading rate of the target temporary task is greater than a threshold of the loading rate of the temporary task;
and if the number of execution days of the target temporary task is larger than the threshold of the number of execution days and the loading rate of the target temporary task is larger than the threshold of the loading rate of the temporary task, adjusting the planned task of the current transportation cycle based on the target temporary task.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the task adjustment method, which is not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present application provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in the method for adjusting any one of the tasks provided in the present application. For example, the instructions may perform the steps of:
acquiring a historical task group of a previous transportation cycle of a branch line of a transfer station, wherein the historical task group comprises a planned task group and a temporary task group;
determining a target planned task from the planned task group according to a task matching rule, and determining a target temporary task corresponding to the target planned task from the temporary task group;
when the target planned task is a qualified task, determining whether the number of execution days of the target temporary task is greater than a threshold of the number of execution days, and determining whether the loading rate of the target temporary task is greater than a threshold of the loading rate of the temporary task;
and if the number of execution days of the target temporary task is larger than the threshold of the number of execution days and the loading rate of the target temporary task is larger than the threshold of the loading rate of the temporary task, adjusting the planned task of the current transportation cycle based on the target temporary task.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in the method for adjusting any task provided in the embodiment of the present application, beneficial effects that can be achieved by the method for adjusting any task provided in the embodiment of the present application can be achieved, for details, see the foregoing embodiment, and are not described herein again.
The method, the apparatus, the server, and the computer-readable storage medium for task adjustment provided in the embodiments of the present application are described in detail above, and a specific example is applied in the present application to explain the principles and embodiments of the present application, and the description of the above embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (10)
1. A method for adjusting a task, comprising:
acquiring a historical task group of a previous transportation cycle of a branch line of a transfer station, wherein the historical task group comprises a planned task group and a temporary task group;
determining a target planned task from the planned task group according to a task matching rule, and determining a target temporary task corresponding to the target planned task from the temporary task group;
when the target planned task is a qualified task, determining whether the number of execution days of the target temporary task is greater than a threshold of the number of execution days, and determining whether the loading rate of the target temporary task is greater than a threshold of the loading rate of the temporary task;
and if the number of execution days of the target temporary task is larger than the threshold of the number of execution days and the loading rate of the target temporary task is larger than the threshold of the loading rate of the temporary task, adjusting the planned task of the current transportation cycle based on the target temporary task.
2. The method of claim 1, wherein when the target planned task is a qualified task, determining whether the number of days of execution of the target provisional task is greater than a threshold number of days of execution, the method further comprises:
determining whether the task execution rate of the target planned task is greater than a planned task execution rate threshold and determining whether the load rate of the target planned task is greater than a planned task load rate threshold;
and if the task execution rate of the target plan task is greater than the plan task execution rate threshold and the loading rate of the target plan task is greater than the plan task loading rate threshold, determining that the target plan task passes.
3. The method of claim 2, wherein after determining whether the mission execution rate of the target planned mission is greater than a planned mission execution rate threshold and determining whether the load rate of the target planned mission is greater than a planned mission load rate threshold, the method further comprises:
if the task execution rate of the target plan tasks is not greater than the plan task execution rate threshold, or the loading rate of the target plan tasks is not greater than the plan task loading rate threshold, reducing the number of the target plan tasks;
and adjusting the planning tasks of the current transportation period according to the reduced number of the target planning tasks.
4. The method of claim 1, wherein determining a target planned task from the planned task group and a target provisional task from the provisional task group according to task matching rules comprises:
classifying the tasks in the planned task group according to the destination, the origin, the planned departure shift and the shift type of the tasks in the planned task group to obtain a classified planned task group;
selecting a preset class task from the classified plan task group as the target plan task;
classifying the tasks in the temporary task group according to the destination, the origin, the planned departure shift and the shift type of the tasks in the temporary task group to obtain a classified temporary task group;
and selecting the task corresponding to the target plan task category from the classified temporary task group as the target temporary task.
5. The method of claim 1, wherein when the target planned task is a qualified task, determining whether the number of days of execution of the target provisional task is greater than a threshold number of days of execution, the method further comprises:
determining a target number of days corresponding to the target temporary task according to the shift type of the target temporary task and the historical number of days corresponding to the historical task group;
and determining the executing day threshold according to the target days and the temporary task executing rate threshold.
6. The method according to any one of claims 1 to 5, wherein the historical task group of the previous transportation cycle is a task group corresponding to a previous month of the transfer branch line, the shift type corresponding to the target planned task and the target provisional task is a week n, wherein n includes an integer of one or more of 1 to 7, and the adjusting the planned task of the current transportation cycle based on the target provisional task comprises:
respectively acquiring the difference value between the total task execution number of each week n in the previous month and the planned task number to obtain the task number of the target temporary task;
acquiring the difference average value of the week n according to the task number of the target temporary task;
determining the average difference value as the curing task number of the week n;
and adjusting the planning task of the current transportation period according to the number of the solidification tasks.
7. The method of claim 6, wherein after adjusting the planned mission of the current transportation cycle based on the solidified number of missions, the method further comprises:
acquiring the execution cost of the scheduled tasks of the adjusted current transportation period and the execution cost of the tasks in the historical task group;
determining whether the execution cost of the planned tasks of the current transportation period is lower than the execution cost of the tasks in the historical task group;
if the current transportation period is lower than the preset transportation period, sending the adjusted plan task of the current transportation period to a terminal;
and if not, sending the task number interval value of the scheduled task of the adjusted current transportation period to the terminal, wherein the interval value is determined according to the standard deviation of the difference value between the solidified task number and the task number of the target temporary task.
8. A task adjustment device, comprising:
the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a historical task group of a previous transportation cycle of a branch line of a transfer station, and the historical task group comprises a planned task group and a temporary task group;
the first determining unit is used for determining a target planned task from the planned task group according to a task matching rule and determining a target temporary task corresponding to the target planned task from the temporary task group;
a second determining unit, configured to determine whether the number of execution days of the target provisional task is greater than a threshold number of execution days and determine whether a loading rate of the target provisional task is greater than a threshold rate of loading of provisional tasks, when the target planned task is a qualified task;
and the first adjusting unit is used for adjusting the planned task of the current transportation cycle based on the target temporary task when the execution days of the target temporary task are larger than the execution days threshold and the loading rate of the target temporary task is larger than the temporary task loading rate threshold.
9. A server, characterized by comprising a processor and a memory, in which a computer program is stored, the processor executing an adjustment method of a task according to any one of claims 1 to 7 when calling the computer program in the memory.
10. A computer-readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform a method of tuning a task according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910846956.6A CN112465280A (en) | 2019-09-09 | 2019-09-09 | Task adjusting method and device, server and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910846956.6A CN112465280A (en) | 2019-09-09 | 2019-09-09 | Task adjusting method and device, server and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112465280A true CN112465280A (en) | 2021-03-09 |
Family
ID=74807294
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910846956.6A Pending CN112465280A (en) | 2019-09-09 | 2019-09-09 | Task adjusting method and device, server and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112465280A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113626338A (en) * | 2021-08-26 | 2021-11-09 | 中国银行股份有限公司 | Test management method and device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1639706A (en) * | 2002-01-11 | 2005-07-13 | Sap股份公司 | Context-aware and real-time item tracking system architecture and scenarios |
CN102142107A (en) * | 2010-01-29 | 2011-08-03 | 国际商业机器公司 | Method and device for processing logistics information |
JP2013033431A (en) * | 2011-06-29 | 2013-02-14 | Mitsubishi Heavy Ind Ltd | Maintenance plan formulation system, maintenance plan formulation device, control method, and program |
CN108346025A (en) * | 2018-02-26 | 2018-07-31 | 成都科木信息技术有限公司 | Wisdom logistics computational methods based on cloud |
CN109299810A (en) * | 2018-08-08 | 2019-02-01 | 西南交通大学 | A kind of goods stock stowage method |
CN110084382A (en) * | 2018-10-12 | 2019-08-02 | 中国电力科学研究院有限公司 | A kind of power distribution network maintenance vehicle dispatching method and system |
CN110189073A (en) * | 2019-04-17 | 2019-08-30 | 北京百度网讯科技有限公司 | Route planning method, device, equipment and computer readable storage medium |
-
2019
- 2019-09-09 CN CN201910846956.6A patent/CN112465280A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1639706A (en) * | 2002-01-11 | 2005-07-13 | Sap股份公司 | Context-aware and real-time item tracking system architecture and scenarios |
CN102142107A (en) * | 2010-01-29 | 2011-08-03 | 国际商业机器公司 | Method and device for processing logistics information |
JP2013033431A (en) * | 2011-06-29 | 2013-02-14 | Mitsubishi Heavy Ind Ltd | Maintenance plan formulation system, maintenance plan formulation device, control method, and program |
CN108346025A (en) * | 2018-02-26 | 2018-07-31 | 成都科木信息技术有限公司 | Wisdom logistics computational methods based on cloud |
CN109299810A (en) * | 2018-08-08 | 2019-02-01 | 西南交通大学 | A kind of goods stock stowage method |
CN110084382A (en) * | 2018-10-12 | 2019-08-02 | 中国电力科学研究院有限公司 | A kind of power distribution network maintenance vehicle dispatching method and system |
CN110189073A (en) * | 2019-04-17 | 2019-08-30 | 北京百度网讯科技有限公司 | Route planning method, device, equipment and computer readable storage medium |
Non-Patent Citations (1)
Title |
---|
牛东来: "现代物流信息***系列讲座之十一 配车计划***的设计", 物流技术与应用, no. 06, 20 June 2005 (2005-06-20) * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113626338A (en) * | 2021-08-26 | 2021-11-09 | 中国银行股份有限公司 | Test management method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109308540A (en) | A kind of distribution plan generation method of distribution vehicle, apparatus and system | |
CN113077103B (en) | Transportation network planning method and device | |
CN106781432B (en) | A kind of method and device of public traffic vehicles schedule | |
CN112990786A (en) | Unmanned aerial vehicle distribution method and device | |
CN113592282A (en) | Article distribution method and device | |
CN117933490B (en) | Airport scene dragging scheduling optimization method, electronic equipment and storage medium | |
CN115983604A (en) | Transportation distribution method and device, electronic equipment and storage medium | |
CN112465280A (en) | Task adjusting method and device, server and computer readable storage medium | |
CN114676911A (en) | Method and device for determining driving route of transport vehicle | |
CN112801336B (en) | Freight regulation and control method for combined collage | |
CN112434875A (en) | Equipment path management method, system and server for intelligent warehousing | |
CN112465384A (en) | Transportation capacity scheduling method and device, computer equipment and computer readable storage medium | |
CN113743841A (en) | Order processing method and device, electronic equipment and readable storage medium | |
CN115660244A (en) | Route information generation method, apparatus, device and medium | |
CN115577815A (en) | Order processing method and device, electronic equipment and storage medium | |
CN114707820A (en) | Cargo transportation method and device, terminal equipment and readable storage medium | |
CN111582408B (en) | Data processing method, data processing device, storage medium and electronic equipment | |
CN112734315B (en) | Aviation network planning method, aviation network planning equipment and storage medium | |
US20180240210A1 (en) | System and method for transportation scheduling and planning | |
CN112506966A (en) | Intelligent automatic vehicle selection system and method based on flexible parameter setting | |
CN111091262A (en) | Distribution resource recall method, device, server and storage medium | |
CN112950106B (en) | Stock stocking method and device for transfer vehicle, electronic equipment and storage medium | |
CN111144602A (en) | Vehicle scheduling method and device | |
CN112884388B (en) | Training method, device and equipment for management strategy generation model | |
CN112308267B (en) | Route group determination method, device, network equipment and storage medium |
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 |