Filter element anti-counterfeiting method and related device
By obtaining and identifying the filter element logo image to determine whether the filter element is counterfeit, the problem of difficulty in filter element anti-counterfeiting in the existing technology is solved, and highly reliable and safe filter element anti-counterfeiting detection is achieved.
Patent Information
- Application Number
- CN202310886129.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-18
- Publication Date
- 2025-01-21
AI Technical Summary
The prior art is difficult to effectively prevent the counterfeit filter element, which may cause the counterfeit filter element to be installed on the water purifier, affecting the water quality and user health.
By obtaining the image of the filter element logo, the camera element is used to photograph the filter element to be identified loaded on the filtering equipment. Based on the identification results of the anti-counterfeiting mark of the filter element, it is judged whether the filter element is counterfeit, and the security is improved through ciphertext data transmission.
It achieves effective anti-counterfeiting detection of filter elements, improves the reliability and security of detection, and reduces the risk of counterfeit identification being stolen during transmission.
Smart Images

Figure CN119338475A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of household electrical appliances, and in particular to a filter element anti-counterfeiting method and related devices. Background Art
[0002] The filter element is an important part of the water purifier. If an unqualified filter element is installed on the water purifier, it will seriously affect the water quality of the water purifier. Drinking unqualified water will harm the health of the user and also damage the reputation of the water purifier brand. Therefore, providing an effective filter element anti-counterfeiting method is an urgent problem to be solved. Summary of the invention
[0003] The main technical problem solved by the present application is to provide a filter element anti-counterfeiting method and related devices, which can perform anti-counterfeiting detection on the filter element and ensure the reliability of the filter element anti-counterfeiting detection.
[0004] In order to solve the above-mentioned technical problems, the first aspect of the present application provides a filter element anti-counterfeiting method, which method includes: obtaining a filter element identification image; wherein, the filter element identification image is obtained by photographing a filter element to be identified loaded on the filtering device by a camera element on the filtering device; based on a first recognition result of the filter element anti-counterfeiting mark in the filter element identification image, a second recognition result characterizing whether the filter element to be identified is counterfeit is obtained; wherein, the first recognition result includes ciphertext data of the filter element anti-counterfeiting mark.
[0005] To solve the above technical problems, the second aspect of the present application provides an electronic device, which includes a memory and a processor connected to each other, the memory storing program instructions; the processor is used to execute the program instructions stored in the memory to implement the method provided by the first aspect above.
[0006] In order to solve the above-mentioned technical problems, the third aspect of the present application provides a filtering device, which includes a device body, a camera element and a main control module carried by the device body, the camera element and the main control module are communicatively connected, the camera element is used to photograph the filter element to be identified to obtain a filter element identification image, the filter element to be identified is used to be loaded on the device body, and the main control module is used to execute the method provided by the above-mentioned first aspect.
[0007] In order to solve the above technical problems, the fourth aspect of the present application provides a filter element anti-counterfeiting system, which includes a filter device and a server that are communicatively connected; the filter device is used to execute the method provided in the first aspect above.
[0008] To solve the above technical problems, the fifth aspect of the present application provides a computer-readable storage medium, which is used to store program instructions, and the program instructions can be executed by a processor to implement the method provided in the first aspect.
[0009] The beneficial effects of the present application are as follows: Different from the prior art, the present application first obtains a filter element identification image; wherein, the filter element identification image is obtained by photographing the filter element to be identified loaded on the filter device by the camera element on the filter device, and further based on the first identification result of the filter element anti-counterfeiting mark in the filter element identification image, a second identification result is obtained to characterize whether the filter element to be identified is counterfeit; wherein, the first identification result includes the ciphertext data of the filter element anti-counterfeiting mark. Through the above method, anti-counterfeiting detection of the filter element can be realized, and because the ciphertext data is transmitted during the communication process, the possibility of the filter element anti-counterfeiting mark being stolen during the communication transmission process can be reduced as much as possible, which helps to improve the security of the filter element anti-counterfeiting mark and the reliability of the filter element anti-counterfeiting detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 It is a schematic diagram of the process of the first embodiment of the filter element anti-counterfeiting method provided by the present application;
[0011] Figure 2 It is a schematic flow chart of the second embodiment of the filter element anti-counterfeiting method provided by the present application;
[0012] Figure 3 It is a schematic diagram of the framework structure of an embodiment of an electronic device provided by the present application;
[0013] Figure 4 It is a schematic diagram of the framework structure of an embodiment of the filtering device provided by the present application;
[0014] Figure 5 It is a schematic diagram of the framework structure of an implementation method of a filter element anti-counterfeiting system provided by the present application;
[0015] Figure 6 It is a schematic diagram of a framework of an implementation scheme of a computer-readable storage medium provided in the present application. DETAILED DESCRIPTION
[0016] The following is a clear and complete description of the technical solutions in the embodiments of the present application in conjunction with the drawings 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.
[0017] It should be noted that in the embodiments of the present application, there are descriptions involving "first", "second", etc., which are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features.
[0018] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0019] See also Figure 1 , Figure 1 : is a flow chart of the first embodiment of the filter element anti-counterfeiting method provided by the present application, the method comprising:
[0020] S11: Acquire a filter element identification image.
[0021] In one embodiment, the filter element identification image is obtained by photographing the filter element to be identified loaded on the filtering device by the imaging element on the filtering device. The filter element to be identified loaded on the filtering device may be the filter element installed when the filtering device leaves the factory, or may be the filter element replaced by the user. The imaging element may be any device capable of taking images, such as a camera; to solve the cost problem, a camera with the worst existing processing capability may be selected. When the filtering device is powered on, the imaging element may photograph the filter element to be identified to obtain a filter element identification image. In a specific embodiment, the filter element identification image may include only the filter element anti-counterfeiting mark, and the filter element anti-counterfeiting mark may be a QR code containing data information such as the production date, model, and expiration date of the filter element. In another specific embodiment, the filter element identification image may include an auxiliary identification mark and a filter element anti-counterfeiting mark; the auxiliary identification mark may be the trademark of the enterprise that produces the filter element.
[0022] S12: Based on the first recognition result of the filter element anti-counterfeiting mark in the filter element mark image, a second recognition result indicating whether the filter element to be recognized is counterfeit is obtained.
[0023] In one embodiment, the first recognition result includes the ciphertext data of the filter element anti-counterfeiting mark. Specifically, after the camera element on the filtering device captures the filter element identification image, the filter element identification image can be sent to the main control module in the filtering device, and the main control module identifies it to obtain a first recognition result; then based on the first recognition result, a second recognition result of whether the filter element to be identified is counterfeit is obtained. Among them, the second recognition result of whether the filter element to be identified is counterfeit based on the first recognition result can be executed by the main control module in the filtering device, that is, the main control module decrypts the ciphertext data to obtain the plaintext data of the filter element anti-counterfeiting mark, and determines whether the plaintext data is consistent with the encoding data of the filter element when it leaves the factory. If it is consistent, it indicates that the filter element has not been counterfeited; it can also be executed by a server connected to the filtering device, that is, the filtering device sends the first recognition result to the server, and the server processes it to obtain a second recognition result.
[0024] Specifically, the filter element anti-counterfeiting mark can be a QR code, and the QR code is identified to obtain the ciphertext data corresponding to the filter element anti-counterfeiting mark, and the ciphertext data can be obtained by encrypting the plaintext data including the production date, model, validity period, etc. of the filter element. In a specific embodiment, the second identification result is determined by the server based on the association information corresponding to the filter element to be identified, and the association information is obtained based on the plaintext data corresponding to the filter element anti-counterfeiting mark. The association information indicates whether the filter element to be identified is associated with other filtering devices, and the plaintext data is obtained by the server decrypting the ciphertext data received from the filtering device. Specifically, the filtering device sends the ciphertext data corresponding to the filter element anti-counterfeiting mark to the server, and the server decrypts the ciphertext data to obtain the plaintext data corresponding to the filter element anti-counterfeiting mark; judge whether the plaintext data conforms to the preset coding rule; wherein, the production information of the filter element is encoded according to the preset coding rule to obtain the plaintext data, and the production information of the filter element is the production date, model, validity period, etc. of the filter element. The plaintext data can be a string of characters, and the preset coding rule can be, for example, the meaning of each character in the plaintext data, for example, the first character represents the model, and the 2nd to 9th characters represent the production date. It can be understood that the preset coding rule is set by the user; in response to the plaintext data conforming to the preset coding rule, a second recognition result is obtained based on the plaintext data. In this embodiment, the server can also perform other steps, please refer to the second embodiment of the filter element anti-counterfeiting method provided in this application for details, which will not be described in detail here.
[0025] The above method can be performed only by the filtering device, which can include a device body, a camera element and a main control module carried by the device body, the camera element and the main control module are connected in communication, the camera element is used to photograph the filter element to be identified to obtain a filter element identification image, and the filter element to be identified is loaded on the device body. Specifically, the steps in the above method can be performed by the main control module; the main control module can be an electronic device including a memory, a communication circuit and a processor; the electronic device is, for example, a microcomputer, a server, etc.
[0026] By acquiring a filter element identification image, wherein the filter element identification image is obtained by photographing the filter element to be identified loaded on the filter device by the camera element on the filter device, and then based on the first identification result of the filter element anti-counterfeiting mark in the filter element identification image, a second identification result indicating whether the filter element to be identified is counterfeit is obtained, and the anti-counterfeiting detection of the filter element can be realized. Among them, the first identification result includes the ciphertext data of the filter element anti-counterfeiting mark, and the ciphertext data is transmitted during the communication process, which can minimize the possibility of the filter element anti-counterfeiting mark being stolen during the communication transmission process, and help to improve the security of the filter element anti-counterfeiting mark and the reliability of the filter element anti-counterfeiting detection.
[0027] In other embodiments, the filter element identification image includes an auxiliary identification mark and a filter element anti-counterfeiting mark. Before executing step S12, it can be determined whether the auxiliary identification mark in the filter element identification image is the same as the target identification mark; in response to the auxiliary identification mark being the same as the target identification mark, a first identification result based on the filter element anti-counterfeiting mark in the filter element identification image is executed to obtain a second identification result characterizing whether the filter element to be identified is counterfeit.
[0028] In one embodiment, whether the auxiliary identification mark in the filter element identification image is the same as the target identification mark can be determined by judging whether the pixel value of each pixel point in the second image data of the auxiliary identification mark in the filter element identification image is within a preset range; in response to the pixel value of each pixel point being within the preset range, the pixel value of each pixel point is converted into a grayscale value; based on the difference between the grayscale value and the standard grayscale value, it is determined whether the auxiliary identification mark is the same as the target identification mark; wherein the standard grayscale value is obtained by grayscale processing of the image data of the target identification mark.
[0029] Specifically, the filter element identification image can be identified first, and the second image area where the auxiliary identification mark is located can be determined. In one embodiment, the size of the filter element anti-counterfeiting mark and the location of the filter element anti-counterfeiting mark in the first image area of the filter element identification image are known, and the size of the filter element anti-counterfeiting mark in the filter element identification image and the size of the auxiliary identification mark in the filter element identification image have a fixed relationship, such as the length of the filter element anti-counterfeiting mark and the auxiliary identification mark are the same, and the width of the filter element anti-counterfeiting mark is 3 times or 4 times the width of the auxiliary identification mark. After the position of the filter element anti-counterfeiting mark is known, the second image area where the auxiliary identification mark is located can be determined based on the size of the filter element anti-counterfeiting mark and the size relationship between the filter element anti-counterfeiting mark and the auxiliary identification mark. In another embodiment, the second image area where the auxiliary identification mark is located can also be determined based on the pixel value of each pixel in the filter element identification image. For example, if the filter element anti-counterfeiting mark is in black and white, and the auxiliary identification mark is in color, the second image area can be determined based on the different pixel values.
[0030] After determining the second image area, the second image data can be obtained; the second image data includes the pixel value of each pixel in the second image area, and it is determined whether the pixel value of each pixel is within the preset range; due to different shooting lights, the pixel value of the same pixel in two images taken at the same shooting angle for the same object may be different, so a preset range is set, such as the range above and below the RGB value center of the target color, and the target color is the color that the second image area should display. In a specific embodiment, if the pixel value of each pixel is within the preset range, the pixel value of each pixel is converted into a grayscale value, and the grayscale value can be between 0-255. Based on the difference between the grayscale value and the standard grayscale value, it is determined whether the auxiliary identification mark is the same as the target identification mark; wherein the standard grayscale value is obtained by grayscale processing the image data of the target identification mark. In response to the difference being within the preset difference range, it is determined that the auxiliary identification mark in the filter element identification image is the same as the target identification mark; in response to the difference not being within the preset difference range, it is determined that the auxiliary identification mark in the filter element identification image is different from the target identification mark. It can be understood that the preset range and the preset difference range can be set by the user as needed, and no specific limitation is made here. In another specific embodiment, if the pixel value of each pixel point is within a preset range, the pixel value of each pixel point is binarized so that the pixel value of each pixel point is 0 or 255, and it is determined whether the pixel value of each pixel point is the same as the standard pixel value, and the standard pixel value is obtained by binarizing the image data of the target identification mark; if they are the same, it is determined that the auxiliary identification mark is the same as the target identification mark.
[0031] In another embodiment, it is possible to determine whether the auxiliary identification mark in the filter element identification image is the same as the target identification mark by using the first hash value of the standard image and the second hash value of the second image data of the auxiliary identification mark in the filter element identification image. Specifically, the first hash value of the standard image is obtained, and the second hash value of the second image data of the auxiliary identification mark in the filter element identification image is obtained; based on the first hash value and the second hash value, it is determined whether the auxiliary identification mark is the same as the target identification mark. Specifically, the standard image contains a target identification mark, which may be the same size as the second image area where the auxiliary identification mark is located; the first hash value and the second hash value are obtained, and the Hamming distance between the first hash value and the second hash value is calculated; in response to the Hamming distance being less than the preset distance, it is determined that the auxiliary identification mark is the same as the target identification mark; in response to the Hamming distance being greater than the preset distance, it is determined that the auxiliary identification mark is different from the target identification mark. It can be understood that the preset distance can be set by the user, for example, set to 5, 10, etc.
[0032] In other embodiments, after obtaining the filter element identification image, the main control module in the filtering device can first compress the filter element identification image to obtain a compressed image; and determine whether the auxiliary identification mark is the same as the target identification mark based on the compressed image. The processor compresses the filter element identification image including: dividing the filter element identification image into at least one image block based on the processor's memory space; binarizing the image block to obtain a data block; specifically, obtaining the pixel extreme values of each channel in the RGB color space of the filter element identification image; determining the binarization threshold based on the pixel extreme values of each channel and the preset error, and the binarization threshold may include an upper limit value or a lower limit value. For example, the upper limit value of the R channel is 255 / 8-5, the upper limit value of the G channel is 255 / 4-10, and the upper limit value of the B channel is 255 / 8-5; the lower limit value of the R channel is 10; wherein 5 and 10 are the preset errors. Based on the binarization threshold, each pixel in the image block is binarized to obtain a data block; specifically, it is determined whether the pixel value of each pixel in each channel is greater than the upper limit of the channel, and in response to the pixel value of each pixel in each channel being greater than the upper limit, the pixel is binarized into a first value; or it is determined whether the pixel value of each pixel in each channel is less than the lower limit of the channel, and in response to the pixel value of each pixel in each channel being less than the lower limit, the pixel is binarized into a second value. Among them, the first value can be 0, which represents white; the second value can be 1, which represents black. At this time, the obtained data block only contains 0 and 1. Further, the data block is compressed to obtain a compressed block corresponding to the data block; the data block is divided into several sub-data blocks; for each sub-data block, each element in the sub-data block is weighted and averaged to obtain the compressed data corresponding to the sub-data block; using the compressed data corresponding to each sub-data block, a compressed block is obtained. Finally, based on the compressed blocks corresponding to each image block, a compressed image corresponding to the filter element identification image is obtained.
[0033] See also Figure 2 , Figure 2 : is a flow chart of a second embodiment of the filter element anti-counterfeiting method provided by the present application, the method comprising:
[0034] S21: receiving the ciphertext data corresponding to the filter element anti-counterfeiting mark sent by the filtering device.
[0035] Among them, the ciphertext data is obtained based on the recognition of the first image data of the filter element anti-counterfeiting mark in the filter element identification image, the filter element identification image also includes an auxiliary identification mark, and the filtering device sends the ciphertext data based on the auxiliary identification mark being the same as the target identification mark; the filter element identification image is obtained by photographing the filter element to be identified loaded in the filtering device.
[0036] This embodiment can be executed by a server, and the server can be a memory and a processor coupled to each other, and the processor is used to execute program instructions stored in the memory to execute steps S21 and S22. The filtering device sends the ciphertext data corresponding to the filter element anti-counterfeiting mark to the server. In one embodiment, before sending the ciphertext data corresponding to the filter element anti-counterfeiting mark to the server, the filtering device can first determine whether the auxiliary identification mark in the filter element identification image is the same as the target identification mark. The specific judgment steps can refer to the relevant steps in the aforementioned embodiment, which will not be repeated here. If the auxiliary identification mark and the target identification mark in the filter element identification image are the same, it indicates that the filter element in the filtering device is produced by the target manufacturer. Further, the filtering device recognizes the first image data of the filter element anti-counterfeiting mark in the filter element identification image, obtains the ciphertext data corresponding to the filter element anti-counterfeiting mark; and sends the ciphertext data to the server.
[0037] In another embodiment, the filtering device determines that the auxiliary identification mark and the target identification mark in the filter element identification image are the same, and identifies the first image data of the filter element anti-counterfeiting mark in the filter element identification image to obtain the ciphertext data corresponding to the filter element anti-counterfeiting mark; the ciphertext data can be decrypted to obtain the plaintext data corresponding to the filter element anti-counterfeiting mark; a preliminary judgment can be made on the plaintext data, for example, it can be determined whether the plaintext data conforms to the preset coding rules. The preset coding rules are used to encode the production information of the filter element according to the preset coding rules to obtain plaintext data when the filter element leaves the factory; when the plaintext data conforms to the preset coding rules, the ciphertext data corresponding to the filter element anti-counterfeiting mark is sent to the server.
[0038] S22: Process the ciphertext data to obtain an identification result indicating whether the filter element to be identified is forged.
[0039] After receiving the ciphertext data, the server decrypts the ciphertext data to obtain the plaintext data corresponding to the filter element anti-counterfeiting mark. In one embodiment, the plaintext data can be compared with the original data corresponding to the filter element anti-counterfeiting mark stored in the database to obtain a comparison result; based on the comparison result, the identification result can be determined. Among them, the original data is obtained by encoding the production information of the filter element to be identified when the filter element to be identified leaves the factory; the comparison result is that the plaintext data and the original data are consistent or the plaintext data and the original data are inconsistent. In response to the comparison result indicating that the plaintext data and the original data are consistent, it is determined that the filter element to be identified is counterfeit; in response to the comparison result indicating that the plaintext data and the original data are inconsistent, it is determined that the filter element to be identified is not counterfeit.
[0040] In another embodiment, the server may also obtain the device information of the filtering device, or receive the device information sent by the filtering device; compare the plaintext data with the original data corresponding to the filter element anti-counterfeiting mark stored in the database to obtain a comparison result, and the comparison result is that the plaintext data and the original data are consistent, which means that the filter element to be identified is manufactured by the target manufacturer. Further, in response to the comparison result indicating that the plaintext data and the original data are consistent, based on the device information and the plaintext data, it is determined whether the filter element to be identified has been associated with other filtering devices; the association information indicating whether the filter element to be identified has been associated with other filtering devices can be stored in the database, that is, the database is searched for association information indicating that the filter element to be identified has been associated with other filtering devices. If not, it indicates that the filter element to be identified has not been associated with other filtering devices. In response to the fact that the filter element to be identified has not been associated with other filtering devices, it is determined that the filter element to be identified is not counterfeit, and the filter element to be identified is associated with the filtering device; if there is information that the filter element to be identified has been associated with other filtering devices, in response to the fact that the filter element to be identified has been associated with other filtering devices, the filter element to be identified is determined to be counterfeit.
[0041] In this embodiment, each filter element will store the original data corresponding to its filter element anti-counterfeiting mark in the database when it leaves the factory. Therefore, when the filter element to be identified is used, the plain text data corresponding to the filter element anti-counterfeiting mark in the filter element to be identified can be compared with the original data to determine whether the filter element actually exists. Furthermore, since each filter element is unique and can only be associated with one filtering device, it is possible to determine whether the filter element to be identified has been associated with other filtering devices to determine whether the filter element to be identified has been counterfeited. In this way, when unscrupulous merchants copy the filter element anti-counterfeiting mark of the same filter element to be identified on a large scale, only at least two filtering devices need to be connected to the network, and the server can clearly know that the filter element to be identified has been counterfeited; the target manufacturer can locate the sales area of the filtering device and the counterfeit filter element to be identified through the association information between the counterfeit filter element to be identified and the filtering device, and then hold the unscrupulous merchants accountable.
[0042] In the above method, before identifying the anti-counterfeiting mark of the filter element, it is first determined that the auxiliary identification mark is the same as the target identification mark. If they are the same, the anti-counterfeiting mark of the filter element is then identified; otherwise, the anti-counterfeiting mark of the filter element is not identified. This allows the target manufacturer to only perform anti-counterfeiting identification on the filter elements it produces, and will not mistakenly identify the filter elements produced by other manufacturers, thereby reducing the detection time and thus reducing the detection cost. Furthermore, as long as the filtering equipment is connected to the Internet, the interface determines whether the filter element to be identified is counterfeited through the server, rather than the user simply scanning the anti-counterfeiting mark of the filter element to determine whether the filter element is counterfeited. This allows the manufacturer of the filter element to be identified to clearly understand whether the filter element to be identified is counterfeit, which is convenient for the manufacturer to protect its rights.
[0043] See also Figure 3 , Figure 3It is a schematic diagram of the framework structure of an embodiment of an electronic device provided in the present application.
[0044] The electronic device 30 can be a filtering device, a main control model in the filtering device, or a server, that is, the electronic device 30 can execute any of the above filter element anti-counterfeiting methods. Specifically, the electronic device can include a memory 31 and a processor 32 connected to each other. The memory 31 stores program instructions; the processor 32 is used to execute the program instructions stored in the memory 31 to implement any of the above filter element anti-counterfeiting methods.
[0045] Among them, the processor 32 can also be called a CPU (Central Processing Unit). The processor 32 may be an integrated circuit chip with signal processing capabilities. The processor 32 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 32 can be implemented by an integrated circuit chip.
[0046] See also Figure 4 , Figure 4 It is a schematic diagram of the framework structure of an embodiment of the filtering device provided in the present application.
[0047] The filtering device 40 may include a device body 41, a camera element 42 carried on the device body 41, and a main control module 43, the camera element 42 and the main control module 43 are connected in communication, the camera element 42 is used to photograph the filter element to be identified to obtain a filter element identification image, the filter element to be identified is used to be loaded on the device body 41, and the main control module 43 is used to obtain the filter element identification image, determine whether the auxiliary identification identifier is the same as the target identification identifier, and in response to the auxiliary identification identifier being the same as the target identification identifier, identify the first image data of the filter element anti-counterfeiting identifier in the filter element identification image, obtain the ciphertext data corresponding to the filter element anti-counterfeiting identifier, send the ciphertext data to the server, and obtain the server's identification result of processing the ciphertext data to indicate whether the filter element to be identified is counterfeit. The specific implementation of the steps performed by the main control module 43 can refer to the first implementation of the filter element anti-counterfeiting method provided in this application, which will not be repeated here.
[0048] In one specific embodiment, the main control module 43 may be Figure 3The electronic device shown; it may also be a processor or a chip, an integrated circuit, etc.
[0049] See also Figure 5 , Figure 5 It is a schematic diagram of the framework structure of an implementation method of the filter element anti-counterfeiting system provided in the present application.
[0050] The filter element anti-counterfeiting system 50 includes a filter device 40 and a server 51 that are communicatively connected; the filter device 40 and the server 51 are respectively used to execute relevant steps in the filter element anti-counterfeiting method implementation method provided in the present application.
[0051] See also Figure 6 , Figure 6 It is a schematic diagram of a framework of an implementation scheme of a computer-readable storage medium provided in the present application.
[0052] The computer-readable storage medium 60 stores program instructions 61 , and when the program instructions 61 are executed by a processor, they are used to implement the steps in any of the above method embodiments.
[0053] The computer-readable storage medium 60 may specifically be a medium that can store computer programs, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or may be a server that stores the computer program. The server may send the stored computer program to other devices for execution, or may also execute the stored computer program itself.
[0054] If the technical solution of this application involves personal information, the product using the technical solution of this application has clearly informed the personal information processing rules and obtained the individual's voluntary consent before processing the personal information. If the technical solution of this application involves sensitive personal information, the product using the technical solution of this application has obtained the individual's separate consent before processing the sensitive personal information, and at the same time meets the "explicit consent" requirement. For example, on personal information collection devices such as cameras, clear and prominent signs are set to inform that the personal information collection scope has been entered and personal information will be collected. If the individual voluntarily enters the collection scope, it is deemed that he or she agrees to the collection of his or her personal information; or on the device that processes personal information, the personal information processing rules are notified by obvious signs / information, and the individual's authorization is obtained through pop-up information or by asking the individual to upload his or her personal information; among them, the personal information processing rules may include information such as the personal information processor, the purpose of personal information processing, the processing method, and the type of personal information processed.
[0055] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A filter element anti-counterfeiting method, characterized in that: include: Acquire a filter element identification image; wherein the filter element identification image is obtained by photographing the filter element to be identified loaded on the filter device by a camera element on the filter device; Based on the first recognition result of the filter element anti-counterfeiting mark in the filter element identification image, a second recognition result is obtained to characterize whether the filter element to be identified is counterfeit; wherein, the first recognition result includes the ciphertext data of the filter element anti-counterfeiting mark.
2. The method according to claim 1, characterized in that Before obtaining a second recognition result indicating whether the filter element to be identified is counterfeit based on the first recognition result of the filter element anti-counterfeiting mark in the filter element identification image, the method further includes: Determining whether the auxiliary identification mark in the filter element identification image is the same as the target identification mark; In response to the auxiliary identification mark being the same as the target identification mark, the first identification result based on the filter element anti-counterfeiting mark in the filter element identification image is executed to obtain a second identification result indicating whether the filter element to be identified is counterfeit.
3. The method according to claim 2, characterized in that The determining whether the auxiliary identification mark in the filter element identification image is the same as the target identification mark comprises: Determine whether the pixel value of each pixel point in the second image data of the auxiliary identification mark in the filter element identification image is within a preset range; In response to the pixel value of each pixel being within the preset range, converting the pixel value of each pixel into a grayscale value; Based on the difference between the grayscale value and the standard grayscale value, it is determined whether the auxiliary identification mark is the same as the target identification mark; wherein the standard grayscale value is obtained by performing grayscale processing on the image data of the target identification mark.
4. The method according to claim 3, characterized in that: The determining whether the auxiliary identification mark is the same as the target identification mark based on the difference between the grayscale value and the preset standard grayscale value includes at least one of the following: In response to the difference being within a preset difference range, determining that the auxiliary identification mark is the same as the target identification mark; In response to the difference not being within the preset difference range, it is determined that the auxiliary identification mark is different from the target identification mark.
5. The method according to claim 1, characterized in that The second recognition result indicating whether the filter element to be identified is counterfeit is obtained based on the first recognition result of the filter element anti-counterfeiting mark in the filter element identification image, including: Decrypting the ciphertext data to obtain the plaintext data corresponding to the filter element anti-counterfeiting mark; Determine whether the plaintext data conforms to a preset coding rule; wherein the production information of the filter element is encoded according to the preset coding rule to obtain the plaintext data; In response to the plaintext data complying with a preset encoding rule, the second recognition result is obtained based on the plaintext data.
6. The method according to claim 5, characterized in that The second identification result is determined by the server based on the associated information corresponding to the filter element to be identified, and the associated information is obtained based on the plaintext data corresponding to the anti-counterfeiting mark of the filter element. The associated information indicates whether the filter element to be identified is associated with other filtering devices, and the plaintext data is obtained by the server decrypting the ciphertext data received from the filtering device.
7. An electronic device, characterized in that: The electronic device comprises a memory and a processor connected to each other, the memory storing program instructions; the processor is used to execute the program instructions stored in the memory to implement the method according to any one of claims 1 to 6.
8. A filtering device, characterized in that: It includes a device body, a camera element carried by the device body and a main control module, the camera element and the main control module are communicatively connected, the camera element is used to photograph the filter element to be identified to obtain a filter element identification image, the filter element to be identified is loaded on the device body, and the main control module is used to execute the method described in any one of claims 1-6.
9. A filter element anti-counterfeiting system, characterized in that: The filter element anti-counterfeiting system includes a filtering device and a server that are communicatively connected; the filtering device is used to execute the method described in any one of claims 1-6.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program instructions, and the program instructions can be executed by a processor to implement the method according to any one of claims 1 to 6.
Citation Information
Cited By
Anti-counterfeiting identification method for filter element, and related apparatus
EP4708176A1
Anti-counterfeiting identification method for filter element, and related apparatus
WO2025016437A1