CN111401917B - Filter element detection method, water treatment device and computer-readable storage medium - Google Patents
Filter element detection method, water treatment device and computer-readable storage medium Download PDFInfo
- Publication number
- CN111401917B CN111401917B CN201811633303.1A CN201811633303A CN111401917B CN 111401917 B CN111401917 B CN 111401917B CN 201811633303 A CN201811633303 A CN 201811633303A CN 111401917 B CN111401917 B CN 111401917B
- Authority
- CN
- China
- Prior art keywords
- filter element
- pattern
- image
- identification pattern
- counterfeiting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/018—Certifying business or products
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
Landscapes
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Marketing (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Development Economics (AREA)
- Accounting & Taxation (AREA)
- Entrepreneurship & Innovation (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
- Image Processing (AREA)
Abstract
Description
技术领域Technical field
本发明涉及滤芯鉴伪领域,具体而言,涉及一种滤芯鉴伪方法,一种水处理装置以及一种计算机可读存储介质。The present invention relates to the field of filter element counterfeiting identification, and specifically, to a filter element counterfeiting identification method, a water treatment device and a computer-readable storage medium.
背景技术Background technique
现有技术中的滤芯鉴伪方法有两种,一种是条形码鉴伪技术,另一种是二维码鉴伪技术,这两种技术都是将编码设置在产品非常明显的位置,以方便用户获得编码信息,进而获得滤芯的相关参数。但这也是一把双刃剑,容易获得,也代表容易伪造。不法分子可以通过扫描条形码或二维码得知滤芯的相关参数,从而以很廉价的制造设备以及非常简单的制作工艺就能仿制出该滤芯。There are two methods for detecting counterfeiting of filter elements in the prior art. One is barcode authentication technology, and the other is QR code authentication technology. Both of these technologies set the code in a very obvious position on the product for convenience. The user obtains the encoding information and then obtains the relevant parameters of the filter element. But this is also a double-edged sword. Easy to obtain, it also means easy to counterfeit. Criminals can learn the relevant parameters of the filter element by scanning the barcode or QR code, and can imitate the filter element with very cheap manufacturing equipment and a very simple manufacturing process.
因此,如何提高滤芯鉴伪能力,以提高伪制滤芯的门槛,成为亟待解决的问题。Therefore, how to improve the ability to detect counterfeit filter elements and raise the threshold for counterfeit filter elements has become an urgent problem to be solved.
发明内容Contents of the invention
本发明旨在至少解决现有技术中存在的技术问题之一。The present invention aims to solve at least one of the technical problems existing in the prior art.
为此,本发明的第一方面提出一种滤芯鉴伪方法。To this end, a first aspect of the present invention proposes a method for detecting counterfeiting of a filter element.
本发明的第二方面提出一种水处理装置。A second aspect of the invention proposes a water treatment device.
本发明的第三方面提出一种计算机可读存储介质。A third aspect of the invention provides a computer-readable storage medium.
有鉴于此,本发明的第一方面提供了一种滤芯的鉴伪方法,滤芯具有隐写的鉴伪图案,包括:获取包含鉴伪图案处于显示状态下的滤芯图像;使用预存储的解码表对鉴伪图案进行解码,以得到鉴伪图案对应的产品编码;将滤芯的产品编码与预存储的编码数据库进行比对,在比对结果一致时,发出验证通过信号,以使滤芯运行。In view of this, the first aspect of the present invention provides a method for detecting counterfeiting of a filter element. The filter element has a steganographic authentication pattern, which includes: obtaining an image of the filter element in a display state containing the authentication pattern; using a pre-stored decoding table The counterfeiting identification pattern is decoded to obtain the product code corresponding to the counterfeiting identification pattern; the product code of the filter element is compared with the pre-stored coding database. When the comparison results are consistent, a verification pass signal is sent to enable the filter element to operate.
在本发明提供的一种滤芯的鉴伪方法,首先将鉴伪图案以隐写的方式添加到滤芯图像里,并通过预存储的解码表来对获取到的该鉴伪图案进行解码,以便于得到与鉴伪图案相对应的具有产品参数信息的产品编码,再将得到的该滤芯的产品编码与预先存储在数据库中的编码数据进行对比,若滤芯的产品编码和数据库中的编码数据一致,则向滤芯所在的器件本体发出验证通过信号,以使得滤芯能够正常工作,否则向滤芯所在的器件本体发出验证不通过的信号,以使得滤芯无法正常工作。该技术方案将鉴伪图案隐藏在滤芯图像里,因而通过肉眼不易察觉,即使通过其他途径了解到了此鉴伪图案的位置,也无法通过扫码的方式来解析鉴伪图案包含的产品,而必须通过附带预存储的解码表的相应装置来对图案进行解码,进而提高了仿制门槛,以有效防止不法商家对某品牌的滤芯产品进行的伪造,此外,该方案只有在滤芯的产品编码信息和数据库中的编码信息一致的前提下才能让滤芯工作,进而提高了滤芯的防伪能力,有效防止了没有经过授权的滤芯也能够正常工作的情况,在一定程度上保证了该滤芯所在器件本体的市场占有率。In a method for identifying counterfeiting of a filter element provided by the present invention, firstly, an identification pattern is added to the filter element image in a steganographic manner, and the obtained identification pattern is decoded through a pre-stored decoding table, so as to facilitate Obtain the product code with product parameter information corresponding to the counterfeit identification pattern, and then compare the obtained product code of the filter element with the coding data pre-stored in the database. If the product code of the filter element is consistent with the coding data in the database, Then a verification pass signal is sent to the device body where the filter element is located, so that the filter element can work normally. Otherwise, a verification failure signal is sent to the device body where the filter element is located, so that the filter element cannot work normally. This technical solution hides the counterfeiting pattern in the filter image, so it is not easily detectable by the naked eye. Even if the location of the counterfeiting pattern is known through other means, the products contained in the counterfeiting pattern cannot be analyzed by scanning the code, and must The pattern is decoded through the corresponding device with a pre-stored decoding table, thereby raising the threshold for imitation and effectively preventing unscrupulous merchants from counterfeiting a certain brand of filter element products. In addition, this solution only has the product coding information and database of the filter element. The filter element can only work if the coding information in the filter element is consistent, thereby improving the anti-counterfeiting ability of the filter element, effectively preventing the situation that unauthorized filter elements can also work normally, and ensuring to a certain extent the market share of the device body where the filter element is located. Rate.
另外,本发明提供的上述技术方案中的滤芯的鉴伪方法还具有如下附加技术特征:In addition, the filter element identification method in the above technical solution provided by the present invention also has the following additional technical features:
在上述技术方案中,优选地,滤芯上还具有隐写的标识图案,其中,标识图案与鉴伪图案相连续;滤芯图像还包括显示状态下的标识图案;在获取鉴伪图案处于显示状态下的滤芯图像之后,在使用预存储的解码表对鉴伪图案进行解码,以得到鉴伪图案对应的产品编码之前,还包括:使用预存储的标识图案与滤芯图像进行比对,定位标识图案在滤芯图像中的第一位置;根据第一位置定位鉴伪图案。In the above technical solution, preferably, the filter element also has a steganographic identification pattern, wherein the identification pattern is continuous with the counterfeiting identification pattern; the filter element image also includes the identification pattern in the display state; when the identification pattern is obtained in the displaying state After the filter element image, and before using the pre-stored decoding table to decode the counterfeit identification pattern to obtain the product code corresponding to the counterfeit identification pattern, it also includes: using the pre-stored identification pattern to compare with the filter element image, positioning the identification pattern in The first position in the filter element image; locate the counterfeiting pattern according to the first position.
在该技术方案中,通过滤芯图像中包含的与鉴伪图案相连续的隐写的标识图案来定位鉴伪图案的位置,具体地,首先将预存储的标识图案与滤芯图像进行对比,再根据对比情况来定位到隐写的标识图案在滤芯图像中的具体位置,最后根据这一具体位置来定位鉴伪图案的具体位置,以便于后期使用带有预存储的解码表的装置对鉴伪图案进行解码,该技术方案中的此标识图案可以是数字形状的图像或表现为了字母形式的图像,也可以是两者的组合。In this technical solution, the position of the identification pattern is located through the steganographic identification pattern contained in the filter element image that is continuous with the identification pattern. Specifically, the pre-stored identification pattern is first compared with the filter element image, and then based on Compare the situation to locate the specific position of the steganographic logo pattern in the filter image, and finally locate the specific position of the counterfeiting pattern based on this specific position, so that the device with a pre-stored decoding table can later be used to identify the counterfeiting pattern. For decoding, the identification pattern in this technical solution can be an image in the shape of a number or an image in the form of a letter, or a combination of the two.
在上述任一技术方案中,优选的,在判断结果为否时,发出警示信号。In any of the above technical solutions, preferably, when the judgment result is negative, a warning signal is issued.
在该技术方案中,当滤芯的产品编码和数据库中的编码数据不一致时,向滤芯所在的器件本体发出验证不通过的信号的同时也附带发送了警示信号,以提醒用户此滤芯不是原厂或者原厂授权的滤芯,因而无法正常工作,进而导致使用此滤芯的器件本体无法实现其原有功能。In this technical solution, when the product code of the filter element is inconsistent with the coding data in the database, a verification failure signal is sent to the device body where the filter element is located, and a warning signal is also sent to remind the user that the filter element is not original or not. The filter element authorized by the original manufacturer cannot work properly, resulting in the device body using this filter element being unable to achieve its original function.
在上述任一技术方案中,优选的,获取鉴伪图案处于显示状态下的滤芯图像的步骤,具体包括:每间隔预设时长获取鉴伪图案处于显示状态下的滤芯图像。In any of the above technical solutions, preferably, the step of acquiring a filter element image with the authentication pattern in a displayed state specifically includes: acquiring a filter element image with the authentication pattern in a displayed state every preset time interval.
在该技术方案中,通过预先设定一段时长以便于每间隔该段时长就获取一次鉴伪图案处于显示状态之下的滤芯图像,以便于监视该滤芯是否已经在用过一段时间后被用户替换成了另一个品牌的滤芯,从而及时通知滤芯所在的器件本体及时控制该滤芯停止工作,以避免在使用一段时间后因滤芯的质量问题而影响器件本体的正常工作,也可以避免用户在维权的时候出现的滤芯厂家扯皮的情况。In this technical solution, a period of time is preset so that an image of the filter element with the authentication pattern in the displayed state is obtained every interval of the period of time, so as to monitor whether the filter element has been replaced by the user after being used for a period of time. It has become a filter element of another brand, thereby promptly notifying the device body where the filter element is located to promptly control the filter element to stop working, so as to avoid affecting the normal operation of the device body due to quality problems of the filter element after a period of use, and also to avoid users having to safeguard their rights. Sometimes there is a situation where filter element manufacturers are wrangling.
在上述任一技术方案中,优选的,鉴伪图案为对象标识符编码软件生成的图案。In any of the above technical solutions, preferably, the authentication pattern is a pattern generated by object identifier encoding software.
在该技术方案中,鉴伪图案是通过对象标识符编码软件生成的,具体地,使用对象标识符编码软件对滤芯进行编码,然后通过专用印刷软件将该编码隐藏到滤芯图像里以形成最终的带有鉴伪图案的滤芯图像,该技术方案能够快速、有效地形成能够隐藏在滤芯图像里的鉴伪图案,从而让人眼察觉不到具有鉴伪图案的滤芯图像和普通的滤芯图像之间的区别,以避免用户或者不法分子通过故意破坏此鉴伪图案的手段来替换其他品牌的廉价滤芯。优选地,使用OID(Object Identifier对象标识符)编码软件,其中OID采用分层树形结构对任何类型的对象(包括实体对象、虚拟对象、符合对象等)进行全球无歧义、唯一命名。In this technical solution, the counterfeiting pattern is generated through object identifier encoding software. Specifically, the object identifier encoding software is used to encode the filter element, and then the code is hidden into the filter element image through special printing software to form the final Filter element image with a counterfeiting identification pattern. This technical solution can quickly and effectively form a counterfeiting identification pattern that can be hidden in the filter element image, so that the human eye cannot detect the difference between the filter element image with the counterfeiting identification pattern and the ordinary filter element image. The difference is to prevent users or criminals from replacing other brands of cheap filter elements by deliberately destroying the authentication pattern. Preferably, OID (Object Identifier) encoding software is used, in which OID uses a hierarchical tree structure to globally unambiguously and uniquely name any type of object (including entity objects, virtual objects, conforming objects, etc.).
本发明的第二方面提供了一种水处理装置,包括:滤芯,滤芯上具有隐写的鉴伪图案;采集装置,用于获取包含鉴伪图案处于显示状态下的滤芯图像;控制器,控制器与采集装置相连接,用于使用预存储的解码表对鉴伪图案进行解码,以得到鉴伪图案对应的产品编码;将滤芯的产品编码与预存储的编码数据库进行比对,在比对结果一致时,发出验证通过信号,以使滤芯运行。A second aspect of the present invention provides a water treatment device, including: a filter element with a steganographic identification pattern; a collection device for acquiring an image of the filter element containing the identification pattern in a displayed state; a controller to control The device is connected to the collection device and is used to decode the counterfeit identification pattern using a pre-stored decoding table to obtain the product code corresponding to the counterfeit identification pattern; compare the product code of the filter element with the pre-stored coding database. When the results are consistent, a verification pass signal is sent to allow the filter element to operate.
在本发明的一种水处理装置,包括滤芯、采集装置和控制器,其中,首先将鉴伪图案以隐写的方式添加到滤芯图像里,再利用采集装置采集该滤芯图像并发送至控制器,并通过控制器里的预存储的解码表来对获取到的该鉴伪图案进行解码,以便于得到与鉴伪图案相对应的具有产品参数信息的产品编码,再将得到的该滤芯的产品编码与预先存储在数据库中的编码数据进行对比,若滤芯的产品编码和数据库中的编码数据一致,则向控制器反馈验证通过信号,以使得控制器能够控制滤芯正常工作,否则向控制器反馈验证不通过的信号,以使得控制器控制滤芯停止工作。该技术方案将鉴伪图案隐藏在滤芯图像里,因而通过肉眼不易察觉,即使通过其他途径了解到了此鉴伪图案的位置,也无法通过扫码的方式来解析鉴伪图案包含的产品,而必须通过附带预存储的解码表的相应装置来对图案进行解码,进而提高了仿制门槛,以有效防止不法商家对某品牌的滤芯产品进行的伪造,此外,该方案只有在滤芯的产品编码信息和数据库中的编码信息一致的前提下才能让滤芯工作,进而提高了滤芯的防伪能力,有效防止了没有经过授权的滤芯也能够正常工作的情况,在一定程度上保证了该滤芯所在器件本体的市场占有率。In a water treatment device of the present invention, it includes a filter element, a collection device and a controller. First, a counterfeit identification pattern is added to the filter element image in a steganographic manner, and then the acquisition device is used to collect the filter element image and send it to the controller. , and decode the obtained counterfeit identification pattern through the pre-stored decoding table in the controller, so as to obtain the product code with product parameter information corresponding to the counterfeit identification pattern, and then obtain the product of the filter element The code is compared with the coded data pre-stored in the database. If the product code of the filter element is consistent with the coded data in the database, a verification pass signal is fed back to the controller so that the controller can control the filter element to work normally. Otherwise, it is fed back to the controller. The signal that fails to pass the verification will cause the controller to stop the filter element from working. This technical solution hides the counterfeiting pattern in the filter image, so it is not easily detectable by the naked eye. Even if the location of the counterfeiting pattern is known through other means, the products contained in the counterfeiting pattern cannot be analyzed by scanning the code, and must The pattern is decoded through the corresponding device with a pre-stored decoding table, thereby raising the threshold for imitation and effectively preventing unscrupulous merchants from counterfeiting a certain brand of filter element products. In addition, this solution only has the product coding information and database of the filter element. The filter element can only work if the coding information in the filter element is consistent, thereby improving the anti-counterfeiting ability of the filter element, effectively preventing the situation that unauthorized filter elements can also work normally, and ensuring to a certain extent the market share of the device body where the filter element is located. Rate.
另外,本发明提供的上述技术方案中的水处理装置还具有如下附加技术特征:In addition, the water treatment device in the above technical solution provided by the present invention also has the following additional technical features:
在上述技术方案中,优选地,滤芯上还具有隐写的标识图案,标识图案与鉴伪图案相连续,滤芯图像还包括显示状态下的标识图案;控制器还用于:使用预存储的标识图案与滤芯图像进行比对,定位标识图案在滤芯图像中的第一位置;根据第一位置定位鉴伪图案。In the above technical solution, preferably, the filter element also has a steganographic identification pattern, the identification pattern is continuous with the counterfeit identification pattern, and the filter element image also includes the identification pattern in the display state; the controller is also configured to: use the pre-stored identification pattern The pattern is compared with the filter element image to locate the first position of the identification pattern in the filter element image; and the counterfeiting identification pattern is positioned according to the first position.
在该技术方案中,通过滤芯图像中包含的与鉴伪图案相连续的隐写的标识图案来定位鉴伪图案的位置,具体地,控制器首先使用其内部预存储的标识图案与滤芯图像进行对比,再根据对比情况来定位到隐写的标识图案在滤芯图像中的具体位置,最后根据这一具体位置来定位鉴伪图案的具体位置,以便于后期使用带有预存储的解码表的装置对鉴伪图案进行解码,该技术方案中的此标识图案可以是单独的数字或字母,也可以是两者的组合。In this technical solution, the position of the identification pattern is located through the steganographic identification pattern contained in the filter element image that is continuous with the identification pattern. Specifically, the controller first uses its internal pre-stored identification pattern and the filter element image to perform Compare, and then locate the specific position of the steganographic logo pattern in the filter element image according to the comparison situation, and finally locate the specific position of the counterfeit identification pattern based on this specific position, so as to facilitate the later use of a device with a pre-stored decoding table To decode the identification pattern, the identification pattern in this technical solution can be a single number or letter, or a combination of both.
在上述任一技术方案中,优选地,控制器还用于:在判断结果为否时,发出警示信号,以控制水处理装置的警示装置发出警示信息。In any of the above technical solutions, preferably, the controller is also configured to: when the judgment result is negative, send a warning signal to control the warning device of the water treatment device to send the warning message.
在该技术方案中,当控制器校验出滤芯的产品编码和数据库中的编码数据不一致时,控制器便会向滤芯所在的水处理装置发出验证不通过的信号的同时也附带发送了警示信号,以控制水处理装置的警示装置发出警示信息,用于提醒用户此滤芯不是原厂或者原厂授权的滤芯,因而无法正常工作,进而导致使用此滤芯的水处理装置无法实现其原有功能。In this technical solution, when the controller verifies that the product code of the filter element is inconsistent with the coding data in the database, the controller will send a verification failure signal to the water treatment device where the filter element is located, and also send a warning signal. , the warning device that controls the water treatment device sends out a warning message to remind the user that this filter element is not the original or original factory-authorized filter element, and therefore cannot work properly, which in turn causes the water treatment device using this filter element to be unable to achieve its original functions.
在上述任一技术方案中,优选地,控制器具体用于:每间隔预设时长获取鉴伪图案处于显示状态下的滤芯图像。In any of the above technical solutions, preferably, the controller is specifically configured to: acquire a filter element image in which the counterfeiting identification pattern is displayed every preset time interval.
在该技术方案中,通过在控制器中预先设定一段时长以便于每间隔该段时长就获取一次由采集装置发来的鉴伪图案处于显示状态之下的滤芯图像,以便于监视该滤芯是否已经在用过一段时间后被用户替换成了另一个品牌的滤芯,从而及时通知滤芯所在的水处理装置及时控制该滤芯停止工作,以避免在使用一段时间后因滤芯的质量问题而影响器件本体的正常工作,也可以避免用户在维权的时候出现的滤芯厂家扯皮的情况。In this technical solution, a period of time is preset in the controller so that an image of the filter element in which the authentication pattern sent by the collection device is displayed is acquired every interval of this period of time, so as to monitor whether the filter element The user has replaced the filter element with another brand of filter element after using it for a period of time, so as to promptly notify the water treatment device where the filter element is located to promptly control the filter element to stop working, so as to avoid affecting the device body due to quality problems of the filter element after a period of use. The normal operation of the filter element can also prevent users from arguing with the filter element manufacturer when safeguarding their rights.
在上述任一技术方案中,优选地,控制器还用于:接收采集装置的控制参数,并根据控制参数控制采集装置运行,以使采集装置获取鉴伪图案处于显示状态下的滤芯图像。In any of the above technical solutions, preferably, the controller is also configured to: receive control parameters of the collection device, and control the operation of the collection device according to the control parameters, so that the collection device obtains the filter element image with the counterfeiting pattern displayed.
在该技术方案中,控制装置根据接收由采集装置发来的控制参数来控制采集装置实时采集鉴伪图案处于显示状态下的滤芯图像,采用该技术方案可以实时采集包含鉴伪图案的滤芯图像,以便于实时监视该滤芯是否已经在用过一段时间后被用户替换成了另一个品牌的滤芯。In this technical solution, the control device controls the acquisition device to collect the filter element image with the counterfeiting identification pattern in the displayed state in real time based on the control parameters received from the acquisition device. Using this technical solution, the filter element image containing the counterfeiting identification pattern can be collected in real time. In order to monitor in real time whether the filter element has been replaced by another brand of filter element by the user after being used for a period of time.
在上述任一技术方案中,优选地,鉴伪图案为对象标识符编码软件生成的图案;采集装置为对象标识符专用图像识别摄像头。In any of the above technical solutions, preferably, the counterfeiting pattern is a pattern generated by object identifier encoding software; and the collection device is an object identifier dedicated image recognition camera.
在该技术方案中,鉴伪图案是通过对象标识符编码软件生成的,具体地,使用对象标识符编码软件对滤芯进行编码,然后通过专用印刷软件将该编码隐藏到滤芯图像里以形成最终的带有鉴伪图案的滤芯图像,该技术方案能够快速、有效地形成能够隐藏在滤芯图像里的鉴伪图案,从而让人眼察觉不到具有鉴伪图案的滤芯图像和普通的滤芯图像之间的区别,以避免用户或者不法分子通过故意破坏此鉴伪图案的手段来替换其他品牌的廉价滤芯。优选地,使用OID(Object Identifier对象标识符)编码软件,其中OID采用分层树形结构对任何类型的对象(包括实体对象、虚拟对象、符合对象等)进行全球无歧义、唯一命名。此外,采集装置为对象标识符专用图像识别摄像头,只有采用此专用图像识别摄像头才能实现对包含鉴伪图案的滤芯图像的有效采集,因而能够防止包含鉴伪图案的滤芯图像里的编码信息被盗取。In this technical solution, the counterfeiting pattern is generated through object identifier encoding software. Specifically, the object identifier encoding software is used to encode the filter element, and then the code is hidden into the filter element image through special printing software to form the final Filter element image with a counterfeiting identification pattern. This technical solution can quickly and effectively form a counterfeiting identification pattern that can be hidden in the filter element image, so that the human eye cannot detect the difference between the filter element image with the counterfeiting identification pattern and the ordinary filter element image. The difference is to prevent users or criminals from replacing other brands of cheap filter elements by deliberately destroying the authentication pattern. Preferably, OID (Object Identifier) encoding software is used, in which OID uses a hierarchical tree structure to globally unambiguously and uniquely name any type of object (including entity objects, virtual objects, conforming objects, etc.). In addition, the collection device is a special image recognition camera for object identifiers. Only by using this special image recognition camera can the effective collection of the filter element image containing the counterfeiting pattern be achieved, thus preventing the theft of the encoded information in the filter element image containing the counterfeiting pattern. Pick.
本发明第三方面提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现如上述任一技术方案中的水处理装置的控制方法,因此,该计算机可读存储介质包括上述任一技术方案中的水处理装置的控制方法的全部有益效果。A third aspect of the present invention provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the control method of the water treatment device in any of the above technical solutions is implemented. Therefore, the computer can Reading the storage medium includes all the beneficial effects of the control method of the water treatment device in any of the above technical solutions.
本发明的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
附图说明Description of the drawings
本发明的上述和/或附加的方面和优点从结合下面附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:
图1示出了根据本发明的一个实施例的滤芯鉴伪方法的流程示意图;Figure 1 shows a schematic flow chart of a filter element authentication method according to one embodiment of the present invention;
图2示出了根据本发明的另一个实施例的滤芯鉴伪方法的流程示意图;Figure 2 shows a schematic flow chart of a filter element authentication method according to another embodiment of the present invention;
图3示出了根据发本明的再一个实施例的滤芯鉴伪方法的流程示意图;Figure 3 shows a schematic flow chart of a method for detecting counterfeiting of a filter element according to yet another embodiment of the present invention;
图4示出了根据本发明的又一个实施例的滤芯鉴伪方法的流程示意图;Figure 4 shows a schematic flow chart of a filter element identification method according to yet another embodiment of the present invention;
图5示出了根据本发明的又一个实施例的滤芯鉴伪方法的流程示意图;Figure 5 shows a schematic flow chart of a filter element authentication method according to yet another embodiment of the present invention;
图6示出了根据本发明的一个实施例的通过水处理装置的采集装置和控制器来读取构成鉴伪图案编码的原理示意图;Figure 6 shows a schematic diagram of the principle of reading the code constituting the authentication pattern through the collection device and controller of the water treatment device according to one embodiment of the present invention;
图7示出了根据本发明的一个实施例的构成鉴伪图案的编码的结构示意图;Figure 7 shows a schematic structural diagram of the encoding constituting the authentication pattern according to one embodiment of the present invention;
图8示出了根据本发明的一个实施例的鉴伪图案的印刷方法及效果展示图;Figure 8 shows a printing method and effect display diagram of a counterfeit identification pattern according to one embodiment of the present invention;
图9示出了根据本发明的一个实施例的水处理装置采集装置的结构示意图;Figure 9 shows a schematic structural diagram of a water treatment device collection device according to one embodiment of the present invention;
图10示出了根据本发明的一个应用在水处理装置滤芯上的隐形防伪方法的流程示意图;Figure 10 shows a schematic flow chart of an invisible anti-counterfeiting method applied to a filter element of a water treatment device according to the present invention;
图11示出了根据本发明的一个实施例的水处理装置的结构示意框图。Figure 11 shows a schematic structural block diagram of a water treatment device according to an embodiment of the present invention.
具体实施方式Detailed ways
为了能够更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。In order to more clearly understand the above objects, features and advantages of the present invention, the present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, as long as there is no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明的保护范围并不受下面公开的具体实施例的限制。Many specific details are set forth in the following description in order to fully understand the present invention. However, the present invention can also be implemented in other ways different from those described here. Therefore, the protection scope of the present invention is not limited by the specific details disclosed below. Limitations of Examples.
本发明第一方面的实施例,提出一种滤芯鉴伪方法,用于对水处理装置的滤芯进行鉴伪。图1示出了本发明的一个实施例的滤芯鉴伪方法的流程示意图。其中,该滤芯鉴伪方法包括:An embodiment of the first aspect of the present invention provides a filter element authentication method for authenticating the filter element of a water treatment device. Figure 1 shows a schematic flowchart of a method for identifying counterfeiting of a filter element according to an embodiment of the present invention. Among them, the filter element identification methods include:
S102,获取鉴伪图案处于显示状态下的滤芯图像;S102, obtain the filter element image with the counterfeiting identification pattern in the displayed state;
S104,使用预存储的解码表对鉴伪图案进行解码,以得到鉴伪图案对应的产品编码;S104, use the pre-stored decoding table to decode the counterfeit identification pattern to obtain the product code corresponding to the counterfeit identification pattern;
S106,将滤芯的产品编码与预存储的编码数据库进行比对,在比对结果一致时,发出验证通过信号,以使滤芯运行。S106: Compare the product code of the filter element with the pre-stored coding database. When the comparison results are consistent, a verification pass signal is sent to enable the filter element to operate.
在该实施例中,首先将鉴伪图案以隐写的方式添加到滤芯图像里,并通过预存储的解码表来对获取到的该鉴伪图案进行解码,以便于得到与鉴伪图案相对应的具有产品参数信息的产品编码,再将得到的该滤芯的产品编码与预先存储在数据库中的编码数据进行对比,若滤芯的产品编码和数据库中的编码数据一致,则向滤芯所在的器件本体发出验证通过信号,以使得滤芯能够正常工作,否则向滤芯所在的器件本体发出验证不通过的信号,以使得滤芯无法正常工作。该技术方案将鉴伪图案隐藏在滤芯图像里,因而通过肉眼不易察觉,即使通过其他途径了解到了此鉴伪图案的位置,也无法通过扫码的方式来解析鉴伪图案包含的产品,而必须通过附带预存储的解码表的相应装置来对图案进行解码,进而提高了仿制门槛,以有效防止不法商家对某品牌的滤芯产品进行的伪造,此外,该方案只有在滤芯的产品编码信息和数据库中的编码信息一致的前提下才能让滤芯工作,进而提高了滤芯的防伪能力,有效防止了没有经过授权的滤芯也能够正常工作的情况,在一定程度上保证了该滤芯所在器件本体的市场占有率。In this embodiment, the counterfeiting pattern is first added to the filter image in a steganographic manner, and the obtained counterfeiting pattern is decoded through a pre-stored decoding table, so as to obtain the counterfeiting pattern corresponding to the counterfeiting pattern. product code with product parameter information, and then compare the obtained product code of the filter element with the coding data pre-stored in the database. If the product code of the filter element is consistent with the coding data in the database, the filter element will be sent to the device body where the filter element is located. Send a verification pass signal so that the filter element can work normally; otherwise, send a verification failure signal to the device body where the filter element is located, so that the filter element cannot work normally. This technical solution hides the counterfeiting pattern in the filter image, so it is not easily detectable by the naked eye. Even if the location of the counterfeiting pattern is known through other means, the products contained in the counterfeiting pattern cannot be analyzed by scanning the code, and must The pattern is decoded through the corresponding device with a pre-stored decoding table, thereby raising the threshold for imitation and effectively preventing unscrupulous merchants from counterfeiting a certain brand of filter element products. In addition, this solution only has the product coding information and database of the filter element. The filter element can only work if the coding information in the filter element is consistent, thereby improving the anti-counterfeiting ability of the filter element, effectively preventing the situation that unauthorized filter elements can also work normally, and ensuring to a certain extent the market share of the device body where the filter element is located. Rate.
图2示出了本发明的另一个实施例的滤芯鉴伪方法的流程示意图。其中,该滤芯鉴伪方法包括:FIG. 2 shows a schematic flowchart of a method for detecting counterfeiting of a filter element according to another embodiment of the present invention. Among them, the filter element identification methods include:
S202,获取鉴伪图案处于显示状态下的滤芯图像;S202, obtain the filter element image with the counterfeiting identification pattern in the displayed state;
S204,滤芯图像上还具有隐写的标识图案,其中,标识图案与鉴伪图案相连续,使用预存储的标识图案与滤芯图像进行比对,定位标识图案在滤芯图像中的第一位置,根据第一位置定位鉴伪图案;S204, the filter element image also has a steganographic logo pattern, where the logo pattern is continuous with the counterfeit identification pattern. Use the pre-stored logo pattern to compare with the filter element image, and locate the first position of the logo pattern in the filter element image. According to The first position locates the counterfeiting identification pattern;
S206,使用预存储的解码表对鉴伪图案进行解码,以得到鉴伪图案对应的产品编码;S206, use the pre-stored decoding table to decode the counterfeit identification pattern to obtain the product code corresponding to the counterfeit identification pattern;
S208,将滤芯的产品编码与预存储的编码数据库进行比对,在比对结果一致时,发出验证通过信号,以使滤芯运行。S208: Compare the product code of the filter element with the pre-stored coding database. When the comparison results are consistent, a verification pass signal is sent to enable the filter element to operate.
在该实施例中,通过滤芯图像中包含的与鉴伪图案相连续的隐写的标识图案来定位鉴伪图案的位置,具体地,首先将预存储的标识图案与滤芯图像进行对比,再根据对比情况来定位到隐写的标识图案在滤芯图像中的具体位置,最后根据这一具体位置来定位鉴伪图案的具体位置,以便于后期使用带有预存储的解码表的装置对鉴伪图案进行解码,该技术方案中的此标识图案可以是单独的数字或字母,也可以是两者的组合。In this embodiment, the position of the identification pattern is located through the steganographic identification pattern contained in the filter element image that is continuous with the identification pattern. Specifically, the pre-stored identification pattern is first compared with the filter element image, and then based on Compare the situation to locate the specific position of the steganographic logo pattern in the filter image, and finally locate the specific position of the counterfeiting pattern based on this specific position, so that the device with a pre-stored decoding table can later be used to identify the counterfeiting pattern. For decoding, the identification pattern in this technical solution can be a single number or letter, or a combination of both.
图3示出了本发明的再一个实施例的滤芯鉴伪方法的流程示意图。其中,该滤芯鉴伪方法包括:Figure 3 shows a schematic flowchart of a filter element authentication method according to yet another embodiment of the present invention. Among them, the filter element identification methods include:
S302,获取鉴伪图案处于显示状态下的滤芯图像;S302, obtain the filter element image with the counterfeiting identification pattern in the displayed state;
S304,滤芯图像上还具有隐写的标识图案,其中,标识图案与鉴伪图案相连续,使用预存储的标识图案与滤芯图像进行比对,定位标识图案在滤芯图像中的第一位置;根据第一位置定位鉴伪图案;S304, the filter element image also has a steganographic logo pattern, where the logo pattern is continuous with the counterfeit identification pattern, and the pre-stored logo pattern is compared with the filter element image to locate the first position of the logo pattern in the filter element image; according to The first position locates the counterfeiting identification pattern;
S306,使用预存储的解码表对鉴伪图案进行解码,以得到鉴伪图案对应的产品编码;S306, use the pre-stored decoding table to decode the counterfeiting identification pattern to obtain the product code corresponding to the counterfeiting identification pattern;
S308,将滤芯的产品编码与预存储的编码数据库进行比对,在比对结果一致时,发出验证通过信号,以使滤芯运行,在对比结果不一致时,发出警示信号。S308: Compare the product code of the filter element with the pre-stored coding database. When the comparison results are consistent, a verification pass signal is sent to enable the filter element to run. When the comparison results are inconsistent, a warning signal is issued.
在该实施例中,当滤芯的产品编码和数据库中的编码数据不一致时,向滤芯所在的器件本体发出验证不通过的信号的同时也附带发送了警示信号,以提醒用户此滤芯不是原厂或者原厂授权的滤芯,因而无法正常工作,进而导致使用此滤芯的器件本体无法实现其原有功能。In this embodiment, when the product code of the filter element is inconsistent with the coding data in the database, a verification failure signal is sent to the device body where the filter element is located, and a warning signal is also sent to remind the user that the filter element is not original or not. The filter element authorized by the original manufacturer cannot work properly, resulting in the device body using this filter element being unable to achieve its original function.
图4示出了本发明的又一个实施例的滤芯鉴伪方法的流程示意图。其中,该滤芯鉴伪方法包括:FIG. 4 shows a schematic flowchart of a method for detecting counterfeiting of a filter element according to another embodiment of the present invention. Among them, the filter element identification methods include:
S402,每间隔预设时长获取鉴伪图案处于显示状态下的滤芯图像;S402: Obtain the filter element image with the counterfeiting identification pattern in the displayed state every preset time interval;
S404,滤芯图像上还具有隐写的标识图案,其中,标识图案与鉴伪图案相连续,使用预存储的标识图案与滤芯图像进行比对,定位标识图案在滤芯图像中的第一位置;根据第一位置定位鉴伪图案;S404, the filter element image also has a steganographic logo pattern, where the logo pattern is continuous with the counterfeit identification pattern, and the pre-stored logo pattern is compared with the filter element image to locate the first position of the logo pattern in the filter element image; according to The first position locates the counterfeiting identification pattern;
S406,使用预存储的解码表对鉴伪图案进行解码,以得到鉴伪图案对应的产品编码;S406, use the pre-stored decoding table to decode the counterfeiting identification pattern to obtain the product code corresponding to the counterfeiting identification pattern;
S408,将滤芯的产品编码与预存储的编码数据库进行比对,在比对结果一致时,发出验证通过信号,以使滤芯运行;在对比结果不一致时,发出警示信号。S408: Compare the product code of the filter element with the pre-stored coding database. When the comparison results are consistent, a verification pass signal is sent to enable the filter element to run; when the comparison results are inconsistent, a warning signal is issued.
在该实施例中,通过预先设定一段时长以便于每间隔该段时长就获取一次鉴伪图案处于显示状态之下的滤芯图像,以便于监视该滤芯是否已经在用过一段时间后被用户替换成了另一个品牌的滤芯,从而及时通知滤芯所在的器件本体及时控制该滤芯停止工作,以避免在使用一段时间后因滤芯的质量问题而影响器件本体的正常工作,也可以避免用户在维权的时候出现的滤芯厂家扯皮的情况。In this embodiment, a period of time is preset so that an image of the filter element with the authentication pattern in the displayed state is obtained every interval of the period of time, so as to monitor whether the filter element has been replaced by the user after being used for a period of time. It has become a filter element of another brand, thereby promptly notifying the device body where the filter element is located to promptly control the filter element to stop working, so as to avoid affecting the normal operation of the device body due to quality problems of the filter element after a period of use, and also to avoid users having to safeguard their rights. Sometimes there is a situation where filter element manufacturers are wrangling.
图5示出了本发明的又一个实施例的滤芯鉴伪方法的流程示意图。其中,该滤芯鉴伪方法包括:Figure 5 shows a schematic flowchart of a filter element authentication method according to another embodiment of the present invention. Among them, the filter element identification methods include:
S502,每间隔预设时长获取鉴伪图案处于显示状态下的滤芯图像,该鉴伪图案为对象标识符编码软件生成的图案;S502: Obtain the filter element image with the counterfeiting identification pattern in the displayed state every preset time interval. The counterfeiting identification pattern is a pattern generated by the object identifier encoding software;
S504,滤芯图像上还具有隐写的标识图案,其中,标识图案与鉴伪图案相连续,使用预存储的标识图案与滤芯图像进行比对,定位标识图案在滤芯图像中的第一位置;根据第一位置定位鉴伪图案;S504, the filter element image also has a steganographic logo pattern, where the logo pattern is continuous with the counterfeit identification pattern, and the pre-stored logo pattern is compared with the filter element image to locate the first position of the logo pattern in the filter element image; according to The first position locates the counterfeiting identification pattern;
S506,使用预存储的解码表对鉴伪图案进行解码,以得到鉴伪图案对应的产品编码;S506, use the pre-stored decoding table to decode the counterfeit identification pattern to obtain the product code corresponding to the counterfeit identification pattern;
S508,将滤芯的产品编码与预存储的编码数据库进行比对,在比对结果一致时,发出验证通过信号,以使滤芯运行;在对比结果不一致时,发出警示信号。S508: Compare the product code of the filter element with the pre-stored coding database. When the comparison results are consistent, a verification pass signal is sent to enable the filter element to run; when the comparison results are inconsistent, a warning signal is issued.
在该实施例中,鉴伪图案是通过对象标识符编码软件生成的,具体地,使用对象标识符编码软件对滤芯进行编码,然后通过专用印刷软件将该编码隐藏到滤芯图像里以形成最终的带有鉴伪图案的滤芯图像,该技术方案能够快速、有效地形成能够隐藏在滤芯图像里的鉴伪图案,从而让人眼察觉不到具有鉴伪图案的滤芯图像和普通的滤芯图像之间的区别,以避免用户或者不法分子通过故意破坏此鉴伪图案的手段来替换其他品牌的廉价滤芯。In this embodiment, the counterfeiting pattern is generated through object identifier encoding software. Specifically, the object identifier encoding software is used to encode the filter element, and then the code is hidden into the filter element image through special printing software to form the final Filter element image with a counterfeiting identification pattern. This technical solution can quickly and effectively form a counterfeiting identification pattern that can be hidden in the filter element image, so that the human eye cannot detect the difference between the filter element image with the counterfeiting identification pattern and the ordinary filter element image. The difference is to prevent users or criminals from replacing other brands of cheap filter elements by deliberately destroying the authentication pattern.
在本发明的一个实施例中,图6示出了根据本发明的一个实施例的鉴伪图像的印刷方法及效果展示图,如图6所示,鉴伪图像被印刷在C、M和Y层的底部,即在印刷K层(黑色涂层)时,将鉴伪图像印刷在底层,在印刷C(蓝色)、M(洋红)和Y(黄)来形成印刷图案,利用C(蓝色)、M(洋红)和Y(黄)的遮挡作用实现鉴伪图像的隐写。具体地,如图6所示,鉴伪图像在显示状态下的显示图像。In one embodiment of the present invention, Figure 6 shows a printing method and effect display of a counterfeiting image according to an embodiment of the present invention. As shown in Figure 6, the counterfeiting image is printed on C, M and Y At the bottom of the layer, that is, when printing the K layer (black coating), the counterfeiting image is printed on the bottom layer, and C (blue), M (magenta) and Y (yellow) are printed to form a printing pattern, using C (blue) The occlusion effect of color), M (magenta) and Y (yellow) realizes the steganography of counterfeiting images. Specifically, as shown in Figure 6, the display image of the counterfeiting image in the display state.
图6示出了根据本发明的一个实施例的通过水处理装置的采集装置和控制器来读取构成鉴伪图案编码的原理示意图,如图6所示,首先,利用采集装置采集该滤芯图像并发送至控制器,再通过控制器里的预存储的解码表来对获取到的该鉴伪图案进行解码,以便于得到与鉴伪图案相对应的具有产品参数信息的产品编码,然后将得到的该滤芯的产品编码与预先存储在数据库中的编码数据进行对比。Figure 6 shows a schematic diagram of the principle of reading the code constituting the identification pattern through the collection device and controller of the water treatment device according to one embodiment of the present invention. As shown in Figure 6, first, the collection device is used to collect the image of the filter element And send it to the controller, and then decode the obtained counterfeit identification pattern through the pre-stored decoding table in the controller, so as to obtain the product code with product parameter information corresponding to the counterfeit identification pattern, and then get The product code of the filter element is compared with the code data pre-stored in the database.
图7示出了根据本发明的一个实施例的采集装置的采集结构示意图。Figure 7 shows a schematic diagram of the collection structure of a collection device according to an embodiment of the present invention.
图8示出了根据本发明的另一个实施例的采集装置的采集结构示意图,如图7和图8所示,采集装置在电源的供电下,从存储介质(EEPROM,电可擦可编程只读存储器)调用控制信号,控制红外线发光二级管发光,照射到滤芯,点像(K层)印刷油墨会吸收红外线,光学扫描头会经由C-MOS镜头会将点像(K层)印刷油墨显示状态下的图像扫描下来,输出至微控制器(DSP,digital signal processor,数字信号处理器)或者(MCU,MicroControlUnit,微控制单元),以便根据获得得到的鉴伪图像进行滤芯的鉴伪。Figure 8 shows a schematic diagram of the collection structure of a collection device according to another embodiment of the present invention. As shown in Figures 7 and 8, the collection device is powered by a power supply from a storage medium (EEPROM, electrically erasable programmable only). Read the memory) to call the control signal to control the infrared light-emitting diode to emit light and illuminate the filter element. The dot image (K layer) printing ink will absorb infrared rays, and the optical scanning head will pass the dot image (K layer) printing ink through the C-MOS lens. The image in the display state is scanned and output to a microcontroller (DSP, digital signal processor, digital signal processor) or (MCU, MicroControlUnit, micro control unit), so that the filter element can be authenticated based on the obtained authentication image.
图9示出了根据本发明的一个实施例的构成鉴伪图案的编码的结构示意图,如图9所示,黑色原点分别位于二维坐标系的四个象限中,其中,当黑色原点位于二维坐标系的第四象限时,代表二进制编码“00”;当黑色原点位于二维坐标系的第三象限时,代表二进制编码“01”;当黑色原点位于二维坐标系的第二象限时,代表二进制编码“10”;当黑色原点位于二维坐标系的第一象限时,代表二进制编码“11”。通过“00”、“01”、“10”和“11”的组合编译,以生成滤芯的鉴伪图案。Figure 9 shows a schematic structural diagram of the code constituting the authentication pattern according to an embodiment of the present invention. As shown in Figure 9, the black origins are located in the four quadrants of the two-dimensional coordinate system. When the black origins are located in the two When the black origin is in the third quadrant of the two-dimensional coordinate system, it represents the binary code "00"; when the black origin is in the third quadrant of the two-dimensional coordinate system, it represents the binary code "01"; when the black origin is in the second quadrant of the two-dimensional coordinate system , represents the binary code "10"; when the black origin is located in the first quadrant of the two-dimensional coordinate system, it represents the binary code "11". Compile through the combination of "00", "01", "10" and "11" to generate a counterfeit identification pattern of the filter element.
图10示出了根据本发明的一个应用在水处理装置滤芯上的隐形防伪方法的流程示意框图,如图10所示,在本发明的一个实施例中,滤芯的隐形防伪方法的实现过程如下:Figure 10 shows a flow diagram of an invisible anti-counterfeiting method applied to a filter element of a water treatment device according to the present invention. As shown in Figure 10, in one embodiment of the present invention, the implementation process of the invisible anti-counterfeiting method for a filter element is as follows :
S602,OID采集参数设置;S602, OID collection parameter setting;
S604,每小时读取一次隐形码信息;S604, read invisible code information once every hour;
S606,判断是否与预设产品信息匹配,在判断结果为是时,执行S610,否则执行S608。S606: Determine whether it matches the preset product information. If the judgment result is yes, execute S610; otherwise, execute S608.
通过OID编码软件对滤芯进行ID编码,然后通过专用印刷软件把编码隐藏到滤芯的彩色印刷图纸中。从外观上是看印刷的图片跟正常的图片是没任何分别的,需要通过专用的OID传感器才能够识别隐藏在印刷图像中的编码图案。而OID传感器安装在主机上,当带有防伪的滤芯安装到主机时,OID能识别到该滤芯编码,然后告知主机控制板对其进行防伪查询,如果是授权的滤芯,可以让其工作,如果是非法的滤芯则停止让其工作。The filter element is ID-coded through OID coding software, and then the code is hidden in the color printing drawing of the filter element through special printing software. From the appearance, the printed pictures are no different from normal pictures. A special OID sensor is required to identify the coding pattern hidden in the printed image. The OID sensor is installed on the host. When an anti-counterfeiting filter element is installed on the host, the OID can identify the filter element code and then notify the host control board to perform an anti-counterfeiting query on it. If it is an authorized filter element, it can be allowed to work. If If the filter element is illegal, it will stop working.
在本发明的第二方面的实施例中,提供了一种水处理装置,图11示出了根据本发明的一个水处理装置的示意框图,其中水处理装置700包括:滤芯702,滤芯702上具有隐写的鉴伪图案;采集装置704,用于获取鉴伪图案处于显示状态下的滤芯702图像;控制器706,控制器706与采集装置704相连接,用于使用预存储的解码表对鉴伪图案进行解码,以得到鉴伪图案对应的产品编码;将滤芯702的产品编码与预存储的编码数据库进行比对,在比对结果一致时,发出验证通过信号,以使滤芯702运行。In an embodiment of the second aspect of the present invention, a water treatment device is provided. Figure 11 shows a schematic block diagram of a water treatment device according to the present invention, wherein the water treatment device 700 includes: a filter element 702. On the filter element 702 Having a steganographic identification pattern; a collection device 704 for obtaining an image of the filter element 702 with the verification pattern in a displayed state; a controller 706 connected to the collection device 704 for using a pre-stored decoding table pair The counterfeiting identification pattern is decoded to obtain the product code corresponding to the counterfeiting identification pattern; the product code of the filter element 702 is compared with the pre-stored coding database. When the comparison results are consistent, a verification pass signal is sent to enable the filter element 702 to operate.
在本发明的一种水处理装置,包括滤芯702、采集装置704和控制器706,其中,首先将鉴伪图案以隐写的方式添加到滤芯702图像里,再利用采集装置704采集该滤芯702图像并发送至控制器706,并通过控制器706里的预存储的解码表来对获取到的该鉴伪图案进行解码,以便于得到与鉴伪图案相对应的具有产品参数信息的产品编码,再将得到的该滤芯702的产品编码与预先存储在数据库中的编码数据进行对比,若滤芯702的产品编码和数据库中的编码数据一致,则向控制器706反馈验证通过信号,以使得控制器706能够控制滤芯702正常工作,否则向控制器706反馈验证不通过的信号,以使得控制器706控制滤芯702停止工作。该技术方案将鉴伪图案隐藏在滤芯702图像里,因而通过肉眼不易察觉,即使通过其他途径了解到了此鉴伪图案的位置,也无法通过扫码的方式来解析鉴伪图案包含的产品,而必须通过附带预存储的解码表的相应装置来对图案进行解码,进而提高了仿制门槛,以有效防止不法商家对某品牌的滤芯702产品进行的伪造,此外,该方案只有在滤芯702的产品编码信息和数据库中的编码信息一致的前提下才能让滤芯702工作,进而提高了滤芯702的防伪能力,有效防止了没有经过授权的滤芯702也能够正常工作的情况,在一定程度上保证了该滤芯702所在器件本体的市场占有率。In a water treatment device of the present invention, it includes a filter element 702, a collection device 704 and a controller 706. First, a counterfeiting pattern is added to the image of the filter element 702 in a steganographic manner, and then the collection device 704 is used to collect the filter element 702 The image is sent to the controller 706, and the obtained counterfeit authentication pattern is decoded through the pre-stored decoding table in the controller 706, so as to obtain the product code with product parameter information corresponding to the counterfeit authentication pattern, The obtained product code of the filter element 702 is compared with the coded data pre-stored in the database. If the product code of the filter element 702 is consistent with the coded data in the database, a verification pass signal is fed back to the controller 706 so that the controller 706 can control the filter element 702 to work normally, otherwise it will feed back a verification failure signal to the controller 706 so that the controller 706 controls the filter element 702 to stop working. This technical solution hides the counterfeiting pattern in the filter element 702 image, so it is not easily detectable by the naked eye. Even if the location of the counterfeiting pattern is known through other means, the products contained in the counterfeiting pattern cannot be analyzed by scanning the code. The pattern must be decoded through a corresponding device with a pre-stored decoding table, thereby raising the threshold for counterfeiting to effectively prevent unscrupulous merchants from counterfeiting a certain brand of filter element 702 products. In addition, this solution only uses the product code of the filter element 702 The filter element 702 can only work if the information is consistent with the coded information in the database, thereby improving the anti-counterfeiting capability of the filter element 702, effectively preventing the filter element 702 from being able to work normally without authorization, and ensuring that the filter element 702 can operate normally to a certain extent. The market share of the device body where 702 is located.
在本发明的一个实施例中,滤芯702上还具有隐写的标识图案,标识图案与鉴伪图案相连续,滤芯702图像还包括显示状态下的标识图案;控制器706还用于:使用预存储的标识图案与滤芯702图像进行比对,定位标识图案在滤芯702图像中的第一位置;根据第一位置定位鉴伪图案。In one embodiment of the present invention, the filter element 702 also has a steganographic identification pattern, the identification pattern is continuous with the counterfeiting identification pattern, and the image of the filter element 702 also includes the identification pattern in the display state; the controller 706 is also used to: use preset The stored identification pattern is compared with the image of the filter element 702, and the identification pattern is located at the first position in the image of the filter element 702; the counterfeiting pattern is located based on the first position.
在该实施例中,通过滤芯702图像中包含的与鉴伪图案相连续的隐写的标识图案来定位鉴伪图案的位置,具体地,控制器706首先使用其内部预存储的标识图案与滤芯702图像进行对比,再根据对比情况来定位到隐写的标识图案在滤芯702图像中的具体位置,最后根据这一具体位置来定位鉴伪图案的具体位置,以便于后期使用带有预存储的解码表的装置对鉴伪图案进行解码,该技术方案中的此标识图案可以是单独的数字或字母,也可以是两者的组合。In this embodiment, the position of the counterfeiting pattern is located through the steganographic identification pattern contained in the image of the filter element 702 that is continuous with the counterfeiting pattern. Specifically, the controller 706 first uses its internal pre-stored identification pattern to match the filter element. 702 images are compared, and then the specific position of the steganographic logo pattern in the filter element 702 image is located according to the comparison situation, and finally the specific position of the authentication pattern is located based on this specific position, so as to facilitate later use of the pre-stored identification pattern. The device of the decoding table decodes the counterfeit identification pattern. The identification pattern in this technical solution can be a single number or letter, or a combination of both.
在本发明的一个实施例中,控制器706还用于:在判断结果为否时,发出警示信号,以控制水处理装置的警示装置发出警示信息。In one embodiment of the present invention, the controller 706 is also configured to: when the judgment result is no, send a warning signal to control the warning device of the water treatment device to send the warning message.
在该实施例中,当控制器706校验出滤芯702的产品编码和数据库中的编码数据不一致时,控制器706便会向滤芯702所在的水处理装置发出验证不通过的信号的同时也附带发送了警示信号,以控制水处理装置的警示装置发出警示信息,用于提醒用户此滤芯702不是原厂或者原厂授权的滤芯702,因而无法正常工作,进而导致使用此滤芯702的水处理装置无法实现其原有功能。In this embodiment, when the controller 706 verifies that the product code of the filter element 702 is inconsistent with the coding data in the database, the controller 706 will send a verification failure signal to the water treatment device where the filter element 702 is located, along with a A warning signal is sent to control the warning device of the water treatment device to send out a warning message to remind the user that this filter element 702 is not the original or original factory-authorized filter element 702, and therefore cannot work properly, which in turn causes the water treatment device to use this filter element 702 Its original function cannot be realized.
在本发明的一个实施例中,控制器706具体用于:每间隔预设时长获取鉴伪图案处于显示状态下的滤芯702图像。In one embodiment of the present invention, the controller 706 is specifically configured to: acquire an image of the filter element 702 in which the counterfeiting identification pattern is displayed every preset time interval.
在该实施例中,通过在控制器706中预先设定一段时长以便于每间隔该段时长就获取一次由采集装置704发来的鉴伪图案处于显示状态之下的滤芯702图像,以便于监视该滤芯702是否已经在用过一段时间后被用户替换成了另一个品牌的滤芯702,从而及时通知滤芯702所在的水处理装置及时控制该滤芯702停止工作,以避免在使用一段时间后因滤芯702的质量问题而影响器件本体的正常工作,也可以避免用户在维权的时候出现的滤芯702厂家扯皮的情况。In this embodiment, a period of time is preset in the controller 706 so that the image of the filter element 702 with the authentication pattern in the display state sent by the acquisition device 704 is acquired every interval of this period of time to facilitate monitoring. Whether the filter element 702 has been replaced by another brand of filter element 702 by the user after being used for a period of time, so as to promptly notify the water treatment device where the filter element 702 is located to promptly control the filter element 702 to stop working, so as to avoid failure of the filter element 702 after a period of use. The quality problems of 702 will affect the normal operation of the device body, and it can also avoid the quarrel between the filter element 702 manufacturer and the user when safeguarding their rights.
在本发明的一个实施例中,控制器706还用于:接收采集装置704的控制参数,并根据控制参数控制采集装置704运行,以使采集装置704获取鉴伪图案处于显示状态下的滤芯702图像。In one embodiment of the present invention, the controller 706 is also used to: receive the control parameters of the collection device 704, and control the operation of the collection device 704 according to the control parameters, so that the collection device 704 obtains the filter element 702 with the authentication pattern in the display state. image.
在该实施例中,控制装置根据接收由采集装置704发来的控制参数来控制采集装置704实时采集鉴伪图案处于显示状态下的滤芯702图像,采用该技术方案可以实时采集包含鉴伪图案的滤芯702图像,以便于实时监视该滤芯702是否已经在用过一段时间后被用户替换成了另一个品牌的滤芯702。In this embodiment, the control device controls the acquisition device 704 to collect the image of the filter element 702 in which the authentication pattern is displayed in real time according to the control parameters received from the acquisition device 704. This technical solution can be used to collect the image containing the authentication pattern in real time. The image of the filter element 702 is used to monitor in real time whether the filter element 702 has been replaced by another brand of filter element 702 by the user after being used for a period of time.
在上述任一实施例中,鉴伪图案为对象标识符编码软件生成的图案;采集装置704为对象标识符专用图像识别摄像头。In any of the above embodiments, the counterfeiting pattern is a pattern generated by the object identifier encoding software; the collection device 704 is a dedicated image recognition camera for the object identifier.
在该实施例中,鉴伪图案是通过对象标识符编码软件生成的,具体地,使用对象标识符编码软件对滤芯702进行编码,然后通过专用印刷软件将该编码隐藏到滤芯702图像里以形成最终的带有鉴伪图案的滤芯702图像,该技术方案能够快速、有效地形成能够隐藏在滤芯702图像里的鉴伪图案,从而让人眼察觉不到具有鉴伪图案的滤芯702图像和普通的滤芯702图像之间的区别,以避免用户或者不法分子通过故意破坏此鉴伪图案的手段来替换其他品牌的廉价滤芯702。优选地,使用OID(Object Identifier对象标识符)编码软件,其中OID采用分层树形结构对任何类型的对象(包括实体对象、虚拟对象、符合对象等)进行全球无歧义、唯一命名。此外,采集装置704为对象标识符专用图像识别摄像头,只有采用此专用图像识别摄像头才能实现对包含鉴伪图案的滤芯702图像的有效采集,因而能够防止包含鉴伪图案的滤芯702图像里的编码信息被盗取。In this embodiment, the counterfeiting pattern is generated through object identifier encoding software. Specifically, the object identifier encoding software is used to encode the filter element 702, and then the code is hidden into the image of the filter element 702 through special printing software to form The final image of the filter element 702 with the authentication pattern. This technical solution can quickly and effectively form the authentication pattern that can be hidden in the image of the filter element 702, so that the human eye cannot detect the image of the filter element 702 with the authentication pattern and the ordinary image. The difference between the images of the filter element 702 is to prevent users or criminals from replacing other brands of cheap filter elements 702 by deliberately destroying the identification pattern. Preferably, OID (Object Identifier) encoding software is used, where OID uses a hierarchical tree structure to globally unambiguously name any type of object (including entity objects, virtual objects, conforming objects, etc.), uniquely. In addition, the acquisition device 704 is a dedicated image recognition camera for the object identifier. Only by using this dedicated image recognition camera can the image of the filter element 702 containing the authentication pattern be effectively acquired, thereby preventing coding in the image of the filter element 702 containing the authentication pattern. Information stolen.
在本发明第三方面的实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现如上述任一实施例中的滤芯鉴的伪方法,因此,该计算机可读存储介质包括上述任一实施例中的滤芯的鉴伪方法的全部有益效果。In an embodiment of the third aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the pseudo method of filter element identification as in any of the above embodiments is implemented, Therefore, the computer-readable storage medium includes all the beneficial effects of the filter element authentication method in any of the above embodiments.
在本发明的描述中,术语“多个”则指两个或两个以上,除非另有明确的限定,术语“上”、“下”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制;术语“连接”、“安装”、“固定”等均应做广义理解,例如,“连接”可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是直接相连,也可以通过中间媒介间接相连。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, the term "plurality" refers to two or more than two. Unless otherwise clearly defined, the orientation or positional relationship indicated by the terms "upper", "lower", etc. is based on that shown in the drawings. The orientation or positional relationship is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention; The terms "connection", "installation", "fixing", etc. should be understood in a broad sense. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be directly connected or through an intermediate connection. Media are indirectly connected. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
在本发明的描述中,术语“一个实施例”、“一些实施例”、“具体实施例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或特点包含于本发明的至少一个实施例或示例中。在本发明中,对上述术语的示意性表述不一定指的是相同的实施例或实例。而且,描述的具体特征、结构、材料或特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of the present invention, the terms "one embodiment," "some embodiments," "specific embodiments," etc., mean that a particular feature, structure, material or characteristic described in connection with the embodiment or example is included in the present invention. in at least one embodiment or example. In the present invention, schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
以上仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection scope of the present invention.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811633303.1A CN111401917B (en) | 2018-12-29 | 2018-12-29 | Filter element detection method, water treatment device and computer-readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811633303.1A CN111401917B (en) | 2018-12-29 | 2018-12-29 | Filter element detection method, water treatment device and computer-readable storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111401917A CN111401917A (en) | 2020-07-10 |
| CN111401917B true CN111401917B (en) | 2024-03-19 |
Family
ID=71433896
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811633303.1A Active CN111401917B (en) | 2018-12-29 | 2018-12-29 | Filter element detection method, water treatment device and computer-readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111401917B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116883019A (en) * | 2023-07-21 | 2023-10-13 | 芜湖美的智能厨电制造有限公司 | Anti-counterfeiting recognition method and device for filter element, water purifying equipment and electronic equipment |
| WO2025016437A1 (en) * | 2023-07-18 | 2025-01-23 | 芜湖美的智能厨电制造有限公司 | Anti-counterfeiting identification method for filter element, and related apparatus |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1510777A (en) * | 2002-12-20 | 2004-07-07 | 北京六合万通微电子技术有限公司 | Anti-fogery system of chargeable battery |
| CN103295047A (en) * | 2013-06-25 | 2013-09-11 | 谢婧 | Image identifier capable of obtaining hidden information and manufacturing and reading method thereof |
| CN103729609A (en) * | 2013-04-16 | 2014-04-16 | 立德高科(北京)数码科技有限责任公司 | Anti-counterfeiting recognition system for taxation bill |
| CN104794626A (en) * | 2015-04-28 | 2015-07-22 | 广东欧珀移动通信有限公司 | An anti-counterfeiting method and device based on hardware information |
| CN104993936A (en) * | 2015-07-01 | 2015-10-21 | 佛山市云米电器科技有限公司 | Anti-counterfeiting validation method and device for filter element of water purifier and electronic equipment |
| CN105049634A (en) * | 2015-08-19 | 2015-11-11 | Tcl移动通信科技(宁波)有限公司 | Battery mobile terminal based on NFC recognition and recognition method |
| CN106355422A (en) * | 2016-08-31 | 2017-01-25 | 芜湖美的厨卫电器制造有限公司 | Filter element anti-counterfeiting method, water purifier and filter element anti-counterfeiting system |
| CN107633413A (en) * | 2017-10-17 | 2018-01-26 | 深圳市裕同包装科技股份有限公司 | A kind of anti-fake traceability system and method |
| CN108168022A (en) * | 2017-10-26 | 2018-06-15 | 佛山市顺德区阿波罗环保器材有限公司 | intelligent air purifying system |
| CN108805591A (en) * | 2018-08-10 | 2018-11-13 | 陈港生 | Intelligent purifier filter core manages system |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7364074B2 (en) * | 2004-10-29 | 2008-04-29 | Symbol Technologies, Inc. | Method of authenticating products using analog and digital identifiers |
-
2018
- 2018-12-29 CN CN201811633303.1A patent/CN111401917B/en active Active
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1510777A (en) * | 2002-12-20 | 2004-07-07 | 北京六合万通微电子技术有限公司 | Anti-fogery system of chargeable battery |
| CN103729609A (en) * | 2013-04-16 | 2014-04-16 | 立德高科(北京)数码科技有限责任公司 | Anti-counterfeiting recognition system for taxation bill |
| CN103295047A (en) * | 2013-06-25 | 2013-09-11 | 谢婧 | Image identifier capable of obtaining hidden information and manufacturing and reading method thereof |
| CN104794626A (en) * | 2015-04-28 | 2015-07-22 | 广东欧珀移动通信有限公司 | An anti-counterfeiting method and device based on hardware information |
| CN104993936A (en) * | 2015-07-01 | 2015-10-21 | 佛山市云米电器科技有限公司 | Anti-counterfeiting validation method and device for filter element of water purifier and electronic equipment |
| CN105049634A (en) * | 2015-08-19 | 2015-11-11 | Tcl移动通信科技(宁波)有限公司 | Battery mobile terminal based on NFC recognition and recognition method |
| CN106355422A (en) * | 2016-08-31 | 2017-01-25 | 芜湖美的厨卫电器制造有限公司 | Filter element anti-counterfeiting method, water purifier and filter element anti-counterfeiting system |
| CN107633413A (en) * | 2017-10-17 | 2018-01-26 | 深圳市裕同包装科技股份有限公司 | A kind of anti-fake traceability system and method |
| CN108168022A (en) * | 2017-10-26 | 2018-06-15 | 佛山市顺德区阿波罗环保器材有限公司 | intelligent air purifying system |
| CN108805591A (en) * | 2018-08-10 | 2018-11-13 | 陈港生 | Intelligent purifier filter core manages system |
Non-Patent Citations (3)
| Title |
|---|
| 全产业链携手 全方位保障用户饮水安全;孙格格;现代家电;全文 * |
| 杨美霞.二维码.《射频识别技术原理与应用实战》.2017, * |
| 贾永红.《数字图像处理技巧》.武汉大学出版社,2017,第133-134页. * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111401917A (en) | 2020-07-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8052058B2 (en) | Scanner for product authentication | |
| US7309011B2 (en) | Method of authenticating products using hardware compatibility flag | |
| US9729326B2 (en) | Document certification and authentication system | |
| US20150269469A1 (en) | Method of, and System and Label For, Authenticating Objects in situ | |
| US20060095778A1 (en) | Analog and digital indicia authentication | |
| CN111401917B (en) | Filter element detection method, water treatment device and computer-readable storage medium | |
| CN101877095A (en) | Product anti-counterfeit method based on QR codes, short messages and internet | |
| US20200074130A1 (en) | Item identification | |
| JP2017532696A (en) | Method and authentication system for registering random security functions | |
| US20200394399A1 (en) | System and method for the identification of objects | |
| CN108960387A (en) | A kind of anti-counterfeiting two dimensional code and its generation and recognition methods | |
| JP6115772B2 (en) | Information code and information code reader | |
| KR101438443B1 (en) | Identification system of forged ids and identification method using the same | |
| CN105590227A (en) | Dynamic verification method, apparatus, and system of authenticity of commodity | |
| CN1976512A (en) | Antifake method for products with cell phone two-dimensional code | |
| CN102106110A (en) | Multi-modal security deterrents and methods for generating the same | |
| JP2007052611A (en) | Authenticity determination apparatus, authentication method, and authentication system | |
| WO2005119588A1 (en) | Forgery preventing card provided with two-dimensional code, and information presentation/verification system and information presentation/verification method using the forgery preventing card | |
| CN103794134B (en) | Generate and the method identifying the mark formed by dot matrix and electronic supervision code | |
| CN112418371B (en) | Secure three-dimensional code for blockchains and methods of generating and decoding | |
| CN104700282A (en) | Anti-counterfeiting method and anti-counterfeiting system for products | |
| JP4600810B2 (en) | Monitoring system and authentication method in monitoring system | |
| CN113988239A (en) | Method for checking and verifying genuine cigarettes based on pattern recognition technology | |
| CN112465518A (en) | Product authenticity identification method, product anti-counterfeiting method and storage medium | |
| WO2025003671A1 (en) | Method of reading an optically readable security element |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |