A cross-border logistics order processing method and system
By using configurable mapping and Euclidean distance to associate orders with cross-border logistics contracts, the problem of low efficiency in generating cross-border logistics settlement fees has been solved, thereby improving the accuracy and efficiency of settlement fees.
Patent Information
- Application Number
- CN202510934474.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-08
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2045-07-08
AI Technical Summary
The low efficiency of cross-border logistics settlement fee generation is mainly due to the low degree of matching between cross-border logistics contracts and billing rules, and the inability to adjust them in a timely manner.
By configuring the mapping, product information is entered into the order. The cross-border logistics contract of each order is associated with Euclidean distance. Billing rules are configured to generate settlement fees. The accuracy of the settlement fees is determined by the reconciliation platform. The processing method is adjusted according to the accuracy and variance, including concurrency, Euclidean distance threshold and system data integration interface update cycle.
It improves the efficiency and accuracy of cross-border logistics settlement fee generation, ensures the matching of orders with cross-border logistics contracts and billing rules, and enables fast and accurate generation and adjustment of settlement fees.
Smart Images

Figure CN120430713B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cross-border logistics order processing, and in particular to a cross-border logistics order processing method and system. Background Art
[0002] Cross-border logistics order processing is a core component supporting the efficient operation of global trade. Its technical system encompasses multiple dimensions, including order management, data collaboration, logistics tracking, automated operations, and intelligent decision-making, forming a highly integrated technological ecosystem. The order management system is the core of this ecosystem, integrating order receipt, inventory allocation, logistics scheduling, and financial settlement through automated processes. The system supports multi-channel order access and enables intelligent processing of operations such as order review, splitting and merging, and status synchronization.
[0003] Chinese Patent Publication No.: CN119027011A discloses a cross-border logistics order processing method and system, the implementation method of the method includes: obtaining the logistics service products included in the logistics service standard products indicated by the logistics order request, the logistics service standard products are defined by the supply chain fulfillment scheduling platform, and the logistics service products are defined by one or more logistics service providers; determining the logistics order type identifier and the waybill type identifier of the logistics service product, the logistics order type identifier indicates the logistics synchronous order or the logistics asynchronous order, and the waybill type identifier indicates the logistics waybill synchronous processing or the logistics waybill asynchronous processing; providing the logistics order type identifier, the waybill type identifier and the order information included in the logistics order request to the cross-border docking platform; after receiving the waybill number and waybill of the logistics order transmitted by the logistics service provider through the cross-border docking platform, transmitting the waybill number and waybill to the cross-border warehouse management end.
[0004] It can be seen that the following problems exist in the existing technology: since cross-border logistics contracts and billing rules do not match orders well and cannot be adjusted in a timely manner, the efficiency of generating cross-border logistics settlement fees is low. Summary of the Invention
[0005] To this end, the present invention provides a cross-border logistics order processing method and system to overcome the problem in the prior art of low efficiency in generating cross-border logistics settlement fees due to the low matching degree between cross-border logistics contracts and billing rules and orders and the inability to adjust them in a timely manner.
[0006] To achieve the above objectives, the present invention provides a cross-border logistics order processing method, comprising:
[0007] Enter multiple product information into multiple orders based on configurable mapping;
[0008] Associating the cross-border logistics contracts corresponding to each of the orders based on Euclidean distance;
[0009] Enter multiple cross-border logistics contracts;
[0010] Configuring billing rules for the multiple orders associated with the cross-border logistics contract based on the content of the contract, and generating settlement fees corresponding to the multiple orders based on the multiple billing rules;
[0011] Inputting the settlement fees, the billing rules, and the cross-border logistics contract of the multiple orders associated with the cross-border logistics contract into the reconciliation platform to determine whether the settlement fees are correct;
[0012] Determining whether the generated cross-border logistics settlement fee is qualified based on the accuracy of the settlement fees of the multiple orders associated with the cross-border logistics contract, and generating a corresponding treatment method based on the reason for disqualification if the generated cross-border logistics settlement fee is unqualified, wherein the treatment method includes adjusting the concurrency during mapping, adjusting the distance threshold of the Euclidean distance, and adjusting the update cycle of the interface during system data integration;
[0013] Adjustments are made based on the corresponding processing methods.
[0014] Furthermore, the process of determining whether the generated cross-border logistics settlement fees are qualified based on the accuracy of the settlement fees of the multiple orders associated with the cross-border logistics contract includes: calculating the accuracy of the settlement fees of the multiple orders associated with the cross-border logistics contract; determining whether the generated cross-border logistics settlement fees are qualified based on the comparison result of the accuracy and the pre-stored preset accuracy; if the accuracy is greater than or equal to the first preset accuracy, determining that the generated cross-border logistics settlement fees are qualified; if the accuracy is less than the first preset accuracy and greater than the second preset accuracy, determining whether the generated cross-border logistics settlement fees are qualified based on the variance of the accuracy of the settlement fees of the multiple historical orders associated with the cross-border logistics contract at historical moments; if the accuracy is less than or equal to the second preset accuracy, determining that the generated cross-border logistics settlement fees are unqualified, and determining the reason for the unqualified generated cross-border logistics settlement fees based on the difference between the accuracy and the preset accuracy.
[0015] Furthermore, the process of determining whether the generated cross-border logistics settlement fee is qualified based on the variance of the accuracy of the settlement fees of multiple historical orders associated with the cross-border logistics contract at the historical moment includes: obtaining the accuracy of the settlement fees of multiple historical orders associated with the cross-border logistics contract at the historical moment; calculating the variance of the accuracy; comparing the variance with the preset variance; if the variance is greater than the preset variance, determining that the generated cross-border logistics settlement fee is unqualified, and determining the reason for the unqualified generated cross-border logistics settlement fee based on the difference between the accuracy and the preset accuracy; if the variance is less than or equal to the preset variance, adjusting the contract renewal period based on the second difference between the preset variance and the variance.
[0016] Furthermore, the process of adjusting the contract renewal period based on the difference between the preset variance and the variance includes: reducing the contract renewal period based on a second difference between the preset variance and the variance, and the second difference is proportional to the reduction extent of the contract renewal period.
[0017] Furthermore, the process of determining the reason for the generated cross-border logistics settlement fee to be unqualified based on the difference between the accuracy rate and the preset accuracy rate includes: determining the reason for the generated cross-border logistics settlement fee to be unqualified based on the comparison result of the difference between the accuracy rate and the preset accuracy rate and the pre-stored preset difference; if the difference is greater than or equal to the first preset difference, adjusting the concurrency during mapping based on the ratio of the accuracy rate to the second preset accuracy rate; if the difference is less than the first preset difference and greater than the second preset difference, drawing a time-difference curve, and determining the reason for the generated cross-border logistics settlement fee to be unqualified based on the average value of the absolute value of the curve slope; if the difference is less than or equal to the second preset difference, adjusting the distance threshold of the Euclidean distance based on the ratio of the difference to the preset difference.
[0018] Furthermore, the process of determining the reason for the generated cross-border logistics settlement fee being unqualified based on the average value of the absolute value of the curve slope includes: calculating the average value of the absolute value of the curve slope at different times; comparing the average value with the preset average value; if the average value is greater than the preset average value, adjusting the update cycle of the interface during system data integration based on the exchange rate volatility; if the average value is less than or equal to the preset average value, adjusting the concurrency during mapping based on the ratio of the accuracy rate to the second preset accuracy rate.
[0019] Furthermore, the process of adjusting the update period of the interface during system data integration based on the exchange rate volatility includes: reducing the update period of the interface during system data integration based on the exchange rate volatility, and the exchange rate volatility is proportional to the reduction extent of the interface update period.
[0020] Furthermore, the process of adjusting the concurrency during mapping based on the ratio of the accuracy rate to the second preset accuracy rate includes: increasing the concurrency during mapping based on the ratio of the accuracy rate to the second preset accuracy rate, and the ratio is inversely proportional to the increase in concurrency.
[0021] Furthermore, the process of adjusting the distance threshold of the Euclidean distance based on the ratio of the difference value to the preset difference value includes: increasing the distance threshold of the Euclidean distance based on the ratio of the difference value to the preset difference value, and the ratio is proportional to the increase in the distance threshold of the Euclidean distance.
[0022] To achieve the above objectives, the present invention provides a cross-border logistics order processing system, comprising:
[0023] An information entry unit, configured to enter information of multiple products into multiple orders based on a configured mapping;
[0024] a contract association unit, connected to the information input unit, for associating the cross-border logistics contract corresponding to each order based on Euclidean distance;
[0025] A contract entry unit, connected to the contract association unit, for entering a plurality of cross-border logistics contracts;
[0026] a fee generation unit connected to the contract entry unit, configured to configure billing rules for the multiple orders associated with the cross-border logistics contract based on the content of the contract, and to generate settlement fees corresponding to the multiple orders based on the multiple billing rules;
[0027] a determination unit connected to the fee generation unit, configured to input the settlement fees, the billing rules, and the cross-border logistics contract of the plurality of orders associated with the cross-border logistics contract into the reconciliation platform, and determine whether the settlement fees are correct;
[0028] an analysis unit connected to the determination unit, configured to determine whether the generated cross-border logistics settlement fee is qualified based on the accuracy of the settlement fee of the plurality of orders associated with the cross-border logistics contract, and to generate a corresponding treatment method based on the reason for the disqualification if the cross-border logistics settlement fee is unqualified, wherein the treatment method includes adjusting the concurrency during mapping, adjusting the distance threshold of the Euclidean distance, and adjusting the update cycle of the interface during system data integration;
[0029] A control unit is connected to the analysis unit and is used to make adjustments based on the corresponding processing method.
[0030] Compared with the prior art, the beneficial effect of the present invention is that the method enters commodity information into the order through configuration mapping, which can make the order entry information more accurate; at the same time, the cross-border logistics contract corresponding to each order is associated through Euclidean distance, which can accurately determine the cross-border logistics contract corresponding to each order; and the billing rules of multiple orders associated with the cross-border logistics contract are configured through the content of the cross-border logistics contract, and the settlement fees corresponding to multiple orders are generated based on the billing rules, which can ensure that the generated settlement fees are more accurate; and whether the generated cross-border logistics settlement fees are qualified is determined according to the accuracy of the settlement fees of multiple orders associated with the cross-border logistics contract, and a corresponding processing method is generated if it is unqualified, so that the order is more matched with the cross-border logistics contract and the billing rules, thereby further improving the generation efficiency of cross-border logistics settlement fees.
[0031] Furthermore, the present invention determines whether the generated cross-border logistics settlement fees are qualified by the accuracy of the settlement fees of multiple orders associated with the cross-border logistics contract, and can more quickly determine whether the generated cross-border logistics settlement fees are qualified, so that when they are unqualified, the subsequent processing method generated will be more accurate, and adjustments will be made more effectively.
[0032] Furthermore, the present invention determines whether the generated cross-border logistics settlement fees are qualified by determining the variance of the accuracy of the settlement fees of multiple historical orders associated with the cross-border logistics contracts at historical moments. It can determine whether the currently generated cross-border logistics settlement fees are qualified based on the settlement fees of historical orders, thereby more accurately determining whether the generated cross-border logistics settlement fees are qualified, and then making the subsequent generated processing method more accurate when it is unqualified, so that it can be adjusted more effectively.
[0033] Furthermore, the present invention adjusts the contract renewal period by presetting the variance and the difference between the variances, and can make the priority of the billing rules more accurate by timely updating the contract, thereby making the generated settlement fee more accurate.
[0034] Furthermore, the present invention can more quickly determine the reason for the generated cross-border logistics settlement fees being unqualified by determining the reason for the generated cross-border logistics settlement fees based on the comparison result of the difference between the accuracy rate and the preset accuracy rate and the pre-stored preset difference, thereby further improving the efficiency of determining the reason for the unqualified cross-border logistics settlement fees, so that it can be more effectively adjusted based on the generated processing method when it is unqualified.
[0035] Furthermore, the present invention determines the reasons for the failure of the generated cross-border logistics settlement fees by the average value of the absolute value of the slope of the time-difference curve, which can more accurately analyze the reasons for the failure, so that it can be adjusted more accurately according to the reasons in the future.
[0036] Furthermore, the present invention can more accurately adjust the update cycle of the interface during system data integration by adjusting the update cycle of the interface during system data integration based on the exchange rate volatility, thereby making the order more compatible with the cross-border contract and calculation rules, thereby further improving the accuracy of the generated cross-border logistics settlement fees.
[0037] Furthermore, the present invention increases the concurrency during mapping based on the ratio of the accuracy rate to the second preset accuracy rate, thereby making the product information entered on the order more accurate, thereby further improving the accuracy of the generated cross-border logistics settlement fees.
[0038] Furthermore, the present invention adjusts the distance threshold of the Euclidean distance based on the ratio of the difference to the preset difference, so that the contract associated with the order is more accurate, thereby making the order more compatible with the cross-border contract and calculation rules, thereby further improving the accuracy of the generated cross-border logistics settlement fees. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 This is a schematic diagram of the structure of a cross-border logistics order processing system according to an embodiment of the present invention;
[0040] Figure 2 This is a flowchart of the steps of the cross-border logistics order processing method according to an embodiment of the present invention;
[0041] Figure 3 This is a flowchart of the steps for determining the accuracy of settlement fees for multiple orders associated with a cross-border logistics contract based on a comparison result with a pre-stored preset accuracy rate according to an embodiment of the present invention;
[0042] Figure 4 The present invention is a flowchart of the steps of determining the result based on the comparison between the difference between the accuracy rate and the preset accuracy rate and the preset difference. DETAILED DESCRIPTION
[0043] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are merely used to explain the present invention and are not intended to limit the present invention.
[0044] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the scope of protection of the present invention.
[0045] It should be noted that, in the description of the present invention, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. For example, they may refer to fixed connections, detachable connections, or integral connections; mechanical connections or electrical connections; direct connections or indirect connections through an intermediate medium; and internal connections between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on specific circumstances.
[0046] See also Figure 1 As shown, it is a structural diagram of the cross-border logistics order processing system according to an embodiment of the present invention.
[0047] The system includes an information input unit, a contract association unit, a contract input unit, a cost generation unit, a determination unit, an analysis unit and a control unit.
[0048] The information entry unit is used to enter the plurality of product information into the plurality of orders respectively based on the configured mapping;
[0049] The contract association unit is connected to the information input unit and is used to associate the cross-border logistics contract corresponding to each order based on Euclidean distance;
[0050] The contract entry unit is connected to the contract association unit and is used to enter a plurality of the cross-border logistics contracts;
[0051] The fee generation unit is connected to the contract entry unit and is used to configure billing rules for the multiple orders associated with the cross-border logistics contract based on the content of the cross-border logistics contract, and generate settlement fees corresponding to the multiple orders based on the multiple billing rules;
[0052] The determination unit is connected to the fee generation unit and is used to input the settlement fees of the multiple orders associated with the cross-border logistics contract, the billing rules, and the cross-border logistics contract into the reconciliation platform to determine whether the settlement fees are correct;
[0053] The analysis unit is connected to the determination unit, and is used to determine whether the generated cross-border logistics settlement fee is qualified based on the accuracy of the settlement fee of the multiple orders associated with the cross-border logistics contract, and generate a corresponding processing method based on the reason for the unqualified result if the result is unqualified, wherein the processing method includes adjusting the concurrency during mapping, adjusting the distance threshold of the Euclidean distance, and adjusting the update cycle of the interface during system data integration;
[0054] The control unit is connected to the analysis unit and is used for making adjustments based on the corresponding processing method.
[0055] Specifically, in this embodiment, the product information entry process based on configurable mapping decouples the data source and business logic. Its main processes include: defining mapping rules through JSON / YAML, supporting rapid adaptation of new data sources, and combining formula calculation and table lookup mapping to handle complex scenarios. Finally, strict verification and monitoring are implemented to ensure data quality and reduce business risks.
[0056] Specifically, in this embodiment, the main process of associating the cross-border logistics contracts corresponding to each order based on Euclidean distance includes: constructing an order-contract feature matrix and preprocessing the data; establishing an order-contract Cartesian product space and calculating the weighted Euclidean distance of each pair of combinations; using KD-Tree or Ball-Tree algorithm to achieve fast neighbor retrieval and reduce time complexity; determining the distance threshold and selecting the priority recommended contract.
[0057] See also Figure 2As shown, it is a step flow chart of the cross-border logistics order processing method according to an embodiment of the present invention.
[0058] The steps in the actual operation process of the system of the embodiment of the present invention include:
[0059] S1, entering multiple product information into multiple orders respectively based on the configured mapping through the information entry unit;
[0060] S2, associating the cross-border logistics contract corresponding to each of the orders based on Euclidean distance through a contract association unit connected to the information input unit;
[0061] S3, entering the plurality of cross-border logistics contracts through a contract entry unit connected to the contract association unit;
[0062] S4, configuring, by a fee generation unit connected to the contract entry unit, billing rules for the multiple orders associated with the cross-border logistics contract based on the content of the cross-border logistics contract, and generating settlement fees corresponding to the multiple orders based on the multiple billing rules;
[0063] S5, inputting the settlement fees, the billing rules, and the cross-border logistics contract of the plurality of orders associated with the cross-border logistics contract into the reconciliation platform through a determination unit connected to the fee generation unit, and determining whether the settlement fees are correct;
[0064] S6, determining, by an analysis unit connected to the determination unit, whether the generated cross-border logistics settlement fee is qualified based on the accuracy of the settlement fees of the plurality of orders associated with the cross-border logistics contract, and generating a corresponding treatment method based on the reason for the disqualification if the cross-border logistics settlement fee is unqualified, wherein the treatment method includes adjusting the concurrency during mapping, adjusting the distance threshold of the Euclidean distance, and adjusting the update cycle of the interface during system data integration;
[0065] S7 , performing adjustments based on the corresponding processing method by a control unit connected to the analysis unit.
[0066] See also Figure 3As shown, it is a flowchart of the steps of determining whether the generated cross-border logistics settlement fee is qualified based on the comparison result of the accuracy rate of the settlement fee of multiple orders associated with the cross-border logistics contract and the pre-stored preset accuracy rate in an embodiment of the present invention. The process of determining whether the generated cross-border logistics settlement fee is qualified based on the accuracy rate of the settlement fee of multiple orders associated with the cross-border logistics contract in an embodiment of the present invention includes: calculating the accuracy rate of the settlement fee of multiple orders associated with the cross-border logistics contract; determining whether the generated cross-border logistics settlement fee is qualified based on the comparison result of the accuracy rate and the pre-stored preset accuracy rate; if the accuracy rate is greater than or equal to a first preset accuracy rate, determining that the generated cross-border logistics settlement fee is qualified; if the accuracy rate is less than the first preset accuracy rate and greater than a second preset accuracy rate, determining whether the generated cross-border logistics settlement fee is qualified based on the variance of the accuracy rate of the settlement fee of multiple historical orders associated with the cross-border logistics contract at historical moments; if the accuracy rate is less than or equal to the second preset accuracy rate, determining that the generated cross-border logistics settlement fee is unqualified, and determining the reason for the unqualified generated cross-border logistics settlement fee based on the difference between the accuracy rate and the preset accuracy rate.
[0067] Specifically, in this embodiment, the accuracy rate L0 can be divided into a first preset accuracy rate L1 and a second preset accuracy rate L2. In the accuracy rate standard, the first preset accuracy rate L1=0.9 (i.e., 90%) and the second preset accuracy rate L2=0.7 (i.e., 70%). It should be noted that, in other embodiments, the values of L1 and L2 can also be determined according to the requirements of the generated cross-border logistics settlement fees. The comparison process based on the accuracy rate L with L1 and L2 is as follows:
[0068] If the accuracy rate L is greater than or equal to the first preset accuracy rate L1, the generated cross-border logistics settlement fee is determined to be qualified;
[0069] If the accuracy rate L is less than the first preset accuracy rate L1 and greater than the second preset accuracy rate L2, it means that it is impossible to determine whether other factors have caused this result. Then, based on the variance P of the accuracy rates of the settlement fees of multiple historical orders associated with the cross-border logistics contract at the historical moment, it is determined whether the generated cross-border logistics settlement fee is qualified;
[0070] If the accuracy rate L is less than or equal to the second preset accuracy rate L2, it is determined that the generated cross-border logistics settlement fee is unqualified, and the reason for the unqualified generated cross-border logistics settlement fee is determined based on the difference Q between the accuracy rate and the preset accuracy rate.
[0071] Specifically, the process of determining whether the generated cross-border logistics settlement fee is qualified based on the variance of the accuracy of the settlement fees of multiple historical orders associated with the cross-border logistics contract at the historical moment in an embodiment of the present invention includes: obtaining the accuracy of the settlement fees of multiple historical orders associated with the cross-border logistics contract at the historical moment; calculating the variance of the accuracy; comparing the variance with the preset variance; if the variance is greater than the preset variance, determining that the generated cross-border logistics settlement fee is unqualified, and determining the reason for the unqualified generated cross-border logistics settlement fee based on the difference between the accuracy and the preset accuracy; if the variance is less than or equal to the preset variance, adjusting the contract renewal period based on the second difference between the preset variance and the variance.
[0072] Specifically, in this embodiment, the preset variance P0=0.95, and the comparison process of the variance P of the accuracy of the settlement fees of multiple historical orders associated with the cross-border logistics contract at the historical moment and the preset variance P0 is as follows:
[0073] If the variance P is greater than the preset variance P0, it indicates that the accuracy of the settlement fees of the historical orders is highly discrete, and the generated cross-border logistics settlement fees are determined to be unqualified. The reason for the unqualified generated cross-border logistics settlement fees is determined based on the difference Q between the accuracy rate and the preset accuracy rate;
[0074] If the variance P is less than or equal to the preset variance P0, it indicates that there is a problem with the priority of the charging rules, and the contract renewal period is adjusted based on the difference R between the preset variance and the variance.
[0075] Specifically, the process of adjusting the contract renewal period based on the difference between the preset variance and the variance in an embodiment of the present invention includes: reducing the contract renewal period based on the second difference between the preset variance and the variance, and the second difference is proportional to the reduction degree of the contract renewal period.
[0076] Specifically, in this embodiment, the preset difference between the preset variance and the variance R0=0.1, and the comparison process of the second difference R based on the preset variance and the variance and the preset difference R0 is as follows:
[0077] If the second difference R is less than or equal to the preset difference R0, the contract renewal period is adjusted to 0.9 times the original renewal period;
[0078] If the second difference R is greater than the preset difference R0, the contract renewal period is adjusted to 0.7 times the original renewal period.
[0079] See also Figure 4As shown, it is a flowchart of the steps of determining the result of comparing the difference between the correct rate and the preset correct rate with the preset difference in an embodiment of the present invention. The process of determining the reason for the generated cross-border logistics settlement fee being unqualified based on the difference between the correct rate and the preset correct rate in an embodiment of the present invention includes: determining the reason for the generated cross-border logistics settlement fee being unqualified based on the comparison result between the difference between the correct rate and the preset correct rate and the pre-stored preset difference; if the difference is greater than or equal to a first preset difference, adjusting the concurrency during mapping based on the ratio of the correct rate to the second preset correct rate; if the difference is less than the first preset difference and greater than the second preset difference, drawing a time-difference curve, and determining the reason for the generated cross-border logistics settlement fee being unqualified based on the average value of the absolute value of the curve slope; if the difference is less than or equal to the second preset difference, adjusting the distance threshold of the Euclidean distance based on the ratio of the difference to the preset difference.
[0080] Specifically, in this embodiment, the difference Q0 can be divided into a first preset difference Q1 and a second preset difference Q2. In the setting difference standard, the first preset difference Q1=0.15 and the second preset difference Q2=0.05. It should be noted that in other embodiments, the values of Q1 and Q2 can also be determined according to the requirements of the generated cross-border logistics settlement fee. The comparison process based on the difference Q with QQ and Q2 is as follows:
[0081] If the difference Q is greater than or equal to the first preset difference Q1, it indicates that the product information entered on the order is inaccurate due to excessive resources occupied when mapping a large number of products. Then, the concurrency of the mapping is adjusted based on the ratio W of the accuracy rate to the second preset accuracy rate.
[0082] If the difference Q is less than the first preset difference Q1 and greater than the second preset difference Q2, it indicates that the system exchange rate may not be updated, then a time-difference curve is drawn, and the reason why the generated cross-border logistics settlement fee is unqualified is determined based on the average value T of the absolute value of the slope of the curve;
[0083] If the difference Q is less than or equal to the second preset difference Q2, it means that the contract associated with the order is inaccurate, and the distance threshold of the Euclidean distance is adjusted based on the ratio U of the difference to the preset difference.
[0084] Specifically, the process of determining the reason for the generated cross-border logistics settlement fee being unqualified based on the average value of the absolute value of the curve slope in an embodiment of the present invention includes: calculating the average value of the absolute value of the curve slope at different times; comparing the average value with the preset average value; if the average value is greater than the preset average value, adjusting the update cycle of the interface during system data integration based on the exchange rate volatility; if the average value is less than or equal to the preset average value, adjusting the concurrency during mapping based on the ratio of the accuracy rate to the second preset accuracy rate.
[0085] Specifically, in this embodiment, the preset average value T0 of the absolute value of the slope of the curve is 0.9, and the comparison process based on the average value T of the absolute value of the slope of the curve and the preset average value T0 is as follows:
[0086] If the average value T is greater than the preset average value T0, it means that the system has not updated the exchange rate in a timely manner, resulting in large fluctuations in the accuracy rate. In this case, the update cycle of the interface during system data integration is adjusted based on the exchange rate volatility V.
[0087] If the average value T is less than or equal to the preset average value T0, the concurrency during mapping is adjusted based on the ratio W of the accuracy rate to the second preset accuracy rate.
[0088] Specifically, the process of adjusting the update period of the interface during system data integration based on the exchange rate volatility in an embodiment of the present invention includes: reducing the update period of the interface during system data integration based on the exchange rate volatility, and the exchange rate volatility is proportional to the reduction extent of the interface update period.
[0089] Specifically, in this embodiment, the exchange rate volatility is obtained based on the standard deviation of the exchange rate. Taking European and American currencies as an example, the preset exchange rate volatility V0=9%. The specific process of comparing the exchange rate volatility V with the preset exchange rate volatility V0 is as follows:
[0090] If the exchange rate volatility V is less than or equal to the preset exchange rate volatility V0, the interface update period is adjusted to 0.9 times the original update period;
[0091] If the exchange rate volatility V is greater than the preset exchange rate volatility V0, the update period of the interface is adjusted to 0.78 times the original update period.
[0092] Specifically, the process of adjusting the concurrency during mapping based on the ratio of the accuracy rate to the second preset accuracy rate in an embodiment of the present invention includes: increasing the concurrency during mapping based on the ratio of the accuracy rate to the second preset accuracy rate, and the ratio is inversely proportional to the increase in concurrency.
[0093] Specifically, in this embodiment, the preset ratio W0 of the accuracy rate to the second preset accuracy rate is 0.84, and the comparison process based on the ratio W and the preset ratio W0 is as follows:
[0094] If the ratio W is less than or equal to the preset ratio W0, the concurrency during mapping is adjusted to 2.1 times the original concurrency;
[0095] If the ratio W is greater than the preset ratio W0, the concurrency during mapping is adjusted to 1.4 times the original concurrency.
[0096] Specifically, the process of adjusting the distance threshold of the Euclidean distance based on the ratio of the difference value to the preset difference value in an embodiment of the present invention includes: increasing the distance threshold of the Euclidean distance based on the ratio of the difference value to the preset difference value, and the ratio is proportional to the increase in the distance threshold of the Euclidean distance.
[0097] Specifically, in this embodiment, the preset ratio U0 of the difference value to the preset difference value is 0.82, and the comparison process based on the ratio U and the preset ratio U0 is as follows:
[0098] If the ratio U is less than or equal to the preset ratio U0, the distance threshold of the Euclidean distance is adjusted to 1.7 times;
[0099] If the ratio U is greater than the preset ratio U0, the distance threshold of the Euclidean distance is adjusted to 2.4 times.
[0100] Thus far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of the present invention is obviously not limited to these specific embodiments. Without departing from the principles of the present invention, those skilled in the art may make equivalent changes or substitutions to the relevant technical features, and the technical solutions after such changes or substitutions will fall within the scope of protection of the present invention.
[0101] The foregoing description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that the present invention is susceptible to various modifications and variations. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention are intended to be within the scope of protection of the present invention.
Claims
1. A cross-border logistics order processing method, characterized in that: include: Enter multiple product information into multiple orders based on configurable mapping; Associating the cross-border logistics contracts corresponding to each of the orders based on Euclidean distance; Enter multiple cross-border logistics contracts; Configuring billing rules for the multiple orders associated with the cross-border logistics contract based on the content of the contract, and generating settlement fees corresponding to the multiple orders based on the multiple billing rules; Inputting the settlement fees, the billing rules, and the cross-border logistics contract of the multiple orders associated with the cross-border logistics contract into the reconciliation platform to determine whether the settlement fees are correct; Determining whether the generated cross-border logistics settlement fee is qualified based on the accuracy of the settlement fees of the multiple orders associated with the cross-border logistics contract, determining the reason for the disqualification of the generated cross-border logistics settlement fee based on the difference between the accuracy rate and the preset accuracy rate, and generating a corresponding processing method based on the reason for the disqualification when the cross-border logistics settlement fee is unqualified, wherein the processing method includes adjusting the concurrency during mapping, adjusting the distance threshold of the Euclidean distance, and adjusting the update cycle of the interface during system data integration; Adjust based on the corresponding processing method; The process of determining the reason why the generated cross-border logistics settlement fee is unqualified based on the difference between the accuracy rate and the preset accuracy rate includes: Determining the reason why the generated cross-border logistics settlement fee is unqualified based on a comparison result of the difference between the accuracy rate and the preset accuracy rate and a pre-stored preset difference; If the difference is greater than or equal to a first preset difference, adjusting the concurrency during mapping based on a ratio of the accuracy rate to a second preset accuracy rate; If the difference is less than the first preset difference and greater than the second preset difference, a time-difference curve is drawn, and the reason why the generated cross-border logistics settlement fee is unqualified is determined based on the average of the absolute values of the slopes of the curve; If the difference is less than or equal to the second preset difference, adjusting the distance threshold of the Euclidean distance based on the ratio of the difference to the preset difference; The process of associating the cross-border logistics contracts corresponding to each order based on Euclidean distance includes: Construct the order-contract feature matrix and preprocess the data; Build the order-contract Cartesian product space and calculate the weighted Euclidean distance of each pair of combinations; Implement neighbor retrieval based on KD-Tree or Ball-Tree algorithm, determine the distance threshold, and associate the prioritized cross-border logistics contracts.
2. The cross-border logistics order processing method according to claim 1, characterized in that: The process of determining whether the generated cross-border logistics settlement fee is qualified based on the accuracy of the settlement fees of the plurality of orders associated with the cross-border logistics contract includes: Calculating the accuracy of the settlement fees of the plurality of orders associated with the cross-border logistics contract; Determining whether the generated cross-border logistics settlement fee is qualified based on a comparison result of the accuracy rate and a pre-stored preset accuracy rate; If the accuracy rate is greater than or equal to the first preset accuracy rate, the generated cross-border logistics settlement fee is determined to be qualified; If the accuracy rate is less than the first preset accuracy rate and greater than the second preset accuracy rate, then determining whether the generated cross-border logistics settlement fee is qualified based on the variance of the accuracy rates of the settlement fees of multiple historical orders associated with the cross-border logistics contract at the historical moment; If the accuracy rate is less than or equal to the second preset accuracy rate, the generated cross-border logistics settlement fee is determined to be unqualified, and the reason for the unqualified generated cross-border logistics settlement fee is determined based on the difference between the accuracy rate and the preset accuracy rate.
3. The cross-border logistics order processing method according to claim 2, characterized in that: The process of determining whether the generated cross-border logistics settlement fee is qualified based on the variance of the accuracy of the settlement fee of multiple historical orders associated with the cross-border logistics contract at the historical moment includes: Obtain the accuracy of settlement fees for multiple historical orders associated with the cross-border logistics contract at the historical moment; Calculating the variance of the accuracy rate; comparing the variance with a preset variance; If the variance is greater than the preset variance, it is determined that the generated cross-border logistics settlement fee is unqualified, and the reason why the generated cross-border logistics settlement fee is unqualified is determined based on the difference between the accuracy rate and the preset accuracy rate; If the variance is less than or equal to the preset variance, the contract renewal period is adjusted based on a second difference between the preset variance and the variance.
4. The cross-border logistics order processing method according to claim 3, characterized in that: The process of adjusting the renewal period of the contract based on the second difference between the preset variance and the variance includes: The contract renewal period is reduced based on the difference between the preset variance and the variance, and the second difference is proportional to the reduction range of the contract renewal period.
5. The cross-border logistics order processing method according to claim 1, characterized in that: The process of determining the reasons for the generated cross-border logistics settlement fee failure based on the average of the absolute values of the curve slopes includes: Calculate the average of the absolute values of the slopes of the curves at different times; comparing the average value with a preset average value; If the average value is greater than the preset average value, adjusting the update cycle of the interface during system data integration based on the exchange rate fluctuation rate; If the average value is less than or equal to the preset average value, the concurrency during mapping is adjusted based on the ratio of the accuracy rate to the second preset accuracy rate.
6. The cross-border logistics order processing method according to claim 5, characterized in that: The interface update cycle for adjusting system data integration based on exchange rate volatility includes: Based on the exchange rate volatility, the update period of the interface during system data integration is reduced, and the exchange rate volatility is proportional to the reduction extent of the interface update period.
7. The cross-border logistics order processing method according to claim 1, characterized in that: The process of adjusting the concurrency during mapping based on the ratio of the accuracy rate to the second preset accuracy rate includes: The concurrency during mapping is increased based on the ratio of the accuracy rate to the second preset accuracy rate, and the ratio is inversely proportional to the increase in the concurrency.
8. The cross-border logistics order processing method according to claim 1, characterized in that: The process of adjusting the distance threshold of the Euclidean distance based on the ratio of the difference value to the preset difference value includes: The distance threshold of the Euclidean distance is increased based on a ratio of the difference value to the preset difference value, and the ratio is proportional to an increase in the distance threshold of the Euclidean distance.
9. A cross-border logistics order processing system, characterized in that: include: An information entry unit, configured to enter information of multiple products into multiple orders based on a configured mapping; a contract association unit, connected to the information input unit, for associating the cross-border logistics contract corresponding to each order based on Euclidean distance; A contract entry unit, connected to the contract association unit, for entering a plurality of cross-border logistics contracts; a fee generation unit connected to the contract entry unit, configured to configure billing rules for the multiple orders associated with the cross-border logistics contract based on the content of the contract, and to generate settlement fees corresponding to the multiple orders based on the multiple billing rules; a determination unit connected to the fee generation unit, configured to input the settlement fees, the billing rules, and the cross-border logistics contract of the plurality of orders associated with the cross-border logistics contract into the reconciliation platform, and determine whether the settlement fees are correct; an analysis unit connected to the determination unit, configured to determine whether the generated cross-border logistics settlement fee is qualified based on the accuracy of the settlement fee of the plurality of orders associated with the cross-border logistics contract, determine the reason why the generated cross-border logistics settlement fee is unqualified based on the difference between the accuracy and a preset accuracy, and generate a corresponding processing method based on the reason when the cross-border logistics settlement fee is unqualified, wherein the processing method includes adjusting the concurrency during mapping, adjusting the distance threshold of the Euclidean distance, and adjusting the update cycle of the interface during system data integration; a control unit connected to the analysis unit and configured to make adjustments based on the corresponding processing mode; The analysis unit further comprises: a determination module for determining a reason why the generated cross-border logistics settlement fee is unqualified based on a comparison result of a difference between the accuracy rate and the preset accuracy rate and a pre-stored preset difference; a first analysis module configured to adjust the concurrency of mapping based on a ratio of the accuracy rate to a second preset accuracy rate if the difference is greater than or equal to a first preset difference; a second analysis module configured to draw a time-difference curve if the difference is less than the first preset difference and greater than a second preset difference, and determine the reason why the generated cross-border logistics settlement fee is unqualified based on an average of the absolute values of the slopes of the curve; a third analysis module, configured to adjust a distance threshold of the Euclidean distance based on a ratio of the difference to the preset difference if the difference is less than or equal to the second preset difference; The contract association unit also includes: Construction module, which is used to construct the order-contract feature matrix and preprocess the data; a calculation module, connected to the construction module, for establishing an order-contract Cartesian product space and calculating a weighted Euclidean distance between each pair of combinations; An association module is connected to the calculation module and is used to implement neighbor retrieval based on the KD-Tree or Ball-Tree algorithm, determine the distance threshold, and associate the prioritized cross-border logistics contracts.
Citation Information
Patent Citations
Cross-border logistics order processing method and system
CN119027011A
Logistics order cost accounting optimization method and device, equipment and storage medium
CN116384866A
Import and export order management method and device based on cross-border supply chain, and medium
CN118886805A