Tally method, device, equipment and readable storage medium
By acquiring and analyzing the information to be tallied and adjusting the tallying tasks, repeated tallying of boxes and shelves in a short period of time is avoided, the efficiency of tallying and picking is improved, and the problem of low tallying efficiency in the existing technology is solved.
Patent Information
- Application Number
- CN202410772371.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-06-17
AI Technical Summary
In the existing technology, the boxes on the shelves are frequently tallied in a short period of time, which results in low tally efficiency and affects the picking efficiency. It may also cause the boxes and shelves to be tallied multiple times in a short period of time, destroying the previous tallying. Results.
By obtaining the current tally information and tally task information, the tally time difference is determined. If the preset conditions are met, the tally target is deleted and a new tally task is generated to avoid repeated tally. According to the attenuation function and The random number threshold adjusts the tally strategy and optimizes the tally sequence and priority.
It effectively avoids repeated tallying of boxes and shelves in a short period of time, improves tallying efficiency and picking efficiency, reduces unnecessary operations on goods, and protects tallying results.
Smart Images

Figure CN118350747B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent warehousing technology, and in particular to a tallying method, device, equipment and readable storage medium. Background Art
[0002] In the shelf-to-person scenario, goods are usually placed in boxes and placed on the corresponding shelves in the form of boxes. During the picking process, the handling equipment first transports the shelf with the target goods to the workstation, and then the workstation can use the robotic arm to take out the box with the target goods on the shelf and place it on the operating table for picking; after the picking operation is completed, the workstation can use the robotic arm to put the picked box back to the corresponding shelf.
[0003] In order to improve the efficiency of picking goods, it is usually necessary to sort the boxes on each shelf to adjust the inventory distribution. Therefore, how to improve the efficiency of sorting has become a technical problem that needs to be solved urgently. Summary of the invention
[0004] The present invention provides a tallying method, device, equipment and readable storage medium, which can avoid repeated tallying of target objects that have just been tallied, improve the tallying efficiency of the target objects, and thus improve the subsequent picking efficiency.
[0005] The embodiments of the present application disclose the following technical solutions:
[0006] In a first aspect, an embodiment of the present application provides a tallying method, the method comprising:
[0007] Acquire the current time's pending tally information and the task information of the first tally task; the pending tally information includes a plurality of first pending tally target objects, the generation time of the first tally task is earlier than the current time, and the task information of the first tally task includes the tally status and / or the tally completion time of the first tally task;
[0008] If the tallying status of the first tallying task is the tallying completion status, determining the tallying time difference based on the tallying completion time of the first tallying task and the current time;
[0009] If the tallying time difference meets the preset condition, the tallied objects corresponding to the first tallying task are deleted from the plurality of first objects to be tallied, so as to obtain the second objects to be tallied;
[0010] Based on the second target object to be tallied, a second tallying task is generated.
[0011] In some embodiments, the method further comprises:
[0012] Based on the decay function and the tally time difference, the decay amount is determined;
[0013] Generate a random number based on a preset random number threshold, and compare the attenuation amount and the random number; the upper limit of the preset random number threshold is less than the maximum value of the attenuation amount;
[0014] If the attenuation is greater than the random number, it is determined that the tally time difference meets the preset conditions.
[0015] In some embodiments, the attenuation function is expressed by the following formula:
[0016]
[0017] Among them, f(t) is the attenuation, e is a real number, a is a preset parameter, t is the tally time difference, and N is the preset time threshold.
[0018] In some embodiments, the method further comprises:
[0019] Determine the number of times the tallied objects have been cancelled; wherein the number of times the tallied objects have been cancelled refers to the number of times the tallied objects corresponding to the first tallying task have been deleted from the plurality of first objects to be tallied;
[0020] If the number of cancellations of the tallied objects is greater than the preset number threshold, the step of deleting the tallied objects corresponding to the first tallying task from the plurality of first objects to be tallied is not performed, and a third tallying task is generated based on the plurality of first objects to be tallied.
[0021] In some embodiments, the method further comprises:
[0022] If the attenuation is less than or equal to the random number, a fourth tally task is generated based on the plurality of first tally objects.
[0023] In some embodiments, the task information of the first tally task includes a workstation allocation status, and the method further includes:
[0024] If the tally status of the first tally task is the tally unfinished state, then when the workstation allocation state of the first tally task is the unallocated workstation, based on the generation time of the first tally task, determine the creation duration of the first tally task;
[0025] If the creation time of the first tally task is greater than or equal to the first preset time, the first tally task is canceled, and a fifth tally task is generated based on the plurality of first objects to be tallied.
[0026] In some embodiments, the method further comprises:
[0027] If the tallying status of the first tallying task is an incomplete tallying status and the workstation allocation status of the first tallying task is an allocated workstation, or the tallying status of the first tallying task is an incomplete tallying status and the workstation allocation status of the first tallying task is an unallocated workstation and the creation duration of the first tallying task is less than the first preset duration, a sixth tallying task is generated based on the multiple first objects to be tallied.
[0028] In some embodiments, the method further comprises:
[0029] Obtain a first tally strategy corresponding to the first tally task and a second tally strategy corresponding to the sixth tally task; the first tally strategy is used to indicate the tally order of the first tally task, and the second tally strategy is used to indicate the tally order of most second tally tasks;
[0030] If the first tally strategy is different from the second tally strategy, and the first tally strategy and the second tally strategy are run in parallel, the first tally strategy and / or the second tally strategy are adjusted.
[0031] In some embodiments, adjusting the first tally strategy and / or the second tally strategy includes:
[0032] The tally priority of the first tally strategy is inverted, and / or the second tally strategy is inverted.
[0033] In some embodiments, obtaining a plurality of first objects to be tallied at a current moment includes:
[0034] The first tally objects to be tallied are determined from the objects other than the plurality of tally objects to be tallied corresponding to the first tally task based on the tally strategy at the current moment.
[0035] In some embodiments, the method further comprises:
[0036] Perform the first tally task and the sixth tally task;
[0037] When the objects to be tallied corresponding to the sixth tallying task and the objects to be tallied corresponding to the first tallying task both include the third object to be tallied, if the priority of the second tallying strategy is higher than the priority of the first tallying strategy, the third object to be tallied is tallied according to the second tallying strategy, and the third object to be tallied is deleted from the objects to be tallied corresponding to the first tallying task.
[0038] In a second aspect, an embodiment of the present application provides a tallying device, including:
[0039] An acquisition module is used to acquire the current information of items to be tallied and the task information of the first tally task; the information of items to be tallied includes a plurality of first objects to be tallied, the generation time of the first tally task is earlier than the current time, and the task information of the first tally task includes the tally status and / or the tally completion time of the first tally task;
[0040] a processing module, configured to determine a tallying time difference based on the tallying completion time of the first tallying task and the current time if the tallying status of the first tallying task is the tallying completion status; and if the tallying time difference satisfies a preset condition, delete the tallied target object corresponding to the first tallying task from the plurality of first target objects to be tallied, to obtain a second target object to be tallied;
[0041] The generating module is used to generate a second tallying task based on the second target object to be tallied.
[0042] In a third aspect, an embodiment of the present application further provides a control device, comprising a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the method in any implementation manner of the first aspect when executing the computer program.
[0043] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, in which computer instructions are stored, and the computer instructions are used to enable the computer to execute the method in any implementation manner of the aforementioned first aspect.
[0044] In a fifth aspect, an embodiment of the present application further provides a computer program product, including a computer program, which, when executed by a processor, implements the method in any implementation manner of the aforementioned first aspect.
[0045] In a sixth aspect, an embodiment of the present application further provides a computer program, which, when executed by a processor, implements the method in any implementation manner of the aforementioned first aspect.
[0046] A tallying method provided by the present embodiment includes: firstly obtaining information on items to be tallied at the current moment and task information of a first tallying task; the information on items to be tallied includes a plurality of first objects to be tallied, the generation time of the first tallying task is earlier than the current moment, and the task information of the first tallying task includes a tallying state and / or a tallying completion time of the first tallying task; then, if the tallying state of the first tallying task is a tallying completion state, determining a tallying time difference based on the tallying completion time of the first tallying task and the current moment; if the tallying time difference satisfies a preset condition, deleting the tallied objects corresponding to the first tallying task from the plurality of first objects to be tallied, and obtaining a second object to be tallied; finally, generating a second tallying task based on the second object to be tallied; in this way, it is possible to determine whether to tally the objects corresponding to the first tallying task again according to the tallying time difference between the completion time of the first tallying task and the current moment, so that it is possible to avoid repeated tallying of objects that have just been tallied, thereby improving the tallying efficiency of the objects, and thus improving the subsequent picking efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. 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.
[0048] Figure 1A A schematic diagram of an application scenario of a tallying method provided in an embodiment of the present application;
[0049] Figure 1B A schematic diagram of the structure of a workstation provided in an embodiment of the present application;
[0050] Figure 2 A schematic diagram of a tally method provided in an embodiment of the present application;
[0051] Figure 3 A schematic diagram of another tallying method provided in an embodiment of the present application;
[0052] Figure 4 A flowchart of another tallying method provided in an embodiment of the present application;
[0053] Figure 5 A flowchart of another tallying method provided in an embodiment of the present application;
[0054] Figure 6 A flowchart of another tallying method provided in an embodiment of the present application;
[0055] Figure 7A flowchart of another tallying method provided in an embodiment of the present application;
[0056] Figure 8 A flowchart of another tallying method provided in an embodiment of the present application;
[0057] Fig. 9 A schematic diagram of the structure of a tallying device provided in an embodiment of the present application;
[0058] Fig.10 A schematic diagram of the internal structure of a robot provided in an embodiment of the present application;
[0059] Fig.11 A schematic diagram of the structure of a control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0060] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application and to make the above-mentioned purposes, features and advantages of the embodiments of the present application more obvious and understandable, the technical solutions in the embodiments of the present application are further described in detail below in conjunction with the accompanying drawings.
[0061] In the shelf-to-person picking scenario, goods are usually placed in boxes and placed on the corresponding shelves in the form of boxes. During the picking process, the handling equipment first transports the shelf with the target goods to the workstation, and then the workstation can use the robotic arm to take the box with the target goods from the shelf and place it on the operating table for the staff to perform the picking operation; after the staff completes the picking operation, the workstation uses the robotic arm to put the picked box back to the corresponding shelf.
[0062] In order to improve the picking efficiency of goods, the boxes on each shelf are usually tallied to adjust the inventory distribution. Among them, in the application scenario of automatic tallying, after the handling equipment transports the shelf to the workstation, the workstation takes out and puts the boxes on the shelf through the robotic arm, thereby realizing automatic tallying. Among them, while the current workstation is tallying, other workstations can pick goods in parallel. With the picking of other workstations, the relationship between the boxes and shelves will change, and the boxes on the sorted shelves may be disrupted; therefore, new tallying tasks need to be generated to tally the disrupted boxes on the shelves again. In this way, there may be a situation where the boxes and shelves that have been tallied in a short time need to be tallied again, resulting in the same box and shelf being tallied multiple times in a short time. This will not only affect the tallying efficiency, but also destroy the previous tallying results and affect the subsequent picking efficiency.
[0063] Based on this, the present application provides a tallying method, which can determine whether to tally the already tallied target objects corresponding to the first tallying task again according to the tallying time difference between the completion time of the first tallying task and the current moment. This can avoid repeated tallying of target objects that have just been tallied not long ago, thereby improving the tallying efficiency of the target objects and the subsequent picking efficiency.
[0064] Before describing the technical solution of the embodiments of the present application, the application scenarios of the embodiments of the present application are first described with reference to the accompanying drawings. Figure 1A Schematic diagram of application scenario of the tally method provided in the embodiment of the present application. Figure 1A As shown, the application scenario includes a plurality of carriers 10 , a plurality of handling devices 20 , at least one workstation 30 and a control device 40 .
[0065] Exemplarily, the carrier 10 may include multiple cargo spaces. Among them, the cargo spaces are used to place containers, and goods can also be placed directly. This embodiment of the present application is not limited to this. Since in this application scenario, after the handling equipment 20 transports the carrier 10 to the corresponding workstation 30, the workstation 30 will use a robotic arm to perform pick-and-place operations on the objects (such as containers, goods) placed in each cargo space on the carrier 10. Therefore, in order to facilitate the robotic arm of the workstation 30 to grab the placed objects, the objects placed in each cargo space of the carrier 10 can be containers.
[0066] For example, the cargo space may be a rectangular shaped storage space, and the multiple cargo spaces on the carrier 10 may be neatly arranged along the length direction, width direction, and height direction of the carrier 10 .
[0067] In some embodiments, the container is used to place the goods, and the container can be a cargo box or a pallet. The embodiments of the present application do not limit this. In order to facilitate the robot arm to grab the container, the cargo box is usually placed as a container in each cargo position of the carrier 10. The cargo box can be a matching cargo box specially designed for the carrier 10, or it can be an ordinary cargo box, and the embodiments of the present application do not limit this.
[0068] In some embodiments, the carrier 10 may be a shelf. In order to facilitate the handling equipment 20 to carry the carrier 10, the carrier 10 may be a movable shelf. The movable shelf includes at least one layer of partitions, which divides the carrier 10 into at least two layers. At least one cargo space is provided on the partition of the carrier 10, and each cargo space can accommodate at least one container, which is not limited in the embodiment of the present application. It should be noted that the carrier 10 includes but is not limited to partition shelves, container shelves, picking shelves, movable shelves, etc. The carrier 10 provided in the embodiment of the present application may refer to any carrier for placing containers.
[0069] In some embodiments, the number of workstations 30 may be one or more. Each workstation 30 may be provided with a corresponding vehicle docking area, and the vehicle docking area includes one or more docking positions, which are used to dock the vehicle 10. Among them, the vehicle docking area may include an operation area and a queuing area. Among them, the operation area and the queuing area are both used to dock the vehicle 10. The operation area 3 is used to dock the vehicle that is being operated (such as tallying, picking) at the workstation 30, and the queuing area is used to dock at least one vehicle that has been hit by the workstation 30 but has not yet been operated. That is, when the workstation 30 is used for tallying, the vehicle docked in the operation area is being tallied at the workstation 30, and the vehicle docked in the queuing area is waiting for the workstation 30 to tally.
[0070] Exemplarily, at least one carrier 10 can be docked in the operation area of the workstation 30. For example, two carriers 10 can be docked side by side in the operation area of the workstation 30. In the case where the workstation 30 is used for tallying, the workstation 30 can take out a container from one of the carriers 10 docked in the operation area through a robotic arm and place it in an empty cargo space on another carrier 10.
[0071] In some embodiments, the transport equipment 20 may also be referred to as automatic transport equipment or carrier transport equipment, and is used to transport the carrier 10 .
[0072] Exemplarily, the transport device 20 may be a transport robot, such as an automated guided vehicle (AGV). For example, the transport robot may run to the bottom of the carrier 10 and then lift the carrier 10 up off the ground, thereby carrying the carrier 10 to move.
[0073] It should be noted that the transporting equipment that transports the carrier 10 to the workstation 30 and the transporting equipment that transports the carrier 10 from the workstation 30 to the shelf area or other workstations may be the same transporting equipment or different transporting equipment.
[0074] Exemplarily, the control device 40 can be coupled to the transport device 20 and the workstation 30 respectively, and is used to control the operation of the transport device 20 and the workstation 30. For example, the control device 40 can control the transport device 20 to move and transport the carrier 10, and can also control the workstation 30 to perform a container pick-up and placement operation on the carrier 10 docked in the operation area.
[0075] Exemplarily, the control device 40 may be a server or a terminal device, or a device deployed with a warehouse management system (WMS) and a robot management system (RMS). The terminal device may include at least one of a personal computer, a laptop, a smart phone, a tablet computer, and a portable wearable device; the server may include an independent server or a server cluster composed of multiple servers, which is not limited in the embodiments of the present application.
[0076] In some examples, the control device 40 is connected to the handling device 20 and the workstation 30 for data communication. For example, the control device 40 can be connected to the handling device 20 and the workstation 30 through a local area network (LAN), a wireless local area network (WLAN), or other networks.
[0077] In some embodiments, the control device 40 is configured to determine the target container and the target cargo position corresponding to the target container on the target carrier according to the task to be performed (e.g., tally task); generate a handling instruction according to the target carrier, and generate a pick-and-place instruction according to the target cargo position. The handling equipment is configured to carry the target carrier to the workstation according to the handling instruction; the robot arm of the workstation is configured to move to the pick-and-place box position corresponding to the target cargo position before the target carrier arrives at the workstation according to the pick-and-place instruction; and when the target carrier arrives at the workstation, it moves from the pick-and-place box position to the target cargo position and takes out the target container from the target cargo position, or places the target container at the target cargo position.
[0078] The following is combined with Figure 1B The structure and working principle of the workstation provided in the embodiment of the present application are explained.
[0079] Figure 1B This is a schematic diagram of the structure of a workstation provided in an embodiment of the present application. Figure 1B As shown, the workstation 30 includes a support frame 31 , a guide mechanism 32 and a container picking and placing device 33 .
[0080] In some examples, the guide mechanism 32 is provided to the support frame 31. The guide mechanism 32 can move laterally and vertically relative to the support frame 31. The container pick-and-place device 33 is provided to the guide mechanism 32 so that the container pick-and-place device 33 can move laterally and / or vertically relative to the support frame 31.
[0081] In some examples, the container picking and placing device 33 is coupled to the control device. When the transport device 20 transports the carrier 10 to the operation area of the workstation 30 under the control of the control device, the container picking and placing device 33 moves horizontally (such as in the L direction) and / or vertically (such as in the H direction) to reach a position corresponding to the cargo position 15 in the carrier 10, thereby picking up and placing the container in the cargo position 15.
[0082] Exemplarily, the guide mechanism 32 may include a lateral moving device 34, a moving rod 35, and a vertical moving device 36. The lateral moving device 34 is provided to the support frame 31. The lateral moving device 34 is coupled to the control device. The lateral moving device 34 can move laterally relative to the support frame 31. The moving rod 35 extends in the vertical direction, and the moving rod 35 is provided to the lateral moving device 34, so that the moving rod 35 can move laterally relative to the support frame 31. The vertical moving device 36 is provided to the moving rod 35. The vertical moving device 36 is coupled to the control device. The vertical moving device 36 can move vertically relative to the moving rod 35. The container picking and placing device 33 is provided to the vertical moving device 36, so that the container picking and placing device 33 can move vertically relative to the moving rod 35. Therefore, the container picking and placing device 33 can move laterally and / or vertically on the support frame 31.
[0083] In some examples, the workstation 30 may not be provided with the support frame 31 . When the workstation 30 is not provided with the support frame 31 , the container picking and placing device 33 may be moved laterally and / or vertically through the guide mechanism 32 .
[0084] Exemplarily, when the workstation 30 is not provided with the support frame 31, the workstation 30 may include at least one guide mechanism 32 and a container pick-up and placement device 33. The container pick-up and placement device 33 is provided to the guide mechanism 32, and the container pick-up and placement device 33 may move laterally and / or vertically through the guide mechanism 32.
[0085] In some embodiments, the lateral moving device 34 is coupled to the moving rod 35 and is configured to drive the moving rod 35 to move laterally; the moving rod 35 extends in the vertical direction, and the container picking and placing device 33 is set to the moving rod 35 so that the moving rod 35 drives the container picking and placing device 33 to move laterally; the vertical moving device 36 is coupled to the container picking and placing device 33 and is configured to drive the container picking and placing device 33 to move vertically relative to the moving rod 35.
[0086] In some examples, the lateral moving device 34 can be set to the moving rod 35, or can be set to the container picking and placing device 33; the vertical moving device 36 can be set to the moving rod 35. For example, the lateral moving device 34 and the vertical moving device 36 can be two driving motors. The embodiment of the present application does not limit the specific positions of the lateral moving device 34 and the vertical moving device 36, as long as the lateral moving device 34 can drive the moving rod 35 to move horizontally, and the vertical moving device 36 can drive the container picking and placing device 33 to move vertically relative to the moving rod 35.
[0087] In some examples, the guide mechanism 32 and the container pick-and-place device 33 can be combined to be referred to as a robot arm, the guide mechanism 32 can also be referred to as a robot arm alone, and the container pick-and-place device 33 is disposed on the robot arm and moves laterally and / or vertically through the robot arm (for example, the robot arm can move laterally and / or vertically with the container pick-and-place device 33); this is not limited in the embodiments of the present application. The robot arm can be fixed on the ground or a guide rail, such as the robot arm can be permanently fixed on the ground or a guide rail, or can be temporarily fixed on the ground or a guide rail, and this is not limited in the embodiments of the present application.
[0088] In some embodiments, the container picking and placing device 33 may include a picking and placing component, and the picking and placing component may be movable along the depth direction.
[0089] In some examples, when the container placing and picking device 33 reaches the position corresponding to the cargo position 15 by lateral movement and / or vertical movement, the placing and picking component can be controlled to extend to the cargo position 15 along the depth direction, that is, the placing and picking component can extend to the cargo position 15 along the direction toward the carrier, so as to place and pick up the container from the cargo position 15. Figure 1B As shown, when the container placing and picking device 33 reaches the position corresponding to the cargo position, the placing and picking component ( Figure 1B The robot (not shown) can move along the depth direction (such as the Z direction) to the cargo position 15 to pick up the container placed on the cargo position 15.
[0090] Exemplarily, the pick-up and placement component may be a component such as a claw, a fork or a suction cup connected to the container pick-up and placement device 33. When the pick-up and placement component is a claw, the pick-up and placement component can pick up and place the container from the cargo position of the carrier 10 by grabbing; when the pick-up and placement component is a fork, the pick-up and placement component can pick up and place the container from the cargo position of the carrier 10 by holding; when the pick-up and placement component is a suction cup, the pick-up and placement component can pick up and place the container from the cargo position of the carrier 10 by sucking. The embodiment of the present application does not limit the specific structure of the container pick-up and placement device 33. It should be noted that the embodiment of the present application can be exemplified by taking the pick-up and placement component as a suction cup as an example.
[0091] The following is combined with Figure 2, the tallying method provided in the embodiment of the present application is described. It should be noted that the tallying method provided in the embodiment of the present application can be implemented by the control device in the above embodiment. Figure 2 As shown, an embodiment of the present application provides a tallying method, including S201-S204.
[0092] S201. Obtaining the current inventory information to be tallied and the task information of the first inventory task.
[0093] In some embodiments, the information to be tallied includes multiple first objects to be tallied, location information of each first object to be tallied, target workstations corresponding to each first object to be tallied, current tallying strategy, etc.; the embodiments of the present application are not limited to this. In the following embodiments, the information to be tallied includes multiple first objects to be tallied as an example for illustrative description. Among them, the first object to be tallied is a cargo box and / or shelf that needs to be tallied at the current moment.
[0094] Exemplarily, the control device may obtain the information to be tallied at the current moment according to the operation instruction input by the user at the current moment. For example, when the operation instruction input by the user indicates to start tallying, the control device executes S201 to obtain the information to be tallied at the current moment. The control device may also obtain the information to be tallied at the current moment according to the acquired new order information.
[0095] For example, when the control device obtains new order information, the control device executes S201 to obtain the information to be sorted at the current moment. The order information may include at least one cargo box that needs to be picked, and based on the at least one cargo box that needs to be picked, at least one target object to be sorted that needs to be sorted can be determined. For example, if the new order information includes Class A cargo boxes, Class B cargo boxes, and Class C cargo boxes, it means that Class A cargo boxes, Class B cargo boxes, and Class C cargo boxes need to be picked separately. In order to improve the picking efficiency of Class A cargo boxes, Class B cargo boxes, and Class C cargo boxes, Class A cargo boxes can be concentrated on one shelf, Class B cargo boxes can be concentrated on one shelf, and Class C cargo boxes can be concentrated on one shelf; Class A cargo boxes, Class B cargo boxes, and Class C cargo boxes can also be concentrated on one shelf, and the embodiment of the present application does not limit this. Based on the above content, it can be determined that multiple first target objects to be sorted include Class A cargo boxes, Class B cargo boxes, and Class C cargo boxes.
[0096] In some embodiments, the generation time of the first tally task is earlier than the current moment, that is, the first tally task is a tally task generated earlier than the current moment. The task information of the first tally task includes the tally status and / or the tally completion time of the first tally task. The tally status of the first tally task is used to indicate the execution status of the first tally task, and the tally status of the first tally task includes the tally completion status and the tally incomplete status. The tally completion time refers to the moment when the tally task is completed.
[0097] For example, with the acquisition of new orders and the picking of goods, in order to improve work efficiency, it is necessary to adjust the inventory distribution in the warehouse at different times, that is, different tallying tasks can be generated at different times according to actual needs to adjust the inventory distribution in the warehouse. Among them, multiple tallying tasks generated at the same time are tallying tasks of the same batch. The first tallying task can be a tallying task among multiple batches of tallying tasks whose generation time is closest to the current moment, or it can be a tallying task in any batch whose generation time is earlier than the current moment. The embodiments of the present application are not limited to this. In the following embodiments, the first tallying task is taken as a tallying task among multiple batches of tallying tasks whose generation time is closest to the current moment as an example for illustrative explanation.
[0098] S202: If the tallying status of the first tallying task is the tallying completion status, determine the tallying time difference based on the tallying completion time of the first tallying task and the current time.
[0099] In some embodiments, before generating a new tally task, S201 is executed to obtain the task information of the first tally task. According to the tally status of the first tally task in the task information, the execution status of the first tally task can be determined. If the tally status of the first tally task is the tally completion status, it means that the first tally task has been completed, and the to-be-tallyed target object corresponding to the first tally task is converted into the tallied target object. In order to improve the tally efficiency and avoid repeated tallying of the same target object in a short time, the tally time difference can be determined based on the tally completion time of the first tally task and the current time. Among them, the tally status of the first tally task can be obtained first, and when the tally status of the first tally task is the tally completion status, the tally completion time of the first tally task can be obtained.
[0100] For example, when a new tally task needs to be generated, the tally status of the first tally task is first obtained to determine whether the first tally task has been completed. When it is determined that the tally status of the first tally task is the tally completion status, the tally completion time of the first tally task is obtained, and the tally completion time of the first tally task is subtracted from the current time to obtain the time difference corresponding to the first tally task. For example, if the tally completion time of the cargo box B1 is 12:40 and the current time is 13:40, the tally time difference between the tally completion time and the current time is 1 hour.
[0101] In some embodiments, the control device can determine the tallying status of the first tallying task according to the position information of the target objects to be tallied corresponding to the first tallying task; for example, when the target objects to be tallied corresponding to the first tallying task are transported to the target cargo position, the tallying status of the first tallying task is determined to be the tallying completion status; and the moment when the target objects to be tallied corresponding to the first tallying task are transported to the target cargo position is determined as the tallying completion time. The control device can also determine the tallying status of the first tallying task by communicating with the workstation or handling equipment corresponding to the first tallying task; for example, when the workstation corresponding to the first tallying task transports the target objects to be tallied to the target position, the workstation can send tallying completion information to the control device, and the control device can determine the tallying status of the first tallying task according to the tallying completion information sent by the workstation, and determine the time of the tallying completion information sent by the workstation as the tallying completion time. The embodiment of the present application does not limit the method for obtaining the tallying status of the first tallying task and the tallying completion time.
[0102] S203: If the tallying time difference satisfies a preset condition, the tallied objects corresponding to the first tallying task are deleted from the plurality of first objects to be tallied, to obtain second objects to be tallied.
[0103] In some embodiments, the second objects to be tallied are the objects to be tallied among the plurality of first objects to be tallied except the objects that have been tallied corresponding to the first tallying task. The preset condition is used to determine whether the objects that have been tallied corresponding to the first tallying task can be tallied again.
[0104] For example, whether the tallied objects corresponding to the first tally task can be tallied again can be determined based on whether the tally time meets the preset conditions. If the tally time meets the preset conditions, it means that the tallied objects corresponding to the first tally task cannot be tallied again. At this time, the tallied objects corresponding to the first tally task are deleted from the multiple first objects to be tallied to obtain the second objects to be tallied. If the tally time does not meet the preset conditions, it means that the tallied objects corresponding to the first tally task can be tallied again.
[0105] S204: Generate a second tallying task based on the second target object to be tallied.
[0106] In some embodiments, the second tallying task is used to instruct to tally the second target physical cargo to be tallied.
[0107] Exemplarily, a second tallying task corresponding to the second target object to be tallied may be generated based on the current cargo location of the second target object to be tallied and the target cargo location of the second target object to be tallied.
[0108] It can be understood that by executing S201-S203, the objects to be tallied whose tallying completion time is shorter than the current time can be removed from the plurality of first objects to be tallied, thereby reducing duplicate tallying and improving tallying efficiency.
[0109] Figure 3 A flow chart of another tally method provided in the embodiment of the present application. Figure 3 As shown, the tallying method provided in the embodiment of the present application also includes S301-S303.
[0110] S301. Determine the attenuation amount based on the attenuation function and the tally time difference.
[0111] S302: Generate a random number based on a preset random number threshold, and compare the attenuation amount with the random number.
[0112] The upper limit of the preset random number threshold is less than the maximum value of the attenuation amount.
[0113] Exemplarily, if the maximum value of the attenuation amount is 1, the random number generated based on the preset random number threshold will always be less than 1.
[0114] In some embodiments, the preset random number threshold may be 0-1, that is, generating a random number based on the preset random number threshold may be randomly generating a decimal number between 0-1 as the random number.
[0115] S303: If the attenuation is greater than the random number, it is determined that the tally time difference meets a preset condition.
[0116] In some embodiments, the attenuation function is expressed by the following formula:
[0117]
[0118] Among them, f(t) is the attenuation, e is a real number, a is a preset parameter, t is the tally time difference, and N is the preset time threshold.
[0119] In some embodiments, N in the attenuation function is a preset value, and N can be set according to actual needs. The embodiment of the present application does not limit the value of N. Among them, N is used to limit the tally time difference, that is, when the tally time difference t is less than N, the attenuation f(t) is 1. At this time, the attenuation f(t) will be greater than the random number, which means that the tally time difference t meets the preset condition, that is, the tallied target object corresponding to the first tally task cannot be tallied again, and the tallied target object corresponding to the first tally task is deleted from the multiple first tally targets.
[0120] For example, if N is 2, it means that the target object whose tally has been completed for less than 2 hours cannot be tallied again, that is, the target object whose tally time difference t is less than 2 cannot be tallied again.
[0121] In some embodiments, a in the attenuation function is a preset value, which can be set according to actual needs. The value of a is not limited in the embodiments of the present application. Among them, a is used to limit the attenuation rate of the attenuation function. The larger the value of a, the higher the attenuation rate of the attenuation function, and the faster the attenuation; that is, when the tally time difference is the same, the larger the value of a, the smaller the attenuation amount f (t), and the higher the probability that the tallied target object corresponding to the first tally task can be tallied again. Similarly, the smaller the value of a, the lower the attenuation rate of the attenuation function, and the slower the attenuation; that is, when the tally time difference is the same, the smaller the value of a, the larger the attenuation amount f (t), and the lower the probability that the tallied target object corresponding to the first tally task can be tallied again.
[0122] For example, if a target object with a tally time difference t greater than 2 needs to be tallied again as soon as possible, the value of a can be increased, which can increase the probability of the target object being tallied again, thereby increasing the rate of the target object being tallied again.
[0123] In some embodiments, if the attenuation is less than or equal to the random number, a fourth tally task is generated based on the plurality of first tally objects.
[0124] Exemplarily, if the attenuation is less than or equal to the random number, it means that the tallying time of the tallied objects corresponding to the first tallying task does not meet the preset conditions, that is, the tallied objects corresponding to the first tallying task can be tallied again. At this time, a fourth tallying task is generated based on multiple first tallied objects.
[0125] It should be noted that the method of generating the fourth tallying task based on the plurality of first tally objects is the same as that in step S204, and will not be described again here to avoid repetition.
[0126] Figure 4 A flow chart of another tally method provided in the embodiment of the present application. Figure 4 As shown, the tallying method provided in the embodiment of the present application further includes S401-S402.
[0127] S401, determining the cancellation times of the tallied target objects.
[0128] The number of cancellations of tallied objects refers to the number of times the tallied objects corresponding to the first tallying task are deleted from the plurality of first objects to be tallied.
[0129] S402: If the number of cancellations of the tallied objects is greater than a preset number threshold, the step of deleting the tallied objects corresponding to the first tallying task from the plurality of first objects to be tallied is not performed, and a third tallying task is generated based on the plurality of first objects to be tallied.
[0130] In some embodiments, if the number of cancellations of an already tallied object is greater than a preset number threshold, it means that the re-tallying demand for the already tallied object is high. Therefore, the step of deleting the already tallied object from the multiple first objects to be tallied is not performed, so that the already tallied object can be tallied again, and a third tallying task is generated based on the multiple first objects to be tallied.
[0131] It should be noted that the method of generating the third tally task based on the plurality of first tally objects is the same as step S204, and will not be described again to avoid repetition.
[0132] Figure 5 A flow chart of another tally method provided in the embodiment of the present application. Figure 5 As shown, the tallying method provided in the embodiment of the present application also includes S501-S502.
[0133] S501. If the tallying status of the first tallying task is an unfinished tallying status, then when the workstation allocation status of the first tallying task is an unallocated workstation, determine the creation duration of the first tallying task based on the generation time of the first tallying task.
[0134] In some embodiments, if the tallying status of the first tallying task is an incomplete tallying status, it means that the first tallying task has not been completed. At this time, in order to improve the tallying efficiency, the creation duration of the first tallying task can be determined based on the generation time of the first tallying task and the current time.
[0135] Exemplarily, the creation time of the first tally task is subtracted from the current time to obtain the creation time of the first tally task. For example, if the creation time of the first tally task is 12:00 and the current time is 13:00, the creation time of the first tally task can be obtained as 1 hour.
[0136] S502: If the creation time of the first tally task is greater than or equal to the first preset time, cancel the first tally task, and generate a fifth tally task based on the plurality of first objects to be tallied.
[0137] In some embodiments, if the creation time of the first tally task is greater than or equal to the first preset time, it means that the first tally task has not been executed for a long time after being generated. In this case, the first tally task can be cancelled. Since the plurality of first objects to be tallied include the objects to be tallied corresponding to the first tally task, after the fifth tally task is generated based on the plurality of first objects to be tallied, the tally range corresponding to the fifth tally task will include the objects to be tallied corresponding to the first tally task whose creation time is greater than or equal to the first preset time, that is, the objects to be tallied corresponding to the first tally task will be tallied as the fifth tally task is executed.
[0138] Exemplarily, if the first preset time is 24 hours, and 1,000 first tally tasks are created at 1:00 on March 14, and 200 first tally tasks are still not executed after 3 hours of tallying, and these 200 first tally tasks are not assigned workstations, then when a new tally task is created at 1:00 on March 15, it will be recognized that 200 first tally tasks have a creation time equal to 24 hours. At this time, the above 200 first tally tasks with a creation time equal to 24 hours are canceled, and a new tally task is generated, that is, the fifth tally task is generated.
[0139] In some embodiments, after executing S501 to determine the size relationship between the creation duration of the first tally task and the first preset duration, the system configuration information can be obtained. If the system configuration information indicates to cancel the first tally task whose creation duration is greater than or equal to the first preset duration, it means that the user does not want to continue tallying, but wants to generate a new tally task. At this time, the first tally task is canceled, and a fifth tally task is generated based on multiple first tally targets. Among them, the system configuration information can be set by the user according to actual needs, and the embodiments of the present application are not limited to this.
[0140] It should be noted that the method of generating the fifth tally task based on the plurality of first tally objects is the same as that in step S204, and will not be described again here to avoid repetition.
[0141] In some embodiments, if the tallying status of the first tallying task is an incomplete tallying status and the workstation allocation status of the first tallying task is an allocated workstation, or, the tallying status of the first tallying task is an incomplete tallying status and the workstation allocation status of the first tallying task is an unallocated workstation and the creation duration of the first tallying task is less than the first preset duration, a sixth tallying task is generated based on multiple first tallying targets.
[0142] Exemplarily, if the tallying status of the first tallying task is an incomplete tallying status and the workstation allocation status of the first tallying task is an allocated workstation, or, the tallying status of the first tallying task is an incomplete tallying status and the workstation allocation status of the first tallying task is an unallocated workstation and the creation duration of the first tallying task is less than the first preset duration, the first tallying task will not be cancelled.
[0143] In some embodiments, in order to further reduce the competition between the first tally task and the new tally task, if the tally status of the first tally task is the tally unfinished status and the workstation allocation status of the first tally task is the allocated workstation and the multiple first objects to be tallied include the objects to be tallied corresponding to the first tally task, then the objects to be tallied corresponding to the first tally task are deleted from the multiple first objects to be tallied, and the sixth tally task is generated based on the deleted first objects to be tallied. Similarly, if the tally status of the first tally task is the tally unfinished status and the workstation allocation status of the first tally task is the unallocated workstation and the creation time of the first tally task is less than the first preset time and the multiple first objects to be tallied include the objects to be tallied corresponding to the first tally task, then the objects to be tallied corresponding to the first tally task are deleted from the multiple first objects to be tallied, and the sixth tally task is generated based on the deleted first objects to be tallied.
[0144] It should be noted that the method for generating the sixth tally task based on the first tally target object is the same as step S204, and will not be described again here to avoid repetition. In addition, the second tally task and the third tally task, the fourth tally task, the fifth tally task, and the sixth tally task have different tally ranges, and the third tally task, the fourth tally task, the fifth tally task, and the sixth tally task may be the same or different, and this embodiment of the application does not limit this.
[0145] In the case where the first tally task is not cancelled, it means that the first tally task needs to be executed normally; at this time, the first tally task and the new tally task (eg, the sixth tally task) may be executed in parallel. Figure 6 A flow chart of another tally method provided in the embodiment of the present application. Figure 6 As shown, the tallying method provided in the embodiment of the present application further includes S601-S602.
[0146] S601. Obtain a first tally strategy corresponding to a first tally task and a second tally strategy corresponding to a sixth tally task.
[0147] In some embodiments, the tally strategy is used to indicate the tally order of the tally task. Different tally strategies correspond to different tally priorities, that is, when tallying is performed based on different tally strategies, the tally order of the tally task is different. The tally strategy includes at least one of a first tally strategy and a second tally strategy. The first tally strategy is used to indicate the tally order of the first tally task, and the second tally strategy is used to indicate the tally order of the second tally task.
[0148] Exemplarily, the tally strategy may include at least one of order tally, category exclusive tally (also known as ABC exclusive tally), brand / type exclusive tally, empty box tally, and inventory tally. This embodiment of the present application is not limited to this. Among them, ABC exclusive tally refers to tallying according to the category of goods, such as checking the goods of the same category to the same shelf. Inventory tallying refers to tallying according to the inventory of the cargo box, such as tallying cargo boxes with less inventory to the same shelf; wherein, less inventory can refer to the number of goods in the cargo box being less than a preset quantity threshold, or can also refer to the volume of the cargo box being greater than a preset volume threshold; the present application embodiment does not limit this; in addition, when the tallying strategy is inventory tallying, the cargo boxes can be tallied in order according to the size of the inventory, such as first tallying the cargo box with a cargo box quantity of 1, then tallying the cargo box with a cargo box quantity of 2, and finally tallying the cargo box with a cargo box quantity of 3; the cargo boxes can also be tallied directly according to the inventory, such as tallying cargo boxes with a cargo box quantity of less than 3. In the following embodiments, an example will be taken where less inventory refers to the number of goods being less than a preset quantity threshold as an example for illustrative explanation. Empty box tallying refers to tallying empty boxes to the same shelf. Brand / type mutually exclusive tallying refers to tallying according to the brand / type of goods, such as physically tallying goods of the same brand / type to the same shelf. Order sorting refers to sorting goods according to orders, such as putting goods in the same order on the same shelf.
[0149] In some embodiments, the tallying priority corresponding to the order tallying includes at least one of the following: the higher the hit rate, the higher the priority; the fewer the number of shelves hit by the order (also called picklist), the higher the priority; and the fewer the number of tallying tasks, the higher the priority. The tallying priority corresponding to the ABC mutually exclusive tallying includes at least one of the following: the fewer the number of shelves distributed in the cargo boxes of each category, the higher the priority; and the fewer the number of tallying tasks, the higher the priority. The tallying priority corresponding to the brand / type mutually exclusive tallying includes at least one of the following: the fewer the number of shelves distributed in the cargo boxes with associated attributes, the higher the priority; the more associated attribute types on the same shelf, the higher the priority; and the fewer the number of tallying tasks, the higher the priority. The tallying priority corresponding to the empty box tallying includes at least one of the following: the fewer the number of shelves distributed in the empty box, the higher the priority; and the fewer the number of tallying tasks, the higher the priority. The tallying priority corresponding to the inventory tallying includes at least one of the following: the fewer the number of shelves distributed in the cargo boxes that meet the preset quantity requirements, the higher the priority; and the fewer the number of tallying tasks, the higher the priority. The embodiments of the present application are not limited to this. Among them, the preset quantity requirement can be that the number of goods in the cargo box is less than or equal to the preset quantity threshold.
[0150] Exemplarily, taking the ABC mutually exclusive tallying as an example, if the number of shelves with Class A cargo boxes among multiple shelves is greater than the number of shelves with Class B cargo boxes, and the number of shelves with Class B cargo boxes is greater than the number of shelves with Class C cargo boxes, then the tallying priority of the tallying tasks corresponding to Class C cargo boxes is higher than the tallying priority of the tallying tasks corresponding to Class B cargo boxes, and the tallying priority of the tallying tasks corresponding to Class B cargo boxes is higher than the tallying priority of the tallying tasks corresponding to Class A cargo boxes.
[0151] As another example, continuing to take the tallying strategy of ABC mutually exclusive tallying as an example for exemplary explanation, if the number of tallying tasks corresponding to Class A cargo boxes is greater than the number of tallying tasks corresponding to Class B cargo boxes, and the number of tallying tasks corresponding to Class B cargo boxes is greater than the number of tallying tasks corresponding to Class C cargo boxes, then the tallying priority of the tallying tasks corresponding to Class C cargo boxes is higher than the tallying priority of the tallying tasks corresponding to Class B cargo boxes, and the tallying priority of the tallying tasks corresponding to Class B cargo boxes is higher than the tallying priority of the tallying tasks corresponding to Class A cargo boxes.
[0152] In some embodiments, the first tally strategy is the tally strategy followed when executing the first tally task, that is, the tally priority when executing the first tally task can be determined according to the first tally strategy. The second tally strategy is the tally strategy followed when executing the sixth tally task, that is, the tally priority when executing the sixth tally task can be determined according to the second tally strategy. Among them, since the sixth tally task is a tally task generated based on multiple first tally tasks at the current moment, the tally strategy corresponding to the current moment is the second tally strategy.
[0153] Exemplarily, the first tally strategy and the second tally strategy may be the same or different. For example, the first tally strategy and the second tally strategy may both be ABC mutually exclusive tally; or the first tally strategy may be ABC mutually exclusive tally, and the second tally strategy may be inventory tally. This embodiment of the present application is not limited to this.
[0154] S602: If the first tally strategy is different from the second tally strategy, and the first tally strategy and the second tally strategy are implemented in parallel, the first tally strategy and / or the second tally strategy are adjusted.
[0155] In some embodiments, based on the priority adjustment strategy, the first tally strategy and / or the second tally strategy are adjusted, including: inverting the tally priority of the first tally strategy and / or inverting the second tally strategy.
[0156] In some embodiments, the tally priority is used to indicate the execution order of multiple tally tasks during tally.
[0157] Exemplarily, the tallying priority can be determined according to the warehouse partition, or according to the type of goods. For example, the warehouse is divided into multiple partitions, and the multiple partitions are respectively a1 area, a2 area, b1 area, b2 area, c1 area and c2 area. If the first tallying task is executed based on the first tallying strategy and / or the sixth tallying task is executed based on the second tallying strategy, the target objects to be tallied in a1 area will be tallied first, and then a2 area, b1 area, b2 area, c1 area and c2 area will be tallied in sequence. Then, the tallying priority of the first tallying strategy and / or the second tallying strategy is that a1 area has a higher priority than a2 area, a2 area has a higher priority than b1 area, b1 area has a higher priority than b2 area, b2 area has a higher priority than c1 area, and c1 area has a higher priority than c2 area. If the cargo types include Class A, Class B and Class C, when the first tallying task is executed based on the first tallying strategy and / or the sixth tallying task is executed based on the second tallying strategy, Class A cargo to be tallied is first physically checked to the same shelf, then Class B cargo to be tallied is physically checked to the same shelf, and finally Class C cargo to be tallied is physically checked to the same shelf, the tallying priority of the first tallying strategy and / or the second tallying strategy is that the priority of Class A cargo boxes is higher than the priority of Class B cargo boxes, and the priority of Class B cargo boxes is higher than the priority of Class C cargo boxes.
[0158] In some embodiments, the tally priority of the inverted first tally strategy is determined as the adjusted first tally strategy, and the tally priority of the inverted second tally strategy is determined as the adjusted second tally strategy. It can be determined whether to adjust the first tally strategy and / or the second tally strategy according to the current scenario.
[0159] For example, if the first tallying strategy is ABC mutually exclusive tallying, that is, the tallying priority of the first tallying strategy is: the priority of the cargo box with less inventory in the A-type cargo box is higher than the cargo box with more inventory in the A-type cargo box, the priority of the cargo box with more inventory in the A-type cargo box is higher than the cargo box with less inventory in the B-type cargo box, the priority of the cargo box with less inventory in the B-type cargo box is higher than the cargo box with more inventory in the B-type cargo box, the priority of the cargo box with more inventory in the B-type cargo box is higher than the cargo box with less inventory in the C-type cargo box, and the priority of the cargo box with less inventory in the C-type cargo box is higher than the cargo box with more inventory in the C-type cargo box; the second tallying strategy is inventory tallying, that is, the tallying priority of the second tallying strategy is: the priority of the cargo box with less inventory is higher than the cargo box with more inventory; then in order to avoid The first tallying task and the sixth tallying task compete with each other, and the first tallying task needs to tally the cargo boxes with more inventory first; at this time, the first tallying strategy can be inverted to obtain an adjusted first tallying strategy, and the tallying priority of the adjusted first tallying strategy will become: the priority of cargo boxes with more inventory in Class A cargo boxes is higher than that of cargo boxes with less inventory in Class A cargo boxes, the priority of cargo boxes with less inventory in Class A cargo boxes is higher than that of cargo boxes with more inventory in Class B cargo boxes, the priority of cargo boxes with more inventory in Class B cargo boxes is higher than that of cargo boxes with less inventory in Class B cargo boxes, the priority of cargo boxes with less inventory in Class B cargo boxes is higher than that of cargo boxes with more inventory in Class C cargo boxes, and the priority of cargo boxes with more inventory in Class C cargo boxes is higher than that of cargo boxes with less inventory in Class C cargo boxes. Among them, in order to further avoid the competition between the sixth tallying task and the first tallying task, at this time, it is necessary to make the sixth tallying task tally the C-type cargo boxes first, then the B-type cargo boxes, and finally the A-type cargo boxes; at this time, the second tallying strategy can be inverted to obtain the adjusted second tallying strategy, and the tallying priority of the adjusted second tallying strategy will become: the priority of the C-type cargo boxes is higher than the priority of the B-type cargo boxes, and the priority of the B-type cargo boxes is higher than the priority of the A-type cargo boxes. In this way, when the first tallying task is executed based on the adjusted first tallying strategy and the sixth tallying task is executed based on the adjusted second tallying strategy, if the first tallying task is tallying the goods with more inventory in the A-type cargo boxes, then the sixth tallying task is tallying the goods with less inventory in the C-type cargo boxes.
[0160] It should be noted that, when the inventory is low, it means that the quantity of goods in the cargo box is less than the preset quantity threshold, and the inventory is high, it means that the quantity of goods in the cargo box is greater than or equal to the preset quantity threshold. When the inventory is low, it means that the volume of the cargo box is greater than the preset volume threshold, and the inventory is high, it means that the volume of the cargo box in the cargo box is less than or equal to the preset volume threshold.
[0161] In some embodiments, when adjusting the first tally strategy and / or the second tally strategy, all tally priorities in the first tally strategy and / or the second tally strategy may be reversed, or part of the tally priorities in the first tally strategy and / or the second tally strategy may be reversed. This embodiment of the present application is not limited to this.
[0162] Exemplarily, if the first tallying strategy is ABC mutually exclusive tallying, and the second tallying strategy is inventory tallying, in order to avoid competition between the first tallying task and the sixth tallying task, all the tallying priorities of the first tallying strategy can be reversed. At this time, the adjusted tallying priority of the first tallying strategy will become: the priority of the C-type cargo box with more inventory is higher than the C-type cargo box with less inventory, the priority of the C-type cargo box with less inventory is higher than the B-type cargo box with more inventory, the priority of the B-type cargo box with more inventory is higher than the B-type cargo box with less inventory, the priority of the B-type cargo box with less inventory is higher than the A-type cargo box with more inventory, and the priority of the A-type cargo box with more inventory is higher than the C-type cargo box with less inventory. In this way, when the first tallying task is executed based on the adjusted first tallying strategy and the sixth tallying task is executed based on the second tallying strategy, when the first tallying task is tallying the goods with more inventory in the C-type cargo box, the sixth tallying task will tally the goods with less inventory in the A-type cargo box.
[0163] In some embodiments, if the first tally strategy is the same as the second tally strategy, the first tally task may be performed first and then the first tally task, or the second tally task may be performed first and then the first tally task, or the first tally task and the second tally task may be performed simultaneously. This embodiment of the application is not limited to this.
[0164] Figure 7 A flow chart of another tally method provided in the embodiment of the present application. Figure 7 As shown, the tallying method provided in the embodiment of the present application also includes S701-S702.
[0165] S701. Execute the first tally task and the sixth tally task.
[0166] In some embodiments, it can be determined according to the current scenario whether to execute the corresponding tally task according to the tally strategy before adjustment or according to the tally strategy after adjustment. For example, the first tally task can be executed according to the first tally strategy, and the sixth tally task can be executed according to the adjusted second tally strategy, or the first tally task can be executed according to the adjusted first tally strategy, and the sixth tally task can be executed according to the second tally strategy, or the first tally task can be executed according to the adjusted first tally strategy, and the sixth tally task can be executed according to the adjusted second tally strategy.
[0167] S702: When the objects to be tallied corresponding to the sixth tallying task and the objects to be tallied corresponding to the first tallying task both include the third object to be tallied, if the priority of the second tallying strategy is higher than the priority of the first tallying strategy, the third object to be tallied is tallied according to the second tallying strategy, and the third object to be tallied is deleted from the objects to be tallied corresponding to the first tallying task.
[0168] In some embodiments, different workstations may perform tallying according to different tallying strategies.
[0169] Exemplarily, in the tallying process, it is assumed that workstation P1 performs tallying according to tallying strategy 1 (also referred to as the first tallying strategy), and tallying strategy 1 is ABC mutually exclusive tallying; workstation P2 performs tallying according to tallying strategy 2 (also referred to as the second tallying strategy), and tallying strategy 2 is inventory tallying. The handling equipment transports the target objects to be tallied corresponding to the first tallying task to workstation P1, and workstation P1 performs tallying of the target objects to be tallied corresponding to the first tallying task through a mechanical arm according to tallying strategy 1, so that the cargo boxes storing the same type of goods are placed on the same shelf; the handling equipment transports the target objects to be tallied corresponding to the sixth tallying task to workstation P2, and workstation P2 performs tallying of the target objects to be tallied corresponding to the sixth tallying task through a mechanical arm according to tallying strategy 2, so that the cargo boxes with the quantity of stored goods less than the quantity threshold are placed on the same shelf.
[0170] In some embodiments, if the priority of the second tallying strategy is lower than that of the first tallying strategy, the third tallying target object is tallied according to the first tallying strategy, and the third tallying target object is deleted from the tallying targets corresponding to the second tallying task.
[0171] In some embodiments, before the sixth tally task and the first tally task are executed, it can be determined whether the objects to be tallied corresponding to the sixth tally task and the objects to be tallied corresponding to the first tally task include the third object to be tallied through the comparison relationship between the objects to be tallied corresponding to the sixth tally task and the objects to be tallied corresponding to the first tally task, and S702 can be executed if the objects to be tallied corresponding to the sixth tally task and the objects to be tallied corresponding to the first tally task include the third object to be tallied; S702 can also be executed if, during the execution of the sixth tally task and the first tally task, the sixth tally task and the first tally task need to tally the third object to be tallied at the same time. This embodiment of the present application is not limited to this.
[0172] It is understandable that this can avoid competition for the same tally target object, so that when the first tally task and the sixth tally task are executed simultaneously according to their corresponding tally strategies, there will be no competition for the same tally target object.
[0173] In order to further reduce the competition for goods between the first tallying task and the sixth tallying task, in some embodiments, obtaining multiple first tallying targets at the current moment includes: determining each first tallying target object from the targets other than the multiple tallying targets corresponding to the first tallying task based on the tallying strategy at the current moment.
[0174] In some embodiments, the tally strategy corresponding to the current moment may be the second tally strategy, or other tally strategies. The present application embodiment does not limit this, and the following embodiments take the tally strategy corresponding to the current moment as the second tally strategy as an example for illustrative description.
[0175] For example, the first tally strategy is inventory tally, and the second tally strategy is order tally. When there are 8,000 target objects (also called target objects), and the inventory of 2,000 containers is less than the preset quantity threshold, if 2,000 inventory tallies (also called the first tally task) are created, and 3,000 order tallies (also called the sixth tally task) are created, then 3,000 containers are selected as the first target objects to be tallied from the 6,000 containers except the 2,000 containers whose inventory is less than the preset quantity threshold.
[0176] like Figure 8 As shown, in some embodiments, the present application also provides a tallying method, including S801-S808.
[0177] S801. Before generating a new tally task, obtain the first tally task whose generation time is earlier than the current time.
[0178] S802, judging whether the first tally task has been completed; if so, determining whether the target object corresponding to the first tally task that has been completed can be tallied again through a decay function; if not, executing S803.
[0179] In some embodiments, if the counted objects corresponding to the first tallying task can be counted again, a new tallying task is generated based on the counted objects corresponding to the first tallying task; if the counted objects corresponding to the first tallying task cannot be counted again, the counted objects corresponding to the first tallying task are deleted from the objects to be counted at the current moment.
[0180] S803: Determine whether the first tally task is assigned a workstation (also called a workstation); if so, canceling the first tally task is not allowed. If not, execute S804.
[0181] In some embodiments, the objects to be tallied corresponding to the first tallying task assigned to the workstation may be deleted from the objects to be tallied at the current moment.
[0182] S804, judging whether the creation time of the first tally task exceeds the preset time; if so, determining whether to cancel the first tally task whose creation time exceeds the preset time according to the system configuration information; if not, executing S805.
[0183] S805: Generate a new tally task.
[0184] S806, determining whether the first tally strategy corresponding to the first tally task is the same as the second tally strategy corresponding to the new tally task; if so, the first tally task is not allowed to be cancelled, and the first tally task and the new tally task are executed normally; if not, executing S807.
[0185] S807, determining whether the first tally strategy corresponding to the first tally task and the second tally strategy corresponding to the new tally task are in parallel; if so, executing S808; if not, not allowing the cancellation of the first tally task, and executing the first tally task and the new tally task normally.
[0186] S808. Adjust the tallying priority corresponding to the first tallying strategy and / or the second tallying strategy.
[0187] Based on the same inventive concept, the embodiment of the present application also provides a tally device for implementing the warehouse simulation method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more embodiments of the tally device provided below can refer to the limitations of the tally method above, and will not be repeated here. For example, Fig. 9 Schematic diagram of the structure of a tally device in the embodiment of the present application. Fig. 9 As shown, the device comprises:
[0188] The acquisition module 901 is used to acquire the information of items to be tallied at the current moment and the task information of the first tally task; the information of items to be tallied includes a plurality of first objects to be tallied, the generation time of the first tally task is earlier than the current moment, and the task information of the first tally task includes the tally status and / or the tally completion time of the first tally task;
[0189] Processing module 902 is used to determine the tallying time difference based on the tallying completion time of the first tallying task and the current time if the tallying status of the first tallying task is the tallying completion status; if the tallying time difference meets the preset condition, delete the tallied target object corresponding to the first tallying task from the plurality of first target objects to be tallied, and obtain the second target object to be tallied;
[0190] The generating module 903 is used to generate a second tallying task based on the second target object to be tallied.
[0191] In some embodiments, the processing module 902 is further used to determine the attenuation amount based on the attenuation function and the tally time difference; generate a random number based on a preset random number threshold, and compare the attenuation amount and the random number; the upper limit of the preset random number threshold is less than the maximum value of the attenuation amount; if the attenuation amount is greater than the random number, it is determined that the tally time difference meets the preset conditions.
[0192] In some embodiments, the attenuation function is expressed by the following formula:
[0193]
[0194] Among them, f(t) is the attenuation, e is a real number, a is a preset parameter, t is the tally time difference, and N is the preset time threshold.
[0195] In some embodiments, the processing module 902 is further used to determine the number of cancellations of tallied objects; wherein the number of cancellations of tallied objects refers to the number of times the tallied objects corresponding to the first tally task are deleted from the plurality of first objects to be tallied; if the number of cancellations of the tallied objects is greater than a preset number threshold, the step of deleting the tallied objects corresponding to the first tally task from the plurality of first objects to be tallied is not performed;
[0196] The generating module 903 is further configured to generate a third tallying task based on the plurality of first tallying objects.
[0197] In some embodiments, the method further comprises:
[0198] The generating module 903 is further configured to generate a fourth tallying task based on the plurality of first tallying objects if the attenuation is less than or equal to the random number.
[0199] In some embodiments, the task information of the first tally task includes a workstation allocation status, and the processing module 902 is further used to, if the tally status of the first tally task is an uncompleted tally status, determine the creation duration of the first tally task based on the generation time of the first tally task when the workstation allocation status of the first tally task is an unallocated workstation; if the creation duration of the first tally task is greater than or equal to the first preset duration, cancel the first tally task;
[0200] The generating module 903 is further configured to generate a fifth tallying task based on the plurality of first objects to be tallied.
[0201] In some embodiments, the generating module 903 is further used to generate a sixth tallying task based on multiple first tallying targets if the tallying status of the first tallying task is an incomplete tallying status and the workstation allocation status of the first tallying task is an allocated workstation, or the tallying status of the first tallying task is an incomplete tallying status and the workstation allocation status of the first tallying task is an unallocated workstation and the creation duration of the first tallying task is less than the first preset duration.
[0202] In some embodiments, the acquisition module 901 is further used to acquire a first tally strategy corresponding to the first tally task and a second tally strategy corresponding to the sixth tally task; the first tally strategy is used to indicate the tally order of the first tally task, and the second tally strategy is used to indicate the tally order of most second tally tasks;
[0203] The processing module 902 is further configured to adjust the first tally strategy and / or the second tally strategy if the first tally strategy is different from the second tally strategy and the first tally strategy and the second tally strategy are implemented in parallel.
[0204] In some embodiments, the processing module 902 is further configured to invert the tally priority of the first tally strategy and / or invert the second tally strategy.
[0205] In some embodiments, the processing module 902 is further configured to determine each first target object to be tallied from the target objects other than the multiple target objects to be tallied corresponding to the first tallying task based on the tallying strategy at the current moment.
[0206] In some embodiments, the processing module 902 is further used to execute the first tallying task and the sixth tallying task; when the objects to be tallied corresponding to the sixth tallying task and the objects to be tallied corresponding to the first tallying task both include the third object to be tallied, if the priority of the second tallying strategy is higher than the priority of the first tallying strategy, the third object to be tallied is tallied according to the second tallying strategy, and the third object to be tallied is deleted from the objects to be tallied corresponding to the first tallying task.
[0207] Regarding the specific limitations of the tallying device and the beneficial effects that can be achieved, please refer to the limitations of the warehouse simulation method above, which will not be repeated here.
[0208] like Fig.10As shown, it is a schematic diagram of the internal structure of a robot provided in this embodiment. The robot includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the robot is used to provide computing and control capabilities. The memory of the robot includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the robot is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a warehouse simulation method is implemented. The display screen of the robot can be a liquid crystal display screen or an electric first ink display screen, and the input device of the robot can be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the robot shell, or an external keyboard, touchpad or mouse, etc.
[0209] like Fig.11 As shown, it is a schematic diagram of the internal structure of an electronic device provided in this embodiment. The electronic device can be a server. The electronic device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the electronic device is used to store height parameter quantities and three-dimensional map quantity data. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a warehouse simulation method is implemented.
[0210] Those skilled in the art will understand that Fig.10 and Fig.11 The structure shown in the figure is merely a block diagram of a partial structure related to the present application scheme, and does not constitute a limitation on the robot and electronic device to which the present application scheme is applied. The specific robot and electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0211] In a specific implementation, an embodiment of the present application provides an electronic device, including a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the steps of the method in any of the above embodiments are implemented.
[0212] In a specific implementation, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method in any of the above embodiments are implemented.
[0213] In a specific implementation, an embodiment of the present application provides a computer program product, including a computer program, which implements the steps of the method in any of the above embodiments when executed by a processor.
[0214] In a specific implementation, an embodiment of the present application provides a computer program, which, when executed by a processor, implements the steps of the method in any of the above embodiments.
[0215] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and quantitative data (including but not limited to quantitative data for analysis, quantitative data for storage, quantitative data for display, etc.) involved in this application are all information and quantitative data authorized by the user or fully authorized by all parties. A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing related hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it may include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The quantity database involved in each embodiment provided in this application may include at least one of a relational quantity database and a non-relational quantity database. The non-relational quantity database may include a distributed quantity database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on the first calculation, etc., but is not limited thereto.
[0216] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0217] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A tally method, characterized in that: The method comprises: Acquire the information of items to be tallied at the current moment and the task information of the first tally task; the information of items to be tallied includes a plurality of first objects to be tallied, the generation time of the first tally task is earlier than the current moment, and the task information of the first tally task includes the tally status and / or the tally completion time of the first tally task; If the tallying status of the first tallying task is the tallying completion status, determining the tallying time difference based on the tallying completion time of the first tallying task and the current time; determining a decay amount based on the decay function and the tally time difference; Generate a random number based on a preset random number threshold, and compare the attenuation amount and the random number; the upper limit of the preset random number threshold is less than the maximum value of the attenuation amount; the attenuation amount when the tally time difference is less than the preset time threshold is greater than the random number; If the attenuation is greater than the random number, it is determined that the tally time difference meets a preset condition; When the tallying time difference satisfies a preset condition, deleting the tallied objects corresponding to the first tallying task from the plurality of first objects to be tallied, to obtain second objects to be tallied; A second tallying task is generated based on the second target object to be tallied.
2. The method according to claim 1, characterized in that: The attenuation function is expressed by the following formula: ; Wherein, f(t) is the attenuation, e is a real number, a is a preset parameter, t is the tally time difference, and N is a preset time threshold.
3. The method according to claim 1, characterized in that The method further comprises: Determine the number of times the tallied objects have been cancelled; wherein the number of times the tallied objects have been cancelled refers to the number of times the tallied objects corresponding to the first tallying task are deleted from the plurality of first objects to be tallied; If the number of cancellations of the tallied objects is greater than a preset number threshold, the step of deleting the tallied objects corresponding to the first tallying task from the plurality of first objects to be tallied is not performed, and a third tallying task is generated based on the plurality of first objects to be tallied.
4. The method according to claim 1, characterized in that: The method further comprises: If the attenuation is less than or equal to the random number, a fourth tallying task is generated based on the plurality of first tallying objects.
5. The method according to claim 1, characterized in that The task information of the first tally task includes a workstation allocation status, and the method further includes: If the tallying status of the first tallying task is an unfinished tallying status, then when the workstation allocation status of the first tallying task is an unallocated workstation, determining the creation duration of the first tallying task based on the generation time of the first tallying task; If the creation time of the first tally task is greater than or equal to the first preset time, the first tally task is canceled, and a fifth tally task is generated based on the plurality of first objects to be tallied.
6. The method according to claim 5, characterized in that The method further comprises: If the tallying status of the first tallying task is an incomplete tallying status and the workstation allocation status of the first tallying task is an allocated workstation, or the tallying status of the first tallying task is an incomplete tallying status and the workstation allocation status of the first tallying task is an unallocated workstation and the creation duration of the first tallying task is less than the first preset duration, a sixth tallying task is generated based on the multiple first objects to be tallied.
7. The method according to claim 6, characterized in that The method further comprises: Acquire a first tally strategy corresponding to the first tally task and a second tally strategy corresponding to the sixth tally task; the first tally strategy is used to indicate the tally order of the first tally task, and the second tally strategy is used to indicate the tally order of the majority of the second tally tasks; If the first tally strategy is different from the second tally strategy, and the first tally strategy and the second tally strategy are implemented in parallel, the first tally strategy and / or the second tally strategy are adjusted.
8. The method according to claim 7, characterized in that The adjusting the first tally strategy and / or the second tally strategy includes: The tally priority of the first tally strategy is inverted, and / or the second tally strategy is inverted.
9. The method according to any one of claims 1 to 8, characterized in that: Acquiring the plurality of first objects to be tallied at the current moment includes: The first tally objects to be tallied are determined from the objects other than the plurality of tally objects to be tallied corresponding to the first tally task based on the tally strategy at the current moment.
10. The method according to claim 7, characterized in that The method further comprises: Executing the first tally task and the sixth tally task; When the objects to be tallied corresponding to the sixth tallying task and the objects to be tallied corresponding to the first tallying task both include a third object to be tallied, if the priority of the second tallying strategy is higher than the priority of the first tallying strategy, the third object to be tallied is tallied according to the second tallying strategy, and the third object to be tallied is deleted from the objects to be tallied corresponding to the first tallying task.
11. A cargo tallying device, characterized in that: include: An acquisition module, used to acquire the current tally information and the task information of the first tally task; The to-be-tallyed information includes a plurality of first to-be-tallyed objects, the generation time of the first tally task is earlier than the current moment, and the task information of the first tally task includes the tally status and / or the tally completion time of the first tally task; A processing module for determining an attenuation amount based on the attenuation function and the tally time difference; Generate a random number based on a preset random number threshold, and compare the attenuation amount with the random number; The upper limit of the preset random number threshold is less than the maximum value of the attenuation; when the tally time difference is less than the preset time threshold, the attenuation is greater than the random number; if the attenuation is greater than the random number, it is determined that the tally time difference meets the preset condition; When the tallying status of the first tallying task is the tallying completion status, determining the tallying time difference based on the tallying completion time of the first tallying task and the current time; If the tallying time difference satisfies a preset condition, deleting the tallied objects corresponding to the first tallying task from the plurality of first objects to be tallied, to obtain second objects to be tallied; A generating module is used to generate a second tallying task based on the second target object to be tallied.
12. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of the method according to any one of claims 1 to 10 when executing the computer program.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.
14. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 10.
