Document closing method and apparatus, and electronic device and storage medium
By automatically identifying the target document and order check tasks in the warehouse management system and performing order check tasks, the problem of inefficient reverse order checking is solved, and an efficient process of rapid closure and refund is realized.
Patent Information
- Application Number
- PCT/CN2024/106636
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-10-31
- Filing Date
- 2024-07-22
- Publication Date
- 2025-05-08
AI Technical Summary
The checking efficiency of reverse documents in the warehouse management system is not high and needs to be improved to improve the refund efficiency.
By responding to task execution instructions, determine the target document and target order task, and execute the target order task for target documents, obtain closing information to automatically close the target document.
It significantly improves the efficiency of document closure, reduces the amount of manual operation, and ensures the rapid closure of reverse documents and the effective triggering of refund mechanisms.
Smart Images

Figure CN2024106636_08052025_PF_FP_ABST
Abstract
Description
Document closing method, device, electronic device and storage medium
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on October 31, 2023, with application number 202311434554.8, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present application relate to the warehousing field, for example, to a document closing method, device, electronic device and storage medium. Background Art
[0003] Reverse receipt of the Warehouse Management System (WMS) is a very important link in actual production, which involves the acceptance of reverse documents.
[0004] It should be noted that reverse documents involve refunds, and the refund mechanism can only be triggered after the reverse document has been inspected and accepted, that is, after it has been closed. Therefore, to ensure refund efficiency, it is crucial for warehouses to quickly close documents (i.e., close the document).
[0005] In the process of implementing this application, the inventors discovered that the following technical problems exist in the relevant technology: the customs clearance efficiency is not high and needs to be improved.
[0006] Summary of the Invention
[0007] The embodiments of the present application provide a document closing method, device, electronic device and storage medium to improve document closing efficiency.
[0008] According to one aspect of the present application, a document closing method is provided, which may include:
[0009] In response to the task execution instruction, obtaining trigger information of the task execution instruction;
[0010] Determine a target document from at least one unclosed item document according to the trigger information, and determine a target document closing task from at least one preset candidate document closing task;
[0011] Execute the target document closing task for the target document, obtain closing information, and close the target document when the target document is determined to be closed based on the closing information, to indicate that the target document has been accepted.
[0012] According to another aspect of the present application, a document closing device is provided, which may include:
[0013] a trigger information obtaining module, configured to obtain trigger information of the task execution instruction in response to the task execution instruction;
[0014] a target document closing task determining module configured to determine a target document from at least one unclosed item document and a target document closing task from at least one preset candidate document closing task based on trigger information;
[0015] The document closing module is configured to execute a target document closing task for a target document, obtain closing information, and close the target document when determining to close the target document based on the closing information, to indicate that the target document has been accepted and completed.
[0016] According to another aspect of the present application, an electronic device is provided, which may include:
[0017] at least one processor; and
[0018] a memory communicatively connected to at least one processor; wherein,
[0019] The memory stores a computer program that can be executed by at least one processor. The computer program is executed by at least one processor so that the document closing method provided in any embodiment of the present application is implemented when the at least one processor executes the computer program.
[0020] According to another aspect of the present application, a computer-readable storage medium is provided, on which computer instructions are stored. The computer instructions are used to enable a processor to implement the document closing method provided in any embodiment of the present application when executed. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] FIG1 is a flow chart of a document closing method provided according to an embodiment of the present application;
[0022] FIG2 is a flow chart of another document closing method provided according to an embodiment of the present application;
[0023] FIG3 is a flowchart of an optional example of another document closing method provided according to an embodiment of the present application;
[0024] FIG4 is a flow chart of another document closing method provided according to an embodiment of the present application;
[0025] FIG5 is a flowchart of an optional example of another document closing method provided in an embodiment of the present application;
[0026] FIG6 is a flowchart of another optional example of another document closing method provided according to an embodiment of the present application;
[0027] FIG7 is a flow chart of another document closing method provided according to an embodiment of the present application;
[0028] FIG8 is a flowchart of an optional example of another document closing method provided according to an embodiment of the present application;
[0029] FIG9 is a structural block diagram of a document closing device provided according to an embodiment of the present application;
[0030] FIG10 is a schematic structural diagram of an electronic device for implementing the document closing method according to an embodiment of the present application. DETAILED DESCRIPTION
[0031] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. The situations of "target", "original", etc. are similar and will not be described in detail here. In addition, the terms "comprise" and "have" and any of their variations are intended to cover non-exclusive inclusions, for example, the process, method, system, product or equipment comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or that are inherent to these processes, methods, products or equipment.
[0033] Figure 1 is a flow chart of a document closing method provided in an embodiment of the present application. This embodiment is applicable to automatic document closing, and is particularly applicable to automatically closing a target document upon confirming that the target document has been fully inspected. This method can be performed by a document closing device provided in an embodiment of the present application. This device can be implemented in software and / or hardware and can be integrated into an electronic device, such as various user terminals or servers.
[0034] Referring to FIG1 , the method of the embodiment of the present application includes the following steps:
[0035] S110 . In response to the task execution instruction, obtain trigger information of the task execution instruction.
[0036] Among them, the task execution instruction can be understood as an instruction for instructing the execution of a candidate customs clearance task, so as to determine whether a certain item document can be closed. Under normal circumstances, the item document can be closed when the entire document is fully inspected. The above-mentioned entire document inspection can be understood as the node operation that the item document has completed the inspection and acceptance and the item document cannot be re-inspected.
[0037] In response to the task execution instruction, trigger information for the task execution instruction is obtained. The trigger information can be understood as relevant information that triggers the task execution instruction, such as a triggering method, a triggering operation, a triggering object, or a triggering number, etc., which are not limited here. For example, the triggering method can be understood as the method of triggering the task execution instruction, such as a time trigger or an operation trigger; the triggering operation can be understood as the operation that triggers the task execution instruction, such as an acceptance operation or a container operation.
[0038] S120: Determine a target document from at least one unclosed item document according to the trigger information, and determine a target document closing task from at least one preset candidate document closing task.
[0039] An item document can be understood as an unclosed document, meaning one that has not been fully inspected. In practical applications, the item document can be inspected. For example, at least one item corresponding to the item document can be inspected. For example, each item in the at least one item is inspected to verify receipt and, if received, to determine if the item is damaged. The item document can contain one, two, or more items, without limitation. Based on the trigger information, a target document is determined from the at least one item document. This target document can be understood as the item document that the task execution instruction instructs to process.
[0040] Candidate clearance tasks can be understood as pre-set tasks used to determine whether an item document can be closed. Based on the possible application scenarios of the embodiments of this application, these tasks can be, for example, full clearance tasks, overdue clearance tasks, or pre-clearance clearance tasks, etc., without limitation here. The number of candidate clearance tasks can be one, two, or more, without limitation here.
[0041] A full order closure task can be understood as automatically closing an item order when the order quantity matches the acceptance quantity. For example, if there are 10 items on an item order and all 10 items have been accepted, the item order can be automatically closed without waiting for these 10 items to be put on the shelves.
[0042] The Overdue Closure task can be understood as automatically closing an item document if the number of items inspected and put on shelves matches, and if no operations have been performed on the item document for a period exceeding the pre-configured overdue period. For example, if there are 10 items on an item document, 6 items are inspected and put on shelves, and no operations have been performed for the allowed overdue period, the item document will be automatically closed.
[0043] The preheating order closing task can be understood as automatically closing an item list when there are no containers to be processed. For example, if there are 10 items on an item list and it enters the preheating state, if the acceptance process stops (i.e., no more accepted items are added to the container), the item list will be automatically closed.
[0044] According to the trigger information, a target customs clearance task is determined from at least one preset candidate customs clearance task. The target customs clearance task can be understood as the candidate customs clearance task indicated by the task execution instruction.
[0045] S130: Execute the target document closing task for the target document, obtain closing information, and close the target document when it is determined to be closed according to the closing information, to indicate that the target document has been accepted.
[0046] Executing a target document closure task for a target document determines whether the target document can be closed. Alternatively, executing the target document closure task determines whether the target document has been fully inspected and verified, thereby determining whether it can be closed. Closing information is obtained, which can be used to indicate whether the target document has been fully inspected and verified, i.e., whether it can be closed. Therefore, if the target document is determined to be closable based on the closure information, the target document is closed, thereby achieving automatic document closure.
[0047] The technical solution of the embodiment of the present application obtains trigger information for the task execution instruction in response to the task execution instruction; based on the trigger information, determines the target document from at least one unclosed item document and determines the target document closing task from at least one pre-set candidate document closing task; executes the target document closing task for the target document to obtain closing information, and then closes the target document if it is determined that the target document can be closed based on the closing information. The above technical solution adopts a task model as a whole, automatically determining whether the target document can be closed, and automatically closing the document if so, which can significantly improve document closing efficiency compared to manual determination and closing.
[0048] Figure 2 is a flow chart of another document closing method provided in an embodiment of the present application. This embodiment is refined based on the above-mentioned technical solutions. In this embodiment, optionally, the trigger information includes a triggering method; according to the triggering information, a target document is determined from at least one unclosed item document, and a target document closing task is determined from at least one pre-set candidate document closing task, which may include: when the triggering method is a time trigger, obtaining the first timeliness of each item document in at least one unclosed item document, and determining the target document from at least one item document based on the first timeliness of each item document; determining the target document closing task that matches the time trigger from at least one pre-set candidate document closing task. Among them, the explanations of the terms that are the same as or corresponding to the above-mentioned embodiments are not repeated here.
[0049] Referring to FIG. 2 , the method of this embodiment may include the following steps:
[0050] S210 : In response to the task execution instruction, obtain a triggering method of the task execution instruction.
[0051] Among them, the triggering method can be understood as a method of triggering the task execution instruction, such as time triggering or operation triggering, etc. For example, time triggering can trigger the task execution instruction when the current time is the preset time, that is, triggering the task execution instruction at a fixed time and point; operation triggering can trigger the task execution instruction when a preset trigger operation is detected. Combined with the application scenarios that may be involved in the embodiments of the present application, the triggering operation can be an acceptance operation or a container operation, etc., wherein the acceptance operation can be understood as an operation performed for the acceptance of items, and the container operation can be understood as an operation performed on the container used to hold accepted items, such as a container cancellation operation or a container replacement operation, etc.
[0052] S220: When the trigger mode is time triggering, obtain the first timeliness of each item document in at least one unclosed item document, and determine a target document from the at least one item document based on the first timeliness of each item document.
[0053] Here, the first timeliness of each item document in at least one item document is obtained respectively. The first timeliness can be used to represent the degree of customs timeliness requirement of the corresponding item document. In actual application, it can optionally be represented as high or low in combination with the application scenarios that may be involved in the embodiments of the present application. Of course, it can also be represented in other ways, which are not limited here.
[0054] Then, based on the first timeliness of each item document, a target document is determined from the at least one item document. For example, an item document that meets a pre-configured timeliness condition can be selected as a target document. This timeliness condition can reflect the conditions that an item document must meet to be a target document, based on customs timeliness requirements. In the above example, this timeliness condition can be a low first timeliness, so that an item document with a low first timeliness can be selected as a target document.
[0055] S230: Determine a target order closing task that matches the time trigger from at least one preset candidate order closing task.
[0056] The triggering methods matched by each candidate task in the at least one candidate task may be the same or different. Therefore, the target task can be determined from the at least one candidate task based on the triggering method (e.g., the time trigger in this step). Based on this, if there are at least two target tasks determined, further matching can be performed within the at least two target tasks based on other factors, which are not limited here.
[0057] S240: Execute the target document closing task for the target document, obtain closing information, and close the target document when it is determined to be closed according to the closing information, to indicate that the target document has been accepted.
[0058] The technical solution of the embodiment of the present application is for a target closing task that matches a time trigger. Since the item documents that can be processed by the target closing task have restrictions on the timeliness requirements for closing, the target document can be obtained from these item documents based on the first timeliness of the item documents, thereby achieving the effect of determining whether the target document can be closed by executing the target closing task.
[0059] In an optional technical solution, the number of target documents is at least one;
[0060] Execute the target document closing task for the target document and obtain closing information, including:
[0061] For each target document in the at least one target document, determining a first acceptance time of the target document, and obtaining an interval between the first acceptance time and a current time;
[0062] Determine an overdue document from at least one target document according to the interval duration corresponding to each target document and a pre-configured allowed overdue duration;
[0063] Comparing the first acceptance quantity of the accepted item in at least one item corresponding to the overdue document with the put-on quantity of the put-on item to obtain closing information;
[0064] When the target document is determined to be closed based on the closing information, the target document is closed to indicate that the target document has been accepted, including:
[0065] In response to determining to close the overdue document according to the closing information, the overdue document is closed to indicate that the overdue document has been accepted and completed.
[0066] Among them, the following describes the relevant content of the target closing task that matches the time trigger. The target closing task here can be understood as the overdue closing task.
[0067] For each target document in at least one target document, determine the first acceptance time of the target document. The first acceptance time can be understood as the time when the target document is first accepted, or for the first accepted item in at least one item corresponding to the target document, the first acceptance time can be understood as the time when the item is accepted. The above-mentioned at least one item can be understood as the item recorded on the target document. Get the current time, and based on the current time and the first acceptance time, get the interval between the two. In practical applications, optionally, the current time can be specific to hours, minutes or seconds, and the first verification time can be specific to days. In this case, the first verification time can also be called the first verification date. On this basis, when the interval time is obtained by current time minus first verification date, the interval time can be rounded down to the number of days. If it does not meet one day, it will be treated as 0. In this case, the interval time can also be called the interval days.
[0068] Overdue documents are identified from the at least one target document based on the interval duration corresponding to each target document and the pre-configured allowed overdue duration. The allowed overdue duration can be understood as the pre-configured upper limit on the time an item document can be overdue. Simply put, it indicates the maximum allowed overdue duration for an item document. Considering that the target document clearance task is intended for processing overdue documents that cannot be overdue any further, for each target document in the at least one target document, whether to process the target document as an overdue document can be determined based on whether the interval duration corresponding to the target document exceeds the allowed overdue duration. This allows overdue documents to be identified from the at least one target document.
[0069] The first acceptance quantity of the inspected items in the at least one item corresponding to the overdue document is compared with the shelving quantity of the shelved items to obtain closing information. Specifically, for the at least one item corresponding to the overdue document, the inspected items can be understood as the items that have been inspected among the at least one item, and the first acceptance quantity can be used to indicate the number of inspected items; the shelved items can be understood as the items that have been shelved among the at least one item, and the shelving quantity can be used to indicate the number of shelved items. The first acceptance quantity is compared with the shelving quantity to determine the magnitude relationship between the two, and then the closing information is obtained based on this. For example, if the first acceptance quantity = the shelving quantity, closing information can be obtained to indicate that the overdue document can be closed; if the first acceptance quantity is not equal to the shelving quantity, closing information can be obtained to indicate that the overdue document cannot be closed.
[0070] Exemplarily, when it is determined to close the overdue document according to the closing information, the overdue document is closed.
[0071] The above technical solution can be applied to the application scenario where the items in the target document arrive at the warehouse one after another. When the target document is converted into an overdue document and all the accepted items in the overdue document have been put on the shelf, this indicates that the items in the target document have been processed and have exceeded the allowed overdue period. The overdue document can be closed in time, thereby ensuring the timeliness of the closure of the overdue document. In addition, a timed polling is provided, which automatically detects whether to close the document through time triggering, thereby reducing the amount of manual operation.
[0072] On this basis, optionally, the number of documents for overdue documents is at least two;
[0073] Comparing the first acceptance quantity of the accepted item in at least one item corresponding to the overdue document with the put-on quantity of the put-on item to obtain closing information of the overdue document, including:
[0074] Obtaining a processing priority of each of the at least two overdue documents, and obtaining a processing order of the at least two overdue documents based on the processing priority of each overdue document;
[0075] For each of the at least two overdue documents, obtaining a first acceptance quantity of an accepted item and a put-on quantity of an put-on item in at least one item corresponding to the overdue document;
[0076] Based on the processing order, the first acceptance quantity and the shelf quantity corresponding to the at least two overdue documents are compared in sequence to obtain the closing information corresponding to the at least two overdue documents;
[0077] When the overdue document is determined to be closed based on the closing information, the overdue document is closed, including:
[0078] For each of the at least two overdue documents, if it is determined to close the overdue document according to the closing information corresponding to the overdue document, the overdue document is closed.
[0079] Among them, the processing priority can be used to characterize the priority of overdue document processing. Generally speaking, the higher the processing priority, the more priority the overdue document needs to be processed. According to the processing priority of each overdue document, these overdue documents are sorted to obtain the processing order of at least two overdue documents. For example, assuming that there are three overdue documents A, B and C, the processing priority of A is 1, the processing priority of B is 2, and the processing priority of C is 3, then the processing order obtained can be C-B-A. In actual applications, optionally, when there are at least two overdue documents in the same processing priority, these overdue documents can also be sorted according to the first acceptance time corresponding to the at least two overdue documents, so as to ensure that overdue documents with longer detention time are processed first.
[0080] Exemplarily, based on the processing order, the first acceptance quantity and the shelf quantity corresponding to at least two overdue documents are sequentially compared to obtain the closure information corresponding to the at least two overdue documents. Exemplarily, continuing with the above example, the first acceptance quantity and the shelf quantity corresponding to C are first compared to obtain the closure information of C; then, the first acceptance quantity and the shelf quantity corresponding to B are compared to obtain the closure information of B; finally, the first acceptance quantity and the shelf quantity corresponding to A are compared to obtain the closure information of A.
[0081] The above technical solution determines the processing order of at least two overdue documents by processing priority, and then processes these overdue documents in sequence according to the processing order, so that the overdue documents that need to be processed as soon as possible can be processed first.
[0082] On this basis, the document closing method may optionally further include: incrementing the processing priority of at least two overdue documents for which the first acceptance quantity and the shelf quantity are not equal. Overdue documents for which the first acceptance quantity and the shelf quantity are not equal can be understood as overdue documents that cannot be closed temporarily. As can be seen above, since overdue documents have expired and need to be closed as soon as possible, their processing priority can be incremented, for example, by +1, to ensure that they receive priority processing next time.
[0083] To better understand the various technical solutions described above, we'll illustrate them with specific examples. For example, for item documents requiring under-inspection, the closing timeliness requirements are more relaxed, allowing for separate processing. For example, by configuring the number of days allowed for overdue periods, unaccepted item documents are captured daily, and the following logic is executed sequentially for these item documents:
[0084] a. Filter out overdue documents based on the configured number of overdue days and the rule that the current time - first acceptance date is greater than the allowed number of overdue days. Round down the number of days; any days less than one day are treated as 0. The default processing priority for all overdue documents is 0.
[0085] b. Read all overdue documents that meet the conditions and sort them according to the processing priority. Give priority to the overdue documents with the highest processing priority, and give priority to the overdue documents with an earlier first acceptance date within the same processing priority. Calculate the items corresponding to the overdue documents, whether the first acceptance quantity = shelf quantity condition is met. If it is met, it means that the items corresponding to the overdue documents have been processed and exceeded a certain time, and meet the conditions for automatic order completion, and can be closed. In actual applications, the remaining unaccepted stock keeping units (SKUs) can be treated as low stock, that is, all unaccepted SKUs can be automatically low stock, and the low stock information is synchronized upstream, thereby reducing the amount of manual operation.
[0086] c. For overdue documents that don't meet the first acceptance quantity = shelf quantity requirement, the processing priority + 1 logic is applied, allowing them to be prioritized during the next capture. In practice, a backlog alert can be displayed for overdue documents with a processing priority greater than 5, prompting on-site personnel to promptly process these long-standing overdue documents.
[0087] As another example, referring to Figure 3, when accepting items based on the WMS, invoices for items that have expired and have not been fully inspected (i.e., overdue invoices) can be screened out and sorted according to their respective processing priorities, allowing them to be processed in order. During the processing process, for overdue invoices that have been fully put on the shelves, it is determined that they have been fully inspected, which can trigger a refund mechanism; correspondingly, for overdue invoices that have not been fully put on the shelves, their processing priority is increased, allowing them to be processed first next time.
[0088] FIG4 is a flowchart of another document closing method provided in an embodiment of the present application. This embodiment is refined based on the above-mentioned technical solutions. In this embodiment, optionally, the trigger information includes a trigger operation; based on the trigger information, a target document is determined from at least one unclosed item document, and a target document closing task is determined from at least one pre-set candidate document closing task, including: obtaining an operation object of the trigger operation; based on the operation object, a target document is determined from at least one unclosed item document, and a target document closing task is determined from at least one pre-set candidate document closing task. The explanations of terms that are the same as or corresponding to those in the above-mentioned embodiments are not repeated here.
[0089] Referring to FIG4 , the method of this embodiment may include the following steps:
[0090] S310 . In response to the task execution instruction, obtain a triggering operation of the task execution instruction and acquire an operation object of the triggering operation.
[0091] Among them, the trigger operation can be understood as an operation that triggers the task execution instruction. Combined with the application scenarios that may be involved in the embodiments of the present application, the trigger operation can be an acceptance operation or a container operation, etc. For example, the acceptance operation can be understood as an operation performed manually for accepting items. For example, the operation of placing the inspected items into the container can be used as an acceptance operation; the container operation can be understood as an operation performed manually on the container for holding the accepted items, such as a container replacement operation or a container cancellation operation, etc. The former is applicable to the situation where no more inspected items are put into the container, and the latter is applicable to the situation where the container is damaged and cannot continue to hold the accepted items. In actual applications, the container can optionally be in the form of a box, a case or a cabinet, etc., which is not limited here.
[0092] The operation object can be understood as the object operated by the trigger operation, for example, it can be an item with acceptance requirements. In order to distinguish the item operated by the trigger operation from other items, the item operated by the trigger operation can be referred to as an item to be accepted; it can also be a container with operation requirements. Similarly, in order to distinguish the container operated by the trigger operation from other containers, the container operated by the trigger operation can be referred to as an item holding container; of course, it can also be other objects involved in actual applications, which are not limited here.
[0093] S320: Determine a target document from at least one unclosed item document according to the operation object, and determine a target document closing task from at least one preset candidate document closing task.
[0094] Among them, a target document matching the operation object is determined from at least one unclosed item document. For example, when the operation object includes items to be inspected, the item document containing the items to be inspected can be used as the target document; for another example, when the operation object includes an item container, the item document containing the items contained in the item container can be used as the target document; and so on.
[0095] A target order closing task matching the operation object is determined from at least one pre-set candidate order closing task. Based on this, if there are at least two determined target order closing tasks, a match may be performed again among the at least two target order closing tasks based on other factors, thereby obtaining a target order closing task for execution. Alternatively, a target order closing task with a higher priority among the at least two target order closing tasks may be executed first. Then, if it is determined that the target document cannot be closed based on this, a target order closing task with a second higher priority among the at least two target order closing tasks may be executed, and so on. Alternatively, the at least two target order closing tasks may be executed in parallel, and so on. The above are not limited to the above.
[0096] S330: Execute the target document closing task for the target document, obtain closing information, and close the target document when it is determined to be closed according to the closing information, to indicate that the target document has been accepted.
[0097] The technical solution of the embodiment of the present application determines the target document and the target closing task that match the operation object. In this way, the item document that can be processed by the target closing task is adapted to the target document, thereby achieving the effect of determining whether the target document can be closed by executing the target closing task.
[0098] An optional technical solution, the operation object is the items to be inspected;
[0099] Execute the target document closing task for the target document and obtain closing information, including:
[0100] Obtaining the item quantity of at least one item corresponding to the target document and a second acceptance quantity of the accepted items among the at least one item, wherein the at least one item includes items to be accepted;
[0101] The item quantity is compared with the second acceptance quantity to obtain closing information.
[0102] Among them, the following describes the relevant content of the target order closing task that matches the items to be inspected. The target order closing task here can be understood as the full order closing task.
[0103] Among them, the number of items can be understood as the number of at least one item corresponding to the target document, and can also be understood as the number of all items that need to be accepted for the target document. The at least one item includes items to be accepted, that is, the acceptance operation is an operation performed on an item in the at least one item. The second acceptance quantity can be understood as the number of accepted items in the at least one item. The number of items is compared with the second acceptance quantity to obtain the size relationship between the two, and then the closing information is obtained based on this. For example, when the number of items = the second acceptance quantity, this means that the target document has been received in full and there is no shortage. The entire document can be automatically inspected, and the closing information indicating that the target document can be closed can be obtained; when the number of items is not equal to the second acceptance quantity, the closing information indicating that the target document cannot be closed can be obtained.
[0104] On the one hand, the above technical solution can be applied to item documents that require full receipt, and the number of items corresponding to such item documents is usually small; on the other hand, it can be understood that every time an acceptance operation is detected, the above-mentioned full-quantity closing task can be executed to determine whether the target document corresponding to the acceptance operation can be closed, thereby better ensuring the timeliness of closing the document; on the other hand, the number of items can be automatically compared with the second acceptance quantity, thereby reducing the amount of manual operation.
[0105] In order to better understand the above technical solution, it is illustrated below with reference to specific examples. For example, referring to Figure 5, when accepting items based on WMS, it can be determined whether the target document has been fully accepted, that is, the number of all SKUs in the target document that need to be accepted (that is, the number of items mentioned above) = the number of accepted items in the entire order (that is, the second acceptance number mentioned above) is calculated. If the number of all SKUs in the target document that need to be accepted = the number of items in the entire order, it means that the target document has been fully accepted, and a refund mechanism can be triggered; if the number of all SKUs in the target document that need to be accepted is not equal to the number of items in the entire order, it is determined whether the entire order has been manually accepted. If the entire order has been manually accepted, the refund mechanism can be triggered. If the entire order has not been manually accepted, acceptance continues.
[0106] In order to better understand the full order closing task and overdue order closing task introduced above, an illustrative example is provided here. For example, referring to Figure 6, when the WMS accepts the items, the whole order calculation logic is triggered. The full order closing task can be executed to determine whether the target document has been fully accepted. If so, the refund mechanism is triggered. If the target document has not been fully accepted, the accepted items are waited for to be put on the shelves. In addition, the overdue order closing task can be executed to complete the one-click inspection to see whether all the accepted items in the overdue documents have been put on the shelves. After waiting for all the accepted items to be put on the shelves, the refund mechanism can be triggered. Otherwise, that is, for the documents of items that have not expired, you can wait for polling and process them after they are converted into overdue documents.
[0107] Figure 7 is a flow chart of another document closing method provided in an embodiment of the present application. This embodiment is refined based on the above-mentioned technical solutions. In this embodiment, optionally, the operation object includes an item holding container or an item to be accepted; executing the target document closing task for the target document to obtain closing information may include: in response to the second timeliness of the target document meeting the pre-configured timeliness condition, determining at least one container corresponding to the target document; obtaining the container status of each container in the at least one container, and comparing the container status of each container with the completion status to obtain closing information; wherein, for at least one accepted item corresponding to the target document, at least one container is set to hold at least one accepted item, at least one container includes an item holding container, and at least one accepted item includes an item to be accepted. The explanation of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here.
[0108] Referring to FIG. 7 , the method of this embodiment may include the following steps:
[0109] S410 . In response to the task execution instruction, obtain a triggering operation of the task execution instruction and acquire an operation object of the triggering operation.
[0110] S420: Determine a target document from at least one unclosed item document according to the operation object, and determine a target document closing task from at least one preset candidate document closing task.
[0111] S430. When the operation object includes an item container or an item to be accepted, and when the second timeliness of the target document satisfies a pre-configured timeliness condition, determine at least one container corresponding to the target document, wherein the at least one container is configured to hold at least one accepted item corresponding to the target document, the at least one container includes an item container, and the at least one accepted item includes an item to be accepted.
[0112] Here, a second timeliness of the target document is obtained. This second timeliness can be used to characterize the target document's level of timeliness requirements for customs clearance. In practical applications, this can optionally be expressed as high or low, depending on the application scenarios of the embodiments of this application. Of course, other representations are also possible, and are not limited here. A timeliness condition is pre-configured to reflect the timeliness requirements of the target customs clearance task that is compatible with the operation object. In the above example, this timeliness condition can be a high second timeliness. Therefore, if the second timeliness meets the timeliness condition, it indicates that the target customs clearance task can process the target document, and subsequent steps can be performed. In practical applications, for at least one item document that meets the timeliness condition, its document status can be pre-set to a preheated state. This allows the target document's status to be used to directly determine whether it can be processed by the target customs clearance task, which is more efficient. Based on this, the target customs clearance task determined in the above steps can also be referred to as a preheated customs clearance task.
[0113] It is understood that after the items to be inspected and placed in the container pass inspection, they become accepted items. Therefore, the at least one container corresponding to the target document can be used to hold the at least one accepted item corresponding to the target document. In actual applications, the number of accepted items contained in a container can optionally be one, two, or more, depending on the actual situation and is not limited here. In addition, the item holding container described above is at least one container, and the items to be inspected described above are at least one accepted item.
[0114] S440: Obtain the container status of each container in the at least one container, and compare the container status of each container with the completion status to obtain closing information.
[0115] For each container in at least one container, a container status of the container is obtained. The container status can be used to indicate whether the container needs to hold more accepted items. For example, when the container status is a completed state, it can be considered that the container does not need to hold more accepted items.
[0116] The container status of each container is compared with the completion status, i.e., it is determined whether the container status of each container is in the completion status, thereby obtaining closing information. For example, if the container status of each container is in the completion status, this indicates that at least one container does not need to contain any more accepted items, i.e., the target document does not need to be re-accepted. Therefore, closing information indicating that the target document can be closed is obtained. If the container status of at least one container is in the uncompleted status, this indicates that the target document needs to be re-accepted. Therefore, closing information indicating that the target document cannot be closed is obtained.
[0117] S450. When the target document is determined to be closed according to the closing information, the target document is closed to indicate that the target document has been accepted.
[0118] The technical solution of the embodiment of the present application determines whether the document can be closed by judging whether the container status of at least one container is in a completed state when the second timeliness meets the timeliness condition. At this time, the number of items and the second acceptance quantity can be ignored, thereby improving the closing efficiency.
[0119] Based on any of the above technical solutions for determining a target clearance task based on an operation object, optionally, in response to the operation object including an item to be inspected and accepted, the target clearance task includes a first clearance task and a second clearance task, and the execution priority of the first clearance task is higher than that of the second clearance task;
[0120] Execute the target document closing task for the target document, obtain closing information, and close the target document based on the closing information. This includes:
[0121] Execute the first closure task for the target document and obtain the first closure information;
[0122] In response to determining not to close the target document according to the first closing information, executing a second document closing task on the target document to obtain second closing information;
[0123] In response to determining to close the target document according to the second closing information, the target document is closed.
[0124] Among them, since the candidate customs clearance tasks (i.e., target customs clearance tasks) that match the items to be inspected include the first customs clearance task and the second customs clearance task, and the execution priority of the first customs clearance task is higher than that of the second customs clearance task, it is possible to first determine whether the target document can be closed through the first customs clearance task, and if not, determine whether the target document can be closed through the second customs clearance task. Therefore, if the target document does not meet the requirements of the first customs clearance task, it is possible to immediately determine whether the target document meets the requirements of the second customs clearance task, thereby ensuring customs clearance efficiency. In actual applications, optionally, when it is determined that the target document can be closed through the first customs clearance task, the target document can be directly closed without the need to make another judgment based on the second customs clearance task, thereby ensuring customs clearance efficiency. Optionally again, in combination with the application scenarios that may be involved in the embodiments of the present application, the first customs clearance task can be the preheating customs clearance task described above, and the second customs clearance task can be the full customs clearance task described above.
[0125] To better understand the above technical solution as a whole, the following illustrates the preheating and order closing task with a specific example. For example, for an item document with high timeliness requirements, the preheating status is provided, and automatic inspection is completed based on the status of the accepted containers, accelerating the process through a one-click preheating process. During the preheating process, if there are no pending containers in the target document, this indicates that the target document is nearing completion. By detecting the third acceptance quantity of the accepted items, out-of-stock data can be automatically filled.
[0126] If a merchant allows preheating of item documents, the merchant's item documents can be set to the preheating state. As long as the condition of no containers awaiting operation is met (i.e., container inspection is complete, and the container status of at least one container corresponding to the target document is completed), the entire order completion logic can be triggered without additional quantity verification.
[0127] b. In the preheating state, detect each acceptance operation, analyze the status of all containers of the target document, and perform different subtasks based on the container status in different scenarios:
[0128] 1) If all containers have been inspected, the logic for automatic complete inspection of the entire order is triggered. Regardless of whether the item quantity matches the third inspection quantity, the preheating status changes to the completed inspection status, triggering a refund, and the out-of-stock items are treated as short-order items.
[0129] 2) If the container has not been fully inspected, the target document remains in the preheating state, waiting for the container to be fully inspected.
[0130] c. Detect each container operation, analyze the status of all containers of the target document, and automatically trigger the logic of b1) when all containers are completed, end the preheating state of the target document, and trigger a refund.
[0131] d. For target documents in the preheating state, containers that have not been processed for more than one day can be displayed in the alarm to remind operators to promptly clear such documents for items with high timeliness requirements for customs clearance.
[0132] As another example, referring to Figure 8, when accepting items based on the WMS, it can determine whether the target document has been preheated. If the target document is preheated, it is determined whether all containers corresponding to the target document have been processed. If they have been processed, it indicates that the target document has been fully inspected, triggering a refund mechanism. If they have not been processed, the target document can continue to be processed, that is, acceptance. If the target document has not been preheated, it can continue to be processed, that is, acceptance. In addition, if manually triggered full inspection is detected during item acceptance, this also indicates that the target document has been fully inspected, triggering a refund mechanism.
[0133] The examples described above demonstrate that the three candidate closure tasks—full closure, overdue closure, and pre-clearance closure—achieve automated closure from different perspectives. For example, in terms of timeliness, the overdue closure task is suitable for processing invoices with lower timeliness requirements, while the pre-clearance closure task is suitable for processing invoices with higher timeliness requirements. In terms of stage, the full closure and pre-clearance closure tasks can close invoices as soon as the invoice is in the acceptance stage, while the overdue closure task requires the invoice to be put on the shelf. The three candidate closure tasks work together to maximize closure efficiency.
[0134] Figure 9 is a block diagram of the structure of a document closing device provided in an embodiment of the present application. This device is configured to execute the document closing method provided in any of the aforementioned embodiments. This device and the document closing methods of the aforementioned embodiments share the same inventive concept. For details not fully described in the embodiments of the document closing device, reference can be made to the aforementioned embodiments of the document closing method. Referring to Figure 9 , this device may include a trigger information acquisition module 510, a target document closing task determination module 520, and a document closing module 530.
[0135] The trigger information obtaining module 510 is configured to obtain trigger information of the task execution instruction in response to the task execution instruction;
[0136] a target document closing task determining module 520 configured to determine a target document from at least one unclosed item document and a target document closing task from at least one preset candidate document closing task based on trigger information;
[0137] The document closing module 530 is configured to execute a target document closing task for a target document, obtain closing information, and close the target document when it is determined to be closed according to the closing information, to indicate that the target document has been accepted.
[0138] Optionally, the trigger information includes a trigger method; the target closing task determination module 520 may include:
[0139] a target document determining unit configured to, when the triggering mode includes a time trigger, obtain a first timeliness of each item document in at least one unclosed item document, and determine a target document from the at least one item document based on the first timeliness of each item document;
[0140] The first target closing task determining unit is configured to determine a target closing task that matches the time trigger from at least one preset candidate closing task.
[0141] On this basis, optionally, the document quantity of the target document is at least one;
[0142] The order closing module 530 may include:
[0143] an interval duration obtaining unit configured to determine, for each target document in at least one target document, a first acceptance time of the target document and obtain an interval duration between the first acceptance time and a current time;
[0144] an overdue document determining unit configured to determine an overdue document from at least one target document based on an interval duration corresponding to each target document and a pre-configured allowed overdue duration;
[0145] A first closing information obtaining unit is configured to compare a first acceptance quantity of the accepted item in at least one item corresponding to the overdue document with a put-on quantity of the put-on item to obtain closing information;
[0146] The first closing document unit is configured to close the overdue document when the overdue document is determined to be closed according to the closing information.
[0147] On this basis, optionally, the number of documents for overdue documents is at least two;
[0148] Close the information acquisition unit and set it to:
[0149] Obtaining a processing priority of each of the at least two overdue documents, and obtaining a processing order of the at least two overdue documents based on the processing priority of each overdue document;
[0150] For each of the at least two overdue documents, obtaining a first acceptance quantity of an accepted item and a put-on quantity of an put-on item in at least one item corresponding to the overdue document;
[0151] Comparing the first acceptance quantity and the shelf quantity corresponding to the at least two overdue documents in sequence based on the processing order, and obtaining the closing information corresponding to the at least two overdue documents;
[0152] The first document closing unit is configured to: for each of the at least two overdue documents, close the overdue document when it is determined to close the overdue document according to the closing information corresponding to the overdue document.
[0153] Optionally, based on the above device, the device may further include:
[0154] The processing priority increasing module is configured to perform an increasing operation on the processing priority of at least two overdue documents whose first acceptance quantity is not equal to the shelf quantity.
[0155] Optionally, the trigger information includes a trigger operation; the target closing task determination module 520 may include:
[0156] An operation object obtaining unit, configured to obtain an operation object that triggers an operation;
[0157] The second target document closing task determination unit is configured to determine the target document from at least one unclosed item document according to the operation object, and to determine the target document closing task from at least one preset candidate document closing task.
[0158] On this basis, an optional operation object is an item to be inspected and accepted; the customs clearance module 530 may include:
[0159] a second acceptance quantity acquisition unit configured to acquire the item quantity of at least one item corresponding to the target document and a second acceptance quantity of the accepted items among the at least one item, wherein the at least one item includes an item to be accepted;
[0160] The second closing information obtaining unit is configured to compare the quantity of items with the second acceptance quantity to obtain the closing information.
[0161] Alternatively, the operation object includes an item container or an item to be inspected; the order closing module 530 may include:
[0162] a container determining unit configured to determine at least one container corresponding to the target document when the second timeliness of the target document satisfies a pre-configured timeliness condition;
[0163] a third closing information obtaining unit configured to obtain a container status of each container in the at least one container, and compare the container status of each container with a completion status to obtain closing information;
[0164] For at least one accepted item corresponding to the target document, at least one container is configured to hold the at least one accepted item, the at least one container includes an item holding container, and the at least one accepted item includes an item to be accepted.
[0165] Alternatively, when the operation object includes items to be inspected and accepted, the target clearance task includes a first clearance task and a second clearance task, and the execution priority of the first clearance task is higher than that of the second clearance task.
[0166] The order closing module 530 is configured as follows:
[0167] Execute the first closure task for the target document and obtain the first closure information;
[0168] When it is determined not to close the target document according to the first closing information, a second document closing task is executed for the target document to obtain second closing information;
[0169] When it is determined that the target document is to be closed according to the second closing information, the target document is closed.
[0170] The document closing device provided in the embodiment of the present application obtains trigger information of the task execution instruction in response to the trigger information obtaining module; determines the target document from at least one unclosed item document and the target document closing task from at least one pre-set candidate document closing task according to the trigger information through the target document closing task determination module; executes the target document closing task for the target document through the document closing module to obtain closing information, and closes the target document if it is determined that the target document can be closed according to the closing information. The above-mentioned device adopts a task mode as a whole, automatically determines whether the target document can be closed, and automatically closes the document if so, significantly improving the document closing efficiency compared to manual determination and closing.
[0171] The document closing device provided in the embodiment of the present application can execute the document closing method provided in any embodiment of the present application, and has a functional module corresponding to the execution method.
[0172] It is worth noting that in the embodiment of the above-mentioned document closing device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the various functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.
[0173] FIG10 shows a block diagram of an electronic device 10 that can be used to implement an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0174] As shown in Figure 10, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 and a random access memory (RAM) 13, which is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0175] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0176] Processor 11 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any other suitable processor, controller, microcontroller, etc. Processor 11 executes the various methods and processes described above, such as the document closing method.
[0177] In some embodiments, the document closing method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the document closing method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the document closing method in any other suitable manner (e.g., via firmware).
[0178] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard parts (ASSPs), system on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0179] Computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0180] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM (Erasable Programmable Read-Only Memory) or a flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0181] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (Cathode Ray Tube) or LCD (Liquid Crystal Display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0182] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0183] A computing system may include a client and a server. The client and server are generally remote from each other and typically interact via a communication network. The client-server relationship arises through computer programs running on the respective computers and establishing a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, a host product within a cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosts and virtual private server (VPS) services.
[0184] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this application can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of this application can be achieved. This is not limited herein.
[0185] The above specific embodiments do not constitute a limitation on the scope of protection of this application. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application shall be included within the scope of protection of this application.
Claims
1. A document closing method, comprising: In response to the task execution instruction, obtaining trigger information of the task execution instruction; According to the trigger information, determining a target document from at least one unclosed item document, and determining a target document closing task from at least one preset candidate document closing task; The target document closing task is executed for the target document to obtain closing information, and in response to determining to close the target document according to the closing information, the target document is closed to indicate that the target document has been accepted.
2. The method according to claim 1, wherein: The trigger information includes a trigger mode; The step of determining a target document from at least one unclosed article document according to the trigger information, and determining a target document closing task from at least one preset candidate document closing task, comprises: In response to the triggering mode being time triggering, obtaining the first timeliness of each item document in at least one unclosed item document, and determining a target document from the at least one item document according to the first timeliness of each item document; A target order closing task matching the time trigger is determined from at least one preset candidate order closing task.
3. The method according to claim 2, wherein: The target document has at least one document quantity; The executing the target document closing task for the target document to obtain closing information includes: For each target document of the at least one target document, determine the first acceptance time of the target document, and obtain the interval between the first acceptance time and the current time; Determining an overdue document from the at least one target document according to the interval duration corresponding to each target document and the pre-configured allowed overdue duration; Compare the first acceptance quantity of the accepted items in at least one item corresponding to the overdue document with the put-on quantity of the put-on items to obtain closing information; In the case where it is determined to close the target document according to the closing information, closing the target document to indicate that the target document has been accepted includes: In response to determining to close the overdue document according to the closing information, the overdue document is closed to indicate that the overdue document has been accepted.
4. The method according to claim 3, wherein: The number of the overdue documents is at least two; The step of comparing the first acceptance quantity of the accepted items in at least one item corresponding to the overdue document with the put-on quantity of the put-on items to obtain the closing information of the overdue document includes: Acquire the processing priority of each of the at least two overdue documents, and obtain the processing order of the at least two overdue documents according to the processing priority of each overdue document; For each of the at least two overdue documents, obtaining a first acceptance quantity of accepted items and a put-on quantity of put-on items in at least one item corresponding to the overdue document; Based on the processing sequence, the first acceptance quantities and the shelf quantities respectively corresponding to the at least two overdue documents are compared in sequence to obtain the closing information respectively corresponding to the at least two overdue documents; In the case where it is determined to close the overdue document according to the closing information, closing the overdue document includes: For each of the at least two overdue documents, if it is determined to close the overdue document according to the closing information corresponding to the overdue document, the overdue document is closed.
5. The method according to claim 4, further comprising: An increment operation is performed on the processing priority of the overdue document of the at least two overdue documents whose first acceptance quantity is not equal to the shelf quantity.
6. The method according to claim 1, wherein: The trigger information includes a trigger operation; The step of determining a target document from at least one unclosed article document according to the trigger information, and determining a target document closing task from at least one preset candidate document closing task, comprises: Obtaining the operation object of the trigger operation; According to the operation object, a target document is determined from at least one unclosed article document, and a target document closing task is determined from at least one preset candidate document closing task.
7. The method according to claim 6, wherein: The operation object is the item to be inspected and accepted; The executing the target document closing task for the target document to obtain closing information includes: Acquire the item quantity of at least one item corresponding to the target document and a second acceptance quantity of the accepted items among the at least one item, wherein the at least one item includes the item to be accepted; The article quantity is compared with the second acceptance quantity to obtain closing information.
8. The method according to claim 6, wherein: The operation object includes an item container or an item to be inspected and accepted; The executing the target document closing task for the target document to obtain closing information includes: In response to the second timeliness of the target document satisfying a pre-configured timeliness condition, determining at least one container corresponding to the target document; Acquire a container status of each container in the at least one container, and compare the container status of each container with a completion status to obtain closing information; Among them, for at least one accepted item corresponding to the target document, the at least one container is configured to hold the at least one accepted item, the at least one container includes the item holding container, and the at least one accepted item includes the item to be accepted.
9. The method according to claim 6, wherein: In response to the operation object including the items to be inspected, the target clearance task includes a first clearance task and a second clearance task, and the execution priority of the first clearance task is higher than that of the second clearance task; The step of executing the target document closing task for the target document to obtain closing information, and closing the target document when determining to close the target document according to the closing information, includes: Executing the first document closing task for the target document to obtain first closing information; In response to determining not to close the target document according to the first closing information, executing the second document closing task for the target document to obtain second closing information; In response to determining to close the target document according to the second closing information, the target document is closed.
10. A document closing device comprising: A trigger information obtaining module, configured to obtain trigger information of the task execution instruction in response to the task execution instruction; a target document closing task determining module, configured to determine a target document from at least one unclosed item document according to the trigger information, and to determine a target document closing task from at least one preset candidate document closing task; The document closing module is configured to execute the target document closing task for the target document, obtain closing information, and close the target document when determining to close the target document according to the closing information, so as to indicate that the target document has been accepted.
11. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the document closing method according to any one of claims 1 to 9.
12. A computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a processor to implement the document closing method as described in any one of claims 1 to 9 when executed.
Citation Information
Patent Citations
Generation method and use method of warehouse management system and related equipment
CN115239250A
Work order system testing method, electronic equipment and computer readable storage medium
CN115293635A
Automatic order closing processing method and device, computer system and readable storage medium
CN115409486A
Rule based closure of purchase orders
US20150235299A1