Automatic dividing method and system for ship pallets, electronic equipment and storage medium
By automatically obtaining and processing production plan and pallet information, generating and applying constraints, intelligent division of ship pallets is realized, solving the existing problems of low efficiency and error-prone problems, and improving production efficiency and resource utilization.
Patent Information
- Application Number
- CN202411634450.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-02-18
AI Technical Summary
In the existing ship manufacturing process, the partition and distribution of pallets rely on manual operations, which are inefficient, error-prone and lack real-time adjustment capabilities, and cannot meet the efficient, accurate and flexible needs of modern ship manufacturing.
It provides an automatic division method for ship pallets, and generates part constraints and ship pallet constraints by obtaining the part information and ship pallet information related to the current cutting instructions in the production plan, and intelligently match and divide the parts based on these conditions.
It improves the real-time adjustment capability of ship pallet division, reduces errors and time consumption caused by manual operations, and achieves more efficient production efficiency and resource utilization.
Smart Images

Figure CN119475596A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of shipbuilding, and in particular to an automatic division method, system, electronic equipment and storage medium for ship pallets. Background Art
[0002] In the existing shipbuilding process, the division and allocation of pallets mainly rely on manual operations. The design department provides cutting instructions, cutting layouts, assembly trees and three-dimensional information of parts, and the production department integrates this data according to the production plan list to generate a parts list containing part size, weight, material and processing requirements. Operators manually divide the parts into pallets based on this information, and also need to consider site conditions and transportation routes before loading and marking the pallets. However, this manual method is inefficient, prone to errors, and lacks real-time adjustment capabilities. When manually dividing pallets, they often cannot fully combine the priority, urgency and actual site constraints of the production plan, resulting in unreasonable allocation strategies and insufficient use of design data, which cannot meet the efficiency, accuracy and flexibility requirements of modern shipbuilding. Summary of the invention
[0003] The technical problem to be solved by the present disclosure is to overcome the defects of low efficiency, easy error and lack of real-time adjustment capability of manual pallet division in the prior art, and to provide an automatic division method, system, electronic device and storage medium for ship pallets.
[0004] The present invention solves the above technical problems through the following technical solutions:
[0005] In a first aspect, a method for automatically dividing a ship pallet is provided, the method comprising the following steps:
[0006] In response to a current cutting instruction in the production plan, obtaining part-related information and ship pallet information related to the current cutting instruction;
[0007] Generating part constraints according to the part-related information, wherein the part constraints are used to constrain the order in which the parts are simulated and placed on the ship pallet;
[0008] Generate a ship pallet constraint condition according to the ship pallet information, wherein the ship pallet constraint condition is used to constrain the upper limit of the parts placed on the ship pallet;
[0009] The parts are divided into ship pallets according to the part constraint conditions and the ship pallet constraint conditions to obtain a ship pallet division result.
[0010] Optionally, the part-related information includes the remaining days of the production plan, the part volume, and the part weight, and the part constraint condition is a priority constraint condition;
[0011] The step of generating part constraint conditions according to the part related information specifically includes:
[0012] The priority of the part is calculated according to the remaining days of the production plan, the volume of the part and the weight corresponding to the weight of the part;
[0013] Sorting the order of the simulated placement of the parts according to the priority;
[0014] The priority is determined by the numerical value calculated by the following formula:
[0015]
[0016] Among them, T is the remaining days of production plan, V is the volume of parts, W is the weight of parts, is the weight corresponding to the remaining days of the production plan, is the weight corresponding to the part volume, is the weight corresponding to the weight of the part.
[0017] Optionally, the ship pallet information includes the load-bearing capacity and volume of the ship pallet;
[0018] The step of generating ship pallet constraint conditions according to the ship pallet information specifically includes:
[0019] generating a first ship pallet constraint condition according to the load-bearing condition; and / or generating a second ship pallet constraint condition according to the volume;
[0020] Among them, the first ship pallet constraint condition is used to constrain the upper limit of the weight of the parts placed on the ship pallet, and the second ship pallet constraint condition is used to constrain the upper limit of the volume of the parts placed on the ship pallet.
[0021] Optionally, the step of dividing the parts into respective ship pallets according to the part constraint conditions and the ship pallet constraint conditions specifically comprises:
[0022] In response to the creation of the ship pallet list, the parts are sequentially simulated and placed in the current ship pallet according to the part constraint conditions;
[0023] In response to the current ship pallet being unable to place the part, simulating placement of the part in a next ship pallet.
[0024] Optionally, the automatic division method further includes:
[0025] Detecting whether there is remaining space on the ship pallet in the ship pallet list, and obtaining a detection result;
[0026] In response to the detection result, it is indicated that there is remaining space on the target ship pallet;
[0027] Query other ship pallets for target parts that match the remaining space, and move the target parts from the current ship pallet to the target ship pallet.
[0028] Optionally, the automatic division method further includes:
[0029] Acquire workshop information related to the current cutting instruction, and obtain workshop constraint conditions according to the workshop information;
[0030] Simulate the allocation of the quantity of the ship pallets at different locations in the workshop according to the workshop constraints;
[0031] The step of dividing the parts into respective ship pallets according to the part constraint conditions and the ship pallet constraint conditions to obtain the ship pallet division result specifically comprises:
[0032] The ship pallet division result is obtained according to the part constraint condition, the ship pallet constraint condition and the workshop constraint condition.
[0033] In a second aspect, a system for automatically dividing a ship pallet is provided, the automatic dividing system comprising an acquisition module, a constraint module and a dividing module;
[0034] The acquisition module is used to: in response to a current cutting instruction in a production plan, acquire part-related information and ship pallet information related to the current cutting instruction;
[0035] The constraint module is used to: generate part constraint conditions according to the part-related information, and the part constraint conditions are used to constrain the order in which the parts are simulated and placed on the ship pallet; generate ship pallet constraint conditions according to the ship pallet information, and the ship pallet constraint conditions are used to constrain the upper limit of the parts placed on the ship pallet;
[0036] The division module is used to divide the parts into their corresponding ship pallets according to the part constraint conditions and the ship pallet constraint conditions, and obtain a ship pallet division result.
[0037] Optionally, the part-related information includes the remaining days of the production plan, the part volume, and the part weight, and the part constraint condition is a priority constraint condition;
[0038] The constraint module is specifically used to: calculate the priority of the part according to the remaining days of the production plan, the part volume and the weight corresponding to the part weight; and sort the order of the simulated placement of the parts according to the priority;
[0039] The priority is determined by the numerical value calculated by the following formula:
[0040]
[0041] Among them, T is the remaining days of production plan, V is the volume of parts, W is the weight of parts, is the weight corresponding to the remaining days of the production plan, is the weight corresponding to the part volume, is the weight corresponding to the weight of the part.
[0042] Optionally, the ship pallet information includes the load-bearing capacity and volume of the ship pallet;
[0043] The constraint module is specifically used to: generate a first ship pallet constraint condition according to the load-bearing; and / or generate a second ship pallet constraint condition according to the volume;
[0044] Among them, the first ship pallet constraint condition is used to constrain the upper limit of the weight of the parts placed on the ship pallet, and the second ship pallet constraint condition is used to constrain the upper limit of the volume of the parts placed on the ship pallet.
[0045] Optionally, the partitioning module is specifically used to: in response to the creation of a ship pallet list, simulate placing the parts in the current ship pallet in sequence according to the part constraints; and in response to the current ship pallet being unable to place the parts, simulate placing the parts in the next ship pallet.
[0046] Optionally, the automatic segmentation system further includes a detection module and a query module.
[0047] The detection module is used to detect whether there is remaining space on the ship pallet in the ship pallet list to obtain a detection result;
[0048] In response to the detection result, it is indicated that there is remaining space on the target ship pallet;
[0049] The query module is used to query other ship pallets for target parts that meet the remaining space, and move the target parts from the current ship pallet to the target ship pallet.
[0050] Optionally, the acquisition module is further used to acquire workshop information related to the current cutting instruction;
[0051] The constraint module is also used to obtain a workshop constraint condition according to the workshop information; and simulate the allocation of the quantity of the ship pallet at different positions in the workshop according to the workshop constraint condition;
[0052] The division module is specifically used to obtain the ship pallet division result according to the part constraint condition, the ship pallet constraint condition and the workshop constraint condition.
[0053] In a third aspect, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and for running on the processor, wherein when the processor executes the computer program, the method for automatically dividing the ship pallets as described in the first aspect is implemented.
[0054] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the method for automatically dividing the ship pallet as described in the first aspect is implemented.
[0055] In a fifth aspect, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the method for automatically dividing the ship pallet as described in the first aspect is implemented.
[0056] On the basis of being in accordance with the common sense in the art, the above-mentioned preferred conditions can be arbitrarily combined to obtain the preferred embodiments of the present disclosure.
[0057] The positive and progressive effects of the present disclosure are: the present disclosure obtains part-related information and ship pallet information related to the current cutting instruction according to the current cutting instruction in the production plan, and associates the current cutting instruction with the part-related information and the ship pallet information, thereby enhancing the real-time adjustment capability of the ship pallet division; and does not require manual processing by the operator, directly generates part constraints based on the part-related information to constrain the order in which the parts are simulated and placed on the ship pallet, and at the same time generates ship pallet constraints based on the ship pallet information to constrain the upper limit of the placement of parts on the ship pallet, overcoming the defects of manual error in the prior art. Thus, the parts are divided into ship pallets according to the part constraints and the ship pallet constraints, and the ship pallet division results are obtained, which improves the efficiency of dividing ship pallets in the ship field. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 A flow chart of a method for automatically dividing a ship pallet provided in Embodiment 1 of the present disclosure;
[0059] Figure 2 A partial flow chart of a method for automatically dividing a ship pallet provided in Embodiment 1 of the present disclosure;
[0060] Figure 3 A partial flow chart of another automatic division method of ship pallets provided in Example 1 of the present disclosure;
[0061] Figure 4A partial flow chart of another automatic division method of ship pallets provided in Example 1 of the present disclosure;
[0062] Figure 5 A partial flow chart of another automatic division method of ship pallets provided in Example 1 of the present disclosure;
[0063] Figure 6 A flow chart of another method for automatically dividing ship pallets provided in Example 1 of the present disclosure;
[0064] Figure 7 A schematic flow chart of a related algorithm of a method for automatically dividing a ship pallet provided in Example 1 of the present disclosure;
[0065] Figure 8 A schematic diagram of a ship pallet division result provided by Example 1 of the present disclosure;
[0066] Fig. 9 A schematic diagram of a module of an automatic division system for ship pallets provided in Example 2 of the present disclosure;
[0067] Fig.10 A schematic diagram of the structure of an electronic device provided in Embodiment 3 of the present disclosure. DETAILED DESCRIPTION
[0068] The present disclosure is further described below by way of examples, but the present disclosure is not limited to the scope of the examples.
[0069] Prefixes such as "first" and "second" are used in the embodiments of the present disclosure only to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity or content of the described objects. The use of prefixes such as ordinal numbers to distinguish description objects in the embodiments of the present disclosure does not constitute a limitation on the described objects. For the statement of the described objects, please refer to the description in the context of the claims or embodiments, and no unnecessary limitation should be constituted due to the use of such prefixes. In addition, in the description of the present embodiment, unless otherwise specified, the meaning of "plurality" is two or more.
[0070] In the integrated development environment, the present disclosure can use Visual Studio and PyCharm as code editors, compilers, and debuggers; use C# and Python as development languages; use Notepad++ and Markdown as text editors; and use Git as a version control tool. For the development of relational databases, the present disclosure can select Microsoft SQL Server and MySQL databases, and use MySQL Workbench and Microsoft SQL Server Management Studio as database management tools. The present disclosure can also use virtualization software VMWare as a virtualization tool; use Docker as a containerization tool; and use K8s as a container orchestration tool.
[0071] Example 1
[0072] Figure 1 This is a flow chart of an automatic division method for ship pallets provided in this embodiment, and the automatic division method includes the following steps S101 to S104:
[0073] S101. In response to a current cutting instruction in a production plan, obtain part-related information and ship pallet information related to the current cutting instruction.
[0074] In this embodiment, obtaining part-related information according to the current cutting instruction in the production plan specifically includes reading information in a cutting layout corresponding to the current cutting instruction, wherein the cutting layout includes a rendering obtained by combining multiple parts and an information table of related parts.
[0075] In a specific implementation, the cutting layout is visually read to automatically extract part-related information in the information table, including extraction of part attributes, extraction of processing instructions, etc. In the visual reading of the cutting layout, the image processing library OpenCV can be used to detect the table area in the image and determine the boundary of the table; then the open source tool Tesseract is used to perform character recognition on the table area, and the recognized table text is divided into rows and columns, and cells are separated according to table lines or character positions. Finally, the extracted table content is parsed to extract part number, part size, and processing instruction information.
[0076] In this embodiment, obtaining part-related information according to the current cutting instructions in the production plan also includes extracting the three-dimensional information of the part through the design software, including the part's geometric shape, size (length, width, height), weight, material and processing requirements, and extracting the assembly tree; integrating and verifying the part-related information obtained according to the cutting layout, and finally obtaining the part-related information used to generate part constraints.
[0077] Among them, assembly tree refers to a term in the shipbuilding process, which involves the assembly process of the ship structure. For example, small assembly refers to component assembly, that is, the combination of two or more parts, such as T-profile combination, small pieces of panels and component plates on small panel units, such as bilge ribs, components on bottom ribs and manhole rings. Medium assembly refers to piece-by-piece production. Large assembly refers to the assembly of sections on the tire frame to form sections or total sections. Total assembly refers to a ship in which sections are connected to each other on the slipway to form a whole.
[0078] In this embodiment, obtaining the ship pallet information according to the current cutting instruction may include obtaining detailed attributes of the pallet such as size, load capacity and current storage location. These data are obtained by extracting corresponding CAD drawings and on-site inspections, and are stored in a database in a structured form, so that the present disclosure responds to the current cutting instruction, obtains real-time ship pallet information, and provides accurate support for the automatic division of ship pallets.
[0079] S102. Generate part constraints according to the part-related information, where the part constraints are used to constrain the order in which the parts are simulated and placed on the ship pallet.
[0080] In this embodiment, by integrating the information in the cutting layout and the three-dimensional information of the parts, comprehensive information such as part properties and processing requirements is obtained; this information is integrated into the part-related information required to generate part constraints, thereby realizing integrated information management and improving information utilization, providing a more comprehensive decision-making basis for the reasonable division of ship pallets, and helping to realize intelligent production scheduling.
[0081] S103. Generate ship pallet constraint conditions according to the ship pallet information, wherein the ship pallet constraint conditions are used to constrain the upper limit of the parts placed on the ship pallet.
[0082] In this embodiment, the ship pallet information is digitally defined, and the ship pallet constraint conditions are generated based on the ship pallet information. The upper limit of the placement of the ship pallet is reasonably utilized, which helps to avoid overloading of the ship pallet and avoid the ship pallet from being unable to be fully utilized.
[0083] The execution order of step S102 and step S103 is not limited.
[0084] S104. Divide the ship pallet to which the part belongs according to the part constraint condition and the ship pallet constraint condition to obtain a ship pallet division result.
[0085] In this embodiment, the parts constraints and the ship pallet constraints are used to achieve intelligent matching of parts and ship pallets, reducing errors and time consumption caused by manual operations. Compared with the prior art, the present invention accurately considers multiple factors and effectively improves production efficiency and resource utilization.
[0086] In an optional implementation, the part-related information includes the remaining days of the production plan, the part volume, and the part weight, and the part constraint condition is a priority constraint condition.
[0087] like Figure 2 As shown, the step S102 specifically includes:
[0088] S1021. Calculate the priority of the part according to the remaining days of the production plan, the part volume, and the weight corresponding to the part weight.
[0089] S1022. Sort the order of the simulated placement of the parts according to the priority.
[0090] The priority is determined by the numerical value calculated by the following formula:
[0091]
[0092] Among them, T is the remaining days of production plan, V is the volume of parts, W is the weight of parts, is the weight corresponding to the remaining days of the production plan, is the weight corresponding to the part volume, is the weight corresponding to the weight of the part.
[0093] In a specific implementation, the priority of a part can be determined according to the above formula, wherein the larger the value obtained by the above formula, the higher the priority of the corresponding part. The order of the simulated placement of the parts is sorted according to the priority, for example, the higher the priority of the part, the earlier the simulated placement of the part is performed; that is, in this embodiment, parts with large volume, large weight, and few remaining days in the production plan are processed first.
[0094] The specific value of the weight is set according to actual needs. For example, the value of the weight can be , , .
[0095] In an optional embodiment, the ship pallet information includes the load-bearing capacity and volume of the ship pallet;
[0096] The step S103 specifically includes:
[0097] S1031. Generate a first ship pallet constraint condition according to the load-bearing.
[0098] S1032. Generate a second ship pallet constraint condition according to the volume.
[0099] Among them, the first ship pallet constraint condition is used to constrain the upper limit of the weight of the parts placed on the ship pallet, and the second ship pallet constraint condition is used to constrain the upper limit of the volume of the parts placed on the ship pallet.
[0100] In this embodiment, the first ship pallet constraint condition may be a weight threshold. When the total weight of the parts placed in the ship pallet reaches the weight threshold, the placement of parts onto the current ship pallet is stopped.
[0101] In this embodiment, the second ship pallet constraint condition may be a volume threshold. When the total weight volume of the parts placed in the ship pallet reaches the weight threshold, the placement of parts onto the current ship pallet is stopped.
[0102] A reasonable division of the ship pallets is achieved according to the first ship pallet constraint condition and the second ship pallet constraint condition, and the upper limit of the placement of the ship pallets is reasonably utilized, which helps to avoid overloading of the ship pallets and avoid the ship pallets from being unable to be fully utilized.
[0103] In another optional implementation, the step S103 may include only step S1031 or only step S1032.
[0104] Furthermore, in another optional embodiment, the ship pallet constraint condition further includes a type constraint condition, and the type constraint condition is used to limit the types of ship pallets and parts. In a specific implementation, there may be a large number of parts of a certain type. Therefore, the type constraint condition can be used to uniformly process the parts of the target type and simulate placing them in the same type of ship pallets, so as to improve the efficiency and convenience of part processing in the subsequent implementation process.
[0105] In an optional embodiment, Figure 3 As shown, the step S104 specifically includes:
[0106] S1041. In response to the creation of the ship pallet list, the parts are placed in the current ship pallet in sequence in a simulated manner according to the part constraint conditions.
[0107] S1042. In response to the current ship pallet being unable to hold the part, simulate placing the part in the next ship pallet.
[0108] In this embodiment, a heuristic algorithm can be used to use the most adaptive strategy to create an empty ship pallet list, and according to the part constraints, the parts are traversed for simulated placement; in response to the current ship pallet being unable to place the part, the part is simulated and placed in the next ship pallet. In a specific example, the part constraint is a priority constraint, so the order of the simulated placement of the parts is sorted according to the priority of the parts, and the parts with high priority are placed on the corresponding ship pallets first. After the simulated placement is completed, the remaining space of the ship pallet is calculated. If the ship pallet in the existing ship pallet list cannot place the current part, a new ship pallet is opened and the ship pallet list is updated.
[0109] In an optional embodiment, if Figure 4 As shown, the automatic division method also includes:
[0110] S105, detecting whether there is any remaining space on the ship pallet in the ship pallet list, and obtaining a detection result.
[0111] S106. In response to the detection result, it is indicated that there is remaining space on the target ship disk.
[0112] S107, querying other ship pallets for target parts that meet the remaining space, and moving the target parts from the current ship pallet to the target ship pallet.
[0113] In this embodiment, by detecting whether there is any remaining space on the ship pallet in the ship pallet list, further dynamic planning is performed, and the target parts that meet the remaining space in other ship pallets are queried, and the target parts are moved from the current ship pallet to the target ship pallet to reduce the number of ship pallets.
[0114] In an optional embodiment, if Figure 5 As shown, the automatic division method also includes:
[0115] S108: Acquire workshop information related to the current cutting instruction, and obtain workshop constraint conditions according to the workshop information.
[0116] S109, simulating the allocation of the quantity of the ship pallets at different locations in the workshop according to the workshop constraint conditions.
[0117] In this embodiment, the workshop constraint conditions are obtained through the workshop information, and the workshop constraint conditions are used to constrain the number of ship pallets that can be accommodated in the workshop area. Furthermore, the key data of the internal layout of the workshop can be obtained according to the workshop plan, including the specific location and size of each workstation, channel, equipment and functional area, and the location of the ship pallet is further constrained according to the workshop information provided by the workshop plan to ensure that the space planning and material transportation path design in the production process are reasonable. Using these data, the movement path of parts in the workshop can be reasonably arranged when the ship pallets are divided, reducing unnecessary handling and waiting time, and optimizing the overall production process of the workshop.
[0118] The step S104 specifically includes:
[0119] S1043, obtaining the ship pallet division result according to the part constraint condition, the ship pallet constraint condition and the workshop constraint condition. In this embodiment, the ship pallet division result is used to indicate the ship pallet to which the part belongs and the allocation position of the ship pallet in the workshop.
[0120] In a specific embodiment, the ship pallet classification result can be displayed in a table, and the status of the ship pallet can be reflected by a color coding function, for example, yellow indicates a ship pallet to be adjusted, and red indicates an abnormal ship pallet. In addition, by responding to a search instruction for a target ship pallet, relevant information of the target ship pallet and parts associated with the target ship pallet can be displayed.
[0121] In an optional implementation, the flowchart of the automatic segmentation method is as follows: Figure 6 As shown, in response to the cutting instruction import, the workshop layout and site information query, cutting layout information visualization extraction and part three-dimensional information extraction are performed; then the pallet is automatically divided according to the acquired signal, and the division result is that the pallet is a ship pallet. In response to the manual viewing or modification instruction, the division result is viewed or modified.
[0122] Among them, the workshop layout and site information query includes the acquisition of workshop floor plan information, the acquisition of ship pallet information and the acquisition of storage area information. Specifically, the workshop floor plan is the key data for recording the internal layout of the workshop, including the specific location and size of each workstation, channel, equipment and functional area, to ensure the reasonable design of space planning and material transportation paths in the production process. Ship pallet information covers detailed attributes such as pallet type, size, carrying capacity and current storage location, providing basic data for the reasonable allocation and transportation of parts. Storage area information mainly includes storage location, capacity and environmental requirements, which are used to optimize the storage management of parts and ship pallets. These data are obtained through CAD drawing extraction and on-site inspections, and stored in the database in a structured form, providing precise support for intelligent decision-making on ship pallet division.
[0123] In a specific example, Figure 7 The present invention is a flowchart of a related algorithm of an automatic partitioning method. In response to the injection of production plan, the site information mapping is obtained, and the site information mapping is the ship pallet constraint condition; the heuristic algorithm is used to partition the pallets according to the site information mapping, and the parts are traversed according to the priority to simulate the placement, so as to obtain the local optimal ship pallet partitioning result; then dynamic planning is performed, and the optimal solution is searched on the basis of the heuristic algorithm. According to the setting of the state transfer equation, the parts in the target ship pallet are moved into other ship pallets, so as to find the possibility of further reducing the number of ship pallets, and finally the overall optimal ship pallet partitioning result is obtained.
[0124] The ship pallet division results are as follows: Figure 8 As shown in the figure, the cutting type, name, size, layout, ship pallet and other related information of the part are displayed. You can query the ship pallet to which any part belongs, or all the parts in the ship pallet. The structured database is used to store and manage the workshop layout, ship pallet information and production data, supporting seamless integration with existing CAD, ERP and other systems. Flexible data interfaces and standardized data formats ensure the circulation and consistency of information between different systems, and promote the comprehensive integration and sharing of production data.
[0125] Example 2
[0126] Corresponding to the aforementioned embodiment 1 of the method for automatically dividing ship pallets, the present disclosure also provides an embodiment of a system for automatically dividing ship pallets.
[0127] Fig. 9 This is a module schematic diagram of an automatic ship pallet division system provided in this embodiment. The automatic ship pallet division system 200 includes: an acquisition module 201, a constraint module 202 and a division module 203.
[0128] The acquisition module is used to: in response to a current cutting instruction in a production plan, acquire part-related information and ship pallet information related to the current cutting instruction.
[0129] The constraint module is used to: generate part constraints based on the part-related information, and the part constraints are used to constrain the order in which parts are simulated and placed on the ship pallet; generate ship pallet constraints based on the ship pallet information, and the ship pallet constraints are used to constrain the upper limit of the placement of parts on the ship pallet.
[0130] The division module is used to divide the parts into their corresponding ship pallets according to the part constraint conditions and the ship pallet constraint conditions, and obtain a ship pallet division result.
[0131] In this embodiment, the parts constraints and the ship pallet constraints are used to achieve intelligent matching of parts and ship pallets, reducing errors and time consumption caused by manual operations. Compared with the prior art, the present invention accurately considers multiple factors and effectively improves production efficiency and resource utilization.
[0132] As for the system embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The system embodiment described above is only illustrative, wherein the units described as separate components may or may not be physically separated, and the components as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution.
[0133] Example 3
[0134] Fig.10 This is a schematic diagram of the structure of an electronic device shown in this embodiment, the electronic device includes a memory, a processor, and a computer program stored in the memory and used to run on the processor, and when the processor executes the computer program, the automatic division method of the ship pallet described in the above embodiment 1 is implemented. Fig.10 The electronic device 30 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0135] like Fig.10 As shown, the electronic device 30 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 30 may include, but are not limited to: at least one processor 31, at least one memory 32, and a bus 33 connecting different system components (including the memory 32 and the processor 31).
[0136] The bus 33 includes a data bus, an address bus, and a control bus.
[0137] The memory 32 may include a volatile memory, such as a random access memory (RAM) 321 and / or a cache memory 322 , and may further include a read only memory (ROM) 323 .
[0138] The memory 32 may also include a program tool 325 (or utility) having a set (at least one) of program modules 324, such program modules 324 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0139] The processor 31 executes various functional applications and data processing by running the computer programs stored in the memory 32, such as the automatic division method of the ship pallet provided in the above-mentioned embodiment 1.
[0140] The electronic device 30 may also communicate with one or more external devices 34 (e.g., a keyboard, a pointing device, etc.). Such communication may be performed via an input / output (I / O) interface 35. Furthermore, the electronic device 30 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 36. Fig.10 As shown, the network adapter 36 communicates with other modules of the electronic device 30 via the bus 33. It should be understood that although Fig.10 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems.
[0141] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.
[0142] Example 4
[0143] The embodiment of the present disclosure also provides a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the method for automatically dividing the ship pallets provided in the above-mentioned embodiment 1 is implemented.
[0144] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.
[0145] Example 5
[0146] The present disclosure also provides a computer program product, including a computer program, which, when executed by a processor, implements the method for automatically dividing the ship pallet as described in the above-mentioned embodiment 1.
[0147] Among them, the program code for executing the computer program product of the present disclosure can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.
[0148] Although the specific embodiments of the present disclosure are described above, those skilled in the art should understand that this is only an example, and the protection scope of the present disclosure is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present disclosure, but these changes and modifications all fall within the protection scope of the present disclosure.
Claims
1. A method for automatically dividing ship pallets, characterized in that: The automatic division method comprises the following steps: In response to a current cutting instruction in the production plan, obtaining part-related information and ship pallet information related to the current cutting instruction; Generating part constraints according to the part-related information, wherein the part constraints are used to constrain the order in which the parts are simulated and placed on the ship pallet; Generate a ship pallet constraint condition according to the ship pallet information, wherein the ship pallet constraint condition is used to constrain the upper limit of the parts placed on the ship pallet; The parts are divided into ship pallets according to the part constraint conditions and the ship pallet constraint conditions to obtain a ship pallet division result.
2. The automatic division method according to claim 1, characterized in that: The part related information includes the remaining days of the production plan, the part volume and the part weight, and the part constraint condition is a priority constraint condition; The step of generating part constraint conditions according to the part related information specifically includes: The priority of the part is calculated according to the remaining days of the production plan, the volume of the part and the weight corresponding to the weight of the part; Sorting the order of the simulated placement of the parts according to the priority; The priority is determined by the numerical value calculated by the following formula: Among them, T is the remaining days of production plan, V is the volume of parts, W is the weight of parts, is the weight corresponding to the remaining days of the production plan, is the weight corresponding to the part volume, is the weight corresponding to the weight of the part.
3. The automatic division method according to claim 1, characterized in that: The ship pallet information includes the load-bearing capacity and volume of the ship pallet; The step of generating ship pallet constraint conditions according to the ship pallet information specifically includes: generating a first ship pallet constraint condition according to the load-bearing capacity of the ship pallet; and / or generating a second ship pallet constraint condition according to the volume of the ship pallet; Among them, the first ship pallet constraint condition is used to constrain the upper limit of the weight of the parts placed on the ship pallet, and the second ship pallet constraint condition is used to constrain the upper limit of the volume of the parts placed on the ship pallet.
4. The automatic division method according to claim 1, characterized in that: The step of dividing the parts into respective ship pallets according to the part constraint conditions and the ship pallet constraint conditions specifically comprises: In response to the creation of the ship pallet list, the parts are sequentially simulated and placed in the current ship pallet according to the part constraint conditions; In response to the current ship pallet being unable to place the part, simulating placement of the part in a next ship pallet.
5. The automatic division method according to claim 4, characterized in that: The automatic division method further comprises: Detecting whether there is remaining space on the ship pallet in the ship pallet list, and obtaining a detection result; In response to the detection result, it is indicated that there is remaining space on the target ship pallet; Query other ship pallets for target parts that match the remaining space, and move the target parts from the current ship pallet to the target ship pallet.
6. The automatic division method according to claim 1, characterized in that: The automatic division method further comprises: Acquire workshop information related to the current cutting instruction, and obtain workshop constraint conditions according to the workshop information; Simulate the allocation of the quantity of the ship pallets at different locations in the workshop according to the workshop constraints; The step of dividing the parts into respective ship pallets according to the part constraint conditions and the ship pallet constraint conditions to obtain the ship pallet division result specifically comprises: The ship pallet division result is obtained according to the part constraint condition, the ship pallet constraint condition and the workshop constraint condition.
7. An automatic division system for ship pallets, characterized in that: The automatic partitioning system comprises an acquisition module, a constraint module and a partitioning module; The acquisition module is used to: in response to a current cutting instruction in a production plan, acquire part-related information and ship pallet information related to the current cutting instruction; The constraint module is used to: generate part constraint conditions according to the part-related information, and the part constraint conditions are used to constrain the order in which the parts are simulated and placed on the ship pallet; generate ship pallet constraint conditions according to the ship pallet information, and the ship pallet constraint conditions are used to constrain the upper limit of the parts placed on the ship pallet; The division module is used to divide the parts into their corresponding ship pallets according to the part constraint conditions and the ship pallet constraint conditions, and obtain a ship pallet division result.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and used to run on the processor, characterized in that: When the processor executes the computer program, the method for automatically dividing the ship pallet according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for automatically dividing the ship pallets according to any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for automatically dividing a ship pallet according to any one of claims 1 to 6 is implemented.