Logistics express sheet recharging and distribution method, device and equipment and storage medium

By generating encrypted page orders, establishing a pre-recharge mechanism and formulating allocation strategies, the problem of low efficiency in logistics page order management is solved, and information security and logistics efficiency are improved.

CN118966928APending Publication Date: 2024-11-15SHANGHAI DONGPU INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411168767.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The existing technology is difficult to effectively manage and allocate logistics bills, resulting in marketing companies being inefficient in bill recharge and distribution, and being unable to improve logistics efficiency while ensuring information security.

Method used

By obtaining logistics information to generate facebooks, encrypting sensitive information, establishing a pre-recharge mechanism to calculate the pre-recharge amount or credit limit, establishing a facebook delivery task based on payment results, and formulating a facebook allocation strategy to optimize the delivery process.

Benefits of technology

It improves the recharge and distribution efficiency of logistics facebooks, ensures information security, balances the workload of each distribution point, and improves the overall efficiency of the logistics process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118966928A_ABST
    Figure CN118966928A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of logistics, in particular to a recharging and distributing method, device and equipment for logistics express sheets and a storage medium. The logistics express sheet recharging and distribution method comprises the following steps: obtaining logistics information, generating an express sheet according to the logistics information, encrypting sensitive information on the express sheet, and obtaining a desensitized express sheet; establishing a pre-recharging mechanism, calculating a pre-recharging amount or a credit line of the desensitized express sheet according to the pre-recharging mechanism, outputting the pre-recharging amount or the credit line to obtain a payment result, and establishing an express sheet delivery task according to the payment result; and obtaining all unexecuted express sheet delivery tasks, formulating an express sheet allocation strategy for the unexecuted express sheet delivery tasks, and allocating delivery of each parcel according to the express sheet allocation strategy. According to the method, the settlement efficiency of the logistics process can be effectively improved, and the distribution process of the express sheets is optimized, so that the logistics efficiency is effectively improved.
Need to check novelty before this filing date? Find Prior Art

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 recharging and allocating logistics waybills. Background Art

[0002] With the rise of diversified customer groups such as marketing companies, they have also put forward urgent demands for automated and efficient logistics bill recharge services. Since the existing customer assistants have not yet covered this usage scenario, marketing company customers still face inconveniences in bill recharge, which limits their business operation efficiency. In particular, how to effectively manage a large amount of logistics bill information to ensure fast and accurate bill recharge, distribution and tracking. In addition, with the increasing awareness of privacy protection, how to improve logistics efficiency while ensuring information security has also become a problem that needs to be solved urgently.

[0003] It can be seen that the existing technology still needs to be improved and enhanced. Summary of the invention

[0004] In view of the above-mentioned shortcomings of the prior art, the object of the present invention is to provide a method, device, equipment and storage medium for recharging and distributing logistics waybills, aiming to improve the recharging and distribution efficiency of logistics waybills, thereby improving logistics efficiency.

[0005] In order to achieve the above object, the present invention adopts the following technical solutions:

[0006] The first aspect of the present invention provides a method for charging and allocating a logistics waybill, comprising the following steps:

[0007] Obtain logistics information, generate a waybill based on the logistics information, encrypt the sensitive information on the waybill, and obtain a desensitized waybill; establish a pre-charge mechanism, calculate the pre-chargeable amount or credit limit of the desensitized waybill based on the pre-charge mechanism, output the pre-chargeable amount or credit limit to obtain a payment result, and establish a waybill delivery task based on the payment result; obtain all unexecuted waybill delivery tasks, formulate a waybill allocation strategy for the unexecuted waybill delivery tasks, and allocate the delivery of each package based on the waybill allocation strategy.

[0008] Optionally, in a first implementation method of the first aspect of the present invention, the obtaining of logistics information, generating a waybill according to the logistics information, encrypting sensitive information on the waybill to obtain a desensitized waybill specifically includes: obtaining logistics information, and verifying the logistics information using an electronic signature mechanism; using a barcode or QR code generation algorithm to generate an electronic waybill based on key data in the verified logistics information; and using an advanced encryption standard or a hash algorithm to encrypt sensitive information on the electronic waybill to obtain a desensitized waybill.

[0009] Optionally, in a second implementation method of the first aspect of the present invention, a pre-charge mechanism is established, the pre-charge amount or credit line of the desensitized face sheet is calculated according to the pre-charge mechanism, and the pre-charge amount or credit line is output to obtain a payment result, and a face sheet delivery task is established according to the payment result, specifically including: obtaining a customer list, extracting customer information from the customer list, and classifying the customer information to obtain customer type data; obtaining a face sheet source list, extracting source information from the face sheet source list, and classifying the source information to obtain source type data; establishing a pre-charge mechanism according to the customer type data and the source type data, obtaining a customer recharge instruction, calculating the pre-charge amount or credit line of the desensitized face sheet according to the pre-charge mechanism, and outputting the pre-charge amount or credit line to obtain a payment result, and establishing a face sheet delivery task according to the payment result.

[0010] Optionally, in a third implementation method of the first aspect of the present invention, a pre-charge mechanism is established according to the customer type data and the source type data, the customer recharge instruction is obtained, the pre-chargeable amount or credit limit of the desensitized waybill is calculated according to the pre-charge mechanism, and the pre-chargeable amount or credit limit is output to obtain the payment result, and a waybill delivery task is established according to the payment result, specifically including: establishing a pre-charge mechanism according to the customer type data and the source type data, obtaining the customer recharge instruction, and judging the pre-charge type according to the customer recharge instruction; if the pre-charge type is the amount, calculating the pre-chargeable amount of the waybill according to the pre-charge mechanism; if the pre-charge type is the credit limit, using a credit assessment model to calculate the customer's credit rating, inputting the credit rating into the pre-charge mechanism for matching, and obtaining the credit limit; outputting the pre-chargeable amount or credit limit to obtain the payment result, and establishing the waybill delivery task according to the payment result.

[0011] Optionally, in a fourth implementation manner of the first aspect of the present invention, if the pre-charge type is a credit limit, a credit assessment model is used to calculate the customer's credit rating, and the credit rating is input into the pre-charge mechanism for matching to obtain a credit limit, specifically including: obtaining multiple historical customer data, the historical customer data including order data, payment data, and customer type, and assessing the credit rating based on the historical customer data; training a machine learning model using the historical customer data and credit rating as a training set to obtain a credit assessment model; obtaining customer information, inputting the customer information into the credit assessment model to obtain a credit rating, and inputting the credit rating into the pre-charge mechanism for matching to obtain a credit limit.

[0012] Optionally, in a fifth implementation of the first aspect of the present invention, all unexecuted waybill delivery tasks are obtained, waybill allocation strategies are formulated for the unexecuted waybill delivery tasks, and delivery of each package is arranged according to the waybill allocation strategy, specifically including: obtaining all unexecuted waybill delivery tasks, using the shortest path algorithm to calculate the optimal delivery routes of all unexecuted waybill delivery tasks, and obtaining route data; obtaining historical order data, using time series analysis of the historical order data to obtain logistics demand forecast data; based on the logistics demand forecast data and route data, using a heuristic algorithm to calculate the workload of each delivery node to obtain a waybill allocation strategy, and allocating the delivery of each package according to the waybill allocation strategy.

[0013] Optionally, in a sixth implementation method of the first aspect of the present invention, the historical order data is obtained and the historical order data is analyzed using a time series to obtain logistics demand forecast data, specifically including: obtaining historical order data, cleaning and preprocessing the historical order data; performing a stationarity test on the preprocessed historical order data, and if the test result is not stationary, performing differential processing; selecting a time series model, and inputting the tested historical order data into the time series model for fitting to obtain a fitting model; and using the fitting model to predict future logistics demand to obtain logistics demand forecast data.

[0014] The second aspect of the present invention provides a logistics waybill recharge and distribution device, including: a generation module, used to obtain logistics information, generate a waybill according to the logistics information, encrypt the sensitive information on the waybill, and obtain a desensitized waybill; a recharge module, used to establish a pre-charge mechanism, calculate the pre-chargeable amount or credit limit of the desensitized waybill according to the pre-charge mechanism, output the pre-chargeable amount or credit limit to obtain a payment result, and establish a waybill delivery task according to the payment result; an allocation module, used to obtain all unexecuted waybill delivery tasks, formulate a waybill distribution strategy for the unexecuted waybill delivery tasks, and distribute the delivery of each package according to the waybill distribution strategy.

[0015] Optionally, in a first implementation method of the second aspect of the present invention, the generation module includes: a verification unit, used to obtain logistics information and verify the logistics information using an electronic signature mechanism; a generation unit, used to use a barcode or QR code generation algorithm to generate an electronic waybill based on key data in the verified logistics information; a desensitizing unit, used to encrypt sensitive information on the electronic waybill using an advanced encryption standard or a hash algorithm to obtain a desensitized waybill.

[0016] Optionally, in a second implementation method of the second aspect of the present invention, the recharge module includes: a first acquisition sub-module, used to acquire a customer list, extract customer information in the customer list, and classify the customer information to obtain customer type data; a second acquisition sub-module, used to acquire a waybill source list, extract source information in the waybill source list, and classify the source information to obtain source type data; a recharge sub-module, used to establish a pre-recharge mechanism based on the customer type data and the source type data, acquire customer recharge instructions, calculate the pre-rechargeable amount or credit limit of the desensitized waybill according to the pre-recharge mechanism, output the pre-rechargeable amount or credit limit to obtain a payment result, and establish a waybill delivery task based on the payment result.

[0017] Optionally, in a third implementation method of the second aspect of the present invention, the recharge submodule includes: a judgment unit, which is used to establish a pre-charge mechanism according to customer type data and source type data, obtain customer recharge instructions, and judge the pre-charge type according to the customer recharge instructions; a first calculation unit, which is used to calculate the pre-chargeable amount of the waybill according to the pre-charge mechanism if the pre-charge type is an amount; a second calculation unit, which is used to calculate the customer's credit rating using a credit assessment model if the pre-charge type is a credit limit, input the credit rating into the pre-charge mechanism for matching, and obtain the credit limit; an output unit, which is used to output the pre-chargeable amount or credit limit to obtain a payment result, and establish a waybill delivery task according to the payment result.

[0018] Optionally, in a fourth implementation of the second aspect of the present invention, the second computing unit includes: an acquisition subunit, used to acquire multiple historical customer data, the historical customer data including order data, payment data, and customer type, and assessing credit ratings based on the historical customer data; a construction subunit, used to train a machine learning model using the historical customer data and credit ratings as a training set to obtain a credit assessment model; and a computing subunit, used to acquire customer information, input the customer information into the credit assessment model to obtain a credit rating, and input the credit rating into a pre-charge mechanism for matching to obtain a credit limit.

[0019] Optionally, in a fifth implementation of the second aspect of the present invention, the allocation module includes: a route planning unit, used to obtain all unexecuted waybill delivery tasks, and use the shortest path algorithm to calculate the optimal delivery routes of all unexecuted waybill delivery tasks respectively to obtain route data; a prediction unit, used to obtain historical order data, and use time series analysis of the historical order data to obtain logistics demand forecast data; an allocation unit, used to use a heuristic algorithm to calculate the workload of each distribution node based on the logistics demand forecast data and route data to obtain a waybill allocation strategy, and allocate the delivery of each package according to the waybill allocation strategy.

[0020] Optionally, in a sixth implementation of the second aspect of the present invention, the prediction unit includes: a processing subunit, used to obtain historical order data, and clean and preprocess the historical order data; a verification subunit, used to perform a stationarity test on the preprocessed historical order data, and if the test result is not stationary, perform differential processing; a model subunit, used to select a time series model, input the verified historical order data into the time series model for fitting, and obtain a fitting model; a prediction subunit, used to use the fitting model to predict future logistics demand and obtain logistics demand forecast data.

[0021] The third aspect of the present invention provides a logistics waybill recharge and distribution device, including a memory and at least one processor, wherein the memory stores computer-readable instructions; the at least one processor calls the computer-readable instructions in the memory to execute the various steps of the logistics waybill recharge and distribution method as described above.

[0022] A fourth aspect of the present invention provides a computer-readable storage medium having computer-readable instructions stored thereon, wherein the computer-readable instructions, when executed by a processor, implement the various steps of the method for recharging and allocating the logistics waybill as described above.

[0023] Beneficial effect: The present invention provides a method for charging and distributing logistics waybills. The method generates a waybill according to logistics information, and processes the waybill with encryption technology to obtain a desensitized waybill to protect important customer information. A pre-charging mechanism is then established to improve the settlement efficiency in the logistics process. Finally, a waybill distribution strategy is formulated according to unexecuted waybill delivery tasks, and the delivery of each package is distributed according to the waybill distribution strategy, so that the workload of each delivery point is more balanced, thereby improving the delivery efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A first flow chart of a method for charging and allocating a logistics bill provided in an embodiment of the present invention;

[0025] Figure 2 A second flow chart of the method for recharging and allocating a logistics bill provided in an embodiment of the present invention;

[0026] Figure 3 A third flow chart of the method for recharging and allocating a logistics bill provided in an embodiment of the present invention;

[0027] Figure 4 A fourth flow chart of the method for recharging and allocating a logistics bill provided in an embodiment of the present invention;

[0028] Figure 5A fifth flow chart of the method for recharging and allocating a logistics bill provided in an embodiment of the present invention;

[0029] Figure 6 A sixth flow chart of the method for charging and allocating a logistics bill provided by an embodiment of the present invention;

[0030] Figure 7 A seventh flow chart of the method for charging and allocating a logistics bill provided in an embodiment of the present invention;

[0031] Figure 8 A schematic diagram of the structure of a device for charging and distributing a logistics bill provided in an embodiment of the present invention;

[0032] Fig. 9 Another structural schematic diagram of the recharging and distributing device for the logistics waybill provided in an embodiment of the present invention;

[0033] Fig.10 A schematic diagram of the structure of the logistics bill recharge and distribution equipment provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0034] The present invention provides a method, device, equipment and storage medium for charging and distributing logistics waybills. The present invention obtains logistics information first, generates waybills according to the logistics information, and then encrypts the sensitive information on the waybills to obtain desensitized waybills, thereby ensuring the security of logistics information; then establishes a pre-charging mechanism, calculates the pre-charging amount or credit limit of the desensitized waybills according to the pre-charging mechanism, and then outputs the pre-charging amount or credit limit, and after receiving the payment result, establishes waybills distribution tasks according to the payment result, thereby being able to quickly complete the fee settlement in the logistics process; finally, by obtaining all unexecuted waybills distribution tasks, formulates waybills distribution strategies for the unexecuted waybills distribution tasks, and distributes the distribution of each package according to the waybills distribution strategy, effectively ensuring that the workload of each distribution point is relatively balanced, thereby improving the distribution efficiency.

[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 The first embodiment of the method for charging and allocating a logistics bill in the embodiment of the present invention includes:

[0037] S101. Obtain logistics information, generate a shipping bill according to the logistics information, encrypt sensitive information on the shipping bill, and obtain a desensitized shipping bill;

[0038] When obtaining logistics information, web forms or mobile applications can be used to collect detailed information of the shipper and consignee, such as name, address, telephone number, etc. In addition, blockchain technology can be used to record each piece of logistics information to ensure that the data cannot be tampered with to ensure the accuracy of the data.

[0039] In order to ensure the security of logistics information, the generated waybill is also encrypted in this embodiment, such as hashing the name and telephone number of the consignor and consignee, or hiding some fields, so as to achieve confidentiality and desensitization.

[0040] S102. Establish a pre-charge mechanism, calculate the pre-charge amount or credit limit of the desensitized face sheet according to the pre-charge mechanism, output the pre-charge amount or credit limit to obtain the payment result, and establish the face sheet delivery task according to the payment result;

[0041] In specific applications, customers can pre-charge through online payment platforms. After the logistics service is completed, the automatic deduction system will deduct the corresponding fees from the pre-charged account or credit limit.

[0042] The pre-charge mechanism can improve the completion cycle of the entire logistics process. For pre-charged logistics waybills, transportation and delivery can be arranged immediately. When customers need to issue and pay a large number of waybills, the pre-charge mechanism can speed up the completion of the payment process.

[0043] Specifically, the marketing company can complete the pre-charge process through software. For example, the logistics and express delivery company will provide client software for pre-charge and management of waybills. In the software page, the marketing company can view the waybill balance of each affiliated merchant, and can perform batch waybill recharge operations by searching for single or multiple subordinate merchants. The pre-charge authority can be released to designated customers (marketing companies) by the subordinate outlets of the logistics and express delivery company, so as to better serve customers with large quantities of waybills.

[0044] In the management system, each marketing company will be assigned a code, which is bound to the subordinate service outlets of the logistics express company. In addition to unified regulations, logistics fee rules can also be negotiated by subordinate service outlets and marketing companies and entered into the system, so that they can be quickly executed when pre-charge is required.

[0045] Logistics cost rules may include: implementing different charging standards based on different waybill types. For example, the charging standards for waybills generated by orders placed on platform A and platform B are different. When users pre-recharge the software, they need to select the waybill type (which platform it belongs to) so that the settlement can be completed quickly.

[0046] In the pre-charge mode, in order to meet the needs of different customer groups, you can choose the pre-charge amount or credit limit. The credit limit can give customers with slower cash turnover a better user experience.

[0047] S103. Obtain all unexecuted waybill delivery tasks, formulate waybill allocation strategies for the unexecuted waybill delivery tasks, and allocate the delivery of each package according to the waybill allocation strategy.

[0048] By formulating a delivery order allocation strategy, we can effectively cope with the imbalance of transportation capacity in different regions caused by fluctuations in logistics demand in different periods or seasons. We can transfer delivery orders from outlets with insufficient transportation capacity to nearby outlets, or allocate transportation capacity support, thereby improving distribution efficiency.

[0049] The method for charging and distributing logistics waybills provided by the present invention generates waybill information automatically, establishes a pre-charging mechanism for waybills, and then formulates a waybill distribution strategy for unexecuted waybill delivery tasks, thereby improving the management level of logistics waybills. In particular, the pre-charging mechanism reduces human errors and increases settlement speed, and optimizes waybill distribution in the delivery process, thereby improving delivery efficiency.

[0050] See also Figure 2 The second embodiment of the method for charging and allocating a logistics bill in the embodiment of the present invention includes:

[0051] S201. Obtain logistics information and verify the logistics information using an electronic signature mechanism;

[0052] The use of electronic signature mechanism can verify the integrity of information and the identity of the sender of logistics information, and improve the traceability of logistics orders;

[0053] S202. Generate an electronic waybill based on key data in the verified logistics information using a barcode or QR code generation algorithm;

[0054] By using barcode or two-dimensional code generation algorithms (such as QR Code or Data Matrix) to encode key information of logistics labels, it can be easily read by machines;

[0055] S203. Use the Advanced Encryption Standard or hash algorithm to encrypt the sensitive information on the electronic waybill to obtain a desensitized waybill.

[0056] The Advanced Encryption Standard (AES) is highly secure, supports multiple key lengths, and has the advantages of fast encryption speed and low resource consumption. It has good compatibility on multiple platforms such as PCs, servers, and mobile devices. Hash algorithm encryption is irreversible, which prevents encrypted sensitive information from being stolen, thereby improving the security of logistics information.

[0057] See also Figure 3 The third embodiment of the method for charging and allocating a logistics bill in the embodiment of the present invention includes:

[0058] S301. Obtain a customer list, extract customer information from the customer list, and classify the customer information to obtain customer type data;

[0059] In this embodiment, in order to better distinguish customers and form corresponding charging standards for different customers, customers need to be classified in advance. For example, customers are classified according to the number of logistics orders, transportation amount, and type of goods. For customers with a large number of logistics orders or a high cumulative transportation amount, relatively preferential charging standards are adopted, and for goods with high value, easy to damage, or difficult to transport, higher charging standards are adopted.

[0060] S302. Obtain a list of delivery bill sources, extract source information from the list of delivery bill sources, and classify the source information to obtain source type data;

[0061] Different charging standards are also required for different delivery orders from different sources to meet the delivery requirements of different online shopping platforms. For example, if the delivery order comes from platform A, and platform A has higher delivery time requirements, a higher charging standard will be required.

[0062] S303. Establish a pre-charge mechanism based on the customer type data and source type data, obtain the customer's recharge instruction, calculate the pre-chargeable amount or credit limit of the desensitized waybill according to the pre-charge mechanism, output the pre-chargeable amount or credit limit to obtain the payment result, and establish the waybill delivery task according to the payment result.

[0063] After the pre-charge mechanism is formulated based on the customer type data and source type data, the pre-charge amount or credit limit can be formed according to the recharge needs of the customer. In addition, according to the specific circumstances of each customer, the charging standards for each customer can be adjusted separately and further written into the pre-charge mechanism. According to customer needs, the amount or credit limit can be selected during pre-charge. When the payment is successful, the system establishes a delivery task for the waybill.

[0064] See also Figure 4 The fourth embodiment of the method for recharging and allocating a logistics bill in the embodiment of the present invention includes:

[0065] S401. Establish a pre-charge mechanism based on customer type data and source type data, obtain customer recharge instructions, and determine the pre-charge type based on the customer recharge instructions;

[0066] S402. If the pre-charge type is amount, the pre-charge amount of the bill is calculated according to the pre-charge mechanism;

[0067] S403. If the pre-charge type is a credit limit, the credit rating of the customer is calculated using a credit assessment model, and the credit rating is input into the pre-charge mechanism for matching to obtain a credit limit;

[0068] S404. Output the prechargeable amount or credit limit to obtain the payment result, and establish the delivery task according to the payment result.

[0069] In the client of the system, customers can choose the amount or credit line for pre-recharge. Before pre-recharge, they need to enter the number of bills in the system. Before recharge, the system will automatically bring out the name of the outlet to which the store belongs, the customer code, and the name of the store to be recharged, etc., for the customer to confirm. When the system receives the instruction of the pre-recharge amount, the pre-rechargeable amount of the bill is calculated according to the pre-recharge mechanism. If the system receives the instruction of the pre-recharge credit line, the credit rating of the customer is calculated by the credit evaluation model, and the credit rating is input into the pre-recharge mechanism for matching to obtain the available credit line. If the available credit line is greater than the credit line that needs to be pre-recharged, the pre-rechargeable credit line and the credit line balance are output. If the available credit line is less than the credit line that needs to be pre-recharged, the pre-rechargeable credit line and the amount that needs to be pre-recharged are output, and the credit line balance is displayed as 0. In this embodiment, the higher the credit rating of the customer, the higher the credit line obtained.

[0070] See also Figure 5 The fifth embodiment of the method for charging and allocating a logistics bill in the embodiment of the present invention includes:

[0071] S501. Acquire multiple historical customer data, the historical customer data includes order data, payment data, customer type, and assess credit rating based on historical customer data;

[0072] Specifically, in this embodiment, the credit rating of a customer can be assessed based on order data, payment data, and customer type. For example, a customer with a large number of delivery orders in recent months or the previous quarter has a higher credit rating; based on payment data, a customer who has paid fees in advance multiple times, has no outstanding records, and settles fees earlier each month has a higher credit rating; different credit ratings are set based on customer types, such as self-employed individuals, listed companies, and small companies.

[0073] S502. Using the historical customer data and credit rating as a training set, training a machine learning model to obtain a credit assessment model;

[0074] S503. Obtain customer information, input the customer information into the credit assessment model, obtain a credit rating, input the credit rating into the pre-charge mechanism for matching, and obtain a credit limit.

[0075] Using a credit assessment model to assess credit limits can avoid human errors and quickly assess the credit rating of new customers who have opened pre-charge permissions. Defining credit limits based on credit ratings can make customer credit limits more reasonable and effectively reduce fee settlement risks.

[0076] See also Figure 6 The sixth embodiment of the method for charging and allocating a logistics bill in the embodiment of the present invention includes:

[0077] S601. Obtain all unexecuted delivery tasks, use the shortest path algorithm to calculate the best delivery routes for all unexecuted delivery tasks, and obtain route data;

[0078] Applying the shortest path algorithm in graph theory (such as Dijkstra algorithm) to calculate the best delivery route can optimize the delivery route, reduce transportation costs and save transportation time.

[0079] S602. Obtain historical order data and use time series analysis to obtain logistics demand forecast data;

[0080] Time series analysis (such as ARIMA or Prophet) can predict logistics demand in the future. It can predict the logistics demand of the next cycle through historical order data, so that fast logistics companies can arrange personnel and vehicles in advance to improve distribution efficiency. For example, when it is predicted that the logistics demand will decrease in the future, employees can be arranged to take time off appropriately; when it is predicted that the logistics demand will increase sharply in the future, temporary workers can be hired in advance.

[0081] S603. Based on the logistics demand forecast data and route data, a heuristic algorithm is used to calculate the workload of each distribution node to obtain a waybill allocation strategy, and the delivery of each package is allocated according to the waybill allocation strategy.

[0082] Specifically, the workload of each distribution node can be balanced by using heuristic algorithms such as genetic algorithms or simulated annealing algorithms, so that the load of each distribution node is balanced.

[0083] See also Figure 7The seventh embodiment of the method for recharging and allocating a logistics bill in the embodiment of the present invention includes:

[0084] S701. Obtain historical order data, clean and preprocess the historical order data;

[0085] Specifically, cleaning data includes removing noise, missing values, outliers, etc. Preprocessing includes formatting, standardizing or normalizing data for subsequent analysis. For example, converting order dates into time series indices and converting order quantities into a form suitable for model input.

[0086] S702. Perform a stationarity test on the pre-processed historical order data. If the test result is not stationary, perform differential processing;

[0087] Stationarity test: Check whether the time series data is stationary, that is, the statistical properties of the data (such as mean, variance) do not change over time. This can be done through methods such as ADF (Augmented Dickey-Fuller) test. Difference processing: If the data is not stationary, it is made stationary through difference (first or multiple order difference).

[0088] S703. Select a time series model, input the verified historical order data into the time series model for fitting, and obtain a fitting model;

[0089] Choose an appropriate time series model based on the characteristics of the data and the forecasting requirements. Commonly used models include ARIMA (autoregressive integrated moving average model) and SARIMA (seasonal ARIMA). When fitting, you can use the statsmodels library to fit statistical models such as ARIMA and SARIMA.

[0090] S704. Use the fitting model to predict future logistics demand and obtain logistics demand forecast data. By using the fitting model to predict future logistics demand, the result obtained is more accurate, which can make the distribution of the waybill more reasonable.

[0091] The above describes the recharge and distribution method of the logistics bill in the embodiment of the present invention. The following describes the recharge and distribution device of the logistics bill in the embodiment of the present invention. Figure 8 In one embodiment of the present invention, a device for charging and distributing a logistics bill includes:

[0092] A generating module 10 is used to obtain logistics information, generate a waybill according to the logistics information, encrypt sensitive information on the waybill, and obtain a desensitized waybill;

[0093] The recharge module 20 is used to establish a pre-charge mechanism, calculate the pre-charge amount or credit limit of the desensitized waybill according to the pre-charge mechanism, output the pre-charge amount or credit limit to obtain a payment result, and establish a waybill delivery task according to the payment result;

[0094] The allocation module 30 is used to obtain all unexecuted delivery tasks of the waybill, formulate a waybill allocation strategy for the unexecuted delivery tasks of the waybill, and allocate the delivery of each package according to the waybill allocation strategy.

[0095] See also Fig. 9 In one embodiment of the present invention, a device for charging and distributing a logistics bill includes:

[0096] A generating module 10 is used to obtain logistics information, generate a waybill according to the logistics information, encrypt sensitive information on the waybill, and obtain a desensitized waybill;

[0097] The recharge module 20 is used to establish a pre-charge mechanism, calculate the pre-charge amount or credit limit of the desensitized waybill according to the pre-charge mechanism, output the pre-charge amount or credit limit to obtain a payment result, and establish a waybill delivery task according to the payment result;

[0098] The allocation module 30 is used to obtain all unexecuted delivery tasks of the waybill, formulate a waybill allocation strategy for the unexecuted delivery tasks of the waybill, and allocate the delivery of each package according to the waybill allocation strategy;

[0099] In this embodiment, the generating module 10 includes:

[0100] A verification unit 11 is used to obtain logistics information and verify the logistics information using an electronic signature mechanism;

[0101] A generating unit 12, configured to generate an electronic waybill according to key data in the verified logistics information by using a barcode or QR code generating algorithm;

[0102] The desensitizing unit 13 is used to encrypt the sensitive information on the electronic waybill by using the Advanced Encryption Standard or the Hash algorithm to obtain a desensitized waybill;

[0103] In this embodiment, the recharge module 20 includes:

[0104] The first acquisition submodule 21 is used to acquire a customer list, extract customer information in the customer list, and classify the customer information to obtain customer type data;

[0105] The second acquisition submodule 22 is used to acquire a list of sources of the waybill, extract source information from the list of sources of the waybill, and classify the source information to obtain source type data;

[0106] The recharge submodule 23 is used to establish a pre-charge mechanism according to the customer type data and the source type data, obtain the customer's recharge instruction, calculate the pre-chargeable amount or credit limit of the desensitized waybill according to the pre-charge mechanism, output the pre-chargeable amount or credit limit to obtain the payment result, and establish the waybill delivery task according to the payment result;

[0107] In this embodiment, the recharge submodule 23 includes:

[0108] The judgment unit 231 is used to establish a pre-charge mechanism according to the customer type data and the source type data, obtain the customer recharge instruction, and judge the pre-charge type according to the customer recharge instruction;

[0109] A first calculation unit 232 is used to calculate the pre-chargeable amount of the waybill according to the pre-charge mechanism if the pre-charge type is an amount;

[0110] The second calculation unit 233 is used to calculate the customer's credit rating using a credit assessment model if the pre-charge type is a credit limit, input the credit rating into the pre-charge mechanism for matching, and obtain the credit limit; the output unit is used to output the pre-chargeable amount or the credit limit to obtain a payment result, and establish a delivery task for the delivery bill according to the payment result;

[0111] In this embodiment, the second calculation unit 233 includes:

[0112] The acquisition subunit 2331 is used to acquire a plurality of historical customer data, wherein the historical customer data includes order data, payment data, and customer type, and to assess the credit rating according to the historical customer data;

[0113] Constructing a subunit 2332, for training a machine learning model using the historical customer data and credit rating as a training set to obtain a credit assessment model;

[0114] The calculation subunit 2333 is used to obtain customer information, input the customer information into the credit assessment model to obtain a credit rating, input the credit rating into the pre-charge mechanism for matching, and obtain a credit limit;

[0115] In this embodiment, the allocation module 30 includes:

[0116] The route planning unit 31 is used to obtain all unexecuted delivery tasks of the waybill, and use the shortest path algorithm to calculate the optimal delivery routes of all unexecuted delivery tasks to obtain route data;

[0117] A prediction unit 32, used to obtain historical order data, and use time series analysis on the historical order data to obtain logistics demand prediction data;

[0118] The allocation unit 33 is used to calculate the workload of each distribution node using a heuristic algorithm according to the logistics demand forecast data and route data to obtain a delivery order allocation strategy, and allocate the delivery of each package according to the delivery order allocation strategy;

[0119] In this embodiment, the prediction unit 32 includes:

[0120] The processing subunit 321 is used to obtain historical order data, clean and pre-process the historical order data;

[0121] The inspection subunit 322 is used to perform a stationarity inspection on the pre-processed historical order data, and if the inspection result is not stationary, perform a differential processing;

[0122] The model subunit 323 is used to select a time series model, input the verified historical order data into the time series model for fitting, and obtain a fitting model;

[0123] The prediction subunit 324 is used to predict future logistics demand by using a fitting model to obtain logistics demand prediction data.

[0124] The logistics waybill charging and distribution device provided by the present invention generates a waybill containing necessary logistics information by electronic means, and forms a desensitized waybill by encryption means, and then designs a pre-charging mechanism: allowing pre-charging of a certain amount or credit limit to facilitate fee settlement during the logistics process, and finally through intelligent distribution, dynamically adjusts the waybill distribution strategy according to logistics demand to improve delivery efficiency.

[0125] The above is a detailed description of the recharge and distribution device of the logistics waybill in the embodiment of the present invention from the perspective of modular functional entities. The following is a detailed description of the recharge and distribution device of the logistics waybill in the embodiment of the present invention from the perspective of hardware processing.

[0126] Fig.10A schematic diagram of the structure of a charging and distributing device for a logistics bill provided in an embodiment of the present invention, the charging and distributing device 900 for the logistics bill may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 910 (for example, one or more processors) and a memory 920, and one or more storage media 930 (for example, one or more mass storage devices) storing application programs 933 or data 932. Among them, the memory 920 and the storage medium 930 can be temporary storage or permanent storage. The program stored in the storage medium 930 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the charging and distributing device 900 for the logistics bill. Furthermore, the processor 910 may be configured to communicate with the storage medium 930, and execute a series of instruction operations in the storage medium 930 on the charging and distributing device 900 for the logistics bill, so as to implement the steps of the charging and distributing method for the logistics bill provided in the above-mentioned method embodiments.

[0127] The logistics bill charging and distribution device 900 may also include one or more power supplies 940, one or more wired or wireless network interfaces 950, one or more input and output interfaces 960, and / or one or more operating systems 931, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Fig.10 The shown structure of the charging and dispensing equipment for the logistics waybill does not constitute a limitation on the charging and dispensing equipment for the logistics waybill, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0128] 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 method for recharging and allocating a logistics waybill.

[0129] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the equipment or device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0130] 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.

[0131] It is understandable that those skilled in the art can make equivalent substitutions or changes based on the technical solution and inventive concept of the present invention, and all these changes or substitutions should fall within the protection scope of the claims attached to the present invention.

Claims

1. A method for charging and distributing a logistics bill, characterized in that: The steps include: Obtaining logistics information, generating a shipping bill according to the logistics information, encrypting sensitive information on the shipping bill, and obtaining a desensitized shipping bill; Establish a pre-charge mechanism, calculate the pre-charge amount or credit limit of the desensitized waybill according to the pre-charge mechanism, output the pre-charge amount or credit limit to obtain a payment result, and establish a waybill delivery task according to the payment result; Obtain all unexecuted waybill delivery tasks, formulate waybill allocation strategies for the unexecuted waybill delivery tasks, and allocate the delivery of each package according to the waybill allocation strategy.

2. The method for recharging and distributing logistics waybills according to claim 1, characterized in that: The obtaining of logistics information, generating a waybill according to the logistics information, encrypting sensitive information on the waybill, and obtaining a desensitized waybill specifically includes: Obtain logistics information and verify the logistics information using an electronic signature mechanism; Use barcode or QR code generation algorithm to generate electronic waybills based on key data in verified logistics information; The sensitive information on the electronic waybill is encrypted using the Advanced Encryption Standard or hash algorithm to obtain a desensitized waybill.

3. The method for recharging and distributing logistics waybills according to claim 1, characterized in that: The pre-charge mechanism is established, and the pre-charge amount or credit limit of the desensitized face sheet is calculated according to the pre-charge mechanism, and the pre-charge amount or credit limit is output to obtain the payment result, and the face sheet delivery task is established according to the payment result, specifically including: Obtaining a customer list, extracting customer information from the customer list, and classifying the customer information to obtain customer type data; Obtaining a list of delivery bill sources, extracting source information from the list of delivery bill sources, and classifying the source information to obtain source type data; Establish a pre-charge mechanism based on customer type data and source type data, obtain customer recharge instructions, calculate the pre-chargeable amount or credit limit of the desensitized waybill based on the pre-charge mechanism, output the pre-chargeable amount or credit limit to obtain the payment result, and establish the waybill delivery task based on the payment result.

4. The method for recharging and distributing logistics waybills according to claim 3 is characterized in that: The method of establishing a pre-charge mechanism according to the customer type data and the source type data, obtaining the customer's recharge instruction, calculating the pre-chargeable amount or credit limit of the desensitized face sheet according to the pre-charge mechanism, outputting the pre-chargeable amount or credit limit to obtain the payment result, and establishing the face sheet delivery task according to the payment result specifically includes: Establish a pre-charge mechanism based on customer type data and source type data, obtain customer recharge instructions, and determine the pre-charge type based on customer recharge instructions; If the pre-charge type is amount, the pre-charge amount on the waybill is calculated according to the pre-charge mechanism; If the pre-charge type is a credit limit, the credit rating of the customer is calculated using a credit assessment model, and the credit rating is input into the pre-charge mechanism for matching to obtain the credit limit; Output the pre-chargeable amount or credit limit to obtain the payment result, and establish the delivery task based on the payment result.

5. The method for recharging and distributing logistics waybills according to claim 4, characterized in that: If the pre-charge type is a credit limit, a credit assessment model is used to calculate the customer's credit rating, and the credit rating is input into the pre-charge mechanism for matching to obtain the credit limit, specifically including: Acquire multiple historical customer data, the historical customer data including order data, payment data, and customer type, and assess the credit rating based on the historical customer data; Using the historical customer data and credit ratings as a training set, training a machine learning model to obtain a credit assessment model; Obtain customer information, input the customer information into the credit assessment model, obtain a credit rating, input the credit rating into a pre-charge mechanism for matching, and obtain a credit limit.

6. The method for recharging and distributing logistics waybills according to claim 1, characterized in that: The obtaining of all unexecuted delivery tasks, formulating delivery strategies for the unexecuted delivery tasks, and arranging delivery for each package according to the delivery strategy specifically includes: Obtain all unexecuted delivery tasks, use the shortest path algorithm to calculate the best delivery routes for all unexecuted delivery tasks, and obtain route data; Obtain historical order data and use time series analysis to obtain logistics demand forecast data; Based on the logistics demand forecast data and route data, a heuristic algorithm is used to calculate the workload of each distribution node to obtain a waybill allocation strategy, and the delivery of each package is allocated according to the waybill allocation strategy.

7. The method for charging and distributing logistics waybills according to claim 6, characterized in that: The acquisition of historical order data and the use of time series analysis to obtain logistics demand forecast data specifically include: Obtain historical order data, clean and preprocess the historical order data; Perform a stationarity test on the preprocessed historical order data. If the test result is not stationary, perform differential processing; Select a time series model, input the verified historical order data into the time series model for fitting, and obtain a fitting model; The fitting model is used to predict future logistics demand and obtain logistics demand forecast data.

8. A device for charging and distributing logistics waybills, characterized in that: include: A generation module is used to obtain logistics information, generate a waybill according to the logistics information, encrypt sensitive information on the waybill, and obtain a desensitized waybill; A recharge module is used to establish a pre-charge mechanism, calculate the pre-chargeable amount or credit limit of the desensitized waybill according to the pre-charge mechanism, output the pre-chargeable amount or credit limit to obtain a payment result, and establish a waybill delivery task according to the payment result; The allocation module is used to obtain all unexecuted waybill delivery tasks, formulate waybill allocation strategies for the unexecuted waybill delivery tasks, and allocate the delivery of each package according to the waybill allocation strategy.

9. A logistics bill recharge and distribution device, 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 method for recharging and allocating a logistics waybill 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 a processor, the various steps of the method for recharging and allocating a logistics waybill as described in any one of claims 1 to 7 are implemented.