Reaction cup cleaning and sample testing method and sample analyzer
By obtaining the target incubation position and the target detection position in the sample analyzer, the problem of long clearing time in the prior art is solved, and the effect of shortening the cup cleaning time and improving the sample testing efficiency is achieved.
Patent Information
- Application Number
- CN202411401127.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-09
- Publication Date
- 2025-02-07
AI Technical Summary
The existing sample analyzer has a long time during the clearing process, which leads to an extended start time of sample test, affecting the efficiency of the result.
By obtaining the incubation and detection bits required for the sample to be tested, the target incubation and detection bits are obtained locally, and the cup clearing operation is carried out only the number of digits required for the current sample to avoid cup clearing all digits.
The cup cleaning time before the test is shortened, the efficiency of sample testing is improved, and the time for sample results is reduced.
Smart Images

Figure CN119395311A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of sample analysis, and in particular to a reaction cup cleaning and sample testing method and a sample analyzer. Background Art
[0002] At present, when the sample analyzer detects the sample, the general process is to aspirate the sample to be tested to obtain multiple reaction cups, put the reaction cups into the incubation position for incubation, and then put the incubated reaction cups into the detection position for detection. Since the number of incubation positions and detection positions is limited, before executing the test process on the sample, the reaction cups used in the incubation position and the detection position need to be cleared, that is, the cup clearing operation. The general clearing process is:
[0003] Solution 1: The cup grabbing mechanism moves to the detection position / incubation position, performs the cup grabbing action, and then moves to the cup dropping position to complete the cup dropping action. After all incubation positions and detection positions have completed the cup grabbing-cup dropping action, the site is cleared. Disadvantages: During the site clearing process, regardless of whether there are reaction cups in the incubation position or detection position, all incubation positions and detection positions must complete the cup grabbing-cup dropping action before the test can be started, which affects the start time of the first sample test and prolongs the time it takes for the sample to produce results.
[0004] Solution 2: The cup grabbing hand structure continuously performs the cup grabbing action at the incubation position and the detection position. The cup dropping action is performed only when the sensor on the cup grabbing hand structure detects the reaction cup. Compared with Solution 1, the cup dropping action is reduced by using the reaction cup sensor on the cup grabbing hand structure to reduce the number of executions of the cup dropping action, thereby shortening the clearing time and shortening the waiting time for the first sample test. Disadvantage: When there are many reaction cups at the incubation position and the detection position, the clearing time is not much shorter than that of Solution 1. During the clearing process, the test can only be started after all incubation positions and detection positions have completed the cup grabbing action, which still affects the start time of the first sample test and prolongs the time it takes for the sample to produce results.
[0005] Solution 3: Add a CCD or CMOS camera sensor inside the instrument to take pictures of the incubation area and the detection area, and use the graphic processing algorithm to identify the existence of the reaction cup incubation position / detection position. Then, use the cup grabbing hand mechanism to grab the reaction cup on the table to the discard position, and reduce the cup grabbing and discarding actions of the cup grabbing hand, thereby shortening the clearing time. Disadvantages: CCD or CMOS camera sensors are required, which are expensive. The test can only be started after the cleaning is completed. When there are many reaction cups on the table, the clearing time is also relatively long, which affects the time to start the test of the first sample and prolongs the time it takes for the sample to produce results.
[0006] Therefore, a method to improve sample clearing efficiency is urgently needed. Summary of the invention
[0007] The main purpose of the present invention is to provide a reaction cup cleaning and sample testing method, a sample analyzer, a computer device and a storage medium, which can solve the problem of long detection time caused by long cleaning time in the prior art.
[0008] To achieve the above-mentioned object, the present invention provides a first aspect of a reaction cup cleaning and sample testing method, the method comprising:
[0009] Obtain the number of incubation positions and detection positions required for the samples to be tested;
[0010] Partially clear the incubation positions of the number of incubation positions and the detection positions of the number of detection positions to obtain N target incubation positions and M target detection positions corresponding to the number of incubation positions and the number of detection positions required for the sample to be tested, wherein the cup clearing is to remove the reaction cups on the incubation positions and the detection positions, N is the number of incubation positions, M is the number of detection positions, the target incubation positions are used to place the reaction cups to be incubated, and the target detection positions are used to place the reaction cups to be tested after incubation;
[0011] Obtain N sample reaction cups obtained by aspirating the sample to be tested, and place the N sample reaction cups into N target incubation positions respectively.
[0012] In combination with the first aspect, in a possible implementation manner, after the N sample reaction cups are placed in the N target incubation positions respectively, the method further includes:
[0013] If there are any remaining incubation positions or detection positions that have not been cleared, obtain the number of incubation positions and detection positions required for the next sample to be tested, and continue to clear the remaining incubation positions or detection positions that have not been cleared until Q target incubation positions and P target detection positions corresponding to the number of incubation positions and detection positions required for the next sample to be tested are obtained, or all incubation positions or detection positions are cleared, or a sample reaction cup that has completed incubation appears at the target incubation position;
[0014] If a sample reaction cup that has completed incubation appears at the target incubation position, a trigger reagent is added to the sample reaction cup that has completed incubation, and the sample reaction cup with the trigger reagent added is transferred to the corresponding target detection position for sample detection;
[0015] If Q target incubation positions and P target detection positions corresponding to the number of incubation positions and detection positions required for the next sample to be tested are obtained, then after the detection of the sample to be tested is completed, let N=Q, the next sample to be tested is the current sample to be tested, and return to execute the step of obtaining N sample reaction cups obtained by aspirating the sample to be tested, and placing the N sample reaction cups into the N target incubation positions respectively.
[0016] In combination with the first aspect, in a possible implementation, after transferring the sample reaction cup to which the trigger reagent is added to the M target detection positions for sample detection, the method further includes:
[0017] If the target incubation position for the next sample to be tested does not reach the number of incubation positions required for the next sample to be tested, or the target detection position for the next sample to be tested does not reach the number of detection positions required for the next sample to be tested, the process returns to the step of continuing to clear the remaining incubation positions or detection positions that have not been cleared until Q target incubation positions and P target detection positions corresponding to the number of incubation positions and detection positions required for the next sample to be tested are obtained, or all incubation positions or detection positions are cleared, or a sample reaction cup that has completed incubation appears at the target incubation position.
[0018] In combination with the first aspect, in a possible implementation, after all the incubation positions or detection positions are cleaned, the following steps are performed:
[0019] If the target incubation positions of the next sample to be tested obtained do not reach the number of incubation positions required for the next sample to be tested, or the target detection positions of the next sample to be tested obtained do not reach the number of detection positions required for the next sample to be tested, then after the detection of the sample to be tested is completed, the incubation positions or detection positions used in the detection of the sample to be tested are partially cleared again to obtain QH target incubation positions and PF target detection positions corresponding to the next sample to be tested; wherein H is the number of target incubation positions for the next sample to be tested obtained after all incubation positions are cleared, and F is the number of target detection positions for the next sample to be tested obtained after all detection positions are cleared;
[0020] Assume that N=Q, the next sample to be tested is the current sample to be tested, and return to execute the step of obtaining N sample reaction cups obtained by aspirating the sample to be tested, and placing the N sample reaction cups into N target incubation positions respectively.
[0021] In combination with the first aspect, in a possible implementation, the above-mentioned partial clearing of the incubation positions of the number of incubation positions and the detection positions of the number of detection positions to obtain N target incubation positions and M target detection positions corresponding to the number of incubation positions and the number of detection positions required for the sample to be tested includes:
[0022] Traverse the cup position to be lost, wherein the cup position to be lost is an incubation position or a detection position, and for the traversed target position, detect whether the target position has a reaction cup, if the target position has a reaction cup, perform the cup dropping operation on the target position, and if the target position is an incubation position, determine the incubation position as the target incubation position, if the target position is a detection position, determine the detection position as the target detection position, and then traverse the next cup position to be lost until the number of target incubation positions obtained is N and the number of target detection positions obtained is M; if the target position has no reaction cup, if the target position is an incubation position, determine the incubation position as the target incubation position, if the target position is a detection position, determine the detection position as the target detection position, and then traverse the next cup position to be lost until the number of target incubation positions obtained is N and the number of target detection positions obtained is M.
[0023] In combination with the first aspect, in a possible implementation, the above-mentioned partial clearing of the incubation positions of the number of incubation positions and the detection positions of the number of detection positions to obtain N target incubation positions and M target detection positions corresponding to the number of incubation positions and the number of detection positions required for the sample to be tested also includes:
[0024] Perform a cuvette detection on the i-th incubation position. If the i-th incubation position has a cuvette, perform a cuvette drop operation on the i-th incubation position, determine the i-th incubation position as the target incubation position, set i=i+1, and return to execute the step of performing a cuvette detection on the i-th incubation position until the number of target incubation positions is N; wherein, the initial value of i is 1, the first incubation position is the incubation position initially selected for cuvette detection, and the i+1th incubation position is the next incubation position selected for cuvette detection after the i-th incubation position; if the i-th incubation position has no cuvette, determine the i-th incubation position as the target incubation position, set i=i+1, and return to execute the step of performing a cuvette detection on the i-th incubation position until the number of target incubation positions is N;
[0025] Perform a reaction cup detection on the kth detection position. If there is a reaction cup at the kth detection position, perform a cup dropping operation on the kth detection position, determine the kth detection position as the target detection position, set k=k+1, and return to execute the step of performing a reaction cup detection on the kth detection position until the number of target detection positions is M; if there is no reaction cup at the kth detection position, determine the kth detection position as the target detection position, set k=k+1, and return to execute the step of performing a reaction cup detection on the kth detection position until the number of target detection positions is M.
[0026] In combination with the first aspect, in a possible implementation, the above-mentioned process of continuing to clean the remaining incubation positions or detection positions that have not been cleaned until Q target incubation positions and P target detection positions corresponding to the number of incubation positions and the number of detection positions required for the next sample to be tested are obtained, or all incubation positions or detection positions are cleaned, or a sample reaction cup that has completed incubation appears in the target incubation position, including:
[0027] Let i=j, return to the step of detecting whether there is a cuvette at the i-th incubation position, until the number of target incubation positions for the next sample to be tested is Q, or i+N=G, or when a sample cuvette that has completed incubation appears at the incubation position, stop executing the step of setting i=i+1; wherein, the initial value of j is 1, when j is 1, the j-th incubation position is the incubation position that is initially selected for cuvette detection when the remaining incubation positions that have not been cleared are continued to be cleared, the j+1-th incubation position is the next incubation position selected for cuvette detection after the j-th incubation position, and G is the total number of incubation positions;
[0028] If i=Q, let k=r, and return to the step of detecting whether there is a reaction cup at the kth detection position, until the number of target detection positions for the next sample to be tested is P, or k+M=Z, or when a sample reaction cup that has completed incubation appears at the incubation position, stop executing the step of setting k=k+1; wherein, the initial value of r is 1, and when r is 1, the rth incubation position is the detection position that is initially selected for reaction cup detection when continuing to clear the remaining detection positions that have not been cleared, and the r+1th detection position is the next detection position selected for reaction cup detection after the rth incubation position, and Z is the total number of detection positions.
[0029] To achieve the above object, the second aspect of the present invention provides a sample analyzer, the sample analyzer comprising a processor and an output device:
[0030] The processor is used to execute the reaction cup cleaning and sample testing method according to the first aspect;
[0031] The output device is used to output the test result of the sample to be tested.
[0032] To achieve the above object, the third aspect of the present invention provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor performs the following steps:
[0033] Obtain the number of incubation positions and detection positions required for the samples to be tested;
[0034] Partially clear the incubation positions of the number of incubation positions and the detection positions of the number of detection positions to obtain N target incubation positions and M target detection positions corresponding to the number of incubation positions and the number of detection positions required for the sample to be tested, wherein the cup clearing is to remove the reaction cups on the incubation positions and the detection positions, N is the number of incubation positions, M is the number of detection positions, the target incubation positions are used to place the reaction cups to be incubated, and the target detection positions are used to place the reaction cups to be tested after incubation;
[0035] Obtain N sample reaction cups obtained by aspirating the sample to be tested, and place the N sample reaction cups into N target incubation positions respectively.
[0036] To achieve the above object, a fourth aspect of the present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps:
[0037] Obtain the number of incubation positions and detection positions required for the samples to be tested;
[0038] Partially clear the incubation positions of the number of incubation positions and the detection positions of the number of detection positions to obtain N target incubation positions and M target detection positions corresponding to the number of incubation positions and the number of detection positions required for the sample to be tested, wherein the cup clearing is to remove the reaction cups on the incubation positions and the detection positions, N is the number of incubation positions, M is the number of detection positions, the target incubation positions are used to place the reaction cups to be incubated, and the target detection positions are used to place the reaction cups to be tested after incubation;
[0039] Obtain N sample reaction cups obtained by aspirating the sample to be tested, and place the N sample reaction cups into N target incubation positions respectively.
[0040] The embodiments of the present invention have the following beneficial effects:
[0041] The present invention provides a cup cleaning and sample testing method, which cleans the incubation positions of the incubation position number and the detection positions of the detection position number, obtains N target incubation positions and M target detection positions, and then puts N sample cups into the N target incubation positions to start testing. Before the sample test, the present invention only cleans the incubation positions of the incubation position number and the detection positions of the detection position number required by the current sample, and does not need to clean all the incubation positions and detection positions before the test, which can shorten the cup cleaning time before the test. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0043] in:
[0044] Figure 1 A schematic diagram of a process for cleaning a reaction cup and testing a sample;
[0045] Figure 2 It is a structural block diagram of a sample analyzer;
[0046] Figure 3 4 is a structural block diagram of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0048] An embodiment of the present invention provides a reaction cup cleaning and sample testing method, which can be applicable to any sample testing scenario and can be executed by a terminal device, which can be a sample analyzer, such as a coagulation analyzer, a chemiluminescence immunoassay analyzer, etc. The terminal device may include a processor, a control device, and an output device, wherein the processor is used to execute the method, the control device can be used to grab and drop the reaction cup, the control device can be a cup grabbing hand mechanism, and the output device is used to output the test results of the sample.
[0049] Reference Figure 1 , Figure 1 A flow chart of a reaction cup cleaning and sample testing method provided by an embodiment of the present invention is shown in FIG. Figure 1 As shown, the method is as follows:
[0050] Step S101, obtaining the number of incubation positions and the number of detection positions required for the sample to be tested.
[0051] Step S102: partially clear the incubation positions of the number of incubation positions and the detection positions of the number of detection positions to obtain N target incubation positions and M target detection positions corresponding to the number of incubation positions and the number of detection positions required for the sample to be tested.
[0052] Among them, cleaning the cups means removing the cuvettes on the incubation position and the detection position, N is the number of incubation positions required for the samples to be tested, M is the number of detection positions required for the samples to be tested, the target incubation position is used to place the cuvettes to be incubated, and the target detection position is used to place the cuvettes to be tested after incubation.
[0053] Step S103 , obtaining N sample reaction cups obtained by aspirating the sample to be tested, and placing the N sample reaction cups into N target incubation positions respectively.
[0054] The incubation position is used to place the reaction cups to be incubated, and the detection position is used to place the reaction cups to be detected after incubation. The number of incubation positions and the number of detection positions required for testing different samples may be different. In order to accurately perform local clearing of the most precise number of incubation positions and detection positions, this embodiment first determines the number N of incubation positions and the number M of detection positions required for the current sample to be tested. Before the test, the incubation positions of the number of incubation positions and the detection positions of the number of detection positions are locally cleared, that is, only the required number of incubation positions and detection positions are cleared, and the incubation positions after local clearing are determined as target incubation positions, and the detection positions after local clearing are determined as target detection positions, so as to obtain N target incubation positions and M target detection positions corresponding to the number of incubation positions and the number of detection positions required for the sample to be tested.
[0055] After obtaining N target incubation positions and M target detection positions, obtain N sample reaction cups obtained by aspirating the sample to be tested, place the N sample reaction cups into the N target incubation positions respectively, and wait for the incubation of the N sample reaction cups to be completed.
[0056] When the sample reaction cup is incubated, in order to improve the test efficiency and effectiveness, it is necessary to move the reaction cup after incubation to the corresponding detection position for detection in time. Since the general cup gripping mechanism has only one gripper, it is not possible to clean the incubation position or the detection position while moving the reaction cup after incubation to the corresponding detection position. Therefore, in this embodiment, in order to effectively clean the site and ensure that the reaction cup after incubation is moved to the corresponding detection position in time, step S104-step S105 are executed:
[0057] Step S104: If there are any remaining incubation positions or detection positions that have not been cleared, obtain the number of incubation positions and the number of detection positions required for the next sample to be tested, and continue to clear the remaining incubation positions or detection positions that have not been cleared until Q target incubation positions and P target detection positions corresponding to the number of incubation positions and the number of detection positions required for the next sample to be tested are obtained, or all incubation positions or detection positions are cleared, or a sample reaction cup that has completed incubation appears at the target incubation position.
[0058] Step S105 : if a sample reaction cup that has completed incubation appears at the target incubation position, a trigger reagent is added to the sample reaction cup that has completed incubation, and the sample reaction cup with the trigger reagent added is transferred to the corresponding target detection position for sample detection.
[0059] Determine whether mixed reagents need to be added before sample incubation according to the reaction system of different projects. When the reaction cup corresponding to the test project is placed in the incubation position, the software system will count the incubation time. Different test projects have specified incubation times. Prolonging or shortening the incubation time will lead to deviations in the results. Since it takes a certain amount of time to complete the incubation of the sample reaction cup, the cup cleaning can continue during this time period. After N sample reaction cups are placed in N target incubation positions, if there are remaining incubation positions or detection positions that have not been cleaned, continue to clean the remaining incubation positions and detection positions that have not been cleaned. The incubation positions and detection positions required for the next sample to be tested can be partially cleaned in advance, that is, the number of incubation positions and detection positions required for the next sample to be tested is obtained, and the remaining incubation positions or detection positions that have not been cleaned are continued to be cleaned until Q target incubation positions and P target detection positions corresponding to the number of incubation positions and detection positions required for the next sample to be tested are obtained.
[0060] Alternatively, during the process of cleaning the remaining incubation positions and detection positions that have not been cleaned, if a sample reaction cup that has completed incubation appears in the target incubation position, the cleaning is stopped, and a trigger reagent is further added to the sample reaction cup that has completed incubation, wherein the trigger reagent is a reagent that needs to be added before the sample reaction cup is transferred to the detection position, and the sample reaction cup with the trigger reagent added is transferred to the corresponding target detection position for sample detection.
[0061] If Q target incubation positions and P target detection positions corresponding to the number of incubation positions and detection positions required for the next sample to be tested are obtained, then after the detection of the sample to be tested is completed, let N=Q, the next sample to be tested is the current sample to be tested, and return to execute the step of obtaining N sample reaction cups obtained by aspirating the sample to be tested, and placing the N sample reaction cups into the N target incubation positions respectively, that is, performing a detection operation on the next sample to be tested, and performing a new round of cup cleaning.
[0062] If the cup cleaning is stopped due to the appearance of a sample reaction cup that has completed incubation, it is possible that the target incubation position of the next sample to be tested does not reach the number of incubation positions required for the next sample to be tested, or the target detection position of the next sample to be tested does not reach the number of detection positions required for the next sample to be tested. Therefore, step S106 may be continued:
[0063] Step S106: If the target incubation position of the next sample to be tested does not reach the number of incubation positions required for the next sample to be tested, or the target detection position of the next sample to be tested does not reach the number of detection positions required for the next sample to be tested, then return to the execution and continue to clear the remaining incubation positions or detection positions that have not been cleared until Q target incubation positions and P target detection positions corresponding to the number of incubation positions and the number of detection positions required for the next sample to be tested are obtained, or all incubation positions or detection positions are cleared, or a sample reaction cup that has completed incubation appears at the target incubation position.
[0064] If the target incubation position for the next sample to be tested does not reach the number of incubation positions required for the next sample to be tested, or the target detection position for the next sample to be tested does not reach the number of detection positions required for the next sample to be tested, the step of clearing the remaining incubation positions or detection positions that have not been cleared is re-executed until Q target incubation positions and P target detection positions corresponding to the number of incubation positions and detection positions required for the next sample to be tested are obtained, or all incubation positions or detection positions are cleared, or a sample reaction cup that has completed incubation appears at the target incubation position.
[0065] For example, when the target number Q of incubation positions required for the next sample to be tested is 100, and the current new target number of incubation positions is 45, continue to clean the remaining incubation positions that have not been cleaned until 100 target incubation positions are obtained. In one possible situation, the number of remaining incubation positions that have not been cleaned may be less than 55, and it is possible that all remaining incubation positions will be cleaned.
[0066] In this embodiment, after all incubation positions or detection positions are cleared, if the target incubation position of the next sample to be tested does not reach the number of incubation positions required for the next sample to be tested, or the target detection position of the next sample to be tested does not reach the number of detection positions required for the next sample to be tested, step S107-step S108 is executed:
[0067] Step S107, when the detection of the sample to be tested is completed, the incubation positions or detection positions used in the detection of the sample to be tested are partially cleared again to obtain QH target incubation positions and PF target detection positions corresponding to the next sample to be tested; wherein H is the number of target incubation positions for the next sample to be tested obtained after all the incubation positions are cleared, and F is the number of target detection positions for the next sample to be tested obtained after all the detection positions are cleared.
[0068] Step S108, let N=Q, the next sample to be tested be the current sample to be tested, and return to execute the step of obtaining N sample reaction cups obtained by aspirating the sample to be tested, and placing the N sample reaction cups into N target incubation positions respectively.
[0069] If the target incubation positions for the next sample to be tested do not reach the number of incubation positions required for the next sample to be tested, after the testing of the sample to be tested is completed, the incubation positions used when testing the sample to be tested are partially cleared again to obtain QH target incubation positions corresponding to the next sample to be tested, where H is the number of target incubation positions for the next sample to be tested obtained after clearing all the incubation positions, so as to obtain enough Q target incubation positions.
[0070] If the target detection positions of the next sample to be tested obtained do not reach the number of detection positions required for the next sample to be tested, then after the detection of the sample to be tested is completed, the detection positions used in the detection of the sample to be tested are partially cleared again to obtain PF target detection positions corresponding to the next sample to be tested, where F is the number of target detection positions of the next sample to be tested obtained after clearing all detection positions, so as to obtain sufficient P target detection positions.
[0071] After obtaining enough target incubation positions and target detection positions, let N=Q, the next sample to be tested is the current sample to be tested, return to execute the steps of obtaining N sample reaction cups obtained by aspirating the sample to be tested, and place the N sample reaction cups into the N target incubation positions respectively, and test the next sample to be tested.
[0072] In the embodiment of the present invention, after obtaining N target incubation positions and M target detection positions by clearing the incubation positions of the same number of incubation positions and the detection positions of the same number of detection positions, N sample reaction cups are respectively placed in the N target incubation positions to start testing, and then the remaining incubation positions and detection positions that have not been cleared are continued to be cleared until Q target incubation positions and P target detection positions corresponding to the number of incubation positions and the number of detection positions required for the next sample to be tested are obtained, or all the incubation positions or detection positions are cleared, or a sample reaction cup that has completed incubation appears in the target incubation position. When a sample reaction cup that has completed incubation appears in the target incubation position, a trigger reagent is added to the sample reaction cup that has completed incubation, and the added trigger reagent is added to the sample reaction cup. The sample reaction cup with the reagent is transferred to the target detection position for sample detection. If the Q target incubation positions and P target detection positions corresponding to the number of incubation positions and the number of detection positions required for the next sample to be tested are not obtained at this time, then the step of returning to continue clearing the remaining incubation positions and detection positions that have not been cleared is executed. If the Q target incubation positions and P target detection positions corresponding to the number of incubation positions and the number of detection positions required for the next sample to be tested are obtained, then after the detection of the sample to be tested is completed, let N=Q, the next sample to be tested be the current sample to be tested, and return to execute the step of obtaining N sample reaction cups obtained by aspirating the sample to be tested, and respectively placing the N sample reaction cups into the N target incubation positions. Before the sample test, the present invention only performs the cup clearing operation on the incubation positions of the number of incubation positions and the detection positions of the number of detection positions required by the current sample, and does not need to clear all the incubation positions and detection positions before the test, which can shorten the cup clearing time before the test.
[0073] Secondly, since the incubation of the sample reaction cup requires a certain amount of time, the remaining incubation positions and detection positions should continue to be cleared during this time. When the sample reaction cup is incubated, the cleaning should be stopped and the incubated sample reaction cup should be promptly tested and processed. This can ensure the effectiveness of the sample test while effectively utilizing the idle time, further shortening the clearing time.
[0074] In addition, the incubation position and detection position required for the next sample to be tested can be cleaned in advance, which can shorten the time for cleaning the cup before the test.
[0075] Since the cup gripping mechanism generally has only one gripper, it is not possible to clean several incubation positions or detection positions at the same time. Generally, the incubation positions or detection positions are cleaned one by one. In a possible implementation, the method for obtaining N target incubation positions and M target detection positions is specifically shown in step S201:
[0076] Step S201, traverse the cup position to be lost, wherein the cup position to be lost is an incubation position or a detection position, and for the traversed target position, detect whether the target position has a reaction cup, if the target position has a reaction cup, perform a cup dropping operation on the target position, and if the target position is an incubation position, determine the incubation position as a target incubation position, if the target position is a detection position, determine the detection position as a target detection position, and traverse the next cup position to be lost until the number of target incubation positions obtained is N and the number of target detection positions obtained is M; if the target position has no reaction cup, if the target position is an incubation position, determine the incubation position as a target incubation position, if the target position is a detection position, determine the detection position as a target detection position, and traverse the next cup position to be lost until the number of target incubation positions obtained is N and the number of target detection positions obtained is M.
[0077] The positions of the cups to be discarded are browsed one by one, wherein the positions of the cups to be discarded can be incubation positions or detection positions.
[0078] For the traversed target position, the cup grabbing hand mechanism is controlled to move to the area used to detect whether there is a reaction cup at the target position, so as to detect whether there is a reaction cup at the currently traversed target position. The cup grabbing hand mechanism is equipped with a detection device for identifying whether there is a reaction cup at the target position, such as a reflective photocoupler sensor. If there is a reaction cup at the target position, the cup grabbing hand mechanism is controlled to perform a cup throwing operation on the target position to remove the reaction cup at the target position. If the current target position is the incubation position, the incubation position is determined as the target incubation position. If the current target position is the detection position, the detection position is determined as the target detection position, and the next cup throwing position to be traversed is traversed. For the next traversed target position, the above operation is repeated until the number of target incubation positions obtained is N and the number of target detection positions obtained is M, and then the local cup cleaning is stopped.
[0079] If there is no reaction cup at the target position, if the target position is an incubation position, the incubation position is directly determined as the target incubation position; if the target position is a detection position, the detection position is directly determined as the target detection position. For the next target position traversed, repeat the above operation until the number of target incubation positions obtained is N and the number of target detection positions obtained is M, then stop local cup cleaning.
[0080] In one possible implementation, the detection position may be partially cleared first, and after the target number of detection positions is M, the incubation position may be partially cleared, and the local clearing may be stopped after the target number of incubation positions is N. In another possible implementation, the incubation position may be partially cleared first, and after the target number of incubation positions is N, the detection position may be partially cleared, and the local clearing may be stopped after the target number of detection positions is M.
[0081] Through step S201, any target position can be selected to perform partial cup cleaning.
[0082] Then step S104 may be specifically as shown in step S203:
[0083] Step S203, continue to traverse the untraversed cup positions to be lost, and for the traversed target position, detect whether there is a reaction cup at the target position. If there is a reaction cup at the target position, perform the cup dropping operation on the target position until all the cup positions to be lost are traversed or a sample reaction cup that has completed incubation appears at the incubation position.
[0084] Continue to traverse the untraversed cup positions to be discarded. For the traversed target position, check whether there is a reaction cup at the target position. If there is a reaction cup at the target position, perform the cup discarding operation on the target position and continue to traverse the next one until all the cup positions to be discarded are traversed or a sample reaction cup that has completed incubation appears in the incubation position. If there is no reaction cup at the target position, continue to traverse the next one until all the cup positions to be discarded are traversed or a sample reaction cup that has completed incubation appears in the incubation position, so as to perform a secondary clearing operation and clear the remaining cup positions to be discarded.
[0085] In another possible implementation, the embodiment of the present invention may first clear the incubation positions of the incubation position quantity, and then clear the detection positions of the detection position quantity. Step S102 may be specifically shown in the following steps S301-S302:
[0086] Step S301, detect whether there is a reaction cup at the i-th incubation position. If there is a reaction cup at the i-th incubation position, perform the cup dropping operation on the i-th incubation position, determine the i-th incubation position as the target incubation position, set i=i+1, and return to execute the step of detecting whether there is a reaction cup at the i-th incubation position until the number of target incubation positions is N; if there is no reaction cup at the i-th incubation position, determine the i-th incubation position as the target incubation position, set i=i+1, and return to execute the step of detecting whether there is a reaction cup at the i-th incubation position until the number of target incubation positions is N.
[0087] Among them, the initial value of i is 1, the first incubation position is the incubation position initially selected for the reaction cup detection, and the i+1th incubation position is the next incubation position selected for the reaction cup detection after the i-th incubation position.
[0088] Step S302, perform a reaction cup detection on the kth detection position. If the kth detection position has a reaction cup, perform a cup dropping operation on the kth detection position, determine the kth detection position as the target detection position, set k=k+1, and return to execute the step of performing a reaction cup detection on the kth detection position until the number of target detection positions is M; if the kth detection position has no reaction cup, determine the kth detection position as the target detection position, set k=k+1, and return to execute the step of performing a reaction cup detection on the kth detection position until the number of target detection positions is M.
[0089] The initial value of k is 1, the kth detection position is the detection position initially selected for the cuvette detection, and the k+1th detection position is the next detection position selected for the cuvette detection after the kth detection position.
[0090] First, you can arbitrarily select an incubation position as the first incubation position, such as incubation position No. 1, and detect whether there is a reaction cup at the first incubation position. If there is a reaction cup at the first incubation position, control the cup gripper mechanism to perform a cup dropping operation on the first incubation position, and determine the first incubation position as the target incubation position. After the first incubation position is cleared, select the second incubation position to clear the cup, such as incubation position No. 2, and repeat the above actions until the number of target incubation positions determined is N.
[0091] It should be noted that i is not necessarily the same as the number of the incubation position, but is the order number of the cup clearing, that is, the initial value of i is 1, the first incubation position is the incubation position selected for the reaction cup detection at the beginning, and the i+1th incubation position is the next incubation position selected for the reaction cup detection after the i-th incubation position.
[0092] After determining N target incubation positions, the detection positions are partially cleared. Similar to the cup cleaning of the incubation positions, first, an incubation position can be arbitrarily selected as the first detection position, such as detection position No. 1, and the first detection position is detected to see if there is a reaction cup. If there is a reaction cup at the first detection position, the cup gripper mechanism is controlled to perform a cup dropping operation on the first detection position, and the first detection position is determined as the target detection position. After the first detection position is cleared, the second detection position is selected for cup cleaning, such as detection position No. 2, and the above actions are repeated until the number of target detection positions determined is M.
[0093] In step S104, the remaining incubation positions or detection positions that have not been cleared are continuously cleared until Q target incubation positions and P target detection positions corresponding to the number of incubation positions and detection positions required for the next sample to be tested are obtained, or all incubation positions or detection positions are cleared, or a sample reaction cup that has completed incubation appears in the target incubation position, which can be specifically shown in steps S303-S304:
[0094] Step S303, let i=j, return to the step of detecting whether there is a reaction cup at the i-th incubation position, until the number of target incubation positions for the next sample to be tested is Q, or i+N=G, or when a sample reaction cup that has completed incubation appears at the incubation position, stop executing the step of setting i=i+1.
[0095] Among them, the initial value of j is 1. When j is 1, the jth incubation position is the incubation position that is first selected for reaction cup detection when continuing to clean the remaining incubation positions that have not been cleaned. The j+1th incubation position is the next incubation position for reaction cup detection selected after the jth incubation position. G is the total number of incubation positions.
[0096] Step S304, if i=Q, let k=r, and return to the step of detecting whether there is a reaction cup at the kth detection position, until the number of target detection positions for the next sample to be tested is P, or k+M=Z, or when a sample reaction cup that has completed incubation appears at the incubation position, stop executing the step of setting k=k+1.
[0097] Among them, the initial value of r is 1. When r is 1, the rth incubation position is the first detection position selected for reaction cup detection when continuing to clear the remaining detection positions that have not been cleared. The r+1th detection position is the next detection position for reaction cup detection selected after the rth incubation position, and Z is the total number of detection positions.
[0098] First, clear the remaining incubation positions, let j=1, clear the first incubation position of the remaining incubation positions, and then clear the second incubation position, until the number of target incubation positions for the next sample to be tested is Q. At this time, enough target incubation positions have been obtained, and clearing the cups is stopped, or i+N=G. At this time, all remaining incubation positions have been cleared, and clearing can be stopped. Or when a sample reaction cup that has completed incubation appears in an incubation position, clearing can be stopped.
[0099] Then, the remaining detection positions are cleared, and r=1 is set. The first detection position of the remaining detection positions is cleared, and then the second detection position is cleared, until the number of target detection positions for the next sample to be tested is P. At this time, enough target detection positions have been obtained, and clearing the cups is stopped, or r+M=P. At this time, all the remaining detection positions have been cleared, and clearing the cups can be stopped, or when a sample reaction cup that has completed incubation appears at the incubation position, clearing the cups can be stopped.
[0100] In a possible implementation, the cups of the detection positions of the detection position number may be cleared first, and then the cups of the incubation positions of the incubation position number may be cleared. The specific method is similar to clearing the cups of the incubation positions of the incubation position number first, and then clearing the cups of the detection positions of the detection position number, and will not be elaborated here.
[0101] Based on the above-mentioned reaction cup cleaning and sample testing method, the incubation time of the sample reaction cup on the incubation position is used to clean the incubation position or the detection position multiple times, so as to shorten the cleaning time while ensuring the test effect of the sample.
[0102] The present invention also provides a sample analyzer. Figure 2 , Figure 2 A structural block diagram of a sample analyzer provided by an embodiment of the present invention, such as Figure 2 As shown, the sample analyzer includes a processor 10 and an output device 20. The processor 10 is used to execute all steps of the above-mentioned reaction cup cleaning and sample testing method, and the output device 20 is used to output the test result of the sample to be tested. The sample analyzer can use the incubation time of the sample reaction cup on the incubation position to clean the incubation position or the detection position multiple times, so as to shorten the cleaning time and ensure the test effect of the sample.
[0103] Figure 3 FIG. 1 shows an internal structure diagram of a computer device in an embodiment. The computer device may be a terminal or a server. Figure 3 As shown, the computer device includes a processor, a memory and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement all the steps of the above method. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can implement all the steps of the above method. Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0104] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes each step of the aforementioned method.
[0105] In one embodiment, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the processor executes each step of the aforementioned method.
[0106] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0107] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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.
[0108] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A reaction cup cleaning and sample testing method, characterized in that: The method comprises: Obtain the number of incubation positions and detection positions required for the samples to be tested; Partially clear the incubation positions of the number of incubation positions and the detection positions of the number of detection positions to obtain N target incubation positions and M target detection positions corresponding to the number of incubation positions and the number of detection positions required for the sample to be tested, wherein the cup clearing is to remove the reaction cups on the incubation positions and the detection positions, N is the number of incubation positions, M is the number of detection positions, the target incubation positions are used to place the reaction cups to be incubated, and the target detection positions are used to place the reaction cups to be tested after incubation; Obtain N sample reaction cups obtained by aspirating the sample to be tested, and place the N sample reaction cups into N target incubation positions respectively.
2. The method according to claim 1, characterized in that After placing the N sample reaction cups into the N target incubation positions respectively, the method further comprises: If there are any remaining incubation positions or detection positions that have not been cleared, obtain the number of incubation positions and detection positions required for the next sample to be tested, and continue to clear the remaining incubation positions or detection positions that have not been cleared until Q target incubation positions and P target detection positions corresponding to the number of incubation positions and detection positions required for the next sample to be tested are obtained, or all incubation positions or detection positions are cleared, or a sample reaction cup that has completed incubation appears at the target incubation position; If a sample reaction cup that has completed incubation appears at the target incubation position, a trigger reagent is added to the sample reaction cup that has completed incubation, and the sample reaction cup with the trigger reagent added is transferred to the corresponding target detection position for sample detection; If Q target incubation positions and P target detection positions corresponding to the number of incubation positions and detection positions required for the next sample to be tested are obtained, then after the detection of the sample to be tested is completed, let N=Q, the next sample to be tested is the current sample to be tested, and return to execute the step of obtaining N sample reaction cups obtained by aspirating the sample to be tested, and placing the N sample reaction cups into the N target incubation positions respectively.
3. The method according to claim 2, characterized in that After transferring the sample reaction cup with the trigger reagent added thereto to M target detection positions for sample detection, the method further includes: If the target incubation position for the next sample to be tested does not reach the number of incubation positions required for the next sample to be tested, or the target detection position for the next sample to be tested does not reach the number of detection positions required for the next sample to be tested, the process returns to the step of continuing to clear the remaining incubation positions or detection positions that have not been cleared until Q target incubation positions and P target detection positions corresponding to the number of incubation positions and detection positions required for the next sample to be tested are obtained, or all incubation positions or detection positions are cleared, or a sample reaction cup that has completed incubation appears at the target incubation position.
4. The method according to claim 2, characterized in that: After all the incubation positions or detection positions are cleaned, the steps include: If the target incubation positions of the next sample to be tested obtained do not reach the number of incubation positions required for the next sample to be tested, or the target detection positions of the next sample to be tested obtained do not reach the number of detection positions required for the next sample to be tested, then after the detection of the sample to be tested is completed, the incubation positions or detection positions used in the detection of the sample to be tested are partially cleared again to obtain QH target incubation positions and PF target detection positions corresponding to the next sample to be tested; wherein H is the number of target incubation positions for the next sample to be tested obtained after all incubation positions are cleared, and F is the number of target detection positions for the next sample to be tested obtained after all detection positions are cleared; Assume that N=Q, the next sample to be tested is the current sample to be tested, and return to execute the step of obtaining N sample reaction cups obtained by aspirating the sample to be tested, and placing the N sample reaction cups into N target incubation positions respectively.
5. The method according to claim 1, characterized in that The method of partially clearing the incubation positions of the number of incubation positions and the detection positions of the number of detection positions to obtain N target incubation positions and M target detection positions corresponding to the number of incubation positions and the number of detection positions required for the sample to be tested includes: Traverse the cup position to be lost, wherein the cup position to be lost is an incubation position or a detection position, and for the traversed target position, detect whether the target position has a reaction cup, if the target position has a reaction cup, perform the cup dropping operation on the target position, and if the target position is an incubation position, determine the incubation position as the target incubation position, if the target position is a detection position, determine the detection position as the target detection position, and then traverse the next cup position to be lost until the number of target incubation positions obtained is N and the number of target detection positions obtained is M; if the target position has no reaction cup, if the target position is an incubation position, determine the incubation position as the target incubation position, if the target position is a detection position, determine the detection position as the target detection position, and then traverse the next cup position to be lost until the number of target incubation positions obtained is N and the number of target detection positions obtained is M.
6. The method according to claim 1, characterized in that The method of partially clearing the incubation positions of the number of incubation positions and the detection positions of the number of detection positions to obtain N target incubation positions and M target detection positions corresponding to the number of incubation positions and the number of detection positions required for the sample to be tested also includes: Perform a cuvette detection on the i-th incubation position. If the i-th incubation position has a cuvette, perform a cuvette drop operation on the i-th incubation position, determine the i-th incubation position as the target incubation position, set i=i+1, and return to execute the step of performing a cuvette detection on the i-th incubation position until the number of target incubation positions is N; wherein, the initial value of i is 1, the first incubation position is the incubation position initially selected for cuvette detection, and the i+1th incubation position is the next incubation position selected for cuvette detection after the i-th incubation position; if the i-th incubation position has no cuvette, determine the i-th incubation position as the target incubation position, set i=i+1, and return to execute the step of performing a cuvette detection on the i-th incubation position until the number of target incubation positions is N; Perform a reaction cup detection on the kth detection position. If there is a reaction cup at the kth detection position, perform a cup dropping operation on the kth detection position, determine the kth detection position as the target detection position, set k=k+1, and return to execute the step of performing a reaction cup detection on the kth detection position until the number of target detection positions is M; if there is no reaction cup at the kth detection position, determine the kth detection position as the target detection position, set k=k+1, and return to execute the step of performing a reaction cup detection on the kth detection position until the number of target detection positions is M.
7. The method according to claim 2, characterized in that The method continues to clean the remaining incubation positions or detection positions that have not been cleaned until Q target incubation positions and P target detection positions corresponding to the number of incubation positions and the number of detection positions required for the next sample to be tested are obtained, or all incubation positions or detection positions are cleaned, or a sample reaction cup that has completed incubation appears at the target incubation position, including: Let i=j, return to the step of detecting whether there is a cuvette at the i-th incubation position, until the number of target incubation positions for the next sample to be tested is Q, or i+N=G, or when a sample cuvette that has completed incubation appears at the incubation position, stop executing the step of setting i=i+1; wherein, the initial value of j is 1, when j is 1, the j-th incubation position is the incubation position that is initially selected for cuvette detection when the remaining incubation positions that have not been cleared are continued to be cleared, the j+1-th incubation position is the next incubation position selected for cuvette detection after the j-th incubation position, and G is the total number of incubation positions; If i=Q, let k=r, and return to the step of detecting whether there is a reaction cup at the kth detection position, until the number of target detection positions for the next sample to be tested is P, or k+M=Z, or when a sample reaction cup that has completed incubation appears at the incubation position, stop executing the step of setting k=k+1; wherein, the initial value of r is 1, and when r is 1, the rth incubation position is the detection position that is initially selected for reaction cup detection when continuing to clear the remaining detection positions that have not been cleared, and the r+1th detection position is the next detection position selected for reaction cup detection after the rth incubation position, and Z is the total number of detection positions.
8. A sample analyzer, characterized in that: The sample analyzer includes a processor and an output device: The processor is used to execute the reaction cup cleaning and sample testing method according to any one of claims 1 to 7; The output device is used to output the test result of the sample to be tested.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 7.