Sample analysis method, sample analyzer, and computer-readable storage medium
By obtaining sample information and setting the detection timing, the sample will be placed in a standstill time after mixing and before sampling, which will solve the deposition problem caused by the long standstill time in sample analysis, and improve the analysis accuracy.
Patent Information
- Application Number
- CN202011488985.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-16
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2040-12-16
AI Technical Summary
During the sample being mixed and waiting for measurement, the sample mixing effect decreases due to the increase in time, which affects the accuracy of the measurement results.
By obtaining the information of the sample to be detected, the matching detection timing is determined, including the mixing time and sampling time, and sending instructions to the mixing component to perform mixing operations when the mixing time requirements are met, controlling the standstill time of the sample after mixing is completed and before the sampling time is sampled to avoid sample deposition.
It improves the accuracy of sample analysis, solves the sample deposition problem caused by long standstill time, and ensures the accuracy of the measurement results.
Smart Images

Figure CN114636831B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of medical equipment, and in particular to a sample analysis method, a sample analyzer, and a computer-readable storage medium. Background Art
[0002] When the sample analyzer is working, it usually uses a grabbing component to grab the sample, and then immediately uses a mixing component to mix it. After the mixing is completed, the sample is transferred to the sampling area to wait for sampling.
[0003] A drawback is that after mixing, the sample is not measured immediately but waits for measurement. Specifically, the waiting time varies depending on the analysis mode and sample type. However, as the sample waits for measurement, the effectiveness of sample mixing gradually decreases over time, resulting in inaccurate measurement results during sample testing. Summary of the Invention
[0004] The main technical problem solved by this application is to provide a sample analysis method, a sample analyzer and a computer-readable storage medium, which can improve the accuracy of sample analysis.
[0005] A technical solution adopted in the present application is to provide a sample analysis method, which includes: obtaining sample information of a sample to be detected; determining a detection timing that matches the sample to be detected based on the sample information; wherein the detection timing includes a mixing time and a sampling time; when the mixing time requirement is met, sending a mixing instruction to a mixing component so that the mixing component performs a mixing operation on the sample to be detected.
[0006] Among them, before determining the detection timing that matches the sample to be detected based on the sample information, it includes: determining whether the current sample to be detected and the previous sample to be detected are the same type of samples based on the sample information; if so, executing the step of determining the detection timing that matches the sample to be detected based on the sample information.
[0007] Among them, when the mixing time requirement is met, a mixing instruction is sent to the mixing component so that the mixing component performs a mixing operation on the sample to be tested, including: when the mixing time requirement is met, it is judged whether the grabbing component has successfully grabbed the sample to be tested; if so, a mixing instruction is sent to the mixing component so that the mixing component performs a mixing operation on the sample to be tested.
[0008] Among them, the method also includes: during the sample detection process, if a sample detection failure occurs, the fault recovery is performed; after the fault recovery, it is determined whether the sample to be detected requires a mixing operation; if so, the detection operation process including the mixing operation is performed on the sample to be detected according to the status mark of the sample to be detected.
[0009] The step of determining whether a mixing operation is required for the sample to be detected includes: obtaining a status mark of the sample to be detected; and determining whether a mixing operation is required for the sample to be detected according to the status mark.
[0010] Among them, judging whether the sample to be detected needs to be mixed according to the status mark includes: if the status mark is initialized, determining that the sample to be detected needs to be mixed; performing a detection operation process including a mixing operation on the sample to be detected according to the status mark of the sample to be detected, including: sending a grabbing instruction to the grabbing component so that the grabbing component grabs the sample to be detected; after the sample to be detected is successfully grabbed, when the mixing time requirement is met, sending a mixing instruction to the mixing component so that the mixing component performs a mixing operation on the sample to be detected.
[0011] Among them, judging whether the sample to be detected needs to be mixed according to the status mark includes: if the status mark is captured, determining that the sample to be detected needs to be mixed; performing a detection operation process including a mixing operation on the sample to be detected according to the status mark of the sample to be detected, including: when the mixing time requirement is met, sending a mixing instruction to the mixing component so that the mixing component performs a mixing operation on the sample to be detected; when the mixing operation of the sample to be detected is completed, changing the status mark of the sample to be detected to mixed.
[0012] Among them, judging whether the sample to be detected needs to be mixed according to the status mark includes: if the status mark is mixed, obtaining the current time; if the current time exceeds the sampling time, determining that the sample to be detected needs to be mixed.
[0013] Another technical solution adopted in the present application is to provide a sample analyzer, which includes a processor and a memory connected to the processor; wherein the memory is used to store program data, and the processor is used to execute the program data to implement the method provided by the above technical solution.
[0014] Another technical solution adopted in the present application is to provide a computer-readable storage medium, which is used to store program data. When the program data is executed by a processor, it is used to implement the method provided by the above technical solution.
[0015] The beneficial effects of the present application are as follows: Different from the prior art, the present application provides a sample analysis method, which includes: obtaining sample information of the sample to be tested; determining a detection sequence that matches the sample to be tested based on the sample information; wherein the detection sequence includes a mixing time and a sampling time; when the mixing time requirement is met, sending a mixing instruction to the mixing component so that the mixing component performs a mixing operation on the sample to be tested. Compared to the prior art in which the sample to be tested is immediately mixed after being successfully captured, the present application controls the rest time of the sample to be tested from the time the mixing is completed to the time the sampling is performed, by setting the mixing time and the sampling time. This can solve the problem of sedimentation of the sample to be tested due to excessive rest time, which affects the accuracy of sample analysis, and improve the accuracy of sample analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without inventive efforts. Among them:
[0017] Figure 1 It is a structural diagram of an embodiment of a sample analyzer provided by the present application;
[0018] Figure 2 This is a flow chart of an embodiment of a sample analysis method provided by the present application;
[0019] Figure 3 This is a flow chart of another embodiment of the sample analysis method provided by the present application;
[0020] Figure 4 This is a flow chart of another embodiment of the sample analysis method provided by the present application;
[0021] Figure 5 This is a flow chart of another embodiment of the sample analysis method provided by the present application;
[0022] Figure 6 This is a flow chart of another embodiment of the sample analysis method provided by the present application;
[0023] Figure 7 This is a flow chart of another embodiment of the sample analysis method provided by the present application;
[0024] Figure 8 This is a flow chart of another embodiment of the sample analysis method provided by the present application;
[0025] Figure 9 This is a flow chart of another embodiment of the sample analysis method provided by the present application;
[0026] Figure 10-12 This is a flowchart of an application scenario provided by this application;
[0027] Figure 13 It is a structural diagram of an embodiment of a sample analyzer provided by the present application;
[0028] Figure 14 It is a structural diagram of an embodiment of a computer-readable storage medium provided by this application. DETAILED DESCRIPTION
[0029] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It will be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only some, rather than all, structures related to the present application are shown in the drawings. 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.
[0030] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0031] See Figure 1 , Figure 11 is a schematic diagram of the structure of an embodiment of a sample analyzer provided herein. The sample analyzer 10 includes a scanning component 11, a grabbing component 12, a mixing component 13, and a transport component 14. The sample to be tested is placed in a sample container, such as a test tube. A barcode is affixed to the sample container. The barcode includes identification information for the sample to be tested and the sample container type. The identification information may be the type of the sample to be tested and the corresponding analysis mode. After the sample analyzer 10 starts counting, the scanning component 11 scans the barcode on the sample container and sends this barcode information to the software program of the sample analyzer 10. The software program creates the corresponding sample to be tested and sample container based on the barcode information and sets the status flag to initialized. After the grabbing component 12 grabs the sample container, it sets the status flag to grabbed. After the grabbing action is completed, the sample to be tested is now waiting for mixing. If mixing is allowed at this time, a mixing instruction is sent to the mixing component 13, causing it to mix the sample to be tested. When the mixing operation is not allowed, wait for the mixing control until the mixing operation is allowed. After the mixing operation is completed, the grabbing component 12 places the sample container containing the sample to be tested on the transmission component 14, records the current mixing time point, and sets the status mark to mixed. After the sample mixing is completed, the next step is to wait for sampling. At this time, the transmission component 14 will send the sample container containing the sample to be tested into the sampling area to wait for the sampling operation. After the sample is aspirated, the status mark is set to aspirated. The transmission component 14 cooperates with the grabbing component 12 to return the sample container with the aspirated sample.
[0032] In some embodiments, the mixing component 13 and the grabbing component 12 are integrated. When mixing is required, the grabbing component 12 is controlled to complete the mixing operation.
[0033] See Figure 2 , Figure 2 This is a flow chart of an embodiment of a sample analysis method provided by this application. The method includes:
[0034] Step 21: Obtain sample information of the sample to be tested.
[0035] Combine Figure 1To illustrate, when the scanning component 11 scans the barcode information on the sample container containing the sample to be tested, the barcode information is sent to the control end of the sample analyzer 10, and the control end obtains the sample information of the sample to be tested based on the barcode information. For example, the sample information may include the test items of the sample to be tested, such as WBC (White Blood Cell) test, RBC (Red Blood Cell) test, immune test, DIFF (differential) test, etc. The first sample information may also include basic information of the sample to be tested. If the sample to be tested is a blood sample, the sample information includes the basic information of the blood sample. If the organism corresponding to the blood sample is a human, the basic information is the name, age and gender of the human. The sample information may also include basic information of the sample container, such as the specifications of the sample container, such as the sample container is divided into large test tubes, medium test tubes and small test tubes.
[0036] Step 22: Determine a detection timing that matches the sample to be detected based on the sample information; wherein the detection timing includes a mixing time and a sampling time.
[0037] In some embodiments, the test sequence can be manually set in advance, with the mixing time and sampling time set based on different sample information so that multiple samples to be tested complete the test items in sequence. The difference between the mixing time and the sampling time is less than the static time threshold.
[0038] In some examples, the detection timing may be set by a sample analyzer, which sets the mixing time and the sampling time according to different sample information so that the difference between the mixing time and the sampling time is less than a static time threshold.
[0039] In some embodiments, the detection sequence of the current sample to be tested is determined based on the detection sequence of the previous sample to be tested. For example, if the mixing time in the detection sequence of the previous sample to be tested is 9:10 and the sampling time is 10:00, then the detection sequence of the current sample to be tested is determined based on the detection and analysis time of the sample to be tested. If the detection and analysis time of the sample to be tested is 10 minutes, then the mixing time in the detection sequence of the current sample to be tested is 9:21 and the sampling time is 10:11. And so on, each sample to be tested will have a corresponding detection sequence.
[0040] In some embodiments, when the sample to be detected is detected and analyzed, an overlay point is generated, and the time corresponding to the overlay point is used as the sampling time of the next sample to be detected. Then, the mixing time of the next sample to be detected is determined based on the sampling time of the next sample to be detected. The sampling time and mixing time of the next sample to be detected are used as the detection timing. When the sample information of the next sample to be detected is obtained, the detection timing matching it is obtained. Specifically, the method for determining the mixing time of the next sample to be detected based on the sampling time of the next sample to be detected can be to set a rest time threshold for the sample to be detected, and determine the mixing time based on the sampling time and the rest time threshold.
[0041] Step 23: When the mixing time requirement is met, a mixing instruction is sent to the mixing component so that the mixing component performs a mixing operation on the sample to be tested.
[0042] After step 23 is completed, when the sampling time requirement is met, sampling operations and corresponding item tests are performed on the samples to be tested.
[0043] In one application scenario, combined with Figure 1 To explain: After the sample analyzer 10 starts counting, the scanning component 11 scans the barcode information on the sample container. This barcode information includes the aforementioned sample information and sends this sample information to the software program of the sample analyzer 10. The software program creates a corresponding sample to be tested and a sample container based on the sample information, determines a detection sequence that matches the sample to be tested based on the sample information, and sets the status flag to initialized. A grabbing instruction is then sent to the grabbing component 12, causing it to grab the sample container. Upon successful grabbing, the corresponding status flag is set to "grabbed." After the grabbing action is completed, the sample to be tested is in a state awaiting mixing.
[0044] When the mixing time arrives, a mixing instruction is sent to the mixing component 13 so that the mixing component 13 performs a mixing operation on the sample to be tested. When the sampling time arrives, a sampling operation and corresponding item testing are performed on the sample to be tested.
[0045] In some embodiments, since the gripping assembly 12 can be integrated with the mixing assembly 13, a mixing instruction can be sent to the gripping assembly 12 to cause the gripping assembly 12 to perform a mixing operation on the sample to be tested. For example, the gripping assembly 12 can be controlled to shake left and right to mix the sample to be tested, or the gripping assembly 12 can be controlled to shake up and down to mix the sample to be tested.
[0046] In some embodiments, the grabbing assembly 12 is controlled to grab the sample container containing the sample to be tested to the mixing assembly 13, and a mixing instruction is sent to the mixing assembly 12, so that the mixing assembly 13 performs a mixing operation on the sample to be tested. For example, the mixing assembly 13 is controlled to vibrate to mix the sample to be tested.
[0047] In some embodiments, after the mixing operation is completed, the grabbing assembly 12 carries the sample to be tested to the sampling area to wait for sampling.
[0048] In some embodiments, after the mixing operation is completed, the gripper assembly 12 places the sample container containing the sample to be tested onto the transport assembly 14, records the current mixing time, and sets the status flag to "mixed." After the sample mixing is completed, the next step is to wait for sampling. At this time, the transport assembly 14 transports the sample container containing the sample to be tested into the sampling area to wait for the sampling operation. After the sample is aspirated, the status flag is set to "aspirated." The transport assembly 14 cooperates with the gripper assembly 12 to return the aspirated sample container.
[0049] In this embodiment, sample information of the sample to be tested is obtained; a detection sequence matching the sample to be tested is determined based on the sample information; the detection sequence includes a mixing time and a sampling time; and when the mixing time requirement is met, a mixing instruction is sent to the mixing component, causing the mixing component to perform a mixing operation on the sample to be tested. Compared to the prior art method of immediately mixing the sample to be tested after successful capture, this embodiment controls the rest time of the sample to be tested from the completion of mixing to the sampling time by setting a mixing time and a sampling time. This can solve the problem of sedimentation of the sample to be tested due to excessive rest time, which affects the accuracy of sample analysis, thereby improving the accuracy of sample analysis.
[0050] See Figure 3 , Figure 3 This is a flow chart of another embodiment of the sample analysis method provided by this application.
[0051] Step 31: Obtain sample information of the sample to be tested.
[0052] Step 31 has the same or similar technical solution as that of the above embodiment and will not be described in detail here.
[0053] Step 32: Determine whether the current sample to be detected and the previous sample to be detected are of the same type based on the sample information.
[0054] In some embodiments, since the sample information contains detection items of the samples to be detected, the detection items can be used as classification criteria, and the samples to be detected with the same detection items are the same type of samples.
[0055] If the current sample to be tested is of the same type as the previous sample to be tested, step 33 is executed. If the current sample to be tested is not of the same type as the previous sample to be tested, the operation on the sample to be tested is stopped, the sample to be tested is skipped, and step 31 is executed for the next sample to be tested. In this way, different types of samples to be tested can be excluded, which is suitable for scenarios where large quantities of the same type of samples to be tested are analyzed to ensure analysis efficiency.
[0056] In other embodiments, if the current sample to be tested is not the same type of sample as the previous sample to be tested, a new detection sequence is determined for the current sample to be tested, and this detection sequence is different from the detection sequence of the previous sample to be tested. For example, the time when the detection of the previous sample to be tested is completed is used as the sampling time of the current sample to be tested, and then the rest time threshold corresponding to the current sample to be tested is obtained, and the mixing time is determined based on the sampling time and the rest time threshold. In this way, different types of samples to be tested can be guaranteed to have a rest time from the completion of mixing to the sampling time, thereby improving the accuracy of sample analysis.
[0057] Step 33: Determine a detection sequence that matches the sample to be detected based on the sample information.
[0058] Step 34: When the mixing time requirement is met, a mixing instruction is sent to the mixing component so that the mixing component performs a mixing operation on the sample to be tested.
[0059] In some embodiments, when the mixing time requirement is met, it is determined whether the grabbing component has successfully grabbed the sample to be tested. If so, a mixing instruction is sent to the mixing component to cause the mixing component to perform a mixing operation on the sample to be tested. If not, it is determined that the grabbing component has failed and fault recovery is required.
[0060] In this embodiment, different types of samples to be detected can be excluded through the above method, which is suitable for the scenario of analyzing a large number of samples to be detected of the same type to ensure analysis efficiency.
[0061] See Figure 4 , Figure 4 This is a flow chart of an embodiment of a sample analysis method provided by this application. The method includes:
[0062] Step 41: Obtain sample information and detection sequence of the sample to be detected; wherein the detection sequence at least includes the sampling time of the sample to be detected.
[0063] Combine Figure 1To illustrate, when the scanning component 11 scans the barcode information on the sample container containing the sample to be detected, the barcode information is sent to the control end of the sample analyzer 10, and the control end obtains the sample information and detection timing of the sample to be detected based on the barcode information. For example, the sample information may include detection items of the sample to be detected, such as WBC (White Blood Cell) detection, RBC (Red Blood Cell) detection, immune detection, DIFF (differential, classification) detection, etc., and the corresponding detection timing is obtained according to the corresponding detection items. The detection timing may include the sampling time of the sample to be detected, the cleaning time of the detection channel, and the blood separation time of the sample to be detected. The sample analyzer 10 performs corresponding operations on the sample to be detected according to the corresponding timing to complete the sample analysis.
[0064] The sample information may also include basic information about the sample to be tested. For example, if the sample to be tested is a blood sample, the sample information includes basic information about the blood sample. If the blood sample corresponds to a human, the basic information may include the human's name, age, and gender. The sample information may also include basic information about the sample container, such as the specifications of the sample container, such as whether the sample container is categorized as a large test tube, a medium test tube, or a small test tube.
[0065] In some embodiments, the detection timing of the current sample to be detected may be determined based on the detection timing of the previous sample to be detected. For details, please refer to the above embodiments and will not be described in detail here.
[0066] Step 42: When the sample to be tested is in a state to be mixed, determine whether the current time allows the sample to be mixed according to the sample information and the sampling time.
[0067] In this embodiment, a time difference exists between the completion of mixing and the completion of sampling of the sample to be tested. Furthermore, as the sample to be tested rests for an increasing amount of time between mixing and sampling, cell sedimentation occurs in the sample to be tested. The longer the resting time, the more cell sedimentation occurs in the sample to be tested, which reduces the accuracy of subsequent sampling and testing.
[0068] Based on this, in some embodiments, a rest time threshold of the sample to be tested is set in the sample information. When the rest time of the sample to be tested does not exceed the rest time threshold, the sample to be tested meets the subsequent testing requirements.
[0069] If it is determined that the current time allows the mixing operation to be performed on the sample to be tested, it means that the time from the time when the mixing is completed to the sampling time is less than the static time threshold, and step 43 is executed.
[0070] If it is determined that the current time does not allow the sample to be tested to be mixed, it means that the time from the time of completing the mixing to the sampling time is greater than the static time threshold, then step 43 is not executed, and step 42 is continued until it is determined that the current time allows the sample to be tested to be mixed, then step 43 is executed.
[0071] Step 43: Mix the sample to be tested.
[0072] After step 43 is completed, when the sampling time is reached, the sample to be tested is sampled and the corresponding items are tested.
[0073] In this embodiment, by obtaining sample information and a detection sequence of the sample to be detected, wherein the detection sequence includes at least the sampling time of the sample to be detected; when the sample to be detected is in a state to be mixed, it is determined whether the current time allows a mixing operation to be performed on the sample to be detected based on the sample information and the sampling time; if so, the method of performing a mixing operation on the sample to be detected uses the sample information and the sampling time to determine whether a mixing operation is required, controls the time for performing the mixing operation on the sample to be detected, and further controls the standing time of the sample to be detected from the completion of the mixing to the sampling time. This can solve the problem of sedimentation of the sample to be detected due to too long a standing time, thereby affecting the accuracy of sample analysis, and improve the accuracy of sample analysis.
[0074] See Figure 5 , Figure 5 : This is a flow chart of another embodiment of the sample analysis method provided by this application. The method includes:
[0075] Step 51: Obtain sample information and detection sequence of the sample to be detected; wherein the detection sequence at least includes the sampling time of the sample to be detected.
[0076] Step 52: When the sample to be tested is in a state to be mixed, a corresponding standing time threshold is determined according to the sample information.
[0077] In some embodiments, different samples to be tested have different standing time thresholds depending on the test items and sample types.
[0078] In some embodiments, the sample information includes a standing time threshold. Specifically, when generating the barcode information of the container corresponding to the sample to be tested, the standing time threshold is added to the barcode information.
[0079] In some embodiments, the rest time threshold is stored in the sample analyzer. When sample information is acquired, the sample analyzer searches for the rest time threshold based on the sample information. Specifically, the sample information includes container type, sample type, and test item. The sample analyzer establishes a corresponding storage relationship between the container type, sample type, and test item, such as in a table. After acquiring the sample information of the sample to be tested, the table searches for the corresponding rest time threshold based on the sample information.
[0080] In some embodiments, the rest time threshold may also be calculated based on the container type, sample type, and detection item in the sample information to obtain the rest time threshold.
[0081] Steps 51-52 have the same or similar technical solutions as those in the above embodiment and are not described in detail here.
[0082] Step 53: Obtain the estimated mixing time.
[0083] In this implementation, since the sampling time is already determined, the estimated mixing time for the sample to be tested can be determined based on the current time. Specifically, the execution time required for the mixing operation to complete is obtained, and then the estimated mixing time is calculated by adding the execution time to the current time. For example, if the current time is 8:00 and the execution time required for the mixing operation to complete is 30 seconds, the estimated mixing time is 8:30 seconds.
[0084] Step 54: Determine the estimated rest time based on the estimated mixing time and sampling time.
[0085] If the estimated mixing time and sampling time are determined, the estimated rest time can be determined. For example, if the sampling time is 10:00 and the estimated mixing time is 9:45, the estimated rest time is 15 minutes.
[0086] Step 55: Based on the estimated rest time and the rest time threshold, determine whether the current time allows for a mixing operation on the sample to be tested.
[0087] In some embodiments, if the estimated rest time is less than the rest time threshold, it is determined that the current time allows the sample to be mixed, and step 36 is executed. If the estimated rest time is greater than the rest time threshold, it is determined that the current time does not allow the sample to be mixed, and the mixing operation continues to wait.
[0088] In one application scenario, the sample time for a sample to be tested is 10:00, and the rest time threshold is 5 minutes. If a mixing operation is performed at 9:45, and the mixing operation takes 10 seconds, the estimated mixing time is 9:45:10, and the estimated rest time is 14 minutes and 50 seconds. Since the estimated rest time exceeds the rest time threshold, the sample analyzer will not allow the sample to be mixed and will continue to wait until the estimated rest time is less than the rest time threshold.
[0089] In another application scenario, the sample time obtained for the sample to be tested is 10:00, and the rest time threshold is 5 minutes. The current time is 9:58. If a mixing operation is performed at this time, and the mixing operation takes 10 seconds, the estimated mixing time is 9:58:10, and the estimated rest time is 1 minute and 50 seconds. At this time, the estimated rest time is less than the rest time threshold, so the sample analyzer allows the mixing operation for the sample to be tested, and step 56 is executed.
[0090] Step 56: Mix the sample to be tested.
[0091] In this embodiment, after the mixing operation is completed, the sampling operation is performed when the sampling time arrives. The sample to be tested collected at this time meets the requirements of subsequent item tests.
[0092] In this embodiment, the estimated standing time is obtained by using the estimated mixing time and the sampling time. The estimated standing time is compared with the standing time threshold to determine whether the mixing operation is allowed for the sample to be tested. By controlling the time for the mixing operation of the sample to be tested, and then controlling the standing time of the sample to be tested after the mixing is completed and before the sampling time, the problem of sedimentation of the sample to be tested due to too long standing time, which affects the accuracy of sample analysis, can be solved, thereby improving the accuracy of sample analysis.
[0093] In other embodiments, when the sample analyzer 10 fails during sample analysis, it is necessary to perform a fault recovery after the failure occurs, and then perform sample analysis again after the failure is recovered. The fault recovery may take a long time. In this case, after the failure is recovered, corresponding operations can be performed according to the status mark.
[0094] Based on this, the following implementation methods are proposed:
[0095] See Figure 6 , Figure 6 This is a flow chart of an embodiment of a sample analysis method provided by this application. The method includes:
[0096] Step 61: During the sample detection process, if a sample detection failure occurs, perform fault recovery.
[0097] In this embodiment, the type of sample detection fault can be combined with Figure 1 For explanation. When the scanning component 11 fails to scan the barcode on the sample container containing the sample to be detected, a sample detection fault will be generated. When controlling the grabbing component 12 to grab the sample container containing the sample to be detected, there will be a phenomenon of failure to grab the sample container, such as the grabbing position is incorrect and the grabbing component 12 cannot be started, and a sample detection fault will be generated at this time. When controlling the mixing component 13 to mix the sample container containing the sample to be detected, there will be a phenomenon of unsuccessful mixing, such as the mixing component 13 uses bubbles to mix, but bubbles cannot be generated at this time, and a sample detection fault will be generated at this time. When using the transmission component 14 to send the sample container containing the sample to be detected into the sampling area, there will be a phenomenon of transmission failure, such as the transmission component 14 cannot be started, etc., and a sample detection fault will be generated at this time.
[0098] When a sample detection failure occurs, it is necessary to perform fault recovery, such as initializing the corresponding scanning component 11, grabbing component 12, mixing component 13, or transmission component 14. Alternatively, a fault prompt may be given to allow the user to manually perform fault recovery.
[0099] Step 62: After the fault is recovered, determine whether the sample to be tested needs to be mixed.
[0100] In this embodiment, after the fault is recovered, it can be determined whether a mixing operation is required based on the status mark of the sample to be detected.
[0101] Combine Figure 1 To explain: If the sample detection failure is caused by the failure of the grabbing component 12 to grab the sample container, then the status mark of the sample container (i.e., the status mark of the sample to be detected) in the software program is initialized, and the mixing operation process is after this step, and the mixing operation is required at this time. If the sample detection failure is caused by the failure of the mixing component 13 to mix the sample to be detected in the sample container, then the status mark of the sample container (i.e., the status mark of the sample to be detected) in the software program is grabbed, and the mixing operation process is after this step, and the mixing operation is required at this time. If the sample detection failure is caused by the failure of the transmission component 14 to transmit the sample container, then the status mark of the sample container (i.e., the status mark of the sample to be detected) in the software program is mixed. Due to the fault time, the mixed sample to be detected will be deposited in the sample container. If the fault time is too long, the mixing operation needs to be performed again.
[0102] If it is determined that the sample to be tested needs to be mixed, step 63 is executed.
[0103] If it is determined that the sample to be tested does not require a mixing operation, the status of the sample to be tested is marked as mixed, and the difference between the second time when the fault is recovered and the first time when the mixing operation is completed is less than a preset threshold. For example, if the preset threshold is 10 minutes and the difference between the second time when the fault is recovered and the first time when the mixing operation is completed is 5 minutes, then it is determined that the sample to be tested does not require a mixing operation, and the sample to be tested is transferred to the sampling area for sampling.
[0104] Step 63: According to the status mark of the sample to be tested, a testing operation process including a mixing operation is performed on the sample to be tested.
[0105] In some embodiments, if the status of the sample to be detected is marked as initialized, it means that the sample detection failure is a grabbing failure, and the sample container containing the sample to be detected needs to be grabbed again and grabbed to the mixing component 13. The mixing component 13 is used to mix the sample to be detected. After the mixing is successful, the status of the sample to be detected is marked as mixed, and then the transmission component 14 transmits it to the sampling area for sampling operation.
[0106] In some embodiments, if the status of the sample to be detected is marked as captured, it means that the sample detection failure is due to unsuccessful mixing in the mixing component 13, and it is necessary to perform a mixing operation on the sample to be detected in the sample container. After the mixing is successful, the status of the sample to be detected is marked as mixed, and then the transmission component 14 transmits it to the sampling area for sampling operation.
[0107] In some embodiments, if the status mark of the sample to be detected is mixed, it is necessary to determine whether the fault time caused by this fault affects the sample to be detected that has been mixed before, causing the sample to be detected to be deposited in the sample container and unable to perform subsequent sampling operations. If so, the sample to be detected is mixed again. After the mixing operation is completed, the control transmission component 14 transmits the sample to be detected to the sampling area and waits for sampling. In some embodiments, if the waiting time for sampling is too long, the sample to be detected will be deposited in the sample container. The time when the sampling instruction is triggered and the time when the mixing operation is completed can be obtained. If the difference between the time when the sampling instruction is triggered and the time when the mixing operation is completed is greater than a preset threshold, the sample to be detected needs to be mixed again. If the difference between the time when the sampling instruction is triggered and the time when the mixing operation is completed is less than a preset threshold, the sampling instruction is responded to and the sampling operation is performed. After completion, the status mark of the sample container containing the sample to be detected is changed to sampled.
[0108] In this embodiment, when executing step 63, the method in the above embodiment can be used to determine whether the current time allows the sample to be mixed according to the sample information and sampling time; if so, the sample to be mixed is performed.
[0109] In this embodiment, if a sample detection fault occurs during the sample detection process, fault recovery is performed; after fault recovery, it is determined whether the sample to be detected requires a mixing operation; if so, a detection operation process including a mixing operation is performed on the sample to be detected based on the status mark of the sample to be detected. After fault recovery, the sample to be detected is mixed based on the status mark of the sample to be detected. This can solve the problem of sample sedimentation caused by faults and improve the accuracy of sample analysis.
[0110] See Figure 7 , Figure 7 : This is a flow chart of another embodiment of the sample analysis method provided by this application. The method includes:
[0111] Step 71: During the sample detection process, if a sample detection failure occurs, perform fault recovery.
[0112] Step 71 has the same or similar technical solution as that of the above embodiment and will not be described in detail here.
[0113] Step 72: After the fault is recovered, obtain the status mark of the sample to be detected.
[0114] It is understood that when a sample detection failure occurs, the status mark indicating the sample to be detected is still the status mark before the sample detection failure occurred. If the sample detection failure is a grasping failure, the status mark of the sample to be detected is initialized. If the sample detection failure is a mixing failure, the status mark of the sample to be detected is grasped.
[0115] Step 73: Determine whether the sample to be tested needs to be mixed according to the status mark.
[0116] Step 74: If the status mark is initialization, it is determined that the sample to be tested needs to be mixed.
[0117] If the status of the sample to be detected is marked as not captured, the mixing operation is performed after the sample is captured successfully, so the sample to be detected still needs to be mixed, and step 75 is executed.
[0118] If it is determined that the sample to be tested does not require a mixing operation, the status of the sample to be tested is marked as mixed, and the difference between the second time when the fault is recovered and the first time when the mixing operation is completed is less than a preset threshold. For example, if the preset threshold is 10 minutes and the difference between the second time when the fault is recovered and the first time when the mixing operation is completed is 5 minutes, then it is determined that the sample to be tested does not require a mixing operation, and the sample to be tested is transferred to the sampling area for sampling.
[0119] When it is determined that the sample to be detected needs to be mixed, a detection timing sequence matching the sample to be detected is acquired according to the sample information of the sample to be detected, wherein the detection timing sequence includes a sampling time and a mixing time.
[0120] Step 75: Send a grabbing instruction to the grabbing component so that the grabbing component grabs the sample to be detected.
[0121] Step 76: After the sample to be tested is captured successfully, when the mixing time requirement is met, a mixing instruction is sent to the mixing component so that the mixing component performs a mixing operation on the sample to be tested.
[0122] In this embodiment, when the mixing time is reached, a mixing instruction is sent to the mixing component, so that the mixing component performs a mixing operation on the sample to be detected.
[0123] In some embodiments, combined Figure 1 For example, if the status of the sample to be detected is marked as not captured, it means that the reason for the sample detection failure is caused by the capture component 12. After the failure is recovered, the capture component 12 is controlled again to capture the sample to be detected.
[0124] After the sample to be tested is successfully captured, the status mark of the sample to be tested is changed to "Captured". The sample to be tested is then captured and transferred to the mixing component 13, where it is mixed. If the mixing operation is successful, the status mark of the sample to be tested is changed to "Mixed". The capture component 12 is then controlled to place the sample to be tested into the transmission component 14. The transmission component 14 is then controlled to transfer the sample to the sampling area, where it awaits sampling. If the mixing is unsuccessful, a sample detection failure has occurred, requiring fault recovery. After the fault is recovered, the next step is performed. Specifically, refer to the following embodiment for explanation.
[0125] In this embodiment, different states of the samples to be tested are marked, and an operation process including a mixing operation is performed according to the corresponding state mark after the fault is recovered. This can solve the problem of sedimentation of the samples to be tested caused by the fault and improve the accuracy of sample analysis.
[0126] See Figure 8 , Figure 8 : This is a flow chart of another embodiment of the sample analysis method provided by this application. The method includes:
[0127] Step 81: During the sample detection process, if a sample detection failure occurs, perform fault recovery.
[0128] Step 81 has the same or similar technical solution as that of the above embodiment and will not be described in detail here.
[0129] Step 82: After the fault is recovered, obtain the status mark of the sample to be detected.
[0130] It is understood that when a sample detection failure occurs, the status mark indicating the sample to be detected is still the status mark before the sample detection failure occurred. If the sample detection failure is a grasping failure, the status mark of the sample to be detected is initialized. If the sample detection failure is a mixing failure, the status mark of the sample to be detected is grasped.
[0131] Step 83: Determine whether the sample to be tested needs to be mixed according to the status mark.
[0132] Step 84: If the status mark is captured, it is determined that the sample to be tested needs to be mixed.
[0133] If the status of the sample to be detected is marked as captured, it means that the reason for the sample detection failure is that the mixing is unsuccessful, so the sample to be detected still needs to be mixed, and step 85 is executed.
[0134] If it is determined that the sample to be tested does not require a mixing operation, the status of the sample to be tested is marked as mixed, and the difference between the second time when the fault is recovered and the first time when the mixing operation is completed is less than a preset threshold. For example, if the preset threshold is 5 minutes and the difference between the second time when the fault is recovered and the first time when the mixing operation is completed is 3 minutes, then it is determined that the sample to be tested does not require a mixing operation and the sample to be tested is transferred to the sampling area for sampling.
[0135] In this embodiment, when executing step 84 , the method in the above embodiment can be used to determine whether the current time allows the mixing operation of the sample to be detected based on the sample information and the sampling time; if so, step 85 is executed.
[0136] Step 85: When the mixing time requirement is met, a mixing instruction is sent to the mixing component so that the mixing component performs a mixing operation on the sample to be tested.
[0137] Step 86: When the mixing operation of the sample to be tested is completed, the status mark of the sample to be tested is changed to mixed.
[0138] In some embodiments, combined Figure 1 For example, if the status of the sample to be tested is marked as "Captured," the sample detection failure is caused by unsuccessful mixing. The mixing component 13 is then controlled to perform a mixing operation on the sample to be tested. When the mixing operation is complete, the status of the sample to be tested is changed to "Mixed." The grabbing component 12 is controlled to place the sample to be tested into the transport component 14. The transport component 14 is then controlled to transport the sample to be tested to the sampling area, where it awaits sampling. If mixing is unsuccessful, a sample detection failure has occurred, requiring fault recovery. After fault recovery, steps 84-86 are executed again.
[0139] In this embodiment, different states of the samples to be tested are marked, and an operation process including a mixing operation is performed according to the corresponding state mark after the fault is recovered. This can solve the problem of sedimentation of the samples to be tested caused by the fault and improve the accuracy of sample analysis.
[0140] See Figure 9 , Figure 9 : This is a flow chart of another embodiment of the sample analysis method provided by this application. The method includes:
[0141] Step 91: During the sample detection process, if a sample detection failure occurs, perform fault recovery.
[0142] Step 91 has the same or similar technical solution as that of the above embodiment and will not be described in detail here.
[0143] Step 92: After the fault is recovered, obtain the status mark of the sample to be detected.
[0144] It is understood that when a sample detection failure occurs, the status mark indicating the sample to be detected is still the status mark before the sample detection failure occurred. If the sample detection failure is a transmission failure, the status mark of the sample to be detected is mixed. If the detection failure is a mixing failure, the status mark of the sample to be detected is captured.
[0145] Step 93: Determine whether the sample to be tested needs to be mixed according to the status mark.
[0146] Step 94: If the status mark is mixed, obtain the current time.
[0147] If the status is marked as mixed, due to the time it takes to recover from the fault, if the time is too long, the sample to be tested may have already been deposited and cannot meet the requirements of subsequent sampling operations. Therefore, it is necessary to obtain the current time.
[0148] Step 95: If the current time exceeds the sampling time, it is determined that the sample to be tested needs to be mixed.
[0149] It is understandable that since the sampling time has been determined, if the current time exceeds the sampling time, a mixing operation needs to be performed on the sample to be tested, and the timing needs to be retested to determine the sampling time and the mixing time.
[0150] In some embodiments, combined Figure 1For example, if the current time exceeds the sampling time, the status flag of the sample to be tested is changed to initialized, and the grabbing component 12 is used to grab the sample to be tested to the mixing component 13. When the mixing time requirement is met, a mixing instruction is sent to the mixing component 13, so that the mixing component 13 performs a mixing operation on the sample to be tested. When the grabbing component 12 successfully grabs the sample to be tested, the status flag of the sample to be tested is changed to grabbed.
[0151] If the current time does not exceed the sampling time, the sampling operation will be performed on the sample to be tested when the sampling time arrives.
[0152] In this embodiment, when the status is marked as mixed, it is necessary to determine whether the sedimentation of the mixed samples to be tested affects the subsequent sample analysis during the process of fault recovery. If it does affect the sample to be tested, the sample to be tested is mixed again, which can solve the problem of sedimentation of the sample to be tested caused by the fault and improve the accuracy of the sample analysis.
[0153] In one application scenario, combined with Figure 1 、 Figure 10 、 Figure 11 and Figure 12 For instructions: See Figure 10 The sample analyzer 10 executes step 101 to start the automatic sample count. It then executes step 102 to search for a test tube. Specifically, the scanning component 11 scans the barcode information on the test tube containing the sample to be tested. Then, step 103 is executed to report the test tube information to the host. Then, step 104 is executed to create the test tube and initialize the test tube information. For example, a test tube is created to represent the sample to be tested and the test tube information is initialized. For example, the test tube status is marked as initialized. Then, steps 105 and 106 are executed to use the gripper component 12 to grip the test tube and determine whether the grip is successful. If the grip is successful, step 107 is executed to mark the test tube as gripped. Specifically, the test tube status is changed from initialized to gripped, indicating that the sample to be tested is now waiting for mixing. If the grip fails, step 108 is executed to indicate a fault and perform fault recovery. After the fault is recovered, step 105 is executed to grip the test tube again. If the grip is successful, step 107 is executed to change the test tube status to gripped.
[0154] See Figure 11After step 107 is executed, execute step 109 to determine whether mixing is allowed. If so, execute step 110 to mix using the mixing component. If not, execute step 113 to wait for the instruction to allow mixing. After executing step 110, execute step 111 to determine whether mixing is successful. If mixing is not successful, execute step 114, a fault occurs, and perform fault recovery. After the fault is recovered, execute step 109 to determine whether mixing is allowed. After receiving the instruction to allow mixing, mix again. After mixing is successful, execute step 112 to change the status mark of the test tube to mixed, and record the first time when mixing is completed.
[0155] See Figure 12 , after step 112 is completed, execute step 115, use the transmission component to transport the test tube to the sampling area, and wait for sampling. Then execute step 116 to determine whether the transmission component has successfully transmitted. If the transmission is successful, execute step 117, wait for sampling in the sampling area, and then continue to complete step 118 to aspirate, and step 119 to end the aspiration. After step 119 is completed, execute step 120 to change the test tube status mark to sample aspirated. Then execute step 121 to return the test tube. If the transmission fails, execute step 122, a fault occurs, and the fault recovery is performed. After the fault is recovered, execute step 123 to determine whether it is necessary to mix again. Specifically, based on the difference between the second time when the fault is recovered and the first time when the mixing is completed, determine whether the mixing operation needs to be performed again. If the difference is greater than the preset threshold, it is determined that the mixing operation needs to be performed again, then execute step 124, change the status mark of the test tube to initialize, and then execute step 105, use the grabbing component 12 to grab the test tube from the transmission component 14, and perform the following steps. Figure 10 The steps following step 105 are shown.
[0156] In this application scenario, the above-mentioned method is used to mark the different states of the samples to be tested, and the operation process including mixing operations according to the corresponding state marks after the fault is recovered can solve the problem of sedimentation of the samples to be tested caused by the fault and improve the accuracy of sample analysis.
[0157] See Figure 13 , Figure 13 1 is a schematic diagram of the structure of an embodiment of a sample analyzer provided by the present application. The sample analyzer 130 includes a processor 131 and a memory 132 connected to the processor 131; the memory 132 is used to store program data, and the processor 131 is used to execute the program data to implement the following method:
[0158] Obtain sample information of the sample to be detected; determine a detection timing that matches the sample to be detected based on the sample information; wherein the detection timing includes mixing time and sampling time; when the mixing time requirement is met, send a mixing instruction to the mixing component so that the mixing component performs a mixing operation on the sample to be detected.
[0159] It can be understood that the processor 131 in this embodiment can also implement any method of the above embodiments, which will not be described in detail here.
[0160] By implementing the above method, the sample analyzer 130 of this embodiment, compared with the prior art in which the sample to be tested is immediately mixed after being successfully captured, sets a mixing time and a sampling time to control the standing time of the sample to be tested from the completion of mixing to the sampling time. This can solve the problem of sedimentation of the sample to be tested due to too long a standing time, which affects the accuracy of sample analysis, and improve the accuracy of sample analysis.
[0161] See Figure 14 , Figure 14 1 is a schematic diagram of the structure of an embodiment of a computer-readable storage medium provided by the present application. The computer-readable storage medium 140 is used to store program data 141. When the program data 141 is executed by the processor, it is used to implement the following method:
[0162] Obtain sample information of the sample to be detected; determine a detection timing that matches the sample to be detected based on the sample information; wherein the detection timing includes mixing time and sampling time; when the mixing time requirement is met, send a mixing instruction to the mixing component so that the mixing component performs a mixing operation on the sample to be detected.
[0163] It can be understood that the computer-readable storage medium 140 in this embodiment can also implement any method of the above embodiments, which will not be described in detail here.
[0164] When the computer-readable storage medium 140 of this embodiment is applied to the above-mentioned sample analyzer, the above-mentioned method is implemented. Compared with the prior art in which the sample to be tested is immediately mixed after being successfully captured, the present application controls the standing time of the sample to be tested from the completion of mixing to the sampling time by setting the mixing time and the sampling time. This can solve the problem that the sample to be tested is deposited due to too long a standing time, which affects the accuracy of sample analysis, and improve the accuracy of sample analysis.
[0165] In the several embodiments provided in this application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules or units described above is merely a logical functional division. In actual implementation, other division methods may be used, such as combining or integrating multiple units or components into another system, or ignoring or not implementing certain features.
[0166] The units described above as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected according to actual needs to achieve the purpose of this embodiment.
[0167] In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The above-mentioned integrated units may be implemented in the form of hardware or software functional units.
[0168] If the integrated units in the above other embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0169] The above description is only an implementation method of the present application and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the description and drawings of this application, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A sample analysis method, characterized in that: The method comprises: Obtaining sample information of the sample to be tested; Determine a detection timing that matches the sample to be detected based on the sample information; wherein the detection timing includes a mixing time and a sampling time; When the mixing time requirement is met, sending a mixing instruction to the mixing component so that the mixing component performs a mixing operation on the sample to be tested; During the sample detection process, if a sample detection failure occurs, the fault recovery is performed; After the fault is recovered, determine whether the sample to be tested needs to be mixed; If so, a detection operation process including a mixing operation is performed on the sample to be detected according to the status mark of the sample to be detected.
2. The method according to claim 1, characterized in that Before determining the detection timing matching the sample to be detected according to the sample information, the method includes: Determining whether the current sample to be detected and the previous sample to be detected are of the same type according to the sample information; If so, the step of determining a detection timing that matches the sample to be detected based on the sample information is performed.
3. The method according to claim 1, characterized in that When the mixing time requirement is met, sending a mixing instruction to the mixing component so that the mixing component performs a mixing operation on the sample to be detected includes: When the mixing time requirement is met, determining whether the grabbing component has successfully grabbed the sample to be tested; If so, a mixing instruction is sent to the mixing component, so that the mixing component performs a mixing operation on the sample to be detected.
4. The method according to claim 1, wherein The step of determining whether the sample to be tested needs to be mixed includes: Obtaining a status mark of the sample to be detected; It is determined whether the sample to be detected needs to be mixed according to the status mark.
5. The method according to claim 4, characterized in that The determining, based on the status mark, whether the sample to be detected needs to be mixed includes: If the state mark is initialization, it is determined that the sample to be tested needs to be mixed; The process of performing a detection operation including a mixing operation on the sample to be detected according to the status mark of the sample to be detected includes: Sending a grabbing instruction to the grabbing component so that the grabbing component grabs the sample to be detected; After the sample to be detected is captured successfully, and when the mixing time requirement is met, a mixing instruction is sent to the mixing component, so that the mixing component performs a mixing operation on the sample to be detected.
6. The method according to claim 4, characterized in that The determining, based on the status mark, whether the sample to be detected needs to be mixed includes: If the status mark is "captured," it is determined that the sample to be tested needs to be mixed; The process of performing a detection operation including a mixing operation on the sample to be detected according to the status mark of the sample to be detected includes: When the mixing time requirement is met, sending a mixing instruction to the mixing component so that the mixing component performs a mixing operation on the sample to be tested; When the mixing operation of the sample to be detected is completed, the status mark of the sample to be detected is changed to mixed.
7. The method according to claim 4, characterized in that The determining, based on the status mark, whether the sample to be detected needs to be mixed includes: If the state is marked as mixed, then the current time is obtained; If the current time exceeds the sampling time, it is determined that the sample to be detected needs to be mixed.
8. A sample analyzer, characterized in that: The sample analyzer includes a processor and a memory connected to the processor; The memory is used to store program data, and the processor is used to execute the program data to implement the method according to any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium is used to store program data, and when the program data is executed by a processor, it is used to implement the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Medical sample detecting system, method and device
CN108627656A
Sample analyzer
CN210401445U