Two-dimensional code generation system
Technical Field
The invention relates to a two-dimensional code generating system, in particular to a payment two-dimensional code generating and printing system.
Background
The two-dimensional code is a bar code for recording data symbol information by using black and white smelling figures distributed on a plane (in a two-dimensional direction) according to a certain rule by using a certain specific geometric figure. The method has the advantages of large information capacity, high reliability, flexible coding mode, strong confidentiality and anti-counterfeiting performance and the like.
The two-dimensional code is an information carrier, is also an important method and means for information acquisition and transmission, and can play a role in improving efficiency in various fields. With the popularization of intelligent terminals and the rapid popularization of mobile networks, the two-dimensional code becomes a window of the future data era. The two-dimensional code technology is widely used in the fields of mobile electronic commerce, fast character input, food safety management and the like.
The distance between consumer and the enterprise has been drawn close to in the application of two-dimensional code, has further improved customer responsiveness, extends product and service to terminal customer and binds basic information, company's information etc. and the two-dimensional code of product together, spouts the seal to the packing carton of product, combines cloud database and mobile terminal, not only can realize forging and fighting, and the real-time tracking of product circulation is with traceing back, can also reach the effect of propaganda product.
Mobile payment is a convenient and fast payment means emerging in recent years and rapidly occupies a considerable share of the payment market. Two-dimensional code payment is a wireless payment mode combining a two-dimensional code technology and a mobile payment technology. The merchant stores the payment information through the generated two-dimensional code, and the user scans the two-dimensional code by using the mobile phone client, so that the user enters a bound third-party payment platform or a fund account to realize payment settlement with the merchant account.
However, due to the limitation of the two-dimensional code, related security threats appear in the process of being used as a third-party payment means, wherein the most typical security threats are fishing threats, such as the theft of shop income by replacing a merchant collection two-dimensional code.
Disclosure of Invention
The invention provides a payment two-dimensional code generation printing system, which can solve the problem of income stealing after being replaced by printed payment two-dimensional codes.
As an aspect of the present invention, there is provided a payment two-dimensional code printing system including: the two-dimensional code image input unit is used for inputting a payment two-dimensional code image; a first image generation unit for generating a first image, the first image including a plurality of regions of different colors; a second image generation unit which transforms the payment two-dimensional code image into an anti-counterfeit payment two-dimensional code image based on the area of the first image and the distribution of the colors; a first printing medium input unit which inputs a transparent first printing medium; a second printing medium input unit which inputs a second printing medium; and the printing unit is used for printing the anti-counterfeiting payment two-dimensional code image on the first printing medium and inputting and printing the first image on the second printing medium.
Further, the plurality of different colors includes at least one dark color and one light color.
Further, the dark color includes black, brown and dark red, and the light color includes white, beige and light yellow.
Further, the plurality of differently colored regions includes regions of different shapes and sizes, which may be square, circular, arcuate, or irregular.
Further, the plurality of regions of different colors includes at least three regions.
Furthermore, the areas of the first image and the input payment two-dimensional code image are equal, and the second image generation unit exchanges the dark two-dimensional code unit and the light two-dimensional code unit in the region of the input payment two-dimensional code image corresponding to the dark color region of the first image to form the anti-counterfeiting payment two-dimensional code image.
Further, when the printing unit prints, for an area corresponding to the light-color area of the first image in the anti-counterfeiting payment two-dimensional code image, the dark-color two-dimensional code unit is printed by using dark-color pigment, wherein the light-color two-dimensional code unit is not printed; and for the area corresponding to the dark color area of the first image in the anti-counterfeiting payment two-dimensional code image, printing the two-dimensional code unit with dark color by using light color pigment, wherein the light color is not printed.
Further, the anti-counterfeiting payment two-dimensional code image on the first printing medium is overlapped on the first image on the second printing medium when in use.
Furthermore, the anti-counterfeiting payment two-dimensional code image is partially overlapped with the corresponding part of the first image.
Further, the first printing medium is a plastic or resin film.
Further, the second printing medium is printing paper.
Drawings
Fig. 1 is a schematic image diagram of inputting a payment two-dimensional code according to an embodiment of the present invention.
FIG. 2 is a schematic diagram of a printing system generating a first image according to an embodiment of the present invention.
FIG. 3 is a schematic diagram of different areas of an anti-counterfeit payment two-dimensional code image generated by the printing system according to the embodiment of the invention.
Detailed Description
The invention relates to an anti-counterfeiting payment two-dimensional code printed by a printing system, which is based on the following principle: when light passes through the transparent material, most of the light passes through the transparent material, and the reflectivity is very low; when the two-dimensional code is identified, the two-dimensional code is identified through the difference of the reflection intensity of the two-dimensional code units, so that when the two-dimensional code is printed on the transparent material, the two-dimensional code needs to be subjected to bar code reversal, a dark-color two-dimensional code unit and a light-color two-dimensional code unit of an original two-dimensional code image are exchanged to form a bar code two-dimensional code image, and then the dark-color two-dimensional code unit in the bar code two-dimensional code image is printed by using light-color pigment; the payment two-dimensional code printed by the printing system comprises a first image printed by bottom printing paper and an anti-counterfeiting payment two-dimensional code image printed by upper transparent material, wherein the bottom printing paper comprises a dark color area and a light color area; for the anti-counterfeiting payment two-dimensional code area on the transparent material above the dark color area, as most of light penetrating through the transparent material is absorbed by the dark color, the two-dimensional code unit of the anti-counterfeiting payment two-dimensional code area can be identified only by printing after code reversal; for the anti-counterfeiting payment two-dimensional code area of the transparent material merchant above the light color area, most of light penetrating through the transparent material is reflected and then passes through the transparent material again, so that the two-dimensional code unit can be directly printed without code reversal and can be identified. Therefore, the anti-counterfeiting payment two-dimensional code printed by the invention can be identified only by being arranged on the first image. When the anti-counterfeiting payment two-dimensional code is used, the anti-counterfeiting payment two-dimensional code is arranged on the first image, if a lawbreaker replaces the anti-counterfeiting payment two-dimensional code printed on other transparent materials, the replaced two-dimensional code image cannot be identified due to the light effect of the first image on the transparent material two-dimensional code image, and therefore the anti-counterfeiting and anti-theft effects can be achieved.
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts; the embodiments and features of the embodiments of the present invention may be combined with each other without conflict.
The payment two-dimensional code printing system comprises a two-dimensional code image input unit, a first image generation unit, a second image generation unit, a first printing medium input unit, a second printing medium input unit and a printing unit.
The two-dimensional code image input unit is used for inputting a payment two-dimensional code image, converting two-dimensional code payment information into the payment two-dimensional code image through the existing two-dimensional code transcoding tool and inputting the payment two-dimensional code image into the printing system; the two-dimensional code cash register image generated by the payment APP, such as a payment treasure, WeChat and the like, can also be directly input into the printing system. The payment two-dimensional code image in the present embodiment is as shown in fig. 1.
The first image generation unit is used for generating a first image arranged on the bottom layer. The area of the first image is equal to the image area of the input pay two-dimensional code image, and the first image comprises a plurality of areas with different colors, wherein the different colors at least comprise a dark color and a light color, the dark color can be black, brown, dark red and the like, for example, and the light color can be white, beige, light yellow and the like, for example. The areas can be the combination of areas with different shapes, and the different shapes can be square, triangle, circle, arc, ellipse, trapezoid and other conventional shapes, and can also be irregular shapes. The number of regions may be two or more. The user can set the color, shape and number of the areas of the first image through the man-machine interface, and the default setting can also be carried out by the printing system. Generally, the more colors, shapes and the number of regions are selected, the better the anti-counterfeiting and anti-theft system of the finally generated payment two-dimensional code image is. In the present embodiment, as shown in fig. 2, the dark color is set to black, the light color is set to white, and four square regions 10, 20, 30, 40 are provided. In which the regions 10 and 40 are set to black and the regions 20 and 30 are set to white.
And the second image generation unit is used for generating an anti-counterfeiting payment two-dimensional code image arranged on the upper layer of the first image. The second image generation unit exchanges the dark-color two-dimensional code unit and the light-color two-dimensional code unit in the area corresponding to the dark-color area of the first image in the input payment two-dimensional code image to form an anti-counterfeiting payment two-dimensional code image. Referring to fig. 3, the second generation unit performs inverse code conversion on the two-dimensional code image in the region 10 'and the region 40' corresponding to the black regions 10 and 40 in fig. 2 in the input payment two-dimensional code image, and exchanges the dark-color two-dimensional code unit and the light-color two-dimensional code unit; the two-dimensional code images of the areas 20 'and 30' corresponding to the white areas 20 and 30 in fig. 2 are not changed; forming the anti-counterfeiting payment two-dimensional code image consisting of the areas 10 ', 20', 30 'and 40'.
A first printing medium input unit for inputting a transparent first printing medium, which may be a resin or a plastic film, such AS PMP, AS, PMMP, PET, etc. A second printing medium input unit for inputting a second printing medium, which may be, for example, a conventional printing paper.
And the printing unit is used for printing the anti-counterfeiting payment two-dimensional code image on the first printing medium and inputting and printing the first image on the second printing medium. When the printing unit prints the anti-counterfeiting payment two-dimensional code image, printing the dark two-dimensional code unit in the area corresponding to the light-color area of the first image in the anti-counterfeiting payment two-dimensional code image by using dark-color pigment, wherein the light-color two-dimensional code unit does not print, such as the areas 20 ', 30' in fig. 3, and the black two-dimensional code unit prints by using black pigment; for the area of the anti-counterfeiting payment two-dimensional code image corresponding to the dark color area of the first image, the two-dimensional code unit with the dark color is printed by using light color pigment, wherein the light color is not printed, such as the areas 10 'and 40' in fig. 3, and the black two-dimensional code unit is printed by using white pigment.
When the payment two-dimensional code is used, the printed anti-counterfeiting payment two-dimensional code image is arranged on the first image, the corresponding areas are overlapped, and a user uses the mobile client to anti-counterfeiting payment two-dimensional code image, so that the user enters a bound third party payment platform or a fund account to realize payment settlement with a merchant account. If lawbreakers use other two-dimension code images to replace the anti-counterfeiting payment two-dimension code image, the two-dimension code image cannot be identified, so that the anti-counterfeiting and anti-theft effects are achieved.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and equivalent substitutions or changes according to the technical solution and the inventive concept of the present invention should be covered by the scope of the present invention.