A hot stamping method, system, electronic device and computer-readable storage medium

By automatically controlling the feeding of hot stamping foil, the step distance and jump distance are calculated based on the image width value and gap value, the problem of inefficient hot stamping quality and efficiency under manual control is solved, and high-precision hot stamping effect is achieved.

CN116945792BActive Publication Date: 2025-08-01ZHEJIANG HECHUAN TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311169124.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-11
Publication Date
2025-08-01
Estimated Expiration
2043-09-11

AI Technical Summary

Technical Problem

The control of existing hot stamping foils relies on manual experience, resulting in low quality and efficiency of hot stamping and poor applicability.

Method used

By automatically obtaining the width and gap value of the image to be stamped, calculating the total distance value and step distance of the printing plate, judging the position overlap and starting value, and controlling the introduction of the stamped foil to achieve accurate stamping.

Benefits of technology

Improve the quality and efficiency of hot stamping, avoid overlapping printed images, and improve the applicability of hot stamping.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116945792B_ABST
    Figure CN116945792B_ABST
Patent Text Reader

Abstract

The present application discloses a hot stamping method, system, electronic device and computer-readable storage medium, relating to the field of printing technology. The width value and gap value of a target printing image to be hot stamped are obtained; the total plate distance value and the current step distance are determined; the current position after the target printing image is moved according to the current step distance is determined; it is judged whether the current position overlaps with the existing position of the target printing image; if so, the current step distance is updated, and the process returns to execute the step of determining the current position after the target printing image is moved according to the current step distance; if not, it is judged whether the starting value of the current position exceeds the total plate distance value; if the starting value of the current position does not exceed the total plate distance value, the current step distance is output as the target step distance, and the process returns to execute the step of determining the current position after the target printing image is moved according to the current step distance; if the starting value of the current position exceeds the total plate distance value, the total plate distance value is output as the target skip distance. It has good applicability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of printing technology, and more particularly, to a hot stamping method, system, electronic device and computer-readable storage medium. Background Art

[0002] In the printing manufacturing industry, items can be hot stamped, for example, patterns can be hot stamped on the surface of items with the help of hot stamping foil. During this process, it is necessary to control the feeding parameters of the hot stamping foil to manage the hot stamping result.

[0003] However, the control of the existing hot stamping foil is completed manually based on experience, with limited accuracy, time-consuming and laborious, resulting in low hot stamping quality and efficiency, and poor applicability.

[0004] In summary, how to improve the applicability of the hot stamping method is an urgent problem to be solved by those skilled in the art at present. Summary of the Invention

[0005] The purpose of the present application is to provide a hot stamping method, which can solve to a certain extent the technical problem of how to improve the applicability of the hot stamping method. The present application also provides a hot stamping system, an electronic device and a computer-readable storage medium.

[0006] To achieve the above purpose, the present application provides the following technical solutions:

[0007] A hot stamping method, comprising:

[0008] Obtaining the width value and gap value of a target printed image to be hot stamped;

[0009] Determining the total plate distance value based on the width value and the gap value, and determining the current step distance based on the width value;

[0010] Determining the current position of the target printed image after moving according to the current step distance;

[0011] Judging whether the current position overlaps with the existing position of the target printed image;

[0012] If the current position overlaps with the existing position, updating the current step distance, and returning to execute the step of determining the current position of the target printed image after moving according to the current step distance;

[0013] If the current position does not overlap with the existing position, judging whether the starting value of the current position exceeds the total plate distance value;

[0014] If the starting value of the current position does not exceed the total plate distance value, outputting the current step distance as the target step distance, and returning to execute the step of determining the current position of the target printed image after moving according to the current step distance;

[0015] If the starting value of the current position exceeds the total plate distance value, the total plate distance value is output as the target skip distance, so as to control the feeding of the hot stamping foil based on the target step distance and the target skip distance to print the target printed image.

[0016] Preferably, determining the current step distance based on the width value includes:

[0017] Taking the maximum value in the width value as the current step distance.

[0018] Preferably, updating the current step distance includes:

[0019] Starting from the first target printed image, calculating the target sum value of the width value and the gap value;

[0020] If the target sum value is greater than the current step distance, the target sum value is used as the updated current step distance.

[0021] Preferably, after outputting the total plate distance value as the target skip distance, it further includes:

[0022] Calculating the utilization rate of the hot stamping foil based on the target step distance and the target skip distance.

[0023] Preferably, calculating the utilization rate of the hot stamping foil based on the target step distance and the target skip distance includes:

[0024] Calculating the utilization rate of the hot stamping foil based on the target step distance and the target skip distance through the utilization rate calculation formula;

[0025] The utilization rate calculation formula includes:

[0026] S = C * K / (J1 * K1 + J2 * K2 + …… + Jn * Kn) * 100%;

[0027] Wherein, S represents the utilization rate of the hot stamping foil; C represents the sum value of the width value; Ji represents the i-th type of the target step distance, Ki represents the number value of the i-th type of the target step distance, i = 1, 2, ……, n, and n represents the total number of categories of the target step distance; K represents the total number value of the target step distance.

[0028] Preferably, after outputting the total plate distance value as the target skip distance, it further includes:

[0029] Estimating the output of the target printed image based on the target step distance and the target skip distance.

[0030] Preferably, estimating the output of the target printed image based on the target step distance and the target skip distance includes:

[0031] Estimate the output of the target printed image based on the target step distance and the target jump distance through the output calculation formula;

[0032] The output calculation formula includes:

[0033] O = 100 / [((J1 * K1 + J2 * K2 + …… + Jn * Kn) / K) / 1000];

[0034] Wherein, O represents the output of the target printed image; Ji represents the i-th type of the target step distance, Ki represents the numerical value of the i-th type of the target step distance, i = 1, 2, ……, n, and n represents the total number of categories of the target step distance; K represents the total numerical value of the target step distance.

[0035] A hot stamping system, comprising:

[0036] A first acquisition module, configured to acquire the width value and the gap value of the target printed image to be hot stamped;

[0037] A first determination module, configured to determine the total plate distance value based on the width value and the gap value, and determine the current step distance based on the width value;

[0038] A second determination module, configured to determine the current position after the target printed image moves according to the current step distance;

[0039] A first judgment module, configured to judge whether the current position overlaps with the existing position of the target printed image; if the current position overlaps with the existing position, update the current step distance, and return to execute the determination of the current position after the target printed image moves according to the current step distance; if the current position does not overlap with the existing position, judge whether the starting value of the current position exceeds the total plate distance value; if the starting value of the current position does not exceed the total plate distance value, output the current step distance as the target step distance, and return to execute the determination of the current position after the target printed image moves according to the current step distance; if the starting value of the current position exceeds the total plate distance value, output the total plate distance value as the target jump distance, so as to control the feeding of the hot stamping foil to print the target printed image based on the target step distance and the target jump distance.

[0040] An electronic device, comprising:

[0041] A memory, configured to store a computer program;

[0042] A processor, configured to implement the steps of any one of the above hot stamping methods when executing the computer program.

[0043] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any one of the above-described hot stamping methods are implemented.

[0044] A hot stamping method provided by the present application includes: obtaining the width value and gap value of a target printed image to be hot stamped; determining the total plate distance value based on the width value and the gap value, and determining the current step distance based on the width value; determining the current position after the target printed image moves according to the current step distance; judging whether the current position overlaps with the existing position of the target printed image; if the current position overlaps with the existing position, then update the current step distance, and return to execute determining the current position after the target printed image moves according to the current step distance; if the current position does not overlap with the existing position, then judge whether the starting value of the current position exceeds the total plate distance value; if the starting value of the current position does not exceed the total plate distance value, then output the current step distance as the target step distance, and return to execute determining the current position after the target printed image moves according to the current step distance; if the starting value of the current position exceeds the total plate distance value, then output the total plate distance value as the target skip distance, so as to control the feeding of the hot stamping foil to print the target printed image based on the target step distance and the target skip distance. The present application realizes automatically estimating the target step distance and target skip distance of the hot stamping foil according to the width value and gap value of the printed image, with high precision, and can avoid the overlap of the printed image, improving the hot stamping quality and efficiency, and having good applicability. A hot stamping system, an electronic device, and a computer-readable storage medium provided by the present application also solve the corresponding technical problems. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained according to the provided drawings.

[0046] Figure 1 It is a flowchart of a hot stamping method provided by an embodiment of the present application;

[0047] Figure 2 It is a printed diagram of a printed image;

[0048] Figure 3 It is a schematic structural diagram of a hot stamping system provided by an embodiment of the present application;

[0049] Figure 4 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application;

[0050] Figure 5 It is another schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners

[0051] 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. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.

[0052] Please refer to Figure 1 , Figure 1 which is a flowchart of a hot stamping method provided by an embodiment of the present application.

[0053] A hot stamping method provided by an embodiment of the present application may include the following steps:

[0054] Step S101: Obtain the width value and gap value of the target printed image to be hot stamped.

[0055] In practical applications, the width value and gap value of the target printed image to be hot stamped can be obtained first. The width value is also the width value of each hot stamping image, and the gap value is also the distance value between two adjacent hot stamping images. For easy understanding, assume there are three printed images, such as Figure 2 the three squares shown. Then the width values of the three printed images are C1(40), C2(40), and C3(80) respectively, and the gap values between them are B1(65) and B2(330) respectively.

[0056] Step S102: Determine the total plate distance value based on the width value and gap value, and determine the current step distance based on the width value.

[0057] In practical applications, after obtaining the width value and gap value of the target printed image to be hot stamped, the total plate distance value can be determined based on the width value and gap value, and the current step distance can be determined based on the width value, so as to determine the feeding parameters of the hot stamping foil based on the total plate distance value and the current step distance subsequently. The feeding parameters may include the step distance and the skip distance. The step distance is also the distance for the hot stamping foil to take steps, and the skip distance is also the distance for the hot stamping foil to skip steps. And in each round of cyclic hot stamping process, it can be cycled according to "m steps, 1 skip", etc.

[0058] In a specific application scenario, during the process of determining the current step distance based on the width value, to avoid overlapping of printed images, the maximum value in the width value can be used as the initial current step distance. Still taking Figure 2 as an example, 80 can be used as the current step distance.

[0059] In specific application scenarios, when determining the total plate distance value based on the width value and the gap value, the sum of all width values and all gap values and 1 can be used as the total plate distance value. Figure 2 For example, (40+40+80+65+330+1)=556 can be used as the total plate distance value.

[0060] Step S103: determining the current position of the target printing image after it moves according to the current step length.

[0061] In practical applications, after determining the current step length, because the step length is used to represent the distance traveled by the hot stamping foil, the current position of the target printed image after moving according to the current step length can be determined. Taking C1 as an example, the position of C1 is 0-40, and the current step length is 80. Then, the current position of C1 after moving according to the current step length is 80-120.

[0062] Step S104: Determine whether the current position overlaps with an existing position of the target printing image; if the current position overlaps with the existing position, execute step S105; if the current position does not overlap with the existing position, execute step S106.

[0063] Step S105: Update the current walking stride and return to step S103.

[0064] In actual applications, because the hot stamping of printed images is not allowed to overlap, after determining the current position, it is necessary to determine whether the current position overlaps with the existing position of the target printed image. The existing position includes the original position of the target printed image and the position after moving according to the existing target step length. If the current position overlaps with the existing position, the current step length needs to be updated, and the process returns to the current position of the target printed image after moving according to the current step length and the subsequent steps. Figure 2 For example, the current walking pitch is 80, and the current position of C1 is 80-120, which overlaps with the original position of C2, so the current walking pitch needs to be updated, and the current position of the target printing image after moving according to the current walking pitch and subsequent steps are returned to be executed.

[0065] Step S106: Determine whether the starting value of the current position exceeds the total distance value of the printing plate; if the starting value of the current position does not exceed the total distance value of the printing plate, execute step S107; if the starting value of the current position exceeds the total distance value of the printing plate, execute step S108.

[0066] Step S107: Output the current walking stride as the target walking stride, and return to step S103.

[0067] Step S108: outputting the total distance value of the printing plate as the target jump pitch, so as to control the feeding of the hot stamping foil based on the target walking pitch and the target jump pitch to print the target printed image.

[0068] In practical applications, if the current position exceeds the total plate distance value, it can be regarded as starting hot stamping again with the determined step distance, that is, a skip step is required. Therefore, after determining that the current position does not overlap with the existing position, it is necessary to determine whether the starting value of the current position exceeds the total plate distance value. If the starting value of the current position does not exceed the total plate distance value, the current step distance is used as the target step distance for output, and the program returns to execute the current position after moving the determined target printing image according to the current step distance. If the starting value of the current position exceeds the total plate distance value, the total plate distance value is used as the target skip step distance for output. Still taking Figure 2 as an example, if the current position exceeds 556, it can be considered that a new round of hot stamping is started, and the target skip step distance needs to be output, and the next round of hot stamping is started according to the output target step distance.

[0069] In specific application scenarios, during the process of updating the current step distance, the target sum value of the width value and the gap value can be calculated starting from the first target printing image. If the target sum value is greater than the current step distance, the target sum value is used as the updated current step distance. Currently, the target sum value can also be incremented by 1 and used as the updated current step distance, etc. Still taking Figure 2 as an example, when updating the current step distance of 80, since the width value and the gap value are 40, 65, 40, 330, 80 in sequence, and because (40 + 65) = 105, which is greater than 80, 105 can be used as the new current step distance first. However, after subsequent judgment, the updated current position overlaps with the existing position, and the current step distance needs to be updated again. At this time, since (40 + 65 + 40) = 145, which is greater than 80, 146 can be used as the new current step distance. Of course, there are other ways to update the current step distance. For example, the current step distance can be updated by increasing it according to the target value. When a high utilization rate of the hot stamping foil is required, the current step distance can be updated according to the rule of minimizing the update amplitude as much as possible, etc.

[0070] In practical applications, after outputting the total plate distance value as the target skip step distance, it is sometimes necessary to calculate the utilization rate of the hot stamping foil for the user's reference. Therefore, after that, the utilization rate of the hot stamping foil can also be calculated based on the target step distance and the target skip step distance.

[0071] In specific application scenarios, during the process of calculating the utilization rate of the hot stamping foil based on the target step distance and the target skip step distance, the utilization rate of the hot stamping foil can be calculated based on the target step distance and the target skip step distance through the utilization rate calculation formula;

[0072] The utilization rate calculation formula includes:

[0073] S = C * K / (J1 * K1 + J2 * K2 + …… + Jn * Kn) * 100%; )

[0074] Among them, S represents the utilization rate of the hot stamping foil; C represents the sum value of the width values; Ji represents the target step distance of the i-th category, Ki represents the number value of the target step distance of the i-th category, i = 1, 2, ……, n, and n represents the total number of categories of the target step distance; K represents the total number value of the target step distance.

[0075] In practical applications, after outputting the total plate distance value as the target skip distance, sometimes it is necessary to estimate the hot stamping output for the user's reference. Therefore, after that, the output of the target printed image can also be estimated based on the target step distance and the target skip distance.

[0076] In a specific application scenario, in the process of estimating the output of the target printed image based on the target step distance and the target skip distance, the output of the target printed image can be estimated based on the target step distance and the target skip distance through the output calculation formula;

[0077] The output calculation formula includes:

[0078] O = 100 / [((J1 * K1 + J2 * K2 + …… + Jn * Kn) / K) / 1000];

[0079] Among them, O represents the output of the target printed image; Ji represents the target step distance of the i-th category, Ki represents the number value of the target step distance of the i-th category, i = 1, 2, ……, n, and n represents the total number of categories of the target step distance; K represents the total number value of the target step distance.

[0080] A hot stamping method provided by this application obtains the width value and the gap value of the target printed image to be hot stamped; determines the total plate distance value based on the width value and the gap value, and determines the current step distance based on the width value; determines the current position after the target printed image moves according to the current step distance; determines whether the current position overlaps with the existing position of the target printed image; if the current position overlaps with the existing position, then updates the current step distance, and returns to execute to determine the current position after the target printed image moves according to the current step distance; if the current position does not overlap with the existing position, then determines whether the starting value of the current position exceeds the total plate distance value; if the starting value of the current position does not exceed the total plate distance value, then outputs the current step distance as the target step distance, and returns to execute to determine the current position after the target printed image moves according to the current step distance; if the starting value of the current position exceeds the total plate distance value, then outputs the total plate distance value as the target skip distance, so as to control the feeding of the hot stamping foil based on the target step distance and the target skip distance to print the target printed image. This application realizes automatically estimating the target step distance and the target skip distance of the hot stamping foil according to the width value and the gap value of the printed image, with high accuracy, and can avoid the overlap of the printed image, improve the hot stamping quality and efficiency, and has good applicability.

[0081] Please refer to Figure 3 , Figure 3Schematic diagram of the structure of a hot stamping system provided by an embodiment of the present application.

[0082] A hot stamping system provided by an embodiment of the present application may include:

[0083] A first acquisition module 101, configured to acquire the width value and gap value of a target printed image to be hot stamped;

[0084] A first determination module 102, configured to determine the total plate distance value based on the width value and the gap value, and determine the current step distance based on the width value;

[0085] A second determination module 103, configured to determine the current position of the target printed image after moving according to the current step distance;

[0086] A first judgment module 104, configured to judge whether the current position overlaps with the existing position of the target printed image; if the current position overlaps with the existing position, update the current step distance, and return to execute to determine the current position of the target printed image after moving according to the current step distance; if the current position does not overlap with the existing position, judge whether the starting value of the current position exceeds the total plate distance value; if the starting value of the current position does not exceed the total plate distance value, output the current step distance as the target step distance, and return to execute to determine the current position of the target printed image after moving according to the current step distance; if the starting value of the current position exceeds the total plate distance value, output the total plate distance value as the target jump step distance, so as to control the feeding of the hot stamping foil to print the target printed image based on the target step distance and the target jump step distance.

[0087] In practical applications, the hot stamping system provided by the present application can be built into the CODESYS platform for operation, where CODESYS is an open PLC programming software.

[0088] A hot stamping system provided by an embodiment of the present application, the first determination module may include:

[0089] A first determination unit, configured to use the maximum value in the width value as the current step distance.

[0090] A hot stamping system provided by an embodiment of the present application, the first judgment module may include:

[0091] A first calculation unit, configured to start from the first target printed image and calculate the target sum value of the width value and the gap value;

[0092] A first update unit, configured to, if the target sum value is greater than the current step distance, use the target sum value as the updated current step distance.

[0093] A hot stamping system provided by an embodiment of the present application may further include:

[0094] A first calculation module, configured to calculate the utilization rate of the hot stamping foil based on the target step distance and the target jump step distance after the first judgment module outputs the total plate distance value as the target jump step distance.

[0095] A hot stamping system provided by an embodiment of the present application, the first calculation module may include:

[0096] A second calculation unit, configured to calculate the utilization rate of the hot stamping foil based on the target step distance and the target jump step distance through a utilization rate calculation formula;

[0097] The utilization rate calculation formula includes:

[0098] S = C * K / (J1 * K1 + J2 * K2 + …… + Jn * Kn) * 100%;

[0099] Wherein, S represents the utilization rate of the hot stamping foil; C represents the sum value of the width values; Ji represents the i-th type of target step distance, Ki represents the number value of the i-th type of target step distance, i = 1, 2, ……, n, n represents the total number of categories of the target step distance; K represents the total number value of the target step distance.

[0100] A hot stamping system provided by an embodiment of the present application may further include:

[0101] A first estimation module, configured to estimate the output of the target printed image based on the target step distance and the target jump step distance after the first judgment module outputs the total plate distance value as the target jump step distance.

[0102] A hot stamping system provided by an embodiment of the present application, the first estimation module may include:

[0103] A first estimation unit, configured to estimate the output of the target printed image based on the target step distance and the target jump step distance through an output calculation formula;

[0104] The output calculation formula includes:

[0105] O = 100 / [((J1 * K1 + J2 * K2 + …… + Jn * Kn) / K) / 1000];

[0106] Wherein, O represents the output of the target printed image; Ji represents the i-th type of target step distance, Ki represents the number value of the i-th type of target step distance, i = 1, 2, ……, n, n represents the total number of categories of the target step distance; K represents the total number value of the target step distance.

[0107] The present application also provides an electronic device and a computer-readable storage medium, both of which have corresponding effects of a hot stamping method provided by an embodiment of the present application. Please refer to Figure 4 , Figure 4 which is a schematic structural diagram of an electronic device provided by an embodiment of the present application.

[0108] An electronic device provided by an embodiment of the present application includes a memory 201 and a processor 202. A computer program is stored in the memory 201. When the processor 202 executes the computer program, the steps of the hot stamping method described in any of the above embodiments are implemented.

[0109] Please refer to Figure 5 , another electronic device provided by an embodiment of the present application may further include: an input port 203 connected to the processor 202, configured to transmit an externally input command to the processor 202; a display unit 204 connected to the processor 202, configured to display the processing result of the processor 202 to the outside; a communication module 205 connected to the processor 202, configured to implement communication between the electronic device and the outside. The display unit 204 may be a display panel, a laser scanning display, etc.; the communication methods adopted by the communication module 205 include but are not limited to Mobile High-Definition Link (MHL), Universal Serial Bus (USB), High-Definition Multimedia Interface (HDMI), wireless connections: Wireless Fidelity (WiFi), Bluetooth communication technology, low-power Bluetooth communication technology, communication technology based on IEEE802.11s.

[0110] A computer-readable storage medium provided by an embodiment of the present application stores a computer program. When the computer program is executed by a processor, the steps of the hot stamping method described in any of the above embodiments are implemented.

[0111] The computer-readable storage medium involved in the present application includes Random Access Memory (RAM), memory, Read-Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROM (Compact Disc Read-Only Memory), or any other form of storage medium well-known in the technical field.

[0112] For the description of the relevant parts in the hot stamping system, electronic device, and computer-readable storage medium provided by the embodiments of the present application, please refer to the corresponding detailed description in the hot stamping method provided by the embodiments of the present application, and will not be elaborated here. In addition, for the parts of the above technical solutions provided by the embodiments of the present application that are consistent with the corresponding technical solutions in the prior art in terms of implementation principles, no detailed description is given to avoid excessive elaboration.

[0113] It should also be noted that, in this text, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the element.

[0114] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A hot stamping method, characterized in that, Including: Obtain the width value and gap value of the target printed image to be hot stamping; Determine the total plate distance value based on the width value and the gap value, and determine the current step distance based on the width value; Determine the current position of the target printed image after moving according to the current step distance; Judge whether the current position overlaps with the existing position of the target printed image; If the current position overlaps with the existing position, update the current step distance, and return to execute the determination of the current position of the target printed image after moving according to the current step distance; If the current position does not overlap with the existing position, judge whether the starting value of the current position exceeds the total plate distance value; If the starting value of the current position does not exceed the total plate distance value, output the current step distance as the target step distance, and return to execute the determination of the current position of the target printed image after moving according to the current step distance; If the starting value of the current position exceeds the total plate distance value, output the total plate distance value as the target skip distance, so as to control the feeding of the hot stamping foil to print the target printed image based on the target step distance and the target skip distance; Wherein, the determination of the current step distance based on the width value includes: Take the maximum value in the width value as the current step distance; Wherein, the update of the current step distance includes: Starting from the first target printed image, calculate the target sum value of the width value and the gap value; If the target sum value is greater than the current step distance, take the target sum value as the updated current step distance.

2. The method according to claim 1, wherein After outputting the total plate distance value as the target skip distance, it further includes: Calculate the utilization rate of the hot stamping foil based on the target step distance and the target skip distance.

3. The method according to claim 2, wherein The calculation of the utilization rate of the hot stamping foil based on the target step distance and the target skip distance includes: Calculate the utilization rate of the hot stamping foil based on the target step distance and the target skip distance through the utilization rate calculation formula; The utilization rate calculation formula includes: S = C * K / (J1 * K1 + J2 * K2 + …… + Jn * Kn) * 100%; Wherein, S represents the utilization rate of the hot stamping foil; C represents the sum value of the width values; Ji represents the i-th type of the target step distance, Ki represents the number value of the i-th type of the target step distance, i = 1, 2, ……, n, n represents the total number of categories of the target step distance; K represents the total number value of the target step distance.

4. The method according to claim 1, wherein After outputting the total plate distance value as the target skip distance, it further includes: Estimate the output of the target printed image based on the target step distance and the target skip distance.

5. The method according to claim 4, characterized in that The estimation of the output of the target printed image based on the target step distance and the target skip distance includes: Estimate the output of the target printed image based on the target step distance and the target skip distance through the output calculation formula; The output calculation formula includes: O = 100 / [((J1 * K1 + J2 * K2 + …… + Jn * Kn) / K) / 1000]; Wherein, O represents the output of the target printed image; Ji represents the i-th type of the target step distance, Ki represents the numerical value of the number of the i-th type of the target step distance, i = 1, 2, ……, n, and n represents the total number of types of the target step distance; K represents the total numerical value of the target step distance.

6. A hot stamping system, characterized in that, Including: A first acquisition module, configured to acquire the width value and the gap value of the target printed image to be hot stamping. A first determination module, configured to determine the total plate distance value based on the width value and the gap value, and determine the current step distance based on the width value. A second determination module, configured to determine the current position after the target printed image moves according to the current step distance. A first judgment module, configured to judge whether the current position overlaps with the existing position of the target printed image; if the current position overlaps with the existing position, update the current step distance, and return to execute the determination of the current position after the target printed image moves according to the current step distance. If the current position does not overlap with the existing position, judge whether the starting value of the current position exceeds the total plate distance value; if the starting value of the current position does not exceed the total plate distance value, output the current step distance as the target step distance, and return to execute the determination of the current position after the target printed image moves according to the current step distance; if the starting value of the current position exceeds the total plate distance value, output the total plate distance value as the target jump step distance, so as to control the feeding of the hot stamping foil to print the target printed image based on the target step distance and the target jump step distance. Wherein, the first determination module includes: A first determination unit, configured to use the maximum value in the width value as the current step distance. Wherein, the first judgment module includes: A first calculation unit, configured to calculate the target sum value of the width value and the gap value starting from the first target printed image. A first update unit, configured to use the target sum value as the updated current step distance if the target sum value is greater than the current step distance.

7. An electronic device, characterized in that, Including: A memory, configured to store a computer program. A processor, configured to implement the steps of the hot stamping method according to any one of claims 1 to 5 when executing the computer program.

8. A computer-readable storage medium, characterized in that, The computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, the steps of the hot stamping method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Preparation method of positioning laser paper and machining method of packaging product

    CN103009843A

  • Gold stamping leapfrogging manufacturing method for cigarette packet and cigarette packet product thereof

    CN111038163A