CN115618307A - Anti-counterfeiting verification method and device for printout file, electronic equipment and medium - Google Patents

Anti-counterfeiting verification method and device for printout file, electronic equipment and medium Download PDF

Info

Publication number
CN115618307A
CN115618307A CN202211205082.4A CN202211205082A CN115618307A CN 115618307 A CN115618307 A CN 115618307A CN 202211205082 A CN202211205082 A CN 202211205082A CN 115618307 A CN115618307 A CN 115618307A
Authority
CN
China
Prior art keywords
counterfeiting
file
picture
grating
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211205082.4A
Other languages
Chinese (zh)
Inventor
尚修智
韦利东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Genyan Network Technology Co ltd
Original Assignee
Shanghai Genyan Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Genyan Network Technology Co ltd filed Critical Shanghai Genyan Network Technology Co ltd
Priority to CN202211205082.4A priority Critical patent/CN115618307A/en
Publication of CN115618307A publication Critical patent/CN115618307A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/16Program or content traceability, e.g. by watermarking
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B42BOOKBINDING; ALBUMS; FILES; SPECIAL PRINTED MATTER
    • B42DBOOKS; BOOK COVERS; LOOSE LEAVES; PRINTED MATTER CHARACTERISED BY IDENTIFICATION OR SECURITY FEATURES; PRINTED MATTER OF SPECIAL FORMAT OR STYLE NOT OTHERWISE PROVIDED FOR; DEVICES FOR USE THEREWITH AND NOT OTHERWISE PROVIDED FOR; MOVABLE-STRIP WRITING OR READING APPARATUS
    • B42D25/00Information-bearing cards or sheet-like structures characterised by identification or security features; Manufacture thereof
    • B42D25/30Identification or security features, e.g. for preventing forgery
    • B42D25/328Diffraction gratings; Holograms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/606Protecting data by securing the transmission between two devices or processes
    • G06F21/608Secure printing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1222Increasing security of the print job
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1238Secure printing, e.g. user identification, user rights for device usage, unallowed content, blanking portions or fields of a page, releasing held jobs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Technology Law (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The embodiment of the disclosure provides an anti-counterfeiting verification method and device for a printout file and a readable storage medium. Wherein, the method comprises the following steps: acquiring raster anti-counterfeiting content and anti-counterfeiting code position information; generating a grating anti-counterfeiting picture according to the grating anti-counterfeiting content; generating an anti-counterfeiting code according to the acquired anti-counterfeiting file access address; writing the grating anti-counterfeiting picture and the anti-counterfeiting code into a corresponding position in an anti-counterfeiting file body uploaded by a user to obtain an anti-counterfeiting file to be printed; and outputting the anti-counterfeiting file to be printed.

Description

Anti-counterfeiting verification method and device for printout file, electronic equipment and medium
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to an anti-counterfeiting verification method and device for a printout file, an electronic device and a readable storage medium.
Background
The contract is an important carrier when two transaction parties carry out transaction activities, and often relates to the significant interest relationship between two parties or multiple parties of a party, and concerns about the respective vital interests and the transaction safety problem of the economic society. Therefore, it is very important and necessary to perform anti-counterfeiting treatment on the same.
At present, in the market, whether a pure off-line mode of stamping by using a seal or on-line stamping on one side and off-line stamping on the other side are adopted, a contract document is printed finally, and a paper document is stamped and stored by the other side, so that the action that the paper document is replaced or tampered by one side cannot be prevented.
The common solution is to print the contract by a special printing device, and the printed contract document has special texture marks which cannot be printed by other common printers. Or the appointed patterns can be printed on the contract document by using fluorescent ink or carbon powder. However, the existing anti-counterfeiting method is easy to copy and has poor anti-counterfeiting effect.
Disclosure of Invention
The embodiment of the disclosure provides an anti-counterfeiting verification method for a printout file, which can obtain an anti-counterfeiting file which is difficult to copy, and realize a good anti-counterfeiting effect.
According to a first aspect of the embodiments of the present disclosure, there is provided an anti-counterfeit verification method for a printout file, including:
acquiring anti-counterfeiting content of the grating and anti-counterfeiting code position information;
generating a grating anti-counterfeiting picture according to the grating anti-counterfeiting content;
generating an anti-counterfeiting code according to the acquired anti-counterfeiting file access address;
writing the grating anti-counterfeiting picture and the anti-counterfeiting code into a corresponding position in an anti-counterfeiting file body uploaded by a user to obtain an anti-counterfeiting file to be printed;
and outputting the anti-counterfeiting file to be printed.
Optionally, the acquiring the grating anti-counterfeiting content includes:
acquiring the grating anti-counterfeiting content configured by a user; alternatively, the first and second electrodes may be,
and randomly generating the grating anti-counterfeiting content according to the anti-counterfeiting file.
Optionally, the generating a grating security image according to the grating security content includes:
generating a transverse anti-counterfeiting picture and a longitudinal anti-counterfeiting picture according to the grating anti-counterfeiting content;
and generating the grating anti-counterfeiting picture according to the transverse anti-counterfeiting picture and the longitudinal anti-counterfeiting picture.
Optionally, the generating the grating anti-counterfeit picture according to the transverse anti-counterfeit picture and the longitudinal anti-counterfeit picture includes:
superposing the transverse anti-counterfeiting picture and the longitudinal anti-counterfeiting picture to generate an anti-counterfeiting picture to be covered;
generating a mask layer picture in a random direction;
and combining the mask layer picture and the anti-counterfeiting picture to be covered to obtain the grating anti-counterfeiting picture.
Optionally, writing the grating anti-counterfeit picture and the anti-counterfeit code into a corresponding position in an anti-counterfeit document body uploaded by a user to obtain an anti-counterfeit document to be printed, where the method includes:
determining the writing position of the grating anti-counterfeiting picture in the anti-counterfeiting file text;
and writing the grating anti-counterfeiting picture into a corresponding position in the body of the anti-counterfeiting file according to the writing position to obtain the anti-counterfeiting file to be printed.
According to a second aspect of the embodiments of the present disclosure, there is also provided an anti-counterfeit verification method for a printout file, including:
scanning an anti-counterfeiting code on an anti-counterfeiting file to be verified to obtain the anti-counterfeiting file to be verified;
acquiring a grating anti-counterfeiting picture on the anti-counterfeiting file to be verified by using a decoding sheet;
determining whether the anti-counterfeiting file to be verified is a forged file or not according to the acquired grating anti-counterfeiting picture;
the anti-counterfeiting code and the grating anti-counterfeiting picture are printed at a preset position in the anti-counterfeiting file to be checked; the anti-counterfeiting code is generated according to an anti-counterfeiting file access address, and the grating anti-counterfeiting picture is generated according to grating anti-counterfeiting content.
Optionally, the determining, according to the obtained grating anti-counterfeit picture, whether the anti-counterfeit file to be verified is a counterfeit file includes:
acquiring the grating anti-counterfeiting picture from a first angle, and comparing the grating anti-counterfeiting picture of the first angle with a first preset picture to obtain a first comparison result;
acquiring the grating anti-counterfeiting picture from a second angle, and comparing the grating anti-counterfeiting picture at the second angle with a second preset picture to obtain a second comparison result;
when the first comparison result and the second comparison result are consistent, determining that the anti-counterfeiting file to be verified is not the counterfeit file;
and when the first comparison result or the second comparison result is inconsistent, determining that the anti-counterfeiting file to be verified is the counterfeit file.
According to a third aspect of the embodiments of the present disclosure, there is provided an anti-counterfeit verification apparatus for a printout file, including:
the acquisition module is used for acquiring the anti-counterfeiting content of the grating and the position information of the anti-counterfeiting code;
the generating module is used for generating a grating anti-counterfeiting picture according to the grating anti-counterfeiting content; generating an anti-counterfeiting code according to the acquired anti-counterfeiting file access address;
the writing module is used for writing the grating anti-counterfeiting picture and the anti-counterfeiting code into a corresponding position in an anti-counterfeiting file body uploaded by a user to obtain an anti-counterfeiting file to be printed;
and the output module is used for outputting the anti-counterfeiting file to be printed.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an anti-counterfeit verification apparatus for a printout file, including:
the scanning module is used for scanning the anti-counterfeiting code on the anti-counterfeiting file to be checked so as to obtain the anti-counterfeiting file to be checked;
the decoding module is used for acquiring the grating anti-counterfeiting picture on the anti-counterfeiting file to be verified by using a decoding chip;
the determining module is used for determining whether the anti-counterfeiting file to be checked is a counterfeit file or not according to the acquired grating anti-counterfeiting picture;
the anti-counterfeiting code and the grating anti-counterfeiting picture are printed at a preset position in the anti-counterfeiting file to be verified; the anti-counterfeiting code is generated according to an anti-counterfeiting file access address, and the grating anti-counterfeiting picture is generated according to grating anti-counterfeiting content.
According to a fifth aspect of embodiments of the present disclosure, there is also provided a readable storage medium storing executable instructions that, when executed by a processor, perform the method according to any one of the first aspect of the embodiments of the present disclosure; alternatively, a method as in any one of the second aspects of the embodiments of the present disclosure is performed.
In one embodiment, the anti-counterfeiting content and the anti-counterfeiting code position information are obtained through the grating; generating a grating anti-counterfeiting picture according to the grating anti-counterfeiting content; generating an anti-counterfeiting code according to the acquired anti-counterfeiting file access address; writing the grating anti-counterfeiting picture and the anti-counterfeiting code into a corresponding position in an anti-counterfeiting file body uploaded by a user to obtain an anti-counterfeiting file to be printed; and outputting the anti-counterfeiting file to be printed. According to the embodiment of the disclosure, the grating anti-counterfeiting picture and the anti-counterfeiting code can be written in the corresponding position of the anti-counterfeiting file to be printed, and the grating anti-counterfeiting picture is generated according to the grating anti-counterfeiting content input by a user, so that the anti-counterfeiting file which is difficult to copy can be obtained, and a good anti-counterfeiting effect is realized.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a schematic flow chart diagram of a method for anti-counterfeit verification of a printed output document in accordance with an embodiment of the present disclosure;
FIG. 2 is a process flow schematic of another method of anti-counterfeit verification of a printed output document according to an embodiment of the present disclosure;
FIG. 3 is a first comparison picture obtained from a first angle using the method of FIG. 2;
FIG. 4 is a second comparison picture obtained from a second angle by applying the method shown in FIG. 2;
FIG. 5 is a functional block diagram of an anti-counterfeiting verification device for a printout document that can be used with embodiments of the present disclosure;
FIG. 6 is a functional block diagram of another anti-counterfeiting verification device for printed output documents that may be used with embodiments of the present disclosure;
fig. 7 is a schematic diagram showing a configuration of an electronic device that can be used to implement the forgery prevention verification method for a printout document according to the embodiment.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
< method examples >
Fig. 1 is a schematic flow chart of a method for verifying forgery prevention of a printout document according to an embodiment of the present disclosure, which may be implemented by an electronic device.
As shown in fig. 1, the anti-counterfeit verification method for a printout file of this embodiment may include the following steps 1100 to 1500:
and 1100, acquiring raster anti-counterfeiting contents and anti-counterfeiting code position information.
The grating anti-counterfeiting content is used for file anti-counterfeiting, and the grating anti-counterfeiting contents of different files can be the same or different. When the authenticity of the file is verified, the authenticity of the file can be obtained only by acquiring the grating anti-counterfeiting content through the decoding sheet.
Alternatively, the raster security content may be set by the user, and the user may configure the raster security content according to his or her own needs, for example, the user may input the raster security content through an input device of the electronic device. At this time, the electronic device may obtain the grating anti-counterfeiting content configured by the user. Or, the electronic device may also randomly generate the grating anti-counterfeiting content according to the anti-counterfeiting file. This embodiment is not particularly limited thereto.
Similarly, the anti-counterfeiting code position information can also be set by a user, for example, if the user wants to display the anti-counterfeiting code on the upper right corner of the anti-counterfeiting file, the user can input the upper right corner of the page as the anti-counterfeiting code position information through an input device of the electronic equipment, and the anti-counterfeiting code position information is acquired by the electronic equipment. Or, the anti-counterfeiting code position information may also be determined according to a preset position, for example, if the anti-counterfeiting code is preset in the electronic device and displayed in the upper right corner of the anti-counterfeiting file, the obtained anti-counterfeiting code position information is the upper right corner of the page. And is not particularly limited herein.
Step 1200, generating a grating anti-counterfeiting picture according to the grating anti-counterfeiting content.
Specifically, the grating anti-counterfeiting picture can be generated according to the grating anti-counterfeiting content by writing Java codes by using an optical anti-counterfeiting watermarking technology. Therefore, the grating anti-counterfeiting picture has different grating anti-counterfeiting contents seen from different angles, and has better anti-counterfeiting effect.
Illustratively, when the electronic device generates the grating anti-counterfeit picture, a transverse anti-counterfeit picture and a longitudinal anti-counterfeit picture may be generated specifically according to the grating anti-counterfeit content; and then generating the grating anti-counterfeiting picture according to the transverse anti-counterfeiting picture and the longitudinal anti-counterfeiting picture.
In a feasible implementation manner, when the electronic device generates the grating anti-counterfeiting picture according to the transverse anti-counterfeiting picture and the longitudinal anti-counterfeiting picture, the transverse anti-counterfeiting picture and the longitudinal anti-counterfeiting picture can be superimposed to generate an anti-counterfeiting picture to be covered; then generating a mask layer picture in a random direction; and finally, combining the mask layer picture and the anti-counterfeiting picture to be covered to obtain the grating anti-counterfeiting picture.
It can be understood that, in practical application, the transverse anti-counterfeiting picture can be used as a first layer picture, the longitudinal anti-counterfeiting picture can be used as a second layer picture, and then the randomly generated mask layer pictures can be used as a third layer picture to be combined to obtain the grating anti-counterfeiting picture; or the longitudinal anti-counterfeiting picture can be used as a first layer picture, the transverse anti-counterfeiting picture can be used as a second layer picture, and then the randomly generated mask layer pictures can be used as a third layer picture to be combined to obtain the grating anti-counterfeiting picture. In combination with the actual anti-counterfeiting requirement, 2 to 3 layers, or even more layers of mask layer pictures can be randomly generated, which is not specifically limited in this embodiment.
1300, generating an anti-counterfeiting code according to the acquired anti-counterfeiting file access address.
In this step, the anti-counterfeit code is an access address of the anti-counterfeit file, and the electronic device can generate corresponding anti-counterfeit codes according to different access addresses of different anti-counterfeit files. Illustratively, the anti-counterfeiting code can be a two-dimensional code, and the two-dimensional codes generated by different anti-counterfeiting files are different.
And 1400, writing the grating anti-counterfeiting picture and the anti-counterfeiting code into a corresponding position of the anti-counterfeiting code position information in the anti-counterfeiting file text uploaded by a user to obtain the anti-counterfeiting file to be printed.
Specifically, the electronic device may determine a writing position of the grating anti-counterfeit picture in the body text of the anti-counterfeit file; and writing the grating anti-counterfeiting picture into a corresponding position in the anti-counterfeiting file body according to the writing position to obtain the anti-counterfeiting file to be printed.
It should be noted that the grating security image and the security code may be written into each page of the security document, or may be written into any one or more pages of the security document, which is not limited herein.
And 1500, outputting the anti-counterfeiting file to be printed.
In the embodiment, the anti-counterfeiting content and the anti-counterfeiting code position information of the grating are obtained; generating a grating anti-counterfeiting picture according to the grating anti-counterfeiting content; generating an anti-counterfeiting code according to the acquired anti-counterfeiting file access address; writing the grating anti-counterfeiting picture and the anti-counterfeiting code into a corresponding position in an anti-counterfeiting file body uploaded by a user to obtain an anti-counterfeiting file to be printed; and outputting the anti-counterfeiting file to be printed. According to the embodiment of the disclosure, the grating anti-counterfeiting picture and the anti-counterfeiting code can be written in the corresponding position of the anti-counterfeiting file to be printed, and the grating anti-counterfeiting picture is generated according to the grating anti-counterfeiting content input by a user, so that the anti-counterfeiting file which is difficult to copy can be obtained, and a good anti-counterfeiting effect is realized.
Fig. 2 is a process flow schematic of another anti-counterfeit verification method for a printout document according to an embodiment of the disclosure. The present embodiment may specifically be executed by an electronic device.
As shown in fig. 2, the anti-counterfeit verification method for a printout file of this embodiment may specifically include the following steps 2100 to 2300.
Step 2100, scanning an anti-counterfeiting code on an anti-counterfeiting file to be verified to obtain the anti-counterfeiting file to be verified.
The electronic equipment can scan the anti-counterfeiting code on the anti-counterfeiting file to be verified by using the camera device, so that the electronic equipment jumps to the anti-counterfeiting file access address corresponding to the anti-counterfeiting code and opens the corresponding anti-counterfeiting file.
Step 2200, acquiring the grating anti-counterfeiting picture on the anti-counterfeiting file to be verified by using the decoding chip.
Step 2300, determining whether the anti-counterfeit file to be checked is a counterfeit file or not according to the obtained grating anti-counterfeit picture.
The anti-counterfeiting code and the grating anti-counterfeiting picture are printed at a preset position in the anti-counterfeiting file to be checked; the anti-counterfeiting code is generated according to an anti-counterfeiting file access address, and the grating anti-counterfeiting picture is generated according to grating anti-counterfeiting content.
In this step, when determining whether the anti-counterfeit file to be verified is a counterfeit file according to the acquired grating anti-counterfeit picture, the electronic device may acquire the grating anti-counterfeit picture from a first angle, as shown in fig. 3, the grating anti-counterfeit content on the grating anti-counterfeit picture is 4531, and compare the grating anti-counterfeit picture from the first angle with a first preset picture to obtain a first comparison result; acquiring the grating anti-counterfeiting picture from a second angle, wherein grating anti-counterfeiting content on the grating anti-counterfeiting picture is 3TBF (temporary flow Block) as shown in figure 4, and comparing the grating anti-counterfeiting picture at the second angle with a second preset picture to obtain a second comparison result; when the first comparison result and the second comparison result are consistent, determining that the anti-counterfeiting file to be verified is not the counterfeit file; and when the first comparison result or the second comparison result is inconsistent, determining that the anti-counterfeiting file to be verified is the counterfeit file.
In the embodiment, the anti-counterfeiting code on the anti-counterfeiting file to be verified is scanned to obtain the anti-counterfeiting file to be verified; acquiring a grating anti-counterfeiting picture on the anti-counterfeiting file to be verified by using a decoding sheet; and determining whether the anti-counterfeiting file to be verified is a forged file or not according to the acquired grating anti-counterfeiting picture. According to the embodiment, the grating anti-counterfeiting picture and the anti-counterfeiting code of the anti-counterfeiting file to be printed can be used, and the grating anti-counterfeiting picture is generated according to the grating anti-counterfeiting content input by a user, so that the anti-counterfeiting file which is difficult to copy can be obtained, and a good anti-counterfeiting effect is realized.
< apparatus embodiment >
FIG. 5 is a functional block diagram of an anti-counterfeiting verification device for a printout document that can be used with embodiments of the present disclosure. In this embodiment, an anti-counterfeit verification apparatus for a printout file is further provided, and the anti-counterfeit verification apparatus for a printout file may be disposed in an electronic device, for example.
As shown in fig. 5, the anti-counterfeit verification apparatus 4000 for a printed output document of the present embodiment may include: an acquisition module 4100, a generation module 4200, a write module 4300, and an output module 4400.
An obtaining module 4100, configured to obtain anti-counterfeit content of the grating and anti-counterfeit code position information; a generating module 4200, configured to generate a grating security image according to the grating security content; generating an anti-counterfeiting code according to the acquired anti-counterfeiting file access address; the writing module 4300 is configured to write the grating anti-counterfeit picture and the anti-counterfeit code into a corresponding position in an anti-counterfeit file body uploaded by a user, so as to obtain an anti-counterfeit file to be printed; and the output module 4400 is used for outputting the anti-counterfeiting file to be printed.
In an embodiment, the obtaining module 4100 may be specifically configured to obtain the grating anti-counterfeiting content configured by a user; or randomly generating the grating anti-counterfeiting content according to the anti-counterfeiting file.
In an embodiment, the generating module 4200 may be specifically configured to generate a transverse anti-counterfeit picture and a longitudinal anti-counterfeit picture according to the access address of the anti-counterfeit file; and generating the anti-counterfeiting code according to the transverse anti-counterfeiting picture and the longitudinal anti-counterfeiting picture.
In one embodiment, the generating module 4200 may be specifically configured to superimpose the transverse anti-counterfeit picture and the longitudinal anti-counterfeit picture to generate an anti-counterfeit picture to be covered; generating a mask layer picture in a random direction; and combining the mask layer picture and the anti-counterfeiting picture to be covered to obtain the anti-counterfeiting code.
In an embodiment, the writing module 4300 may be specifically configured to determine a writing position of the grating security image in the body of the security file; and writing the grating anti-counterfeiting picture into a corresponding position in the body of the anti-counterfeiting file according to the writing position to obtain the anti-counterfeiting file to be printed.
The anti-counterfeit verification apparatus for printout files of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 1, and the implementation principle and technical effect are similar, which are not described herein again.
FIG. 6 is a functional block diagram of another anti-counterfeit verification apparatus for printed output documents that may be used with embodiments of the present disclosure. In this embodiment, an anti-counterfeit verification apparatus for a printout file is further provided, and the anti-counterfeit verification apparatus for a printout file may be disposed in an electronic device, for example.
As shown in fig. 6, the anti-counterfeit verification apparatus 5000 for a printout file of this embodiment may include: a scanning module 5100, a decoding module 5200 and a determining module 5300.
The scanning module 5100 is configured to scan an anti-counterfeit code on an anti-counterfeit file to be verified, so as to obtain the anti-counterfeit file to be verified; a decoding module 5200, configured to use a decoding chip to obtain a grating anti-counterfeit picture on the anti-counterfeit file to be verified; the determining module 5300 is configured to determine, according to the acquired grating anti-counterfeit picture, whether the anti-counterfeit file to be checked is a counterfeit file; the anti-counterfeiting code and the grating anti-counterfeiting picture are printed at a preset position in the anti-counterfeiting file to be checked; the anti-counterfeiting code is generated according to an anti-counterfeiting file access address, and the grating anti-counterfeiting picture is generated according to grating anti-counterfeiting content.
In an embodiment, the determining module 5300 may be specifically configured to obtain the grating security image from a first angle, and compare the grating security image of the first angle with a first preset image to obtain a first comparison result; acquiring the grating anti-counterfeiting picture from a second angle, and comparing the grating anti-counterfeiting picture at the second angle with a second preset picture to obtain a second comparison result; when the first comparison result and the second comparison result are consistent, determining that the anti-counterfeiting file to be verified is not the counterfeit file; and when the first comparison result or the second comparison result is inconsistent, determining that the anti-counterfeiting file to be verified is the counterfeit file.
The anti-counterfeiting verification device for the printout file can be used for executing the technical scheme of the method embodiment, and the implementation principle and the technical effect are similar, and are not described herein again.
< apparatus embodiment >
In this embodiment, an electronic device is further provided, where the electronic device may include: a memory for storing executable commands. A processor for executing the method described in any of the method embodiments of the present disclosure under control of executable commands stored in the memory.
The implementation subject of the embodiment of the method executed in the electronic device may be a server or an electronic device.
Fig. 7 is a schematic diagram showing a configuration of an electronic device that can be used to implement the forgery prevention verification method for a printout document according to the embodiment.
As shown in fig. 7, the electronic device 6000 of the present embodiment may include a processor 6100, a memory 6200, an interface device 6300, a communication device 6400, a display device 6500, an input device 6600, a speaker 6400, a microphone 6500, and the like.
The processor 6100 is configured to execute program instructions, which may be in the instruction set of the architecture such as x56, arm, RISC, MIPS, SSE, etc. The memory 6200 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 6300 includes, for example, a USB interface, a headphone interface, and the like. The communication device 6400 can perform wired or wireless communication, for example. The display device 6500 is, for example, a liquid crystal display panel, a touch panel, or the like. The input device 6600 may include, for example, a touch screen, a keyboard, and the like. The speaker 6400 is used to output voice information. The microphone 6500 is used for collecting voice information.
The electronic device 6000 may be any device such as a smart phone, a laptop, a desktop computer, and a tablet computer.
In this embodiment, the memory 6200 of the electronic device 6000 is configured to store instructions, and the instructions are configured to control the processor 6100 to perform operations to support implementing the anti-counterfeit verification method for a printout file according to any embodiment of the present disclosure. The skilled person can design the instructions according to the solution disclosed in the present specification. How the instructions control the operation of the processor is well known in the art and will not be described in detail herein.
It should be understood by those skilled in the art that although a plurality of devices of the electronic device 6000 are shown in fig. 7, the electronic device 6000 of the embodiments of the present disclosure may only relate to a part of the devices therein, for example, only relate to the processor 6100 and the memory 6200, etc.
The electronic device 6000 shown in fig. 7 is merely illustrative and is in no way intended to limit the specification, its application, or uses.
< readable storage Medium embodiment >
The present embodiments provide a readable storage medium having stored therein an executable command, which when executed by a processor, performs the method described in any of the method embodiments of the present specification.
The present invention may be a system, method and/or computer program product. The computer program product may include a readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present invention.
The readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. A readable storage medium as used herein is not to be construed as a transitory signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through an electrical wire.
The computer-readable program instructions described herein may be downloaded from a readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a readable storage medium in the respective computing/processing device.
Computer program instructions for carrying out operations of the present invention may be assembler instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present invention are implemented by personalizing an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), with state information of computer-readable program instructions, which can execute the computer-readable program instructions.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, by software, and by a combination of software and hardware are equivalent.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.

Claims (10)

1. An anti-counterfeiting verification method for a printed output file is characterized by comprising the following steps:
acquiring raster anti-counterfeiting content and anti-counterfeiting code position information;
generating a grating anti-counterfeiting picture according to the grating anti-counterfeiting content;
generating an anti-counterfeiting code according to the acquired anti-counterfeiting file access address;
writing the grating anti-counterfeiting picture and the anti-counterfeiting code into a corresponding position in an anti-counterfeiting file body uploaded by a user to obtain an anti-counterfeiting file to be printed;
and outputting the anti-counterfeiting file to be printed.
2. The method according to claim 1, wherein the obtaining of the raster security content comprises:
acquiring the grating anti-counterfeiting content configured by a user; alternatively, the first and second liquid crystal display panels may be,
and randomly generating the grating anti-counterfeiting content according to the anti-counterfeiting file.
3. The method according to claim 1, wherein the generating a raster security image according to the raster security content comprises:
generating a transverse anti-counterfeiting picture and a longitudinal anti-counterfeiting picture according to the grating anti-counterfeiting content;
and generating the grating anti-counterfeiting picture according to the transverse anti-counterfeiting picture and the longitudinal anti-counterfeiting picture.
4. The method according to claim 3, wherein the generating the grating security image according to the transverse security image and the longitudinal security image comprises:
superposing the transverse anti-counterfeiting picture and the longitudinal anti-counterfeiting picture to generate an anti-counterfeiting picture to be covered;
generating a mask layer picture in a random direction;
and combining the mask layer picture and the anti-counterfeiting picture to be covered to obtain the grating anti-counterfeiting picture.
5. The method according to claim 1, wherein writing the raster security image and the security code into a corresponding position in a security document body uploaded by a user to obtain a security document to be printed comprises:
determining the writing position of the grating anti-counterfeiting picture in the anti-counterfeiting file text;
and writing the grating anti-counterfeiting picture into a corresponding position in the body of the anti-counterfeiting file according to the writing position to obtain the anti-counterfeiting file to be printed.
6. An anti-counterfeiting verification method for a printed output file is characterized by comprising the following steps:
scanning an anti-counterfeiting code on an anti-counterfeiting file to be verified to obtain the anti-counterfeiting file to be verified;
acquiring a grating anti-counterfeiting picture on the anti-counterfeiting file to be verified by using a decoding sheet;
determining whether the anti-counterfeiting file to be checked is a counterfeit file or not according to the acquired grating anti-counterfeiting picture;
the anti-counterfeiting code and the grating anti-counterfeiting picture are printed at a preset position in the anti-counterfeiting file to be checked; the anti-counterfeiting code is generated according to an anti-counterfeiting file access address, and the grating anti-counterfeiting picture is generated according to grating anti-counterfeiting content.
7. The method according to claim 6, wherein the determining whether the anti-counterfeit document to be verified is a counterfeit document according to the obtained grating anti-counterfeit picture comprises:
acquiring the grating anti-counterfeiting picture from a first angle, and comparing the grating anti-counterfeiting picture of the first angle with a first preset picture to obtain a first comparison result;
acquiring the grating anti-counterfeiting picture from a second angle, and comparing the grating anti-counterfeiting picture at the second angle with a second preset picture to obtain a second comparison result;
when the first comparison result and the second comparison result are consistent, determining that the anti-counterfeiting file to be verified is not the counterfeit file;
and when the first comparison result or the second comparison result is inconsistent, determining that the anti-counterfeiting file to be verified is the counterfeit file.
8. An anti-counterfeiting verification device for a printout file, comprising:
the acquisition module is used for acquiring the anti-counterfeiting content of the grating and the position information of the anti-counterfeiting code;
the generating module is used for generating a grating anti-counterfeiting picture according to the grating anti-counterfeiting content; generating an anti-counterfeiting code according to the acquired anti-counterfeiting file access address;
the writing module is used for writing the grating anti-counterfeiting picture and the anti-counterfeiting code into a corresponding position in an anti-counterfeiting file body uploaded by a user to obtain an anti-counterfeiting file to be printed;
and the output module is used for outputting the anti-counterfeiting file to be printed.
9. An anti-counterfeiting verification device for a printout file, comprising:
the scanning module is used for scanning the anti-counterfeiting code on the anti-counterfeiting file to be checked so as to obtain the anti-counterfeiting file to be checked;
the decoding module is used for acquiring the grating anti-counterfeiting picture on the anti-counterfeiting file to be verified by using a decoding chip;
the determining module is used for determining whether the anti-counterfeiting file to be verified is a forged file or not according to the acquired grating anti-counterfeiting picture;
the anti-counterfeiting code and the grating anti-counterfeiting picture are printed at a preset position in the anti-counterfeiting file to be verified; the anti-counterfeiting code is generated according to an anti-counterfeiting file access address, and the grating anti-counterfeiting picture is generated according to grating anti-counterfeiting content.
10. A readable storage medium storing executable instructions that, when executed by a processor, perform the method of any one of claims 1 to 5; or to perform the method of claim 6 or 7.
CN202211205082.4A 2022-09-29 2022-09-29 Anti-counterfeiting verification method and device for printout file, electronic equipment and medium Pending CN115618307A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211205082.4A CN115618307A (en) 2022-09-29 2022-09-29 Anti-counterfeiting verification method and device for printout file, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211205082.4A CN115618307A (en) 2022-09-29 2022-09-29 Anti-counterfeiting verification method and device for printout file, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN115618307A true CN115618307A (en) 2023-01-17

Family

ID=84860727

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211205082.4A Pending CN115618307A (en) 2022-09-29 2022-09-29 Anti-counterfeiting verification method and device for printout file, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN115618307A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116756708A (en) * 2023-05-30 2023-09-15 佛山众陶联供应链服务有限公司 Protection method for variable granularity of digital product page copyright

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116756708A (en) * 2023-05-30 2023-09-15 佛山众陶联供应链服务有限公司 Protection method for variable granularity of digital product page copyright
CN116756708B (en) * 2023-05-30 2023-12-05 佛山众陶联供应链服务有限公司 Protection method for variable granularity of digital product page copyright

Similar Documents

Publication Publication Date Title
US7568104B2 (en) Method and apparatus for adding signature information to electronic documents
US8572695B2 (en) Method for applying a physical seal authorization to documents in electronic workflows
JPWO2007018233A1 (en) How to open an account
CN113806806B (en) Desensitization and restoration method and system for webpage screenshot
US10855868B1 (en) Systems, processes, and computer program products for detecting and verifying invisible information in documents
US20150317643A1 (en) System and method for signing electronic documents
EP1770977B1 (en) Image processing apparatus, control method therefor, computer program, and computer-readable storage medium for encrypting data.
CN115618307A (en) Anti-counterfeiting verification method and device for printout file, electronic equipment and medium
JP6694587B2 (en) Image reading device and program
TWM520159U (en) Device for generating and identifying electronic document containing electronic authentication and paper authentication
CN113255505A (en) Certificate photo generation method, device, equipment and storage medium
US20190028603A1 (en) Image processing apparatus and method
US20150067347A1 (en) Signature system portal for signing electronic documents
US11157639B2 (en) Systems, processes, and computer program products for authentication of documents based on invisible information in documents
JP2006251944A (en) Account opening system, account opening method and program
CN110730080A (en) Signed document client and server based on private key self-support
KR20120100674A (en) An off-line filling-form device based on the bar-code and the method thereof
TWI595380B (en) Device for generating or verifying authenticate electronic document with electronic and paper certification and method thereof
JP6960065B1 (en) Signature generators, authentication devices, and programs
KR20150044150A (en) System and method for transmitting document image
US9349085B1 (en) Methods and system to decode hidden images
KR20180025402A (en) Off-line document tracking method and document tracking system
CN113162770A (en) Online signature method and system
JP2020198043A (en) Terminal device, character recognition system, and character recognition method
CN104143108A (en) Action command executing method and device based on bar code

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination