Express bill purchase management method and device, equipment and storage medium
By predicting and dynamically adjusting the number of couriers’ facebooks allocation, and switching the purchase mode according to the remaining facebook numbers, the problem of insufficient supply or waste when the couriers’ facebook numbers is exhausted is solved, and the adequacy of facebook supply and operational efficiency is improved.
Patent Information
- Application Number
- CN202411684529.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2025-04-15
AI Technical Summary
In the prior art, when the couriers use up the face order number, it is difficult for them to accurately predict the time of the face order number exhaustion, resulting in insufficient or waste of face order supply, and the existing emergency measures are inefficient.
By obtaining the daily delivery status of the courier and the usage of the page order, predicting the initial page order allocation quantity, and adjusting it according to dynamic adjustment factors, the precise management of the page order allocation quantity is finally achieved. At the same time, the number of remaining page orders is monitored, the page order purchase mode is flexibly switched, and an early warning mechanism is provided.
It has achieved the adequacy of the supply of no-count orders, reduced the problem of shortage or waste of no-count orders, and improved the smoothness and operational efficiency of express delivery services.
Smart Images

Figure CN119831463A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of logistics technology, and in particular to a method, device, equipment and storage medium for express waybill purchase management. Background Art
[0002] In their daily work, couriers need to rely on the remaining billing numbers in their accounts to complete the tasks of picking up and delivering parcels. However, since the allocation of billing numbers is usually not real-time and dynamic, it is difficult for couriers to accurately predict when they will run out of billing numbers.
[0003] When the waybill numbers are exhausted and they need to be printed urgently for delivery, couriers can usually only take two emergency measures: one is to contact the branch manager for temporary allocation of waybill numbers, and the other is to purchase waybill numbers in batches through online platforms. Both methods have significant efficiency issues.
[0004] When assigning billing numbers, branch managers may need to do it manually, which is not only time-consuming and laborious, but may also cause delays in assignment due to the busyness of the administrator. In addition, branch managers may not be able to understand the specific needs of each courier in real time, so the number of billing numbers assigned may not meet the actual needs of the courier, or too many numbers may be assigned, resulting in waste.
[0005] Although online bulk purchase of delivery order numbers can alleviate the problem of insufficient delivery order numbers to a certain extent, it may also lead to excessive capital occupation. This is because couriers usually need to pay the purchase fee in advance, and in actual use, there may be too many remaining delivery order numbers and they cannot be used up. In addition, after purchasing delivery order numbers in bulk, couriers also need to manually enter or activate these delivery order numbers in the system, which increases the operation steps and time cost.
[0006] Whether contacting the branch manager or purchasing billing numbers in bulk online, couriers are required to perform additional communication and operations, which increases the complexity and time cost of the workflow.
[0007] After purchasing waybill numbers in bulk, if the remaining numbers are not used in time, the courier’s funds will be occupied, affecting his capital liquidity and utilization efficiency.
[0008] Therefore, the existing technology still needs to be improved and developed. Summary of the invention
[0009] The present invention provides a method, device, equipment and storage medium for managing the purchase of express delivery bills, which are used to predict and dynamically adjust the number of bills allocated to couriers, while monitoring the remaining bills to intelligently switch the purchase mode to ensure sufficient supply of bills.
[0010] The first aspect of the present invention provides a method for managing the purchase of express delivery bills, the method comprising: obtaining the courier's recent daily delivery situation and bill usage situation, and predicting the initial bill allocation quantity based on the courier's recent daily delivery situation and bill usage situation; judging whether there are dynamic adjustment factors, and if so, adjusting the initial bill allocation quantity based on the dynamic adjustment factors to obtain the final bill allocation quantity; monitoring the remaining number of bills in the courier's account, and changing the bill purchase mode according to the ratio between the remaining number of bills in the courier's account and the final bill allocation quantity, the bill purchase mode including a non-purchaseable mode, a batch purchase mode and a one-order-buy-one-bill mode; when the bill purchase mode is the batch purchase mode, judging whether to trigger an early warning mechanism according to the remaining number of bills in the courier's account; if the early warning mechanism is triggered, generating an early warning message according to the triggered early warning mechanism.
[0011] Optionally, in a first implementation method of the first aspect of the present invention, the obtaining of the courier's daily delivery situation and historical waybill usage, and predicting the initial waybill allocation quantity based on the courier's daily delivery situation and historical waybill usage, includes: constructing a waybill allocation quantity prediction model based on a long short-term memory network; obtaining the courier's recent daily delivery situation and waybill usage; and inputting the courier's recent daily delivery situation and waybill usage into the waybill allocation quantity prediction model to obtain the initial waybill allocation quantity.
[0012] Optionally, in a second implementation method of the first aspect of the present invention, the construction of a waybill allocation quantity prediction model based on a long short-term memory network includes: collecting delivery records and historical waybill usage records of multiple couriers as sample data; performing data enhancement on the sample data to obtain enhanced data; and using the enhanced data to train and optimize a pre-built LSTM prediction model to obtain a waybill allocation quantity prediction model.
[0013] Optionally, in a third implementation method of the first aspect of the present invention, the determining whether there is a dynamic adjustment factor, and if so, adjusting the initial waybill allocation quantity based on the dynamic adjustment factor to obtain the final waybill allocation quantity, includes: determining whether there is a dynamic adjustment factor, and if so, obtaining the dynamic adjustment factor and the weight of each factor, the dynamic adjustment factor including at least one of seasonal factors, regional factors, logistics efficiency, and courier personal factors; determining the proportion used to adjust the initial waybill allocation quantity according to the weight corresponding to the dynamic adjustment factor; and multiplying the initial waybill allocation quantity by the determined proportion to obtain the final waybill allocation quantity.
[0014] Optionally, in a fourth implementation method of the first aspect of the present invention, the remaining number of waybills in the courier's account is monitored, and the waybill purchasing mode is changed according to the ratio between the remaining number of waybills in the courier's account and the final waybill allocation number. The waybill purchasing mode includes non-purchase, batch purchase mode and one-by-one purchase mode, including: monitoring the remaining number of waybills in the courier's account, when the proportion of the remaining number of waybills in the courier's account is greater than the first proportion value of the final waybill allocation number, switching the waybill purchasing mode to the non-purchase mode; when the proportion of the remaining number of waybills in the courier's account is less than the second proportion value of the final waybill allocation number and is greater than 0, switching the waybill purchasing mode to the batch purchase mode; when the number of waybills in the courier's account is 0, switching the waybill purchasing mode to the one-by-one purchase mode.
[0015] Optionally, in a fifth implementation of the first aspect of the present invention, when the waybill purchase mode is a batch purchase mode, whether to trigger the early warning mechanism is determined based on the remaining number of waybills in the courier account, including: when the waybill purchase mode is a batch purchase mode, comparing the remaining number of waybills in the courier account with the final waybill allocation number; when the proportion of the remaining number of waybills in the courier account is less than the third proportion value of the final waybill allocation number and is greater than the fourth proportion value of the final waybill allocation number, triggering the first early warning mechanism; when the proportion of the remaining number of waybills in the courier account is less than the fourth proportion value of the final waybill allocation number, triggering the second early warning mechanism.
[0016] Optionally, in a sixth implementation method of the first aspect of the present invention, if the warning mechanism is triggered, a warning message is generated according to the triggered warning mechanism, including: constructing a warning message template library, the warning message template library including a first-level warning template and a second-level warning template; if the first warning mechanism is triggered, the first-level warning template is called from the warning message template library to generate a first-level warning message; if the second warning mechanism is triggered, the second-level warning template is called from the warning message template library to generate a second-level warning message.
[0017] The second aspect of the present invention provides an express delivery bill purchase management device, including: a prediction module, used to obtain the courier's recent daily delivery situation and bill usage, and predict the initial bill allocation quantity based on the courier's recent daily delivery situation and bill usage; an adjustment module, used to determine whether there is a dynamic adjustment factor, and if so, adjust the initial bill allocation quantity based on the dynamic adjustment factor to obtain the final bill allocation quantity; a replacement module, used to monitor the remaining number of bills in the courier's account, and change the bill purchase mode according to the ratio between the remaining number of bills in the courier's account and the final bill allocation quantity, the bill purchase mode including non-purchase, batch purchase mode and one-order-buy-one-order mode; a judgment module, used to determine whether to trigger the early warning mechanism according to the remaining number of bills in the courier's account when the bill purchase mode is the batch purchase mode; an early warning module, used to generate an early warning message according to the triggered early warning mechanism if the early warning mechanism is triggered.
[0018] Optionally, in a first implementation method of the second aspect of the present invention, the prediction module includes: a first construction unit, used to construct a waybill allocation quantity prediction model based on a long short-term memory network; an acquisition unit, used to obtain the courier's recent daily delivery situation and waybill usage; a prediction unit, used to input the courier's recent daily delivery situation and waybill usage into the waybill allocation quantity prediction model to obtain the initial waybill allocation quantity.
[0019] Optionally, in a second implementation method of the second aspect of the present invention, the adjustment module includes: a judgment unit, used to judge whether there are dynamic adjustment factors, and when there are dynamic adjustment factors, obtain the dynamic adjustment factors and the weights of each factor, the dynamic adjustment factors include at least one of seasonal factors, regional factors, logistics efficiency, and courier personal factors; a determination unit, used to determine the proportion used to adjust the initial waybill allocation quantity according to the weight corresponding to the dynamic adjustment factor; an adjustment unit, used to multiply the initial waybill allocation quantity by the determined proportion to obtain the final waybill allocation quantity.
[0020] Optionally, in a third implementation method of the second aspect of the present invention, the replacement module includes: a first replacement unit, used to monitor the remaining number of waybills in the courier's account, and when the proportion of the remaining number of waybills in the courier's account is greater than the first proportion value of the final number of waybills allocated, switching the waybill purchase mode to a non-purchase mode; a second replacement unit, used to switch the waybill purchase mode to a batch purchase mode when the proportion of the remaining number of waybills in the courier's account is less than the second proportion value of the final number of waybills allocated, and is greater than 0; a third replacement unit, used to switch the waybill purchase mode to a one-by-one purchase mode when the number of waybills in the courier's account is 0.
[0021] Optionally, in a fourth implementation method of the second aspect of the present invention, the judgment module includes: a comparison unit, used to compare the remaining number of waybills in the courier account with the final waybill allocation number when the waybill purchase mode is a batch purchase mode; a first trigger unit, used to trigger a first early warning mechanism when the proportion of the remaining number of waybills in the courier account is less than a third proportion value of the final waybill allocation number and is greater than a fourth proportion value of the final waybill allocation number; a second trigger unit, used to trigger a second early warning mechanism when the proportion of the remaining number of waybills in the courier account is less than the fourth proportion value of the final waybill allocation number.
[0022] Optionally, in a fifth implementation of the second aspect of the present invention, the warning module includes: a second construction unit, used to construct a warning message template library, the warning message template library including a first-level warning template and a second-level warning template; a first generation unit, used to call the first-level warning template from the warning message template library to generate a first-level warning message when the first warning mechanism is triggered; and a second generation unit, used to call the second-level warning template from the warning message template library to generate a second-level warning message when the second warning mechanism is triggered.
[0023] The third aspect of the present invention provides an express delivery bill purchase management device, comprising: a memory and at least one processor, the memory storing computer-readable instructions, the memory and the at least one processor being interconnected via a line; the at least one processor calling the computer-readable instructions in the memory so that the express delivery bill purchase management device executes each step of the express delivery bill purchase management method as described above.
[0024] The fourth aspect of the present invention provides a computer-readable storage medium, which stores computer-readable instructions. When the computer-readable storage medium is run on a computer, it enables the computer to execute the various steps of the express delivery waybill purchase management method as described above.
[0025] In the technical solution provided by the present invention, the courier's daily delivery situation, the use of delivery bills and dynamic adjustment factors are comprehensively considered, and the precise management of the number of delivery bills allocated is achieved through intelligent prediction and adjustment. At the same time, the purchase mode is flexibly switched according to the remaining number of delivery bills, and an early warning mechanism is provided to ensure the smooth progress of the express delivery business and effectively avoid the problem of shortage or waste of delivery bills. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 A first flow chart of the express delivery bill purchase management method provided by an embodiment of the present invention;
[0027] Figure 2 A second flow chart of the express delivery bill purchase management method provided in an embodiment of the present invention;
[0028] Figure 3 A third flow chart of the express delivery bill purchase management method provided in an embodiment of the present invention;
[0029] Figure 4 A fourth flow chart of the express delivery bill purchase management method provided in an embodiment of the present invention;
[0030] Figure 5 A fifth flow chart of the express delivery bill purchase management method provided by an embodiment of the present invention;
[0031] Figure 6 A sixth flow chart of the express delivery bill purchase management method provided by an embodiment of the present invention;
[0032] Figure 7 A schematic diagram of the structure of the express delivery bill purchase management device provided in an embodiment of the present invention;
[0033] Figure 8 A schematic diagram of the structure of an express delivery bill purchase and management device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0034] The embodiment of the present invention provides a method, device, equipment and storage medium for managing the purchase of express delivery bills, which is used to predict and dynamically adjust the number of bills allocated to the courier, and monitor the remaining bills to intelligently switch the purchase mode to ensure sufficient supply of bills. The method includes: obtaining the courier's recent daily delivery situation and bill usage, and predicting the initial bill allocation number based on the courier's recent daily delivery situation and bill usage; judging whether there is a dynamic adjustment factor, and if so, adjusting the initial bill allocation number based on the dynamic adjustment factor to obtain the final bill allocation number; monitoring the remaining bill number in the courier's account, and changing the bill purchase mode according to the ratio between the remaining bill number in the courier's account and the final bill allocation number, the bill purchase mode includes non-purchase, batch purchase mode and one-order purchase mode; when the bill purchase mode is the batch purchase mode, judging whether to trigger the early warning mechanism according to the remaining bill number in the courier's account; if the early warning mechanism is triggered, generating an early warning message according to the triggered early warning mechanism.
[0035] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0036] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 A first embodiment of a method for managing the purchase of express delivery bills in an embodiment of the present invention includes:
[0037] S101. Obtain the courier's recent daily delivery status and waybill usage, and predict the initial waybill allocation quantity based on the courier's recent daily delivery status and waybill usage.
[0038] In this embodiment, the system collects the courier's recent delivery data and waybill usage records, and uses data analysis tools or machine learning models to predict the courier's waybill demand in the future, that is, the initial waybill allocation quantity.
[0039] It is understandable that the execution subject of the present invention may be a courier bill purchase management device, or a terminal or a server, which is not limited here. The embodiment of the present invention is described by taking a server as the execution subject as an example.
[0040] S102. Determine whether there are dynamic adjustment factors. If so, adjust the initial number of waybill allocations based on the dynamic adjustment factors to obtain the final number of waybill allocations.
[0041] In this embodiment, it is evaluated whether there are dynamic factors such as seasonal changes, promotional activities, regional events, etc. that may affect the demand for waybills. If so, the initial waybill allocation quantity is appropriately adjusted based on these factors to obtain a final waybill allocation quantity that is more in line with the actual situation.
[0042] S103, monitor the remaining number of waybills in the courier account, and change the waybill purchase mode according to the ratio between the remaining number of waybills in the courier account and the final number of waybills allocated. The waybill purchase modes include non-purchase mode, bulk purchase mode and one-order purchase mode.
[0043] In this embodiment, the number of remaining waybills in the courier account is monitored in real time or regularly, and compared with the final number of waybills allocated, and the waybills purchase mode is flexibly switched according to the proportional relationship. For example, when the number of remaining waybills is sufficient, the non-purchase mode can be adopted; when the number of remaining waybills is small, it is switched to the batch purchase mode; when the number of remaining waybills is very small or there is no left, the one-order-one-purchase mode is adopted to ensure the timely replenishment of the waybills.
[0044] In this embodiment, the bulk purchase mode refers to a mode in which a courier company or courier purchases a large number of express delivery bills at one time according to business needs. The one-by-one purchase mode refers to a mode in which a courier purchases a single express delivery bill immediately when printing it during shipment.
[0045] S104. When the delivery note purchase mode is the batch purchase mode, determine whether to trigger the early warning mechanism based on the remaining number of delivery notes in the courier account.
[0046] In this embodiment, when the waybill purchase mode is the batch purchase mode, it is determined whether the remaining number of waybills in the courier's account triggers the warning mechanism based on the preset warning threshold.
[0047] S105: If the early warning mechanism is triggered, a warning message is generated according to the triggered early warning mechanism.
[0048] In this embodiment, once the early warning mechanism is triggered, the system immediately generates a corresponding early warning message and sends it to the courier or manager via SMS, email, APP push, etc. The early warning message contains information such as the warning level, the number of remaining delivery orders, and recommended measures, so that relevant personnel can respond and take measures in a timely manner.
[0049] This embodiment provides a method for managing the purchase of express delivery labels, which comprehensively considers the courier's daily delivery situation, the use of the label, and dynamic adjustment factors, and realizes accurate management of the number of label allocations through intelligent prediction and adjustment. At the same time, it flexibly switches the purchase mode according to the remaining number of label, and has an early warning mechanism to ensure the smooth progress of the express delivery business and effectively avoid the problem of shortage or waste of label.
[0050] See also Figure 2 The second embodiment of the express delivery bill purchase management method in the embodiment of the present invention includes:
[0051] S201. Construct a waybill allocation quantity prediction model based on long short-term memory network (LSTM).
[0052] In this embodiment, a waybill allocation quantity prediction model based on a long short-term memory network is constructed, which specifically includes: collecting the delivery records and historical waybill usage records of multiple couriers as sample data; performing data enhancement on the sample data to obtain enhanced data; and using the enhanced data to train and optimize the pre-built LSTM prediction model to obtain a waybill allocation quantity prediction model.
[0053] In this embodiment, the delivery records of multiple couriers are extracted from the database of the courier company, including information such as delivery date, delivery quantity, destination, etc. At the same time, the historical usage records of these couriers are collected, including the number of each purchase of the waybill, the usage time, the usage quantity, etc. These data are integrated into a sample data set for training the LSTM prediction model.
[0054] In this embodiment, data enhancement is an important means to improve the generalization ability of the model. For time series data, more training samples can be generated by time shifting, time scaling, noise addition, etc.
[0055] In this embodiment, the courier's delivery records and historical waybill usage records can be time-shifted, that is, data from different time periods are selected as training samples to increase the diversity of the model.
[0056] At the same time, noise can also be added to some data to simulate the uncertainty factors in actual business and improve the robustness of the model.
[0057] It should be noted that the long short-term memory network (LSTM) is a special recurrent neural network (RNN) that is particularly suitable for processing and predicting long-term dependencies in time series data. In the express delivery business, the delivery status of couriers and the use of waybills often show certain time series characteristics, such as seasonal changes, cyclical fluctuations, etc. Therefore, the LSTM model can capture these characteristics well and make predictions based on them.
[0058] When building an LSTM model, you need to determine the model's input, output, and hidden layer structure and parameters. The input usually includes time series data such as the courier's daily shipment quantity and historical waybill usage; the output is the predicted initial waybill allocation quantity. The number of hidden layers and the number of neurons in each layer need to be optimized according to the specific data set and task requirements.
[0059] In this embodiment, during the training process, the prediction performance of the model is evaluated by adjusting the parameters of the model (such as learning rate, batch size, number of iterations, etc.) and using an appropriate loss function (such as mean square error MSE). Through multiple iterative trainings, the parameters of the model are continuously optimized until the prediction performance of the model reaches a satisfactory level, and the final model is the face order allocation quantity prediction model.
[0060] S202. Obtain the courier's recent daily delivery status and waybill usage status.
[0061] In this embodiment, the courier's recent daily delivery situation and delivery bill usage are extracted from the courier company's real-time database. These data cover a sufficiently long period of time to reflect the courier's delivery habits and delivery bill usage trends.
[0062] S203: Input the courier's recent daily delivery situation and waybill usage into the waybill allocation quantity prediction model to obtain the initial waybill allocation quantity.
[0063] In this embodiment, the acquired data is preprocessed, such as data cleaning, feature extraction, etc., to meet the input requirements of the face sheet allocation quantity prediction model. The processed data is input into the trained face sheet allocation quantity prediction model for prediction, and the predicted value of the courier's face sheet demand in the future period of time, that is, the initial face sheet allocation quantity, is obtained.
[0064] In this embodiment, the powerful time series prediction ability of the long short-term memory network is used to combine the courier's daily delivery situation and historical delivery bill usage data to build an accurate initial delivery bill allocation quantity prediction model. This solution not only improves the accuracy of delivery bill allocation, but also reduces the waste and shortage of delivery bills, and optimizes the operational efficiency of express delivery companies.
[0065] See also Figure 3 A third embodiment of a method for managing the purchase of express delivery bills in an embodiment of the present invention includes:
[0066] S301. Determine whether there are dynamic adjustment factors. If so, obtain the dynamic adjustment factors and the weights of each factor. The dynamic adjustment factors include at least one of seasonal factors, regional factors, logistics efficiency, and courier personal factors.
[0067] In this embodiment, the influence of each dynamic adjustment factor on the number of orders to be allocated needs to be determined in advance, which involves quantitative analysis of seasonal factors, regional factors, logistics efficiency, and courier personal factors to determine their respective weights in the decision-making. The weight reflects the importance of each factor relative to other factors.
[0068] S302. Determine the proportion used to adjust the initial allocation quantity of the delivery note according to the weights corresponding to the dynamic adjustment factors.
[0069] In this embodiment, the proportion of adjusting the initial number of face sheet allocations is obtained by multiplying the weight of each factor by its corresponding adjustment amount (based on the specific circumstances of the factor and historical data), and then adding all the products.
[0070] S303: Multiply the initial waybill allocation quantity by the determined ratio to obtain the final waybill allocation quantity.
[0071] In this embodiment, it is assumed that the dynamic adjustment factors include seasonal factors, regional factors, and logistics efficiency. Due to holidays or promotional activities, the express delivery volume may increase significantly. It is assumed that the weight of the seasonal factor is 0.4, indicating that this factor has a greater impact on the decision.
[0072] Some regions have greater demand for express delivery due to economic development or high population density. Assuming the weight of the regional factor is 0.3, it means that this factor also plays an important role in decision-making.
[0073] The efficiency of the logistics system will affect the speed of using the waybill. Assuming the weight of logistics efficiency is 0.3, it means that the impact of this factor on decision-making is equivalent to the aforementioned regional factors.
[0074] Assume that a courier is initially assigned 1,000 labels.
[0075] Assuming that we are currently in the peak holiday season, the express delivery volume is expected to increase by 50%. Based on the weight of the seasonal factor (0.4), the adjustment ratio is calculated as: 0.4×50%=20%.
[0076] Assume that the express demand in the area that the courier is responsible for is 30% higher than the average level. According to the weight of the regional factor (0.3), the adjustment ratio is calculated as: 0.3×30%=9%.
[0077] Assuming that due to the logistics system upgrade, it is expected that the efficiency of using waybills will increase by 20%. However, since the improvement of logistics efficiency means that fewer waybills are needed, this is a negative adjustment.
[0078] According to the weight of logistics efficiency (0.3), the negative adjustment ratio is calculated as: 0.3×(-20%)=-6%.
[0079] Adding the above three adjustment ratios together, the comprehensive adjustment ratio is 20%+9%-6%=23%, that is, the ratio of adjusting the initial delivery note allocation quantity is 23%.
[0080] Apply the comprehensive adjustment ratio to the initial number of waybills allocated, and the final number of waybills allocated is 1000×(1+23%)=1230.
[0081] Therefore, based on the dynamic adjustment factors and their weights, the final number of waybills allocated to the courier should be adjusted to 1,230.
[0082] In this embodiment, if there are dynamic adjustment factors, the dynamic adjustment factors and the weights of each factor are obtained, and the proportion of the initial waybill allocation quantity that needs to be adjusted is determined based on the weights corresponding to the dynamic adjustment factors. Then, the initial waybill allocation quantity is multiplied by the determined proportion to obtain the final waybill allocation quantity. This can flexibly respond to various dynamically changing environmental factors, ensure the rationality and efficiency of the waybill allocation quantity, and thus improve the efficiency and service quality of logistics operations.
[0083] See also Figure 4 A fourth embodiment of a method for managing the purchase of express delivery bills in an embodiment of the present invention includes:
[0084] S401. Monitor the remaining number of waybills in the courier's account. When the remaining number of waybills in the courier's account is greater than the first proportion value of the final allocated number of waybills, switch the waybill purchase mode to a non-purchase mode.
[0085] S402: When the proportion of the remaining number of waybills in the courier's account is less than the second proportion value of the final number of waybills allocated and is greater than 0, the waybill purchase mode is switched to the batch purchase mode.
[0086] In this embodiment, the first ratio value and the second ratio value are set according to business needs, historical data and operation strategies. The first ratio value is usually set to a higher ratio to ensure that unnecessary purchases are avoided when there are sufficient waybills; the second ratio value is set to a lower ratio to switch to the bulk purchase mode in time before the waybills are about to run out.
[0087] For example, the first ratio is set to 80%, and the second ratio is set to 20%. Taking the final number of delivery notes allocated as 1,000 as an example, when the number of remaining delivery notes drops to 200 (and has not been used up), the system will automatically switch to bulk purchase mode and trigger the corresponding purchase process.
[0088] S403. When the number of delivery notes in the courier's account is 0, the delivery note purchase mode is switched to a one-by-one purchase mode.
[0089] In this embodiment, when the number of waybills in the courier's account is 0, it means that the waybills have been used up and need to be replenished immediately. At this time, the system switches the waybill purchase mode to the one-by-one purchase mode to ensure that the courier can continue to work when the waybills are exhausted, while avoiding the financial pressure that may be caused by purchasing a large number of waybills at one time.
[0090] In this embodiment, by monitoring the remaining number of waybills in the courier's account and dynamically adjusting the waybill purchasing mode based on the proportional relationship between the remaining number of waybills and the final number of waybills allocated, the waste and shortage of waybill resources are effectively avoided, and resource utilization is improved. At the same time, it also ensures that the courier's business needs in different situations are met in a timely manner, thereby improving the overall efficiency and quality of logistics services.
[0091] See also Figure 5 A fifth embodiment of a method for managing the purchase of express delivery bills in an embodiment of the present invention includes:
[0092] S501. When the waybill purchase mode is the batch purchase mode, the remaining number of waybills in the courier account is compared with the final number of waybills allocated.
[0093] S502: When the proportion of the remaining number of waybills in the courier's account is less than the third proportion value of the final number of waybills allocated and is greater than the fourth proportion value of the final number of waybills allocated, the first warning mechanism is triggered.
[0094] S503. When the proportion of the remaining number of waybills in the courier's account is less than the fourth proportion value of the final number of waybills allocated, the second warning mechanism is triggered.
[0095] In this embodiment, the third ratio value and the fourth ratio value are preset according to business needs, historical data and operation strategies. The two ratio values are determined based on the final number of waybill allocations, and the fourth ratio value is less than the third ratio value to form different levels of warning thresholds.
[0096] In this embodiment, the first warning mechanism and the second warning mechanism are warning mechanisms of different levels. When the number of remaining face sheets is less than the third proportion value of the final face sheet allocation number, but greater than the fourth proportion value of the final face sheet allocation number, it means that the number of face sheets is decreasing rapidly, but there is still enough buffer time for replenishment. At this time, a warning notification can be sent to the relevant couriers or managers to remind them to pay attention to the use of face sheets and prepare to purchase the next batch.
[0097] When the remaining number of waybills is less than the fourth ratio of the final number of waybills allocated, it means that the number of waybills is seriously insufficient and may affect normal logistics operations. At this time, measures should be taken immediately for emergency purchase.
[0098] Exemplarily, the third ratio value is set to 50% of the final number of waybills allocated, and the fourth ratio value is set to 20% of the final number of waybills allocated. If the final number of waybills allocated is 1,000, when the remaining number of waybills drops to 500, the first warning mechanism will be triggered, and when the remaining number of waybills drops to 200, the second warning mechanism will be triggered.
[0099] In this embodiment, the circumstances of each triggering of the warning mechanism may also be recorded, including the time, the number of remaining labels, the triggered warning level, etc., to facilitate subsequent analysis and optimization of the settings of the warning mechanism.
[0100] In this embodiment, the effectiveness of the early warning mechanism may also be evaluated regularly, and adjusted and optimized according to business needs and market changes.
[0101] In this embodiment, different levels of early warning mechanisms are triggered by setting the third and fourth proportion values based on the final number of waybills allocated. The remaining number of waybills in the courier account can be effectively monitored in the bulk purchase mode to ensure that they can be replenished in time before they are exhausted, thereby avoiding logistics interruptions caused by shortage of waybills and improving the continuity and stability of logistics operations.
[0102] See also Figure 6 A sixth embodiment of a method for managing the purchase of express delivery bills in an embodiment of the present invention includes:
[0103] S601. Build an early warning message template library, which includes a primary early warning template and a secondary early warning template.
[0104] In this embodiment, the warning message includes the warning level, warning content and suggested measures, etc.
[0105] In this embodiment, according to the requirements, the first-level warning template and the second-level warning template are designed, and a warning message template library is constructed. The designed templates are stored in the warning message template library for subsequent calls.
[0106] In this embodiment, the first-level warning template contains a relatively mild reminder message, such as "Please note that the number of your remaining delivery orders is approaching the warning line."
[0107] The second-level warning template contains more urgent reminder information, such as "Urgent reminder: Your remaining number of shipping labels is seriously insufficient, please replenish it immediately."
[0108] S602: If the first warning mechanism is triggered, a first-level warning template is called from a warning message template library and a first-level warning message is generated.
[0109] In this embodiment, if the first warning mechanism is triggered, a first-level warning template is called from the warning message template library, and relevant information (such as courier name, remaining number of waybills, final number of waybills allocated, etc.) is filled in to generate a first-level warning message, and a suitable sending method (such as SMS, email, APP push, etc.) is selected to send the generated warning message to the corresponding courier or management.
[0110] S603: If the second warning mechanism is triggered, a second-level warning template is called from the warning message template library and a second-level warning message is generated.
[0111] In this embodiment, if the second warning mechanism is triggered, the secondary warning template is called from the warning message template library, and relevant information (such as courier name, remaining number of waybills, final number of waybills allocated, etc.) is filled in to generate a secondary warning message, and a suitable sending method (such as SMS, email, APP push, etc.) is selected to send the generated warning message to the corresponding courier or management.
[0112] In this embodiment, by constructing an early warning message template library, rapid generation and hierarchical response of early warning messages are achieved, thereby improving the flexibility and efficiency of the early warning system.
[0113] The above describes the express delivery bill purchase management method in the embodiment of the present invention. The following describes the device in the embodiment of the present invention. Figure 7 , the implementation method of the express delivery bill purchase management device in the embodiment of the present invention includes:
[0114] Prediction module 701, used to obtain the courier's recent daily delivery situation and waybill usage, and predict the initial waybill allocation quantity based on the courier's recent daily delivery situation and waybill usage;
[0115] An adjustment module 702 is used to determine whether there is a dynamic adjustment factor, and if so, adjust the initial bill allocation quantity based on the dynamic adjustment factor to obtain a final bill allocation quantity;
[0116] A replacement module 703 is used to monitor the remaining number of waybills in the courier account, and to change the waybill purchase mode according to the ratio between the remaining number of waybills in the courier account and the final number of waybills allocated, wherein the waybill purchase mode includes a non-purchase mode, a batch purchase mode, and a one-order purchase mode;
[0117] A judgment module 704 is used to judge whether to trigger an early warning mechanism according to the number of remaining waybills in the courier account when the waybill purchase mode is a batch purchase mode;
[0118] The warning module 705 is used to generate a warning message according to the triggered warning mechanism if the warning mechanism is triggered.
[0119] In this embodiment, the prediction module 701 includes: a first construction unit 7011, used to construct a waybill allocation quantity prediction model based on a long short-term memory network; an acquisition unit 7012, used to obtain the courier's recent daily delivery situation and waybill usage; a prediction unit 7013, used to input the courier's recent daily delivery situation and waybill usage into the waybill allocation quantity prediction model to obtain the initial waybill allocation quantity.
[0120] In this embodiment, the adjustment module 702 includes: a judgment unit 7021, used to judge whether there are dynamic adjustment factors. When there are dynamic adjustment factors, the dynamic adjustment factors and the weights of each factor are obtained, and the dynamic adjustment factors include at least one of seasonal factors, regional factors, logistics efficiency, and courier personal factors; a determination unit 7022, used to determine the proportion used to adjust the initial waybill allocation quantity according to the weight corresponding to the dynamic adjustment factor; an adjustment unit 7023, used to multiply the initial waybill allocation quantity by the determined proportion to obtain the final waybill allocation quantity.
[0121] In this embodiment, the replacement module 703 includes: a first replacement unit 7031, which is used to monitor the remaining number of waybills in the courier's account, and when the proportion of the remaining number of waybills in the courier's account is greater than the first proportion value of the final number of waybills allocated, the waybill purchase mode is switched to the non-purchase mode; a second replacement unit 7032, which is used to switch the waybill purchase mode to the batch purchase mode when the proportion of the remaining number of waybills in the courier's account is less than the second proportion value of the final number of waybills allocated and is greater than 0; a third replacement unit 7033, which is used to switch the waybill purchase mode to the one-by-one purchase mode when the number of waybills in the courier's account is 0.
[0122] In this embodiment, the judgment module 704 includes: a comparison unit 7041, which is used to compare the remaining number of waybills in the courier account with the final number of waybills allocated when the waybill purchase mode is a batch purchase mode; a first trigger unit 7042, which is used to trigger the first early warning mechanism when the proportion of the remaining number of waybills in the courier account is less than the third proportion value of the final number of waybills allocated and is greater than the fourth proportion value of the final number of waybills allocated; a second trigger unit 7043, which is used to trigger the second early warning mechanism when the proportion of the remaining number of waybills in the courier account is less than the fourth proportion value of the final number of waybills allocated.
[0123] In this embodiment, the early warning module 705 includes: a second construction unit 7051, which is used to construct an early warning message template library, and the early warning message template library includes a first-level early warning template and a second-level early warning template; a first generation unit 7052, which is used to call the first-level early warning template from the early warning message template library to generate a first-level early warning message when the first early warning mechanism is triggered; a second generation unit 7053, which is used to call the second-level early warning template from the early warning message template library to generate a second-level early warning message when the second early warning mechanism is triggered.
[0124] In this embodiment, the courier's daily delivery situation, waybill usage and dynamic adjustment factors are comprehensively considered, and accurate management of the number of waybill allocations is achieved through intelligent prediction and adjustment. At the same time, the purchase mode is flexibly switched according to the remaining number of waybills, and an early warning mechanism is set up to ensure the smooth progress of the express delivery business and effectively avoid the problem of shortage or waste of waybills.
[0125] Figure 7 The structure of the express delivery bill purchase management device shown does not constitute a limitation of the express delivery bill purchase management device, and can implement the steps of the express delivery bill purchase management method provided in the above-mentioned method embodiments.
[0126] above Figure 7 The express delivery bill purchase management device in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The express delivery bill purchase management device in the embodiment of the present invention is described in detail from the perspective of hardware processing.
[0127] Figure 8 It is a structural diagram of an express delivery bill purchase management device provided by an embodiment of the present invention. The device 800 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 810 (for example, one or more processors) and a memory 820, and one or more storage media 830 (for example, one or more mass storage devices) storing application programs 833 or data 832. Among them, the memory 820 and the storage medium 830 can be short-term storage or permanent storage. The program stored in the storage medium 830 may include one or more modules (not shown), and each module may include a series of instruction operations in the device 800. Furthermore, the processor 810 can be configured to communicate with the storage medium 830 to execute a series of instruction operations in the storage medium on the device 800.
[0128] The device 800 may also include one or more power supplies 840, one or more wired or wireless network interfaces 850, one or more input and output interfaces 860, and / or one or more operating systems 831, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc.
[0129] An embodiment of the present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the express delivery waybill purchase management method.
[0130] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device, or unit can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.
[0131] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0132] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for managing the purchase of express delivery labels, characterized in that: The express delivery bill purchase management method comprises: Obtain the courier's recent daily delivery status and waybill usage, and predict the initial waybill allocation quantity based on the courier's recent daily delivery status and waybill usage; Determine whether there is a dynamic adjustment factor, and if so, adjust the initial number of face sheet allocations based on the dynamic adjustment factor to obtain a final number of face sheet allocations; Monitor the number of remaining waybills in the courier account, and change the waybill purchase mode according to the ratio between the number of remaining waybills in the courier account and the final number of waybills allocated, wherein the waybill purchase mode includes a non-purchase mode, a batch purchase mode, and a one-order purchase mode; When the waybill purchase mode is a batch purchase mode, judging whether to trigger the early warning mechanism according to the number of waybills remaining in the courier account; If the early warning mechanism is triggered, an early warning message is generated according to the triggered early warning mechanism.
2. The express delivery bill purchase management method according to claim 1, characterized in that: The obtaining of the courier's daily delivery situation and historical usage of waybills, and the prediction of the initial number of waybills to be allocated based on the courier's daily delivery situation and historical usage of waybills, includes: Construct a prediction model for the number of orders allocated based on long short-term memory networks; Obtain the courier's recent daily delivery status and delivery order usage; The courier's recent daily delivery situation and waybill usage situation are input into the waybill allocation quantity prediction model to obtain the initial waybill allocation quantity.
3. The express delivery bill purchase management method according to claim 2, characterized in that: The method of constructing a prediction model for the number of orders allocated based on a long short-term memory network includes: Collect the delivery records and historical waybill usage records of multiple couriers as sample data; Performing data enhancement on the sample data to obtain enhanced data; The pre-built LSTM prediction model is trained and optimized using the enhanced data to obtain a waybill allocation quantity prediction model.
4. The express delivery bill purchase management method according to claim 1, characterized in that: The determining whether there is a dynamic adjustment factor, and if so, adjusting the initial number of face sheet allocations based on the dynamic adjustment factor to obtain a final number of face sheet allocations, includes: Determine whether there are dynamic adjustment factors. If so, obtain the dynamic adjustment factors and the weights of each factor. The dynamic adjustment factors include at least one of seasonal factors, regional factors, logistics efficiency, and courier personal factors. Determine the proportion used to adjust the initial allocation quantity of the shipping order according to the weight corresponding to the dynamic adjustment factor; The final number of waybill allocations is obtained by multiplying the initial number of waybill allocations by the determined ratio.
5. The express delivery bill purchase management method according to claim 1, characterized in that: The remaining number of waybills in the courier account is monitored, and the waybill purchase mode is changed according to the ratio between the remaining number of waybills in the courier account and the final number of waybills allocated, and the waybill purchase mode includes a non-purchase mode, a batch purchase mode, and a one-order purchase mode, including: Monitor the number of remaining waybills in the courier account, and when the proportion of the remaining waybills in the courier account is greater than the first proportion value of the final waybill allocation quantity, switch the waybill purchase mode to a non-purchase mode; When the proportion of the remaining number of waybills in the courier account is less than the second proportion value of the final number of waybills allocated and is greater than 0, the waybill purchase mode is switched to the batch purchase mode; When the number of waybills in the courier's account is 0, the waybill purchase mode is switched to the one-by-one purchase mode.
6. The express delivery bill purchase management method according to claim 1, characterized in that: When the waybill purchase mode is a batch purchase mode, judging whether to trigger the early warning mechanism according to the number of remaining waybills in the courier account includes: When the waybill purchase mode is the batch purchase mode, the remaining waybill quantity in the courier account is compared with the final waybill allocation quantity; When the proportion of the remaining number of waybills in the courier's account is less than the third proportion value of the final number of waybills allocated, and greater than the fourth proportion value of the final number of waybills allocated, the first warning mechanism is triggered; When the proportion of the remaining number of waybills in the courier's account is less than the fourth proportion value of the final number of waybills allocated, the second warning mechanism is triggered.
7. The express delivery bill purchase management method according to claim 6, characterized in that: If the early warning mechanism is triggered, a warning message is generated according to the triggered early warning mechanism, including: Build an early warning message template library, which includes a first-level early warning template and a second-level early warning template; If the first warning mechanism is triggered, the first-level warning template is called from the warning message template library and a first-level warning message is generated; If the second warning mechanism is triggered, the second-level warning template is called from the warning message template library and a second-level warning message is generated.
8. A device for managing the purchase of express delivery labels, characterized in that: include: The prediction module is used to obtain the courier's recent daily delivery status and waybill usage, and predict the initial waybill allocation quantity based on the courier's recent daily delivery status and waybill usage; An adjustment module, used to determine whether there is a dynamic adjustment factor, and if so, adjust the initial bill allocation quantity based on the dynamic adjustment factor to obtain a final bill allocation quantity; A replacement module is used to monitor the remaining number of waybills in the courier account, and to change the waybill purchase mode according to the ratio between the remaining number of waybills in the courier account and the final number of waybills allocated, wherein the waybill purchase mode includes a non-purchase mode, a batch purchase mode, and a one-order purchase mode; A judgment module, used for judging whether to trigger an early warning mechanism according to the number of remaining waybills in the courier account when the waybill purchase mode is a batch purchase mode; The early warning module is used to generate an early warning message according to the triggered early warning mechanism if the early warning mechanism is triggered.
9. A device for purchasing and managing express delivery bills, characterized in that: comprising a memory and at least one processor, wherein the memory has computer-readable instructions stored therein; The at least one processor calls the computer-readable instructions in the memory to execute the various steps of the express delivery waybill purchase management method as described in any one of claims 1-7.
10. A computer-readable storage medium having computer-readable instructions stored thereon, characterized in that: When the computer-readable instructions are executed by the processor, the various steps of the express delivery waybill purchase management method as described in any one of claims 1-7 are implemented.
