CN111340515A - Characteristic information generation and article tracing method and device - Google Patents

Characteristic information generation and article tracing method and device Download PDF

Info

Publication number
CN111340515A
CN111340515A CN202010136593.XA CN202010136593A CN111340515A CN 111340515 A CN111340515 A CN 111340515A CN 202010136593 A CN202010136593 A CN 202010136593A CN 111340515 A CN111340515 A CN 111340515A
Authority
CN
China
Prior art keywords
image
source
article
acquiring
point location
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
CN202010136593.XA
Other languages
Chinese (zh)
Other versions
CN111340515B (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 Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Shangke Information 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 Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Shangke Information Technology Co Ltd
Priority to CN202010136593.XA priority Critical patent/CN111340515B/en
Publication of CN111340515A publication Critical patent/CN111340515A/en
Application granted granted Critical
Publication of CN111340515B publication Critical patent/CN111340515B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/25Fusion techniques
    • G06F18/253Fusion techniques of extracted features
    • 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
    • G06V10/443Local 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 by matching or filtering

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Marketing (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Multimedia (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a method and a device for generating characteristic information and tracing articles, and relates to the technical field of computers. One embodiment of the method comprises: acquiring a whole image and a local image of a source article; and extracting the characteristics of the whole image and the local image, and fusing the extracted whole characteristics and the extracted local characteristics to obtain source characteristic information of the source article. In the embodiment, for the initially registered source article, the picture features are extracted to establish the file 'uplink', and subsequently, when the article circulates in the trading market, the features extracted from the same-position image are compared, so that the purpose of tracing without changing the original attribute of the article is achieved.

Description

Characteristic information generation and article tracing method and device
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for generating characteristic information and tracing articles.
Background
In the trading market, the problem of true and false goods and the problem of tracing the source are always very troublesome problems. The buyer can not know the information such as specific transaction times, transaction time points, whether maintenance is done or not, and the like, so the buyer needs to ask for expert to identify during transaction. Currently, authentication is mainly performed by filling electronic chips in articles or by jet printing unique codes (ultraviolet light irradiation display).
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
the existing method can damage the articles, change the original attributes of the articles and have a more complicated authentication process. In addition, different transaction parties have different anti-counterfeiting modes, and the unified management is difficult in the article circulation process. Because the transaction parties are all interest-relevant parties on the circulation chain, when the information is unfavorable, the information can be selected to be tampered, so that the identification accuracy is difficult to guarantee, and particularly, the online transaction is true and false and is hard to distinguish, and the fish and the dragon are mixed.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for generating feature information and tracing an article, which can at least solve the problem that the article itself is damaged to some extent in the prior art.
In order to achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a feature information generating method including:
acquiring a whole image and a local image of a source article; wherein the whole image and the local image are obtained through a whole dimension and a local dimension respectively;
and extracting the characteristics of the whole image and the local image, and fusing the extracted whole characteristics and the extracted local characteristics to obtain source characteristic information of the source article.
Optionally, the overall dimension is a plane dimension, and the local dimensions include a site dimension and a point dimension;
the acquiring of the overall image and the partial image of the source article comprises:
acquiring a planar image of the source article based on the planar dimension;
acquiring an image of an area where at least one part is located in the plane image based on the part dimension to obtain a part image;
and acquiring an image of the region of at least one point location in the position image based on the point location dimension to obtain a point location image.
Optionally, the obtaining, based on the point location dimension, an image of the region of at least one point location in the location image to obtain a point location image further includes:
acquiring material characteristics of the source article at a single point location from the basic information of the source article, and acquiring an image of an area where the single point location is located by amplifying based on a magnification corresponding to the material characteristics to obtain an amplified point image; and
recording the magnification at which the point location image is acquired at said single point location.
Optionally, the method further includes:
determining the position of the point location in the position image to obtain point location distribution;
determining the position of the part in the plane image to obtain the distribution of the part;
and taking the point position distribution and the part distribution as image acquisition positions of the source article.
Optionally, after the obtaining of the source characteristic information of the source item, the method further includes: and if the source article is registered for the first time, acquiring the identity code of the source article, and establishing the file of the source article by combining the whole image, the local image and the source characteristic information.
Optionally, the establishing the archive of the source item further includes: determining an operation behavior on the source article, and acquiring operation image information on the source article in the operation behavior; wherein the operational behavior comprises at least one of production, transaction, maintenance, component replacement.
Optionally, the establishing the archive of the source item further includes: and encrypting the source characteristic information based on an information abstract algorithm to obtain the encrypted source characteristic information.
In order to achieve the above object, according to an aspect of the embodiments of the present invention, there is provided an article tracing method, including:
determining a source article according to an identity code of the article to be traced, and acquiring an image acquisition position and source characteristic information of the source article; the source feature information is obtained by performing feature extraction and fusion on a source image of the source article, and the source image corresponds to the image acquisition position;
acquiring an image of the article to be traced based on the image acquisition position, and performing feature extraction and fusion on the image to obtain feature information of the article to be traced;
and performing feature matching on the feature information and the source feature information, and if the matching result is in line, determining that the tracing is successful.
Optionally, the image acquisition positions include a position distribution and a point distribution;
the acquiring the image of the article to be traced based on the image acquisition position includes:
acquiring a first plane image of the article to be traced based on plane dimensions;
determining the position of a part in the first plane image based on the part distribution, and further acquiring a first part image;
and determining the position of the point in the first part image based on the point distribution, and further acquiring a first point image.
Optionally, the determining, based on the point location distribution, a location of a point location in the first location image to obtain a first point location image further includes:
and based on the magnification factor corresponding to the point location, amplifying the image at the point location in the first part image to obtain the amplified first point location image.
To achieve the above object, according to another aspect of an embodiment of the present invention, there is provided a feature information generating apparatus including:
the image acquisition module is used for acquiring the whole image and the local image of the source article; wherein the whole image and the local image are obtained through a whole dimension and a local dimension respectively;
and the source feature extraction module is used for extracting features of the whole image and the local image, and fusing the extracted whole features and the extracted local features to obtain source feature information of the source article.
Optionally, the overall dimension is a plane dimension, and the local dimensions include a site dimension and a point dimension;
the image acquisition module is configured to:
acquiring a planar image of the source article based on the planar dimension;
acquiring an image of an area where at least one part is located in the plane image based on the part dimension to obtain a part image;
and acquiring an image of the region of at least one point location in the position image based on the point location dimension to obtain a point location image.
Optionally, the image obtaining module is further configured to:
acquiring material characteristics of the source article at a single point location from the basic information of the source article, and acquiring an image of an area where the single point location is located by amplifying based on a magnification corresponding to the material characteristics to obtain an amplified point image; and
recording the magnification at which the point location image is acquired at said single point location.
Optionally, the system further includes a location distribution module, configured to:
determining the position of the point location in the position image to obtain point location distribution;
determining the position of the part in the plane image to obtain the distribution of the part;
and taking the point position distribution and the part distribution as image acquisition positions of the source article.
Optionally, the system further comprises a profiling module, configured to: and if the source article is registered for the first time, acquiring the identity code of the source article, and establishing the file of the source article by combining the whole image, the local image and the source characteristic information.
Optionally, the profiling module is further configured to: determining an operation behavior on the source article, and acquiring operation image information on the source article in the operation behavior; wherein the operational behavior comprises at least one of production, transaction, maintenance, component replacement.
Optionally, the profiling module is further configured to: and encrypting the source characteristic information based on an information abstract algorithm to obtain the encrypted source characteristic information.
To achieve the above object, according to an aspect of the embodiments of the present invention, there is provided an article tracing apparatus, including:
the article determining module is used for determining a source article according to the identity code of the article to be traced, and acquiring the image acquisition position and source characteristic information of the source article; the source feature information is obtained by performing feature extraction and fusion on a source image of the source article, and the source image corresponds to the image acquisition position;
the characteristic extraction module is used for acquiring the image of the article to be traced based on the image acquisition position, and performing characteristic extraction and fusion on the image to obtain the characteristic information of the article to be traced;
and the characteristic matching module is used for carrying out characteristic matching on the characteristic information and the source characteristic information, and if the matching result is in line, determining that the tracing is successful.
Optionally, the image acquisition positions include a position distribution and a point distribution;
the feature extraction module is configured to:
acquiring a first plane image of the article to be traced based on plane dimensions;
determining the position of a part in the first plane image based on the part distribution, and further acquiring a first part image;
and determining the position of the point in the first part image based on the point distribution, and further acquiring a first point image.
Optionally, the feature extraction module is further configured to: and based on the magnification factor corresponding to the point location, amplifying the image at the point location in the first part image to obtain the amplified first point location image.
To achieve the above object, according to a further aspect of the embodiments of the present invention, an electronic device for feature information generation and article tracing is provided.
The electronic device of the embodiment of the invention comprises: one or more processors; and the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors realize any one of the characteristic information generation and article traceability methods.
To achieve the above object, according to a further aspect of the embodiments of the present invention, there is provided a computer-readable medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing any one of the above feature information generation and article tracing methods.
According to the scheme provided by the invention, one embodiment of the invention has the following advantages or beneficial effects: for the primarily registered article, based on the block chain anti-counterfeiting traceability technology, files are established to be 'chain up' so as to store source image information and characteristic information of the article, and subsequently when the article circulates on the trading market again, the image at the same position is shot again, and image characteristic matching is carried out on the image and the source article which is 'chain up', so that the purpose of traceability can be achieved without changing the original attribute of the article.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
fig. 1 is a schematic main flow chart of a feature information generation method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating an alternative characteristic information generation method according to an embodiment of the present invention;
FIG. 3 is a schematic main flow chart of an article tracing method according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for tracing the source of a specific object according to an embodiment of the present invention;
fig. 5 is a schematic diagram of main blocks of a feature information generation apparatus according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of the main modules of an article tracing apparatus according to an embodiment of the present invention;
FIG. 7 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
FIG. 8 is a schematic block diagram of a computer system suitable for use with a mobile device or server implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that the article in the present invention refers to a transaction with a high value/quality relationship ratio, such as a case, a dress, jewelry, a 3C electronic product, and the like. Considering that the present invention mainly uses image features for anti-counterfeiting authentication, while diamonds, chinaware, etc. generally use optical characteristics for anti-counterfeiting, the present invention mainly considers items that can be authenticated by images, such as clothing, case accessories, etc.
For an article, it is often difficult to visually derive its details. Taking a case as an example, even if a code is printed on the case, certain steps are required to acquire the information. Especially in the second-hand trading market, it is important to trace the source of the article because the user wants to know whether the article has been previously cured, repaired, changed accessories, etc.
Referring to fig. 1, a main flowchart of a feature information generation method provided in an embodiment of the present invention is shown, including the following steps:
s101: acquiring a whole image and a local image of a source article; wherein the whole image and the local image are obtained through a whole dimension and a local dimension respectively;
s102: and extracting the characteristics of the whole image and the local image, and fusing the extracted whole characteristics and the extracted local characteristics to obtain source characteristic information of the source article.
In the above embodiment, for step S101, the image of the source article is mainly represented in two dimensions, i.e., a whole dimension and a local dimension, and specifically, is divided into three dimensions, i.e., a plane, a location, and a point. The user or the shooting equipment shoots the article based on the three dimensions to obtain image data of the three dimensions:
firstly, the plane shape of the article is shot in a plane angle mode, so that the staff can preliminarily know general information such as brand, style, sample color and the like. Here, the plane may be a six-sided view including a front view, a rear view, a left view, a right view, a top view, a bottom view (and a perspective view). For a planar article, only the front rear view may be included.
And then, selecting and clicking a plurality of key parts or parts of the article by workers to shoot the parts, and mainly shooting and recording detailed information such as leather textures, printed patterns, accessories and the like. Since the region imaging is performed by imaging only a local position of the article with respect to the plane imaging, the region image may be regarded as a local image.
Finally, microscopic equipment such as a microscopic camera is used for magnifying and shooting important key positions (mainly points selected by workers) of the article, and the important key positions are generally shot to a micron level so as to observe some characteristics which cannot be seen by naked eyes, such as fiber morphology, coating thickness and other details, and obtain a point image (or called as a microscopic image).
Further, the magnification of the point location shooting may be related to the material characteristics of the selected point location, such as material characteristics 1-magnification of 100-; wherein the material characteristics can be obtained from basic information of the article.
It should be noted that, for the selection of the positions and the point locations in the position shooting and the point location shooting, the general production depends on the selection by the staff (such as an appraisal expert) by experience, and the number of the plane shooting, the position shooting and the point location shooting may be one or more, but the grouping is performed according to the plane images. For example, the garment chooses to take only its main face, at which point a set of images is formed; for a more stereoscopic article, if six views are taken, six sets of images are formed.
The image of the article can be recorded along with the circulation of the article, and is mainly shot by a factory after the article is produced by an article manufacturing factory, or shot by a seller in the transaction circulation process, or shot by a maintenance factory in the maintenance process, and the image information is singly grouped according to the operation process to obtain the image information of the article.
The above mode can shoot articles from three dimensions of plane, position and point position, and can obtain a plurality of images. And the parts shot by the parts/point positions are marked in the plane image, so that the characteristics of the parts can be conveniently verified in the subsequent tracing process of the article. In order to facilitate the subsequent comparison of the characteristics of the same part, the positions of the part and the point in the image need to be marked, and the part image and the point image can be shot at the positions directly.
For step S102, a plurality of images generated by capturing the article from three dimensions of plane, part, and point are used, and these images describe the features of the article in different scales from the plane to the part and then to the point. Therefore, the invention selects to adopt a cascaded feature extraction network and fuses the features on the same scale.
In addition, before feature extraction, the image of the article is subjected to data processing, so that the data better meets the requirements of a feature extraction network, and more effective source features are extracted.
According to the method provided by the embodiment, on the basis of not changing the article, the article image is shot from the whole dimension and the local dimension, the feature extraction is carried out, and the source feature basis is provided for the follow-up article tracing.
Referring to fig. 2, a schematic flow chart of an optional feature information generation method according to an embodiment of the present invention is shown, including the following steps:
s201: acquiring a whole image and a local image of a source article; wherein the whole image and the local image are obtained through a whole dimension and a local dimension respectively;
s102: extracting the characteristics of the whole image and the local image, and fusing the extracted whole characteristics and the extracted local characteristics to obtain source characteristic information of the source article;
s203: and if the source article is registered for the first time, acquiring the identity code of the source article, and establishing the file of the source article by combining the whole image, the local image and the source characteristic information.
In the above embodiment, for steps S201 and S202, reference may be made to the description of steps S101 and S102 shown in fig. 1, and details are not repeated here.
In the above embodiment, for step S203, for the source article in the database, it is necessary to first maintain its basic information in the system to generate the unique code based on its identity. Furthermore, two-dimensional codes, bar codes and other identification marks which are convenient to scan can be generated based on the unique codes, and information can be checked after scanning.
It should be noted that, although the identity code is the only code of the article, the accuracy of the result is difficult to guarantee only by performing the article authentication according to the identity code. For example, a factory a produces an article B, and a unique number is printed on the article B, but a large number of highly-imitated articles B exist on the market, and the number may be imitated, so that the authenticity of the article to be traced cannot be identified only by the identity code.
The generation of the unique code occurs when the source item is first registered in the system/database. Respectively establishing a file for each source article, linking data such as delivery information (such as producing areas, batches and the like) and attribute information (such as images of planes, parts and point positions) of the source article by using a certified product traceability system based on a block chain technology, and generating a unique code; wherein the blockchain guarantees tamper-proof, public transparency, and timestamp capabilities in the data storage scenario.
It should be noted that, the article may change during the use process, and the data comparison may have a difference, so that the circulation information of the source article (such as time of each purchase and sale, maintenance condition, etc.) may be stored in the file, which is convenient for comparing with the subsequent characteristics, and compared with the circulation characteristics in addition to the factory characteristics, so as to improve the identification accuracy.
In addition, after the characteristics of the source article are extracted, the characteristics can be encrypted, the corresponding relation between the unique code and the encrypted characteristics is established, and then the corresponding relation, the unique code and the encrypted characteristics are stored in a system/database, so that the danger that the characteristics are tampered is prevented.
In the method provided by the above embodiment, for the first-time registered article, the document is built based on the image information and the feature information of the source article, but for the article which is not first-time registered, the image and the feature information in the document need to be updated based on the operation behavior, so as to provide a data base for the tracing of the subsequent article.
Referring to fig. 3, a main flowchart of an article tracing method according to an embodiment of the present invention is shown, including the following steps:
s301: determining a source article according to an identity code of the article to be traced, and acquiring an image acquisition position and source characteristic information of the source article; the source feature information is obtained by performing feature extraction and fusion on a source image of the source article, and the source image corresponds to the image acquisition position;
s302: acquiring an image of the article to be traced based on the image acquisition position, and performing feature extraction and fusion on the image to obtain feature information of the article to be traced;
s303: and performing feature matching on the feature information and the source feature information, and if the matching result is in line, determining that the tracing is successful.
In the above embodiment, as for step S301, in the embodiment shown in fig. 1, the imaging position of the source object is determined by the staff or the imaging device, and then the image is captured and the features at these positions are extracted.
In order to narrow the comparison range, improve the comparison accuracy and reduce the human participation factor, the idea that the identity codes of the same article are the same is considered, and the source article can be determined from the database through the identity codes of the articles to be traced.
In step S302, images of the same position in the article to be traced are photographed by using the photographing position of the source article (i.e., the image acquiring position, which includes point location distribution and part distribution), so as to obtain an image of the article to be traced. Specifically, the method comprises the following steps:
acquiring a first plane image of an article to be traced based on plane dimensions;
determining the position of the part in the first plane image based on the distribution of the part, and further acquiring a first part image;
and determining the position of the point in the first position image based on the point distribution, and further acquiring a first point image.
In addition, when the point position image of the source object is obtained, the corresponding magnification factor is determined based on the point position material characteristics, so that the magnification factor is obtained
And based on the magnification factor corresponding to the point location, amplifying the image at the point location in the first part image to obtain the amplified first point location image. Similarly, when the first dot image of the article to be traced is obtained, operation is performed based on the magnification factor, and the dot image and the first dot image are in a unified magnitude.
In step S303, the feature information of the article to be traced is matched with the source feature information of the source article, and if the matching is successful, it indicates whether the article is a genuine article.
For the tracing result, a corresponding tag may be added to the article to be traced, but it should be noted that the tag here does not change the article itself, and is only used to indicate the identification result.
In addition, under the condition of no identity code or no corresponding source article, in order to narrow the comparison range, the class to which the source article belongs can be determined according to the basic information of the to-be-traced article, and then only the source article set belonging to the class is extracted from the database, and the source article in the source article set is subjected to feature comparison with the to-be-traced article.
Furthermore, the extracted source article set can be screened again based on the attribute of the article to be traced, so as to further narrow the matching range, and only the source article with the same or similar attribute is extracted, thereby accelerating the matching speed.
According to the method provided by the embodiment, the source object is determined according to the identity code of the object to be traced, so that the comparison range is reduced; the source object to be traced is shot in multiple dimensions based on the shooting position of the source object, so that the feature extraction and comparison accuracy is improved; besides the factory characteristics, the characteristics of the article circulation process are also considered, and the accuracy of the comparison result is ensured.
Referring to fig. 4, a schematic diagram of an article tracing process according to an embodiment of the present invention is shown, including the following steps:
s401: acquiring a whole image and a local image of a source article; wherein the whole image and the local image are obtained through a whole dimension and a local dimension respectively;
s402: extracting the characteristics of the whole image and the local image, and fusing the extracted whole characteristics and the extracted local characteristics to obtain source characteristic information of the source article;
s403: if the source article is registered for the first time, acquiring the identity code of the source article, and establishing a file of the source article by combining the whole image, the local image and the source characteristic information;
s404: determining a source article according to an identity code of the article to be traced, and acquiring an image acquisition position and source characteristic information of the source article;
s405: acquiring an image of the article to be traced based on the image acquisition position, and performing feature extraction and fusion on the image to obtain feature information of the article to be traced;
s406: and performing feature matching on the feature information and the source feature information, and if the matching result is in line, determining that the tracing is successful.
The method provided by the embodiment of the invention utilizes the self attribute of the article without changing the article, and carries out authenticity identification and traceability based on the image processing technology of deep learning:
firstly, shooting images from three angles of a plane, a part and a point of an article, and extracting image characteristics; for the primarily registered articles, establishing files and linking the files based on a block chain anti-counterfeiting traceability technology so as to store operation information (such as producing areas, batches and the like) and image information (such as images of planes, parts and point positions) of the articles;
secondly, when the article circulates on the trading market again, the image of the plane, the position and the point location dimension is shot again, image feature matching is carried out on the image and the source article which is linked up, matching speed is increased, and the purpose of tracing without changing original attributes of the article is achieved.
Referring to fig. 5, a schematic diagram of main modules of a feature information generating apparatus 500 according to an embodiment of the present invention is shown, including:
an image acquisition module 501, configured to acquire an overall image and a local image of a source article; wherein the whole image and the local image are obtained through a whole dimension and a local dimension respectively;
a source feature extraction module 502, configured to perform feature extraction on the whole image and the local image, and fuse the extracted whole feature and local feature to obtain source feature information of the source article.
In the implementation device of the invention, the overall dimension is a plane dimension, and the local dimension comprises a position dimension and a point dimension;
the image obtaining module 501 is configured to:
acquiring a planar image of the source article based on the planar dimension;
acquiring an image of an area where at least one part is located in the plane image based on the part dimension to obtain a part image;
and acquiring an image of the region of at least one point location in the position image based on the point location dimension to obtain a point location image.
In the implementation apparatus of the present invention, the image obtaining module 501 is further configured to:
acquiring material characteristics of the source article at a single point location from the basic information of the source article, and acquiring an image of an area where the single point location is located by amplifying based on a magnification corresponding to the material characteristics to obtain an amplified point image; and
recording the magnification at which the point location image is acquired at said single point location.
The apparatus for implementing the present invention further includes a position distribution module 503 (not shown in the figure) for:
determining the position of the point location in the position image to obtain point location distribution;
determining the position of the part in the plane image to obtain the distribution of the part;
and taking the point position distribution and the part distribution as image acquisition positions of the source article.
The apparatus further includes a profiling module 504 (not shown) for: and if the source article is registered for the first time, acquiring the identity code of the source article, and establishing the file of the source article by combining the whole image, the local image and the source characteristic information.
In the implementation apparatus of the present invention, the profiling module 504 is further configured to: determining an operation behavior on the source article, and acquiring operation image information on the source article in the operation behavior; wherein the operational behavior comprises at least one of production, transaction, maintenance, component replacement.
In the implementation apparatus of the present invention, the profiling module 504 is further configured to: and encrypting the source characteristic information based on an information abstract algorithm to obtain the encrypted source characteristic information.
Referring to fig. 6, a schematic diagram of main modules of an article tracing apparatus 600 provided by an embodiment of the present invention is shown, including:
the article determining module 601 is configured to determine a source article according to an identity code of an article to be traced, and acquire an image acquisition position and source feature information of the source article; the source feature information is obtained by performing feature extraction and fusion on a source image of the source article, and the source image corresponds to the image acquisition position;
a feature extraction module 602, configured to obtain an image of the article to be traced based on the image obtaining position, and perform feature extraction and fusion on the image to obtain feature information of the article to be traced;
and the feature matching module 603 is configured to perform feature matching on the feature information and the source feature information, and if a matching result is a match, determine that the tracing is successful.
In the implementation device of the invention, the image acquisition positions comprise position distribution and point distribution;
the feature extraction module 602 is configured to:
acquiring a first plane image of the article to be traced based on plane dimensions;
determining the position of a part in the first plane image based on the part distribution, and further acquiring a first part image;
and determining the position of the point in the first part image based on the point distribution, and further acquiring a first point image.
In the apparatus for implementing the present invention, the feature extraction module 602 is further configured to: and based on the magnification factor corresponding to the point location, amplifying the image at the point location in the first part image to obtain the amplified first point location image.
In addition, the detailed implementation of the device in the embodiment of the present invention has been described in detail in the above method, so that the repeated description is not repeated here.
FIG. 7 illustrates an exemplary system architecture 700 to which embodiments of the invention may be applied.
As shown in fig. 7, the system architecture 700 may include terminal devices 701, 702, 703, a network 704 and a server 705 (by way of example only). The network 704 serves to provide a medium for communication links between the terminal devices 701, 702, 703 and the server 705. Network 704 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 701, 702, 703 to interact with a server 705 over a network 704, to receive or send messages or the like. Various communication client applications may be installed on the terminal devices 701, 702, 703.
The terminal devices 701, 702, 703 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 705 may be a server providing various services, such as a background management server (for example only) providing support for shopping websites browsed by users using the terminal devices 701, 702, 703.
It should be noted that the method provided by the embodiment of the present invention is generally executed by the server 705, and accordingly, the apparatus is generally disposed in the server 705.
It should be understood that the number of terminal devices, networks, and servers in fig. 7 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 8, shown is a block diagram of a computer system 800 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 8, the computer system 800 includes a Central Processing Unit (CPU)801 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for the operation of the system 800 are also stored. The CPU 801, ROM 802, and RAM 803 are connected to each other via a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The computer program executes the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 801.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes an image acquisition module, a source feature extraction module. Where the names of these modules do not in some cases constitute a limitation of the module itself, for example, a source feature extraction module may also be described as an "extract source feature module".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise:
acquiring a whole image and a local image of a source article; wherein the whole image and the local image are obtained through a whole dimension and a local dimension respectively;
and extracting the characteristics of the whole image and the local image, and fusing the extracted whole characteristics and the extracted local characteristics to obtain source characteristic information of the source article.
According to the technical scheme of the embodiment of the invention, on the basis of not changing the object, the authenticity identification and the source tracing are carried out by utilizing the attribute of the object and the image processing technology based on deep learning:
firstly, shooting images from three angles of a plane, a part and a point of an article, and extracting image characteristics; for the initially registered articles, based on a block chain anti-counterfeiting traceability technology (with a non-falsifiable distributed book record characteristic), establishing a file to 'uplink' to store operation information (such as a place of production, a batch and the like) and image information (such as images of planes, parts and point positions) of the articles;
secondly, when the article circulates on the trading market again, the image of the plane, the position and the point location dimension is shot again, image feature matching is carried out on the image and the source article which is linked up, and the purpose of tracing the source can be achieved without changing the original attribute of the article.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (14)

1. A feature information generation method is characterized by comprising the following steps:
acquiring a whole image and a local image of a source article; wherein the whole image and the local image are obtained through a whole dimension and a local dimension respectively;
and extracting the characteristics of the whole image and the local image, and fusing the extracted whole characteristics and the extracted local characteristics to obtain source characteristic information of the source article.
2. The method of claim 1, wherein the global dimension is a planar dimension, and the local dimensions include a site dimension and a site dimension;
the acquiring of the overall image and the partial image of the source article comprises:
acquiring a planar image of the source article based on the planar dimension;
acquiring an image of an area where at least one part is located in the plane image based on the part dimension to obtain a part image;
and acquiring an image of the region of at least one point location in the position image based on the point location dimension to obtain a point location image.
3. The method according to claim 2, wherein the obtaining an image of the region of at least one point in the part image based on the point location dimension to obtain a point image further comprises:
acquiring material characteristics of the source article at a single point location from the basic information of the source article, and acquiring an image of an area where the single point location is located by amplifying based on a magnification corresponding to the material characteristics to obtain an amplified point image; and
recording the magnification at which the point location image is acquired at said single point location.
4. The method of claim 2, further comprising:
determining the position of the point location in the position image to obtain point location distribution;
determining the position of the part in the plane image to obtain the distribution of the part;
and taking the point position distribution and the part distribution as image acquisition positions of the source article.
5. The method of claim 1, further comprising, after the obtaining source characteristic information of the source item:
and if the source article is registered for the first time, acquiring the identity code of the source article, and establishing the file of the source article by combining the whole image, the local image and the source characteristic information.
6. The method of claim 5, wherein the establishing a profile of the source item further comprises:
determining an operation behavior on the source article, and acquiring operation image information on the source article in the operation behavior; wherein the operational behavior comprises at least one of production, transaction, maintenance, component replacement.
7. The method of claim 5, wherein the establishing a profile of the source item further comprises:
and encrypting the source characteristic information based on an information abstract algorithm to obtain the encrypted source characteristic information.
8. An article tracing method is characterized by comprising the following steps:
determining a source article according to an identity code of the article to be traced, and acquiring an image acquisition position and source characteristic information of the source article; the source feature information is obtained by performing feature extraction and fusion on a source image of the source article, and the source image corresponds to the image acquisition position;
acquiring an image of the article to be traced based on the image acquisition position, and performing feature extraction and fusion on the image to obtain feature information of the article to be traced;
and performing feature matching on the feature information and the source feature information, and if the matching result is in line, determining that the tracing is successful.
9. The method of claim 8, wherein the image acquisition locations comprise a location distribution and a point location distribution;
the acquiring the image of the article to be traced based on the image acquisition position includes:
acquiring a first plane image of the article to be traced based on plane dimensions;
determining the position of a part in the first plane image based on the part distribution, and further acquiring a first part image;
and determining the position of the point in the first part image based on the point distribution, and further acquiring a first point image.
10. The method of claim 9, wherein determining the location of the point in the first location image based on the point location distribution to obtain a first point location image further comprises:
and based on the magnification factor corresponding to the point location, amplifying the image at the point location in the first part image to obtain the amplified first point location image.
11. A feature information generating apparatus, comprising:
the image acquisition module is used for acquiring the whole image and the local image of the source article; wherein the whole image and the local image are obtained through a whole dimension and a local dimension respectively;
and the source feature extraction module is used for extracting features of the whole image and the local image, and fusing the extracted whole features and the extracted local features to obtain source feature information of the source article.
12. An article traceability device, comprising:
the source article determining module is used for determining a source article according to the identity code of the article to be traced, and acquiring the image acquisition position and the source characteristic information of the source article; the source feature information is obtained by performing feature extraction and fusion on a source image of the source article, and the source image corresponds to the image acquisition position;
the characteristic extraction module is used for acquiring the image of the article to be traced based on the image acquisition position, and performing characteristic extraction and fusion on the image to obtain the characteristic information of the article to be traced;
and the characteristic matching module is used for carrying out characteristic matching on the characteristic information and the source characteristic information, and if the matching result is in line, determining that the tracing is successful.
13. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-10.
14. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-10.
CN202010136593.XA 2020-03-02 2020-03-02 Feature information generation and article tracing method and device Active CN111340515B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010136593.XA CN111340515B (en) 2020-03-02 2020-03-02 Feature information generation and article tracing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010136593.XA CN111340515B (en) 2020-03-02 2020-03-02 Feature information generation and article tracing method and device

Publications (2)

Publication Number Publication Date
CN111340515A true CN111340515A (en) 2020-06-26
CN111340515B CN111340515B (en) 2023-09-26

Family

ID=71187168

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010136593.XA Active CN111340515B (en) 2020-03-02 2020-03-02 Feature information generation and article tracing method and device

Country Status (1)

Country Link
CN (1) CN111340515B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112100430A (en) * 2020-11-06 2020-12-18 北京沃东天骏信息技术有限公司 Article tracing method and device
CN115205552A (en) * 2022-07-14 2022-10-18 欧冶链金再生资源有限公司 Metal packaging block feature extraction and identification system and method based on feature identification
CN117094736A (en) * 2023-08-09 2023-11-21 云海链控股股份有限公司 Product authentication method, device, equipment and computer readable storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070047844A1 (en) * 2005-08-31 2007-03-01 Brother Kogyo Kabushiki Kaisha Image processing apparatus and program product
CN103871044A (en) * 2012-12-14 2014-06-18 阿里巴巴集团控股有限公司 Image signature generating method and image verifying method and device
WO2017215669A1 (en) * 2016-06-17 2017-12-21 北京市商汤科技开发有限公司 Method and device for object recognition, data processing device, and computing device
CN107657463A (en) * 2017-09-29 2018-02-02 北京京东尚科信息技术有限公司 Article is traced to the source platform and method and device
CN108229302A (en) * 2017-11-10 2018-06-29 深圳市商汤科技有限公司 Feature extracting method, device, computer program, storage medium and electronic equipment
CN108389062A (en) * 2018-05-10 2018-08-10 江南大学 A kind of fruit anti-fake traceability system and method based on image procossing
CN108416590A (en) * 2018-04-08 2018-08-17 程昔恩 A kind of block chain technical certification method based on topography
CN108898128A (en) * 2018-07-11 2018-11-27 宁波艾腾湃智能科技有限公司 A kind of method for anti-counterfeit and equipment matching digital three-dimemsional model by photo
WO2019001481A1 (en) * 2017-06-28 2019-01-03 北京市商汤科技开发有限公司 Vehicle appearance feature identification and vehicle search method and apparatus, storage medium, and electronic device
CN109214834A (en) * 2018-09-10 2019-01-15 百度在线网络技术(北京)有限公司 Product traceability method and apparatus based on block chain
CN110175660A (en) * 2019-04-16 2019-08-27 广州云上区块链技术有限公司 Logistics based on block chain is traced to the source implementation method
CN110648299A (en) * 2018-06-26 2020-01-03 株式会社理光 Image processing method, image processing apparatus, and computer-readable storage medium
CN110766706A (en) * 2019-09-26 2020-02-07 深圳市景阳信息技术有限公司 Image fusion method and device, terminal equipment and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070047844A1 (en) * 2005-08-31 2007-03-01 Brother Kogyo Kabushiki Kaisha Image processing apparatus and program product
CN103871044A (en) * 2012-12-14 2014-06-18 阿里巴巴集团控股有限公司 Image signature generating method and image verifying method and device
WO2017215669A1 (en) * 2016-06-17 2017-12-21 北京市商汤科技开发有限公司 Method and device for object recognition, data processing device, and computing device
WO2019001481A1 (en) * 2017-06-28 2019-01-03 北京市商汤科技开发有限公司 Vehicle appearance feature identification and vehicle search method and apparatus, storage medium, and electronic device
CN107657463A (en) * 2017-09-29 2018-02-02 北京京东尚科信息技术有限公司 Article is traced to the source platform and method and device
CN108229302A (en) * 2017-11-10 2018-06-29 深圳市商汤科技有限公司 Feature extracting method, device, computer program, storage medium and electronic equipment
CN108416590A (en) * 2018-04-08 2018-08-17 程昔恩 A kind of block chain technical certification method based on topography
CN108389062A (en) * 2018-05-10 2018-08-10 江南大学 A kind of fruit anti-fake traceability system and method based on image procossing
CN110648299A (en) * 2018-06-26 2020-01-03 株式会社理光 Image processing method, image processing apparatus, and computer-readable storage medium
CN108898128A (en) * 2018-07-11 2018-11-27 宁波艾腾湃智能科技有限公司 A kind of method for anti-counterfeit and equipment matching digital three-dimemsional model by photo
CN109214834A (en) * 2018-09-10 2019-01-15 百度在线网络技术(北京)有限公司 Product traceability method and apparatus based on block chain
CN110175660A (en) * 2019-04-16 2019-08-27 广州云上区块链技术有限公司 Logistics based on block chain is traced to the source implementation method
CN110766706A (en) * 2019-09-26 2020-02-07 深圳市景阳信息技术有限公司 Image fusion method and device, terminal equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
徐科;梁泽华;孙媛;: "基于区块链技术的中药材质量追溯研究与体系构建" *
田华;蒋平安;武红旗;刘汉坤;李彪;王金晶;: "新疆特色林果产品溯源系统的设计与实现" *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112100430A (en) * 2020-11-06 2020-12-18 北京沃东天骏信息技术有限公司 Article tracing method and device
CN112100430B (en) * 2020-11-06 2021-03-30 北京沃东天骏信息技术有限公司 Article tracing method and device
CN115205552A (en) * 2022-07-14 2022-10-18 欧冶链金再生资源有限公司 Metal packaging block feature extraction and identification system and method based on feature identification
CN117094736A (en) * 2023-08-09 2023-11-21 云海链控股股份有限公司 Product authentication method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN111340515B (en) 2023-09-26

Similar Documents

Publication Publication Date Title
US20180349893A1 (en) System for outputting product traceability code
TW202002569A (en) Blockchain-based data verification method and apparatus, and electronic device
CA3025064A1 (en) Secure and traceable manufactured parts
CN110287724B (en) Data storage and verification method and device
US20230045071A1 (en) Physical Non-Fungible Tokens (pNFT) Certificates of Ownership
WO2019047524A1 (en) Information processing method and apparatus
US20200126315A1 (en) Method and apparatus for generating information
CN110909808B (en) Method, system and device for anti-counterfeiting verification
CN111340515B (en) Feature information generation and article tracing method and device
CN107909375B (en) Anti-counterfeiting and tracing two-dimensional code generation method, terminal and medium
CN109255767A (en) Image processing method and device
CN108882025A (en) Video frame treating method and apparatus
CN112100430B (en) Article tracing method and device
CN109118456A (en) Image processing method and device
CN108182457A (en) For generating the method and apparatus of information
CN112258619A (en) Image processing method and device
CN110516099A (en) Image processing method and device
CN108492284A (en) Method and apparatus for the perspective shape for determining image
CN114153412A (en) Display system and method for encrypted digital collection
CN109871890A (en) Image processing method and device
CN110097195A (en) A kind of platform and equipment, medium of the management of total factor qualitative data
CN115563942A (en) Contract generation method and device, electronic equipment and computer readable medium
CN112765641B (en) Efficient desensitization method and device
CN108537786A (en) For handling image method and device
CN109584013B (en) Method and device for generating article description information

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