Document closing method and device, electronic equipment and storage medium
By automatically identifying and executing order check tasks, the problem of low order checking efficiency in the existing technology is solved, and a more efficient document closure process is achieved.
Patent Information
- Application Number
- CN202311434554.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-31
- Publication Date
- 2025-05-02
AI Technical Summary
The efficiency of order closing in the prior art is not high and needs improvement.
By responding to task execution instructions, the trigger information is obtained, and the target document is automatically determined from the unclosed item documents, and the target document is determined from the pre-set candidate document tasks, and the target document is executed to close the target document.
Automatically determine and close target documents, significantly improving the order checking efficiency, and is faster and more accurate than manual operations.
Smart Images

Figure CN119919049A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of warehousing, and in particular to a document closing method, device, electronic device and storage medium. Background Art
[0002] Reverse receipt of the Warehouse Management System (WMS) is a very important link in actual production, which involves the acceptance of reverse documents.
[0003] It should be noted that reverse documents involve refunds, and the refund mechanism can only be triggered after the acceptance of the reverse documents is completed, that is, after the reverse documents are closed. Therefore, in order to ensure the efficiency of refunds, it is very important for warehouses to quickly close documents (i.e. close the documents).
[0004] In the process of realizing the present invention, the inventors found that the prior art has the following technical problems: the order closing efficiency is low and needs to be improved. Summary of the invention
[0005] The embodiments of the present invention provide a document closing method, device, electronic device and storage medium to improve document closing efficiency.
[0006] According to one aspect of the present invention, a document closing method is provided, which may include:
[0007] In response to the task execution instruction, obtaining trigger information of the task execution instruction;
[0008] According to 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 preset candidate document closing task;
[0009] The target document closing task is executed for the target document to obtain closing information, and 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.
[0010] According to another aspect of the present invention, there is provided a document closing device, which may include:
[0011] A trigger information obtaining module, used to obtain trigger information of the task execution instruction in response to the task execution instruction;
[0012] A target document closing task determination module is used to determine a target document from at least one unclosed item document according to trigger information, and to determine a target document closing task from at least one preset candidate document closing task;
[0013] The document closing module is used to execute the target document closing task for the target document, obtain the closing information, and close the target document when it is determined to close the target document according to the closing information, so as to indicate that the target document has been accepted.
[0014] According to another aspect of the present invention, there is provided an electronic device, which may include:
[0015] at least one processor; and
[0016] a memory communicatively connected to at least one processor; wherein,
[0017] 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 by any embodiment of the present invention is implemented when the at least one processor executes the computer program.
[0018] According to another aspect of the present invention, a computer-readable storage medium is provided, on which computer instructions are stored, and the computer instructions are used to enable a processor to implement the document closing method provided by any embodiment of the present invention when executed.
[0019] The technical solution of the embodiment of the present invention obtains the trigger information of the task execution instruction by responding to the task execution instruction; determines the target document from at least one unclosed item document according to the trigger information, and determines the target document closing task from at least one preset 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 according to the closing information. The above technical solution adopts the task mode as a whole, automatically determines whether the target document can be closed, and automatically closes the document if it is, which can significantly improve the document closing efficiency compared with manual determination and document closing.
[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 is a flow chart of a document closing method provided according to an embodiment of the present invention;
[0023] Figure 2 is a flow chart of another document closing method provided according to an embodiment of the present invention;
[0024] Figure 3 is a flowchart of an optional example of another document closing method provided in an embodiment of the present invention;
[0025] Figure 4 is a flow chart of another document closing method provided according to an embodiment of the present invention;
[0026] Figure 5 is a flowchart of an optional example of another document closing method provided in an embodiment of the present invention;
[0027] Figure 6 is a flowchart of another optional example of another document closing method provided in an embodiment of the present invention;
[0028] Figure 7 is a flow chart of another document closing method provided according to an embodiment of the present invention;
[0029] Figure 8 is a flowchart of an optional example of another document closing method provided in an embodiment of the present invention;
[0030] Fig. 9 is a structural block diagram of a document closing device provided according to an embodiment of the present invention;
[0031] Fig.10 It is a structural schematic diagram of an electronic device for implementing the document closing method of an embodiment of the present invention. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below 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 of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. The situations of "target", "original", etc. are similar and will not be repeated here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0034] Figure 1 This is a flow chart of a document closing method provided in an embodiment of the present invention. This embodiment is applicable to the case of automatic document closing, and is particularly applicable to the case of automatically closing a target document when the target document is determined to be complete. The method can be executed by a document closing device provided in an embodiment of the present invention, which can be implemented in software and / or hardware, and can be integrated in an electronic device, which can be various user terminals or servers.
[0035] See also Figure 1 The method of the embodiment of the present invention specifically includes the following steps:
[0036] S110 . In response to the task execution instruction, obtain trigger information of the task execution instruction.
[0037] Among them, the task execution instruction can be understood as an instruction for instructing the execution of a candidate customs clearance task to determine whether a certain item document can be closed. Normally, the item document can be closed if the entire item document has been fully inspected. The above-mentioned entire inspection can be understood as the item document has been completed and accepted, and it is impossible to perform a node operation to re-inspect the item document.
[0038] In response to the task execution instruction, the trigger information of the task execution instruction is obtained, and the trigger information can be understood as the relevant information of triggering the task execution instruction, such as the trigger mode, trigger operation, trigger object or trigger number, etc., which is not specifically limited here. Exemplarily, the trigger mode can be understood as the mode of triggering the task execution instruction, such as time triggering or operation triggering, etc.; the trigger operation can be understood as the operation of triggering the task execution instruction, such as acceptance operation or container operation, etc.
[0039] 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.
[0040] Among them, the item document can be understood as a document that is not closed, that is, not fully inspected. In practical applications, the item document can be inspected. Specifically, at least one item corresponding to the item document can be inspected. For example, for each item in the at least one item, it is inspected whether the item is received, and if received, whether the item is damaged, etc. The number of items in the item document can be one, two, or more, which is not specifically limited here. According to the trigger information, the target document is determined from the at least one item document, and the target document can be understood as the item document instructed to be processed by the task execution instruction.
[0041] The candidate closing task can be understood as a pre-set task for determining whether the item document can be closed. In combination with the application scenarios that may be involved in the embodiments of the present invention, it can be, for example, a full closing task, an overdue closing task, or a preheating closing task, etc., which are not specifically limited here. The number of candidate closing tasks can be one, two, or more, which are not specifically limited here. Specifically,
[0042] The full order closing task can be understood as a task that can automatically close the item document when the order quantity and acceptance quantity of the item document are consistent. For example, if there are 10 items on the item document and 10 items are actually accepted, there is no need to wait for these 10 items to be put on the shelves, and the item document can be automatically closed.
[0043] The overdue closing task can be understood as a task that can automatically close the item document when the acceptance quantity of the item document is consistent with the shelf quantity, and the item document has no operation for a period exceeding the pre-configured allowed overdue period. For example, if there are 10 items on the item document, 6 items are actually accepted and 6 items are put on the shelf, and there is no operation for more than the allowed overdue period, the item document can be automatically closed.
[0044] The preheating and closing task can be understood as a task that can automatically close the item list when there is no container to be processed. For example, if there are 10 items on the item list and it enters the preheating state, if the acceptance action stops, that is, no more accepted items are put into the container, the item list can be automatically closed.
[0045] According to the trigger information, a target closing task is determined from at least one preset candidate closing task, and the target closing task can be understood as the candidate closing task indicated by the task execution instruction.
[0046] S130. Execute the target document closing task for the target document, obtain closing information, and when it is determined to close the target document according to the closing information, close the target document to indicate that the target document has been accepted.
[0047] Among them, the target document closing task is executed for the target document, that is, by executing the target document closing task, it is determined whether the target document can be closed, or in other words, by executing the target document closing task, it is determined whether the target document has been fully inspected, so as to determine whether it can be closed, thereby obtaining closing information, and the closing information can be used to indicate whether the target document has completed the full inspection, that is, whether it can be closed. Therefore, when it is determined that the target document can be closed according to the closing information, the target document is closed, thereby achieving the effect of automatic document closing.
[0048] The technical solution of the embodiment of the present invention obtains the trigger information of the task execution instruction by responding to the task execution instruction; determines the target document from at least one unclosed item document according to the trigger information, and determines the target document closing task from at least one preset 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 according to the closing information. The above technical solution adopts the task mode as a whole, automatically determines whether the target document can be closed, and automatically closes the document if it is, which can significantly improve the document closing efficiency compared with manual determination and document closing.
[0049] Figure 2 It is a flow chart of another document closing method provided in an embodiment of the present invention. This embodiment is optimized based on the above-mentioned technical solutions. In this embodiment, optionally, the trigger information includes a trigger mode; according to 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, which may include: when the trigger mode is a time trigger, the first timeliness of each item document in at least one unclosed item document is obtained, and according to the first timeliness of each item document, the target document is determined from at least one item document; and a target document closing task that matches the time trigger is determined 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.
[0050] See also Figure 2 The method of this embodiment may specifically include the following steps:
[0051] S210 . In response to the task execution instruction, obtain a triggering method of the task execution instruction.
[0052] 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, the 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; the operation triggering can trigger the task execution instruction when a preset triggering operation is detected. Combined with the application scenarios that may be involved in the embodiments of the present invention, 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 a container for holding accepted items, such as a container cancellation operation or a container replacement operation.
[0053] S220: When the triggering 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 according to the first timeliness of each item document.
[0054] Among them, the first timeliness of each item document in at least one item document is obtained respectively, and the first timeliness can be used to characterize the degree of the corresponding item document in terms of the customs timeliness requirement. In practical applications, optionally, in combination with the application scenarios that may be involved in the embodiments of the present invention, it can be expressed as high or low; of course, it can also be expressed in other ways, which are not specifically limited here.
[0055] Furthermore, according to the first timeliness of each article document, a target document is determined from at least one article document. Exemplarily, an article document that meets a pre-configured timeliness condition may be used as a target document. The timeliness condition may reflect the conditions that an article document that may be used as a target document must meet from the aspect of customs document timeliness requirements. In combination with the above example, the timeliness condition may be that the first timeliness is low, so that an article document with a low first timeliness may be used as a target document.
[0056] S230: Determine a target order closing task that matches the time trigger from at least one preset candidate order closing task.
[0057] Among them, for each candidate closing task in at least one candidate closing task, the triggering methods they match may be the same or different, so the target closing task can be determined from at least one candidate closing task according to the specific triggering method (such as the time trigger in this step). On this basis, when the number of the determined target closing tasks is at least two, matching can be performed again in at least two target closing tasks based on other factors, which are not specifically limited here.
[0058] S240: Execute the target document closing task for the target document, obtain closing information, and close the target document when it is determined to close the target document according to the closing information, so as to indicate that the target document has been accepted.
[0059] The technical solution of the embodiment of the present invention 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 each item document, thereby achieving the effect of determining whether the target document can be closed by executing the target closing task.
[0060] In an optional technical solution, the number of documents of the target document is at least one;
[0061] Execute the target document closing task for the target document and obtain closing information, including:
[0062] For each target document in 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;
[0063] Determine an overdue document from at least one target document according to the interval duration corresponding to each target document and the pre-configured allowed overdue duration;
[0064] Compare 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;
[0065] 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, including:
[0066] When the overdue document is determined to be closed based on the closing information, the overdue document is closed to indicate that the overdue document has been accepted and completed.
[0067] The following is an explanation of the target closing task that matches the time trigger. The target closing task here can be understood as the overdue closing task.
[0068] 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 at least one item can be understood as the item recorded on the target document. Further, obtain the current time, and based on the current time and the first acceptance time, obtain 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. At this time, the first verification time can also be called the first verification date. On this basis, when the interval time is obtained by the current time-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. At this time, the interval time can also be called the interval days.
[0069] According to the interval duration corresponding to each target document and the pre-configured allowed overtime duration, an overdue document is determined from at least one target document. The allowed overtime duration can be understood as the pre-configured upper limit of the duration for which an item document is allowed to be overdue. In simple terms, it can be used to indicate how long an item document is allowed to be overdue at most. Considering that the target document closing task is suitable for processing overdue documents that can no longer be overdue, for each target document in at least one target document, it can be determined whether to process the target document as an overdue document based on whether the interval duration corresponding to the target document exceeds the allowed overtime duration, thereby determining the overdue document from at least one target document.
[0070] The first acceptance quantity of the accepted items in at least one item corresponding to the overdue document is compared with the shelf quantity of the put-on items to obtain the closing information. Among them, for the at least one item corresponding to the overdue document, the accepted items can be understood as the items that have been accepted among the at least one item, and the first acceptance quantity can be used to indicate the number of the accepted items; the put-on items can be understood as the items that have been put on the shelves among the at least one item, and the shelf quantity can be used to indicate the number of the put-on items. The first acceptance quantity is compared with the shelf quantity to obtain the size relationship between the two, and then the closing information is obtained based on this. Exemplarily, when the first acceptance quantity = the shelf quantity, the closing information indicating that the overdue document can be closed can be obtained; otherwise, the closing information indicating that the overdue document cannot be closed can be obtained.
[0071] Further, when it is determined to close the overdue document according to the closing information, the overdue document is closed.
[0072] 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 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 closing 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.
[0073] On this basis, optionally, the number of documents for overdue documents is at least two;
[0074] 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:
[0075] 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 according to the processing priority of each overdue document;
[0076] 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;
[0077] Based on the processing order, 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;
[0078] When the overdue document is determined to be closed according to the closing information, the overdue document is closed, including:
[0079] For each of the at least two overdue documents, when it is determined to close the overdue document according to the closing information corresponding to the overdue document, the overdue document is closed.
[0080] Among them, the processing priority can be used to characterize the priority of overdue document processing. Generally, 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. Exemplarily, 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.
[0081] Further, based on the processing order, the first acceptance quantity and the shelf quantity corresponding to at least two overdue documents are compared in sequence, so as to obtain the closing information corresponding to at least two overdue documents. Exemplarily, continuing with the above example, the first acceptance quantity and the shelf quantity corresponding to C are compared first to obtain the closing information of C; then, the first acceptance quantity and the shelf quantity corresponding to B are compared to obtain the closing information of B; finally, the first acceptance quantity and the shelf quantity corresponding to A are compared to obtain the closing information of A.
[0082] The above technical solution determines the processing order of each overdue document 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.
[0083] On this basis, optionally, the above-mentioned document closing method also includes: performing an increment operation on the processing priority of the overdue document whose first acceptance quantity is not equal to the shelf quantity among at least two overdue documents. Among them, the overdue document whose first acceptance quantity is not equal to the shelf quantity can be understood as an overdue document that cannot be closed temporarily. According to the above, the overdue document has expired and needs to be closed as soon as possible, so at this time, the processing priority can be incremented, such as processing priority +1, so as to ensure that it can be processed first next time.
[0084] In order to better understand the above technical solutions as a whole, the following is an illustrative description of them with specific examples. For example, for the item documents that need to be inspected for shortage, the closing timeliness requirements are relatively loose, and they can be handled separately. Specifically, through the configured number of days allowed for overdue, the item documents that have not been inspected are captured every day, and the following logic is executed for these item documents in sequence:
[0085] a. Filter out overdue documents by configuring the allowed overdue days and according to the rule that the current time - first acceptance date is greater than the allowed overdue days, and round down the days. If the number of days does not meet one day, it will be calculated as 0. The default processing priority of all overdue documents is 0.
[0086] 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 full order acceptance, and can be closed. In actual applications, the remaining unaccepted stock keeping units (SKUs) can be handled 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 operations.
[0087] c. For overdue documents that do not meet the condition of the first acceptance quantity = the shelf quantity, the logic of processing priority + 1 is executed, and they are given priority when waiting for the next capture. In actual applications, a backlog alarm can be displayed for overdue documents with a processing priority > 5, so as to remind the site to promptly process overdue documents that have been stranded for a long time.
[0088] For further example, see Figure 3 When accepting items based on WMS, you can filter out the documents of items that have expired and have not been fully inspected (i.e., overdue documents), sort them according to their respective processing priorities, and process them in sequence. During the processing, for overdue documents that are fully on the shelves, it is determined that they have been fully inspected, which can trigger a refund mechanism; correspondingly, for overdue documents that are not fully on the shelves, their processing priority is increased to facilitate priority processing next time.
[0089] Figure 4 It is a flow chart of another document closing method provided in an embodiment of the present invention. This embodiment is optimized based on the above-mentioned technical solutions. In this embodiment, optionally, the trigger information includes a trigger operation; according to 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; according to 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. Among them, the explanations of the terms that are the same or corresponding to the above-mentioned embodiments are not repeated here.
[0090] See also Figure 4 The method of this embodiment may specifically include the following steps:
[0091] S310 . In response to a task execution instruction, obtain a triggering operation of the task execution instruction, and acquire an operation object of the triggering operation.
[0092] 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 invention, the trigger operation can be an acceptance operation or a container operation, etc. Exemplarily, the acceptance operation can be understood as an operation performed manually for accepting items. Exemplarily, the operation of placing the inspected items into the container can be used as the 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. The former is applicable to the situation where no more inspected items are placed in the container, and the latter is applicable to the situation where the container cannot continue to hold the accepted items because it is damaged. In actual applications, the container can optionally be in the form of a box, a case or a cabinet, etc., which is not specifically limited here.
[0093] The operation object can be understood as the object operated by the trigger operation, for example, it can be an item that has 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 that has 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 specifically limited here.
[0094] 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.
[0095] 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 accepted, the item document containing the items to be accepted 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.
[0096] From at least one preset candidate closing task, a target closing task matching the operation object is determined. On this basis, if the number of the determined target closing tasks is at least two, matching can be performed again in at least two target closing tasks based on other factors, thereby obtaining a target closing task for execution; or, a target closing task with a higher priority among at least two target closing tasks can be executed first, and then, if it is determined that the target document cannot be closed based on it, a target closing task with a second higher priority among at least two target closing tasks can be executed, and so on; or, at least two target closing tasks can be executed in parallel; and so on, which are not specifically limited here.
[0097] S330: Execute the target document closing task for the target document, obtain closing information, and close the target document when it is determined to close the target document according to the closing information, so as to indicate that the target document has been accepted.
[0098] The technical solution of the embodiment of the present invention determines the target document and the target document closing task that match the operation object, so that the item document processed by the target document closing task can be adapted to the target document, thereby achieving the effect of determining whether the target document can be closed by executing the target document closing task.
[0099] An optional technical solution, the operation object is the items to be inspected and accepted;
[0100] Execute the target document closing task for the target document and obtain closing information, including:
[0101] Acquire the item quantity of at least one item corresponding to the target document and the second acceptance quantity of the accepted items among the at least one item, wherein the at least one item includes items to be accepted;
[0102] The item quantity is compared with the second acceptance quantity to obtain closing information.
[0103] The following is an explanation of the target clearance task that matches the items to be inspected. The target clearance task here can be understood as the full clearance task.
[0104] 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 by the target document. The at least one item includes items to be accepted, that is, the acceptance operation is an operation performed on a certain 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. Exemplarily, 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; otherwise, the closing information indicating that the overdue document cannot be closed can be obtained.
[0105] On the one hand, the above technical scheme 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 document 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 the document closing; on the other hand, the number of items can be automatically compared with the second acceptance quantity, thereby reducing the amount of manual operation.
[0106] In order to better understand the above technical solution, the following is an exemplary description of it in combination with specific examples. Figure 5 When accepting items based on WMS, it is possible to determine whether the target document has been fully accepted, that is, to calculate whether the number of all SKUs in the target document that need to be accepted (i.e. the number of items mentioned above) = the number of accepted items in the entire order (i.e. the second acceptance number mentioned above) is established. If yes, it means that the target document has been fully accepted, and a refund mechanism can be triggered; otherwise, it is determined whether the entire order has been manually accepted. If yes, a refund mechanism can be triggered, otherwise acceptance continues.
[0107] In order to better understand the full order closing task and overdue order closing task introduced above, we will provide an illustrative example with reference to specific examples. Figure 6When WMS accepts 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; otherwise, wait for the accepted items to be put on the shelves. In addition, the overdue order closing task can be executed to complete the one-click verification of whether all the accepted items in the overdue documents have been put on the shelves. After waiting for all these accepted items to be put on the shelves, the refund mechanism can be triggered; otherwise, for the documents of items that have not expired, you can wait for polling and process them after they are converted into overdue documents.
[0108] Figure 7 It is a flow chart of another document closing method provided in an embodiment of the present invention. This embodiment is optimized 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: determining at least one container corresponding to the target document when the second timeliness of the target document meets the pre-configured timeliness condition; obtaining the container status of each container in 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 used 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 explanations of the terms that are the same or corresponding to the above-mentioned embodiments are not repeated here.
[0109] See also Figure 7 The method of this embodiment may specifically include the following steps:
[0110] S410 . In response to a task execution instruction, obtain a triggering operation of the task execution instruction, and acquire an operation object of the triggering operation.
[0111] 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.
[0112] S430. In a case where the operation object includes an item holding container or an item to be accepted, and in a case where 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 used to hold at least one accepted item corresponding to the target document, the at least one container includes an item holding container, and the at least one accepted item includes an item to be accepted.
[0113] Among them, the second timeliness of the target document is obtained, and the second timeliness can be used to characterize the degree of the target document in terms of the timeliness requirement of the document. In practical applications, optionally, in combination with the application scenarios that may be involved in the embodiments of the present invention, it can be expressed by high or low; of course, it can also be expressed by other ways, which are not specifically limited here. The timeliness condition is pre-configured and can be used to reflect the characteristics of the timeliness requirement of the object document that can be processed by the target document task that is compatible with the operation object. In combination with the above example, the timeliness condition can be that the second timeliness is high. Therefore, when the second timeliness satisfies the timeliness condition, it means that the target document task can process the target document, and the subsequent steps can be continued. In practical applications, optionally, for at least one item document that meets the timeliness condition, its document status can be set to the preheating state in advance. In this way, it can be directly determined whether it can be processed by the target document task through the document status of the target document, which is more efficient. On this basis, the target document task determined in the above steps can also be called a preheating document task.
[0114] Further, it can be understood that after the items to be accepted are inspected and placed in the container, the items to be accepted are converted into accepted items. Therefore, at least one container corresponding to the target document can be used to hold at least one accepted item corresponding to the target document. In actual applications, the number of accepted items contained in a container can be one, two or more, which is related to the actual situation and is not specifically limited here. In addition, the item holding container described above belongs to at least one container, and the items to be accepted described above belong to at least one accepted item.
[0115] S440: Acquire 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.
[0116] Among them, for each container in at least one container, the container status of the container is obtained, and 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.
[0117] Further, the container status of each container is compared with the completion status, that is, it is determined whether the container status of each container is in the completion status, so as to obtain closing information. Exemplarily, when the container status of each container is in the completion status, this means that at least one container does not need to contain more accepted items, that is, it is not necessary to re-accept the target document, so closing information indicating that the target document can be closed can be obtained; otherwise, this means that the target document needs to be re-accepted, so closing information indicating that the target document cannot be closed can be obtained.
[0118] 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.
[0119] The technical solution of the embodiment of the present invention 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 satisfies the timeliness condition. At this time, the number of items and the second acceptance quantity can be ignored, thereby improving the efficiency of closing the document.
[0120] Based on any of the above technical solutions for determining the target clearance task by the operation object, optionally, 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;
[0121] 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 according to the closing information, including:
[0122] Execute the first closing task for the target document and obtain the first closing information;
[0123] In the case where it is determined not to close the target document according to the first closing information, a second document closing task is performed on the target document to obtain second closing information;
[0124] When it is determined that the target document is to be closed according to the second closing information, the target document is closed.
[0125] Among them, since the candidate clearance tasks (i.e., the target clearance tasks) matched by the items to be inspected include the first clearance task and the second clearance task, and the execution priority of the first clearance task is higher than that of the second clearance task, it is possible to first determine whether the target document can be closed through the first clearance task, and if not, determine whether the target document can be closed through the second clearance task. Therefore, if the target document does not meet the first clearance task, it can be immediately determined whether the target document meets the second clearance task, thereby ensuring the clearance efficiency. In practical applications, optionally, when it is determined that the target document can be closed through the first clearance task, the target document can be directly closed without making another judgment based on the second clearance task, thereby ensuring the clearance efficiency. Optionally again, in combination with the application scenarios that may be involved in the embodiments of the present invention, the first clearance task can be the preheating clearance task described above, and the second clearance task can be the full clearance task described above.
[0126] In order to better understand the above technical solution as a whole, the following is an illustrative description of the preheating and closing task in conjunction with specific examples. For example, for item documents with high requirements for closing timeliness, their preheating status is provided, and the acceptance is automatically completed according to the container status, that is, the processing is accelerated through one-click preheating. During the preheating process, there are no containers to be operated in the target document, which means that the target document is about to be completed, and the out-of-stock data can be automatically supplemented by detecting the third acceptance quantity of the accepted items. Specifically,
[0127] a. If a merchant allows item documents to be preheated, the merchant's item documents can be set to the preheating state. As long as the condition that there are no containers to be operated is met (that is, the container is fully inspected, 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.
[0128] b. In the preheating state, detect each acceptance operation, analyze the status of all containers of the target document, and perform different subtasks for the container status in different scenarios:
[0129] 1) If all containers have been inspected, the logic of automatic inspection of the entire order is triggered, regardless of whether the quantity of items is consistent with the third inspection quantity, the preheating state is changed to the inspection state, a refund is triggered, and the out-of-stock part is treated as short stock;
[0130] 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.
[0131] 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.
[0132] 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 the operation staff to promptly clean up such item documents with high timeliness requirements for closing the documents.
[0133] For further example, see Figure 8 When accepting items based on WMS, it can be determined whether the target document is preheated. When 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 means that the target document has been inspected and accepted, which can trigger a refund mechanism. If they have not been processed, the target document can be processed, that is, acceptance can be continued. When the target document is not preheated, the target document can be processed, that is, acceptance can be continued. In addition, when accepting items, if the manually triggered inspection of the entire document is detected, this also means that the target document has been inspected and accepted, which can trigger a refund mechanism.
[0134] Through the examples described above, we can see that the three candidate closing tasks, namely, the full closing task, the overdue closing task and the preheating closing task, achieve the effect of automatic closing from different dimensions. For example, in terms of timeliness, the overdue closing task can be applied to process item documents with lower closing timeliness requirements, while the preheating closing task can be applied to process item documents with higher closing timeliness requirements; in terms of stage, the full closing task and the preheating closing task can be closed when the item documents are in the acceptance stage, while the overdue closing task can be closed when the item documents are in the shelf stage. The three candidate closing tasks cooperate with each other to maximize the efficiency of closing.
[0135] Fig. 9 This is a structural block diagram of a document closing device provided in an embodiment of the present invention, and the device is used to execute the document closing method provided in any of the above embodiments. The device and the document closing method of the above embodiments belong to the same inventive concept, and the details not described in detail in the embodiment of the document closing device can refer to the embodiment of the above document closing method. Fig. 9 The device may specifically include: a trigger information obtaining module 510, a target closing task determining module 520 and a closing module 530.
[0136] The trigger information obtaining module 510 is used to obtain the trigger information of the task execution instruction in response to the task execution instruction;
[0137] A target document closing task determining module 520 is used 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;
[0138] The document closing module 530 is used to execute the target document closing task for the target document, obtain closing information, and close the target document when it is determined to close the target document according to the closing information, so as to indicate that the target document has been accepted.
[0139] Optionally, the trigger information includes a trigger method; the target closing task determination module 520 may include:
[0140] a target document determining unit, configured to obtain the first timeliness of each item document in at least one unclosed item document when the triggering mode includes a time trigger, and determine the target document from the at least one item document according to the first timeliness of each item document;
[0141] The first target closing task determining unit is used to determine the target closing task that matches the time trigger from at least one preset candidate closing task.
[0142] On this basis, optionally, the document quantity of the target document is at least one;
[0143] The order closing module 530 may include:
[0144] An interval duration obtaining unit, used for determining, for each target document in at least one target document, a first acceptance time of the target document, and obtaining an interval duration between the first acceptance time and the current time;
[0145] An overdue document determining unit, configured to 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;
[0146] A closing information first obtaining unit, configured to compare a first acceptance quantity of the accepted items in at least one item corresponding to the overdue document with a put-on quantity of the put-on items, to obtain closing information;
[0147] The first document closing unit is used to close the overdue document when determining to close the overdue document according to the closing information.
[0148] On this basis, optionally, the number of documents for overdue documents is at least two;
[0149] Close the information acquisition unit, specifically used for:
[0150] 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 according to the processing priority of each overdue document;
[0151] 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;
[0152] Based on the processing order, the first acceptance quantity and the shelf quantity respectively corresponding to at least two overdue documents are compared in sequence to obtain the closing information respectively corresponding to the at least two overdue documents;
[0153] The first document closing unit is specifically used to: for each of the at least two overdue documents, when it is determined to close the overdue document according to the closing information corresponding to the overdue document, close the overdue document.
[0154] Optionally, based on the above device, the device may further include:
[0155] The processing priority increasing module is used to perform an increasing operation on the processing priority of at least two overdue documents whose first acceptance quantity and shelf quantity are not equal.
[0156] Optionally, the trigger information includes a trigger operation; the target closing task determination module 520 may include:
[0157] An operation object acquisition unit, used to acquire the operation object that triggers the operation;
[0158] The second target document closing task determination unit is used to determine the target document from at least one unclosed article document according to the operation object, and to determine the target document closing task from at least one preset candidate document closing task.
[0159] On this basis, an optional operation object is an item to be inspected and accepted; the customs clearance module 530 may include:
[0160] A second acceptance quantity acquisition unit, used to acquire the item quantity of at least one item corresponding to the target document and the 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;
[0161] The second closing information obtaining unit is used to compare the article quantity with the second acceptance quantity to obtain closing information.
[0162] Alternatively, the operation object includes an article container or an article to be inspected and accepted; the order closing module 530 may include:
[0163] a container determination 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;
[0164] a third closing information obtaining unit, configured to obtain a container state of each container in the at least one container, and compare the container state of each container with a completion state to obtain closing information;
[0165] Among them, for at least one accepted item corresponding to the target document, at least one container is used 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.
[0166] 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;
[0167] The order closing module 530 is specifically used for:
[0168] Execute the first closing task for the target document and obtain the first closing information;
[0169] In the case where 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;
[0170] When it is determined that the target document is to be closed according to the second closing information, the target document is closed.
[0171] The document closing device provided in the embodiment of the present invention obtains the trigger information of the task execution instruction by the trigger information obtaining module in response to the task execution instruction; determines the target document from at least one unclosed item document according to the trigger information through the target document closing task determination module, 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 through the document closing module to obtain the closing information, and closes the target document when it is determined that the target document can be closed according to the closing information. The above device adopts the task mode as a whole, automatically determines whether the target document can be closed, and automatically closes the document if it is, which significantly improves the document closing efficiency compared with manual determination and closing.
[0172] The document closing device provided in the embodiment of the present invention can execute the document closing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0173] 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 functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0174] Fig.10 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. 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 invention described and / or required herein.
[0175] like Fig.10As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by 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 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0176] A number of 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 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 through a computer network such as the Internet and / or various telecommunication networks.
[0177] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a document closing method.
[0178] In some embodiments, the document closing method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the document closing method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the document closing method in any other appropriate manner (e.g., by means of firmware).
[0179] Various implementations of the systems and techniques described above 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 products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including 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.
[0180] Computer programs for implementing the methods of the present invention 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, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0181] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may 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 may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may 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 or 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.
[0182] To provide interaction with a user, the systems and techniques described herein may 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 a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0183] The systems and techniques described herein may 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 a 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 may 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.
[0184] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0185] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0186] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A document closing method, characterized in that: include: 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 when it is determined 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, characterized in that 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 the case where the triggering mode is 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, characterized in that 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 the case where it is determined 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, characterized in that: 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, characterized in that Also includes: 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, characterized in that 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, characterized in that 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, characterized in that 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 the case where the second timeliness of the target document satisfies 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 used 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, characterized in that In the case where 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; 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 the case where it is determined 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 a case where it is determined to close the target document according to the second closing information, the target document is closed.
10. A document closing device, characterized in that: include: A trigger information obtaining module, used for obtaining trigger information of the task execution instruction in response to the task execution instruction; A target document closing task determining module is used 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 used to execute the target document closing task for the target document, obtain closing information, and close the target document when it is determined 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, characterized in that: include: 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, characterized in that: The computer-readable storage medium stores computer instructions, and 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
Intelligent goods returning and changing system and goods returning and changing method
CN111626651A
Goods return task generation method and device, equipment and storage medium
CN112001664A
Service order query method and device, readable storage medium and electronic equipment
CN113822736A
Automatic order closing processing method and device, computer system and readable storage medium
CN115409486A
Stowing worker user interface
US10562706B1