Equipment dyeing stability periodic self-inspection method and system
Through the equipment dyeing stability cycle self-inspection method and system, the database is used to analyze deviations and generate self-inspection instructions, which solves the problem of redundant manual debugging of traditional equipment detection, achieves efficient and accurate equipment detection, and reduces labor costs.
Patent Information
- Application Number
- CN202410943952.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-07-15
AI Technical Summary
Traditional equipment testing requires regular manual debugging, which is time-consuming and labor-intensive and may introduce unnecessary errors when the equipment is running stably. It lacks efficient, accurate and automated testing methods.
Through the equipment dyeing stability cycle self-inspection method and system, the dyeing record database is used to extract historical logs, generate benchmark images for deviation analysis, and count stability parameters. When the preset threshold is reached, equipment self-inspection instructions are generated to realize equipment self-inspection.
It solves the redundant manual debugging problem of traditional equipment detection, realizes intelligent equipment detection, improves detection efficiency and accuracy, and reduces labor costs.
Smart Images

Figure CN118465292B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of equipment detection, and in particular to a method and system for periodic self-inspection of equipment dyeing stability. Background Art
[0002] In the field of modern biomedical research and clinical diagnosis, the stability and reliability of equipment play a vital role in ensuring the accuracy of experimental results and the precision of clinical diagnosis. Especially in cell staining experiments, the staining stability of the equipment directly affects the accurate expression of cell morphology, structure and function, which in turn affects the reliability and scientificity of the experiment. However, traditional equipment detection methods usually rely on periodic manual debugging and inspection, which is not only time-consuming and labor-intensive, but also when the equipment is in a stable operating state, frequent manual debugging is not only redundant, but may also introduce unnecessary errors. With the advancement of science and technology and the development of automation technology, a more efficient, accurate and automated equipment detection method is needed to improve the efficiency and accuracy of equipment detection and reduce labor costs. Summary of the invention
[0003] The embodiments of the present application provide a method and system for periodic self-inspection of equipment dyeing stability, which solves the technical problem that traditional equipment detection requires regular manual debugging through periodic self-inspection.
[0004] In view of the above problems, the embodiments of the present application provide a method and system for periodic self-inspection of equipment dyeing stability.
[0005] A first aspect of an embodiment of the present application provides a method for periodic self-checking of dyeing stability of an equipment, the method comprising:
[0006] When the preset self-check cycle is met, the first staining log of the preset historical time zone is extracted based on the staining record database, wherein the first staining log includes the staining cell tissue record type, the staining control record feature and the staining record image; the staining conversion analysis channel is matched according to the staining cell tissue record type, the staining control record feature is processed to generate a staining reference image; the staining record image is compared with the staining reference image for deviation analysis to obtain a first deviation coefficient; based on the staining record database, the second staining log of the preset historical time zone is extracted until the Nth staining log for deviation analysis to obtain the second deviation coefficient until the Nth deviation coefficient; the variance of the first deviation coefficient, the second deviation coefficient until the Nth deviation coefficient is calculated to generate a first stability parameter; the mode value of the first deviation coefficient, the second deviation coefficient until the Nth deviation coefficient is calculated to generate a second stability parameter; when the first stability parameter is greater than or equal to the first stability parameter threshold, or / and the second stability parameter is greater than or equal to the second stability parameter threshold, a device self-check instruction is generated to perform device self-check.
[0007] A second aspect of an embodiment of the present application provides a periodic self-check system for dyeing stability of an equipment, the system comprising:
[0008] A log extraction module, the log extraction module is used to extract the first staining log of the preset historical time zone based on the staining record database when the preset self-check cycle is met, wherein the first staining log includes the staining cell tissue record type, the staining control record feature and the staining record image; a processing module, the processing module is used to match the staining conversion analysis channel according to the staining cell tissue record type, process the staining control record feature, and generate a staining reference image; a first analysis module, the first analysis module is used to compare the staining record image with the staining reference image for deviation analysis to obtain a first deviation coefficient; a second analysis module, the second analysis module is used to extract the preset Perform deviation analysis on the second dyeing log in the historical time zone up to the Nth dyeing log to obtain the second deviation coefficient up to the Nth deviation coefficient; a first statistical module, the first statistical module is used to count the variances of the first deviation coefficient, the second deviation coefficient up to the Nth deviation coefficient, and generate a first stability parameter; a second statistical module, the second statistical module is used to count the mode values of the first deviation coefficient, the second deviation coefficient up to the Nth deviation coefficient, and generate a second stability parameter; an equipment self-check module, the equipment self-check module is used to generate an equipment self-check instruction to perform equipment self-check when the first stability parameter is greater than or equal to a first stability parameter threshold, or / and the second stability parameter is greater than or equal to a second stability parameter threshold.
[0009] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0010] When the preset self-check cycle is met, the first staining log of the preset historical time zone is extracted based on the staining record database, wherein the first staining log includes the staining cell tissue record type, the staining control record feature and the staining record image. Then, the staining conversion analysis channel is matched according to the staining cell tissue record type, the staining control record feature is processed, and the staining reference image is generated. The first deviation coefficient is obtained by comparing the staining record image with the staining reference image for deviation analysis. Then, based on the staining record database, the second staining log of the preset historical time zone is extracted until the Nth staining log for deviation analysis, and the second deviation coefficient is obtained until the Nth deviation coefficient. The variance of the first deviation coefficient, the second deviation coefficient until the Nth deviation coefficient is counted to generate the first stable parameter. The mode value of the first deviation coefficient, the second deviation coefficient until the Nth deviation coefficient is counted to generate the second stable parameter. When the first stable parameter is greater than or equal to the first stable parameter threshold, or / and the second stable parameter is greater than or equal to the second stable parameter threshold, a device self-check instruction is generated to perform device self-check. The technical problem that traditional equipment detection requires regular manual debugging is solved, and the technical effect of intelligent equipment detection is achieved through periodic self-checking. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0012] Figure 1 A schematic diagram of a process flow of a method for periodic self-checking of dyeing stability of an equipment provided in an embodiment of the present application;
[0013] Figure 2 This is a schematic diagram of the structure of the equipment dyeing stability periodic self-inspection system provided in an embodiment of the present application.
[0014] Description of the accompanying drawings: log extraction module 11, processing module 12, first analysis module 13, second analysis module 14, first statistics module 15, second statistics module 16, equipment self-check module 17. DETAILED DESCRIPTION
[0015] The embodiments of the present application solve the technical problem that traditional equipment detection requires regular manual debugging by providing a method and system for periodic self-inspection of equipment dyeing stability through periodic self-inspection.
[0016] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0017] It should be noted that the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or modules that are not explicitly listed or are inherent to these processes, methods, products or devices.
[0018] Embodiment 1
[0019] like Figure 1 As shown, the embodiment of the present application provides a method for periodic self-checking of dyeing stability of equipment, wherein the method comprises:
[0020] When the preset self-check cycle is met, the first staining log of the preset historical time zone is extracted based on the staining record database, wherein the first staining log includes the staining cell tissue record type, the staining control record feature and the staining record image.
[0021] The self-inspection cycle is preset, for example, once every two days, once every three days, etc. When the device reaches the preset self-inspection cycle, the system will extract the first staining log of the preset historical time zone from the staining record database. The staining record database stores data related to the staining process. The first staining log includes the staining cell tissue record type, the staining control record characteristics, and the staining record image. Among them, the staining cell tissue record type describes the type of cell tissue being stained, and different cell tissue types may require different staining methods and conditions; the staining control record characteristics include the control parameters and characteristics used in the staining process, which include but are not limited to the type of dye, concentration, staining time, temperature, etc.; the staining record image refers to the image record of the actual staining result, which intuitively shows the morphology and color of the stained cell tissue.
[0022] The staining conversion analysis channel is matched according to the staining cell tissue record type, the staining control record feature is processed, and a staining reference image is generated.
[0023] After extracting the first staining log in the preset historical time zone, the system will match the corresponding staining conversion analysis channel according to the staining cell tissue record type. The staining conversion analysis channel is used to process the staining control record features to generate a staining reference image. The reference image represents the ideal staining effect that the device should produce under a given cell tissue type and staining control features.
[0024] Furthermore, matching the staining conversion analysis channel according to the staining cell tissue record type, processing the staining control record features, and generating a staining reference image include:
[0025] According to the staining cell tissue record type, the staining reference environment is matched through the staining environment calibration table; according to the staining cell tissue record type, the staining reference environment, the staining control record characteristics and the staining equipment model, a staining image retrieval is performed to obtain a staining retrieval image list, wherein the staining retrieval image list has a matching probability list; according to the matching probability list, a staining image with the highest probability is extracted from the staining retrieval image list and set as the staining reference image.
[0026] First, according to the type of stained cell tissue record, the system will match the corresponding staining reference environment by querying a pre-set staining environment calibration table. The staining environment calibration table contains the optimal staining environment parameters required for different cell tissue types, such as temperature, humidity, pH value, etc. Next, the system will use the staining reference environment, combined with the staining cell tissue record type, staining control record characteristics and the currently used staining equipment model, to retrieve staining images from the staining record database. The result of the retrieval is a staining retrieval image list, and each image in the staining retrieval image list has a certain degree of match with the current staining conditions, and then generate a matching probability list, which records the matching probability of each retrieved image with the current staining conditions. Finally, according to the matching probability list, the system will extract the staining image with the highest matching probability from the staining retrieval image list and set it as the staining reference image. The reference image represents the ideal staining effect that the device should achieve under the current staining conditions.
[0027] Furthermore, performing staining image retrieval according to the staining cell tissue record type, the staining reference environment, the staining control record characteristics and the staining equipment model to obtain a staining retrieval image list includes:
[0028] According to the stained cell tissue record type and the staining equipment model, set the retrieval constraint quantitative conditions; according to the staining reference environment and the staining control record characteristics, set the retrieval constraint fuzzy conditions; perform staining image retrieval according to the retrieval constraint quantitative conditions and the retrieval constraint fuzzy conditions to obtain a staining retrieval image set, wherein the retrieval constraint quantitative conditions and the retrieval constraint fuzzy conditions are in a logical AND relationship; perform frequency sorting on the staining retrieval image set to generate the staining retrieval image list and the matching probability list.
[0029] According to the type of staining cell tissue record and the model of staining equipment, the retrieval constraint quantitative conditions can be set. The retrieval constraint quantitative conditions are usually based on structured data in the database, such as equipment model, cell type, etc., and can be directly used for precise matching. According to the staining reference environment and the staining control record characteristics, the retrieval constraint fuzzy conditions are set. Optionally, a fuzzy range or threshold is set for the staining reference environment and the staining control characteristics. For example, if the staining needs to be performed at a temperature of 20-25°C, a fuzzy condition can be set to set the temperature range to approximately 20-25°C. For parameters such as concentration and time, the fuzzy range or threshold can also be set according to actual conditions. According to the retrieval constraint quantitative conditions and the retrieval constraint fuzzy conditions, the staining image retrieval is performed to obtain a staining retrieval image set. Among them, the retrieval constraint quantitative conditions and the retrieval constraint fuzzy conditions are in a logical and relationship, that is, only images that meet both conditions will be retrieved. The staining retrieval image set is frequency sorted to generate a staining retrieval image list and a matching probability list.
[0030] Furthermore, frequency sorting is performed on the dye retrieval image set to generate the dye retrieval image list and the matching probability list, including:
[0031] Perform pairwise similarity analysis on the dye retrieval image set to generate a number of image similarity coefficients; cluster the dye retrieval image set according to the several image similarity coefficients to generate multiple clusters of dye retrieval images; calculate the ratio of the number of multiple retrieval images of the multiple clusters of dye retrieval images to the number of the dye retrieval image set, and set them as multiple matching probabilities; extract any image of the cluster whose matching probability is greater than or equal to the probability threshold, add it to the dye retrieval image list, and add the matching probability to the matching probability list.
[0032] Preferably, a convolutional neural network is used to extract the feature vector of the dye image, and for any two images in the dye retrieval image set, the similarity between their corresponding feature vectors is calculated to obtain a plurality of image similarity coefficients. Specifically, by calculating the cosine similarity, Euclidean distance, etc. between the two vectors, for example, if the cosine similarity is used, the cosine angle between the feature vectors of the two images is calculated, and the smaller the angle, the higher the similarity; if the Euclidean distance is used, the closer the distance, the higher the similarity. A clustering algorithm (such as K-means, hierarchical clustering, DBSCAN, etc.) is used to cluster the dye retrieval image set according to several image similarity coefficients to obtain multiple clusters of dye retrieval images, and the images in each cluster have similar similarities. The number of retrieval images in each cluster is counted, and the ratio between the number of retrieval images in each cluster and the number of the entire dye retrieval image set is calculated to obtain the matching probability of each cluster. A probability threshold is set to screen clusters with sufficient representativeness. Any image in the cluster whose matching probability is greater than or equal to the probability threshold is extracted, added to the dye retrieval image list, and the corresponding matching probability is added to the matching probability list.
[0033] Furthermore, according to the dyeing reference environment and the dyeing control record characteristics, setting a search constraint fuzzy condition includes:
[0034] The dyeing reference environment is normalized to construct a first spatial coordinate, and a first fault tolerance distance is configured for the first spatial coordinate; the dyeing control record feature is normalized to construct a second spatial coordinate, and a second fault tolerance distance is configured for the second spatial coordinate; a first retrieval constraint fuzzy condition is constructed based on the first spatial coordinate and the first fault tolerance distance, and a second retrieval constraint fuzzy condition is constructed based on the second spatial coordinate and the second fault tolerance distance; the first retrieval constraint fuzzy condition and the second retrieval constraint fuzzy condition are added into the retrieval constraint fuzzy condition, wherein the first retrieval constraint fuzzy condition and the second retrieval constraint fuzzy condition are in a logical AND relationship.
[0035] The key parameters of the dyeing reference environment, such as temperature, humidity, pH value, etc., are normalized, that is, the actual value of each parameter is converted into a value between 0 and 1. The normalized parameter set constitutes a point in a multidimensional space, which is the first spatial coordinate of the dyeing reference environment. Considering the fluctuation of environmental parameters in the actual dyeing process, a fault tolerance distance can be configured for the first spatial coordinate. The fault tolerance distance represents an area around the first spatial coordinate. As long as the environmental parameters fall within this area, it can be considered to be close to the reference environment. The size of the fault tolerance distance can be set according to actual needs and experience. Similar to the dyeing reference environment, the dyeing control record features (such as dye type, concentration, dyeing time, etc.) are normalized. The normalized parameter set constitutes a point in another multidimensional space, which is the second spatial coordinate of the dyeing control record feature. A fault tolerance distance is configured for the second spatial coordinate, which represents an allowable range of variation around the control record feature. According to the first spatial coordinate and the first fault tolerance distance, a first search constraint fuzzy condition is constructed. The first search constraint fuzzy condition represents searching for records in the database whose distance from the first spatial coordinate is less than or equal to the first fault tolerance distance. Similarly, according to the second spatial coordinate and the second fault tolerance distance, a second search constraint fuzzy condition is constructed. The first search constraint fuzzy condition and the second search constraint fuzzy condition are combined into a composite search constraint fuzzy condition, and the first search constraint fuzzy condition and the second search constraint fuzzy condition are in a logical AND relationship. Through the above process, it can be ensured that the retrieved staining image not only matches the cell tissue record type and the staining equipment model, but also is close to the given conditions in the staining reference environment and the control record characteristics, thereby improving the accuracy and relevance of the search results.
[0036] The dyeing record image is compared with the dyeing reference image to perform deviation analysis to obtain a first deviation coefficient.
[0037] The system compares the dyeing record image with the dyeing reference image, and obtains the first deviation coefficient by calculating and analyzing the difference between the two. The first deviation coefficient reflects the degree of deviation between the dyeing effect of the equipment in the current cycle and the ideal state. Specifically, the features of the dyeing record image and the dyeing reference image are extracted, and the degree of matching between the dyeing record image and the dyeing reference image is calculated based on the extracted features. Optionally, the degree of matching between the features is calculated by a distance measurement method (such as Euclidean distance, Manhattan distance, cosine similarity, etc.). Based on the result of feature matching, the deviation between the dyeing record image and the dyeing reference image is calculated. For example, if Euclidean distance is used as the feature matching method, the calculated Euclidean distance can be directly used as the deviation, that is, the first deviation coefficient.
[0038] Based on the dyeing record database, the second dyeing log up to the Nth dyeing log of the preset historical time zone is extracted for deviation analysis to obtain the second deviation coefficient up to the Nth deviation coefficient.
[0039] The second dyeing log of the preset historical time zone is extracted from the dyeing record database until the Nth dyeing log, and the deviation analysis is performed on each dyeing log using the same method as the first dyeing log to obtain the second deviation coefficient until the Nth deviation coefficient.
[0040] The variances of the first deviation coefficient, the second deviation coefficient, and up to the Nth deviation coefficient are statistically calculated to generate a first stable parameter.
[0041] The variance of the first deviation coefficient, the second deviation coefficient, and the Nth deviation coefficient is calculated to obtain a first stability parameter. The first stability parameter reflects the stability of the dyeing process in a preset historical time zone. The smaller the variance, the smaller the degree of deviation of the dyeing process and the higher the stability; conversely, the larger the variance, the greater the degree of deviation of the dyeing process and the lower the stability.
[0042] The first deviation coefficient, the second deviation coefficient and the mode value of the Nth deviation coefficient are statistically counted to generate a second stable parameter.
[0043] The first deviation coefficient, the second deviation coefficient, and the mode value (i.e., the value with the most occurrences) of the Nth deviation coefficient are counted to obtain the second stability parameter. The second stability parameter reflects the most common degree of deviation in the dyeing process. If the mode value is low, it means that the dyeing process is relatively stable; if the mode value is high, it means that there is a common large deviation.
[0044] When the first stability parameter is greater than or equal to a first stability parameter threshold, or / and the second stability parameter is greater than or equal to a second stability parameter threshold, a device self-check instruction is generated to perform device self-check.
[0045] The first stable parameter threshold and the second stable parameter threshold are set based on experience to determine whether the current device needs to perform self-checking. The first stable parameter is compared with the first stable parameter threshold, and the second stable parameter is compared with the second stable parameter threshold. If the first stable parameter is greater than or equal to the first stable parameter threshold, or the second stable parameter is greater than or equal to the second stable parameter threshold (or both meet the conditions), a device self-checking instruction is generated, and the device self-checking is performed according to the device self-checking instruction.
[0046] Furthermore, it also includes:
[0047] When the first stability parameter is less than the first stability parameter threshold, and the second stability parameter is less than the second stability parameter threshold, a device coloring stability signal is generated and sent to the user end.
[0048] If the first stability parameter is less than the first stability parameter threshold, and the second stability parameter is less than the second stability parameter threshold, it is determined that the device is currently in a stable state, a device coloring stability signal is generated, and the device coloring stability signal is sent to the user end.
[0049] Furthermore, generating a device self-check instruction to perform device self-check includes:
[0050] The device self-check instructions include environmental control stability self-check instructions and dyeing control stability self-check instructions; performing environmental control self-check according to the environmental control stability self-check instructions to generate an environmental control stability factor; performing dyeing control self-check according to the dyeing control stability self-check instructions to generate a dyeing control stability factor; sending the environmental control stability factor and the dyeing control stability factor to the user end.
[0051] The equipment self-check instruction includes an environment control stability self-check instruction and a dyeing control stability self-check instruction. The environment control stability self-check instruction and the dyeing control stability self-check instruction are used to check the stability of the equipment in environment control and dyeing control, respectively. According to the environment control stability self-check instruction, the equipment starts to check various parameters and components related to environment control, including temperature control system, humidity control system, airflow control system, etc. The equipment executes corresponding self-check procedures, such as reading sensor data, checking actuator status, etc. According to the inspection results, an environment control stability factor is generated. The environment control stability factor is used to indicate the stability level of environment control. According to the dyeing control stability self-check instruction, the equipment starts to check various parameters and components related to dyeing control, including dye supply system, dyeing machine working status, dye concentration monitoring, etc. The equipment executes corresponding self-check procedures, such as checking dye liquid level, reading sensor data, verifying dyeing program, etc. According to the inspection results, a dyeing control stability factor is generated. The dyeing control stability factor is used to indicate the stability level of dyeing control. The generated environment control stability factor and dyeing control stability factor are sent to the user end. After receiving the environment control stability factor and dyeing control stability factor, the user end can perform corresponding processing as needed.
[0052] Furthermore, performing an environmental control self-check according to the environmental control stability self-check instruction to generate an environmental control stability factor includes:
[0053] Perform environmental control on the dyeing equipment for a preset time period to obtain environmental indicator monitoring timing information, wherein the environmental indicator monitoring timing information has a benchmark environmental indicator; calculate the proportion of moments when the deviation modulus between the environmental indicator monitoring timing information and the benchmark environmental indicator is less than or equal to the deviation modulus threshold, and set it as a first-level environmental control stability parameter; when the first-level environmental control stability parameter is greater than or equal to the first-level environmental control stability parameter threshold, calculate the maximum deviation modulus between the environmental indicator monitoring timing information and the benchmark environmental indicator, and set it as a second-level environmental control stability parameter; when the second-level environmental control stability parameter is less than or equal to the second-level environmental control stability parameter threshold, set the environmental control stability factor to 1; when the first-level environmental control stability parameter is less than the first-level environmental control stability parameter threshold, set the environmental control stability factor to 0.
[0054] Taking the environmental control stability self-check instruction as an example, the environmental control stability factor is calculated. Similarly, the dyeing control stability factor is calculated by the same method for the dyeing control stability self-check instruction. The dyeing equipment is subjected to environmental control for a preset time, such as temperature, humidity, air flow, etc. During the preset time, the environmental indicators are continuously monitored and time series information is collected, including environmental indicator data at each time point. The time series information contains a baseline environmental indicator, which is the ideal environmental state set according to the dyeing process requirements. For each data point in the environmental indicator monitoring time series information, the deviation modulus (i.e., the absolute difference between the two) from the baseline environmental indicator is calculated. The proportion of the time when the deviation modulus is less than or equal to the deviation modulus threshold in the total monitoring time is counted, and this proportion is set as the first-level environmental control stability parameter. The first-level environmental control stability parameter reflects the stability level of environmental control within the preset time. When the first-level environmental control stability parameter is greater than or equal to the first-level environmental control stability parameter threshold, the data point with the largest deviation from the baseline environmental indicator is found in the environmental indicator monitoring time series information, and its deviation modulus is calculated, and this maximum deviation modulus is set as the second-level environmental control stability parameter. The second-level environmental control stability parameter reflects the maximum fluctuation of environmental control during the entire monitoring process. When the secondary environmental control stability parameter is less than or equal to the secondary environmental control stability parameter threshold, it means that the environmental control is overall stable within the preset time and the maximum fluctuation is also within the acceptable range, so the environmental control stability factor is set to 1, indicating that the environmental control is stable. When the primary environmental control stability parameter is less than the primary environmental control stability parameter threshold, it means that the stability of the environmental control within the preset time does not meet the requirements, so the environmental control stability factor is set to 0, indicating that the environmental control is unstable.
[0055] In summary, the embodiments of the present application have at least the following technical effects:
[0056] When the preset self-check cycle is met, the first staining log of the preset historical time zone is extracted based on the staining record database, wherein the first staining log includes the staining cell tissue record type, the staining control record feature and the staining record image. Then, the staining conversion analysis channel is matched according to the staining cell tissue record type, the staining control record feature is processed, and the staining reference image is generated. The first deviation coefficient is obtained by comparing the staining record image with the staining reference image for deviation analysis. Then, based on the staining record database, the second staining log of the preset historical time zone is extracted until the Nth staining log for deviation analysis, and the second deviation coefficient is obtained until the Nth deviation coefficient. The variance of the first deviation coefficient, the second deviation coefficient until the Nth deviation coefficient is counted to generate the first stable parameter. The mode value of the first deviation coefficient, the second deviation coefficient until the Nth deviation coefficient is counted to generate the second stable parameter. When the first stable parameter is greater than or equal to the first stable parameter threshold, or / and the second stable parameter is greater than or equal to the second stable parameter threshold, a device self-check instruction is generated to perform device self-check. The technical problem that traditional equipment detection requires regular manual debugging is solved, and the technical effect of intelligent equipment detection is achieved through periodic self-checking.
[0057] Embodiment 2
[0058] Based on the same inventive concept as the device dyeing stability periodic self-checking method in the aforementioned embodiment, Figure 2 As shown, the present application provides a periodic self-check system for dyeing stability of equipment, and the system and method embodiments in the embodiments of the present application are based on the same inventive concept. Among them, the system includes:
[0059] A log extraction module 11, wherein the log extraction module 11 is used to extract a first staining log of a preset historical time zone based on a staining record database when a preset self-check period is met, wherein the first staining log includes a staining cell tissue record type, a staining control record feature, and a staining record image;
[0060] A processing module 12, the processing module 12 is used to match the staining conversion analysis channel according to the staining cell tissue record type, process the staining control record feature, and generate a staining reference image;
[0061] A first analysis module 13, the first analysis module 13 is used to compare the dyeing record image with the dyeing reference image to perform deviation analysis to obtain a first deviation coefficient;
[0062] A second analysis module 14, the second analysis module 14 is used to extract the second dyeing logs of the preset historical time zone to the Nth dyeing logs for deviation analysis based on the dyeing record database, and obtain the second deviation coefficients to the Nth deviation coefficients;
[0063] A first statistical module 15, the first statistical module 15 is used to count the variances of the first deviation coefficient, the second deviation coefficient, and up to the Nth deviation coefficient to generate a first stability parameter;
[0064] A second statistical module 16, the second statistical module 16 is used to count the mode values of the first deviation coefficient, the second deviation coefficient, and up to the Nth deviation coefficient to generate a second stability parameter;
[0065] The device self-check module 17 is used to generate a device self-check instruction to perform device self-check when the first stability parameter is greater than or equal to a first stability parameter threshold, or / and the second stability parameter is greater than or equal to a second stability parameter threshold.
[0066] Furthermore, the device self-check module 17 is used to perform the following method:
[0067] When the first stability parameter is less than the first stability parameter threshold, and the second stability parameter is less than the second stability parameter threshold, a device coloring stability signal is generated and sent to the user end.
[0068] Furthermore, the device self-check module 17 is used to perform the following method:
[0069] The device self-check instructions include environmental control stability self-check instructions and dyeing control stability self-check instructions; performing environmental control self-check according to the environmental control stability self-check instructions to generate an environmental control stability factor; performing dyeing control self-check according to the dyeing control stability self-check instructions to generate a dyeing control stability factor; sending the environmental control stability factor and the dyeing control stability factor to the user end.
[0070] Furthermore, the device self-check module 17 is used to perform the following method:
[0071] Perform environmental control on the dyeing equipment for a preset time period to obtain environmental indicator monitoring timing information, wherein the environmental indicator monitoring timing information has a benchmark environmental indicator; calculate the proportion of moments when the deviation modulus between the environmental indicator monitoring timing information and the benchmark environmental indicator is less than or equal to the deviation modulus threshold, and set it as a first-level environmental control stability parameter; when the first-level environmental control stability parameter is greater than or equal to the first-level environmental control stability parameter threshold, calculate the maximum deviation modulus between the environmental indicator monitoring timing information and the benchmark environmental indicator, and set it as a second-level environmental control stability parameter; when the second-level environmental control stability parameter is less than or equal to the second-level environmental control stability parameter threshold, set the environmental control stability factor to 1; when the first-level environmental control stability parameter is less than the first-level environmental control stability parameter threshold, set the environmental control stability factor to 0.
[0072] Furthermore, the processing module 12 is used to execute the following method:
[0073] According to the staining cell tissue record type, the staining reference environment is matched through the staining environment calibration table; according to the staining cell tissue record type, the staining reference environment, the staining control record characteristics and the staining equipment model, a staining image retrieval is performed to obtain a staining retrieval image list, wherein the staining retrieval image list has a matching probability list; according to the matching probability list, a staining image with the highest probability is extracted from the staining retrieval image list and set as the staining reference image.
[0074] Furthermore, the processing module 12 is used to execute the following method:
[0075] According to the stained cell tissue record type and the staining equipment model, set the retrieval constraint quantitative conditions; according to the staining reference environment and the staining control record characteristics, set the retrieval constraint fuzzy conditions; perform staining image retrieval according to the retrieval constraint quantitative conditions and the retrieval constraint fuzzy conditions to obtain a staining retrieval image set, wherein the retrieval constraint quantitative conditions and the retrieval constraint fuzzy conditions are in a logical AND relationship; perform frequency sorting on the staining retrieval image set to generate the staining retrieval image list and the matching probability list.
[0076] Furthermore, the processing module 12 is used to execute the following method:
[0077] Perform pairwise similarity analysis on the dye retrieval image set to generate a number of image similarity coefficients; cluster the dye retrieval image set according to the several image similarity coefficients to generate multiple clusters of dye retrieval images; calculate the ratio of the number of multiple retrieval images of the multiple clusters of dye retrieval images to the number of the dye retrieval image set, and set them as multiple matching probabilities; extract any image of the cluster whose matching probability is greater than or equal to the probability threshold, add it to the dye retrieval image list, and add the matching probability to the matching probability list.
[0078] Furthermore, the processing module 12 is used to execute the following method:
[0079] The dyeing reference environment is normalized to construct a first spatial coordinate, and a first fault tolerance distance is configured for the first spatial coordinate; the dyeing control record feature is normalized to construct a second spatial coordinate, and a second fault tolerance distance is configured for the second spatial coordinate; a first retrieval constraint fuzzy condition is constructed based on the first spatial coordinate and the first fault tolerance distance, and a second retrieval constraint fuzzy condition is constructed based on the second spatial coordinate and the second fault tolerance distance; the first retrieval constraint fuzzy condition and the second retrieval constraint fuzzy condition are added into the retrieval constraint fuzzy condition, wherein the first retrieval constraint fuzzy condition and the second retrieval constraint fuzzy condition are in a logical AND relationship.
[0080] It should be noted that the above-mentioned sequence of the embodiments of the present application is only for description and does not represent the advantages and disadvantages of the embodiments. And the above-mentioned specific embodiments of this specification are described. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0081] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
[0082] This specification and drawings are merely exemplary illustrations of the present application and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, a person skilled in the art may make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present application and its equivalents, the present application intends to include these modifications and variations.
Claims
1. Periodic self-inspection method for equipment dyeing stability, It is characterized in that Applied to the server, including: When a preset self-check cycle is met, a first staining log of a preset historical time zone is extracted based on a staining record database, wherein the first staining log includes a staining cell tissue record type, a staining control record feature, and a staining record image; Matching the staining conversion analysis channel according to the staining cell tissue record type, processing the staining control record features, and generating a staining reference image; Comparing the dyeing record image with the dyeing reference image to perform deviation analysis to obtain a first deviation coefficient; Based on the dyeing record database, extract the second dyeing log to the Nth dyeing log of the preset historical time zone for deviation analysis, and obtain the second deviation coefficient to the Nth deviation coefficient; Counting the variances of the first deviation coefficient, the second deviation coefficient, and up to the Nth deviation coefficient to generate a first stability parameter; Counting the mode values of the first deviation coefficient, the second deviation coefficient, and up to the Nth deviation coefficient to generate a second stability parameter; When the first stability parameter is greater than or equal to a first stability parameter threshold, or / and the second stability parameter is greater than or equal to a second stability parameter threshold, a device self-check instruction is generated to perform device self-check.
2. The method according to claim 1, It is characterized in that Also includes: When the first stability parameter is less than the first stability parameter threshold, and the second stability parameter is less than the second stability parameter threshold, a device coloring stability signal is generated and sent to the user end.
3. The method according to claim 1, It is characterized in that Generate device self-check instructions to perform device self-check, including: The equipment self-check instructions include environmental control stability self-check instructions and dyeing control stability self-check instructions; Performing an environmental control self-check according to the environmental control stability self-check instruction to generate an environmental control stability factor; Performing a dyeing control self-check according to the dyeing control stability self-check instruction to generate a dyeing control stability factor, wherein the dyeing control stability factor is used to represent the stability level of dyeing control, and the dyeing control self-check process is the same as the environmental control self-check process; Sending the environment control stability factor and the dyeing control stability factor to a user terminal; The step of performing an environmental control self-check according to the environmental control stability self-check instruction to generate an environmental control stability factor includes: Performing environmental control on the dyeing equipment for a preset time period to obtain environmental indicator monitoring time series information, wherein the environmental indicator monitoring time series information has a benchmark environmental indicator; Calculate the proportion of moments when the deviation modulus value between the environmental indicator monitoring time series information and the benchmark environmental indicator is less than or equal to the deviation modulus threshold, and set it as the first-level environmental control stability parameter; When the first-level environmental control stability parameter is greater than or equal to the first-level environmental control stability parameter threshold, the maximum deviation modulus between the environmental indicator monitoring time series information and the reference environmental indicator is calculated and set as the second-level environmental control stability parameter; When the secondary environmental control stability parameter is less than or equal to the secondary environmental control stability parameter threshold, the environmental control stability factor is set to 1; When the first-level environmental control stability parameter is less than the first-level environmental control stability parameter threshold, the environmental control stability factor is set to 0.
4. The method according to claim 1, It is characterized in that Matching the staining conversion analysis channel according to the staining cell tissue record type, processing the staining control record features, and generating a staining reference image, including: According to the stained cell tissue record type, matching the staining reference environment through a staining environment calibration table; Performing staining image retrieval according to the staining cell tissue record type, the staining reference environment, the staining control record characteristics and the staining equipment model to obtain a staining retrieval image list, wherein the staining retrieval image list has a matching probability list; According to the matching probability list, a dye image with the highest probability is extracted from the dye search image list and is set as the dye reference image.
5. The method according to claim 4, It is characterized in that Performing staining image retrieval according to the staining cell tissue record type, the staining reference environment, the staining control record characteristics and the staining equipment model to obtain a staining retrieval image list includes: According to the stained cell tissue record type and the staining equipment model, setting the retrieval constraint quantization condition; According to the dyeing reference environment and the dyeing control record characteristics, setting a search constraint fuzzy condition; Performing dye image retrieval according to the retrieval constraint quantitative condition and the retrieval constraint fuzzy condition to obtain a dye retrieval image set, wherein the retrieval constraint quantitative condition and the retrieval constraint fuzzy condition are in a logical AND relationship; Performing frequency sorting on the dye retrieval image set to generate the dye retrieval image list and the matching probability list; The step of frequency sorting the dye retrieval image set to generate the dye retrieval image list and the matching probability list includes: Performing pairwise similarity analysis on the dye retrieval image set to generate a number of image similarity coefficients; Clustering the dye retrieval image set according to the plurality of image similarity coefficients to generate multiple clusters of dye retrieval images; Counting the ratio of the number of multiple retrieval images of the multi-cluster dye retrieval images to the number of the dye retrieval image set, and setting them as multiple matching probabilities; Any image of the cluster whose matching probability is greater than or equal to the probability threshold is extracted, added to the dyeing retrieval image list, and the matching probability is added to the matching probability list.
6. The method according to claim 5, It is characterized in that According to the dyeing reference environment and the dyeing control record characteristics, setting a search constraint fuzzy condition includes: Normalizing the dyeing reference environment, constructing a first spatial coordinate, and configuring a first fault tolerance distance for the first spatial coordinate; Normalizing the dyeing control record feature, constructing a second spatial coordinate, and configuring a second fault tolerance distance for the second spatial coordinate; Constructing a first search constraint fuzzy condition according to the first spatial coordinate and the first error-tolerant distance, and constructing a second search constraint fuzzy condition according to the second spatial coordinate and the second error-tolerant distance; The first search constraint fuzzy condition and the second search constraint fuzzy condition are added into the search constraint fuzzy condition, wherein the first search constraint fuzzy condition and the second search constraint fuzzy condition are in a logical AND relationship.
7. Equipment dyeing stability periodic self-inspection system, It is characterized in that The system is used to implement the equipment dyeing stability periodic self-inspection method according to any one of claims 1 to 6, comprising: A log extraction module, wherein the log extraction module is used to extract a first staining log of a preset historical time zone based on a staining record database when a preset self-check period is met, wherein the first staining log includes a staining cell tissue record type, a staining control record feature, and a staining record image; A processing module, the processing module is used to match the staining conversion analysis channel according to the staining cell tissue record type, process the staining control record feature, and generate a staining reference image; A first analysis module, the first analysis module is used to compare the dyeing record image with the dyeing reference image to perform deviation analysis to obtain a first deviation coefficient; A second analysis module, the second analysis module is used to extract the second dyeing log of the preset historical time zone to the Nth dyeing log for deviation analysis based on the dyeing record database, and obtain the second deviation coefficient to the Nth deviation coefficient; A first statistical module, the first statistical module is used to count the variances of the first deviation coefficient, the second deviation coefficient, and up to the Nth deviation coefficient to generate a first stability parameter; a second statistical module, the second statistical module being used to count the mode values of the first deviation coefficient, the second deviation coefficient, and up to the Nth deviation coefficient to generate a second stability parameter; The device self-check module is used to generate a device self-check instruction to perform device self-check when the first stability parameter is greater than or equal to a first stability parameter threshold, or / and the second stability parameter is greater than or equal to a second stability parameter threshold.
