Product verification methods, apparatus, computer equipment, readable storage media, and program products
By acquiring infrared information of the infrared components in a specified area for assembly verification and anomaly verification, the problem of infrared component assembly in traditional methods is solved, and accurate calibration of the infrared components and efficient identification of specified objects by the product are achieved.
Patent Information
- Application Number
- CN202510131887.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-05
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2045-02-05
AI Technical Summary
Traditional assembly verification methods cannot accurately verify assembly problems of infrared components, leading to abnormal product functionality. Furthermore, the large errors caused by manual verification affect the product's recognition accuracy.
By acquiring infrared information of the infrared component in a specified area with and without objects, and using a preset calibration range for assembly and anomaly calibration, the infrared detection conditions are determined, enabling personalized calibration of the infrared component.
This improves the assembly accuracy of infrared components and the product's accuracy in identifying designated objects, ensuring the accuracy of infrared detection conditions.
Smart Images

Figure CN120069897B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a product verification method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Technology
[0002] In the manufacturing process, different components are assembled to form the required equipment, i.e., the manufactured product. However, if an assembly problem occurs in a component, such as an assembly problem with the infrared component, it will cause abnormalities in the function of the infrared component, thus affecting the product's performance. For example, large assembly errors in the infrared component can lead to malfunctions in object detection and ranging functions. Traditional assembly verification methods involve manually sampling and verifying a portion of the equipment, but this cannot accurately verify the assembly problems of every product and is also subject to the problem of large errors in manual verification, resulting in low verification accuracy. Summary of the Invention
[0003] Therefore, it is necessary to provide a product verification method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can accurately verify the assembly accuracy of infrared components in a product and calibrate the infrared detection conditions of the infrared components, thereby improving the product's accuracy in recognizing specified objects.
[0004] Firstly, this application provides a product verification method, including:
[0005] Before the product to be verified is put into use, the first infrared information returned by the infrared component in the product to be verified after sending infrared rays to the designated area when no object is placed in the designated area of the product to be verified, and the second infrared information returned by the infrared component after sending infrared rays to the designated area when an object is placed in the designated area.
[0006] Based on 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 to obtain the assembly verification result.
[0007] When the assembly verification result is a qualified assembly result, the object is subjected to anomaly verification based on the second infrared information and the preset second verification range to obtain the object inspection result;
[0008] When the object inspection result is a specified object, the infrared detection conditions corresponding to the product to be verified are determined 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.
[0009] Secondly, this application also provides a product verification device, comprising:
[0010] The infrared acquisition module is used to acquire, before the product to be verified is put into use, the first infrared information returned by the infrared component in the product to be verified after sending infrared rays to the designated area when no object is placed in the designated area, and the second infrared information returned by the infrared component after sending infrared rays to the designated area when an object is placed in the designated area.
[0011] The assembly verification module is used 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 the preset first verification range, and to obtain the assembly verification result.
[0012] The foreign object inspection module is used to perform anomaly inspection on the object based on the second infrared information and the preset second inspection range when the assembly verification result is a qualified assembly result, and to obtain the object inspection result.
[0013] The infrared calibration module is used to determine the infrared detection conditions corresponding to the product to be calibrated 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 calibrated is put into use.
[0014] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0015] Before the product to be verified is put into use, the first infrared information returned by the infrared component in the product to be verified after sending infrared rays to the designated area when no object is placed in the designated area of the product to be verified, and the second infrared information returned by the infrared component after sending infrared rays to the designated area when an object is placed in the designated area.
[0016] Based on 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 to obtain the assembly verification result.
[0017] When the assembly verification result is a qualified assembly result, the object is subjected to anomaly verification based on the second infrared information and the preset second verification range to obtain the object inspection result;
[0018] When the object inspection result is a specified object, the infrared detection conditions corresponding to the product to be verified are determined 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] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0020] Before the product to be verified is put into use, the first infrared information returned by the infrared component in the product to be verified after sending infrared rays to the designated area when no object is placed in the designated area of the product to be verified, and the second infrared information returned by the infrared component after sending infrared rays to the designated area when an object is placed in the designated area.
[0021] Based on 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 to obtain the assembly verification result.
[0022] When the assembly verification result is a qualified assembly result, the object is subjected to anomaly verification based on the second infrared information and the preset second verification range to obtain the object inspection result;
[0023] When the object inspection result is a specified object, the infrared detection conditions corresponding to the product to be verified are determined 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.
[0024] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:
[0025] Before the product to be verified is put into use, the first infrared information returned by the infrared component in the product to be verified after sending infrared rays to the designated area when no object is placed in the designated area of the product to be verified, and the second infrared information returned by the infrared component after sending infrared rays to the designated area when an object is placed in the designated area.
[0026] Based on 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 to obtain the assembly verification result.
[0027] When the assembly verification result is a qualified assembly result, the object is subjected to anomaly verification based on the second infrared information and the preset second verification range to obtain the object inspection result;
[0028] When the object inspection result is a specified object, the infrared detection conditions corresponding to the product to be verified are determined 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.
[0029] The aforementioned product verification method, apparatus, computer equipment, computer-readable storage medium, and computer program product, by acquiring first infrared information collected when no object is placed in a designated area of the product to be verified before it is put into use, and second infrared information collected when an object is placed in the designated area, and performing assembly verification of 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, 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, performing anomaly verification on the object placed in the designated area based on the second infrared information and a preset second verification range, can ensure that the object placed in the designated area is the designated object, thereby ensuring the accuracy of the infrared detection conditions when determining the infrared detection conditions of the product to be verified based on the second infrared information, realizing personalized calibration of the infrared component of the product to be verified, and then, after the product to be verified is put into use, identifying the designated object in the designated area through the infrared detection conditions, thereby improving the accuracy of the product to be verified in identifying the designated object. Therefore, the assembly accuracy of the infrared components in the product under test can be accurately verified through the first infrared information, and the infrared detection conditions of the infrared components can be calibrated through the second infrared information, thereby improving the accuracy of the product under test in identifying the specified object after it is put into use. Attached Figure Description
[0030] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0031] Figure 1 This is a diagram illustrating the application environment of a product verification method in one embodiment;
[0032] Figure 2 This is a flowchart illustrating a product verification method in one embodiment;
[0033] Figure 3 This is a flowchart illustrating the product verification steps in one embodiment;
[0034] Figure 4 This is a schematic diagram of the product verification process in one embodiment;
[0035] Figure 5 This is a structural block diagram of a product verification device in one embodiment;
[0036] Figure 6 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0037] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0038] The product verification method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, terminal 102 communicates with product 104 to be verified. Before product 104 is put into use, terminal 102 obtains first infrared information returned by the infrared component in product 104 after sending infrared rays to the designated area when no object is placed there, and second infrared information returned by the infrared component after sending infrared rays to the designated area when an object is placed there. Based on the first infrared information and a preset first verification range, terminal 102 performs assembly verification on the current assembly position of the infrared component in product 104 to obtain an assembly verification result. When the assembly verification result is a qualified assembly result, terminal 102 performs an anomaly verification on the object based on the second infrared information and a preset second verification range to obtain an object inspection result. When the object inspection result is a specified object, terminal 102 determines the infrared detection conditions corresponding to product 104 to be verified based on the second infrared information. The infrared detection conditions are used to identify the specified object in the designated area through the infrared component after product 104 is put into use. Terminal 102 can be, but is not limited to, various personal computers, laptops, tablets, etc.
[0039] In one exemplary embodiment, such as Figure 2 As shown, a product verification method is provided, which is applied to... Figure 1 Taking the terminal in the example, the explanation includes the following steps:
[0040] Step 202: Before the product to be verified is put into use, obtain the first infrared information returned by the infrared component in the product to be verified after sending infrared rays to the designated area when no object is placed in the designated area of the product to be verified, and the second infrared information returned by the infrared component after sending infrared rays to the designated area when an object is placed in the designated area.
[0041] The product to be verified refers to the product whose infrared component assembly position needs to be verified. This product can be a device equipped with an infrared component for object detection in a designated area. The infrared component is the hardware component in the product to be verified used to transmit and receive infrared light in the designated area, quantifying the received infrared light to obtain infrared information. Infrared information can be the light intensity data of the received infrared light. The product to be verified includes a designated area for placing a specific object, such as a cylindrical pipe, a square pipe, or a rectangular groove. The designated area refers to the area within the designated area where the infrared component transmits and receives infrared light, such as transmitting and receiving infrared light at the opening of a cylindrical pipe or within the pipe itself. The first infrared information refers to the light intensity data of the reflected light after the infrared component transmits infrared light to the designated area. The second infrared information refers to the light intensity information of the reflected light after the infrared component transmits infrared light to the designated area, reflected back from the surface of an object placed in the designated area.
[0042] For example, before the product to be verified is put into use, it is necessary to perform assembly verification of the infrared components, and after the assembly verification of the infrared components passes, infrared calibration is performed on the infrared components. Infrared calibration refers to calibrating the object detection function of the infrared components. Specifically, it can be based on the semi-finished products obtained during the assembly of each hardware target product, before the infrared components are assembled and the next hardware assembly is carried out. These semi-finished products are used as the product to be verified. The target product refers to the device in which all hardware is assembled and functional verification has passed. Functional verification includes assembly verification of the infrared components, infrared calibration, etc. Among them, the product to be verified is equipped with a placement component that can place objects. The placement component can be embedded in the product to be verified. The placement component includes a placement area in which objects can be placed. A designated area can be determined in the placement area according to the product type. The infrared component is then assembled in the product to be verified at the same horizontal level as the designated area of the placement component, and is used to transmit and receive infrared rays to the designated area of the placement component to detect whether an object has entered the placement area. Generally, when the product type to be verified is a heating product, the area in contact with the outside of the storage area is designated as the specified area, such as the pipe opening in a pipe assembly. An infrared component horizontally sends and receives infrared rays to the pipe opening to detect if any object is inserted into the pipe assembly, and heats the object upon detection. Alternatively, when the product type to be verified is a processing product, the area at a preset depth in the storage area is designated as the specified area, such as the middle pipe opening in a pipe assembly. An infrared component horizontally sends and receives infrared rays to the middle pipe to detect if any object is inserted into the middle pipe, and performs processing such as cutting upon detection.
[0043] After the infrared components of the product to be verified are assembled, the process begins with assembling and verifying the infrared components. This can involve communicating with a terminal, where the terminal triggers the infrared components in the product to transmit and receive infrared rays at a preset frequency to a designated area of the product. The terminal acquires the first infrared information returned by the physical surface of the designated area after the infrared components in the product transmit infrared rays to the designated area when no object is placed there, and the second infrared information returned by the surface of the object in the designated area after the infrared components transmit infrared rays to the designated area when an object is placed there.
[0044] Step 204: 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, and obtain the assembly verification result.
[0045] The preset first verification range is a verification parameter used to verify the assembly of the infrared component based on the first infrared information. The current assembly position refers to the location where the infrared component is installed in the product to be verified, such as its location at the opposite end of the product relative to a 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, thus preventing the assembly distance between the infrared component and the specified area from being too large or too small.
[0046] For example, the terminal selects 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 a preset first verification range based on the sampling first infrared information. For example, the preset first verification range can be determined based on the maximum and minimum values of each sampling first infrared information, or the average value between each sampling first infrared information can be calculated and the preset first verification range can be determined based on the average value.
[0047] After collecting the first infrared information of the product to be verified, the terminal obtains the corresponding preset first verification range and compares the first infrared information with the preset first verification range. If the first infrared information is within the preset first verification range, it indicates that the assembly distance of the infrared component in the product to be verified relative to the specified area is within the normal range for infrared components in a normal product, and the assembly verification result of the product to be verified is determined to be a qualified assembly result. If the first infrared information is not within the preset first verification range, it indicates that the assembly distance of the infrared component in the product to be verified relative to the specified area is not within the normal range for infrared components in a normal product, indicating an assembly abnormality of the infrared component, and the assembly verification result of the product to be verified is determined to be an abnormal assembly result.
[0048] Step 206: 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 the object inspection result.
[0049] The preset second verification range is a verification parameter used to identify objects in the infrared component based on the second infrared information. The object verification result indicates whether the object placed in the specified area is the specified object. The specified object refers to the pre-set allowed objects in the specified area. After the product detects that the specified object has been placed in the specified area, it can start the corresponding operation. For example, a heating product can start the heating function after detecting that the specified object has been inserted into the specified area.
[0050] For example, the terminal places the specified object in a designated area of each sampling product, collects the second infrared information corresponding to each sampling product, and determines a preset second verification range based on the second infrared information, representing the range of infrared information collected that can characterize the specified object. For instance, the preset second verification range can be determined based on the maximum and minimum values of each second infrared information sample, or it can be determined by calculating the average value among the second infrared information samples and using that average value to determine the preset second verification range.
[0051] When the terminal detects that the assembly verification result is a qualified assembly result, it obtains a preset second verification range and performs anomaly verification on the object based on the second infrared information and the preset second verification range. This can be achieved by comparing the second infrared information with the preset second verification range. If the second infrared information falls within the preset second verification range, it indicates that the object placed in the designated area of the product to be verified is the designated object, and the object inspection result is determined to be the designated object. If the second infrared information does not fall within the preset second verification range, it indicates that the object placed in the designated area of the product to be verified is not the designated object, and the object inspection result is determined to be an abnormal object.
[0052] Step 208: 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 the specified object in the specified area through the infrared component after the product to be verified is put into use.
[0053] Among them, infrared detection conditions refer to the detection parameters of the infrared component in the product to be verified for detecting a specified object.
[0054] For example, when the terminal detects that the object detection result is a specified object, it determines that the second infrared information is infrared information collected by the infrared component for the specified object, which can be represented as the specified object. Then, the terminal determines the infrared detection parameters corresponding to the product to be verified based on the second infrared information to obtain the infrared detection conditions. This can be done by using the second infrared information as the infrared detection parameters; or by determining the infrared detection range based on the second infrared information according to a preset floating value and using the infrared detection range as the infrared detection parameters; or by obtaining the weight parameters corresponding to the product to be verified and performing a weighted calculation on the second infrared information based on the weight parameters to obtain the infrared detection parameters.
[0055] After determining the infrared detection conditions corresponding to the product to be verified based on the second infrared information, the terminal writes the infrared detection parameters corresponding to the infrared detection conditions into the product to be verified. This enables the product to collect current infrared information on objects placed in a designated area after it is put into use, and to identify the objects in the designated area as designated objects when the current infrared information meets the infrared detection conditions, i.e., when the current infrared information reaches the infrared detection parameters.
[0056] In the aforementioned product verification method, before the product to be verified is put into use, first infrared information is collected when no object is placed in a designated area of the product to be verified, and second infrared information is collected when an object is placed in the designated area. Based on the first infrared information and a preset first verification range, the current assembly position of the infrared component in the product to be verified is verified, thereby improving the assembly accuracy of the infrared component in the product to be verified. Then, when the assembly verification result is a qualified result, anomaly verification is performed on the object placed in the designated area based on the second infrared information and a preset second verification range, ensuring that the object placed in the designated area is the designated object. This ensures the accuracy of the infrared detection conditions when determining the infrared detection conditions of the product to be verified based on the second infrared information, realizing personalized calibration of the infrared component of the product to be verified. Furthermore, after the product to be verified is put into use, the designated object in the designated area is identified through the infrared detection conditions, improving the accuracy of the product to be verified in identifying the designated object. Therefore, the assembly accuracy of the infrared components in the product to be verified can be realized through the first infrared information, and the infrared detection conditions of the infrared components can be calibrated through the second infrared information, thereby improving the accuracy of the product to be verified in identifying the specified object after it is put into use.
[0057] In one exemplary embodiment, such as Figure 3 As shown, in step 204, based on 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 to obtain the assembly verification result, including:
[0058] Step 302: When the first infrared information is within the preset first verification range, determine the assembly verification result as the assembly qualified 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, the assembly verification result is determined to be an assembly abnormality result; based on the deviation type of the first infrared information from 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.
[0060] The target assembly position refers to the installation position where the infrared component in the product to be verified is installed correctly. Deviation type refers to the type of deviation of the first infrared information from the upper or lower limit of the preset first verification range. Anomaly type refers to the type of installation anomaly of the infrared component.
[0061] For example, after receiving the first infrared information, the terminal compares the first infrared information with a preset first verification range. If the first infrared information is within the preset first verification range, it indicates that the current assembly position of the infrared component in the product to be verified is the normal installation position consistent with all sampled products, and the assembly verification result of the infrared component is determined to be a qualified assembly result. Then, the current assembly position of the infrared component in the product to be verified is taken 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 accuracy of hardware assembly of the product to be verified.
[0062] If the first infrared information does not process the preset first verification range, it indicates that the current assembly position of the infrared component in the product to be verified is an abnormal installation position that is inconsistent with the various sampled products, and the assembly result of the infrared component is determined to be an assembly anomaly. Then, the terminal determines the deviation type based on the deviation between the first infrared information and the upper or lower limit of the preset first verification range. For example, if the first infrared information is greater than the upper limit of the preset first verification range, the deviation type is determined to be a positive deviation; if the first infrared information is less than the lower limit of the preset first verification range, the deviation type is determined to be a negative deviation. Then, the terminal determines the corresponding anomaly type based on the deviation type and generates an anomaly prompt based on the anomaly type and the assembly anomaly result.
[0063] In this embodiment, the assembly verification result is determined based on the first infrared information and the preset first verification range, and the abnormality type is determined when the assembly verification result is an assembly abnormality result, thereby improving the accuracy of the assembly verification of the product to be verified.
[0064] In an exemplary embodiment, step 302, based on the deviation type of the first infrared information within a preset first verification range, determines the anomaly type corresponding to the assembly anomaly result, including:
[0065] When the first infrared information is greater than the upper limit of the preset first verification range, the abnormality type corresponding to the assembly abnormality result is determined to be infrared component abnormality pre-positioning.
[0066] When the first infrared information is greater than the lower limit of the preset first verification range, the abnormality type corresponding to the assembly abnormality result is determined to be infrared component abnormality post-processing.
[0067] For example, since the first infrared information is obtained by reflecting the infrared rays sent by the infrared component through the inner wall of the specified area, it can represent the assembly distance between the infrared component and the inner wall of the specified area. When the first infrared information is not within the first verification range, it means that the assembly distance between the infrared component and the inner wall of the specified area in the product to be verified is significantly different from the assembly distance between the infrared component and the inner wall of the specified area in each sampled product. 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 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 less than the assembly distance of the infrared component in each sampled product. This is because the first infrared information of the product to be verified is too large due to the infrared component being positioned in front of the inner wall of the specified area. The abnormality type corresponding to the assembly abnormality result can be determined as infrared component abnormality in front. When the first infrared information is less than the lower limit 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 greater than the assembly distance of the infrared component in each sampled product. This is because the first infrared information of the product to be verified is too small due to the infrared component being positioned behind the inner wall of the specified area. The abnormality type corresponding to the assembly abnormality result can be determined as infrared component abnormality in back.
[0068] In this embodiment, by determining the anomaly type based on the deviation type, the system can indicate the assembly rectification method for the product to be verified when an assembly anomaly occurs, thus ensuring the accuracy of the assembly verification and the accuracy of the assembly rectification of the product to be verified.
[0069] In an exemplary embodiment, step 206, based on the second infrared information and a preset second verification range, performs anomaly verification on the object to obtain the object verification result, including:
[0070] When the second infrared information is within the preset second verification range, the object verification result corresponding to the object placed in the specified area is determined to be the specified object;
[0071] When the second infrared information is outside the preset second verification range, the object inspection result corresponding to the object placed in the specified area is determined to be an abnormal object, and a foreign object prompt is generated.
[0072] For example, since the second infrared information is obtained by reflecting infrared rays emitted by the infrared component from the surface of an 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. 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 essentially fixed. When the second infrared information is within a preset second verification range, the difference between 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. This indicates 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, the object verification result corresponding to the object placed in the specified area can be determined as the specified object.
[0073] When the second infrared information is not within the preset second verification range, the difference between 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. This indicates that the diameter of the object in the specified area is different from the diameter of the specified object. Therefore, the object placed in the specified area can be determined to be an abnormal object. Furthermore, when the second infrared information is greater than the upper limit 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. 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 too large. Similarly, when the second infrared information is less than the lower limit 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 too small.
[0074] In this embodiment, by performing object inspection based on the second infrared information and the preset second verification range, the accuracy of the second infrared information obtained for the specified object can be guaranteed, thereby ensuring the accuracy of the infrared detection conditions of the product to be verified.
[0075] In an exemplary embodiment, step 208, the second infrared information determines the infrared detection conditions corresponding to the product to be verified, including:
[0076] Based on the first infrared information, at least one reference product is identified among the candidate products;
[0077] 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;
[0078] The parameter difference between the second infrared information and the general infrared detection parameters is calculated, and the weighting parameter of the second infrared information is determined based on the parameter difference; the weighting parameter is positively correlated with the parameter difference.
[0079] Based on the weighting parameters, the second infrared information, and the general infrared detection parameters, the target infrared detection parameters are determined, and the infrared detection conditions corresponding to the product to be verified are obtained.
[0080] In this context, candidate products refer to normal products with the same assembly structure as the product to be verified, and can be sampled products. Reference products are normal products used to determine reference infrared detection parameters; the number of reference products is less than or equal to the number of candidate products. Reference infrared detection parameters refer to the pre-calibrated detection parameters in the reference products used to detect specified objects. General infrared detection parameters refer to infrared detection parameters that are applicable to products with the same configuration structure as the reference products.
[0081] For example, 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 based on the second infrared information to ensure that the product to be verified accurately identifies the specified object. Specifically, each sampled product can be used as a candidate product, the first infrared information corresponding to each candidate product can be obtained, the first infrared information corresponding to the product to be verified can be matched with the first infrared information corresponding to each candidate product, and the successfully matched candidate product can be used as a reference product. Candidate products with consistent matching or small matching differences can be used as reference products.
[0082] Obtain the reference infrared detection parameters corresponding to each reference product, calculate the mean of each reference infrared detection parameter to obtain the general infrared detection parameters. Calculate the parameter difference between the second infrared information and the general infrared detection parameters, and determine the weight parameter corresponding to the second infrared information based on the degree of difference. Then, calculate the weight value for the weight parameter and the second infrared information, and determine the target infrared detection parameters based on the weight value and the general infrared detection parameters to obtain the infrared detection conditions 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 in parameter differences. 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 distance of the infrared components in the reference product is similar to that in the product to be verified, and the external dimensions of the reference product and the product to be verified are the same, then the assembly structure of the infrared components in the product to be verified is consistent with that in the reference product. Therefore, based on the consistent assembly structure of 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 parameters of the reference product, and the degree of difference in parameter differences is less than a preset threshold, it indicates that compared with the reference product, the placement component inside the product to be verified has an acceptable structural difference. For example, the placement component has a structural difference that would cause the object to be placed at an angle. Then, the structural difference of the placement component of the product to be verified is used as the calibration basis. The weight parameter is positively correlated with the parameter difference to conform to the structural difference of the product to be verified, that is, the larger the parameter difference, the larger the weight, so as to increase the influence of the second infrared information on the target infrared detection parameters and ensure the accuracy of the target infrared detection parameters determined for the structural differences of the placement component in the product to be verified.
[0084] In an exemplary embodiment, after calculating the parameter difference between the second infrared information and the general infrared detection parameters, the terminal can determine the general weight parameter corresponding to the general infrared detection parameters based on the degree of difference. Then, a general weight value is calculated for the general weight parameter and the general infrared detection parameters, and the target infrared detection parameters are determined based on the general weight value and the second infrared information to obtain the infrared detection conditions corresponding to the product to be verified. The weight parameter corresponding to the general infrared detection parameters 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 parameters, thereby reducing the influence of the general infrared detection parameters on the target infrared detection parameters.
[0085] In this embodiment, by determining the weight parameter of the second infrared information based on the parameter difference, and the weight parameter being positively correlated with the parameter difference, the influence of the second infrared information on the target infrared detection parameters can be increased, enabling personalized calculation of the target infrared detection parameters corresponding to the product to be verified, improving the accuracy of the infrared detection conditions corresponding to the product to be verified, and thus improving the object recognition accuracy of the product to be verified.
[0086] In one exemplary embodiment, the product to be verified is a heating product; the heating product is used to determine that a specified object has been detected in the specified area when the infrared information collected by the infrared component in the specified area meets the infrared detection conditions after the heating product is put into use, and to heat the specified object.
[0087] For example, after the heating product is put into use, its deployed infrared components transmit and receive infrared rays to a designated area at a preset frequency. When the infrared information reflected back from the designated area reaches the infrared detection parameters corresponding to the infrared detection conditions, it is determined that an object is inserted in the designated area and that the object is the designated object, and then the designated object is heated.
[0088] In one exemplary embodiment, such as Figure 4 The diagram illustrates a product verification process. The product to be verified can be a heating product equipped with functional software. This software is pre-configured with various functional modules, such as a display module, a heating module, a vibration module, an NTC (temperature sensor) failure module, a charging / discharging module, a lithium battery protection module, and a heating self-starting module. The heating self-starting module is used to activate the heating function after detecting a designated object inserted into a designated area.
[0089] The assembled semi-finished heating product is used as the heating product to be calibrated. The heating product to be calibrated is then connected to a terminal, and connection and protocol pairing (e.g., serial port protocol) are performed via terminal software. The terminal software reads the empty interpolation value (the light intensity value reflected back by an uninserted object, i.e., the first infrared information) and the interpolated value (the light intensity value reflected back by an inserted specified object, i.e., the second infrared information) every 100ms. The empty interpolation value and the interpolated value are compared with the software's internal numerical ranges (preset first calibration range and preset second calibration range). If they are within the software's internal numerical ranges, infrared calibration can be performed based on the second infrared information, and then the process proceeds to the next workstation. For example, if the preset first calibration range is 1000-1500 and the preset second calibration range is 3000-5000, and the actual empty interpolation value is 1238 and the actual interpolated value is 3345 (second infrared information), both satisfy the corresponding numerical ranges.
[0090] If the value is outside the software's internal range, an alarm is generated, displaying the current empty interpolation value, the inserted value, and the numerical range set by the software. If the empty interpolation value is lower than the corresponding lower limit of the numerical range, it indicates that the infrared component is installed too far forward; otherwise, it is installed too far backward. The user is then prompted with a fault message and repair instructions. For example, if the actual light intensity value of the uninserted object is 1238 (first infrared information), and the actual light intensity value of the inserted object is 2345 (second infrared information), then the second infrared information does not meet the preset second verification range, and an abnormality is displayed. Or, if the actual light intensity value of the uninserted object is less than 1000 (first infrared information), then the first infrared information does not meet the preset first verification range and is below the lower limit, indicating that the infrared component is installed too far forward.
[0091] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0092] Based on the same inventive concept, this application also provides a product verification device for implementing the product verification method described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more product verification device embodiments provided below can be found in the limitations of the product verification method described above, and will not be repeated here.
[0093] In one exemplary embodiment, such as Figure 5 As 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, wherein:
[0094] The infrared acquisition module 502 is used to acquire, before the product to be verified is put into use, the first infrared information returned by the infrared component in the product to be verified after sending infrared rays to the designated area when no object is placed in the designated area of the product to be verified, and the second infrared information returned by the infrared component after sending infrared rays to the designated area when an object is placed in the designated area.
[0095] The assembly verification module 504 is used 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 the preset first verification range, and to obtain the assembly verification result.
[0096] The foreign object inspection module 506 is used to perform anomaly inspection on the object based on the second infrared information and the preset second inspection range when the assembly verification result is an assembly qualified result, and to obtain the object inspection result.
[0097] The infrared calibration module 508 is used to determine the infrared detection conditions corresponding to the product to be calibrated 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 calibrated is put into use.
[0098] In an exemplary embodiment, the assembly verification module 504 is further configured to: determine the assembly verification result as an assembly qualified 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; determine the assembly verification result as an assembly abnormal result when the first infrared information is outside the preset first verification range; determine the abnormal type corresponding to the assembly abnormal result based on the deviation type of the first infrared information from the preset first verification range, and generate an abnormal prompt based on the assembly abnormal result and the abnormal type.
[0099] In an exemplary embodiment, the assembly verification module 504 is further configured to determine the abnormality type corresponding to the assembly abnormality result as infrared component abnormality pre-processing when the first infrared information is greater than the upper limit of the preset first verification range; and to determine the abnormality type corresponding to the assembly abnormality result as infrared component abnormality post-processing when the first infrared information is greater than the lower limit of the preset first verification range.
[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 the preset second verification range; and to determine that the object inspection result corresponding to the object placed in the specified area is an abnormal object when the second infrared information is outside the preset second verification range, and to 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 among the candidate products based on the first infrared information; obtain reference infrared detection parameters corresponding to each reference product; calculate 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; determine the weight parameter of the second infrared information based on the parameter difference; the weight parameter is positively correlated with the parameter difference; and determine the target infrared detection parameters based on the weight parameter, the second infrared information, and the general infrared detection parameters to obtain the infrared detection conditions corresponding to the product to be verified.
[0102] In one exemplary embodiment, the product to be verified is a heating product; the heating product is used to determine that a specified object has been detected in the specified area when the infrared information collected by the infrared component in the specified area meets the infrared detection conditions after the heating product is put into use, and to heat the specified object.
[0103] Each module in the aforementioned product verification device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.
[0104] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 6 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a product verification method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0105] Those skilled in the art will understand that Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0106] In one exemplary embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.
[0107] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.
[0108] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[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 used for analysis, data stored, data displayed, 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 the relevant data must comply with relevant regulations.
[0110] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media 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), magnetic 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 take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0111] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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, they should be considered to be within the scope of this application.
[0112] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A product verification method, characterized in that, The method includes: Before the product to be verified is put into use, the first infrared information returned by the infrared component in the product to be verified after sending infrared rays to the designated area when no object is placed in the designated area of the product to be verified, and the second infrared information returned by the infrared component after sending infrared rays to the designated area when an object is placed in the designated area. Based on 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 to obtain the assembly verification result. When the assembly verification result is a qualified assembly result, based on the second infrared information and the preset second verification range, the object is subjected to anomaly verification to obtain the object inspection result; When the object inspection result is a specified object, the infrared detection conditions corresponding to the product to be verified are determined 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.
2. The method according to claim 1, characterized in that, The assembly verification of the infrared component at its current assembly position in the product to be verified, based on the first infrared information and a preset first verification range, to obtain the assembly verification result includes: When the first infrared information is within the preset first verification range, the assembly verification result is determined to be an assembly qualified result, and the current assembly position of the infrared component in the product to be verified is set 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 from 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 step of determining the anomaly type corresponding to the assembly anomaly result based on the deviation type of the first infrared information relative to the preset first verification range includes: When the first infrared information is greater than the upper limit of the preset first verification range, the abnormality type corresponding to the assembly abnormality result is determined to be infrared component abnormality pre-positioning. When the first infrared information is greater than the lower limit of the preset first verification range, the abnormality type corresponding to the assembly abnormality result is determined to be infrared component abnormality post-processing.
4. The method according to claim 1, characterized in that, The step of performing anomaly verification on the object based on the second infrared information and a preset second verification range to obtain the object inspection result includes: When the second infrared information is within the preset second verification range, the object verification result corresponding to the object placed in the specified area is determined to be the specified object; When the second infrared information is outside the preset second verification range, the object inspection result corresponding to the object placed in the specified area is determined to be 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 conditions corresponding to the product to be verified based on the second infrared information includes: Based on the first infrared information, at least one reference product is determined among the candidate products; 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 is positively correlated with the parameter difference. Based on the weighting parameters, the second infrared information, and the general infrared detection parameters, the target infrared detection parameters are determined, and the infrared detection conditions corresponding to the product to be verified are obtained.
6. The method according to any one of claims 1 to 5, characterized in that, The product to be verified is a heating product; the heating product is used to determine that the specified object is detected in the specified area when the infrared information collected by the infrared component in the specified area meets the infrared detection conditions after the heating product is put into use, and to heat the specified object.
7. A product verification device, characterized in that, The device includes: An infrared acquisition module is used to acquire, before the product to be verified is put into use, first infrared information returned by the infrared component in the product to be verified after sending infrared rays to the designated area when no object is placed in the designated area, and second infrared information returned by the infrared component after sending infrared rays to the designated area when an object is placed in the designated area. An assembly verification module is used 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 to obtain the assembly verification result. The foreign object inspection module is used to perform anomaly inspection on the object based on the second infrared information and the preset second inspection range when the assembly verification result is an assembly qualified result, so as to obtain the object inspection result; An infrared calibration module is used 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.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Infrared induction detection system and method
CN114578971A
Temperature calibration system and method, upper computer, readable storage medium and program product
CN119223456A