Anti-counterfeiting verification method, device, system, mobile terminal and server
By obtaining and sending the anti-counterfeiting verification information of the target device, the problem of the failure of the anti-counterfeiting function caused by the missing device information is solved, and the authenticity of the device can be effectively verified in the absence of information.
Patent Information
- Application Number
- CN202110784596.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-12
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2041-07-12
AI Technical Summary
In the prior art, equipment information is missing due to equipment system errors or manual errors when the equipment leaves the factory, resulting in the equipment's anti-counterfeiting function cannot be carried out normally.
By acquiring the first anti-counterfeiting verification information of the target device, if the second device identifier is missing, the second anti-counterfeiting verification information is obtained from the input interface of the mobile terminal, and the first device identifier and the second anti-counterfeiting verification information are sent to the server for verification.
When the second device identifier is missing from the anti-counterfeiting verification information of the target device, the target device can be verified through the reacquired anti-counterfeiting verification information and the first device identifier to avoid the failure of the anti-counterfeiting function caused by device system errors or manual errors.
Smart Images

Figure CN113592511B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of detection technology, and specifically relates to an anti-counterfeiting verification method, device, system, mobile terminal, server and storage medium. Background Art
[0002] With the development of the market economy, more and more products have made people's lives richer and more vivid. The huge market value brought about by this has given criminals an opportunity to take advantage of it. Counterfeit and shoddy products have become a headache for consumers and well-known companies. In order to reduce the losses caused by counterfeit and shoddy products, anti-counterfeiting verification can be performed on products. In related anti-counterfeiting verification methods, due to device system errors or human errors when the device leaves the factory, the device information is missing, which makes the device's anti-counterfeiting function unable to work normally. Summary of the invention
[0003] In view of the above problems, the present application proposes an anti-counterfeiting verification method, device, system, mobile terminal, server and storage medium to improve the above problems.
[0004] In a first aspect, an embodiment of the present application provides an anti-counterfeiting verification method, which is applied to a mobile terminal, and the method includes: obtaining first anti-counterfeiting verification information of a target device, wherein the first anti-counterfeiting verification information includes at least a first device identification of the target device, and the first anti-counterfeiting verification information is obtained through the target device; if the second device identification of the target device is missing in the first anti-counterfeiting verification information, obtaining second anti-counterfeiting verification information, wherein the second anti-counterfeiting verification information is obtained through an input interface of the mobile terminal; and sending the first device identification and the second anti-counterfeiting verification information to a server, so that the server verifies the target device based on the first device identification and the second anti-counterfeiting verification information.
[0005] In the second aspect, an embodiment of the present application provides an anti-counterfeiting verification method, which is applied to a server, and the method includes: receiving first anti-counterfeiting verification information and second anti-counterfeiting verification information sent by a mobile terminal, wherein the first anti-counterfeiting verification information includes at least a first device identification of a target device, and the first anti-counterfeiting verification information is obtained through the target device, and the second anti-counterfeiting verification information is obtained through an input interface of the mobile terminal when the second device identification of the target device is missing in the first anti-counterfeiting verification information; verifying the target device based on the first device identification and the second anti-counterfeiting verification information.
[0006] In the third aspect, an embodiment of the present application provides an anti-counterfeiting verification device, which runs on a mobile terminal, and the device includes: a first information acquisition unit, used to obtain first anti-counterfeiting verification information of a target device, wherein the first anti-counterfeiting verification information includes at least a first device identification of the target device, and the first anti-counterfeiting verification information is obtained through the target device; a second information acquisition unit, used to obtain second anti-counterfeiting verification information if the second device identification of the target device is missing in the first anti-counterfeiting verification information, wherein the second anti-counterfeiting verification information is obtained through an input interface of the mobile terminal; an information sending unit, used to send the first device identification and the second anti-counterfeiting verification information to a server, so that the server verifies the target device based on the first device identification and the second anti-counterfeiting verification information.
[0007] In a fourth aspect, an embodiment of the present application provides an anti-counterfeiting verification device, which runs on a server device, and the device includes: an information receiving unit, which is used to receive first anti-counterfeiting verification information and second anti-counterfeiting verification information sent by a mobile terminal, wherein the first anti-counterfeiting verification information at least includes a first device identification of a target device, and the first anti-counterfeiting verification information is obtained through the target device, and the second anti-counterfeiting verification information is obtained through an input interface of the mobile terminal when the second device identification of the target device is missing in the first anti-counterfeiting verification information; a verification unit, which is used to verify the target device based on the first device identification and the second anti-counterfeiting verification information.
[0008] In the fifth aspect, an embodiment of the present application provides an anti-counterfeiting verification system, which includes a mobile terminal and a server, wherein the mobile terminal is used to obtain first anti-counterfeiting verification information of a target device, wherein the first anti-counterfeiting verification information includes at least a first device identification of the target device, and the first anti-counterfeiting verification information is obtained through the target device; the mobile terminal is used to obtain second anti-counterfeiting verification information if the second device identification of the target device is missing in the first anti-counterfeiting verification information, wherein the second anti-counterfeiting verification information is obtained through an input interface of the mobile terminal; the mobile terminal is used to send the first device identification and the second anti-counterfeiting verification information to the server; the server is used to receive the first device identification and the second anti-counterfeiting verification information sent by the mobile terminal; the server is used to verify the target device based on the first device identification and the second anti-counterfeiting verification information.
[0009] In a sixth aspect, an embodiment of the present application provides a mobile terminal, comprising one or more processors and a memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the above-mentioned method.
[0010] In the seventh aspect, an embodiment of the present application provides a server, comprising one or more processors and a memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the above-mentioned method.
[0011] In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored, wherein the above method is executed when the program code is run.
[0012] The embodiments of the present application provide an anti-counterfeiting verification method, device, system, mobile terminal, server and storage medium. First, the first anti-counterfeiting verification information of the target device is obtained, wherein the first anti-counterfeiting verification information at least includes the first device identification of the target device, and the first anti-counterfeiting verification information is obtained through the target device. If the second device identification of the target device is missing in the first anti-counterfeiting verification information, the second anti-counterfeiting verification information is obtained, wherein the second anti-counterfeiting verification information is obtained through the input interface of the mobile terminal, and then the first device identification and the second anti-counterfeiting verification information are sent to the server, so that the server verifies the target device based on the first device identification and the second anti-counterfeiting verification information. Through the above method, in the case that the anti-counterfeiting verification information of the target device obtained lacks the second device identification, the target device can be verified according to the anti-counterfeiting verification information of the target device obtained from the input interface of the mobile terminal, and then the target device can be verified according to the re-acquired anti-counterfeiting verification information and the first device identification, thereby avoiding the problem that the device system error or human error when the device leaves the factory causes the device information to be missing, resulting in the device anti-counterfeiting function not being able to operate normally. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0014] Figure 1 A schematic diagram of an application environment of an anti-counterfeiting verification method proposed in an embodiment of the present application is shown;
[0015] Figure 2 A flowchart of an anti-counterfeiting verification method proposed in an embodiment of the present application is shown;
[0016] Figure 3 A flowchart of an anti-counterfeiting verification method proposed in another embodiment of the present application is shown;
[0017] Figure 4A flowchart of an anti-counterfeiting verification method proposed in another embodiment of the present application is shown;
[0018] Figure 5 A flowchart of an anti-counterfeiting verification method proposed in another embodiment of the present application is shown;
[0019] Figure 6 A structural block diagram of an anti-counterfeiting verification device proposed in an embodiment of the present application is shown;
[0020] Figure 7 A structural block diagram of another anti-counterfeiting verification device proposed in an embodiment of the present application is shown;
[0021] Figure 8 A structural block diagram of another anti-counterfeiting verification device proposed in an embodiment of the present application is shown;
[0022] Fig. 9 A structural block diagram of another anti-counterfeiting verification device proposed in an embodiment of the present application is shown;
[0023] Fig.10 A structural block diagram of an anti-counterfeiting verification system proposed in an embodiment of the present application is shown;
[0024] Fig.11 A schematic diagram of a specific application process of an anti-counterfeiting verification method in an anti-counterfeiting verification system proposed in an embodiment of the present application is shown;
[0025] Fig.12 A structural block diagram of a mobile terminal or a server used to execute the anti-counterfeiting verification method according to an embodiment of the present application is shown in real time of the present application;
[0026] Fig.13 The present application shows a storage unit in real time for storing or carrying program codes for implementing the anti-counterfeiting verification method according to an embodiment of the present application. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0028] Anti-counterfeiting technology refers to measures taken to achieve the purpose of anti-counterfeiting. It can accurately identify the authenticity within a certain range and is not easy to be imitated or copied. Simply put, it is a technology to prevent counterfeiting and imitation. Anti-counterfeiting is a preventive measure taken against activities that are imitated or copied for the purpose of deception without the permission of the owner. Anti-counterfeiting technology products are products made with anti-counterfeiting technology for the purpose of anti-counterfeiting and have anti-counterfeiting functions.
[0029] The device serial number is like the ID card of the device. It can uniquely identify a device. The device serial number can be obtained through the system attribute value of the device. In the process of factory production and use of equipment, it is necessary to register the device according to the device serial number, that is, to bind the device serial number with the registration server, so that the registration server can query the corresponding device information according to the device serial number to ensure that the device is a regular product produced by a specific company, so as to realize the anti-counterfeiting verification of the device.
[0030] The inventor discovered during research on related anti-counterfeiting verification methods that, in the related anti-counterfeiting verification methods, device information is missing due to device system errors or human errors when the device leaves the factory, thereby causing the anti-counterfeiting function of the device to fail to function normally.
[0031] Therefore, the inventor proposed the anti-counterfeiting verification method, device, system, mobile terminal, server and storage medium in the present application, which can verify the target device based on the anti-counterfeiting verification information of the target device obtained from other places, and then based on the re-acquired anti-counterfeiting verification information and the first device identification, when the anti-counterfeiting verification information of the target device obtained lacks the second device identification, thereby avoiding the problem that the device anti-counterfeiting function cannot function normally due to missing device information caused by device system errors or human errors when the device leaves the factory.
[0032] An application environment involved in an embodiment of the present application is introduced below.
[0033] like Figure 1 As shown, in Figure 1The application environment shown includes electronic devices (referred to as devices), servers, MES (Manufacturing Execution System) systems and mobile terminals. Among them, electronic devices are actual products that can provide value to users, such as massage equipment, smart hardware and other electronic devices. For example, the electronic device can be a cervical massager, a waist massager, etc. In addition, the electronic device has a wireless communication module, which can establish a communication connection with the mobile terminal through a wireless connection. The wireless communication module may include but is not limited to Bluetooth, WIFI, Zigbee and other modules. The electronic device may be pre-burned with a unique serial number, and the wireless connection module has a unique MAC address. Optionally, the mobile terminal can be a mobile phone, a tablet computer, a laptop computer and other terminals.
[0034] The server can be used to record the MAC address and serial number and other information corresponding to the electronic device uploaded by the MES system. After the mobile terminal establishes a wireless communication connection with the electronic device, it reads the MAC address and serial number corresponding to the electronic device and uploads the MAC address and serial number to the server. The server compares the MAC address and serial number uploaded by the mobile terminal with the MAC address and serial number pre-stored locally to perform anti-counterfeiting verification of the electronic device and verify whether the electronic device is genuine or counterfeit.
[0035] After receiving the equipment production order, the MES system generates a serial number list according to the production order. The number of serial numbers in the serial number list is the same as the number of equipment in the production order. Each serial number in the serial number list is different and different from the serial numbers in other production orders. That is, the serial numbers in the serial number list corresponding to each production order are unique. According to the number of serial numbers in the serial number list, the number of packaging boxes is determined. Each packaging box is affixed or printed with a serial number, and the serial numbers affixed or printed on each packaging box are different. When the produced electronic equipment is placed in the packaging box, the MES system is connected to the equipment, and the MES system scans the serial number on the packaging box and writes the scanned serial number into the equipment so that the serial number on the packaging box is consistent with the serial number of the equipment. In the process of writing the serial number, the serial number writing may fail due to human error or system error.
[0036] After writing is completed, the MES system reads the serial number written in the device and the MAC address corresponding to the device, stores the read serial number and the MAC address corresponding to the device locally, and uploads the serial number and the MAC address corresponding to the device to the server for storage.
[0037] The mobile terminal can be used to read data such as the serial number of the electronic device and the MAC address corresponding to the electronic device, and upload the read data to the server for verification. According to the verification result of the server, the user is prompted whether the device is genuine or counterfeit.
[0038] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0039] See also Figure 2 , an anti-counterfeiting verification method provided by an embodiment of the present application is applied to a mobile terminal, the method comprising:
[0040] Step S110: Acquire first anti-counterfeiting verification information of a target device, wherein the first anti-counterfeiting verification information at least includes a first device identification of the target device, and the first anti-counterfeiting verification information is obtained through the target device.
[0041] In an embodiment of the present application, the target device refers to a device that is being subjected to anti-counterfeiting verification; the first anti-counterfeiting verification information is verification information used to verify the authenticity of the target device, and the first anti-counterfeiting verification information may include a variety of different identifiers for identifying the target device; the first device identifier is a device identifier for uniquely identifying the target device, and the first device identifier is composed of numbers, letters, symbols, text, graphics, images, or any combination of the foregoing.
[0042] In a specific embodiment, the first device identifier is a MAC address of a wireless communication module in the device.
[0043] As a method, after a communication connection is established between the mobile terminal and the target device, the mobile terminal can automatically read the first anti-counterfeiting verification information of the target device. Specifically, in order to ensure that the complete first anti-counterfeiting verification information can be read, when the mobile terminal automatically reads the first anti-counterfeiting verification information of the target device, it can be set to automatically read the first anti-counterfeiting verification information of the target device every preset time period, or after a communication connection is established between the mobile terminal and the target device, the mobile terminal automatically reads the first anti-counterfeiting verification information of the target device multiple times, wherein the number of readings can be determined according to actual needs, such as according to the reading speed of the device and the network status, etc., and is not specifically limited here.
[0044] As another way, in order to reduce the storage space occupied by the mobile terminal, after the mobile terminal and the target device establish a communication connection, the mobile terminal will not automatically read the first anti-counterfeiting verification information of the target device, but will trigger the mobile terminal to obtain the first anti-counterfeiting verification information of the target device only after receiving a specific instruction. Specifically, the mobile terminal can read the first anti-counterfeiting verification information of the target device only after receiving the anti-counterfeiting verification instruction sent by the external device. The external device is a mobile terminal that establishes a communication connection with the mobile terminal and stores the identification of the target device.
[0045] Furthermore, the mobile terminal may also obtain the first anti-counterfeiting verification information of the target device from a server that pre-stores the first anti-counterfeiting verification information of the target device. Specifically, after the mobile terminal and the target device establish a communication connection, the mobile terminal may read the first anti-counterfeiting verification information of the target device from the server; optionally, the mobile terminal may obtain the first anti-counterfeiting verification information of the target device from the server only after receiving the anti-counterfeiting verification instruction.
[0046] Step S120: if the first anti-counterfeiting verification information lacks the second device identification of the target device, obtaining second anti-counterfeiting verification information, wherein the second anti-counterfeiting verification information is obtained through the input interface of the mobile terminal.
[0047] Among them, the second device identification can be an identification for identifying a unique target device, and the second device identification can be composed of numbers, letters, symbols, text, graphics, images or any combination of the former, and the first device identification and the second device identification are different identifications; the second anti-counterfeiting verification information is verification information obtained through the input interface of the mobile terminal and can be used to perform anti-counterfeiting verification on the target device; the input interface of the mobile terminal can be an image acquisition device of the mobile terminal, such as a camera, or the input interface of the mobile terminal can also be an image upload interface of the mobile terminal, or the input interface of the mobile terminal can also be a virtual input button of the mobile terminal, etc., which is not specifically limited here. Optionally, in an embodiment of the present application, the second anti-counterfeiting verification information may include at least one of the serial number of the target device, the order number of the target device and the purchase channel, wherein the target order number and purchase channel can be obtained by identifying the shopping voucher uploaded by the user through the input interface of the mobile terminal.
[0048] As a method, after the mobile terminal obtains the first anti-counterfeiting verification information of the target device, the integrity of the first anti-counterfeiting verification information can be verified first. If it is determined that the verification information included in the first anti-counterfeiting verification information is incomplete, the second anti-counterfeiting verification information can be obtained through the input interface of the mobile terminal. Specifically, the mobile terminal knows in advance what verification information is specifically included in the first anti-counterfeiting verification information of the target device to be obtained, and then after the mobile terminal obtains the first anti-counterfeiting verification information of the target device, the integrity of the first anti-counterfeiting verification information can be verified. If it is determined that the second device identifier of the target device is missing in the first anti-counterfeiting verification information, the user can input the second anti-counterfeiting verification information through the input interface of the mobile terminal, so that the mobile terminal can obtain the second anti-counterfeiting verification information through the input interface, wherein the second anti-counterfeiting verification information can include the second device identifier missing in the first anti-counterfeiting verification information, or can be verification information different from the first anti-counterfeiting verification information.
[0049] Specifically, if the second anti-counterfeiting verification information is the serial number of the target device, the second anti-counterfeiting verification information can be obtained by scanning with a camera or manually input by a user; if the second anti-counterfeiting verification information is a shopping voucher, the second anti-counterfeiting verification information can be obtained by photographing with a camera or by taking a screenshot of the visited web page. The camera can be a camera of a mobile terminal or a camera of other external devices.
[0050] Step S130: sending the first device identification and the second anti-counterfeiting verification information to a server, so that the server verifies the target device based on the first device identification and the second anti-counterfeiting verification information.
[0051] In the embodiment of the present application, the server pre-stores the verification information included in the first anti-counterfeiting verification information of the target device, and also pre-stores the verification information included in the second anti-counterfeiting verification information.
[0052] After the mobile terminal obtains the second anti-counterfeiting verification information through the input interface, the first device identification and the second anti-counterfeiting verification information are sent to the server. The server can then compare the first device identification and the second anti-counterfeiting verification information sent by the mobile terminal with the verification information corresponding to the pre-stored target device to verify the target device and determine whether the target device is authentic.
[0053] As a method, if a message indicating successful verification is received from the server, the target device is prompted to be authentic. Specifically, if the server finds verification information that matches the first device identification and the second anti-counterfeiting verification information sent by the mobile terminal in the pre-stored verification information, the server can send a message indicating successful verification to the mobile terminal to prompt the user that the target device is authentic.
[0054] As another way, if a message indicating that the verification has failed is received from the server, it is suggested that the target device is a counterfeit.
[0055] Specifically, if the server does not find any verification information that matches the first device identifier sent by the mobile terminal in the pre-stored verification information, or does not find any verification information that matches the second anti-counterfeiting verification information sent by the mobile terminal, the server can send a message indicating a verification failure to the mobile terminal to prompt the user that the target device is a counterfeit.
[0056] The present application provides an anti-counterfeiting verification method. When the first anti-counterfeiting verification information of the target device is missing the second device identification, the second anti-counterfeiting verification information of the target device can be obtained from the input interface of the mobile terminal, and the target device can be verified according to the second anti-counterfeiting verification information and the first device identification, thereby avoiding the problem that the device anti-counterfeiting function cannot function normally due to missing device information caused by device system errors or human errors when the device leaves the factory.
[0057] See also Figure 3 , an anti-counterfeiting verification method provided by an embodiment of the present application is applied to a mobile terminal, the method comprising:
[0058] Step S210: Acquire first anti-counterfeiting verification information of a target device, wherein the first anti-counterfeiting verification information at least includes a first device identification of the target device, and the first anti-counterfeiting verification information is obtained through the target device.
[0059] The first device identifier is the MAC address of the target device.
[0060] As one approach, the first anti-counterfeiting verification information of the target device is obtained by wireless communication.
[0061] In an embodiment of the present application, the wireless communication method can be a communication method based on a wireless communication protocol, wherein the wireless communication protocol can be a Bluetooth communication protocol, a Zigbee communication protocol, a WIFI communication protocol, and an infrared data transmission protocol, etc.
[0062] Specifically, when it is detected that the mobile terminal and the target device have established a wireless communication connection, the mobile terminal can automatically obtain the first anti-counterfeiting verification information of the target device through wireless communication. Optionally, in order to improve the security of the first anti-counterfeiting verification information during information transmission, when the mobile terminal obtains the first anti-counterfeiting verification information of the target device, in the process of the target device sending the first anti-counterfeiting verification information to the mobile terminal, the first anti-counterfeiting verification information can be encrypted and then sent to the mobile terminal. Specifically, the target device can encrypt the first anti-counterfeiting verification information according to a preset encryption rule, and send the encrypted information to the mobile terminal after obtaining the corresponding encrypted information. Furthermore, in order to complete the information transmission, a preset decryption rule corresponding to the preset encryption rule is usually pre-set in the mobile terminal to realize the decryption of the encrypted information generated in the target device. Among them, the preset encryption rule can be an MD5 algorithm, which is not specifically limited here.
[0063] Step S220: if the first anti-counterfeiting verification information lacks the second device identification of the target device, obtaining second anti-counterfeiting verification information, wherein the second anti-counterfeiting verification information is obtained through the input interface of the mobile terminal.
[0064] In the embodiment of the present application, the second device identifier is the serial number of the target device, and the second anti-counterfeiting verification information is the serial number of the target device.
[0065] Specifically, when it is determined that the serial number of the target device is missing in the first anti-counterfeiting verification information, the user can be prompted through the mobile terminal to enable the user to scan the serial number on the packaging box of the target device through the input interface of the mobile terminal, or to enable the user to manually enter the serial number of the target device through the input interface of the mobile terminal, so that the mobile terminal can obtain the second anti-counterfeiting verification information.
[0066] Optionally, in an embodiment of the present application, if the first anti-counterfeiting verification information includes the second device identification of the target device, the first anti-counterfeiting verification information is sent to the server so that the server verifies the target device based on the first device identification and the second device identification.
[0067] Specifically, when the first anti-counterfeiting verification information obtained by the mobile terminal includes both the serial number of the target device and the MAC address of the target device, the serial number of the target device and the MAC address of the target device are directly sent to the server. Optionally, in order to improve data transmission efficiency, when sending the serial number of the target device and the MAC address of the target device to the server, the serial number of the target device and the MAC address of the target device can be sent to the server as one piece of data.
[0068] Step S230: sending the first device identification and the second anti-counterfeiting verification information to a server, so that the server verifies the target device based on the first device identification and the second anti-counterfeiting verification information.
[0069] As a way, in order to improve the security of information transmission, before sending the first device identification and the second anti-counterfeiting verification information to the server, the first device identification and the second anti-counterfeiting verification information can be encrypted according to the preset encryption rules to generate corresponding encrypted information, and then the encrypted information is sent to the server. Furthermore, in order to complete the information transmission, the server is usually pre-set with preset decryption rules corresponding to the preset encryption rules to achieve decryption of the encrypted information sent by the mobile terminal. Among them, the preset encryption rules can be hash encryption algorithms, etc., which are not specifically limited here.
[0070] Optionally, when the first device identification and the second anti-counterfeiting verification information are sent to the server as a piece of data, the first device identification and the second anti-counterfeiting verification information can be stored in different fields, and then the server can determine the first device identification and the second anti-counterfeiting verification information according to the fields. Exemplarily, if the first device identification is the MAC address of the target device, and the second anti-counterfeiting verification information is the serial number of the target device, when the MAC address of the target device and the serial number of the target device are sent to the server as a piece of data, the following data can be generated according to the MAC address of the target device and the serial number of the target device: “#begin#”+“#data1#”+“#data2#”+“#end#”. Among them, the field data1 carries the first anti-counterfeiting verification information, that is, the MAC address of the target device, and the field data2 carries the second anti-counterfeiting verification information, that is, the serial number of the target device. Then, when the server receives the previous data, it can simultaneously obtain the MAC address of the target device and the serial number of the target device by obtaining the value of the corresponding field.
[0071] Then, the server can verify the target device based on the acquired MAC address and serial number of the target device.
[0072] Step S240: if a message indicating a verification failure sent by the server is received, a first verification number of times the message indicating a verification failure is received is obtained.
[0073] The first verification times is the number of failed verifications of the target device based on the first device identification and the second anti-counterfeiting verification information.
[0074] As a method, when the mobile terminal receives the message indicating verification failure sent by the server for the first time, the counting module of the mobile terminal starts counting, and when the mobile terminal receives the message indicating verification failure sent by the server once, the counting is accumulated once.
[0075] In an embodiment of the present application, since the first number of verification failures is the number of times that the target device is verified based on the first device identification and the second anti-counterfeiting verification information and the verification fails, when the server sends the number of verification failures to the mobile terminal, an identifier can be added to the specified data position of the message. The identifier is used to determine that the message is a message sent after the target device is verified based on the first device identification and the second anti-counterfeiting verification information and the verification fails.
[0076] Furthermore, when the mobile terminal receives a message indicating a verification failure sent in real time by the server, the first verification times corresponding to the message can be directly acquired from the counting module of the mobile terminal.
[0077] Step S250: Determine whether the first verification times are less than or equal to a first preset times. If so, execute step S260; if not, execute step S270.
[0078] In the embodiment of the present application, the first preset number of times is a preset maximum number of verification failures that can be used to verify the target device through the first device identification and the second anti-counterfeiting verification information. After the mobile terminal obtains the first verification number of times, the first verification number of times is compared with the first preset number of times to obtain a comparison result, and then it is determined whether to verify the target device again according to the same verification information based on the comparison result.
[0079] Step S260: Acquire the second anti-counterfeiting verification information again, and send the second anti-counterfeiting verification information acquired again to the server, so that the server verifies the target device based on the first device identifier and the second anti-counterfeiting verification information acquired again.
[0080] In an embodiment of the present application, if a message indicating verification failure is received from the server, and the first verification number of times the message is received is less than or equal to the first preset number, it can be determined that verification information matching the first device identification and the second anti-counterfeiting verification information is not found in the server, and the user is prompted again to scan the serial number on the packaging box of the target device or manually enter the serial number until the first verification number is greater than the first preset number. Setting multiple verifications can effectively reduce verification failures caused by scanning errors, or verification failures caused by input errors when the user manually enters the serial number.
[0081] Specifically, when the mobile terminal determines that the first verification number is less than or equal to the first verification number, the user is prompted to input the second anti-counterfeiting verification information again through the input interface of the mobile terminal, and the mobile terminal can obtain the second anti-counterfeiting verification information again. After the mobile terminal obtains the second anti-counterfeiting verification information again, the second anti-counterfeiting verification information obtained again is sent to the server. Since it has been determined that the first anti-counterfeiting verification information includes at least the first device identification of the target device, and the first device identification has been sent to the server when the verification information was sent to the server for the first time, when the second anti-counterfeiting verification information obtained again is sent to the server, there is no need to send the first device identification to the server again, thereby reducing the amount of data transmission.
[0082] After the mobile terminal sends the re-acquired second anti-counterfeiting verification information to the server, the server may verify the target device based on the re-acquired second anti-counterfeiting verification information and the first device identification sent by the mobile terminal.
[0083] Furthermore, in order to enable the server to distinguish whether the second anti-counterfeiting verification information sent by the mobile terminal is obtained through the input interface of the mobile terminal, the mobile terminal may, when sending the second anti-counterfeiting verification information to the server, add a field in the verification information that can indicate how many times the second anti-counterfeiting verification information is obtained through the input interface of the mobile terminal. For example, if verification information 1 is the second anti-counterfeiting verification information obtained through the input interface of the mobile terminal for the second time, then the field may be "#2"; if verification information 3 is the second anti-counterfeiting verification information obtained through the input interface of the mobile terminal for the fifth time, then the field may be "#5".
[0084] Step S270: Acquire third anti-counterfeiting verification information, and send the third anti-counterfeiting verification information to the server, so that the server verifies the target device based on the first device identifier and the third anti-counterfeiting verification information.
[0085] The third anti-counterfeiting verification information is obtained through an input interface of the mobile terminal, and the third anti-counterfeiting verification information includes different information from the second anti-counterfeiting verification information.
[0086] In the embodiment of the present application, the third anti-counterfeiting verification information may include at least one of the serial number of the target device, the order number of the target device, and the purchase channel. Specifically, the third anti-counterfeiting verification information is the order number and the purchase channel of the target device.
[0087] As a method, if the first verification times are greater than the first preset times, and the second anti-counterfeiting verification information is the second device identification, the third anti-counterfeiting verification information is obtained. Specifically, when the mobile terminal determines, based on the comparison result, that the first verification times are greater than the first preset times, and the second anti-counterfeiting verification information is the second device identification, the user is prompted to upload the shopping voucher of the target device through the input interface of the mobile terminal, so that the mobile terminal obtains the third anti-counterfeiting verification information.
[0088] When the mobile terminal sends the third anti-counterfeiting verification information to the server, in order for the server to distinguish the first anti-counterfeiting verification information, the second anti-counterfeiting verification information and the third anti-counterfeiting verification information, a data header of a specified format can be set for the first anti-counterfeiting verification information, the second anti-counterfeiting verification information and the third anti-counterfeiting verification information. For example, the data header of the first anti-counterfeiting verification information can be set to "@1", the data header of the second anti-counterfeiting verification information can be set to "@2", and the data header of the third anti-counterfeiting verification information can be set to "@3". In this way, the server can determine whether the verification information is the first anti-counterfeiting verification information, the second anti-counterfeiting verification information, or the third anti-counterfeiting verification information based on the data header of the received verification information.
[0089] Through the above method, after the mobile terminal sends the third anti-counterfeiting verification information to the server, the server can verify the target device based on the first device identification and the third anti-counterfeiting verification information, and after the verification of the target device fails, it can send a message indicating the verification failure to the mobile terminal.
[0090] Step S280: if a message indicating a verification failure sent by the server is received, a second verification number of times the message indicating a verification failure is received is obtained.
[0091] The second verification times is the number of times the target device is verified based on the first device identification and the third anti-counterfeiting verification information, and the verification result is a failure.
[0092] In the embodiment of the present application, since the second number of verification failures is the number of times the verification failure is sent based on the first device identifier and the third mobile terminal, when the server sends a message indicating the verification failure to the mobile terminal, it can add an identifier at the designated data position of the message, and the identifier is used to determine that the message is a message sent after the verification of the target device based on the first device identifier and the third anti-counterfeiting verification information fails. The designated data position here is the same as the aforementioned designated position, but the identifier here is different from the aforementioned identifier.
[0093] As a method, when the mobile terminal receives the message indicating verification failure sent by the server for the first time, the counting module of the mobile terminal starts counting, and when the mobile terminal receives the message indicating verification failure sent by the server once, the counting is accumulated once.
[0094] Specifically, when the mobile terminal obtains in real time the message sent by the server indicating that the verification has failed, the corresponding second verification times can be obtained from the counting module of the mobile terminal.
[0095] Step S290: If the second verification times are less than or equal to the second preset times, the third anti-counterfeiting verification information is obtained again.
[0096] The second preset number of times is greater than the first preset number of times, and the second preset number of times is a preset maximum number of verification failures that can be used to verify the target device through the same information.
[0097] When the mobile terminal determines that the second verification times are less than or equal to the second preset times, the third anti-counterfeiting verification information is obtained through the input interface of the mobile terminal. After the third anti-counterfeiting verification information is obtained again, the third anti-counterfeiting verification information obtained again is sent to the server. Since it has been determined that the first anti-counterfeiting verification information includes at least the first device identification of the target device, and the first device identification has been sent to the server when the verification information was sent to the server for the first time, there is no need to send the first device identification to the server again when the third anti-counterfeiting verification information obtained again is sent to the server.
[0098] Step S291: sending the reacquired third anti-counterfeiting verification information to the server, so that the server verifies the target device based on the reacquired third anti-counterfeiting verification information and the first device identifier.
[0099] Similarly, in order to enable the server to distinguish whether the third anti-counterfeiting verification information sent by the mobile terminal is obtained through the input interface of the mobile terminal, the mobile terminal may also add a field in the verification information that can indicate whether the third anti-counterfeiting verification information is obtained through the input interface of the mobile terminal when sending the third anti-counterfeiting verification information to the server.
[0100] When the mobile terminal sends the third anti-counterfeiting verification information obtained again to the server, the server determines that the verification information is the third anti-counterfeiting verification information based on the data header of the received verification information. The server can verify the target device based on the third anti-counterfeiting verification information obtained again and the first device identification sent by the mobile terminal.
[0101] The present application provides an anti-counterfeiting verification method. When the first anti-counterfeiting verification information of the target device is missing the second device identification, the target device can be verified based on the second anti-counterfeiting verification information of the target device obtained from other places, and then based on the re-acquired second anti-counterfeiting verification information and the first device identification. Furthermore, if the verification of the target device fails based on the re-acquired second anti-counterfeiting verification information and the first device identification, the third anti-counterfeiting verification information can be obtained, so that the target device can be verified again based on the third anti-counterfeiting verification information and the first device identification, thereby avoiding the problem of missing device information due to device system errors or human errors when the device leaves the factory, which makes the device anti-counterfeiting function unable to operate normally.
[0102] See also Figure 4 , an anti-counterfeiting verification method provided in an embodiment of the present application is applied to a server, and the method comprises:
[0103] Step S310: receiving first anti-counterfeiting verification information and second anti-counterfeiting verification information sent by a mobile terminal.
[0104] Among them, the first anti-counterfeiting verification information at least includes the first device identification of the target device, the first anti-counterfeiting verification information is obtained through the target device, and the second anti-counterfeiting verification information is obtained through the input interface of the mobile terminal when the second device identification of the target device is missing in the first anti-counterfeiting verification information.
[0105] Step S320: verifying the target device based on the first device identification and the second anti-counterfeiting verification information.
[0106] Specifically, the server may verify the target device according to the verification information sent by the mobile terminal obtained in real time.
[0107] As a method, when the verification information sent by the mobile terminal is the first device identification and the second anti-counterfeiting verification information, the server can verify the target device according to the first device identification and the second anti-counterfeiting verification information.
[0108] As another way, if the first anti-counterfeiting verification information sent by the mobile terminal includes a first device identifier and a second device identifier, the target device is verified based on the first device identifier and the second device identifier.
[0109] Specifically, after the server receives the complete first anti-counterfeiting verification information sent by the mobile terminal, it can verify the target device according to the first device identifier and the second device identifier in the first anti-counterfeiting verification information.
[0110] The present application provides an anti-counterfeiting verification method. When the first anti-counterfeiting verification information of the target device is missing the second device identification, the target device can be verified based on the second anti-counterfeiting verification information of the target device obtained from the input interface of the mobile terminal, and then based on the re-acquired second anti-counterfeiting verification information and the first device identification. This can avoid the problem that the device anti-counterfeiting function cannot function normally due to missing device information caused by device system errors or human errors when the device leaves the factory.
[0111] See also Figure 5 , an anti-counterfeiting verification method provided in an embodiment of the present application is applied to a server, and the method comprises:
[0112] Step S410: receiving first anti-counterfeiting verification information and second anti-counterfeiting verification information sent by a mobile terminal.
[0113] The details of step S410 may refer to the detailed explanation in the above embodiment, so it will not be described here in detail.
[0114] Step S420: verifying the target device based on the first device identification and the second anti-counterfeiting verification information.
[0115] As one method, the first device identifier is the MAC address of the target device, and the second anti-counterfeiting verification information is the serial number of the target device; a database storing the MAC address of the device and the serial number of the device is pre-established in the server, and the step of verifying the target device based on the first device identifier and the second anti-counterfeiting verification information includes: querying the database based on the MAC address of the target device and the serial number of the target device; determining whether the MAC address of the target device and the serial number of the target device are stored in the database to verify the target device.
[0116] Specifically, the first device identifier is the MAC address of the target device, and the second range verification information is the serial number of the target device. Optionally, the MAC of the device and the serial number of the device are pre-stored in the database of the server, and the MAC address of the device and the serial number of the device correspond one to one. When the server receives the MAC address of the target device and the serial number of the target device sent by the mobile terminal, the MAC address of the target device and the serial number of the target device are matched with the MAC address of the device and the serial number of the device pre-stored in the database to verify the target device.
[0117] When there is a matching MAC address and serial number in the database, the verification is determined to be successful, and a message indicating the verification success is returned to the mobile terminal. The mobile terminal prompts the user that the target device is authentic, and the mobile terminal provides the user with the mobile terminal application function of the target device normally. The mobile terminal application function may include controlling the target device through the mobile terminal application, such as turning on or off the target device.
[0118] Step S430: If the verification fails, obtain the first verification times of failed verification.
[0119] The first verification times refers to the number of times the target device is verified based on the first device identification and the second anti-counterfeiting verification information, and the verification result is a failure.
[0120] When there is no matching MAC address or serial number in the database, the verification is determined to have failed, and a message indicating the verification failure is returned to the mobile terminal. The mobile terminal prompts the user that the target device is a counterfeit, and the mobile terminal no longer provides the user with normal mobile application functions of the target device.
[0121] Step S440: Determine whether the first verification times are less than or equal to the first preset times. If so, execute step S450; if not, execute step S460.
[0122] The meaning of the first preset number of times is the same as the meaning of the first preset number of times mentioned above. Similarly, in the server, each time the verification of the target device based on the verification information fails once, the total number of first verification times increases once.
[0123] Step S450: Send a first prompt message to the mobile terminal, wherein the first prompt message is used to prompt the user to send the second anti-counterfeiting verification information obtained again through the mobile terminal; verify the target device based on the first device identifier and the second anti-counterfeiting verification information obtained again.
[0124] When the first verification times is less than or equal to the first preset times, the server can send a first prompt message to the mobile terminal to prompt the user to obtain the second anti-counterfeiting verification information again through the input interface of the mobile terminal. The mobile terminal will send the second anti-counterfeiting verification information obtained again to the server, and then the server can verify whether the target device is genuine or counterfeit based on the first device identification and the second anti-counterfeiting verification information obtained again.
[0125] Step S460: Sending a second prompt message to the mobile terminal, wherein the second prompt message is used to prompt the user to send third anti-counterfeiting verification information through the mobile terminal, and verifying the target device based on the first device identifier and the third anti-counterfeiting verification information.
[0126] The third anti-counterfeiting verification information is obtained through an input interface of the mobile terminal, and the third anti-counterfeiting verification information includes different information from the second anti-counterfeiting verification information.
[0127] When the first verification times are greater than the first preset times and the second anti-counterfeiting verification information is the serial number of the target device, a second prompt message is sent to the mobile terminal to prompt the user to upload the shopping voucher through the input interface of the mobile terminal, and then the mobile terminal can send the shopping voucher to the server.
[0128] When the server receives the shopping voucher sent by the mobile terminal, the server can perform image recognition on the shopping voucher to identify the order number and shopping channel corresponding to the target device, and then the server can verify the target device based on the first device identifier of the target device, the order number and shopping channel corresponding to the target device.
[0129] As one method, a database storing the order number of the device and the purchase channel of the device is pre-established in the server; the step of verifying the target device based on the first device identification and the third anti-counterfeiting verification information includes: obtaining the order number and purchase channel of the target device included in the third anti-counterfeiting verification information; based on the first device identification, the order number and purchase channel of the target device, querying the database to verify the target device.
[0130] Specifically, the order number of the device and the purchase channel of the device are pre-stored in the database of the server, and the order number of the device and the purchase channel of the device correspond one to one.
[0131] After the server obtains the order number and purchase channel of the target device, it can match the order number and purchase channel of the target device with the order number and purchase channel of the device pre-stored in the database, and match the first device identifier with the MAC address of the device pre-stored in the database.
[0132] When there is a matching order number, purchase channel, and MAC address in the database, the verification is determined to be successful, and a message indicating successful verification is returned to the mobile terminal. The mobile terminal prompts the user that the target device is authentic, and the mobile terminal provides the user with the mobile terminal application function of the target device as normal. The mobile terminal application function may include controlling the target device through the mobile terminal application, such as turning on or off the target device.
[0133] Step S470: If the verification fails, obtain a second verification number of failed verifications, wherein the second verification number is the number of times the target device is verified based on the first device identifier and the third anti-counterfeiting verification information and the verification result is a failure.
[0134] When there is no matching order number in the database, or no matching purchase channel, or no matching MAC address, it is determined that the verification has failed, and a second verification number of failed verifications is obtained based on the first device identification and the third anti-counterfeiting verification information to verify the target device.
[0135] Step S480: If the second verification times are less than or equal to the second preset times, a third prompt message is sent to the mobile terminal again, wherein the third prompt message is used to prompt the user to send the third anti-counterfeiting verification information obtained again through the mobile terminal.
[0136] The second preset number of times has the same meaning as the second preset number of times mentioned above. When the second verification number is less than or equal to the second preset number of times, the server may send a third prompt message to the mobile terminal to prompt the user to input the third anti-counterfeiting verification information again through the input interface of the mobile terminal, and the mobile terminal sends the third anti-counterfeiting verification information obtained again to the server, and then the server may verify whether the target device is genuine or counterfeit based on the first device identifier and the third anti-counterfeiting verification information obtained again.
[0137] Step S490: verifying the target device based on the first device identification and the third anti-counterfeiting verification information obtained again.
[0138] When there is no matching order number in the database, or no matching purchase channel, or no matching MAC address, the verification is determined to have failed, and a message indicating the verification failure is returned to the mobile terminal. The mobile terminal prompts the user that the target device is a counterfeit, and the mobile terminal no longer provides the user with the mobile application function of the target device.
[0139] The present application provides an anti-counterfeiting verification method. When the first anti-counterfeiting verification information of the target device is missing the second device identification, the target device can be verified based on the second anti-counterfeiting verification information of the target device obtained from the input interface of the mobile terminal, and then based on the re-acquired second anti-counterfeiting verification information and the first device identification. Furthermore, if the verification of the target device fails based on the re-acquired second anti-counterfeiting verification information and the first device identification, the third anti-counterfeiting verification information can be obtained, so that the target device can be verified again based on the third anti-counterfeiting verification information and the first device identification, thereby avoiding the problem of missing device information due to device system errors or human errors when the device leaves the factory, which makes the device anti-counterfeiting function unable to operate normally.
[0140] See also Figure 6 The embodiment of the present application provides an anti-counterfeiting verification device 500, which runs on a mobile terminal. The device 500 includes:
[0141] The first information acquisition unit 510 is configured to acquire first anti-counterfeiting verification information of a target device, wherein the first anti-counterfeiting verification information at least includes a first device identification of the target device, and the first anti-counterfeiting verification information is obtained through the target device.
[0142] Optionally, the first information acquisition unit 510 is configured to acquire first anti-counterfeiting verification information of the target device via wireless communication.
[0143] The second information acquisition unit 520 is configured to acquire second anti-counterfeiting verification information if the second device identification of the target device is missing in the first anti-counterfeiting verification information, wherein the second anti-counterfeiting verification information is obtained through an input interface of the mobile terminal.
[0144] The information sending unit 530 is configured to send the first device identification and the second anti-counterfeiting verification information to a server, so that the server verifies the target device based on the first device identification and the second anti-counterfeiting verification information.
[0145] Optionally, the information sending unit 530 is further used to send the first anti-counterfeiting verification information to the server if the first anti-counterfeiting verification information includes the second device identification of the target device, so that the server verifies the target device based on the first device identification and the second device identification.
[0146] See also Figure 7 , the device 500 further includes:
[0147] The first verification times acquisition unit 540 is used to acquire the first verification times of receiving the message indicating the verification failure sent by the server, wherein the first verification times is the number of times the target device is verified based on the first device identification and the second anti-counterfeiting verification information, and the verification result is a failure; if the first verification times is less than or equal to the first preset times, the second anti-counterfeiting verification information is acquired again; and the second anti-counterfeiting verification information acquired again is sent to the server, so that the server verifies the target device based on the first device identification and the second anti-counterfeiting verification information acquired again.
[0148] Optionally, the first verification times acquisition unit 540 is further used to obtain third anti-counterfeiting verification information if the first verification times is greater than the first preset times, wherein the third anti-counterfeiting verification information is obtained through the input interface of the mobile terminal, and the third anti-counterfeiting verification information is different from the information included in the second anti-counterfeiting verification information; and send the third anti-counterfeiting verification information to the server, so that the server verifies the target device based on the first device identification and the third anti-counterfeiting verification information.
[0149] The second verification times acquisition unit 550 is used for acquiring the second verification times of receiving the message indicating the verification failure sent by the server, wherein the second verification times is the number of times the target device is verified based on the first device identification and the third anti-counterfeiting verification information, and the verification result is a failure; if the second verification times is less than or equal to the second preset times, the third anti-counterfeiting verification information is acquired again; and the third anti-counterfeiting verification information acquired again is sent to the server, so that the server verifies the target device based on the third anti-counterfeiting verification information acquired again and the first device identification.
[0150] See also Figure 8 , an anti-counterfeiting verification device 600 provided in an embodiment of the present application runs on a server, and the device 600 includes:
[0151] The information receiving unit 610 is used to receive first anti-counterfeiting verification information and second anti-counterfeiting verification information sent by a mobile terminal, wherein the first anti-counterfeiting verification information at least includes a first device identification of a target device, the first anti-counterfeiting verification information is obtained through the target device, and the second anti-counterfeiting verification information is obtained through an input interface of the mobile terminal when the second device identification of the target device is missing in the first anti-counterfeiting verification information.
[0152] The verification unit 620 is configured to verify the target device based on the first device identification and the second anti-counterfeiting verification information.
[0153] Optionally, the verification unit 620 is further used to obtain the order number and purchase channel of the target device included in the third anti-counterfeiting verification information; based on the first device identifier, the order number and purchase channel of the target device, query the database to verify the target device.
[0154] Optionally, the verification unit 620 is further used to verify the target device based on the first device identification and the second device identification if first anti-counterfeiting verification information sent by the mobile terminal is received, and the first anti-counterfeiting verification information includes the first device identification and the second device identification.
[0155] Furthermore, the verification unit 620 is further configured to query the database based on the MAC address of the target device and the serial number of the target device; and determine whether the MAC address of the target device and the serial number of the target device are stored in the database to verify the target device.
[0156] See also Fig. 9 , the device 600 further includes:
[0157] The first verification times acquisition unit 630 is used to acquire the first verification times of failed verification if the verification fails, wherein the first verification times is the number of times the target device is verified based on the first device identification and the second anti-counterfeiting verification information, and the verification result is a failure; if the first verification times is less than or equal to the first preset times, a first prompt message is sent to the mobile terminal, and the first prompt message is used to prompt the user to send the second anti-counterfeiting verification information obtained again through the mobile terminal; based on the first device identification and the second anti-counterfeiting verification information obtained again, the target device is verified.
[0158] Optionally, the first verification times acquisition unit 630 is used to send a second prompt message to the mobile terminal if the first verification times is greater than the first preset times, and the second prompt message is used to prompt the user to send third anti-counterfeiting verification information through the mobile terminal, wherein the third anti-counterfeiting verification information is obtained through the input interface of the mobile terminal, and the third anti-counterfeiting verification information is different from the information included in the second anti-counterfeiting verification information; the target device is verified based on the first device identification and the third anti-counterfeiting verification information.
[0159] The second verification times acquisition unit 640 is used to acquire the second verification times of failed verification if the verification fails, wherein the second verification times is the number of times the target device is verified based on the first device identification and the third anti-counterfeiting verification information, and the verification result is a failure; if the second verification times is less than or equal to the second preset times, a third prompt message is sent to the mobile terminal again, and the third prompt message is used to prompt the user to send the third anti-counterfeiting verification information obtained again through the mobile terminal; based on the first device identification and the third anti-counterfeiting verification information obtained again, the target device is verified.
[0160] See also Fig.10 The embodiment of the present application provides an anti-counterfeiting verification system 700, wherein the system 700 includes a mobile terminal 710 and a server 720.
[0161] The mobile terminal 710 is used to obtain first anti-counterfeiting verification information of a target device, wherein the first anti-counterfeiting verification information at least includes a first device identification of the target device, and the first anti-counterfeiting verification information is obtained through the target device.
[0162] The mobile terminal 710 is used to obtain second anti-counterfeiting verification information if the second device identification of the target device is missing in the first anti-counterfeiting verification information, wherein the second anti-counterfeiting verification information is obtained through an input interface of the mobile terminal 710 .
[0163] The mobile terminal 710 is used to send the first device identification and the second anti-counterfeiting verification information to the server 720 .
[0164] The server 720 is used to receive the first device identification and the second anti-counterfeiting verification information sent by the mobile terminal 710.
[0165] The server 720 is configured to verify the target device based on the first device identification and the second anti-counterfeiting verification information.
[0166] The specific application process of the above method is as follows Fig.11As shown, the user submits a production order to the MES system, and the MES system generates a corresponding unique serial number list according to the production order quantity (there is no duplication with the previous serial number); according to the serial number list data of the production, the corresponding number of packaging boxes is produced, and the serial numbers are affixed one by one (the serial number affixed to each package is different); during the production process, when the produced equipment needs to be put into the packaging box, the MES system is used to connect the equipment, and after the connection, the MES system is used to scan the serial number of the packaging box; the MES system reads the serial number of the packaging box and writes it to the corresponding equipment; the MES system reads the serial number and MAC in the equipment, uploads it to the server after local backup, and the server stores the serial number and MAC in the equipment table; if after production, it is found that the actual outbound quantity is inconsistent with the quantity uploaded to the server, the MES system will remove the duplicates of the serial number list generated in the first step and upload it to the server. At this time, the server database has normal records containing both serial numbers and MACs, as well as abnormal records containing only serial numbers.
[0167] After the user purchases the device, he uses the mobile application of the mobile terminal to establish a Bluetooth connection with the device; the mobile terminal automatically reads the serial number and MAC of the device; if the mobile terminal reads the serial number and MAC successfully, it is uploaded to the server. If the server can query the serial number and MAC address in the database, it is marked as authentic; if there is no matching serial number and MAC in the database, it is marked as a counterfeit and the verification failure result is returned.
[0168] If the serial number read by the mobile terminal is empty, the user is prompted to scan the serial number on the packaging box for verification or manually enter the serial number for verification; upload the scanned serial number or the manually entered serial number to the server. If the server can query the serial number and MAC address in the database, it is marked as authentic; if there is no matching serial number and MAC in the database, it is marked as a counterfeit and the verification failure result is returned.
[0169] After the device is authenticated by scanning the serial number on the packaging box or manually inputting the serial number and the authentication fails, the mobile terminal can retry uploading the serial number or the shopping voucher to the server. After the mobile terminal uploads the shopping voucher to the server, the server will perform image recognition on the shopping voucher to identify the corresponding order number and shopping channel. After the server identifies the order number and shopping channel, it will match it with the existing order list in the server's database. If the match is successful, the device is marked as authentic and the mobile terminal will no longer verify the device. If the match fails, the mobile terminal can re-upload the shopping voucher to authenticate the device.
[0170] It should be noted that the device embodiment in the present application corresponds to the aforementioned method embodiment. The specific principles in the device embodiment can be found in the contents of the aforementioned method embodiment and will not be repeated here.
[0171] The following will be combined Fig.11 A mobile terminal or server provided in the present application is described.
[0172] See also Fig.11 Based on the above anti-counterfeiting verification method and device, the embodiment of the present application also provides another mobile terminal or server 800 that can execute the above anti-counterfeiting verification method. The mobile terminal or server 800 includes one or more (only one is shown in the figure) processors 802, a memory 804 and a network module 806 that are coupled to each other. Among them, the memory 804 stores a program that can execute the content of the above embodiment, and the processor 802 can execute the program stored in the memory 804.
[0173] Among them, the processor 802 may include one or more processing cores. The processor 802 uses various interfaces and lines to connect the various parts of the entire mobile terminal or server 800, and executes various functions and processes data of the mobile terminal or server 800 by running or executing instructions, programs, code sets or instruction sets stored in the memory 804, and calling data stored in the memory 804. Optionally, the processor 802 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 802 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 802, but may be implemented separately through a communication chip.
[0174] The memory 804 may include a random access memory (RAM) or a read-only memory (ROM). The memory 804 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 804 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the mobile terminal or server 800 during use.
[0175] The network module 806 is used to receive and send electromagnetic waves, realize the mutual conversion between electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices, such as communicating with an audio playback device. The network module 806 may include various existing circuit elements for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption / decryption chips, user identity modules (SIM) cards, memories, etc. The network module 806 may communicate with various networks such as the Internet, corporate intranets, wireless networks, or communicate with other devices via wireless networks. The above-mentioned wireless networks may include cellular telephone networks, wireless local area networks, or metropolitan area networks. For example, the network module 806 may exchange information with a base station.
[0176] Please refer to Fig.12 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable storage medium 900 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0177] The computer-readable storage medium 900 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer-readable storage medium 900 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 900 has storage space for program code 910 that performs any method step in the above method. These program codes can be read from or written to one or more computer program products. The program code 910 can be compressed, for example, in an appropriate form.
[0178] The present application provides an anti-counterfeiting verification method, device, system, mobile terminal, server and storage medium, which first obtains the first anti-counterfeiting verification information of the target device, wherein the first anti-counterfeiting verification information at least includes the first device identification of the target device, and the first anti-counterfeiting verification information is obtained through the target device. If the second device identification of the target device is missing in the first anti-counterfeiting verification information, the second anti-counterfeiting verification information is obtained, wherein the second anti-counterfeiting verification information is obtained through the input interface of the mobile terminal, and then the first device identification and the second anti-counterfeiting verification information are sent to the server, so that the server verifies the target device based on the first device identification and the second anti-counterfeiting verification information. Through the above method, in the case that the anti-counterfeiting verification information of the target device obtained lacks the second device identification, the target device can be verified according to the anti-counterfeiting verification information of the target device obtained from the input interface of the mobile terminal, and then the target device can be verified according to the re-acquired anti-counterfeiting verification information and the first device identification, thereby avoiding the problem that the device information is missing due to device system errors or human errors when the device leaves the factory, resulting in the anti-counterfeiting function of the device not being able to function normally.
[0179] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. An anti-counterfeiting verification method, characterized in that: Applied to a mobile terminal, the method comprises: Acquire first anti-counterfeiting verification information of the target device, wherein the first anti-counterfeiting verification information at least includes a first device identifier of the target device, the first anti-counterfeiting verification information is obtained through the target device, and the first device identifier is a MAC address of the target device; If the first anti-counterfeiting verification information lacks the second device identification of the target device, obtaining second anti-counterfeiting verification information, wherein the second anti-counterfeiting verification information is obtained through the input interface of the mobile terminal, and the second anti-counterfeiting verification information is at least one of the serial number of the target device, the order number of the target device, and the purchase channel, wherein the order number and the purchase channel of the target device are determined based on the shopping voucher uploaded by the input interface; Sending the first device identification and the second anti-counterfeiting verification information to a server, so that the server verifies the target device based on the first device identification and the second anti-counterfeiting verification information; If a message indicating a verification failure is received from the server, obtaining a first verification number of times the message indicating a verification failure is received; If the first verification number is greater than the first preset number, obtaining third anti-counterfeiting verification information, wherein the third anti-counterfeiting verification information is obtained through the input interface of the mobile terminal, and the third anti-counterfeiting verification information includes different information from the second anti-counterfeiting verification information; The third anti-counterfeiting verification information is sent to the server, so that the server verifies the target device based on the first device identification and the third anti-counterfeiting verification information.
2. The method according to claim 1, characterized in that After sending the first device identification and the second anti-counterfeiting verification information to a server so that the server verifies the target device based on the first device identification and the second anti-counterfeiting verification information, the following further includes: If a message indicating a verification failure is received from the server, obtaining a first verification number indicating that the verification failure has been received, wherein the first verification number is the number of times the target device is verified based on the first device identifier and the second anti-counterfeiting verification information, and the verification result is a failure; If the first verification number is less than or equal to the first preset number, obtaining the second anti-counterfeiting verification information again; The reacquired second anti-counterfeiting verification information is sent to a server, so that the server verifies the target device based on the first device identifier and the reacquired second anti-counterfeiting verification information.
3. The method according to claim 1, characterized in that After sending the third anti-counterfeiting verification information to the server so that the server verifies the target device based on the first device identifier and the third anti-counterfeiting verification information, the method further includes: If a message indicating a verification failure is received from the server, obtaining a second verification number indicating that the verification failure is received, wherein the second verification number is the number of times the target device is verified based on the first device identifier and the third anti-counterfeiting verification information, and the verification result is a failure; If the second verification number is less than or equal to the second preset number, obtaining the third anti-counterfeiting verification information again; The reacquired third anti-counterfeiting verification information is sent to the server, so that the server verifies the target device based on the reacquired third anti-counterfeiting verification information and the first device identification.
4. The method according to claim 1, characterized in that: The second anti-counterfeiting verification information includes at least one of the serial number of the target device and the shopping voucher of the target device, and the third anti-counterfeiting verification information includes at least one of the serial number of the target device and the shopping voucher of the target device.
5. The method according to claim 1, characterized in that The second anti-counterfeiting verification information is the serial number of the target device, and the third anti-counterfeiting verification information is the shopping voucher of the target device.
6. The method according to claim 1, characterized in that The method further comprises: If the first anti-counterfeiting verification information includes the second device identification of the target device, the first anti-counterfeiting verification information is sent to the server, so that the server verifies the target device based on the first device identification and the second device identification.
7. The method according to claim 1, characterized in that The step of obtaining first anti-counterfeiting verification information of a target device includes: The first anti-counterfeiting verification information of the target device is obtained by wireless communication.
8. The method according to any one of claims 1 to 7, characterized in that The method further comprises: If a message indicating successful verification is received from the server, it is indicated that the target device is authentic.
9. An anti-counterfeiting verification method, characterized in that: Applied to a server, the method comprises: Receiving first anti-counterfeiting verification information and second anti-counterfeiting verification information sent by a mobile terminal, wherein the first anti-counterfeiting verification information at least includes a first device identification of a target device, the first anti-counterfeiting verification information is obtained through the target device, and the second anti-counterfeiting verification information is obtained through an input interface of the mobile terminal when the second device identification of the target device is missing in the first anti-counterfeiting verification information, the first device identification is a MAC address of the target device, and the second anti-counterfeiting verification information is at least one of a serial number of the target device, an order number of the target device, and a purchase channel, wherein the order number and the purchase channel of the target device are determined based on a shopping voucher uploaded through the input interface; Verifying the target device based on the first device identification and the second anti-counterfeiting verification information; If the verification fails, obtain the first verification number of failed verifications; If the first verification times are greater than the first preset times, sending a second prompt message to the mobile terminal, wherein the second prompt message is used to prompt the user to send third anti-counterfeiting verification information through the mobile terminal, wherein the third anti-counterfeiting verification information is obtained through the input interface of the mobile terminal, and the third anti-counterfeiting verification information includes different information from the second anti-counterfeiting verification information; The target device is verified based on the first device identification and the third anti-counterfeiting verification information.
10. The method according to claim 9, characterized in that After verifying the target device based on the first device identifier and the second anti-counterfeiting verification information, the method further includes: If the verification fails, obtaining a first verification number of failed verifications, wherein the first verification number is the number of times the target device is verified based on the first device identifier and the second anti-counterfeiting verification information, and the verification result is a failure; If the first verification times are less than or equal to the first preset times, sending a first prompt message to the mobile terminal, wherein the first prompt message is used to prompt the user to send the second anti-counterfeiting verification information obtained again through the mobile terminal; The target device is verified based on the first device identification and the second anti-counterfeiting verification information obtained again.
11. The method according to claim 9, characterized in that The server has a database pre-established to store the order number of the device and the purchase channel of the device; The verifying the target device based on the first device identifier and the third anti-counterfeiting verification information includes: Obtaining the order number and purchase channel of the target device included in the third anti-counterfeiting verification information; Based on the first device identification, the order number and the purchase channel of the target device, the database is queried to verify the target device.
12. The method according to claim 9, characterized in that After verifying the target device based on the first device identifier and the third anti-counterfeiting verification information, the method further includes: If the verification fails, obtaining a second verification number of failed verifications, wherein the second verification number is the number of times the target device is verified based on the first device identifier and the third anti-counterfeiting verification information, and the verification result is a failure; If the second verification number is less than or equal to the second preset number, a third prompt message is sent to the mobile terminal again, where the third prompt message is used to prompt the user to send the third anti-counterfeiting verification information obtained again through the mobile terminal; The target device is verified based on the first device identification and the third anti-counterfeiting verification information obtained again.
13. The method according to claim 9, characterized in that The method further comprises: If first anti-counterfeiting verification information sent by the mobile terminal is received, and the first anti-counterfeiting verification information includes the first device identifier and the second device identifier; The target device is authenticated based on the first device identifier and the second device identifier.
14. The method according to any one of claims 9 to 13, characterized in that: The first device identifier is the MAC address of the target device, and the second anti-counterfeiting verification information is the serial number of the target device; a database storing the MAC address of the device and the serial number of the device is pre-established in the server, and the target device is verified based on the first device identifier and the second anti-counterfeiting verification information, including: querying the database based on the MAC address of the target device and the serial number of the target device; It is determined whether the MAC address of the target device and the serial number of the target device are stored in the database to verify the target device.
15. An anti-counterfeiting verification device, characterized in that: Running on a mobile terminal, the device comprises: A first information acquisition unit is used to acquire first anti-counterfeiting verification information of a target device, wherein the first anti-counterfeiting verification information at least includes a first device identifier of the target device, the first anti-counterfeiting verification information is obtained through the target device, and the first device identifier is a MAC address of the target device; a second information acquisition unit, configured to acquire second anti-counterfeiting verification information if the second device identification of the target device is missing in the first anti-counterfeiting verification information, wherein the second anti-counterfeiting verification information is obtained through an input interface of the mobile terminal, and the second anti-counterfeiting verification information is at least one of a serial number of the target device, an order number of the target device, and a purchase channel, wherein the order number and the purchase channel of the target device are determined based on a shopping voucher uploaded through the input interface; an information sending unit, configured to send the first device identification and the second anti-counterfeiting verification information to a server, so that the server verifies the target device based on the first device identification and the second anti-counterfeiting verification information; A first verification times acquisition unit is configured to, if a message indicating a verification failure is received from the server, acquire the first verification times of receiving the message indicating a verification failure; if the first verification times is greater than the first preset times, acquire third anti-counterfeiting verification information, wherein the third anti-counterfeiting verification information is obtained through an input interface of the mobile terminal, and the third anti-counterfeiting verification information is different from information included in the second anti-counterfeiting verification information; and send the third anti-counterfeiting verification information to the server so that the server verifies the target device based on the first device identifier and the third anti-counterfeiting verification information.
16. An anti-counterfeiting verification device, characterized in that: Running on a server, the device comprises: an information receiving unit, configured to receive first anti-counterfeiting verification information and second anti-counterfeiting verification information sent by a mobile terminal, wherein the first anti-counterfeiting verification information at least includes a first device identification of a target device, the first anti-counterfeiting verification information is obtained through the target device, and the second anti-counterfeiting verification information is obtained through an input interface of the mobile terminal when the second device identification of the target device is missing from the first anti-counterfeiting verification information, the first device identification is a MAC address of the target device, and the second anti-counterfeiting verification information is at least one of a serial number of the target device, an order number of the target device, and a purchase channel, wherein the order number and the purchase channel of the target device are determined based on a shopping voucher uploaded through the input interface; A verification unit, configured to verify the target device based on the first device identification and the second anti-counterfeiting verification information; A first verification times acquisition unit is used to acquire the first verification times of failed verification if the verification fails; if the first verification times is greater than the first preset times, send a second prompt message to the mobile terminal, the second prompt message is used to prompt the user to send third anti-counterfeiting verification information through the mobile terminal, wherein the third anti-counterfeiting verification information is obtained through the input interface of the mobile terminal, and the third anti-counterfeiting verification information is different from the information included in the second anti-counterfeiting verification information; verify the target device based on the first device identification and the third anti-counterfeiting verification information.
17. An anti-counterfeiting verification system, characterized in that: The system includes a mobile terminal and a server. The mobile terminal is used to obtain first anti-counterfeiting verification information of a target device, wherein the first anti-counterfeiting verification information at least includes a first device identifier of the target device, the first anti-counterfeiting verification information is obtained through the target device, and the first device identifier is a MAC address of the target device; the mobile terminal being configured to obtain second anti-counterfeiting verification information if the second device identification of the target device is missing in the first anti-counterfeiting verification information, wherein the second anti-counterfeiting verification information is obtained through an input interface of the mobile terminal, and the second anti-counterfeiting verification information is at least one of a serial number of the target device, an order number of the target device, and a purchase channel, wherein the order number and the purchase channel of the target device are determined based on a shopping voucher uploaded through the input interface; The mobile terminal is used to send the first device identification and the second anti-counterfeiting verification information to the server; The server is configured to receive the first device identification and the second anti-counterfeiting verification information sent by the mobile terminal; The server is configured to verify the target device based on the first device identification and the second anti-counterfeiting verification information; The mobile terminal is configured to, if receiving a message sent by the server indicating a verification failure, obtain a first verification number for receiving the message indicating a verification failure; if the first verification number is greater than the first preset number, obtain third anti-counterfeiting verification information, wherein the third anti-counterfeiting verification information is obtained through an input interface of the mobile terminal, and the third anti-counterfeiting verification information is different from the information included in the second anti-counterfeiting verification information; and send the third anti-counterfeiting verification information to the server; The server is used to verify the target device based on the first device identification and the third anti-counterfeiting verification information.
18. A mobile terminal, characterized in that: The method comprises one or more processors and a memory; one or more programs are stored in the memory and are configured so that the one or more processors execute the method according to any one of claims 1 to 8.
19. A server, characterized in that: The method comprises one or more processors and a memory; one or more programs are stored in the memory and are configured so that the one or more processors execute the method according to any one of claims 9 to 14.
20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program code, wherein when the program code is executed by a processor, the method according to any one of claims 1 to 8 or any one of claims 9 to 14 is executed.
Citation Information
Patent Citations
Steel product anti-counterfeiting verification system based on two-dimensional code
CN111708955A
Method and system for identifying authenticity of article based on information storage of block chain
CN112488261A