A ship cargo palletizing scheduling method, device, medium and program product

By generating a three-dimensional spatial constraint matrix and neighborhood orientation scheduling, the problem of insufficient load-bearing capacity caused by the deformation of the underlying cargo was solved, realizing the efficient utilization of cargo space resources and operational continuity, and improving the utilization rate of storage space and loading stability.

CN123140495APending Publication Date: 2026-11-20昆山市豪顺物流有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611288796.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-24
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

In modern logistics warehousing and transportation systems, deformation of the bottom layer of goods during palletizing leads to insufficient load-bearing capacity, resulting in idle and wasted storage space resources and interruption of scheduling sequences, reducing the utilization rate of storage space and the continuity of operations.

Method used

By obtaining the packaging attribute identifiers of the goods to be loaded, the support deficit is calculated and a three-dimensional spatial constraint matrix is ​​generated. The neighboring locations that meet the topological constraint level are selected for goods scheduling, and a candidate loading matrix is ​​constructed to ensure the safe stacking of goods in the neighboring locations.

Benefits of technology

While ensuring palletizing safety, it avoids the waste of idle storage space resources, improves the utilization rate of storage space and the continuity of operations, and enhances the calculation accuracy of virtual loading stability prediction and the safety of multi-task parallel operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123140495A_ABST
    Figure CN123140495A_ABST
Patent Text Reader

Abstract

A ship cargo stacking scheduling method, device, medium and program product, relating to the technical field of logistics scheduling. The method comprises: judging whether the to-be-loaded cargo has the physical condition of bearing lateral extrusion based on the packaging attribute mark after detecting the deformation of the underlying cargo; calculating the support deficiency degree of the to-be-loaded cargo weight parameter exceeding the remaining carrying threshold to quantify the severity of the carrying gap after confirming that the lateral compensation precondition is met; then mapping the deficiency degree to the space locking degree representing the topological constraint level; generating a three-dimensional space constraint matrix accordingly, so that the system can selectively filter the associated cargo from the to-be-scheduled cargo sequence to fill the adjacent cabin to construct a candidate loading matrix, and perform loading when the similarity meets the standard. Avoids the idle waste of storage space and the forced interruption of scheduling sequence, improves the utilization rate of storage space and the continuity of operation under the premise of ensuring the safety of stacking.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of logistics scheduling technology, and in particular to a method, equipment, medium and program product for scheduling ship cargo palletizing. Background Technology

[0002] In modern logistics warehousing and transportation systems, cargo palletizing and scheduling are core elements for improving space utilization and ensuring transportation safety. With the increasing diversification of logistics parcels, when goods of different materials and weights are stacked in multiple layers, the bottom layer of goods often needs to withstand enormous vertical pressure.

[0003] In related technologies, a global planning-based cargo allocation strategy is typically employed. Before cargo is stacked, a multi-objective optimization algorithm (such as genetic algorithm or differential evolution algorithm) is used to pre-calculate the cargo allocation scheme, comprehensively considering factors such as rack center of gravity stability, inbound and outbound efficiency, and shortest operating path. Goods are allocated to different stack heights according to the "lighter on top, heavier on bottom" principle to lower the overall center of gravity and improve rack stability. During actual loading, the overall center of gravity position of the current stack layer is calculated in real time, and the total weight of goods placed on the upper layer is strictly limited to not exceeding the rated load-bearing capacity of the lower layer. When the system detects that the stress on a certain part of the lower layer reaches a preset load-bearing threshold or undergoes a physical change, it directly triggers an early warning mechanism and requires subsequent goods to avoid the stress saturation area and instead be reassigned to other vacant, flat cargo spaces for independent stacking, thereby mitigating the risk of collapse caused by a decrease in local load-bearing capacity.

[0004] However, modern ships face shortages in cargo space and have time constraints in cargo scheduling sequences. When deformation of the cargo at the bottom layer causes insufficient carrying capacity of the target hold, directly skipping the hold and redistributing it will result in idle and wasted cargo space resources. It may also disrupt the original scheduling sequence, leading to problems such as high-priority cargo not being able to be placed in a timely manner and low-priority cargo occupying prime holds, thereby reducing the utilization rate of storage space and the continuity of operations. Summary of the Invention

[0005] This application provides a method, equipment, medium, and program product for ship cargo palletizing and scheduling, which improves the utilization rate of storage space and the continuity of operations.

[0006] In a first aspect, this application provides a ship cargo palletizing and scheduling method, the method comprising: acquiring the initial target hold location, weight parameters, and packaging attribute identifier of the cargo to be loaded; upon receiving abnormal status information indicating deformation of the bottom cargo corresponding to the initial target hold location, determining, based on the packaging attribute identifier, whether the cargo to be loaded meets a preset lateral compensation precondition; if the lateral compensation precondition is met, calculating, based on the remaining load capacity threshold of the initial target hold location, the difference between the weight parameters of the cargo to be loaded and the remaining load capacity threshold to obtain a support deficit; and determining, based on the support deficit, a corresponding space locking degree, the space... The spatial lockability is used to characterize the topological constraint level required to limit the settlement and sideslip of the cargo to be loaded. Based on the spatial lockability, a three-dimensional spatial constraint matrix is ​​generated with the initial target bay as the center coordinate. The three-dimensional spatial constraint matrix is ​​used to define the activation state and target filling height of each neighborhood orientation around the initial target bay. The cargo sequence to be scheduled is traversed, and the associated cargo that matches the activated neighborhood orientation in the three-dimensional spatial constraint matrix is ​​enveloped based on the corresponding neighborhood bay to obtain a candidate loading matrix. When the similarity between the candidate loading matrix and the three-dimensional spatial constraint matrix reaches a preset threshold, the cargo to be loaded is scheduled to the initial target bay.

[0007] By adopting the above technical solution, after detecting deformation of the underlying cargo, the system determines whether the cargo to be loaded has the physical conditions to withstand lateral compression based on packaging attribute identifiers. After confirming that the preconditions for lateral compensation are met, the severity of the load-bearing gap is quantified by calculating the support deficit when the weight parameters of the cargo to be loaded exceed the remaining load-bearing threshold. This deficit is then mapped to a spatial locking degree representing the topological constraint level. Based on this, a three-dimensional spatial constraint matrix is ​​generated, defining the activation state of each neighborhood orientation and the target filling height. This allows the system to selectively select related cargo from the cargo sequence to be scheduled and fill it into activated neighborhood compartments to construct a candidate loading matrix. Loading is then performed when the similarity meets the standard. This avoids the waste of idle cargo space resources and the forced interruption of the scheduling sequence, improving the utilization rate of storage space and the continuity of operations while ensuring palletizing safety.

[0008] In conjunction with some embodiments of the first aspect, in some embodiments, the step of traversing the sequence of goods to be scheduled and constructing an envelope based on the corresponding neighboring cargo space to obtain a candidate loading matrix for associated goods that match the activated neighborhood orientation in the three-dimensional spatial constraint matrix specifically includes: extracting the three-dimensional point cloud data of the neighboring cargo space corresponding to the activated neighborhood orientation, and constructing an initial ship cargo digital model by combining the ship's current initial stability height and initial center of gravity coordinates; traversing the sequence of goods to be scheduled and filtering out multiple cargoes whose physical dimensions match the remaining available space of the neighboring cargo space and whose packaging attributes allow for stacking. A candidate associated cargo is identified; these candidate associated cargoes are virtually loaded into their respective neighboring cargo bays, and the predicted initial stability height and predicted center of gravity offset of the initial ship cargo digital model are calculated after each virtual loading; the candidate associated cargo whose predicted initial stability height is higher than the preset minimum allowable height and whose predicted center of gravity offset is less than the preset offset threshold is identified as the associated cargo; based on the weight distribution characteristics and external dimensions of the associated cargo, a three-dimensional stacked array with topological support structure is generated in the corresponding neighboring cargo bay, and the candidate loading matrix containing spatial coordinates is determined based on the three-dimensional stacked array.

[0009] By adopting the above technical solution, when traversing the sequence of cargo to be scheduled, the three-dimensional point cloud data of the activated neighboring compartments is extracted and combined with the ship's current initial stability height and initial center of gravity coordinates to construct an initial digital model of the ship's cargo. This provides a benchmark for verifying the overall stability of the ship when selecting subsequent candidate associated cargoes. After selecting multiple candidate associated cargoes with matching physical dimensions and packaging properties that allow stacking, virtual loading is performed one by one, and the predicted initial stability height and predicted center of gravity offset are calculated. Candidate associated cargoes that do not meet the minimum allowable height or offset threshold requirements are eliminated. This ensures that the neighboring lateral support compensation scheme can solve the problem of insufficient local load-bearing capacity without causing systemic safety risks such as deterioration of the ship's overall stability or excessive center of gravity offset.

[0010] In conjunction with some embodiments of the first aspect, in some embodiments, the step of virtually loading the multiple candidate associated cargoes into corresponding neighboring bays and calculating the predicted initial stability height and predicted center of gravity offset of the initial ship cargo digital model after each virtual loading specifically includes: obtaining the weight, relative coordinates of the center of gravity, and three-dimensional absolute coordinates of the target virtual placement position of the candidate associated cargo; updating the overall mass distribution matrix of the initial ship cargo digital model using the spatial moment balance equation based on the weight and the three-dimensional absolute coordinates; calculating the three-dimensional coordinates of the global center of gravity after virtual loading according to the updated overall mass distribution matrix, and determining the Euclidean distance between the three-dimensional coordinates of the global center of gravity and the coordinates of the initial center of gravity as the predicted center of gravity offset; obtaining the ship's current displacement and heel angle, and calculating the heel center height after virtual loading by combining the three-dimensional coordinates of the global center of gravity and preset ship line parameters; and subtracting the vertical height component of the heel center height from the three-dimensional coordinates of the global center of gravity to obtain the predicted initial stability height.

[0011] By adopting the above technical solution, during each virtual loading, the weight, relative coordinates of the center of gravity of the candidate associated cargo, and the three-dimensional absolute coordinates of the target virtual placement position are first obtained. The overall mass distribution matrix is ​​updated using the spatial moment balance equation, thereby accurately calculating the change in the three-dimensional coordinates of the global center of gravity after virtual loading and determining the Euclidean distance between it and the initial center of gravity coordinates as the predicted center of gravity offset. Simultaneously, the ship's current displacement and heel angle are obtained, and the height of the heel center after virtual loading is calculated in combination with preset ship line parameters. The difference between this height and the vertical height component of the global center of gravity is then used to obtain the predicted initial stability height. This improves the calculation accuracy and physical reliability of virtual loading stability prediction.

[0012] In conjunction with some embodiments of the first aspect, in some embodiments, the step of generating a three-dimensional spatial constraint matrix based on the spatial locking degree, with the initial target cabin as the center coordinate, and the three-dimensional spatial constraint matrix used to define the activation state of each neighborhood orientation around the initial target cabin and the target filling height, specifically includes: establishing a local load-bearing assessment coordinate system with the three-dimensional physical coordinates of the initial target cabin as the origin; the spatial locking degree includes the neighborhood diffusion radius characterizing the size of the influence circle and the topological node density requirement for lateral support; in the local load-bearing assessment coordinate system, determining the adjacent cabin grids with Euclidean distances smaller than the neighborhood diffusion radius as multiple candidate support nodes, and extracting the current reserved available space scale of each candidate support node; based on the support deficit degree and the distance of each candidate support node from the origin. The parameters are used to calculate the load transfer sharing of each candidate support node according to distance weighting; combined with the preset standard cargo equivalent density, the load transfer sharing is converted into the corresponding lateral support volume requirement, and the lateral support volume requirement is converted into the logistics filling height of multiple candidate orientations based on the bottom area size of each candidate support node; the candidate support node whose reserved available space scale is larger than the corresponding logistics filling height and is not occupied by the high-priority scheduling sequence is marked as the target neighborhood orientation node with the activation status identifier; the position index coordinates of the target neighborhood orientation node, the activation status identifier and the matching logistics filling height are spatially encapsulated and mapped to obtain the three-dimensional spatial constraint matrix used to limit the constraint boundary, and the logistics filling height is determined as the target filling height of the corresponding orientation.

[0013] By adopting the above technical solution, a local load-bearing assessment coordinate system is established with the three-dimensional physical coordinates of the initial target compartment as the origin. The spatial locking degree is analyzed into the neighborhood diffusion radius and topological node density requirements. After screening candidate support nodes in this coordinate system according to Euclidean distance, the load transfer sharing is calculated based on the weighted average distance of each node from the origin, so that the nearest orientation bears a larger proportion of the support load. Then, combined with the equivalent density of standard cargo, the load sharing is converted into the lateral support volume requirement, and then divided by the bottom area of ​​each node to obtain the logistics filling height. After dual screening by spatial capacity and high-optimal scheduling sequence, it is encapsulated into a three-dimensional spatial constraint matrix. This avoids the risk of support structure imbalance caused by uniform distribution in all directions or manual estimation, and improves the precision of the neighborhood compensation layout and the structural reliability.

[0014] In conjunction with some embodiments of the first aspect, in some embodiments, the step of marking candidate support nodes whose reserved available space scale is larger than the corresponding logistics filling height and are not occupied by the high-priority scheduling sequence as target neighborhood orientation nodes with the activation status identifier specifically includes: based on the loading and placement paths required for each candidate support node whose reserved available space scale is larger than the corresponding logistics filling height, and obtaining the expected placement time sequence plan and planned scheduling trajectory corresponding to each logistics cargo in the high-priority scheduling sequence; based on the expected placement time sequence plan and the planned scheduling trajectory, constructing the high-priority scheduling in the local load assessment coordinate system. The space occupied by the motion trajectory of the sequence within a preset time window is used to characterize the polygonal no-entry envelope area temporarily occupied by the robotic arm and cargo as it evolves over time. The spatiotemporal collision detection results of the loading path and the space occupied by the motion trajectory are calculated to determine whether there is a three-dimensional spatial overlap interference volume under the same time slice. Candidate support nodes that generate the three-dimensional spatial overlap interference volume and whose interference volume is greater than the preset collision avoidance safety tolerance are removed from the multiple candidate support nodes to obtain the remaining candidate support nodes. The remaining candidate support nodes are marked as target neighborhood orientation nodes with the activation state.

[0015] By adopting the above technical solution, when verifying the scheduling availability of candidate support nodes that have passed the space capacity screening, not only is the static occupancy status of the bay checked, but also the expected entry time plan and planned scheduling trajectory of each cargo in the high-priority scheduling sequence are obtained. A space representing the motion trajectory occupancy of the robotic arm and cargo dynamic restricted areas is constructed in the local load assessment coordinate system. By calculating the spatiotemporal collision detection results between the loading entry path and this envelope, it is determined whether there is a spatiotemporal overlap interference volume, and nodes with interference volumes exceeding the collision avoidance safety tolerance are eliminated. This effectively avoids the risk of temporal and spatial collisions between the entry path of the compensation scheduling task and the transportation trajectory of the high-priority task, ensuring scheduling safety in a multi-task parallel operation environment.

[0016] In conjunction with some embodiments of the first aspect, in some embodiments, the step of calculating the spatiotemporal collision detection results of the space occupied by the loading path and the motion trajectory, and determining whether there is a three-dimensional spatial overlap interference volume under the same time slice, specifically includes: dividing the preset time window into multiple equal-length discrete time sequence slices, and generating an initial bounding box for the loading path and motion trajectory sweep volume corresponding to each discrete time sequence slice through a preset geometric expansion algorithm. The initial bounding box is used to roughly define the spatial contour of the object in the current time slice; traversing each discrete time sequence slice, calculating the spatial three-dimensional coordinate intersection state of the initial bounding box of the loading path and the initial bounding box of the motion trajectory sweep volume under the same time sequence slice; adding the discrete time sequence slices that generate coordinate intersection to the potential collision detection queue, and determining the real three-dimensional physical dimensions of the cargo to be loaded and the high-priority scheduling sequence cargo at the corresponding time in the potential collision detection queue; based on the real three-dimensional physical dimensions, performing spatial overlap calculation on the region where coordinate intersection occurs to obtain the target interference volume value, and determining the target interference volume value as the three-dimensional spatial overlap interference volume under the corresponding time slice.

[0017] By adopting the above technical solution, when performing four-dimensional spatiotemporal interferometry detection, the preset time window is first divided into multiple equal-length discrete time sequence slices, and an initial bounding box is generated for each time slice to roughly define the spatial outline. By traversing each time slice and calculating the coordinate intersection state between the bounding boxes, time slices with no possibility of collision are quickly eliminated. Only time slices that produce coordinate intersections are added to the potential collision screening queue for accurate spatial overlap calculation based on the real three-dimensional physical dimensions. While ensuring the accuracy of interferometry detection, the overall computational cost of four-dimensional spatiotemporal collision detection is significantly reduced, and the real-time response capability of the system in high-density multi-device parallel operation scenarios is improved.

[0018] In some embodiments of the first aspect, the step of scheduling the cargo to be loaded to the initial target bay when the similarity between the candidate loading matrix and the three-dimensional spatial constraint matrix reaches a preset threshold specifically includes: extracting the set of outer edge coordinates of the package topology of the associated cargo group in the candidate loading matrix, and the set of predefined inner edge contour boundaries of the retaining wall in the three-dimensional spatial constraint matrix; calculating the spatial volume overlap ratio of the set of outer edge coordinates of the package topology and the set of inner edge contour boundaries of the retaining wall in the three-dimensional spatial matrix using a resampling algorithm; determining the predicted physical contact surface corresponding to the associated cargo group and the cargo to be loaded; extracting the actual support orientation vector of the predicted physical contact surface, and calculating the spatial offset angle between the actual support orientation vector and the expected lateral support vector required to offset deformation; assigning corresponding weighting parameters to the spatial volume overlap ratio and the spatial offset angle, and performing weighted calculation to generate the similarity; and scheduling the cargo to be loaded to the initial target bay when it is determined that the similarity is greater than the preset threshold and the surrounding physical topology protection zone is in a closed loop state.

[0019] By employing the above technical solution, when evaluating the matching degree between the candidate loading matrix and the three-dimensional spatial constraint matrix, a resampling algorithm is used to calculate the spatial volume overlap ratio between the outer coordinate set of the package topology of the associated cargo group and the predefined inner contour boundary set of the retaining wall, quantifying the sufficiency of neighborhood filling in the spatial coverage dimension. Simultaneously, the predicted physical contact surface between the associated cargo group and the cargo to be loaded is determined, the actual support orientation vector is extracted, and the spatial offset angle between it and the expected lateral support vector is calculated, quantifying the mechanical alignment between the filling direction and the actual anti-slip requirements. Finally, the two indicators are weighted and fused into a similarity score. This ensures that the final loading decision has both spatial sufficiency and mechanical effectiveness.

[0020] In conjunction with some embodiments of the first aspect, in some embodiments, the cargo palletizing and scheduling device includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory being used to store computer program code including computer instructions, the one or more processors invoking the computer instructions to cause the cargo palletizing and scheduling device to perform the method as claimed in any one of claims 1-7.

[0021] In a second aspect, this application provides a computer program product, including a computer program that, when executed by a processor, causes the cargo palletizing and scheduling equipment to perform the method described in the first aspect and any possible implementation thereof.

[0022] Thirdly, this application provides a computer-readable storage medium including instructions that, when executed on a palletizing and scheduling device, cause the palletizing and scheduling device to perform the method described in the first aspect and any possible implementation thereof.

[0023] One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:

[0024] 1. When the load-bearing capacity of the bottom cargo decreases locally, the system can share the overflow load by intelligently arranging related cargo in the surrounding neighborhood to form a lateral enclosure support system. This achieves the technical effect of maximizing the reuse of damaged cargo space resources, maintaining the continuity of scheduling sequence, and improving the overall utilization rate of warehouse space while ensuring the safety of palletizing.

[0025] 2. The system assesses the stability impact of each candidate associated cargo based on the complete moment balance equation and ship hydrostatic parameters, rather than relying on rough empirical estimations. This significantly improves the computational accuracy and physical reliability of virtual loading stability prediction and provides high-confidence data support for the selection decision of associated cargo.

[0026] 3. The system extends the availability assessment of candidate support nodes from the static cabin allocation level to the spatiotemporal level of dynamic transportation paths, thereby achieving the technical effect of ensuring the spatiotemporal mutual exclusion security of compensation scheduling tasks and high-priority tasks and eliminating the potential for dynamic path interference and conflict in a multi-task high-density parallel operation environment. Attached Figure Description

[0027] Figure 1 This is a flowchart illustrating a ship cargo palletizing and scheduling method according to an embodiment of this application;

[0028] Figure 2 This is another flowchart illustrating a ship cargo palletizing and scheduling method in an embodiment of this application;

[0029] Figure 3 This is a schematic diagram of an exemplary hardware structure of a cargo palletizing and scheduling device in this application embodiment. Detailed Implementation

[0030] The terminology used in the following embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to include the plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in this application refers to and includes any or all possible combinations of one or more of the listed items.

[0031] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.

[0032] Please see Figure 1 This is a flowchart illustrating a ship cargo palletizing and scheduling method in an embodiment of this application.

[0033] In this embodiment, the method is applied to a cargo palletizing and scheduling device, which can be an industrial control computer deployed in an automated warehousing system or a ship loading management platform. It runs collaborative decision-making software internally and connects to multi-source data acquisition devices such as cargo hold environment sensing units and ship status sensing units externally. It controls automated terminal execution equipment such as automated guided vehicles and cranes, thereby realizing closed-loop control from data acquisition and decision calculation to action execution throughout the entire loading and unloading operation.

[0034] S101. Obtain the initial target cargo space, weight parameters, and packaging attribute identifiers of the cargo to be loaded.

[0035] Here, "cargo awaiting loading" refers to a single piece or batch of logistics goods currently in the loading queue, about to be scheduled by palletizing equipment for shelving and placement. "Initial target storage location" refers to the loading position pre-assigned to the cargo by the global storage allocation strategy before it enters the warehouse. This location is calculated by the warehouse management system based on factors such as rack center of gravity stability, inbound / outbound efficiency, and shortest operational path, and is typically uniquely identified as a specific storage compartment within a ship's compartment or automated warehouse using three-dimensional coordinates. "Weight parameter" refers to the physical mass value of the cargo awaiting loading, measured by a weighing device, used for subsequent load-bearing capacity calculations and ship stability assessments. "Packaging attribute identifier" refers to structured label information bound to the cargo awaiting loading, describing the physical characteristics of its outer packaging. This identifier is typically automatically collected and written into the warehouse management database by visual recognition and weighing devices during the material entry process. The information it carries includes, but is not limited to, the material type of the packaging shell (e.g., corrugated cardboard boxes, wooden pallets, metal crates), packaging stiffness level, and surface friction characteristics.

[0036] Specifically, when a piece of cargo arrives at the identification station in the loading area along the logistics conveyor line, the cargo palletizing and scheduling equipment first triggers the data acquisition process. The equipment queries the scheduling work order information for the cargo through the data interface with the warehouse management system, reads the global cargo location allocation strategy from the work order, and identifies the initial target cargo location pre-assigned for it. This initial target cargo location is expressed as a combination of cargo compartment number and three-dimensional spatial coordinates, uniquely pinpointing the cargo's intended loading location in the ship's compartment or automated warehouse. Simultaneously, the equipment retrieves real-time measurement data from the weighing sensors deployed at the identification station on the conveyor line to obtain the weight parameters of the cargo. These weight parameters are recorded in standard mass units and associated with the cargo's unique identification code. Furthermore, the equipment reads the label information affixed or embedded on the cargo's outer packaging using a barcode scanner or RFID reader / writer, and uses this label information as an index key to perform a matching search in the warehouse material basic information database, thereby extracting the packaging attribute identifier associated with the cargo. This packaging attribute identifier records key physical parameters such as the material type, stiffness level, and surface friction characteristics of the packaging shell in the form of structured data fields. Complete the acquisition of spatial target positioning information, physical quality information, and packaging structure feature information of the goods to be loaded.

[0037] S102. Upon receiving information indicating an abnormal state of deformation of the underlying cargo corresponding to the initial target compartment, determine whether the cargo to be loaded meets the preset preconditions for lateral compensation based on the packaging attribute identifier.

[0038] The bottom layer cargo refers to one or more pieces of cargo that have been stacked vertically below the initial target compartment and directly support the upper stacking area as a load-bearing foundation. Abnormal status information refers to alarm data messages generated by environmental sensing units (such as laser scanners, pressure sensor matrices, etc.) installed inside the cargo hold and processed through data fusion. These messages characterize permanent physical changes in the bottom layer cargo that exceed normal elasticity limits. The messages must include at least the coordinates of the deformation location and a quantitative description of the degree of deformation. Lateral compensation preconditions refer to a pre-defined set of judgment criteria used to assess whether the packaging structure of the cargo to be loaded is suitable for remaining intact and without rupture under the lateral compression environment of the surrounding cargo before initiating the surrounding area collaborative filling scheme.

[0039] Specifically, after acquiring the basic information of the cargo to be loaded, the cargo palletizing and scheduling equipment performs real-time status verification of the initial target compartment for the cargo. The equipment continuously receives cargo location status monitoring data streams uploaded by the cargo compartment environment sensing unit. When the cargo compartment environment sensing unit detects, through periodic scanning of the area below the initial target compartment, that the surface contour of the bottom cargo has undergone permanent morphological changes such as collapse, depression, or tilting exceeding the preset elastic recovery threshold relative to the baseline contour recorded at the time of initial entry, the sensing unit will generate abnormal status information carrying the deformation location coordinates and a quantitative description of the deformation degree, and report it to the cargo palletizing and scheduling equipment via the data bus. After receiving the abnormal status information, the cargo palletizing and scheduling equipment reads the packaging attribute identifier, extracts key parameters such as the packaging shell material type and packaging stiffness level of the cargo to be loaded, and compares these parameters item by item with the preset lateral compensation preconditions. The judgment logic of the preset lateral compensation preconditions is: if the surrounding neighborhood collaborative filling scheme is subsequently activated, the cargo to be loaded will be in a lateral compression and wrapping environment of the surrounding related cargo, and its outer packaging needs to withstand a certain lateral pressure.

[0040] In some embodiments, the determination of the preconditions for lateral compensation can be achieved in several ways: Optionally, a pre-established mapping table between packaging categories and compression resistance levels can be used for rapid determination. This mapping table uses the packaging shell material category as the row index and a preset compression resistance level threshold as the column boundary, dividing all known packaging types into two categories: "lateral compensation allowed" and "lateral compensation prohibited". After receiving abnormal status information, the determination result can be obtained by directly looking up the table in the material category field of the packaging attribute identifier. If the lookup result is "allowed", the precondition is met; otherwise, it is not met. Optionally, a quantitative mechanical calculation method can also be used for precise determination. Based on the quantitative description of the degree of deformation in the abnormal status information, the sinking tilt angle and collapse area of ​​the deformation area of ​​the bottom cargo are extracted. Combined with the weight parameters of the cargo to be loaded, the gravity along the sinking tilt angle is decomposed into a normal component perpendicular to the collapse surface and a component parallel to the collapse surface. The tangential slip component of the surface is used as the outward collapse thrust generated by the deformation area of ​​the bottom cargo on the cargo to be loaded. Then, the lateral compressive strength coefficient and critical deformation tolerance volume of the cargo to be loaded are read from the packaging attribute identifier. The outward collapse thrust is divided by the area of ​​the sidewall of the cargo's outer packaging that actually contacts the surrounding existing cargo to obtain the lateral pressure per unit area borne by the sidewall of the cargo to be loaded. This lateral pressure per unit area is then divided by the lateral compressive strength coefficient to obtain the deformation rate per unit length of the outer packaging of the cargo to be loaded under this pressure. Finally, this deformation rate per unit length is multiplied by the thickness of the outer packaging wall in the direction of force to obtain the predicted deformation of the structure under compression. This predicted deformation is compared with the critical deformation tolerance volume. If the predicted deformation is less than the critical deformation tolerance volume, the packaging structure of the cargo to be loaded is determined to be able to withstand lateral compression, satisfying the prerequisite. No further limitations are specified here.

[0041] S103. If the preconditions for lateral compensation are met, the difference between the weight parameters of the cargo to be loaded and the remaining load threshold is calculated based on the remaining load threshold of the initial target compartment to obtain the support deficit.

[0042] The remaining load capacity threshold refers to the maximum additional vertical load that the initial target hold can safely withstand, even when the cargo at its bottom has already deformed. The support deficit refers to the difference between the actual weight of the cargo to be loaded and the current remaining load capacity of the initial target hold.

[0043] After confirming that the packaging attributes of the cargo to be loaded meet the preconditions for lateral compensation, the cargo palletizing and scheduling equipment enters the load-bearing capacity gap quantitative assessment stage. Specifically, it retrieves the original rated load-bearing parameters of the bottom cargo in the initial target bay from the cargo location file database of the warehouse management system. These parameters are the maximum allowable overhead stacking loads determined by factors such as packaging material and structural strength of the bottom cargo when it is received into the warehouse. Subsequently, the equipment combines the quantitative description of the degree of deformation in the received abnormal status information. This quantitative description includes at least the following physical indicators that can be actually measured by the cargo hold environment sensing unit: the maximum vertical settlement displacement of the top surface of the bottom cargo, i.e., the vertical distance difference between the current lowest point of the top surface of the bottom cargo and the reference height recorded when it was received into the warehouse; and the tilt deflection angle of the top surface of the bottom cargo, i.e., the angle between the current best-fit plane of the top surface of the bottom cargo and the horizontal reference plane. The longitudinal deformation ratio, reflecting the overall crushing degree of the bottom cargo, is obtained by dividing the maximum vertical settlement displacement by the original nominal height of the bottom cargo. Next, the tilt deflection angle is mapped to a tilt penalty factor between 0 and 1. The larger the tilt deflection angle, the closer the tilt penalty factor is to 1, indicating that the stress state of the bottom cargo deviates more from the ideal uniform bearing condition and that local stress concentration is more severe. Finally, the longitudinal deformation ratio and the tilt penalty factor are weighted and summed according to preset weights to obtain a comprehensive attenuation coefficient. The original rated bearing capacity parameter is multiplied by this comprehensive attenuation coefficient to obtain the bearing capacity loss value caused by deformation. Subtracting this bearing capacity loss value from the original rated bearing capacity parameter yields the remaining bearing capacity threshold of the initial target hold under the current deformation state. After obtaining the remaining bearing capacity threshold, the equipment subtracts the weight parameter of the cargo to be loaded from the remaining bearing capacity threshold. If the weight parameter is greater than the remaining bearing capacity threshold, the difference is the support deficit. This positive value indicates that the initial target hold cannot safely bear the cargo to be loaded solely by its own bottom support and requires additional external bearing capacity compensation. The higher the support deficit value, the stronger the lateral support system that needs to be built in the surrounding area, the wider the scope of the surrounding area, and the more related cargo needs to be filled. If the weight parameter is less than or equal to the remaining load capacity threshold, it means that although the current hold has been deformed, there is still enough residual load capacity, the support deficit is zero, and regular loading operations can be performed directly without initiating the subsequent neighborhood collaborative compensation process.

[0044] It is understandable that when the bottom collapses into a V-shape or tilts to the side, the weight of the cargo itself is decomposed along the slope, generating a lateral sliding force. The collaborative compensation described in this application does not use lateral cargo to bear the vertical weight difference, but rather uses high-density lateral solid cargo to "clamp / lock" the cargo to be loaded, utilizing the basic static friction of the lateral cargo and the overall wall effect to counteract the lateral sliding force.

[0045] In some embodiments, the calculation of the remaining load-bearing threshold and the determination of the support deficit can be achieved in various ways. Optionally, after reading the original rated load-bearing parameters of the bottom cargo from the cargo location file database, the maximum settlement displacement of the bottom cargo in the abnormal state information can be obtained. The maximum settlement displacement can be divided by the initial height of the bottom cargo to obtain the deformation ratio. Then, the original rated load-bearing parameters can be multiplied by 1 and the coefficient of the deformation ratio can be subtracted to obtain the remaining load-bearing threshold. Finally, the support deficit can be obtained by subtracting the remaining load-bearing threshold from the weight parameter of the cargo to be loaded. Optionally, it can also be determined by querying a preset material deformation and load-bearing capacity relationship database. Specifically, after determining the material type of the bottom cargo based on its packaging attribute identifier, the database can be used with the material type and the currently detected deformation level as a joint index to directly retrieve the experimentally calibrated reference value of the remaining load-bearing capacity as the remaining load-bearing threshold. Then, the difference between the reference value and the weight parameter of the cargo to be loaded can be calculated to obtain the support deficit. No limitation is made here.

[0046] In some embodiments, after determining that the packaging properties of the cargo to be loaded meet the preconditions for lateral compensation, the cargo palletizing and scheduling equipment enters the mechanical quantitative assessment stage of the lateral load-bearing capacity gap. The deformation tilt angle θ of the deformation area of ​​the bottom cargo is extracted from the received abnormal state information. This angle is obtained by scanning the top surface of the bottom cargo with a cargo hold environment sensing unit (such as a laser profilometer or binocular vision camera) and calculating its tilt angle relative to the horizontal reference plane using a plane fitting algorithm. Based on the weight parameter m and deformation tilt angle θ of the cargo to be loaded, the tangential sliding component of the cargo's gravity along the deformation surface is calculated according to the orthogonal decomposition principle of forces. The gravity of the cargo to be loaded is orthogonally decomposed along the tilted top surface of the bottom cargo after deformation. This tangential sliding component is the driving force that causes the cargo to slip laterally, and the equipment determines it as the lateral constraint demand force. The existing lateral constraint forces that the cargo around the initial target hold can provide are evaluated. The equipment queries the cargo location database to determine if there are already adjacent loaded cargoes in the front, rear, left, and right directions of the initial target cargo location, and extracts the contact area and material information of the expected lateral contact area between these existing cargoes and the cargo to be loaded. For each direction with existing laterally adjacent cargo, the equipment calculates the lateral constraint force component that can be provided in that direction based on the static friction coefficient of the outer surface of the packaging between the existing cargo and the cargo to be loaded in that direction and the normal contact pressure in that direction. The constraint force components along the anti-slip direction in all directions with existing laterally adjacent cargo are vector-projected and superimposed to obtain the resultant force value of the existing lateral constraint force. The difference between the required lateral constraint force and the existing lateral constraint force is calculated as the support deficit. If the difference is positive, it indicates that the current lateral constraint of the initial target cargo location is insufficient to prevent the cargo to be loaded from sliding along the deformation surface, and additional cargo needs to be added to the surrounding neighborhood to supplement the lateral constraint force. The larger the support deficit value, the stronger the lateral support system that needs to be built in the surrounding neighborhood and the wider the neighborhood involved. If the difference is zero or negative, it indicates that the lateral restraint provided by the adjacent cargo is sufficient to resist the slippage trend, and there is no need to initiate the subsequent neighborhood collaborative compensation process; regular loading operations can be performed directly. When there is no loaded cargo around the initial target bay that forms lateral contact with the cargo to be loaded (i.e., the initial target bay is empty), the existing lateral restraint is zero, and the support deficit is directly equal to the tangential slippage component.

[0047] S104. Determine the corresponding spatial locking degree based on the support deficit.

[0048] Spatial lockability refers to the level of topological constraints required to limit settlement and sideslip of cargo within the initial target bay. Spatial lockability includes the neighborhood diffusion radius, which characterizes the size of the influence circle, and the topological node density requirement for lateral support. The neighborhood diffusion radius defines the maximum spatial range of candidate support areas extending outwards from the initial target bay, while the topological node density requirement specifies the minimum number of neighborhood orientations that need to be activated within this diffusion range to participate in coordinated support.

[0049] Specifically, after calculating the support deficit, the cargo palletizing and scheduling equipment needs to transform this simple load gap value into structured control parameters that can guide subsequent spatial planning. The equipment has a pre-configured mapping table between support deficit and spatial locking degree, based on an empirical knowledge base calibrated from numerous historical loading cases and mechanical simulation results. The mapping table divides the support deficit into multiple consecutive numerical intervals, each interval corresponding to a set of spatial locking degree parameters including neighborhood diffusion radius and topological node density requirements. The equipment uses the support deficit value obtained in step S103 as the query key to locate its corresponding numerical interval in the mapping table and reads the spatial locking degree parameter combination for that interval. When the support deficit is small, such as only a low proportion of the weight parameter of the cargo to be loaded, the mapped neighborhood diffusion radius is short and the topology node density requirement is low. This means that only a small number of related cargoes need to be placed in a few adjacent locations to compensate for the load-bearing gap. When the support deficit is large, such as approaching or even exceeding a certain proportion of the weight parameter of the cargo to be loaded, the mapped neighborhood diffusion radius will be significantly expanded, and the topology node density requirement will be increased to require that support nodes be activated in most directions within the diffusion range to ensure that a sufficiently dense three-dimensional envelope support network is constructed to disperse and bear the overflow load.

[0050] In some embodiments, the spatial locking degree can be determined in several ways: Optionally, it can be calculated using a piecewise mapping function. Specifically, a monotonically increasing piecewise linear function from the support deficit to the neighborhood diffusion radius and a monotonically increasing step function from the support deficit to the topological node density requirement are predefined. After inputting the support deficit, the two functions are substituted to calculate the corresponding neighborhood diffusion radius and topological node density requirement. The combination of these two is the spatial locking degree corresponding to the support deficit. Optionally, it can also be determined using a regression prediction model trained based on historical loading cases. Specifically, the support deficit, along with the weight parameters of the cargo to be loaded and the stiffness level in the packaging attribute identifier, are used as input feature vectors and fed into a pre-trained multivariate regression model for inference calculation. The model outputs the optimal combination of neighborhood diffusion radius and topological node density requirement. It is understood that other methods can also be used to determine the spatial locking degree, such as through an expert rule engine or a fuzzy logic controller, etc., which are not limited here.

[0051] S105. Based on the spatial locking degree, a three-dimensional spatial constraint matrix is ​​generated with the initial target cabin as the center coordinate.

[0052] The three-dimensional spatial constraint matrix refers to a spatial planning blueprint that describes the collaborative support requirements of the surrounding neighborhoods of the initial target compartment in the form of structured data. This matrix uses the three-dimensional physical coordinates of the initial target compartment as its central reference point and extends along multiple neighborhoods in the space, including front, back, left, right, and above. Each element in the matrix corresponds to a compartment cell in a specific neighborhood and records at least two key attribute fields: the first is the activation status, which indicates whether the neighborhood needs to be included in the collaborative support plan for cargo filling operations. An activated location means that placing related cargo in that location is determined to be necessary to maintain the stability of the cargo to be loaded; the second is the target filling height, which indicates the required stacking height of the related cargo to be placed in the activated neighborhood to meet the mechanical requirements of lateral support.

[0053] Specifically, after determining the spatial lock-in degree, using the three-dimensional physical coordinates of the initial target bay as the geometric center and the neighborhood diffusion radius as the farthest boundary distance for outward extension, a candidate support search area centered on the initial target bay is delineated in the three-dimensional coordinate system of the storage space. All adjacent bays covered within this search area are considered as potential available support locations. Availability assessments are then performed on each adjacent bay within the search area.

[0054] During the evaluation process, the equipment comprehensively considers constraints in two dimensions: the first is the spatial dimension, which checks whether the adjacent hold currently has sufficient remaining available space to accommodate a certain height of related cargo stacking. Specifically, this is done by querying the top height of currently loaded cargo in the adjacent hold from the cargo location database and subtracting the loaded height from the hold's maximum clearance height to obtain the reserved available space for that location. The second dimension is the scheduling dimension, which checks whether the adjacent hold has been locked and occupied by high-priority scheduling tasks in the current and near-term time window. If the hold is already in the pre-arranged placement sequence of high-priority cargo, it should not be requisitioned for this compensation task even if its physical space is sufficient, to avoid interfering with the normal execution of the main scheduling process. For adjacent holds that pass both of the above dimensions, the equipment calculates the minimum height of related cargo required to provide sufficient lateral constraint for the cargo to be loaded in that location, based on the magnitude of the support deficit and the spatial distance between the adjacent hold and the initial target hold. The resulting height value is the target filling height for that location. The closer the neighboring azimuth is to the initial target berth, the higher the efficiency of lateral support transmission, and therefore it may be assigned a relatively low target fill height; while azimuths that are farther away require a higher fill volume to compensate for the reduced support efficiency due to distance decay.

[0055] After evaluating and calculating all candidate orientations, the device marks the orientations that pass the evaluation as active and those that fail as inactive. It then encapsulates the position index coordinates, activation status identifier, and corresponding target fill height of each active orientation into structured data, assembling this data to generate the final three-dimensional spatial constraint matrix. Furthermore, the topology node density requirement plays a global verification role in this process: after initial screening, it checks whether the number of currently active neighborhood orientations meets the minimum threshold specified by the topology node density requirement. If not, it appropriately relaxes the screening conditions in the spatial or scheduling dimensions until the number of active orientations meets the density requirement, thereby ensuring that the support network built around the cargo to be loaded has no weak points in its topology.

[0056] In some embodiments, the matrix can be generated using a uniform distribution strategy. After determining the candidate support search area, the overall load gap corresponding to the support deficit is evenly distributed to all adjacent cabins within the area that meet the space availability and scheduling availability conditions. This ensures that each activated azimuth bears the same share of the support load. Subsequently, this uniform share is converted into a uniform target fill height based on the bottom area dimensions of each cabin. Finally, the position index coordinates, activation identifiers, and uniform target fill heights of all activated azimuths are encapsulated into a three-dimensional spatial constraint matrix. It is understood that other methods can also be used to generate the three-dimensional spatial constraint matrix, such as determining the optimal target fill height for each azimuth through precise mechanical solutions based on a finite element stress analysis model; this is not limited here.

[0057] S106. Traverse the sequence of goods to be scheduled, and construct the envelope of the associated goods that match the activated neighborhood orientation in the three-dimensional spatial constraint matrix based on the corresponding neighborhood compartment to obtain the candidate loading matrix.

[0058] The "pending shipment sequence" refers to an ordered list of all shipments that have entered the loading queue but have not yet been assigned a specific loading time within the current scheduling cycle. The shipments in this list are typically pre-sorted according to scheduling rules such as inbound priority, arrival time, or destination zone. "Associated shipments" refers to one or more shipments selected from the pending shipment sequence that, in terms of external dimensions and physical attributes, are suitable for placement in the corresponding neighborhood compartments of the activated neighborhood orientations in the three-dimensional spatial constraint matrix, thus providing lateral support for the shipments to be loaded. A neighborhood compartment refers to the actual shelf space corresponding to each neighborhood orientation node marked as active in the three-dimensional spatial constraint matrix. "Envelope construction" refers to the spatial planning process of virtually arranging the selected associated shipments according to the target fill height requirements of each neighborhood compartment, forming a three-dimensional enclosure structure with lateral constraints around the initial target compartment. The candidate loading matrix refers to the structured data set generated after the envelope construction is completed. This data set records the unique identifier of each associated cargo, the spatial coordinates of the neighboring compartment to which it is assigned, the stacking order within the compartment, and the three-dimensional spatial range it occupies. It is used to describe the complete spatial distribution of the actual envelope support formed by the associated cargo group around the initial target compartment.

[0059] Specifically, after generating the three-dimensional spatial constraint matrix, the cargo palletizing and scheduling equipment has determined which surrounding neighborhoods need to be filled and the target filling height required for each location. It then initiates the matching, selection, and virtual loading arrangement process for associated cargo. First, it reads all the neighborhood nodes marked as active in the three-dimensional spatial constraint matrix, extracts the spatial location information and target filling height value of the corresponding neighborhood compartment for each node, and calculates the spatial size constraint range that the associated cargo currently to be filled in each neighborhood compartment must meet. This constraint range is jointly defined by the length, width, and target filling height of the neighborhood compartment. Then, it begins traversing the sequence of cargo to be scheduled, performing multi-dimensional matching and evaluation on each item in the sequence. The first dimension of the assessment is size compatibility, which means whether the length, width, and height of the cargo to be dispatched can be accommodated within the spatial size constraints of a neighboring cargo bay, and whether its height does not exceed the target fill height limit for that location. The second dimension of the assessment is packaging compatibility, which means whether the packaging attributes of the cargo to be dispatched allow it to be stacked or closely arranged with existing cargo in the neighboring cargo bay. For example, it is necessary to avoid placing fragile items under heavy objects or storing items with chemical reactivity risks adjacent to each other, which violates stacking safety rules. For cargo to be dispatched that meets the assessment requirements of the above dimensions, it is marked as a candidate associated cargo for the corresponding neighboring location. When there are multiple candidate associated cargoes in a certain neighboring location, they will be comprehensively prioritized according to their order of arrangement in the cargo to be dispatched sequence and the degree of fit between their dimensions and the target fill height of that location. Cargoes with a later order in the sequence that do not affect the main high-priority dispatching tasks will be selected first, and cargoes with an outer height closest to the target fill height will be preferred to reduce structural instability caused by multi-layer stacking. After matching all associated cargoes in all active locations, the equipment virtually arranges the selected associated cargoes in each location according to their assigned neighboring cargo space coordinates and stacking order, constructing a three-dimensional enclosure structure composed of associated cargoes around the initial target cargo space. The unique identifier code of each associated cargo, its three-dimensional spatial coordinates in its neighboring cargo space, and its starting and ending heights on the bottom and top surfaces within the cargo space are uniformly encapsulated and written into a structured data set, which is the candidate loading matrix.

[0060] In some embodiments, the matching and selection of associated goods and the construction of the envelope can be achieved in several ways: Optionally, the envelope can be constructed by a single-round sequential matching method. Specifically, each orientation is processed sequentially according to the position index order of the active orientations in the three-dimensional spatial constraint matrix. For the current orientation, the search starts from the head of the sequence of goods to be scheduled and searches one by one. Once the first goods to be scheduled that simultaneously meets the requirements of size matching and packaging compatibility is found, it is locked as the associated goods of that orientation and marked as assigned from the sequence. Then, the search continues to the next orientation until all active orientations have been assigned associated goods. Finally, all orientations are selected and the envelope is constructed. The associated cargo placement information is summarized and encapsulated into a candidate loading matrix. Optionally, the envelope can also be constructed using a globally optimal combination matching method. Specifically, for each active orientation, all candidate associated cargoes that meet the conditions are first selected from the cargo sequence to be scheduled, forming independent candidate lists for each orientation. Then, with the optimization objective of maximizing the overall consistency between the actual filling height and the target filling height for all orientations, a combinatorial optimization algorithm is used to search for the optimal associated cargo allocation combination scheme in the Cartesian product space of the candidate lists for each orientation. Finally, the associated cargoes selected for each orientation in the optimal scheme and their placement coordinates are encapsulated into a candidate loading matrix. No limitations are imposed here.

[0061] S107. When the similarity between the candidate loading matrix and the three-dimensional spatial constraint matrix reaches a preset threshold, the cargo to be loaded is scheduled to the initial target hold.

[0062] After generating the candidate loading matrix, the cargo palletizing and scheduling equipment enters the envelope scheme verification and evaluation phase. A side-by-side comparative analysis is performed between the candidate loading matrix and the three-dimensional spatial constraint matrix to assess whether the actual enclosure envelope structure formed by the associated cargo group around the initial target bay fully meets the support requirements defined by the three-dimensional spatial constraint matrix. The comparative analysis unfolds in two dimensions: The first dimension is the sufficiency of spatial coverage, which checks whether the actual filling height of the associated cargo in each neighborhood orientation of the candidate loading matrix reaches the target filling height required by the corresponding orientation in the three-dimensional spatial constraint matrix, and whether all activated orientations have been successfully assigned to associated cargo without any empty orientations. If the actual filling height of an activated orientation is significantly lower than the target filling height, or if some activated orientations fail to be assigned due to a lack of size-matching cargo in the cargo sequence to be scheduled, the contribution score of that orientation in the spatial coverage dimension will be reduced accordingly. The second dimension is the effectiveness of support orientation, which assesses whether the outer wall surface of the associated cargo facing the initial target bay in each orientation can provide lateral constraint force to the cargo to be loaded in the correct direction. If the contact surface between the associated cargo and the cargo to be loaded deviates from the ideal support direction, the effective lateral restraint force it can provide will be significantly reduced, even if the filling height in that direction meets the standard. The evaluation results of the above two dimensions are comprehensively calculated according to preset weights to generate a final similarity value. This similarity value is then compared with a preset threshold. If the similarity reaches the preset threshold, it indicates that the associated cargo envelope constructed around the initial target compartment has met the minimum requirements for safe loading in terms of both sufficient spatial coverage and effective support orientation. Based on this, the current compensation scheme is deemed feasible, and a scheduling execution instruction is generated. This instruction controls automated guided vehicles or cranes to transport and stack each associated cargo sequentially into its corresponding neighboring compartment according to the placement coordinates and layer order recorded in the candidate loading matrix. A physical lateral support enclosure structure is then constructed around the initial target compartment, and the cargo to be loaded is then transported and placed into the initial target compartment. If the similarity does not reach the preset threshold, the current envelope scheme is deemed insufficiently supportive. In this case, it may be necessary to revert to step S106 to re-traverse the cargo sequence to be scheduled in an attempt to change the associated cargo combination. Alternatively, if multiple attempts still fail to meet the threshold, the reuse of the initial target cargo space will be abandoned and the cargo to be loaded will be reassigned to other available cargo spaces. Furthermore, while confirming that the similarity meets the threshold, it will further check whether the physical topology protection zone formed by the associated cargo group around the initial target cargo space is in a closed loop state. That is, whether the associated cargo in each direction forms a continuous ring-shaped enclosure without obvious gaps in the horizontal projection, ensuring that the cargo to be loaded will not slide out from any weak direction. Only when the similarity meets the threshold and the closed loop condition is simultaneously satisfied will the loading execution command be finally triggered.

[0063] In some embodiments, the similarity calculation and loading decision between the candidate loading matrix and the three-dimensional spatial constraint matrix can be implemented in a variety of ways: Optionally, the similarity can be calculated by the weighted average method of the height deviation rate of each azimuth. For each active neighborhood azimuth in the three-dimensional spatial constraint matrix, the ratio of the actual filling height to the target filling height of that azimuth in the candidate loading matrix is ​​calculated and limited to the range of zero to one as the local compliance rate of that azimuth. Then, the local compliance rate of all active azimuths is calculated by weighting the proportion of the load transfer share allocated to each azimuth to the overall support deficit as the weight, and the final similarity value is obtained. If the value is greater than a preset threshold, loading scheduling is performed.

[0064] Optionally, similarity can also be calculated using a two-dimensional fusion method of spatial volume overlap and support orientation offset. Specifically, a spatial resampling algorithm is used to extract the outer coordinate set of the package topology of the associated cargo group in the candidate loading matrix and the inner contour boundary set of the retaining wall defined in the three-dimensional spatial constraint matrix, and the spatial volume overlap occupancy rate of the two in three-dimensional space is calculated. Then, the predicted physical contact surface between the associated cargo group and the cargo to be loaded is determined, and the actual support orientation vector of each contact surface is extracted. The spatial offset angle between the actual support orientation vector and the expected lateral support vector required to offset deformation is calculated. Finally, the spatial volume overlap occupancy rate and the spatial offset angle are assigned corresponding weighting parameters and linear dimensionality reduction fusion calculation is performed to generate a spatial embedding index for quantitatively evaluating the anti-collapse locking reliability of the current surrounding material stacking system, and this index is used as the similarity. When the spatial embedding index is determined to be greater than a preset threshold and the surrounding physical topology protection zone forms a closed loop, the cargo to be loaded is scheduled to the initial target hold. No limitations are specified here.

[0065] In this embodiment, a complete collaborative compensation scheduling process is adopted. After detecting deformation of the bottom cargo, the initial target hold is not abandoned directly. Instead, the feasibility of lateral compensation is assessed based on the packaging attributes of the cargo to be loaded. This process involves quantifying the support deficit, determining the spatial locking degree, generating a three-dimensional spatial constraint matrix, traversing the sequence of cargo to be scheduled to construct a candidate loading matrix, and executing loading after verifying that the similarity meets the standard. Therefore, even when the load-bearing capacity of the bottom cargo decreases locally, a lateral containment support system is formed by intelligently arranging related cargo in the neighborhood around the initial target hold. This transfers and disperses the overflow load that originally needed to be borne by the bottom cargo alone to multiple neighborhood locations for shared burden. This allows the cargo to be loaded to remain stably in the initial target hold under topological package constraints without settling or sliding. This effectively solves the technical problems in the prior art where cargo space resources are wasted due to the deformation of the bottom cargo and the scheduling sequence is forced to be interrupted and rearranged. As a result, the technical effects of reusing damaged hold resources, maintaining the continuity of the scheduling sequence, and improving the overall utilization rate of storage space are achieved while ensuring palletizing safety.

[0066] In the above embodiments, cargo palletizing scheduling can achieve the technical effect of safe reuse of damaged compartments and maintenance of scheduling continuity through the aforementioned method based on support deficit-driven neighborhood collaborative compensation. However, in practical applications, using only whether the compartment has sufficient remaining space and whether it is occupied by a high-priority scheduling sequence as the screening criteria for determining whether a neighborhood location is active is insufficient when facing high-density multi-device parallel operation scenarios in large automated warehouses. The judgment of whether a neighborhood compartment is occupied by a high-priority scheduling sequence is based solely on the static compartment allocation status and does not consider the impact of the dynamic transportation path traversed by the robotic arm and goods during the placement process on the temporary blockage of the surrounding space. This may lead to the allocation of related goods to a neighborhood location where, although the final target compartment is free, the placement path and the high-priority task transportation path intersect and conflict in time and space, causing scheduling deadlock or collision risks.

[0067] Please see Figure 2 This is another flowchart illustrating a ship cargo palletizing and scheduling method in an embodiment of this application.

[0068] S201. Obtain the initial target cargo space, weight parameters, and packaging attribute identifiers of the cargo to be loaded.

[0069] S202. Upon receiving information indicating an abnormal state of deformation of the underlying cargo corresponding to the initial target compartment, determine whether the cargo to be loaded meets the preset preconditions for lateral compensation based on the packaging attribute identifier.

[0070] S203. If the preconditions for lateral compensation are met, the weight parameters of the cargo to be loaded and the difference between the remaining load threshold and the remaining load threshold are calculated based on the remaining load threshold of the initial target compartment to obtain the support deficit.

[0071] S204. Determine the corresponding spatial locking degree based on the support deficit.

[0072] Steps S201 to S204 and Figure 1 In the illustrated embodiment, steps S101 to S104 are similar, and can be found in the descriptions of steps S101 to S104, which will not be repeated here.

[0073] S205. Establish a local load-bearing assessment coordinate system with the three-dimensional physical coordinates of the initial target compartment as the origin.

[0074] The local load assessment coordinate system is a right-handed rectangular coordinate system established with the three-dimensional physical coordinates of the initial target compartment in the storage space as the origin, according to the standard orientation system of the storage space. The purpose of this coordinate system is to provide a unified spatial reference framework centered on the initial target compartment for subsequent neighborhood orientation search, distance calculation, and load allocation, allowing the orientational relationship and distance of each neighboring compartment relative to the initial target compartment to be accurately expressed in concise coordinate numerical form. In this coordinate system, the origin corresponds to the geometric center of the initial target compartment, and the three coordinate axes extend along the longitudinal, lateral, and vertical directions of the storage space, respectively. The coordinate values ​​of each neighboring compartment in this coordinate system are its physical distance components from the initial target compartment in the three directions.

[0075] After determining the spatial locking degree, the cargo palletizing and scheduling equipment initiates a refined generation process for the three-dimensional spatial constraint matrix. First, a local load-bearing assessment coordinate system is established, providing a standardized spatial reference for all subsequent calculations involving neighborhood distance calculations and load weighting allocation. The equipment reads the three-dimensional physical coordinates of the initial target bay from the cargo location database, including the bay's position in the longitudinal, lateral, and vertical directions within the storage space, and sets these three-dimensional physical coordinates as the origin of the local load-bearing assessment coordinate system. After this coordinate system is established, the position of any bay in the storage space can be transformed and expressed as a three-dimensional offset coordinate relative to the initial target bay. This allows for accurate spatial distance values ​​to be obtained by directly taking the modulus of this offset coordinate when calculating the Euclidean distance between each candidate support node and the initial target bay in subsequent steps, eliminating the need for cross-regional coordinate transformation calculations from the global coordinate system each time.

[0076] In some embodiments, the establishment of a local load-bearing assessment coordinate system can be achieved in several ways: Optionally, it can be established by directly using the global coordinate system of the warehouse management system for translation transformation. Specifically, after reading the absolute coordinate values ​​of the initial target bay in the global coordinate system, these coordinate values ​​are used as translation vectors to perform an origin translation operation on the global coordinate system, so that the origin of the new coordinate system coincides with the geometric center of the initial target bay, and the coordinate axis directions remain consistent with the global coordinate system, thereby generating a local load-bearing assessment coordinate system centered on the initial target bay. Optionally, an independent local coordinate system can also be established by deploying local positioning beacons around the initial target bay. Specifically, three non-collinear radio frequency positioning beacons are pre-installed on the physical structure of the initial target bay as three reference points of the coordinate system. After reading the spatial positions of the three beacons, orthogonalization is performed using one beacon as the origin and the lines connecting the other two beacons to the origin as the two coordinate axis directions, thus establishing a local load-bearing assessment coordinate system completely independent of the global coordinate system. No limitations are imposed here.

[0077] S206. In the local load-bearing assessment coordinate system, adjacent cabin grids with Euclidean distances smaller than the neighborhood diffusion radius are identified as multiple candidate support nodes, and the current reserved available space scale of each candidate support node is extracted.

[0078] The neighborhood diffusion radius refers to the distance parameter included in the spatial locking degree, used to define the maximum range of the candidate support search area. The spherical space formed by the initial target bay as the center and the neighborhood diffusion radius as the radius is the maximum boundary of the search for available support orientations. The adjacent bay grid refers to all unit cells located within the aforementioned spherical search area after the storage space is discretized into grids using standard cargo cells as units. Candidate support nodes refer to adjacent bay grids included in the candidate range after distance screening; each candidate support node represents a potentially available lateral support orientation. The reserved available space scale refers to the current remaining clearance height of the bay corresponding to each candidate support node, which is equal to the upper limit of the physical clearance of the bay minus the highest point height of its currently loaded cargo.

[0079] Specifically, after establishing the local load-bearing capacity assessment coordinate system, the cargo palletizing and scheduling equipment begins to perform a search and initial screening operation for the neighborhood orientation within this coordinate system. It reads the neighborhood diffusion radius value from the spatial locking degree parameter and, with the origin of the coordinate system as the center and the neighborhood diffusion radius as the upper limit of the search range, traverses all the compartment grid nodes in the storage space that have completed coordinate transformation in the local load-bearing capacity assessment coordinate system. For each compartment grid node, the equipment calculates its Euclidean distance in the local load-bearing capacity assessment coordinate system, i.e., the straight-line distance from the node to the origin. If the Euclidean distance is less than the neighborhood diffusion radius, the compartment grid node is within the support influence circle of the initial target compartment and is included in the candidate support node set; if the Euclidean distance is greater than or equal to the neighborhood diffusion radius, the node is outside the coverage area of ​​the support influence circle and is excluded. After distance screening, the equipment queries the current loading status records of each candidate support node in the cargo location database, obtains the highest point height of the loaded cargo in the corresponding hold for each node, and subtracts the highest point height of the loaded cargo from the upper limit of the physical clearance height of the hold to calculate the reserved available space dimension of the node. The reserved available space dimension reflects how high the candidate support node can physically accommodate additional cargo stacks, and is a key data basis for subsequent judgment on whether the node has actual filling capacity.

[0080] In some embodiments, the determination of candidate support nodes and the extraction of reserved available space scale can be achieved in several ways: Optionally, it can be achieved by traversing and calculating node by node. Specifically, the global coordinates of all bays in the storage space are pre-converted into relative coordinates under the local load assessment coordinate system and stored in a temporary index table. Then, the index table is traversed to calculate the Euclidean distance of each node and compare it with the neighborhood diffusion radius. Nodes that meet the distance condition are written into the candidate support node set. Finally, the loading status of each candidate node in the cargo space file database is queried one by one to calculate the reserved available space scale. Optionally, it can also be achieved by accelerating the query through spatial index. Specifically, a pre-constructed three-dimensional spatial octree index structure is used to perform a spherical range query with the coordinates of the initial target bay as the query center and the neighborhood diffusion radius as the query radius. The octree index directly returns a list of all bay nodes falling within the spherical range as the candidate support node set. Subsequently, the loading status information of these nodes is read in batches to calculate their respective reserved available space scales. No limitation is made here.

[0081] S207. Based on the support deficit and the distance parameters between each candidate support node and the origin, calculate the load transfer sharing of each candidate support node according to the distance weighting.

[0082] Among them, the load transfer sharing amount refers to the value of the lateral support load that each candidate support node needs to bear, which is allocated according to the total support deficit and the distance weight of each candidate support node. Its physical meaning is the weight value corresponding to the equivalent lateral support force provided by the associated cargo that needs to be filled at the node location.

[0083] Specifically, after screening candidate support nodes and extracting the available space scale, the system first reads the topology node density requirement contained in the spatial locking parameter. This parameter specifies the minimum number of support nodes that need to be activated within a unit space, ensuring that the distribution of support force is not overly concentrated on a few nodes, leading to local overload. Subsequently, the device performs a normalized inverse distance weighting operation on the distance parameters of all candidate support nodes: for each candidate support node, the device calculates the reciprocal of its distance parameter as the node's initial weight value; the smaller the distance, the larger the reciprocal, and the higher the corresponding weight. Then, the initial weight values ​​of all candidate support nodes are summed to obtain the total weight, and the initial weight value of each node is divided by the total weight to obtain the node's normalized weight coefficient. Finally, the device multiplies the support deficit value by the normalized weight coefficient of each node to obtain the load transfer allocation to each candidate support node. Through this distance-weighted allocation mechanism, candidate support nodes closer to the initial target bay receive a higher load transfer share, meaning that more related cargo is expected to be stacked in these neighboring locations to provide stronger lateral clamping force, while candidate support nodes farther away receive a relatively smaller load transfer share and only need to provide auxiliary peripheral support.

[0084] In some embodiments, the load transfer sharing can be calculated in several ways: Optionally, a linear inverse distance weighting method can be used, specifically by taking the reciprocal of the distance parameter of each candidate support node as a linear weight, and then dividing the support deficit into load transfer sharing for each node according to the proportion of each node's linear weight to the sum of all node linear weights; Optionally, a Gaussian kernel function decay weighting method can also be used, specifically by using half of the neighborhood diffusion radius as the standard deviation parameter of the Gaussian kernel function, substituting the distance parameter of each candidate support node into the Gaussian kernel function to calculate its decay weight value. The greater the distance, the smaller the output value of the Gaussian kernel function and the lower the weight. Subsequently, the support deficit is allocated according to the proportion of each node's Gaussian kernel decay weight to the sum of the total weights. Compared with the linear inverse distance weighting method, the Gaussian kernel function method makes the weight decay more rapidly and non-linearly with increasing distance, thereby further strengthening the nearest-neighbor priority load allocation strategy. No limitation is made here.

[0085] S208. Combining the preset standard cargo equivalent density, the load transfer sharing is converted into the corresponding lateral support volume requirement, and the lateral support volume requirement is converted into the logistics filling height of multiple candidate directions based on the bottom area size of each candidate support node.

[0086] The standard cargo equivalent density refers to a pre-configured benchmark density value that characterizes the average mass and volume relationship of common goods in a warehousing environment, measured in mass per cubic unit volume. Lateral support volume requirement refers to the total volume of cargo that needs to be filled at the location of each candidate support node after conversion from weight to volume. Base area refers to the horizontal cross-sectional area of ​​the corresponding compartment for each candidate support node, i.e., the maximum effective floor space that the compartment can accommodate in the horizontal direction. Logistics filling height is the value obtained by dividing the lateral support volume requirement by the base area of ​​the candidate support node. Physically, it represents the minimum height required for stacking related cargo at that candidate location. Only when the actual height of the filled cargo reaches or exceeds this logistics filling height can the lateral support force provided at that location meet its load transfer requirements.

[0087] Specifically, after calculating the load transfer sharing of each candidate support node, the cargo palletizing and scheduling equipment needs to further transform the load data from a mechanical dimension into operable parameters in a physical space dimension. This allows for direct matching and filtering of related cargo based on spatial volume and stacking height. The equipment reads preset standard cargo equivalent density values ​​from the parameter configuration library. These density values ​​are weighted averages obtained from the mass-to-volume ratios of various types of cargo in the historical throughput data of the warehousing center. For each candidate support node, the equipment divides its load transfer sharing by the standard cargo equivalent density value to obtain the required lateral support volume for that node's location. This volume requirement represents the volume of cargo needed to provide the equivalent lateral support force required by the load transfer sharing if standard cargo of average density is used to fill the space in that location. Subsequently, the equipment queries the floor area dimensions of the corresponding bay for each candidate support node. This information is recorded in the cargo location database and represents the effective horizontal floor area of ​​the bay. The equipment divides the lateral support volume requirement of each node by the corresponding floor area dimension to obtain the logistics filling height for each candidate location. This height value is the core physical scale basis for determining whether a certain neighborhood can be effectively activated in subsequent steps. Only when the reserved available space in this location is sufficient to accommodate the stacking of goods no less than the logistics filling height, does this location have actual support and compensation capabilities.

[0088] In some embodiments, the conversion of load transfer sharing to logistics filling height can be achieved in several ways: Optionally, it can be achieved through a globally unified density conversion method. Specifically, all candidate support nodes are converted to volume using the same preset standard equivalent density value of goods, and then divided by their respective base area dimensions to obtain the logistics filling height. This method is simple to calculate and suitable for scenarios where the types of warehouse goods are relatively uniform. Optionally, it can also be achieved through a zone-differentiated density conversion method. Specifically, based on the historical loading density statistics of the warehouse zone where each candidate support node is located, the corresponding zone's regional equivalent density value is retrieved to replace the globally unified density for conversion. Since different zones may specifically store different types of goods, resulting in significant density differences, using regional density parameters can make the conversion result closer to the actual density level of the goods that may be filled in that location, thereby improving the accuracy of the logistics filling height. No limitations are imposed here.

[0089] S209. Candidate support nodes whose reserved available space scale is larger than the corresponding logistics filling height and are not occupied by the high-priority scheduling sequence are marked as target neighborhood orientation nodes with activation status.

[0090] Among them, the high-priority scheduling sequence refers to an ordered list of other cargo warehousing scheduling tasks with higher priority than the current lateral compensation task within the current scheduling cycle. These tasks enjoy priority access to cargo space and transportation routes due to their timeliness requirements or business priority settings.

[0091] Specifically, after calculating the logistics filling height for each candidate location, the cargo palletizing and scheduling equipment performs a dual-condition screening of candidate support nodes. The first screening condition is a space capacity sufficiency verification: the equipment compares the reserved available space scale extracted in step S206 for each candidate support node with the logistics filling height calculated for it in step S208. If the reserved available space scale of the node is greater than the corresponding logistics filling height, it means that the compartment has the physical space capacity to accommodate a sufficient amount of related cargo, and the node passes the first screening. If the reserved available space scale is less than or equal to the logistics filling height, it means that even if the remaining space of the compartment is completely filled, the minimum stacking height required for lateral support cannot be met, and the node is excluded due to insufficient space. The second screening criterion is the verification of scheduling resource availability: the device reads the high-priority scheduling sequence within the current scheduling period and checks one by one whether the cabin corresponding to the candidate support node that passed the first screening has been locked as the target cabin or traversed by a task in the high-priority scheduling sequence. If the cabin of the node does not appear in any task in the high-priority scheduling sequence, the node passes the second screening; if the cabin of the node has been occupied or reserved by a high-priority task, it is excluded to avoid resource contention with the high-priority task. Finally, candidate support nodes that pass both screenings are given an active status identifier and determined as target neighborhood orientation nodes.

[0092] In some embodiments, the screening and activation marking of candidate support nodes can be implemented in several ways: Optionally, a serial dual filtering method can be used, specifically by first traversing all candidate support nodes to perform spatial capacity screening, removing nodes that do not meet the height requirements to generate a first intermediate node set, and then querying the occupancy status of the high-priority scheduling sequence for each node in the first intermediate node set to further remove occupied nodes. The final set of remaining nodes is the target neighborhood orientation node, and it is uniformly marked with an activation status identifier. Optionally, a parallel dual-condition joint judgment method can also be used, specifically by simultaneously performing two checks on each candidate support node: spatial capacity comparison and high-priority scheduling sequence occupancy query. The node is marked as a target neighborhood orientation node only if both checks return a pass result. This method reduces the overall screening time by parallelizing the execution of the two checks. No limitation is made here.

[0093] S210. The position index coordinates, activation status flags and matching logistics filling heights of the target neighborhood orientation nodes are spatially encapsulated and mapped to obtain a three-dimensional spatial constraint matrix for limiting the constraint boundary, and the logistics filling height is determined as the target filling height of the corresponding orientation.

[0094] Among them, the location index coordinates uniquely identify the spatial orientation and distance relationship of each target neighborhood orientation node relative to the initial target cabin.

[0095] Specifically, after determining and marking the activation status of the target neighborhood nodes, the cargo palletizing and scheduling equipment integrates and encapsulates this discrete node information into a complete, structured three-dimensional spatial constraint matrix. The equipment determines the spatial dimension range of the matrix, which is determined by the extreme boundary of the position index coordinates of all target neighborhood nodes in the local load-bearing assessment coordinate system. Specifically, it takes the three-dimensional bounding box formed by the minimum and maximum values ​​of the coordinates of all nodes in the longitudinal, lateral, and vertical directions as the spatial coverage of the matrix. Within this three-dimensional bounding box, the equipment discretizes the grid using standard cargo cell sizes as units, generating a three-dimensional array structure. Each element of this array corresponds to a spatial grid position. For grid positions belonging to target neighborhood nodes, the equipment sets the activation status field of the element to active and writes the logistics filling height calculated for the node in step S208 into the target filling height field of the element, while also recording the position index coordinates of the node. For grid positions not belonging to target neighborhood nodes, the equipment sets the activation status field of the element to inactive and the target filling height field to zero.

[0096] In some embodiments, spatial relationship encapsulation mapping can be implemented in various ways to generate a three-dimensional spatial constraint matrix: Optionally, a dense three-dimensional array direct mapping method can be used. Specifically, a complete three-dimensional array memory space is allocated according to the number of grids in each direction in the local load assessment coordinate system. The position index coordinates of all target neighborhood orientation nodes are directly mapped to the row and column subscripts of the array and filled with the corresponding activation status and target filling height data. Inactive positions retain default zero values. This method has advantages in query efficiency when the number of nodes is large and the distribution is dense. Optionally, a sparse matrix storage method can also be used. Specifically, data records are created only for target neighborhood orientation nodes with activation status indicators. Each record contains three fields: position index coordinates, activation status indicator, and target filling height. All records are organized in a chain structure or hash index structure to form a sparsely represented three-dimensional spatial constraint matrix. This method can significantly save memory resources when the number of nodes is small and the distribution is sparse. No limitation is made here.

[0097] S211. Traverse the sequence of goods to be scheduled, and construct the envelope of the associated goods that match the activated neighborhood orientation in the three-dimensional spatial constraint matrix based on the corresponding neighborhood compartment to obtain the candidate loading matrix.

[0098] S212. When the similarity between the candidate loading matrix and the three-dimensional spatial constraint matrix reaches a preset threshold, the cargo to be loaded is scheduled to the initial target hold.

[0099] Steps S211 to S212 and Figure 1Steps S106 to S107 in the illustrated embodiment are similar and can be found in the descriptions of steps S106 to S107, which will not be repeated here.

[0100] In this embodiment, when planning the lateral support layout for the initial target compartment, the load compensation task can be differentiated based on the spatial proximity of each neighborhood to the initial target compartment. This allows the nearest neighborhood to bear a larger proportion of the support load while the far neighborhood bears a smaller proportion of the auxiliary support load. At the same time, by converting the load requirements in the mechanical dimension into directly operable logistics filling height parameters through two levels of bridges—equivalent density and bottom area—the technical effects of improving the structural balance of the neighborhood support layout and reducing the risk of resource conflicts between compensation scheduling tasks and high-priority tasks are achieved.

[0101] The following describes an exemplary cargo palletizing and scheduling device 300 provided in an embodiment of this application. Figure 3 This is an exemplary hardware structure diagram of the cargo palletizing and scheduling device 300 provided in this application embodiment.

[0102] In some embodiments, the palletizing and scheduling device 300 is a computer device or includes a computer device. The computer device includes a processor, memory, and a network interface connected via a system bus. The processor of the computer device provides computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database of the computer device stores data. The network interface of the computer device is used to communicate with other external terminals or servers via a network connection. In some embodiments, the network interface can be a wired network interface; in some embodiments, the network interface can also be a wireless network interface. When the computer program is executed by the processor, it implements the methods in the embodiments of this application.

[0103] Those skilled in the art will understand that Figure 3 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0104] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

[0105] As used in the above embodiments, depending on the context, the term "when..." can be interpreted as meaning "if...", "after...", "in response to determining...", or "in response to detecting...". Similarly, depending on the context, the phrase "when determining..." or "if (the stated condition or event) is interpreted as meaning "if determining...", "in response to determining...", "when (the stated condition or event) is detected", or "in response to detecting (the stated condition or event)".

[0106] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive), etc.

[0107] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

Claims

1. A method for scheduling ship cargo stacking, characterized in that, The method includes: Obtain the initial target cargo space, weight parameters, and packaging attribute identifiers of the cargo to be loaded; Upon receiving information indicating an abnormal state of deformation in the underlying cargo corresponding to the initial target compartment, the system determines whether the cargo to be loaded meets the preset lateral compensation preconditions based on the packaging attribute identifier. If the preconditions for lateral compensation are met, the weight parameters of the cargo to be loaded are calculated based on the remaining load capacity threshold of the initial target compartment, and the difference between the remaining load capacity threshold and the weight parameters of the cargo to be loaded is obtained to obtain the support deficit. Based on the support deficit, the corresponding spatial locking degree is determined. The spatial locking degree is used to characterize the topological constraint level required to limit the settlement and sideslip of the cargo to be loaded. Based on the spatial locking degree, a three-dimensional spatial constraint matrix is ​​generated with the initial target cabin as the center coordinate. The three-dimensional spatial constraint matrix is ​​used to define the activation state and target filling height of each neighboring orientation around the initial target cabin. Traverse the sequence of goods to be scheduled, and construct an envelope based on the corresponding neighborhood positions of the associated goods that match the activated neighborhood positions in the three-dimensional spatial constraint matrix to obtain a candidate loading matrix; When the similarity between the candidate loading matrix and the three-dimensional spatial constraint matrix reaches a preset threshold, the cargo to be loaded is scheduled to the initial target bay.

2. The method according to claim 1, characterized in that, The step of traversing the sequence of goods to be scheduled and constructing an envelope based on the corresponding neighborhood positions of the associated goods that match the activated neighborhood orientations in the three-dimensional spatial constraint matrix to obtain a candidate loading matrix specifically includes: Extract the 3D point cloud data of the neighboring compartments corresponding to the activated neighborhood orientation, and combine it with the ship's current initial stability height and initial center of gravity coordinates to construct an initial digital model of the ship's cargo. Traverse the sequence of goods to be scheduled and filter out multiple candidate associated goods whose physical dimensions match the remaining available space of the neighboring compartments and whose packaging attributes allow for stacking. The multiple candidate associated cargoes are virtually loaded into their corresponding neighboring cargo bays, and the predicted initial stability height and predicted center of gravity offset of the initial ship cargo digital model are calculated after each virtual loading. Candidate associated goods whose predicted initial stability height is higher than the preset minimum allowable height and whose predicted center of gravity offset is less than the preset offset threshold are designated as the associated goods. Based on the weight distribution characteristics and external dimensions of the associated cargo, a three-dimensional stacking array with topological support structure is generated in the corresponding neighboring compartment, and the candidate loading matrix containing spatial coordinates is determined based on the three-dimensional stacking array.

3. The method according to claim 2, characterized in that, The steps of virtually loading the multiple candidate associated cargoes into their corresponding neighboring cargo bays and calculating the predicted initial stability height and predicted center of gravity offset of the initial ship cargo digital model after each virtual loading specifically include: Obtain the weight, relative coordinates of the center of gravity, and three-dimensional absolute coordinates of the target virtual placement position of the candidate associated goods; Based on the weight and the three-dimensional absolute coordinates, the overall mass distribution matrix of the initial ship cargo digital model is updated using the spatial moment balance equation; Based on the updated overall mass distribution matrix, calculate the three-dimensional coordinates of the global center of gravity after virtual loading, and determine the Euclidean distance between the three-dimensional coordinates of the global center of gravity and the initial center of gravity coordinates as the predicted center of gravity offset; Obtain the ship's current displacement and heel angle, and combine them with the global center of gravity three-dimensional coordinates and preset ship line parameters to calculate the height of the heel center after virtual loading; The predicted initial stability height is obtained by subtracting the height of the tilt center from the vertical height component of the three-dimensional coordinates of the global center of gravity.

4. The method according to claim 1, characterized in that, The step of generating a three-dimensional spatial constraint matrix based on the spatial locking degree and with the initial target cabin as the center coordinate, wherein the three-dimensional spatial constraint matrix is ​​used to define the activation state of each neighboring orientation and the target filling height around the initial target cabin, specifically includes: A local load-bearing assessment coordinate system is established with the three-dimensional physical coordinates of the initial target cabin as the origin. The spatial locking degree includes the neighborhood diffusion radius characterizing the size of the influence circle and the topological node density requirement for lateral support. In the local load-bearing assessment coordinate system, adjacent cabin grids with Euclidean distances smaller than the neighborhood diffusion radius are identified as multiple candidate support nodes, and the current reserved available space scale of each candidate support node is extracted. Based on the support deficit and the distance parameters between each candidate support node and the origin, calculate the load transfer sharing amount corresponding to each candidate support node according to the distance weighting. Combining the preset standard cargo equivalent density, the load transfer sharing amount is converted into the corresponding lateral support volume requirement, and the lateral support volume requirement is converted into the logistics filling height of multiple candidate directions based on the bottom area size of each candidate support node. Candidate support nodes whose reserved available space scale is larger than the corresponding logistics filling height and are not occupied by the high-priority scheduling sequence are marked as target neighborhood orientation nodes with the activation status identifier. The location index coordinates of the target neighborhood orientation node, the activation status identifier, and the matching logistics filling height are spatially encapsulated and mapped to obtain the three-dimensional spatial constraint matrix used to define the constraint boundary, and the logistics filling height is determined as the target filling height of the corresponding orientation.

5. The method according to claim 4, characterized in that, The step of marking candidate support nodes whose reserved available space scale is larger than the corresponding logistics filling height and are not occupied by the high-priority scheduling sequence as target neighborhood orientation nodes with the activation status identifier specifically includes: Based on the loading and placement path required for each candidate support node whose reserved available space scale is greater than the corresponding logistics filling height, the expected placement time sequence plan and planned scheduling trajectory corresponding to each logistics cargo in the high-optimal scheduling sequence are obtained. Based on the expected entry timing plan and the planned scheduling trajectory, the motion trajectory occupancy space of the high-optimal scheduling sequence within a preset time window is constructed in the local load assessment coordinate system. The motion trajectory occupancy space is used to characterize the polygonal no-entry envelope area that is temporarily occupied by the robotic arm and cargo as it evolves over time. Calculate the spatiotemporal collision detection results of the space occupied by the loading path and the motion trajectory, and determine whether there is a three-dimensional spatial overlap interference volume under the same time slice; Candidate support nodes that generate the three-dimensional spatial overlapping interference volume and whose interference volume is greater than the preset collision avoidance safety tolerance are removed from the plurality of candidate support nodes to obtain the remaining candidate support nodes; The remaining candidate support nodes are marked as target neighborhood orientation nodes with the activated state.

6. The method according to claim 5, characterized in that, The step of calculating the spatiotemporal collision detection results of the space occupied by the loading path and the motion trajectory, and determining whether there is a three-dimensional spatial overlap interference volume under the same time slice, specifically includes: After dividing the preset time window into multiple equal-length discrete time sequence slices, an initial bounding box is generated for the loading path and motion trajectory sweep volume corresponding to each discrete time sequence slice through a preset geometric expansion algorithm. The initial bounding box is used to roughly define the spatial contour of the object in the current time slice. Traverse each discrete time series slice and calculate the spatial three-dimensional coordinate intersection state of the initial bounding box of the loading path and the initial bounding box of the motion trajectory sweep body under the same time series slice; The discrete time series slices that generate coordinate intersections are added to the potential collision detection queue, and the actual three-dimensional physical dimensions of the cargo to be loaded and the high-optimal scheduling sequence cargo at the corresponding time in the potential collision detection queue are determined. Based on the actual three-dimensional physical dimensions, spatial overlap calculation is performed on the region where coordinates intersect to obtain the target interference volume value, and the target interference volume value is determined as the three-dimensional spatial overlap interference volume under the corresponding time slice.

7. The method according to claim 1, characterized in that, The step of scheduling the cargo to be loaded to the initial target hold when the similarity between the candidate loading matrix and the three-dimensional spatial constraint matrix reaches a preset threshold specifically includes: Extract the outer coordinate set of the package topology of the associated cargo group in the candidate loading matrix, and the predefined inner contour boundary set of the retaining wall in the three-dimensional spatial constraint matrix. Calculate the spatial volume overlap rate of the outer coordinate set of the package topology and the inner contour boundary set of the retaining wall in the three-dimensional spatial matrix using a resampling algorithm. Determine the predicted physical contact surface between the associated cargo group and the cargo to be loaded; Extract the actual support orientation vector of the predicted physical contact surface, and calculate the spatial offset angle between the actual support orientation vector and the expected lateral support vector required to offset the deformation; The similarity is generated by weighting the spatial volume overlap occupancy rate and the spatial offset angle by assigning corresponding weighting parameters. When the similarity is determined to be greater than the preset threshold and the surrounding physical topology protection zone forms a closed loop, the cargo to be loaded is scheduled to the initial target compartment.

8. A cargo palletizing and scheduling device, characterized in that, The cargo palletizing and scheduling device includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code including computer instructions, and the one or more processors call the computer instructions to cause the cargo palletizing and scheduling device to perform the method as described in any one of claims 1-7.

9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1-7.

10. A computer-readable storage medium comprising instructions, characterized in that, When the instruction is executed on the cargo palletizing and scheduling equipment, the cargo palletizing and scheduling equipment performs the method as described in any one of claims 1-7.