A method and system for scheduling resources for instant delivery of cigars by a cigar unmanned aerial vehicle based on discrete event simulation and parameter optimization
By using discrete event simulation and parameter optimization, the handover problem between drones and pick-up personnel in cigar delivery was solved. This enabled accurate handover boundary description and resource optimization under asynchronous arrival and resource fluctuation conditions, thereby improving the efficiency and reliability of cigar delivery.
Patent Information
- Application Number
- CN202611629658.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-21
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies cannot effectively describe the asynchronous arrival and handover relationship between drones and personnel in scenarios where cigar terminals cannot take off and land directly. This leads to accumulated waiting at transfer points, obstructed drone turnaround, and distortion of promised delivery times. Furthermore, the technology does not take into account the cigar maintenance status and airspace approval restrictions, resulting in low resource utilization efficiency.
A method based on discrete event simulation and parameter optimization is adopted. Two-segment event samples are generated through Monte Carlo correlation sampling, the handover state is modeled using colored Petri nets, and an optimized scheduling plan is generated by combining chance constraints and conditional risk value optimization. Closed-loop correction is performed through event triggering model to ensure handover reliability and effective resource utilization.
It enables accurate description of handover occupancy boundaries under asynchronous arrival and resource fluctuation conditions, reduces cargo delays and repeated waiting, improves the turnover performance and resource utilization efficiency of transit points, and ensures the reliability and quality assurance of promised delivery times.
Smart Images

Figure CN123140576A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of drone logistics delivery scheduling technology, and in particular to a method and system for real-time delivery resource scheduling of cigar drones based on discrete event simulation and parameter optimization. Background Technology
[0002] Currently, in scenarios where cigar retailers such as tobacco shops, clubs, and community commercial outlets lack a clear space of at least five meters square, and where delivery drones cannot directly take off and land, drones typically transport cigars from a central storage node to a transfer point with suitable takeoff and landing conditions. Then, personnel handle identity verification, order verification, seal verification, payload reception, and final delivery. Existing instant delivery scheduling technologies generally determine the drone takeoff time and the personnel departure time based on the order distance, the drone's nominal speed, and historical average road travel time. Ground transfer time, verification time, and handover service time are set as fixed constants, or the estimated arrival time is independently adjusted according to weather level, road congestion level, and order time period. Transfer point resources are then configured using static reservation time slots. This processing path does not place personnel response, road movement, pickup verification, drone arrival, and transfer point release within the same event chain, making it difficult to reflect the correlated fluctuations of the two types of transportation resources under shared operating conditions.
[0003] For example, when the dispatch personnel arrive later than the drone due to incomplete previous tasks, temporary road congestion, delayed order reception, or increased verification time, the fixed ground dispatch time may underestimate the drone's waiting time, the cigar cargo's dwell time, and the transit point's occupation time. Conversely, when the dispatch personnel are ready before the drone arrives, the personnel's waiting time may not be included in the unified resource evaluation. Even if both the drone and dispatch personnel are ready, subsequent orders cannot begin handover if the transit point is still in the payload handover, drone takeoff, or safety release protection phase of the previous order. When consecutive orders share transit points or dispatch personnel, these discrepancies will propagate along the task queue, causing accumulated waiting time at transit points, hindered drone turnaround, reduced return battery capacity, increased risk of cigar quality issues, and distortion of promised delivery times.
[0004] Furthermore, the cigar instant delivery addressed in this application has characteristics distinct from general instant delivery products. High-end cigars require a certain period of maintenance under constant temperature and humidity conditions before reaching retail outlets, but ordinary cigar retail outlets generally lack the necessary professional maintenance facilities. For example, in the city where this application is applied, only three out of nearly a thousand cigar retail outlets are equipped with professional temperature and humidity maintenance equipment; the maintenance process is actually handled centrally by the central warehousing node. Therefore, whether an order meets the conditions for entering the delivery stage depends not only on the time the order is placed and the availability of drones and delivery personnel, but also on whether the maintenance process for that batch of cigars has been completed, and the chronological relationship between the expected completion time of maintenance and the planned takeoff time. Existing on-demand delivery scheduling technologies typically determine takeoff times based solely on order time, drone's nominal speed, and historical average road travel time. They do not acquire or assess the completion status of the cargo's own maintenance processes. This can lead to situations where takeoff and loading are scheduled before maintenance is complete, or where personnel recalls and transfer point reservations are completed before maintenance is finished, resulting in idle personnel and transfer point resources.
[0005] Meanwhile, drone flight segments require airspace approval as a prerequisite, and the approval status and permitted takeoff times differ significantly between day and night, with daytime approval rates typically lower than nighttime rates. Existing scheduling technologies adjust estimated arrival times based on weather levels, road congestion levels, and order times, but do not consider airspace approval status and permitted takeoff times as prerequisites for determining drone takeoff times. When the scheduled takeoff time differs from the permitted takeoff time, a discrepancy arises between the planned time and the actual executable time, rendering personnel recalls and transit point reservations unreliable.
[0006] Furthermore, the single-charge endurance and safe return battery capacity of delivery drones together limit their service area, and there are also a certain percentage of days throughout the year when weather conditions prevent flight. Current scheduling technologies, when screening candidate orders and transit points, often rely on nominal endurance or default service range, failing to consider the drone's remaining battery power and weather-safe conditions. This can easily lead to scheduling plans exceeding the current battery capacity or scheduling takeoffs during periods when flight is impossible.
[0007] Therefore, there is an urgent need for a resource scheduling method and system for real-time cigar drone delivery based on discrete event simulation and parameter optimization. This system should be able to describe the asynchronous arrival and handover readiness of drones and ground personnel even when cigar terminals cannot take off and land directly and delivery is carried out using a combination of drone flight segments and ground transfer segments, and when there are issues such as personnel arrival delays, changes in road conditions, fluctuations in verification time, competition for transfer points, and the propagation of continuous order delays. It should also be able to determine the complete occupancy boundary of transfer points from entry to safe release, coordinate the arrival time of drones, transfer point occupancy, and personnel arrival, reduce cargo delays, repeated waiting, and drone occupancy time, thereby improving the turnover performance of transfer points, the utilization efficiency of combined delivery resources, and the reliability of promised delivery times. Summary of the Invention
[0008] To address the aforementioned technical shortcomings, the present invention aims to propose a resource scheduling method and system for real-time cigar drone delivery based on discrete event simulation and parameter optimization. This method and system addresses the technical problems in existing technologies where ground connection time is set as a fixed constant, particularly when the terminal cannot directly take off and land and delivery is achieved through a combination of drone flight segments and ground connection segments. This fails to describe the asynchronous arrival and handover occupancy relationship of the two types of transportation resources, leading to accumulated waiting at transfer points, hindered drone turnaround, and distortion of promised delivery times.
[0009] To solve the above-mentioned technical problems, the present invention adopts the following technical solution: The present invention provides a method and system for real-time delivery resource scheduling of cigar drones based on discrete event simulation and parameter optimization, wherein the method includes: Step S10: Obtain multi-source time-series operational data for cigar instant delivery, and based on the multi-source time-series operational data for cigar instant delivery, use the Monte Carlo correlation sampling mechanism to perform a dual-segment event sample generation task, and output a correlated dual-segment event sample set; Step S20: Based on the associated dual-segment event sample set, a colored Petri net mechanism is used to perform discrete event modeling tasks and output a coupled simulation state set; Step S30: Based on the coupled simulation state set, a chance constraint mechanism is used to execute the candidate intervention generation task, and output a set of feasible intervention schemes; Step S40: Based on the set of feasible intervention schemes, the conditional value at risk (VAT) optimization mechanism is used to perform the scheduling parameter optimization task and output the optimized scheduling plan; Step S50: Based on the optimized scheduling plan, the event-triggered model predictive control mechanism constrained by irreversible execution boundaries is used to execute the delivery scheduling task, and output a closed-loop correction event sample set.
[0010] Preferably, step S10, which involves acquiring multi-source time-series operational data for cigar delivery, performing a dual-segment event sample generation task using a Monte Carlo correlation sampling mechanism based on the multi-source time-series operational data for cigar delivery, and outputting a correlated dual-segment event sample set, specifically includes: Step S101: Obtain timestamped operational data on cigar orders, central warehouse nodes, drones, shuttle personnel, candidate transfer points, roads, weather, and cigar humidifier packaging, and aggregate them into the multi-source time-series operational data for the cigar instant delivery; using order identifiers and a unified time base, associate the events of order generation, picking and packaging, loading and flight, order receiving and movement, personnel verification, load handover, departure and release, and terminal receipt into a dual-segment event sequence; Step S102: Extract weather level, road congestion level, order time period, transfer point identifier, shuttle personnel identifier, and verification method from the dual-segment event sequence to form a condition combination. Encapsulate the UAV flight time, personnel response time, ground movement time, verification time, and transfer point release time under the same condition combination into an associated operation scenario sample. When the number of samples for the condition combination is less than the preset minimum sample size, select the superior sample of the adjacent order time period, adjacent road congestion level, or the same type of shuttle personnel. Perform hierarchical contraction estimation on the mean measured time of the current condition combination and the mean time of the superior sample, increasing the confidence weight of the current sample as the current sample size increases. Step S103: Jointly extract UAV flight time, personnel response time, ground movement time, verification time, and transfer point release time from the associated operation scenario samples, retaining the correlation between the time quantities under the same operating conditions; read the temperature and humidity time series of the humidification packaging from the multi-source time-series operation data of the cigar instant delivery, and calculate the deviation amount exceeding the preset temperature and humidity allowable deviation during the period from packaging completion to final receipt, weighted by a preset risk conversion coefficient and accumulated over time as the cigar quality waiting dose, and write the extracted time quantity and cigar quality waiting dose into the corresponding dual-segment event sequence to form the associated dual-segment event sample set. Further, addressing the issues in the above application scenarios where cigar goods must be maintained before entering the delivery stage, and delivery segments are limited by airspace approval and range, this invention, when acquiring the multi-source time-series operation data of the cigar instant delivery, simultaneously acquires the maintenance process status data and airspace approval status data of the central storage node, and judges the above status in the candidate intervention generation task and scheduling parameter optimization task, ensuring that the formed optimized scheduling plan is within the actual executable time and space range.
[0011] Preferably, step S20, which involves performing discrete event modeling based on the associated dual-segment event sample set using a colored Petri net mechanism and outputting a coupled simulation state set, specifically includes: Step S201: Obtain event samples, event occurrence times, and cigar quality waiting doses representing the cumulative impact of temperature and humidity deviations in humidified packaging from the associated dual-segment event sample set. Construct a colored Petri net with the UAV, connecting personnel, transit point, and cigar cargo status as storage locations, and take-off arrival, order arrival, verification completion, load handover, and departure release events as transitions. Construct a handover readiness vector that records personnel entering the transit point fence, identity verification, order verification, seal reception conditions, release of preceding tasks, and available handover capacity at the transit point. Generate a valid handover readiness token only when all six conditions are met. Step S202: Obtain the time of the UAV flight segment and ground transfer segment from the event sample, determine the arrival time of the UAV and the handover ready time after the transfer personnel have completed the arrival, identity verification, order verification and seal verification and the release of the preceding tasks; obtain the available time of the transfer point from the transfer point status, take the latest time among the arrival time of the UAV, the handover ready time of the transfer personnel and the available time of the transfer point as the handover start time, and then sequentially include the payload transfer time, the UAV takeoff time and the preset safety release protection time to determine the complete release time of the transfer point; Step S203: Trigger the corresponding strain transition in the colored Petri net according to the time of the event occurrence, determine the complete occupied interval of the transfer point covering the approach protection, UAV waiting, load handover, UAV takeoff and safety release protection, calculate the asynchronous handover loss with asymmetrical direction and separately measured transfer point blockage, and combine the event sample, handover ready token, each handover time, complete occupied interval of the transfer point, cigar quality waiting dose and asynchronous handover loss into the coupled simulation state set.
[0012] Preferably, step S203, which involves determining the complete occupied interval of the transfer point covering approach protection, UAV waiting, payload handover, UAV takeoff, and safe release protection according to the corresponding strain transition in the colored Petri net triggered by the event occurrence time, calculating the asynchronous handover loss that is asymmetrical in direction and separately measures the blockage of the transfer point, and combining the event samples, handover ready tokens, each handover time, complete occupied interval of the transfer point, cigar quality waiting dose, and asynchronous handover loss into the coupled simulation state set, specifically includes: The asynchronous handover loss is calculated using preset unit waiting loss weights and unit quality dose loss weights: in, For cigar order number, For orders Asynchronous handover loss; , and These are the arrival time of the drone, the time when the receiving personnel are ready for handover, and the time when the handover begins, respectively. The required dosage for cigar quality; , and The weights for unit waiting losses are calculated as follows: drones arrive first, shuttle personnel are ready first, and both sides are ready but the transfer point has not yet been released. The loss weight of the waiting dose per unit cigar quality; Indicates taking the positive part. For input values, This indicates that the maximum value is taken; the same time base and unit are used for all times, and the corresponding waiting time or quality dose is converted into a loss with uniform dimensions for each weight; common blockage caused by failure to release at the transfer point is only included in the loss. The loss term is calculated and the result is used as the asynchronous handover loss in the coupled simulation state set.
[0013] Preferably, step S30, which involves executing a candidate intervention generation task based on the coupled simulation state set using an opportunity constraint mechanism and outputting a set of feasible intervention schemes, specifically includes: Step S301: Obtain event samples, handover ready tokens, handover times, complete occupied intervals of transfer points, and cigar quality waiting dose from the coupled simulation state set; set a preset upper limit for arrival synchronization deviation, a preset minimum handover reliability, a preset minimum safe return power, and a preset maximum quality waiting dose; perform repeated simulations of associated scenarios for candidate UAV takeoff times, personnel recall times, and transfer point combinations; predict the remaining power for return; calculate the joint probability that the arrival deviation does not exceed the limit, the handover ready token is valid, the power is not lower than the lower limit, and the quality waiting dose does not exceed the limit; use this as the handover feasibility probability; and construct the handover feasibility domain from the candidate combinations that reach the preset minimum handover reliability. Step S302: Obtain the complete occupied interval of the transfer point in each associated scenario for the candidate combination within the feasible handover domain, and calculate the percentage of scenarios where the complete occupied intervals of two orders using the same transfer point overlap, thereby obtaining the appointment conflict probability; Step S303: Apply a preset disturbance to the complete release time of the transfer point of the target order within the feasible handover domain, and calculate the delay propagation coefficient of the target order on subsequent orders of shared transfer points or connecting personnel through finite difference sensitivity analysis; combine the feasible handover domain, reservation conflict probability and delay propagation coefficient to generate candidate intervention schemes such as electronic pre-verification, activation of backup connecting personnel, drone take-off delay or backup transfer point switching, and retain the scheme that still meets the preset minimum handover reliability after intervention; when the order lateness risk difference is within the preset range, prioritize retaining the scheme corresponding to the order with the larger delay propagation coefficient, and combine the retained schemes and their simulation status, associated scenarios and probability evaluations into the feasible intervention scheme set.
[0014] Preferably, step S40, which involves performing a scheduling parameter optimization task based on the feasible intervention scheme set using a conditional value-at-risk (VAT) optimization mechanism and outputting an optimized scheduling plan, specifically includes: Step S401: Obtain the schemes and corresponding simulation states, associated scenarios and probability evaluations from the set of feasible intervention schemes, determine the lead time for recalling connecting personnel, the entry protection time and exit release protection time of the transfer point, the late arrival risk threshold of the third-level personnel to be determined, the maximum probability of appointment conflict, the delay propagation suppression trigger threshold to be determined and the minimum handover feasibility probability, and construct the parameter vector to be optimized. Step S402: For different candidate combinations of the parameter vector to be optimized, a common random scenario is constructed using the same order arrival sequence, weather sequence, road congestion sequence, and fault sequence. Discrete event simulation is performed to calculate the comprehensive scheduling target value. in, Let be the parameter vector to be optimized. The overall scheduling objective function; , and These represent the average drone occupancy time, average waiting time for shuttle personnel, and average waiting dose for cigar quality in simulated orders under a common random scenario. Number of times there is a conflict in booking for transit points The overall operating cost of drones, shuttle personnel, and backup transfer points; to The preset weights for the above five evaluation metrics and the conditional risk value of order timeout are, in order, converted into a unified target dimension. For orders that exceed the promised delivery time, the timeout period. Its conditional risk value. The preset tail risk confidence level is greater than zero and less than one; To and Candidate tail loss cutoff values using the same time unit, This indicates that the minimum value is taken by iterating through the boundary values. This represents the expectation under the aforementioned common random scenario; Indicates taking the input value The larger of the two values is zero; Step S403: Select from the candidate combinations the combination where the probability of on-time handover reaches the preset commitment fulfillment probability, the probability of the quality waiting dose not exceeding the preset maximum quality waiting dose reaches the preset quality assurance probability, the expected remaining return battery is not less than the preset minimum safe return battery, the reservation conflict probability does not exceed the maximum reservation conflict probability among the candidate combinations, and the handover feasibility probability is not less than the minimum handover feasibility probability among the candidate combinations; for the selected combination, retain the one with the smaller comprehensive scheduling target value and narrow the parameter search range until the target value improvement is less than the preset stop threshold for two consecutive rounds, and convert the combination with the smallest target value into the optimized scheduling plan including UAV takeoff arrangement, personnel recall arrangement, transit point reservation arrangement, and graded intervention parameters.
[0015] Preferably, step S50, which involves executing the delivery scheduling task based on the optimized scheduling plan using an event-triggered model predictive control mechanism constrained by irreversible execution boundaries, and outputting a closed-loop correction event sample set, specifically includes: Step S501: Issue scheduling instructions to the UAV, shuttle personnel terminal, and transfer point management terminal according to the optimized scheduling plan, obtain operational feedback, and update the estimated arrival time of the UAV, the estimated ready time of the shuttle personnel, the probability of reservation conflict, the cigar quality waiting dose, and the estimated remaining battery power for return; when the absolute value of the difference between the estimated arrival time and the estimated ready time exceeds the preset arrival synchronization deviation upper limit, the probability of reservation conflict exceeds the maximum reservation conflict probability determined by the optimized scheduling plan, the quality waiting dose exceeds the preset quality risk warning value, or the estimated remaining battery power for return is lower than the preset return battery power warning value, trigger discrete event simulation in the local prediction time domain; Step S502: Obtain the simulation results of discrete events in the local prediction time domain, and only implement electronic pre-verification, activation of backup personnel, adjustment of drone take-off time, or switching of backup transfer points for orders that have not yet crossed the irreversible execution boundary; the irreversible execution boundary includes the drone entering the transfer point approach route, entering the landing phase, unlocking the cigar payload compartment, and the drone reaching the minimum return battery boundary; obtain the handover completion time distribution and the terminal travel time distribution from the simulation results, extract the quantile values of the two using the preset commitment confidence level corresponding to the order service level, and generate the promised delivery time by combining the preset terminal receipt protection time; Step S503: Obtain the actual event records after the order is completed, compare the measured time with the predicted time, and classify the deviations into regular random fluctuations, time-specific road deviations, personnel response deviations, continuous congestion deviations at transfer points, weather deviations, and one-time abnormal deviations; determine the condition combination to which the event sample belongs based on weather level, road congestion level, order time period, transfer point identifier, personnel identifier, and verification method; for non-one-time abnormal samples, determine the recursive update coefficient based on the sample size and time fluctuation degree of the condition combination, and use complementary weights to recursively weight update the original time mean and the newly added measured time; for one-time abnormal samples, only retain the abnormal label and do not update the daily time distribution; collect the classified event samples and updated time estimation parameters into the closed-loop correction event sample set for use in the next round of associated dual-segment event sample generation.
[0016] This invention also provides a resource scheduling system for real-time delivery of cigars by drones based on discrete event simulation and parameter optimization, comprising: The associated sample construction module is used to acquire multi-source time-series operational data of cigar instant delivery, and to perform a dual-segment event sample generation task based on the multi-source time-series operational data of cigar instant delivery using the Monte Carlo association sampling mechanism, and output an associated dual-segment event sample set. The coupled simulation modeling module is used to perform discrete event modeling tasks based on the associated dual-segment event sample set using a colored Petri net mechanism, and outputs a coupled simulation state set. The intervention scheme generation module is used to perform a candidate intervention generation task based on the coupled simulation state set using an opportunity constraint mechanism, and output a set of feasible intervention schemes. The scheduling parameter optimization module is used to perform scheduling parameter optimization tasks based on the set of feasible intervention schemes using a conditional value at risk (VAT) optimization mechanism, and output an optimized scheduling plan. The rolling scheduling correction module is used to execute delivery scheduling tasks based on the optimized scheduling plan using an event-triggered model predictive control mechanism constrained by irreversible execution boundaries, and output a closed-loop correction event sample set.
[0017] The present invention also provides a resource scheduling device for real-time delivery of cigars by drones based on discrete event simulation and parameter optimization. The resource scheduling device for real-time delivery of cigars by drones based on discrete event simulation and parameter optimization includes: a memory, a processor, and a resource scheduling program for real-time delivery of cigars by drones based on discrete event simulation and parameter optimization stored in the memory and executable on the processor. When the resource scheduling program for real-time delivery of cigars by drones based on discrete event simulation and parameter optimization is executed by the processor, it implements the above-mentioned method.
[0018] The present invention also provides a computer program product, the computer program product including a cigar drone instant delivery resource scheduling program based on discrete event simulation and parameter optimization, the cigar drone instant delivery resource scheduling program based on discrete event simulation and parameter optimization implementing the above method when executed by a processor.
[0019] The beneficial effects of this invention are as follows: By associating order generation, drone flight, personnel response, road movement, verification and handover, and transfer point release events according to a unified time base, and by performing correlation sampling on various time quantities under the same operating conditions, a dual-segment event sample that retains common fluctuation characteristics is formed. Then, a colored Petri net is used to describe the state migration of drones, connecting personnel, transfer points, and cigar cargo. The readiness token is jointly controlled by six handover conditions, and the handover start time is determined by the latest readiness time of the three parties. This forms a complete occupancy mechanism covering entry protection to safe release. It is then possible to separately count the waiting time of drones arriving first, the waiting time of personnel arriving first, and the congestion time of transfer points, and verify the accuracy of occupancy boundary identification and delay propagation description under continuous order conditions.
[0020] By repeatedly simulating related scenarios involving drone takeoff time, personnel recall time, and transfer points, while simultaneously constraining arrival synchronization deviation, handover readiness status, return battery power, and cigar quality waiting dosage, a handover feasible domain that meets the minimum handover reliability is formed. Then, reservation conflicts are identified based on the complete occupied interval, and the degree of delay propagation to subsequent orders is determined by the disturbance release time. Based on this, electronic pre-verification, backup personnel activation, takeoff delay, or transfer point switching schemes are generated. In this way, the effectiveness of intervention can be verified based on the handover feasibility probability, reservation conflict probability, and changes in subsequent order delays, reducing new conflicts and queue delay accumulation caused by local adjustments.
[0021] By jointly optimizing the advance lead time for personnel recall, the entry and exit protection time of transfer points, and the hierarchical intervention parameters under common random scenarios, and incorporating drone occupancy, personnel waiting, quality waiting, reservation conflicts, operating costs, and order timeout tail risks into a unified evaluation, an optimized scheduling plan that takes into account both daily efficiency and adverse scenario risks is formed. During execution, local predictions are triggered by arrival desynchronization, conflict risks, quality risks, or return-to-home battery risks, adjusting only orders that have not yet crossed the irreversible execution boundary, and using actual event records to recursively correct non-abnormal time estimates, thus forming a continuously updated closed-loop scheduling mechanism. The scheduling stability can then be verified by occupancy time, promised delivery fulfillment rate, quality over-limit rate, and safe return-to-home margin.
[0022] Furthermore, by acquiring the maintenance process status data of the central storage node from the multi-source time-series operational data of the cigar instant delivery, the initiation of loading flight events corresponds to the completion status of the cigar maintenance process. This prevents cigars that have not completed maintenance from entering the delivery process and avoids prematurely recalling pick-up personnel or reserving transfer points before maintenance is completed. By using the permitted take-off time, the flight radius corresponding to the remaining power of the drone, and the weather-incompatible flight status in the airspace approval status data as evaluation conditions for candidate combinations, the feasible handover domain and the optimized scheduling plan can be limited to the actual executable time and space range, reducing resource waiting and failure interventions caused by inconsistencies between the planned and permitted time periods or flight ranges exceeding the current power capacity. By extending the measurement range of the cigar quality waiting dose to the warehousing and maintenance stage, the temperature and humidity deviations during the maintenance process and the deviations during the subsequent delivery process can be included in the quality risk, providing a basis for determining the probability of quality assurance that corresponds to the actual experience of the goods. Attached Figure Description
[0023] Figure 1 This is a flowchart illustrating the first embodiment of a resource scheduling method and system for real-time delivery of cigars by drones based on discrete event simulation and parameter optimization according to the present invention. Detailed Implementation
[0024] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.
[0025] Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0026] Example 1: As Figure 1 The diagram shown is a flowchart of the first embodiment of the resource scheduling method and system for real-time delivery of cigars by drones based on discrete event simulation and parameter optimization according to the present invention.
[0027] In an adaptive application scenario, the method described in this embodiment is used for order fulfillment in "Low-altitude logistics empowering high-end cigar marketing." For example, for immediate delivery and temporary replenishment orders generated by central warehouse nodes for cigar retail outlets such as tobacco and liquor stores, the method completes cigar picking, humidification packaging, and loading, transports the cigars to candidate transfer points via drones, and then delivers them to the retail outlets by pick-up personnel. In cases where there are no direct drone take-off and landing facilities near the outlets, the dual-segment delivery method of this embodiment can be used. Retail outlets correspond to receiving terminals, and the fulfillment demands generated by business activities correspond to immediate cigar delivery orders. Delivery timeliness, resource coordination, and packaging quality status are handled by the following discrete event simulation and scheduling parameter optimization process.
[0028] In one application scenario of this embodiment, the aforementioned delivery service originates from a central warehousing node in a city. This central warehousing node provides immediate replenishment and temporary delivery to five cigar retail outlets. These five outlets belong to five different business types: tobacco and liquor stores, convenience stores, hotel lobby bars, entertainment venues, and cigar bars. Their distance from the central warehousing node ranges from 1.8 kilometers to 7.5 kilometers, and their monthly cigar sales range from 3,500 yuan to 7,500 yuan. All deliveries are one-to-one, single-point delivery. None of these five outlets possess professional temperature and humidity control conditions, nor do they have the necessary airspace for delivery drones to take off and land. Their orders primarily arise from immediate consumption needs such as business receptions and evening gatherings, characterized by dispersed order times, small order quantities, and high demands for timely delivery. The central warehousing node undertakes the functions of cigar picking, warehousing and maintenance, humidification packaging, and loading for the aforementioned orders. The outlet business type, goods maintenance status, available delivery time, and receiving conditions are entered into step S10 through the following data sources.
[0029] In the first embodiment, the resource scheduling method for real-time cigar drone delivery based on discrete event simulation and parameter optimization includes: Step S10: Obtain multi-source time-series operational data for cigar instant delivery, and based on the multi-source time-series operational data for cigar instant delivery, use the Monte Carlo correlation sampling mechanism to perform a dual-segment event sample generation task, and output a correlated dual-segment event sample set; The multi-source time-series operational data for cigar instant delivery processed in step S10 refers to a data set recorded using a unified time base and that can be mapped to the same delivery task according to order identifiers. This set includes cigar order data, central warehouse node operation data, drone operation data, shuttle personnel operation data, candidate transfer point operation data, road condition data, meteorological data, and cigar humidifier packaging monitoring data.
[0030] The data includes: order data indicating the order generation time and time period; central warehouse node operation data reflecting the picking, packaging, and loading processes; drone operation data covering flight, arrival, and departure after loading; personnel operation data recording order receipt, response, and ground movement; candidate transfer point operation data corresponding to personnel verification, payload handover, and site release; road and weather records indicating common external conditions at the time of each operation; and moisture-retaining packaging monitoring data continuously reflecting temperature and humidity changes from packaging completion to final receipt. After verifying the records from each source according to the order identifier, the events of order generation, picking and packaging, loading flight, order receipt and movement, personnel verification, payload handover, departure and release, and final receipt are sequentially linked into a two-segment event sequence. The first segment corresponds to drone transportation from the central warehouse node to the transfer point, and the second segment corresponds to ground transportation from the transfer point to the receiving terminal. Weather level, road congestion level, order time period, transfer point identification, shuttle personnel identification, and verification method are extracted from this sequence to form operating conditions. Drone flight time, personnel response time, ground movement time, verification time, and transfer point release time under the same condition combination are categorized into a related operating scenario sample. If the historical sample size for the current condition combination is less than the preset minimum sample size, then the upper-level sample corresponding to adjacent order time periods, adjacent road congestion levels, or similar shuttle personnel is selected to perform stratified contraction estimation of the current measured time mean and the upper-level sample time mean. The more complete the existing records, the higher the credibility weight of the current measured information; when records are insufficient, the constraint of the upper-level sample on the estimation results is correspondingly strengthened. Monte Carlo associated sampling does not extract each time item separately, but rather jointly obtains these time quantities from the same operating scenario sample, ensuring they still belong to a common weather, road, time period, personnel, transfer point, and verification background. The temperature and humidity time series from packaging completion to final receipt is also aligned with the corresponding order; the portion exceeding the preset allowable deviation is accumulated as the cigar quality waiting dose according to the degree of deviation, the preset risk conversion factor, and the continuous process. The operating conditions, event sequence, time of joint extraction, and quality waiting dose are all written back to the corresponding dual-segment event sequence, and after being collected, they form a related dual-segment event sample set.
[0031] Based on this, the multi-source time-series operational data for cigar instant delivery in this embodiment also includes the following data corresponding to the status of the cigars themselves and their deliverability conditions: maintenance process status data provided by the central warehouse node maintenance management system, which includes a maintenance process identifier, maintenance start time, and expected maintenance completion time; airspace approval status data provided by the airspace management terminal, which includes an approval approval identifier, permitted takeoff time, and permitted flight altitude; takeoff and landing condition identifiers determined by terminal data, which indicate whether the receiving terminal has a clear airspace for the delivery drone to take off and land directly; and remaining battery power data and range radius level data provided by the drone management terminal. The above data corresponds to the aforementioned order data and operational data according to the order identifier and a unified time benchmark. The maintenance process status data is used to determine whether the cigars in the corresponding order are ready to enter the delivery stage, and the takeoff and landing condition identifiers are used to determine whether the order uses a single-segment method of direct drone flight to the receiving terminal or a dual-segment method combining a drone segment and a ground connection segment.
[0032] Records generated by different terminals are first confined to their respective delivery tasks by order identifiers, and then the sequence of events is restored according to a unified time base. This allows for the detection and limitation of mismatches between drone arrival times and other order verification records, reversed payload handover order, and misaligned transfer point release records before sample formation. Subsequent operational condition combinations do not separate time from the on-site context: delays in ground movement due to road congestion, along with corresponding personnel response delays, delayed verification starts, and postponed transfer point releases, remain in the same scenario; the impact of weather on drone flight is not replaced by ground connection times obtained under clear conditions. When records are sparse, hierarchical contraction estimation first involves the current measured information and higher-level samples in time estimation, then adjusts the degree of influence of both as the current sample size changes. This limits the dominance of individual, occasional delays in the entire condition combination without directly erasing the operational differences already apparent in the combination. The formation of cargo status uses a different processing path aligned with the event sequence. After the temperature and humidity deviations in packaging are converted into risk effects and accumulated over a continuous process, even if the waiting times of two orders are similar, as long as the packaging environments are different, their quality waiting doses can remain distinct, avoiding the misrepresentation of the actual impact on cigars by simply using waiting time. The resulting associated dual-segment event sample set simultaneously stores the response relationship between the drone and the connecting personnel, the sequence of events, the process of the transfer point from occupation to release, and the quality status changing with waiting. When reading this sample set in step S20, the occurrence time of each transition in the colored Petri net can be arranged accordingly, the operating conditions and quality information can be written into the corresponding status tokens, and the timing of when the drone, connecting personnel, and transfer point resources are occupied and when they are released can be indicated on the same event axis to continue to deduce asynchronous arrival, handover waiting, occupation propagation, and quality risk accumulation.
[0033] The delivery location for a particular cigar delivery was a tobacco and liquor store. Since there was no clear airspace nearby suitable for direct takeoff and landing of the delivery drone, the task utilized a nearby candidate transfer point with takeoff, landing, and temporary handover capabilities. The drone transported goods from the central warehouse node to this transfer point. At the transfer point, the receiving personnel completed identity verification, order verification, seal verification, and payload reception before performing the final delivery. For this single order, the system retrieved records from the relevant data source, including order generation, cigar picking, humidor packaging, drone loading and flight, personnel receiving and moving, drone arrival, receiving personnel arrival, various verifications, payload handover, drone departure, transfer point release, and terminal receipt records. Order identifiers were used to exclude records of other delivery tasks, and a unified time base was used to reconstruct the actual sequence of these events in the two delivery segments. This task occurred on a rainy evening with traffic congestion, and the combination of a designated transfer point and designated receiving personnel had only a few historical records. Instead of directly treating the average measured time of these records as a stable result, the system retrieves the average time of adjacent order periods, adjacent road congestion levels, or the corresponding upper-level samples of similar personnel, and then performs stratified contraction according to the credibility that the current records can support. After estimation, Monte Carlo correlation sampling jointly obtains drone flight time, personnel response time, ground movement time, verification time, and transfer point release time from the same rainy night scenario. Personnel late arrivals due to road congestion, the resulting delayed verification, and extended transfer point occupancy thus remain within the same event sequence and are not replaced by shorter records from other weather conditions or other order periods. Moisturizing packaging monitoring data also shows records of exceeding the preset temperature and humidity allowable deviations during cargo waiting for handover. The system generates a corresponding cigar quality waiting dose based on the degree of deviation, preset risk conversion coefficient, and the duration of the deviation, and writes this dose into the dual-segment event sequence where the waiting occurred. The aggregated correlated dual-segment event samples not only present the asynchronous arrival of drones and personnel but also retain the sequential relationship between verification, handover, departure, and release, as well as the quality status during the waiting period.
[0034] In the aforementioned application scenarios, the order time period reflects the timing of immediate delivery or replenishment needs at the operational terminal. For example, if multiple tobacco and liquor stores submit replenishment requests on the same evening, the corresponding orders may share the same personnel or transfer points. Their flight, ground movement, verification, and release records are associated with their respective order identifiers, forming a sample of associated operational scenarios under corresponding weather, road, and personnel conditions. The humidification packaging monitoring data corresponds to the state of cigars from warehousing and packaging to terminal receipt. The quality waiting dose is still formed according to the aforementioned temperature and humidity deviations and their continuous processes, enabling delivery needs and goods status in the operational scenario to enter step S10 through existing data sources.
[0035] In one optional implementation, the initiation of a loading flight event, in addition to being based on the aforementioned event sequence and operating conditions, is also conditional upon the maintenance process status data of the corresponding order indicating that the maintenance process has been completed and the expected completion time is no later than the planned takeoff time. When the expected completion time is later than the planned takeoff time, the loading flight event for that order does not occur, and its takeoff time is postponed to after the maintenance completion time. Accordingly, the pick-up personnel recall time and transfer point reservation time for that order are updated. Using this processing method, the maintenance process status of the goods corresponds to the timing of its delivery process; cigars that have not completed maintenance do not enter the delivery process, and pick-up personnel and candidate transfer points are not pre-occupied before maintenance is completed.
[0036] In one optional implementation, the measurement range for the cigar quality waiting dose can also be calculated from the warehousing and maintenance stage when the cigars enter the central storage node, covering the entire process from warehousing and maintenance, picking and packaging, loading and air transport, ground delivery to final receipt: starting from the beginning of warehousing and maintenance, the time series of temperature and humidity of the maintenance environment and humidification packaging is read, and the deviation exceeding the preset allowable temperature and humidity deviation is weighted by a preset risk conversion coefficient and accumulated over time, and included in the cigar quality waiting dose. Using this method, the temperature and humidity deviations of the cigars during the warehousing and maintenance stage and the temperature and humidity deviations during the subsequent delivery stage are included in the same quality risk quantity.
[0037] Step S20: Based on the associated dual-segment event sample set, a colored Petri net mechanism is used to perform discrete event modeling tasks and output a coupled simulation state set; After the associated dual-segment event samples are entered into the discrete event model, they are no longer simply combinations of several flight, movement, and verification durations, but rather resource states change sequentially according to their respective occurrence times. The coupled simulation state set refers to the set of discrete event states that jointly record the UAV segment, ground connection segment, transit point occupancy process, and cigar cargo status on the same event time axis. This includes associated dual-segment event samples, handover ready tokens with order attributes, each handover time, complete transit point occupancy interval, cigar quality waiting dose, and asynchronous handover loss. When constructing this set, the event content, event occurrence time, and cigar quality waiting dose reflecting the cumulative impact of temperature and humidity deviations in humidified packaging are obtained from the samples obtained in step S10 for each order, and then fed into the colored Petri net according to a unified time reference. The different states of UAVs, connecting personnel, transit points, and cigar cargo are respectively carried by corresponding libraries; UAV takeoff and arrival, personnel receiving orders and arriving, verification completion, payload handover, UAV departure, and transit point release are located transitions, and each token transfer retains the order ownership and trigger source. The handover readiness vector aggregates six conditions: personnel entering the transfer point fence, identity verification completed, order verification completed, seal meeting reception conditions, previous tasks released, and the transfer point having available handover capacity. Only when all conditions are met is a valid handover readiness token for the corresponding order generated. The arrival of the drone is not included in the personnel's operational readiness status but serves as another trigger condition for payload handover transitions, judged together with the valid token. The drone flight segment time is used to determine the drone's arrival time; the ground transfer segment time, personnel arrival, various verifications, and previous task release events jointly define the personnel's handover readiness time; the transfer point's available time is obtained from its occupancy and release status. After comparing these three types of times, the last occurring time is determined as the handover start time, subsequently included in the payload handover, drone takeoff, and preset safety release protection processes to obtain the complete transfer point release time. The transition boundaries corresponding to entry protection, drone waiting, payload handover, drone takeoff, and safety release protection further define the complete occupancy interval. Asynchronous handover losses are handled separately according to the direction and source of the waiting: if the drone arrives first, only the actual waiting time from its arrival to the handover conditions being met is measured; if the handover personnel are ready first, the waiting time from their readiness to the drone's arrival is measured; if both parties are ready but the handover is still limited by the available time of the transfer point, the period of common obstruction is measured separately; the cigar quality waiting dose is converted into quality loss according to the preset unit quality dose loss weight. Each type of waiting is only included when the corresponding sequence relationship is actually established, and is converted into a unified dimension using its respective preset unit waiting loss weight. The common obstruction caused by the transfer point not yet being released is only included in the transfer point obstruction part and is not repeated in the drone waiting or personnel waiting. The above states and processing results are combined according to the order to form the coupled simulation state set output by step S20.
[0038] If, under the same conditions of rainfall, traffic congestion, and consecutive orders, a single estimated handover time is used to represent the connection between the drone and the personnel, the arrival of personnel on site is often directly interpreted as the drone being ready to receive the goods. While identity verification, order verification, or seal verification is still in progress, the scheduling record may have already been opened for payload handover, and the actual drone waiting on site loses its corresponding status source. Treating only the duration of cargo transfer as the transit point occupation also introduces another bias: the previous order is marked as released after completing payload handover, but its drone may not actually have taken off the ground, or may still be in the safe release protection phase after taking off. If the subsequent order enters based on this, it will cause a misalignment between the scheduled interval and the available boundary on site. Some processes only compare the estimated arrival times of the drone and personnel and use the time difference between the two to summarize all handover delays; once both parties are ready but the transit point has not yet been released, this time difference cannot indicate that the common congestion comes from the previous order, and it is easy to mix the same period of obstruction into the waiting on both sides. Step S20 does not follow this merging expression. Instead, it uses tokens with order attributes to maintain event attribution based on the physical arrival, business verification readiness, handover capacity availability, and safe release status stored in different databases. The handover start point is limited by the latest of the drone arrival time, the handover readiness time of the connecting personnel, and the transfer point availability time. Resource exit is defined by the complete release time after takeoff and safe release protection. In this way, personnel verification delays can be traced back to the corresponding verification changes, drone delays can be traced back to the corresponding flight segment event, and transfer point congestion can be associated with the takeoff or safe release status of the previous order that has not yet been completed. After waiting in different directions, facility congestion, and accumulated quality deviations are included in the asynchronous handover loss, the subsequent opportunity constraint mechanism no longer evaluates fixed time slots that are not conflict-free on the surface, but rather candidate interventions with clear triggering conditions and complete occupancy boundaries.
[0039] When the related dual-segment event sample from the previous tobacco and liquor store delivery task was sent to the colored Petri net, the scene was still in the evening with rain and traffic congestion. The drone for the current order had arrived at the candidate transfer point and entered the entry protection process, and the pick-up personnel had also entered the transfer point fence, but identity verification, order verification, and humidification packaging seal verification were not yet fully completed; although the previous order had completed the payload handover, its drone was still in the safety release protection process after takeoff, so the transfer point did not have the handover capacity available for the current order. The model, according to the actual occurrence sequence, wrote the drone arrival, personnel entering the fence, the progress of each verification, the personnel's previous task release status, the transfer point capacity status, and the cigar cargo status into the corresponding warehouse. At this time, the verification conditions and capacity conditions in the handover readiness vector were not simultaneously met, the valid handover readiness token would not be generated in advance, and the payload handover transition remained untriggerable. Once the receiving personnel have completed all verifications and their preceding tasks have been released, the personnel handover readiness time is determined. The transfer point release change is only triggered after the drone of the previous order has completed takeoff and safe release protection, updating the transfer point availability time accordingly. The drone arrival time, personnel handover readiness time, and transfer point availability time of the current order are then compared. Since the transfer point availability time appears last, the handover begins at that time. The period of waiting after both the drone and personnel are ready is separately identified as transfer point congestion and will not be recorded as personnel or drone lateness. After the payload handover is completed, the current order's state trajectory continues through drone takeoff and safe release protection until the complete release time of the order is generated, and the complete occupancy interval is defined by the continuous state between the start of entry protection and complete release. The waiting time caused by the drone being ready before the personnel, the common congestion caused by the transfer point not yet being released, and the waiting dose due to the temperature and humidity deviation of the humidified packaging from the corresponding cigar quality are calculated according to the corresponding preset loss weights and then incorporated into the asynchronous handover loss. The same transfer point congestion is only measured once in the congested portion. The event samples of the current order, the handover ready token, each handover time, the complete occupied interval, the cigar quality waiting dose, and the asynchronous handover loss ultimately form the coupled simulation state set. Step S30 uses this to check whether the candidate intervention meets the handover feasibility requirements on the same event axis, and identifies its reservation conflict risk and the degree to which the current release delay may propagate to the next order.
[0040] In the fulfillment process of high-end cigar retail outlets, the arrival of the receiving personnel, the completion of verification, the receipt of the payload, and the final delivery to the terminal each correspond to different events. For example, if a drone has delivered a replenishment order to the transit point, but the receiving personnel have not yet completed the order or verified the seal, the waiting status and cargo status are still maintained according to step S20; if the previous order is still in the safe release protection process, subsequent orders must also wait for the transit point to restore its handover capacity. Thus, the arrival, handover, and facility release processes in terminal replenishment correspond to the existing state and changes, respectively, while changes in the packaging environment continue to be simulated and evaluated through the cigar quality waiting dose.
[0041] Step S30: Based on the coupled simulation state set, a chance constraint mechanism is used to execute the candidate intervention generation task, and output a set of feasible intervention schemes; After entering the candidate intervention generation stage, step S30 retrieves event samples, handover readiness tokens, handover times, complete occupancy intervals of transit points, and cigar quality waiting doses based on the original correspondence between orders, associated scenarios, and occupied resources. Event samples convey the sequential states of drone flight, personnel response, verification, payload handover, and transit point release. These events continue to progress according to the changes in candidate configurations. Handover readiness tokens reflect whether physical arrival, business verification, and facility capacity are all met simultaneously; no single condition can replace the others. Handover times are used to verify whether the arrival and availability of drones, connecting personnel, and transit points are synchronized. Complete occupancy intervals cover the continuous process from entry protection to safe release completion, thereby identifying actual resource competition when sharing transit points. Cigar quality waiting doses are used to retain the cumulative impact of waiting time and deviations in humidified packaging status on cargo quality constraints. Candidate combinations refer to the configurations to be tested formed by the candidate drone takeoff time, the candidate shuttle personnel recall time, and the candidate transfer point. Their adjustment range is limited by actions already completed on-site; executed takeoff, arrival, or entry processes are no longer considered variable options. For combinations that can still be adjusted, repeated simulations of related scenarios continue to retain resource associations between rainfall, road congestion, flight segment disturbances, and consecutive orders, and predict the remaining battery power upon return after delivery. Only scenarios where the arrival synchronization deviation does not exceed the preset upper limit, the handover readiness token is valid, the remaining battery power upon return meets the preset safety requirements, and the quality waiting dose does not exceed the preset maximum value are included in scenarios that meet the joint handover conditions. The proportion of such scenarios in all tested scenarios forms the handover feasibility probability, and candidate combinations that reach the preset minimum handover reliability are classified into the handover feasibility domain. Subsequently, based on the actual complete occupancy boundary, the frequency of interval overlap between orders sharing the same transfer point in various related scenarios is statistically analyzed to obtain the reservation conflict probability. For target orders that may affect subsequent tasks, their complete release time must be disturbed. While maintaining other scenario conditions, subsequent events are restarted, and a delay propagation coefficient is formed based on the delay changes of subsequent orders from shared transfer points or connecting personnel before and after the disturbance. Electronic pre-verification, activation of backup connecting personnel, drone takeoff delays, and switching of backup transfer points are jointly limited by the handover feasible domain, the probability of appointment conflicts, and the delay propagation coefficient. The implemented state is then subjected to another reliability test. Schemes that still achieve the preset minimum handover reliability, along with the corresponding simulation state, related scenarios, and probability evaluations, constitute a set of feasible intervention schemes. When the order lateness risk difference is within a preset range, the retention priority is tilted towards the scheme corresponding to the order with the larger delay propagation coefficient.
[0042] When rain, nighttime road congestion, and consecutive orders sharing a transfer point coexist, traditional dispatching often directly uses a single estimated time or nominal reservation interval as the basis for intervention. Immediately dispatching backup personnel when the expected pick-up personnel are late only changes the personnel's response status; if identity verification, order verification, moisture-proof packaging seal verification, or transfer point capacity is still insufficient, the handover readiness token cannot be effectively generated. Even if the planned time slots appear to have no overlap, it doesn't necessarily mean the facilities have been released, because the extended takeoff and safe release protection of preceding drones may still occupy the transfer point, causing subsequent orders to encounter blockages at the actual complete occupancy boundary. Ranking orders by their respective lateness probabilities also has gaps: the release of preceding orders with small fluctuations may be delayed by sharing pick-up personnel or transfer points, continuously postponing subsequent tasks, and this propagation path is not fully reflected in the risk value of a single order. Step S30 no longer directly triggers a solution selection based on a specific estimated time, but instead checks whether arrival synchronization, token status, remaining return battery power, and quality waiting dose are all qualified within the same batch of related scenarios, and then uses the frequency of scenarios with actual overlap in the complete occupancy interval to characterize resource conflicts. Applying a perturbation to the moment of complete release of the target order links the release delay to changes in the delay of subsequent orders, making the direction and extent of the impact in the queue traceable. Electronic pre-verification, activation of backup personnel, drone takeoff delays, and switching of backup transfer points are all subject to review under the same state basis and reliability caliber. Therefore, it is possible to identify the failure conditions targeted by each intervention, the resources involved, and the consequences of the scenario after implementation, avoiding frequent reassignments due to short-term prediction deviations, and also preventing the omission of recurring transfer point occupancy conflicts and subsequent queue congestion.
[0043] For example, when multiple operating terminals generate replenishment orders in adjacent time periods and share a common transit point, delays in the verification or safe release of preceding orders may cause subsequent orders to be continuously disrupted. This situation corresponds to the evaluation of the appointment conflict probability and delay propagation coefficient in step S30. For orders that can still be adjusted, electronic pre-verification, activation of backup personnel, delay of drone takeoff, and switching of backup transit points are still checked according to the aforementioned handover feasibility domain and minimum handover reliability, so that terminal replenishment tasks and other on-demand delivery tasks can be coordinated under the condition of sharing personnel and transit points.
[0044] In an optional implementation, the formation of the handover feasible domain is further limited by the following conditions: the candidate UAV's takeoff time falls within the permitted takeoff period recorded in the airspace approval status data, and the approval approval flag is valid; the power consumed by the candidate UAV in executing the candidate order flight does not exceed its current remaining power and retains the preset minimum safe return power, and the flight distance does not exceed the flight radius level corresponding to the current remaining power; and there is no valid inoperable status flag in the meteorological data of the time period to which the candidate takeoff time belongs. The above conditions, along with arrival synchronization deviation, handover ready token, return remaining power, and cigar quality waiting dose, are used together to calculate the handover feasibility probability. Candidate combinations that do not meet any of the above conditions are not included in the handover feasible domain.
[0045] Step S40: Based on the set of feasible intervention schemes, the conditional value at risk (VAT) optimization mechanism is used to perform the scheduling parameter optimization task and output the optimized scheduling plan; The set of feasible intervention schemes submitted to the parameter optimization stage originates from the verification results of joint handover conditions, minimum handover reliability, and reservation conflict situations in step S30. This set stores each intervention scheme along with its corresponding simulation state, associated scenarios, and probability evaluation. Pre-existing actions such as takeoff, arrival, and transit point entry, which are passed along with the schemes, are only used to determine the current resource status and adjustable boundaries and are no longer considered for optimization. Only unexecuted drone takeoffs, personnel recalls, transit point reservations, and optional intervention actions are included in the adjustment scope of the scheduling plan. The parameter optimization process includes the personnel recall lead time set according to the order time period, the entry protection time and departure release protection time for each transit point, as well as the undetermined level three personnel lateness risk threshold, maximum reservation conflict probability, delay propagation suppression trigger threshold, and minimum handover feasibility probability. These parameters respectively affect the connection between personnel readiness and drone arrival, the complete occupancy interval of the transit point, the intervention trigger timing, reservation conflict restrictions, and the retention conditions for the handover scheme. When comparing different parameter configurations, the system consistently uses the same set of order arrival sequences, weather sequences, road congestion sequences, and fault sequences to form a common random scenario, and re-executes discrete event simulations within this scenario. Each simulation collects the average drone occupancy time, average waiting time for shuttle personnel, average cigar quality waiting dose, number of transfer point reservation conflicts, the comprehensive operating costs of drones, shuttle personnel, and backup transfer points, and the amount of timeouts for orders exceeding the promised delivery time. Each evaluation quantity is first converted to a unified target dimension, and then a comprehensive scheduling evaluation is formed according to preset weights. For order timeouts, candidate tail loss thresholds are examined sequentially under a preset tail risk confidence level: portions not exceeding the threshold are not included in the tail excess; portions exceeding the threshold are calculated based on the average excess degree according to the common random scenario, and then recalculated according to the tail range corresponding to the confidence level; the threshold itself and the recalculated tail excess result together constitute a risk assessment, and the smaller evaluation result is included in the comprehensive scheduling target. Parameter configurations will only proceed to subsequent comparisons if the probability of on-time handover reaches the preset commitment fulfillment probability, the probability that the quality waiting dose does not exceed the preset maximum quality waiting dose reaches the preset quality assurance probability, the expected remaining battery power for return is not lower than the preset minimum safe return battery power, and the probability of reservation conflict does not exceed the corresponding maximum reservation conflict probability and the handover feasibility probability is not lower than the corresponding minimum handover feasibility probability. The system retains configurations with smaller overall scheduling target values and narrows the parameter search range round by round. After two consecutive rounds of target value improvement falling below the preset stop threshold, the configuration with the smallest target value is organized into parameters for UAV takeoff scheduling, personnel recall scheduling, transit point reservation scheduling, and tiered intervention, forming an optimized scheduling plan.
[0046] By placing each set of parameters into completely consistent order, weather, congestion, and fault scenarios, the differences between simulation results mainly correspond to changes in recall timing, protection time, and intervention boundaries, no longer including deviations caused by random scenario changes. When the recall lead time changes, the burden between personnel waiting and drone waiting shifts accordingly; changes in entry protection time and exit release protection time directly reflect the expansion or contraction of the complete occupancy interval of the transfer point. Thresholds related to Level 3 personnel lateness risk, appointment conflicts, delay propagation suppression, and handover feasibility will change when intervention actions are triggered and which schemes can continue to be retained, thus they cannot be selected separately from the aforementioned timing parameters. Joint comparison first uses on-time handover, quality assurance, return battery power, and probability conditions to define the executable range. Configurations that rely on compressing safe release time, reducing handover reliability, or relaxing quality requirements to gain a local time advantage will be excluded at this stage. Further evaluation within the executable range simultaneously retains drone occupancy, personnel waiting, quality waiting dosage, appointment conflicts, and operating costs, avoiding the hidden transfer of waiting burdens between different resources, and limiting the use of premature personnel recall or frequent use of backup resources to achieve apparent punctuality. After conditional value-at-risk (VAT) processing, the order timeout volume ensures that the few severe delays caused by continuous congestion, severe weather, and malfunctions are not diluted by the shorter wait times in most common scenarios. Configurations with similar average performance but significantly different tail losses can still be distinguished. The search interval gradually narrows around the optimal configuration until continuous comparisons can no longer improve the achievement of stopping requirements. The resulting takeoff sequence, recall sequence, reservation occupancy relationship, and tiered intervention boundaries are coordinated with each other. After the optimized scheduling plan enters step S50, the event-triggered model predictive control mechanism only makes rolling adjustments to the plan content that has not yet been executed. Actions that have already taken off, landed, or been completed are still subject to irreversible execution boundary constraints. When subsequent arrivals, verifications, capacity releases, or weather conditions deviate from the plan, the tiered intervention parameters retained in the plan are used to determine the trigger boundaries for closed-loop correction.
[0047] Rainfall and evening traffic congestion persisted until parameter optimization. The drone from the previous order was still in the safety release protection process after takeoff, and the transfer point capacity had not yet been restored. The current tobacco and liquor store order had completed takeoff, arrival, and entry, and the pick-up personnel had entered the fenced area, but identity verification, order verification, and moisturizing packaging seal verification were not yet complete; electronic pre-verification and activation of backup pick-up personnel were still optional actions. The next order had not yet taken off, and its drone takeoff time, personnel recall time, and candidate transfer point could still be adjusted. Step S40 reads the associated scenarios and probability evaluations corresponding to the above-mentioned on-site conditions from the feasible intervention plan collection, and organizes parameter comparisons in conjunction with the handover readiness status, complete occupied area, quality waiting dose, expected remaining return battery power, reservation conflict probability, and handover feasibility probability. The remaining intervention actions for the current order and the takeoff, recall, and reservation arrangements for the next order are jointly affected by the lead time for recalling shuttle personnel, the entry protection time at the transfer point, the release protection time for departure, the level 3 personnel lateness risk threshold, the maximum reservation conflict probability, the delay propagation suppression trigger threshold, and the minimum handover feasibility probability. All parameter configurations use the same sequence of order arrivals, rainfall changes, road congestion, and drone malfunctions to re-advance events. Some configurations shortened the average waiting time for the next order under normal scenarios, but due to the continued postponement of the safe release of the previous order, the complete occupied interval frequently overlapped, and the reservation conflict probability exceeded the allowable boundary, thus they could not be retained. Other configurations performed well under normal road conditions, but when continuous congestion and drone malfunctions overlapped, significant tail timeouts occurred, and their overall scheduling evaluation was no longer optimal. Still other configurations recalled backup shuttle personnel too early; although the local handover was advanced, personnel waiting time and overall operating costs increased simultaneously, also failing to reach the optimal range. The configuration continues to undergo round-by-round comparisons based on timely handover, quality assurance, return-to-base power consumption, reservation conflicts, and handover feasibility verification. The parameter search range narrows towards the smaller range of the comprehensive scheduling target value. The final result is determined after two consecutive rounds of improvement that are below the preset stopping threshold. The resulting optimized scheduling plan retains the takeoff, arrival, and landing actions that have already occurred for the current order and cannot be reversed. It clarifies the arrangements for electronic pre-verification or backup personnel and provides the drone takeoff arrangement, personnel recall arrangement, transit point reservation arrangement, and tiered intervention parameters for the next order. Step S50 then receives the plan and, under irreversible execution boundary constraints, responds to subsequent arrival, verification completion, capacity release, and weather change events, executes delivery scheduling, and forms a closed-loop correction event sample set.
[0048] In this application scenario, timely delivery requirements are reflected in the amount of orders exceeding the promised delivery time and its tail-end risks; moisturizing transportation requirements are reflected in the cigar quality waiting dosage and the probability of quality assurance; and the resource utilization of drones and shuttle personnel is reflected in the occupancy time, waiting time, and overall operating costs. When orders from operating terminals occur in a concentrated manner, their arrival order is used as an order arrival sequence in a common random scenario for simulation. Following the parameter types, constraints, and optimization process of step S40, corresponding arrangements for drone takeoff, personnel recall, transfer point reservation, and tiered intervention are formed, providing a scheduling basis for delivery fulfillment in the high-end cigar operating scenario.
[0049] In one optional implementation, the order arrival sequence in the common random scenario is generated according to the order density of the corresponding time period in the actual order record; when the order density served by the same central warehouse node increases, the number of orders sharing the same shuttle personnel or the same transfer point increases accordingly, and the shuttle personnel recall advance, transfer point entry protection time and departure release protection time in the parameter vector to be optimized are re-optimized accordingly, and the average drone occupancy time, average shuttle personnel waiting time and transfer point reservation conflict number are used as evaluation quantities for comprehensive comparison.
[0050] Step S50: Based on the optimized scheduling plan, the event-triggered model predictive control mechanism constrained by irreversible execution boundaries is used to execute the delivery scheduling task, and output a closed-loop correction event sample set.
[0051] The optimized scheduling plan used in on-site execution is the basis for execution formed in step S40 after comparing handover feasibility, reservation conflicts, quality waiting time, and return battery power risk. It records the drone takeoff arrangement, personnel recall arrangement, transfer point reservation arrangement, and tiered intervention parameters. Step S50 checks each arrangement against the current execution status according to the order identifier, and then issues instructions to the drone, personnel terminal, and transfer point management terminal for takeoff, recall, reservation, continuation of execution, or permission to intervene. Records returned by each terminal are categorized into the corresponding order according to the time of event occurrence; duplicate records with the same event identifier are merged, and information that has not yet received on-site confirmation does not replace already confirmed execution statuses. The collected feedback continuously corrects the estimated drone arrival time, estimated personnel readiness time, reservation conflict probability, cigar quality waiting dosage, and estimated remaining return battery power. The discrete event simulation in the local prediction time domain is only initiated when the deviation between the expected arrival time and the expected readiness time exceeds the preset arrival synchronization deviation limit, or when any of the following states—reservation conflict probability, quality waiting dose, or expected return battery power—crosses its respective warning boundary; orders whose states are still within the allowable range continue with the original plan. After the simulation begins, orders are first divided into two categories based on irreversible execution boundaries: those that can still be adjusted and those that should maintain the status quo. These boundaries cover the drone entering the transit point approach route, entering the landing phase, unlocking the cigar payload compartment, and the drone reaching the minimum return battery power boundary. Electronic pre-verification, activation of backup personnel, adjustment of drone takeoff time, and switching of backup transit points are only evaluated for orders that have not yet crossed the boundaries; orders that have entered an irreversible state do not participate in the switching. The system also obtains the handover completion time distribution and terminal travel time distribution from the simulation results, extracts the corresponding quantile values according to the preset commitment confidence level corresponding to the order service level, and generates the promised delivery time by combining it with the preset terminal receipt protection time. After an order is completed, the deviation between the measured time and the predicted time is identified as regular random fluctuations, time-specific road deviations, personnel response deviations, persistent congestion deviations at transfer points, weather deviations, or one-off anomaly deviations. Weather level, road congestion level, order time period, transfer point identifier, personnel identifier, and verification method collectively define the condition combination to which the event sample belongs. For non-one-off anomaly samples, the system determines the recursive update coefficient based on the number of samples and the degree of time fluctuation within the combination, and updates the original time mean and the newly added measured time with complementary weights. One-off anomaly samples only retain the anomaly label and do not change the daily time distribution. The actual event records, deviation classifications, anomaly labels, and updated time estimation parameters are compiled into a closed-loop correction event sample set, and then return to step S10 to participate in the next round of associated dual-segment event sample generation.
[0052] Each refresh of operational feedback does not directly trigger a global rescheduling. Synchronization status, reservation relationships, quality waiting status, and return-to-base power status, which are still within acceptable limits, are retained in the original scheduling plan. This suppresses the repeated switching of takeoff, recall, and reservation instructions due to minor fluctuations. Only after a risk truly crosses the warning boundary does the scope of handling shift to the local prediction time domain. Anomaly identification and intervention evaluation thus focus on the affected orders, rather than waiting until the order is late or the safety margin is exhausted. The irreversible execution boundary further restricts the interaction between simulated actions and on-site instructions: tasks that have already entered the field, landed, unlocked the payload bay, or reached the minimum return-to-base power boundary maintain their existing processes; only orders that still have the conditions for change continue to undergo personnel readiness, facility occupancy, quality waiting, and return-to-base power checks. This local intervention selection aligns with the range of actions that the order can execute at that time, preventing the issuance of switching actions that, while having a time advantage in the simulation, are no longer feasible on-site. The adjusted handover completion time distribution and terminal travel time distribution were used to redetermine the promised delivery time. Changes in capacity release, personnel response, and flight status are reflected in the current commitment, rather than continuing to use the static estimates from when the plan was formed. Post-execution deviation handling also separates persistent changes from occasional disturbances: the former are progressively adjusted based on condition combinations for time estimation, while the latter only retains anomaly labels. The closed-loop correction event sample set thus preserves both the actual results of this round of planning on-site and records the causes of deviations and updates to time estimates, enabling the next round's step S10 to incorporate persistent changes in road, personnel, transfer point, and weather conditions, while avoiding temporary road closures or occasional failures rewriting the daily distribution.
[0053] When the optimized scheduling plan was issued, rainfall and evening road congestion continued, the safe release process of the previous order was not yet fully completed, and the capacity of the transfer point was still affected by its occupation. The drone for the current tobacco and liquor store order had completed takeoff and arrival and entered the transfer point's entry route; although the pick-up personnel had arrived inside the fence, identity verification, order verification, and verification of the moisturizing packaging seal were not yet completed. The next order had not yet taken off, and there was still room for adjustment in its drone takeoff time, pick-up personnel recall time, and candidate transfer point. Step S50 issued instructions to the relevant terminals based on the current status of each order. The returned record showed that the verification completion time of the current order continued to be postponed, but the quality waiting dose and the expected return remaining battery were still within the allowable range; the pick-up personnel for the next order were affected by the continuous road congestion, and the expected ready time was further postponed. The deviation between the expected arrival time of the drone and the ready time had exceeded the preset arrival synchronization deviation upper limit, and the probability of reservation conflicts between adjacent orders was also increasing. This change triggered discrete event simulation in the local prediction time domain. Since the drone for the current order has already entered the transit point's arrival route, the system classifies it as an order that has crossed the irreversible execution boundary. The existing flight, transit point, and handover arrangements are maintained, and no further electronic pre-verification, activation of backup personnel, adjustment of takeoff time, or switching of backup transit points are added to this order. For the subsequent order still outside the boundary, the simulation examines the personnel readiness, facility occupancy, quality waiting time, and return-to-home battery status resulting from electronic pre-verification, activation of backup personnel, postponement of drone takeoff time, and switching of backup transit points. Only partial adjustments that still meet the execution constraints are issued to the corresponding terminals. After the adjustments are completed, the system extracts the quantile values that conform to the order's service level from the new handover completion time distribution and terminal travel time distribution, and integrates them with the terminal's receipt protection time to form a promised delivery time consistent with the current operational status. After an order is completed, the verification delay caused by the response of the shuttle personnel is categorized as a shuttle personnel response deviation. The delay of a subsequent order due to continuous evening congestion is then classified using a combination of conditions defined by weather level, road congestion level, order time period, transfer point identification, shuttle personnel identification, and verification method. Samples confirmed to be continuously changing through continuous recording participate in the recursive update of time estimation. If a delay is actually caused by a temporary road closure, that record retains only a one-time anomaly label. The categorized event samples, the updated time estimation parameters, and the anomaly labels ultimately form a closed-loop correction event sample set, which is used in the next step S10 to generate associated dual-segment event samples adapted to the actual operating status of that time period.
[0054] When executing the aforementioned terminal orders, the promised delivery time generated in step S50 can be used by the terminal to arrange for receiving and delivery preparation. Its value is still generated based on the preset promise confidence level corresponding to the order's service level, the distribution of handover completion times, the distribution of terminal travel time, and the terminal's acceptance protection time. In the event of road congestion, verification delays, or continuous occupation of transfer points, the system continues to make local adjustments according to existing triggering conditions and irreversible execution boundaries. The actual event records and deviation classifications after terminal acceptance are entered into the closed-loop correction event sample set for scenario sampling of subsequent similar orders, ensuring that order fulfillment in this business model continuously corresponds to the actual transportation, connection, and packaging status.
[0055] To verify the effectiveness of the scheduling method described in this embodiment in the cigar instant delivery scenario, a discrete event simulation model was used for testing, with actual delivery data from the pilot operation period as a control. The baseline settings of the simulation model are as follows: order arrival follows a Poisson distribution, the number of delivery drones is 3, the cruising speed is 36 km / h, the single flight time is 30 minutes, the battery endurance safety threshold is set at 80% of the nominal endurance, which is 24 minutes, the warehouse availability rate is 90%, and the economic radius is 10 kilometers. The external constraints included are set as follows: airspace approval rate is 75% during the day and 95% at night; the meteorological constraint is set based on 12% of non-flyable days per year. The above values are used as fixed constraints in the baseline scenario and most sensitivity analyses.
[0056] In a baseline scenario with a simulation period of 30 days, a total of 1364 orders were processed, of which 1213 were successfully fulfilled, resulting in a fulfillment success rate of 88.9%. The average waiting time was 14.9 minutes, and the average cost per order was 25.9 yuan. The reasons for failed orders were as follows: incomplete warehouse maintenance (60.3%), failed airspace approval (26.7%), insufficient battery life (7.2%), and no idle drones (5.8%). Statistics by terminal showed that terminals with direct take-off and landing sites had fulfillment success rates of 91.2% and 88.5%, respectively, higher than terminals requiring ground connections (86.6%, 87.1%, and 90.3%, respectively). The average waiting time for each terminal was positively correlated with its distance from the central warehouse node.
[0057] When warehouse availability drops from 90% to 80%, the fulfillment success rate drops to 80.0%, and the average cost per order increases by approximately 28%. When it drops to 70%, the fulfillment success rate drops to 71.5%, and the average cost per order increases by 57.5%. In other words, for every 1 percentage point decrease in warehouse availability, the fulfillment success rate decreases by approximately 0.9 percentage points. These results were achieved under the constraints of a 75% airspace approval rate and a 24-minute battery life safety threshold. Even if warehouse availability increases to 95%, and the airspace approval rate remains at 75%, the overall system fulfillment success rate will still struggle to exceed 82%.
[0058] For service radii within 5 kilometers, the fulfillment success rate is above 95%, with 10 kilometers considered the economically reasonable boundary. Beyond 15 kilometers, the fulfillment rate declines significantly, and 20 kilometers reaches the physical limit. Considering battery range safety thresholds, the service range is constrained to 10-12 kilometers. Introducing weather constraints (12% of the year being non-flyable days) reduces the fulfillment success rate to 82.3%, and the average waiting time increases by 3.7 minutes. Electromagnetic signal failure constraints have a relatively small impact on the system, with the fulfillment success rate decreasing by only 1.8%. When order density doubles, the total number of orders increases from 1364 to 2038, with a fulfillment success rate of 89.6%, showing no significant decline. The average waiting time is slightly reduced, and the average cost per order decreases to 24.3 yuan. In contrast, the instant fulfillment success rate under traditional fixed-cycle delivery methods approaches zero.
[0059] During the three-month pilot operation, the five pilot terminals completed a total of 80 orders, successfully fulfilling 71 orders, achieving a fulfillment success rate of 88.8%, with an average waiting time of 21 minutes. For terminals located 5 kilometers and 7.5 kilometers from the central warehouse node, the proportion of nighttime orders reached 65% and 88%, respectively. The above simulation results and pilot test results are from two sources: simulation verification and actual operation, respectively, and the statistical methods used in the two are different.
[0060] Example 2: Furthermore, the present invention provides a resource scheduling system for real-time cigar drone delivery based on discrete event simulation and parameter optimization. This system employs the resource scheduling method and system for real-time cigar drone delivery based on discrete event simulation and parameter optimization described in the above embodiments, and can solve the technical problem of resource scheduling for real-time cigar drone delivery based on discrete event simulation and parameter optimization. The beneficial effects of the resource scheduling system for real-time cigar drone delivery based on discrete event simulation and parameter optimization provided by the present invention are the same as those of the resource scheduling method and system for real-time cigar drone delivery based on discrete event simulation and parameter optimization provided in the above embodiments. Other technical features of the resource scheduling system for real-time cigar drone delivery based on discrete event simulation and parameter optimization are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0061] Example 3: This invention provides a resource scheduling device for real-time cigar drone delivery based on discrete event simulation and parameter optimization. The device includes at least one processor and a memory communicatively connected to the processor. The memory stores instructions executable by the processor, which are then executed to enable the processor to perform the resource scheduling method for real-time cigar drone delivery based on discrete event simulation and parameter optimization described in Example 1. This device can include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (Personal Digital Assistants), PADs (Tablet PCs), PMPs (Portable Media Players), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital televisions and desktop computers. This device is merely an example and should not limit the functionality or scope of the invention. A resource scheduling device for real-time cigar drone delivery based on discrete event simulation and parameter optimization may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) that can execute various appropriate actions and processes according to a program stored in read-only memory or a program loaded from a storage device into random access memory. The random access memory also stores various programs and data required for the operation of the resource scheduling device. The processing unit, read-only memory, and random access memory are interconnected via a bus. An I / O interface is also connected to the bus. Typically, the following devices can be connected to the I / O interface: input devices including touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices including liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices including magnetic tapes, hard disks, etc.; and communication devices. The communication device allows the resource scheduling device to exchange data with other devices wirelessly or via wired communication. While a resource scheduling device for real-time cigar drone delivery based on discrete event simulation and parameter optimization with various systems has been shown, it should be understood that configuring all of the above-described devices is not required. Alternative implementations or the inclusion of more or fewer devices are possible.
[0062] Example 4: This invention also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described method for real-time cigar drone delivery resource scheduling based on discrete event simulation and parameter optimization. The computer program product provided by this invention can solve the technical problem of real-time cigar drone delivery resource scheduling based on discrete event simulation and parameter optimization. Compared with the prior art, the beneficial effects of the computer program product provided by this invention are the same as those of the method and system for real-time cigar drone delivery resource scheduling based on discrete event simulation and parameter optimization provided in the above embodiments, and will not be repeated here.
[0063] In particular, according to the embodiments disclosed in this invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device, or installed from a read-only memory. When the computer program is executed by a processing device, it performs the functions defined in the methods of the embodiments disclosed in this invention.
[0064] It should be understood that the various parts disclosed in this invention can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.
[0065] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the present invention and its equivalents, the present invention also intends to include these modifications and variations.
Claims
1. A resource scheduling method for real-time delivery of cigars by drones based on discrete event simulation and parameter optimization, characterized in that, The method includes: Step S10: Obtain multi-source time-series operational data for cigar instant delivery, and based on the multi-source time-series operational data for cigar instant delivery, use the Monte Carlo correlation sampling mechanism to perform a dual-segment event sample generation task, and output a correlated dual-segment event sample set; Step S20: Based on the associated dual-segment event sample set, a colored Petri net mechanism is used to perform discrete event modeling tasks and output a coupled simulation state set; Step S30: Based on the coupled simulation state set, a chance constraint mechanism is used to execute the candidate intervention generation task, and output a set of feasible intervention schemes; Step S40: Based on the set of feasible intervention schemes, the conditional value at risk (VAT) optimization mechanism is used to perform the scheduling parameter optimization task and output the optimized scheduling plan; Step S50: Based on the optimized scheduling plan, the event-triggered model predictive control mechanism constrained by irreversible execution boundaries is used to execute the delivery scheduling task, and output a closed-loop correction event sample set.
2. The resource scheduling method for real-time cigar drone delivery based on discrete event simulation and parameter optimization as described in claim 1, characterized in that, Step S10 involves acquiring multi-source time-series operational data for cigar delivery, and based on this data, performing a dual-segment event sample generation task using a Monte Carlo correlation sampling mechanism to output a correlated dual-segment event sample set. This step specifically includes: Step S101: Obtain timestamped operational data on cigar orders, central warehouse nodes, drones, shuttle personnel, candidate transfer points, roads, weather, and cigar humidifier packaging, and aggregate them into the multi-source time-series operational data for the cigar instant delivery; using order identifiers and a unified time base, associate the events of order generation, picking and packaging, loading and flight, order receiving and movement, personnel verification, load handover, departure and release, and terminal receipt into a dual-segment event sequence; Step S102: Extract weather level, road congestion level, order time period, transfer point identifier, shuttle personnel identifier, and verification method from the dual-segment event sequence to form a condition combination. Encapsulate the UAV flight time, personnel response time, ground movement time, verification time, and transfer point release time under the same condition combination into an associated operation scenario sample. When the number of samples for the condition combination is less than the preset minimum sample size, select the superior sample of the adjacent order time period, adjacent road congestion level, or the same type of shuttle personnel. Perform hierarchical contraction estimation on the mean measured time of the current condition combination and the mean time of the superior sample, increasing the confidence weight of the current sample as the current sample size increases. Step S103: Jointly extract the drone flight time, personnel response time, ground movement time, verification time, and transfer point release time from the associated operation scenario sample, and retain the correlation between the time quantities under the same operation conditions; read the temperature and humidity time series of the humidification packaging from the multi-source time-series operation data of the cigar instant delivery, and calculate the deviation amount exceeding the preset temperature and humidity allowable deviation during the period from packaging completion to final receipt, weighted by the preset risk conversion coefficient and accumulated with the duration as the cigar quality waiting dose, and write the extracted time quantity and cigar quality waiting dose into the corresponding dual-segment event sequence to form the associated dual-segment event sample set.
3. The resource scheduling method for real-time cigar drone delivery based on discrete event simulation and parameter optimization as described in claim 1, characterized in that, Step S20, which involves performing discrete event modeling based on the associated dual-segment event sample set using a colored Petri net mechanism and outputting a coupled simulation state set, specifically includes: Step S201: Obtain event samples, event occurrence times, and cigar quality waiting doses representing the cumulative impact of temperature and humidity deviations in humidified packaging from the associated dual-segment event sample set. Construct a colored Petri net with the UAV, connecting personnel, transit point, and cigar cargo status as storage locations, and take-off arrival, order arrival, verification completion, load handover, and departure release events as transitions. Construct a handover readiness vector that records personnel entering the transit point fence, identity verification, order verification, seal reception conditions, release of preceding tasks, and available handover capacity at the transit point. Generate a valid handover readiness token only when all six conditions are met. Step S202: Obtain the time of the UAV flight segment and ground transfer segment from the event sample, determine the arrival time of the UAV and the handover ready time after the transfer personnel have completed the arrival, identity verification, order verification and seal verification and the release of the preceding tasks; obtain the available time of the transfer point from the transfer point status, take the latest time among the arrival time of the UAV, the handover ready time of the transfer personnel and the available time of the transfer point as the handover start time, and then sequentially include the payload transfer time, the UAV takeoff time and the preset safety release protection time to determine the complete release time of the transfer point; Step S203: Trigger the corresponding strain transition in the colored Petri net according to the time of the event occurrence, determine the complete occupied interval of the transfer point covering the approach protection, UAV waiting, load handover, UAV takeoff and safety release protection, calculate the asynchronous handover loss with asymmetrical direction and separately measured transfer point blockage, and combine the event sample, handover ready token, each handover time, complete occupied interval of the transfer point, cigar quality waiting dose and asynchronous handover loss into the coupled simulation state set.
4. The resource scheduling method for real-time delivery of cigars by drones based on discrete event simulation and parameter optimization as described in claim 3, characterized in that, Step S203 specifically includes: The asynchronous handover loss is calculated using preset unit waiting loss weights and unit quality dose loss weights: in, For cigar order number, For orders Asynchronous handover loss; , and These are the arrival time of the drone, the time when the receiving personnel are ready for handover, and the time when the handover begins, respectively. The required dosage for cigar quality; , and The weights for unit waiting losses are calculated as follows: drones arrive first, shuttle personnel are ready first, and both sides are ready but the transfer point has not yet been released. The loss weight of the waiting dose per unit cigar quality; Indicates taking the positive part. For input values, This indicates that the maximum value is taken; the same time base and unit are used for all times, and the corresponding waiting time or quality dose is converted into a loss with uniform dimensions for each weight; common blockage caused by failure to release at the transfer point is only included in the loss. The loss term is calculated and the result is used as the asynchronous handover loss in the coupled simulation state set.
5. The resource scheduling method for real-time cigar drone delivery based on discrete event simulation and parameter optimization as described in claim 1, characterized in that, Step S30, which involves executing a candidate intervention generation task based on the coupled simulation state set using an opportunity constraint mechanism and outputting a set of feasible intervention schemes, specifically includes: Step S301: Obtain event samples, handover ready tokens, handover times, complete occupied intervals of transfer points, and cigar quality waiting dose from the coupled simulation state set; set a preset upper limit for arrival synchronization deviation, a preset minimum handover reliability, a preset minimum safe return power, and a preset maximum quality waiting dose; perform repeated simulations of associated scenarios for candidate UAV takeoff times, personnel recall times, and transfer point combinations; predict the remaining power for return; calculate the joint probability that the arrival deviation does not exceed the limit, the handover ready token is valid, the power is not lower than the lower limit, and the quality waiting dose does not exceed the limit; use this as the handover feasibility probability; and construct the handover feasibility domain from the candidate combinations that reach the preset minimum handover reliability. Step S302: Obtain the complete occupied interval of the transfer point in each associated scenario for the candidate combination within the feasible handover domain, and calculate the percentage of scenarios where the complete occupied intervals of two orders using the same transfer point overlap, thereby obtaining the appointment conflict probability; Step S303: Apply a preset disturbance to the complete release time of the transfer point of the target order within the feasible handover domain, and calculate the delay propagation coefficient of the target order on subsequent orders of shared transfer points or connecting personnel through finite difference sensitivity analysis; combine the feasible handover domain, reservation conflict probability and delay propagation coefficient to generate candidate intervention schemes such as electronic pre-verification, activation of backup connecting personnel, drone take-off delay or backup transfer point switching, and retain the scheme that still meets the preset minimum handover reliability after intervention; when the order lateness risk difference is within the preset range, prioritize retaining the scheme corresponding to the order with the larger delay propagation coefficient, and combine the retained schemes and their simulation status, associated scenarios and probability evaluations into the feasible intervention scheme set.
6. The resource scheduling method for real-time cigar drone delivery based on discrete event simulation and parameter optimization as described in claim 1, characterized in that, Step S40, which involves optimizing scheduling parameters using a conditional value-at-risk (VAT) mechanism based on the set of feasible intervention options and outputting an optimized scheduling plan, specifically includes: Step S401: Obtain the schemes and corresponding simulation states, associated scenarios and probability evaluations from the set of feasible intervention schemes, determine the lead time for recalling connecting personnel, the entry protection time and exit release protection time of the transfer point, the late arrival risk threshold of the third-level personnel to be determined, the maximum probability of appointment conflict, the delay propagation suppression trigger threshold to be determined and the minimum handover feasibility probability, and construct the parameter vector to be optimized. Step S402: For different candidate combinations of the parameter vector to be optimized, use the same order arrival sequence, weather sequence, road congestion sequence and fault sequence to form a common random scenario, perform discrete event simulation, and calculate the comprehensive scheduling target value; Step S403: Select from the candidate combinations the combination where the probability of on-time handover reaches the preset commitment fulfillment probability, the probability of the quality waiting dose not exceeding the preset maximum quality waiting dose reaches the preset quality assurance probability, the expected remaining return battery is not less than the preset minimum safe return battery, the reservation conflict probability does not exceed the maximum reservation conflict probability among the candidate combinations, and the handover feasibility probability is not less than the minimum handover feasibility probability among the candidate combinations; for the selected combination, retain the one with the smaller comprehensive scheduling target value and narrow the parameter search range until the target value improvement is less than the preset stop threshold for two consecutive rounds, and convert the combination with the smallest target value into the optimized scheduling plan including UAV takeoff arrangement, personnel recall arrangement, transit point reservation arrangement, and graded intervention parameters.
7. The resource scheduling method for real-time cigar drone delivery based on discrete event simulation and parameter optimization as described in claim 1, characterized in that, Step S50, which involves executing the delivery scheduling task based on the optimized scheduling plan using an event-triggered model predictive control mechanism constrained by irreversible execution boundaries, and outputting a closed-loop correction event sample set, specifically includes: Step S501: Issue scheduling instructions to the UAV, shuttle personnel terminal, and transfer point management terminal according to the optimized scheduling plan, obtain operational feedback, and update the estimated arrival time of the UAV, the estimated ready time of the shuttle personnel, the probability of reservation conflict, the cigar quality waiting dose, and the estimated remaining battery power for return; when the absolute value of the difference between the estimated arrival time and the estimated ready time exceeds the preset arrival synchronization deviation upper limit, the probability of reservation conflict exceeds the maximum reservation conflict probability determined by the optimized scheduling plan, the quality waiting dose exceeds the preset quality risk warning value, or the estimated remaining battery power for return is lower than the preset return battery power warning value, trigger discrete event simulation in the local prediction time domain; Step S502: Obtain the simulation results of discrete events in the local prediction time domain, and only implement electronic pre-verification, activation of backup personnel, adjustment of drone take-off time, or switching of backup transfer points for orders that have not yet crossed the irreversible execution boundary; the irreversible execution boundary includes the drone entering the transfer point approach route, entering the landing phase, unlocking the cigar payload compartment, and the drone reaching the minimum return battery boundary; obtain the handover completion time distribution and the terminal travel time distribution from the simulation results, extract the quantile values of the two using the preset commitment confidence level corresponding to the order service level, and generate the promised delivery time by combining the preset terminal receipt protection time; Step S503: Obtain the actual event records after the order is completed, compare the measured time with the predicted time, and classify the deviations into regular random fluctuations, time-specific road deviations, personnel response deviations, continuous congestion deviations at transfer points, weather deviations, and one-time abnormal deviations; determine the condition combination to which the event sample belongs based on weather level, road congestion level, order time period, transfer point identifier, personnel identifier, and verification method; for non-one-time abnormal samples, determine the recursive update coefficient based on the sample size and time fluctuation degree of the condition combination, and use complementary weights to recursively weight update the original time mean and the newly added measured time; for one-time abnormal samples, only retain the abnormal label and do not update the daily time distribution; collect the classified event samples and updated time estimation parameters into the closed-loop correction event sample set for use in the next round of associated dual-segment event sample generation.
8. A resource scheduling system for real-time cigar drone delivery based on discrete event simulation and parameter optimization, applied to the resource scheduling method for real-time cigar drone delivery based on discrete event simulation and parameter optimization as described in any one of claims 1 to 7, characterized in that, The system includes: The associated sample construction module is used to acquire multi-source time-series operational data of cigar instant delivery, and to perform a dual-segment event sample generation task based on the multi-source time-series operational data of cigar instant delivery using the Monte Carlo association sampling mechanism, and output an associated dual-segment event sample set. The coupled simulation modeling module is used to perform discrete event modeling tasks based on the associated dual-segment event sample set using a colored Petri net mechanism, and outputs a coupled simulation state set. The intervention scheme generation module is used to perform a candidate intervention generation task based on the coupled simulation state set using an opportunity constraint mechanism, and output a set of feasible intervention schemes. The scheduling parameter optimization module is used to perform scheduling parameter optimization tasks based on the set of feasible intervention schemes using a conditional value at risk (VAT) optimization mechanism, and output an optimized scheduling plan. The rolling scheduling correction module is used to execute delivery scheduling tasks based on the optimized scheduling plan using an event-triggered model predictive control mechanism constrained by irreversible execution boundaries, and output a closed-loop correction event sample set.
9. A resource scheduling device for real-time delivery of cigars by drones based on discrete event simulation and parameter optimization, characterized in that, The cigar drone instant delivery resource scheduling device based on discrete event simulation and parameter optimization includes: a memory, a processor, and a cigar drone instant delivery resource scheduling program based on discrete event simulation and parameter optimization stored in the memory and executable on the processor. When the cigar drone instant delivery resource scheduling program based on discrete event simulation and parameter optimization is executed by the processor, it implements the cigar drone instant delivery resource scheduling method based on discrete event simulation and parameter optimization as described in any one of claims 1 to 7.
10. A computer program product, characterized in that, The computer program product includes a resource scheduling program for real-time delivery of cigar drones based on discrete event simulation and parameter optimization. When the resource scheduling program for real-time delivery of cigar drones based on discrete event simulation and parameter optimization is executed by the processor, it implements a resource scheduling method for real-time delivery of cigar drones based on discrete event simulation and parameter optimization as described in any one of claims 1 to 7.
