False delivery confirmation method, device, equipment and storage medium

By comparing the waybill number checks and weights for returns or shipment requests for high-priced orders in an e-commerce environment, the problem of difficulty in identifying false shipments is solved, the identification efficiency and accuracy are improved, and the possibility of false shipments is reduced.

CN119741092APending Publication Date: 2025-04-01SHANGHAI DONGPU INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411894299.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-04-01

AI Technical Summary

Technical Problem

In the e-commerce environment, the existing technology lacks effective identification methods for false shipments, which leads criminals and bad merchants to deceive consumers and merchants through false shipments, causing financial losses.

Method used

When receiving a return or delivery request for a high-priced order, obtain order information, waybill number and parcel information, conduct checking and weight comparison of waybill number rules to confirm whether there is a false shipment problem.

Benefits of technology

It improves the identification efficiency and accuracy of false shipments, reduces the possibility of false shipments, and improves customer satisfaction and operational efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119741092A_ABST
    Figure CN119741092A_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and in particular to a false delivery confirmation method, device, equipment and storage medium, the method comprising: when a return or delivery request for a high-priced order is received, obtaining order information, waybill number and package information of the high-priced order; performing rule verification on the waybill number to obtain a verification result; if the waybill number is valid, confirming the order type based on the order information; if the order type is a platform order, generating a first comparison result based on the commodity weight and the package weight; if the order type is a special order, generating a second comparison result based on the settlement weight and the package weight; confirming whether there is a false order problem based on the verification result, the first comparison result or the second comparison result; the method disclosed in the present application confirms whether there is a false delivery problem through waybill number verification and weight comparison, thereby ensuring the efficiency and accuracy of processing, reducing the possibility of false delivery problems, and improving customer satisfaction and operational efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a false delivery confirmation method, device, equipment and storage medium. Background Art

[0002] In the current e-commerce environment, some black industry chains specifically target high-value merchants on the platform to carry out so-called "fleecing" activities. Specifically, in the return process, criminals upload false logistics order numbers by self-mailing. On the surface, it seems that the return process has been completed, but in fact it has caused irreparable losses to the merchants. Faced with this situation, merchants have to ask for compensation from the express company to reduce the financial burden caused by this.

[0003] On the other hand, some unscrupulous merchants take advantage of consumers' trust to engage in malicious sales. Specifically, merchants attract consumers to buy by posting high-priced goods, and then falsely ship the goods and upload a fake logistics order number that has nothing to do with the consumer. Since some consumers do not continue to pay attention to the order status after purchase, the platform will automatically transfer the funds from the guarantee account to the merchant account after a few days if it fails to identify the abnormality in time. This behavior not only deceives consumers, but also causes the loss of consumers' assets.

[0004] In the current logistics process, there is a lack of an effective way to identify false shipments, which makes it difficult to effectively monitor and crack down on those attempts to deceive consumers through false means in the e-commerce field. It can be seen that the existing technology still needs to be improved and enhanced. Summary of the invention

[0005] In order to overcome the deficiencies of the prior art, the purpose of the present invention is to provide a method for confirming false shipments, which confirms whether there is a problem of false shipments by verifying the waybill number and comparing the weight, thereby ensuring the efficiency and accuracy of the processing.

[0006] A first aspect of the present invention provides a method for confirming false shipments, comprising: when a return request or a shipment request for a high-priced order is received, obtaining order information, waybill number and package information of the high-priced order; performing rule verification on the waybill number to obtain a verification result; when the verification result shows that the waybill number is valid, confirming the order type based on the order number included in the order information; if the order type is a platform order, confirming the weight of the goods based on the order information, and comparing the weight of the goods with the package weight included in the package information to obtain a first comparison result; if the order type is a special order, obtaining the settlement weight corresponding to the high-priced order, and comparing the settlement weight with the package weight included in the package information to obtain a second comparison result; and confirming whether there is a false order problem based on the verification result, the first comparison result or the second comparison result.

[0007] Optionally, in a first implementation method of the first aspect of the present invention, when a return request or a shipment request for a high-priced order is received, the order information, waybill number and package information of the high-priced order are obtained, including: when a return request or a shipment request for a certain order is received, the transaction amount of the order is obtained; a preset high-priced transaction amount range is obtained, and it is determined whether the obtained transaction amount falls within the preset high-priced transaction amount range, and if so, preset query parameters and a pre-built regular expression are obtained; an API interface is called to obtain basic information corresponding to the high-priced order based on the preset query parameters; the basic information is pre-processed, and a pre-built regular expression is used to extract the order information, waybill number and package information from the pre-processed basic information, the order information including the order number, the receiving address and the sending address, and the package information including the package weight.

[0008] Optionally, in a second implementation of the first aspect of the present invention, the rule verification of the waybill number to obtain a verification result includes: obtaining a hash table storing waybill number generation rules, the waybill number generation rules including waybill number length and waybill number combination form; using the matches method to verify whether the obtained waybill number is consistent with the waybill number length, and to verify whether the obtained waybill number satisfies the waybill number combination form; when the obtained waybill number is consistent with the waybill number length and satisfies the waybill number combination form, outputting a verification result that the waybill number is valid; when the obtained waybill number is inconsistent with the waybill number length or does not satisfy the waybill number combination form, outputting a verification result that the waybill number is invalid.

[0009] Optionally, in a third implementation method of the first aspect of the present invention, when the verification result indicates that the waybill number is valid, confirming the order type based on the order number included in the order information includes: when the verification result indicates that the waybill number is valid, obtaining type identification code setting information, the type identification code setting information including a setting position and a setting format; based on the setting information, using a string segmentation algorithm to segment the order number included in the order information to obtain a type identification code corresponding to the high-priced order; obtaining a pre-built identification type correspondence table, and based on the type identification code, using a KMP algorithm to match the order type corresponding to the high-priced order from the identification type correspondence table, the order types including platform orders and special orders.

[0010] Optionally, in a fourth implementation method of the first aspect of the present invention, if the order type is a platform order, the product weight is confirmed based on the order information, and the product weight and the package weight included in the package information are compared to obtain a first comparison result, including: if the order type is a platform order, a support vector machine algorithm is used to obtain the product name and product size from the order information; the product name and product size are input into a prebuilt linear regression model to obtain the product weight; a first weight difference between the product weight and the package weight included in the package information is calculated; if the first weight difference is within a preset weight error range, the first comparison result is that the weight is normal; if the first weight difference is not within the preset weight error range, the first comparison result is that the weight is abnormal.

[0011] Optionally, in a fifth implementation manner of the first aspect of the present invention, if the order type is a special order, the settlement weight corresponding to the high-priced order is obtained, and the settlement weight and the package weight included in the package information are compared to obtain a second comparison result, including: if the order type is a special order, a support vector machine algorithm is used to obtain the settlement weight corresponding to the high-priced order from the order information; a second weight difference between the settlement weight and the package weight included in the package information is calculated; if the second weight difference is within a preset weight error range, the second comparison result is that the weight is normal; if the second weight difference is not within the preset weight error range, the second comparison result is that the weight is abnormal.

[0012] Optionally, in a sixth implementation method of the first aspect of the present invention, the confirmation of whether there is a false order problem based on the verification result, the first comparison result or the second comparison result includes: when the verification result is that the waybill number is valid, the first comparison result is that the weight is normal, and the second comparison result is that the weight is normal, it indicates that there is no false order problem; when the verification result is that the waybill number is invalid, or the first comparison result is that the weight is abnormal, or the second comparison result is that the weight is abnormal, it indicates that there is a false order problem; when there is a false order problem, false return evidence is generated based on the return request, or false shipment evidence is generated based on the shipment request.

[0013] A second aspect of the present invention provides a false shipment confirmation device, comprising: an acquisition module, used to acquire the order information, waybill number and package information of the high-priced order when a return request or shipment request for the high-priced order is received; a verification module, used to perform rule verification on the waybill number to obtain a verification result; a confirmation module, used to confirm the order type based on the order number included in the order information when the verification result shows that the waybill number is valid; a first comparison module, used to confirm the weight of the goods based on the order information if the order type is a platform order, and compare the weight of the goods with the package weight included in the package information to obtain a first comparison result; a second comparison module, used to acquire the settlement weight corresponding to the high-priced order if the order type is a special order, and compare the settlement weight with the package weight included in the package information to obtain a second comparison result; a judgment module, used to confirm whether there is a false order problem based on the verification result, the first comparison result or the second comparison result.

[0014] Optionally, in a first implementation method of the second aspect of the present invention, the acquisition module includes: a first acquisition unit, used to obtain the transaction amount of an order when a return request or a shipment request for an order is received; a first judgment unit, used to obtain a preset high-priced transaction amount range, and judge whether the acquired transaction amount falls within the preset high-priced transaction amount range, and if so, obtain preset query parameters and a pre-built regular expression; a calling unit, used to call an API interface, and obtain basic information corresponding to the high-priced order based on preset query parameters; an extraction unit, used to pre-process the basic information, and use a pre-built regular expression to extract order information, waybill number and package information from the pre-processed basic information, the order information including the order number, receiving address and shipping address, and the package information including the package weight.

[0015] Optionally, in a second implementation of the second aspect of the present invention, the verification module includes: a second acquisition unit, used to acquire a hash table storing waybill number generation rules, wherein the waybill number generation rules include waybill number length and waybill number combination form; a verification unit, used to use a matches method to verify whether the acquired waybill number is consistent with the waybill number length, and to verify whether the acquired waybill number satisfies the waybill number combination form; a first output unit, used to output a verification result that the waybill number is valid when the acquired waybill number is consistent with the waybill number length and satisfies the waybill number combination form; a second output unit, used to output a verification result that the waybill number is invalid when the acquired waybill number is inconsistent with the waybill number length or does not satisfy the waybill number combination form.

[0016] Optionally, in a third implementation method of the second aspect of the present invention, the confirmation module includes: a third acquisition unit, used to obtain type identification code setting information when the verification result indicates that the waybill number is valid, the type identification code setting information including a setting position and a setting format; a segmentation unit, used to segment the order number included in the order information based on the setting information using a string segmentation algorithm to obtain a type identification code corresponding to the high-priced order; a matching unit, used to obtain a pre-built identification type correspondence table, and based on the type identification code, use a KMP algorithm to match the order type corresponding to the high-priced order from the identification type correspondence table, the order types including platform orders and special orders.

[0017] Optionally, in a fourth implementation of the second aspect of the present invention, the first comparison module includes: a fourth acquisition unit, used to obtain the product name and product size from the order information using a support vector machine algorithm if the order type is a platform order; an analysis unit, used to input the product name and product size into a prebuilt linear regression model to obtain the product weight; a first calculation unit, used to calculate a first weight difference between the product weight and the package weight included in the package information; a first comparison unit, used to, if the first weight difference is within a preset weight error range, then the first comparison result is normal weight, and if the first weight difference is not within the preset weight error range, then the first comparison result is abnormal weight.

[0018] Optionally, in a fifth implementation of the second aspect of the present invention, the second comparison module includes: a fifth acquisition unit, used to use a support vector machine algorithm to obtain the settlement weight corresponding to the high-priced order from the order information if the order type is a special order; a second calculation unit, used to calculate the second weight difference between the settlement weight and the package weight included in the package information; a second comparison unit, used to if the second weight difference is within a preset weight error range, the second comparison result is normal weight, if the second weight difference is not within the preset weight error range, the second comparison result is abnormal weight.

[0019] Optionally, in a sixth implementation manner of the second aspect of the present invention, the judgment module includes: a first judgment unit, used to indicate that there is no false order problem when the verification result is that the waybill number is valid, the first comparison result is that the weight is normal, and the second comparison result is that the weight is normal; a second judgment unit, used to indicate that there is a false order problem when the verification result is that the waybill number is invalid, or the first comparison result is that the weight is abnormal, or the second comparison result is that the weight is abnormal; a generation unit, used to generate false return evidence based on a return request, or generate false shipment evidence based on a shipment request, when there is a false order problem.

[0020] The third aspect of the present invention provides a false shipment confirmation device, which includes: a memory and at least one processor, wherein the memory stores instructions; at least one of the processors calls the instructions in the memory to enable the false shipment confirmation device to perform each step of the false shipment confirmation method described in any one of the above items.

[0021] A fourth aspect of the present invention provides a computer-readable storage medium having instructions stored thereon, and when the instructions are executed by a processor, the steps of any of the above-mentioned false delivery confirmation methods are implemented.

[0022] In the technical solution of the present invention, when a return or shipment request for a high-priced order is received, the order information, waybill number and package information of the high-priced order are obtained; the waybill number is subjected to rule verification to obtain a verification result; if the waybill number is valid, the order type is confirmed based on the order information; if the order type is a platform order, a first comparison result is generated based on the commodity weight and the package weight; if the order type is a special order, a second comparison result is generated based on the settlement weight and the package weight; based on the verification result, the first comparison result or the second comparison result, it is confirmed whether there is a problem of false order; the method disclosed in the present application, which confirms whether there is a problem of false shipment through waybill number verification and weight comparison, has the advantages of high processing efficiency and high processing accuracy, greatly reduces the possibility of false shipment problems, and improves customer satisfaction and operational efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 A first flow chart of a false delivery confirmation method provided by an embodiment of the present invention;

[0024] Figure 2 A second flow chart of the false delivery confirmation method provided by an embodiment of the present invention;

[0025] Figure 3 A third flow chart of the false delivery confirmation method provided by an embodiment of the present invention;

[0026] Figure 4 A fourth flow chart of the false delivery confirmation method provided by an embodiment of the present invention;

[0027] Figure 5 A fifth flow chart of the false delivery confirmation method provided by an embodiment of the present invention;

[0028] Figure 6 A sixth flow chart of the false delivery confirmation method provided by an embodiment of the present invention;

[0029] Figure 7 A seventh flow chart of a false delivery confirmation method provided by an embodiment of the present invention;

[0030] Figure 8 A schematic diagram of the structure of a false delivery confirmation device provided by an embodiment of the present invention;

[0031] Fig. 9 A schematic diagram of the structure of a false delivery confirmation device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0032] The present invention provides a false shipment confirmation method, device, equipment and storage medium. In the present invention, 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 interchangeable 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.

[0033] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 An embodiment of the false delivery confirmation method in the embodiment of the present invention includes:

[0034] 101. When receiving a return request or a delivery request for a high-priced order, obtain the order information, waybill number, and package information of the high-priced order;

[0035] 102. Perform rule verification on the waybill number to obtain a verification result;

[0036] In this embodiment, the validity and accuracy of each waybill number can be ensured by verifying the waybill number rules, so as to effectively identify and filter out forged or non-compliant numbers, set up the first line of defense for false delivery, and ensure the transparency and credibility of the entire logistics process; and errors or anomalies in the logistics process can be discovered and corrected in a timely manner, further improving the quality and efficiency of logistics services.

[0037] 103. When the verification result indicates that the waybill number is valid, the order type is confirmed based on the order number included in the order information;

[0038] In this embodiment, by confirming the specific type of the order, corresponding weight comparison methods can be adopted according to different types of orders, which can not only improve the efficiency of weight comparison, but also ensure that the output weight comparison results have higher accuracy.

[0039] 104. If the order type is a platform order, confirm the weight of the product based on the order information, and compare the weight of the product with the weight of the package included in the package information to obtain a first comparison result;

[0040] 105. If the order type is a special order, obtain the settlement weight corresponding to the high-priced order, and compare the settlement weight with the package weight included in the package information to obtain a second comparison result;

[0041] In this embodiment, manual intervention is reduced through automated weight acquisition and weight comparison, which not only reduces the efficiency of human errors, but also improves the overall processing speed and accuracy of the false delivery verification process.

[0042] 106. Determine whether there is a false order problem based on the verification result, the first comparison result or the second comparison result.

[0043] The present application discloses a method for confirming false shipments, which obtains the order information, waybill number and package information of a high-priced order upon receiving a return or shipment request for the high-priced order; performs rule verification on the waybill number to obtain a verification result; if the waybill number is valid, confirms the order type based on the order information; if the order type is a platform order, generates a first comparison result based on the commodity weight and the package weight; if the order type is a special order, generates a second comparison result based on the settlement weight and the package weight; confirms whether there is a false order problem based on the verification result, the first comparison result or the second comparison result; the method disclosed in the present application confirms whether there is a false shipment problem through waybill number verification and weight comparison, has the advantages of high processing efficiency and high processing accuracy, greatly reduces the possibility of false shipment problems, and improves customer satisfaction and operational efficiency.

[0044] See also Figure 2 The second embodiment of the false delivery confirmation method in the embodiment of the present invention includes:

[0045] 201. When receiving a return request or a delivery request for an order, obtain the transaction amount of the order;

[0046] 202. Obtain a preset high-price transaction amount range, determine whether the obtained transaction amount falls within the preset high-price transaction amount range, and if so, obtain a preset query parameter and a pre-built regular expression;

[0047] In this embodiment, the high-priced transaction amount range can be ten thousand and above, which can be pre-set by the management personnel; in order to ensure the safety and compliance of the logistics link, the pre-set high-priced transaction amount range is particularly important; when a new return node or a new delivery node appears, the logistics system automatically determines whether the acquired transaction amount falls within the preset high-priced transaction amount range. If the transaction amount falls within the preset high-priced transaction amount range, the waybill number must be carefully checked and verified, and the weight of the goods must be compared and checked to avoid false shipments and false returns; effectively reduce the probability of consumers receiving empty packages, thereby reducing negative public opinion caused by dissatisfaction; and can help merchants reduce unnecessary financial losses, while also reducing the economic losses of express companies due to false transactions.

[0048] 203. Calling the API interface to obtain basic information corresponding to the high-priced order based on preset query parameters;

[0049] In this embodiment, the preset query parameters may include the courier company code (cpCode), the waybill number (mailNo), the mobile phone number (phone), the province, city or district of the origin (origin), the province, city or district of the destination (destination), and the detailed address of the recipient (receiveAddress), etc.

[0050] 204. Preprocess the basic information, and use a pre-built regular expression to extract order information, waybill number, and package information from the pre-processed basic information, wherein the order information includes an order number, a receiving address, and a sending address, and the package information includes a package weight.

[0051] In this embodiment, data cleaning and data regularization are performed on the basic information respectively; specifically, data cleaning of the basic information is achieved by removing duplicate records and processing missing values, abnormal values ​​and irrelevant characters; then, the basic information after the data cleaning is normalized and converted into a preset unified format to complete the data regularization of the basic information.

[0052] In this embodiment, regular expressions are used to extract order information, waybill number and package information. Regular expressions can efficiently filter out the required information from a large amount of complex data, and can ensure the accuracy of the extracted key data, thereby improving the efficiency and accuracy of the entire false shipment verification process.

[0053] See also Figure 3 A third embodiment of the false delivery confirmation method in the embodiment of the present invention includes:

[0054] 301. Obtain a hash table storing a waybill number generation rule, where the waybill number generation rule includes a waybill number length and a waybill number combination form;

[0055] In this embodiment, in order to improve the verification efficiency, a hash table or dictionary can be used to store predefined generation rules to complete the matching operation within the time complexity of O(1); for example, two static arrays startsWithFor12 and startsWithFor13 can be created to store the prefix rules of 12-digit and 13-digit waybill numbers respectively.

[0056] 302. Use the matches method to check whether the acquired waybill number is consistent with the waybill number length, and check whether the acquired waybill number satisfies the waybill number combination format;

[0057] In this embodiment, the matches method is used to perform accurate length verification on the obtained waybill number to ensure that the obtained waybill number meets the predetermined length standard. Secondly, the waybill number is further checked to see if it conforms to a specific combination form to ensure that the format of the waybill number is correct and complies with the internal regulations of the logistics company. Through the double verification mechanism, invalid or erroneous waybill numbers can be effectively identified and excluded, thereby improving the efficiency and reliability of the entire false shipment verification.

[0058] 303. When the acquired waybill number is consistent with the waybill number in length and satisfies the waybill number combination format, output a verification result indicating that the waybill number is valid;

[0059] 304. When the acquired waybill number is inconsistent with the waybill number length or does not satisfy the waybill number combination format, output a verification result indicating that the waybill number is invalid.

[0060] See also Figure 4 The fourth embodiment of the false delivery confirmation method in the embodiment of the present invention includes:

[0061] 401. When the verification result indicates that the waybill number is valid, obtain type identification code setting information, where the type identification code setting information includes a setting position and a setting format;

[0062] In this embodiment, the type identification code is an identifier assigned to an order according to specific rules and business logic during the order creation or processing process. It covers various information such as the source, nature, and special attributes of the order. By retrieving and judging the type identification code, it is possible to clarify the category to which the order belongs in the entire business system, thereby providing an important basis for subsequent processing procedures.

[0063] 402. Based on the setting information, the order number included in the order information is segmented using a string segmentation algorithm to obtain a type identification code corresponding to the high-priced order;

[0064] In this embodiment, the separator to be used is confirmed according to the type identification code setting information, and then a string segmentation algorithm is used to perform accurate segmentation based on the confirmed separator to extract key information from the complex order data, namely the type identification code corresponding to the high-priced order. This method has the advantages of high data processing accuracy and fast processing speed.

[0065] 403. Obtain a pre-built identification type correspondence table, and based on the type identification code, use a KMP algorithm to match the order type corresponding to the high-priced order from the identification type correspondence table, where the order type includes a platform order and a special order;

[0066] In this embodiment, the KMP algorithm is used to match the order type. The KMP algorithm can quickly find the matching order type in the identification type correspondence table, significantly reducing the calculation time, simplifying the order classification process, reducing the need for manual intervention, and reducing the possibility of human error.

[0067] See also Figure 5 The fifth embodiment of the false delivery confirmation method in the embodiment of the present invention includes:

[0068] 501. If the order type is a platform order, a support vector machine algorithm is used to obtain the product name and product size from the order information;

[0069] In this embodiment, a support vector machine algorithm is used to accurately identify and extract product names and size information from order information. This process not only improves the accuracy of data processing, but also greatly improves work efficiency, ensures the efficiency and accuracy of order processing, and provides solid data support for subsequent product weight confirmation.

[0070] 502. Input the product name and product size into a pre-built linear regression model to obtain the product weight;

[0071] In this embodiment, the obtained product name and size are input into a pre-built linear regression model, which is trained based on a large amount of historical data and can accurately predict the weight of the product based on the product name and size information. Estimating the weight of the product through the linear regression model reduces reliance on manual estimation and avoids the problem of inaccurate false delivery verification results caused by inaccurate estimation.

[0072] 503. Calculate a first weight difference between the commodity weight and the package weight included in the package information;

[0073] 504. If the first weight difference is within the preset weight error range, the first comparison result is that the weight is normal; if the first weight difference is not within the preset weight error range, the first comparison result is that the weight is abnormal;

[0074] In this embodiment, the preset weight error range can be preset by the management personnel based on experience.

[0075] See also Figure 6 The sixth embodiment of the false delivery confirmation method in the embodiment of the present invention includes:

[0076] 601. If the order type is a special order, the support vector machine algorithm is used to obtain the settlement weight corresponding to the high-priced order from the order information;

[0077] In this embodiment, special orders may have multiple special attributes, such as orders for fragile goods, oversized and overweight orders, expedited orders, and customized orders for specific customers. These special orders often differ significantly from ordinary orders in terms of processing procedures, billing methods, and transportation requirements. For special orders, their settlement weight has been determined and marked at the beginning of order creation or in a specific business link. At this time, there is no need to estimate the weight of the goods, and the existing settlement weight information can be directly extracted and fed back.

[0078] In this embodiment, a support vector machine algorithm is used to accurately identify and extract the settlement weight from the order information. This process not only improves the accuracy of data processing, but also greatly improves work efficiency, ensures the efficiency and accuracy of order processing, and provides solid data support for subsequent commodity weight confirmation.

[0079] 602. Calculate a second weight difference between the settlement weight and the package weight included in the package information;

[0080] 603. If the second weight difference is within the preset weight error range, the second comparison result is that the weight is normal; if the second weight difference is not within the preset weight error range, the second comparison result is that the weight is abnormal.

[0081] See also Figure 7 The seventh embodiment of the false delivery confirmation method in the embodiment of the present invention includes:

[0082] 701. When the verification result is that the waybill number is valid, the first comparison result is that the weight is normal, and the second comparison result is that the weight is normal, it indicates that there is no false order problem;

[0083] 702. When the verification result is that the waybill number is invalid or the first comparison result is that the weight is abnormal or the second comparison result is that the weight is abnormal, it indicates that there is a false order problem;

[0084] 703. When there is a problem of false orders, false return evidence is generated based on the return request, or false shipment evidence is generated based on the shipment request.

[0085] In this embodiment, when there is a problem of false shipment, it can not only effectively identify and handle the problem of false orders, but also generate detailed false return evidence or false shipment evidence based on the return request or shipment request during the processing. The false return evidence includes but is not limited to a detailed description of the returned goods, the timestamp of the return request, and any communication records related to the return; the false shipment evidence may include shipping documents, logistics tracking information, and any abnormal records during the shipment process; by generating evidence, the transparency and credibility of the entire processing process are enhanced, and a powerful tool is provided for subsequent accountability to ensure the authenticity and fairness of the transaction, thereby protecting the legitimate rights and interests of consumers and merchants.

[0086] The above describes the false delivery confirmation method in the embodiment of the present invention. The following describes the false delivery confirmation device in the embodiment of the present invention. Figure 8 , an embodiment of a false delivery confirmation device in an embodiment of the present invention includes:

[0087] The acquisition module 801 is used to obtain the order information, waybill number and package information of the high-priced order when a return request or delivery request for the high-priced order is received; the verification module 802 is used to perform rule verification on the waybill number to obtain the verification result; the confirmation module 803 is used to confirm the order type based on the order number included in the order information when the verification result shows that the waybill number is valid; the first comparison module 804 is used to confirm the weight of the goods based on the order information if the order type is a platform order, and compare the weight of the goods with the package weight included in the package information to obtain a first comparison result; the second comparison module 805 is used to obtain the settlement weight corresponding to the high-priced order if the order type is a special order, and compare the settlement weight with the package weight included in the package information to obtain a second comparison result; the judgment module 806 is used to confirm whether there is a false order problem based on the verification result, the first comparison result or the second comparison result.

[0088] In this embodiment, the acquisition module 801 includes: a first acquisition unit 8011, which is used to obtain the transaction amount of an order when a return request or a shipment request for an order is received; a first judgment unit 8012, which is used to obtain a preset high-priced transaction amount range, and judge whether the acquired transaction amount falls within the preset high-priced transaction amount range. If so, obtain the preset query parameters and the pre-built regular expression; a calling unit 8013, which is used to call the API interface, and obtain the basic information corresponding to the high-priced order based on the preset query parameters; an extraction unit 8014, which is used to pre-process the basic information, and use a pre-built regular expression to extract the order information, waybill number and package information from the pre-processed basic information, the order information includes the order number, the receiving address and the shipping address, and the package information includes the package weight.

[0089] In this embodiment, the verification module 802 includes: a second acquisition unit 8021, used to obtain a hash table storing waybill number generation rules, wherein the waybill number generation rules include waybill number length and waybill number combination form; a verification unit 8022, used to use a matches method to verify whether the acquired waybill number is consistent with the waybill number length, and to verify whether the acquired waybill number satisfies the waybill number combination form; a first output unit 8023, used to output a verification result that the waybill number is valid when the acquired waybill number is consistent with the waybill number length and satisfies the waybill number combination form; a second output unit 8024, used to output a verification result that the waybill number is invalid when the acquired waybill number is inconsistent with the waybill number length or does not satisfy the waybill number combination form.

[0090] In this embodiment, the confirmation module 803 includes: a third acquisition unit 8031, which is used to obtain type identification code setting information when the verification result indicates that the waybill number is valid, and the type identification code setting information includes a setting position and a setting format; a segmentation unit 8032, which is used to segment the order number included in the order information based on the setting information using a string segmentation algorithm to obtain a type identification code corresponding to the high-priced order; a matching unit 8033, which is used to obtain a pre-built identification type correspondence table, and based on the type identification code, use the KMP algorithm to match the order type corresponding to the high-priced order from the identification type correspondence table. The order types include platform orders and special orders.

[0091] In this embodiment, the first comparison module 804 includes: a fourth acquisition unit 8041, which is used to obtain the product name and product size from the order information using a support vector machine algorithm if the order type is a platform order; an analysis unit 8042, which is used to input the product name and product size into a pre-built linear regression model to obtain the product weight; a first calculation unit 8043, which is used to calculate the first weight difference between the product weight and the package weight included in the package information; a first comparison unit 8044, which is used to determine that the first comparison result is normal weight if the first weight difference is within a preset weight error range, and that the first comparison result is abnormal weight if the first weight difference is not within the preset weight error range.

[0092] In this embodiment, the second comparison module 805 includes: a fifth acquisition unit 8051, which is used to use a support vector machine algorithm to obtain the settlement weight corresponding to the high-priced order from the order information if the order type is a special order; a second calculation unit 8052, which is used to calculate the second weight difference between the settlement weight and the package weight included in the package information; a second comparison unit 8053, which is used to determine that the second comparison result is normal weight if the second weight difference is within a preset weight error range, and that the second comparison result is abnormal weight if the second weight difference is not within the preset weight error range.

[0093] In this embodiment, the judgment module 806 includes: a first judgment unit 8061, which is used to indicate that there is no false order problem when the verification result is that the waybill number is valid, the first comparison result is that the weight is normal, and the second comparison result is that the weight is normal; a second judgment unit 8062, which is used to indicate that there is a false order problem when the verification result is that the waybill number is invalid, the first comparison result is that the weight is abnormal, or the second comparison result is that the weight is abnormal; a generation unit 8063, which is used to generate false return evidence based on a return request, or generate false shipment evidence based on a shipment request, when there is a false order problem.

[0094] Based on the same idea as the method in the above embodiment, the device provided by the present application can implement the method in the above embodiment.

[0095] above Figure 8 The false shipment confirmation device in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The false shipment confirmation device in the embodiment of the present invention is described in detail from the perspective of hardware processing.

[0096] Fig. 9 1 is a schematic diagram of the structure of a false shipment confirmation device provided by an embodiment of the present invention. The false shipment confirmation device 900 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 short-term 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 false shipment confirmation device 900. Furthermore, the processor 910 can be configured to communicate with the storage medium 930, and execute a series of instruction operations in the storage medium 930 on the false shipment confirmation device 900 to implement the steps of the false shipment confirmation method provided by the above-mentioned method embodiments.

[0097] The fake delivery confirmation 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. 9The structure of the false shipment confirmation device shown does not constitute a limitation of the false shipment confirmation device, and may include more or less components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0098] 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 false delivery confirmation method.

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

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

[0101] Finally, it should be noted that the above description is only a preferred example of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A false delivery confirmation method, characterized in that: include: When receiving a return request or a delivery request for a high-priced order, obtain the order information, waybill number, and package information of the high-priced order; Perform rule verification on the waybill number and obtain the verification result; When the verification result indicates that the waybill number is valid, the order type is confirmed based on the order number included in the order information; If the order type is a platform order, confirm the weight of the product based on the order information, and compare the weight of the product with the weight of the package included in the package information to obtain a first comparison result; If the order type is a special order, the settlement weight corresponding to the high-priced order is obtained, and the settlement weight is compared with the package weight included in the package information to obtain a second comparison result; Determine whether there is a false order problem based on the verification result, the first comparison result or the second comparison result.

2. The false delivery confirmation method according to claim 1, characterized in that: When receiving a return request or a delivery request for a high-priced order, the order information, waybill number and package information of the high-priced order are obtained, including: When receiving a return request or a delivery request for an order, obtain the transaction amount of the order; Obtain a preset high-price transaction amount range, determine whether the obtained transaction amount falls within the preset high-price transaction amount range, and if so, obtain preset query parameters and a pre-built regular expression; Call the API interface to obtain basic information corresponding to the high-priced order based on the preset query parameters; The basic information is preprocessed, and the order information, waybill number and package information are extracted from the preprocessed basic information using a pre-built regular expression. The order information includes the order number, the receiving address and the sending address, and the package information includes the package weight.

3. The false delivery confirmation method according to claim 1, characterized in that: The rule verification of the waybill number is performed to obtain the verification result, including: Obtain a hash table storing waybill number generation rules, wherein the waybill number generation rules include waybill number length and waybill number combination form; Use the matches method to check whether the acquired waybill number is consistent with the waybill number length, and check whether the acquired waybill number satisfies the waybill number combination format; When the acquired waybill number is consistent with the waybill number in length and satisfies the waybill number combination format, the verification result of the waybill number being valid is output; When the acquired waybill number is inconsistent with the waybill number length or does not satisfy the waybill number combination format, the verification result indicating that the waybill number is invalid is output.

4. The false delivery confirmation method according to claim 1, characterized in that: When the verification result indicates that the waybill number is valid, confirming the order type based on the order number included in the order information includes: When the verification result shows that the waybill number is valid, the type identification code setting information is obtained, and the type identification code setting information includes a setting position and a setting format; Based on the setting information, the order number included in the order information is segmented using a string segmentation algorithm to obtain a type identification code corresponding to the high-priced order; A pre-built identification type correspondence table is obtained, and based on the type identification code, a KMP algorithm is used to match the order type corresponding to the high-priced order from the identification type correspondence table, where the order type includes a platform order and a special order.

5. The false delivery confirmation method according to claim 3, characterized in that: If the order type is a platform order, the weight of the product is confirmed based on the order information, and the weight of the product is compared with the weight of the package included in the package information to obtain a first comparison result, including: If the order type is a platform order, the support vector machine algorithm is used to obtain the product name and product size from the order information; Input the product name and product size into the pre-built linear regression model to obtain the product weight; Calculating a first weight difference between the commodity weight and the package weight included in the package information; If the first weight difference is within the preset weight error range, the first comparison result is that the weight is normal; if the first weight difference is not within the preset weight error range, the first comparison result is that the weight is abnormal.

6. The false delivery confirmation method according to claim 5, characterized in that: If the order type is a special order, the settlement weight corresponding to the high-priced order is obtained, and the settlement weight is compared with the package weight included in the package information to obtain a second comparison result, including: If the order type is a special order, the support vector machine algorithm is used to obtain the settlement weight corresponding to the high-priced order from the order information; calculating a second weight difference between the settlement weight and the package weight included in the package information; If the second weight difference is within the preset weight error range, the second comparison result is that the weight is normal; if the second weight difference is not within the preset weight error range, the second comparison result is that the weight is abnormal.

7. The false delivery confirmation method according to claim 6, characterized in that: The confirming whether there is a false order problem based on the verification result, the first comparison result or the second comparison result includes: When the verification result is that the waybill number is valid, the first comparison result is that the weight is normal, and the second comparison result is that the weight is normal, it indicates that there is no false order problem; When the verification result is that the waybill number is invalid or the first comparison result is that the weight is abnormal or the second comparison result is that the weight is abnormal, it indicates that there is a false order problem; When there is a problem of false orders, false return evidence is generated based on the return request, or false shipment evidence is generated based on the shipment request.

8. A false delivery confirmation device, characterized in that: include: An acquisition module, used to acquire the order information, waybill number and package information of a high-priced order when a return request or a delivery request of the high-priced order is received; The verification module is used to perform rule verification on the waybill number and obtain the verification result; A confirmation module, used to confirm the order type based on the order number included in the order information when the verification result shows that the waybill number is valid; A first comparison module, configured to, if the order type is a platform order, confirm the weight of the goods based on the order information, and compare the weight of the goods with the weight of the package included in the package information to obtain a first comparison result; A second comparison module, configured to obtain a settlement weight corresponding to the high-priced order if the order type is a special order, and compare the settlement weight with the package weight included in the package information to obtain a second comparison result; The judgment module is used to confirm whether there is a false order problem based on the verification result, the first comparison result or the second comparison result.

9. A false delivery confirmation device, characterized in that: The false delivery confirmation device includes: a memory and at least one processor, wherein the memory stores instructions; At least one of the processors calls the instructions in the memory to enable the false shipment confirmation device to perform each step of the false shipment confirmation method as described in any one of claims 1-7.

10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the various steps of the false delivery confirmation method as described in any one of claims 1-7 are implemented.