A device identification method, system, device and medium

By acquiring multiple photos of the device, extracting and fitting the feature information of the QR code and anti-counterfeiting code, the identification difficulties caused by damaged QR codes or serial numbers in device identification are solved, and fast and accurate device identification is achieved.

CN116843943BActive Publication Date: 2026-02-13SHANGHAI SIGEYUAN INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310602903.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-25
Publication Date
2026-02-13
Estimated Expiration
2043-05-25

AI Technical Summary

Technical Problem

Existing equipment cannot recognize QR codes or serial numbers when they are damaged, which prevents the station from opening. Re-querying equipment information is time-consuming and prone to errors due to manual input. A single identification information channel is unreliable.

Method used

By acquiring multiple photos of the target device, the feature information of the damaged QR code, damaged anti-counterfeiting code, and specified feature information is extracted and fitted into a unique identification code, which is then used for device identification.

Benefits of technology

It solves the problems of time-consuming re-querying of device information and errors in manual input, and provides a reliable multiple identification method to ensure the success and authenticity of device identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116843943B_ABST
    Figure CN116843943B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of computer image processing, in particular to a device identification method, comprising: acquiring multiple photos of a target device, the multiple photos comprising a damaged two-dimensional code photo, a damaged anti-counterfeit code photo and a first designated feature information photo; extracting feature information of the damaged two-dimensional code, feature information of the damaged anti-counterfeit code and feature information of the first designated feature information photo; fitting the feature information of the damaged two-dimensional code, the feature information of the damaged anti-counterfeit code and the feature information of the first designated feature information photo into a first unique identification code; and using the first unique identification code to identify the target device. The present application solves the problem of long time consumption in re-querying device information by extracting and fitting the feature information of the damaged two-dimensional code, the damaged anti-counterfeit code and the designated feature information, and also solves the possibility of manual input error and the problem of unreliable single identification information channel.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of computer image processing, and particularly relates to a device identification method, system, device and medium. BACKGROUND

[0002] A two-dimensional code is a black-and-white pattern that records data information in two-dimensional direction by using a certain specific geometric pattern according to a certain distribution rule. The two-dimensional code has different code standards like a one-dimensional bar code, and each code standard has different encoding rules. Each character information in the two-dimensional bar code symbol occupies a certain width, has a specific character set, strong error correction and identification functions, image processing functions, etc. The two-dimensional bar code has the advantages of large information capacity, high density, strong error correction capability, good security, wide encoding range, etc. At the same time, it can also introduce a check error correction code to have the ability to detect and recover deleted errors. In addition to representing basic English, Chinese characters and numerical information, the two-dimensional code can also store sound, fingerprints, photos and images and other information. The two-dimensional bar code technology greatly reduces the dependence on computer networks and databases, and relies on the bar code label itself to play the role of data information storage and communication.

[0003] For a long time, counterfeit and inferior goods have endangered the vital interests of enterprises and consumers, and seriously affected the economic development of the country. In order to protect the interests of enterprises and consumers and ensure the healthy development of the market economy, the state and enterprises spend a lot of manpower and financial resources on anti-counterfeiting and cracking down on fraud every year. However, due to the single anti-counterfeiting technology and anti-counterfeiting method, the lack of anti-counterfeiting tools for ordinary consumers, and other factors, the anti-counterfeiting effect is not ideal. The existing equipment cannot identify the device when the two-dimensional code is damaged or the device SN number is damaged during the opening of the station, which leads to the inability to open the station, the time-consuming of requerying the device information, the error of manual input of the SN number, the misopening of the station, and the damage of the two-dimensional code. The single identification information channel is unreliable. SUMMARY

[0004] In view of the above-mentioned shortcomings of the prior art, the present application solves the problem of time-consuming of requerying the device information by extracting and fitting the feature information of the damaged two-dimensional code, the damaged anti-counterfeiting code and the specified feature information, and also solves the possibility of manual input error. At the same time, by using the two-dimensional code information, the anti-counterfeiting code information and the specified feature information, the problem of unreliable single identification information channel is solved.

[0005] To achieve the above-mentioned purposes and other related purposes, the device identification method of the present application comprises obtaining multiple photos of a target device, the multiple photos comprising a damaged two-dimensional code photo, a damaged anti-counterfeiting code photo and a first specified feature information photo.

[0006] extracting feature information of the damaged two-dimensional code, feature information of the damaged anti-fake code and feature information of the first specified feature information photo, fitting the feature information of the damaged two-dimensional code, the feature information of the damaged anti-fake code and the feature information of the first specified feature information photo into a first unique identification code, and identifying the target device by using the first unique identification code.

[0007] In an optional embodiment of the present application, before the step of obtaining multiple photos of the target device, the multiple photos including a damaged two-dimensional code photo, a damaged anti-fake code photo and a first specified feature information photo, the method further comprises the steps of: scanning a two-dimensional code and identifying the two-dimensional code; if the identification is successful, identifying the target device by checking a serial number and an anti-fake code; and if the identification is not successful, returning to the step of obtaining multiple photos of the target device.

[0008] In an optional embodiment of the present application, the step of identifying the target device by checking the serial number and the anti-fake code comprises the steps of: combining the serial number and the anti-fake code into a group of numbers; decrypting the group of numbers by using a key to obtain device information index; and searching the target device by using the device information index through a background database to complete the identification of the target device.

[0009] In an optional embodiment of the present application, the step of obtaining multiple photos of the target device, the multiple photos including a damaged two-dimensional code photo, a damaged anti-fake code photo and a first specified feature information photo, comprises the steps of: obtaining multiple photos of the target device; judging whether the multiple photos include a damaged two-dimensional code photo, a damaged anti-fake code photo and a first specified feature information photo; when the judgment result is "yes", executing the step of extracting feature information of the damaged two-dimensional code, feature information of the damaged anti-fake code and feature information of the first specified feature information photo; and when the judgment result is "no", returning to the step of obtaining multiple photos of the target device.

[0010] In an optional embodiment of the present application, the first specified feature information photo includes one or more combinations of an invoice photo, a specified page information photo of a user manual and a product information proof photo.

[0011] In an optional embodiment of the present application, the step of identifying the device by using the first unique identification code comprises the steps of: checking the first unique identification code and an original identification code; when the checking is successful, identifying the device successfully; and when the checking is not successful, identifying the device unsuccessfully.

[0012] In an optional embodiment of the present application, the step of identifying the device as a failure when the verification is unsuccessful further comprises: when the verification is unsuccessful, taking additional photos to obtain a second specified feature information photo; extracting feature information of the second specified feature information photo; fitting the feature information of the second specified feature information photo, the feature information of the damaged two-dimensional code, the feature information of the damaged anti-counterfeit code, and the feature information of the first specified feature information photo into a second unique identification code; verifying the second unique identification code with the original identification code; when the verification is successful, the identification is successful, and when the verification is unsuccessful, returning to the step of taking additional photos.

[0013] To achieve the above object and other related objects, the present application further provides a device identification system comprising: an acquisition module, which acquires multiple photos of a target device, the multiple photos comprising a damaged two-dimensional code photo, a damaged anti-counterfeit code photo, and a first specified feature information photo; an extraction module, which extracts feature information of the damaged two-dimensional code, feature information of the damaged anti-counterfeit code, and feature information of the first specified feature information photo; a fitting module, which fits the feature information of the damaged two-dimensional code, the feature information of the damaged anti-counterfeit code, and the feature information of the first specified feature information photo into a first unique identification code; and an identification module, which identifies the target device using the first unique identification code.

[0014] To achieve the above object and other related objects, the present application further provides an electronic device, which comprises:

[0015] one or more processors;

[0016] a storage device for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the device identification method.

[0017] To achieve the above object and other related objects, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor of a computer, causes the computer to perform the device identification method.

[0018] The technical effect of the present application is to provide a feature information identification device method. The present application identifies information through photos, extracts feature information of a damaged two-dimensional code, a damaged anti-counterfeit code, and specified feature information, and fits them into a unique identification code, thereby increasing a device identification approach and solving the problem of unreliable single identification information channel. In addition, the present application uses scanning a two-dimensional code and taking photos to achieve a minimalist start, and extracts feature information of a damaged anti-counterfeit code to help ensure the authenticity of a successfully identified device. BRIEF DESCRIPTION OF DRAWINGS

[0019] Figure 1An application scenario diagram of a device identification method according to the present application;

[0020] Figure 2 A flowchart of a device identification method according to the present application;

[0021] Figure 3 A specific flowchart of obtaining multiple photos of a target device according to the present application;

[0022] Figure 4 A specific flowchart of verifying identification according to the present application;

[0023] Figure 5 A specific flowchart of obtaining multiple photos of a target device according to the present application;

[0024] Figure 6 A specific flowchart of identifying a device using the first unique identification code according to the present application;

[0025] Figure 7 A general flowchart of a device identification method according to the present application;

[0026] Figure 8 A specific flowchart of a device identification method containing damage information according to the present application;

[0027] Figure 9 A specific flowchart of fitting according to the present application;

[0028] Figure 10 A functional module diagram of a device identification system according to the present application;

[0029] Figure 11 A structural block diagram of an electronic device according to the present application. DETAILED DESCRIPTION

[0030] The present application is herein described, by way of example only, with reference to the accompanying drawings, wherein:

[0031] It is to be understood that the above-mentioned arrangement is merely an example illustrating the basic concept of the present application, and thus the drawing only shows the components related to the present application, but not the number, shape and size of the components in actual implementation. The shape, number and ratio of the components in actual implementation can be changed arbitrarily, and the layout of the components can be more complicated.

[0032] In the following description, numerous specific details are discussed in order to provide a thorough explanation of embodiments of the application. It will be apparent, however, to one skilled in the art, that embodiments of the application can be practiced without these specific details. In other instances, well-known structures and devices are not described in detail in order to avoid obscuring embodiments of the application.

[0033] Figure 1 The application scenario of the device identification method provided by the embodiment of the application is as follows: the application first identifies a two-dimensional code, and if the identification is successful, the sequence code and the anti-counterfeit code of the two-dimensional code are checked, and if the checking is successful, the target device is successfully identified; if the two-dimensional code identification is not successful, multiple photos are taken, the photos contain a damaged two-dimensional code photo, a damaged anti-counterfeit code photo and a first specified feature information photo, and the feature information of the damaged two-dimensional code photo, the feature information of the damaged anti-counterfeit code photo and the feature information of the first specified feature information photo are extracted; then the extracted feature information of the damaged two-dimensional code photo, the feature information of the damaged anti-counterfeit code photo and the feature information of the first specified feature information photo are fitted through a voting method to obtain a first unique identification code; the first unique identification code is checked with the original identification code, and if the checking is successful, the target device is successfully identified; if the checking is not successful, other feature information is added in addition to the above feature information; then the feature information of the damaged two-dimensional code photo, the feature information of the damaged anti-counterfeit code photo and the feature information of the first specified feature information photo are fitted with the other feature information through the voting method to form a second unique identification code; the second unique identification code is checked with the original identification code, and if the checking is successful, the target device is successfully identified; if the checking is not successful, the feature information is continuously added. In other application scenarios, the identification of the target device can be set according to actual conditions, and the embodiment of the application does not limit this.

[0034] The electronic device can be any electronic product that can interact with a user, such as a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), an interactive Internet Protocol Television (IPTV), a smart wearable device, and the like.

[0035] The electronic device can also include a network device and / or a user device. The network device includes, but is not limited to, a single network server, a server group composed of multiple network servers, or a cloud composed of a large number of hosts or network servers based on cloud computing.

[0036] The network in which the electronic device is located includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (VPN), and the like.

[0037] Figure 2 is a flowchart of a device identification method provided by an embodiment of the present application, a feature information identification device method, and it should be noted that the present application is based on APP photographing digital feature code and two-dimensional code anti-counterfeiting information identification target device. The method can be applied to Figure 1 The implementation environment shown in the figure should be understood that the method can also be applied to other example implementation environments, and is specifically executed by devices in other implementation environments, and the present embodiment does not limit the implementation environment to which the method is applied.

[0038] As Figure 2 shown, the device identification method of the present embodiment at least includes:

[0039] Step S21: Obtain multiple photos of the target device, including a damaged two-dimensional code photo, a damaged anti-counterfeiting code photo, and a first specified feature information photo. It should be noted that there can be many photos of the target device, which can include photos with damaged information or photos without damaged information. Specifically, the multiple photos include one or a combination of one or more of invoice photos, instruction manual specified page information photos, and product information proof photos as the first specified feature information photo.

[0040] Step S22: Extract the feature information of the damaged two-dimensional code, the feature information of the damaged anti-counterfeiting code, and the feature information of the first specified feature information photo. It should be noted that the feature information of the damaged two-dimensional code and the feature information of the damaged anti-counterfeiting code must be extracted, and there is no difference in the order of extraction.

[0041] Step S23: fitting the feature information of the damaged two-dimensional code, the feature information of the damaged anti-counterfeit code and the feature information of the first designated feature information photo into a first unique identification code. It should be noted that the fitting is selected by voting method. For example, the feature information contained in the feature information of the damaged two-dimensional code photo is A23, the feature information corresponding to the subscript is 056; the feature information contained in the feature information of the damaged anti-counterfeit code photo is BCD, the feature information corresponding to the subscript is 123; the feature information contained in the feature information of the first designated feature information photo is 1234, the feature information corresponding to the subscript is 4567, when fitting, the subscripts are sorted according to the size of the digits, the subscript digit sorting is 01234567, and then voting, the voting result of the above is A: 1; B: 1; C: 1; D: 1; 1: 1; 2: 2; 3: 2; 4: 1, when there are the same subscripts, only one digital feature information is allowed to enter the fitting, so the fitting result is ABCD1234, that is, the first unique identification code is ABCD1234. Further, when the subscript is wrong, several digital feature information corresponding to one subscript may occur, then "?" will appear in the voting result, and the recognition will fail, an error will be reported, and other feature information needs to be added to recheck and match. It should be noted that the subscripts corresponding to each feature information are carried in each feature information, and when each feature information is extracted, the corresponding subscripts of each feature information are also extracted. For example, when the feature information of the damaged two-dimensional code photo is extracted, the corresponding subscript is also extracted.

[0042] Step S24: using the first unique identification code to identify the target device. It should be noted that the first unique identification code is checked with the original identification code, and the identification of the target device is completed if the checking is successful. Specifically, the first unique identification code ABCD1234 is matched with the decrypted original identification code ABCD12345678, and the device identification is successful if the matching is successful. If the matching is unsuccessful, the feature information of the second designated feature information photo is added, and the feature information of the damaged two-dimensional code photo, the feature information of the damaged anti-counterfeit code photo and the feature information of the first designated feature information photo are fitted by the above method.

[0043] As shown in Figure 3 The specific steps before obtaining the plurality of photos of the target device provided by the embodiment include:

[0044] Step S31: scanning the two-dimensional code and identifying the two-dimensional code. It should be noted that by scanning the two-dimensional code of the target device, it can be determined whether the two-dimensional code is successfully identified.

[0045] Step S32: If identification is successful, the target device is identified by verifying the serial number and anti-counterfeiting code. It should be noted that if identification is successful, the QR code can be scanned to obtain the serial number. The serial number is then verified against the anti-counterfeiting code; successful verification completes the identification of the target device.

[0046] Step S33: If recognition fails, return to the step of acquiring multiple photos of the target device. It should be noted that if recognition fails, photos of the damaged QR code and the damaged anti-counterfeiting code must be taken, along with photos of other feature information besides the damaged QR code and the damaged anti-counterfeiting code.

[0047] like Figure 4 As shown, the specific steps for verification and identification provided in this embodiment include:

[0048] Step S41: Combine the serial number and the anti-counterfeiting code into a set of numbers. It should be noted that the serial number is the serial number of the scanned QR code, which, together with the anti-counterfeiting code, will be used to form a set of numbers for subsequent decryption.

[0049] Step S42: Decrypt the set of numbers using the key to obtain the device information index. It should be noted that decrypting the set of numbers with the key yields an index of the device information corresponding to the set of numbers, which is used for subsequent device lookup.

[0050] Step S43: Use the device information index in the background database to search for the target device to complete the identification of the target device. It should be noted that there are two possible scenarios when using the device information index to search for the target device: one is that the corresponding device is found, and the other is that the corresponding device is not found. The reason for not finding the corresponding device may be that the device is not an original device or the device is too damaged, resulting in incomplete feature information.

[0051] like Figure 5 As shown, the specific steps for acquiring multiple photos of the target device provided in this embodiment include:

[0052] Step S51: Acquire multiple photos of the target device. It should be noted that photos containing all information about the target device should be taken to prepare for subsequent verification.

[0053] Step S52: Determine whether the multiple photos include a damaged QR code photo, a damaged anti-counterfeiting code photo, and a photo with the first specified feature information. It should be noted that the multiple photos may or may not contain damaged information, but the QR code and anti-counterfeiting code photos are considered damaged photos, while the photo with the first feature information may or may not be a damaged photo.

[0054] Step S53: When the judgment result is "Yes", the step of extracting the feature information of the damaged two-dimensional code, the feature information of the damaged anti-counterfeit code, and the feature information of the first specified feature information photo is performed.

[0055] Step S54: When the judgment result is "No", the step of obtaining multiple photos of the target device is returned.

[0056] As shown in Figure 6 The specific steps of identifying the device by using the first unique identification code provided by the embodiment include:

[0057] Step S61: The first unique identification code is checked with the original identification code. It should be noted that the first unique identification code is decrypted by a key to obtain the device information index corresponding to the first unique identification code, and then the target device is found by using the device information index through the background database.

[0058] Step S62: When the check is successful, the device is successfully identified.

[0059] Step S63: When the check is unsuccessful, the device identification fails. It should be noted that when the device identification fails, additional photos are taken to obtain a second specified feature information photo for subsequent operation. Specifically, the second specified feature information photo is obtained, the feature information of the second specified feature information photo is extracted, the feature information of the second specified feature information photo is fitted with the feature information of the damaged two-dimensional code, the feature information of the damaged anti-counterfeit code, and the feature information of the first specified feature information photo to form a second unique identification code, the second unique identification code is checked with the original identification code, and when the check is successful, the target device identification is successful. When the check is unsuccessful, the target device identification fails, and the step of taking additional photos is returned.

[0060] As shown in Figures 7-9 The technical solutions of the present application are described in combination with specific embodiments as follows:

[0061] It should be noted that the present application is aimed at identifying the target device by using the APP photographed digital feature information and the two-dimensional code anti-counterfeit information.

[0062] As shown in Figure 7As shown, a simplified approach is taken by scanning a QR code. If the QR code is successfully recognized, its serial number and anti-counterfeiting code are verified. If verification is successful, the target device is successfully identified. If QR code recognition fails, multiple photos of the target device are taken, and it is determined whether the photos include a damaged QR code photo, a damaged anti-counterfeiting code photo, and a photo with specified feature information. If the determination result is "yes," the feature information of the damaged QR code photo, the damaged anti-counterfeiting code photo, and the photo with specified feature information is extracted. These extracted feature information are then fitted into a unique identifier code. The unique identifier code is verified. If verification is successful, the target device is successfully identified; otherwise, the target device identification fails.

[0063] like Figure 8 As shown, Figure 8For the technical scheme of the figure when the two-dimensional code fails, specifically, when the two-dimensional code recognition fails, a plurality of photos are obtained and the photos are analyzed to determine whether the analyzed photos include a damaged two-dimensional code photo, a damaged anti-counterfeit code photo, and a specified feature information photo. The specified feature information includes an invoice, a specified page information of a user manual, and product information proof, etc. When the photos include a damaged two-dimensional code photo, a damaged anti-counterfeit code photo, and a specified feature information photo, the feature information of the damaged two-dimensional code photo, the feature information of the damaged anti-counterfeit code photo, and the feature information of the specified feature information photo are extracted, and the extracted feature information of the damaged two-dimensional code photo, the feature information of the damaged anti-counterfeit code photo, and the feature information of the specified feature information photo are fitted into a first unique identification code (the recommended identification result in the figure) using a voting method. For example, the feature information contained in the feature information of the damaged two-dimensional code photo is A23, the subscript corresponding to the feature information is 056; the feature information contained in the feature information of the damaged anti-counterfeit code photo is BCD, the subscript corresponding to the feature information is 123; the feature information contained in the feature information of the first specified feature information photo is 1234, the subscript corresponding to the feature information is 4567. When fitting, the subscripts are sorted according to the size of the numbers, the subscript numbers are sorted as 01234567, and then voting is performed. The voting result of the above is A: 1; B: 1; C: 1; D: 1; 1: 1; 2: 2; 3: 2; 4: 1. When there are the same subscripts, only one numerical feature information is allowed to enter the fitting. Therefore, the fitting result of the above is ABCD1234, that is, the first unique identification code is ABCD1234. The first unique identification code is checked with the original identification code (matching in the figure). When the check is successful, the target device is successfully identified. When the check is unsuccessful, other feature information is extracted and added, and fitted with the previously extracted feature information to form a second unique identification code. The second unique identification code is checked with the original identification code. When the check is successful, the device is successfully identified. When the check is unsuccessful, other feature information is continuously extracted and added, or when the subscript is wrong, one subscript corresponds to several numerical feature information, then "?" appears in the voting result, and it is determined that the identification fails and an error is reported. Other feature information needs to be added to recheck and match. It should be noted that the extraction and addition of other feature information can be from the previously photographed photos, or additional other photos can be photographed, of course, the damaged two-dimensional code photo and the damaged anti-counterfeit code photo can also be rephotographed to prevent inaccurate first photographing from causing the target device to fail.

[0064] As Figure 9 shown, Figure 9For the fitting process, specifically, when the device information decrypted by the target device is ABCD12345678, the information contained in the two-dimensional code is 12345678, the information contained in the anti-fake code is ABCD, which is used for subsequent verification, the feature information extracted from the broken two-dimensional code photo is 1_456_8, the feature information extracted from the broken anti-fake code photo is A_D, and the feature information extracted from the specified feature information photo is BCD4567. After the feature information is extracted, the fitting is performed on the feature information, and the first unique identification code (the recommended identification result in the figure) is obtained. The first unique identification code ABCD1xx4567x matches the target device decrypted device information ABCD12345678. If the matching verification is unsuccessful, the target device recognition fails, and the other feature information A12348 extracted before is added. The other feature information re-extracted is fitted with the feature information 1_456_8 extracted from the broken two-dimensional code photo, the feature information A_D extracted from the broken anti-fake code photo, and the feature information BCD4567 extracted from the specified feature information photo, and the second unique identification code ABCD12345678 is fitted. The second unique identification code ABCD12345678 matches the target device decrypted device information ABCD12345678. If the matching verification is successful, the target device recognition is successful.

[0065] As shown in Figure 10 The application also provides a device identification device system, which comprises an acquisition module 101, an extraction module 102, a fitting module 103, and an identification module 104. The acquisition module 101 is used to acquire multiple photos of a target device, and the multiple photos include a broken two-dimensional code photo, a broken anti-fake code photo, and a first specified feature information photo. The extraction module 102 is used to extract feature information of the broken two-dimensional code, feature information of the broken anti-fake code, and feature information of the first specified feature information photo. The fitting module 103 is used to fit the feature information of the broken two-dimensional code, the feature information of the broken anti-fake code, and the feature information of the first specified feature information photo into a first unique identification code. The identification module 104 is used to identify the target device by using the first unique identification code.

[0066] It should be noted that the device identification system provided in the above embodiments and shown in Figure 10 The device identification system provided in the above embodiments belongs to the same concept as the device identification method provided in the above embodiments, and the specific manner in which each module and unit performs operations has been described in detail in the method embodiments, which will not be described here. In actual application, the above functions can be distributed to different functional modules to complete, i.e., the internal structure of the device is divided into different functional modules to complete all or part of the functions described above, and this is not limited here.

[0067] Embodiments of the present application also provide an electronic device, comprising: one or more processors; a storage device for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the device identification method provided in each of the above embodiments.

[0068] Figure 11 A structural schematic diagram of a computer system of an electronic device suitable for implementing embodiments of the present application is shown. It should be noted that, Figure 11 The computer system 1100 of the electronic device shown is only an example, and should not impose any limitation on the functions and use range of embodiments of the present application.

[0069] As Figure 11 shown, the computer system 1100 includes a central processing unit (CPU) 1101, which can perform various appropriate actions and processes according to programs stored in a read-only memory (ROM) 1102 or programs loaded from a storage portion 1106 into a random access memory (RAM) 1103, such as performing the methods described in the above embodiments. Various programs and data required for system operation are also stored in the RAM 1103. The CPU 1101, the ROM 1102, and the RAM 1103 are connected to each other through a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.

[0070] The following components are connected to the I / O interface 1105: an input portion 1106 including a keyboard, a mouse, and the like; an output portion 1107 including a cathode ray tube (CRT), a liquid crystal display (LCD), and the like, and a speaker, and the like; a storage portion 1106 including a hard disk, and the like; and a communication portion 1108 including a network interface card such as a LAN (Local Area Network) card, a modem, and the like. The communication portion 1108 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the I / O interface 1105 as necessary. A removable recording medium 1111 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, and the like is attached to the drive 1110 as necessary, so that a computer program read therefrom is installed in the storage portion 1106 as necessary.

[0071] In particular, the processes described above with reference to the flowcharts can be implemented as a computer software program in accordance with embodiments of the present application. For example, embodiments of the present application include a computer program product comprising a computer program carried on a computer readable medium, the computer program comprising computer programs for executing the methods illustrated by the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via the communication section 1108, and / or installed from the removable medium 1111. When the computer program is executed by the central processing unit (CPU) 1101, various functions defined in the system of the present application are executed.

[0072] It should be noted that the computer readable medium shown in the embodiments of the present application can be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium may, for example, be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination of the above. More specific examples of the computer readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, the computer readable signal medium can include a data signal propagated in a baseband or as a carrier wave in a propagated data signal, in which the computer readable computer program is carried. Such a propagated data signal can take on many forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination thereof. The computer readable signal medium can also be any computer readable medium other than the computer readable storage medium that can send, propagate or transfer the program for use by or in connection with the instruction execution system, apparatus or device. The computer program contained in the computer readable medium can be transmitted by any suitable medium, including but not limited to wireless, wired, or the like, or any suitable combination thereof.

[0073] The flowcharts and block diagrams in the drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowcharts or block diagrams can represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowcharts, and combinations thereof, can be implemented by special purpose hardware-based systems that perform the specified functions or operations, or combinations of special purpose hardware and computer instructions.

[0074] The units described in the embodiments of the present application can be implemented by software, or by hardware, or by a combination of software and hardware. The units described may, in some cases, not be implemented as a separate unit, but may, in some cases, be implemented as a part of another unit.

[0075] Another aspect of the present application provides a computer readable storage medium, having stored thereon a computer program, which, when executed by a processor of a computer, causes the computer to perform the device identification method as described above. The computer readable storage medium may, in some cases, be included in the electronic device as described in the embodiments above, or may, in some cases, exist separately from the electronic device.

[0076] Another aspect of the present application provides a computer program product or computer program, which comprises computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device performs the device identification method as described in the embodiments above.

[0077] The above-described embodiments are merely illustrative for the principles and effects of the present application, and are not intended to limit the present application. Any person skilled in the art can make modifications or changes to the above-described embodiments without departing from the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by those skilled in the art without departing from the spirit and scope of the present application should be covered by the claims of the present application.

Claims

1. A device identification method, characterized in that, include: Acquire multiple photos of the target device, including photos of damaged QR codes, damaged anti-counterfeiting codes, and photos of first specified feature information. The first specified feature information photos include one or more combinations of invoice photos, photos of specified pages of the instruction manual, and photos of product information certificates. Extract the feature information of the damaged QR code, the feature information of the damaged anti-counterfeiting code, and the feature information of the first specified feature information photo; The feature information of the damaged QR code, the feature information of the damaged anti-counterfeiting code, and the feature information of the first specified feature information photo are fitted together to form a first unique identifier code; The target device is identified using the first unique identifier.

2. The device identification method according to claim 1, characterized in that, Before the step of acquiring multiple photos of the target device, wherein the multiple photos include photos of damaged QR codes, damaged anti-counterfeiting codes, and photos of the first specified feature information, the following steps are also included: Scan the QR code and recognize it; If the identification is successful, the target device will be identified by verifying the serial number and anti-counterfeiting code. If identification fails, return to the step of acquiring multiple photos of the target device.

3. The device identification method according to claim 2, characterized in that, The step of identifying the target device by verifying the serial number and anti-counterfeiting code includes: Combine the serial number and the anti-counterfeiting code into a set of numbers; The set of numbers is decrypted using a key to obtain the device information index; The target device is identified by using the device information index in the background database.

4. The device identification method according to claim 1, characterized in that, The step of acquiring multiple photos of the target device, including photos of a damaged QR code, a damaged anti-counterfeiting code, and a photo of a first specified feature information, includes: Acquire multiple photos from the target device; Determine whether the multiple photos include a damaged QR code photo, a damaged anti-counterfeiting code photo, and a photo with the first specified feature information; When the judgment result is "yes", the steps of extracting the feature information of the damaged QR code, the feature information of the damaged anti-counterfeiting code and the feature information of the first specified feature information photo are executed; If the result is "no", then return to the steps of obtaining multiple photos from the target device.

5. The device identification method according to claim 1, characterized in that, The step of using the first unique identifier to identify the device includes: Verify the first unique identifier code against the original identifier code; When the verification is successful, the identification device is successful; If the verification fails, the identification device fails.

6. The device identification method according to claim 5, characterized in that, The step following the step of identifying device failure when verification fails includes: If the verification fails, additional photos will be taken to obtain a second photo with the specified feature information. Extract the feature information of the second specified feature information photo; The feature information of the second specified feature information photo is fitted with the feature information of the damaged QR code, the feature information of the damaged anti-counterfeiting code and the feature information of the first specified feature information photo to form a second unique identifier code; Verify the second unique identifier code against the original identifier code; If the verification is successful, the recognition is successful; if the verification fails, the process returns to the step of taking additional photos.

7. A device identification system, characterized in that, include: The acquisition module acquires multiple photos of the target device, including photos of damaged QR codes, damaged anti-counterfeiting codes, and photos of first specified feature information. The first specified feature information photos include one or more combinations of invoice photos, photos of specified pages of the instruction manual, and photos of product information certificates. The extraction module extracts the feature information of the damaged QR code, the feature information of the damaged anti-counterfeiting code, and the feature information of the first specified feature information photo; The fitting module fits the feature information of the damaged QR code, the feature information of the damaged anti-counterfeiting code, and the feature information of the first specified feature information photo into a first unique identifier code. The identification module uses the first unique identifier to identify the target device.

8. An electronic device, characterized in that, The electronic device includes: One or more processors; A storage device for storing one or more programs, which, when executed by one or more processors, cause the electronic device to implement the device identification method as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, It stores a computer program that, when executed by the computer's processor, causes the computer to perform the device identification method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Anti-counterfeiting method of damaging pattern and character alternative multidimensional codes by character sheets

    CN101996518A

  • Two-dimensional code scanning method and device and electronic equipment

    CN113935348A