Automatic optimization method and device for cigarette packet structure design and electronic equipment

By constructing and adjusting the three-dimensional model of cigarette packs and cigarette bundles, the problem of dimensional deviation of cigarette pack design in the prior art is solved, and the efficiency and quality stability of cigarette pack design are achieved, ensuring that the cigarette pack can effectively accommodate cigarette packs.

CN119129024APending Publication Date: 2024-12-13WUHAN HONGZHICAI PACKAGING PRINTING
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411308302.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

The existing packaging design software failed to effectively consider the production effect of the actual production equipment when designing cigarette packs, resulting in the deviation of the designed cigarette pack size from the actual production size, and the inability to stably accommodate the specified number and arrangement of cigarette bundles, affecting the design efficiency. and quality.

Method used

By constructing a three-dimensional model of cigarette sticks and cigarette packs, the overlapping areas are determined and the design data is adjusted according to the abnormal box surface until the overlapping areas are eliminated. Combined with preset error parameters and process simulation, the cigarette pack design data is optimized to ensure the ability to accommodate cigarette sticks.

Benefits of technology

It improves the efficiency and quality stability of the cigarette bag design, ensures that the designed cigarette bag can accommodate cigarette bundles as required, and reduces frequent sample testing and modification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119129024A_ABST
    Figure CN119129024A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an automatic optimization method and device for cigarette packet structure design and electronic equipment. The method comprises the steps of querying cigarette design data corresponding to cigarette packet design data to be optimized, constructing a three-dimensional arrangement model of cigarettes, and constructing a cigarette packet three-dimensional model; a cigarette containing space of the cigarette packet three-dimensional model is determined, and after the cigarette containing space is aligned with the center point of the three-dimensional arrangement model, an overlapping area of the three-dimensional arrangement model and the cigarette packet three-dimensional model is determined; and determining an abnormal box surface, and adjusting the cigarette packet design data until no overlapping region exists. According to the embodiment of the invention, the cigarette packet three-dimensional model corresponding to the cigarette packet design data and the cigarette three-dimensional arrangement model can be automatically subjected to center point alignment comparison so as to verify whether the designed cigarette packet can accommodate the cigarettes as required after being folded, and the cigarette packet design data is adjusted according to the abnormal box surface when the overlapping area appears. The cigarette packet design efficiency is improved, and the stability of the quality of the designed cigarette packets is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] One or more embodiments of the present specification relate to data processing technology, and more particularly to an automatic optimization method, device and electronic device for cigarette package structure design. Background Art

[0002] The existing packaging design software does not take into account the actual situation of cigarette package design, but only helps designers to draw. If the designers are inexperienced or do not understand the production effects of actual production equipment well, it is easy for the theoretical dimensions of the cigarette package design drawn on the packaging design software to deviate from the actual dimensions produced, resulting in the folded cigarette box being unable to accommodate cigarettes arranged in a specified manner and quantity, making the quality of the designed cigarette package unstable and requiring frequent sample production testing and modification, which affects the efficiency of cigarette package design. Summary of the invention

[0003] In order to solve the above problems, one or more embodiments of this specification describe an automatic optimization method, device and electronic device for cigarette package structure design.

[0004] According to a first aspect, a method for automatic optimization of cigarette package structure design is provided, the method comprising: Querying cigarette design data corresponding to the cigarette package design data to be optimized, and constructing a three-dimensional arrangement model of cigarettes based on the cigarette design data, and constructing a three-dimensional cigarette package model based on the cigarette package design data, wherein the cigarette design data includes cigarette type, cigarette quantity, and cigarette arrangement information; Determine the cigarette accommodation space of the three-dimensional model of the cigarette package, align the center points of the cigarette accommodation space and the three-dimensional arrangement model, and then determine the overlapping area between the three-dimensional arrangement model and the three-dimensional model of the cigarette package; An abnormal box surface is determined in the three-dimensional model of the cigarette package based on the overlapping area, and the cigarette package design data is adjusted according to the abnormal box surface until the overlapping area does not exist.

[0005] Preferably, after constructing the three-dimensional arrangement model of cigarettes based on the cigarette design data, the method further includes: The three-dimensional arrangement model is enlarged based on a preset error parameter.

[0006] Preferably, after constructing the three-dimensional model of the cigarette package based on the cigarette package design data, the method further includes: The model orientations of the three-dimensional arrangement model and the cigarette package three-dimensional model are adjusted to standard orientations.

[0007] Preferably, after determining the abnormal box surface in the three-dimensional model of the cigarette package based on the overlapping area, the method further includes: A display instruction is received, a model area corresponding to the abnormal box surface is determined, and a portion of the model area except the abnormal box surface is transparently displayed, wherein only the model boundary line is retained in the transparent display.

[0008] Preferably, the determining the model area corresponding to the abnormal box surface includes: Calculate the total volume of the smallest circumscribed cuboid of the three-dimensional model of the cigarette package, and query a preset database according to the total volume to obtain a unit segmentation volume, wherein the preset database stores a mapping relationship between different total volumes and unit segmentation volumes; The center point of the abnormal box surface is determined, and the model area is determined according to the center point and the unit segmentation volume.

[0009] Preferably, adjusting the cigarette package design data according to the abnormal box surface includes: Determine the adjustable parameters corresponding to the abnormal box surface, and display the adjustable parameters; Receive a parameter adjustment instruction, determine the adjustment priority of each adjustable parameter, and adjust the cigarette package design data based on the adjustment priority.

[0010] Preferably, the step of adjusting the cigarette pack design data according to the abnormal box surface until the overlapping area does not exist further comprises: Acquire a process equipment model corresponding to the cigarette package design data, perform process simulation on the adjusted cigarette package design data based on the process equipment model, and monitor the overlapping area during the process simulation.

[0011] According to a second aspect, a device for automatically optimizing the structural design of a cigarette package is provided, the device comprising: A query module, used to query the cigarette design data corresponding to the cigarette package design data to be optimized, and to construct a three-dimensional arrangement model of cigarettes based on the cigarette design data, and to construct a three-dimensional model of cigarette packages based on the cigarette package design data, wherein the cigarette design data includes cigarette types, cigarette quantities, and cigarette arrangement information; A determination module, used to determine the cigarette accommodation space of the three-dimensional model of the cigarette package, align the center points of the cigarette accommodation space and the three-dimensional arrangement model, and then determine the overlapping area of ​​the three-dimensional arrangement model and the three-dimensional model of the cigarette package; An adjustment module is used to determine an abnormal box surface in the three-dimensional model of the cigarette package based on the overlapping area, and adjust the cigarette package design data according to the abnormal box surface until the overlapping area does not exist.

[0012] According to a third aspect, there is provided an electronic device, comprising a processor and a memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the steps of the method provided in the first aspect or any possible implementation manner of the first aspect.

[0013] According to a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and the computer-readable storage medium stores instructions, which, when the instructions are executed on a computer or a processor, cause the computer or the processor to execute the method provided in the first aspect or any possible implementation of the first aspect.

[0014] The method and device provided in the embodiments of this specification can automatically align and compare the center points of the three-dimensional model of the cigarette package corresponding to the cigarette package design data with the three-dimensional arrangement model of the cigarettes after the designer has designed the cigarette package design data, so as to verify whether the designed cigarette package can accommodate the cigarettes as required after being folded, and adjust the cigarette package design data according to the abnormal box surface when overlapping areas appear, thereby improving the efficiency of cigarette package design and ensuring the stability of the quality of the designed cigarette packages. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0016] Figure 1 It is a flow chart of an automatic optimization method for cigarette package structure design in one embodiment of the present specification.

[0017] Figure 2 It is a structural schematic diagram of an automatic optimization device for a cigarette package structure design in one embodiment of this specification.

[0018] Figure 3 It is a structural diagram of an electronic device in one embodiment of this specification. DETAILED DESCRIPTION

[0019] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0020] In the following introduction, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application, and different embodiments can be replaced or combined, so the present application can also be considered to include all possible combinations of the same and / or different embodiments recorded. Therefore, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present application should also be considered to include embodiments containing one or more of all other possible combinations of A, B, C, and D, although the embodiment may not be clearly recorded in the following text.

[0021] The following description provides examples and does not limit the scope, applicability or examples set forth in the claims. Changes may be made to the functions and arrangements of the elements described without departing from the scope of the present application. Various processes or components may be appropriately omitted, substituted or added to each example. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted or combined. In addition, features described in some examples may be combined in other examples.

[0022] See also Figure 1 , Figure 1 : is a flow chart of an automatic optimization method for cigarette package structure design provided in an embodiment of the present application. In the embodiment of the present application, the method includes: S101. Query cigarette design data corresponding to cigarette package design data to be optimized, and construct a three-dimensional arrangement model of cigarettes based on the cigarette package design data, and construct a three-dimensional model of cigarette packages based on the cigarette package design data.

[0023] The cigarette design data includes cigarette type, cigarette quantity and cigarette arrangement information.

[0024] The execution entity of this application can be a cloud server.

[0025] In the embodiments of the present specification, cigarette packs, i.e., cigarette boxes for containing cigarettes, different types of cigarette packs correspond to different product models of cigarettes, and the number of cigarettes contained therein, the type of cigarettes, and the arrangement and layout of the cigarettes in the box will vary with the change of the product model. Therefore, when designing cigarette packs, designers need to consider the product model in addition to the corresponding design style and appearance requirements to ensure that the designed cigarette packs can accommodate the corresponding cigarettes according to the requirements of the product model. Therefore, when the cloud server receives the cigarette pack design data sent by the designer, i.e., the two-dimensional image data of the cigarette pack, it will first query the database according to the identification code information attached to the cigarette pack design data to determine the cigarette design data corresponding to the cigarette pack design data. The cigarette design data is mainly used to indicate the type, quantity, arrangement and other information of the cigarettes contained in the cigarette pack of this model. According to the cigarette design data, the cloud server can retrieve the corresponding cigarette model according to the type of cigarette, and adjust the cigarette model according to the number of cigarettes and the arrangement information of cigarettes, so as to obtain a three-dimensional arrangement model by taking all the arranged cigarette models as a whole. Similarly, when the cigarette package design data is obtained, a three-dimensional model of the cigarette package corresponding to the cigarette package design data can be automatically generated through software such as AutoCAD, 3D Max, SketchUp, Revit, Rhino, etc.

[0026] In one possible implementation, after constructing the three-dimensional arrangement model of cigarettes based on the cigarette design data, the method further includes: The three-dimensional arrangement model is enlarged based on a preset error parameter.

[0027] In the embodiments of this specification, considering the possible errors in actual production, the cigarette accommodation space in the cigarette pack is generally not set to exactly match the cigarette accommodation requirements, but slightly larger, so that the cigarettes will not collide with each other due to the large gap, and the cigarettes will not be unable to be put in due to the error. Therefore, when performing simulation modeling, the cloud server can also take the error into consideration and expand the length, width and height of the three-dimensional arrangement model to a certain extent with the pre-set error parameters.

[0028] In one possible implementation manner, after constructing the three-dimensional model of the cigarette package based on the cigarette package design data, the method further includes: The model orientations of the three-dimensional arrangement model and the cigarette package three-dimensional model are adjusted to standard orientations.

[0029] In the embodiments of the present specification, in order to avoid erroneous overlapping areas between the three-dimensional arrangement model and the cigarette package three-dimensional model due to different model orientations, the model orientations of the two models are adjusted to standard orientations in the same coordinate system, so that the length, width and height of the two models in the design data have the same corresponding direction.

[0030] S102, determining the cigarette accommodating space of the three-dimensional model of the cigarette package, aligning the center points of the cigarette accommodating space and the three-dimensional arrangement model, and then determining the overlapping area between the three-dimensional arrangement model and the three-dimensional model of the cigarette package.

[0031] In the embodiment of the present specification, after the cigarette pack design data constructs the three-dimensional model of the cigarette pack, there will be a cigarette accommodating space surrounded by the inner wall inside the three-dimensional model of the cigarette pack. The cloud server will determine the cigarette accommodating space based on the non-model part in the three-dimensional model of the cigarette pack, and determine the first center point of the cigarette accommodating space, and at the same time determine the second center point of the three-dimensional arrangement model. Then, the cloud server aligns the first center point and the second center point to simulate the situation where the cigarette is accommodated in the cigarette accommodating space. At this time, the cloud server will detect whether there is an overlapping area between the three-dimensional arrangement model and the three-dimensional model of the cigarette pack. If there is an overlapping area, it means that the two models are partially overlapped, which means that there is a problem with the cigarette pack design and the cigarettes cannot be accommodated intactly according to the design requirements.

[0032] S103, determining an abnormal box surface in the three-dimensional model of the cigarette package based on the overlapping area, and adjusting the cigarette package design data according to the abnormal box surface until the overlapping area does not exist.

[0033] In the embodiments of the present specification, according to the corresponding position of the overlapping area in the three-dimensional model of the cigarette package, it is possible to determine which one or more box surfaces have abnormal dimensions, and the box surface will be determined as an abnormal box surface. The cloud server will gradually expand the traversal adjustment of the dimension data of the abnormal box surface in the cigarette package design data, and then adjust the three-dimensional model of the cigarette package, and continue to determine the latest overlapping area during the adjustment process. After the overlapping area disappears completely, it is considered that the current cigarette package design data has been optimized, and the quality of the cigarette packages produced according to the optimized cigarette package design data will be more stable, and it is not easy to find that the cigarettes do not match the cigarettes after production.

[0034] Among them, the box surface where the overlapping area appears is generally not the box surface that needs to be adjusted in size, but the box surface adjacent to the box surface. Therefore, the identification method of the abnormal box surface can be adjusted according to the actual situation. For example, the box surface directly corresponding to the overlapping area can be used as the abnormal box surface, but when adjusting, the size of the adjacent box surface of the abnormal box surface is adjusted (for example, there is a box surface A directly corresponding to the overlapping area and a box surface B adjacent to box surface A, and the connecting edge of box surface A and box surface B is the length of box surface B, then the width and / or height of box surface B will be adjusted during adjustment). For example, the adjacent box surface of the box surface directly corresponding to the overlapping area can also be directly used as the abnormal box surface, and the size of the abnormal box surface can be directly adjusted during adjustment.

[0035] In one possible implementation, after determining the abnormal box surface in the three-dimensional model of the cigarette package based on the overlapping area, the method further includes: A display instruction is received, a model area corresponding to the abnormal box surface is determined, and a portion of the model area except the abnormal box surface is transparently displayed, wherein only the model boundary line is retained in the transparent display.

[0036] In the embodiment of the present specification, in addition to the cloud server determining the overlapping area and optimizing the cigarette pack design data by itself, the designer can also intervene in the optimization process as needed. For example, after determining the abnormal box surface, the designer can send a display instruction to the cloud server through the terminal operation. After the cloud server receives the display instruction, it will suspend the subsequent optimization process and transparently display the model area where the abnormal box surface is located. During the transparent display, the model part except the abnormal box surface will be transparent, and only the boundary lines of the model will be retained. In this way, even if the abnormal box surface is inside the obscured cigarette pack after being folded into a cigarette pack, the position of the abnormal box surface can be intuitively observed due to the transparent display. At the same time, the designer can also observe other box surfaces around the abnormal box surface through the boundary lines, and then consider the actual position that needs to be adjusted, and actively adjust the cigarette pack design data to improve the efficiency of the designer's adjustment of the cigarette pack design, and with the adjustment of the cigarette pack design data, the cigarette pack three-dimensional model, overlapping area and abnormal box surface can also be updated synchronously, and finally can assist the designer to adjust the cigarette pack design data that the designer is satisfied with and the cigarette pack quality is guaranteed.

[0037] In one possible implementation, determining the model area corresponding to the abnormal box surface includes: Calculate the total volume of the smallest circumscribed cuboid of the three-dimensional model of the cigarette package, and query a preset database according to the total volume to obtain a unit segmentation volume, wherein the preset database stores a mapping relationship between different total volumes and unit segmentation volumes; The center point of the abnormal box surface is determined, and the model area is determined according to the center point and the unit segmentation volume.

[0038] In the embodiment of this specification, if all parts of the three-dimensional model of the cigarette package except the abnormal box surface are transparently displayed, and only the boundary lines are retained, it may be difficult for designers to intuitively see the situation of the structure around the abnormal box surface, affecting the modification effect. Therefore, this application considers dividing a model area according to the abnormal box surface, and only transparently displaying the area to achieve the effect of partial transparent display. In this way, designers can not only directly observe the abnormal box surface according to the transparent area, but also have a clearer understanding of the transparent boundary line structure through the model part outside the model area. Specifically, considering the existence of special-shaped cigarettes, this application will divide the total volume of the smallest circumscribed cuboid of the three-dimensional model of the cigarette package. A database is pre-set in the cloud server, and the corresponding unit segmentation volume is pre-designed for total volumes of different sizes according to the experience and needs of the designers, and a mapping relationship between the two is constructed. In actual situations, the cloud server only needs to query the database according to the total volume to determine the unit segmentation volume, and use the center point of the abnormal box surface as the center point of the unit segmentation volume to determine the model area.

[0039] In one possible implementation, adjusting the cigarette package design data according to the abnormal box surface includes: Determine the adjustable parameters corresponding to the abnormal box surface, and display the adjustable parameters; Receive a parameter adjustment instruction, determine the adjustment priority of each adjustable parameter, and adjust the cigarette package design data based on the adjustment priority.

[0040] In the embodiment of this specification, after determining the abnormal box surface, if the designer wants to actively intervene in the adjustment process to ensure that the adjusted cigarette package design data meets his needs, he can control the cloud server to display the adjustable parameters of the abnormal box surface. The adjustable parameters may include the length, width, height, thickness of the abnormal box surface, the length, width, height, thickness of the adjacent box surface of the abnormal box surface, etc. The designer will assign different levels of priority to each adjustable parameter according to his own needs, and generate a parameter adjustment instruction to send to the cloud server. The cloud server will assign adjustment priorities to each adjustable parameter according to the parameter adjustment instruction. In the process of gradually expanding or reducing the size of the cigarette package design data, the high-priority adjustable parameters will be adjusted first.

[0041] In one possible implementation, after adjusting the cigarette pack design data according to the abnormal box surface until the overlapping area does not exist, the method further includes: Acquire a process equipment model corresponding to the cigarette package design data, perform process simulation on the adjusted cigarette package design data based on the process equipment model, and monitor the overlapping area during the process simulation.

[0042] In the embodiments of this specification, the cigarette pack design data may also be due to unreasonable design of the fold position, resulting in no overlapping area between the three-dimensional model of the cigarette pack and the three-dimensional arrangement model during the aforementioned simulation process, but in the actual folding process of the two-dimensional cigarette pack, the cigarette pack during the folding process cannot accommodate the corresponding cigarettes due to design problems. Therefore, the cloud server will also obtain a pre-built process equipment model according to the production process of the cigarette pack model corresponding to the cigarette pack design data, simulate the actual production process of the cigarette pack design data through the process equipment model, and continuously monitor the size of the overlapping area during the process simulation. If the overlapping area is not zero during the process simulation, it may mean that the structural framework of the cigarette pack design data is unreasonable and cannot be used for actual production. At this time, the simulation animation of the packaging process simulation process generates corresponding feedback information and sends it to the designer to help the designer troubleshoot the design problem. Among them, the process of process simulation can be implemented by software such as FlexSim, AnyLogic, Arena, and TecnomatixPlant Simulation.

[0043] The following will be combined with the attached Figure 2 , the automatic optimization device for cigarette package structure design provided in the embodiment of the present application is introduced in detail. It should be noted that the attached Figure 2 The automatic optimization device for cigarette package structure design shown in the present application is used to implement Figure 1 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 1 The embodiment shown.

[0044] See also Figure 2 , Figure 2 Schematic diagram of an automatic optimization device for cigarette package structure design provided in an embodiment of the present application. Figure 2 As shown, the device comprises: A query module 201 is used to query the cigarette design data corresponding to the cigarette package design data to be optimized, and to construct a three-dimensional arrangement model of cigarettes based on the cigarette design data, and to construct a three-dimensional model of cigarette packages based on the cigarette package design data, wherein the cigarette design data includes cigarette types, cigarette quantities, and cigarette arrangement information; A determination module 202 is used to determine the cigarette accommodation space of the three-dimensional model of the cigarette package, align the center points of the cigarette accommodation space and the three-dimensional arrangement model, and then determine the overlapping area of ​​the three-dimensional arrangement model and the three-dimensional model of the cigarette package; The adjustment module 203 is used to determine an abnormal box surface in the three-dimensional model of the cigarette package based on the overlapping area, and adjust the cigarette package design data according to the abnormal box surface until the overlapping area does not exist.

[0045] In one possible implementation, the query module 201 is specifically used for: The three-dimensional arrangement model is enlarged based on a preset error parameter.

[0046] In one possible implementation, the query module 201 is further specifically used for: The model orientations of the three-dimensional arrangement model and the cigarette package three-dimensional model are adjusted to standard orientations.

[0047] In one possible implementation, the adjustment module 203 is specifically used to: A display instruction is received, a model area corresponding to the abnormal box surface is determined, and a portion of the model area except the abnormal box surface is transparently displayed, wherein only the model boundary line is retained in the transparent display.

[0048] In one possible implementation, the adjustment module 203 is further configured to: Calculate the total volume of the smallest circumscribed cuboid of the three-dimensional model of the cigarette package, and query a preset database according to the total volume to obtain a unit segmentation volume, wherein the preset database stores a mapping relationship between different total volumes and unit segmentation volumes; The center point of the abnormal box surface is determined, and the model area is determined according to the center point and the unit segmentation volume.

[0049] In one possible implementation, the adjustment module 203 is further configured to: Determine the adjustable parameters corresponding to the abnormal box surface, and display the adjustable parameters; Receive a parameter adjustment instruction, determine the adjustment priority of each adjustable parameter, and adjust the cigarette package design data based on the adjustment priority.

[0050] In one possible implementation, the adjustment module 203 is further configured to: Acquire a process equipment model corresponding to the cigarette package design data, perform process simulation on the adjusted cigarette package design data based on the process equipment model, and monitor the overlapping area during the process simulation.

[0051] Those skilled in the art can clearly understand that the technical solutions of the embodiments of the present application can be implemented with the help of software and / or hardware. The "unit" and "module" in this specification refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (Field-Programmable Gate Array, FPGA), an integrated circuit (Integrated Circuit, IC), etc.

[0052] Each processing unit and / or module of the embodiments of the present application may be implemented by an analog circuit that implements the functions described in the embodiments of the present application, or may be implemented by software that executes the functions described in the embodiments of the present application.

[0053] See also Figure 3 , which shows a schematic diagram of the structure of an electronic device involved in an embodiment of the present application, the electronic device can be used to implement Figure 1 The method in the embodiment shown. Figure 3 As shown, the electronic device 300 may include: at least one processor 301 , at least one network interface 304 , a user interface 303 , a memory 305 , and at least one communication bus 302 .

[0054] The communication bus 302 is used to realize the connection and communication between these components.

[0055] The user interface 303 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.

[0056] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0057] Among them, the processor 301 may include one or more processing cores. The processor 301 uses various interfaces and lines to connect various parts of the entire electronic device 300, and executes various functions and processes data of the electronic device 300 by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Optionally, the processor 301 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 301 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics central processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 301, and it can be implemented separately through a chip.

[0058] Among them, the memory 305 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 305 includes a non-transitory computer-readable storage medium. The memory 305 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 305 may optionally be at least one storage device located away from the aforementioned processor 301. As Figure 3 As shown, the memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module, and program instructions.

[0059] exist Figure 3 In the electronic device 300 shown, the user interface 303 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 301 can be used to call the automatic optimization application for cigarette package structure design stored in the memory 305, and specifically perform the following operations: Querying cigarette design data corresponding to the cigarette package design data to be optimized, and constructing a three-dimensional arrangement model of cigarettes based on the cigarette design data, and constructing a three-dimensional cigarette package model based on the cigarette package design data, wherein the cigarette design data includes cigarette type, cigarette quantity, and cigarette arrangement information; Determine the cigarette accommodation space of the three-dimensional model of the cigarette package, align the center points of the cigarette accommodation space and the three-dimensional arrangement model, and then determine the overlapping area between the three-dimensional arrangement model and the three-dimensional model of the cigarette package; An abnormal box surface is determined in the three-dimensional model of the cigarette package based on the overlapping area, and the cigarette package design data is adjusted according to the abnormal box surface until the overlapping area does not exist.

[0060] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.

[0061] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0062] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

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

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

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

[0066] If the integrated unit 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 memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, 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 method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program codes.

[0067] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct related hardware, and the program may be stored in a computer-readable memory, which may include a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0068] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. An automatic optimization method for cigarette package structure design, characterized in that: The method comprises: Querying cigarette design data corresponding to the cigarette package design data to be optimized, and constructing a three-dimensional arrangement model of cigarettes based on the cigarette design data, and constructing a three-dimensional cigarette package model based on the cigarette package design data, wherein the cigarette design data includes cigarette type, cigarette quantity, and cigarette arrangement information; Determine the cigarette accommodation space of the three-dimensional model of the cigarette package, align the center points of the cigarette accommodation space and the three-dimensional arrangement model, and then determine the overlapping area between the three-dimensional arrangement model and the three-dimensional model of the cigarette package; An abnormal box surface is determined in the three-dimensional model of the cigarette package based on the overlapping area, and the cigarette package design data is adjusted according to the abnormal box surface until the overlapping area does not exist.

2. The method according to claim 1, characterized in that After constructing the three-dimensional arrangement model of cigarettes based on the cigarette design data, the method further includes: The three-dimensional arrangement model is enlarged based on a preset error parameter.

3. The method according to claim 1, characterized in that: After the three-dimensional model of the cigarette package is constructed based on the cigarette package design data, the method further includes: The model orientations of the three-dimensional arrangement model and the cigarette package three-dimensional model are adjusted to standard orientations.

4. The method according to claim 1, characterized in that: After determining the abnormal box surface in the cigarette package three-dimensional model based on the overlapping area, the method further includes: A display instruction is received, a model area corresponding to the abnormal box surface is determined, and a portion of the model area except the abnormal box surface is transparently displayed, wherein only the model boundary line is retained in the transparent display.

5. The method according to claim 4, characterized in that The determining of the model area corresponding to the abnormal box surface includes: Calculate the total volume of the smallest circumscribed cuboid of the three-dimensional model of the cigarette package, and query a preset database according to the total volume to obtain a unit segmentation volume, wherein the preset database stores a mapping relationship between different total volumes and unit segmentation volumes; The center point of the abnormal box surface is determined, and the model area is determined according to the center point and the unit segmentation volume.

6. The method according to claim 1, characterized in that The adjusting the cigarette package design data according to the abnormal box surface includes: Determine the adjustable parameters corresponding to the abnormal box surface, and display the adjustable parameters; Receive a parameter adjustment instruction, determine the adjustment priority of each adjustable parameter, and adjust the cigarette package design data based on the adjustment priority.

7. The method according to claim 1, characterized in that After adjusting the cigarette pack design data according to the abnormal box surface until the overlapping area does not exist, the method further includes: Acquire a process equipment model corresponding to the cigarette package design data, perform process simulation on the adjusted cigarette package design data based on the process equipment model, and monitor the overlapping area during the process simulation.

8. An automatic optimization device for cigarette package structure design, characterized in that: The device comprises: A query module, used to query the cigarette design data corresponding to the cigarette package design data to be optimized, and to construct a three-dimensional arrangement model of cigarettes based on the cigarette design data, and to construct a three-dimensional model of cigarette packages based on the cigarette package design data, wherein the cigarette design data includes cigarette types, cigarette quantities, and cigarette arrangement information; A determination module, used to determine the cigarette accommodation space of the three-dimensional model of the cigarette package, align the center points of the cigarette accommodation space and the three-dimensional arrangement model, and then determine the overlapping area of ​​the three-dimensional arrangement model and the three-dimensional model of the cigarette package; An adjustment module is used to determine an abnormal box surface in the three-dimensional model of the cigarette package based on the overlapping area, and adjust the cigarette package design data according to the abnormal box surface until the overlapping area does not exist.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, wherein the computer-readable storage medium has instructions stored therein, and when the instructions are executed on a computer or a processor, the computer or the processor executes the steps of the method according to any one of claims 1 to 7.