A lighter detection method, system, intelligent terminal and storage medium
By controlling the detection device to trigger the lighter's gas valve to generate a flame, and combining this with image and model information analysis, the problem of low detection accuracy in existing technologies has been solved, achieving higher detection accuracy and reliability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CIXI CHANGYUN ELECTRONICS CO LTD
- Filing Date
- 2024-04-19
- Publication Date
- 2026-07-24
AI Technical Summary
In existing technologies, when the flame is generated by pressing the lighter switch to detect the gas filling status, the switch is easily damaged, resulting in low detection accuracy.
By controlling the detection device to activate the lighter's gas valve and generate a flame, and combining the flame image information with the model information for analysis, the detection standards are refined, interference from parts is reduced, and the detection accuracy is improved.
It improves the accuracy of detecting the lighter's gas filling status, reduces interference from parts in the detection process, avoids problems with the detection device not being properly clamped or opened, and ensures complete combustion of the gas.
Smart Images

Figure CN118129179B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of lighter technology, and in particular to a lighter detection method, system, smart terminal and storage medium. Background Technology
[0002] A lighter is a small, portable device designed to produce a flame for ignition. It is mainly used to light tobacco products such as cigarettes, cigars, and pipes, but can also be used for cooking, lighting campfires in the wild, illumination, and other occasions where fire is needed.
[0003] In related technologies, after a lighter is assembled and filled with gas, the filling status of the lighter is tested. Usually, the lighter is placed under a flame detector, and then the flame detector is controlled to press the lighter's switch. At the same time, the flame image of the lighter is collected. If the flame is found to be unqualified after image recognition, the unqualified lighter is selected for repair.
[0004] Regarding the aforementioned technologies, the method of pressing the lighter switch to ignite the lighter and generate a flame to detect the lighter's filling status has limitations. Sometimes, a malfunctioning lighter switch or igniter can prevent the lighter from generating a flame, leading to misjudgments of the lighter's filling status. This results in low accuracy in detecting the lighter's filling status and indicates room for improvement. Summary of the Invention
[0005] To improve the accuracy of lighter filling detection, this application provides a lighter detection method, system, smart terminal, and storage medium.
[0006] Firstly, this application provides a method for detecting lighters, employing the following technical solution:
[0007] A method for testing a lighter, comprising:
[0008] Obtain the preset detection trigger information of the lighter;
[0009] Based on the detection trigger information, the preset detection device is controlled to trigger the preset gas valve to make the lighter generate a flame, and the detection image information of the flame is randomly acquired.
[0010] Get the lighter model information;
[0011] Analysis is conducted based on the detected image information and lighter model information to determine whether any defective products exist.
[0012] If no defective products are found, the detection device continues to activate the gas valve of the remaining lighters to generate flames for continuous detection.
[0013] If defective products are found, a defective product notification will be issued.
[0014] By adopting the above technical solution, when detecting the gas filling status of a lighter, the detection device is controlled to activate the lighter's gas valve, causing the gas inside the lighter to rush out and ignite to generate a flame. This minimizes interference from other parts of the lighter on the detection of the gas filling status, thereby improving the accuracy of the detection. After analyzing the detection image information and the lighter model information, it is determined whether there are defective lighters. This allows for a more detailed differentiation of the detection standards based on different lighter models, rather than using a single standard to test all lighters, thus further improving the accuracy of the lighter's gas filling status detection.
[0015] Optionally, methods for controlling a preset detection device to trigger a preset gas valve to generate a flame in the lighter include:
[0016] Obtain the lighter preparation completion trigger information;
[0017] Based on the preparation completion trigger information, the lighter model information is analyzed to determine the trigger distance information and the lifting distance information;
[0018] The control detection device moves to the touch distance information to clamp the gas valve of the lighter, and opens the gas valve by lifting the distance information;
[0019] After the gas valve is opened, the control detection device is used to ignite the lighter so that it generates a flame;
[0020] Obtain the lighter detection completion trigger information;
[0021] Based on the detection completion trigger information, the detection device is controlled to move to activate the gas valves of the remaining lighters, causing the remaining lighters to generate flames and continuously detecting them until all lighters have been detected.
[0022] By adopting the above technical solution, after the lighter is prepared, the control detection device moves to touch the distance information and clamps the gas valve, and then opens the gas valve with the lifting distance information, thereby controlling the detection device to ignite the lighter and generate a flame. This minimizes the possibility of the detection device not clamping the gas valve or opening the gas valve properly, which would affect the gas flow and thus improve the accuracy of the lighter filling status detection.
[0023] Optionally, before the detection device moves to the actuation distance to clamp the gas valve of the lighter, a method for processing the detection device is also included, specifically including:
[0024] Obtain historical detection time information and current time information from the detection device;
[0025] The detection interval time information is determined by analyzing historical and current detection time information.
[0026] Determine whether the detection interval information meets the preset ventilation time information requirements;
[0027] If the information is correct, the detection device is directly controlled to move and touch the distance information to clamp the gas valve of the lighter.
[0028] If the conditions are not met, the control detection device will perform ventilation using preset ventilation parameters and obtain ventilation completion trigger information.
[0029] Based on the information triggered by the completion of air exchange, the control detection device moves to the contact distance information to clamp the gas valve of the lighter.
[0030] By adopting the above technical solution, the detection interval time information of the detection device is determined. When the detection interval time information does not meet the requirements of the ventilation time information, the detection device is controlled to ventilate according to the ventilation parameter information, thereby preventing the gas from being left in the detection device or the gas from not being fully combusted due to the low oxygen content in the detection device, thus improving the detection accuracy of the lighter's refill status.
[0031] Optionally, methods for controlling the detection device to ignite and generate a flame in the lighter include:
[0032] Obtain the valve opening trigger information;
[0033] Based on the activation trigger information, the control detection device is used to ignite the gas with an electric arc so that the lighter generates a flame.
[0034] Determine the preset regulating valve parameters based on the lighter model information;
[0035] After a preset stabilization time, the control detection device clamps the regulating valve and rotates it according to the valve parameter information to change the flame size.
[0036] By adopting the above technical solution, after the gas valve is opened, the detection device is controlled to generate an electric arc, thereby causing the lighter to generate a flame. The detection device is then controlled to clamp the regulating valve, and the size of the flame is adjusted according to the regulating valve parameter information, thereby changing the amount of gas ejected. This allows for the detection of more types of lighter gas conditions, thus improving the accuracy of lighter filling status detection.
[0037] Optionally, methods for determining the presence of defective products by analyzing the detected image information and lighter model information include:
[0038] The detection image information is analyzed to determine the flame parameters of the lighter.
[0039] The rated flame parameters of the lighter are determined by analyzing the lighter model information.
[0040] Obtain adjustment parameter information corresponding to the detected image information;
[0041] The comparison flame parameter information is determined by analyzing the adjustment parameter information and the rated flame parameter information.
[0042] Determine whether the detected flame parameter information meets the requirements of the compared flame parameter information;
[0043] If it matches, output the preset good product information;
[0044] If it does not meet the requirements, the preset defect information will be output.
[0045] By adopting the above technical solution, the detection flame parameter information is first determined, and then the comparison flame parameter information is determined based on the adjustment parameter information and the rated flame parameter information. After comparing the detection flame parameter information and the comparison flame parameter information, it is determined whether the flame in the randomly collected detection image information is qualified, reducing the probability of sudden changes during flame detection and thus improving the accuracy of flame detection.
[0046] Optionally, methods for obtaining the lighter's preparation completion trigger information include:
[0047] Obtain the placement trigger information of the lighter;
[0048] Based on the placement trigger information, obtain the weight detection information of the lighter;
[0049] The standard weight information is determined by analyzing the lighter model information.
[0050] Determine whether the weight measurement information meets the requirements of the standard weight information;
[0051] If it does not meet the requirements, then select the lighters that do not meet the weight requirements;
[0052] If the match is found, obtain the image information showing the placement of the lighter;
[0053] The image placement information is analyzed to determine whether to output a preparation completion trigger message.
[0054] By adopting the above technical solution, after the lighter is placed in the detection position, the gas content of the lighter is determined by comparing the weight detection information with the standard weight information. Lighters with insufficient gas are rejected, while lighters with sufficient gas are kept for further inspection. This reduces the impact of objective factors on the detection of lighter filling status and improves the accuracy of lighter filling status detection.
[0055] Optionally, methods for analyzing the placement image information to determine whether to output a preparation completion trigger message include:
[0056] The placement orientation of the lighter is determined by analyzing the image information.
[0057] Determine whether the placement orientation information meets the requirements of the preset standard placement orientation information;
[0058] If the conditions are met, output the preparation completion trigger message;
[0059] If it does not match, obtain the abnormal location information;
[0060] The control detection device clamps the lighter at the position corresponding to the abnormal position information and adjusts the placement direction of the lighter;
[0061] When the placement orientation information meets the requirements of the standard placement orientation information, output the preparation completion trigger information.
[0062] By adopting the above technical solution, the placement direction information of the lighter is first determined. When the placement direction information does not conform to the standard placement direction information, the detection device is controlled to clamp the lighter at the position corresponding to the abnormal position information, thereby adjusting the placement direction of the lighter. This ensures that the detection device can successfully clamp and activate the gas valve of the lighter, allowing the gas to flow out smoothly, thereby improving the efficiency of lighter filling status detection.
[0063] Secondly, this application provides a lighter detection system, which adopts the following technical solution:
[0064] A lighter detection system, comprising:
[0065] The acquisition module is used to acquire detection trigger information, detection image information, and lighter model information;
[0066] A memory for storing a program for a lighter detection method as described in any of the preceding claims;
[0067] The processor and the program in the memory can be loaded and executed by the processor to implement a lighter detection method as described in any of the above.
[0068] By adopting the above technical solution, a series of data related to lighter detection are acquired by the acquisition module, and the processor is controlled to load and execute a program of a lighter detection method stored in the memory, thereby detecting the lighter, reducing the influence of parts on the lighter's filling status, and thus improving the detection accuracy of the lighter's filling status.
[0069] Thirdly, this application provides a smart terminal, which adopts the following technical solution:
[0070] A smart terminal includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed as described in any of the preceding claims.
[0071] By adopting the above technical solution, a smart terminal operated by personnel loads and executes a program for a lighter detection method stored in the memory, thereby detecting the lighter and reducing the influence of parts on the lighter's filling status, thus improving the accuracy of lighter filling status detection.
[0072] Fourthly, this application provides a computer storage medium capable of storing corresponding programs, which facilitates improving the accuracy of detecting the refilling status of lighters, and adopts the following technical solution:
[0073] A computer-readable storage medium storing a computer program that can be loaded by a processor and executed by any of the above-described lighter detection methods.
[0074] By adopting the above technical solution, a computer program for a lighter detection method is stored in a computer-readable storage medium, which enables the processor to load and execute the computer program stored in the storage medium, thereby detecting the lighter and reducing the influence of parts on the lighter's filling status, thus improving the detection accuracy of the lighter's filling status.
[0075] In summary, this application includes at least one of the following beneficial technical effects:
[0076] 1. By controlling the detection device to touch the lighter's gas valve when detecting the lighter's gas filling status, the gas inside the lighter will rush out and ignite to generate a flame, thereby minimizing the interference of other parts on the lighter's gas filling status detection and improving the accuracy of the lighter's gas filling status detection.
[0077] 2. After the lighter is ready, the detection device is moved to the touch distance information to clamp the gas valve, and then the gas valve is opened by lifting the distance information, thereby controlling the detection device to ignite the lighter and generate a flame. This minimizes the possibility of the detection device not clamping the gas valve or opening the gas valve properly, which would affect the gas flow and thus improve the accuracy of the lighter filling status detection.
[0078] 3. By determining the detection interval information of the detection device, when the detection interval information does not meet the requirements of the ventilation time information, the detection device is controlled to ventilate according to the ventilation parameter information, thereby preventing the gas from the previous detection from remaining in the detection device, or the gas from not being fully combusted due to low oxygen content in the detection device, thus improving the detection accuracy of lighter refill status. Attached Figure Description
[0079] Figure 1 This is a flowchart of a lighter detection method according to an embodiment of this application.
[0080] Figure 2 This is a flowchart of a method for controlling a preset detection device to trigger a preset gas valve to generate a flame in a lighter, as described in this application embodiment.
[0081] Figure 3 This is a flowchart of the processing method of the detection device in the embodiments of this application.
[0082] Figure 4 This is a flowchart of a method for controlling a detection device to ignite a lighter so that the lighter generates a flame, as described in this application embodiment.
[0083] Figure 5 This is a flowchart illustrating a method for determining the presence of defective products based on analysis of detected image information and lighter model information in an embodiment of this application.
[0084] Figure 6 This is a flowchart of a method for obtaining the preparation completion trigger information of a lighter in an embodiment of this application.
[0085] Figure 7 This is a flowchart of a method for analyzing placement image information to determine whether to output preparation completion trigger information in an embodiment of this application. Detailed Implementation
[0086] To make the purpose, technical solution, and advantages of this application clearer, the following description is provided in conjunction with the appendix. Figures 1-7 The present application will be further described in detail below with reference to embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the application.
[0087] This application discloses a method for detecting the gas filling status of a lighter, including a processing terminal and a detection device. The processing terminal and the detection device are connected via a wire to achieve data exchange, and the processing terminal controls the detection device. After receiving the detection trigger information from the lighter, the processing terminal controls the detection device to activate the lighter's gas valve to release gas, thereby igniting the gas and generating a flame. Simultaneously, it randomly collects detection image information of the flame. After retrieving the lighter's model information, it analyzes the detection image information and the lighter's model information to determine if a defective product exists. If a defective product is found, a defective product alert is issued, thereby reducing the influence of other parts of the lighter on the detection of the lighter's gas filling status and improving the accuracy of the lighter's gas filling status detection.
[0088] Reference Figure 1 This application discloses a method for detecting lighters, including the following steps:
[0089] Step S100: Obtain the preset detection trigger information of the lighter.
[0090] Among them, the lighter refers to a lighter that only retains the shell, the air valve, and the regulating valve. The lighters are arranged neatly and uniformly on the detection plate waiting for detection. The detection trigger information refers to the trigger data for starting the detection of the inflation condition of the lighter, which is output by a person skilled in the art pressing the start button and received by the processing terminal.
[0091] Step S101: Based on the detection trigger information, control a preset detection device to touch a preset air valve to make the lighter generate a flame, and randomly obtain the detection image information of the flame.
[0092] Among them, when receiving the detection trigger information, the processing terminal controls the detection device to open the air valve of the lighter and ignite the gas gushing out of the air valve to make the lighter generate a flame. The specific method refers to Figure 2 the steps, so as to randomly collect the detection image information of the flame and provide data support for subsequent determination of whether the inflation condition is good.
[0093] The detection device refers to a device for detecting the inflation condition of the lighter, including a clamping cylinder for clamping and lifting the air valve, a rotating cylinder for clamping and rotating the regulating valve, a receiving cavity for dividing and accommodating the lighter, a ventilation pump installed on the receiving cavity for ventilation, and a high-definition camera. The air valve refers to a valve for releasing the gas in the lighter, and usually a lifting valve is used. The detection image information refers to the image of the flame generated by the lighter in the receiving cavity, which is randomly photographed by the camera and sent to the processing terminal to obtain.
[0094] Step S102: Obtain the lighter model information of the lighter.
[0095] Among them, the lighter model information refers to the model data of the lighter, which is obtained by a person skilled in the art selecting on the processing terminal.
[0096] Step S103: Analyze according to the detection image information and the lighter model information to determine whether there are defective products.
[0097] Among them, after determining the detection image information and the lighter model information, analyze the two to determine whether there are defective lighters. The specific method refers to Figure 5 the steps.
[0098] Step S1031: If there are no defective products, continue to control the detection device to touch the air valves of the remaining lighters to make the remaining lighters generate flames for continuous detection.
[0099] Among them, if there are no defective products, it means that the current lighters detected by the detection device are all qualified. Therefore, continue to control the detection device to touch the air valves of the remaining lighters, so as to make the remaining lighters generate flames to detect the inflation condition of the remaining lighters.
[0100] Step S1032: If a defective product exists, issue a defective product notification.
[0101] If a defective product is found, a prompt will be made based on the location of the detection device that detected the defective product, allowing personnel to remove the defective lighter.
[0102] Reference Figure 2 A method for controlling a preset detection device to trigger a preset gas valve to generate a flame in a lighter includes the following steps:
[0103] Step S200: Obtain the lighter preparation completion trigger information.
[0104] The "preparation complete trigger information" refers to the trigger data obtained when a lighter with sufficient gas is placed correctly on the detection plate. For specific methods of obtaining this information, please refer to [link / reference needed]. Figure 6 The steps.
[0105] Step S201: Based on the preparation completion trigger information, analyze the lighter model information to determine the touch distance information and lifting distance information.
[0106] Upon receiving the readiness trigger information, the system determines the trigger distance and lifting distance based on the lighter model information, thereby providing data support for the subsequent control and detection device to open the lighter's gas valve.
[0107] The touch distance information refers to the distance the clamping cylinder in the detection device moves down to clamp the valve, and the lifting distance information refers to the distance the clamping cylinder pulls up to open the valve after clamping it. The length of the valve and the distance that needs to be moved to open the valve are different for different models of lighters. Those skilled in the art treat the lighter model as a major category and store the valve length and the distance that needs to be moved to open the valve under the corresponding lighter model item. Thus, the touch distance information and lifting distance information can be directly matched and called according to the model information of the lighter.
[0108] Step S202: Control the detection device to move and touch the distance information to clamp the gas valve of the lighter, and open the gas valve by raising the distance information.
[0109] Specifically, after determining the touch distance information and the lifting distance information, the control detection device moves downward according to the touch distance information, causing the clamping cylinder to clamp the lighter's gas valve, and then moves upward according to the lifting distance information, thereby opening the lighter's gas valve and allowing the gas inside the valve to rush out, providing basic support for subsequent ignition gas.
[0110] Step S203: After opening the gas valve, control the detection device to ignite the lighter so that it generates a flame.
[0111] The process involves opening the lighter's gas valve, then controlling the detection device to ignite the gas, thus generating a flame. For specific instructions, please refer to [link to instructions]. Figure 4 These steps provide basic support for subsequent flame detection.
[0112] Step S204: Obtain the lighter detection completion trigger information.
[0113] Among them, the detection completion trigger information refers to the trigger data for completing the image acquisition of a row of lighter flames. The detection completion trigger information is output after the detection device has completed igniting the lighter.
[0114] Step S205: Based on the detection completion trigger information, control the detection device to move to activate the gas valve of the remaining lighters, causing the remaining lighters to generate flames and continue detection until all lighters have been detected.
[0115] When a detection completion trigger message is received, it indicates that the detection device has completed the gas detection of one row of lighters. Therefore, the detection device is controlled to move to the next row of lighters by a preset translation distance, thereby opening the gas valve of the next row of lighters, so that the next row of lighters can generate flames for detection, until all the remaining lighters have been detected.
[0116] Reference Figure 3 Before the detection device moves to the touch distance information to clamp the gas valve of the lighter, the method also includes a processing method for the detection device, which specifically includes the following steps:
[0117] Step S300: Obtain the historical detection time information and current time information of the detection device.
[0118] Among them, historical detection time information refers to the time of the most recent detection by the detection device, which is recorded, retrieved, and output by the detection device. Current time information refers to the current time, which is obtained by the processing terminal recognizing the clock time.
[0119] Step S301: Analyze the historical detection time information and the current time information to determine the detection interval time information.
[0120] Among them, the detection interval time information refers to the interval time between the current detection and the previous detection, which is obtained by the processing terminal calculating the difference between the time corresponding to the historical detection time information and the time corresponding to the current time information.
[0121] Step S302: Determine whether the detection interval information meets the requirements of the preset ventilation time information.
[0122] The air exchange time information refers to the interval between the detection device detecting the lighter and then directly detecting the remaining lighters. The specific value is set by those skilled in the art based on the actual situation. The requirement for the air exchange time information is that it must not be less than the time corresponding to the air exchange time information.
[0123] By determining whether the time value corresponding to the detection interval information is not less than the time corresponding to the air exchange time information, it can be determined whether the time interval between the current detection and the last detection is long enough to allow sufficient time for the air in the containment cavity to be renewed.
[0124] Step S3021: If the condition is met, the detection device is directly controlled to move and touch the distance information to clamp the gas valve of the lighter.
[0125] If the time value corresponding to the detection interval information is not less than the time corresponding to the air exchange time information, it indicates that the time interval between the current detection and the last detection is long enough to allow sufficient time for the air in the detection device's containment cavity to be renewed, thereby directly controlling the gas valve of the lighter to be clamped after the detection device moves to touch the distance information.
[0126] Step S3022: If it does not meet the requirements, control the detection device to perform ventilation with preset ventilation parameters and obtain ventilation completion trigger information.
[0127] If the time value corresponding to the detection interval information is less than the time corresponding to the ventilation time information, it indicates that the time interval between the current detection and the last detection is short, and there may be gas or insufficient air in the cavity of the detection device. Therefore, the detection device is controlled to ventilate according to the ventilation parameter information, and the ventilation completion trigger information is detected to provide a specific time for the subsequent control of the detection device to open the air valve.
[0128] The ventilation parameter information refers to the power and duration of the detection device in updating the air in the containment cavity. The specific parameters are set by those skilled in the art according to the actual situation. The ventilation completion trigger information refers to the trigger data for completing the air update in the containment cavity. The processing terminal times the air update time and outputs the ventilation completion trigger information when the duration is determined to be equal to the duration corresponding to the ventilation parameter information.
[0129] Step S303: Based on the gas exchange completion trigger information, control the detection device to move the touch distance information to clamp the gas valve of the lighter.
[0130] Upon receiving the gas exchange completion trigger information, it indicates that the gas in the containment cavity of the detection device has been updated. This allows the detection device to move and clamp the gas valve of the lighter after receiving the touch distance information, providing data support for the subsequent opening of the gas valve.
[0131] Reference Figure 4 A method for controlling the detection device to ignite and generate a flame in a lighter includes the following steps:
[0132] Step S400: Obtain the valve opening trigger information.
[0133] Among them, the opening trigger information refers to the opening trigger data of the air valve, which is output when the distance the detection device pulls the air valve is equal to the lifting distance information.
[0134] Step S401: Based on the activation trigger information, control the detection device to ignite the gas with an electric arc so that the lighter generates a flame.
[0135] When the activation trigger information is detected, the control detection device generates an electric arc, which ignites the gas flowing out from the gas valve, causing the lighter to generate a flame, providing basic support for the subsequent detection device to continue controlling the lighter.
[0136] Step S402: Determine the preset regulating valve parameter information based on the lighter model information.
[0137] The regulating valve refers to the valve used to adjust the opening degree of the lighter's gas valve. The regulating valve parameter information refers to the adjustment angle range and adjustment speed of the regulating valve. The specific values are set by those skilled in the art. The regulating valve parameter information is matched with the lighter model. Those skilled in the art store the regulating valve parameter information under the category of lighter model information. When the lighter model information is selected, the regulating valve parameter information is automatically matched.
[0138] Step S403: After the preset stabilization time, control the detection device to clamp the regulating valve and rotate the regulating valve according to the regulating valve parameter information to change the flame size.
[0139] The stabilization time information refers to the time value for waiting for the lighter flame to stabilize. The specific value can be set by those skilled in the art based on the actual situation. After the lighter generates a flame, after waiting for the stabilization time information, the rotating cylinder in the control detection device clamps the regulating valve and rotates the regulating valve according to the angle range and adjustment speed corresponding to the regulating valve parameter information. This changes the speed at which gas flows out of the gas valve, thereby changing the size of the flame, and thus detecting the gas release situation of the gas valve at different opening degrees.
[0140] Reference Figure 5 The method for determining the presence of defective products by analyzing the inspection image information and lighter model information includes the following steps:
[0141] Step S500: Analyze the detected image information to determine the detected flame parameters of the lighter.
[0142] Among them, the detected flame parameter information refers to the actual height of the lighter's flame, which is obtained by the processing terminal through image recognition based on the detected image information.
[0143] Step S501: Analyze the lighter model information to determine the rated flame parameters of the lighter.
[0144] The rated flame parameter information refers to a table showing the relationship between the adjustment level of the lighter's regulating valve and the flame height. For example, when the adjustment level is the lowest, the flame height is the lowest, and when the adjustment level is the highest, the flame height is the highest. The specific values are determined in advance by those skilled in the art and stored under the corresponding category of the lighter model information. When the lighter model information is selected, the rated flame parameter information is matched and output.
[0145] Step S502: Obtain adjustment parameter information corresponding to the detected image information.
[0146] Among them, the adjustment parameter information refers to the angle value of the adjustment valve rotated by the detection device when acquiring detection image information, and the adjustment parameter information is output synchronously when the detection device acquires detection image information.
[0147] Step S503: Analyze the adjustment parameter information and rated flame parameter information to determine the comparison flame parameter information.
[0148] Among them, the comparative flame parameter information refers to the flame height value that should be under the current adjustment degree of the regulating valve. The processing terminal finds the flame height that matches the adjustment degree corresponding to the rated flame parameter information in the flame height and adjustment degree table, thereby obtaining the comparative flame parameter information.
[0149] Step S504: Determine whether the detected flame parameter information meets the requirements of the compared flame parameter information.
[0150] The requirement for comparing flame parameter information is that the flame height must be within the range corresponding to the flame parameter information being compared. By determining whether the flame height corresponding to the detected flame parameter information is within the range corresponding to the flame height of the compared flame parameter information, it is determined whether the gas released by the valve at the current adjustment level is normal.
[0151] Step S5041: If the condition is met, output the preset good product information.
[0152] If the flame height corresponding to the detected flame parameter information is within the range of the flame height corresponding to the compared flame parameter information, it indicates that there is sufficient gas in the lighter, and therefore a good product information is output.
[0153] Good product information refers to the indication data that the lighter has sufficient gas, which is stored in the processing terminal by a person skilled in the art.
[0154] Step S5042: If it does not meet the requirements, output the preset defect information.
[0155] If the flame height corresponding to the detected flame parameter information exceeds the range of the flame height corresponding to the compared flame parameter information, it indicates that there is an abnormality in the gas inside the lighter, and therefore a defective product information is output.
[0156] Defective product information refers to warning data indicating an abnormality in the gas inside the lighter, which is stored in a processing terminal by someone skilled in the art.
[0157] Reference Figure 6 The method for obtaining the lighter's preparation completion trigger information includes the following steps:
[0158] Step S600: Obtain the lighter placement trigger information.
[0159] Among them, the placement trigger information refers to the trigger data when the lighter is placed in the fixing hole on the detection plate, which is output by the light sensor installed on the detection plate when the lighter is placed.
[0160] Step S601: Based on the placement trigger information, obtain the weight detection information of the lighter.
[0161] Specifically, when the placement trigger information is detected, i.e., when the lighter is placed into the fixing hole of the detection plate, the weight detection information of the lighter is collected to provide data support for the subsequent preliminary determination of whether the lighter is qualified.
[0162] The weight detection information refers to the weight of the lighter placed in the fixing hole of the detection plate, which is detected by the force sensor installed on the detection plate and sent to the processing terminal.
[0163] Step S602: Analyze the lighter model information to determine the standard weight information.
[0164] The standard weight information refers to the standard weight value of the lighter corresponding to the lighter model information. The specific value is stored by those skilled in the art under the category of lighter model information and is matched and output according to the selected lighter model information when needed.
[0165] Step S603: Determine whether the weight detection information meets the requirements of the standard weight information.
[0166] The requirement for standard weight information is that the lighter must be within the weight range corresponding to the standard weight information. By determining whether the weight value corresponding to the weight detection information is within the weight range corresponding to the standard weight information, it can be determined whether there is enough gas in the lighter placed on the detection plate.
[0167] Step S6031: If it does not meet the requirements, select the lighters that do not meet the weight requirements.
[0168] If the weight value corresponding to the weight detection information exceeds the weight range corresponding to the standard weight information, it indicates that the lighter placed in the detection tray is not fully filled with gas, and therefore the lighter that does not meet the weight requirement will be rejected.
[0169] Step S6032: If the conditions are met, obtain the image information of the lighter's placement.
[0170] If the weight value corresponding to the weight detection information is within the weight range corresponding to the standard weight information, it indicates that the lighter placed in the detection tray has sufficient gas. Therefore, the image information of the lighter's placement is detected to provide data support for further determination of whether the lighter is placed correctly.
[0171] Step S604: Analyze the placement image information to determine whether to output the preparation completion trigger information.
[0172] The process involves collecting placement image information and then performing image recognition to determine whether to output a preparation completion trigger message. Specific analysis methods are detailed below. Figure 7 The steps.
[0173] Reference Figure 7 The method for analyzing the placement image information to determine whether to output a preparation completion trigger message includes the following steps:
[0174] Step S700: Analyze the placement image information to determine the placement orientation information of the lighter.
[0175] The placement orientation information refers to the direction in which the lighter is placed on the detection plate, including three types: downward, correct, and reversed. Downward means that the lighter's gas valve is inside the detection hole; correct means that the lighter's gas valve is outside the detection hole and in the specified direction; and reversed means that the lighter's gas valve is outside the detection hole but in the opposite direction to the specified direction. This information is obtained by the processing terminal through image recognition based on the placement image information.
[0176] Step S701: Determine whether the placement direction information meets the requirements of the preset standard placement direction information.
[0177] The standard placement orientation information refers to the lighter's gas valve being located outside the detection port and in a specified direction, which is obtained by those skilled in the art and stored in the processing terminal. The requirement for the standard placement orientation information is that the placement orientation corresponding to the standard placement orientation information is the same.
[0178] By determining whether the placement direction information corresponds to the same placement direction as the standard placement direction information, it can be determined whether the lighter is placed correctly and whether the detection device can clamp and open the gas valve.
[0179] Step S7011: If the condition is met, output the preparation completion trigger information.
[0180] If the placement direction information corresponds to the same placement direction as the standard placement direction information, it indicates that the lighter is placed correctly, and the detection device can clamp and open the gas valve, thus outputting a ready-to-trigger message.
[0181] Step S7012: If it does not meet the requirements, obtain the abnormal location information.
[0182] If the placement direction information is different from the standard placement direction information, it indicates that the lighter is placed in the wrong direction. The detection device cannot hold and open the gas valve, thus detecting the abnormal position information and providing data support for subsequent adjustment of the lighter's placement direction.
[0183] Abnormal location information refers to the specific location where the lighter was placed incorrectly on the detection plate. It is represented by the coordinates of the detection holes on the detection plate and is obtained by the processing terminal through image recognition of the placement image information.
[0184] Step S702: Control the detection device to clamp the lighter at the position corresponding to the abnormal position information and adjust the placement direction of the lighter.
[0185] After determining the abnormal location information, the control detection device clamps the lighter at the corresponding location of the abnormal location information, thereby rotating the reversed lighter 180 degrees in the horizontal circumferential direction and placing it into the fixing hole of the detection plate. The lighter facing down is taken out of the fixing hole, rotated 180 degrees in the vertical circumferential direction and placed into the fixing hole of the detection plate, so that the detection device can directly clamp and open the gas valve.
[0186] Step S703: When the placement orientation information meets the requirements of the standard placement orientation information, output the preparation completion trigger information.
[0187] Once the detection device has adjusted the placement orientation of the lighters, and the processing terminal confirms that the orientation information corresponds to the same orientation as the standard orientation information, i.e., all lighters are placed correctly, it outputs a readiness-to-trigger message.
[0188] Based on the same inventive concept, embodiments of the present invention provide a lighter detection system, comprising:
[0189] The acquisition module is used to acquire detection trigger information, detection image information, lighter model information, preparation completion trigger information, detection completion trigger information, historical detection time information, current time information, ventilation completion trigger information, activation trigger information, adjustment parameter information, placement trigger information, weight detection information, placement image information, and abnormal location information.
[0190] Memory, used to store such as Figures 1 to 7 The procedure of any one of the lighter testing methods;
[0191] The processor and memory can load and execute programs to achieve the following: Figures 1 to 7 The lighter testing method described in any one of the following statements.
[0192] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0193] This invention provides a computer-readable storage medium storing a computer program that can be loaded by a processor and executed to provide a lighter detection method.
[0194] Computer storage media include, for example, USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media that can store program code.
[0195] Based on the same inventive concept, embodiments of the present invention provide a smart terminal, including a memory and a processor, wherein the memory stores a computer program that can be loaded and executed by the processor to perform a lighter detection method.
[0196] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0197] The above are all preferred embodiments of this application and are not intended to limit the scope of protection of this application. Any feature disclosed in this specification (including the abstract and drawings) may be replaced by other equivalent or similar features unless specifically stated otherwise. That is, unless specifically stated otherwise, each feature is only one example of a series of equivalent or similar features.
Claims
1. A method for detecting lighters, characterized in that, include: Obtain the preset detection trigger information of the lighter; Based on the detection trigger information, the preset detection device is controlled to trigger the preset gas valve to make the lighter generate a flame, and the detection image information of the flame is randomly acquired. Get the lighter model information; Analysis is conducted based on the detected image information and lighter model information to determine whether any defective products exist. If no defective products are found, the detection device continues to activate the gas valve of the remaining lighters to generate flames for continuous detection. If defective products are found, a defective product notification will be issued. Methods for controlling a preset detection device to trigger a preset gas valve to generate a flame in a lighter include: Obtain the lighter preparation completion trigger information; Based on the preparation completion trigger information, the lighter model information is analyzed to determine the trigger distance information and the lifting distance information; The control detection device moves to the touch distance information to clamp the gas valve of the lighter, and opens the gas valve by lifting the distance information; After the gas valve is opened, the control detection device is used to ignite the lighter so that it generates a flame; Obtain the lighter detection completion trigger information; Based on the detection completion trigger information, the detection device is controlled to move to activate the gas valve of the remaining lighters, causing the remaining lighters to generate flames and continuously detect them until all lighters have been detected. Before the detection device moves to the touch distance information to clamp the gas valve of the lighter, the method also includes a processing method for the detection device, specifically including: Obtain historical detection time information and current time information from the detection device; The detection interval time information is determined by analyzing historical and current detection time information. Determine whether the detection interval information meets the preset ventilation time information requirements; If the information is correct, the detection device is directly controlled to move and touch the distance information to clamp the gas valve of the lighter. If the conditions are not met, the control detection device will perform ventilation using preset ventilation parameters and obtain ventilation completion trigger information. Based on the information triggered by the completion of air exchange, the control detection device is moved to the contact distance information to clamp the gas valve of the lighter; Methods for obtaining the lighter's preparation completion trigger information include: Obtain the placement trigger information of the lighter; Based on the placement trigger information, obtain the weight detection information of the lighter; The standard weight information is determined by analyzing the lighter model information. Determine whether the weight measurement information meets the requirements of the standard weight information; If it does not meet the requirements, then select the lighters that do not meet the weight requirements; If the match is found, obtain the image information showing the placement of the lighter; The image placement information is analyzed to determine whether to output a preparation completion trigger message.
2. The lighter detection method according to claim 1, characterized in that, Methods for controlling the detection device to ignite so that the lighter generates a flame include: Obtain the valve opening trigger information; Based on the activation trigger information, the control detection device is used to ignite the gas with an electric arc so that the lighter generates a flame. Determine the preset regulating valve parameters based on the lighter model information; After a preset stabilization time, the control detection device clamps the regulating valve and rotates it according to the valve parameter information to change the flame size.
3. The lighter detection method according to claim 2, characterized in that, Methods for determining the presence of defective products based on analysis of inspection image information and lighter model information include: The detection image information is analyzed to determine the flame parameters of the lighter. The rated flame parameters of the lighter are determined by analyzing the lighter model information. Obtain adjustment parameter information corresponding to the detected image information; The comparison flame parameter information is determined by analyzing the adjustment parameter information and the rated flame parameter information. Determine whether the detected flame parameter information meets the requirements of the compared flame parameter information; If it matches, output the preset good product information; If it does not meet the requirements, the preset defect information will be output.
4. The lighter detection method according to claim 1, characterized in that, Methods for determining whether to output a readiness completion trigger message based on image placement information include: The placement orientation of the lighter is determined by analyzing the image information. Determine whether the placement orientation information meets the requirements of the preset standard placement orientation information; If the conditions are met, output the preparation completion trigger message; If it does not match, obtain the abnormal location information; The control detection device clamps the lighter at the position corresponding to the abnormal position information and adjusts the placement direction of the lighter; When the placement orientation information meets the requirements of the standard placement orientation information, output the preparation completion trigger information.
5. A lighter detection system, characterized in that, include: The acquisition module is used to acquire detection trigger information, detection image information, and lighter model information; A memory for storing a program for a lighter detection method as described in any one of claims 1 to 4; The processor and the program in the memory can be loaded and executed by the processor to implement the lighter detection method as described in any one of claims 1 to 4.
6. A smart terminal, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed as described in any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that, The computer program is stored and can be loaded by a processor and executed as described in any one of claims 1 to 4.