An Automatic Review Method and Device for Cigarette Packaging Design Based on WebGL

Through the automatic review method of cigarette packaging design based on WebGL, the graphic design is converted into a 3D model and the review rule base is used for automatic review, which solves the problems of inconsistent manual review results and low efficiency, and achieves efficient and accurate design review.

CN114549754BActive Publication Date: 2025-08-01HUBEI CHINA TOBACCO INDUSTRY CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210170129.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-24
Publication Date
2025-08-01
Estimated Expiration
2042-02-24

AI Technical Summary

Technical Problem

The existing cigarette packaging design review mainly relies on manual review, and there are problems such as inconsistent results, difficulty in accurately evaluating design normativeness and low work efficiency.

Method used

Using a WebGL-based method, the graphic design file is converted into a 3D cigarette packaging model, and the review elements are marked through interactive instructions, and the review rule base is used to perform automated review calculations to generate a review result report.

Benefits of technology

It realizes intelligent and accurate evaluation of cigarette packaging design, improves review efficiency, and reduces the need for artificial errors and repeated adjustments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114549754B_ABST
    Figure CN114549754B_ABST
Patent Text Reader

Abstract

The present invention discloses an automatic review method and device for cigarette packaging design based on WebGL. The method includes: when receiving a planar design file to be reviewed, converting the planar design file into a texture file, and generating a 3D cigarette packaging model based on the texture file; marking review elements in the 3D cigarette packaging model based on interaction instructions; determining a review rule library corresponding to the planar design file, and performing review calculations on each review element based on each rule entry in the review rule library to generate a review result report. The present invention realizes that after marking specific design elements to be reviewed in cigarette packaging design through interaction information, it can automatically perform intelligent review calculations on each element in combination with the rule entries in the review rule library, output review results, accurately judge each element, and has high review efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of design review, and more particularly, to an automatic review method and device for cigarette packaging design based on WebGL. Background Art

[0002] The review of cigarette packaging design is an important link in the packaging design work. For cigarette products, packaging design is an important factor affecting cigarette sales and also the original data standard for printing production. Therefore, the review of packaging design schemes is particularly important. The existing design reviews are all for flat design drawings and are manually reviewed from the perspectives of aesthetics, culture, norms, etc. Since the current reviews are all manual, there are the following disadvantages: 1. Due to the inconsistency of personnel subjectivity, the review results of different drawing reviewers are also different, and the review results are easily affected by personal factors. For example, the color difference value between the warning font and the background color of the warning area is felt differently by different people. 2. Since the review is mainly based on flat pictures or actual printed samples, it is impossible to accurately review against design specifications. For example, whether the area of the warning area meets the specifications cannot be visually judged accurately. 3. The current review is in an offline manner, and it requires manual summarization and collation of review opinions, with low work efficiency, time-consuming and laborious, and it is very easy to produce deviations. Summary of the Invention

[0003] To solve the above problems, an embodiment of this application provides an automatic review method and device for cigarette packaging design based on WebGL.

[0004] In a first aspect, an embodiment of this application provides an automatic review method for cigarette packaging design based on WebGL, and the method includes:

[0005] When receiving a flat design file to be reviewed, convert the flat design file into a texture file, and generate a 3D cigarette packaging model based on the texture file;

[0006] Mark review elements in the 3D cigarette packaging model based on interaction instructions;

[0007] Determine the review rule library corresponding to the flat design file, and perform review calculations on each of the review elements based on each rule entry in the review rule library to generate a review result report.

[0008] Preferably, the converting the flat design file into a texture file and generating a 3D cigarette packaging model based on the texture file includes:

[0009] Determine each design structure in the flat design file, and determine the texture material corresponding to each design structure based on the printing process step information corresponding to each design structure in a preset printing process database;

[0010] Integrate each of the texture materials and convert the planar design file into a texture file;

[0011] Render the texture file into the basic 3D model to generate a 3D cigarette packaging model.

[0012] Preferably, marking the review elements in the 3D cigarette packaging model based on the interaction instruction includes:

[0013] Display the 3D cigarette packaging model in the display interface and receive the interaction instruction for the 3D cigarette packaging model;

[0014] Determine the review scope on the 3D cigarette packaging model based on the interaction instruction, and identify and mark the review elements within the review scope.

[0015] Preferably, reviewing and calculating each of the review elements based on each rule entry in the review rule library includes:

[0016] Import the review elements into the review rule library, determine each rule entry matched by each of the review elements, and calculate each of the review elements based on the specification parameter range information corresponding to each of the rule entries.

[0017] Preferably, the method further includes:

[0018] Receive a feedback adjustment instruction, determine the color adjustment information corresponding to the feedback adjustment instruction, and adjust the rule entry corresponding to the color adjustment information.

[0019] Preferably, the method further includes:

[0020] Receive an optimization instruction, and determine the elements that failed the review corresponding to the review result report;

[0021] Adjust each of the elements that failed the review based on the rule entry corresponding to the element that failed the review, so that the first parameter information corresponding to the element that failed the review is exactly within the specification parameter range information corresponding to the rule entry.

[0022] Preferably, after determining the review rule library corresponding to the planar design file, it further includes:

[0023] Determine each rule entry in the review rule library;

[0024] When there is a target rule entry that does not correspond to any of the review elements, identify and select target review elements in the 3D cigarette packaging model based on the target rule entry.

[0025] In a second aspect, an embodiment of the present application provides an automatic review device for cigarette packaging design based on WebGL. The device includes:

[0026] A receiving module, configured to convert the planar design file into a texture file when receiving the planar design file to be reviewed, and generate a 3D cigarette packaging model based on the texture file;

[0027] A marking module, configured to mark review elements in the 3D cigarette packaging model based on an interaction instruction;

[0028] A determination module, configured to determine a review rule library corresponding to the planar design file, perform review calculations on each of the review elements based on each rule entry in the review rule library, and generate a review result report.

[0029] In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the steps of the method provided in the first aspect or any possible implementation manner of the first aspect are implemented.

[0030] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method provided in the first aspect or any possible implementation manner of the first aspect is implemented.

[0031] The beneficial effects of the present invention are as follows: After marking specific design elements to be reviewed in the cigarette packaging design through interaction information, it is possible to automatically perform intelligent review calculations on each element in combination with the rule entries in the review rule library, output a review result, accurately judge each element, and have high review efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0033] Figure 1 It is a schematic flowchart of an automatic review method for cigarette packaging design based on WebGL provided by an embodiment of the present application;

[0034] Figure 2 It is a schematic structural diagram of an automatic review device for cigarette packaging design based on WebGL provided by an embodiment of the present application;

[0035] Figure 3A schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners

[0036] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application.

[0037] In the following introduction, the terms "first" and "second" are only for the purpose of description and cannot be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application. Different embodiments can be replaced or combined. Therefore, the present application can also be considered to include all possible combinations of the same and / or different embodiments described. Thus, 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 all other possible combinations of A, B, C, and D, although such embodiments may not be explicitly described in the following content.

[0038] The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes can be made to the functions and arrangements of the described elements without departing from the scope of the content of the present application. Each example can appropriately omit, substitute, or add various processes or components. For example, the described method can be executed in a different order from the described order, and various steps can be added, omitted, or combined. In addition, the features described in some examples can be combined into other examples.

[0039] See Figure 1 , Figure 1 is a schematic flowchart of an automatic review method for cigarette packaging design based on WebGL provided by an embodiment of the present application. In the embodiment of the present application, the method includes:

[0040] S101. When a plane design file to be reviewed is received, convert the plane design file into a texture file, and generate a 3D cigarette packaging model based on the texture file.

[0041] The execution subject of the present application can be a cloud server of a WebGL system.

[0042] In the embodiment of the present application, designers generally design plane design files in the design stage. In order to ensure the accuracy of the review, the standard three-dimensional images should be reviewed. Therefore, the cloud server will convert according to the received plane design file to be reviewed, convert the corresponding texture file based on the actual design, and generate a 3D cigarette packaging model therefrom for subsequent review.

[0043] In an implementable manner, the conversion of the planar design file into a texture map file and the generation of a 3D cigarette packaging model based on the texture map file include:

[0044] Determine each design structure in the planar design file, and determine the corresponding texture map material for each design structure based on the printing process step information corresponding to each design structure in a preset printing process database;

[0045] Integrate each texture map material, and convert the planar design file into a texture map file;

[0046] Render the texture map file into a basic 3D model to generate a 3D cigarette packaging model.

[0047] In the embodiment of the present application, several design structures have been set in the planar design file according to the cigarette case to be designed. Different design structures are generated corresponding to different printing process steps in the actual production process. Therefore, after determining the corresponding printing process step information through the design structure, the corresponding texture map material for this step can be obtained, that is, the material effect that should be produced after performing the process of this step. Through the integrated texture map file, it can be rendered onto a preset basic 3D model that matches the appearance of the cigarette case, thereby obtaining a 3D cigarette packaging model that matches the current design.

[0048] S102. Mark review elements in the 3D cigarette packaging model based on an interaction instruction.

[0049] In the embodiment of the present application, after the 3D cigarette packaging model is generated, the staff can interact with the model through a terminal and generate an interaction instruction. The cloud server will mark in the model according to the interaction instruction, and the marked review elements are the elements that need to be focused on for review to determine whether they meet the standards.

[0050] In an implementable manner, the marking of review elements in the 3D cigarette packaging model based on an interaction instruction includes:

[0051] Display the 3D cigarette packaging model in a display interface and receive an interaction instruction for the 3D cigarette packaging model;

[0052] Determine a review range on the 3D cigarette packaging model based on the interaction instruction, and identify and mark review elements within the review range.

[0053] In the embodiments of the present application, the cloud server will display the generated 3D cigarette packaging model on the display interface. Staff can perform interactive operations such as clicking and rotating on the model through the operation terminal, and the interactive operations will generate corresponding interactive instructions and send them back to the cloud server. The cloud server can then determine the position where the staff clicks on the model based on the interactive instructions, and further determine the review scope for recognition, and identify the information within the scope according to the preset review element library, and finally mark the review elements.

[0054] S103. Determine the review rule library corresponding to the plane design document, and perform review calculations on each of the review elements based on each rule entry in the review rule library to generate a review result report.

[0055] In the embodiments of the present application, before reviewing the model, it is necessary to determine the corresponding review rule library according to the plane design document, that is, to determine the requirement categories that need to be reviewed according to the type of the plane design document, and then select the correct review rule library. After determining the review rule library, each marked review element will be reviewed and calculated respectively through each specific rule entry in the review rule library, and a review result report will be finally generated according to the calculation results. Staff can intuitively and quickly see whether the current design meets various review requirements based on the review result report, which is convenient for them to make adjustments.

[0056] In an implementable manner, the performing review calculations on each of the review elements based on each rule entry in the review rule library includes:

[0057] Import the review elements into the review rule library, determine each rule entry matched by each of the review elements, and calculate each of the review elements based on the specification parameter range information corresponding to each of the rule entries.

[0058] In the embodiments of the present application, different rule entries correspond to different specification parameter range information, that is, different requirements for different review elements. Therefore, it is necessary to match the review elements with the rule entries, and calculate the review elements based on the specification parameter range information corresponding to the successfully matched rule entries, so as to determine whether the parameters of the review elements meet the rule parameter range.

[0059] In an implementable manner, the method further includes:

[0060] Receive a feedback adjustment instruction, determine the color adjustment information corresponding to the feedback adjustment instruction, and adjust the rule entry corresponding to the color adjustment information.

[0061] In the embodiments of the present application, in actual situations, due to different printing processes and different sequences of process steps, there may be deviations between the color of the finally printed packaging box and the theoretically calculated color. Therefore, the staff can also send feedback adjustment instructions to the cloud server and adjust the parameter requirement ranges in some rule entries that deviate from the actual situation based on the color adjustment information therein to ensure the review effect.

[0062] In an implementable manner, the method further includes:

[0063] Receiving an optimization instruction and determining the unqualified elements corresponding to the review result report;

[0064] Adjusting each of the unqualified elements based on the rule entries corresponding to the unqualified elements so that the first parameter information corresponding to the unqualified elements is exactly within the specification parameter range information corresponding to the rule entries.

[0065] In the embodiments of the present application, the cloud server can also independently optimize the unqualified elements, that is, according to the specification parameter range information of the rule entries corresponding to the unqualified elements, adjust the value of the first parameter information corresponding to the element so that it is exactly adjusted within the specification parameter range information. This can, when the designer makes some mistakes resulting in design deviations, through the control of the optimization instruction, let the cloud server independently optimize the design content to the minimum extent, reducing the process of repeated adjustment and modification and improving the efficiency.

[0066] In an implementable manner, after determining the review rule library corresponding to the graphic design file, it further includes:

[0067] Determining each rule entry in the review rule library;

[0068] When there is a target rule entry that does not correspond to any of the review elements, identifying and selecting target review elements in the 3D cigarette packaging model based on the target rule entry.

[0069] In the embodiments of the present application, during the normal review process, each rule entry in the review rule library represents the parameter requirements for this type of cigarette packaging box. Therefore, during the review process, the parameter data corresponding to each rule entry should be calculated and judged. So when the cloud server detects that there is a target rule entry that does not match any review elements, it means that the selected review elements in the interaction information are not comprehensive enough, and there are some parameter data that are not selected for review. At this time, the cloud server will independently select target review elements through image recognition of the 3D cigarette packaging model to ensure the effectiveness and comprehensiveness of the review.

[0070] The following will be combined with the appendixFigure 2 , a detailed introduction to the automatic review device for cigarette packaging design based on WebGL provided in the embodiments of the present application. It should be noted that the attached Figure 2 The automatic review device for cigarette packaging design based on WebGL shown is used to execute the method of the embodiments of the present application Figure 1 As shown, for the sake of convenience of description, only the parts related to the embodiments of the present application are shown. For the specific technical details not disclosed, please refer to the embodiments of the present application Figure 1 shown embodiments.

[0071] Please refer to Figure 2 , Figure 2 is a schematic structural diagram of an automatic review device for cigarette packaging design based on WebGL provided in the embodiments of the present application. As Figure 2 shown, the device includes:

[0072] A receiving module 201, configured to convert the planar design file into a texture file when receiving a planar design file to be reviewed, and generate a 3D cigarette packaging model based on the texture file;

[0073] A marking module 202, configured to mark review elements in the 3D cigarette packaging model based on an interaction instruction;

[0074] A determining module 203, configured to determine a review rule library corresponding to the planar design file, perform review calculations on each of the review elements based on each rule entry in the review rule library, and generate a review result report.

[0075] In an implementable manner, the receiving module 201 includes:

[0076] A first determining unit, configured to determine each design structure in the planar design file, and determine the texture material corresponding to each design structure based on the printing process step information corresponding to each design structure in a preset printing process database;

[0077] A conversion unit, configured to integrate each of the texture materials and convert the planar design file into a texture file;

[0078] A rendering unit, configured to render the texture file into a basic 3D model to generate a 3D cigarette packaging model.

[0079] In an implementable manner, the marking module 202 includes:

[0080] A display unit, configured to display the 3D cigarette packaging model in a display interface and receive an interaction instruction for the 3D cigarette packaging model;

[0081] A second determination unit, configured to determine a review scope on the 3D cigarette packaging model based on the interaction instruction, and identify and mark review elements in the review scope.

[0082] In an implementable manner, the determination module 203 includes:

[0083] An import unit, configured to import the review elements into the review rule library, determine each rule entry matched by each review element, and calculate each review element based on the specification parameter range information corresponding to each rule entry.

[0084] In an implementable manner, the device further includes:

[0085] An adjustment module, configured to receive a feedback adjustment instruction, determine color adjustment information corresponding to the feedback adjustment instruction, and adjust the rule entry corresponding to the color adjustment information.

[0086] In an implementable manner, the device further includes:

[0087] A first optimization module, configured to receive an optimization instruction and determine review elements that fail to pass in the review result report;

[0088] A second optimization module, configured to adjust each review element that fails to pass based on the rule entry corresponding to the review element that fails to pass, so that the first parameter information corresponding to the review element that fails to pass is exactly within the specification parameter range information corresponding to the rule entry.

[0089] In an implementable manner, the determination module 203 further includes:

[0090] A third determination unit, configured to determine each rule entry in the review rule library;

[0091] A judgment unit, configured to, when there is a target rule entry that does not correspond to any review element, identify and select a target review element in the 3D cigarette packaging model based on the target rule entry.

[0092] Those skilled in the art can clearly understand that the technical solutions of the embodiments of the present application can be implemented by means 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 a specific function, where the hardware can be, for example, a Field-Programmable Gate Array (FPGA), an Integrated Circuit (IC), etc.

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

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

[0095] Among them, the communication bus 302 is used to realize the connection and communication between these components.

[0096] Among them, the user interface 303 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 303 may further include a standard wired interface and a wireless interface.

[0097] Among them, the network interface 304 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).

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

[0099] Among them, the memory 305 may include a Random Access Memory (RAM), or may include a 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. Among them, the program storage area may store instructions for implementing the operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store the data involved in the above-mentioned method embodiments. Optionally, the memory 305 may also be at least one storage device located far from the aforementioned central processing unit 301. As Figure 3 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.

[0100] In Figure 3 the electronic device 300 shown, the user interface 303 is mainly used to provide an input interface for the user to obtain the data input by the user; while the central processing unit 301 can be used to call the WebGL-based automatic review application program for cigarette packaging design stored in the memory 305, and specifically perform the following operations:

[0101] When receiving a planar design file to be reviewed, convert the planar design file into a texture file, and generate a 3D cigarette packaging model based on the texture file;

[0102] Mark review elements in the 3D cigarette packaging model based on interaction instructions;

[0103] Determine the review rule library corresponding to the planar design file, perform review calculations on each of the review elements based on each rule entry in the review rule library, and generate a review result report.

[0104] This 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. Among them, the computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical discs, DVDs, CD-ROMs, microdrives, and magneto-optical discs, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.

[0105] It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that this application is not limited by the described action sequence, because according to this application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0106] In the above embodiments, the descriptions of the respective embodiments have their own emphases. For the parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0107] In the several embodiments provided by this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, 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 displayed or discussed couplings or direct couplings or communication connections to each other can be through some service interfaces. The indirect couplings or communication connections of the devices or units can be in electrical or other forms.

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

[0109] In addition, in each embodiment of this application, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.

[0110] When 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 this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned memory includes: USB flash drives, read-only memory (ROM), random access memory (RAM), mobile hard disks, magnetic disks, or optical discs, etc., which are various media that can store program codes.

[0111] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program. This program can be stored in a computer-readable memory, and the memory can include: flash drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs, etc.

[0112] The above are only exemplary embodiments of the present disclosure, and the scope of the present disclosure cannot be limited thereby. That is, all equivalent changes and modifications made in accordance with the teachings of the present disclosure still fall within the scope covered by the present disclosure. After considering the specification and practicing the present disclosure herein, those skilled in the art will readily think of other embodiments of the present disclosure. This application aims to cover any variations, uses, or adaptive changes of the present disclosure. These variations, uses, or adaptive changes follow the general principles of the present disclosure and include common general knowledge or conventional technical means in the technical field not described in the present disclosure. The specification and embodiments are only regarded as exemplary, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. An automatic review method for cigarette packaging design based on WebGL, characterized in that The method includes: When receiving a graphic design file to be reviewed, converting the graphic design file into a texture file, and generating a 3D cigarette packaging model based on the texture file; Marking review elements in the 3D cigarette packaging model based on an interaction instruction; Determining a review rule library corresponding to the graphic design file, performing review calculations on each of the review elements based on each rule entry in the review rule library, and generating a review result report; Wherein, the converting the graphic design file into a texture file and generating a 3D cigarette packaging model based on the texture file includes: Determining each design structure in the graphic design file, and determining the texture material corresponding to each design structure based on the printing process step information corresponding to each design structure in a preset printing process database; Integrating each of the texture materials, and converting the graphic design file into a texture file; Rendering the texture file into a basic 3D model to generate a 3D cigarette packaging model; The marking review elements in the 3D cigarette packaging model based on an interaction instruction includes: Displaying the 3D cigarette packaging model in a display interface, and receiving an interaction instruction for the 3D cigarette packaging model; Determining a review scope on the 3D cigarette packaging model based on the interaction instruction, and identifying and marking review elements in the review scope.

2. The method according to claim 1, characterized in that The performing review calculations on each of the review elements based on each rule entry in the review rule library includes: Importing the review elements into the review rule library, determining each rule entry matched by each of the review elements, and calculating each of the review elements based on the specification parameter range information corresponding to each of the rule entries.

3. The method according to claim 1, wherein The method further includes: Receiving a feedback adjustment instruction, determining color adjustment information corresponding to the feedback adjustment instruction, and adjusting the rule entry corresponding to the color adjustment information.

4. The method according to claim 1, characterized in that, The method further includes: Receiving an optimization instruction, determining review non-passing elements corresponding to the review result report; Adjusting each of the review non-passing elements based on the rule entry corresponding to the review non-passing element, so that the first parameter information corresponding to the review non-passing element is exactly within the specification parameter range information corresponding to the rule entry.

5. The method according to claim 1, characterized in that, After determining the review rule library corresponding to the graphic design file, it further includes: Determining each rule entry in the review rule library; When there is a target rule entry that does not correspond to any of the review elements, identifying and selecting target review elements in the 3D cigarette packaging model based on the target rule entry.

6. An automatic review device for cigarette packaging design based on WebGL, characterized in that, The device includes: A receiving module, configured to convert the graphic design file into a texture file and generate a 3D cigarette packaging model based on the texture file when receiving a graphic design file to be reviewed; A marking module, configured to mark review elements in the 3D cigarette packaging model based on an interaction instruction; A determining module, configured to determine a review rule library corresponding to the graphic design file, perform review calculations on each of the review elements based on each rule entry in the review rule library, and generate a review result report; Wherein, the receiving module includes: The first determination unit is configured to determine each design structure in the planar design file, and determine the mapping material corresponding to each design structure based on the printing process step information corresponding to each design structure in a preset printing process database; The conversion unit is configured to integrate each mapping material and convert the planar design file into a mapping file; The rendering unit is configured to render the mapping file into a basic 3D model to generate a 3D cigarette packaging model; The marking module includes: The display unit is configured to display the 3D cigarette packaging model in a display interface and receive an interaction instruction for the 3D cigarette packaging model; The second determination unit is configured to determine a review range on the 3D cigarette packaging model based on the interaction instruction, and identify and mark review elements in the review range.

7. An electronic device, comprising a memory, a processor, and a computer program stored on 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-5 are implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1-5 are implemented.

Citation Information

Patent Citations

  • Packaging method and device for object to be packaged

    CN109250233A