Coin anti-counterfeiting verification method and computer

Through local verification and cloud verification of coins in the coin acceptor, the problem of coins being counterfeited, altered or reused is solved, the authenticity and value of the coins are effectively verified, and the uniqueness of the coins and the interests of merchants are ensured. protection.

CN118609256AActive Publication Date: 2024-09-06GUANGZHOU LONGZE INFORMATION TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410714873.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-09-06
Estimated Expiration
2044-06-04

AI Technical Summary

Technical Problem

Existing technology cannot effectively prevent coins from being counterfeited, altered or reused, especially in unattended coin-operated devices.

Method used

The coin anti-counterfeiting verification method is used to verify the coin's storage information locally and send the verification information to the cloud server for double verification to determine the legality and currency value of the coin to ensure the authenticity and uniqueness of the coin.

Benefits of technology

It effectively prevents coins from being cracked, counterfeited and reused, ensures that each coin corresponds to a different consideration, and improves the scope of use of coins and the economic benefits of merchants.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118609256A
    Figure CN118609256A
Patent Text Reader

Abstract

According to the coin anti-counterfeiting verification method and the computer provided by the invention, the coin is locally verified locally, and the coin information is sent to the cloud server for cloud verification of the coin, so that the coin can be prevented from being cracked, counterfeited and counterfeited, and the coin can be prevented from being circulated among different merchants to influence economic benefits; and meanwhile, the currency value information corresponding to the coin is returned while the verification result is returned by the cloud server, so that one coin can correspond to different prices, and the use range of the coin is expanded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of coin anti-counterfeiting verification, and more specifically, to a coin anti-counterfeiting verification method and a computer. Background Art

[0002] In the prior art, taking claw machines as an example, claw machines have become a very popular entertainment activity. Users buy coins for grabbing dolls at a certain price, and then put the coins into the claw machine to grab the dolls.

[0003] Since claw machines are usually unattended, how to prevent counterfeit coins from being inserted into claw machines is an urgent problem to be solved. A Chinese invention patent (application number: CN200610117445.3) proposes a duplex stainless steel with special magnetic properties and a manufacturing method thereof. The present invention controls the ferrite content by adjusting the composition, thereby developing a duplex stainless steel with unique magnetic properties, excellent corrosion resistance and formability, so that its magnetic properties are different from those of common stainless steel and carbon steel on the market, thereby having anti-counterfeiting properties.

[0004] However, only using the game coins minted in the above patent still cannot solve the problem of game coins being counterfeited, altered or reused. Summary of the invention

[0005] In view of the shortcomings of the prior art, the purpose of the present invention is to provide a coin anti-counterfeiting verification method and computer to overcome the problem in the prior art that only casting coins through special processes cannot solve the problem of game coins being counterfeited, altered or reused.

[0006] The above technical objectives of the present invention are achieved through the following technical solutions: A coin anti-counterfeiting verification method, applied to a coin acceptor, comprising:

[0007] Obtaining first verification information stored in the coin;

[0008] Performing local verification on the coin according to the first verification information stored in the coin to obtain a local verification result;

[0009] When the local verification result is true, the second verification information stored in the coin is obtained, and the second verification information is sent to the cloud server to perform cloud verification on the coin;

[0010] Receive the cloud verification result returned by the cloud server; when the cloud verification result is true, complete the coin insertion according to the currency value of the coin.

[0011] Optionally, obtaining the first verification information stored in the coin includes: obtaining a token value stored in the coin.

[0012] Optionally, the locally verifying the coin according to the first verification information stored in the coin to obtain a local verification result includes:

[0013] Get the username and password logged in to the coin acceptor, verify the username, password and token value, and determine whether the token value is valid. If valid, return a local verification result that the coin is real; if invalid, return a local verification result that the coin is fake.

[0014] Optionally, the verifying the user name, password, and token value to determine whether the token value is valid includes:

[0015] Determine whether the token has expired. If it has expired, the token value is considered invalid.

[0016] Determine whether the token has been tampered with. If so, the token value is considered invalid.

[0017] Determine whether the token is associated with the user. If not, the token value is considered invalid.

[0018] Optionally, the determining whether the token value is valid further includes:

[0019] Decompose the token into header ciphertext, payload ciphertext and signature ciphertext;

[0020] Use the preset decryption algorithm to decrypt the title ciphertext and obtain the token type and signature algorithm;

[0021] Concatenate the header ciphertext and the payload ciphertext to obtain a concatenated ciphertext;

[0022] Verify the concatenated ciphertext using the valid public key and the signature algorithm in descending order of priority of the local public key;

[0023] If any valid public key is successfully verified, the token is considered valid; if all valid public keys are verified to be invalid, the token is considered invalid.

[0024] A coin anti-counterfeiting verification method, applied to a cloud server, comprising:

[0025] Receiving second verification information sent by the coin acceptor, comparing the second verification information with historical data of cloud verification, and obtaining a cloud verification result;

[0026] Send cloud verification results to the coin acceptor.

[0027] Optionally, the receiving second verification information sent by the coin acceptor includes: receiving user information associated with the coin acceptor and ID information corresponding to the coin in a one-to-one manner and sent by the coin acceptor.

[0028] Optionally, comparing the second verification information with historical data of cloud verification to obtain a cloud verification result includes:

[0029] Determine whether the ID information is pre-stored in the cloud database; if not, return a cloud verification result that the coin is fake;

[0030] Determine whether the ID information is disabled, and if so, return a cloud verification result indicating that the coin is fake;

[0031] Determine whether the ID information is associated with the user information, and if not, return a cloud verification result indicating that the coin is fake;

[0032] It is determined based on the ID information whether the coin has been reused within a predetermined time threshold. If so, a cloud verification result indicating that the coin is fake is returned.

[0033] Optionally, the method further includes: obtaining currency value information corresponding to the coin, and returning the currency value information of the coin to the coin acceptor.

[0034] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0035] In summary, the present invention has the following beneficial effects: the present application proposes a coin anti-counterfeiting verification method, which can prevent the coins from being cracked, counterfeited, and forged by locally verifying the coins and sending the coin information to a cloud server for cloud verification of the coins. It can also prevent the coins from circulating between different merchants and affecting economic benefits. At the same time, when the cloud server returns the verification result, it returns the currency value information corresponding to the coin, which can make one coin correspond to different considerations, thereby increasing the scope of use of the coins. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A flow chart of the coin anti-counterfeiting verification method applied to a coin acceptor of the present invention;

[0037] Figure 2 It is a flow chart of the coin anti-counterfeiting verification method applied to a cloud server of the present invention;

[0038] Figure 3 1 is a diagram showing the internal structure of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION

[0039] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings. Several embodiments of the present invention are shown in the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein.

[0040] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances. The terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.

[0041] In the present invention, unless otherwise clearly specified and limited, the first feature being "above" or "below" the second feature may include the first and second features being in direct contact, or may include the first and second features being in contact not directly but through another feature between them. Moreover, the first feature being "above", "above" and "above" the second feature includes the first feature being directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. The first feature being "below", "below" and "below" the second feature includes the first feature being directly below and obliquely below the second feature, or simply indicates that the first feature is lower in level than the second feature. The terms "vertical", "horizontal", "left", "right", "above", "below" and similar expressions are for illustrative purposes only, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0042] The present invention is described in detail below in conjunction with the accompanying drawings and embodiments.

[0043] The present invention provides a coin anti-counterfeiting verification method, such as Figure 1 As shown, it is applied to a coin acceptor, including:

[0044] S1, obtaining first verification information stored in the coin;

[0045] S2, performing local verification on the coin according to the first verification information stored in the coin to obtain a local verification result;

[0046] S3. If the local verification result is true, obtain the second verification information stored in the coin, and send the second verification information to the cloud server to perform cloud verification on the coin;

[0047] S4. Receive the cloud verification result returned by the cloud server; if the cloud verification result is true, complete the coin insertion according to the coin value.

[0048] In actual applications, the algorithm used for coin anti-counterfeiting specifically includes two parts. When the device receives a coin, it first verifies the coin locally. If the local verification result is true, the coin is sent to the cloud server for verification, and the cloud verification result is obtained. The cloud verification result is returned to the coin acceptor. If the cloud verification result is true, the coin acceptor is driven to accept the coin. If the cloud verification result is false, the coin is rejected. If the cloud verification is true, the cloud server will also carry a currency value data when returning the coin verification result based on the pre-set coin value. After obtaining the currency value data, the coin acceptor can control the corresponding device to act according to the currency value data while completing the coin verification.

[0049] Take an example to illustrate the above process. Take a claw machine as an example. Since the economic development of each region is different, the price of the claw machine needs to be determined according to the actual economic situation of the region to avoid affecting the economic benefits of the merchant due to excessively high or low prices. After the customer buys the coin, it is necessary to select the corresponding claw machine and put the purchased coin (that is, the game coin) into the coin acceptor. In order to avoid the coin being counterfeited, altered or reusing a coin for coin insertion by other means, or buying the coin of the first merchant and putting it into the equipment of the second merchant, the present application first needs to verify the coin locally. The steps of local verification include: first, the coin is preliminarily detected to see whether there is pre-stored information inside the coin. If there is no pre-stored information in the coin, it means that the coin is invalid or there is a coin problem, so the coin is refused; then, the coin and the coin acceptor are judged by the information stored in the coin whether they belong to the same merchant; if so, the encrypted information stored in the coin is verified to obtain the verification result. When the verification result is true, the information in the coin is sent to the cloud server for verification through the communication module. Because claw machines usually adopt an unattended operation mode, or in order to prevent the management from affecting the rights and interests of other operators through fraudulent means, it is necessary to record the coin insertion and avoid using the method of repeated coin insertion, which will damage the interests of others when it can pass the encryption anti-counterfeiting verification. Therefore, this application also needs to record the coin insertion situation, that is, through the communication module, the coin information is sent to the cloud server, and the coin insertion situation is recorded from the cloud server, and the coin insertion situation is analyzed according to the historical records to obtain the cloud verification result. When the cloud verification result is true, the cloud verification result is returned to the coin selector, and the currency value information is returned to the coin selector together. As mentioned at the beginning of this paragraph, the currency value needs to be determined according to different regions. Generally speaking, the currency value can be modified through the cloud database. For example, when purchasing coins, the information in the coin can be read, and then the currency value corresponding to the coin can be modified in the cloud, so that even the same coin can correspond to different currency values. When purchasing 10 chances to grab a doll at one time, ten coins can be provided to the buyer. For ease of carrying, five coins can also be provided, with each coin corresponding to two chances to grab a doll. Similarly, one coin can be used to correspond to any other number of times.

[0050] Furthermore, the obtaining of the first verification information stored in the coin includes: obtaining a token value stored in the coin.

[0051] In actual applications, in order to keep the coin acceptor connected to the Internet and to distinguish different coin acceptors, a user account needs to be set up in the coin acceptor to keep the coin acceptor connected to the cloud server at all times. Token is a string of characters generated by the server as a token for the client to request. After the first login, the server generates a Token and returns it to the client. In the future, the client only needs to bring this new Token to request data without having to bring the username and password again. This method can effectively reduce the amount of calculation required for encryption verification of the server and reduce the load on the server. Whether the token is valid is time-limited. After the user purchases the coin, the cloud server can refresh the token, and then determine whether the coin corresponding to the token has been used and consumed within the predetermined time. Coins that exceed the time limit need to be manually processed by staff.

[0052] Further, the locally verifying the coin according to the first verification information stored in the coin to obtain a local verification result includes:

[0053] Get the username and password logged in to the coin acceptor, verify the username, password and token value, and determine whether the token value is valid. If valid, return a local verification result that the coin is real; if invalid, return a local verification result that the coin is fake.

[0054] Furthermore, the verification of the user name, password and token value to determine whether the token value is valid includes:

[0055] Determine whether the token has expired. If it has expired, the token value is considered invalid.

[0056] Determine whether the token has been tampered with. If so, the token value is considered invalid.

[0057] Determine whether the token is associated with the user. If not, the token value is considered invalid.

[0058] Furthermore, the step of determining whether the token value is valid further includes:

[0059] Decompose the token into header ciphertext, payload ciphertext and signature ciphertext;

[0060] Use the preset decryption algorithm to decrypt the title ciphertext and obtain the token type and signature algorithm;

[0061] Concatenate the header ciphertext and the payload ciphertext to obtain a concatenated ciphertext;

[0062] Verify the concatenated ciphertext using the valid public key and the signature algorithm in descending order of priority of the local public key;

[0063] If any valid public key is successfully verified, the token is considered valid; if all valid public keys are verified to be invalid, the token is considered invalid.

[0064] In practical applications, the title plaintext includes the token type and the signature algorithm. In this embodiment, the token type takes JWT as an example. The signature algorithm can be combined with the system security, load, and response time limit to adopt the RSASHA series, ECDSASHA series, or RSAPSSSHA series. The signature encryption algorithm for issuing tokens can even be dynamically adjusted to improve system security. The payload plaintext extracts the token metadata to generate, and the token issuance time, validity period, and issuer can be attached. The title plaintext and the load plaintext are respectively encoded by base64 or base64url to obtain the above-mentioned title ciphertext and load ciphertext. The token management module generates a signature ciphertext for the concatenated ciphertext of the above-mentioned title ciphertext and load ciphertext through the signature algorithm in the title with a private key, and attaches it to the above-mentioned title ciphertext and load ciphertext to obtain a token returned to the access requester. The public key sequence refers to setting the priority in the order of public key generation time. The latest public key has the highest priority, and at least two priority public keys are maintained during operation. In the initial state of the system, the system automatically generates a public key with the highest priority to form a public key sequence. Each time a new public key is added, it is set to the highest priority, and the priority of the original public key is gradually reduced until it is reduced to an invalid public key, which needs to be cleaned up.

[0065] A coin anti-counterfeiting verification method, applied to a cloud server, comprising:

[0066] Receiving second verification information sent by the coin acceptor, comparing the second verification information with historical data of cloud verification, and obtaining a cloud verification result;

[0067] Send cloud verification results to the coin acceptor.

[0068] In actual applications, when a coin is verified in a local coin acceptor and the verification result is obtained, the information in the coin needs to be sent to the cloud for verification. The cloud verification mainly analyzes and counts the coin information to determine whether there are any abnormalities in the coin use process.

[0069] Furthermore, the receiving of the second verification information sent by the coin acceptor includes: receiving user information associated with the coin acceptor and ID information corresponding to the coin in a one-to-one manner and sent by the coin acceptor.

[0070] Furthermore, the step of comparing the second verification information with historical data of cloud verification to obtain a cloud verification result includes:

[0071] Determine whether the ID information is pre-stored in the cloud database; if not, return a cloud verification result that the coin is fake;

[0072] Determine whether the ID information is disabled, and if so, return a cloud verification result indicating that the coin is fake;

[0073] Determine whether the ID information is associated with the user information, and if not, return a cloud verification result indicating that the coin is fake;

[0074] It is determined based on the ID information whether the coin has been reused within a predetermined time threshold. If so, a cloud verification result indicating that the coin is fake is returned.

[0075] In actual applications, to determine whether there is an abnormality in a coin, we can judge from the following dimensions. First, we need to determine whether the coin ID is pre-stored in the cloud server. If it is not stored in the cloud server, it means that the coin does not belong to the company, or is made by counterfeiting, alteration, etc., so the verification result of the coin is not passed. Secondly, determine whether the coin is disabled. For example, when a coin is sold for more than a predetermined time, or when the coin is marked as lost or other abnormal situations, the coin needs to be marked as disabled in the cloud server. Only when the relevant staff with management and modification authority modify and refresh the status of the coin can the coin be enabled. In the case that both items are passed, it is necessary to further determine whether the coin is bound to the merchant. On the one hand, it is to avoid the loss of merchant interests caused by the coin purchased from merchant A and consumed at merchant B, and on the other hand, it is to avoid the flow of coins between different regions to disrupt the market order. Finally, it is also necessary to determine whether the coin is reused in a short period of time. Specifically, in the usage scenario of the coin selector, a coin is usually not reused in a short period of time. That is, after a coin is put into the coin selector, it is difficult to be reused within a certain period of time. Therefore, when a coin is reused in a short period of time, it means that there is an abnormality in the usage status of the coin. Therefore, the cloud server will refuse to identify the coin to avoid loss of interests of operation managers.

[0076] In summary, the present application provides a coin anti-counterfeiting verification method, which, through local and cloud-based verification, can effectively prevent coins from being counterfeited or circulated between different devices in violation of the agreement, affecting the interests of merchants.

[0077] Furthermore, the method further includes: obtaining currency value information corresponding to the coin, and returning the currency value information of the coin to the coin acceptor.

[0078] When the verification result of the coin is returned, the currency value information is returned to the coin acceptor, so that one coin can correspond to different currency values, thereby increasing the scope of use of the coin.

[0079] Those skilled in the art will know that in the specific implementation of the present application, the coin is only a specific implementation, which can be a traditional metal round coin, or an object made of plastic or similar materials. Similarly, its use scenario should not be limited to the claw machine, but should also include entertainment equipment such as racing game machines and dance machines, all of which can achieve the purpose of coin verification through the coin anti-counterfeiting method provided by the present application.

[0080] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device 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 internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. When the computer program is executed by the processor, a coin anti-counterfeiting verification method is implemented.

[0081] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0082] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented: applied to a coin acceptor, including:

[0083] Obtaining first verification information stored in the coin;

[0084] Performing local verification on the coin according to the first verification information stored in the coin to obtain a local verification result;

[0085] When the local verification result is true, the second verification information stored in the coin is obtained, and the second verification information is sent to the cloud server to perform cloud verification on the coin;

[0086] Receive the cloud verification result returned by the cloud server; when the cloud verification result is true, complete the coin insertion according to the currency value of the coin.

[0087] In one embodiment, obtaining the first verification information stored in the coin includes: obtaining a token value stored in the coin.

[0088] In one embodiment, the locally verifying the coin according to the first verification information stored in the coin to obtain a local verification result includes:

[0089] Get the username and password logged in to the coin acceptor, verify the username, password and token value, and determine whether the token value is valid. If valid, return a local verification result that the coin is real; if invalid, return a local verification result that the coin is fake.

[0090] In one embodiment, the verifying the user name, password, and token value to determine whether the token value is valid includes:

[0091] Determine whether the token has expired. If it has expired, the token value is considered invalid.

[0092] Determine whether the token has been tampered with. If so, the token value is considered invalid.

[0093] Determine whether the token is associated with the user. If not, the token value is considered invalid.

[0094] In one embodiment, the determining whether the token value is valid further includes:

[0095] Decompose the token into header ciphertext, payload ciphertext and signature ciphertext;

[0096] Use the preset decryption algorithm to decrypt the title ciphertext and obtain the token type and signature algorithm;

[0097] Concatenate the header ciphertext and the payload ciphertext to obtain a concatenated ciphertext;

[0098] Verify the concatenated ciphertext using the valid public key and the signature algorithm in descending order of priority of the local public key;

[0099] If any valid public key is successfully verified, the token is considered valid; if all valid public keys are verified to be invalid, the token is considered invalid.

[0100] In one embodiment, a coin anti-counterfeiting verification method is applied to a cloud server, comprising:

[0101] Receiving second verification information sent by the coin acceptor, comparing the second verification information with historical data of cloud verification, and obtaining a cloud verification result;

[0102] Send cloud verification results to the coin acceptor.

[0103] In one embodiment, the receiving of the second verification information sent by the coin selector includes: receiving user information associated with the coin selector and ID information corresponding to the coin in a one-to-one manner and sent by the coin selector.

[0104] In one embodiment, comparing the second verification information with historical data of cloud verification to obtain a cloud verification result includes:

[0105] Determine whether the ID information is pre-stored in the cloud database; if not, return a cloud verification result that the coin is fake;

[0106] Determine whether the ID information is disabled, and if so, return a cloud verification result indicating that the coin is fake;

[0107] Determine whether the ID information is associated with the user information, and if not, return a cloud verification result indicating that the coin is fake;

[0108] It is determined based on the ID information whether the coin has been reused within a predetermined time threshold. If so, a cloud verification result indicating that the coin is fake is returned.

[0109] In one embodiment, the method further includes: obtaining currency value information corresponding to the coin, and returning the currency value information of the coin to the coin acceptor.

[0110] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and 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-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. 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. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0111] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0112] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.

Claims

1. A coin anti-counterfeiting verification method, characterized in that: Applied to coin acceptors, including: Obtaining first verification information stored in the coin; Performing local verification on the coin according to the first verification information stored in the coin to obtain a local verification result; When the local verification result is true, the second verification information stored in the coin is obtained, and the second verification information is sent to the cloud server to perform cloud verification on the coin; Receive the cloud verification result returned by the cloud server; when the cloud verification result is true, complete the coin insertion according to the currency value of the coin.

2. A coin anti-counterfeiting verification method according to claim 1, characterized in that: The obtaining of the first verification information stored in the coin includes: obtaining a token value stored in the coin.

3. A coin anti-counterfeiting verification method according to claim 2, characterized in that: The locally verifying the coin according to the first verification information stored in the coin to obtain a local verification result includes: Get the username and password logged in to the coin acceptor, verify the username, password and token value, and determine whether the token value is valid. If valid, return a local verification result that the coin is real; if invalid, return a local verification result that the coin is fake.

4. A coin anti-counterfeiting verification method according to claim 3, characterized in that: The verifying of the user name, password and token value to determine whether the token value is valid includes: Determine whether the token has expired. If it has expired, the token value is considered invalid. Determine whether the token has been tampered with. If so, the token value is considered invalid. Determine whether the token is associated with the user. If not, the token value is considered invalid.

5. A coin anti-counterfeiting verification method according to claim 4, characterized in that: The determining whether the token value is valid also includes: Decompose the token into header ciphertext, payload ciphertext and signature ciphertext; Use the preset decryption algorithm to decrypt the title ciphertext and obtain the token type and signature algorithm; Concatenate the header ciphertext and the payload ciphertext to obtain a concatenated ciphertext; Verify the concatenated ciphertext using the valid public key and the signature algorithm in descending order of priority of the local public key; If any valid public key is successfully verified, the token is considered valid; if all valid public keys are verified to be invalid, the token is considered invalid.

6. A coin anti-counterfeiting verification method, characterized in that: Applied to cloud servers, including: Receiving second verification information sent by the coin acceptor, comparing the second verification information with historical data of cloud verification, and obtaining a cloud verification result; Send cloud verification results to the coin acceptor.

7. A coin anti-counterfeiting verification method according to claim 6, characterized in that: The receiving of the second verification information sent by the coin selector includes: receiving user information associated with the coin selector and ID information corresponding to the coin in a one-to-one manner and sent by the coin selector.

8. A coin anti-counterfeiting verification method according to claim 7, characterized in that: The step of comparing the second verification information with historical data of cloud verification to obtain a cloud verification result includes: Determine whether the ID information is pre-stored in the cloud database; if not, return a cloud verification result that the coin is fake; Determine whether the ID information is disabled, and if so, return a cloud verification result indicating that the coin is fake; Determine whether the ID information is associated with the user information, and if not, return a cloud verification result indicating that the coin is fake; It is determined based on the ID information whether the coin has been reused within a predetermined time threshold. If so, a cloud verification result indicating that the coin is fake is returned.

9. A coin anti-counterfeiting verification method according to claim 8, characterized in that: Also includes: Get the currency value information corresponding to the coin and return the currency value information of the coin to the coin acceptor.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Method of preventing counterfeit coin circulation

    CN106815921A

  • L algorithm-based digital currency anti-counterfeiting and verification method and system and equipment

    CN107908932A

  • Anti-counterfeiting method, anti-counterfeiting system and security

    CN112785308A

  • Anti-counterfeiting method, anti-counterfeiting system and anti-counterfeiting product

    CN112801674A

  • Digital currency anti-counterfeiting verification method and system

    CN115115362A