Three-dimensional printing two-dimensional code manufacturing method, device, equipment, medium and product

Through the three-dimensional printing process, the QR code images are segmented and spliced ​​to form a raster image and bonded to the raster board, which solves the problems of insufficient anti-counterfeiting performance, single visual effects and difficult layout of traditional QR codes, and achieves efficient anti-counterfeiting and aesthetic effects.

CN120197631APending Publication Date: 2025-06-24BEIJING INSTITUTE OF GRAPHIC COMMUNICATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510293301.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-12
Publication Date
2025-06-24

AI Technical Summary

Technical Problem

The lack of anti-counterfeiting performance of traditional QR codes, single visual effects, and difficulty in typing in small packaging or limited spaces, limiting their application in high-end product anti-counterfeiting, creative advertising and other fields.

Method used

Through the stereo printing process, the QR code image is divided into image strips vertically or horizontally, and sequentially numbered and spliced ​​to form a raster image, printed on a carrier, and bonded to the raster plate to obtain a stereo printed QR code.

Benefits of technology

It significantly improves the anti-counterfeiting performance of QR codes, making it more difficult to be copied and forged, realizes the three-dimensional and dynamic display of QR codes, enhances visual appeal, and optimizes the layout problems in packaging design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120197631A_ABST
    Figure CN120197631A_ABST
Patent Text Reader

Abstract

The invention discloses a three-dimensional printing two-dimensional code manufacturing method and device, equipment, a medium and a product, and relates to the technical field of anti-fake two-dimensional codes, and the method comprises the steps: obtaining a plurality of two-dimensional code images; each two-dimensional code image contains different information; longitudinally or transversely segmenting each two-dimensional code image into the same number of image strips, and numbering the image strips segmented by each two-dimensional code image; image strips are selected to be spliced, and a grating image is obtained; printing the grating image on a carrier; and fitting the grating plate with the carrier printed with the grating image to obtain the three-dimensional printing two-dimensional code. The three-dimensional printing two-dimensional code has a unique visual effect and is difficult to copy, the anti-counterfeiting capability of the two-dimensional code is greatly improved, and the counterfeiting difficulty and cost are increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of anti-counterfeiting two-dimensional codes, and particularly to a method, device, equipment, medium and product for manufacturing a three-dimensional printed two-dimensional code. Background Art

[0002] Two-dimensional code technology, with its efficient information storage and transmission capabilities, has been widely applied globally in multiple fields such as product packaging, ticket management, advertising, etc., demonstrating its significant advantages of large information capacity, fast recognition speed, and wide applicability. The wide application of this technology has greatly promoted the rapid circulation and convenient access of information.

[0003] Although two-dimensional code technology brings many conveniences, with the continuous increase in its penetration rate, a series of problems have emerged. In particular, the lack of anti-counterfeiting performance, the single visual effect, and the difficulties in typesetting have become bottlenecks restricting the further development of two-dimensional code technology. These problems not only affect the application effect of two-dimensional codes in fields such as high-end product anti-counterfeiting and creative advertising, but also limit their flexible use in small packages or limited spaces.

[0004] For traditional ordinary two-dimensional codes, due to their characteristics of being easy to copy and tamper with, it has become extremely difficult to conduct anti-counterfeiting traceability for two-dimensional codes. In addition, there are also obvious deficiencies in the visual design of ordinary two-dimensional codes. Their monotonous black and white tones make two-dimensional codes appear lack of vividness in appearance, and it is difficult to meet the modern public's demands for aesthetics and visual impact. Summary of the Invention

[0005] The purpose of the present application is to provide a method, device, equipment, medium and product for manufacturing a three-dimensional printed two-dimensional code, which can make the two-dimensional code present a three-dimensional and dynamic effect through a three-dimensional printing process, thereby enhancing the anti-counterfeiting performance and aesthetics, and optimizing the typesetting of the two-dimensional code in packaging design.

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

[0007] In the first aspect, the present application provides a method for manufacturing a three-dimensional printed two-dimensional code, including:

[0008] Obtain a plurality of two-dimensional code images; each two-dimensional code image contains different information;

[0009] Vertically or horizontally divide each two-dimensional code image into the same number M of image strips, and sequentially number the image strips divided from the same two-dimensional code image; the width of the image strip is the same as the grating pitch of the grating plate, and the number of image strips of each two-dimensional code image is the same as the number of grating lines of the grating plate;

[0010] Select image strips for splicing to obtain a raster image; the raster image is any one of N two-dimensional code splicing images; among them, the first image strip in the i-th two-dimensional code splicing image is the first image strip of the i-th two-dimensional code image, and the k-th image strip in the i-th two-dimensional code splicing image is the k-th image strip of the ((i + k - 2) % N + 1)-th two-dimensional code image; where i = 1, 2, 3..., N, k = 2, 3, 4,..., M, and % is the modulo operation.

[0011] Print the raster image on a carrier; the carrier and the raster image have the same size.

[0012] Bond the grating plate to the carrier printed with the two-dimensional grating image to obtain a three-dimensional printed two-dimensional code; the grating plate and the carrier have the same size.

[0013] Optionally, the two-dimensional code image is:

[0014] A static two-dimensional code or a dynamic two-dimensional code; the dynamic two-dimensional code uses pictures with different patterns as the background, and the pictures with different patterns include pictures of the same object at different times or pictures of the same position at different angles.

[0015] Optionally, before obtaining the two-dimensional code image of each piece of information to be anti-counterfeited, the method for designing the three-dimensional printed two-dimensional code further includes:

[0016] Set the color of each two-dimensional code image; among them, the contrast between the colors of any two two-dimensional code images is greater than a preset contrast threshold.

[0017] Optionally, the carrier is selected as the matte coated paper with a weight of more than 150 g / m 2 above.

[0018] Optionally, the dot size of the two-dimensional code image is greater than the grating pitch of the grating plate.

[0019] Optionally, bonding the grating plate to the carrier printed with the raster image to obtain a three-dimensional printed two-dimensional code specifically includes:

[0020] After aligning the grating pitch on the grating plate with the image strips on the carrier, adjust the position of the grating sheet until only one two-dimensional code image can be seen at one angle, and then use an adhesive to bond the side of the grating plate facing away from the grating sheet and the side of the carrier printed with the two-dimensional grating image to obtain a three-dimensional printed two-dimensional code.

[0021] In a second aspect, the present application provides a device for making a three-dimensional printed two-dimensional code, including:

[0022] A two-dimensional code image acquisition module, configured to acquire a plurality of two-dimensional code images; each two-dimensional code image contains different information;

[0023] An image strip acquisition module, configured to longitudinally or horizontally divide each two-dimensional code image into the same number M of image strips, and sequentially number the image strips divided from the same two-dimensional code image; the width of the image strip is the same as the grating pitch of the grating plate, and the number of image strips of each two-dimensional code image is the same as the number of grating lines of the grating plate;

[0024] A grating image acquisition module, configured to select image strips for splicing to obtain a grating image; the grating image is any one of N two-dimensional code splicing images; wherein, the first image strip in the i-th two-dimensional code splicing image is the first image strip of the i-th two-dimensional code image, and the k-th image strip in the i-th two-dimensional code splicing image is the k-th image strip of the ((i + k - 2) % N + 1)-th two-dimensional code image; wherein, i = 1, 2, 3..., N, k = 2, 3, 4,..., M, and % is the modulo operation;

[0025] A grating image printing module, configured to print the grating image on a carrier; the carrier and the grating image have the same size;

[0026] A three-dimensional printed two-dimensional code acquisition module, configured to attach a grating plate to a carrier printed with a two-dimensional grating image to obtain a three-dimensional printed two-dimensional code; the grating plate and the carrier have the same size.

[0027] In a third aspect, the present application provides a computer device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor executes the computer program to implement the steps of the three-dimensional printed two-dimensional code manufacturing method described in any one of the above.

[0028] In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the three-dimensional printed two-dimensional code manufacturing method described in any one of the above are implemented.

[0029] In a fifth aspect, the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of the three-dimensional printed two-dimensional code manufacturing method described in any one of the above are implemented.

[0030] According to the specific embodiments provided by the present application, the present application has the following technical effects:

[0031] The present application provides a method, apparatus, device, medium and product for manufacturing a three-dimensional printed QR code. By obtaining multiple QR code images containing different information, longitudinally or horizontally dividing them into image strips matching the grating pitch of the grating plate, and then performing sequential numbering and splicing, the problem of poor anti-counterfeiting performance of traditional QR codes is solved, the three-dimensional and dynamic display of QR code information is realized, the anti-counterfeiting performance is significantly improved, and it is more difficult for QR codes to be copied and forged. By utilizing the characteristics of the grating plate, the grating image formed by the spliced image strips is printed on a carrier and bonded with the grating plate to obtain a QR code with a three-dimensional effect, solving the problem of single visual effect of traditional QR codes, realizing the diversification and interactivity of QR code patterns, and enhancing the visual attraction. At the same time, the method for manufacturing a three-dimensional printed QR code in the present application also optimizes the layout problem of QR codes in packaging design by displaying multiple QR code information in the same area, solves the problem of large space occupied by the arrangement of multiple QR codes, realizes the integrated display of multiple information, saves layout space, and improves the overall aesthetics and layout efficiency of packaging design. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] 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 embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0033] Figure 1 It is a flowchart of a method for manufacturing a three-dimensional printed QR code provided by an embodiment of the present application;

[0034] Figure 2 It is a schematic diagram of a grating plate provided by an embodiment of the present application;

[0035] Figure 3 It is a schematic diagram of functional modules of a device for manufacturing a three-dimensional printed QR code provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0036] As an efficient information storage and transmission method, QR code technology has been widely used in various fields such as commodity packaging, ticketing systems, and advertising. QR codes have the advantages of large information capacity, fast recognition speed, wide applicability, etc., and are therefore widely adopted. However, with the popularization of QR code applications, some problems in related technologies have gradually emerged:

[0037] 1. Poor anti-counterfeiting performance: Ordinary QR codes are easily copied, leading to the proliferation of fake and shoddy products, causing huge economic losses to enterprises and consumers. Traditional QR codes only read information through image recognition technology, are easily photographed, copied, and reprinted, and lack effective anti-counterfeiting measures.

[0038] 2. Single visual effect: Traditional QR codes lack aesthetic appeal visually, can only display static patterns, and are difficult to meet the modern market's requirements for the aesthetics and interactivity of packaging. Consumers' requirements for the visual effects of product packaging are getting higher and higher, and monotonous QR codes cannot attract consumers' attention.

[0039] 3. Difficult typesetting: In some application scenarios that require multiple QR codes, the typesetting of QR codes often occupies a lot of space, affecting the overall design effect. Especially in small packages or limited spaces, the problems of the arrangement and visual conflict of multiple QR codes are particularly prominent.

[0040] To solve the above problems, this application proposes a new type of three-dimensional printed QR code that combines three-dimensional printing technology and QR code technology. The technical solution of this application aims to make the QR code present a three-dimensional and dynamic effect through three-dimensional printing technology, thereby improving the anti-counterfeiting performance and aesthetics, and optimizing the typesetting of QR codes in packaging design.

[0041] Next, the technical solutions in the embodiments of this application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of this application.

[0042] To make the above objects, features, and advantages of this application more obvious and understandable, the following further detailed description of this application will be given in conjunction with the accompanying drawings and specific implementation manners.

[0043] As Figure 1 shown, this application provides a method for making a three-dimensional printed QR code, including:

[0044] Step 101, obtaining multiple QR code images; each QR code image contains different information.

[0045] In some embodiments, step 101 specifically includes:

[0046] 1. Original manuscript design:

[0047] a. QR code generation: Generate electronic manuscripts of ordinary QR codes and dynamic pattern QR codes through online generators or software such as Python. Design the color, content, and size of the ordinary QR code to ensure the visual effect. For the static QR code, the pattern is only the QR code information, and there are no related pictures as the background; for the dynamic QR code, pictures with different patterns that are interrelated are used as the background, and different patterns show different moments of the action picture or different angles of the scenery picture. The generation of the dynamic QR code involves converting the static pattern into a QR code containing dynamic information. For example, screenshots of different actions of a certain mascot can be used as the background. To make the final three-dimensional printed QR code have a dynamic effect, that is, when observing the three-dimensional printed product from different angles continuously, the mascot can make continuous actions. Two moment action screenshots of a certain mascot waving its arm are selected as the original manuscript of the QR code and compiled in Python.

[0048] The specific functions of the electronic manuscript are as follows: ① Basic data carrier: The QR code electronic manuscript is the basis for all subsequent image processing and printing operations. It contains all the information required for the QR code (such as website addresses, texts, images). ② Precise design: At the electronic manuscript stage, the appearance and size of the QR code can be precisely designed through computer software to ensure that it meets the requirements of the final application. ③ Data backup: The electronic manuscript can be used as data backup to regenerate the QR code image when needed.

[0049] Based on the electronic manuscript, create a layer mask.

[0050] b. Layer mask creation: Create a layer mask in Photoshop (Adobe Photoshop, image processing software) to simulate the grating sheet. The layer mask utilizes the QR code image in the electronic manuscript and simulates the effect of the grating sheet by covering specific parts and showing specific parts.

[0051] The image information observed through the mask is the same as the image information observed through the grating after printing. The specific operations include: creating a file 18 pixels wide (18 pixels form the pitch of a grating, where 18 pixels is not a fixed value and can be adjusted according to the actual situation; the larger the value, the clearer the QR code, but the larger the electronic file occupies computer space, and the smaller the value, the less clear the QR code, but the smaller the capacity). Use the rectangular marquee tool to fill the layer and define a pattern for subsequent mask filling.

[0052] 2. Grating selection:

[0053] Grating parameter testing: Use the 3DMasterKit software to generate a grating test spline. Through printing and grating fitting experiments, determine the actual line count of the grating to ensure its match with the QR code. The selection of grating parameters should be based on the viewing distance and pixel size to ensure the high definition and three-dimensional effect of the QR code image.

[0054] The grating is the key to achieving the stereoscopic printing effect. The grating line count is selected between 50 lpi and 100 lpi, and it is recommended to use a 100 lpi grating to obtain the best effect. The main parameters of the grating include the grating line count, grating thickness, and grating pitch. The grating line count can be 50 lpi, 60 lpi, 70 lpi, 75 lpi, 100 lpi; the grating thickness can be from 0.58 mm to 0.7 mm; the grating pitch can be from 0.254 mm to 0.507 mm.

[0055] The grating line count represents the number of grating stripes per inch. The viewing distance directly affects the human eye's ability to distinguish images. Therefore, different viewing distances require different grating line counts. Close viewing (such as 20 - 30 cm): For close viewing, a higher resolution is required, so a higher grating line count (such as above 80 LPI) should be selected to ensure clear details and an obvious three-dimensional effect in the image. Medium and far viewing (such as more than 1 m): For a farther viewing distance, a lower grating line count (such as 60 - 80 LPI) can meet the requirements. This is because at a long distance, the eye's ability to distinguish details decreases, and too high a line count may instead cause the image to be blurred or distorted.

[0056] The grating pitch is the distance between the grating stripes, and it is closely related to the pixel size. To ensure that each grating stripe can accurately display a partial image of the QR code, the grating pitch should be adjusted according to the pixel size. Pixel size: The dot size of the QR code image should match the grating pitch. Generally, it is required that the dot size of the QR code is slightly larger than the grating pitch to avoid image overlap or blurring. Grating pitch calculation: If the pixel size is p, then the grating pitch d should satisfy d ≤ p. This means that the width of the grating stripe should match or be slightly smaller than the width of the QR code dot to ensure that each grating stripe only transmits the corresponding dot information and avoids image confusion.

[0057] The grating thickness affects the light-gathering ability of the grating and the clarity of the stripes. Determining the thickness requires comprehensive consideration of the grating material, optical properties, and the expected visual effect. Material selection: The grating is usually made of transparent plastic materials with a thickness range between 0.2 mm and 1.0 mm. The thicker the material, the more obvious the light-gathering effect of the grating, but it may lead to a weakened three-dimensional effect. Thickness and viewing distance: Thicker gratings are usually suitable for viewing at a farther distance, which can enhance the optical focusing effect; while thinner gratings are suitable for close viewing to ensure that image details are not lost. Determination through experiments: The thickness can be determined through experiments. Usually, at the initial stage of design, by adjusting the grating thickness and observing the three-dimensional effect and image clarity, the appropriate thickness is finally determined.

[0058] Step 102: Vertically or horizontally divide each two-dimensional code image into the same number of image strips, and sequentially number the image strips divided from the same two-dimensional code image; the width of the image strips is the same as the grating pitch of the grating plate, and the number of image strips of each two-dimensional code image is the same as the number of grating lines of the grating plate.

[0059] In some embodiments, step 102 specifically includes: synthesizing the two-dimensional code pattern and the grating stripes through Photoshop to generate a grating image that conforms to the three-dimensional effect. The specific steps include: longitudinally or horizontally strip and number different image strips, and re-order and combine the image strips with the same number according to the original position of the image during shooting to form an image containing three-dimensional information. The original position of the image refers to the initial position of the two-dimensional code during design and shooting, that is, their arrangement and layout in the design software. This is usually the position of the static image when generating the two-dimensional code. If it is a two-dimensional code of a dynamic pattern, the original position refers to the position of each frame of the image during the animation generation process.

[0060] Step 103: Select image strips for splicing to obtain a grating image; the grating image is any one of the N two-dimensional code splicing images; wherein, the first image strip in the i-th two-dimensional code splicing image is the first image strip of the i-th two-dimensional code image, and the k-th image strip in the i-th two-dimensional code splicing image is the k-th image strip of the ((i + k - 2) % N + 1)-th two-dimensional code image; wherein, i = 1, 2, 3..., N, k = 2, 3, 4,..., M, and % is the modulo operation.

[0061] In an exemplary embodiment of the present application, there are N two-dimensional codes in total, each two-dimensional code is evenly divided into M strips, and the i-th (i ≤ M) image strip in the n-th (n ≤ N) two-dimensional code splicing image is denoted as ni.

[0062] The overall size of the spliced graphic is the same as the size of a single two-dimensional code. The spliced two-dimensional code graphic is composed of the strips selected from each two-dimensional code, and the strip order is: 11 / 22 / 33 / ... / N N / 1 N+1 / 2 N+2 / 3 N+3 / ... / N 2N / N 2N+1 / ..., the number of stripes included in the spliced image is M. For example, if there are four QR codes A, B, C, and D, and each QR code is evenly divided into 10 stripes, then the spliced image of the first QR code is: A1 / B2 / C3 / D4 / A5 / B6 / C7 / D8 / A9 / B10, the spliced image of the second QR code is: B1 / C2 / D3 / A4 / B5 / C6 / D7 / A8 / B9 / C10, the spliced image of the third QR code is: C1 / D2 / A3 / B4 / C5 / D6 / A7 / B8 / C9 / D10, and the spliced image of the fourth QR code is: D1 / A2 / B3 / C4 / D5 / A6 / B7 / C8 / D9 / A10. The raster image can be any one of the spliced images of the above 4 QR codes.

[0063] Step 104, print the raster image on a carrier; the carrier and the raster image have the same size.

[0064] In another exemplary embodiment of the present application, a matte coated paper with a weight of 150 g / m 2 or above is selected to carry the stereoscopic printed image. This kind of paper has good flatness and surface quality, and is suitable for high-quality printing. Specifically, a Fujifilm Versant80 digital printing press is used to print the stereoscopic QR code pattern to ensure the consistency of printing quality and line count. During the printing process, attention should be paid to the selection of ink and the drying process to ensure the image quality.

[0065] In another exemplary embodiment of the present application, UV ink is used for printing. UV ink has the characteristics of fast drying, wear resistance, and bright colors, and is very suitable for the stereoscopic printing process. Ensure that the ink color matches the color in the design to guarantee the color accuracy of the final printed product. The viscosity of the ink needs to be moderate. Excessive viscosity will result in uneven printing, while too low viscosity may cause the image to be blurred. The specific viscosity parameters need to be adjusted according to the printing equipment and paper type.

[0066] During the printing process, a UV drying device is used for rapid drying. The UV drying device can quickly cure the UV ink to ensure the image quality. Generally, the drying is completed within a few seconds. The specific drying time needs to be adjusted according to the power of the device and the thickness of the ink layer to ensure that the ink is completely cured and the surface is flat. During the drying process, the temperature needs to be strictly controlled to avoid excessive temperature causing paper deformation or excessive ink flow. Usually, it is controlled below 60°C.

[0067] Step 105: After aligning the grating pitch on the grating plate with the image strips on the carrier, adjust the position of the grating sheet until only one QR code image can be seen at a certain angle. Then, use an adhesive to bond the side of the grating plate facing away from the grating sheet to the side of the carrier printed with the two-dimensional grating image to obtain a three-dimensional printed QR code. The specific method includes: laminating the grating plate on the QR code image and ensuring precise alignment through manual or machine bonding. During the bonding process, attention should be paid to the precise alignment of the grating stripes and the QR code pattern to avoid information loss.

[0068] First, cut the grating plate into the required size, keeping the edges neat. Cut the printed QR code according to the size. The grating plate is as Figure 2 shown. Then, tear off one side of the double-sided tape, stick it to the smooth side of the grating, align the grating and the QR code print, and slightly move the grating sheet until only one QR code color or pattern can be clearly seen at a certain angle. Keep the position of the grating sheet unchanged, and use an adhesive to bond the side of the grating plate facing away from the grating sheet to the side of the carrier printed with the two-dimensional grating image.

[0069] In another exemplary embodiment of the present application, the QR code image can also be directly printed on the smooth side of the grating. This method has higher accuracy than lamination.

[0070] In an exemplary embodiment of the present application, a 70.1 lpi grating is used to make ordinary QR codes. QR code 1 contains the official website link of "Beijing Institute of Graphic Communication", and QR code 2 contains the official website link of "Graduate School of Beijing Institute of Graphic Communication". The side lengths of both QR codes are 3 cm, and the colors are blue and orange respectively. The logo of Beijing Institute of Graphic Communication is added to the QR codes.

[0071] The grating line count is 70.1 lpi, the grating thickness is 0.7 mm, and the grating pitch is 0.362 mm.

[0072] Use Photoshop to synthesize the two QR code patterns with 70.1 pi grating stripes to generate a grating image. Print the QR code pattern using a Fujifilm Versant80 digital printer. Manually bond the grating plate to the printed QR code pattern to ensure precise alignment.

[0073] Test results: The QR code can be recognized by a mobile phone, the response time is 1.7 seconds, the image conversion angle is 10°, and the image quality is above medium.

[0074] In another exemplary embodiment of the present application, a dynamic pattern QR code made with a 70.1 Ipi grating is used. Dynamic pattern 1 contains the production information of a certain mascot, and dynamic pattern 2 contains a link to a certain official Weibo. QR code design: The side lengths of both QR codes are 4.5 cm, and the background is different action screenshots of a certain mascot to ensure the visual effect.

[0075] The number of grating lines is 70.1 Ipi, the grating thickness is 0.7 mm, and the grating pitch is 0.362 mm.

[0076] The electronic manuscript of the dynamic QR code is generated by Python. Two dynamic QR code patterns are synthesized with 70.1 pi grating stripes through Photoshop to generate a grating image. The QR code pattern is printed using a Fujifilm Versant80 digital printing press. The grating plate is manually bonded to the printed QR code pattern to ensure accurate alignment.

[0077] Test results: The QR code can be recognized by mobile phones, the response time is 2.6 seconds, the image conversion angle is 12°, and the image quality is medium.

[0078] In another exemplary embodiment of the present application, a dynamic pattern QR code is made using gratings with different numbers of lines, and its performance is tested and analyzed in detail. The test results of the three-dimensional printed QR codes with different grating line numbers in terms of recognition ability, response time, image conversion angle, and image quality are summarized in Table 1 as follows.

[0079] Table 1 Test results of dynamic pattern QR codes

[0080] Number of raster lines / lpi 50.1 60.2 70.1 75.45 100 Can it be recognized No Yes Yes Yes Yes Response time / s \ 3.5 2.6 2.1 1.9 Image conversion angle / ° 24 15 12 11 9 Image quality Poor Relatively poor Medium Relatively good Good

[0081] As can be seen from Table 1 above:

[0082] ① Recognition ability: The three-dimensional printed QR code with a grating line number of 50.1 pi cannot be recognized by mobile phones. This is because the code point size is close to the pitch, resulting in excessive loss of QR code information during the image synthesis process. The QR codes with other grating line numbers (60.2 Ipi, 70.1 Ipi, 75.45 lpi, and 100 Ipi) can all be recognized by mobile phones, indicating that high-line-number gratings can better retain QR code information and improve the recognition rate.

[0083] ② Response time: As the grating line number increases, the response time of the QR code gradually shortens. The QR code with a grating line number of 100 lpi has the shortest response time, only 1.9 seconds, and the QR code with a grating line number of 60.2 pi has the longest response time, 3.5 seconds. This shows that high-line-number gratings help to speed up the recognition speed of QR codes and improve the user experience.

[0084] ③ Image conversion angle: The image conversion angle decreases as the grating line number increases. The QR code with a grating line number of 100 lpi has the smallest image conversion angle, 9°, and the QR code with a grating line number of 50.1 pi has the largest image conversion angle, 24°. This means that high-line-number gratings can more sensitively capture image changes and provide a better dynamic effect.

[0085] ④ Image quality: The image quality also improves with the increase in the number of raster lines. The QR code image with 100 lpi has the best image quality, while the QR code image with 50.1 pi has the worst image quality. High-line-number rasters can present clearer and more delicate images, enhancing the overall visual effect.

[0086] The present application also provides an application scenario that applies the above three-dimensional printing QR code manufacturing method. Specifically: The three-dimensional printing QR code manufacturing method provided in this embodiment can be applied in the commodity packaging scenario. The commodity packaging scenario includes multiple links such as understanding commodity characteristics, selecting packaging materials, designing packaging structures, making packaging prototypes, producing packaging, filling and encapsulating commodities, and quality inspection and storage. First, starting from the link of understanding commodity characteristics, enterprises will conduct in-depth analyses on the attributes of commodities, target consumer groups, and market positioning to provide basic data for subsequent packaging design. Then, entering the link of selecting packaging materials, according to commodity characteristics and market demands, appropriate packaging materials are selected to ensure the durability, aesthetics, and environmental friendliness of the packaging. Next, through the link of designing packaging structures, designers will design a reasonable packaging structure according to the shape, size of the commodity, and consumer preferences, and integrate the design elements of three-dimensional printing QR codes to enhance the interactivity and aesthetics of the packaging. After that, entering the link of making packaging prototypes, actual packaging prototypes are made according to the design drafts for testing and evaluating the practicality and visual effects of the packaging. Subsequently, entering the link of producing packaging, advanced production processes and equipment are used to mass-produce packaging materials that meet the requirements. Immediately afterwards, the link of filling and encapsulating commodities is carried out, putting the commodities into the packaging and performing encapsulation processing to ensure the integrity and safety of the commodities. Finally, in the link of quality inspection and storage, strict quality inspections are carried out on the packaging finished products to ensure compliance with relevant standards and requirements, and then proper storage is carried out waiting for shipment. The three-dimensional printing QR code manufacturing method provided in this embodiment belongs to the links of making packaging prototypes and producing packaging in the commodity packaging process. Specifically when making packaging prototypes, this method makes a QR code pattern with a three-dimensional effect through precise image segmentation, splicing, and overlay techniques and prints it on the packaging prototype; in the link of producing packaging, this method applies the three-dimensional QR codes to actual packaging materials on a large scale through efficient printing and laminating processes, thus realizing the personalization, interactivity, and aesthetics of commodity packaging.

[0087] Based on the same inventive concept, the embodiments of the present application also provide a three-dimensional printing QR code manufacturing device for implementing the above-mentioned three-dimensional printing QR code manufacturing method. The solution provided by this device to solve problems is similar to the solution recorded in the above method. Therefore, the specific limitations in one or more embodiments of the three-dimensional printing QR code manufacturing device provided below can refer to the limitations on the three-dimensional printing QR code manufacturing method in the above text and will not be elaborated here.

[0088] In an exemplary embodiment, as Figure 3 shown, a three-dimensional printed QR code manufacturing apparatus is provided, including:

[0089] A QR code image acquisition module 201, configured to acquire a plurality of QR code images; each QR code image contains different information.

[0090] An image strip acquisition module 202, configured to longitudinally or vertically divide each QR code image into the same number M of image strips, and sequentially number the image strips divided from the same QR code image; the width of the image strips is the same as the grating pitch of the grating plate, and the number of image strips of each QR code image is the same as the number of grating lines of the grating plate.

[0091] A grating image acquisition module 203, configured to select image strips for splicing to obtain a grating image; the grating image is any one of N QR code splicing images; wherein, the first image strip in the i-th QR code splicing image is the first image strip of the i-th QR code image, and the k-th image strip in the i-th QR code splicing image is the k-th image strip of the ((i + k - 2) % N + 1)-th QR code image; wherein, i = 1, 2, 3..., N, k = 2, 3, 4,..., M, and % is the modulo operation.

[0092] A grating image printing module 204, configured to print the grating image on a carrier; the carrier and the grating image have the same size.

[0093] A three-dimensional printed QR code acquisition module 205, configured to attach a grating plate to the carrier printed with the two-dimensional grating image to obtain a three-dimensional printed QR code; the grating plate and the carrier have the same size.

[0094] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, which when executed by a processor, implements the steps in the above method embodiments.

[0095] In an exemplary embodiment, a computer program product is provided, including a computer program, which when executed by a processor, implements the steps in the above method embodiments.

[0096] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data that have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant regulations.

[0097] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memories can include read-only memory (ROM), magnetic tapes, floppy disks, flash memories, optical memories, high-density embedded non-volatile memories, resistive random-access memories (ReRAM), magnetoresistive random-access memories (MRAM), ferroelectric random-access memories (FRAM), phase change memories (PCM), graphene memories, etc. Volatile memories can include random access memory (RAM) or external cache memories, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.

[0098] The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processors, graphics processors, digital signal processors, programmable logics, data processing logics based on quantum computing, etc., without limitation.

[0099] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered to be within the scope described in this specification.

[0100] Specific examples are used in this article to elaborate on the principles and implementation manners of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation manners and application scopes. In summary, the content of this specification should not be construed as a limitation to the present application.

Claims

1. A method for producing a three-dimensional printed two-dimensional code, characterized in that: The method for producing a three-dimensional printed two-dimensional code includes: Obtain multiple QR code images; each QR code image contains different information; Each two-dimensional code image is divided into the same number M of image strips longitudinally or transversely, and the image strips divided from the same two-dimensional code image are sequentially numbered; the width of the image strips is the same as the grating pitch of the grating plate, and the number of image strips of each two-dimensional code image is the same as the number of grating lines of the grating plate; Select image strips for stitching to obtain a grating image; the grating image is any one of the N two-dimensional code stitching images; wherein the first image strip in the i-th two-dimensional code stitching image is the first image strip of the i-th two-dimensional code image, and the k-th image strip in the i-th two-dimensional code stitching image is the k-th image strip of the (i+k-2)%N+1-th two-dimensional code image; wherein i=1,2,3...,N, k=2,3,4,...,M, and % is a modulo operation; Printing the grating image on a carrier; the carrier and the grating image have the same size; The grating plate is laminated to a carrier printed with a two-dimensional grating image to obtain a three-dimensional printed two-dimensional code; the grating plate and the carrier have the same size.

2. The method for producing a three-dimensional printed two-dimensional code according to claim 1, characterized in that: The two-dimensional code image is: Static QR code or dynamic QR code; the dynamic QR code uses pictures of different patterns as the background, and the pictures of different patterns include pictures of the same object at different times or at different angles at the same position.

3. The method for producing a three-dimensional printed two-dimensional code according to claim 1, characterized in that: Before obtaining the two-dimensional code image of each piece of information that needs to be anti-counterfeited, the three-dimensional printed two-dimensional code design method further includes: The color of each two-dimensional code image is set; wherein the contrast between the colors of any two two-dimensional code images is greater than a preset contrast threshold.

4. The method for producing a three-dimensional printed two-dimensional code according to claim 1, characterized in that: The carrier is selected from 150g / m 2 The above matte coated paper.

5. The method for producing a three-dimensional printed two-dimensional code according to claim 1, characterized in that: The code point size of the two-dimensional code image is larger than the grating pitch of the grating plate.

6. The method for producing a three-dimensional printed two-dimensional code according to claim 1, characterized in that: The grating plate is laminated with a carrier printed with a grating image to obtain a three-dimensional printed two-dimensional code, which specifically includes: After aligning the grating pitch on the grating plate with the image strips on the carrier, adjust the position of the grating sheet until only one two-dimensional code image can be seen at a certain angle, and then use adhesive to bond the surface of the grating plate facing away from the grating sheet to the surface of the carrier printed with the two-dimensional grating image to obtain a three-dimensional printed two-dimensional code.

7. A three-dimensional printing two-dimensional code production device, characterized in that: The three-dimensional printing two-dimensional code production device comprises: A two-dimensional code image acquisition module is used to acquire multiple two-dimensional code images; each two-dimensional code image contains different information; An image strip acquisition module is used to divide each two-dimensional code image into the same number M of image strips longitudinally or transversely, and sequentially number the image strips divided from the same two-dimensional code image; the width of the image strips is the same as the grating pitch of the grating plate, and the number of image strips of each two-dimensional code image is the same as the number of grating lines of the grating plate; A grating image acquisition module is used to select image strips for splicing to obtain a grating image; the grating image is any one of N two-dimensional code splicing images; wherein the first image strip in the i-th two-dimensional code splicing image is the first image strip of the i-th two-dimensional code image, and the k-th image strip in the i-th two-dimensional code splicing image is the k-th image strip of the (i+k-2)%N+1-th two-dimensional code image; wherein i=1,2,3...,N, k=2,3,4,...,M, and % is a modulo operation; A grating image printing module, used for printing the grating image on a carrier; the carrier and the grating image have the same size; The three-dimensional printed two-dimensional code acquisition module is used to attach a grating plate to a carrier printed with a two-dimensional grating image to obtain a three-dimensional printed two-dimensional code; the grating plate and the carrier have the same size.

8. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the three-dimensional printed two-dimensional code production method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for producing a three-dimensional printed two-dimensional code according to any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for producing a three-dimensional printed two-dimensional code according to any one of claims 1 to 6 is implemented.