Method and device for preventing shelf from tipping over

By automatically judging the symmetry of the weight distribution of goods on the shelf and pushing reminder information to adjust the position of the goods, the problem of inaccurate shelf tipping assessment is solved and safety is improved.

CN111768140BActive Publication Date: 2024-10-22BEIJING JINGDONG QIANSHITECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910641353.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-07-16
Publication Date
2024-10-22
Estimated Expiration
2039-07-16

AI Technical Summary

Technical Problem

Existing technology cannot accurately assess whether the shelves will tip over, causing the shelves to sway during robot handling, threatening the safety of goods and personnel.

Method used

By obtaining the cargo information and cargo compartment information on the shelf, it can automatically determine whether the weight distribution of the goods on the shelf is symmetrical. If it is asymmetrical, a reminder message will be pushed to indicate the need to tally the goods to adjust the position of the goods to prevent tipping.

Benefits of technology

It improves the accuracy of shelf tipping assessment, ensures the safety of shelves, robots and workers, and avoids safety risks caused by shelf tipping.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111768140B_ABST
    Figure CN111768140B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a method and device for preventing a shelf from tipping over. During the process of entering and leaving the warehouse, the server obtains the cargo information and the cargo compartment information of the cargo being operated, and determines whether the weight distribution of the cargo on the shelf is symmetrical based on the cargo information and the cargo compartment information. When the weight distribution of the cargo on the shelf is asymmetrical, a reminder message is pushed to prompt that the weight distribution of the cargo on the shelf is asymmetrical. In this process, by automatically judging whether the shelf will tip over, the accuracy of assessing the tipping of the shelf is improved, and the safety of the shelf, the robot and the staff is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of warehousing technology, and in particular to a method and device for preventing a shelf from tipping over. Background Art

[0002] At present, the logistics and warehousing industries are booming, and many logistics centers have introduced robotic picking systems. The robotic picking system uses mobile robots to transport shelves, allowing the shelves to move freely in the warehouse and run to the workstation to perform outbound or inbound operations on the goods, thereby transforming the traditional "people to goods" model into a "goods to people" model.

[0003] During the process of goods being shipped out or put in, the inventory structure of goods on the shelves will change. When the mobile robot is moving the shelves, it needs to avoid other robots, shelves, etc., which causes the mobile robot to frequently switch between the "moving" and "stopping" states, resulting in acceleration or deceleration. During the acceleration or deceleration of the mobile robot, if the goods on the shelves being transported are uneven and the center of gravity of the shelves is unstable, the shelves are prone to swaying, causing the shelves to topple over, threatening the safety of the goods, shelves, and even the staff. To avoid this phenomenon, after each shipment or storage operation of the goods on the shelves, the staff will evaluate the shelves to assess whether the shelves will topple over. If the shelves are likely to topple over, the goods on the shelves will be manually adjusted.

[0004] In the above-mentioned method of preventing the shelf from tipping over, the shelf is evaluated manually. Obviously, the manual evaluation method cannot accurately evaluate whether the shelf will tip over, and cannot prevent the shelf from tipping over. Summary of the invention

[0005] The embodiments of the present invention provide a method and device for preventing a shelf from tipping over, which automatically determines whether a shelf will tip over, thereby improving the accuracy of assessing the tipping over of the shelf and ensuring the safety of the shelf, the robot and the staff.

[0006] In a first aspect, an embodiment of the present invention provides a method for preventing a shelf from tipping over, the method being applied to a shelf on which a plurality of goods are arranged, the method comprising:

[0007] Obtaining scanning information, the scanning information carrying cargo information of the operated cargo on the shelf and cargo compartment information corresponding to the operated cargo, the operated cargo including outbound cargo and / or inbound cargo;

[0008] Determining whether the weight distribution of the goods on the shelf is symmetrical according to the goods information and the shelf information;

[0009] If the weight distribution of the goods on the shelf is asymmetrical, a reminder message is pushed, where the reminder message is used to indicate that the weight distribution of the goods on the shelf is asymmetrical.

[0010] In a feasible design, determining whether the weight distribution of the goods on the shelf is symmetrical according to the goods information and the shelf information includes:

[0011] According to the cargo information and the cargo compartment information, a first weight difference is obtained, where the first weight difference is a difference between the weight of the cargo in the cargo compartment on the first side of the shelf and the weight of the cargo in the cargo compartment on the second side of the shelf;

[0012] If the first weight difference is greater than a first threshold, it is determined that the weight distribution of the goods on the shelf is asymmetric; if the first weight difference is less than or equal to the first threshold, it is determined that the weight distribution of the goods on the shelf is symmetric.

[0013] In a feasible design, the method further includes:

[0014] If the weight distribution of the goods on the shelf is asymmetrical, first tally information is determined according to a first constraint condition, wherein the first tally information includes an identification of the goods to be removed from the shelf and an identification of the cargo compartment where the goods to be removed from the shelf are located, and the first constraint condition includes at least one of the following:

[0015] The weight of the goods to be removed from the shelf is greater than or equal to the difference between the first weight difference and a first preset value, wherein the first preset value is the maximum value of the difference between the weight of the goods on the first surface and the weight of the goods on the second surface when the weight distribution of the goods on the shelf is symmetrical;

[0016] The weight of the goods to be removed from the shelves is less than or equal to the sum of the first weight difference and the first preset value;

[0017] After the goods to be taken off the shelf are taken off the shelf, the difference between the weight of the goods in the upper cargo compartment of the shelf and the weight of the goods in the lower cargo compartment of the shelf is greater than or equal to the difference between the second weight difference and the second preset value, the second weight difference is the difference between the weight of the goods in the upper cargo compartment of the shelf and the weight of the goods in the lower cargo compartment of the shelf before the goods to be taken off the shelf are taken off the shelf, and the second preset value is the maximum value of the difference between the weight of the goods in the upper cargo compartment of the shelf and the weight of the goods in the lower cargo compartment of the shelf when the weight distribution of the goods on the shelf is symmetrical.

[0018] In a feasible design, the method further includes:

[0019] If the weight distribution of the goods on the shelf is asymmetrical, the goods in the cargo cells on the first surface are sorted according to the number of layers of the cargo cells where the goods are located and the weight of the goods to obtain a first order;

[0020] According to the first sequence, first tally information is determined, the first tally information including identifications of goods to be taken off the shelves and identifications of the cargo compartments where the goods to be taken off the shelves are located, the goods to be taken off the shelves including X kinds of goods ranked high in the first sequence as the goods to be taken off the shelves, where X≥1 and is an integer.

[0021] In a feasible design, the last cargo of the X types of cargo is multiple pieces, and after determining the first tally information according to the first sequence, the method further includes:

[0022] Determine whether, after all of the X types of goods are removed from the shelves, a difference between the weight of the goods in the cargo compartment on the first side of the shelf and the weight of the goods in the cargo compartment on the second side of the shelf is less than a first preset value;

[0023] If, after all of the X types of goods are removed from the shelves, the difference between the weight of the goods in the cargo compartment on the first side of the shelf and the weight of the goods in the cargo compartment on the second side of the shelf is less than a first preset value, it is determined that the last of the X types of goods is completely removed from the shelves.

[0024] In a feasible design, the above method further includes:

[0025] If, after all of the X types of goods are taken off the shelves, the difference between the weight of the goods in the cargo compartments on the first side of the shelf and the weight of the goods in the cargo compartments on the second side of the shelf is greater than or equal to a first preset value, then the number of pieces of the last of the X types of goods to be taken off the shelves is determined, and the number of pieces is equal to the difference and the unit weight rounded down.

[0026] In a feasible design, determining whether the weight distribution of the goods on the shelf is symmetrical according to the goods information and the shelf information includes:

[0027] According to the cargo information and the cargo compartment information, a second weight difference is obtained, where the second weight difference is the difference between the weight of the cargo in the upper cargo compartment of the shelf and the weight of the cargo in the lower cargo compartment of the shelf;

[0028] If the second weight difference is greater than a second threshold, it is determined that the weight distribution of the goods on the shelf is asymmetric; if the second weight difference is less than or equal to the second threshold, it is determined that the weight distribution of the goods on the shelf is symmetric.

[0029] In a feasible design, the method further includes:

[0030] If the weight distribution of the goods on the shelf is asymmetrical, the second tally information is determined according to the second constraint condition, the second tally information including the identification of the goods to be moved, the identification of the cargo compartment where the goods to be moved are located, and the identification of the destination cargo compartment, and the second constraint condition includes at least one of the following:

[0031] twice the weight of the goods to be moved is greater than or equal to a value obtained by subtracting a second preset constant from the second weight difference, the second preset value being the maximum value of the difference between the weight of the goods in the upper compartment of the shelf and the weight of the goods in the lower compartment of the shelf when the weight distribution of the goods on the shelf is symmetrical;

[0032] After tallying, the volume of the cargo in the lower cargo compartment is smaller than the maximum volume of the lower cargo compartment.

[0033] In a second aspect, an embodiment of the present invention provides a device for preventing a shelf from tipping over, comprising:

[0034] An acquisition module is used to acquire scanning information, wherein the scanning information carries cargo information of the operated cargo on the shelf and cargo compartment information corresponding to the operated cargo, wherein the operated cargo includes outbound cargo and / or inbound cargo, and the shelf is provided with multiple cargo compartments;

[0035] A first determination module, used to determine whether the weight distribution of the goods on the shelf is symmetrical according to the goods information and the shelf information;

[0036] The push module is used to push reminder information if the weight distribution of the goods on the shelf is asymmetric, and the reminder information is used to indicate that the weight distribution of the goods on the shelf is asymmetric.

[0037] In a feasible design, the first determination module is used to obtain a first weight difference based on the cargo information and the cargo compartment information, where the first weight difference is the difference between the weight of the cargo in the cargo compartment on the first side of the shelf and the weight of the cargo in the cargo compartment on the second side of the shelf; if the first weight difference is greater than a first threshold, it is determined that the weight distribution of the cargo on the shelf is asymmetric; if the first weight difference is less than or equal to the first threshold, it is determined that the weight distribution of the cargo on the shelf is symmetric.

[0038] In a feasible design, the device further includes:

[0039] The second determining module is configured to determine first tally information according to a first constraint condition if the weight distribution of the goods on the shelf is asymmetrical, wherein the first tally information includes an identification of the goods to be removed from the shelf and an identification of the cargo compartment where the goods to be removed from the shelf are located, and the first constraint condition includes at least one of the following:

[0040] The weight of the goods to be removed from the shelf is greater than or equal to the difference between the first weight difference and a first preset value, wherein the first preset value is the maximum value of the difference between the weight of the goods on the first surface and the weight of the goods on the second surface when the weight distribution of the goods on the shelf is symmetrical;

[0041] The weight of the goods to be removed from the shelves is less than or equal to the sum of the first weight difference and the first preset value;

[0042] After the goods to be taken off the shelf are taken off the shelf, the difference between the weight of the goods in the upper cargo compartment of the shelf and the weight of the goods in the lower cargo compartment of the shelf is greater than or equal to the difference between the second weight difference and the second preset value, the second weight difference is the difference between the weight of the goods in the upper cargo compartment of the shelf and the weight of the goods in the lower cargo compartment of the shelf before the goods to be taken off the shelf are taken off the shelf, and the second preset value is the maximum value of the difference between the weight of the goods in the upper cargo compartment of the shelf and the weight of the goods in the lower cargo compartment of the shelf when the weight distribution of the goods on the shelf is symmetrical.

[0043] In a feasible design, the device further includes:

[0044] The third determining module is used for, if the weight distribution of the goods on the shelf is asymmetrical, sorting the goods in the cargo compartments on the first surface according to the number of layers of the cargo compartments where the goods are located and the quality of the goods to obtain a first sequence; determining first tallying information according to the first sequence, the first tallying information including identifications of the goods to be taken off the shelf and identifications of the cargo compartments where the goods to be taken off the shelf are located, and the goods to be taken off the shelf include X types of goods ranked high in the first sequence as the goods to be taken off the shelf, where X≥1 and is an integer.

[0045] In a feasible design, the last item of the X types of goods is multiple pieces, and the device further includes:

[0046] a processing module, configured to determine, after the third determining module determines the first tally information according to the first sequence, whether a difference between the weight of the goods in the cargo cells on the first side of the shelf and the weight of the goods in the cargo cells on the second side of the shelf after all the goods in the X types of goods are removed from the shelf is less than a first preset value; if a difference between the weight of the goods in the cargo cells on the first side of the shelf and the weight of the goods in the cargo cells on the second side of the shelf after all the goods in the X types of goods are removed from the shelf is less than the first preset value, then determining that the last goods in the X types of goods are all removed from the shelf.

[0047] In a feasible design, the processing module is also used to determine the number of pieces of the last one of the X kinds of goods to be taken off the shelf if, after each of the X kinds of goods is taken off the shelf, the difference between the weight of the goods in the cargo compartment on the first side of the shelf and the weight of the goods in the cargo compartment on the second side of the shelf is greater than or equal to a first preset value, and the number of pieces is equal to the bottom-up value of the difference and the unit weight.

[0048] In a feasible design, the first determination module is used to obtain a second weight difference based on the cargo information and the cargo compartment information, where the second weight difference is the difference between the weight of the cargo in the upper cargo compartment of the shelf and the weight of the cargo in the lower cargo compartment of the shelf; if the second weight difference is greater than a second threshold, it is determined that the weight distribution of the cargo on the shelf is asymmetric; if the second weight difference is less than or equal to the second threshold, it is determined that the weight distribution of the cargo on the shelf is symmetric.

[0049] In a feasible design, the device further includes:

[0050] The fourth determining module is used to determine the second tally information according to the second constraint condition if the weight distribution of the goods on the shelf is asymmetrical, wherein the second tally information includes the identification of the goods to be moved, the identification of the cargo compartment where the goods to be moved are located, and the identification of the destination cargo compartment, and the second constraint condition includes at least one of the following:

[0051] twice the weight of the goods to be moved is greater than or equal to a value obtained by subtracting a second preset constant from the second weight difference, the second preset value being the maximum value of the difference between the weight of the goods in the upper compartment of the shelf and the weight of the goods in the lower compartment of the shelf when the weight distribution of the goods on the shelf is symmetrical;

[0052] After tallying, the volume of the cargo in the lower cargo compartment is smaller than the maximum volume of the lower cargo compartment.

[0053] In a third aspect, an embodiment of the present invention provides a device for preventing shelves from tipping over, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method described in the first aspect or various feasible implementation methods of the first aspect is implemented.

[0054] In a fourth aspect, an embodiment of the present invention provides a storage medium, wherein instructions are stored in the storage medium, and when the storage medium is run on a server, the server executes the method described in the first aspect or various feasible implementations of the first aspect.

[0055] In a fifth aspect, an embodiment of the present invention provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute the method described in the first aspect or various feasible implementations of the first aspect.

[0056] In the method and device for preventing shelf tipping provided by the embodiment of the present invention, during the process of entering and leaving the warehouse, the server obtains the cargo information and the cargo compartment information of the cargo being operated, and determines whether the weight distribution of the cargo on the shelf is symmetrical based on the cargo information and the cargo compartment information. When the weight distribution of the cargo on the shelf is asymmetrical, a reminder message is pushed to prompt that the weight distribution of the cargo on the shelf is asymmetrical. In this process, by automatically judging whether the shelf will tip over, the accuracy of assessing the tipping of the shelf is improved, and the safety of the shelf, the robot and the staff is ensured. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0058] Figure 1A is a schematic diagram of a shelf applicable to the method for preventing the shelf from tipping over according to an embodiment of the present invention;

[0059] Figure 1B is a schematic diagram of another shelf to which the method for preventing a shelf from tipping over according to an embodiment of the present invention is applicable;

[0060] Figure 2 is a schematic diagram of an example of a scenario to which the method for preventing a shelf from tipping over according to an embodiment of the present invention is applicable;

[0061] Figure 3 is a flow chart of a method for preventing a shelf from tipping over provided by an embodiment of the present invention;

[0062] Figure 4 is a flow chart of another method for preventing cargo from dumping provided by an embodiment of the present invention;

[0063] Figure 5 A schematic structural diagram of a device for preventing a shelf from tipping over provided by an embodiment of the present invention;

[0064] Figure 6 A schematic structural diagram of another device for preventing a shelf from tipping over provided by an embodiment of the present invention;

[0065] Figure 7 A schematic structural diagram of another device for preventing a shelf from tipping over provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0066] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0067] In the goods-to-person mode, when the mobile robot is moving the shelf, since the shelf and the robot are not integrated, the robot accelerates or decelerates when switching between the "moving" and "stopping" states. If the goods on the shelf being moved are uneven and the center of gravity of the shelf is unstable, the shelf is prone to swaying, causing the shelf to topple over, threatening the safety of the goods, the shelf, and even the staff. To avoid this phenomenon, after each outbound or inbound operation of the goods on the shelf, the staff will evaluate the shelf to assess whether the shelf will topple over. If the shelf is likely to topple over, the goods on the shelf will be manually adjusted. Obviously, the manual evaluation method cannot accurately assess whether the shelf will topple over, and cannot prevent the shelf from toppling over.

[0068] In view of this, an embodiment of the present invention provides a method and device for preventing shelf tipping, which automatically determines whether a shelf will tip over, thereby improving the accuracy of assessing shelf tipping and ensuring the safety of the shelf, robot and staff.

[0069] Figure 1A Schematic diagram of a shelf applicable to the method for preventing the shelf from tipping over according to an embodiment of the present invention. Figure 1A A shelf includes two sides, front and back, hereinafter referred to as the first side and the second side. Each side is divided into multiple layers, each layer has multiple cargo compartments, and each cargo compartment can store one or more types of goods. In the process of continuous outbound and inbound storage of goods, the inventory structure of the goods on the shelf will change, resulting in asymmetric weight distribution of the goods on the shelf. This asymmetry causes the center of gravity of the shelf to be unstable, which in turn causes the shelf to tip over during the robot's transportation of the shelf. Among them, the asymmetric weight distribution of the goods on the shelf includes: the difference between the weight of the goods in the cargo compartment on the first side and the weight of the goods in the cargo compartment on the second side exceeds a first threshold, and / or the difference between the weight of the goods in the upper cargo compartment and the weight of the goods in the lower cargo compartment exceeds a second threshold.

[0070] Figure 1B Schematic diagram of another shelf applicable to the method for preventing shelf tipping described in an embodiment of the present invention. Figure 1B, a shelf includes multiple layers, each layer has multiple cargo compartments, each cargo compartment can store one or several kinds of goods, and these cargo compartments are divided into upper cargo compartments and lower cargo compartments. For example, a shelf has 5 layers, from bottom to top, they are the 1st layer, the 2nd layer, the 3rd layer, the 4th layer and the 5th layer, then the 1st layer and the 2nd layer are the lower cargo compartments, and the rest are the upper cargo compartments; or, the 1st layer, the 2nd layer and the 3rd layer are the lower cargo compartments, and the rest are the upper cargo compartments; for another example, a shelf has 4 layers, from bottom to top, they are the 1st layer, the 2nd layer, the 3rd layer and the 4th layer, then the 1st layer and the 2nd layer are the lower cargo compartments, and the 3rd layer and the 4th layer are the upper cargo compartments. In the embodiment of the present invention, it is possible to flexibly set a certain layer to be the upper layer or the lower layer. In the process of continuous outbound and inbound storage of goods, the inventory structure of the goods on the shelf will change, resulting in asymmetric weight distribution of the goods on the shelf, which causes the center of gravity of the shelf to be unstable, and then causes the shelf to tip over during the robot's transportation of the shelf. The asymmetric weight distribution of goods on the shelf includes: the difference between the weight of goods in the upper cargo compartment and the weight of goods in the lower cargo compartment exceeds a second threshold. It should be noted that the cargo compartment is not shown in the figure.

[0071] Figure 2 : This is a schematic diagram of an example of a scenario applicable to the method for preventing shelf tipping described in an embodiment of the present invention. The scenario includes: a first electronic device, a server, and a second electronic device. The server establishes a network connection with both the first electronic device and the second electronic device. The first electronic device may be an electronic device of a storage workbench, and the second electronic device may be an electronic device of a tally workbench. The server stores the category, weight, identification, number of pieces, etc. of the goods in each cargo compartment of each layer on each surface of a shelf before tallying. During the storage process, the mobile robot transports the shelf to the storage workbench, and the staff performs operations such as storage and storage. During the operation, the barcode gun connected to the first electronic device is used to scan the operated goods, so that the goods information of the operated goods and the cargo compartment information of the operated goods are sent to the server. The server determines whether the weight distribution of the goods on the shelf is symmetrical based on the goods information, cargo compartment information of the operated goods, and the information of the goods in each cargo compartment on the shelf stored in advance. If the weight distribution of the goods on the shelf is asymmetrical, the server sends a reminder message to the second electronic device to remind the pickup workstation that the shelf needs to be tallied. In addition to pushing reminder information, the server can also determine which goods in which cargo compartment on which layer need to be processed.

[0072] It should be noted that although the above scenario includes a first electronic device, a second electronic device, and a server, the embodiments of the present invention are not limited thereto. For example, the above scenario includes only one electronic device, but does not include a server. In this case, the electronic device is required to pre-store the category, weight, identification, number of pieces, etc. of the goods in each cargo compartment of each layer on each surface of a shelf. For another example, the above scenario includes only the first electronic device and a service, but does not include the second electronic device. In this case, the first electronic device can be used as an electronic device for the in-and-out workbench, or as an electronic device for the tally workbench.

[0073] Below, Figure 1A The shelf shown is taken as an example, based on the above Figure 2 The method for preventing the shelf from tipping over shown in the embodiment of the present invention is described in detail in the scenario shown. For example, see Figure 3 .

[0074] Figure 3 : is a flow chart of a method for preventing a shelf from tipping over provided by an embodiment of the present invention. This embodiment describes the method for preventing a shelf from tipping over from the perspective of a server. This embodiment includes:

[0075] 101. Obtain scanning information, where the scanning information carries cargo information of the cargo being operated on the shelf and cargo compartment information corresponding to the cargo being operated, where the cargo being operated includes outbound cargo and / or inbound cargo.

[0076] Exemplarily, when the operated goods are goods entering storage, during the warehousing process, a barcode gun connected to the first electronic device scans the goods and the cargo compartment, places the goods in the cargo compartment, and sends the scanning information to the server, so that the server obtains the goods information carrying the operated goods and the cargo compartment information corresponding to the operated goods. The goods information includes the weight and category of the goods, and the cargo compartment information includes the identification of the shelf where the cargo compartment is located, the identification of the layer, and the cargo compartment identification, etc.

[0077] When the goods being operated are outbound goods, during the outbound process, a barcode gun connected to the first electronic device scans the goods and the cargo compartment, moves the goods out of the cargo compartment, and sends the scan information to the server, so that the server obtains the goods information and the cargo compartment information.

[0078] 102. Determine whether the weight distribution of the goods on the shelf is symmetrical based on the goods information and the shelf information. If the weight distribution of the goods on the shelf is asymmetrical, execute step 103; if the weight distribution of the goods on the shelf is symmetrical, execute step 104.

[0079] For example, when no goods are placed on the shelf, the center of gravity of the shelf is stable, and there is no asymmetric distribution of the weight of the goods on the shelf. In the process of continuous outbound and / or inbound storage of goods, there may be a large number of goods outbound or inbound in a certain surface, a certain layer, or a certain cargo compartment, resulting in an asymmetric distribution of the weight of the goods on the shelf, that is, the weight of the shelf is unstable. Therefore, during the outbound and / or inbound process, or after the outbound and / or inbound process is completed, the server determines whether the weight distribution of the goods on the shelf is symmetrical based on the scanning information and the information of the goods on the shelf before outbound and inbound storage. If it is symmetrical, step 103 is executed; if the weight distribution of the goods on the shelf is asymmetric, step 104 is executed.

[0080] 103. Push reminder information, where the reminder information is used to indicate that the weight distribution of the goods on the shelf is asymmetric.

[0081] When the server determines that the weight distribution of the goods on the shelf is asymmetrical based on the scanning information, it believes that the center of gravity of the shelf is unstable and may tip over. Therefore, the server pushes a reminder message to the second electronic device to indicate that the weight distribution of the goods on the shelf is asymmetrical.

[0082] 104. Instruct the transport robot to move the shelf to the warehouse.

[0083] For example, when the server determines that the weight distribution of the goods on the shelf is symmetrical based on the scanning information, it is considered that the weight of the shelf is relatively stable and generally will not fall over. At this time, the server sends an instruction to the robot that moves the shelf, so that the robot moves the shelf to the warehouse.

[0084] In the method for preventing the shelf from tipping over provided by the embodiment of the present invention, during the process of entering and leaving the warehouse, the server obtains the cargo information and the cargo compartment information of the cargo being operated, and determines whether the weight distribution of the cargo on the shelf is symmetrical based on the cargo information and the cargo compartment information. When the weight distribution of the cargo on the shelf is asymmetrical, a reminder message is pushed to prompt that the weight distribution of the cargo on the shelf is asymmetrical. In this process, by automatically judging whether the shelf will tip over, the accuracy of assessing the tipping of the shelf is improved, and the safety of the shelf, the robot and the staff is ensured.

[0085] In the above embodiment, the weight distribution of goods on the shelf is asymmetrical, which can be divided into three situations: the first situation, the difference between the weight of goods in the cargo compartment on the first side of the shelf and the weight of goods in the cargo compartment on the second side of the shelf exceeds the first threshold; the second situation: the difference between the weight of goods in the upper cargo compartment of the shelf and the weight of goods in the lower cargo compartment of the shelf exceeds the second threshold; the third situation: the first situation and the second situation occur at the same time. The first situation and the second situation are described in detail below.

[0086] First, the first case.

[0087] In a feasible design, when the server determines whether the weight distribution of the goods on the shelf is symmetrical based on the goods information and the cargo compartment information, the server obtains a first weight difference based on the goods information and the cargo compartment information. The first weight difference is the difference between the weight of the goods in the cargo compartment on the first side of the shelf and the weight of the goods in the cargo compartment on the second side of the shelf. If the first weight difference is greater than a first threshold, it is determined that the weight distribution of the goods on the shelf is asymmetrical. If the first weight difference is less than or equal to the first threshold, it is determined that the weight distribution of the goods on the shelf is symmetrical.

[0088] For example, a first threshold value may be preset, such as 60 kg, that is, if the weight difference of the goods on the two sides of a shelf, i.e., the first weight difference, exceeds 60 kg, a reminder message is pushed to remind the staff that the shelf must be sorted. The first threshold value may be flexibly set according to the size of the shelf, the category of goods carried on the shelf, etc., and the embodiment of the present invention is not limited thereto.

[0089] In the embodiment of the present invention, two first thresholds may be set, and different first thresholds correspond to different push information. For example, the first threshold includes an emergency tally threshold and a recommended tally threshold. When the first weight difference exceeds the emergency tally threshold, the server pushes a reminder message of necessary tally to the staff, so as to remind the staff that they must tally the shelves; when the first weight difference exceeds the recommended tally threshold, the server pushes a reminder message of recommended tally to the staff, so as to remind the staff that the goods on the shelves are asymmetrical, but have not yet reached the level where they must be tallied.

[0090] The second situation.

[0091] In a feasible design, when the server determines whether the weight distribution of the goods on the shelf is symmetrical based on the goods information and the cargo compartment information, the server obtains a second weight difference based on the goods information and the cargo compartment information, and the second weight difference is the difference between the weight of the goods in the upper cargo compartment of the shelf and the weight of the goods in the lower cargo compartment of the shelf; if the second weight difference is greater than a second threshold, it is determined that the weight distribution of the goods on the shelf is asymmetrical; if the second weight difference is less than or equal to the second threshold, it is determined that the weight distribution of the goods on the shelf is symmetrical.

[0092] For example, a second threshold value may be preset, such as 40 kg, that is, if the weight difference between the weight of the goods in the upper compartment and the weight of the goods in the lower compartment of a shelf, i.e., the weight difference exceeds 40 kg, a reminder message is pushed to remind the staff that the shelf must be sorted. The second threshold value may be flexibly set according to the size of the shelf, the category of goods carried on the shelf, etc., and the embodiment of the present invention is not limited thereto.

[0093] In the embodiment of the present invention, two second thresholds can be set, and different second thresholds correspond to different push information. For example, the second threshold includes an emergency tally threshold and a recommended tally threshold. When the second weight difference exceeds the emergency tally threshold, the server pushes a reminder message of necessary tally to the staff, so as to remind the staff that they must tally the shelves; when the second weight difference exceeds the recommended tally threshold, the server pushes a reminder message of recommended tally to the staff, so as to remind the staff that the goods on the shelves are asymmetrical, but have not yet reached the level where they must be tallied.

[0094] In the embodiment of the present invention, when the shelf meets the first condition, it is necessary to remove part of the goods in the upper compartments with heavier goods, and when the shelf meets the second condition, it is necessary to move part of the goods in the upper compartments of the shelf to the lower compartments. During the movement process, if the lower compartments are full of goods, it is necessary to continue to remove part of the goods in the upper compartments. When the shelf meets both the first and second conditions, it is necessary to handle it according to the solution corresponding to the second condition. Therefore, in order to prevent the shelf from tipping over, it is necessary to first determine the conditions met by the shelf, and then handle them separately according to different conditions. The process is described in detail below. For example, see Figure 4 , Figure 4 Flow chart of another method for preventing cargo from dumping provided by an embodiment of the present invention. This embodiment includes:

[0095] 201. Make sure the shelf meets the first or second condition.

[0096] For example, for the first case, when emergency tally is pre-configured, the first threshold is T 1 urgency , when recommending tally, the first threshold is T 1 recommend , the first preset value T 1 , the first preset value refers to the maximum value of the difference between the weight of the goods on the first surface and the weight of the goods on the second surface when the weight distribution of the goods on the shelf is symmetrical. 1 urgency >T 1 recommend >T 1 For example, T 1urgency 、T 1 recommend 、T 1 They are 60kg, 25kg and 10kg respectively.

[0097] For the second case, when emergency tally is pre-configured, the second threshold is T 2 urgency , when recommending tally, the second threshold is T 2 recommend , the first preset value T 2 , the second preset value is the maximum value of the difference between the weight of the goods in the upper cargo compartment and the weight of the goods in the lower cargo compartment of the shelf when the weight distribution of the goods on the shelf is symmetrical. 2 urgency >T 2 recommend >T 2 For example, T 2 urgency 、T 2 recommend 、T 2 They are 40kg, 25kg and 10kg respectively.

[0098] Each time the goods on the shelf are put into storage and / or taken out of storage, the server determines the first weight difference and the second weight difference of the shelf according to the goods information of the operated goods and the cargo compartment information corresponding to the operated goods, wherein the first weight difference is recorded as △m 1 , the second weight difference is recorded as △m 2 When |△m 1 |≥T 1 recommend 、|△m 2 |<T 2 recommend When, or, when |△m 1 |≥T 1 recommend 、|△m 2 |≥T 2 recommend When |△m 2 |≥T 2 recommend 、|△m 1 |<T 1 recommend , the server marks the shelf as a shelf that meets the second condition.

[0099] When a shelf meets any of the first and second conditions above, the server sends instructions to the robot that transports the shelf, so that the robot transports the shelf to the tallying workstation. The tallying station tallies each shelf that needs to be tallied according to the priority. Among them, the priority is, for example, that the first condition takes precedence over the second condition. When multiple shelves meet the first condition at the same time, the tallying workstation can tally each shelf in the order of the first weight difference from large to small; similarly, when multiple shelves meet the second condition at the same time, the tallying workstation can tally each shelf in the order of the second weight difference from large to small. When the second weight difference of two or more shelves is equal, the tallying can be performed according to the order of arrival at the tallying workstation.

[0100] 202. Determine the tallying plan and form a virtual warehouse entry form.

[0101] Below, different mathematical models are used to explain in detail the shelf tallying solutions that meet the first and second conditions.

[0102] First, for the shelves that meet the first condition.

[0103] For example, let the mathematical model be as follows:

[0104]

[0105] In the above mathematical model, the first term represents the number of shelves involved in the removal, the second term represents the number of categories of goods removed from the shelves, and the third term represents the total volume of goods removed from the shelves. 1 is the weight value of the first item, A 2 is the weight value of the second item, A 3 is the weight value of the third item, A 1 The value range of A is [0, 1]. 2 The value range of is [0, 1], V max =∑ i∈B V i , a 3 The value range of can be [0,10]. For example, A 1 =0.8, A 2 =0.2, a3=2.

[0106] The above mathematical model is initialized as follows:

[0107] S: The category set of goods stored on one side of the shelf;

[0108] V j 、m j : The volume and weight of a single piece of cargo j, j∈S;

[0109] B: the set of all shelves on one face of the shelf;

[0110] B H , B L : High-level cargo grid collection, low-level cargo grid collection;

[0111] B j : The set of compartments on one side of the shelf that store item j, j∈S,

[0112] S i : The category set of goods stored in the cargo compartment i, i∈B,

[0113] V i : The volume of the cargo compartment i, i∈B;

[0114] q ij : The number of pieces of cargo j in cargo compartment i before tallying, j∈S i ; i∈B;

[0115] The decision variables of the above mathematical model are as follows:

[0116] x ij :x ij =1 means taking item j off shelf from shelf i, j∈S i , i∈B;

[0117] y i :y i =1 means removing at least one product from shelf i, i∈B;

[0118] z j :z j =1 means that at least one item of item j has been taken off one side of the shelf, j∈S.

[0119] The above-mentioned one side refers to the first side or the second side of the shelf.

[0120] In the embodiment of the present invention, after determining that the shelf meets the first condition, the first tally information is determined according to the first constraint condition, and the first tally information includes the identification of the goods to be removed from the shelf and the identification of the shelf where the goods to be removed from the shelf are located. Exemplary. The first constraint condition includes at least one of the following conditions:

[0121] Condition a: The weight of the goods to be taken off the shelf is greater than or equal to the difference between the first weight difference and a first preset value, wherein the first preset value is the maximum value of the difference between the weight of the goods on the first surface and the weight of the goods on the second surface when the weight distribution of the goods on the shelf is symmetrical.

[0122] Exemplarily, based on the above mathematical model, the condition a can be expressed as:

[0123]

[0124] Condition b: The weight of the goods to be removed from the shelves is less than or equal to the sum of the first weight difference and the first preset value.

[0125] Exemplarily, based on the above mathematical model, the condition b can be expressed as:

[0126]

[0127] Condition c: After the goods to be removed from the shelf are removed from the shelf, the difference between the weight of the goods in the upper compartment of the shelf and the weight of the goods in the lower compartment of the shelf is greater than or equal to the difference between the second weight difference and the second preset value, the second weight difference is the difference between the weight of the goods in the upper compartment of the shelf and the weight of the goods in the lower compartment of the shelf before the goods to be removed from the shelf are removed from the shelf, and the second preset value is the maximum value of the difference between the weight of the goods in the upper compartment of the shelf and the weight of the goods in the lower compartment of the shelf when the weight distribution of the goods on the shelf is symmetrical.

[0128] Exemplarily, based on the above mathematical model, the condition c can be expressed as:

[0129]

[0130] Condition d.

[0131] Based on condition d, ensure that x ij and i There is a constraint relationship between: if y i = 0, that is, the goods have not been removed from shelf i on the first side, then for x ij =0, that is, no goods in the shelf are removed; if y i =1, then x ij There is no constraint on the value.

[0132] Condition e.

[0133] Based on this condition e, it is guaranteed that x ij and z j There is a constraint relationship between: if z j = 0, that is, the goods j that have not been taken off the shelf that needs to be sorted (hereinafter referred to as the source shelf), then for x ij = 0, that is, no item j is removed from any shelf of the source shelf; if z j =1, then xij There is no constraint on the value.

[0134] Condition f,

[0135] Condition g.

[0136] Based on conditions f and g, ensure that x ij ,y i 、z j The value can only be 0 or 1.

[0137] In this way, according to the above mathematical model, the number of goods j removed from shelf i can be obtained. A virtual storage order is formed to perform a storage strategy for shelf recommendation. That is, after the first tally information is generated, a target shelf can be recommended for the goods indicated by the first tally information.

[0138] When the first tally information is determined based on the mathematical model, if the first tally information is not determined within a given time (time_limit), an alternative plan may be initiated. The alternative plan is described in detail below.

[0139] In a feasible design, if the weight distribution of the goods on the shelf is asymmetrical, the server sorts the goods in the cargo compartment on the first surface according to the number of layers of the cargo compartment where the goods are located and the quality of the goods to obtain a first sequence, and then determines first tally information based on the first sequence, the first tally information including the identification of the goods to be taken off the shelf and the identification of the cargo compartment where the goods to be taken off the shelf are located, and the goods to be taken off the shelf include the top X types of goods ranked in the first sequence as the goods to be taken off the shelf, where X≥1 and is an integer.

[0140] Exemplarily, the server sorts the goods on the first side of the shelf according to the number of layers and unit weight from large to small. For example, the shelves on the shelf are divided into high-level shelves and low-level shelves, and the goods in the high-level shelves are sorted from large to small according to unit weight, and the goods in the low-level shelves are sorted from large to small according to unit weight, to obtain the first order. If a kind of goods is stored in both the high-level shelves and the low-level shelves, at this time, the server compares the number of pieces of the goods in the high-level shelves and the number of pieces in the low-level shelves, and the one with the larger number of pieces prevails. Afterwards, the server determines the first sorting order according to the first order.

[0141] In the embodiment of the present invention, there may be multiple pieces of a kind of goods on the shelf. If the weight of a single piece of this kind of goods is large, when the goods to be taken off the shelf include this kind of goods, it is necessary to determine how many pieces of this kind of goods to take off the shelf. Before this kind of goods are taken off the shelf, the difference between the weight of the goods in the first side cargo grid and the weight of the goods in the second side cargo grid is large, resulting in a dumping phenomenon. After all the goods of this kind are taken off the shelf, the difference between the weight of the goods in the second side cargo grid and the weight of the goods in the first side cargo grid is large, resulting in a dumping phenomenon. The following is a detailed description of how the server determines the number of pieces of the last kind of goods to be taken off the shelf in the first order after determining the first tallying order according to the first order.

[0142] In a feasible design, the last of the X types of goods is multiple pieces. After determining the first tally information according to the first sequence, the server further determines whether the difference between the weight of the goods in the cargo cells on the first side of the shelf and the weight of the goods in the cargo cells on the second side of the shelf after all of the X types of goods are removed from the shelf is less than a first preset value; if the difference between the weight of the goods in the cargo cells on the first side of the shelf and the weight of the goods in the cargo cells on the second side of the shelf after all of the X types of goods are removed from the shelf is less than the first preset value, it is determined that the last of the X types of goods is completely removed from the shelf.

[0143] For example, continue to use the initialization parameters, and assume that after all the X types of goods are removed from the shelves, the difference between the weight of the goods in the shelves on the first side and the weight of the goods in the shelves on the second side is △m, then -T 1 <△m<T 1 At this time, the server generates a tally plan for the X types of goods, that is, generates the first tally information.

[0144] In the above embodiment, if after all of the X types of goods are taken off the shelves, the difference between the weight of the goods in the cargo compartment on the first side of the shelf and the weight of the goods in the cargo compartment on the second side of the shelf is greater than or equal to a first preset value, then the number of pieces of the last of the X types of goods taken off the shelves is determined, and the number of pieces is equal to the difference and the rounded-down value of the unit weight.

[0145] For example, if after all the X types of goods are removed from the shelves, the difference between the weight of the goods in the shelves on the first side of the shelf and the weight of the goods in the shelves on the second side of the shelf is greater than or equal to the first preset value, that is, △m<-T 1 , it means that if the last of the X types of goods is removed from the shelves, the difference between the weight of the goods in the second shelf and the weight of the goods in the first shelf will be greater than the first threshold, resulting in dumping. At this time, assuming that the weight of the last piece of goods is m s , then the number of pieces of this type of goods removed from the shelves is x,

[0146] Secondly, for shelves that meet the second situation.

[0147] Exemplarily, the processing action in this case includes two stages: the first stage: moving part of the goods in the upper shelf to the lower shelf; the second stage: if in the first stage, during the moving process, if the lower shelf is full of goods, but the weight of the goods in the upper and lower shelves of the shelf is still asymmetric, it is necessary to continue to remove part of the goods in the upper shelf. At this time, after completing the first stage, determine the category and number of goods taken from the upper shelf to the lower shelf, and update the second weight difference △m 2 Then, according to the updated △m 2 , determine the categories and number of goods to be removed from the high-level shelves, etc. The following describes the two stages in detail.

[0148] In the first stage, for example, let the mathematical model be as follows:

[0149]

[0150] In the above mathematical model, the first term represents the unsatisfied high-low-layer quality difference, the second term represents the number of upper-layer shelves involved in moving the goods in the upper-layer shelves to the goods in the lower-layer shelves, the third term represents the number of categories of goods moved from the upper-layer shelves, and the fourth term represents the total volume of goods moved from the upper-layer shelves. 0 is the weight of the first term, A 1 is the weight of the second term, A 2 is the weight of the third term, A 3 is the weight of the fourth item, A 0 The value should be much larger than A 1 , A 2 and a 3 , A 1 The value range of A is [0, 1]. 2 The value range of is [0, 1], a 3 The value range of can be [0,10]. For example, A 0 =100, A 1 =0.8, A 2 =0.2, a3=2.

[0151] The decision table of the above mathematical model is as follows:

[0152] u ij :u ij = 1 means to move the cargo j from the upper shelf i to the lower shelf, j∈S i , i∈B H ,

[0153] Condition h: twice the weight of the goods to be moved is greater than or equal to the value obtained by subtracting a second preset constant from the second weight difference, and the second preset value is the maximum value of the difference between the weight of the goods in the upper cargo compartment of the shelf and the weight of the goods in the lower cargo compartment of the shelf when the weight distribution of the goods on the shelf is symmetrical.

[0154] Exemplarily, based on the above mathematical model, the condition h can be expressed as:

[0155] Based on the condition h, it can be ensured that the weight difference between the high and low level cargo compartments after tallying, that is, the second weight difference is less than the second preset value.

[0156] Condition i: After tallying, the volume of the cargo in the lower cargo compartment is less than the maximum volume of the lower cargo compartment.

[0157] Exemplarily, based on the above mathematical model, the condition i can be expressed as:

[0158] Based on this condition i, it can be ensured that the cargo in the lower cargo compartment after tallying does not exceed the maximum volume of the lower cargo compartment, that is, the problem of the lower cargo compartment being unable to fit can be prevented.

[0159] Condition j:

[0160] Based on this condition j, it can be guaranteed that u ij and i There is a constraint relationship between: if y i = 0, that is, no goods are taken from the upper shelf i, then for u ij =0, then any goods in the shelf have not been moved to the lower shelf; if y i =1, then u ij There is no constraint on the value.

[0161] Condition k:

[0162] Based on this condition k, we can ensure that u ij and z i There is a constraint relationship between: if z j = 0, that is, the goods j that have not been moved from the upper shelves of the shelf that needs to be sorted (hereinafter referred to as the source shelf) to the lower shelves, then for u ij = 0, that is, no item j is moved from any high-level shelf of the source shelf; if z j =1, then u ij There is no constraint on the value.

[0163] Condition 1:

[0164] Condition m;

[0165] Based on the conditions l and m, ensure u ij ,y i 、z j The value can only be 0 or 1.

[0166] In this way, according to the above mathematical model, the number of goods j moved from the high-level shelf i to the low-level shelf can be obtained, and a virtual storage order entry strategy can be formed. If the weight distribution of the goods on the shelf is still asymmetric after the first stage is executed, the second stage is executed.

[0167] In the first stage, the processing process can refer to the processing of the shelf satisfying the first situation, which will not be repeated here.

[0168] Finally, the shelf satisfies both the first and second cases.

[0169] In this case, the shelf is handled in the same way as the first case, and no further details are given here.

[0170] 203. Inventory the shelves according to the virtual inventory receipt.

[0171] For example, for shelves that meet the first condition, the goods with heavier weight will be removed from the shelves according to the virtual warehouse entry form; for shelves that meet the second condition, the goods in the high-level cargo compartments will be moved to the low-level cargo compartments according to the virtual warehouse entry form.

[0172] Figure 5 The present invention provides a schematic diagram of a device for preventing a shelf from tipping over, which can be implemented in software and / or hardware. Figure 5 As shown, the device 100 for preventing a shelf from tipping over comprises:

[0173] An acquisition module 11 is used to acquire scanning information, wherein the scanning information carries cargo information of the operated cargo on the shelf and cargo compartment information corresponding to the operated cargo, wherein the operated cargo includes outbound cargo and / or inbound cargo, and the shelf is provided with multiple cargo compartments;

[0174] A first determination module 12 is used to determine whether the weight distribution of the goods on the shelf is symmetrical according to the goods information and the shelf information;

[0175] The push module 13 is used to push reminder information if the weight distribution of the goods on the shelf is asymmetric, and the reminder information is used to indicate that the weight distribution of the goods on the shelf is asymmetric.

[0176] In a feasible design, the first determination module 12 is used to obtain a first weight difference based on the cargo information and the cargo compartment information, where the first weight difference is the difference between the weight of the cargo in the cargo compartment on the first side of the shelf and the weight of the cargo in the cargo compartment on the second side of the shelf; if the first weight difference is greater than a first threshold, it is determined that the weight distribution of the cargo on the shelf is asymmetric; if the first weight difference is less than or equal to the first threshold, it is determined that the weight distribution of the cargo on the shelf is symmetric.

[0177] Figure 6 A schematic diagram of the structure of another device for preventing a shelf from tipping over provided in an embodiment of the present invention. The device for preventing a shelf from tipping over is Figure 5 On this basis, further, it also includes:

[0178] The second determining module 14 is configured to determine first tally information according to a first constraint condition if the weight distribution of the goods on the shelf is asymmetrical, wherein the first tally information includes an identification of the goods to be removed from the shelf and an identification of the shelf where the goods to be removed from the shelf are located, and the first constraint condition includes at least one of the following:

[0179] The weight of the goods to be removed from the shelf is greater than or equal to the difference between the first weight difference and a first preset value, wherein the first preset value is the maximum value of the difference between the weight of the goods on the first surface and the weight of the goods on the second surface when the weight distribution of the goods on the shelf is symmetrical;

[0180] The weight of the goods to be removed from the shelves is less than or equal to the sum of the first weight difference and the first preset value;

[0181] After the goods to be taken off the shelf are taken off the shelf, the difference between the weight of the goods in the upper cargo compartment of the shelf and the weight of the goods in the lower cargo compartment of the shelf is greater than or equal to the difference between the second weight difference and the second preset value, the second weight difference is the difference between the weight of the goods in the upper cargo compartment of the shelf and the weight of the goods in the lower cargo compartment of the shelf before the goods to be taken off the shelf are taken off the shelf, and the second preset value is the maximum value of the difference between the weight of the goods in the upper cargo compartment of the shelf and the weight of the goods in the lower cargo compartment of the shelf when the weight distribution of the goods on the shelf is symmetrical.

[0182] Please refer to Figure 6 , the device further comprises:

[0183] The third determining module 15 is used for, if the weight distribution of the goods on the shelf is asymmetrical, sorting the goods in the cargo compartments on the first surface according to the number of layers of the cargo compartments where the goods are located and the quality of the goods to obtain a first sequence; determining first tallying information according to the first sequence, the first tallying information including the identification of the goods to be taken off the shelf and the identification of the cargo compartment where the goods to be taken off the shelf are located, and the goods to be taken off the shelf include X kinds of goods ranked high in the first sequence as the goods to be taken off the shelf, where X≥1 and is an integer.

[0184] Please refer to Figure 6 , the device further comprises:

[0185] The processing module 16 is used to determine, after the third determining module 15 determines the first tally information according to the first sequence, whether the difference between the weight of the goods in the cargo cells on the first side of the shelf and the weight of the goods in the cargo cells on the second side of the shelf after all the goods in the X types of goods are removed from the shelf is less than a first preset value; if the difference between the weight of the goods in the cargo cells on the first side of the shelf and the weight of the goods in the cargo cells on the second side of the shelf after all the goods in the X types of goods are removed from the shelf is less than the first preset value, then it is determined that the last goods in the X types of goods are all removed from the shelf.

[0186] In a feasible design, the processing module 16 is further used to determine the number of pieces of the last one of the X kinds of goods to be taken off the shelf if, after each of the X kinds of goods are all taken off the shelf, the difference between the weight of the goods in the cargo compartment on the first side of the shelf and the weight of the goods in the cargo compartment on the second side of the shelf is greater than or equal to a first preset value, and the number of pieces is equal to the bottom-up value of the difference and the unit weight.

[0187] In a feasible design, the first determination module 12 is used to obtain a second weight difference based on the cargo information and the cargo compartment information, where the second weight difference is the difference between the weight of the cargo in the upper cargo compartment of the shelf and the weight of the cargo in the lower cargo compartment of the shelf; if the second weight difference is greater than a second threshold, it is determined that the weight distribution of the cargo on the shelf is asymmetric; if the second weight difference is less than or equal to the second threshold, it is determined that the weight distribution of the cargo on the shelf is symmetric.

[0188] Please refer to Figure 6 , the device further comprises:

[0189] The fourth determining module 17 is used to determine the second tally information according to the second constraint condition if the weight distribution of the goods on the shelf is asymmetric, wherein the second tally information includes the identification of the goods to be moved, the identification of the cargo compartment where the goods to be moved are located, and the identification of the destination cargo compartment, and the second constraint condition includes at least one of the following:

[0190] twice the weight of the goods to be moved is greater than or equal to a value obtained by subtracting a second preset constant from the second weight difference, the second preset value being the maximum value of the difference between the weight of the goods in the upper compartment of the shelf and the weight of the goods in the lower compartment of the shelf when the weight distribution of the goods on the shelf is symmetrical;

[0191] After tallying, the volume of the cargo in the lower cargo compartment is smaller than the maximum volume of the lower cargo compartment.

[0192] Figure 7 A schematic diagram of the structure of another device for preventing a shelf from tipping over provided by an embodiment of the present invention. Figure 7 As shown, the device 200 for preventing the shelf from tipping over comprises:

[0193] At least one processor 21 and a memory 22;

[0194] The memory 22 stores computer-executable instructions;

[0195] The at least one processor 21 executes the computer-executable instructions stored in the memory 22, so that the at least one processor 21 performs the method for preventing the shelf from tipping over as described above.

[0196] The specific implementation process of the processor 21 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

[0197] Optionally, the device 200 for preventing a shelf from tipping over further includes a communication component 23 . The processor 21 , the memory 22 and the communication component 23 may be connected via a bus 24 .

[0198] An embodiment of the present invention further provides a storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the method for preventing a shelf from tipping over as described above.

[0199] An embodiment of the present invention further provides a computer program product. When the computer program product is run on a server, the server executes the above-mentioned method for preventing shelf tipping over.

[0200] In the above embodiments, it should be understood that the described devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.

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

[0202] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each module may exist physically separately, or two or more modules may be integrated into one unit. The above-mentioned module-composed unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0203] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, and includes a number of instructions for enabling a device for preventing shelf tipping (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present invention.

[0204] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0205] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk, etc.

[0206] The bus may be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present invention is not limited to only one bus or one type of bus.

[0207] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special purpose computer.

[0208] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in a terminal or server.

[0209] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0210] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method to prevent the shelf from tipping over, It is characterized in that Applied to a shelf with multiple cargo compartments, the method includes: Obtaining scanning information, the scanning information carrying cargo information of the operated cargo on the shelf and cargo compartment information corresponding to the operated cargo, the operated cargo including outbound cargo; Obtaining a first weight difference according to the cargo information and the cargo compartment information, the first weight difference being the difference between the weight of the cargo in the cargo compartment on the first side of the shelf and the weight of the cargo in the cargo compartment on the second side of the shelf; if the first weight difference is greater than a first threshold, determining that the weight distribution of the cargo on the shelf is asymmetric; and if the first weight difference is less than or equal to the first threshold, determining that the weight distribution of the cargo on the shelf is symmetric; If the weight distribution of the goods on the shelf is asymmetrical, a reminder message is pushed, where the reminder message is used to indicate that the weight distribution of the goods on the shelf is asymmetrical; The method further comprises: If the weight distribution of the goods on the shelf is asymmetrical, first tally information is determined according to a first constraint condition, the first tally information including an identification of the goods to be removed from the shelf and an identification of the cargo compartment where the goods to be removed from the shelf are located, and the first constraint condition includes at least one of the following: the weight of the goods to be removed from the shelf is greater than or equal to the difference between the first weight difference and a first preset value, the first preset value being the maximum value of the difference between the weight of the goods on the first surface and the weight of the goods on the second surface when the weight distribution of the goods on the shelf is symmetrical; The weight of the goods to be removed from the shelves is less than or equal to the sum of the first weight difference and the first preset value; After the goods to be removed from the shelf are removed from the shelf, the difference between the weight of the goods in the upper cargo compartment of the shelf and the weight of the goods in the lower cargo compartment of the shelf is greater than or equal to the difference between the second weight difference and the second preset value, the second weight difference is the difference between the weight of the goods in the upper cargo compartment of the shelf and the weight of the goods in the lower cargo compartment of the shelf before the goods to be removed from the shelf are removed from the shelf, and the second preset value is the maximum value of the difference between the weight of the goods in the upper cargo compartment of the shelf and the weight of the goods in the lower cargo compartment of the shelf when the weight distribution of the goods on the shelf is symmetrical; The method further comprises: If the weight distribution of the goods on the shelf is asymmetrical, the goods in the cargo cells on the first surface are sorted according to the number of layers of the cargo cells where the goods are located and the weight of the goods to obtain a first order; According to the first sequence, first tally information is determined, the first tally information including identifications of goods to be taken off the shelves and identifications of the cargo compartments where the goods to be taken off the shelves are located, the goods to be taken off the shelves including X kinds of goods ranked high in the first sequence as the goods to be taken off the shelves, where X≥1 and is an integer.

2. The method according to claim 1, It is characterized in that The last one of the X types of goods contains multiple pieces. After determining the first tally information according to the first sequence, the method further includes: Determine whether, after all of the X types of goods are removed from the shelves, a difference between the weight of the goods in the cargo compartment on the first side of the shelf and the weight of the goods in the cargo compartment on the second side of the shelf is less than a first preset value; If, after all of the X types of goods are removed from the shelves, the difference between the weight of the goods in the cargo compartment on the first side of the shelf and the weight of the goods in the cargo compartment on the second side of the shelf is less than a first preset value, it is determined that the last of the X types of goods is completely removed from the shelves.

3. The method according to claim 2, It is characterized in that Also includes: If, after all of the X types of goods are taken off the shelves, the difference between the weight of the goods in the cargo compartments on the first side of the shelf and the weight of the goods in the cargo compartments on the second side of the shelf is greater than or equal to a first preset value, then the number of pieces of the last of the X types of goods to be taken off the shelves is determined, and the number of pieces is equal to the difference and the unit weight rounded down.

4. The method according to claim 1, It is characterized in that The determining, based on the cargo information and the cargo compartment information, whether the cargo weight distribution on the shelf is symmetrical includes: According to the cargo information and the cargo compartment information, a second weight difference is obtained, where the second weight difference is the difference between the weight of the cargo in the upper cargo compartment of the shelf and the weight of the cargo in the lower cargo compartment of the shelf; If the second weight difference is greater than a second threshold, it is determined that the weight distribution of the goods on the shelf is asymmetric; if the second weight difference is less than or equal to the second threshold, it is determined that the weight distribution of the goods on the shelf is symmetric.

5. The method according to claim 4, It is characterized in that Determining tally information according to the constraint conditions includes: If the weight distribution of the goods on the shelf is asymmetrical, the second tally information is determined according to the second constraint condition, the second tally information including the identification of the goods to be moved, the identification of the cargo compartment where the goods to be moved are located, and the identification of the destination cargo compartment, and the second constraint condition includes at least one of the following: twice the weight of the goods to be moved is greater than or equal to a value obtained by subtracting a second preset constant from the second weight difference, the second preset value being the maximum value of the difference between the weight of the goods in the upper compartment of the shelf and the weight of the goods in the lower compartment of the shelf when the weight distribution of the goods on the shelf is symmetrical; After tallying, the volume of the cargo in the lower cargo compartment is smaller than the maximum volume of the lower cargo compartment.

6. A device to prevent the shelf from tipping over, It is characterized in that include: An acquisition module is used to acquire scanning information, wherein the scanning information carries cargo information of the operated cargo on the shelf and cargo compartment information corresponding to the operated cargo, wherein the operated cargo includes outbound cargo, and the shelf is provided with multiple cargo compartments; A first determination module is used to obtain a first weight difference according to the cargo information and the cargo compartment information, wherein the first weight difference is a difference between the weight of the cargo in the cargo compartment on the first side of the shelf and the weight of the cargo in the cargo compartment on the second side of the shelf; if the first weight difference is greater than a first threshold, it is determined that the weight distribution of the cargo on the shelf is asymmetric; if the first weight difference is less than or equal to the first threshold, it is determined that the weight distribution of the cargo on the shelf is symmetric; A push module, used for pushing a reminder message if the weight distribution of the goods on the shelf is asymmetric, wherein the reminder message is used to indicate that the weight distribution of the goods on the shelf is asymmetric; The first determining module is further used for: If the weight distribution of the goods on the shelf is asymmetrical, first tally information is determined according to a first constraint condition, wherein the first tally information includes an identification of the goods to be removed from the shelf and an identification of the shelf where the goods to be removed from the shelf are located, and the first constraint condition includes at least one of the following: The weight of the goods to be removed from the shelf is greater than or equal to the difference between the first weight difference and a first preset value, wherein the first preset value is the maximum value of the difference between the weight of the goods on the first surface and the weight of the goods on the second surface when the weight distribution of the goods on the shelf is symmetrical; The weight of the goods to be removed from the shelves is less than or equal to the sum of the first weight difference and the first preset value; After the goods to be removed from the shelf are removed from the shelf, the difference between the weight of the goods in the upper cargo compartment of the shelf and the weight of the goods in the lower cargo compartment of the shelf is greater than or equal to the difference between the second weight difference and the second preset value, the second weight difference is the difference between the weight of the goods in the upper cargo compartment of the shelf and the weight of the goods in the lower cargo compartment of the shelf before the goods to be removed from the shelf are removed from the shelf, and the second preset value is the maximum value of the difference between the weight of the goods in the upper cargo compartment of the shelf and the weight of the goods in the lower cargo compartment of the shelf when the weight distribution of the goods on the shelf is symmetrical; The device also includes a third determining module: The third determination module is specifically used to: If the weight distribution of the goods on the shelf is asymmetrical, the goods in the cargo cells on the first surface are sorted according to the number of layers of the cargo cells where the goods are located and the weight of the goods to obtain a first order; According to the first sequence, first tally information is determined, the first tally information including identifications of goods to be taken off the shelves and identifications of the cargo compartments where the goods to be taken off the shelves are located, the goods to be taken off the shelves including X kinds of goods ranked high in the first sequence as the goods to be taken off the shelves, where X≥1 and is an integer.

7. A server comprising a processor, a memory and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the method according to any one of claims 1 to 5 is implemented.

8. A storage medium, It is characterized in that The storage medium stores instructions, which, when executed on a server, enable the server to execute the method according to any one of claims 1 to 5.

9. A computer program product, It is characterized in that The method comprises computer instructions, and when the computer instructions are executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 5.