CN115447303A - Printing method, device and equipment of anti-counterfeiting seal and storage medium - Google Patents

Printing method, device and equipment of anti-counterfeiting seal and storage medium Download PDF

Info

Publication number
CN115447303A
CN115447303A CN202211103712.7A CN202211103712A CN115447303A CN 115447303 A CN115447303 A CN 115447303A CN 202211103712 A CN202211103712 A CN 202211103712A CN 115447303 A CN115447303 A CN 115447303A
Authority
CN
China
Prior art keywords
seal
document
information
page
counterfeiting
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
CN202211103712.7A
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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202211103712.7A priority Critical patent/CN115447303A/en
Publication of CN115447303A publication Critical patent/CN115447303A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41MPRINTING, DUPLICATING, MARKING, OR COPYING PROCESSES; COLOUR PRINTING
    • B41M5/00Duplicating or marking methods; Sheet materials for use therein
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The application provides a printing method, a printing device, printing equipment and a storage medium for an anti-counterfeiting seal. Relates to the technical field of financial science and technology. The method comprises the following steps: acquiring document coding information, document seal information and document page number information of a first target document of a seal to be printed, wherein the document seal information comprises seal name information and seal page number information; determining the total number of at least one seal needing to be printed in the first target document and the sequence number of the seal corresponding to each page of document in the first target document according to the seal page number information and the document page number information; determining an anti-counterfeiting seal-riding pattern corresponding to each page of document according to the seal-riding name information, the document coding information, the sequence number and the total number of the seal-riding; and printing a corresponding anti-counterfeiting seal-riding pattern on each page of the first target document. Each page of document in the document has a unique anti-counterfeiting seal pattern, so that the situation that the document is replaced is effectively avoided, and the anti-counterfeiting effect of the seal printing method is improved.

Description

Printing method, device and equipment of anti-counterfeiting seal and storage medium
Technical Field
The application relates to the technical field of financial technology (Fintech), in particular to a printing method, a printing device, printing equipment and a storage medium for an anti-counterfeiting seal.
Background
With the development of financial technology, the number of documents related to finance is increasing, and it is important to ensure the authenticity of the financial documents. At present, the increase and decrease of page numbers of a document can be avoided by printing a seal on the perforation, and the authenticity of the document is improved.
In the prior art, firstly, a perforation seal pattern to be printed on a document is obtained; then, the perforation seal pattern is divided into a plurality of seal slices, and one seal slice corresponds to one page in the document. And finally, printing the plurality of seal slices at preset positions of the corresponding pages.
However, the inventors found that the prior art has at least the following technical problems: and when the page numbers of different documents are consistent, the corresponding seal slices are the same. In this way, for the printed document with the seal pattern, a certain page of the document is possibly replaced, so the anti-counterfeiting effect of the prior art seal printing method is poor.
Disclosure of Invention
The application provides a printing method, a printing device, printing equipment and a storage medium of an anti-counterfeiting seal, which are used for solving the problem that the anti-counterfeiting effect of the printing method of the anti-counterfeiting seal in the prior art is poor.
In a first aspect, the present application provides a method for printing an anti-counterfeit perforation stamp, comprising:
acquiring document coding information, document seal information and document page number information of a first target document of a seal to be printed, wherein the document seal information comprises seal name information and seal page number information;
determining the total number of at least one seal needing to be printed by the first target document and the sequence number of the seal corresponding to each page of the first target document according to the seal page number information and the document page number information;
determining an anti-counterfeiting seal perforation pattern corresponding to each page of the document according to the seal perforation name information, the document coding information, the sequence number of the seal perforation and the total number;
and printing the corresponding anti-counterfeiting seal-riding pattern on each page of the first target document.
In one possible design, the saddle page number information includes a maximum page number occupied by printing a saddle, and the document page number information includes a total page number of the first target document; the determining, according to the chapter number information and the document page number information, the total number of at least one chapter to be printed in the first target document and the sequence number of a chapter corresponding to each page of document in the first target document includes: if the total page number is less than or equal to the maximum page number, determining that the total number of the at least one seal is one, and determining that the sequence number of the seal corresponding to each page of the first target document is 1; if the total page number is larger than the maximum page number, determining the total number of the at least one seal according to the ratio of the total page number to the maximum page number, and determining the sequence number of the seal corresponding to each page of the document according to the ratio of the page number of each page of the document to the maximum page number.
In another possible design, the determining, according to the seal name information, the document coding information, the serial number of the seal and the total number, an anti-counterfeiting seal pattern corresponding to each page of the document includes:
determining anti-counterfeiting seal information corresponding to each page of the document according to the document coding information, the name information of the seal, the sequence number of the seal and the total number;
combining the anti-counterfeiting seal information corresponding to each page of document with the initial seal pattern to generate an integral anti-counterfeiting seal pattern;
and segmenting the integral anti-counterfeiting seal perforation pattern according to the page number of each page of the document to obtain the anti-counterfeiting seal perforation pattern corresponding to each page of the document.
In another possible design, the determining, according to the document encoding information, the name information of the seal, the serial number of the seal and the total number, the anti-counterfeiting seal information corresponding to each page of the document includes:
combining the document coding information, the name information of the perforation seal, the sequence number of the perforation seal and the total number according to a preset sequence to obtain an anti-counterfeiting perforation seal clear code of each page of the document;
and encrypting the anti-counterfeiting seal plain code to obtain anti-counterfeiting seal information corresponding to each page of document.
In another possible design, the method further includes:
acquiring the actual information of a seal on the perforation of a second target document, wherein the actual information of the seal on the perforation comprises actual document coding information, actual seal on the perforation name information, actual seal on the perforation sequence number and the total number of actual seals on the perforation corresponding to each page of document, and the second target document is a document printed with the seal on the perforation;
decrypting an anti-counterfeiting seal pattern in a second target document to obtain seal verification information corresponding to the anti-counterfeiting seal pattern, wherein the seal verification information comprises verification document coding information, verification seal name information, verification seal sequence number and verification actual seal total number corresponding to each page of document;
and determining the verification result information of the anti-counterfeiting seal pattern based on the actual information of the seal and the seal verification information, wherein the verification result information is used for indicating whether the anti-counterfeiting seal pattern is tampered.
In another possible design, the obtaining of the actual information of the seal on the perforation of the second target document includes:
and carrying out image recognition on the document code of the second target document to obtain actual document code information, and carrying out image recognition on the seal on the perforation of the second target document to obtain actual seal name information, the total number of actual seals on the perforation and the actual seal on the perforation sequence number.
In another possible design, the obtaining of the actual information of the chapter mark of the second target document includes:
sending an acquisition request to a server, wherein the acquisition request carries the document identifier of the second target document;
and receiving actual document coding information returned by the server, wherein the actual document coding information is acquired by the server from a stored database based on the document identification.
In a second aspect, the present application provides a printing device for an anti-counterfeit seal, comprising:
the acquisition module is used for acquiring document coding information, document seal information and document page number information of a first target document of a seal to be printed, wherein the document seal information comprises seal name information and seal page number information;
the first determining module is used for determining the total number of at least one seal needing to be printed in the first target document and the sequence number of the seal corresponding to each page of document in the first target document according to the seal page number information and the document page number information;
the second determination module is used for determining the anti-counterfeiting seal pattern corresponding to each page of the document according to the seal name information, the document coding information, the serial number of the seal and the total number;
and the printing module is used for printing the corresponding seal-riding pattern on each page of the first target document.
In a third aspect, the present invention provides an electronic device comprising: at least one processor and a memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored by the memory to cause the at least one processor to perform the method of printing the anti-counterfeiting saddle as described above in the first aspect.
In a fourth aspect, the present invention provides a computer storage medium, wherein computer executable instructions are stored in the computer storage medium, and when a processor executes the computer executable instructions, the method for printing the anti-counterfeiting knicker according to the first aspect is implemented.
In a fifth aspect, the present application further provides a computer program product, where the computer program product includes a computer program stored in a computer-readable storage medium, and the computer program can be read by at least one processor from the computer-readable storage medium, and the computer program is executed by the at least one processor to implement the method for printing the anti-counterfeit seal according to the first aspect.
According to the anti-counterfeiting seal perforation printing method, the anti-counterfeiting seal perforation printing device, the anti-counterfeiting seal perforation pattern of each page of document in the document is determined through the seal perforation name information, the document coding information, the serial number of the seal perforation corresponding to each page of document and the total number of the seal perforation, so that the anti-counterfeiting seal perforation pattern is in one-to-one correspondence with each page of document. That is, each page of the document in the document has a unique anti-counterfeiting seal pattern, so that the situation that the document is replaced can be effectively avoided, and the anti-counterfeiting effect of the seal printing method is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
FIG. 1 is an application scene diagram of a printing method of an anti-counterfeiting knicker according to an embodiment of the application;
FIG. 2 is a first flowchart of a method for printing an anti-counterfeit seal on a perforation according to an embodiment of the present disclosure;
FIG. 3 is a second flowchart of a printing method of an anti-counterfeiting seal provided in the embodiment of the present application;
FIG. 4 is a schematic diagram of generation of an integral anti-counterfeiting seal pattern provided by the embodiment of the application;
FIG. 5 is a schematic diagram of an anti-counterfeit seal perforation pattern corresponding to each page of a document according to an embodiment of the present application;
FIG. 6 is a flowchart of a method for verifying an anti-counterfeit seal according to an embodiment of the present disclosure;
FIG. 7 is a schematic view of an authentication pass of an anti-counterfeiting seal provided in an embodiment of the present application;
FIG. 8 is a schematic view of an embodiment of the present application providing an anti-counterfeiting seal that fails validation;
FIG. 9 is a schematic structural diagram of a printing apparatus for an anti-counterfeiting seal according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Specific embodiments of the present application have been shown by way of example in the drawings and will be described in more detail below. The drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the concepts of the application by those skilled in the art with reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
With the development of financial technology, the number of documents related to finance is increasing, and it is important to ensure the authenticity of the financial documents. At present, the increase and decrease of page numbers of a document can be avoided by printing a seal on the perforation, and the authenticity of the document is improved.
At present, the printing method of the electronic seal generally comprises the following steps: firstly, acquiring a perforation seal pattern to be printed on a document; wherein each document corresponds to a type of signature. Each document can be printed with one or more perforation seal patterns. Then, cutting the perforation seal pattern into a plurality of seal slices, wherein one seal slice corresponds to one page in the document; wherein, a plurality of seal slices corresponding to one seal pattern can be combined into an integral seal pattern. And finally, printing the plurality of seal slices at preset positions of the corresponding pages. For example, the preset position of each page of the document may be the right side of the page of the document.
However, when the electronic seal and page number are identical for different documents, the seal slices corresponding to the two documents are also identical. Thus, for a document with a printed pattern of a saddle-stitch seal, it is possible for a certain page of the document to be replaced by another document. Therefore, the anti-counterfeiting effect of the method for printing the perforation seal in the prior art is poor.
In order to solve the technical problems, the application provides the following technical concepts: the anti-counterfeiting seal perforation pattern of each page of document in the document is determined through the seal perforation name information, the document coding information, the sequence number of the seal perforation corresponding to each page of document and the total number of the seal perforation, so that each page of document in the document has the unique anti-counterfeiting seal perforation pattern, the situation that the document is replaced can be effectively avoided, and the anti-counterfeiting effect of the seal perforation printing method is improved.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 1 is an application scene diagram of a printing method of an anti-counterfeiting perforation seal according to an embodiment of the application. As shown in fig. 1, the application scenario includes: a terminal 101 and a server 102. The terminal 101 and the server 102 may be connected by wireless. The terminal 101 may be a mobile phone, tablet, etc.
The terminal 101 obtains the name information of the seal, the document coding information, the sequence number of the seal corresponding to each page of document, the total number of the seal and other attribute information of the document, and uploads the document identification and the attribute information of the document to the server 102. The server 102 receives the document identification and the attribute information of the document, and stores the document identification and the attribute information of the document in a correlation mode to form a database.
When the validity of the anti-counterfeiting seal pattern of a certain document is required, the terminal 101 decrypts the anti-counterfeiting seal pattern to obtain decrypted attribute information. The terminal 101 sends an authentication request to the server 102, the authentication request carrying the document identification and decryption attribute information of the document. The server 102 receives the verification request, and extracts the attribute information corresponding to the document identification from the database. And finally, determining whether the anti-counterfeiting seal pattern is effective or not according to the decrypted attribute information and the extracted attribute information.
In the technical scheme of the present application, the processes of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the related information such as financial data or user data are all in accordance with the regulations of the relevant laws and regulations, and do not violate the customs of the public order.
The embodiment of the application provides a printing method of an anti-counterfeiting perforation seal. The execution subject of the method of the embodiment of the present application may be the terminal shown in fig. 1. Fig. 2 is a first flowchart of a printing method of an anti-counterfeiting perforation seal provided in the embodiment of the present application. As shown in fig. 2, the printing method of the anti-counterfeiting perforation seal comprises the following steps:
s201, acquiring document coding information, document seal-straddling information and document page number information of a first target document of a seal to be printed, wherein the document seal-straddling information comprises seal-straddling name information and seal-straddling page number information.
In the embodiment of the invention, the document coding information, the document seal information and the document page number information are included in the first target document. Scanning and identifying a first target document of the terminal to obtain document coding information, document joint seal information and document page number information of the first target document.
Optionally, the document coding information of the document to be printed is an electronic document code corresponding to the document. Optionally, the electronic document encoding is associated with the format and filing time of the document. Illustratively, the electronic document is encoded as KN2020112205210.KN corresponds to the format of the document and 2020112205210 corresponds to the filing time of the document. The format of the document to be printed may be Word format, excel format, pdf format, etc.
For example, the name information of the seal may be a unit of attribution, for example, XX corporation. Optionally, the name information of the seal on the perforation may also be a chinese national standard code corresponding to the attribution unit. For example, the Hanzi national standard code corresponding to "XX Limited. Illustratively, the chapter page number information includes a maximum page number occupied by printing the chapter. For example, if the page number information of the seal is 8, it means that printing a seal can occupy at most 8 pages of the document. The document page number information includes a total page number of the first target document.
S202, determining the total number of at least one seal needing to be printed in the first target document and the sequence number of the seal corresponding to each page of the first target document according to the seal page number information and the document page number information.
In the embodiment of the invention, the total number of the seal rings can be determined according to the total page number of the document and the maximum page number occupied by printing the seal rings. The sequence number of the seal corresponding to each page of document can be determined according to the page number of the page of document and the maximum page number occupied by printing the seal. Correspondingly, the method comprises the following steps: if the total page number is less than or equal to the maximum page number, determining the total number of at least one seal along with the sequence number of the seal along with the corresponding seal along with each page of the first target document as 1; if the total page number is larger than the maximum page number, determining the total number of the at least one seal according to the ratio of the total page number to the maximum page number, and determining the sequence number of the seal corresponding to each page of document according to the ratio of the page number of each page of document to the maximum page number.
Illustratively, the total page number of the document is 16 pages, the maximum page number occupied by printing the seal is 8, the total number of the seals is 2, the sequence number of the seal corresponding to 1-8 pages in the document is 1, and the sequence number of the seal corresponding to 9-16 pages in the document is 2.
It should be noted that, if the total page number is not a multiple of the maximum page number, the page number occupied by the seal can be adjusted. For example, the total page number is 14 pages, the page number occupied by the seal can be adjusted to 7 pages, at this time, the total number of the seals is 2, the sequence number of the seal corresponding to 1-7 pages in the document is 1, and the sequence number of the seal corresponding to 8-14 pages in the document is 2.
And S203, determining the anti-counterfeiting seal pattern corresponding to each page of document according to the seal name information, the document coding information, the sequence number and the total number of the seal.
In the embodiment of the invention, the anti-counterfeiting perforation seal pattern can be at least one of a seal pattern, a symbol, a number and a letter. The anti-counterfeiting seal pattern corresponding to each page of document is a slice in the whole anti-counterfeiting seal pattern. The anti-counterfeiting seal patterns corresponding to the plurality of pages of documents can be combined into a complete integral anti-counterfeiting seal pattern. For example, the total page number of the document is 16 pages; wherein, the anti-counterfeiting seal patterns corresponding to 1-8 pages of documents are combined into an integral anti-counterfeiting seal pattern, and the anti-counterfeiting seal patterns corresponding to 9-16 pages of documents are combined into an integral anti-counterfeiting seal pattern.
And S204, printing a corresponding anti-counterfeiting seal-riding pattern on each page of the first target document.
In the embodiment of the invention, the anti-counterfeiting seal pattern can be printed at the same preset position of each page of the document. Alternatively, the preset position may be any position of the document. For example, the preset position is a middle position with sides.
In the embodiment of the application, the anti-counterfeiting seal perforation pattern of each page of the document is determined through the name information of the seal perforation, the coding information of the document, the serial number of the seal perforation corresponding to each page of the document and the total number of the seal perforation, so that the anti-counterfeiting seal perforation pattern is in one-to-one correspondence with each page of the document. That is, each page of the document in the document has a unique anti-counterfeiting seal pattern, so that the situation that the document is replaced can be effectively avoided, and the anti-counterfeiting effect of the seal printing method is improved.
Fig. 3 is a second flowchart of a printing method of an anti-counterfeiting seal according to an embodiment of the present invention. In the embodiment of the present invention, based on the embodiment provided in fig. 2, a specific implementation method for determining the anti-counterfeiting seal pattern corresponding to each page of document according to the seal name information, the document coding information, the serial number and the total number of the seal in S203 is described in detail. As shown in fig. 3, the method includes:
s301, determining anti-counterfeiting seal information corresponding to each page of document according to the document coding information, the name information of the seal, the sequence number and the total number of the seal.
Optionally, the step is: combining the document coding information, the name information of the seal, the serial number and the total number of the seal according to a preset sequence to obtain an anti-counterfeiting seal plain code of each page of document; and encrypting the anti-counterfeiting seal plain code to obtain anti-counterfeiting seal information corresponding to each page of document.
Illustratively, the preset order is document encoding information/name information of a seal/serial number/total number of seals. For example, the document encoding information is: KN2020112205210; the name information of the perforation seal is as follows: XX Co., ltd; the sequence number of the seal on perforation is as follows: 1; the total number of the seal on the perforation is as follows: 2. the anti-counterfeiting seal plain code obtained after combination is as follows: KN2020112205210/XX Co., ltd./1/2.
Optionally, the step of encrypting the anti-counterfeiting seal plain code to obtain the anti-counterfeiting seal information corresponding to each page of document is as follows: and encrypting the anti-counterfeiting seal plain code by a national encryption algorithm to obtain anti-counterfeiting seal information corresponding to each page of document. Illustratively, the cryptographic algorithm is a symmetric algorithm, an asymmetric algorithm, or the like. For example, the cryptographic Algorithm is MD5 (Message-Digest Algorithm).
S302, anti-counterfeiting seal information and the initial seal pattern corresponding to each page of the document are combined to generate an integral anti-counterfeiting seal pattern.
Optionally, as shown in fig. 4, the present step is: and combining the anti-counterfeiting seal information corresponding to each page of document to obtain an integral anti-counterfeiting pattern, and combining the integral anti-counterfeiting pattern with the initial seal pattern to generate the integral anti-counterfeiting seal pattern.
And S303, segmenting the whole anti-counterfeiting seal pattern according to the page number of each page of document to obtain the anti-counterfeiting seal pattern corresponding to each page of document.
Optionally, one overall anti-counterfeiting seal pattern corresponds to a plurality of page numbers. Correspondingly, the method comprises the following steps: and segmenting the whole anti-counterfeiting seal-riding patterns corresponding to the plurality of page numbers according to the page number of each page of the document and the sequence of the page numbers from small to large to obtain the anti-counterfeiting seal-riding patterns corresponding to each page of the document.
Illustratively, the total page number of the document is 16 pages, and the whole anti-counterfeiting seal perforation patterns corresponding to the page numbers 1-8 are segmented according to the sequence of the page numbers from small to large to obtain the anti-counterfeiting seal perforation patterns corresponding to the page numbers 1-8. And segmenting the integral anti-counterfeiting seal pattern corresponding to the page number 9-16 according to the sequence of the page number from small to large to obtain the anti-counterfeiting seal pattern corresponding to the page number 9-16. For example, the anti-counterfeiting seal patterns corresponding to the page numbers 1-8 are shown in FIG. 5.
In the embodiment of the application, the anti-counterfeiting seal plain code is encrypted, so that the security of the obtained anti-counterfeiting seal information is improved, the security of the obtained anti-counterfeiting seal pattern is further improved, the situation that the anti-counterfeiting seal pattern is maliciously tampered is avoided, and the anti-counterfeiting effect of the anti-counterfeiting seal printing method is further improved.
FIG. 6 is a flowchart of a verification method of an anti-counterfeiting seal according to an embodiment of the present invention. To determine whether a document with printed perforation seals has been tampered with, authentication of the anti-counterfeiting perforation seal on the document is required. As shown in fig. 6, the authentication method includes:
s601, acquiring the actual information of the seal on the perforation of the second target document, wherein the actual information of the seal on the perforation comprises actual document coding information, actual seal on the perforation name information, actual seal on the perforation sequence number and actual total number of the seal on the perforation corresponding to each page of the document, and the second target document is the document with the seal on the perforation printed.
In the embodiment of the application, the terminal can acquire the actual information of the seal on the perforation of the second target document in an off-line mode and an on-line mode.
In one possible design, the terminal acquires the actual information of the seal on the perforation of the second target document in an off-line mode. The corresponding steps are as follows: the terminal scans the second target document through the scanning function to obtain a scanned image, and the terminal performs image recognition on the scanned image to obtain actual information of the seal. Optionally, the terminal photographs the second target document through a camera function to obtain a picture, and the terminal performs image recognition on the picture to obtain actual information of the seal on the perforation.
Optionally, a seal inspection APP (Application) is installed in the terminal. Correspondingly, the steps are as follows: the terminal responds to the fact that an application icon of the seal inspection APP is triggered, and the seal inspection APP is opened; and carrying out image recognition on the document code of the second target document through the seal inspection APP to obtain actual document code information, and carrying out image recognition on the seal of the second target document to obtain actual seal name information, actual seal total number and actual seal sequence number.
In the embodiment of the application, the terminal performs image recognition through the image and acquires the actual information of the seal on the perforation in an off-line manner, so that the authenticity of the acquired actual information of the seal on the perforation is improved.
In another possible design, the terminal acquires the actual information of the seal on the perforation of the second target document in an online mode. The corresponding steps are as follows: and the terminal sends an acquisition request to the server, wherein the acquisition request carries the document identification of the second target document. The server receives the acquisition request, and acquires actual document coding information corresponding to the document identification from a stored database based on the document identification; and returning the actual document coding information to the terminal. And the terminal receives the actual document coding information returned by the server.
In the embodiment of the application, the terminal acquires the actual information of the seal on the perforation of the second target document in an online manner, so that the efficiency of acquiring the actual information of the seal on the perforation of the second target document is improved.
S602, carrying out decryption processing on the anti-counterfeiting seal pattern in the second target document to obtain seal verification information corresponding to the anti-counterfeiting seal pattern, wherein the seal verification information comprises verification document coding information, verification seal name information, verification seal sequence number and verification actual seal total number corresponding to each page of document.
In the embodiment of the present application, the decryption process may be the reverse of the encryption process in step S301.
S603, determining verification result information of the anti-counterfeiting seal pattern based on the actual information of the seal and the seal verification information, wherein the verification result information is used for indicating whether the anti-counterfeiting seal pattern is tampered.
Optionally, the step is: and if the actual information of the seal on the perforation is the same as the verification information of the seal on the perforation, determining that the anti-counterfeiting seal pattern of the second target document is valid, and determining that the anti-counterfeiting seal pattern is not tampered. And if the actual information of the seal is the same as the seal verification information, determining that the anti-counterfeiting seal pattern of the second target document is invalid, and determining that the anti-counterfeiting seal pattern is tampered. For example, the authentication of the anti-counterfeiting knicker pattern is as shown in FIG. 7, and the authentication of the anti-counterfeiting knicker pattern is not as shown in FIG. 8.
In the embodiment of the application, the anti-counterfeiting seal pattern is verified in an anti-counterfeiting manner through the actual document coding information, the actual name information of the perforation seal, the actual serial number of the perforation seal and the total number of the actual perforation seal corresponding to each page of document, and the actual document coding information, the actual name information of the perforation seal, the actual serial number of the perforation seal and the total number of the actual perforation seal corresponding to each page of document are related to the document information and the perforation seal information, namely, the anti-counterfeiting perforation seal pattern is verified from two dimensions of the document information and the perforation seal information, so that the anti-counterfeiting effect of the anti-counterfeiting perforation seal pattern is improved.
Fig. 9 is a schematic structural diagram of a printing device of an anti-counterfeiting knick-knack according to an embodiment of the present application. As shown in fig. 9, the printing device for the anti-counterfeiting perforation seal comprises: an acquisition module 901, a first determination module 902, a second determination module 903, and a print module 904.
The acquisition module 901 is configured to acquire document coding information, document seal information and document page number information of a first target document of a seal to be printed, where the document seal information includes seal name information and seal page number information;
a first determining module 902, configured to determine, according to the page number information of the signatures and the document page number information, the total number of at least one signature to be printed in the first target document and a sequence number of a signature corresponding to each page of the first target document;
a second determining module 903, configured to determine, according to the name information of the seal, the document coding information, and the serial number and total number of the seal, an anti-counterfeit seal pattern corresponding to each page of the document;
and a printing module 904 for printing a corresponding pattern of the knickers on each page of the first target document.
In some embodiments, the seal page number information includes a maximum page number occupied by printing the seal, and the document page number information includes a total page number of the first target document;
the first determining module 902 determines, according to the chapter page number information and the document page number information, the total number of at least one chapter to be printed on the first target document and the sequence number of the chapter corresponding to each page of the document in the first target document, which specifically includes: if the total page number is less than or equal to the maximum page number, determining the total number of at least one seal along with the sequence number of the seal along with the corresponding seal along with each page of the first target document as 1; if the total page number is larger than the maximum page number, determining the total number of the at least one seal according to the ratio of the total page number to the maximum page number, and determining the sequence number of the seal corresponding to each page of document according to the ratio of the page number of each page of document to the maximum page number.
In other embodiments, the determining module 903 determines the anti-counterfeit seal pattern corresponding to each page of document according to the seal name information, the document coding information, the serial number of the seal, and the total number, and specifically includes: determining anti-counterfeiting seal information corresponding to each page of document according to the document coding information, the name information of the seal, the serial number and the total number of the seal; combining the anti-counterfeiting seal information corresponding to each page of document with the initial seal pattern to generate an integral anti-counterfeiting seal pattern; and segmenting the whole anti-counterfeiting seal pattern according to the page number of each page of the document to obtain the anti-counterfeiting seal pattern corresponding to each page of the document.
In other embodiments, the second determining module 903 determines, according to the document encoding information, the name information of the seal, the serial number of the seal, and the total number of the seal, the anti-counterfeiting seal information corresponding to each page of the document, which specifically includes: combining the document coding information, the name information of the seal, the serial number and the total number of the seal according to a preset sequence to obtain an anti-counterfeiting seal clear code of each page of document; and encrypting the anti-counterfeiting seal plain code to obtain anti-counterfeiting seal information corresponding to each page of document.
In other embodiments, the apparatus further comprises: decryption module and third determination module
The obtaining module 901 is further configured to obtain actual perforation seal information of a second target document, where the actual perforation seal information includes actual document coding information, actual perforation seal name information, actual perforation seal sequence number, and actual perforation seal total number corresponding to each page of document, and the second target document is a document with printed perforation seals;
the decryption module is used for decrypting the anti-counterfeiting seal pattern in the second target document to obtain seal verification information corresponding to the anti-counterfeiting seal pattern, and the seal verification information comprises verification document coding information, verification seal name information, verification seal sequence number and verification actual seal total number corresponding to each page of document;
and the third determining module is used for determining the verification result information of the anti-counterfeiting seal pattern based on the actual information of the seal and the verification information of the seal, and the verification result information is used for indicating whether the anti-counterfeiting seal pattern is tampered.
In other embodiments, the obtaining module 901 obtains the actual information of the seal on the perforation of the second target document, which specifically includes: and carrying out image recognition on the document code of the second target document to obtain actual document code information, and carrying out image recognition on the seal on the perforation of the second target document to obtain actual seal name information, the total number of actual seals on the perforation and the actual seal on the perforation sequence number.
In another possible design, the obtaining module 901 obtains the actual information of the seal on the perforation of the second target document, which specifically includes: sending an acquisition request to a server, wherein the acquisition request carries the document identifier of the second target document; and receiving the actual document coding information returned by the server, wherein the actual document coding information is acquired by the server from the stored database based on the document identification.
The printing device of the anti-counterfeiting seal provided by the embodiment of the application can be used for executing the technical scheme of the printing method of the anti-counterfeiting seal in the embodiment, the implementation principle and the technical effect are similar, and the description is omitted.
It should be noted that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can all be implemented in the form of software invoked by a processing element; or can be implemented in the form of hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the first determining module 902 may be a separately established processing element, or may be integrated into a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and a processing element of the apparatus may call and execute the function of the first determining module 902. The other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element here may be an integrated circuit with signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
Fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 10, the electronic device may include: transceiver 1001, processor 1002, memory 1003.
The processor 1002 executes computer-executable instructions stored by the memory to cause the processor 1002 to perform the arrangements in the embodiments described above. The processor 1002 may be a general-purpose processor including a central processing unit CPU, a Network Processor (NP), and the like; but also a digital signal processor DSP, an application specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic device, discrete gate or transistor logic, discrete hardware components.
The memory 1003 is connected to the processor 1002 via a system bus and communicates with each other, and the memory 1003 is used for storing computer program instructions.
The transceiver 1001 may be used to obtain a task to be run and configuration information of the task to be run.
The system bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus. The transceiver is used to enable communication between the database access device and other computers (e.g., clients, read-write libraries, and read-only libraries). The memory may include Random Access Memory (RAM) and may also include non-volatile memory (non-volatile memory).
The electronic device provided by the embodiment of the application can be the terminal of the embodiment.
The embodiment of the application also provides a chip for operating the instruction, and the chip is used for executing the technical scheme of the printing method of the anti-counterfeiting knurl seal in the embodiment.
The embodiment of the application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are run on a computer, the computer is enabled to execute the technical scheme of the printing method of the anti-counterfeiting seal on the perforation.
The embodiment of the application further provides a computer program product, the computer program product includes a computer program, the computer program is stored in a computer-readable storage medium, at least one processor can read the computer program from the computer-readable storage medium, and when the at least one processor executes the computer program, the technical scheme of the printing method of the anti-counterfeiting seal in the embodiment can be implemented.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A printing method of an anti-counterfeiting seal is characterized by comprising the following steps:
acquiring document coding information, document seal-straddling information and document page number information of a first target document of a seal to be printed, wherein the document seal-straddling information comprises seal-straddling name information and seal-straddling page number information;
determining the total number of at least one seal needing to be printed in the first target document and the sequence number of the seal corresponding to each page of document in the first target document according to the seal page number information and the document page number information;
determining an anti-counterfeiting seal perforation pattern corresponding to each page of the document according to the seal perforation name information, the document coding information, the sequence number of the seal perforation and the total number;
and printing the corresponding anti-counterfeiting seal-riding pattern on each page of the first target document.
2. The printing method according to claim 1, wherein the saddle-stitch page number information includes a maximum page number occupied by printing a saddle, and the document page number information includes a total page number of the first target document;
the determining, according to the chapter number information and the document page number information, the total number of at least one chapter to be printed in the first target document and the sequence number of a chapter corresponding to each page of document in the first target document includes:
if the total page number is less than or equal to the maximum page number, determining that the total number of the at least one seal is one, and determining that the sequence number of the seal corresponding to each page of the first target document is 1;
if the total page number is larger than the maximum page number, determining the total number of the at least one seal according to the ratio of the total page number to the maximum page number, and determining the sequence number of the seal corresponding to each page of the document according to the ratio of the page number of each page of the document to the maximum page number.
3. The printing method according to claim 1, wherein the determining the anti-counterfeiting seal pattern corresponding to each page of the document according to the seal name information, the document coding information, the serial number of the seal and the total number comprises:
determining anti-counterfeiting seal information corresponding to each page of the document according to the document coding information, the name information of the seal, the sequence number of the seal and the total number;
combining the anti-counterfeiting seal information corresponding to each page of document with the initial seal pattern to generate an integral anti-counterfeiting seal pattern;
and segmenting the integral anti-counterfeiting seal perforation pattern according to the page number of each page of the document to obtain the anti-counterfeiting seal perforation pattern corresponding to each page of the document.
4. The printing method according to claim 3, wherein the determining the anti-counterfeiting seal information corresponding to each page of the document according to the document coding information, the name information of the seal, the serial number of the seal and the total number comprises:
combining the document coding information, the name information of the perforation seal, the sequence number of the perforation seal and the total number according to a preset sequence to obtain an anti-counterfeiting perforation seal clear code of each page of the document;
and encrypting the anti-counterfeiting seal plain code to obtain anti-counterfeiting seal information corresponding to each page of document.
5. The printing method according to any one of claims 1 to 4, further comprising:
acquiring the actual information of a seal on the perforation of a second target document, wherein the actual information of the seal on the perforation comprises actual document coding information, actual seal on the perforation name information, actual seal on the perforation sequence number and the total number of actual seals on the perforation corresponding to each page of document, and the second target document is a document printed with the seal on the perforation;
decrypting an anti-counterfeiting seal pattern in a second target document to obtain seal verification information corresponding to the anti-counterfeiting seal pattern, wherein the seal verification information comprises verification document coding information, verification seal name information, verification seal sequence number and verification actual seal total number corresponding to each page of document;
and determining verification result information of the anti-counterfeiting seal pattern based on the actual information of the seal and the seal verification information, wherein the verification result information is used for indicating whether the anti-counterfeiting seal pattern is tampered.
6. The printing method according to claim 5, wherein said acquiring the actual information of the seal on the perforation of the second target document comprises:
and carrying out image recognition on the document code of the second target document to obtain actual document code information, and carrying out image recognition on the seal on the perforation of the second target document to obtain actual seal name information, the total number of actual seals on the perforation and the actual seal on the perforation sequence number.
7. The printing method according to claim 5, wherein said acquiring the actual information of the seal on the perforation of the second target document comprises:
sending an acquisition request to a server, wherein the acquisition request carries the document identifier of the second target document;
and receiving the actual document coding information returned by the server, wherein the actual document coding information is acquired by the server from the stored database based on the document identification.
8. A printing device of an anti-counterfeiting seal, which is characterized by comprising:
the acquisition module is used for acquiring document coding information, document seal-straddling information and document page number information of a first target document of a seal to be printed, wherein the document seal-straddling information comprises seal-straddling name information and seal-straddling page number information;
the first determination module is used for determining the total number of at least one seal needing to be printed in the first target document and the sequence number of the seal corresponding to each page of document in the first target document according to the seal page number information and the document page number information;
the second determination module is used for determining the anti-counterfeiting seal perforation pattern corresponding to each page of the document according to the seal perforation name information, the document coding information, the sequence number of the seal perforation and the total number;
and the printing module is used for printing the corresponding seal-riding pattern on each page of the first target document.
9. An electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory to implement the method of any of claims 1-7.
10. A computer-readable storage medium having computer-executable instructions stored therein, which when executed by a processor, are configured to implement the method of any one of claims 1-7.
CN202211103712.7A 2022-09-09 2022-09-09 Printing method, device and equipment of anti-counterfeiting seal and storage medium Pending CN115447303A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211103712.7A CN115447303A (en) 2022-09-09 2022-09-09 Printing method, device and equipment of anti-counterfeiting seal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211103712.7A CN115447303A (en) 2022-09-09 2022-09-09 Printing method, device and equipment of anti-counterfeiting seal and storage medium

Publications (1)

Publication Number Publication Date
CN115447303A true CN115447303A (en) 2022-12-09

Family

ID=84303518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211103712.7A Pending CN115447303A (en) 2022-09-09 2022-09-09 Printing method, device and equipment of anti-counterfeiting seal and storage medium

Country Status (1)

Country Link
CN (1) CN115447303A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1959667A (en) * 2006-07-03 2007-05-09 珠海金山软件股份有限公司 Device for drawing perforated rider bill in electronic document, and drawing method
CN109532250A (en) * 2018-12-03 2019-03-29 北京惠朗时代科技有限公司 A method of the capping seal on the perforation based on printing stamping all-in-one machine
CN111880752A (en) * 2020-07-28 2020-11-03 平安科技(深圳)有限公司 Seal printing method and device, electronic equipment and storage medium
CN112597548A (en) * 2021-01-22 2021-04-02 支付宝(杭州)信息技术有限公司 Electronic document perforation seal signing method, device and equipment
CN113627125A (en) * 2021-07-30 2021-11-09 杭州承章科技有限公司 Document edge-distance-free perforation seal stamping method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1959667A (en) * 2006-07-03 2007-05-09 珠海金山软件股份有限公司 Device for drawing perforated rider bill in electronic document, and drawing method
CN109532250A (en) * 2018-12-03 2019-03-29 北京惠朗时代科技有限公司 A method of the capping seal on the perforation based on printing stamping all-in-one machine
CN111880752A (en) * 2020-07-28 2020-11-03 平安科技(深圳)有限公司 Seal printing method and device, electronic equipment and storage medium
WO2021147507A1 (en) * 2020-07-28 2021-07-29 平安科技(深圳)有限公司 Seal printing method, apparatus, electronic device, and storage medium
CN112597548A (en) * 2021-01-22 2021-04-02 支付宝(杭州)信息技术有限公司 Electronic document perforation seal signing method, device and equipment
CN113627125A (en) * 2021-07-30 2021-11-09 杭州承章科技有限公司 Document edge-distance-free perforation seal stamping method and system

Similar Documents

Publication Publication Date Title
US11349666B2 (en) Electronically signing and distributing identification data as a service that provides proof of identity, integrity, validity and origin of data for non-repudiation and ID validation methods
EP3413507B1 (en) Electronic documents certification
Singhal et al. Degree certificate authentication using QR code and smartphone
Warasart et al. based document authentication using digital signature and QR code
CA2925325C (en) Document authentication based on expected wear
US20130247218A1 (en) System And Method For Verifying Authenticity Of Documents
CN111612966B (en) Bill certificate anti-counterfeiting detection method and device based on image recognition
CN106599964A (en) Two-dimensional code generation and verification method and device
Wang et al. 2D barcodes for visual cryptography
CN111612963B (en) Bill voucher anti-counterfeiting detection method and device based on intelligent equipment
Li et al. Authpaper: Protecting paper-based documents and credentials using authenticated 2D barcodes
CN103136676A (en) Two-dimension code anti-counterfeiting system recognized by mobile phone automatically and usage method thereof
EP1770977B1 (en) Image processing apparatus, control method therefor, computer program, and computer-readable storage medium for encrypting data.
CN105187357A (en) Two-dimension code verification method and system
Al-Zahrani et al. Secure Real‐Time Artificial Intelligence System against Malicious QR Code Links
CN110619232A (en) Electronic signature method and device, electronic equipment and computer readable storage medium
TWM520159U (en) Device for generating and identifying electronic document containing electronic authentication and paper authentication
KR102138077B1 (en) System and method for preventing forgery and alteration of documents
CN115447303A (en) Printing method, device and equipment of anti-counterfeiting seal and storage medium
CN116029777A (en) Anti-counterfeiting bill generation method, device, equipment and medium
TWI595380B (en) Device for generating or verifying authenticate electronic document with electronic and paper certification and method thereof
CN111612964B (en) Bill certificate anti-counterfeiting detection method and device based on block chain
EP3611647B1 (en) Method for processing and verifying a document
CN115481418A (en) Method, device and equipment for generating document anti-counterfeiting information and storage medium
Mohamed et al. Protecting wireless data transmission in mobile application systems using digital watermarking technique

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