Automated terminal ship container loading method, device, equipment and storage medium
By obtaining and grouping ship configuration information and container manifest information, and using simulated annealing algorithms to optimize the stowage plan, the inefficient stowage problem caused by manual operations in the existing technology is solved, and efficient and stable container stowage is achieved.
Patent Information
- Application Number
- CN202410479994.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-22
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-04-22
AI Technical Summary
In the existing technology, the ship container stowage process relies on manual operations, which results in low efficiency, long time consumption, and frequent container turning operations, affecting operational efficiency and stability.
By obtaining ship configuration information and container manifest information, grouping and establishing a stowage model, the simulated annealing algorithm is used to optimize the stowage plan to minimize the cost of rummaging operations, and generate a feasible container stowage plan.
It significantly improves the efficiency and stability of the ship stowage process, reduces the operating costs caused by container turning, and improves the overall operational efficiency.
Smart Images

Figure CN118115065B
Abstract
Description
Technical Field
[0001] The present application relates to the field of ship transportation technology, and in particular to a method, device, equipment and storage medium for loading containers on ships at an automated terminal. Background Art
[0002] Ship stowage plays a major role in loading and unloading operations. It is a core business of container terminal ship operations. The quality of the stowage plan will directly affect the operating efficiency of the quay crane. In current operations, the stowage process is very complex, with many factors to consider, large amounts of data, many restrictions and constraints, and strict time requirements.
[0003] In the related technology, the stowage personnel usually carry out stowage according to the list of containers to be loaded provided by the shipping company and the actual containers on site at the terminal yard. It is necessary to consider various production operation rules, reduce operation costs, and meet the overall interests of the terminal. This method mainly relies on the manual operation of the stowage personnel. When handling the stowage task of container ships, the process is quite time-consuming, and the processing efficiency of the stowage plan is directly related to the ship's stay time at the port, affecting the overall operation efficiency; and the manually arranged stowage plan often leads to more container turning operations in the subsequent unloading operation, which is less practical.
[0004] In summary, the technical problems existing in the relevant technologies need to be improved. Summary of the invention
[0005] The embodiments of the present application provide a method, device, equipment and storage medium for loading containers on ships at an automated terminal.
[0006] An aspect of an embodiment of the present application provides a method for loading containers on ships at an automated terminal, the method comprising:
[0007] Acquire configuration information of a target ship and container list information corresponding to the target ship; wherein the configuration information includes ship parameter information and bay information of the target ship; and the container list information includes unloading port information, size information, and weight information of each container to be loaded on the target ship;
[0008] According to the container position information and the container list information, each of the containers is grouped to obtain a plurality of container groups;
[0009] According to the configuration information and the container list information, a loading model of the container under multiple constraints is established with minimizing the cost of the container turning operation as the optimization objective function;
[0010] According to the container group, the loading model is iteratively solved by a simulated annealing algorithm to obtain a loading plan corresponding to the container.
[0011] On the other hand, an embodiment of the present application provides an automated terminal ship container loading device, the device comprising:
[0012] An acquisition unit, configured to acquire configuration information of a target ship and container list information corresponding to the target ship; wherein the configuration information includes ship parameter information and bay information of the target ship; and the container list information includes unloading port information, size information, and weight information of each container to be loaded on the target ship;
[0013] A grouping unit, configured to group each of the containers according to the container position information and the container list information to obtain a plurality of container groups;
[0014] An establishing unit, configured to establish a loading model of the container under multiple constraints according to the configuration information and the container list information, taking minimization of the cost of the container turning operation as the optimization objective function;
[0015] The processing unit is used to iteratively solve the loading model through a simulated annealing algorithm according to the container group to obtain a loading plan corresponding to the container.
[0016] On the other hand, an embodiment of the present application provides an electronic device, including a processor and a memory;
[0017] The memory is used to store computer programs;
[0018] The processor executes the computer program to implement the aforementioned automated terminal ship container loading method.
[0019] On the other hand, an embodiment of the present application provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is executed by a processor to implement the aforementioned automated terminal ship container loading method.
[0020] The embodiments of the present application include at least the following beneficial effects: the present application provides a method, device, equipment and storage medium for loading containers of an automated terminal ship, and obtains the configuration information of a target ship and the container list information corresponding to the target ship; wherein the configuration information includes the ship parameter information and the bay information of the target ship; the container list information includes the unloading port information, size information and weight information of each container to be loaded by the target ship; according to the bay information and the container list information, each of the containers is grouped to obtain multiple container groups; according to the configuration information and the container list information, the cost of the container turning operation is minimized as the optimization objective function, and a loading model of the container under multiple constraints is established; according to the container group, the loading model is iteratively solved by a simulated annealing algorithm to obtain the loading scheme corresponding to the container. The method can generate a feasible container loading scheme in a short time, and minimize the operating cost caused by the container turning, which can significantly improve the efficiency of the ship loading process and the stability of the ship operation, and has better practicality. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The accompanying drawings are used to provide further understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.
[0022] Figure 1 A schematic diagram of an implementation environment of an automated terminal ship container stowage method provided in an embodiment of the present application;
[0023] Figure 2 A schematic diagram of a process flow of an automated terminal ship container stowage method provided in an embodiment of the present application;
[0024] Figure 3 The present invention is a flowchart of a specific implementation of an automated terminal ship container loading method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. They are only examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the attached claims.
[0026] It is understood that the terms "first", "second", etc. used in this application can be used to describe various concepts in this article, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. For example, without departing from the scope of the embodiment of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination".
[0027] The terms "at least one", "multiple", "each", "any", etc. used in this application, at least one includes one, two or more, multiple includes two or more, each refers to each of the corresponding multiple, and any refers to any one of the multiple.
[0028] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0029] Ship stowage plays a major role in loading and unloading operations. It is a core business of container terminal ship operations. The quality of the stowage plan will directly affect the operating efficiency of the quay crane. In current operations, the stowage process is very complex, with many factors to consider, large amounts of data, many restrictions and constraints, and strict time requirements.
[0030] In the related technology, the stowage personnel usually carry out stowage according to the list of containers to be loaded provided by the shipping company and the actual containers on site at the terminal yard. It is necessary to consider various production operation rules, reduce operation costs, and meet the overall interests of the terminal. This method mainly relies on the manual operation of the stowage personnel. When handling the stowage task of container ships, the process is quite time-consuming, and the processing efficiency of the stowage plan is directly related to the ship's stay time at the port, affecting the overall operation efficiency; and the manually arranged stowage plan often leads to more container turning operations in the subsequent unloading operation, which is less practical.
[0031] In view of this, an automated terminal ship container loading method, device, equipment and storage medium are provided in the embodiments of the present application. The method can generate a feasible container loading plan in a short time and minimize the operating costs caused by container turnover. It can significantly improve the efficiency of the ship loading process and the stability of the ship operation, and has better practicality.
[0032] The specific implementation of the embodiment of the present application is described in detail below in conjunction with the accompanying drawings. First, an automated terminal ship container loading method provided in the embodiment of the present application is described in conjunction with the accompanying drawings.
[0033] Please refer to Figure 1 , Figure 1 The schematic diagram of the implementation environment of an automated terminal ship container stowage method provided in the embodiment of the present application is shown. In the implementation environment, the main software and hardware entities involved include a terminal device 110 and a backend server 120. The terminal device 110 and the backend server 120 are connected in communication.
[0034] Specifically, the automated terminal ship container loading method provided in the embodiments of the present application can be executed solely on the terminal device 110 side, or solely on the background server 120 side, or based on data interaction between the terminal device 110 and the background server 120.
[0035] Among them, the terminal device 110 of the above embodiment may include a mobile phone, a computer, an intelligent voice interaction device, a smart home appliance, a vehicle terminal, an aircraft, etc., but is not limited thereto.
[0036] The backend server 120 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It may also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms.
[0037] In addition, the backend server 120 may also be a node server in the blockchain network.
[0038] The terminal device 110 and the backend server 120 may establish a communication connection through a wireless network or a wired network. The wireless network or wired network uses standard communication technology and / or protocols, and the network may be set to the Internet, or any other network, such as but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a private network or any combination of a virtual private network. Moreover, the above-mentioned software and hardware entities may use the same communication connection mode or different communication connection modes, and this application does not impose any specific restrictions on this.
[0039] Of course, it is understandable that Figure 1 The implementation environment in the embodiment of the present application is only some optional application scenarios of the automated terminal ship container loading method provided in the embodiment of the present application, and the actual application is not fixed. Figure 1 The hardware and software environment shown.
[0040] Below, in combination with the above description of the implementation environment, an automated terminal ship container loading method provided in an embodiment of the present application is introduced and explained in detail.
[0041] like Figure 2 As shown, in the embodiment of the present application, a method for loading containers on a ship at an automated terminal is provided. The method for loading containers on a ship at an automated terminal can be applied to Figure 1 In the terminal device 110 or the backend server 120 shown. Figure 2 The automated terminal ship container stowage method provided in the embodiment of the present application specifically includes but is not limited to steps 210 to 240:
[0042] Step 210: Acquire configuration information of a target ship and container list information corresponding to the target ship; wherein the configuration information includes ship parameter information and bay information of the target ship; and the container list information includes unloading port information, size information, and weight information of each container to be loaded on the target ship.
[0043] In this step, when performing the loading and dispatching of the ship container, first, the ship that needs to be loaded can be determined, and in the embodiment of the present application, it is recorded as the target ship. Then the configuration information of the target ship can be obtained, for example, it can include the ship parameter information and bay information of the target ship, wherein the ship parameter information can mainly include the structural parameters, weight parameters and other data of the target ship, and the bay information can include the number, number, location and container capacity of the bay of the target ship, etc., and the present application does not limit this.
[0044] In this step, in addition to obtaining the configuration information of the target ship, the container list information corresponding to the target ship is also obtained. The container list information refers to the information related to the containers that the target ship needs to load this time, such as the unloading port information, size information and weight information of each container, where the unloading port information refers to where the container is unloaded, which may include the name, location or code information of the unloading port; the size information refers to the external dimensions of the container, which can be expressed by length, width and height. Generally speaking, the commonly used container sizes include 20 feet, 40 feet and other types; the weight information can be the total weight of the container and the cargo inside it.
[0045] It is understandable that the above configuration information and container list information can be obtained from the relevant shipping system or entered by the operator, and the present application does not limit the specific acquisition method. For example, when obtaining the container list information corresponding to the target ship, the unique identification information corresponding to the target ship can be queried, and then the container list information corresponding to the target ship can be obtained according to the unique identification information. The unique identification information here can be a code composed of numbers, characters, etc., or text information, and the present application does not limit this.
[0046] Step 220: group the containers according to the container position information and the container list information to obtain a plurality of container groups;
[0047] In this step, after obtaining the above configuration information and container list information, the containers can be grouped according to the bay information and container list information therein to obtain multiple container groups. Specifically, the containers can be grouped according to the number of bays of the target ship, and each container group corresponds to a bay of the target ship. In this way, the initial solution of the relationship between the container group and the ship bay can be directly formed, which can greatly improve the efficiency of the automated terminal ship container loading and dispatching in the future.
[0048] Specifically, in some embodiments, the containers are grouped according to the container position information and the container list information to obtain a plurality of container groups, including:
[0049] Determining a first number of the bay position of the target ship according to the bay position information;
[0050] Create a first number of container sets;
[0051] The unloading port information of each container is queried according to the container list information, and the containers corresponding to the same unloading port information are evenly distributed to different container sets to obtain the container group.
[0052] In the embodiment of the present application, when grouping containers, the number of bays of the target ship can be determined according to the bay information, which is recorded as the first number. Then, a container set of the first number can be established, and the unloading port information of each container can be queried according to the container list information, and the containers corresponding to the same unloading port information can be evenly distributed to different container sets to obtain container groups. For example, the number of container sets currently established is 5. According to the container list information query, it is found that there are 20 containers corresponding to the same unloading port. Then, these 20 containers can be evenly distributed to each container set, and each container set corresponds to four containers unloaded at the unloading port. In this way, containers of each destination (unloading port) will be evenly distributed to each container group, and containers from different destinations can be evenly distributed in each bay as much as possible. When performing unloading operations later, different bays can be started at the same time, which is conducive to improving the unloading efficiency of containers.
[0053] Step 230: Based on the configuration information and the container list information, a loading model of the container under multiple constraints is established with minimization of the cost of the container turning operation as the optimization objective function;
[0054] In this step, a container loading model can be established based on the configuration information and container list information. Specifically, some constraints of the configuration model are first considered. When loading containers, it is necessary to ensure that the hull can operate smoothly and safely. The stability index of the ship is usually the metacentric height (GM), the lateral stability index is the tilt angle ( ), longitudinal stability index, and trim. Among them, the metacentric height can be calculated using the following formula:
[0055]
[0056] in, It indicates the height from the metacenter of the ship to the bottom of the ship. Indicates the height from the center of gravity of the ship to the bottom of the ship.
[0057] Tilt Angle The trim is caused by the uneven distribution of containers on the left and right sides of the ship, and the trim is caused by the draft difference between the bow and stern of the ship. The intersection of the mid-transverse section of the ship, the mid-longitudinal section and the keel baseline plane is used as the coordinate origin, and the x, y, and z axes are obtained by the intersection of the three planes, thereby determining the coordinates of the position of the ship, containers, etc. It is expressed as the weight of each container, starting from the bow, port side, and the first row, first column, and first floor in the cabin. During the container loading and unloading process, the stability of the ship will change. The displacement of the ship after loading and unloading containers is expressed as:
[0058]
[0059] In the formula, Expressed as the ship's own displacement, It is the displacement of the ship after loading and unloading containers, and c is the container number on the ship.
[0060] Then according to the moment composition theorem, the coordinates of the center of gravity of the ship after loading and unloading containers can be calculated as:
[0061]
[0062]
[0063]
[0064] In the formula, Indicates the original center of gravity of the ship before loading and unloading containers. Indicates the combined center of gravity of the ship after loading and unloading containers. Expressed as the weight of each container, Indicates the longitudinal, transverse and vertical distances of the center of gravity of the container. c is the container number on the ship. The total weight of the oil and water tank load and the ship constant is G. are their combined center of gravity coordinates, BW represents ballast water, are their combined center of gravity coordinates respectively. In order to ensure the stability of the ship during loading containers and sailing, it is necessary to ensure that the ship as a whole meets the stability requirements. This requires that the transverse and longitudinal center of gravity must be maintained within the safety limit to prevent the ship from tilting or capsizing and other unstable phenomena, ensuring the safety of personnel and cargo.
[0065] In addition, during the ship stowage process, container flipping often results from improper container placement, including mismatch between container type and ship slot, unbalanced weight of containers placed up and down, and unreasonable placement of containers at destinations. In order to effectively address these issues, a high-quality stowage plan should be able to generate feasible solutions in a short period of time and minimize the operating costs caused by container flipping. By taking such measures, the efficiency and stability of the ship stowage process can be significantly improved.
[0066] In the embodiment of the present application, before establishing the constraint conditions and the objective function, some of the parameters involved are first defined as follows:
[0067] The set of all ports is denoted as N, and the set of ports for loading operations is denoted as The port number for loading is i, and the port number for unloading is , the number of the port where the unloading operation is performed is denoted by j, the set of containers is denoted by Q, the number of each container is denoted by c, the set of ship bays is denoted by B, the number of bays is denoted by b, the set of ship bay column numbers is denoted by R, the number of each column number is denoted by r, the set of ship bay layers is denoted by T, the number of each layer is denoted by t, the set of ship slots is denoted by P, and the number of each slot is denoted by p. Since a slot can hold a 40-foot container or two 20-foot containers, a slot can also have two positions. The set of slot position numbers is denoted by X, and the single slot position number is denoted by x, which can be 1 or 2. The distance of the bay from the centerline of the ship is denoted by The distance between the container and the centerline of the ship is recorded as , the longitudinal center of gravity limit is recorded as , the lateral center of gravity limit is recorded as , the operation cost of incorrect stacking and turning boxes is recorded as , the unloading operation cost is recorded as , the operating cost of the bay used is recorded as s represents the size of the container, which can generally be 20 feet or 40 feet, and w represents the weight of the container. Therefore, the container can be expressed as . It can be said that a container of size 20 feet and weight w is loaded at port i and unloaded at port j. It can be expressed as being located at the bay position -List -layer The box space.
[0068] In the embodiment of the present application, for a container with a size of 40 feet, it can occupy a row of bays exclusively, so It can indicate that a 40-foot container is in the port Load, place in container position p, at the port For a 20-foot container, two rows of space are used, so It can indicate that a 20-foot container is in the port Load, place in slot p, slot number x, at port uninstall. Indicates at the port A 20-foot container is being moved. Indicates at the port A 40-foot container is being moved. Indicates port Empty container space after operation.
[0069] In the embodiment of the present application, an objective function can be established to minimize the cost of the box turning operation, which can be expressed as:
[0070]
[0071] In the formula, Indicates the incorrect stacking of container c; In the rth column, which is represented by the bay position, there are containers that need to be unloaded at port j; This means that the rth column of the bay is not empty. , , Defined as , and The above parameters , and , respectively representing the operating costs of the container when it needs to adjust its position, when the container in the current bay position needs to be unloaded, and when the current bay position is occupied. It is understandable that in the case of unreasonable container placement, it is necessary to perform a container turning operation; when a container needs to be unloaded, the upper container may need to be moved; if there is a non-empty stack, it will cause a waste of resources and the container needs to be moved to fill the vacancy. Therefore, the above parameters can cover the costs of various types of container turning operations. In the embodiment of the present application, , , The size can be set according to the requirements, and this application does not impose any restrictions on this.
[0072] In the embodiment of the present application, in order to ensure that the loading scheme represented by the objective function is feasible, some necessary constraints need to be imposed on it. Specifically, these constraints may include container placement constraints, safety constraints, unloading port sequence constraints, and loading and unloading process constraints.
[0073] Specifically, the constraints in the embodiments of the present application can be expressed as:
[0074]
[0075]
[0076] Formula (7) and Formula (8) belong to the container placement constraints. They require that all containers cannot be placed in the air. The normal loading process is that the containers are loaded from bottom to top in the row of ship bays.
[0077]
[0078]
[0079] Formula (9) and Formula (10) belong to container placement constraints, which require that the same container cannot be placed in two locations on the ship at the same time.
[0080]
[0081]
[0082] Formula (11) and Formula (12) belong to the container placement constraints. They indicate that the location where the container is placed must meet the requirements of the container slot. In a container slot, either one 40-foot container or two 20-foot containers can be placed.
[0083]
[0084] Formula (13) belongs to the container placement constraint, which restricts that only another 40-foot container can be stacked under a 40-foot container, or two 20-foot containers can be stacked at the same time. This is an important safety criterion for container stacking.
[0085]
[0086]
[0087]
[0088] Formulas (14)-(16) belong to container placement constraints, which require that heavier containers should be placed under lighter containers. For example, if two 20-foot containers are placed under a 40-foot container, the total weight of the two 20-foot containers below should also be heavier.
[0089]
[0090]
[0091] Formula (17) and Formula (18) belong to the order constraints of the unloading port. They clarify the destination requirements of the containers after they are placed, that is, the destination of the upper container should be closer to the destination of the lower container. This regulation helps the subsequent terminals reduce the frequency of container turning operations when loading and unloading containers, thereby improving the overall operational efficiency.
[0092]
[0093]
[0094] Formula (19) and Formula (20) are safety constraints, which respectively specify the longitudinal and transverse stability requirements of the container on the ship in detail to ensure navigation safety.
[0095]
[0096]
[0097]
[0098]
[0099] Formulas (21)-(24) belong to the loading and unloading process constraints. They represent the restrictions on the container during loading and unloading to ensure the effectiveness of the operation.
[0100]
[0101]
[0102] The container stacking situation can be modeled using formulas (25) and (26).
[0103]
[0104]
[0105] Formula (27) and Formula (28) indicate whether the ship's bay space is occupied and the vacant space after the container is unloaded.
[0106] Step 240: According to the container group, the loading model is iteratively solved by a simulated annealing algorithm to obtain a loading plan corresponding to the container.
[0107] In this step, after the loading model is established, the loading model can be iteratively solved by the simulated annealing algorithm according to the container group to obtain the corresponding configuration plan of the container. The simulated annealing algorithm is a heuristic optimization algorithm used to find the optimal solution in the search space. The algorithm is inspired by the solid annealing process. By simulating the behavior of solid materials in the annealing process, the temperature is gradually reduced to reduce the energy, so as to find the state with the lowest energy.
[0108] Specifically, in some embodiments, the loading model is iteratively solved by a simulated annealing algorithm according to the container group to obtain a loading plan corresponding to the container, including:
[0109] According to the unloading port information, the containers in each of the container groups are sorted to obtain an initial solution of the loading plan;
[0110] Randomly modifying the order of containers in the container group to obtain a new optimization solution;
[0111] Detecting whether the optimization solution satisfies the multiple constraints and whether the objective function value under the optimization solution is reduced relative to the previous solution;
[0112] If the optimization solution satisfies the multiple constraints and the objective function value under the optimization solution is reduced relative to the previous solution, it is determined whether the current iteration parameters meet the predetermined completion conditions;
[0113] If the current iteration parameters meet the predetermined completion conditions, the loading scheme corresponding to the container is determined according to the current solution.
[0114] Reference Figure 3 , Figure 3 The flowchart of a specific implementation of a method for loading containers of an automated terminal ship provided in an embodiment of the present application is shown. In the embodiment of the present application, after the containers are grouped, first, the containers in each container group can be sorted according to the destination port according to the unloading port information, and the destination port is placed at the bottom as much as possible, so that an initial solution can be obtained, and the containers in each container group in the initial solution can be placed in a bay according to the sorting order. Then, the simulated annealing algorithm can be used for iterative solution, for example, the container sorting in the container group can be randomly modified, and such operation may cause the container placement constraints, safety constraints, etc. involved in the container to change, and the objective function value may also change. In the embodiment of the present application, the randomly modified container sorting can be used as a new optimization solution to detect whether the optimization solution meets the set multiple constraints. If it is satisfied, it means that the optimization solution is feasible; if it is not satisfied, it means that the optimization solution is not feasible, and the step of randomly modifying the container sorting in the container group to obtain a new optimization solution can be returned. If the optimization solution is feasible, it can be further determined whether the objective function value under the optimization solution is reduced, that is, whether the cost of turning over the container calculated using the optimization solution is further reduced relative to the currently obtained lowest cost of turning over the container. If so, it means that the optimization solution is a better choice. At this time, the optimization solution can be accepted according to the set probability, and then it can be determined whether the current iteration parameters meet the predetermined completion conditions. If so, the corresponding loading plan for the container is determined according to the current solution. Of course, in some cases, the objective function value under the optimization solution may not be reduced. In this case, it means that the optimization solution has increased the cost of turning over the container and is not a better choice. Therefore, it can be returned to execute the step of randomly modifying the container sorting in the container group to obtain a new optimization solution.
[0115] In an embodiment of the present application, for the predetermined completion condition corresponding to the simulated annealing algorithm, a preset number of iterations or a threshold value of the algorithm's running time can be pre-set, and when judging whether the current iteration parameters meet the predetermined completion condition, the current number of iterations and the algorithm execution time can be detected. If the number of iterations reaches the preset number, the loading scheme corresponding to the container can be determined based on the current solution; if the algorithm execution time reaches the running time threshold, the loading scheme corresponding to the container can also be determined based on the current solution. If the number of iterations does not reach the preset number and the algorithm execution time does not reach the running time threshold, it means that the current iteration parameters do not meet the predetermined completion condition, and the step of returning to randomly modify the container sorting within the container group to obtain a new optimization solution can be performed.
[0116] The present application also provides an automated terminal ship container loading device, the device comprising:
[0117] An acquisition unit, configured to acquire configuration information of a target ship and container list information corresponding to the target ship; wherein the configuration information includes ship parameter information and bay information of the target ship; and the container list information includes unloading port information, size information, and weight information of each container to be loaded on the target ship;
[0118] A grouping unit, configured to group each of the containers according to the container position information and the container list information to obtain a plurality of container groups;
[0119] An establishing unit, configured to establish a loading model of the container under multiple constraints according to the configuration information and the container list information, taking minimization of the cost of the container turning operation as the optimization objective function;
[0120] The processing unit is used to iteratively solve the loading model through a simulated annealing algorithm according to the container group to obtain a loading plan corresponding to the container.
[0121] It is understandable that if Figure 2 The contents of the automated terminal ship container stowage method shown in the figure are applicable to the present device embodiment, and the functions specifically implemented by the present device embodiment are similar to those in the above-mentioned Figure 2 The automated terminal ship container stowage method shown is the same as that shown in FIG. Figure 2 The beneficial effects achieved by the automated terminal ship container stowage method shown are also the same.
[0122] The present application also discloses an electronic device, including:
[0123] at least one processor;
[0124] at least one memory for storing at least one program;
[0125] When at least one program is executed by at least one processor, the at least one processor implements Figure 2 The automated terminal ship container loading method is shown.
[0126] It is understandable that if Figure 2 The contents of the automated terminal ship container loading method shown in the figure are all applicable to the electronic device embodiment, and the functions specifically implemented by the electronic device embodiment are similar to those in the example shown in the figure. Figure 2 The automated terminal ship container stowage method shown is the same as that shown in FIG. Figure 2 The beneficial effects achieved by the automated terminal ship container stowage method shown are also the same.
[0127] The electronic device of the embodiment of the present application may be a terminal device, a computer device or a server device.
[0128] The present application also discloses a computer-readable storage medium in which a program executable by a processor is stored. When the program executable by the processor is executed by the processor, it is used to implement the following Figure 2 The automated terminal ship container loading method is shown.
[0129] Understandably, Figure 2 The contents of the automated terminal ship container stowage method shown in the figure are applicable to the computer-readable storage medium embodiment, and the functions specifically implemented by the computer-readable storage medium embodiment are the same as those in the embodiment of FIG. Figure 2 The automated terminal container stowage method shown is the same as that of Figure 2 The beneficial effects achieved by the automated terminal ship container stowage method shown are also the same.
[0130] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the application is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part described as a larger operation is performed independently.
[0131] In addition, although the present application is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features can be integrated into a single physical device and / or software module, or one or more functions and / or features can be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present application. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional techniques of the engineer. Therefore, those skilled in the art can implement the present application set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present application, which is determined by the full scope of the attached claims and their equivalents.
[0132] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.
[0133] The logic and / or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be embodied in any computer-readable storage medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, apparatus, or device and execute instructions), or in conjunction with such instruction execution systems, apparatuses, or devices. For purposes of this specification, a "computer-readable storage medium" may be any device that can contain, store, communicate, propagate, or transmit a program for use by an instruction execution system, apparatus, or device, or in conjunction with such instruction execution systems, apparatuses, or devices.
[0134] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0135] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0136] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.
[0137] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the embodiments. Technical personnel familiar with the field can make various equivalent modifications or substitutions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.
Claims
1. A method for loading containers on ships at an automated terminal, characterized in that: The method comprises: Acquire configuration information of a target ship and container list information corresponding to the target ship; wherein the configuration information includes ship parameter information and bay information of the target ship; and the container list information includes unloading port information, size information, and weight information of each container to be loaded on the target ship; According to the container position information and the container list information, each of the containers is grouped to obtain a plurality of container groups; According to the configuration information and the container list information, a loading model of the container under multiple constraints is established with minimizing the cost of the container turning operation as the optimization objective function; wherein the constraints include container placement constraints, and the container placement constraints include the following formula: In the formula, the set of containers is denoted as Q, the number of each container is denoted as c, the set of all ports is denoted as N, the number of the port where the loading operation is performed is denoted as i, the set of ship bays is denoted as B, the number of the bays is denoted as b, the set of ship bay column numbers is denoted as R, the number of each column number is denoted as r, the set of ship bay layers is denoted as T, the number of each layer is denoted as t, the set of ship slots is denoted as P, the number of each slot is denoted as p, the set of slot position numbers is denoted as X, and the number of a single slot position is denoted by x, where x is 1 or 2. Indicates that a 20-foot container is in the port Load, place in the bth bay, rth row, tth layer, pth box position, the box position number is x; Indicates that a 20-foot container is in the port Load and place it in the bth bay, rth column, t+1th layer, pth box position, the box position number is x; Indicates the weight of the container; In the formula, Indicates that a 40-foot container is in port Load, place in the bth bay, rth row, tth layer, pth box position, the box position number is x; Indicates that a 40-foot container is in port Load and place it in the bth bay, rth column, t+1th layer, pth box position, the box position number is x; According to the container group, the loading model is iteratively solved by a simulated annealing algorithm to obtain a loading plan corresponding to the container; The containers are grouped according to the container position information and the container list information to obtain a plurality of container groups, including: Determining a first number of the bay position of the target ship according to the bay position information; Create a first number of container sets; The unloading port information of each container is queried according to the container list information, and the containers corresponding to the same unloading port information are evenly distributed to different container sets to obtain the container group.
2. The automated terminal ship container stowage method according to claim 1, characterized in that: The container list information corresponding to the target ship is obtained by the following steps: Query the unique identification information corresponding to the target ship; According to the unique identification information, the container list information corresponding to the target ship is obtained.
3. The method for loading containers on automated wharf ships according to claim 1, characterized in that: The constraints also include safety constraints, unloading port sequence constraints, and loading and unloading process constraints.
4. The method for loading containers on automated wharf ships according to claim 1, characterized in that: The method of iteratively solving the loading model by using a simulated annealing algorithm according to the container group to obtain a loading plan corresponding to the container includes: According to the unloading port information, the containers in each of the container groups are sorted to obtain an initial solution of the loading plan; Randomly modifying the order of containers in the container group to obtain a new optimization solution; Detecting whether the optimization solution satisfies the multiple constraints and whether the objective function value under the optimization solution is reduced; If the optimization solution satisfies the multiple constraints and the objective function value under the optimization solution decreases, determining whether the current iteration parameters meet the predetermined completion conditions; If the current iteration parameters meet the predetermined completion conditions, the loading scheme corresponding to the container is determined according to the current solution.
5. The method for loading containers on automated wharf ships according to claim 4, characterized in that: The step of iteratively solving the loading model by a simulated annealing algorithm according to the container group to obtain a loading plan corresponding to the container further includes: If the optimization solution does not satisfy the multiple constraints, or the objective function value under the optimization solution does not decrease, or the current iteration parameter does not satisfy the predetermined completion condition, return to the step of randomly modifying the container sorting in the container group to obtain a new optimization solution.
6. The method for loading containers on automated wharf ships according to claim 4, characterized in that: If the current iteration parameter satisfies the predetermined completion condition, determining the loading scheme corresponding to the container according to the current solution includes: Detect the current number of iterations and algorithm execution time; If the number of iterations reaches a preset number, or if the execution time of the algorithm reaches a running time threshold, a loading plan corresponding to the container is determined according to the current solution.
7. An automated terminal ship container loading device, characterized in that: The device comprises: An acquisition unit, configured to acquire configuration information of a target ship and container list information corresponding to the target ship; wherein the configuration information includes ship parameter information and bay information of the target ship; and the container list information includes unloading port information, size information, and weight information of each container to be loaded on the target ship; A grouping unit, configured to group each of the containers according to the container position information and the container list information to obtain a plurality of container groups; The establishing unit is used to establish the container loading model under multiple constraints according to the configuration information and the container list information, taking minimizing the cost of the container turning operation as the optimization objective function; wherein the constraint condition includes a container placement constraint, and the container placement constraint includes the following formula: In the formula, the set of containers is denoted as Q, the number of each container is denoted as c, the set of all ports is denoted as N, the number of the port where the loading operation is performed is denoted as i, the set of ship bays is denoted as B, the number of the bays is denoted as b, the set of ship bay column numbers is denoted as R, the number of each column number is denoted as r, the set of ship bay layers is denoted as T, the number of each layer is denoted as t, the set of ship slots is denoted as P, the number of each slot is denoted as p, the set of slot position numbers is denoted as X, and the number of a single slot position is denoted by x, where x is 1 or 2. Indicates that a 20-foot container is in the port Load, place in the bth bay, rth row, tth layer, pth box position, the box position number is x; Indicates that a 20-foot container is in the port Load and place it in the bth bay, rth column, t+1th layer, pth box position, the box position number is x; Indicates the weight of the container; In the formula, Indicates that a 40-foot container is in port Load, place in the bth bay, rth row, tth layer, pth box position, the box position number is x; Indicates that a 40-foot container is in the port Load and place it in the bth bay, rth column, t+1th layer, pth box position, the box position number is x; A processing unit, configured to iteratively solve the loading model by a simulated annealing algorithm according to the container group to obtain a loading plan corresponding to the container; The grouping unit is specifically used for: Determining a first number of the bay position of the target ship according to the bay position information; Create a first number of container sets; The unloading port information of each container is queried according to the container list information, and the containers corresponding to the same unloading port information are evenly distributed to different container sets to obtain the container group.
8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
