Accessory anti-counterfeiting mark generation and verification method and device and readable storage medium

By generating independent keys for each single piece of jewelry and splitting them into multiple anti-counterfeiting logos, the problem of jewelry being dropped in the set of jewelry is solved, and the authenticity verification of each single piece of jewelry and the integrity judgment of the set of jewelry is realized.

CN120278730APending Publication Date: 2025-07-08SHENZHEN GAOTE PRECISION CASTING GIFT CULTURE DEV CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510313045.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-17
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

There is only one anti-counterfeiting label in the set of decorations, and users cannot determine whether the accessories in them have been dropped.

Method used

Generate independent keys for each single piece of jewelry and split them into multiple anti-counterfeiting logos. By verifying the order and continuity of these logos, the authenticity of the jewelry is judged.

Benefits of technology

Ensure the authenticity of each single piece of jewelry, and verify the integrity of the jewelry set through the overall key, solving the problem of the jewelry being dropped in the jewelry set.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120278730A_ABST
    Figure CN120278730A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of jewelry, in particular to an ornament anti-counterfeiting mark generation and verification method and device and a readable storage medium. The method comprises the following steps: identifying a single ornament in a set of ornaments to obtain a first ornament and a second ornament; splitting the target key into a first key and a second key in sequence; generating a first anti-counterfeiting mark according to the first key, and arranging the first anti-counterfeiting mark in the first ornament; and generating a second anti-counterfeiting mark from the second key, and arranging the second anti-counterfeiting mark in the second ornament. Therefore, not only is the single ornament verified, but also whether each single ornament is the same suit is verified, so that the problem that a user does not know whether the ornament in the suit is lost or not because the suit ornament only has one anti-counterfeit label is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of jewelry, and particularly to a method, device and readable storage medium for generating and verifying anti-counterfeiting labels for ornaments. Background Art

[0002] In jewelry ornaments, most ornaments have anti-counterfeiting labels for users to identify the authenticity. However, in sets of ornaments, that is, a set of ornaments contains several pieces, but there is still only one anti-counterfeiting label. Then users are not clear whether the ornaments in them have been switched. Summary of the Invention

[0003] Aiming at the deficiencies of the prior art, the present invention provides a method, device and readable storage medium for generating and verifying anti-counterfeiting labels for ornaments, aiming to solve the problem that there is only one anti-counterfeiting label for sets of ornaments, and users are not clear whether the ornaments in them have been switched.

[0004] The technical solution proposed by the present invention is as follows:

[0005] A method for generating an anti-counterfeiting label for an ornament, the method comprising:

[0006] Identifying single-piece ornaments in a set of ornaments to obtain a first ornament and a second ornament;

[0007] Splitting a target key into a first key and a second key in sequence, wherein both the first key and the second key can be used as independent keys for verification and have sequence identifiers with their own sequences;

[0008] Generating a first anti-counterfeiting label with the first key and setting the first anti-counterfeiting label in the first ornament;

[0009] Generating a second anti-counterfeiting label with the second key and setting the second anti-counterfeiting label in the second ornament.

[0010] Further, in the step of generating a first anti-counterfeiting label with the first key and setting the first anti-counterfeiting label in the first ornament, it includes:

[0011] Judging whether the first ornament is a separable ornament;

[0012] If not, generating a first anti-counterfeiting label with the first key and setting the first anti-counterfeiting label in the first ornament.

[0013] Further, after the step of judging whether the first ornament is a separable ornament, it includes:

[0014] If so, identifying the assembled parts of the first ornament to obtain a first component and a second component;

[0015] The first secret key is split into a first sub - secret key and a second sub - secret key in sequence, where both the first sub - secret key and the second sub - secret key can be used as independent secret keys for verification, and have sub - sequence identifiers with their own sequences under the sequence identifier of the first secret key;

[0016] Generate a first sub - anti - counterfeiting identifier from the first sub - secret key, and set the first sub - anti - counterfeiting identifier in the first component;

[0017] Generate a second sub - anti - counterfeiting identifier from the second sub - secret key, and set the second sub - anti - counterfeiting identifier in the second component.

[0018] The present invention also provides a method for verifying the anti - counterfeiting identifier of an ornament, and the method includes:

[0019] Verify the first anti - counterfeiting identifier;

[0020] If the verification of the first anti - counterfeiting identifier passes, then verify the second anti - counterfeiting identifier, and extract the first secret key from the first anti - counterfeiting identifier;

[0021] If the verification of the second anti - counterfeiting identifier passes, then extract the second secret key from the second anti - counterfeiting identifier;

[0022] Extract the sequence identifiers of their own sequences from the first secret key and the second secret key;

[0023] Sort the first secret key and the second secret key according to the sequence identifiers of the first secret key and the second secret key to generate a target secret key;

[0024] Verify the target secret key;

[0025] If the verification passes, then determine that the corresponding set of ornaments is genuine.

[0026] Further, the method includes:

[0027] Judge whether there are more than two identical sequence identifiers;

[0028] If so, then judge again whether there are sub - sequence identifiers among the identical sequence identifiers;

[0029] If there are sub - sequence identifiers, then sort the secret keys corresponding to the sub - sequence identifiers among the identical sequence identifiers to generate the secret keys of the corresponding sequence identifiers.

[0030] Further, after the step of judging again whether there are sub - sequence identifiers among the identical sequence identifiers, it includes:

[0031] If there are no sub - sequence identifiers, then determine that the corresponding set of ornaments is non - genuine.

[0032] Further, after the step of extracting the sequence identifiers of their own sequences from the first key and the second key, and before the step of sorting the first key and the second key according to the sequence identifiers of the first key and the second key to generate a target key, it includes:

[0033] Determine whether the extracted sequence identifiers are consecutive sequences;

[0034] If so, execute the step of sorting the first key and the second key according to the sequence identifiers of the first key and the second key to generate a target key.

[0035] Further, after the step of determining whether the extracted sequence identifiers are consecutive sequences, it includes:

[0036] If not, determine that the corresponding set of ornaments is a non-genuine product.

[0037] The present invention also provides a computer device, including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, it implements the steps of the method described in any one of the above.

[0038] The present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the method described in any one of the above.

[0039] According to the above technical solution, the beneficial effect of the present invention is that: a anti-counterfeiting identifier is set for each single ornament in the set of ornaments, and a overall target key is generated by sorting the keys corresponding to each single ornament. In this way, not only the single ornament is verified, but also whether each single ornament belongs to the same set is verified, solving the problem that when there is only one anti-counterfeiting label for the set of ornaments, users do not know whether the ornaments therein have been swapped. Description of the Drawings

[0040] Figure 1 is a flowchart of the method for generating an anti-counterfeiting identifier for ornaments provided by an embodiment of the present invention;

[0041] Figure 2 is a flowchart of the method for verifying an anti-counterfeiting identifier for ornaments provided by an embodiment of the present invention;

[0042] Figure 3 is a structural schematic block diagram of the computer device provided by an embodiment of the present invention. Detailed Embodiments

[0043] To make the objectives, technical solutions and advantages of the present invention more comprehensible, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely for explaining the present invention and are not intended to limit the present invention.

[0044] As Figure 1 shown, an anti-counterfeiting label generation method for ornaments according to an embodiment of the present invention includes:

[0045] Step 11: Identify single-piece ornaments in a set of ornaments to obtain a first ornament and a second ornament.

[0046] According to the product information of the set of ornaments, it is possible to know how many ornaments there are in total. In this application, two ornaments are taken as an example for illustration.

[0047] Step 12: Split a target key into a first key and a second key in sequence, where both the first key and the second key can be used as independent keys for verification and have sequence identifiers with their own sequences.

[0048] The target keys for the same type of set of ornaments are also different. In this way, there will be a unique target key for each set of ornaments. Then, the target key is split according to the number of ornaments to obtain a first key and a second key. Whether it is the first key or the second key, it can be verified separately. In addition, sequence identifiers will be assigned to the first key and the second key in sequence.

[0049] Step 13: Generate a first anti-counterfeiting label with the first key and set the first anti-counterfeiting label in the first ornament.

[0050] After obtaining the first key, generate a first anti-counterfeiting label with the first key, and then set the first anti-counterfeiting label in the first ornament.

[0051] Step 14: Generate a second anti-counterfeiting label with the second key and set the second anti-counterfeiting label in the second ornament.

[0052] After obtaining the second key, generate a second anti-counterfeiting label with the second key, and then set the second anti-counterfeiting label in the second ornament.

[0053] An anti-counterfeiting label will be set for each single-piece ornament in the set of ornaments, and the keys corresponding to each single-piece ornament will generate an overall target key according to the sorting. In this way, not only the single-piece ornaments are verified, but also whether each single-piece ornament belongs to the same set is verified, solving the problem that when there is only one anti-counterfeiting label for a set of ornaments, users do not know whether the ornaments therein have been replaced.

[0054] In this embodiment, in the step of generating a first anti-counterfeiting identifier from the first key and setting the first anti-counterfeiting identifier in the first ornament, it includes:

[0055] Determine whether the first ornament is a detachable ornament;

[0056] If not, generate a first anti-counterfeiting identifier from the first key and set the first anti-counterfeiting identifier in the first ornament.

[0057] In this embodiment, it is also necessary to judge the first ornament to determine whether it is a detachable ornament. If not, the first anti-counterfeiting identifier will be set in the first ornament.

[0058] In this embodiment, after the step of determining whether the first ornament is a detachable ornament, it includes:

[0059] If so, identify the assembled parts of the first ornament to obtain a first component and a second component;

[0060] Split the first key into a first sub-key and a second sub-key in sequence, where both the first sub-key and the second sub-key can be used as independent keys for verification and have sub-sequence identifiers with their own sequences under the sequence identifier of the first key;

[0061] Generate a first sub anti-counterfeiting identifier from the first sub-key and set the first sub anti-counterfeiting identifier in the first component;

[0062] Generate a second sub anti-counterfeiting identifier from the second sub-key and set the second sub anti-counterfeiting identifier in the second component.

[0063] If the first ornament is detachable, identify the assembled parts of the first ornament to obtain a first component and a second component, then split the first key into a first sub-key and a second sub-key, and then generate a first sub anti-counterfeiting identifier and a second sub anti-counterfeiting identifier, and set them in the first component and the second component respectively.

[0064] As Figure 2 shown, the present invention also provides a method for verifying an anti-counterfeiting identifier of an ornament, and the method includes:

[0065] Step 21: Verify the first anti-counterfeiting identifier.

[0066] First, verify an anti-counterfeiting identifier. In this embodiment, first verify the first anti-counterfeiting identifier.

[0067] Step 22: If the first anti-counterfeiting identifier passes the verification, verify the second anti-counterfeiting identifier and extract the first key from the first anti-counterfeiting identifier.

[0068] After the verification is passed, the second anti-counterfeiting label is further verified. And the first secret key is extracted from the first anti-counterfeiting label.

[0069] Step 23: If the verification of the second anti-counterfeiting label is passed, extract the second secret key from the second anti-counterfeiting label.

[0070] After the verification of the second anti-counterfeiting label is passed, extract the second secret key from the second anti-counterfeiting label.

[0071] Step 24: Extract the sequence identifiers in their own order from the first secret key and the second secret key.

[0072] In addition to obtaining the first secret key and the second secret key, it is also necessary to extract their own sequence identifiers.

[0073] Step 25: Sort the first secret key and the second secret key according to the sequence identifiers of the first secret key and the second secret key to generate a target secret key.

[0074] According to the sequence identifiers, by sorting the first secret key and the second secret key and generating a new secret key, that is, the target secret key.

[0075] Step 26: Verify the target secret key.

[0076] After obtaining the target secret key, verify the target secret key.

[0077] Step 27: If the verification is passed, determine that the corresponding set of ornaments is genuine.

[0078] If the verification of the target secret key fails, then determine that the corresponding set of ornaments is non-genuine. If the verification is passed, then determine that the corresponding set of ornaments is genuine.

[0079] A anti-counterfeiting label is set for each single ornament in the set of ornaments, and the secret keys corresponding to each single ornament are sorted to generate an overall target secret key. In this way, not only the single ornaments are verified, but also whether each single ornament belongs to the same set is verified, solving the problem that if there is only one anti-counterfeiting label for the set of ornaments, the user does not know whether the ornaments therein have been replaced.

[0080] In this embodiment, the method includes:

[0081] Judge whether there are two or more identical sequence identifiers;

[0082] If so, then judge again whether there are sub-sequence identifiers in the identical sequence identifiers;

[0083] If there is a sub - sequence identifier, sort according to the key corresponding to the sub - sequence identifier in the same sequence identifier to generate the key of the corresponding sequence identifier.

[0084] If there are two identical sequence identifiers, it is necessary to determine whether they have sub - sequence identifiers. If not, determine that the corresponding ornament is a non - genuine product. If there are sub - sequence identifiers, sort the identical sequence identifiers according to the sub - sequence identifiers and generate the key of the corresponding sequence identifier.

[0085] In this embodiment, after the step of determining again whether there are sub - sequence identifiers in the identical sequence identifiers, it includes:

[0086] If there are no sub - sequence identifiers, determine that the corresponding ornament is a non - genuine product.

[0087] During the judgment process, if the identical sequence identifier has no sub - sequence identifier, then the ornament set is a non - genuine product.

[0088] In this embodiment, after the step of extracting the sequence identifier of its own order from the first key and the second key, and before the step of sorting the first key and the second key according to the sequence identifiers of the first key and the second key to generate the target key, it includes:

[0089] Judge whether the extracted sequence identifiers are consecutive sequences;

[0090] If so, execute the step of sorting the first key and the second key according to the sequence identifiers of the first key and the second key to generate the target key.

[0091] It is also necessary to judge the sequence identifier again to determine whether it is a connected sequence. If so, then the step of generating the target key will be executed.

[0092] In this embodiment, after the step of judging whether the extracted sequence identifiers are consecutive sequences, it includes:

[0093] If not, determine that the corresponding ornament is a non - genuine product.

[0094] If the sequence identifiers are not connected sequences, then the ornament set is a non - genuine product.

[0095] As Figure 3 shown, in the embodiment of the present invention, a computer device is also provided. The computer device can be a server, and its internal structure can be as Figure 3As shown in the figure. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Among them, the processor of the computer design is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store data such as models for generating and verifying jewelry anti-counterfeiting labels. The network interface of the computer device is used to communicate with external terminals through a network connection. When the computer program is executed by the processor, it implements a method for generating and verifying jewelry anti-counterfeiting labels.

[0096] The above processor executes the steps of the above jewelry anti-counterfeiting label generation method:

[0097] Identify single-piece jewelry in the set of jewelry to obtain the first piece of jewelry and the second piece of jewelry;

[0098] Split the target key into a first key and a second key in sequence, where both the first key and the second key can be used as independent keys for verification, and have a sequence identifier with its own sequence;

[0099] Generate a first anti-counterfeiting label with the first key and set the first anti-counterfeiting label in the first piece of jewelry;

[0100] Generate a second anti-counterfeiting label with the second key and set the second anti-counterfeiting label in the second piece of jewelry.

[0101] Further, in the step of generating a first anti-counterfeiting label with the first key and setting the first anti-counterfeiting label in the first piece of jewelry, it includes:

[0102] Judge whether the first piece of jewelry is a detachable piece of jewelry;

[0103] If not, generate a first anti-counterfeiting label with the first key and set the first anti-counterfeiting label in the first piece of jewelry.

[0104] Further, after the step of judging whether the first piece of jewelry is a detachable piece of jewelry, it includes:

[0105] If so, identify the assembled parts of the first piece of jewelry to obtain the first component and the second component;

[0106] Split the first key into a first sub-key and a second sub-key in sequence, where both the first sub-key and the second sub-key can be used as independent keys for verification, and have a sub-sequence identifier with its own sequence under the sequence identifier of the first key;

[0107] Generate a first sub anti-counterfeiting identifier from the first sub-secret key and set the first sub anti-counterfeiting identifier in the first component;

[0108] Generate a second sub anti-counterfeiting identifier from the second sub-secret key and set the second sub anti-counterfeiting identifier in the second component.

[0109] The above processor executes the steps of the above jewelry anti-counterfeiting identifier verification method:

[0110] Verify the first anti-counterfeiting identifier;

[0111] If the verification of the first anti-counterfeiting identifier passes, then verify the second anti-counterfeiting identifier and extract the first secret key from the first anti-counterfeiting identifier;

[0112] If the verification of the second anti-counterfeiting identifier passes, then extract the second secret key from the second anti-counterfeiting identifier;

[0113] Extract the sequence identifiers of their own order from the first secret key and the second secret key;

[0114] Sort the first secret key and the second secret key according to the sequence identifiers of the first secret key and the second secret key to generate a target secret key;

[0115] Verify the target secret key;

[0116] If the verification passes, then determine that the corresponding set of ornaments is genuine.

[0117] Further, the method includes:

[0118] Judge whether there are more than two identical sequence identifiers;

[0119] If so, then judge again whether there are sub-sequence identifiers among the identical sequence identifiers;

[0120] If there are sub-sequence identifiers, then sort the secret keys corresponding to the sub-sequence identifiers among the identical sequence identifiers to generate the secret keys of the corresponding sequence identifiers.

[0121] Further, after the step of judging again whether there are sub-sequence identifiers among the identical sequence identifiers, it includes:

[0122] If there are no sub-sequence identifiers, then determine that the corresponding set of ornaments is non-genuine.

[0123] Further, after the step of extracting the sequence identifiers of their own order from the first secret key and the second secret key, and before the step of sorting the first secret key and the second secret key according to the sequence identifiers of the first secret key and the second secret key to generate a target secret key, it includes:

[0124] Determine whether the extracted sequence identifiers are consecutive sequences;

[0125] If so, perform the step of sorting the first key and the second key according to the sequence identifiers of the first key and the second key to generate a target key.

[0126] Further, after the step of determining whether the extracted sequence identifiers are consecutive sequences, it includes:

[0127] If not, determine that the corresponding set of ornaments is a non-genuine product.

[0128] Those skilled in the art can understand that Figure 3 the structure shown in is only a block diagram of some structures related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied.

[0129] In the computer device according to the embodiment of the present invention, an anti-counterfeiting identifier is set for each single ornament in the set of ornaments, and the keys corresponding to each single ornament will generate an overall target key according to the sorting. In this way, not only each single ornament is verified, but also whether each single ornament belongs to the same set is verified, solving the problem that there is only one anti-counterfeiting label for the set of ornaments, and the user does not know whether the ornaments therein have been switched.

[0130] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, an anti-counterfeiting identifier generation and verification method for ornaments is implemented, specifically:

[0131] The above processor executes the steps of the above anti-counterfeiting identifier generation method for ornaments:

[0132] Identify single ornaments in the set of ornaments to obtain a first ornament and a second ornament;

[0133] Split the target key into a first key and a second key in sequence, where both the first key and the second key can be used as independent keys for verification, and have sequence identifiers with their own sequences;

[0134] Generate a first anti-counterfeiting identifier from the first key and set the first anti-counterfeiting identifier in the first ornament;

[0135] Generate a second anti-counterfeiting identifier from the second key and set the second anti-counterfeiting identifier in the second ornament.

[0136] Further, in the step of generating a first anti-counterfeiting identifier from the first key and setting the first anti-counterfeiting identifier in the first ornament, it includes:

[0137] Determine whether the first ornament is a detachable ornament;

[0138] If not, generate a first anti-counterfeiting identifier with the first key and set the first anti-counterfeiting identifier in the first ornament.

[0139] Further, after the step of determining whether the first ornament is a detachable ornament, it includes:

[0140] If so, identify the assembly parts of the first ornament to obtain a first component and a second component;

[0141] Split the first key into a first sub-key and a second sub-key in sequence, where both the first sub-key and the second sub-key can be used as independent keys for verification and have sub-sequence identifiers with their own sequences under the sequence identifier of the first key;

[0142] Generate a first sub-anti-counterfeiting identifier with the first sub-key and set the first sub-anti-counterfeiting identifier in the first component;

[0143] Generate a second sub-anti-counterfeiting identifier with the second sub-key and set the second sub-anti-counterfeiting identifier in the second component.

[0144] The above processor executes the steps of the above ornament anti-counterfeiting identifier verification method:

[0145] Verify the first anti-counterfeiting identifier;

[0146] If the verification of the first anti-counterfeiting identifier passes, verify the second anti-counterfeiting identifier and extract the first key from the first anti-counterfeiting identifier;

[0147] If the verification of the second anti-counterfeiting identifier passes, extract the second key from the second anti-counterfeiting identifier;

[0148] Extract the sequence identifiers of their own sequences from the first key and the second key;

[0149] Sort the first key and the second key according to the sequence identifiers of the first key and the second key to generate a target key;

[0150] Verify the target key;

[0151] If the verification passes, determine that the corresponding set of ornaments is genuine.

[0152] Further, the method includes:

[0153] Judge whether there are more than two identical sequence identifiers;

[0154] If so, judge again whether there are sub-sequence identifiers among the identical sequence identifiers;

[0155] If there is a sub-sequence identifier, the keys corresponding to the sub-sequence identifiers in the same sequence identifier are sorted to generate the key of the corresponding sequence identifier.

[0156] Further, after the step of further determining whether there is a sub-sequence identifier in the same sequence identifier, it includes:

[0157] If there is no sub-sequence identifier, it is determined that the corresponding set of ornaments is a non-genuine product.

[0158] Further, after the step of extracting the sequence identifiers of their own sequences from the first key and the second key, and before the step of sorting the first key and the second key according to the sequence identifiers of the first key and the second key to generate a target key, it includes:

[0159] Determine whether the extracted sequence identifiers are consecutive sequences;

[0160] If so, execute the step of sorting the first key and the second key according to the sequence identifiers of the first key and the second key to generate a target key.

[0161] Further, after the step of determining whether the extracted sequence identifiers are consecutive sequences, it includes:

[0162] If not, it is determined that the corresponding set of ornaments is a non-genuine product.

[0163] In the storage medium of the embodiment of the present invention, an anti-counterfeiting identifier is set for each single ornament in the set of ornaments, and the keys corresponding to each single ornament are sorted to generate an overall target key, so that not only each single ornament is verified, but also whether each single ornament belongs to the same set is verified, solving the problem that there is only one anti-counterfeiting label for the set of ornaments, and users do not know whether the ornaments therein have been replaced.

[0164] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium provided by the present invention and used in the embodiments can include non-volatile and / or volatile memories. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.

[0165] The foregoing is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims

1. A method for generating an anti-counterfeiting label for ornaments, characterized in that, The method includes: Identify single-piece ornaments in the set of ornaments to obtain a first ornament and a second ornament; Split the target key into a first key and a second key in sequence, where both the first key and the second key can be used as independent keys for verification, and have sequence identifiers with their own sequences; Generate a first anti-counterfeiting identifier from the first key and set the first anti-counterfeiting identifier in the first ornament; Generate a second anti-counterfeiting identifier from the second key and set the second anti-counterfeiting identifier in the second ornament.

2. The method for generating an anti-counterfeiting label for ornaments according to claim 1, wherein In the step of generating a first anti-counterfeiting identifier from the first key and setting the first anti-counterfeiting identifier in the first ornament, it includes: Judge whether the first ornament is a detachable ornament; If not, generate a first anti-counterfeiting identifier from the first key and set the first anti-counterfeiting identifier in the first ornament.

3. The method for generating an anti-counterfeiting label for ornaments according to claim 2, wherein After the step of judging whether the first ornament is a detachable ornament, it includes: If so, identify the assembled parts of the first ornament to obtain a first component and a second component; Split the first key into a first sub-key and a second sub-key in sequence, where both the first sub-key and the second sub-key can be used as independent keys for verification, and have sub-sequence identifiers with their own sequences under the sequence identifier of the first key; Generate a first sub-anti-counterfeiting identifier from the first sub-key and set the first sub-anti-counterfeiting identifier in the first component; Generate a second sub-anti-counterfeiting identifier from the second sub-key and set the second sub-anti-counterfeiting identifier in the second component.

4. A method for verifying an anti-counterfeiting label of an ornament, characterized in that, The method includes: Verify the first anti-counterfeiting identifier; If the verification of the first anti-counterfeiting identifier passes, verify the second anti-counterfeiting identifier and extract the first key from the first anti-counterfeiting identifier; If the verification of the second anti-counterfeiting identifier passes, extract the second key from the second anti-counterfeiting identifier; Extract the sequence identifiers with their own sequences from the first key and the second key; Sort the first key and the second key according to the sequence identifiers of the first key and the second key to generate a target key; Verify the target key; If the verification passes, determine that the corresponding set of ornaments is genuine.

5. The method for verifying the anti-counterfeiting label of an ornament according to claim 4, characterized in that, The method includes: Judge whether there are more than two identical sequence identifiers; If so, judge again whether there are sub-sequence identifiers among the identical sequence identifiers; If there are sub-sequence identifiers, sort the keys corresponding to the sub-sequence identifiers among the identical sequence identifiers to generate the keys of the corresponding sequence identifiers.

6. The method for verifying the anti-counterfeiting label of an ornament according to claim 5, wherein After the step of judging again whether there are sub-sequence identifiers among the identical sequence identifiers, it includes: If there are no sub-sequence identifiers, determine that the corresponding set of ornaments is non-genuine.

7. The method for verifying the anti-counterfeiting label of an ornament according to claim 4, wherein After the step of extracting the sequence identifiers with their own sequences from the first key and the second key, and before the step of sorting the first key and the second key according to the sequence identifiers of the first key and the second key to generate a target key, it includes: Judge whether the extracted sequence identifiers are consecutive sequences; If so, perform the step of sorting the first key and the second key according to the sequence identifier of the first key and the second key to generate a target key.

8. The method for verifying the anti-counterfeiting label of an ornament according to claim 7, characterized in that, After the step of determining whether the extracted sequence identifier is a continuous sequence, it includes: If not, determine that the corresponding set of ornaments is a non-genuine product.

9. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method described in any one of claims 1 to 8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Anti-counterfeiting identifier and anti-counterfeiting method

    CN106067053A

  • Product anti-counterfeiting verification method, device, manufacturing method, product and system

    CN110070368A

  • Access authentication method and system for protecting cloud data privacy

    CN113810430A

  • Group account resource transfer method and device, equipment and storage medium

    CN117291590A