Movatterモバイル変換


[0]ホーム

URL:


CN114266331A - Method and system for inquiring and verifying article coding information - Google Patents

Method and system for inquiring and verifying article coding information
Download PDF

Info

Publication number
CN114266331A
CN114266331ACN202111594499.XACN202111594499ACN114266331ACN 114266331 ACN114266331 ACN 114266331ACN 202111594499 ACN202111594499 ACN 202111594499ACN 114266331 ACN114266331 ACN 114266331A
Authority
CN
China
Prior art keywords
verification
image
point
points
identification
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.)
Granted
Application number
CN202111594499.XA
Other languages
Chinese (zh)
Other versions
CN114266331B (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.)
Beijing Huarui Network Research Technology Co ltd
Original Assignee
Beijing Huarui Network Research 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 Beijing Huarui Network Research Technology Co ltdfiledCriticalBeijing Huarui Network Research Technology Co ltd
Priority to CN202111594499.XApriorityCriticalpatent/CN114266331B/en
Publication of CN114266331ApublicationCriticalpatent/CN114266331A/en
Application grantedgrantedCritical
Publication of CN114266331BpublicationCriticalpatent/CN114266331B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The invention provides a method for inquiring and verifying article coding information, wherein the method comprises the following steps: acquiring a first image of an article to be inquired and verified shot by a user; acquiring a set of image evidence storage points correspondingly associated with the first image from the block chain; extracting a preset number of verification points from the set of image verification points; acquiring a second image of the corresponding verification point shot by the user; verifying the second image based on the standard image stored on the block chain; and when the verification is passed, acquiring the coded information of the article and outputting the coded information. The method for inquiring and verifying the article coding information randomly extracts a plurality of image evidence storing points on the surface of the object for verification, acquires the coding information after verification, realizes the purpose of hiding the coding information in the plurality of image evidence storing points on the surface of the object, and further improves the anti-counterfeiting effect.

Description

Method and system for inquiring and verifying article coding information
Technical Field
The invention relates to the technical field of computers, in particular to a method and a system for inquiring and verifying article coding information.
Background
At present, the counterfeit and shoddy products damage not only the image and benefits of enterprises but also the benefits of consumers, thereby causing a lot of troubles to both manufacturers and consumers. In order to deal with counterfeit products, the anti-counterfeiting of the articles is realized by printing anti-counterfeiting labels, verification codes, two-dimensional codes and the like on the articles.
Therefore, in order to realize the authenticity verification of the article by the consumer, the main channel is to dial a customer service hot line or verify a two-dimensional code on the surface of the article; the situation that the true verification code is multipurpose by one code exists, so that the mode of dialing a customer service hot line and verifying the two-dimensional code on the surface of an article cannot really meet the requirement of authenticity verification.
Disclosure of Invention
One of the purposes of the invention is to provide a method for inquiring and verifying article coding information, which is implemented by randomly extracting a plurality of image evidence storing points on the surface of an object for verification and acquiring coding information after verification, so that the coding information is hidden at the plurality of image evidence storing points on the surface of the object, and the anti-counterfeiting effect is further improved.
The method for inquiring and verifying the article coding information provided by the embodiment of the invention comprises the following steps:
acquiring a first image of an article to be inquired and verified shot by a user;
acquiring a set of image evidence storage points correspondingly associated with the first image from the block chain;
extracting a preset number of verification points from the set of image verification points;
acquiring a second image of the corresponding verification point shot by the user;
verifying the second image based on the standard image stored on the block chain;
and when the verification is passed, acquiring the coded information of the article and outputting the coded information.
Preferably, the acquiring a set of image evidence points correspondingly associated with the first image from the blockchain includes:
extracting the first image based on a preset first feature extraction rule to obtain a plurality of first feature values;
constructing a first identification set based on a plurality of the first characteristic values;
generating a set acquisition request based on the first identification set;
accessing a block chain and connecting to a verification node and sending the set acquisition request to the verification node;
receiving feedback information returned by the verification node;
analyzing the feedback information to obtain a set of image evidence storage points;
the step of generating the feedback information by the verification node is as follows:
acquiring a pre-stored certificate storage library;
matching the first identification set with each second identification set in the evidence storage library to obtain a set of image evidence storage points associated with the second identification set matched with the first identification set;
and generating the feedback information based on the set of image evidence storage points.
Preferably, the acquiring a second image of the user corresponding to the verification point includes:
outputting whether to enter a second image shooting mode;
entering the second image shooting mode after receiving an instruction that a user determines to enter the second image shooting mode;
determining a verification order based on the extraction order of the verification points;
obtaining a three-dimensional model of the object;
determining a first position of each of the verification points in the verification sequence in the three-dimensional model;
constructing a shooting target template of each verification point based on the three-dimensional model and the first position of each verification point; the photographing target template includes: the first identification of the position and the area of the outline of the first position in the second image of each verification point to be shot is identified; the center of the first identifier is located at the center of a shooting area of the mobile terminal;
mapping the three-dimensional model with an object in the first image, determining a second location of each of the verification points in the first image on the object based on the first location of each of the verification points in the three-dimensional model;
determining a first moving track of a central point of the shooting area of the mobile terminal based on the first position of the first verification point and the second position of the first verification point;
in the second image shooting mode, displaying the first identification and the first moving track corresponding to the first verification point in a shooting area of the mobile terminal, and identifying the second position of the first verification point by adopting a second identification in the shooting area;
when the first identification corresponding to the first verification point is coincident with the second identification corresponding to the first verification point, acquiring the second image of the first verification point;
sequentially acquiring the position relationship between two adjacent verification points in the verification sequence, and sequentially determining a second movement track of the central point of the shooting area of the mobile terminal corresponding to the verification point after the first verification point in the verification sequence based on the position relationship;
after the second image acquisition of one verification point is finished, marking the second moving track corresponding to the next verification point in the shooting area of the mobile terminal,
when the shooting area of the mobile terminal moves along with a second moving track, identifying a first identifier of the verification point corresponding to the second moving track in the shooting area; when the second moving track corresponds to a second position of the verification point on the object and enters the shooting area, a second mark is adopted for marking;
when the first identification and the second identification corresponding to the verification point corresponding to the second movement track coincide, acquiring the second image of the verification point after the first verification point in the verification sequence.
Preferably, after the first identifier and the second identifier corresponding to the verification point in the verification sequence coincide, a third identifier is used to identify a coincidence area.
Preferably, when the user shoots the second image of the verification point, a moving third moving track of the central point of the mobile terminal is obtained in real time;
determining whether the third movement track deviates from the second movement track identified in the current shooting area;
and exiting the second image shooting mode when the third movement track deviates from the second movement track.
Preferably, the determining whether the third movement trajectory deviates from the second movement trajectory identified in the current shooting area includes:
constructing a coordinate system by taking the shooting position of the second image of the first verification point as an origin;
mapping the third moving track into the coordinate system and sampling the third moving track based on a preset sampling time interval to obtain a plurality of sampling points;
mapping the second moving track into the coordinate system and determining a point on the second moving track with the minimum distance to each sampling point as an associated point corresponding to the sampling point;
acquiring a first coordinate of each sampling point and a second coordinate of each associated point;
determining the offset distance of each sampling point based on the first coordinate of each sampling point and the second coordinate of the corresponding association point;
determining a first direction vector of each sampling point on the third moving track based on the first coordinate of each sampling point and the first coordinate of the next sampling point;
determining a second direction vector of each sampling point based on a second coordinate of each association point on the second moving track and the first coordinate of the next association point;
determining an offset angle of each sampling point based on the first direction vector of each sampling point and the second direction vector of the associated point corresponding to the first direction vector;
when the offset distance of each sampling point is smaller than or equal to a preset distance threshold and the offset angle of each sampling point is smaller than or equal to a preset angle threshold, the third moving track does not deviate from the second moving track identified in the current shooting area; otherwise, the third moving track deviates from the second moving track identified in the current shooting area.
Preferably, the verifying the second image based on the standard image stored on the block chain includes:
connecting to a verification node, and acquiring the standard image associated with the extracted verification point;
matching the second image corresponding to the verification point with the standard image;
and when the second images of all the extracted verification points are matched with the corresponding standard images, the verification is passed, otherwise, the verification is not passed.
The invention also provides a system for inquiring and verifying the coded information of the article, which comprises the following steps:
the first image acquisition module is used for acquiring a first image of an article to be inquired and verified, which is shot by a user;
the set acquisition module is used for acquiring a set of image evidence storage points which are correspondingly associated with the first image from the block chain;
the extraction module is used for extracting a preset number of verification points from the set of image evidence storage points;
the second image acquisition module is used for acquiring a second image which is shot by a user and corresponds to the verification point;
a verification module for verifying the second image based on a standard image stored on the blockchain;
and the output module is used for acquiring and outputting the coded information of the article when the verification is passed.
Preferably, the set acquiring module acquires a set of image evidence points correspondingly associated with the first image from a block chain, and executes the following operations:
extracting the first image based on a preset first feature extraction rule to obtain a plurality of first feature values;
constructing a first identification set based on a plurality of the first characteristic values;
generating a set acquisition request based on the first identification set;
accessing a block chain and connecting to a verification node and sending the set acquisition request to the verification node;
receiving feedback information returned by the verification node;
analyzing the feedback information to obtain a set of image evidence storage points;
the step of generating the feedback information by the verification node is as follows:
acquiring a pre-stored certificate storage library;
matching the first identification set with each second identification set in the evidence storage library to obtain a set of image evidence storage points associated with the second identification set matched with the first identification set;
and generating the feedback information based on the set of image evidence storage points.
Preferably, the second image obtaining module obtains a second image corresponding to the verification point and captured by the user, and executes the following operations:
outputting whether to enter a second image shooting mode;
entering the second image shooting mode after receiving an instruction that a user determines to enter the second image shooting mode;
determining a verification order based on the extraction order of the verification points;
obtaining a three-dimensional model of the object;
determining a first position of each of the verification points in the verification sequence in the three-dimensional model;
constructing a shooting target template of each verification point based on the three-dimensional model and the first position of each verification point; the photographing target template includes: the first identification of the position and the area of the outline of the first position in the second image of each verification point to be shot is identified; the center of the first identifier is located at the center of a shooting area of the mobile terminal;
mapping the three-dimensional model with an object in the first image, determining a second location of each of the verification points in the first image on the object based on the first location of each of the verification points in the three-dimensional model;
determining a first moving track of a central point of the shooting area of the mobile terminal based on the first position of the first verification point and the second position of the first verification point;
in the second image shooting mode, displaying the first identification and the first moving track corresponding to the first verification point in a shooting area of the mobile terminal, and identifying the second position of the first verification point by adopting a second identification in the shooting area;
when the first identification corresponding to the first verification point is coincident with the second identification corresponding to the first verification point, acquiring the second image of the first verification point;
sequentially acquiring the position relationship between two adjacent verification points in the verification sequence, and sequentially determining a second movement track of the central point of the shooting area of the mobile terminal corresponding to the verification point after the first verification point in the verification sequence based on the position relationship;
after the second image acquisition of one verification point is finished, marking the second moving track corresponding to the next verification point in the shooting area of the mobile terminal,
when the shooting area of the mobile terminal moves along with a second moving track, identifying a first identifier of the verification point corresponding to the second moving track in the shooting area; when the second moving track corresponds to a second position of the verification point on the object and enters the shooting area, a second mark is adopted for marking;
when the first identification and the second identification corresponding to the verification point corresponding to the second movement track coincide, acquiring the second image of the verification point after the first verification point in the verification sequence.
Preferably, after the first identifier and the second identifier corresponding to the verification point in the verification sequence coincide, a third identifier is used to identify a coincidence area.
Preferably, the system for querying and verifying the coded information of the article further comprises: a trajectory verification module that performs the following operations:
when a user shoots the second image of the verification point, a moving third moving track of the central point of the mobile terminal is obtained in real time;
determining whether the third movement track deviates from the second movement track identified in the current shooting area;
and exiting the second image shooting mode when the third movement track deviates from the second movement track.
Preferably, the trajectory verification module determines whether the third movement trajectory deviates from the second movement trajectory identified in the current shooting area, and performs the following operations:
constructing a coordinate system by taking the shooting position of the second image of the first verification point as an origin;
mapping the third moving track into the coordinate system and sampling the third moving track based on a preset sampling time interval to obtain a plurality of sampling points;
mapping the second moving track into the coordinate system and determining a point on the second moving track with the minimum distance to each sampling point as an associated point corresponding to the sampling point;
acquiring a first coordinate of each sampling point and a second coordinate of each associated point;
determining the offset distance of each sampling point based on the first coordinate of each sampling point and the second coordinate of the corresponding association point;
determining a first direction vector of each sampling point on the third moving track based on the first coordinate of each sampling point and the first coordinate of the next sampling point;
determining a second direction vector of each sampling point based on a second coordinate of each association point on the second moving track and the first coordinate of the next association point;
determining an offset angle of each sampling point based on the first direction vector of each sampling point and the second direction vector of the associated point corresponding to the first direction vector;
when the offset distance of each sampling point is smaller than or equal to a preset distance threshold and the offset angle of each sampling point is smaller than or equal to a preset angle threshold, the third moving track does not deviate from the second moving track identified in the current shooting area; otherwise, the third moving track deviates from the second moving track identified in the current shooting area.
Preferably, the verification module verifies the second image based on the standard image stored in the block chain, and performs the following operations:
connecting to a verification node, and acquiring the standard image associated with the extracted verification point;
matching the second image corresponding to the verification point with the standard image;
and when the second images of all the extracted verification points are matched with the corresponding standard images, the verification is passed, otherwise, the verification is not passed.
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 hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic diagram of a method for querying and verifying encoded information of an article according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating the flow of data for verification in an embodiment of the present invention;
FIG. 3 is a diagram of a system architecture in an embodiment of the present invention;
fig. 4 is a schematic diagram of a system for querying and verifying encoded information of an article according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
The embodiment of the invention provides a method for inquiring and verifying article coding information, which comprises the following steps of:
step S1: acquiring a first image of an article to be inquired and verified shot by a user; a user shoots a first image of an article needing to be inquired and verified through a mobile terminal (such as a mobile phone, a tablet and the like); the user uploads the first image to the verification platform, so that the verification platform acquires the first image shot by the user, and the verification platform identifies what the object is and the specific information covered by the surface of the object through the first image;
step S2: acquiring a set of image evidence storage points correspondingly associated with the first image from the block chain; the verification platform acquires a pre-stored set corresponding to the object from the block chain through the specific information covered by the identified object surface; the block chain is subjected to accounting storage based on a node consensus mechanism, the stored data can effectively prevent the data from being tampered, and the set of image points of existence correspondingly associated with the first image is stored on the block chain, so that the safety of the data can be effectively guaranteed; when an object is produced by a manufacturer, data image acquisition of a plurality of image evidence storing points is carried out, the acquired images are associated with the positions of the image evidence storing points on the object, and the set is associated with the coding information; the coded information is a unique code and is used for distinguishing the object from other similar objects;
step S3: extracting a preset number of verification points from the set of image verification points; for example, the set comprises M image evidence points, and N of the M image evidence points are extracted as verification points;
step S4: acquiring a second image of the corresponding verification point shot by the user; the user moves the mobile terminal to a position corresponding to the verification point to shoot, and a second image of the verification point is obtained;
step S5: verifying the second image based on the standard image stored on the block chain; matching the standard image on the block chain with the second image to realize verification; when the second images of all the verification points are matched with the standard images stored in advance, the verification is passed;
step S6: and when the verification is passed, acquiring the coded information of the article and outputting the coded information. The coded information is output to a user, and the user can check the coded information with the code printed on the surface of the object to prevent the counterfeiting of the code replacement printed on the surface of the object;
the method for inquiring and verifying the article coding information verifies the authenticity of the article in the verification process, preliminarily indicates that the article is a genuine article when the coding information is output, and otherwise does not pass the verification; and the consumer (user) visits the general customer end (browser or applet) through the mobile terminal, transfer the scanning software from the server and run automatically on the mobile phone, the mobile phone screen continuously prompts the user to shoot N positions in the specific area of the article; the shot pictures are automatically uploaded to a system and matched with N images extracted from M images of the stored goods in the block chain, so that the goods can be guaranteed to be the goods provided by a manufacturer, and a consumer can see corresponding real verification information of the goods at a mobile phone end; the verification points are randomly extracted, so that the verification points are different every time, and the decryption can be effectively prevented. Fig. 3 corresponds to an example of a specific application of the present invention.
In one embodiment, obtaining a set of image evidence points corresponding to a first image from a blockchain comprises:
extracting the first image based on a preset first feature extraction rule to obtain a plurality of first feature values; the first characteristic value comprises a characteristic value representing the shape of an object, a characteristic value formed by quantizing a brand, an article name, a delivery date and a delivery batch identified by characters on the surface, a characteristic value formed by quantizing bar code data after the bar code is identified and the like;
constructing a first identification set based on a plurality of first characteristic values; arranging the first characteristic values according to a given sequence to form a first identification set, wherein the given sequence comprises the following steps: item name, brand, date of delivery, batch of delivery, shape of object, bar code, etc.;
generating a set acquisition request based on the first identification set; the set acquisition request is sent to a verification node of the block chain, and the instructions of the first identification set and the set acquisition request are packaged and sent based on a communication protocol of the verification node of the block chain to form a set acquisition request;
accessing the block chain, connecting to the verification node and sending the set acquisition request to the verification node; the verification node of the block chain is a local node of a manufacturer, and can be accessed and inquired through the Internet; certainly, the verification node can acquire the broadcast of other nodes in the block chain in real time, the verification node verifies the code information by the user after being used by the user, the verification node is determined to be verified, and the verification node outputs the code information and simultaneously outputs a mark for verifying the verification completion after being verified so as to remind the user that the verified object is verified and used;
receiving feedback information returned by the verification node;
analyzing the feedback information to obtain a set of image evidence storage points; packing the set of image evidence points into feedback information, decompressing and extracting the feedback information to obtain the set of image evidence points;
the steps of the verification node generating the feedback information are as follows:
acquiring a pre-stored certificate storage library; the certificate storage library is established by a manufacturer when the goods leave a factory and is updated into newly produced products in real time; the certificate storage library comprises a second identification set, a set of image certificate storage points, standard images corresponding to the image certificate storage points, corresponding coding information and the like which are stored in an associated manner based on each product (article);
matching the first identification set with each second identification set in the evidence storage library to obtain a set of image evidence storage points associated with the second identification sets matched with the first identification set; the matching can adopt a cosine similarity calculation formula to calculate the similarity of the first identification set and the second identification set, and when the similarity is greater than a threshold value (0.97) and is the maximum in the evidence storage library, the first identification set is matched with the second identification set;
and generating feedback information based on the set of image evidence points.
In one embodiment, obtaining a second image of a corresponding authentication point taken by a user comprises:
outputting whether to enter a second image shooting mode; outputting an option interface on the mobile terminal for the user to select;
entering a second image shooting mode after receiving an instruction that a user determines to enter the second image shooting mode; when the user selects the determination key on the output option interface, the instruction that the user determines to enter the second image shooting mode can be determined to be received; when the user selects a cancel key on the output option interface, determining that the user cancels entry, and exiting the second image shooting mode;
determining a verification order based on the extraction order of the verification points; the extraction sequence of the verification points is used as the verification sequence, so that the ordered verification is realized, the verification conditions of the articles are further limited, and the verification accuracy is improved;
acquiring a three-dimensional model of an object; the method can be obtained from a storage library, and also can be used for obtaining a pre-stored three-dimensional model library from a verification platform and calling the three-dimensional model library;
determining a first position of each verification point in the verification sequence in the three-dimensional model; the first position, i.e. the coordinate and the area of the verification point in the three-dimensional model;
constructing a shooting target template of each verification point based on the three-dimensional model and the first position of each verification point; the photographing target template includes: a first identifier for identifying the position and the area of the outline of the first position in a second image of each verification point to be shot; the center of the first mark is positioned in the center of a shooting area of the mobile terminal; shooting a target template for displaying on a screen of the mobile terminal, wherein a first identifier in the middle identifies the outline of the verification point, and further the outline of an object can be identified outside the first identifier; to assist the user in taking a picture; the shooting target template is transparent, so that normal shooting is not influenced;
mapping the three-dimensional model and the object in the first image, and determining a second position of each verification point in the first image on the object based on the first position of each verification point in the three-dimensional model; determining the position of a current verification point to be shot in the first image through mapping of the three-dimensional model and an object in the first image;
determining a first movement track of a central point of a shooting area of the mobile terminal based on a first position of a first verification point and a second position of the first verification point; the first moving track is a connecting line of a central point of a second position and a central point of a first position of a shooting area of the mobile terminal; the mobile terminal is a plane track in a plane where the mobile terminal is located;
displaying a first identifier and a first moving track corresponding to a first verification point in a shooting area of the mobile terminal in a second image shooting mode, and identifying a second position of the first verification point by adopting a second identifier in the shooting area; the first mark can adopt a red frame, and the second mark can adopt a green frame;
when a first identification corresponding to a first verification point is coincident with a second identification corresponding to the first verification point, acquiring a second image of the first verification point; the position of an object in the shooting area synchronously moves in the moving process of the mobile terminal, the second mark moves along with the object, but the first mark is fixed in the middle of the shooting area; guiding the movement of the user through the first identification, the second identification and the first movement track; the superposition is taken as a target, namely the first mark and the second mark are displayed in the middle of the shooting area and are consistent in shape and size, so that the distance between the mobile terminal and the object is positioned; the user can be continuously guided to shoot a specific position of the article on the screen of the mobile phone.
Sequentially acquiring the position relationship of two adjacent verification points in the verification sequence, and sequentially determining a second movement track of the central point of the shooting area of the mobile terminal corresponding to the verification point after the first verification point in the verification sequence based on the position relationship; when the first verification point is found, position navigation of other verification points can be realized through the position relation between the verification points, and when the verification point moves, a user needs to translate on a plane parallel to the surface plane of the object where the position of the first verification point is shot so as to accurately find the next verification point;
after the second image acquisition of one verification point is finished, a second moving track corresponding to the next verification point is marked in the shooting area of the mobile terminal,
when the shooting area of the mobile terminal moves along with the second moving track, the first identification of the verification point corresponding to the second moving track is identified in the shooting area; when the second moving track corresponds to a second position of the verification point on the object and enters the shooting area, marking by using a second mark;
and when the first identification and the second identification corresponding to the verification point corresponding to the second moving track are coincident, acquiring a second image of the verification point after the first verification point in the verification sequence.
In one embodiment, after the first identifier and the second identifier corresponding to the verification point in the verification sequence coincide, the third identifier is used to identify the coinciding region. When the first identification and the second identification are coincident, the first identification and the second identification are converted into a third identification to remind a user of shooting, and the third identification can adopt a colored frame.
In one embodiment, when the user takes the second image of the verification point, a third moving track of the movement of the central point of the mobile terminal is obtained in real time;
determining whether the third moving track deviates from a second moving track identified in the current shooting area;
and exiting the second image shooting mode when the third movement track deviates from the second movement track.
Limiting the shooting action of the user based on the third movement track so as to realize the reality and effectiveness of the verification process; the third moving track is a projection track of the moving track of the mobile terminal between the first verification point and the later verification point on a plane parallel to the surface of the object where the shooting position of the first verification point is located, and the projection track can be obtained through a gyroscope in the mobile terminal and then through projection.
In one embodiment, determining whether the third movement trajectory deviates from the second movement trajectory identified within the current photographing region includes:
constructing a coordinate system by taking the shooting position of the second image of the first verification point as an origin; the coordinate system is a plane coordinate system in a plane parallel to the surface of the object where the first verification point is located,
mapping the third moving track into a coordinate system and sampling the third moving track based on a preset sampling time interval to obtain a plurality of sampling points;
mapping the second moving track into a coordinate system and determining a point on the second moving track with the minimum distance to each sampling point as an associated point corresponding to the sampling point;
acquiring a first coordinate of each sampling point and a second coordinate of each associated point;
determining the offset distance of each sampling point based on the first coordinate of each sampling point and the second coordinate of the corresponding associated point;
determining a first direction vector of each sampling point on the third moving track based on the first coordinate of each sampling point and the first coordinate of the next sampling point;
determining a second direction vector of each sampling point based on a second coordinate of each associated point on the second moving track and a first coordinate of a next associated point;
determining the offset angle of each sampling point based on the first direction vector of each sampling point and the second direction vector of the corresponding associated point; the offset angle calculation can adopt a cosine angle calculation formula;
when the offset distance of each sampling point is smaller than or equal to a preset distance threshold and the offset angle of each sampling point is smaller than or equal to a preset angle threshold, the third moving track does not deviate from the second moving track identified in the current shooting area; otherwise, the third movement track deviates from the second movement track identified in the current shooting area.
To enable verification of the second image of the verification point, in one embodiment, verifying the second image based on the standard image stored on the blockchain includes:
connecting to a verification node, and acquiring a standard image associated with the extracted verification point;
matching the second image corresponding to the verification point with the standard image;
and when the second images of all the extracted verification points are matched with the corresponding standard images, the verification is passed, otherwise, the verification is not passed.
Furthermore, as shown in fig. 2, the authentication of the image is embedded in the shooting process, and when the second image at any one authentication point does not conform to the corresponding standard image, the second image shooting mode is exited; the efficiency of verification is improved.
The matching of the second image and the standard image can be realized by respectively extracting a plurality of characteristic values (for example, characteristic values corresponding to texture characteristics), calculating the similarity of the extracted characteristic values, and judging whether to match based on the similarity; when the similarity is greater than the corresponding threshold (0.98), it is determined that the two match, and so on.
The present invention also provides a system for querying and verifying coded information of an article, as shown in fig. 4, including:
the first image acquisition module 1 is used for acquiring a first image of an article to be inquired and verified, which is shot by a user;
theset acquisition module 2 is used for acquiring a set of image evidence storage points correspondingly associated with the first image from the block chain;
theextraction module 3 is used for extracting a preset number of verification points from the set of image evidence storage points;
the second image acquisition module 4 is used for acquiring a second image of the corresponding verification point shot by the user;
theverification module 5 is used for verifying the second image based on the standard image stored on the block chain;
and theoutput module 6 is used for acquiring the coded information of the article and outputting the coded information when the authentication is passed.
In one embodiment, theset obtaining module 2 obtains the set of image evidence points correspondingly associated with the first image from the block chain, and performs the following operations:
extracting the first image based on a preset first feature extraction rule to obtain a plurality of first feature values;
constructing a first identification set based on a plurality of first characteristic values;
generating a set acquisition request based on the first identification set;
accessing the block chain, connecting to the verification node and sending the set acquisition request to the verification node;
receiving feedback information returned by the verification node;
analyzing the feedback information to obtain a set of image evidence storage points;
the steps of the verification node generating the feedback information are as follows:
acquiring a pre-stored certificate storage library;
matching the first identification set with each second identification set in the evidence storage library to obtain a set of image evidence storage points associated with the second identification sets matched with the first identification set;
and generating feedback information based on the set of image evidence points.
In one embodiment, the second image obtaining module 4 obtains a second image of the corresponding verification point captured by the user, and performs the following operations:
outputting whether to enter a second image shooting mode;
entering a second image shooting mode after receiving an instruction that a user determines to enter the second image shooting mode;
determining a verification order based on the extraction order of the verification points;
acquiring a three-dimensional model of an object;
determining a first position of each verification point in the verification sequence in the three-dimensional model;
constructing a shooting target template of each verification point based on the three-dimensional model and the first position of each verification point; the photographing target template includes: a first identifier for identifying the position and the area of the outline of the first position in a second image of each verification point to be shot; the center of the first mark is positioned in the center of a shooting area of the mobile terminal;
mapping the three-dimensional model and the object in the first image, and determining a second position of each verification point in the first image on the object based on the first position of each verification point in the three-dimensional model;
determining a first movement track of a central point of a shooting area of the mobile terminal based on a first position of a first verification point and a second position of the first verification point;
displaying a first identifier and a first moving track corresponding to a first verification point in a shooting area of the mobile terminal in a second image shooting mode, and identifying a second position of the first verification point by adopting a second identifier in the shooting area;
when a first identification corresponding to a first verification point is coincident with a second identification corresponding to the first verification point, acquiring a second image of the first verification point;
sequentially acquiring the position relationship of two adjacent verification points in the verification sequence, and sequentially determining a second movement track of the central point of the shooting area of the mobile terminal corresponding to the verification point after the first verification point in the verification sequence based on the position relationship;
after the second image acquisition of one verification point is finished, a second moving track corresponding to the next verification point is marked in the shooting area of the mobile terminal,
when the shooting area of the mobile terminal moves along with the second moving track, the first identification of the verification point corresponding to the second moving track is identified in the shooting area; when the second moving track corresponds to a second position of the verification point on the object and enters the shooting area, marking by using a second mark;
and when the first identification and the second identification corresponding to the verification point corresponding to the second moving track are coincident, acquiring a second image of the verification point after the first verification point in the verification sequence.
In one embodiment, after the first identifier and the second identifier corresponding to the verification point in the verification sequence coincide, the third identifier is used to identify the coinciding region.
In one embodiment, the system for querying and verifying the encoded information of the item further comprises: a trajectory verification module that performs the following operations:
when a user shoots a second image of the verification point, a moving third moving track of the central point of the mobile terminal is obtained in real time;
determining whether the third moving track deviates from a second moving track identified in the current shooting area;
and exiting the second image shooting mode when the third movement track deviates from the second movement track.
In one embodiment, the trajectory verification module determines whether the third movement trajectory deviates from the second movement trajectory identified within the current photographing region, performing the following operations:
constructing a coordinate system by taking the shooting position of the second image of the first verification point as an origin;
mapping the third moving track into a coordinate system and sampling the third moving track based on a preset sampling time interval to obtain a plurality of sampling points;
mapping the second moving track into a coordinate system and determining a point on the second moving track with the minimum distance to each sampling point as an associated point corresponding to the sampling point;
acquiring a first coordinate of each sampling point and a second coordinate of each associated point;
determining the offset distance of each sampling point based on the first coordinate of each sampling point and the second coordinate of the corresponding associated point;
determining a first direction vector of each sampling point on the third moving track based on the first coordinate of each sampling point and the first coordinate of the next sampling point;
determining a second direction vector of each sampling point based on a second coordinate of each associated point on the second moving track and a first coordinate of a next associated point;
determining the offset angle of each sampling point based on the first direction vector of each sampling point and the second direction vector of the corresponding associated point;
when the offset distance of each sampling point is smaller than or equal to a preset distance threshold and the offset angle of each sampling point is smaller than or equal to a preset angle threshold, the third moving track does not deviate from the second moving track identified in the current shooting area; otherwise, the third movement track deviates from the second movement track identified in the current shooting area.
In one embodiment, the verification module verifies the second image based on the standard image stored on the blockchain, and performs the following operations:
connecting to a verification node, and acquiring a standard image associated with the extracted verification point;
matching the second image corresponding to the verification point with the standard image;
and when the second images of all the extracted verification points are matched with the corresponding standard images, the verification is passed, otherwise, the verification is not passed.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

CN202111594499.XA2021-12-242021-12-24Method and system for inquiring and verifying coded information of articleActiveCN114266331B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111594499.XACN114266331B (en)2021-12-242021-12-24Method and system for inquiring and verifying coded information of article

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111594499.XACN114266331B (en)2021-12-242021-12-24Method and system for inquiring and verifying coded information of article

Publications (2)

Publication NumberPublication Date
CN114266331Atrue CN114266331A (en)2022-04-01
CN114266331B CN114266331B (en)2024-08-02

Family

ID=80829475

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111594499.XAActiveCN114266331B (en)2021-12-242021-12-24Method and system for inquiring and verifying coded information of article

Country Status (1)

CountryLink
CN (1)CN114266331B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN117078158A (en)*2023-08-182023-11-17深圳伊西威威网络科技股份有限公司Supply chain management system based on artificial intelligence

Citations (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106778718A (en)*2016-11-222017-05-31江苏黄金屋教育发展股份有限公司A kind of automatic marking machine based on big data
CN107203886A (en)*2017-06-022017-09-26深圳市鹰眼在线电子科技有限公司Anti-counterfeiting information recognition methods, device and computer-readable recording medium
CN107622188A (en)*2016-07-152018-01-23阿里巴巴集团控股有限公司Verification method, device, system and equipment based on biological characteristic
CN108830153A (en)*2018-05-072018-11-16平安普惠企业管理有限公司For the auth method of recognition of face, device, equipment and storage medium
CN111368953A (en)*2020-03-102020-07-03大仝智能科技有限公司Product anti-counterfeiting traceability system and method
CN111737724A (en)*2020-08-262020-10-02腾讯科技(深圳)有限公司 A data processing method, device, intelligent device and storage medium
CN111881054A (en)*2020-08-042020-11-03携程计算机技术(上海)有限公司User interface automation test method, system, equipment and storage medium
WO2021008113A1 (en)*2019-07-182021-01-21创新先进技术有限公司Data evidence storage method, data verification method and related apparatuses based on blockchain
CN112671452A (en)*2020-12-172021-04-16西安电子科技大学Heterogeneous satellite network management method, system, medium, equipment, terminal and application
KR20210043529A (en)*2021-04-122021-04-21전인호System for authenticating image based on blockchain and hash encryption technique and method thereof
CN112712405A (en)*2019-10-252021-04-27尹毅Cultural relic artwork evidence obtaining and verifying point transaction method
WO2021134712A1 (en)*2019-12-312021-07-08深圳市大疆创新科技有限公司Load authentication method and system, mobile platform, load, and transfer device
CN113362475A (en)*2021-06-292021-09-07视伴科技(北京)有限公司Method and device for verifying generated virtual road directing identification

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107622188A (en)*2016-07-152018-01-23阿里巴巴集团控股有限公司Verification method, device, system and equipment based on biological characteristic
CN106778718A (en)*2016-11-222017-05-31江苏黄金屋教育发展股份有限公司A kind of automatic marking machine based on big data
CN107203886A (en)*2017-06-022017-09-26深圳市鹰眼在线电子科技有限公司Anti-counterfeiting information recognition methods, device and computer-readable recording medium
CN108830153A (en)*2018-05-072018-11-16平安普惠企业管理有限公司For the auth method of recognition of face, device, equipment and storage medium
WO2021008113A1 (en)*2019-07-182021-01-21创新先进技术有限公司Data evidence storage method, data verification method and related apparatuses based on blockchain
CN112712405A (en)*2019-10-252021-04-27尹毅Cultural relic artwork evidence obtaining and verifying point transaction method
WO2021134712A1 (en)*2019-12-312021-07-08深圳市大疆创新科技有限公司Load authentication method and system, mobile platform, load, and transfer device
CN111368953A (en)*2020-03-102020-07-03大仝智能科技有限公司Product anti-counterfeiting traceability system and method
CN111881054A (en)*2020-08-042020-11-03携程计算机技术(上海)有限公司User interface automation test method, system, equipment and storage medium
CN111737724A (en)*2020-08-262020-10-02腾讯科技(深圳)有限公司 A data processing method, device, intelligent device and storage medium
CN112671452A (en)*2020-12-172021-04-16西安电子科技大学Heterogeneous satellite network management method, system, medium, equipment, terminal and application
KR20210043529A (en)*2021-04-122021-04-21전인호System for authenticating image based on blockchain and hash encryption technique and method thereof
CN113362475A (en)*2021-06-292021-09-07视伴科技(北京)有限公司Method and device for verifying generated virtual road directing identification

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN117078158A (en)*2023-08-182023-11-17深圳伊西威威网络科技股份有限公司Supply chain management system based on artificial intelligence

Also Published As

Publication numberPublication date
CN114266331B (en)2024-08-02

Similar Documents

PublicationPublication DateTitle
CN109472337B (en)Label anti-counterfeiting method and device based on random characteristics
US9069069B2 (en)Systems, methods, and apparatus for marking, verifying, and authenticating consumer products
US20140095398A1 (en)Double ID Anti-Counterfeit Method and System
US11328568B2 (en)Method and apparatus for generating information, and device for human-computer interaction
CN107633413A (en)A kind of anti-fake traceability system and method
CN104182878A (en)Method and system for product authentication
CN114092108A (en)Method for identifying authenticity of Pu' er tea
CN111611465A (en)Product detection system, method, device, computer equipment and storage medium
US20170039575A1 (en)Commodity anti-counterfeiting verification system
CN114266331B (en)Method and system for inquiring and verifying coded information of article
CN107871266B (en)Method for acquiring interactive certificate and related device
CN111429194B (en)User track determination system, method, device and server
US20080240595A1 (en)Data Exchange Method
CN102708493A (en)Method for identifying counterfeiting of goods, front end device, rear end identification server and system
JP7090938B2 (en) Dynamic 2D code evaluation method, dynamic 2D code evaluation system, and dynamic 2D code evaluation program
US12242590B2 (en)System and method for identifying and authenticating counterfeiting articles
JP5158162B2 (en) Augmented reality display system, augmented reality display method, and augmented reality display program
EP2717195A1 (en)Counterfeit detection
CN113869474B (en) A multi-dimensional encoding method, system, decoding method and anti-counterfeiting encryption mark
EP4057591A1 (en)Method for identification and authentication of objects, and system for implementing the method
TWM637891U (en)Electronic contract signature system and contract processing server
CN112862029B (en)Anti-fake verification method and anti-fake verification system
US20200364771A1 (en)Visual purchasing system and implementation method thereof
WO2017025734A1 (en)Identification device and system
CN111222894A (en) Commodity traceability method and device for after-sales service

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp