Product verification method and device, computer equipment, readable storage medium and program product

By using infrared information in infrared component assembly checks and object recognition verification, the problem that traditional methods cannot accurately verify infrared component assembly is solved, and the accuracy of accurate checks and infrared detection conditions for infrared components is achieved, and the accuracy of product recognition is improved.

CN120069897AActive Publication Date: 2025-05-30SHENZHEN GEEKVAPE TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510131887.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-05
Publication Date
2025-05-30
Estimated Expiration
2045-02-05

AI Technical Summary

Technical Problem

Traditional assembly verification methods cannot accurately verify the assembly accuracy of infrared components, resulting in abnormal product usage functions and affecting the product usage effect.

Method used

By obtaining the first infrared information and the second infrared information returned by the infrared component after sending infrared rays in the designated area of ​​the product to be verified, the assembly checksum object recognition verification is performed based on these information, and the infrared detection conditions are determined to improve the recognition accuracy of the product.

Benefits of technology

Accurate verification of infrared component assembly is achieved to ensure the accuracy of infrared detection conditions, thereby improving the accuracy of product identification of designated objects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120069897A_ABST
    Figure CN120069897A_ABST
Patent Text Reader

Abstract

The invention relates to a product verification method and device, computer equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: acquiring first infrared information returned after an infrared component sends infrared rays to a specified area under the condition that an object is not placed in the specified area of a to-be-verified product, and second infrared information returned after the infrared component sends the infrared rays to the specified area under the condition that the object is placed in the specified area; performing assembly verification on the infrared component based on the first infrared information and a preset first verification range to obtain an assembly verification result; when the assembly result is qualified, performing abnormity verification based on the second infrared information and a preset second verification range to obtain an object verification result; when the object inspection result is a specified object, determining an infrared detection condition of the to-be-inspected product based on the second infrared information; the infrared detection condition is used for identifying a specified object in the to-be-verified product. By adopting the method, the identification accuracy of the product on the specified object can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technologies, and in particular, to a product verification method, apparatus, computer device, computer-readable storage medium, and computer program product. Background Art

[0002] In the process of production and manufacturing, required equipment can be assembled through the assembly of different components, that is, the products obtained from production and manufacturing. Then, in the process of product assembly, if there is an assembly problem with a certain component, such as the assembly problem of an infrared component, it will cause the abnormal use function of the infrared component, and further affect the use effect of the product. For example, the abnormal functions such as object detection and ranging caused by large assembly errors of the infrared component. The traditional assembly verification method is to manually spot-check some equipment for verification, but it cannot accurately verify the assembly problems of each product, and there is also a problem of large manual verification errors, resulting in low verification accuracy of the product. Summary of the Invention

[0003] Based on this, it is necessary to provide a product verification method, apparatus, computer device, computer-readable storage medium, and computer program product for accurately verifying the assembly accuracy of the infrared component in the product and calibrating the infrared detection conditions of the infrared component, thereby improving the recognition accuracy of the product for a specified object in view of the above technical problems.

[0004] In a first aspect, the present application provides a product verification method, including:

[0005] Before the product to be verified is put into use, obtain the first infrared information returned after the infrared component in the product to be verified sends infrared rays to a specified area when no object is placed in the specified area of the product to be verified, and the second infrared information returned after the infrared component sends infrared rays to the specified area when an object is placed in the specified area;

[0006] Based on the first infrared information and a preset first verification range, perform an assembly verification on the current assembly position of the infrared component in the product to be verified to obtain an assembly verification result;

[0007] When the assembly verification result is a qualified assembly result, based on the second infrared information and a preset second verification range, perform an abnormality verification on the object to obtain an object inspection result;

[0008] When the object inspection result is a specified object, determine the infrared detection conditions corresponding to the product to be verified based on the second infrared information; the infrared detection conditions are used to identify a specified object in a specified area through the infrared component after the product to be verified is put into use.

[0009] In a second aspect, the present application further provides a product verification apparatus, including:

[0010] An infrared acquisition module, configured to obtain, before the product to be verified is put into use, first infrared information returned after the infrared component in the product to be verified sends infrared rays to a specified area when there is no object placed in the specified area of the product to be verified, and second infrared information returned after the infrared component sends infrared rays to the specified area when there is an object placed in the specified area;

[0011] An assembly verification module, configured to perform assembly verification on the current assembly position of the infrared component in the product to be verified based on the first infrared information and a preset first verification range, and obtain an assembly verification result;

[0012] A foreign object inspection module, configured to perform anomaly inspection on the object based on the second infrared information and a preset second verification range when the assembly verification result is a qualified assembly result, and obtain an object inspection result;

[0013] An infrared calibration module, configured to determine infrared detection conditions corresponding to the product to be verified based on the second infrared information when the object inspection result is a specified object; the infrared detection conditions are used to identify the specified object in the specified area through the infrared component after the product to be verified is put into use.

[0014] In a third aspect, the present application further provides a computer device, including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0015] Before the product to be verified is put into use, obtain first infrared information returned after the infrared component in the product to be verified sends infrared rays to a specified area when there is no object placed in the specified area of the product to be verified, and second infrared information returned after the infrared component sends infrared rays to the specified area when there is an object placed in the specified area;

[0016] Based on the first infrared information and a preset first verification range, perform assembly verification on the current assembly position of the infrared component in the product to be verified, and obtain an assembly verification result;

[0017] When the assembly verification result is a qualified assembly result, perform anomaly inspection on the object based on the second infrared information and a preset second verification range, and obtain an object inspection result;

[0018] When the object inspection result is a specified object, determine infrared detection conditions corresponding to the product to be verified based on the second infrared information; the infrared detection conditions are used to identify the specified object in the specified area through the infrared component after the product to be verified is put into use.

[0019] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0020] Before the product to be verified is put into use, obtain the first infrared information returned after the infrared component in the product to be verified sends infrared rays to the specified area when there is no object placed in the specified area of the product to be verified, and the second infrared information returned after the infrared component sends infrared rays to the specified area when there is an object placed in the specified area;

[0021] Based on the first infrared information and the preset first verification range, perform assembly verification on the current assembly position of the infrared component in the product to be verified to obtain an assembly verification result;

[0022] When the assembly verification result is a qualified assembly result, based on the second infrared information and the preset second verification range, perform anomaly verification on the object to obtain an object inspection result;

[0023] When the object inspection result is a specified object, determine the infrared detection condition corresponding to the product to be verified based on the second infrared information; the infrared detection condition is used to identify the specified object in the specified area through the infrared component after the product to be verified is put into use.

[0024] In a fifth aspect, the present application also provides a computer program product, including a computer program, which when executed by a processor implements the following steps:

[0025] Before the product to be verified is put into use, obtain the first infrared information returned after the infrared component in the product to be verified sends infrared rays to the specified area when there is no object placed in the specified area of the product to be verified, and the second infrared information returned after the infrared component sends infrared rays to the specified area when there is an object placed in the specified area;

[0026] Based on the first infrared information and the preset first verification range, perform assembly verification on the current assembly position of the infrared component in the product to be verified to obtain an assembly verification result;

[0027] When the assembly verification result is a qualified assembly result, based on the second infrared information and the preset second verification range, perform anomaly verification on the object to obtain an object inspection result;

[0028] When the object inspection result is a specified object, determine the infrared detection condition corresponding to the product to be verified based on the second infrared information; the infrared detection condition is used to identify the specified object in the specified area through the infrared component after the product to be verified is put into use.

[0029] The above product verification method, device, computer equipment, computer-readable storage medium, and computer program product can realize the assembly verification of the infrared component by obtaining the first infrared information collected when no object is placed in the specified area of the product to be verified before it is put into use, and the second infrared information collected when an object is placed in the specified area, and performing assembly verification on the current assembly position of the infrared component in the product to be verified according to the first infrared information and the preset first verification range, thereby improving the assembly accuracy of the infrared component in the product to be verified. Then, when the assembly verification result is a qualified assembly result, the object placed in the specified area is subjected to abnormality verification according to the second infrared information and the preset second verification range, which can ensure that the object placed in the specified area is the specified object, so as to ensure the accuracy of the infrared detection condition when determining the infrared detection condition of the product to be verified according to the second infrared information, realizing the personalized calibration of the infrared component of the product to be verified. Furthermore, after the product to be verified is put into use, the specified object is recognized in the specified area according to the infrared detection condition, improving the recognition accuracy of the specified object by the product to be verified. Therefore, the assembly accuracy of the infrared component in the product to be verified can be accurately verified through the first infrared information, and the calibration of the infrared detection condition of the infrared component can be achieved through the second infrared information, improving the recognition accuracy of the specified object by the product to be verified after it is put into use. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required for use in the description of the embodiments of the present application or related technologies. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.

[0031] Figure 1 It is an application environment diagram of the product verification method in an embodiment;

[0032] Figure 2 It is a flowchart of the product verification method in an embodiment;

[0033] Figure 3 It is a flowchart of the product verification steps in an embodiment;

[0034] Figure 4 It is a flowchart of the product verification in an embodiment;

[0035] Figure 5 It is a structural block diagram of the product verification device in an embodiment;

[0036] Figure 6 It is an internal structure diagram of the computer equipment in an embodiment. Detailed implementation manners

[0037] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0038] The product verification method provided by the embodiments of the present application can be applied to an application environment as Figure 1 shown. Among them, the terminal 102 communicates with the product 104 to be verified. Before the product 104 to be verified is put into use, the terminal 102 obtains the first infrared information returned after the infrared component in the product 104 to be verified sends infrared rays to the specified area when there is no object placed in the specified area of the product to be verified, and the second infrared information returned after the infrared component sends infrared rays to the specified area when there is an object placed in the specified area; the terminal 102 performs assembly verification on the current assembly position of the infrared component in the product 104 to be verified based on the first infrared information and a preset first verification range, and obtains an assembly verification result; when the assembly verification result is a qualified assembly result, the terminal 102 performs abnormal verification on the object based on the second infrared information and a preset second verification range, and obtains an object inspection result; when the object inspection result is a specified object, the terminal 102 determines the infrared detection conditions corresponding to the product 104 to be verified based on the second infrared information; the infrared detection conditions are used to identify a specified object in the specified area through the infrared component after the product 104 to be verified is put into use. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptop computers, tablet computers, etc.

[0039] In an exemplary embodiment, as Figure 2 shown, a product verification method is provided. Taking the method applied to the Figure 1 terminal as an example, the method includes the following steps:

[0040] Step 202, before the product to be verified is put into use, obtain the first infrared information returned after the infrared component in the product to be verified sends infrared rays to the specified area when there is no object placed in the specified area of the product to be verified, and the second infrared information returned after the infrared component sends infrared rays to the specified area when there is an object placed in the specified area.

[0041] Among them, the product to be verified refers to the product that currently needs to verify the assembly position of the infrared component. This product can be a device equipped with an infrared component to detect objects in a specified area. The infrared component refers to the hardware component in the product to be verified that emits and receives infrared rays in the specified area, and can quantify the received infrared rays to obtain infrared information. The infrared information can be the light intensity data of the received infrared rays. The product to be verified includes a placement area dedicated to placing a specified object, such as a cylindrical pipe, a square pipe, a rectangular groove, etc. The specified area refers to the area where the infrared component emits and receives infrared rays in the placement area, such as emitting and receiving infrared rays to the pipe opening of the cylindrical pipe, emitting and receiving infrared rays in the pipe, etc. The first infrared information refers to the light intensity data of the reflected light reflected back by the specified area after the infrared component emits infrared rays to the specified area. The second infrared information refers to the light intensity information of the reflected light reflected back by the surface of the object placed in the specified area after the infrared component emits infrared rays to the specified area.

[0042] Exemplarily, before the product to be verified is put into use, it is necessary to perform assembly verification of the infrared component on the product to be verified, and perform infrared calibration on the infrared component after the assembly verification of the infrared component passes. Infrared calibration means calibrating the object detection function of the infrared component. Specifically, it can be the semi-finished product obtained during the process of assembling each hardware into the target product, and taking this semi-finished product as the product to be verified. The target product refers to the device with all hardware assembled and the functional verification passed. The functional verification includes assembly verification of the infrared component, infrared calibration, etc. Among them, the product to be verified is already equipped with a placement component for placing an object, and the placement component can be embedded in the product to be verified. The placement component includes a placement area for placing an object inward, and the specified area can be determined in the placement area according to the product type. Then, the infrared component is assembled at the position on the same horizontal plane as the specified area of the placement component in the product to be verified, and is used to emit and receive infrared rays to the specified area of the placement component to detect whether an object enters the placement area. Generally, when the product type of the product to be verified is a heating type product, the area in contact with the outside of the placement area is used as the specified area, such as the external pipe opening in the pipe component. The infrared component horizontally emits and receives infrared rays to the pipe opening to detect whether an object is inserted into the pipe component, and heats the object when an object is detected. Or, when the product type of the product to be verified is a processing type product, the area at a preset depth position in the placement area is used as the specified area, such as the middle pipe opening in the pipe component. The infrared component horizontally emits and receives infrared rays to the middle pipe to detect whether an object is inserted into the middle pipe, and performs processing such as cutting on the object when an object is detected.

[0043] After the infrared component of the product to be verified is assembled, it enters the process of assembling and verifying the infrared component of the product to be verified. It can be to communicate the product to be verified with the terminal, and the terminal triggers the infrared component in the product to be verified to send and receive infrared rays to and from the specified area of the product to be verified at a preset frequency. The terminal obtains the first infrared information returned by the physical surface of the specified area after the infrared component in the product to be verified sends infrared rays to the specified area when there is no object placed in the specified area of the product to be verified, and the second infrared information returned by the object surface of the object placed in the specified area after the infrared component sends infrared rays to the specified area when there is an object placed in the specified area.

[0044] Step 204, based on the first infrared information and the preset first verification range, perform an assembly verification on the current assembly position of the infrared component in the product to be verified to obtain an assembly verification result.

[0045] Among them, the preset first verification range is a verification parameter for performing an assembly verification on the infrared component according to the first infrared information. The current assembly position refers to the position where the infrared component is installed in the product to be verified. For example, it is installed at the other end of the product to be verified relative to the specified area. The assembly verification result indicates whether the current assembly position of the infrared component in the product to be verified is normal. It can be understood as whether the installation position of the infrared component deviates too much, to avoid the assembly distance between the infrared component and the specified area being too large or too small.

[0046] Exemplarily, the terminal filters a preset number of products as sampling products from normal products of the same type according to the hardware assembly structure of the product to be verified, collects the sampling first infrared information corresponding to each sampling product, and determines the preset first verification range according to the sampling first infrared information. For example, the preset first verification range is determined according to the maximum value and the minimum value of each sampling first infrared information, or the mean value between each sampling first infrared information can be calculated, and the preset first verification range is determined according to the mean value.

[0047] After the terminal collects the first infrared information of the product to be verified, it obtains the preset first verification range corresponding to the product to be verified, and compares the first infrared information with the preset first verification range. When the first infrared information is within the preset first verification range, it means that the assembly distance of the infrared component in the product to be verified relative to the specified area is within the distance range of the assembly distance of the infrared component in normal products, and it is determined that the assembly verification result of the product to be verified is a qualified assembly result. When the first infrared information is not within the preset first verification range, it means that the assembly distance of the infrared component in the product to be verified relative to the specified area is not within the distance range of the assembly distance of the infrared component in normal products, and there is an abnormal situation in the assembly of the infrared component, and it is determined that the assembly verification result of the product to be verified is an abnormal assembly result.

[0048] Step 206, when the assembly verification result is a qualified assembly result, based on the second infrared information and a preset second verification range, perform an anomaly verification on the object to obtain an object inspection result.

[0049] Among them, the preset second verification range is a verification parameter for object recognition of the infrared component based on the second infrared information. The object inspection result is an inspection result indicating whether the object placed in the specified area is the specified object. The specified object refers to the object allowed in the specified area set in advance. After the product detects that the specified object is placed in the specified area, it can initiate corresponding operations. For example, when the product detects that the specified object is inserted into the specified area, it starts the heating function.

[0050] Exemplarily, the terminal places the specified object in the specified area of each sampled product respectively, collects the sampled second infrared information corresponding to each sampled product respectively, and determines the preset second verification range according to the sampled second infrared information, which represents the data range of the infrared information that can characterize the specified object collected. For example, the preset second verification range is determined according to the maximum value and the minimum value of each sampled second infrared information, or the mean value between each sampled second infrared information can be calculated, and the preset second verification range is determined according to the mean value.

[0051] When the terminal detects that the assembly verification result is a qualified assembly result, it obtains the preset second verification range, and performs an anomaly verification on the object according to the second infrared information and the preset second verification range. It can be to compare the second infrared information with the preset second verification range. When the second infrared information is within the preset second verification range, it indicates that the object placed in the specified area of the product to be verified is the specified object, and then the object inspection result is determined to be the specified object. When the second infrared information is not within the preset second verification range, it indicates that the object placed in the specified area of the product to be verified is not the specified object, and then the object inspection result is determined to be an abnormal object.

[0052] Step 208, when the object inspection result is the specified object, determine the infrared detection condition corresponding to the product to be verified based on the second infrared information; the infrared detection condition is used to identify the specified object in the specified area through the infrared component after the product to be verified is put into use.

[0053] Among them, the infrared detection condition refers to the detection parameter of the infrared component in the product to be verified for detecting the specified object.

[0054] Exemplarily, when the terminal detects that the object detection result is a specified object, it determines that the second infrared information is the infrared information collected by the infrared component for the specified object and can be characterized as the specified object. Then, the terminal determines the infrared detection parameters corresponding to the product to be verified according to the second infrared information to obtain the infrared detection conditions. It can be using the second infrared information as the infrared detection parameter; it can also be determining the infrared detection range according to the second infrared information according to a preset floating value and using the infrared detection range as the infrared detection parameter; or it can be obtaining the weight parameter corresponding to the product to be verified and performing a weighted calculation on the second infrared information according to the weight parameter to obtain the infrared detection parameter.

[0055] After the terminal determines the infrared detection conditions corresponding to the product to be verified according to the second infrared information, it writes the infrared detection parameters corresponding to the infrared detection conditions into the product to be verified, so that after the product to be verified is put into use, it can collect the current infrared information of the object placed in the specified area, and when the current infrared information meets the infrared detection conditions, that is, when the current infrared information reaches the infrared detection parameter, it can identify the object in the specified area as the specified object.

[0056] In the above product verification method, before the product to be verified is put into use, the first infrared information collected when no object is placed in the specified area of the product to be verified and the second infrared information collected when an object is placed in the specified area are obtained. According to the first infrared information and the preset first verification range, the current assembly position of the infrared component in the product to be verified is verified for assembly, which can realize the assembly verification of the infrared component, thereby improving the assembly accuracy of the infrared component in the product to be verified; then when the assembly verification result is a qualified assembly result, according to the second infrared information and the preset second verification range, the object placed in the specified area is verified for abnormality, which can ensure that the object placed in the specified area is the specified object, so that the accuracy of the infrared detection conditions can be ensured when determining the infrared detection conditions of the product to be verified according to the second infrared information, realizing the personalized calibration of the infrared component of the product to be verified. Furthermore, after the product to be verified is put into use, the specified object in the specified area is identified through the infrared detection conditions, improving the recognition accuracy of the specified object by the product to be verified. Therefore, through the first infrared information, the assembly verification of the assembly accuracy of the infrared component in the product to be verified can be realized, and through the second infrared information, the calibration of the infrared detection conditions of the infrared component can be performed, improving the recognition accuracy of the specified object by the product to be verified after it is put into use.

[0057] In an exemplary embodiment, as Figure 3 shown, step 204, based on the first infrared information and the preset first verification range, verifies the current assembly position of the infrared component in the product to be verified to obtain the assembly verification result, including:

[0058] Step 302, when the first infrared information is within the preset first verification range, determine that the assembly verification result is a qualified assembly result, and set the current assembly position of the infrared component in the product to be verified as the target assembly position;

[0059] Step 304, when the first infrared information is outside the preset first verification range, determine that the assembly verification result is an assembly anomaly result; based on the deviation type of the first infrared information from the preset first verification range, determine the anomaly type corresponding to the assembly anomaly result, and generate an anomaly prompt based on the assembly anomaly result and the anomaly type.

[0060] Among them, the target assembly position refers to the installation position where the infrared component is normally installed in the product to be verified. The deviation type refers to the deviation type of the first infrared information relative to the upper limit value or the lower limit value of the preset first verification range. The anomaly type refers to the installation anomaly type of the infrared component.

[0061] Exemplarily, after obtaining the first infrared information, the terminal compares the first infrared information with the preset first verification range. If the first infrared information is within the preset first verification range, it means that the current assembly position of the infrared component in the product to be verified is the normal installation position unified with each sampled product, and determine that the assembly verification result of the infrared component is a qualified assembly result. Then set the current assembly position of the infrared component in the product to be verified as the target assembly position, so that the product to be verified can perform the assembly of other hardware based on the target assembly position of the infrared component in subsequent processes, ensuring the hardware assembly accuracy of the product to be inspected.

[0062] If the first infrared information is not within the preset first verification range, it means that the current assembly position of the infrared component in the product to be verified is an abnormal installation position that is not unified with each sampled product, and determine that the assembly result of the infrared component is an assembly anomaly result. Then the terminal determines the deviation type according to the deviation of the first infrared information from the upper limit value or the lower limit value of the preset first verification range. For example, when the first infrared information is greater than the upper limit value of the preset first verification range, determine that the deviation type is a positive deviation; when the first infrared information is less than the lower limit value of the preset first verification range, determine that the deviation type is a negative deviation. Then the terminal determines the corresponding anomaly type according to the deviation type, and generates an anomaly prompt according to the anomaly type and the assembly anomaly result.

[0063] In this embodiment, by determining the assembly verification result according to the first infrared information and the preset first verification range, and determining the anomaly type when the assembly verification result is an assembly anomaly result, the assembly verification accuracy of the product to be verified is improved.

[0064] In an exemplary embodiment, Step 302, based on the deviation type of the first infrared information from the preset first verification range, determining the anomaly type corresponding to the assembly anomaly result includes:

[0065] When the first infrared information is greater than the upper limit value of the preset first verification range, determining that the abnormality type corresponding to the assembly abnormality result is an infrared component abnormality pre-position;

[0066] When the first infrared information is greater than the lower limit value of the preset first verification range, it is determined that the abnormality type corresponding to the assembly abnormality result is an infrared component abnormality.

[0067] Exemplarily, since the first infrared information is infrared information obtained after the infrared ray sent by the infrared component is reflected by the inner wall of the designated area, it can represent the assembly distance between the infrared component and the inner wall of the designated area. Then, when the first infrared information is not within the first verification range, it indicates that the assembly distance between the infrared component in the product to be verified and the inner wall of the designated area is significantly different from the assembly distance between the infrared component in each sampled product and the inner wall of its designated area. It can be determined that the current assembly position of the infrared component in the product to be verified is an abnormal installation position that is inconsistent with each sampled product. Furthermore, when the first infrared information is greater than the upper limit value of the preset first verification range (positive deviation), it indicates that the assembly distance of the infrared component in the product to be verified is smaller than the assembly distance of the infrared component in each sampled product, that is, the first infrared information of the product to be verified is larger due to the advance of the infrared component relative to the inner wall of the specified area, and the abnormality type corresponding to the assembly abnormality result can be determined as the abnormal advance of the infrared component; when the first infrared information is less than the lower limit value of the preset first verification range (negative deviation), it indicates that the assembly distance of the infrared component in the product to be verified is larger than the assembly distance of the infrared component in each sampled product, that is, the first infrared information of the product to be verified is smaller due to the retreat of the infrared component relative to the inner wall of the specified area, and the abnormality type corresponding to the assembly abnormality result can be determined as the abnormal retreat of the infrared component.

[0068] In this embodiment, by determining the abnormality type according to the deviation type, the assembly rectification method of the product to be inspected can be prompted when there is an assembly abnormality, thereby ensuring the assembly inspection accuracy and assembly rectification accuracy of the product to be inspected.

[0069] In an exemplary embodiment, step 206, based on the second infrared information and the preset second inspection range, performing an abnormality inspection on the object to obtain an object inspection result includes:

[0070] When the second infrared information is within the preset second verification range, determining that the object inspection result corresponding to the object placed in the designated area is the designated object;

[0071] When the second infrared information is outside the preset second verification range, it is determined that the object inspection result corresponding to the object placed in the designated area is an abnormal object, and a foreign object prompt is generated.

[0072] Exemplarily, since the second infrared information is the infrared information obtained after the infrared rays emitted by the infrared component are reflected by the surface of the object placed in the specified area, it can represent the object distance between the infrared component and the surface of the object in the specified area. And since the diameter of the specified object is fixed, the object distance between the infrared component and the surface of the specified object is also basically fixed. When the second infrared information is within the preset second verification range, the difference in the object distance of the infrared component in the product to be verified and the object distance of the infrared component in each sampled product is small, which means that the diameter of the object in the specified area of the product to be verified is similar to the diameter of the specified object. Therefore, it can be determined that the object inspection result corresponding to the object placed in the specified area is the specified object.

[0073] When the second infrared information is not within the preset second verification range, the difference in the object distance of the infrared component in the product to be verified and the object distance of the infrared component in each sampled product is large, which means that the diameter of the object in the specified area is different from the diameter of the specified object. Therefore, it can be determined that the object inspection result corresponding to the object placed in the specified area is an abnormal object. Further, when the second infrared information is greater than the upper limit value of the preset second verification range, it indicates that the diameter of the abnormal object in the specified area is greater than the diameter of the specified object. And since the diameter of the abnormal object is greater than the diameter of the specified object, the distance between the surface of the abnormal object and the infrared component is less than the distance between the surface of the specified object and the infrared component, resulting in the second infrared information reflected by the surface of the abnormal object being on the large side. Similarly, when the second infrared information is less than the lower limit value of the preset second verification range, it is because the diameter of the abnormal object is less than the diameter of the specified object, resulting in the second infrared information reflected by the surface of the abnormal object being on the small side.

[0074] In this embodiment, by performing object inspection according to the second infrared information and the preset second verification range, the accuracy of the second infrared information obtained for the specified object can be ensured, and further the accuracy of the infrared detection conditions of the product to be verified is ensured.

[0075] In an exemplary embodiment, step 208, where the second infrared information determines the infrared detection conditions corresponding to the product to be verified, includes:

[0076] Based on the first infrared information, at least one reference product is determined among the candidate products;

[0077] Obtain the reference infrared detection parameters corresponding to each reference product respectively, and calculate the general infrared detection parameters based on the reference infrared detection parameters;

[0078] Calculate the parameter difference between the second infrared information and the general infrared detection parameters, and determine the weight parameter of the second infrared information based on the parameter difference; the weight parameter has a positive correlation with the parameter difference;

[0079] Based on the weight parameter, the second infrared information, and the general infrared detection parameter, determine the target infrared detection parameter to obtain the infrared detection condition corresponding to the product to be verified.

[0080] Among them, the candidate product refers to a normal product with the same assembly structure as the product to be verified, which can be a sampled product. The reference product is a normal product used to determine the reference infrared detection parameter, and the number of reference products is less than or equal to the number of candidate products. The reference infrared detection parameter refers to the detection parameter that has been pre-calibrated in the reference product and is used to detect a specified object. The general infrared detection parameter refers to the infrared detection parameter that is common to products with the same configuration structure as the reference product.

[0081] Exemplarily, after the terminal detects that the object inspection result is a specified object, it performs infrared calibration on the infrared component of the product to be verified according to the second infrared information to ensure accurate identification of the specified object by the product to be verified. Specifically, each sampled product can be used as a candidate product, the first infrared information corresponding to each candidate product is obtained, the first infrared information corresponding to the product to be verified is matched with the first infrared information corresponding to each candidate product, and the candidate product with a successful match can be used as the reference product, or the candidate product with a consistent match or a small match difference can be used as the reference product.

[0082] Obtain the reference infrared detection parameters corresponding to each reference product, calculate the mean value of each reference infrared detection parameter to obtain the general infrared detection parameter. Calculate the parameter difference between the second infrared information and the general infrared detection parameter, and determine the weight parameter corresponding to the second infrared information according to the degree of difference of the parameter difference. Then calculate the weighted value of the weight parameter and the second infrared information, and determine the target infrared detection parameter according to the weighted value and the general infrared detection parameter to obtain the infrared detection condition corresponding to the product to be verified.

[0083] Among them, the weight parameter corresponding to the second infrared information is positively correlated with the degree of difference of the parameter difference. Specifically, if the first infrared information of the reference product matches the first infrared information of the product to be verified, that is, the assembly distances of the infrared components in the reference product and the product to be verified are similar, and the external dimensions of the devices of the reference product and the product to be verified are the same, then the assembly structures of the infrared components in the product to be verified and the reference product are the same; therefore, on the basis of the same assembly structure for the infrared components, when there is a parameter difference between the second infrared information of the product to be verified and the reference infrared detection parameter of the reference product, and the degree of difference of the parameter difference is less than the preset threshold, it indicates that compared with the reference product, there are acceptable structural differences in the object placement component for placing the specified object inside the product to be verified. For example, if there are structural differences in the object placement component where the object will be placed obliquely, then based on the structural differences of the object placement component of the product to be verified, a weight parameter that is positively correlated with the parameter difference is set for the structural differences that conform to the product to be verified, that is, the greater the parameter difference, the greater the weight, so as to increase the influence degree of the second infrared information on the target infrared detection parameter and ensure the accuracy of the target infrared detection parameter determined for the structural differences of the object placement component in the product to be verified.

[0084] In an exemplary embodiment, after the terminal calculates the parameter difference between the second infrared information and the general infrared detection parameter, it can determine the general weight parameter corresponding to the general infrared detection parameter according to the degree of difference of the parameter difference. Then, the general weight value is calculated for the general weight parameter and the general infrared detection parameter, and the target infrared detection parameter is determined according to the general weight value and the second infrared information, so as to obtain the infrared detection condition corresponding to the product to be verified. Among them, the weight parameter corresponding to the general infrared detection parameter is negatively correlated with the parameter difference, that is, the greater the parameter difference, the smaller the weight parameter corresponding to the general infrared detection parameter, so as to reduce the influence degree of the general infrared detection parameter on the target infrared detection parameter.

[0085] In this embodiment, by determining the weight parameter of the second infrared information according to the parameter difference, and the weight parameter is positively correlated with the parameter difference, the influence degree of the second infrared information on the target infrared detection parameter can be increased, the personalized calculation of the target infrared detection parameter corresponding to the product to be verified can be realized, the accuracy of the infrared detection condition corresponding to the product to be verified can be improved, and thus the object recognition accuracy of the product to be verified can be improved.

[0086] In an exemplary embodiment, the product to be verified is a heating product; the heating product is used to determine that a specified object is detected in a specified area and heat the specified object when the infrared information collected by the infrared component for a specified area meets the infrared detection condition after the heating product is put into use.

[0087] Exemplarily, after the heating product is put into use, the deployed infrared component transmits and receives infrared rays to and from a specified area at a preset frequency. When the infrared information reflected back from the specified area reaches the infrared detection parameters corresponding to the infrared detection condition, it is determined that there is an object inserted into the specified area and the object is the specified object, and then the specified object is heated.

[0088] In an exemplary embodiment, as Figure 4 shown, a schematic diagram of a product verification process is provided. The product to be verified can be a heating product, which is deployed with functional software. The functional software is pre-configured with various functional modules, such as a screen display module, a heating module, a vibration module, an NTC (temperature sensor) failure module, a charging and discharging module, a lithium battery protection module, a heating self-start module, and so on. Among them, the heating self-start is used to start the heating function of the heating product after detecting that a specified object is inserted into a specified area.

[0089] Take the heating product with the assembled semi-finished product as the heating product to be verified, and then connect the heating product to be calibrated with the terminal, and perform connection and protocol pairing through the terminal software (such as a serial port protocol). The terminal software reads the empty interpolation value (the light intensity value reflected by the non-inserted object, that is, the first infrared information) and the inserted value (the light intensity value reflected by the inserted specified object, that is, the second infrared information) every 100 MS, and compares the empty interpolation value and the inserted value with the numerical ranges (preset first verification range and preset second verification range) inside the software respectively. If it is within the numerical range inside the software, infrared calibration can be performed according to the second infrared information, and then enter the next workstation. For example: the preset first verification range is 1000 - 1500, the preset second verification range is 3000 - 5000. When the actual empty interpolation value is 1238 and the actual inserted value is 3345 (the second infrared information), both meet the corresponding numerical ranges.

[0090] If it is not within the numerical range inside the software, an alarm prompt is generated, displaying the current empty interpolation value, inserted value, and the numerical range set inside the software. And when the empty interpolation value is lower than the lower limit value of the corresponding numerical range, it means that the infrared component is assembled forward, and vice versa, and then prompt the user with bad information and the repair direction. For example: when the light intensity value of the actual non-inserted specified object is 1238 (the first infrared information) and the light intensity value of the actual inserted specified object is 2345 (the second infrared information), then the second infrared information does not meet the preset second verification range, and the second infrared information is displayed as abnormal; or when the light intensity value of the actual non-inserted specified object is less than 1000 (the first infrared information), then the first infrared information does not meet the preset first verification range and is less than the lower limit value, which means that the infrared component is assembled forward.

[0091] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are sequentially shown according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same moment, but can be executed at different moments. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.

[0092] Based on the same inventive concept, an embodiment of the present application also provides a product verification device for implementing the above-mentioned product verification method. The solution provided by this device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the product verification device provided below can refer to the limitations on the product verification method in the above text, and will not be repeated here.

[0093] In an exemplary embodiment, as Figure 5 shown, a product verification device 500 is provided, including: an infrared acquisition module 502, an assembly verification module 504, a foreign object inspection module 506, and an infrared calibration module 508, where:

[0094] The infrared acquisition module 502 is configured to obtain, before the product to be verified is put into use, the first infrared information returned after the infrared component in the product to be verified sends infrared rays to the specified area when there is no object placed in the specified area of the product to be verified, and the second infrared information returned after the infrared component sends infrared rays to the specified area when there is an object placed in the specified area;

[0095] The assembly verification module 504 is configured to perform assembly verification on the current assembly position of the infrared component in the product to be verified based on the first infrared information and a preset first verification range, and obtain an assembly verification result;

[0096] The foreign object inspection module 506 is configured to perform abnormal inspection on the object based on the second infrared information and a preset second verification range when the assembly verification result is a qualified assembly result, and obtain an object inspection result;

[0097] The infrared calibration module 508 is configured to determine the infrared detection conditions corresponding to the product to be verified based on the second infrared information when the object inspection result is a specified object; the infrared detection conditions are used to identify the specified object in the specified area through the infrared component after the product to be verified is put into use.

[0098] In an exemplary embodiment, the assembly verification module 504 is further configured to determine that the assembly verification result is a qualified assembly result when the first infrared information is within a preset first verification range, and set the current assembly position of the infrared component in the product to be verified as the target assembly position; when the first infrared information is outside the preset first verification range, determine that the assembly verification result is an assembly exception result; determine the exception type corresponding to the assembly exception result based on the deviation type of the first infrared information from the preset first verification range, and generate an exception prompt based on the assembly exception result and the exception type.

[0099] In an exemplary embodiment, when the first infrared information is greater than the upper limit value of the preset first verification range, the assembly verification module 504 is further configured to determine that the exception type corresponding to the assembly exception result is that the infrared component is abnormally pre-positioned; when the first infrared information is greater than the lower limit value of the preset first verification range, determine that the exception type corresponding to the assembly exception result is that the infrared component is abnormally post-positioned.

[0100] In an exemplary embodiment, the foreign object inspection module 506 is further configured to determine that the object inspection result corresponding to the object placed in the specified area is the specified object when the second infrared information is within a preset second verification range; when the second infrared information is outside the preset second verification range, determine that the object inspection result corresponding to the object placed in the specified area is an abnormal object, and generate a foreign object prompt.

[0101] In an exemplary embodiment, the infrared calibration module 508 is further configured to determine at least one reference product from among the candidate products based on the first infrared information; obtain the reference infrared detection parameters corresponding to each reference product, and calculate the general infrared detection parameters based on the reference infrared detection parameters; calculate the parameter difference between the second infrared information and the general infrared detection parameters, and determine the weight parameter of the second infrared information based on the parameter difference; the weight parameter has a positive correlation with the parameter difference; determine the target infrared detection parameters based on the weight parameter, the second infrared information, and the general infrared detection parameters, and obtain the infrared detection conditions corresponding to the product to be verified.

[0102] In an exemplary embodiment, the product to be verified is a heating product; the heating product is configured to determine that a specified object is detected in the specified area and heat the specified object when the infrared information collected by the infrared component for the specified area satisfies the infrared detection conditions after the heating product is put into use.

[0103] Each module in the above product verification device can be implemented in whole or in part by software, hardware, and their combination. Each of the above modules can be embedded in the processor of the computer device in hardware form or be independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each of the above modules.

[0104] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structural diagram may be as shown in Figure 6 . The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals in a wired or wireless manner. The wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC), or other technologies. The computer program, when executed by the processor, implements a product verification method. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen may be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device may be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the computer device, or an external keyboard, touchpad, or mouse, etc.

[0105] Those skilled in the art can understand that Figure 6 the structure shown in is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0106] In an exemplary embodiment, in an embodiment, a computer device is further provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps in the above method embodiments are implemented.

[0107] In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by the processor, the steps in the above method embodiments are implemented.

[0108] In an embodiment, a computer program product is provided, including a computer program. When the computer program is executed by the processor, the steps in the above method embodiments are implemented.

[0109] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant regulations.

[0110] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in this application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in this application can be general-purpose processors, central processors, graphics processors, digital signal processors, programmable logic devices, data processing logics based on quantum computing, artificial intelligence (AI) processors, etc., without limitation.

[0111] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this application.

[0112] The above-described embodiments merely represent several implementation manners of this application. The description is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of this application. It should be noted that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can still be made, and these all belong to the protection scope of this application. Therefore, the protection scope of this application shall be subject to the appended claims.

Claims

1. A product verification method, characterized in that: The method comprises: Before the product to be verified is put into use, obtaining, when no object is placed in the designated area of ​​the product to be verified, first infrared information returned after the infrared component in the product to be verified sends infrared rays to the designated area, and, when an object is placed in the designated area, second infrared information returned after the infrared component sends infrared rays to the designated area; Based on the first infrared information and a preset first verification range, performing assembly verification on the current assembly position of the infrared component in the product to be verified to obtain an assembly verification result; When the assembly verification result is a qualified assembly result, based on the second infrared information and a preset second verification range, performing an abnormality verification on the object to obtain an object inspection result; When the object inspection result is a designated object, the infrared detection conditions corresponding to the product to be inspected are determined based on the second infrared information; the infrared detection conditions are used to identify the designated object in the designated area through the infrared component after the product to be inspected is put into use.

2. The method according to claim 1, characterized in that The step of performing assembly verification on the current assembly position of the infrared component in the product to be verified based on the first infrared information and the preset first verification range to obtain an assembly verification result includes: When the first infrared information is within the preset first verification range, determining that the assembly verification result is a qualified assembly result, and taking the current assembly position of the infrared component in the product to be verified as the target assembly position; When the first infrared information is outside the preset first verification range, the assembly verification result is determined to be an assembly abnormality result; based on the deviation type of the first infrared information to the preset first verification range, the abnormality type corresponding to the assembly abnormality result is determined, and an abnormality prompt is generated based on the assembly abnormality result and the abnormality type.

3. The method according to claim 2, characterized in that The determining, based on the deviation type of the first infrared information with respect to the preset first verification range, the abnormality type corresponding to the abnormal assembly result includes: When the first infrared information is greater than the upper limit value of the preset first verification range, determining that the abnormality type corresponding to the assembly abnormality result is an infrared component abnormality pre-position; When the first infrared information is greater than the lower limit value of the preset first verification range, it is determined that the abnormality type corresponding to the assembly abnormality result is an infrared component abnormality.

4. The method according to claim 1, characterized in that: The method of performing abnormality detection on the object based on the second infrared information and the preset second detection range to obtain an object detection result includes: When the second infrared information is within the preset second verification range, determining that the object inspection result corresponding to the object placed in the designated area is a designated object; When the second infrared information is outside the preset second verification range, it is determined that the object inspection result corresponding to the object placed in the designated area is an abnormal object, and a foreign object prompt is generated.

5. The method according to claim 1, characterized in that The step of determining the infrared detection condition corresponding to the product to be verified based on the second infrared information includes: Based on the first infrared information, determining at least one reference product from among the candidate products; Obtain reference infrared detection parameters corresponding to each reference product, and calculate universal infrared detection parameters based on the reference infrared detection parameters; Calculating a parameter difference between the second infrared information and the universal infrared detection parameter, and determining a weight parameter of the second infrared information based on the parameter difference; the weight parameter is positively correlated with the parameter difference; Based on the weight parameter, the second infrared information and the general infrared detection parameter, the target infrared detection parameter is determined to obtain the infrared detection condition corresponding to the product to be verified.

6. The method according to any one of claims 1 to 5, characterized in that: The product to be checked is a heating product; after the heating product is put into use, when the infrared information collected by the infrared component on the designated area meets the infrared detection conditions, the heating product is used to determine that the designated object is detected in the designated area and heat the designated object.

7. A product verification device, characterized in that: The device comprises: The infrared acquisition module is used to obtain, before the product to be checked is put into use, first infrared information returned after the infrared component in the product to be checked sends infrared rays to the designated area when no object is placed in the designated area of ​​the product to be checked, and second infrared information returned after the infrared component sends infrared rays to the designated area when an object is placed in the designated area; An assembly verification module, configured to perform assembly verification on a current assembly position of the infrared component in the product to be verified based on the first infrared information and a preset first verification range, and obtain an assembly verification result; A foreign body inspection module, configured to, when the assembly inspection result is a qualified assembly result, perform an abnormality inspection on the object based on the second infrared information and a preset second inspection range to obtain an object inspection result; An infrared calibration module is used to determine the infrared detection conditions corresponding to the product to be inspected based on the second infrared information when the object inspection result is a designated object; the infrared detection conditions are used to identify the designated object in the designated area through the infrared component after the product to be inspected is put into use.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Product detection method and device, storage medium and system

    CN111881699A

  • Infrared induction detection system and method

    CN114578971A

  • Infrared detector identification method, device and equipment and readable storage medium

    CN118641038A

  • Temperature calibration system and method, upper computer, readable storage medium and program product

    CN119223456A

  • Identification element attachable to an object, method for verifying a digital code and method for uniquely marking an object

    DE102014101868A1