Inventory caliber collaborative control method, system, computer equipment, and storage media based on supplier direct delivery dual-channel system.

By using the order access gate verification and mapping record table, the problem of direct orders accidentally damaging shared warehouse inventory was solved, the data accuracy and reliability of the order inventory locking process were improved, and the collaborative processing effect of dual-channel orders was enhanced.

CN123118002APending Publication Date: 2026-11-17GUANGZHOU FENGQUN INTERNET TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611618928.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-20
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

In the supplier delivery platform, direct orders may inadvertently affect shared warehouse inventory, resulting in low data accuracy and reliability in the order inventory locking process. Existing technologies cannot effectively solve the problem of collaborative processing between direct orders and warehouse distribution orders.

Method used

By using a ring-based access gate to verify the access of target order data, and writing it into the direct delivery order and order mapping record table, this is used as the sole criterion for determining inventory responsibility, bypassing the order review and lock-up process and wave entry steps, thus ensuring the stability of inventory responsibility attribution.

Benefits of technology

It improves the data accuracy and reliability of the order locking inventory process, enhances the collaborative processing effect of dual-channel orders, and reduces the risk of deviation caused by misreading and writing of shared warehouse inventory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123118002A_ABST
    Figure CN123118002A_ABST
Patent Text Reader

Abstract

This application relates to the field of computers and provides a method, system, computer device, and storage medium for collaborative control of inventory caliber based on a dual-channel direct-delivery system. The method includes: acquiring target order data from both channels; performing access verification on the target order data to obtain an access verification result; if the access verification result is successful, writing the mapping data between the delivery note data and the target order data into a preset direct-delivery delivery note and order mapping record table; using this as the sole criterion for inventory responsibility to execute order judgment processing; if a mapping record corresponding to the target order data exists in the table, controlling the order processing process of the target order data to skip the order review and inventory locking procedure, and prohibiting the execution of the wave entry procedure during the order processing process of the target order data. The implementation of this method improves the data accuracy and reliability of the order-locked inventory process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a method, system, computer device, and storage medium for collaborative control of inventory caliber based on a dual-channel direct-delivery system from a supplier. Background Technology

[0002] The supplier's fulfillment platform operates two fulfillment channels simultaneously: a warehousing and distribution channel and a direct delivery channel. The warehousing and distribution channel involves sorting from a self-operated central warehouse and delivering goods via trunk lines to the last-mile delivery station. Goods are first stored in the warehouse, where inventory is held and orders are locked. The direct delivery channel is used for goods unsuitable for warehousing; suppliers ship directly to the nearest station, and inventory is never stored in a warehouse. Both channels share the same order pool, the same set of station master data, and the same inventory ledger. A single customer order often contains both warehousing and distribution goods and direct delivery goods.

[0003] However, in the existing shipping and order processing, direct shipments inadvertently affect shared warehouse inventory. Direct shipments do not hold locks, but returns, cancellations, batches, and warehouse selection on the warehousing and distribution side treat all orders equally; when a return is made, the release direction deducts a non-existent lock amount, and when a return is cancelled, the return direction adds a lock to the public lock pool out of thin air, resulting in low data accuracy and poor reliability in the order lock inventory process. Summary of the Invention

[0004] This application provides a method, system, computer equipment, and storage medium for collaborative control of inventory caliber based on dual-channel direct delivery from suppliers. More specifically, this application provides a method, system, computer equipment, computer storage medium, and computer program product for collaborative control of inventory caliber based on dual-channel direct delivery from suppliers, thereby improving the data accuracy and reliability of the order locking inventory process.

[0005] In a first aspect, embodiments of this application provide a collaborative control method for inventory caliber based on a dual-channel direct-shipment system from a supplier, including: Obtain target order data from upstream order domains, including both warehouse-distributed and directly shipped goods, through order push notifications. Based on the access gate, the target order data is subjected to access verification processing to obtain the access verification result; If the access verification result is successful, the mapping data between the delivery note data and the target order data will be written into the preset direct delivery note and order mapping record table; The updated direct delivery order and order mapping record table is used as the sole criterion for inventory responsibility to perform order judgment processing. If there is a mapping record corresponding to the target order data in the direct delivery order and order mapping record table, the order processing process of the target order data is controlled to skip the order review and lock-up procedure, and the wave entry procedure is prohibited in the order processing process of the target order data.

[0006] Optionally, in some embodiments of this application, the step of performing access verification processing on the target order data based on the circle-based access gate to obtain the access verification result includes: Perform document and status verification on the target order data to obtain document and status verification results; The target order data is subjected to receiving site verification processing to obtain the receiving site verification result; Perform product ownership verification on the target order data to obtain the product ownership verification result; The access verification result is determined based on the document and status verification result, the receiving station verification result, and the goods ownership verification result.

[0007] Optionally, in some embodiments of this application, determining the access verification result based on the document and status verification result, the receiving station verification result, and the goods ownership verification result includes: If the document and status verification result indicates that the target order data is a delivery order or replenishment order pending review, and the receiving station verification result indicates that the receiving station of the target order data has a destination and is not closed or suspended from delivery, and the goods ownership verification result meets the goods ownership verification conditions, then the access verification result is determined to be the verification passed. Specifically, the goods attribution verification result satisfies the goods attribution verification conditions as follows: the target order data is not repeatedly circled by a valid delivery note, the goods in the target order data have maintained supplier mapping, the combined sub-items of the target order data belong to the same supplier, and the mixed suppliers of the target order data have completed order splitting by supplier.

[0008] Optionally, in some embodiments of this application, the method further includes: If any verification result during the access verification process of the target order data is not satisfied, the access verification result is determined to be verification failure. The entire order is rejected for the target order data, and the order number of the target order data is displayed.

[0009] Optionally, in some embodiments of this application, the step of using the updated direct delivery note and order mapping record table as the sole criterion for inventory responsibility to perform order judgment processing, and controlling the order processing process of the target order data to skip the order review and inventory locking procedure when a mapping record corresponding to the target order data exists in the direct delivery note and order mapping record table, includes: Before the return release lock, the order judgment process is performed based on the unique criterion. If there is a mapping record corresponding to the target order data in the direct delivery order and order mapping record table, the unlocking procedure is skipped. Before the return process is completed after the return is cancelled, the order judgment process is performed using the unique criterion. If there is a mapping record corresponding to the target order data in the direct shipment order and order mapping record table, the locking procedure is skipped.

[0010] Optionally, in some embodiments of this application, the method further includes: In response to the order cancellation trigger operation, after reverting the order status of the target order data, delete the mapping record corresponding to the target order data in the direct delivery order and order mapping record table; If the target order data is identified as a package order that has been generated and confirmed, the order cancellation trigger operation is rejected. If it is detected that there are batch cancellations of the target order data, the uncovered demand quantity of each item that has not yet been covered by confirmed packages after the cancellation is compared with the draft pre-deduction quantity; if the draft pre-deduction quantity exceeds the uncovered demand quantity, the cancellation order triggering operation is rejected. In response to the order cancellation trigger operation, a concurrent status change verification process is performed before cancellation to obtain the concurrent status change verification result; if the concurrent status change verification result is successful, the order cancellation procedure is executed.

[0011] Optionally, in some embodiments of this application, the method further includes: Based on the demand matrix, aggregate the order details and the quantities to be shipped to determine the demand output data; Based on the coverage matrix, the number of confirmed packages under the same shipping order is aggregated to determine the coverage output data; Based on the number of already occupied packages in the pre-deduction matrix aggregation draft status, determine the pre-deduction output data; In response to the recalculation trigger command, the remaining amount of data to be sent is calculated based on the demand output data, the coverage output data, and the pre-deducted output data. The remaining available shipment quantity is sent to the supplier's login-free collaborative terminal for shipment confirmation.

[0012] Optionally, in some embodiments of this application, the step of determining the demand output data based on the aggregated order details and the payable quantity of the demand matrix includes: The order details to be shipped are obtained by subtracting the number of returned items from the order quantity. Orders that were automatically cancelled due to full order returns are excluded. The original master code, barcode, and compatible code of each target order data are normalized to obtain a normalized master code. Order aggregation processing is performed based on the normalized master code.

[0013] Optionally, in some embodiments of this application, the step of calculating the remaining available quantity based on the demand output data, the coverage output data, and the pre-deducted output data includes: The intermediate calculation data is obtained by subtracting the coverage output data from the required output data. The preliminary calculated amount of feed is obtained by subtracting the pre-deduction output data from the intermediate calculation data; If the initially calculated amount of data that can be sent is not less than zero, then the initially calculated amount of data that can be sent is determined as the remaining amount of data that can be sent.

[0014] Optionally, in some embodiments of this application, the method further includes: When the supplier performs batch confirmation on the target order data in the login-free collaboration terminal, the pre-deduction matrix is ​​preprocessed to exclude the draft volume of this batch box itself and the old volume of the draft in the editing process; After preprocessing the pre-deduction matrix, perform box-by-box and item-by-item verification. When the quantity of the box corresponding to the target order data does not exceed the remaining shippable quantity, execute the available quantity deduction procedure in a timely manner. After executing the available quantity deduction procedure, execute the order allocation procedure to determine the order allocation result; If the order allocation result is that all allocations are successful, the order allocation result will be written back to the package details.

[0015] Optionally, in some embodiments of this application, the method further includes: If any row is found to still have a surplus, it is determined that the site demand is insufficient, and the order allocation result is determined to be that there are details that cannot be allocated. In this case, the entire batch is rejected for the target order data.

[0016] Optionally, in some embodiments of this application, the method further includes: The target order data is processed for shipment status identification to obtain the shipment status identification result; If the status recognition result of the delivery note is that the delivery is completed, the site address information to be displayed corresponding to the target order data will be left blank. If the status recognition result of the delivery note is that the delivery is not completed, the site address display switch is judged for the target order data to obtain the address display switch judgment result. If the address display switch is determined to be off, the site address information to be displayed corresponding to the target order data will be left blank. If the address display switch determination result is that the display switch is on, the site address information is obtained; Perform order-preserving deduplication on the site address information to obtain the processed address information; The external gating data is set according to the status of the delivery note, and the processed address information is displayed according to the display control cycle represented by the external gating data.

[0017] Secondly, embodiments of this application provide an inventory caliber collaborative control system based on a dual-channel direct-delivery system, which has the function of implementing the inventory caliber collaborative control method based on a dual-channel direct-delivery system provided in the first aspect above. The function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above function, and the modules can be software and / or hardware.

[0018] In one possible design, the system includes: The target order data acquisition module is used to acquire target order data from the upstream order domain, which includes both warehouse-distributed goods and directly shipped goods, through order push. The access verification module is used to perform access verification processing on the target order data based on the access gate of the circle order, and obtain the access verification result; The mapping record table writing module is used to write the mapping data between the delivery note data and the target order data into a preset direct delivery note and order mapping record table when the access verification result is successful. The order judgment module is used to use the updated direct delivery order and order mapping record table as the sole criterion for inventory responsibility to perform order judgment processing. If there is a mapping record corresponding to the target order data in the direct delivery order and order mapping record table, the module controls the order processing process of the target order data to skip the order review and lock-up procedure, and prohibits the execution of the wave entry procedure in the order processing process of the target order data.

[0019] In another aspect, this application provides a computer device including at least one connected processor and a memory, wherein the memory is used to store program code, and the processor is used to call the program code in the memory to execute the methods described in the above aspects.

[0020] In another aspect, embodiments of this application provide a computer storage medium including instructions that, when executed on a computer, cause the computer to perform the methods described in the above aspects.

[0021] In another aspect, this application provides a computer program product containing instructions that, when run on a computer, cause the computer to perform the methods described in the above aspects.

[0022] Compared to traditional technologies, this approach replaces the existing premise that each order corresponds to a lockable warehouse inventory with the existence of a tracking record. It allows direct orders to skip the order review, inventory locking, and wave entry stages after tracking confirmation, thereby improving the stability of inventory responsibility determination, increasing the data accuracy of the order inventory locking process, enhancing the collaborative processing effect of dual-channel orders, and reducing the risk of deviations caused by misreading or writing shared warehouse inventory. Attached Figure Description

[0023] Figure 1 This is a flowchart of one embodiment.

[0024] Figure 2 An overall structural diagram provided for one embodiment.

[0025] Figure 3 A schematic diagram illustrating the real-time derivation of a three-matrix system as provided in one embodiment.

[0026] Figure 4 A timing flowchart is provided for one embodiment.

[0027] Figure 5 A schematic diagram illustrating the data leakage prevention principle provided in one embodiment.

[0028] Figure 6 This is a structural block diagram of a system in one embodiment.

[0029] Figure 7 This is an internal structural diagram of a computer device in one embodiment.

[0030] Figure 8 This is a diagram of the internal structure of a computer device in another embodiment. Detailed Implementation

[0031] The terms "first," "second," etc., used in the embodiments of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than that illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or modules is not necessarily limited to those steps or modules explicitly listed, but may include other steps or modules not explicitly listed or inherent to these processes, methods, products, or devices. The division of modules appearing in the embodiments of this application is only a logical division. In actual applications, there may be other division methods. For example, multiple modules may be combined or integrated into another system, or some features may be ignored or not performed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interface, and the indirect coupling or communication connection between modules may be electrical or other similar forms. None of these are limited in the embodiments of this application. Furthermore, the modules or sub-modules described as separate components may or may not be physically separated, may or may not be physical modules, or may be distributed among multiple circuit modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiments of this application.

[0032] Figure 1 This is a flowchart illustrating one embodiment, such as... Figure 1 As shown in the embodiments of this application, the inventory caliber collaborative control method based on supplier direct delivery dual channels includes: S1100: Obtain target order data from the upstream order domain, which includes both warehouse-distributed goods and direct-shipped goods, through order push.

[0033] Among them, the upstream order domain refers to the business system that carries the order data of upstream customers; order push is used to represent the process of the upstream sending order data to the system deployed by this method.

[0034] Warehouse-distributed goods refer to goods that first enter the central warehouse, where the warehouse holds and locks the inventory; direct-delivery goods refer to goods that are shipped directly from the nearest supplier and whose inventory does not pass through the warehouse at all.

[0035] The target order data refers to the order data contained in a single customer order that is currently pending processing.

[0036] S1200 performs access verification processing on target order data based on the circle order access gate, and obtains access verification results.

[0037] Among them, the order entry gate refers to a set of verification rules that must be passed before an order can be entered into the direct delivery order; the entry verification process refers to the process of checking whether an order can be entered into the order according to the gate rules; the entry verification result is used to characterize the judgment conclusion of whether the order meets the entry conditions.

[0038] S1300: If the access verification result is successful, the mapping data between the delivery note data and the target order data is written into the preset direct delivery note and order mapping record table.

[0039] Among them, the mapping data between the delivery note data and the target order data, namely the mapping between the delivery note and the order, refers to the data that represents the correspondence between the delivery note and the order; the direct delivery note and order mapping record table refers to the record table that records the mapping relationship between the delivery note and the order.

[0040] S1400 uses the updated direct delivery note and order mapping record table as the sole criterion for inventory responsibility to perform order judgment processing. If there is a mapping record corresponding to the target order data in the direct delivery note and order mapping record table, the order processing process of the target order data is controlled to skip the order review and lock-up procedure, and the wave entry procedure is prohibited from being executed in the order processing process of the target order data.

[0041] The sole criterion for determining inventory responsibility means that the existence of a mapping record in the table indicates that the supplier is responsible for the inventory of the order; order judgment and processing refers to the process of determining the attribution of inventory responsibility for an order and controlling subsequent processes accordingly.

[0042] The order review and lock-in process refers to the process of reviewing orders and locking warehouse inventory within the warehousing and distribution channel; the wave entry process refers to the process of including orders in warehouse picking wave operations.

[0043] Compared to traditional technologies, this application's embodiments replace the existing premise that each order corresponds to a lockable warehouse inventory with the existence of a loop mapping record. Direct orders skip the order review, warehouse locking, and wave entry stages after loop confirmation, improving the stability of inventory responsibility attribution determination, enhancing the collaborative processing effect of dual-channel orders, reducing the risk of deviations caused by misreading or writing shared warehouse inventory, and strengthening order data processing capabilities, thereby improving the data accuracy and reliability of the order inventory locking process.

[0044] Optionally, in some embodiments of this application, access verification processing is performed on the target order data based on the order access gate to obtain access verification results, including: performing document and status verification processing on the target order data to obtain document and status verification results; performing receiving station verification processing on the target order data to obtain receiving station verification results; performing goods ownership verification processing on the target order data to obtain goods ownership verification results; and determining the access verification results based on the document and status verification results, the receiving station verification results, and the goods ownership verification results.

[0045] Among them, document and status verification processing refers to the process of verifying the document type of an order and its status; the document and status verification results are used to characterize whether the document type and audit status of the order are compliant.

[0046] Among them, the receiving site verification process refers to the process of verifying whether the receiving site can normally receive the goods; the receiving site verification result is used to reflect the availability and delivery accessibility of the receiving site.

[0047] Among them, the goods ownership verification process refers to the process of verifying whether the goods in an order can be directly shipped by the supplier; the goods ownership verification result is used to characterize whether the ownership relationship between the goods in the order and the supplier is established.

[0048] In this embodiment, by splitting the order entry criteria into three independent verifications—document and status, receiving site and goods ownership—and providing verification results for each, the stability of order entry determination is improved, the accuracy and efficiency of order ownership data verification are enhanced, the order entry processing effect in multi-supplier mixed scenarios is improved, and the data correction cost caused by incorrect or duplicate orders is reduced.

[0049] Optionally, in some embodiments of this application, the admission verification result is determined based on the document and status verification result, the receiving station verification result, and the goods ownership verification result. This includes: if the document and status verification result indicates that the target order data is a delivery order or replenishment order pending review, and the receiving station verification result indicates that the receiving station of the target order data has a destination and is not closed or suspended, and the goods ownership verification result meets the goods ownership verification conditions, the admission verification result is determined to be verified as passed. Specifically, the goods ownership verification result meeting the goods ownership verification conditions means that: the target order data is not repeatedly circled by a valid delivery order, the goods of the target order data have maintained supplier mapping, the combined sub-items of the target order data belong to the same supplier, and the mixed suppliers of the target order data have completed order splitting by supplier.

[0050] Among them, a delivery note refers to a document that carries out last-mile delivery tasks; a replenishment note refers to a document that replenishes goods to a station.

[0051] The destination is used to indicate whether the delivery location of the order has been clearly filled in; store closure and delivery suspension refers to the state that the site is closed or suspended and cannot receive goods.

[0052] Among them, a valid delivery note refers to a delivery note that is in a valid state and can be used as the basis for order tracking; duplicate tracking refers to the situation where the same order is tracked by two or more valid delivery notes at the same time; supplier mapping refers to the data that records the correspondence between goods and suppliers undertaking direct delivery tasks; bundled sub-items refer to the individual items separated from bundled goods; mixed suppliers refer to the situation where the goods in the same order belong to multiple suppliers; order splitting refers to the process of splitting mixed supplier orders into multiple documents according to suppliers.

[0053] In practical applications, orders must pass six access checks before being included in direct delivery orders: only delivery orders and replenishment orders awaiting review can be included; the receiving station must have a destination and not be closed or suspended; it must not have been included repeatedly by a valid delivery order; the goods must have maintained supplier mappings; combined products and sub-products must belong to the same supplier; mixed suppliers must first be split into separate orders by supplier; if any of these conditions are not met, the entire order will be rejected and the order number will be displayed. After passing the checks, the mapping between the delivery order and the order is written, and the order is directly marked as confirmed, skipping order review and inventory locking, and never entering the wave process.

[0054] In this embodiment, by simultaneously satisfying the three conditions of document status, site receivability, and goods attribution as the criteria for passing the verification, and by incorporating duplicate entries, supplier mapping, combined products belonging to the same supplier, and mixed supplier splitting into the attribution conditions, the stability of the order entry judgment is improved, the accuracy of order attribution data verification is improved, and the processing effect of mixed orders with multiple suppliers and combined products is improved.

[0055] Optionally, in some embodiments of this application, the method further includes: if any verification result during the access verification process of the target order data is not satisfied, determining that the access verification result is verification failure; performing whole-order rejection processing on the target order data, and displaying the order number of the target order data.

[0056] Among them, "validation failed" indicates that the order did not meet the conditions in any of the admission checks; "entire order rejection" refers to the process of not including the entire order and not retaining any part of it; "order number" refers to the unique identifier of the order in the order field.

[0057] In practical applications, orders must pass six access checks before being included in the direct shipping order. If any check fails, the entire order is rejected and the order number is displayed.

[0058] In this embodiment, by directly rejecting the entire order and displaying the order number when any verification fails, the stability and traceability of the order admission process are improved, and the accuracy of abnormal order identification is increased.

[0059] Optionally, in some embodiments of this application, the updated direct delivery note and order mapping record table are used as the sole criterion for inventory responsibility to perform order judgment processing. If a mapping record corresponding to the target order data exists in the direct delivery note and order mapping record table, the order processing process of the target order data is controlled to skip the order review and lockout procedure. This includes: before the return release lock, performing order judgment processing based on the sole criterion; if a mapping record corresponding to the target order data exists in the direct delivery note and order mapping record table, skipping the unlocking procedure; and before the return processing after the return is cancelled, performing order judgment processing using the sole criterion; if a mapping record corresponding to the target order data exists in the direct delivery note and order mapping record table, skipping the locking procedure.

[0060] Among them, "return release lock" refers to the operation of releasing the inventory occupied by the order when a return occurs; "unlock procedure" refers to the process of deducting the locked quantity from the warehouse inventory.

[0061] Among them, the return process refers to the process of restoring the original order status after a return is cancelled; the locking process refers to the process of increasing the number of locks in the warehouse's public lock pool.

[0062] In practical applications, the reverse link uses the same criterion: before releasing the lock on a return, the criterion is checked, and if the result is correct, the unlocking is skipped to avoid deducting non-existent locks and accidentally affecting the lock quantity of other orders on the same product; the return process after the return is cancelled uses the same criterion, and if the result is correct, the locking is skipped to avoid writing unclaimed locks to the public lock pool.

[0063] In this embodiment, by using the same mapping existence criterion in both return release and return cancellation and skipping unlocking and locking respectively, the stability of reverse link inventory operation is improved, the accuracy of locked quantity data in the public lock pool is improved, the wave start effect when direct orders and warehouse distribution orders are mixed is improved, and shortage accidents caused by erroneous increases or decreases in shared inventory are avoided.

[0064] Optionally, in some embodiments of this application, the method further includes: in response to the cancellation of the order triggering operation, after reverting the order status of the target order data, deleting the mapping record corresponding to the target order data in the direct delivery order and order mapping record table; if the target order data is identified as a generated and confirmed package order, rejecting the cancellation of the order triggering operation; if the target order data is identified as having batch cancellations, comparing the uncovered demand quantity of each item after cancellation that has not yet been covered by the confirmed package with the draft pre-deduction quantity; if the draft pre-deduction quantity exceeds the uncovered demand quantity, rejecting the cancellation of the order triggering operation; in response to the cancellation of the order triggering operation, performing a concurrent status change verification process before cancellation to obtain a concurrent status change verification result; if the concurrent status change verification result is a successful verification, executing the cancellation of the order triggering procedure.

[0065] Among them, canceling the order trigger operation refers to the operation initiated by the operations personnel to remove the order from the order grouping relationship; reverting the order status of the target order data refers to restoring the order status to the state before the order was grouped.

[0066] Among them, confirmed packages refer to packages for which the supplier has completed backfill confirmation and the quantity has been converted to coverage; uncovered demand refers to the demand of each item that has not yet been covered by confirmed packages after the order is cancelled; draft pre-deducted quantity refers to the number of packages that are still in the draft state and have been occupied; batch cancellation refers to the cancellation operation of multiple orders or multiple mappings at one time.

[0067] Among them, concurrent status change verification processing refers to the process of checking whether the order status has been modified by other operations during the cancellation period; the concurrent status change verification result is used to characterize whether the order status is still revocable at the verification point; the cancellation looping procedure refers to the process of removing the looping relationship between the order and the delivery note and deleting the mapping record.

[0068] In practical applications, when canceling a queuing order, the order status is first rolled back and then the mapping is deleted. Orders that have already generated confirmed packages are not allowed to be canceled. When canceling in batches, the demand for each item that has not yet been covered by confirmed packages is compared after the cancellation. If the draft pre-deduction quantity exceeds this value, the cancellation is rejected to avoid leaving unclaimed pre-deductions after the cancellation. The cancellation itself has a status concurrent change verification to ensure that the criterion is not destroyed by intermediate states.

[0069] In this embodiment, by first reverting the order status and then deleting the mapping record when canceling a queuing order, by refusing cancellation when a confirmed package has been generated, and by using the comparison between the uncovered demand quantity and the draft pre-deducted quantity as the interception condition when canceling in batches, and by adding a concurrent status change verification before cancellation and allowing it to proceed according to the verification result, the stability of the queuing order cancellation operation is improved, and the accuracy of the order status and mapping data in concurrent scenarios is improved.

[0070] Optionally, in some embodiments of this application, the method further includes: aggregating the order details to be shipped based on the demand matrix to determine the demand output data; aggregating the number of confirmed packages under the same shipping order based on the coverage matrix to determine the coverage output data; aggregating the number of packages in the draft state that have been occupied based on the pre-deduction matrix to determine the pre-deduction output data; responding to a recalculation trigger instruction, performing a shipping quantity calculation based on the demand output data, coverage output data, and pre-deduction output data to obtain the remaining shipping quantity; and sending the remaining shipping quantity to the supplier's login-free collaborative terminal for shipping confirmation.

[0071] The demand matrix refers to a data set that aggregates the order quantity to be shipped according to two dimensions: site and product. The order detail quantity to be shipped refers to the quantity of goods that should be shipped to the site in the order detail line. The demand output data is used to characterize the demand that still needs to be fulfilled by the supplier.

[0072] The coverage matrix refers to the data set that aggregates the number of confirmed packages under the same shipping order; the coverage output data is used to characterize the demand for the confirmed packages.

[0073] The pre-trap matrix refers to the data set of aggregated draft status packages that have been occupied; the pre-trap output data is used to represent the number of packages that have been occupied by drafts but have not yet been converted to overlay.

[0074] Among them, recalculating the trigger instruction refers to re-deriving the trigger signal of the available quantity each time it is submitted; the available quantity calculation processing refers to the calculation processing of demand minus coverage and then pre-deduction; the remaining available quantity is used to represent the quantity that the supplier can still actually ship; the supplier login-free collaboration terminal refers to the operation terminal that the supplier can directly access with the authorization code without registration and login.

[0075] In practical applications, the expected shipment quantity is not recorded in the inventory or snapshotted; it is derived in real time from three matrices. The demand matrix aggregates the expected shipment quantity of orders by "site-carrying goods": the order quantity minus the quantity of completed returns, which is not less than zero, excluding orders automatically canceled due to full order returns, and unifying the main code, barcode, and compatible code to the main code before aggregation. The coverage matrix aggregates the quantity of confirmed packages under the same shipping order, and the pre-deduction matrix aggregates the quantity of packages in the draft state that have been occupied. The remaining available shipment quantity is equal to the demand minus the coverage and then the pre-deduction, which is not less than zero. This is recalculated each time the order is submitted.

[0076] In this embodiment, the remaining available quantity is derived by subtracting the three matrices of demand, coverage, and pre-deduction in real time and then distributed to the login-free collaborative terminal. This improves the stability of the available quantity caliber, enhances the accuracy and refresh efficiency of the pending quantity data, improves the processing effect of pending quantity convergence after returns and cancellations, reduces the correction cost of over-issuance or false rejection caused by static snapshots, and enhances the data processing capability of the direct delivery channel's available quantity management.

[0077] Optionally, in some embodiments of this application, the demand output data is determined by aggregating the order details and the quantity to be shipped based on the demand matrix. This includes: obtaining the order details and the quantity to be shipped by subtracting the quantity of returned goods from the quantity of the order placed; removing orders that are automatically canceled due to the return of the entire order; normalizing the original master code, barcode, and compatible code of each target order data to obtain the normalized master code; and performing order aggregation processing based on the normalized master code.

[0078] Among them, "order quantity" refers to the quantity of goods initially ordered by the customer in the order details line; "returned quantity" refers to the quantity that has completed the return process and should be deducted from the demand; "full order return" refers to the situation where the entire order is returned and thus automatically canceled by the system; "unification processing" refers to the process of converting the master code, barcode, and compatible code into the same code; "unified master code" refers to the master code used for aggregation after code unification processing; and "order aggregation processing" refers to the process of merging and summarizing order details by site and product.

[0079] In practical applications, the demand matrix aggregates the order details and the quantity to be shipped by "site-borne goods": the order quantity minus the quantity of returned goods, which is not less than zero, excludes orders that are automatically canceled due to full order returns, and then aggregates the main code, barcode, and compatible code into the main code.

[0080] In this embodiment, by deducting the quantity of returned goods from the order quantity, removing the entire order that was returned and cancelled, and uniformly coding them before aggregation, the stability of the demand aggregation caliber is improved, the accuracy of the order details and the quantity to be shipped is improved, the cost caused by duplicate stocking and inconsistent caliber is reduced, and the reliability of demand-side data processing is enhanced.

[0081] Optionally, in some embodiments of this application, the remaining available amount is calculated based on the demand output data, the coverage output data, and the pre-deducted output data. This includes: subtracting the coverage output data from the demand output data to obtain intermediate calculation data; subtracting the pre-deducted output data from the intermediate calculation data to obtain the preliminary calculated available amount; and determining the preliminary calculated available amount as the remaining available amount if the preliminary calculated available amount is not less than zero.

[0082] Among them, intermediate calculation data refers to the difference between demand output data and overlay output data; preliminary calculation available quantity refers to the difference between intermediate calculation data and pre-deducted output data; not less than zero is used to indicate that the calculation result is not negative, that is, the available quantity has not been overdrawn.

[0083] In practical applications, the remaining issueable quantity equals demand minus coverage minus pre-deduction, and is not less than zero; it is recalculated with each submission. Therefore, when a reverse event occurs, the issueable quantity seen by the supplier immediately drops, and the occupied quantity is released or converted to coverage after the draft is deleted or confirmed, eliminating any discrepancy between the snapshot and the actual issueable quantity. This standard applies consistently to four entry points: single box backfilling, batch import, list display, and batch confirmation.

[0084] In this embodiment, the remaining sendable quantity is calculated layer by layer by subtracting the coverage from the demand and then subtracting the pre-deducted amount, with the result not less than zero. The calculation is then recalculated each time a submission is made, which improves the stability of the calculation method for the sendable quantity, increases the accuracy of the data on the quantity to be sent, and enhances the processing capability for real-time deduction of the amount to be sent.

[0085] Optionally, in some embodiments of this application, the method further includes: when performing batch confirmation of target order data on the supplier's login-free collaborative terminal, preprocessing the pre-deduction matrix to exclude the draft quantity of the current batch box and the old quantity of the draft being edited; after preprocessing the pre-deduction matrix, performing box-by-box and detail-by-detail verification processing, and when the quantity of the current box corresponding to the target order data does not exceed the remaining shippable quantity, performing a timely deduction procedure for the available quantity; after performing the timely deduction procedure for the available quantity, performing an order allocation procedure to determine the order allocation result; and if the order allocation result is that all allocations are successful, writing the order allocation result back to the package details.

[0086] Among them, batch confirmation refers to the supplier's operation of submitting confirmation for multiple boxes of goods in the same batch at one time; preprocessing refers to the process of adjusting the value of the pre-deduction matrix before batch confirmation; the draft quantity of this batch of boxes refers to the quantity previously occupied in draft form for each box in this batch; the old quantity of drafts under editing refers to the quantity previously included in the drafts currently being edited.

[0087] Among them, the box-by-box and item-by-item verification process refers to the process of checking the quantity item by item according to the box and the order details; the quantity of this box refers to the quantity of goods in the box to be verified in this batch.

[0088] The available quantity deduction procedure refers to the process of immediately deducting the quantity from the remaining available quantity after verification; the order allocation procedure refers to the process of allocating the quantity in the box according to the order details line.

[0089] Among them, the order allocation result is used to characterize whether the quantity can be completely attributed to the order details line; the package details refer to the data that records the quantity of goods in the package and the order line to which it belongs.

[0090] In practical applications, the preprocessing for batch confirmation involves excluding the draft quantity of the current batch of boxes (whose pre-deduction will soon be converted to overwrite) and the old quantity of the draft being edited. Then, the quantity is checked box by box and item by item to ensure it does not exceed the remaining available quantity. The approved quantity is immediately deducted from the available quantity to prevent duplicate use by multiple boxes in the same batch. If the quantity exceeds the limit, the entire batch is rejected, and the tracking number, product name, and remaining quantity are displayed. Allocation is performed by greedily filling each order in ascending order of order number within the site, according to the order of its detail rows, with granularity maintained down to the specific purchase line in the order details. The result is then written back to the package details.

[0091] In this embodiment, by first excluding the pre-deduction of the current batch of boxes during batch confirmation, then verifying and deducting the deduction for each box and each detail, and then allocating the deduction according to the order details and writing back the package details, the stability of batch confirmation processing is improved, the accuracy and writing efficiency of the shipment quantity data are improved, the processing effect of concurrent backfilling of multiple boxes in the same batch is improved, the correction cost of duplicate occupation and misallocation is reduced, and the technical capability of backfilling data processing on the supplier side is enhanced.

[0092] Optionally, in some embodiments of this application, the method further includes: if any row is found to still have a surplus, determining that the site demand is insufficient, determining that the order allocation result is that there are details that cannot be allocated, and performing batch rejection processing on the target order data.

[0093] Among them, "any row still has a surplus" means that there are still order detail rows that are not filled after the allocation is completed; "insufficient demand at the site" indicates that the actual demand for this product at the site is less than the supplier's shipment volume; "details that cannot be allocated" indicates that the allocation has failed to cover all detail rows.

[0094] In practical applications, if any row still has excess capacity, it is determined that the site's demand is insufficient, and the entire batch is rejected without any writes. Inputs from the same batch will always yield the same allocation result, thus allowing for reconciliation and replay.

[0095] In this embodiment, by determining that the site demand is insufficient and rejecting the entire batch without generating any writes when there is still a surplus in any row, the stability of the allocation process is improved, the reconciliation and replayability accuracy of the order allocation results are improved, and the cost of repairing dirty data caused by partial writes is reduced.

[0096] Optionally, in some embodiments of this application, the method further includes: performing a delivery note status identification process on the target order data to obtain a delivery note status identification result; if the delivery note status identification result indicates that delivery is complete, leaving the site address information to be displayed corresponding to the target order data blank; if the delivery note status identification result indicates that delivery is not complete, performing a site address display switch judgment process on the target order data to obtain an address display switch judgment result; if the address display switch judgment result indicates that the display switch is off, leaving the site address information to be displayed corresponding to the target order data blank; if the address display switch judgment result indicates that the display switch is on, obtaining the site address information; performing order-preserving deduplication processing on the site address information to obtain processed address information; setting external gating data according to the delivery note status, and displaying the processed address information according to the display control cycle represented by the external gating data.

[0097] Among them, the delivery note status recognition process refers to the process of determining the current status of the delivery note; the delivery note status recognition result is used to indicate whether the delivery note has completed the dispatch of all goods; the blank processing refers to the process of not displaying information such as site name, address and contact information to the supplier.

[0098] Among them, "shipment not completed" indicates that the shipment order is still in the state of pending shipment or partial shipment; "site address display switch judgment processing" refers to the process of checking whether the site address display switch is turned on; the address display switch judgment result is used to indicate whether the site address is allowed to be displayed externally.

[0099] Among them, "order preservation and deduplication" refers to the process of deleting duplicate sites while maintaining the original order; "processed address information" refers to the site address information to be displayed after order preservation and deduplication; "external gating data" is used to characterize the data that can be displayed under the control of the site address; "display control cycle" refers to the time interval during which the site address is allowed to be displayed to the supplier.

[0100] In practical applications, the delivery note status is used as the external gating control. After entering the delivery completion state, the site name, address, and contact information are all left blank on the online collaboration page and in the exported files distributed to suppliers. The site address display switch is also left blank when it is turned off. No address snapshot is taken for the receiving information: during the waiting period for delivery, the current receiving information is retrieved in batches in real time according to the site code (preserving the order and deduplicating, and reverting to displaying the site name if site data is missing). If the address is changed during this period, the delivery is made according to the new address.

[0101] This embodiment improves the stability of site receiving information address retrieval and enhances the technical capabilities of real-time display of receiving information and leakage prevention.

[0102] The technical research process and other technical details of this application are described below with reference to a specific embodiment.

[0103] In traditional technology, the platform operates two fulfillment channels simultaneously: the warehousing and distribution channel involves sorting from a self-operated central warehouse and delivering goods via trunk lines to the last-mile delivery stations. Goods are first stored in the warehouse, where inventory is held and orders are locked in. The direct delivery channel is used for fresh produce, short-shelf-life items, and large items that are not suitable for warehousing. Suppliers ship directly to the nearest station, and inventory is never stored in a warehouse. Both channels share the same order pool, the same set of station master data, and the same inventory ledger. A single customer order often contains both warehousing and distribution goods and direct delivery goods. This model reveals the following problems in production: 1. The quantity to be shipped is a static snapshot. The list of items to be shipped to the supplier is fixed once exported according to the order quantity, and it will not revert after partial returns or full order cancellations. Production evidence: For a direct shipment order, 30 units should have been shipped, 20 units have been returned, but the supplier still shows 30 units, resulting in an over-shipment of 20 units; when the same product is pushed with a mixture of main code, barcode, or compatible code, it will be split into two lines for separate inventory preparation, further amplifying the over-shipment.

[0104] 2. Direct shipment orders inadvertently damage shared warehouse inventory. Direct shipment orders do not hold locks, but returns, cancellations, batch processing, and warehouse selection on the warehousing and distribution side treat all orders equally: when a return is made, the release direction deducts a non-existent lock amount; when a return is cancelled, the return direction adds a lock to the shared lock pool out of thin air. The two instances of accidental damage are opposite in direction and equal in value. For example, a batch processing incident was triggered in a regional warehouse due to a "locked inventory shortage of 5 units".

[0105] 3. The completion status is undetermined. When an order belongs to multiple suppliers and multiple packages, there is a lack of authoritative criteria for determining "whether it has been shipped and when it was reported". It can only be tracked manually, which may result in missed reports and inverted status.

[0106] 4. Conflict between order-by-order forwarding and site-by-site merging. Drop shipping order-by-order forwarding prevents suppliers from performing batch operations, resulting in scattered logistics tracks and the inability to aggregate orders.

[0107] 5. The login-free access method poses a data leakage risk. Once the authorization code is forwarded, the site name, address, and contact information can be traced in bulk.

[0108] The existing technologies mainly involve the following systems: 1. Cross-border "dropshipping" system: Automatically collects orders, forwards them to suppliers one by one, fills in the tracking number, and sends it back to the store. The amount to be shipped to the supplier is taken from the order snapshot.

[0109] 2. E-commerce order fulfillment platform: After an order is downloaded, the inventory is locked immediately, and the order is split and locked by warehouse. It adopts a single-channel model of "selecting a warehouse + locking the inventory in that warehouse".

[0110] 3. Warehouse Management System Packaging and Tracking Class: Generates package records for outbound operations, prints shipping labels, and subscribes to tracking information. Each package belongs to only one outbound document.

[0111] The shortcomings of the above system are: 1. The inventory responsibility entity is singular, lacking cross-channel bypass. Types 1 and 2 are based on the premise of "there must be one warehouse and one lockable inventory". When a direct shipment channel without going through the warehouse appears, the warehousing and distribution side still executes locking and releasing according to a unified path: when a direct shipment order is returned, the lock that does not exist is deducted, and when the return is canceled, a lock is added out of thin air, forming symmetrical collateral damage with opposite directions and equal values. Existing literature does not show any protective measures against this.

[0112] 2. The quantity to be shipped is a static snapshot. If some goods are returned and the original quantity is still prepared, over-shipment will inevitably occur; excessive deduction will result in an inflated figure, and the true demand will be mistakenly rejected.

[0113] 3. Many-to-many attribution relationships cannot be expressed or verified. The third type of scheme, which involves subscribing to tracking data by order number, still involves a one-to-many relationship between order and waybill. It cannot handle shipments of multiple orders in a single package, and therefore cannot determine whether an order has been shipped based on package data and report it automatically.

[0114] 4. Lack of timing control for data display. The solution that uses QR codes to distribute tasks only focuses on task verification; once the authorization code is forwarded, site data can be traced back in batches.

[0115] 5. Coding ambiguity leads to splitting of definitions. The main code, barcode, and compatible code are directly aggregated after being stored in the warehouse as is. The demand for one line of the same product is split into multiple lines, and the remaining quantity and allocation definition are split at the same time.

[0116] Based on this, this application provides a collaborative control method for inventory caliber based on a dual-channel direct delivery system. This method establishes two parallel fulfillment channels for the same batch of orders within the same system, and sets three collaborative constraints between them: First, a mapping record of "direct delivery order and order" is used as the sole criterion for inventory responsibility, allowing the locking and releasing of the warehousing and distribution side to bypass direct delivery orders in both directions; Second, the quantity to be delivered to the supplier is derived in real-time from three matrices: demand, coverage, and pre-deduction, with all operational entry points sharing the same caliber; Third, the supplier's delivery quantity, filled by box, is deterministically allocated back to the order details line, the order status is derived from the coverage and reported to the upstream, and the site's receiving information is only displayed in real-time during the pending delivery period.

[0117] Figure 2 This is a general structural diagram provided for one embodiment. For the overall structure of this application, please refer to [link / reference]. Figure 2 Regarding the invariant nature of inventory responsibility attribution and the bidirectional symmetrical bypass, the specific steps of the inventory caliber collaborative control method based on supplier direct delivery dual channels in this application are as follows: Before an order is included in a direct delivery order, it must pass six access checks: only delivery orders and replenishment orders awaiting review can be included; the receiving station must have a destination and not be closed or suspended; it must not have been included repeatedly by a valid delivery order; the goods must have maintained supplier mapping; combined products and sub-products must belong to the same supplier; mixed suppliers must first split the order by supplier; if any of these conditions are not met, the entire order will be rejected and the order number will be returned. After passing the checks, the mapping between the delivery order and the order is written, and the order is directly marked as confirmed, skipping the order review and inventory locking process, and it will not enter the wave process at all.

[0118] The mapping record thus becomes the criterion for inventory responsibility: as long as an order has a record in the mapping, it is equivalent to "the supplier is responsible for the inventory of this order, and the warehouse does not hold a lock," regardless of whether the delivery note is pending shipment, partially shipped, or shipped. This criterion is shared at both ends of the reverse link: before releasing the lock on a return, the criterion is checked; if it matches, the unlocking is skipped to avoid accidentally deducting non-existent locks and affecting the lock quantity of other orders on the same item; the same criterion is used for the rollback process after a return is cancelled; if it matches, the locking is skipped to avoid writing unclaimed locks into the public lock pool. When cancelling a loop order, the order status is rolled back first, then the mapping is deleted; orders with confirmed packages are not allowed to be cancelled; during batch cancellation, the demand quantity of each item not yet covered by confirmed packages is compared after cancellation; if the draft pre-deduction quantity exceeds this value, cancellation is rejected to avoid leaving unclaimed pre-deductions after cancellation; the cancellation itself includes concurrent status change verification, ensuring that this criterion is not corrupted by intermediate states.

[0119] Figure 3 A schematic diagram of real-time derivation of a three-matrix system is provided for one embodiment. (Refer to...) Figure 3 Regarding the remaining available quantity derived in real time from the three matrices, the inventory caliber collaborative control method based on supplier direct delivery dual channels in this application specifically follows the following steps: The payable quantity is not recorded in the database or captured in a snapshot; it is derived in real time from three matrices. See details. Figure 3 The demand matrix aggregates the order details and expected quantities by "site-based goods": the ordered quantity minus the quantity of completed returns, not less than zero, excluding orders automatically cancelled due to full order returns, and unifying the main code, barcode, and compatible codes to the main code before aggregation. The coverage matrix aggregates the quantity of confirmed packages under the same shipping order, and the pre-deduction matrix aggregates the quantity of packages in draft status that are already occupied; both are derived from the source type and status of a unified package domain. The remaining available quantity equals demand minus coverage minus pre-deduction, not less than zero, and is recalculated each time a submission is made.

[0120] Therefore, when a reverse event occurs, the quantity to be shipped as seen by the supplier immediately drops. Once the draft is deleted or confirmed, the occupied quantity is released or converted to an overwrite, and there is no discrepancy between the snapshot and the actual quantity to be shipped. This standard applies consistently to four types of entry points: single box backfilling, batch import, list display, and batch confirmation.

[0121] Figure 4A timing flowchart is provided for one embodiment, with reference to Figure 4 Regarding multi-entry verification, immediate deduction within the same batch, and deterministic allocation, the inventory caliber collaborative control method based on supplier direct delivery dual channels in this application specifically follows the following steps: Supplier-side operations are handled by a login-free collaborative platform, supporting export of pending shipment lists, batch import, or box-by-box backfilling. Each box corresponds to a logistics tracking number and can only see the stations and documents within its own jurisdiction. Weighing verification is performed simultaneously with backfilling. The number of drafts is included in the pre-deduction matrix, and when others backfill the same goods at the same station, they are immediately visible and can compete with each other. Duplicate backfilling is rejected before it is written.

[0122] The preprocessing during batch confirmation excludes draft quantities for the current batch of boxes (whose pre-deductions will soon be overwritten) and old quantities from drafts being edited. Then, the quantity is checked box by box and item by item to ensure it does not exceed the remaining available quantity. Quantities that pass the check are immediately deducted from the available quantity to prevent duplicate usage by multiple boxes in the same batch. If the quantity exceeds the limit, the entire batch is rejected, and the tracking number, product name, and remaining quantity are displayed. Allocation is performed by greedily filling each order in ascending order of order number within the site, following the order of its detail rows. The granularity is maintained down to the specific purchase row in the order details (the same product in the same order may come from multiple combined product purchase rows). The result is written back to the package details. If any row still has remaining quantity, it is determined that the site's demand is insufficient, the entire batch is rejected, and no further data is written. The same batch of inputs will always yield the same allocation result, thus allowing for reconciliation and replay.

[0123] Figure 5 A schematic diagram illustrating the data leakage prevention principle provided in one embodiment; see reference. Figure 5 Regarding state derivation and data leakage prevention in login-free channels, the inventory caliber collaborative control method based on supplier direct delivery dual channels in this application specifically includes the following steps: The allocation results are based on the cumulative coverage of "order multiplied by logistics tracking number" and the status is derived accordingly: orders that are fully covered by confirmed packages are marked as completed shipment, while those not fully covered are marked as in delivery and the shipping time is written back. The shipment order is progressed in three states: pending shipment, partially shipped, and completed shipment. The upstream reporting is also based on the order multiplied by the logistics tracking number. The compensation path and the confirmed path share the same coverage caliber for replay.

[0124] Site receiving information is not snapshotted at the address: During the pending shipment period, current receiving information is retrieved in real-time in batches by site code (preserving order and deduplication; if site data is missing, it reverts to displaying the site name). If the address is changed during this period, the shipment will be sent to the new address. The shipment status is also used as an external gating mechanism; see details below. Figure 5 Once the shipment is complete, leave the site name, address, and contact information blank on the online collaboration page and in the exported files distributed to suppliers. Also leave the site address display blank when the site address display switch is off.

[0125] In another specific implementation, the upstream pushes customer order A, containing 5 items: 3 central warehouse distribution items and 2 direct shipment items (30 fresh food gift boxes and 12 large grain and oil items), with the receiving station being a self-pickup station in Guangzhou. The warehouse distribution items undergo normal order review, batch processing, picking, and outbound processing; the direct shipment items are processed by the operations team through direct shipment order number F-101. This order is pending review, the station can receive the goods, and both direct shipment items have maintained supplier mappings and belong to the same supplier. After passing six verifications, the mapping is written, and the direct shipment portion is directly set as confirmed without locking warehouse inventory.

[0126] The customer returned 20 gift boxes on the same day. When the supplier logged into the collaboration platform the next day, the demand matrix immediately reduced the number of gift boxes to 10. The supplier filled in the order by box: the first box contained 6 gift boxes, and the second box contained 5 gift boxes plus 12 pieces of grain and oil, each with its own independent tracking number. After the first box was filled in, the remaining shipment quantity immediately decreased to 4 pieces. The 5 pieces in the second box were rejected on the spot with the message "Exceeds the remaining shipment quantity (4 pieces remaining)," and were changed to 4 pieces before submission. During batch confirmation, the draft pre-deduction of these two boxes was first excluded, then each box was checked and deducted immediately. Then, the 4 gift boxes and 12 pieces of grain and oil were allocated back to the corresponding detail line of order A in ascending order of order number. After the two boxes were converted to confirmed packages, the direct shipment items of order A were fully covered and marked as shipped completed. The delivery status was reported as in progress or completed according to the order and tracking number. The warehousing and distribution goods still flowed independently according to their own wave links.

[0127] The return was cancelled that evening. Since order A was recorded in the mapping, both the release and the rollback skipped the warehouse inventory operation, and the public lock pool did not show any increase or decrease. At the same time, the lock volume of other warehouse and distribution orders participating in the wave in the same warehouse was not mistakenly reduced, and the wave started normally.

[0128] Additionally, in one specific embodiment, see [link to specific embodiment]. Figure 3 and Figure 4 Data flow: Order quantity and return quantity enter the demand matrix, are first normalized and then aggregated by site and product. Orders that are canceled due to full return are removed, resulting in 30 and 12. When a return occurs, the quantity is recalculated to 10. When saving a draft, the quantity enters the pre-deduction matrix. When confirmed, the pre-deduction matrix first excludes the current batch of boxes and its own old quantity. The remaining shippable quantity is equal to the demand minus the coverage minus the pre-deduction. The quantity is compared box by box and detail by detail. The occupied quantity is written back in real time. Then, the quantity is filled to the detail granularity line by line according to the order confirmation order. If there is an over-quantity or surplus, the rejection exit is processed. Then, the order and shipping status are derived from the coverage of the order demand by the package details and reported by order and logistics tracking number. After-sales release and return, and receipt information reading are based on the existence of mapping and the status of shipping document, respectively.

[0129] The beneficial effects of the supplier direct delivery dual-channel inventory caliber collaborative control method proposed in this application are as follows: (1) This application uses the existence of the circle order mapping as the inventory responsibility criterion, and the reverse release and rollback are skipped in both directions; it overcomes the defects of the existing technology that the inventory responsibility subject is single and lacks cross-channel bypass, so that direct orders no longer enter the public lock pool for reading and writing, the locked quantity is not distorted, and the wave start no longer has "insufficient locked inventory"; (2) This application adopts the method of real-time derivation of the amount to be issued by three matrices and the same caliber of all inputs, which overcomes the defect of the amount to be issued being a static snapshot in the prior art, so that the amount to be issued will converge on the spot after the return or cancellation occurs, and the over-issuance will be rejected before writing; (3) This application unifies the shipping code before demand aggregation, which overcomes the defect of coding ambiguity leading to split scope in the prior art, so that the demand for the same product is kept in one line and the remaining quantity is consistent with the allocation scope. (4) This application adopts the method of pre-deduction of draft, exclusion of itself during confirmation, and immediate deduction after each box is checked, which overcomes the defect of multiple subjects filling at the same time in the prior art, which cannot see each other and causes duplicate occupation, so that concurrent filling squeezes each other and multiple boxes in the same batch are not counted repeatedly. (5) This application adopts a deterministic greedy allocation at the level of detailed row granularity, and rejects the whole batch if the allocation is not completed. This overcomes the defect in the prior art that the many-to-many attribution relationship cannot be expressed and verified, so that the same input will always get the same allocation result, and can be reconciled and replayed. The many-to-many relationship between boxes and orders is explicitly recorded. (6) This application derives the status from the coverage and reports it according to the order and logistics tracking number, which overcomes the defect of the inability to determine the completion status under multiple sources of shipment in the prior art, so that there is an authoritative criterion for shipment and completion reporting, and eliminates omissions and status inversions; (7) In this application, the receiving information is not captured by snapshot and is displayed by gating according to the delivery completion status, which overcomes the defect of lack of timing control in the display of data in the prior art, so that the data is still sent to the new address after the site is changed; after completion, the authorization code is forwarded and the site data cannot be traced back. The aforementioned effects are all verifiable state changes within the system: convergence of the amount to be issued, zero increase or decrease in the locked amount, replayability of the allocation results, and no external display of data after completion. These are all directly generated by the mechanism itself rather than adjusted by business rules. The common premise of existing technologies is that "each order corresponds to a lockable warehouse inventory." This application eliminates this premise and replaces it with an existence criterion. Therefore, the same set of reverse, wave, and warehouse selection logic can coexist with the direct delivery channel without branch modifications, proposing a completely new and unconventional technical approach that greatly improves the processing effect of order data.

[0130] In addition, in some embodiments, the package records for direct-delivery goods in this application reuse a unified package field (the same set of packages and package details, distinguishing between direct delivery and warehouse distribution by source type), which can be replaced by creating a separate table model for direct delivery.

[0131] Regarding after-sales exchanges being directly sent by the supplier: the exchange order is also written into the order mapping, with both locking and adding skipping. The exchange package is allocated according to the details and the completion is derived from the coverage and reported without warehouse intervention.

[0132] Regarding new product trial sales and temporary direct shipping during major promotions: goods not yet in the warehouse are directly included in the shipping order, and the demand matrix immediately drops when a refund is issued. When multiple operations teams separately urge the same site to fill in the pre-deductions, they crowd each other out.

[0133] Regarding the conversion of cross-warehouse transfers to local direct delivery: the transfer order is used as the source document, and the same matrix and mapping criteria are reused. After completion, the recipient's address information is also collected.

[0134] In general scenarios where the mechanism can be transferred: In any field where "the same demand is fulfilled by two types of suppliers and shares a set of inventory accounts" (store self-pickup and central warehouse delivery, own transportation capacity and external transportation capacity), the combination of attribution criteria plus three matrix calibers plus detailed line allocation can be applied as a whole.

[0135] In addition, the channel determination involved in this application refers to the following: the existence criterion of mapping can be replaced by the direct delivery flag bit on the order plus state machine constraints, but it is necessary to maintain the consistency between the two and it is not easy to express the semantics of "still needing to remain immune after completion"; it can also be derived according to the supplier or product category configuration rules, sacrificing accuracy.

[0136] The caliber maintenance involved in this application refers to the following: real-time derivation of the three matrices can be replaced by pre-generated snapshots plus incremental refresh of reverse events (this was the path in the early version of this solution), ensuring consistency without loss of events; alternatively, it can be changed to event tracing and replay, which has higher storage overhead.

[0137] The concurrent allocation and apportionment involved in this application refer to the following: draft pre-deduction can be replaced by pessimistic locking to directly occupy the quota, or only the coverage matrix can be retained without pre-deduction but the concurrency correctness will be lost; the allocation order can be changed to sort by order time or delivery date, and "reject if allocation is not completed" can be changed to allow gaps to be filled in the next batch of goods orders; the many-to-many relationship between packages and order details can also be changed to a set of details on the package, but the indexing and reverse lookup capabilities will be lost.

[0138] The engineering constraints involved in this application refer to: freezing the order after it is placed to continue splitting the order in order to maintain a stable mapping of demand, allocation and historical reports; changing the reporting to asynchronous events with retry or timed reconciliation and derivation; and retrieving data across modules through interface ports without directly depending on each other's entities, so that the same criteria can be reused for returns, waves, and warehouse selection.

[0139] It should be noted that any technical feature in any of the above embodiments provided in this application is also applicable to any of the following embodiments provided in this application; the technical features in the relevant embodiments of the various methods provided in this application are also applicable to the relevant embodiments of the various devices, systems or equipment provided in this application; the same, related or corresponding technical features in the various embodiments provided in this application can be referenced and explained to each other, and similarities will not be repeated.

[0140] Figure 6 Here is a structural block diagram of the system in one embodiment, with reference to Figure 6 The inventory caliber collaborative control system based on supplier direct delivery dual channels includes: The target order data acquisition module 601 is used to acquire target order data, which includes both warehouse-distributed goods and direct-shipped goods, obtained from the upstream order domain through order push. The access verification module 602 is used to perform access verification processing on the target order data based on the access gate of the circle order, and obtain the access verification result. The mapping record table writing module 603 is used to write the mapping data between the delivery note data and the target order data into the preset direct delivery note and order mapping record table when the access verification result is successful. The order judgment module 604 is used to use the updated direct delivery order and order mapping record table as the sole criterion for inventory responsibility to perform order judgment processing. If there is a mapping record corresponding to the target order data in the direct delivery order and order mapping record table, the order processing process of the target order data is controlled to skip the order review and lock-up procedure, and the wave entry procedure is prohibited from being executed in the order processing process of the target order data.

[0141] In this embodiment of the application, based on, as follows Figure 6 The connections between the various modules or units shown in the diagram improve the data accuracy and reliability of the order locking inventory process through the cooperation between these modules or units.

[0142] In another embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 7As shown, it includes a processor, memory, input / output interfaces, and a communication interface. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface is connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores relevant data. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. The computer program can be executed by the processor to implement the various methods described in the above embodiments.

[0143] In yet another embodiment, a computer device is provided, such as a terminal, whose internal structure diagram may be as follows: Figure 8 As shown, it includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. The computer program can be executed by the processor to implement the various methods described in the above embodiments.

[0144] Those skilled in the art will understand that Figure 7 and Figure 8 The structure shown is only a block diagram of a part of the structure related to the present application and does not constitute a limitation on the computer device on which the present application is applied. It may also include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements, in order to realize the function of the computer device.

[0145] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0146] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the systems, devices, equipment, modules or units described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0147] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, devices, or methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.

[0148] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0149] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium.

[0150] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product.

[0151] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, optical fiber) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium, or a semiconductor medium (e.g., a solid-state drive), etc.

[0152] The technical solutions provided by the embodiments of this application have been described in detail above. Specific examples have been used in the embodiments of this application to illustrate the principles and implementation methods of the embodiments of this application. The description of the above embodiments is only for the purpose of helping to understand the methods and core ideas of the embodiments of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the embodiments of this application. Therefore, the content of this specification should not be construed as a limitation on the embodiments of this application.

Claims

1. A collaborative control method for inventory caliber based on a dual-channel system of direct supplier delivery, characterized in that, The method includes: Obtain target order data from upstream order domains, including both warehouse-distributed and directly shipped goods, through order push notifications. The target order data is subjected to access verification processing based on the access gate of the circle, and the access verification result is obtained; If the access verification result is successful, the mapping data between the delivery note data and the target order data will be written into the preset direct delivery note and order mapping record table; The updated direct delivery order and order mapping record table is used as the sole criterion for inventory responsibility to perform order judgment processing. If there is a mapping record corresponding to the target order data in the direct delivery order and order mapping record table, the order processing process of the target order data is controlled to skip the order review and lock-up procedure, and the wave entry procedure is prohibited in the order processing process of the target order data.

2. The method according to claim 1, characterized in that, The access verification process for the target order data based on the access gate is performed to obtain the access verification result, including: Perform document and status verification on the target order data to obtain document and status verification results; The target order data is subjected to receiving site verification processing to obtain the receiving site verification result; Perform product ownership verification on the target order data to obtain the product ownership verification result; The access verification result is determined based on the document and status verification result, the receiving station verification result, and the goods ownership verification result.

3. The method according to claim 2, characterized in that, The step of determining the access verification result based on the document and status verification result, the receiving station verification result, and the goods ownership verification result includes: If the document and status verification result indicates that the target order data is a delivery order or replenishment order pending review, and the receiving station verification result indicates that the receiving station of the target order data has a destination and is not closed or suspended from delivery, and the goods ownership verification result meets the goods ownership verification conditions, then the access verification result is determined to be the verification passed. Specifically, the goods attribution verification result satisfies the goods attribution verification conditions as follows: the target order data is not repeatedly circled by a valid delivery note, the goods in the target order data have maintained supplier mapping, the combined sub-items of the target order data belong to the same supplier, and the mixed suppliers of the target order data have completed order splitting by supplier.

4. The method according to claim 1, characterized in that, The method further includes: If any verification result during the access verification process of the target order data is not satisfied, the access verification result is determined to be verification failure. The entire order is rejected for the target order data, and the order number of the target order data is displayed.

5. The method according to claim 1, characterized in that, The step of using the updated direct delivery order and order mapping record table as the sole criterion for inventory responsibility to perform order judgment processing, and controlling the order processing process of the target order data to skip the order review and inventory locking procedure when a mapping record corresponding to the target order data exists in the direct delivery order and order mapping record table, includes: Before the return release lock, the order judgment process is performed based on the unique criterion. If there is a mapping record corresponding to the target order data in the direct delivery order and order mapping record table, the unlocking procedure is skipped. Before the return process is completed after the return is cancelled, the order judgment process is performed using the unique criterion. If there is a mapping record corresponding to the target order data in the direct shipment order and order mapping record table, the locking procedure is skipped.

6. The method according to claim 1, characterized in that, The method further includes: In response to the order cancellation trigger operation, after reverting the order status of the target order data, delete the mapping record corresponding to the target order data in the direct delivery order and order mapping record table; If the target order data is identified as a package order that has been generated and confirmed, the order cancellation trigger operation is rejected. If it is detected that there are batch cancellations of the target order data, the uncovered demand quantity of each item that has not yet been covered by confirmed packages after the cancellation is compared with the draft pre-deduction quantity; if the draft pre-deduction quantity exceeds the uncovered demand quantity, the cancellation order triggering operation is rejected. In response to the order cancellation trigger operation, a concurrent status change verification process is performed before cancellation to obtain the concurrent status change verification result; if the concurrent status change verification result is successful, the order cancellation procedure is executed.

7. The method according to claim 1, characterized in that, The method further includes: Based on the demand matrix, aggregate the order details and the quantities to be shipped to determine the demand output data; Based on the coverage matrix, the number of confirmed packages under the same shipping order is aggregated to determine the coverage output data; Based on the number of already occupied packages in the pre-deduction matrix aggregation draft status, determine the pre-deduction output data; In response to the recalculation trigger command, the remaining amount of data to be sent is calculated based on the demand output data, the coverage output data, and the pre-deducted output data. The remaining available shipment quantity is sent to the supplier's login-free collaborative terminal for shipment confirmation.

8. The method according to claim 7, characterized in that, The process of aggregating order details and determining the demand output data based on the demand matrix to output the quantity of goods to be shipped includes: The order details to be shipped are obtained by subtracting the number of returned items from the order quantity. Orders that were automatically cancelled due to full order returns are excluded. The original master code, barcode, and compatible code of each target order data are normalized to obtain a normalized master code. Order aggregation processing is performed based on the normalized master code.

9. The method according to claim 7, characterized in that, The process of calculating the remaining available quantity based on the demand output data, the coverage output data, and the pre-deducted output data includes: The intermediate calculation data is obtained by subtracting the coverage output data from the required output data. The preliminary calculated amount of output is obtained by subtracting the pre-deduction output data from the intermediate calculation data; If the initially calculated amount of data that can be sent is not less than zero, then the initially calculated amount of data that can be sent is determined as the remaining amount of data that can be sent.

10. The method according to claim 7, characterized in that, The method further includes: When the supplier performs batch confirmation on the target order data in the login-free collaboration terminal, the pre-deduction matrix is ​​preprocessed to exclude the draft volume of this batch box itself and the old volume of the draft in the editing process; After preprocessing the pre-deduction matrix, perform box-by-box and item-by-item verification. When the quantity of the box corresponding to the target order data does not exceed the remaining shippable quantity, execute the available quantity deduction procedure in a timely manner. After executing the available quantity deduction procedure, execute the order allocation procedure to determine the order allocation result; If the order allocation result is that all allocations are successful, the order allocation result will be written back to the package details.

11. The method according to claim 10, characterized in that, The method further includes: If any row is found to still have a surplus, it is determined that the site demand is insufficient, and the order allocation result is determined to be that there are details that cannot be allocated. In this case, the entire batch is rejected for the target order data.

12. The method according to claim 1, characterized in that, The method further includes: The target order data is processed for shipment status identification to obtain the shipment status identification result; If the status recognition result of the delivery note is that the delivery is completed, the site address information to be displayed corresponding to the target order data will be left blank. If the status recognition result of the delivery note is that the delivery is not completed, the site address display switch is judged for the target order data to obtain the address display switch judgment result. If the address display switch is determined to be off, the site address information to be displayed corresponding to the target order data will be left blank. If the address display switch determination result is that the display switch is on, the site address information is obtained; Perform order-preserving deduplication on the site address information to obtain the processed address information; The external gating data is set according to the status of the delivery note, and the processed address information is displayed according to the display control cycle represented by the external gating data.

13. A collaborative control system for inventory caliber based on a dual-channel direct-from-supplier system, characterized in that, The system includes: The target order data acquisition module is used to acquire target order data from the upstream order domain, which includes both warehouse-distributed goods and directly shipped goods, through order push. The access verification module is used to perform access verification processing on the target order data based on the access gate of the circle order, and obtain the access verification result; The mapping record table writing module is used to write the mapping data between the delivery note data and the target order data into a preset direct delivery note and order mapping record table when the access verification result is successful. The order judgment module is used to use the updated direct delivery order and order mapping record table as the sole criterion for inventory responsibility to perform order judgment processing. If there is a mapping record corresponding to the target order data in the direct delivery order and order mapping record table, the module controls the order processing process of the target order data to skip the order review and lock-up procedure, and prohibits the execution of the wave entry procedure in the order processing process of the target order data.

14. A computer device, characterized in that, The computer device includes: At least one processor and memory; The memory is used to store program code, and the processor is used to call the program code stored in the memory to execute the method as described in any one of claims 1 to 12.

15. A computer storage medium, characterized in that, It includes instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 1 to 12.