CN112651910B - Method and system for generating superimposed anti-counterfeiting seal - Google Patents

Method and system for generating superimposed anti-counterfeiting seal Download PDF

Info

Publication number
CN112651910B
CN112651910B CN201910964595.5A CN201910964595A CN112651910B CN 112651910 B CN112651910 B CN 112651910B CN 201910964595 A CN201910964595 A CN 201910964595A CN 112651910 B CN112651910 B CN 112651910B
Authority
CN
China
Prior art keywords
information
code
seal
module
noise reduction
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.)
Active
Application number
CN201910964595.5A
Other languages
Chinese (zh)
Other versions
CN112651910A (en
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.)
Xinjiang Three Dimensional Zhida Network Technology Co ltd
Original Assignee
Xinjiang Three Dimensional Zhida 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 Xinjiang Three Dimensional Zhida Network Technology Co ltd filed Critical Xinjiang Three Dimensional Zhida Network Technology Co ltd
Priority to CN201910964595.5A priority Critical patent/CN112651910B/en
Publication of CN112651910A publication Critical patent/CN112651910A/en
Application granted granted Critical
Publication of CN112651910B publication Critical patent/CN112651910B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration by the use of more than one image, e.g. averaging, subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06046Constructional details
    • G06K19/06103Constructional details the marking being embedded in a human recognizable image, e.g. a company logo with an embedded two-dimensional code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20221Image fusion; Image merging

Abstract

The invention provides a generation method and a system of a superimposed anti-counterfeiting seal, comprising the following steps: acquiring original image information of a seal; acquiring identity information of a user; extracting local characteristic information of the original image information; acquiring the unique identification code according to the identity information of the user; generating two-dimensional code information of the original image information according to the local characteristic information and the unique identification code; performing fusion processing on the two-dimensional code information and the original image information to generate image information containing the two-dimensional code information, and taking the image information containing the two-dimensional code information as a seal code of the seal; the original function of the seal is maintained, the two-dimension code information is added, the user can conveniently scan the two-dimension code information by using the electronic equipment, and the authenticity identification of the seal code is realized.

Description

Method and system for generating superimposed anti-counterfeiting seal
Technical Field
The invention relates to the technical field of anti-counterfeiting, in particular to a method and a system for generating a superimposed anti-counterfeiting seal.
Background
At present, due to the continuous development of laser stamping technology and laser scanning technology, the imitation of the seal is easy, and the imitated seal is more lifelike, so that the authenticity identification of the seal can be identified only by a professional identification mechanism, and a user cannot identify the seal only by human eyes; especially, illegal counterfeiting of some seals causes great harm and trouble to market economy, countries and enterprises.
Therefore, a method and a system for generating the overlapped anti-counterfeiting seal are provided.
Disclosure of Invention
In order to solve the technical problems, the invention provides a method and a system for generating a superimposed anti-counterfeiting seal, which are used for facilitating the identification of the authenticity of the seal by a user.
The embodiment of the invention provides a method for generating a superimposed anti-counterfeiting seal, which comprises the following steps:
acquiring original image information of a seal, and extracting local characteristic information of the original image information;
acquiring identity information of a user, and acquiring the unique identification code according to the identity information of the user; generating two-dimensional code information of the original image information according to the local characteristic information and the unique identification code;
and carrying out fusion processing on the two-dimensional code information and the original image information to generate image information containing the two-dimensional code information, and taking the image information containing the two-dimensional code information as a seal code of the seal.
In one embodiment, the steps are as follows: extracting local characteristic information of the original image information; thereafter, the method further comprises: storing the local characteristic information;
the method comprises the following steps: acquiring the unique identification code according to the identity information of the user; thereafter, the method further comprises: storing the unique identification code; establishing a corresponding relation between the unique identification code and the local characteristic information;
when a user uses electronic equipment to scan the seal code of the seal, verifying the seal code obtained by scanning; the verification process comprises the following steps:
noise reduction treatment is carried out on the seal code;
separating the seal code subjected to the noise reduction treatment to obtain the two-dimensional code information in the seal code;
acquiring the unique identification code and the local characteristic information according to the two-dimensional code information;
and comparing the unique identification code with the stored unique identification code, when the comparison is consistent, comparing the local characteristic information with the local characteristic information corresponding to the stored unique identification code, and when the comparison is consistent, transmitting verification passing information to the electronic equipment.
In one embodiment, the method further comprises:
and when the unique identification code is inconsistent with the stored unique identification code or the local characteristic information is inconsistent with the stored local characteristic information corresponding to the unique identification code, transmitting verification failure information to the electronic equipment so as to remind a user of the stamp code counterfeiting.
In one embodiment, the steps are as follows: noise reduction treatment is carried out on the seal code; the method comprises the following steps:
performing first noise reduction processing on the seal code transmitted by the electronic equipment, and obtaining the seal code after the first noise reduction processing;
performing signal-to-noise ratio detection on the seal code after the first noise reduction treatment; when the signal-to-noise ratio of the seal code after the first noise reduction processing exceeds the preset signal-to-noise ratio threshold value, separating the seal code after the first noise reduction processing;
when the signal-to-noise ratio of the seal code after the first noise reduction is detected not to exceed the preset signal-to-noise ratio threshold, performing a second noise reduction on the seal code after the first noise reduction, obtaining the seal code after the second noise reduction, and separating the seal code after the second noise reduction.
In one embodiment, the process of fusing the two-dimensional code information with the original image information to generate image information containing the two-dimensional code information and using the image information containing the two-dimensional code information as the seal code of the seal further comprises the following steps:
step S01, square processing is carried out on the original image information, so that the original image information is converted into square images with the size of m x m, wherein the square processing comprises the following steps:
step S0101, obtaining the image size in the original image information, wherein the image size is k x l, a smaller value in k and l is selected as a standard value m, a larger value is used as an adjustment value n, and the length or the height of the original image information corresponding to the adjustment value is used as an adjustment direction for adjustment;
step S0102, adjusting the redundant information in the adjustment direction:
p=n-m
jg=floor(n/p)
qz={jg,2*jg,…,p*jg}
wherein p is the redundant information quantity, floor is a downward rounding function, jg is an intermediate parameter, and qz is a set of positions corresponding to the redundant information in the adjustment direction;
step S0103, deleting the image information corresponding to the position information, and converting the size of the adjustment direction into a standard value m, so as to form a square image with the size of m x m;
step S02, calculating a evidence image of the square image;
wherein, image i,j For the pixel value of the point with the coordinates (i, j) in the evidence image, foundation (x 1, y 1) is the pixel value of the point with the coordinates (x 1, y 1) in the evidence image, mod (i+i2, m) is the value obtained by taking the remainder of i+i2 and m, mod (j+j2, m) is the value obtained by taking the remainder of j+j2 and m, i=1, 2, 3, … … m, j=1, 2, 3, … … m;
step S03, acquiring the two-dimensional code information, wherein the size of the two-dimensional code is d;
step S04, determining the image information containing the two-dimensional code information;
wherein, qr Image i,j The pixel value of the point with the coordinates of (i, j) in the image information of the two-dimensional code information is represented by Qr (i+i2, j+j2) and the pixel value of the point with the coordinates of (i+i2, j+j2) in the two-dimensional code information is represented by the pixel value of the point with the coordinates of (i+i2, j+j2);
step S05, qr Image corresponding to all coordinate points i,j Constructing two-dimensional code informationAnd the image information containing the two-dimensional code information is used as a seal code of the seal.
A generation system of an overlapped anti-counterfeiting seal comprises an information acquisition end and a network side server; wherein,
the information acquisition end is used for acquiring original image information of the seal and identity information of a user and transmitting the original image information and the identity information to the network side server;
the network side server comprises an image characteristic module, an identification code generation module, a two-dimensional code generation module and an image fusion module; wherein:
the image characteristic module is used for acquiring local characteristic information of the original image information according to the original image information transmitted by the information acquisition end and transmitting the local characteristic information to the two-dimensional code generation module;
the identification code generation module is used for generating a unique identification code of the identity information of the user according to the identity information transmitted by the information acquisition end and transmitting the unique identification code to the two-dimensional code generation module;
the two-dimensional code generation module is used for generating two-dimensional code information according to the local characteristic information transmitted by the image characteristic module and the unique identification code transmitted by the identification code generation module, and transmitting the two-dimensional code information to the image fusion module;
the image fusion module is used for carrying out fusion processing on the two-dimensional code information and the original image information, generating image information containing the two-dimensional code information, and taking the image information containing the two-dimensional code information as a seal code of the seal.
In one embodiment, the system further comprises a stamp making end;
the network side server is used for transmitting the seal code acquired by the image fusion module to the seal making end; the seal making end is used for making seals according to the seal codes.
In one embodiment, the network side server further comprises a storage module, an image processing module, an image separation module, a two-dimensional code identification module and a verification module; wherein:
the storage module is used for storing the local characteristic information acquired by the image characteristic module and the unique identification code acquired by the identification code generation module; establishing a corresponding relation between the unique identification code and the local characteristic information;
when a user uses electronic equipment to scan the seal code of the seal, the acquired seal code is transmitted to the network side server;
the image processing module of the network side server is used for receiving the seal code transmitted by the electronic equipment, carrying out noise reduction on the seal code, and transmitting the seal code subjected to the noise reduction to the image separation module;
the image separation module is used for receiving the seal code transmitted by the image processing module, separating the seal code, acquiring the two-dimensional code information in the seal code, and transmitting the two-dimensional code information to the two-dimensional code identification module;
the two-dimensional code identification module is used for acquiring the unique identification code and the local characteristic information according to the two-dimensional code information transmitted by the image separation module; transmitting the unique identification code and the local characteristic information to the verification module;
the verification module is further configured to compare the unique identification code transmitted by the two-dimensional code identification module with the unique identification code in the storage module, and when the comparison is consistent, compare the local feature information transmitted by the two-dimensional code identification module with the local feature information corresponding to the unique identification code in the storage module, and when the comparison is consistent, transmit verification passing information to the electronic device.
In one embodiment, the electronic device includes one or more of a smart phone, a tablet computer, or a personal computer having a communication function and an image scanning function.
In an embodiment, the verification module of the network side server is further configured to transmit verification failure information to the electronic device when the unique identifier is inconsistent with the unique identifier in the storage module, or when the local feature information is inconsistent with the local feature information corresponding to the unique identifier in the storage module, so as to remind a user of the stamp code counterfeiting.
In one embodiment, the image processing module of the network side server includes a first noise reduction processing unit, a detection unit and a second noise reduction processing unit;
the first noise reduction processing unit is used for performing noise reduction processing on the seal code transmitted by the electronic equipment and transmitting the seal code subjected to the first noise reduction processing to the detection unit;
the detection unit is used for detecting the signal-to-noise ratio of the seal code after the first noise reduction processing transmitted by the first noise reduction processing unit; when the signal-to-noise ratio of the seal code after the first noise reduction processing is detected to exceed the preset signal-to-noise ratio threshold, transmitting the seal code after the first noise reduction processing to the image separation module; when the signal-to-noise ratio of the seal code after the first noise reduction processing is detected not to exceed the preset signal-to-noise ratio threshold, transmitting the seal code after the first noise reduction processing to the second noise reduction processing unit;
the second noise reduction processing unit is configured to perform a second noise reduction processing on the seal code after the first noise reduction processing transmitted by the detection unit, and transmit the seal code after the second noise reduction processing to the image separation module.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
FIG. 1 is a schematic diagram of a method for generating a superimposed anti-counterfeit seal provided by the invention;
fig. 2 is a schematic structural diagram of a system for generating a superimposed anti-counterfeit seal provided by the invention.
Detailed Description
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present invention only, and are not intended to limit the present invention.
The embodiment of the invention provides a method for generating an overlapped anti-counterfeiting seal, which is shown in figure 1 and comprises the following steps:
acquiring original image information of a seal, and extracting local characteristic information of the original image information;
acquiring identity information of a user, and acquiring a unique identification code according to the identity information of the user;
generating two-dimensional code information of the original image information according to the local characteristic information and the unique identification code;
and carrying out fusion processing on the two-dimensional code information and the original image information to generate image information containing the two-dimensional code information, and taking the image information containing the two-dimensional code information as a seal code of the seal.
The working principle of the method is as follows: acquiring original image information of a seal, and extracting local characteristic information of the original image information; acquiring identity information of a user, and acquiring a unique identification code according to the identity information of the user; generating two-dimensional code information of the original image information according to the local characteristic information and the unique identification code; and carrying out fusion processing on the two-dimensional code information and the original image information to generate image information containing the two-dimensional code information, and taking the image information containing the two-dimensional code information as a seal code of the seal.
The method has the beneficial effects that: the two-dimensional code information of the original image information is obtained through the local characteristic information of the original image information of the seal and the unique identification code of the identity information of the user; the two-dimensional code information and the original image information are fused, so that the generation of the image information containing the two-dimensional code information is realized, and the image information containing the two-dimensional code information is used as a seal code of the seal; thus realizing the superposition of the two-dimension code information of the original image information of the seal; compared with the prior art, the method not only keeps the original functions of the seal, but also increases the two-dimension code information, and is convenient for a user to scan the two-dimension code information by using electronic equipment, thereby realizing the identification of the authenticity of the seal code.
In one embodiment, the steps of: extracting local characteristic information of original image information; thereafter, the method further comprises: storing the local characteristic information;
the steps are as follows: acquiring a unique identification code according to the identity information of the user; thereafter, the method further comprises: storing the unique identification code; establishing a corresponding relation between the unique identification code and the local characteristic information;
when a user uses the electronic equipment to scan the seal code of the seal, verifying the seal code obtained by scanning; the verification process comprises the following steps:
noise reduction treatment is carried out on the seal code;
separating the seal code subjected to noise reduction treatment to obtain two-dimensional code information in the seal code;
acquiring a unique identification code and local characteristic information according to the two-dimensional code information;
and comparing the unique identification code with the stored unique identification code, when the comparison is consistent, comparing the local characteristic information with the local characteristic information corresponding to the stored unique identification code, and when the comparison is consistent, transmitting verification passing information to the electronic equipment. According to the technical scheme, the storage of the local characteristic information and the unique identification code is realized, and the local characteristic information and the unique identification code are in one-to-one correspondence; when a user uses electronic equipment to scan seal codes of a seal, verifying the seal codes obtained by scanning, and firstly, carrying out noise reduction treatment on the seal codes; separating the seal code subjected to the noise reduction treatment to obtain two-dimensional code information in the seal code; according to the two-dimensional code information, the unique identification code and the local characteristic information are obtained; the unique identification code is compared with the stored unique identification code, so that verification of the unique identification code is realized; when the comparison is consistent, the local characteristic information is compared with the local characteristic information corresponding to the stored unique identification code, so that verification of the local characteristic information is realized, and when the comparison is consistent, verification passing information is transmitted to the electronic equipment to remind the user that the scanned seal code is true, so that authenticity verification of the seal code is realized.
In one embodiment, further comprising: when the unique identification code is inconsistent with the stored unique identification code, or when the local characteristic information is inconsistent with the local characteristic information corresponding to the stored unique identification code, verification failure information is transmitted to the electronic equipment so as to remind a user of stamp code counterfeiting. In the technical scheme, when the unique identification code is inconsistent with the stored unique identification code, or the local characteristic information is inconsistent with the local characteristic information corresponding to the stored unique identification code, verification failure information is transmitted to the electronic equipment of the user so as to remind the user of the fake stamp code scanned.
In one embodiment, the steps of: noise reduction treatment is carried out on the seal code; the method comprises the following steps:
performing first noise reduction treatment on the seal code transmitted by the electronic equipment to obtain the seal code after the first noise reduction treatment;
detecting the signal-to-noise ratio of the seal code after the first noise reduction treatment; when the signal-to-noise ratio of the seal code after the first noise reduction treatment exceeds a preset signal-to-noise ratio threshold value, separating the seal code after the first noise reduction treatment;
when the signal-to-noise ratio of the seal code after the first noise reduction is detected not to exceed the preset signal-to-noise ratio threshold, performing the second noise reduction on the seal code after the first noise reduction, obtaining the seal code after the second noise reduction, and separating the seal code after the second noise reduction. According to the technical scheme, the first noise reduction treatment of the seal code transmitted by the electronic equipment is realized; and detecting the signal-to-noise ratio of the seal code after the first noise reduction treatment; when the signal-to-noise ratio of the seal code after the first noise reduction treatment exceeds a preset signal-to-noise ratio threshold value, separating the seal code after the first noise reduction treatment; when the signal-to-noise ratio of the seal code after the first noise reduction is detected not to exceed a preset signal-to-noise ratio threshold, performing a second noise reduction on the seal code after the first noise reduction, and performing separation processing on the seal code after the second noise reduction; thereby realizing the noise reduction treatment of the seal code.
A generation system of superimposed anti-counterfeiting seal is shown in figure 2, and comprises an information acquisition end 21 and a network side server 22; wherein,
the information acquisition end 21 is used for acquiring original image information of the seal and identity information of a user, and transmitting the original image information and the identity information to the network side server 22;
the network side server 22 comprises an image feature module 221, an identification code generation module 222, a two-dimensional code generation module 223 and an image fusion module 224; wherein:
the image feature module 221 is configured to obtain local feature information of the original image information according to the original image information transmitted by the information acquisition end 21, and transmit the local feature information to the two-dimensional code generating module 223;
the identification code generating module 222 is configured to generate a unique identification code of the identity information of the user according to the identity information transmitted by the information collecting end 21, and transmit the unique identification code to the two-dimensional code generating module 223;
the two-dimensional code generating module 223 is configured to generate two-dimensional code information according to the local feature information transmitted by the image feature module 221 and the unique identification code transmitted by the identification code generating module 222, and transmit the two-dimensional code information to the image fusion module 224;
the image fusion module 224 is configured to fuse the two-dimensional code information with the original image information, generate image information including the two-dimensional code information, and use the image information including the two-dimensional code information as a seal code of the seal.
The working principle of the system is as follows: the information acquisition end 21 transmits the acquired original image information of the seal and the identity information of the user to the network side server 22; the image feature module 221 of the network side server 22 obtains local feature information of the original image information according to the original image information transmitted by the information acquisition end 21, and transmits the local feature information to the two-dimensional code generation module 223; the identification code generating module 222 of the network side server 21 generates a unique identification code of the user's identification information according to the identification information transmitted by the information acquisition end 21, and transmits the unique identification code to the two-dimensional code generating module 223; the two-dimensional code generating module 223 generates two-dimensional code information according to the local feature information transmitted by the image feature module 221 and the unique identification code transmitted by the identification code generating module 222, and transmits the two-dimensional code information to the image fusion module 224; the image fusion module 224 performs fusion processing on the two-dimensional code information and the original image information to generate image information containing the two-dimensional code information, and takes the image information containing the two-dimensional code information as a seal code of the seal.
The beneficial effect of above-mentioned system lies in: the two-dimensional code generation module of the network side server obtains the two-dimensional code information of the original image information according to the local characteristic information of the original image information of the seal and the unique identification code of the identity information of the user; the two-dimensional code information and the original image information are fused through the image fusion module, so that the generation of the image information containing the two-dimensional code information is realized, and the image information containing the two-dimensional code information is used as a seal code of the seal; thus realizing the superposition of the two-dimension code information of the original image information of the seal; compared with the prior art, the system not only keeps the original function of the seal, but also increases the two-dimension code information, thereby facilitating the user to scan the two-dimension code information by using the electronic equipment and realizing the identification of the authenticity of the seal code.
In one embodiment, the system further comprises a stamp making end;
the network side server is used for transmitting the seal code acquired by the image fusion module to the seal making end; the seal making end is used for making seals according to seal codes. According to the technical scheme, the seal is manufactured according to the seal code transmitted by the network side server through the seal manufacturing end.
In one embodiment, the network side server further comprises a storage module, an image processing module, an image separation module, a two-dimensional code identification module and a verification module; wherein:
the storage module is used for storing the local characteristic information acquired by the image characteristic module and the unique identification code acquired by the identification code generation module; establishing a corresponding relation between the unique identification code and the local characteristic information;
when a user uses electronic equipment to scan seal codes of the seal, the acquired seal codes are transmitted to a network side server;
the image processing module of the network side server is used for receiving the seal code transmitted by the electronic equipment, carrying out noise reduction on the seal code, and transmitting the seal code subjected to the noise reduction to the image separation module;
the image separation module is used for receiving the seal code transmitted by the image processing module, separating the seal code, acquiring two-dimensional code information in the seal code, and transmitting the two-dimensional code information to the two-dimensional code identification module;
the two-dimensional code identification module is used for acquiring a unique identification code and local characteristic information according to the two-dimensional code information transmitted by the image separation module; transmitting the unique identification code and the local characteristic information to the verification module;
and the verification module is also used for comparing the unique identification code transmitted by the two-dimensional code identification module with the unique identification code in the storage module, when the comparison is consistent, comparing the local characteristic information transmitted by the two-dimensional code identification module with the local characteristic information corresponding to the unique identification code in the storage module, and when the comparison is consistent, transmitting verification passing information to the electronic equipment. In the technical scheme, the storage of the local characteristic information and the unique identification code is realized through the storage module, and the local characteristic information and the unique identification code are in one-to-one correspondence; when a user uses electronic equipment to scan seal codes of a seal, the seal codes obtained by scanning are verified, and firstly, noise reduction treatment is carried out on the seal codes through an image processing module; separating the seal code subjected to noise reduction treatment through an image separating module to obtain two-dimensional code information in the seal code; the two-dimensional code identification module is used for acquiring the unique identification code and the local characteristic information according to the two-dimensional code information; the unique identification code is compared with the stored unique identification code through the verification module, so that verification of the unique identification code is realized; when the comparison is consistent, the local characteristic information is compared with the local characteristic information corresponding to the stored unique identification code, so that verification of the local characteristic information is realized, and when the comparison is consistent, verification passing information is transmitted to the electronic equipment to remind the user that the scanned seal code is true, so that verification of authenticity of the seal code by the network side server is realized.
In one embodiment, the electronic device includes one or more of a smart phone, a tablet computer, or a personal computer having a communication function and an image scanning function. According to the technical scheme, the functions of the electronic equipment are realized through various devices.
In one embodiment, the verification module of the network side server is further configured to transmit verification failure information to the electronic device when the unique identifier is inconsistent with the unique identifier in the storage module, or when the local feature information is inconsistent with the local feature information corresponding to the unique identifier in the storage module, so as to remind the user of stamp code counterfeiting. According to the technical scheme, when the unique identification code is inconsistent with the unique identification code in the storage module through the verification module, or when the local characteristic information is inconsistent with the local characteristic information corresponding to the unique identification code in the storage module, verification failure information is transmitted to the electronic equipment of the user, so that the user is reminded of the fake stamp code scanned.
In one embodiment, an image processing module of the network side server includes a first noise reduction processing unit, a detection unit, and a second noise reduction processing unit;
the first noise reduction processing unit is used for carrying out noise reduction processing on the seal code transmitted by the electronic equipment and transmitting the seal code subjected to the first noise reduction processing to the detection unit;
the detection unit is used for detecting the signal-to-noise ratio of the seal code which is transmitted by the first noise reduction processing unit and is subjected to the first noise reduction processing; when the signal-to-noise ratio of the seal code subjected to the first noise reduction treatment exceeds a preset signal-to-noise ratio threshold value, transmitting the seal code subjected to the first noise reduction treatment to an image separation module; when the signal-to-noise ratio of the seal code after the first noise reduction processing is detected not to exceed a preset signal-to-noise ratio threshold, transmitting the seal code after the first noise reduction processing to a second noise reduction processing unit;
the second noise reduction processing unit is used for performing second noise reduction processing on the seal code after the first noise reduction processing transmitted by the detection unit and transmitting the seal code after the second noise reduction processing to the image separation module. According to the technical scheme, the first noise reduction processing unit of the image processing module is used for realizing the first noise reduction processing of the seal code transmitted by the electronic equipment; the signal-to-noise ratio detection of the seal code after the first noise reduction treatment is realized through the detection unit; when the signal-to-noise ratio of the seal code subjected to the first noise reduction treatment exceeds a preset signal-to-noise ratio threshold value, transmitting the seal code subjected to the first noise reduction treatment to an image separation module; when the signal-to-noise ratio of the seal code after the first noise reduction is detected not to exceed a preset signal-to-noise ratio threshold, transmitting the seal code after the first noise reduction to a second noise reduction processing unit for performing second noise reduction processing, and transmitting the seal code after the second noise reduction processing to an image separation module; thereby realizing the noise reduction processing of the seal code by the image processing module.
In one embodiment, the process of fusing the two-dimensional code information with the original image information to generate image information containing the two-dimensional code information and using the image information containing the two-dimensional code information as the seal code of the seal further comprises the following steps:
step S01, square processing is carried out on the original image information, so that the original image information is converted into square images with the size of m x m, wherein the square processing comprises the following steps:
step S0101, obtaining the image size in the original image information, wherein the image size is k x l, a smaller value in k and l is selected as a standard value m, a larger value is used as an adjustment value n, and the length or the height of the original image information corresponding to the adjustment value is used as an adjustment direction for adjustment;
for example, when k is greater than or equal to l, the adjustment value n is k, and k corresponds to the length of the original image information, the length direction of the original image information is adjusted as an adjustment direction, otherwise, the height direction of the original image information is adjusted as an adjustment direction;
step S0102, adjusting the redundant information in the adjustment direction:
p=n-m
jg=floor(n/p)
qz={jg,2*jg,…,p*jg}
wherein p is the redundant information quantity, floor is a downward rounding function, jg is an intermediate parameter, and qz is the set of positions corresponding to the redundant information in the adjustment direction;
step S0103, deleting the image information corresponding to the position information, and converting the size of the adjustment direction into a standard value m, so as to form a square image with the size of m x m;
for example, if the adjustment direction is the longitudinal direction, p is the redundant information amount 3, and the set of positions corresponding to the redundant information in the adjustment direction is 8, 16, or 24, all the image information whose long position is 8, 16, or 24 is deleted, so that the length of the plurality of image information is reduced;
step S02, calculating a evidence image of the square image;
wherein, image i,j For the pixel value of the point with the coordinates (i, j) in the evidence image, foundation (x 1, y 1) is the pixel value of the point with the coordinates (x 1, y 1) in the evidence image, mod (i+i2, m) is the value obtained by taking the remainder of i+i2 and m, mod (j+j2, m) is the value obtained by taking the remainder of j+j2 and m, i=1, 2, 3, … … m, j=1, 2, 3, … … m;
step S03, acquiring the two-dimensional code information, wherein the size of the two-dimensional code is d;
step S04, determining the image information containing the two-dimensional code information;
wherein, qr Image i,j The pixel value of the point with the coordinates of (i, j) in the image information of the two-dimensional code information is represented by Qr (i+i2, j+j2) and the pixel value of the point with the coordinates of (i+i2, j+j2) in the two-dimensional code information is represented by the pixel value of the point with the coordinates of (i+i2, j+j2);
step S05, qr Image corresponding to all coordinate points i,j And forming image information of the two-dimensional code information, and taking the image information containing the two-dimensional code information as a seal code of the seal.
The beneficial effects are that: the original image information of the seal and the identity information of the user can be constructed into image information containing two-dimensional code information by utilizing the technology, the image information containing the two-dimensional code information is used as a seal code of the seal, so that the seal code can be printed normally, the seal also contains a unique information code, the seal can be identified by sweeping the seal code, the condition that the identification of the seal is true or false can be realized by a professional identification mechanism is avoided, the user can be well identified, meanwhile, the two-dimensional code can be well hidden in the image information by utilizing the technology, a dot-like image similar to the two-dimensional code can not appear when the image is watched by naked eyes, the sense effect of the seal is particularly poor, and the image of the seal code obtained by the technology is basically consistent with the original image of the seal, so that the aesthetic property of the picture is ensured.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (5)

1. A method for generating a superimposed anti-counterfeit seal, the method comprising:
acquiring original image information of a seal, and extracting local characteristic information of the original image information;
acquiring identity information of a user, and acquiring a unique identification code according to the identity information of the user;
generating two-dimensional code information of the original image information according to the local characteristic information and the unique identification code;
performing fusion processing on the two-dimensional code information and the original image information to generate image information containing the two-dimensional code information, and taking the image information containing the two-dimensional code information as a seal code of the seal;
the steps are as follows: extracting local characteristic information of the original image information; thereafter, the method further comprises: storing the local characteristic information;
the steps are as follows: acquiring the unique identification code according to the identity information of the user; thereafter, the method further comprises: storing the unique identification code; establishing a corresponding relation between the unique identification code and the local characteristic information;
when a user uses electronic equipment to scan the seal code of the seal, verifying the seal code obtained by scanning; the verification process comprises the following steps:
noise reduction treatment is carried out on the seal code;
separating the seal code subjected to the noise reduction treatment to obtain the two-dimensional code information in the seal code;
acquiring the unique identification code and the local characteristic information according to the two-dimensional code information;
comparing the unique identification code with the stored unique identification code, when the comparison is consistent, comparing the local characteristic information with the local characteristic information corresponding to the stored unique identification code, and when the comparison is consistent, transmitting verification passing information to the electronic equipment;
when the unique identification code is inconsistent with the stored unique identification code, or the local characteristic information is inconsistent with the stored local characteristic information corresponding to the unique identification code, verification failure information is transmitted to the electronic equipment so as to remind a user of the stamp code counterfeiting;
the method further comprises the steps of:
the steps are as follows: noise reduction treatment is carried out on the seal code; the method comprises the following steps:
performing first noise reduction processing on the seal code transmitted by the electronic equipment, and obtaining the seal code after the first noise reduction processing;
performing signal-to-noise ratio detection on the seal code after the first noise reduction treatment; when the signal-to-noise ratio of the seal code after the first noise reduction processing is detected to exceed a preset signal-to-noise ratio threshold, separating the seal code after the first noise reduction processing;
when the signal to noise ratio of the seal code after the first noise reduction is detected not to exceed a preset signal to noise ratio threshold, performing second noise reduction on the seal code after the first noise reduction, obtaining the seal code after the second noise reduction, and separating the seal code after the second noise reduction.
2. The method of claim 1, wherein,
the two-dimensional code information and the original image information are fused to generate image information containing the two-dimensional code information, and the process of taking the image information containing the two-dimensional code information as the seal code of the seal further comprises the following steps:
step S01, square processing is carried out on the original image information so that the original image information is converted intoSquare images of a size, wherein the square processing comprises the steps of:
step S0101, obtaining the image size in the original image information, wherein the image size is thatSelect-> The smaller value of the formula is taken as the standard value +.>A larger value as adjustment value +.>The length or the height of the original image information corresponding to the adjustment value is used as an adjustment direction to be adjusted;
step S0102, adjusting the redundant information in the adjustment direction:
wherein the method comprises the steps ofFor the amount of redundant information>To round down the function ++>Is an intermediate parameter->A set of positions corresponding to the redundant information in the adjustment direction;
step S0103, deleting the image information corresponding to the position information, and converting the size of the adjustment direction into a standard valueThereby forming +.>Square images of size;
step S02, calculating a representation image of the square image;
wherein,to characterize the coordinates in the image as +.>Pixel value of the dot of +.>For the coordinate in the characterization image +.>Pixel value of the dot of +.>Is->And->The value after the remainder is taken out,is->And->Taking the remaining value, < > and> ,/>
step S03, acquiring the two-dimensional code information, wherein the two-dimensional code is of the size of
Step S04, determining the image information containing the two-dimensional code information;
wherein,the coordinates in the image information which is the two-dimensional code information are +.>Is used to determine the pixel value of the point of (c),the coordinates in the two-dimensional code information are +.>Pixel values of points of (2);
step S05, corresponding all coordinate pointsAnd forming image information of the two-dimensional code information, and taking the image information containing the two-dimensional code information as a seal code of the seal.
3. The generation system of the superimposed anti-counterfeiting seal is characterized by comprising an information acquisition end and a network side server; wherein,
the information acquisition end is used for acquiring original image information of the seal and identity information of a user and transmitting the original image information and the identity information to the network side server;
the network side server comprises an image characteristic module, an identification code generation module, a two-dimensional code generation module and an image fusion module; wherein:
the image characteristic module is used for acquiring local characteristic information of the original image information according to the original image information transmitted by the information acquisition end and transmitting the local characteristic information to the two-dimensional code generation module;
the identification code generation module is used for generating a unique identification code of the identity information of the user according to the identity information transmitted by the information acquisition end and transmitting the unique identification code to the two-dimensional code generation module;
the two-dimensional code generation module is used for generating two-dimensional code information according to the local characteristic information transmitted by the image characteristic module and the unique identification code transmitted by the identification code generation module, and transmitting the two-dimensional code information to the image fusion module;
the image fusion module is used for carrying out fusion processing on the two-dimensional code information and the original image information, generating image information containing the two-dimensional code information, and taking the image information containing the two-dimensional code information as a seal code of the seal;
the network side server also comprises a storage module, an image processing module, an image separation module, a two-dimensional code identification module and a verification module; wherein:
the storage module is used for storing the local characteristic information acquired by the image characteristic module and the unique identification code acquired by the identification code generation module; establishing a corresponding relation between the unique identification code and the local characteristic information;
when a user uses electronic equipment to scan the seal code of the seal, the acquired seal code is transmitted to the network side server;
the image processing module of the network side server is used for receiving the seal code transmitted by the electronic equipment, carrying out noise reduction on the seal code, and transmitting the seal code subjected to the noise reduction to the image separation module;
the image separation module is used for receiving the seal code transmitted by the image processing module, separating the seal code, acquiring the two-dimensional code information in the seal code, and transmitting the two-dimensional code information to the two-dimensional code identification module;
the two-dimensional code identification module is used for acquiring the unique identification code and the local characteristic information according to the two-dimensional code information transmitted by the image separation module; transmitting the unique identification code and the local characteristic information to the verification module;
the verification module is further configured to compare the unique identification code transmitted by the two-dimensional code identification module with the unique identification code in the storage module, when the comparison is consistent, compare the local feature information transmitted by the two-dimensional code identification module with the local feature information corresponding to the unique identification code in the storage module, and when the comparison is consistent, transmit verification passing information to the electronic device;
the image processing module of the network side server comprises a first noise reduction processing unit, a detection unit and a second noise reduction processing unit;
the first noise reduction processing unit is used for performing noise reduction processing on the seal code transmitted by the electronic equipment and transmitting the seal code subjected to the first noise reduction processing to the detection unit;
the detection unit is used for detecting the signal-to-noise ratio of the seal code after the first noise reduction processing transmitted by the first noise reduction processing unit; when the signal-to-noise ratio of the seal code subjected to the first noise reduction processing exceeds a preset signal-to-noise ratio threshold, transmitting the seal code subjected to the first noise reduction processing to the image separation module; when the signal-to-noise ratio of the seal code after the first noise reduction processing is detected not to exceed a preset signal-to-noise ratio threshold, transmitting the seal code after the first noise reduction processing to the second noise reduction processing unit;
the second noise reduction processing unit is used for performing second noise reduction processing on the seal code subjected to the first noise reduction processing transmitted by the detection unit, and transmitting the seal code subjected to the second noise reduction processing to the image separation module;
the verification module of the network side server is further configured to transmit verification failure information to the electronic device when the unique identifier is inconsistent with the unique identifier in the storage module, or when the local feature information is inconsistent with the local feature information corresponding to the unique identifier in the storage module, so as to remind a user of stamp code counterfeiting.
4. The system of claim 3, wherein the system comprises,
the electronic device comprises one or more of a smart phone, a tablet computer or a personal computer with a communication function and an image scanning function.
5. The system of claim 3, wherein the system comprises,
the system also comprises a seal making end;
the network side server is used for transmitting the seal code acquired by the image fusion module to the seal making end; the seal making end is used for making seals according to the seal codes.
CN201910964595.5A 2019-10-11 2019-10-11 Method and system for generating superimposed anti-counterfeiting seal Active CN112651910B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910964595.5A CN112651910B (en) 2019-10-11 2019-10-11 Method and system for generating superimposed anti-counterfeiting seal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910964595.5A CN112651910B (en) 2019-10-11 2019-10-11 Method and system for generating superimposed anti-counterfeiting seal

Publications (2)

Publication Number Publication Date
CN112651910A CN112651910A (en) 2021-04-13
CN112651910B true CN112651910B (en) 2023-12-26

Family

ID=75343408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910964595.5A Active CN112651910B (en) 2019-10-11 2019-10-11 Method and system for generating superimposed anti-counterfeiting seal

Country Status (1)

Country Link
CN (1) CN112651910B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4988126A (en) * 1987-12-04 1991-01-29 Gao Gesellschaft Fur Automation Und Organisation Mbh Document with an unforgeable surface
CN1305898A (en) * 2000-12-29 2001-08-01 银川西夏印艺有限公司 2D-code seal
CN2718672Y (en) * 2004-06-14 2005-08-17 郭进 Special bill antifake stamp information recognization system
CN1767434A (en) * 2005-11-21 2006-05-03 上海格尔软件股份有限公司 Electronic seal and user authentic binding method, electronic seal obtained by the same and its using method
JP2011166403A (en) * 2010-02-09 2011-08-25 Seiko Epson Corp Image processing apparatus, method, and computer program
JP2013084107A (en) * 2011-10-07 2013-05-09 Internatl Business Mach Corp <Ibm> Apparatus and method for generating seal impression image
JP2015188164A (en) * 2014-03-27 2015-10-29 株式会社ジオ技術研究所 Image processing device
CN204833324U (en) * 2015-06-01 2015-12-02 周绍华 Intelligence seal system
CN105654072A (en) * 2016-03-24 2016-06-08 哈尔滨工业大学 Automatic character extraction and recognition system and method for low-resolution medical bill image
CN105809223A (en) * 2014-12-30 2016-07-27 陕西昱鑫科技发展有限责任公司 Imprint authenticity identification method
CN105992564A (en) * 2013-11-29 2016-10-05 Mc10股份有限公司 Systems, methods, and devices having stretchable integrated circuitry for sensing and delivering therapy
CN106022805A (en) * 2016-05-25 2016-10-12 华中科技大学 Anti-fake traceablility system and method based on label reading
CN107133961A (en) * 2017-04-26 2017-09-05 聊城大学 A kind of method of border circular areas in detection process video image
CN107409167A (en) * 2015-01-15 2017-11-28 株式会社岛津制作所 Image processing apparatus
CN110072051A (en) * 2019-04-09 2019-07-30 Oppo广东移动通信有限公司 Image processing method and device based on multiple image

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7565027B2 (en) * 2005-10-07 2009-07-21 Xerox Corporation Countdown stamp error diffusion

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4988126A (en) * 1987-12-04 1991-01-29 Gao Gesellschaft Fur Automation Und Organisation Mbh Document with an unforgeable surface
CN1305898A (en) * 2000-12-29 2001-08-01 银川西夏印艺有限公司 2D-code seal
CN2718672Y (en) * 2004-06-14 2005-08-17 郭进 Special bill antifake stamp information recognization system
CN1767434A (en) * 2005-11-21 2006-05-03 上海格尔软件股份有限公司 Electronic seal and user authentic binding method, electronic seal obtained by the same and its using method
JP2011166403A (en) * 2010-02-09 2011-08-25 Seiko Epson Corp Image processing apparatus, method, and computer program
JP2013084107A (en) * 2011-10-07 2013-05-09 Internatl Business Mach Corp <Ibm> Apparatus and method for generating seal impression image
CN105992564A (en) * 2013-11-29 2016-10-05 Mc10股份有限公司 Systems, methods, and devices having stretchable integrated circuitry for sensing and delivering therapy
JP2015188164A (en) * 2014-03-27 2015-10-29 株式会社ジオ技術研究所 Image processing device
CN105809223A (en) * 2014-12-30 2016-07-27 陕西昱鑫科技发展有限责任公司 Imprint authenticity identification method
CN107409167A (en) * 2015-01-15 2017-11-28 株式会社岛津制作所 Image processing apparatus
CN204833324U (en) * 2015-06-01 2015-12-02 周绍华 Intelligence seal system
CN105654072A (en) * 2016-03-24 2016-06-08 哈尔滨工业大学 Automatic character extraction and recognition system and method for low-resolution medical bill image
CN106022805A (en) * 2016-05-25 2016-10-12 华中科技大学 Anti-fake traceablility system and method based on label reading
CN107133961A (en) * 2017-04-26 2017-09-05 聊城大学 A kind of method of border circular areas in detection process video image
CN110072051A (en) * 2019-04-09 2019-07-30 Oppo广东移动通信有限公司 Image processing method and device based on multiple image

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一种应用于电子印章服务的数字水印算法的研究;费天浩;;航空计算技术(第05期);全文 *
基于平稳小波/Contourlet域非线性扩散的印章图像去噪;吴一全;侯雯;张晓杰;陈丹;;测试技术学报(第05期);全文 *

Also Published As

Publication number Publication date
CN112651910A (en) 2021-04-13

Similar Documents

Publication Publication Date Title
US20170177852A1 (en) Document authentication based on expected wear
CN103324918B (en) The identity identifying method that a kind of recognition of face matches with lipreading recognition
JP2004127297A (en) Bar code having extended visibility, system and method thereof
AU2003276864B2 (en) Cryptographically secure person identification
CN104580143A (en) Security authentication method based on gesture recognition, terminal, server and system
WO2003103217A1 (en) Biometric authentication system
CN101836221A (en) Security system using encoded image with puzzled image
CN106960411A (en) Quick Response Code is superimposed the method and its recognition methods and identifying system of digital watermarking
JP2007004706A (en) User discriminating system, user discriminating method, and program
FR2709218A1 (en) Secure device and method of securing the transmission of documents by facsimile, and graphic authentication code of an image.
CN102622549A (en) Electronic seal implementation system and method
CN103136676A (en) Two-dimension code anti-counterfeiting system recognized by mobile phone automatically and usage method thereof
CN109657627A (en) Auth method, device and electronic equipment
CN105825090B (en) A kind of method that timestamp watermark is anti-fake for E-seal printed text
CN112651910B (en) Method and system for generating superimposed anti-counterfeiting seal
CN112579992B (en) Electronic signature anti-counterfeiting device based on invisible watermarks and seal making and identifying method thereof
JP6474504B1 (en) Handwritten character recognition system
CN109089102A (en) A kind of robotic article method for identifying and classifying and system based on binocular vision
CN105912894B (en) A method of it is anti-fake that passport NO. being used for E-seal printed text
US8856247B2 (en) Communicating electronic mail
CN114997884A (en) Dual anti-counterfeiting authentication system based on tea cake image and information code
JP2004153612A (en) System and program for electronic signature
CN109344935B (en) Anti-counterfeiting printed matter and printing method thereof
CN208922300U (en) A kind of Antiforge printed matter
CN205210888U (en) Identity (ID) card verifying system

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
GR01 Patent grant
GR01 Patent grant