Change anti-counterfeiting method, system, equipment and medium for product sales terminals
Irreversible binding and password changes of products through the cloud system solve the anti-counterfeiting shortcomings of existing anti-counterfeiting technologies caused by multiple transfers and illegal copying, achieve efficient anti-counterfeiting and flexible management of products at sales terminals, and improve the safety of products during transportation and the ability to identify counterfeit products.
Patent Information
- Application Number
- CN202410989762.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2044-07-23
AI Technical Summary
Existing anti-counterfeiting technology has limited effectiveness when products are repeatedly transferred or illegally copied, cannot effectively identify counterfeits, and requires manual password query during the sales process, which makes it inflexible.
The cloud system detects whether the product is bound to the detection terminal. If not, it will be irreversibly bound and the password and permissions will be sent after successful verification. The password can be changed after binding, and only the current detection terminal is allowed to view product information. UUID and MD5 encryption are used to ensure data uniqueness and confidentiality.
It improves the anti-counterfeiting effect of products in sales terminal scenarios, reduces the trouble of sales staff inquiring passwords, enhances the anti-counterfeiting and flexibility of products during transportation, and can identify counterfeit products in a timely manner and trace responsibility.
Smart Images

Figure CN119602976B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of anti-counterfeiting technology, and in particular to a variable anti-counterfeiting method, system, device and medium for product sales terminals. Background Art
[0002] Counterfeit and substandard goods are prevalent in the domestic market, often with unreliable quality and safety, posing serious economic, social, and security risks. These products are found across a wide range of industries, including food, pharmaceuticals, electronics, and clothing. Their prevalence not only harms the legitimate rights and interests of consumers but also negatively impacts the entire market.
[0003] Currently, there are various anti-counterfeiting technologies on the market, such as QR codes and RFID. By scanning the label or code on a product, consumers can verify the authenticity of the product. Taking QR code anti-counterfeiting as an example, this involves applying a coating over the product's QR code. This coating is then scraped off, and the QR code is scanned with a mobile phone to obtain anti-counterfeiting data. The data is then sent to a server, which converts the data and compares it with the corresponding product database. Upon successful verification, the verification result is returned to the mobile phone, thus achieving anti-counterfeiting.
[0004] The above anti-counterfeiting code verification mechanism is relatively simple, which limits the anti-counterfeiting effect when the product is transferred multiple times or the anti-counterfeiting code is illegally copied.
[0005] Therefore, it is of great significance to study a variable anti-counterfeiting method for product sales terminals. Summary of the Invention
[0006] The purpose of this application is to provide a change anti-counterfeiting method, system, device and medium for product sales terminals, which has the characteristic of improving the anti-counterfeiting effect of products in product sales terminal scenarios.
[0007] In a first aspect, the present application provides a change-proof anti-counterfeiting method for product sales terminals, which adopts the following technical solutions:
[0008] A change anti-counterfeiting method for product sales terminals, comprising:
[0009] The detection end connects to the cloud by identifying the detected end, and the cloud then identifies the current detection end's access method to the cloud;
[0010] When the detection end identifies the tested end through a preset system and connects to the cloud, the cloud detects whether the tested end is bound to the detection end;
[0011] If the cloud detects that the tested end is not bound to the testing end, it will send the password and verification program to the current testing end. After successful verification, the tested end will be bound to the current testing end and the current testing end will be given normal viewing rights for product information, and the current testing end will be prompted that the product is authentic.
[0012] If the cloud detects that the tested end has a bound detection end, it determines whether the bound detection end is the current detection end;
[0013] If the cloud detects that the bound detection terminal is the current detection terminal, the product information viewing permission is granted to the current detection terminal;
[0014] If the cloud detects that the bound detection terminal is not the current detection terminal, it will send a counterfeit prompt message to the current detection terminal.
[0015] By adopting the above technical solution, in the product sales terminal scenario, the tested end is identified and connected to the cloud through a preset system. The cloud will detect whether the tested end is bound to the detection end. If not, the detection end will be bound to the tested end. This operation is irreversible and cannot be untied after binding. If a counterfeit product appears, the user of the sales terminal can know that the product is suspected of being counterfeit by scanning the code through the preset system, thereby effectively improving the anti-counterfeiting effect of the product in the product sales terminal scenario. In addition, the means of sending the password from the cloud to the current detection end set by this application can effectively improve the flexibility of sales, reduce the trouble of the salesperson needing to query the system to inform the user of the password, and is also conducive to the implementation of the binding operation.
[0016] Optionally, the step of the detecting end identifying that the detected end is connected to the cloud, and the cloud identifying the way in which the current detecting end is connected to the cloud, further includes:
[0017] When the detection end fails to identify the detected end through the preset system and connect to the cloud, the cloud sends a verification program to the current detection end;
[0018] The current detection terminal sends the password to the cloud for verification, and the password comes from the previous seller;
[0019] The cloud verifies the password based on preset comparison rules;
[0020] When the cloud determines that the password is correct, it changes the password according to the preset change rules, and grants the current detection terminal the general viewing permission for product information and the exclusive viewing permission for the changed password;
[0021] When the cloud determines that the password is incorrect, it sends a forged prompt message to the current detection end.
[0022] By adopting the above technical solution, during the product transportation process, since the password will change after the product or packaging has been correctly identified once, if there is a counterfeit product or packaging, because the real tested end has already been authenticated by the counterfeiter, the counterfeiter is unaware that the password will change. If a large number of counterfeit products are made against the tested end of a product or packaging, only the password will be incorrectly recognized, and the next dealer will receive a counterfeit prompt message. If the counterfeiter is aware that the password will change and informs the next dealer of the password, the password can only be correctly identified once. When the dealer detects the second counterfeit, the password has already changed, and the dealer will still receive the counterfeit prompt message. By setting the password to change immediately after successful verification and exclusive password viewing permission, the anti-counterfeiting effect of the product during transportation can be effectively improved.
[0023] Optionally, when the detecting end detects the detected end through a preset system and connects to the cloud, the step of the cloud detecting whether the detected end is bound to the detecting end further includes:
[0024] If the cloud detects that the tested end is not bound to the detection end, it will send the password and verification program to the current detection end. After successful verification, the tested end will be bound to the current detection end. At the same time, the cloud will change the password according to the preset change rules and grant the current detection end the general viewing permission for product information and the exclusive viewing permission for the changed password.
[0025] If the cloud detects that the tested end has a bound detection end, it determines whether the bound detection end is the current detection end;
[0026] If the cloud detects that the bound detection terminal is the current detection terminal, it will grant the current detection terminal general viewing rights for product information and exclusive viewing rights after the changed password, and will also include the detected terminal in the warehousing system associated with the current detection terminal.
[0027] If the cloud detects that the bound detection terminal is not the current detection terminal, it will send a counterfeit prompt message and verification program to the current detection terminal. When the cloud receives the changed password and the verification is successful, it will open the general viewing permission of product information to the current detection terminal.
[0028] By adopting the above technical solution, after the binding operation is completed, the password is also changed, so that other users can also view the product information of the same product, as long as the user provides the changed password. Although other users will receive a counterfeit message, as long as the password is correct, the current detection terminal will be granted normal viewing rights to the product information. This setting helps to improve the flexibility of product use after purchase.
[0029] Optionally, the step of the cloud determining the password according to a preset comparison rule includes:
[0030] The verification information of the tested terminal also includes the password storage address of the tested terminal. The cloud retrieves the comparison code based on the password storage address of the tested terminal and compares the password with the comparison code.
[0031] When the password is consistent with the control code, the password is correct;
[0032] When the password is inconsistent with the control code, the password is incorrect.
[0033] By adopting the above technical solution, the retrieval rate can be increased by using the password storage address number of the tested end for retrieval.
[0034] Optionally, the step of changing the password according to a preset change rule includes:
[0035] When the cloud determines that the password is correct, it automatically triggers the password generation system to generate encrypted data, sets the encrypted data as the changed password, and synchronizes the corresponding comparison code;
[0036] The steps of generating encrypted data by the password generation system are as follows: randomly generating a UUID as an encrypted data source, and encrypting the data source using the MD5 encryption algorithm to obtain encrypted data.
[0037] By adopting the above technical solution, UUID can generate a unique identifier, thereby ensuring the uniqueness of the data source, while adding an encryption algorithm can ensure the confidentiality and integrity of the data.
[0038] Optionally, the tested end includes a package tested end and a product tested end. When the cloud operates the package tested end, all product tested ends in the package will be operated synchronously.
[0039] When the password of the package tested end is changed on the cloud, the passwords of all products tested end in the package will be changed synchronously;
[0040] When the cloud binds the current detection terminal to the package being tested, it will also bind the current detection terminal to all the product being tested in the package.
[0041] When the cloud opens the password-exclusive viewing permission of the tested terminal of the package to the current testing terminal, the password-exclusive viewing permission of all the tested terminals of the products in the package is simultaneously opened to the current testing terminal;
[0042] When the cloud opens the general viewing permission of the tested end's password for the package to the current testing end, the general viewing permission of all the products in the package to the tested end is also opened to the current testing end.
[0043] By adopting the above technical solution, after the product verification is successful, the previous seller will not know the password of the packaging tested end nor the password of the product tested end, which further improves the anti-counterfeiting of the product transportation process. Compared with the situation where the password of the product tested end is not synchronized, it also reduces the situation in the sales chain where the seller knows the password of the product tested end and then steals or replaces the real product to sell.
[0044] Optionally, the step of sending the verification program from the cloud to the current detection terminal further includes:
[0045] When the cloud obtains the password by sending a verification program to the current detection terminal, it also obtains the ID code of the current detection terminal. When the password is correct and is changed, the current detection terminal ID code is associated with the changed password, and the association between the current detection terminal ID code and the changed password is registered in the traceability table;
[0046] When the password is incorrect, the cloud will match the incorrect password with the password in the traceability table. If the match is successful, the current detection end ID code will be registered in the abnormal record table corresponding to the successfully matched password. When the number in the abnormal record table reaches the preset threshold, the password in the traceability table will be marked as abnormal, and the cloud will be triggered to send an infringement warning prompt and an abnormal data packet to the production end. The abnormal data packet includes the abnormal password and its associated detection end ID code.
[0047] By adopting the above technical solution and establishing a traceability table, it is possible to promptly identify the tested terminals that have been copied in large quantities. At the same time, because the corresponding detection terminal ID is bound, the manufacturer can trace the counterfeit products to the owner of the problematic detection terminal, promptly identify the counterfeiting situation, and specifically hold each node accountable for the counterfeiting, thereby improving product safety.
[0048] In a second aspect, the present application provides a change anti-counterfeiting system for product sales terminals, including a detection terminal and a cloud;
[0049] The detection end includes an access module and a sending module;
[0050] The cloud includes an identification module, a verification module, a comparison module, a change module and a prompt module;
[0051] The detection end uses the access module to identify the detected end's access to the cloud, and the cloud uses the identification module to identify the current detection end's access method to the cloud.
[0052] When the detection end is connected to the cloud to directly detect the detected end, the cloud sends the verification program to the current detection end through the verification module;
[0053] The current detection end sends the password to the cloud for verification through the sending module. The password comes from the previous seller.
[0054] The cloud uses a comparison module to identify the password based on preset comparison rules;
[0055] When the cloud determines that the password is correct, the password is changed according to the preset change rules through the change module, and the general viewing permission of product information and the exclusive viewing permission of the changed password are opened to the current detection end;
[0056] When the cloud determines that the password is incorrect, a forged prompt message is sent to the current detection end through the prompt module.
[0057] In a third aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above-mentioned change anti-counterfeiting method for product sales terminals are implemented.
[0058] In a fourth aspect, the present application provides a non-volatile computer storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-mentioned change anti-counterfeiting method for product sales terminals.
[0059] In summary, the present application has the following beneficial technical effects:
[0060] In the product sales terminal scenario, the tested end is identified and connected to the cloud through a preset system. The cloud will detect whether the tested end is bound to the detection end. If not, the detection end will be bound to the tested end. This operation is irreversible and cannot be untied after binding. If a counterfeit product appears, the user of the sales terminal can know that the product is suspected of being counterfeit by scanning the code through the preset system, thereby effectively improving the anti-counterfeiting effect of the product in the product sales terminal scenario. The means of sending the password from the cloud to the current detection end set by this application can effectively improve the flexibility of sales, reduce the trouble of the salesperson needing to query the system to inform the user of the password, and is also conducive to the implementation of the binding operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 It is a flow chart of a change anti-counterfeiting method for product sales terminals in one embodiment of the present application.
[0062] Figure 2 This is a flowchart of steps added to step S0 in another embodiment of the present application.
[0063] Figure 3 This is a flowchart of steps added to step S1 in another embodiment of the present application.
[0064] Figure 4 This is a flowchart of the specific steps of step 22 in another embodiment of the present application.
[0065] Figure 5 This is a flowchart showing the additional steps of sending the verification program from the cloud to the current detection end in another embodiment of the present application.
[0066] Figure 6 This is a structural diagram of a change anti-counterfeiting system for product sales terminals according to one embodiment of the present application.
[0067] Figure 7 It is a principle block diagram of an electronic device in one embodiment of the present application.
[0068] In the figure, 1. Access module; 2. Identification module; 3. Detection module; 4. Verification module; 5. Judgment module; 6. Open module; 7. Prompt module. DETAILED DESCRIPTION
[0069] The following is combined with Figure 1-7 This application is described in further detail.
[0070] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-7 It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.
[0071] The embodiments of the present application provide a change-proof anti-counterfeiting method, system, device, and medium for product sales terminals.
[0072] Reference Figure 1 In one embodiment of the present application, a method for preventing counterfeiting by changing a product at a sales terminal is disclosed, comprising:
[0073] S0. The detection end connects to the cloud by identifying the detected end, and the cloud identifies the current detection end's access method to the cloud.
[0074] In one embodiment, the tested end can be a chip, and the detection end can be a detection instrument installed by the manufacturer to match the product end, or a mobile phone with NFC functionality. In another embodiment, the tested end can be a graphical code such as a QR code or barcode, and the detection end can be a common internet communication device such as a mobile phone. Identification between the detection end and the tested end can be achieved through various methods, including at least numbers, symbols, letters, images, and wavebands. The cloud is used by the detection end to access the cloud by identifying the tested end. To distinguish between scenarios involving product transportation and product sales terminals, the cloud in this application needs to identify the detection end's access method to the cloud. The anti-counterfeiting targets during product transportation are primarily distributors, wholesalers, and retailers. The cloud system is managed by the manufacturer's R&D department, and the manufacturer is the production end. Therefore, the manufacturer has access to all content in the cloud. At the same time, the cloud also has corresponding warehousing systems for distributors, wholesalers, and retailers. This facilitates management during product transportation and allows users to view product information after purchasing the product, including the sales time and location of the manufacturers, distributors, wholesalers, and retailers involved in the sales chain, as well as the number of product inquiries, as well as the query time and location.
[0075] In addition, the tested ends set up in this application include two types: packaging and products. One package contains multiple products. The package is provided with a packaging tested end, and the product is also provided with a product tested end. During the product transportation process, the detection end mainly identifies the packaging tested end, but it can also identify the product tested end. Because distributors, wholesalers, and retailers purchase in bulk, setting up a packaging tested end is more conducive to product warehousing and anti-counterfeiting management, but there will also be situations where products are purchased in split packages.
[0076] S1. When the detection end identifies the detected end through a preset system and connects to the cloud, the cloud detects whether the detected end is bound to a detection end.
[0077] S11. If the cloud detects that the tested end is not bound to the detection end, it sends the password and verification program to the current detection end. After successful verification, the tested end is bound to the current detection end and the current detection end is given the normal viewing permission of product information, and the current detection end is prompted that the product is authentic.
[0078] S12. If the cloud detects that the detected terminal has a bound detection terminal, it determines whether the bound detection terminal is the current detection terminal.
[0079] S121. If the cloud detects that the bound detection terminal is the current detection terminal, the product information viewing permission is opened to the current detection terminal.
[0080] S122. If the cloud detects that the bound detection terminal is not the current detection terminal, it sends a counterfeit prompt message to the current detection terminal.
[0081] As described above, in the scenario of product sales terminals, when users purchase products and conduct product anti-counterfeiting authentication, they need to go through a preset system. The preset system can be selected as a mini program or an official website. The preset system is used to identify the tested end and connect to the cloud. The cloud will detect whether the tested end is bound to the detection end. If not, the detection end will be bound to the tested end. This operation is irreversible and cannot be untied after binding. If a counterfeit product appears, the user of the sales terminal can scan the code through the preset system to know that the product is suspected of being counterfeit. In addition, the setting of sending the password from the cloud to the current detection end in this application can effectively improve the flexibility of sales, reduce the trouble of the salesperson needing to query the system to inform the user of the password, and is also conducive to the implementation of the binding operation.
[0082] Further, refer to Figure 2 In another embodiment, step S0: the detecting end identifies that the detected end is connected to the cloud, and the cloud identifies the current way in which the detecting end is connected to the cloud, further comprising the following steps:
[0083] S2. When the detection end fails to identify the detected end through the preset system and access the cloud, the cloud sends a verification program to the current detection end.
[0084] Among them, when the detection end is connected to the cloud in a way that does not identify the tested end through the preset system, that is, the detection end does not identify the tested end through a specific mini-program or official website and other systems, but directly identifies the tested end through the mobile phone NFC identification chip or by scanning the QR code, the cloud triggers the sending of the verification code to the current detection end, and the set verification program is used for the cloud to receive the password from the detection end.
[0085] In another embodiment, when the cloud recognizes the access method described above, in addition to sending the verification program, it will also trigger the start of the warehousing system for distributors, wholesalers, and retailers to manage the warehousing of products. It is also beneficial for later batch viewing of product information and passwords.
[0086] S21. The current detection terminal sends the password to the cloud for verification, and the password comes from the previous seller.
[0087] S22. The cloud determines the password based on preset comparison rules.
[0088] The verification process is triggered, and the current detection terminal needs to enter the password from the previous seller into the verification process. The cloud will determine whether the password is correct.
[0089] S221. When the cloud determines that the password is correct, the password is changed according to the preset change rules, and the general viewing permission of the product information and the exclusive viewing permission of the changed password are opened to the current detection end, and the tested end is included in the warehousing system associated with the current detection end.
[0090] Among them, the set normal viewing permission means that once it is granted by the cloud, the user will always have this permission to view; and the set exclusive viewing permission means that in addition to the manufacturer, only the seller at the current detection end can view it, and past sellers have no right to view it.
[0091] S222. When the cloud determines that the password is incorrect, it sends a forged prompt message to the current detection end.
[0092] As described above, during product transportation, the password changes after a product or packaging has been correctly identified once. If a counterfeit product or packaging is present, and the counterfeiter is unaware of the password change, they can mass-produce a single counterfeit of the same product or packaging. This will only result in incorrect password recognition, allowing the next distributor to receive a counterfeit notification. If the counterfeiter is aware of the password change and informs the next distributor of the password, the password will only be correctly identified once. By the time the distributor detects the second counterfeit, the password has already changed, and the distributor will still receive the counterfeit notification. By enabling password changes and providing exclusive password access, the anti-counterfeiting effect of products during transportation can be effectively improved.
[0093] Further, refer to Figure 3 In another embodiment, step S1: when the detecting end identifies the detected end through a preset system and accesses the cloud, the cloud detects whether the detected end is bound to the detecting end, further comprising the following steps:
[0094] S13. If the cloud detects that the tested end is not bound to the detection end, it sends the password and verification program to the current detection end. After successful verification, the tested end is bound to the current detection end. At the same time, the cloud changes the password according to the preset change rules, and opens the general viewing permission of product information and the exclusive viewing permission of the changed password to the current detection end.
[0095] S14. If the cloud detects that the detected terminal has a bound detection terminal, it determines whether the bound detection terminal is the current detection terminal.
[0096] S141. If the cloud detects that the bound detection terminal is the current detection terminal, the general viewing permission of the product information and the changed password exclusive viewing permission are opened to the current detection terminal.
[0097] S142. If the cloud detects that the bound detection terminal is not the current detection terminal, it sends a counterfeit prompt message and a verification program to the current detection terminal. When the cloud receives the changed password and verifies successfully, it opens the general viewing permission of product information to the current detection terminal.
[0098] After completing the binding operation, the password is also changed. This allows other users to view the product information for this product, as long as the user provides the changed password. Although other users will receive a counterfeit warning message stating "The product has been purchased or used and is suspected of being counterfeit," as long as the password is correct, the current detection terminal will be granted normal viewing rights to the product information. This setting helps to increase the flexibility of product use.
[0099] In addition, in this application, the tested terminals set up include the package tested terminal and the product tested terminal. When the cloud operates the package tested terminal, all the product tested terminals in the package will be operated synchronously.
[0100] Specifically, when the cloud changes the password of the package tested end, the passwords of all product tested ends in the package will be changed synchronously; when the cloud binds the current detection end and the package tested end, the current detection end and all product tested ends in the package will be bound synchronously; when the cloud opens the exclusive viewing permission of the package tested end password to the current detection end, the exclusive viewing permission of the password of all product tested ends in the package will be opened to the current detection end; when the cloud opens the general viewing permission of the product of the package tested end password to the current detection end, the general viewing permission of the product of all product tested ends in the package will be opened to the current detection end.
[0101] The above method, which is set up so that when the cloud changes the password of the package tested end, the passwords of all the product tested ends in the package are changed synchronously, and when the cloud opens the exclusive viewing permission of the package tested end password to the current testing end, the exclusive viewing permission of all the product tested end passwords in the package is opened synchronously to the current testing end, is to prevent the previous seller from knowing the password of the package tested end and the password of the product tested end after the product verification is successful, thereby further improving the anti-counterfeiting of the product transportation process. Compared with the situation where the password of the product tested end is not synchronized, it also reduces the situation in the sales chain where the seller knows the password of the product tested end and then steals or replaces the real product to sell it. The method of setting up so that when the cloud binds the current testing end and the package tested end, the current testing end and all the product tested ends in the package are bound synchronously can reduce the workload of binding when the end user purchases in large quantities. The method of setting up the general viewing permission of the goods of the tested end when the cloud opens the package to the current testing end, and the general viewing permission of the tested end goods of all products in the package to the current testing end at the same time, and the method of setting up the exclusive viewing permission of the tested end password when the cloud opens the package to the current testing end, and the exclusive viewing permission of the tested end password of all products in the package to the current testing end at the same time, can help simplify the process of anti-counterfeiting certification and warehousing of products for dealers, reduce the workload of dealers, speed up the work efficiency of the product transportation process, and make product sales management more flexible.
[0102] Further, refer to Figure 4 In another embodiment, step S22: the cloud determines the password according to a preset comparison rule, specifically including the following steps:
[0103] S022. The verification information of the tested end also includes the password storage address number of the tested end. The cloud retrieves the comparison code based on the password storage address number of the tested end and compares the password with the comparison code.
[0104] S0221. When the password is consistent with the control code, the password is correct.
[0105] S0222. When the password is inconsistent with the control code, the password is incorrect.
[0106] As described above, the retrieval rate can be increased by retrieving the password storage address number of the tested end.
[0107] Furthermore, in another embodiment, step S221 involves changing the password according to a preset change rule, specifically including the following steps: when the cloud determines that the password is correct, automatically triggering the password generation system to generate encrypted data, setting the encrypted data as the changed password, and synchronizing the corresponding control code. The password generation system generates the encrypted data by randomly generating a UUID as an encrypted data source and encrypting the data source using the MD5 encryption algorithm to obtain the encrypted data.
[0108] As mentioned above, UUID can generate a unique identifier, thus ensuring the uniqueness of the data source. Adding an encryption algorithm can also ensure data confidentiality and integrity. When the device being tested is a QR code, the cloud simply sets the corresponding control code as the encrypted data. When the device being tested is a chip, the encrypted data is injected into the chip upon successful verification, and the corresponding control code is replaced with the encrypted data.
[0109] Further, refer to Figure 5 In another embodiment, the step of the cloud sending the verification program to the current detection terminal further includes:
[0110] S3. When the cloud obtains the password by sending a verification program to the current detection terminal, it also obtains the ID code of the current detection terminal. When the password is correct and is changed, the current detection terminal ID code is associated with the changed password, and the association between the current detection terminal ID code and the changed password is recorded in the traceability table;
[0111] S4. When the password is incorrect, the cloud matches the incorrect password with the password in the traceability table. If the match is successful, the current detection end ID code is registered in the abnormal record table corresponding to the successfully matched password. When the number in the abnormal record table reaches a preset threshold, the password in the traceability table is marked as abnormal, and the cloud is triggered to send an infringement warning prompt and an abnormal data packet to the production end. The abnormal data packet includes the abnormal password and its associated detection end ID code.
[0112] As mentioned above, through the establishment of the traceability table, the tested terminals that are copied in large quantities can be identified in a timely manner. At the same time, because the corresponding detection terminal ID is bound, the manufacturer can trace the counterfeit products to the owner of the problematic detection terminal, timely identify the counterfeiting situation, and specifically hold the counterfeiting responsibility to each node, thereby improving product safety.
[0113] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0114] The embodiment of the present application also provides a change anti-counterfeiting system for product sales terminals, which corresponds one-to-one with the change anti-counterfeiting method for product sales terminals in the embodiment. Figure 6 The anti-counterfeiting system for product sales terminals includes: a detection terminal and a cloud; the detection terminal includes an access module 1; the cloud includes an identification module 2, a detection module 3, a verification module 4, a judgment module 5, an opening module 6 and a prompt module 7;
[0115] The detailed description of each functional module is as follows:
[0116] Among them, the detection end identifies that the tested end is connected to the cloud through the access module 1, and the cloud side identifies the way in which the current detection end is connected to the cloud through the identification module 2; when the detection end identifies the tested end and connects to the cloud through the preset system, the cloud side detects whether the tested end has a bound detection end through the detection module 3; if the cloud side detects that the tested end is not bound to the detection end, the password and the verification program are sent to the current detection end through the verification module 4. After the verification is successful, the tested end is bound to the current detection end and the general viewing permission of the product information is opened to the current detection end; if the cloud side detects that the tested end is bound to the detection end, the judgment module 5 determines whether the bound detection end is the current detection end; if the cloud side detects that the bound detection end is the current detection end, the product information viewing permission is opened to the current detection end through the opening module 6; if the cloud side detects that the bound detection end is not the current detection end, the prompt module 7 sends a counterfeit prompt message to the current detection end.
[0117] The specific definition of the change-proof anti-counterfeiting system for product sales terminals can be found in the definition of the change-proof anti-counterfeiting method for product sales terminals in the context, and will not be repeated here. Each module in the above-mentioned change-proof anti-counterfeiting system for product sales terminals can be implemented in whole or in part through software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor of the electronic device in hardware form, or can be stored in the memory of the electronic device in software form, so that the processor can call and execute the corresponding operations of each of the above modules.
[0118] In this embodiment, an electronic device is provided, which is a computer. Figure 7 The electronic device includes a processor, a memory, a network interface, and a database connected via a system bus. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic 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. The database of the electronic device is used to store a detection data table. The network interface of the electronic device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a change anti-counterfeiting method for product sales terminals is implemented.
[0119] In one embodiment, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the aforementioned method embodiment when executing the computer program.
[0120] An embodiment of the present application also discloses a non-volatile computer-readable storage medium, which stores a computer program that can be loaded and executed by a processor. When the computer program is executed by the processor, it implements the steps of any of the above-mentioned anti-counterfeiting methods for product sales terminals and can achieve the same effect.
[0121] The computer-readable storage medium includes, for example, a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and other media that can store program codes.
[0122] The above are all preferred embodiments of the present application and are not intended to limit the scope of protection of this application. Unless otherwise specified, any feature disclosed in this specification (including the abstract and drawings) may be replaced by other equivalent or similar features. In other words, unless otherwise specified, each feature is merely an example of a series of equivalent or similar features.
Claims
1. A change anti-counterfeiting method for product sales terminals, characterized in that: include: The detection end connects to the cloud by identifying the detected end, and the cloud identifies the way the current detection end connects to the cloud, including when the detection end fails to identify the detected end through the preset system to connect to the cloud, the cloud sends a verification program to the current detection end; the current detection end sends the password to the cloud for verification, and the password comes from the previous seller; the cloud judges the password according to the preset comparison rules; when the cloud judges that the password is correct, the password is changed according to the preset change rules, and the general viewing permission of the product information and the exclusive viewing permission of the changed password are opened to the current detection end, and the detected end is included in the warehousing system associated with the current detection end; when the cloud judges that the password is wrong, it sends a forgery prompt message to the current detection end; When the detection end identifies the detected end through a preset system and connects to the cloud, the cloud detects whether the detected end is bound to the detection end; If the cloud detects that the tested end is not bound to the testing end, it will send the password and verification program to the current testing end. After successful verification, the tested end will be bound to the current testing end and the current testing end will be given normal viewing rights for product information, and the current testing end will be prompted that the product is authentic. If the cloud detects that the tested end has a bound detection end, it determines whether the bound detection end is the current detection end; If the cloud detects that the bound detection terminal is the current detection terminal, the product information viewing permission is granted to the current detection terminal; If the cloud detects that the bound detection terminal is not the current detection terminal, it will send a counterfeit prompt message to the current detection terminal.
2. The method according to claim 1, characterized in that When the detecting end detects the detected end through a preset system and connects to the cloud, the step of the cloud detecting whether the detected end is bound to the detecting end further includes: If the cloud detects that the tested end is not bound to the detection end, it will send the password and verification program to the current detection end. After successful verification, the tested end will be bound to the current detection end. At the same time, the cloud will change the password according to the preset change rules and grant the current detection end the general viewing permission for product information and the exclusive viewing permission for the changed password. If the cloud detects that the tested end has a bound detection end, it determines whether the bound detection end is the current detection end; If the cloud detects that the bound detection terminal is the current detection terminal, the current detection terminal will be granted general viewing rights for product information and exclusive viewing rights for the changed password; If the cloud detects that the bound detection terminal is not the current detection terminal, it will send a counterfeit prompt message and verification program to the current detection terminal. When the cloud receives the changed password and the verification is successful, it will open the general viewing permission of product information to the current detection terminal.
3. The method according to claim 1, characterized in that The step of the cloud computing judging the password according to the preset comparison rules includes: The verification information of the tested terminal also includes the password storage address of the tested terminal. The cloud retrieves the comparison code based on the password storage address of the tested terminal and compares the password with the comparison code. When the password is consistent with the control code, the password is correct; When the password is inconsistent with the control code, the password is incorrect.
4. The method according to claim 3, characterized in that The step of changing the password according to the preset change rules includes: When the cloud determines that the password is correct, it automatically triggers the password generation system to generate encrypted data, sets the encrypted data as the changed password, and synchronizes the corresponding comparison code; The steps of generating encrypted data by the password generation system are as follows: randomly generating a UUID as an encrypted data source, and encrypting the data source using the MD5 encryption algorithm to obtain encrypted data.
5. The method according to claim 1, wherein The tested terminals include the package tested terminal and the product tested terminal. When the cloud operates the package tested terminal, it will synchronously operate all the product tested terminals in the package. When the password of the package tested end is changed on the cloud, the passwords of all the products tested end in the package will be changed synchronously; When the cloud binds the current detection terminal to the package being tested, it will also bind the current detection terminal to all the product being tested in the package. When the cloud opens the password-exclusive viewing permission of the tested terminal of the package to the current testing terminal, the password-exclusive viewing permission of all the tested terminals of the products in the package is simultaneously opened to the current testing terminal; When the cloud opens the general viewing permission of the tested end's password for the package to the current testing end, the general viewing permission of all the products in the package to the tested end is also opened to the current testing end.
6. The method according to claim 1 or 2, characterized in that The step of sending the verification program from the cloud to the current detection terminal further includes: When the cloud obtains the password by sending a verification program to the current detection terminal, it also obtains the ID code of the current detection terminal. When the password is correct and is changed, the current detection terminal ID code is associated with the changed password, and the association between the current detection terminal ID code and the changed password is registered in the traceability table; When the password is incorrect, the cloud will match the incorrect password with the password in the traceability table. If the match is successful, the current detection end ID code will be registered in the exception record table corresponding to the successfully matched password. When the number in the exception record table reaches the preset threshold, the password in the traceability table will be marked as abnormal, and the cloud will be triggered to send an infringement warning prompt and an abnormal data packet to the production end. The abnormal data packet includes the abnormal password and its associated detection end ID code.
7. A change anti-counterfeiting system for product sales terminals, characterized in that: Including detection end and cloud; The detection end comprises an access module (1); The cloud comprises an identification module (2), a detection module (3), a verification module (4), a judgment module (5), an opening module (6) and a prompt module (7); The detection end identifies the detected end through the access module (1) and the cloud through the identification module (2), and the cloud identifies the way in which the current detection end is connected to the cloud, including: when the detection end does not identify the detected end through the preset system and connects to the cloud, the cloud sends a verification program to the current detection end; the current detection end sends a password to the cloud for verification, and the password comes from the previous seller; the cloud judges the password according to the preset comparison rules; when the cloud judges that the password is correct, the password is changed according to the preset change rules, and the general viewing permission of the product information and the exclusive viewing permission of the changed password are opened to the current detection end, and the detected end is included in the storage system associated with the current detection end; when the cloud judges that the password is wrong, it sends a forged prompt message to the current detection end; When the detection end identifies the detected end through the preset system and connects to the cloud, the cloud detects whether the detected end has a bound detection end through the detection module (3); If the cloud detects that the tested terminal is not bound to the detection terminal, the password and the verification program are sent to the current detection terminal through the verification module (4). After successful verification, the tested terminal is bound to the current detection terminal and the general viewing permission of the product information is opened to the current detection terminal; If the cloud detects that the detected terminal has a bound detection terminal, the judgment module (5) determines whether the bound detection terminal is the current detection terminal; If the cloud detects that the bound detection terminal is the current detection terminal, the product information viewing permission is opened to the current detection terminal through the open module (6); If the cloud detects that the bound detection terminal is not the current detection terminal, the prompt module (7) sends a counterfeit prompt message to the current detection terminal.
8. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executes the change anti-counterfeiting method for product sales terminals according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that The device stores a computer program that can be loaded by a processor and executes the change anti-counterfeiting method for product sales terminals according to any one of claims 1 to 6.
Citation Information
Patent Citations
Commodity anti-counterfeiting method and system characterized by identity code and auxiliary verifying passwords
CN105096128A
Product identification traceability method and system, electronic equipment and storage medium
CN117057823A
Terminal device reset method, system and apparatus, intelligent device, and storage medium
WO2024032085A1
Cited By
Dynamic Anti-counterfeiting method and system for product sales terminal, and device and medium
WO2026021618A1