Defect monitoring method for restarting management and control equipment, electronic equipment and storage medium

Through the crash data and communication data, confirm the crash and restart status of the PPC device, issue a warning and eliminate defective products, solve the quality hazards and order loss caused by the crash and restart of the PPC device, and improve the production quality of the glass manufacturing process.

CN120386227APending Publication Date: 2025-07-29GUANGDONG HUAXING GLASS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510305258.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-14
Publication Date
2025-07-29

AI Technical Summary

Technical Problem

In the prior art, frequent crashes and restarts of PPC equipment lead to inability to monitor data during product production, with quality hazards and no alarm prompts, affecting production quality and order loss.

Method used

By obtaining the crash data and the crash judgment model, confirming that the device is dead, detecting the communication data to confirm the restart status, issuing a warning signal and obtaining the restart data, determining the defective product and driving the bottle removal mechanism to eliminate the defective product.

Benefits of technology

It realizes timely warning and eliminating defective products when the PPC equipment crashes and restarts, avoiding defective products from flowing to the backend, improving production quality and meeting production requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120386227A_ABST
    Figure CN120386227A_ABST
Patent Text Reader

Abstract

The invention provides a defect monitoring method for restarting of control equipment, electronic equipment and a storage medium, and belongs to the technical field of glass manufacturing. The method comprises the following steps: acquiring crash data of the management and control equipment, and determining whether the management and control equipment is in true crash according to the crash data and a set crash judgment model. And if yes, detecting communication data of the management and control equipment, and determining whether the management and control equipment is in a restart state or not according to the communication data. If yes, a warning signal is sent out, and restart data of the management and control equipment and the conveying speed of the determinant bottle-making machine are obtained. According to the crash data and the restart data, defective products on the determinant bottle making machine are determined, and according to the conveying speed, the conveying distance of the defective products is determined. And according to the defective products and the conveying distance, the target bottle removing mechanism is driven to remove all the defective products. The defective products which cannot be monitored when the management and control equipment crashes and restarts can be eliminated, the defective products are effectively prevented from flowing to the rear end, the production quality is improved, and the production requirement is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of glass manufacturing, and particularly to a defect monitoring method for controlling equipment restart, an electronic device, and a storage medium. Background Art

[0002] With the increasing popularity of lightweight technology, it has become a trend to produce beer bottles using the small-mouth pressure-blowing technology. In addition, most enterprises will be equipped with PPC (Pocket PC) devices at the hot-end row-type bottle-making machines. As a control device, the PPC device is used to control the generation of serious defects such as double mouths inside and outside during the production of beer bottles.

[0003] In the related art, currently, the PPC device has the problem of frequent crashes and restarts. For a control device, when the control device crashes and restarts, the data during the product production process cannot be monitored. Some products may have quality hazards, affecting the production quality. Moreover, there is no alarm prompt when the control device crashes and restarts, and the on-site operators cannot discover it in time, resulting in order losses and inability to meet the production requirements. Summary of the Invention

[0004] The main purpose of the embodiments of the present application is to propose a defect monitoring method for controlling equipment restart, an electronic device, and a storage medium, so as to be able to issue a warning and reject defective products when the control device crashes and restarts, prevent defective products from flowing to the back end, improve production quality, and meet the production requirements.

[0005] To achieve the above object, on the one hand, an embodiment of the present application proposes a defect monitoring method for controlling equipment restart, the method including: obtaining the crash data before the control device crashes, and confirming whether the control device is really crashed according to the crash data and the set crash judgment model;

[0006] When it is confirmed that the control device is really crashed, detecting the communication data of the control device, and confirming whether the control device is in a restart state according to the communication data;

[0007] When it is confirmed that the control device is in a restart state, a warning signal is issued, and the restart data of the control device and the transfer speed of the row-type bottle-making machine are obtained;

[0008] According to the crash data and the restart data, determining the defective products on the row-type bottle-making machine, and determining the transfer distance of the defective products according to the transfer speed;

[0009] According to the defective products and the transfer distance, determining the target bottle-rejecting mechanism, and driving the target bottle-rejecting mechanism to reject all the defective products.

[0010] Further, determining defective products on the in-line bottle making machine according to the crash data and the restart data includes:

[0011] Determine the crash time and restart time of the control device according to the crash data and the restart data, and obtain the unmonitored time period according to the crash time and the restart time;

[0012] When the unmonitored time period is greater than twice the set bottle making duration, the product produced by the in-line bottle making machine at the crash time is taken as the defective first segment product, and the product produced by the in-line bottle making machine at the restart time is taken as the defective last segment product;

[0013] Take the defective first segment product, the defective last segment product, and all products from the defective first segment product to the defective last segment product as the defective products.

[0014] Further, determining the transfer distance of the defective products according to the transfer speed includes:

[0015] Determine the moving distance of the defective first segment product according to the unmonitored time period and the transfer speed;

[0016] When the moving distance is less than the set outlet distance, take the moving distance as the transfer distance.

[0017] Further, there is a bottle rejection valve and a bottle rejection assembly on the in-line bottle making machine. Determining the target bottle rejection mechanism according to the defective products and the transfer distance, and driving the target bottle rejection mechanism includes:

[0018] Take the bottle rejection valve as the target bottle rejection mechanism, and drive the bottle rejection valve to reject the defective last segment product;

[0019] Determine the bottle rejection assembly corresponding to the transfer distance according to the transfer distance, take the bottle rejection assembly as the target bottle rejection mechanism, and drive the bottle rejection assembly to reject the defective first segment product and the remaining defective products.

[0020] Further, the control device is connected to a passive converter. Detecting the communication data of the control device and confirming whether the control device is in a restart state according to the communication data includes:

[0021] Detect the communication data sent by the control device to the passive converter, where the communication data includes RS232 signals;

[0022] Confirm whether the RS232 signal has changed. When it is confirmed that the RS232 signal has changed, obtain the output voltage change amount of the passive converter;

[0023] Confirm whether the change amount of the output voltage is greater than the set voltage threshold. If the change amount of the output voltage is greater than the set voltage threshold, it is considered that the control device is in a restart state.

[0024] Further, confirming whether the control device is truly dead according to the dead data and the set dead judgment model includes:

[0025] Input the dead data into the set dead judgment model, process the dead data, and obtain an output value;

[0026] Confirm whether the output value is greater than the set dead threshold;

[0027] If so, confirm that the control device is truly dead.

[0028] Further, the defect monitoring method for restarting the control device further includes:

[0029] In response to the reset instruction, according to the reset instruction, stop sending the warning signal and control the target bottle rejection mechanism to reset.

[0030] Further, the dead data includes: CPU occupancy rate, memory usage rate, number of running processes, and device response time.

[0031] To achieve the above object, another aspect of the embodiments of the present application proposes an electronic device, which includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the above method is implemented.

[0032] To achieve the above object, another aspect of the embodiments of the present application proposes a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the above method is implemented.

[0033] The embodiments of the present application at least include the following beneficial effects: The present application provides a defect monitoring method, an electronic device, and a storage medium for controlling the restart of a device. Through the crash data and the set crash judgment module, this solution confirms that the controlled device has truly crashed. After the controlled device crashes, it detects the communication data of the controlled device to confirm whether the controlled device has restarted. When it is confirmed that the controlled device has restarted, according to the crash data and the restart data, it determines the products produced by the in-line bottle making machine during the crash restart process of the controlled device, and regards the products produced during the loss of control as defective products. Since the in-line bottle making machine is still running during the crash restart process and some products have been produced, by determining the transfer distance and the determined defective products, it selects the target bottle rejection mechanism to reject all defective products. To achieve the purpose of rejecting the products whose data cannot be monitored during the production process and some products that may have quality hazards when the controlled device crashes and restarts, effectively preventing defective products from flowing to the backend, and there is an alarm prompt when the controlled device crashes and restarts to prompt the on-site operators, thereby improving the production quality, avoiding order loss, and meeting the production requirements for small-mouth pressure blowing. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 is a flowchart of the defect monitoring method for controlling the restart of a device provided by an embodiment of the present application;

[0035] Figure 2 is a schematic hardware structure diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0036] In order to make the objectives, technical solutions, and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. They are only examples of devices and methods that are consistent with some aspects of the embodiments of the present application as detailed in the appended claims.

[0037] It can be understood that the terms "first", "second", etc. used in the present application may be used herein to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the embodiments of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if", "when" as used herein may be interpreted as "when...", "while...", or "in response to determining".

[0038] The terms "at least one", "a plurality", "each", "any one", etc. used in this application, "at least one" includes one, two or more than two, "a plurality" includes two or more than two, "each" refers to each one in the corresponding plurality, and "any one" refers to any one in the plurality.

[0039] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.

[0040] Before elaborating on the embodiments of this application in detail, some nouns and terms involved in the embodiments of this application are first explained, and the nouns and terms involved in the embodiments of this application are subject to the following explanations.

[0041] PPC (Press Process Control) is a control technology used in the manufacture of glass bottles. The PPC device has multiple functions, including precisely controlling the weight of the material, eliminating unqualified bottles, and improving the overall quality of the bottles.

[0042] Figure 1 is an optional flowchart of the defect monitoring method for restarting the control device provided by the embodiment of this application, Figure 1 The method in may include but is not limited to including S100 to S500.

[0043] S100, obtain the crash data before the control device crashes, and confirm whether the control device is really crashed according to the crash data and the set crash judgment model.

[0044] S200, when it is confirmed that the control device is really crashed, detect the communication data of the control device, and confirm whether the control device is in a restart state according to the communication data.

[0045] S300, when it is confirmed that the control device is in a restart state, then send out a warning signal, and obtain the restart data of the control device and the transmission speed of the in-line bottle making machine.

[0046] S400, determine the defective products on the in-line bottle making machine according to the crash data and the restart data, and determine the transmission distance of the defective products according to the transmission speed.

[0047] S500, determine the target bottle rejection mechanism according to the defective products and the transmission distance, and drive the target bottle rejection mechanism to reject all defective products.

[0048] S100 to S500 shown in the embodiments of the present application, through the crash data and the set crash judgment module, confirm that the control device is truly crashed. After the control device crashes, detect the communication data of the control device to confirm whether the control device restarts. When it is confirmed that the control device restarts, according to the crash data and the restart data, determine the products produced by the in-line bottle making machine during the crash restart process of the control device, and regard the products produced during the loss of control as defective products. Since the in-line bottle making machine is still running during the crash restart process and some products have been produced, select the target bottle rejection mechanism by determining the transfer distance and the determined defective products, so as to reject all defective products. To achieve that when the control device crashes and restarts, reject the products whose data cannot be monitored during the production process, reject some products that may have quality hazards, effectively prevent defective products from flowing to the backend, and there is an alarm prompt when the control device crashes and restarts to prompt the on-site operators, thereby improving the production quality, avoiding order loss, and meeting the production requirements for small-mouth press-blowing.

[0049] In S100 of some embodiments, when the control device crashes, the data running before the crash of the control device is used as the crash data. Obtain the data running before the crash of the control device and use it as the crash data.

[0050] Since the main control computer of the PPC device has the situation of frequent crashing and automatic restarting, and the PPC device may have a situation of no response for a long time, but finally can return to the normal false crash state within a certain time. Therefore, judge whether the control device is truly crashed through the crash data and the set crash judgment model.

[0051] Specifically, the crash data includes: CPU occupancy rate, memory usage rate, number of running processes, and device response time. Input the crash data into the set crash judgment model, preprocess and extract the crash data to obtain an output value. Compare the output value with the set crash threshold. When the output value is greater than the set crash threshold in the set crash judgment model, confirm that the control device is truly crashed.

[0052] Among them, the set crash judgment model can be a pre-trained crash judgment model.

[0053] Exemplarily, the establishment process of the set deadlock judgment model can be as follows: Collect the historical deadlock data and normal operation data of the management and control device. The historical deadlock data includes: deadlock time, deadlock duration, device resource usage, and processes, etc. Extract the deadlock features from the historical deadlock data. The deadlock features include: CPU occupancy rate, memory usage rate, number of running processes, and device response time. Analyze the influence degree of the deadlock features on the deadlock of the management and control device according to the historical deadlock data, assign weights to each deadlock feature according to the experience of on-site operators to obtain the feature weights of each deadlock feature, establish a scoring formula according to the deadlock features and feature weights, and determine the set deadlock threshold according to the historical deadlock data and normal operation data, and establish a scoring model, thereby forming the set deadlock judgment model. If the processed deadlock data is greater than the set deadlock threshold currently, that is, when the output value is greater than the set deadlock threshold, it is considered that the management and control device is truly deadlocked.

[0054] Exemplarily, the establishment process of the set deadlock judgment model can also be as follows: Collect the historical deadlock data of the management and control device. The historical deadlock data includes: deadlock time, deadlock duration, device resource usage, and logs, etc. Extract data such as CPU occupancy rate, memory usage rate, number of running processes, and device response time from the historical deadlock data. Perform data cleaning processing on the historical deadlock data, set the corresponding deadlock threshold, determine the set deadlock threshold, and establish a comparison model, thereby forming the set deadlock judgment model. If the processed deadlock data is greater than the corresponding set deadlock threshold currently, that is, when the output value is greater than the set deadlock threshold, it is considered that the management and control device is truly deadlocked.

[0055] In S200 of some embodiments, when it is determined that the management and control device is truly deadlocked, detect the communication data after the management and control device is deadlocked. Since the communication data will change after the management and control device restarts. Therefore, judge whether the management and control device is in the restart state through the communication data.

[0056] In one embodiment, the management and control device is connected to a passive converter, and detect the communication data sent by the management and control device to the passive converter after the deadlock. Among them, the communication data may include: RS232 signal, configuration data, and network data. Judge whether the RS233 signal has changed. If so, preliminarily confirm that the management and control device is restarting. Detect the voltage change amount output by the passive converter, and judge whether the change amount is greater than the set voltage threshold. If so, it is considered that the management and control device is restarting and is in the restart state.

[0057] In S300 of some embodiments, when it is determined that the management and control device is restarting, a warning signal is issued to prompt the operator that the device is restarting for subsequent manual detection of defective products.

[0058] Detect the restart data of the monitoring and control device to subsequently determine the time period during which the matrix bottle making machine loses monitoring, so as to determine defective products. Detect the conveying speed of the matrix bottle making machine to subsequently determine the output and current position of the defective products produced by the bottle making machine during the time period when monitoring is lost.

[0059] In S400 of some embodiments, based on the crash data obtained through S100 and the restart data obtained through S300, determine the products produced by the matrix bottle making machine during the time period when monitoring is lost, that is, during the crash and restart process, and regard the products produced during this time period as defective products, so as to subsequently improve product accuracy and rejection efficiency.

[0060] In practical applications, if the monitoring and control device crashes and no monitoring data is available, and the matrix bottle making machine produces products, these products are defective products. Until the monitoring and control device restarts, the products produced during the crash may have undergone certain position changes during the conveying process of the matrix bottle making machine. Therefore, based on the crash data, restart data, and conveying speed, determine the position of the defective products produced during the crash, that is, the conveying distance, on the matrix bottle making machine during the crash and restart process, that is, during the time period when monitoring is lost, so as to subsequently reject them.

[0061] In addition, since the monitoring and control device is still in the restart state and still cannot monitor data, the products produced by the matrix bottle making machine during restart are defective products. However, the matrix bottle making machine is still making bottles, and the positions of the products produced during restart have not changed. Therefore, it is not necessary to determine the positions of the defective products produced during restart on the matrix bottle making machine, thus reducing the computational workload.

[0062] In S400 of some embodiments, based on the defective products and conveying distance determined in S400, the number of bottles rejected each time may not be the same. Therefore, it is necessary to determine the target bottle rejection mechanism to be operated based on the defective products and conveying distance, and drive the target bottle rejection mechanism to reject all defective products.

[0063] In some embodiments of the present invention, the confirmation process of whether the monitoring and control device is truly crashed in S100 specifically includes:

[0064] S110, input the crash data into the set crash judgment model, process the crash data, and obtain an output value.

[0065] In this embodiment, input the crash data into the set crash judgment model, preprocess and extract the crash data, and obtain an output value. Among them, the crash data includes: CPU occupancy rate, memory usage rate, number of running processes, and device response time. The set crash judgment model can be a pre-trained crash judgment model.

[0066] S120, confirm whether the output value is greater than the set crash threshold.

[0067] In this embodiment, the output value is compared with the set crash threshold to determine whether the output value is greater than the set crash threshold.

[0068] S130, if so, confirm that the management device is truly crashed.

[0069] In this embodiment, if the current processed crash data is greater than the set crash threshold, that is, when the output value is greater than the set crash threshold, it is considered that the management device is truly crashed.

[0070] Exemplarily, when the set crash judgment model is a scoring model, the CPU occupancy rate, memory usage rate, number of running processes, and device response time are input into the set crash judgment model. After data processing, a score value (output value) is obtained. If the output value is greater than the set crash threshold, it is considered that the management device is truly crashed.

[0071] Exemplarily, when the set crash judgment model is a comparison model, the CPU occupancy rate, memory usage rate, number of running processes, and device response time are input into the set crash judgment model. After data cleaning, the CPU occupancy rate, memory usage rate, number of running processes, and device response time (output value) are obtained. If the output value is greater than the corresponding set crash threshold, it is considered that the management device is truly crashed.

[0072] In some embodiments of the present invention, S200, the confirmation process of whether the management device is in a restart state specifically includes:

[0073] S210, detect the communication data sent by the management device to the passive converter, where the communication data includes RS232 signals.

[0074] In this embodiment, the management device is connected to a passive converter. The RS232 communication terminal of the passive converter is connected to the RS232 communication terminal of the management device. The communication data includes: RS232 signals. Since the RS232 communication signal will change after the management device restarts, by detecting the RS232 signal sent by the management device to the passive converter, it is possible to quickly determine whether the device has restarted and is in a restart state.

[0075] S220, confirm whether the RS232 signal has changed. When it is confirmed that the RS232 signal has changed, obtain the change amount of the output voltage of the passive converter.

[0076] In this embodiment, determine whether the RS232 signal has changed. If so, detect the voltage output by the passive converter, convert the voltage signal into a digital quantity signal, and obtain the change amount of the output voltage. Since in the passive converter, when the RS232 signal changes, the output voltage will change.

[0077] S230, confirm whether the change in the output voltage is greater than the set voltage threshold. When the change in the output voltage is greater than the set voltage threshold, it is considered that the control device is in a restart state.

[0078] In this embodiment, determine whether the change in the output voltage is greater than the set voltage threshold. If so, it is considered that the control device restarts and is in a restart state, and a warning signal is sent to prompt the on-site operator that the control device has crashed and restarted, and for subsequent acquisition of restart data in the restart state for subsequent manual inspection of defective products.

[0079] In some embodiments of the present invention, in S400, the confirmation process of defective products and the confirmation process of the transmission distance specifically include:

[0080] S410, determine the crash time and restart time of the control device according to the crash data and restart data, and obtain the unmonitored time period according to the crash time and restart time.

[0081] In this embodiment, determine the crash time of the control device through the crash data, that is, the start time when the control device stops monitoring the in-line bottle making machine. Determine the restart time of the control device through the restart data, that is, the end time when the control device ends the stop of monitoring the in-line bottle making machine.

[0082] Determine the time period during which the data of the in-line bottle making machine is not monitored through the crash time and restart time, that is, the time consumed during the crash to restart process of the control device.

[0083] S420, when the unmonitored time period is greater than twice the set bottle making duration, the products produced by the in-line bottle making machine at the crash time are used as the first segment of defective products, and the products produced by the in-line bottle making machine at the restart time are used as the last segment of defective products.

[0084] In this embodiment, if the unmonitored time period is greater than twice the set bottle making duration, it is considered that the crash and restart duration of the control device this time is relatively long, and the in-line bottle making machine has produced at least twice and obtained at least two groups of products.

[0085] Due to the in-line structure of the in-line bottle making machine and the products produced will be conveyed to the backend, therefore, as the in-line bottle making machine produces, the products produced are arranged in a line. At the crash time, the products produced by the in-line bottle making machine are the first segment of defective products, that is, the first segment of defective products. At the restart time, the products produced by the in-line bottle making machine are the last segment of defective products, that is, the last segment of defective products.

[0086] In another embodiment, if the unmonitored time period is less than twice the set bottle making duration, it is considered that the crash and restart duration of the control device this time is relatively short, and only the currently produced products need to be excluded, that is, the currently produced products of the in-line bottle making machine are used as defective products.

[0087] In this embodiment, the unmonitored time period determined by S410 is used to determine the products generated at the two time points at the beginning and end of this time period, so as to determine the first-section products and the last-section products among the defective products arranged in rows and columns.

[0088] S430: Take the defective first-section products, the defective first-section products, and all the products from the defective first-section products to the defective last-section products as defective products.

[0089] In this embodiment, by S420, the first-section products and the last-section products among the defective products arranged in rows and columns are determined, then all the products between the first-section products and the last-section products are defective products. The defective first-section products and the defective first-section products are also defective products.

[0090] That is to say, the defective products include: the defective first-section products, the defective first-section products, and the products between the defective first-section products and the defective first-section products.

[0091] S440: Determine the moving distance of the defective first-section products according to the unmonitored time period and the conveying speed.

[0092] In this embodiment, as can be seen from S420, when the unmonitored time period is relatively long, the defective first-section products on the production line conveyor belt have undergone a certain position change. The remaining defective products located at the rear end of the defective first-section products will also pass through this position. Then, by determining the position of the defective products (defective first-section products) produced at the time of system freeze on the in-line bottle making machine, that is, the conveying distance, the remaining defective products can be removed subsequently.

[0093] Calculate the distance that the products can move within the unmonitored time period according to the conveying speed and the unmonitored time period obtained in S300.

[0094] S450: When the moving distance is less than the set outlet distance, take the moving distance as the conveying distance.

[0095] In this embodiment, it is judged whether the moving distance is less than the set outlet distance to determine whether the defective first-section products have moved out of the range of the in-line bottle making machine and flowed to the rear end of the production line.

[0096] If the moving distance is less than the set outlet distance, when it is determined that the defective first-section products have not flowed to the rear end of the production line, take the moving distance as the conveying distance.

[0097] In some embodiments of the present invention, an ejection valve and an ejection assembly are provided on the in-line bottle making machine. In S500, the determination process of the target ejection mechanism includes:

[0098] S510: Take the ejection valve as the target ejection mechanism and drive the ejection valve to remove the defective last-section products.

[0099] In this embodiment, as can be seen from S400, the restart duration of the control device this time is relatively long. The in-line bottle making machine has produced at least twice, at least two groups of products have been obtained, and the first defective product has changed its position to a certain extent. Therefore, it is necessary to drive the bottle rejection valve and the bottle rejection assembly simultaneously to reject at least two groups of products.

[0100] That is to say, when the unmonitored time period is greater than twice the set bottle making duration, the target bottle rejection mechanism includes a bottle rejection valve and a bottle rejection assembly. The bottle rejection valve can reject the last defective product, and the bottle rejection valve is driven to reject the last defective product.

[0101] S520. According to the conveying distance, determine the bottle rejection assembly corresponding to the conveying distance, use the bottle rejection assembly as the target bottle rejection mechanism, and drive the bottle rejection assembly to reject the first defective product and the remaining defective products.

[0102] In this embodiment, during the restart process of the control device, since the control device is still running, the position of the first defective product will also be reached by the remaining defective products.

[0103] According to the conveying distance, the position of the first defective product can be determined, and the bottle rejection assembly corresponding to the first defective product is driven. The bottle rejection assembly rejects the first defective product and the remaining defective products one by one at this position, so as to realize the rejection of all defective products produced during the unmonitored time period.

[0104] In another embodiment, when the unmonitored time period is less than twice the set bottle making duration, the target bottle rejection mechanism includes a bottle rejection valve. By driving the bottle rejection valve, the currently produced products are rejected, that is, the currently produced products of the in-line bottle making machine are rejected, so as to realize the rejection of all defective products produced during the unmonitored time period.

[0105] In some embodiments of the present invention, the defective product monitoring method further includes:

[0106] S600. In response to a reset instruction, according to the reset instruction, stop sending out a warning signal and control the target bottle rejection mechanism to reset.

[0107] In this embodiment, in response to the reset instruction, through the reset instruction, the warning signal stops being sent out, the target bottle rejection mechanism is driven to reset, and the bottle rejection stops.

[0108] Exemplarily, an operator presses a reset button, the reset button generates a reset instruction, and through the reset instruction, the output of the alarm module and the output of the bottle rejection mechanism are reset, and the warning signal stops being output and the target bottle rejection mechanism stops running.

[0109] An embodiment of the present application also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the above-mentioned defect monitoring method for controlling the device to restart is implemented.

[0110] The electronic device can be any intelligent terminal including a tablet computer, a vehicle-mounted computer, etc.

[0111] It can be understood that the content in the above method embodiments is applicable to the device embodiments of the present application. The functions specifically implemented by the device embodiments of the present application are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those of the above method embodiments.

[0112] Please refer to Figure 2 , Figure 2 which schematically shows the hardware structure of an electronic device in another embodiment. The electronic device includes:

[0113] A processor 201, which can be implemented in ways such as a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided by the embodiments of the present application;

[0114] A memory 202, which can be implemented in forms such as a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 202 can store an operating system and other application programs. When implementing the technical solutions provided by the embodiments of this specification through software or firmware, the relevant program codes are stored in the memory 202, and the processor 201 is used to call and execute the defect monitoring method for controlling the device to restart in the embodiments of the present application;

[0115] An input / output interface 203, which is used to implement information input and output;

[0116] A communication interface 204, which is used to implement communication interaction between the device and other devices, and can implement communication through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.);

[0117] A bus 205, which transmits information between various components of the device (such as the processor 201, the memory 202, the input / output interface 203, and the communication interface 204);

[0118] Among them, the processor 201, the memory 202, the input / output interface 203, and the communication interface 204 are communicatively connected to each other inside the device through the bus 205.

[0119] An embodiment of the present application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the above-mentioned defect monitoring method for controlling device restart.

[0120] It can be understood that the content in the above method embodiments is applicable to the present storage medium embodiment. The functions specifically implemented by the present storage medium embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those in the above method embodiments.

[0121] As a non-transitory computer-readable storage medium, the memory can be used to store non-transitory software programs and non-transitory computer-executable programs. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories can be connected to the processor through a network. Examples of the above networks include, but are not limited to, the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.

[0122] The embodiments described in the embodiments of the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art can know that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.

[0123] Those skilled in the art can understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than those shown, or combine certain steps, or different steps.

[0124] Those of ordinary skill in the art can understand that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, and appropriate combinations thereof.

[0125] In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those clearly listed steps or units, but may include other steps or units that are not clearly listed or are inherent to these processes, methods, products, or devices.

[0126] It should be understood that in this application, "at least one (item)" means one or more, and "a plurality" means two or more. "At least one (individual) of the following" or similar expressions refer to any combination of these items, including any combination of single items (individuals) or plural items (individuals). For example, at least one (individual) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0127] In several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the above-described embodiments are merely illustrative. For example, the above division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces, and the indirect couplings or communication connections of devices or units can be in electrical, mechanical or other forms.

[0128] The preferred embodiments of the embodiments of this application have been described above with reference to the accompanying drawings. However, this does not limit the scope of the rights of the embodiments of this application. Any modifications, equivalent replacements, and improvements made by those skilled in the art without departing from the scope and essence of the embodiments of this application shall be within the scope of the rights of the embodiments of this application.

Claims

1. A defect monitoring method for controlling device restart, characterized in that, The method includes: Obtaining the crash data before the control device crashes, and according to the crash data and the set crash judgment model, confirming whether the control device is really crashed; When it is confirmed that the control device is really crashed, detecting the communication data of the control device, and according to the communication data, confirming whether the control device is in a restart state; When it is confirmed that the control device is in a restart state, sending a warning signal, obtaining the restart data of the control device and the transfer speed of the in-line bottle making machine; According to the crash data and the restart data, determining the defective products on the in-line bottle making machine, and according to the transfer speed, determining the transfer distance of the defective products; According to the defective products and the transfer distance, determining the target bottle rejection mechanism, and driving the target bottle rejection mechanism to reject all the defective products.

2. The defect monitoring method for controlling the restart of the device according to claim 1, wherein The determining the defective products on the in-line bottle making machine according to the crash data and the restart data includes: According to the crash data and the restart data, determining the crash time and the restart time of the control device, and according to the crash time and the restart time, obtaining the unmonitored time period; When the unmonitored time period is greater than twice the set bottle making duration, taking the products produced by the in-line bottle making machine at the crash time as the defective first segment products, and taking the products produced by the in-line bottle making machine at the restart time as the defective last segment products; Taking the defective first segment products, the defective last segment products and all the products from the defective first segment products to the defective last segment products as the defective products.

3. The defect monitoring method for controlling the restart of a device according to claim 2, characterized in that, The determining the transfer distance of the defective products according to the transfer speed includes: According to the unmonitored time period and the transfer speed, determining the moving distance of the defective first segment products; When the moving distance is less than the set outlet distance, taking the moving distance as the transfer distance.

4. The defect monitoring method for controlling device restart according to claim 2, wherein, The in-line bottle making machine is provided with a bottle rejection valve and a bottle rejection component. The determining the target bottle rejection mechanism according to the defective products and the transfer distance and driving the target bottle rejection mechanism includes: Taking the bottle rejection valve as the target bottle rejection mechanism and driving the bottle rejection valve to reject the defective last segment products; According to the transfer distance, determining the bottle rejection component corresponding to the transfer distance, taking the bottle rejection component as the target bottle rejection mechanism, and driving the bottle rejection component to reject the defective first segment products and the remaining defective products.

5. The defect monitoring method for controlling device restart according to claim 1, characterized in that, The control device is connected with a passive converter. The detecting the communication data of the control device and according to the communication data, confirming whether the control device is in a restart state includes: Detecting the communication data sent by the control device to the passive converter, wherein the communication data includes RS232 signals; Confirming whether the RS232 signals change. When it is confirmed that the RS232 signals change, obtaining the change amount of the output voltage of the passive converter; Confirming whether the change amount of the output voltage is greater than the set voltage threshold. When the change amount of the output voltage is greater than the set voltage threshold, it is considered that the control device is in a restart state.

6. The defect monitoring method for controlling device restart according to claim 1, wherein Confirming whether the management device is truly dead according to the dead data and the set dead judgment model includes: Inputting the dead data into the set dead judgment model, processing the dead data, and obtaining an output value; Confirming whether the output value is greater than the set dead threshold; If so, confirming that the management device is truly dead.

7. The defect monitoring method for controlling device restart according to claim 1, characterized in that, It further includes: In response to a reset instruction, stopping sending the warning signal according to the reset instruction, and controlling the target bottle rejection mechanism to reset.

8. The defect monitoring method for controlling the restart of a device according to claim 1, characterized in that, The dead data includes: CPU occupancy rate, memory usage rate, number of running processes, and device response time.

9. An electronic device, characterized in that, The electronic device includes a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, it implements the defect monitoring method for restarting the management device according to any one of claims 1 to 8.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the defect monitoring method for restarting the management device according to any one of claims 1 to 8.