Methods, equipment, apparatus and storage media for detecting dirty reaction cups
By obtaining clean cup conditions and performing two tests, and using a variable threshold design, the problem of misjudgment in reaction cup testing was solved, the testing accuracy was improved, and the influence of equipment and environmental differences was eliminated.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-31
- Publication Date
- 2026-04-03
AI Technical Summary
In existing reaction cup detection methods, interference from the reaction cup affects the determination of scattered light intensity, leading to misjudgment. Furthermore, differences caused by different detection equipment and environments can also cause misjudgment. How to reduce the misjudgment rate of dirty cup detection is an urgent problem to be solved.
By obtaining the current clean cup conditions and performing two tests, it is determined whether the reaction cup meets the clean cup conditions. The use of a variable threshold design eliminates the influence of differences in detection equipment and environment, thereby improving detection accuracy.
Without increasing the single reaction time, two tests are used to eliminate the influence of environmental and equipment differences, thereby improving the accuracy of reaction cup testing and reducing the false judgment rate.
Smart Images

Figure CN115372316B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of reaction cup detection technology, and in particular relates to a method for detecting dirty reaction cups, a computer device, a device for detecting dirty reaction cups, and a computer-readable storage medium. Background Technology
[0002] Currently, most specific protein analyzers operate on the principle of turbidimetric scattering. The specific procedure is as follows: after hemolysis of the sample, the antigen in the sample encounters latex particles adsorbed with antibodies, causing antigen-antibody binding and latex aggregation. The sample is then placed in a reaction vessel. When the reaction vessel containing the sample passes through an optical generation module, light shines on the aggregated latex in the reaction vessel, causing scattering. The scattered light is received by a sensor and converted into a voltage value, the magnitude of which reflects the concentration of the sample being tested. Therefore, according to the above detection principle, interference from the vessel itself (dust, scratches, dirt, etc.) will participate in the scattering process, thus affecting the photoelectric sensor's judgment of the intensity of the scattered light, leading to misjudgments of the sample concentration. The function of detecting dirty reaction vessels is an essential feature of specific protein analyzers. Currently, the reaction vessel detection method has been upgraded from manual visual inspection to an automated detection method, namely light scattering detection. The first step involves irradiating the center of the reaction vessel with a laser to generate transmitted and scattered light. The second step converts the intensity of the scattered light in the photoelectric sensor into an electrical signal. The third step sends the electrical signal to an automatic processing device, which determines the state of the vessel based on a pre-set threshold. If the intensity of the scattered light is below the threshold, the vessel is considered clean; otherwise, it is considered dirty.
[0003] In existing technologies, the media inside reaction vessels are typically either air or pure water. Using air as the medium is susceptible to interference from the vessel cleaning process, such as residual liquid. Using pure water is prone to interference from air bubbles during liquid addition. Both residual liquid and air bubbles affect the intensity of scattered light, leading to misjudgments of the reaction vessel's condition. Furthermore, differences in detection hardware can cause inconsistencies in the electrical signal intensity measured by the same reaction vessel in different machines, also resulting in misjudgments. Therefore, reducing the misjudgment rate of dirty reaction vessel detection is a technical problem that urgently needs to be solved by those skilled in the art.
[0004] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the Invention
[0005] Based on this, it is necessary to propose a method for detecting dirty reaction cups, a computer device, a device for detecting dirty reaction cups, and a computer-readable storage medium to address the above problems.
[0006] The technical problem solved by this application is achieved by the following technical solution:
[0007] This application provides a method for detecting dirty reaction cups, comprising the following steps: obtaining the current clean cup conditions; performing a first detection on the reaction cup and obtaining a first cup value, and determining whether the reaction cup meets the clean cup conditions based on the first cup value; if the first cup value meets the clean cup conditions, then marking the reaction cup as a clean cup; if the first cup value does not meet the clean cup conditions, then performing a second detection and obtaining a second cup value, and determining whether the reaction cup meets the clean cup conditions based on the second cup value; if the second cup value meets the clean cup conditions, then marking the reaction cup as a clean cup; if the second cup value does not meet the clean cup conditions, then marking the reaction cup as a dirty cup.
[0008] In an optional embodiment of this application, before obtaining the current clean cup condition, the method further includes: obtaining an amplification factor based on a preset first gain coefficient, a first circuit coefficient, a second circuit coefficient, and a second gain coefficient input by the user; obtaining a preset clean cup threshold and a preset dirty cup threshold; determining a clean cup threshold based on the amplification factor and the preset clean cup threshold; and determining a dirty cup threshold based on the amplification factor and the preset dirty cup threshold.
[0009] In one optional embodiment of this application, the clean cup condition includes a cup value less than a dirty cup threshold.
[0010] In an optional embodiment of this application, performing a first detection on the reaction cup and obtaining a first cup value includes: controlling the liquid injection unit to perform a liquid injection operation to inject liquid into the reaction cup; controlling the optical generation module to emit a light signal to irradiate the measured module, and obtaining a first scattered light signal through the optical receiving module; and processing the first scattered light signal to obtain the first cup value.
[0011] In an optional embodiment of this application, performing the second detection and obtaining the second cup value includes: controlling the cleaning unit to perform a cleaning operation to clean the liquid in the reaction cup; controlling the optical generation module to emit a light signal to irradiate the measured module, and obtaining the second scattered light signal through the optical receiving module; and processing the second scattered light signal to obtain the second cup value.
[0012] In an optional embodiment of this application, determining whether the reaction cup meets the clean cup condition based on the second cup value includes: when the reaction cup does not meet the clean cup condition based on the second cup value, sequentially performing the liquid injection operation and the cleaning operation, and recording the number of executions; when the number of executions reaches a preset number, determining whether the reaction cup meets the clean cup condition based on the second cup value.
[0013] In an optional embodiment of this application, before performing the first detection on the reaction cup and obtaining the first cup value, the method further includes: controlling the optical generation module to emit a light signal to illuminate the module under test, and obtaining a third scattered light signal through the optical receiving module; processing the third scattered light signal to obtain a third cup value; if the third cup value is less than the clean cup threshold, generating and outputting a no-cup prompt message; if the third cup value is greater than or equal to the clean cup threshold, performing the first detection on the reaction cup.
[0014] This application also provides a computer device including a processor and a memory: the processor is used to execute a computer program stored in the memory to implement the method as described above.
[0015] This application also provides a dirty cup detection device for a reaction cup, comprising: a computer device as described above; an optical generation module for emitting light signals; a test module for placing the reaction cup, wherein the light signals are used to irradiate the test module; a liquid path assembly module including a liquid injection unit and a cleaning unit; the liquid injection unit for performing a liquid injection operation to inject liquid into the reaction cup; the cleaning unit for performing a cleaning operation to clean the liquid in the reaction cup; and an optical receiving module connected to the computer device for receiving scattered light signals transmitted from the test module and sending the scattered light signals to the computer device.
[0016] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method as described above.
[0017] Therefore, by adopting the embodiments of this application, the following technical effects can be achieved: This application first obtains the cleanliness conditions corresponding to the current test before performing the detection. Then, it performs a first test on the reaction cup to determine whether it meets the cleanliness conditions. If the cleanliness conditions are not met, the reaction cup is not directly marked as a dirty cup. Instead, a second test is performed on the reaction cup to determine whether it meets the cleanliness conditions. If the cleanliness conditions are still not met, the reaction cup is marked as either clean or dirty based on the result of the second test. That is, by pre-obtaining the cleanliness conditions corresponding to the current test, this application ensures that the detection threshold is different for each detection device or detection environment. Through the design of a variable threshold, the influence caused by the detection device or detection environment is eliminated, improving the accuracy of the detection results. Furthermore, by performing two different tests, without increasing the single reaction time, the influence caused by differences in the environment or detection device in the reaction cup in existing detection methods is eliminated, improving the accuracy of the reaction cup detection function.
[0018] The above description is merely an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it according to the contents of the specification, and to make the above and other objects, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and do not limit this application. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] in:
[0021] Figure 1 This is a schematic diagram of the dirty cup detection method for the reaction cup provided in Embodiment 1 of this application;
[0022] Figure 2 This is a schematic diagram of the reaction cup detection threshold acquisition method provided in Embodiment 2 of this application;
[0023] Figure 3 This is a schematic diagram of the dirty cup detection method for the reaction cup provided in Embodiment 3 of this application;
[0024] Figure 4 This is a schematic diagram of cupless data collection provided in Embodiment 3 of this application;
[0025] Figure 5 This is a schematic diagram of clean cup data collection provided in Embodiment 3 of this application;
[0026] Figure 6 This is a schematic diagram of the dirty cup collection data provided in Embodiment 3 of this application;
[0027] Figure 7 This is a schematic diagram of the structure of the computer device provided in Embodiment 4 of this application;
[0028] Figure 8 This is a schematic diagram of the dirty cup detection device for the reaction cup provided in Embodiment 5 of this application. Detailed Implementation
[0029] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0030] The embodiments of this application will be further described in detail below with reference to the accompanying drawings.
[0031] Example 1
[0032] Figure 1 This is a schematic flowchart of the dirty cup detection method for the reaction vessel provided in Embodiment 1 of this application. For a clear description of the dirty cup detection method for the reaction vessel provided in Embodiment 1 of this application, please refer to [link to documentation]. Figure 1 .
[0033] Step S100: Obtain the current clean cup conditions.
[0034] Step S110: Perform the first detection on the reaction vessel and obtain the first vessel value. Determine whether the reaction vessel meets the clean vessel condition based on the first vessel value.
[0035] In one embodiment, before step S100: obtaining the current clean cup condition, the method further includes: obtaining an amplification factor based on a preset first gain coefficient, a first circuit coefficient, a second circuit coefficient, and a second gain coefficient input by the user; obtaining a preset clean cup threshold and a preset dirty cup threshold; determining a clean cup threshold based on the amplification factor and the preset clean cup threshold; and determining a dirty cup threshold based on the amplification factor and the preset dirty cup threshold.
[0036] In one embodiment, a threshold for judging the state of the reaction cup needs to be determined before performing the dirty cup detection method. It is understood that the threshold for judging the state of the reaction cup varies between detection devices due to different environments and equipment. Therefore, to eliminate the influence of various factors, the technical solution proposed in this application needs to adjust the dirty cup judgment threshold according to the different influences of different equipment or environments. That is, before performing the detection, the clean cup conditions required for this detection need to be obtained in advance. In other words, the standard adopted for this detection needs to be determined in advance, specifically, the required clean cup threshold and dirty cup threshold need to be determined. The determination process can involve obtaining the amplification factor from a preset first gain coefficient, a first circuit coefficient, a second circuit coefficient, and a second gain coefficient input by the user, and then multiplying the amplification factor by the preset clean cup threshold and the preset dirty cup threshold respectively to obtain variable clean cup thresholds and dirty cup thresholds. The specific acquisition process will be detailed in another embodiment later and will not be elaborated here. Furthermore, the dirty cup threshold and clean cup threshold are judged as standards in different steps during the actual detection process. Therefore, they can be obtained separately, for example, calculated and obtained only when the relevant threshold is needed in the next step; or they can be obtained together, for example, the standards needed for this detection process, i.e., the two threshold parameters, can be obtained and determined in advance before executing the method provided in this application. Specifically, no limitations are made, nor does it constitute a limitation on the technical solution of this application. Therefore, according to the technical solution provided in this embodiment, the dirty cup threshold and clean cup threshold corresponding to the current test device can be obtained by pre-adjusting the gain before detection, so that the detection standard is no longer a fixed value. Through the variable threshold design, the influence of differences between detection devices is avoided, and the accuracy of reaction cup state judgment is improved.
[0037] In one implementation, the clean cup condition includes a cup value less than a dirty cup threshold.
[0038] In one embodiment, the criterion for determining whether a reaction cup is clean is to make a judgment based on the corresponding first cup value or second cup value and the dirty cup threshold after each test: if the first cup value or second cup value is less than the dirty cup threshold, the reaction cup can be considered to meet the clean cup condition and can be marked as a clean cup; if the first cup value or second cup value is greater than or equal to the dirty cup threshold, the clean cup condition is not met, and the reaction cup needs to be marked as a dirty cup to stop its use.
[0039] In one embodiment, before step S110: performing the first detection on the reaction cup and obtaining the first cup value, the method further includes: controlling the optical generation module to emit a light signal to illuminate the module under test, and obtaining a third scattered light signal through the optical receiving module; processing the third scattered light signal to obtain a third cup value; if the third cup value is less than the clean cup threshold, generating and outputting a no-cup prompt message; if the third cup value is greater than or equal to the clean cup threshold, performing the first detection on the reaction cup.
[0040] In one embodiment, before performing the first detection, it is necessary to determine whether a reaction cup is placed at the module under test. Specifically, the module under test can be a bracket for fixing and placing the reaction cup for convenient detection. An optical generation module emits a light signal to the module under test. The light signal can be a stable and focused parallel light source, and the color emitted is not limited. When the light signal passes through the module under test, if a reaction cup is placed there, the light signal is scattered by the cup wall and the medium inside the cup. This scattered light is received by the optical receiving module and processed, which is the third scattered light signal obtained in this embodiment. The third scattered light signal is processed to obtain the third cup value. The third cup value is compared with the previously obtained clean cup threshold. If the third cup value is less than the clean cup threshold, it indicates that no reaction cup is installed at the module under test, or the reaction cup is not installed correctly. A no-cup prompt message is generated and output, and subsequent steps are stopped; this continues until the third cup value is detected to be greater than or equal to the clean cup threshold. By testing the module under test in advance according to the clean cup threshold before the formal dirty cup test, the case of no cup can be ruled out, and the subsequent liquid injection operation can be prevented from having an adverse effect on the testing device.
[0041] In one embodiment, step S110: performing a first detection on the reaction cup and obtaining a first cup value includes: controlling the liquid injection unit to perform a liquid injection operation to inject liquid into the reaction cup; controlling the optical generation module to emit a light signal to irradiate the measured module, obtaining a first scattered light signal through the optical receiving module; and processing the first scattered light signal to obtain the first cup value.
[0042] Step S120: If the first cup value meets the clean cup condition, then mark the reaction cup as a clean cup; if the first cup value does not meet the clean cup condition, then perform the second detection and obtain the second cup value, and determine whether the reaction cup meets the clean cup condition based on the second cup value.
[0043] Step S130: If the value of the second cup meets the clean cup condition, then mark the reaction cup as a clean cup; if the value of the second cup does not meet the clean cup condition, then mark the reaction cup as a dirty cup.
[0044] In one embodiment, step S120: performing the second detection and obtaining the second cup value includes: controlling the cleaning unit to perform a cleaning operation to clean the liquid in the reaction cup; controlling the optical generation module to emit a light signal to irradiate the measured module, and obtaining the second scattered light signal through the optical receiving module; and processing the second scattered light signal to obtain the second cup value.
[0045] In one embodiment, when it is determined that a reaction cup exists in the module under test, a first detection and a second detection can be performed on the reaction cup. The key to performing the first and second detections lies in controlling the medium in the reaction cup. For example, the execution process of the first detection involves controlling the liquid injection unit to inject liquid into the reaction cup. The specific composition of the liquid can include, but is not limited to, pure water, methanol, etc. The amount injected is based on the ability to affect the light signal of the optical generation module, and there are no specific restrictions. Similarly, the second detection involves controlling the cleaning unit to clean the components in the reaction cup. The second detection is placed after the first detection, so it can remove the liquid injected in the first detection. It is understood that the second detection can also be performed alone, that is, directly cleaning the cup wall of the reaction cup. After performing the liquid injection operation or the cleaning operation, the first cup value or the second cup value can be obtained in the same way as the method for obtaining the third cup value, and then judged. If the first cup value meets the clean cup condition during the first detection, the reaction cup can be directly marked as a clean cup; if it does not meet the condition, the reaction cup will not be directly marked as a dirty cup, but the second detection will be performed instead. Understandably, if a second test is performed immediately after the first, liquid is first injected into the reaction vessel, and then the liquid is cleaned and removed. This is equivalent to cleaning the reaction vessel, simply removing any impurities that may be present on the vessel walls. If, under these circumstances, the second test result still does not meet the clean vessel criteria, the reaction vessel can be considered a dirty vessel; if it meets the clean vessel criteria, the reaction vessel is marked as a clean vessel, thereby improving the accuracy of the reaction vessel test.
[0046] In one embodiment, step S120: determining whether the reaction cup meets the clean cup condition based on the second cup value includes: when the reaction cup does not meet the clean cup condition based on the second cup value, sequentially performing the liquid injection operation and the cleaning operation, and recording the number of executions; when the number of executions reaches a preset number, determining whether the reaction cup meets the clean cup condition based on the second cup value.
[0047] In a preferred embodiment, the second detection is performed after the first detection; that is, liquid is first injected into the reaction vessel and then removed. However, some residual liquid may remain on the vessel walls, affecting the value of the second cup reading, for example, causing the second cup reading to fail to meet the clean cup condition. Therefore, in this case, the injection and cleaning operations can be repeated a preset number of times. This not only ensures that residual liquid on the reaction vessel walls is removed but also actively cleans the reaction vessel. This ensures that the obtained second cup reading is more accurate, thereby improving the accuracy of the detection results.
[0048] The dirty cup detection method for reaction cups provided in Embodiment 1 of this application includes the following steps: Step S100: Obtain the current clean cup conditions; Step S110: Perform a first detection on the reaction cup and obtain a first cup value, and determine whether the reaction cup meets the clean cup conditions based on the first cup value; Step S120: If the first cup value meets the clean cup conditions, mark the reaction cup as a clean cup; if the first cup value does not meet the clean cup conditions, perform a second detection and obtain a second cup value, and determine whether the reaction cup meets the clean cup conditions based on the second cup value; Step S130: If the second cup value meets the clean cup conditions, mark the reaction cup as a clean cup; if the second cup value does not meet the clean cup conditions, mark the reaction cup as a dirty cup. Therefore, this application can obtain the clean cup conditions corresponding to the current test in advance, so that the detection threshold is different for each detection device or detection environment. Through the design of variable threshold, the influence caused by the detection device or detection environment is eliminated, and the accuracy of the detection results is improved. Furthermore, by conducting two different tests, the influence of differences in the reaction cup environment or testing equipment in existing testing methods is eliminated without increasing the single reaction time, thereby improving the accuracy of the reaction cup testing function.
[0049] Example 2
[0050] Figure 2 This is a schematic flowchart of the reaction cup detection threshold acquisition method provided in Embodiment 2 of this application. For a clear description of the reaction cup detection threshold acquisition method provided in Embodiment 2 of this application, please refer to [link to documentation]. Figure 1 and Figure 2 .
[0051] Step S210: Obtain the amplification factor based on the preset first gain coefficient, first circuit coefficient, second circuit coefficient, and user-input second gain coefficient.
[0052] In one embodiment, the detection device is pre-set with an initial gain G0, i.e., a first gain coefficient, before leaving the factory. The device also has a first circuit coefficient k1 and a second circuit coefficient k2 depending on the actual circuit. A second gain coefficient G1 can be set by the user. The second gain coefficient G1 can be obtained by the user setting it according to their needs through the device's operating interface, thus ultimately determining the amplification factor A. The amplification factor A can be calculated using formula (1), which is as follows:
[0053]
[0054] Step S220: Obtain the preset clean cup threshold and the preset dirty cup threshold; determine the clean cup threshold based on the magnification and the preset clean cup threshold; determine the dirty cup threshold based on the magnification and the preset dirty cup threshold.
[0055] In one embodiment, it can be understood similarly that the detection device has preset clean cup threshold VT′0 and preset dirty cup threshold VT′1. Furthermore, under the same hardware conditions for products of the same model, this parameter should be sufficient for reaction cup detection and judgment. Different models of products will have different initial values, therefore, it is necessary to calculate and obtain a variable threshold to more accurately determine the reaction cup status. Specifically, the calculation method for the clean cup threshold VT0 and the dirty cup threshold VT1 can be the calculation method of formulas (2) and (3):
[0056] VT0=A×VT′0 (2)
[0057] VT1=A×VT′1 (3)
[0058] Therefore, based on the reaction cup detection threshold acquisition method provided in Embodiment 2 of this application, this application can obtain the dirty cup threshold and clean cup threshold corresponding to the current test device by pre-adjusting the gain. Through the variable threshold design, the influence caused by the differences between detection devices is avoided, and the accuracy of reaction cup status judgment is improved.
[0059] Example 3
[0060] Figure 3 This is a schematic flowchart of the dirty cup detection method for the reaction vessel provided in Embodiment 3 of this application. For a clear description of the dirty cup detection method for the reaction vessel provided in Embodiment 3 of this application, please refer to [link to documentation]. Figures 1-6 .
[0061] Step S310: Obtain the clean cup threshold and the dirty cup threshold.
[0062] In one embodiment, it is understood that the actual testing standards for reaction cups will differ due to variations in equipment. Therefore, it is necessary to obtain adjusted testing standards beforehand, specifically the clean cup threshold and the dirty cup threshold. These standards are not fixed values but can vary depending on the testing equipment or environment. Specifically, the methods for obtaining the dirty cup threshold and the clean cup threshold can be found in the embodiments mentioned in Embodiments 1 and 2 of this application, where detailed acquisition processes are already described, and will not be repeated here.
[0063] Step S320: Control the optical generation module to emit a light signal to illuminate the module under test, and obtain the third cup value by acquiring the third scattered light signal.
[0064] Step S330: Determine whether the value of the third cup is less than the clean cup threshold.
[0065] If the value of the third cup is less than the clean cup threshold, then proceed to step S340: generate an output message indicating no cup.
[0066] In one embodiment, the optical generating module generates a stable and focused parallel light signal. The measured module is a structure that fixes and holds a reaction cup. It is understood that when the light signal emitted by the optical generating module irradiates the reaction cup, scattered light is generated through the cup wall and the medium inside the cup. The reaction cup wall material can be quartz or other transparent and smooth materials. The material of the reaction cup varies slightly depending on the product, but for products using turbidimetric scattering, the reaction cup material can be replaced. The medium in the reaction cup can be air or any liquid free of impurities; the specific material and medium are not limited. The optical receiving module is connected to the computer device. The optical receiving module receives the scattered light and, through a photoelectric conversion unit, converts the scattered light signal into an electrical signal, which is then transmitted to the computer device. The computer device can process the scattered light signal to obtain the corresponding cup value (AD value). For example, in this embodiment, the third scattered light signal is obtained, and after processing, the third cup value is obtained. The processing can be performed by the analog-to-digital sampling unit in the computer device, which converts the analog electrical signal into a digital signal. The data processing unit filters the digital signal, thus obtaining the third cup value. The test module compares the third cup value with the clean cup threshold. If the third cup value is less than the clean cup threshold, it is determined that there is no reaction cup at the tested module. A "no cup" message is generated and output to inform the user that the reaction cup is not installed correctly. For the relationship between the cup value and the clean cup threshold in the case of no cup, please refer to [reference needed]. Figure 4 , Figure 4 This is a schematic diagram of cupless data collection provided in Embodiment 3 of this application.
[0067] If the third cup value is greater than or equal to the clean cup threshold, then step S350 is executed: control the liquid injection unit to perform a liquid injection operation to inject liquid into the reaction cup; control the optical generation module to emit a light signal to irradiate the measured module, and obtain the first cup value by acquiring the first scattered light signal.
[0068] Step S360: Determine whether the value of the first cup is less than the dirty cup threshold.
[0069] If the value of the first cup is less than the dirty cup threshold, then proceed to step S3100: mark the reaction cup as a clean cup.
[0070] In one embodiment, step S350 is equivalent to executing the first detection process in Embodiment 1 of this application. The main execution step involves controlling the injection unit to perform an injection operation to inject liquid into the reaction cup, thereby determining the medium in the reaction cup and ensuring that the medium is the corresponding liquid. Similarly, the process of obtaining the third cup value described in step S320 can be repeated to obtain the first cup value. The first cup value is then judged. If the first cup value is greater than or equal to the clean cup threshold and less than the dirty cup threshold, the reaction cup is considered clean, and step S3100 can be executed; if the first cup value is greater than or equal to the dirty cup threshold, it indicates that there are certain impurities in the reaction cup, and subsequent steps need to be executed.
[0071] If the first cup value is greater than or equal to the dirty cup threshold, then step S370: control the cleaning unit to perform a cleaning operation to clean the liquid in the reaction cup; control the optical generation module to emit a light signal to illuminate the measured module, and obtain the second cup value by acquiring the second scattered light signal.
[0072] Step S380: Determine whether the value of the second cup is less than the clean cup threshold.
[0073] If the value of the second cup is greater than or equal to the dirty cup threshold, then proceed to step S390: mark the reaction cup as a dirty cup.
[0074] If the value of the second cup is less than the dirty cup threshold, then proceed to step S3100: mark the reaction cup as a clean cup.
[0075] In one embodiment, step S380 is equivalent to executing the second detection process in Embodiment 1 of this application. The main execution step involves controlling the liquid injection unit to perform a cleaning operation to clean the liquid in the reaction cup, thereby determining the medium in the reaction cup and ensuring it is air. Similarly, the process of obtaining the third cup value described in step S320 can be repeated to obtain the second cup value. The second cup value is then judged. If the second cup value is less than the dirty cup threshold, the reaction cup is considered clean, and step S370 can be executed; if the first cup value is greater than or equal to the dirty cup threshold, it indicates the presence of impurities in the reaction cup, and step S390 is executed to mark the reaction cup as dirty. Therefore, the dirty cup detection method for reaction cups provided in Embodiment 3 of this application can accurately determine the state of the reaction cup through two different detections. The relationship between the cup value, the reaction cup state, and the dirty cup threshold and clean cup threshold can be referred to... Figure 5 and Figure 6 , Figure 5 and Figure 6 These are schematic diagrams of clean cup data collection and dirty cup data collection provided in Embodiment 3 of this application, respectively. Furthermore, in this embodiment, the liquid injected during the injection operation is preferably pure water. It is understood that pure water and air have similar refractive indices; that is, although they differ, the cup values obtained from the scattered light signals will be approximately the same or identical. Therefore, it can be seen that in steps S360 and S380, although the reaction cups contain different media, the same standard, i.e., the same clean cup threshold, is used. However, in other embodiments, if the reflectivity of the media differs significantly between the two detections, i.e., the cup values obtained under the same conditions differ significantly, different standards, i.e., two different clean cup thresholds, can be used in steps S360 and S380. In other embodiments, to ensure the accuracy of the reaction cup detection results, two different clean cup thresholds can also be directly used in steps S360 and S380.
[0076] In one embodiment, a reaction cup marked as a dirty cup in step S390 indicates that impurities are detected in the reaction cup, which may affect subsequent operations, and therefore it needs to be stopped from use; understandably, a reaction cup marked as a clean cup in step S3100 can be used normally.
[0077] Therefore, based on the dirty cup detection method for reaction cups provided in Embodiment 3 of this application, this application can obtain the clean cup conditions corresponding to the current test in advance, so that the detection threshold is different for each detection device or detection environment. Through the design of variable threshold, the influence caused by the detection device or detection environment is eliminated, and the accuracy of the detection results is improved. Furthermore, by conducting two different tests, without increasing the single reaction time, the influence caused by the difference in the environment or detection device in the reaction cup in the existing detection method is eliminated, and the accuracy of the reaction cup detection function is improved. In addition, the dirty cup detection method for reaction cups provided in one embodiment of this application can also detect the module under test in advance according to the clean cup threshold before the formal dirty cup detection, so as to exclude the case of no cup and prevent adverse effects on the detection device during the subsequent liquid injection operation. In addition, during the second detection process, if the reaction cup is detected to be dirty, the liquid injection operation and cleaning operation will be repeatedly performed according to the preset number of times. While cleaning the reaction cup, the possibility of misjudgment is also reduced, the accuracy of detection is improved, the user's operation is reduced, and the user's convenience is increased.
[0078] Example 4
[0079] Figure 7 This is a schematic diagram of the structure of a computer device provided in Embodiment 4 of this application. Specifically, the computer device 40 can be a terminal or a server. Figure 7 As shown, the computer device 40 includes a processor, a memory, and a network interface connected via a system bus. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium of the computer device 40 stores an operating system and may also store a computer program. When executed by the processor, this computer program enables the processor to implement a dirty cup detection method for the reaction vessel. The internal memory may also store a computer program, which, when executed by the processor, enables the processor to implement the dirty cup detection method for the reaction vessel. Those skilled in the art will understand that... Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device 40 to which the present application is applied. The specific computer device 40 may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0080] In one embodiment, a computer device 40 is provided, including a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method as described in Embodiment 1, Embodiment 2, or Embodiment 3.
[0081] In one embodiment, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to perform the steps of the method as described in Embodiment 1, Embodiment 2, or Embodiment 3.
[0082] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0083] Example 5
[0084] Figure 8 This is a schematic diagram of the dirty cup detection device for reaction vessels provided in Embodiment 5 of this application. For a clear description of the dirty cup detection device 50 for reaction vessels provided in Embodiment 5 of this application, please refer to... Figures 1-3 , Figure 7 and Figure 8 .
[0085] The dirty cup detection device 50 for reaction cups provided in Embodiment 5 of this application includes: computer equipment 40, optical generation module A510, test module A520, liquid circuit component module A530, and optical receiving module A540.
[0086] In one embodiment, the specific structure of the computer device 40 can be referred to the relevant description in the fourth embodiment of this application, and will not be repeated here.
[0087] In one embodiment, the optical generation module A510 is used to emit an optical signal, wherein the optical signal can be a stable and focused parallel ray of any color.
[0088] In one embodiment, the test module A520 is used to place the reaction cup, and the light signal is used to illuminate the test module A520.
[0089] In one embodiment, the liquid circuit module A530 includes a liquid injection unit A5310 and a cleaning unit A5320. The liquid injection unit A5310 is used to perform a liquid injection operation to inject liquid into the reaction vessel; the cleaning unit A5320 is used to perform a cleaning operation to clean the liquid in the reaction vessel.
[0090] In one embodiment, the optical receiving module A540 is connected to the computer device 40 to receive the scattered light signal transmitted from the module under test A520 and send the scattered light signal to the computer device 40.
[0091] Therefore, the dirty cup detection device 50 for the reaction cup provided in Embodiment 5 of this application, when used in conjunction with the device, can realize the method described in Embodiment 1, Embodiment 2 or Embodiment 3. The technical effects that can be achieved have been described in detail above and will not be repeated here.
[0092] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0093] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A method for detecting a dirty reaction vessel, characterized in that, Includes the following steps: The amplification factor is obtained based on a preset first gain coefficient, a first circuit coefficient, a second circuit coefficient, and a second gain coefficient input by the user; a preset clean cup threshold and a preset dirty cup threshold are obtained, and a clean cup threshold is determined based on the amplification factor and the preset clean cup threshold; a dirty cup threshold is determined based on the amplification factor and the preset dirty cup threshold. Get the current clean cup conditions; Performing a first detection on the reaction cup and obtaining a first cup value, and determining whether the reaction cup meets the clean cup condition based on the first cup value, the first detection on the reaction cup and obtaining the first cup value includes: controlling the liquid injection unit to perform a liquid injection operation to inject liquid into the reaction cup; controlling the optical generation module to emit a light signal to illuminate the tested module, and obtaining a first scattered light signal through the optical receiving module; and processing the first scattered light signal to obtain the first cup value. If the first cup value meets the clean cup condition, the reaction cup is marked as a clean cup; if the first cup value does not meet the clean cup condition, a second detection is performed and a second cup value is obtained. Based on the second cup value, it is determined whether the reaction cup meets the clean cup condition. The second detection and obtaining the second cup value includes: controlling the cleaning unit to perform a cleaning operation to clean the liquid in the reaction cup; controlling the optical generation module to emit a light signal to illuminate the tested module, and obtaining a second scattered light signal through the optical receiving module; processing the second scattered light signal to obtain the second cup value. If the second cup value meets the clean cup condition, the reaction cup is marked as a clean cup; if the second cup value does not meet the clean cup condition, the reaction cup is marked as a dirty cup.
2. The method for detecting a dirty reaction vessel as described in claim 1, characterized in that, The clean cup condition includes a cup value less than the dirty cup threshold.
3. The method for detecting a dirty reaction vessel as described in claim 1, characterized in that, The step of determining whether the reaction cup meets the clean cup condition based on the second cup value includes: When the reaction cup does not meet the clean cup condition based on the second cup value, the liquid injection operation and the cleaning operation are performed sequentially, and the number of executions is recorded. When the number of executions reaches a preset number, the reaction cup is judged to meet the clean cup condition based on the second cup value.
4. The method for detecting a dirty reaction vessel as described in claim 1, characterized in that, Before performing the first detection on the reaction vessel and obtaining the first vessel value, the method further includes: The optical generator module emits a light signal to illuminate the module under test, and the third scattered light signal is obtained through the optical receiver module. The third scattered light signal is processed to obtain the third cup value; If the third cup value is less than the clean cup threshold, a no-cup prompt message is generated and output; if the third cup value is greater than or equal to the clean cup threshold, the first detection is performed on the reaction cup.
5. A computer device, characterized in that, Including processor and memory: The processor is used to execute a computer program stored in the memory to implement the method as described in any one of claims 1 to 4.
6. A dirty cup detection device for reaction cups, characterized in that, include: The computer device as described in claim 5; An optical signal generation module is used to emit optical signals; The module under test is used to place the reaction cup, and the light signal is used to illuminate the module under test. The liquid circuit assembly module includes a liquid injection unit and a cleaning unit; the liquid injection unit is used to perform a liquid injection operation to inject liquid into the reaction vessel; The cleaning unit is used to perform cleaning operations to clean the liquid in the reaction vessel; An optical receiving module, which is connected to the computer device, is used to receive the scattered light signal transmitted from the module under test and send the scattered light signal to the computer device.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Image processing device and image processing method
CN101119502A
Reaction cup processing method and device based on dirty cup detection, and terminal equipment
CN109738659A