CN107703318B - Method and device for testing sample and computer readable storage medium - Google Patents

Method and device for testing sample and computer readable storage medium Download PDF

Info

Publication number
CN107703318B
CN107703318B CN201710478602.1A CN201710478602A CN107703318B CN 107703318 B CN107703318 B CN 107703318B CN 201710478602 A CN201710478602 A CN 201710478602A CN 107703318 B CN107703318 B CN 107703318B
Authority
CN
China
Prior art keywords
test
samples
groups
sample
test group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710478602.1A
Other languages
Chinese (zh)
Other versions
CN107703318A (en
Inventor
刘远平
赵丙强
汪华龙
吴中义
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Maccura Medical Electronics Co Ltd
Original Assignee
Maccura Medical Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Maccura Medical Electronics Co Ltd filed Critical Maccura Medical Electronics Co Ltd
Priority to CN201710478602.1A priority Critical patent/CN107703318B/en
Publication of CN107703318A publication Critical patent/CN107703318A/en
Application granted granted Critical
Publication of CN107703318B publication Critical patent/CN107703318B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N35/00Automatic analysis not limited to methods or materials provided for in any single one of groups G01N1/00 - G01N33/00; Handling materials therefor
    • G01N35/00584Control arrangements for automatic analysers
    • G01N35/0092Scheduling
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N35/00Automatic analysis not limited to methods or materials provided for in any single one of groups G01N1/00 - G01N33/00; Handling materials therefor
    • G01N35/00584Control arrangements for automatic analysers
    • G01N35/0092Scheduling
    • G01N2035/0094Scheduling optimisation; experiment design

Abstract

The invention discloses a sample testing method and device and a computer readable storage medium. The test method of the sample comprises the following steps: classifying samples with the same test mode in all samples on the test tube rack into the same test group to obtain N test groups, wherein N is a positive integer; carrying out priority sequencing on the N test groups, and carrying out priority sequencing on samples in the test groups to obtain the test sequencing of all the samples; and sequentially testing all samples according to the test sequence. By adopting the sample testing method and device in the embodiment of the invention, the sample detection efficiency can be improved.

Description

Method and device for testing sample and computer readable storage medium
Technical Field
The invention relates to the technical field of medical treatment, in particular to a sample testing method and device and a computer-readable storage medium.
Background
Currently, a plurality of samples are usually placed on a test tube rack, each sample needs to complete a plurality of test items, and the test item combinations to be completed by the respective samples may be different, for example, the test item combination of the sample at the position 1 is (a + B), and the test item combination of the sample at the position 2 is (a + C + D).
In the prior art, in order to meet different testing requirements of the above samples, a plurality of test patterns for simultaneously completing a plurality of test items are provided in the testing apparatus, for example, a first test pattern may be simultaneously completed as (a + B), and a second test pattern may be simultaneously completed as (a + C + D). When testing a plurality of samples on the test-tube rack, the test instrument with the function can test the samples in sequence according to the position sequence of the samples on the test-tube rack.
However, since only one test item combination can be tested in one test mode, the test efficiency is low because the test mode needs to be switched repeatedly during the actual test process.
Disclosure of Invention
The embodiment of the invention provides a sample testing method and device and a computer readable storage medium, which are used for improving testing efficiency.
In a first aspect, an embodiment of the present invention provides a method for testing a sample, where the method includes:
classifying samples with the same test mode in all samples on the test tube rack into the same test group to obtain N test groups, wherein N is a positive integer;
carrying out priority sequencing on the N test groups, and carrying out priority sequencing on samples in the test groups to obtain the test sequencing of all the samples;
and sequentially testing all samples according to the test sequence.
In some embodiments of the first aspect, said prioritizing the N test groups comprises:
determining the number of feature samples in the test set;
and if the number of the characteristic samples of the N test groups is not equal, sequencing the N test groups according to the sequence of the number of the characteristic samples from small to large, wherein the characteristic samples are samples with actual position numbers larger than reference position numbers.
In some embodiments of the first aspect, said prioritizing the N test groups comprises:
determining the number of feature samples in the test set;
if the number of the characteristic samples of the N test groups is not equal, sequencing the N test groups according to the sequence of the number of the characteristic samples from small to large, wherein the characteristic samples are samples with actual position numbers larger than reference position numbers;
confirming whether the N test groups contain a specified test group or not, wherein the specified test group is the test group with the same test mode as the last test mode of the last finished test tube rack;
if the N test groups comprise the appointed test group, the ordering of the appointed test group is referred to the top in the ordering of the N test groups.
In some embodiments of the first aspect, said prioritizing the N test groups comprises:
determining the number of feature samples in the test set;
if the number of the characteristic samples of the N test groups is partially equal or all equal, taking the test groups with the equal number of the characteristic samples as first test groups, and taking the test groups with the unequal number of the characteristic samples as second test groups, wherein the characteristic samples are samples with actual position numbers larger than reference position numbers;
sequencing the first test group according to the sequence of the position number of the first sample in the first test group from first to last;
sequencing the second test group according to the sequence of the number of the characteristic samples from small to large;
and inserting the sequencing result of the first test group into the sequencing result of the second test group according to the sequence of the number of the characteristic samples from small to large.
In some embodiments of the first aspect, said prioritizing the N test groups comprises:
determining the number of feature samples in the test set;
if the number of the characteristic samples of the N test groups is partially equal or all equal, taking the test groups with the equal number of the characteristic samples as first test groups, and taking the test groups with the unequal number of the characteristic samples as second test groups, wherein the characteristic samples are samples with actual position numbers larger than reference position numbers;
confirming whether the first test group contains a specified test group or not, wherein the specified test group is the test group with the same last test mode as the last test mode of the last finished test tube rack;
if the number of the first test groups is two and the two first test groups contain the specified test group, the sequence of the specified test group is referred to the top in the two first test groups;
sequencing the second test group according to the sequence of the number of the characteristic samples from small to large;
and inserting the sequencing result of the first test group into the sequencing result of the second test group according to the sequence of the number of the characteristic samples from small to large.
In some embodiments of the first aspect, said prioritizing the N test groups comprises:
determining the number of feature samples in the test set;
if the number of the feature samples of the N test groups is partially equal or all equal, taking the test groups with the equal number of the feature samples as first test groups, taking the test groups with the unequal number of the feature samples as second test groups, wherein the feature samples are samples with actual position numbers larger than reference position numbers;
confirming whether the first test group contains a specified test group or not, wherein the specified test group is the test group with the same last test mode as the last test mode of the last finished test tube rack;
if the number of the first test groups is more than two and the first test group does not contain the specified test group, sequencing the first test groups according to the sequence of the position numbers of the first samples in the first test group from first to last;
sequencing the second test group according to the sequence of the number of the characteristic samples from small to large;
and inserting the sequencing result of the first test group into the sequencing result of the second test group according to the sequence of the number of the characteristic samples from small to large.
In some embodiments of the first aspect, said prioritizing the N test groups comprises:
determining the number of feature samples in the test set;
if the number of the feature samples of the N test groups is partially equal or all equal, taking the test groups with the equal number of the feature samples as first test groups, taking the test groups with the unequal number of the feature samples as second test groups, wherein the feature samples are samples with actual position numbers larger than reference position numbers;
confirming whether the first test group contains a specified test group or not, wherein the specified test group is the test group with the same last test mode as the last test mode of the last finished test tube rack;
if the number of the first test groups is more than two and the first test groups comprise the specified test groups, pre-sequencing the first test groups according to the sequence of the position numbers of the first samples in the first test groups from first to last;
in the pre-sorting of the first test group, the sorting of the specified test group is referred to be the top, and the sorting of other first test groups is unchanged, so that the sorting result of the first test group is obtained;
sequencing the second test group according to the sequence of the number of the characteristic samples from small to large;
and inserting the sequencing result of the first test group into the sequencing result of the second test group according to the sequence of the number of the characteristic samples from small to large.
In some embodiments of the first aspect, said prioritizing the N test groups comprises:
and sequencing the N test groups according to the sequence of the position number of the first sample in the test groups from first to last.
In some embodiments of the first aspect, said prioritizing the samples within the test set comprises:
and sequencing the samples in the test group according to the sequence of the position numbers of the samples in the test group from first to last.
In some embodiments of the first aspect, the testing method further comprises:
if a sample needs to be retested, judging whether the test mode of the sample needing to be retested is the same as that of the current sample;
and if the test mode of the sample needing to be retested is the same as that of the current sample, testing the sample needing to be retested after the test of the current sample is finished.
And if the test mode of the sample needing to be retested is different from that of the current sample, testing the sample needing to be retested after testing all samples on the current test tube rack.
In some embodiments of the first aspect, the testing method further comprises:
and if the number of the samples needing to be retested is two or more, sequentially testing all the samples needing to be retested according to the sequence of the position numbers of the samples needing to be retested from first to last.
In some embodiments of the first aspect, if all samples on the current tube rack located before the reference position and the reference position are tested and there is no sample needing to be retested, then sample preparation for the next tube rack is performed.
In a second aspect, embodiments of the present invention provide a sample testing device, which includes a conveyor belt, a sampler, a feeding platform, and an unloading platform;
the feeding platform is arranged at the feeding position of the conveyor belt and used for placing the test tube rack loaded with the samples to be tested on the conveyor belt;
the unloading platform is arranged at the unloading position of the conveyor belt and used for moving the test tube rack out of the conveyor belt after all samples on the test tube rack are tested;
the sampler is located above the conveyor belt, the conveyor belt is used for sequentially conveying all samples on the current test tube rack placed on the conveyor belt to the position of the sampler according to the sample testing method, and the sampler sequentially samples all the samples.
In some embodiments of the second aspect, the feeding platform is further configured to,
and if all samples on the current test tube rack positioned in the reference position and before the reference position are tested and no sample needing to be rechecked exists, carrying out sample injection preparation on the next test tube rack.
In a third aspect, an embodiment of the present invention provides a sample testing apparatus, where the testing apparatus includes a memory, a processor, and a program stored in the memory and executable on the processor, and the processor implements the sample testing method as described above when executing the program.
In a fourth aspect, embodiments of the present invention provide a computer-readable storage medium, on which a program is stored, which when executed by a processor, implements a method for testing a sample as described above.
According to the embodiment of the invention, when a plurality of samples with different test modes on the test tube rack are tested, samples with the same test mode in all samples on the current test tube rack are classified into the same test group, so that N test groups are obtained, wherein N is a positive integer. And carrying out priority sequencing on the N test groups, and carrying out priority sequencing on the samples in the test groups to obtain the test sequencing of all the samples. And sequentially testing all samples according to the test sequence. According to the embodiment of the invention, the samples with the same test items are classified into the same test group, so that the samples with the same test items can be tested in a centralized manner, repeated switching among different test modes can be avoided, and the test efficiency can be improved.
Drawings
The present invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings, in which like or similar reference characters designate like or similar features.
FIG. 1 is a schematic flow chart of a sample testing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for prioritizing N test sets according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for prioritizing N test sets according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for prioritizing N test sets according to a fourth embodiment of the present invention;
FIG. 5 is a flowchart illustrating a method for prioritizing N test sets according to a fifth embodiment of the present invention;
FIG. 6 is a flowchart illustrating a method for prioritizing N test sets according to a sixth embodiment of the present invention;
FIG. 7 is a flowchart illustrating a method for prioritizing N test sets according to a seventh embodiment of the present invention;
FIG. 8 is a flowchart illustrating a sample testing method according to an eighth embodiment of the present invention;
FIG. 9 is a schematic flow chart of a sample testing method according to a ninth embodiment of the present invention;
fig. 10 is a schematic structural view of a sample testing device according to a tenth embodiment of the present invention.
Detailed Description
Features of various aspects of embodiments of the invention and exemplary embodiments will be described in detail below. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of embodiments of the invention. It will be apparent, however, to one skilled in the art that the embodiments of the invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the embodiments of the present invention by way of illustration of the embodiments of the present invention. The embodiments of the invention are in no way limited to any specific configuration and algorithm set forth below, but rather cover any modification, replacement, or improvement of elements, components, and algorithms without departing from the spirit of the invention. In the drawings and the following description, well-known structures and techniques are not shown in order to avoid unnecessarily obscuring the embodiments of the invention.
The sample testing method and device provided by the embodiment of the invention are applied to analytical instruments in the medical or chemical field, such as a blood cell analyzer for testing blood samples. It is often necessary to perform a number of test items, such as DIFF, CBC, WNR or WPC, etc., on a blood sample.
Generally, the above-mentioned plurality of test items are combined in two or more ways, and a combination of one test item is referred to as a test pattern. By adopting the sample testing method and the sample testing device provided by the embodiment of the invention, the testing sequence of a plurality of samples to be tested can be adjusted based on the testing mode in the actual testing process, so that the different testing modes can be repeatedly switched, and the testing efficiency of the samples can be effectively improved.
The technical solution of the embodiment of the present invention is explained in detail below.
Fig. 1 is a schematic flow chart of a sample testing method according to an embodiment of the present invention. As shown in fig. 1, the method for testing a sample includes steps 101 to 103.
In step 101, classifying samples with the same test mode in all samples on the test tube rack into the same test group to obtain N test groups, wherein N is a positive integer;
wherein, be provided with a plurality of test tube grooves along the horizontal direction in proper order at the test-tube rack, every test tube groove corresponds a sample position. And respectively placing the test tubes with the samples in different test tube grooves.
In step 102, performing priority ordering on the N test groups, and performing priority ordering on samples in the test groups to obtain test ordering of all samples;
in step 103, all samples are tested in sequence according to the test sequence.
According to the embodiment of the invention, when a plurality of samples with different test modes on the test tube rack are tested, samples with the same test mode in all samples on the current test tube rack are classified into the same test group, so that N test groups are obtained, wherein N is a positive integer. And carrying out priority sequencing on the N test groups, and carrying out priority sequencing on the samples in the test groups to obtain the test sequencing of all the samples. And sequentially testing all samples according to the test sequence. According to the embodiment of the invention, the samples with the same test items are classified into the same test group, so that the samples with the same test items can be tested in a centralized manner, repeated switching among different test modes can be avoided, and the test efficiency can be improved.
In practical applications, the prioritization of the N test sets in step 102 may include a variety of situations according to embodiments of the present invention.
Referring to FIG. 2, in a first prioritization of N test sets at step 102, steps 201-202 are included.
In step 201, the number of feature samples within the test set is determined.
Wherein the feature sample is a sample having an actual position number greater than the reference position number.
In the process of testing a plurality of samples, the reference position number can be a number corresponding to a centered sample position on the test tube rack, and any sample position can be selected as a reference position according to the actual test condition. The centered sample position refers to a sample position near the middle area, and may be centered to the left or centered to the right. The centered position of the sample may be different depending on the parity of the total number of sample positions. If the total number of sample positions is odd 2M +1, then the reference position number is M; if the total number of sample positions is even 2M, the reference position number is M +1, and M is a positive integer.
In step 202, if the number of the feature samples of the N test groups is not equal, the N test groups are sorted according to the order from small to large of the number of the feature samples, and the feature samples are samples with actual position numbers greater than reference position numbers.
As can be seen from the above, the first priority ranking manner of step 102 is used to rank the N test groups when the numbers of the feature samples of the N test groups are not equal.
Referring to FIG. 3, in a second prioritization of N test sets at step 102, steps 301-304 are included.
In step 301, determining the number of feature samples in the test set;
in step 302, if the number of the feature samples of the N test groups is not equal, the N test groups are sorted according to the order of the number of the feature samples from small to large, and the feature samples are samples with actual position numbers greater than reference position numbers;
in step 303, it is determined whether the N test groups include a designated test group, where the designated test group is the same test group as the last test mode of the last completed test tube rack;
in step 304, if the N test groups include the designated test group, the designated test group is sorted to the top in the sorting of the N test groups.
As can be seen from the above, the second priority sorting manner of step 102 is used to sort the N test groups when the number of feature samples of the N test groups is not equal and includes the designated test group.
It should be noted that, step 301 and step 302 in fig. 3 are the same as step 201 and step 202 in fig. 2, respectively, and in order to clearly describe the technical solution in fig. 3, the number 201 is adjusted to the number 301, and the number 202 is adjusted to the number 302.
Referring to FIG. 4, in a third prioritization of N test sets at step 102, steps 401-405 are included.
In step 401, the number of feature samples within the test set is determined.
In step 402, if the number of feature samples of the N test groups is partially or completely equal, the test groups with the equal number of feature samples are regarded as a first test group, and the test groups with the unequal number of feature samples are regarded as a second test group.
In step 403, the first test group is sorted in order from the first to the last of the position numbers of the first sample in the first test group.
In step 404, the second test set is sorted in order of the number of feature samples from small to large.
In step 405, the sorting results of the first test group are inserted into the sorting results of the second test group in the order from the small number of the feature samples to the large number of the feature samples.
As can be seen from the above, the third priority ranking manner of step 102 is used to rank the N test groups when the number of feature samples of the N test groups is partially or completely equal.
It should be noted that step 401 in fig. 4 is the same as step 201 in fig. 2, and in order to clearly describe the technical solution in fig. 4, number 201 is adjusted to number 401.
Referring to FIG. 5, in a fourth prioritization of N test sets of step 102, steps 501-506 are included.
In step 501, the number of feature samples within the test set is determined.
In step 502, if the number of feature samples of the N test groups is partially or completely equal, the test groups with the equal number of feature samples are regarded as a first test group, and the test groups with the unequal number of feature samples are regarded as a second test group.
In step 503, it is determined whether the first test set includes a designated test set, where the designated test set is the same test set as the last test pattern of the last completed test tube rack.
In step 504, if the number of the first test groups is two and the two first test groups include the designated test group, the order of the designated test group is mentioned as the top in the two first test groups.
In step 505, the second test set is sorted in order of the number of feature samples from small to large.
In step 506, the sorting results of the first test group are inserted into the sorting results of the second test group in the order from the small number of the feature samples to the large number of the feature samples.
As can be seen from the above, the fourth priority ordering manner of step 102 is used to order the N test groups when the number of feature samples of the N test groups is partially or completely equal, the number of the first test groups is two, and the two first test groups include the designated test group.
It should be noted that step 501 in fig. 5 is the same as step 201 in fig. 2; step 502, step 505 and step 506 in fig. 5 correspond to step 402, step 404 and step 405 in fig. 4, respectively. To clearly describe the technical solution in fig. 5, number 201 is adjusted to number 501; number 402 is adjusted to number 502; number 404 is adjusted to number 505; number 405 is adjusted to number 506.
Referring to FIG. 6, in a fifth prioritization of N test sets at step 102, steps 601-606 are included.
In step 601, the number of feature samples within the test set is determined.
In step 602, if the number of feature samples of the N test groups is partially or completely equal, the test groups with the equal number of feature samples are regarded as a first test group, and the test groups with the unequal number of feature samples are regarded as a second test group.
In step 603, it is determined whether the first test set includes a designated test set, where the designated test set is the same test set as the last test pattern of the last completed test tube rack.
In step 604, if the number of the first test groups is greater than two and the first test group does not include the designated test group, the first test groups are sorted according to the order of the position number of the first sample in the first test group from the first to the last.
In step 605, the second test set is sorted in order of the number of feature samples from small to large.
In step 606, the sorting results of the first test group are inserted into the sorting results of the second test group in the order from the small number of the feature samples to the large number of the feature samples.
As can be seen from the above, the fifth priority sorting manner of step 102 is used to sort the N test groups when the number of feature samples of the N test groups is partially or completely equal, the number of the first test groups is greater than two, and the first test group does not include the designated test group.
It should be noted that step 601 in fig. 6 is the same as step 201 in fig. 2; step 602, step 605 and step 606 in fig. 6 correspond to step 402, step 404 and step 405 in fig. 4, respectively; step 603 in fig. 6 is the same as step 503 in fig. 5; to clearly describe the solution in fig. 6, number 201 is adjusted to number 601; number 402 is adjusted to number 602; number 404 is adjusted to number 605; adjust number 405 to number 606; number 503 is adjusted to 603.
Referring to FIG. 7, in a sixth prioritization of N test sets of step 102, steps 701-707 are included.
In step 701, the number of feature samples within the test set is determined.
In step 702, if the number of feature samples of the N test groups is partially or completely equal, the test groups with the equal number of feature samples are regarded as a first test group, and the test groups with the unequal number of feature samples are regarded as a second test group.
In step 703, it is determined whether the first test group includes a designated test group, where the designated test group is the same test group as the last test pattern of the last completed test tube rack.
In step 704, if the number of the first test groups is greater than two and the first test group includes the designated test group, the first test groups are pre-sorted according to the order of the position number of the first sample in the first test group from the first to the last.
In step 705, in the pre-ranking of the first test group, the ranking of the specified test group is referred to the top, and the rankings of other first test groups are not changed, so as to obtain the ranking result of the first test group.
In step 706, the second test set is sorted in order of the number of feature samples from small to large.
In step 707, the sorting result of the first test group is inserted into the sorting result of the second test group in the order from the small number of the feature samples to the large number of the feature samples.
As can be seen from the above, the sixth priority sorting manner of step 102 is used to sort the N test groups when the number of feature samples of the N test groups is partially or completely equal, the number of the first test groups is greater than two, and the first test group includes the designated test group.
It should be noted that step 701 in fig. 7 is the same as step 201 in fig. 2; step 702, step 706 and step 707 in fig. 7 correspond to step 402, step 404 and step 405 in fig. 4, respectively; step 703 in fig. 7 is the same as step 503 in fig. 5. To clearly describe the technical solution in fig. 7, number 201 is adjusted to number 701; number 402 is adjusted to number 702; number 404 is adjusted to number 706; adjust number 405 to number 707; number 503 is adjusted to 703.
Furthermore, in order to simplify the sorting logic, in the seventh priority sorting manner of the N test sets in step 102, the N test sets may be sorted directly according to the order from the first to the last of the position numbers of the first samples in the test set.
Similarly, in prioritizing the samples within the test set at step 102, the samples within the test set may be ordered in order of the position numbers of the samples in the test set from first to last.
Next, in order to facilitate the understanding of the multiple prioritization manners of step 102 by those skilled in the art, fig. 8 shows steps 801-814, and those skilled in the art can derive the multiple prioritization manners of step 102 through the steps in fig. 8.
In step 801, the number of feature samples within the test set is determined.
In step 802, the number of feature samples within the N test sets is determined. The number of the feature samples of the N test groups includes the conditions of inequality, partial equality or total equality.
If the judgment result indicates that the numbers of the feature samples in the N test groups are not equal, step 803 is executed.
In step 803, the N test groups are sorted in order of the number of feature samples from small to large.
If the number of the feature samples in the N test groups is partially or completely equal, step 804 is executed.
In step 804, the test groups with the same number of feature samples are used as the first test group, and the test groups with different numbers of feature samples are used as the second test group.
In step 805, the number of first test sets is determined. Wherein the number of first test sets includes a case equal to two or greater than two.
If the number of the first test sets is equal to two, step 806 is executed.
If the number of the first testing groups is greater than two, step 807 is executed.
In step 806, it is determined whether the first test set includes a specified test set. Wherein the specified test group is the same test group as the last test pattern of the last completed test tube rack.
If yes, go to step 808.
If the determination result is negative, go to step 811.
In step 807, it is determined whether the first test set contains a specified test set.
If yes, go to step 809.
If the determination result is negative, go to step 811.
Note that the contents of step 806 and step 807 are substantially the same. To clearly illustrate the scheme in fig. 8, the numbering of the two is differentiated.
In step 808, the ordering of the specified test set is referred to top in the two first test sets. Step 812 is then performed.
In step 809, the first test set is pre-ordered in order from first to last by the position number of the first sample in the first test set.
In step 810, in the pre-sorting of the first test group, the sorting of the designated test group is referred to be the top, and the sorting of other first test groups is not changed, so as to obtain the sorting result of the first test group. Step 812 is then performed.
In step 811, the first test set is sorted in order from the first to the last of the position numbers of the first samples in the first test set.
In step 812, the second test set is sorted in order of the number of feature samples from small to large.
In step 813, the sorted results of the first test group are inserted into the sorted results of the second test group in the order of the number of feature samples from small to large.
In step 814, the samples in the test group are sorted according to the order of the position numbers of the samples in the test group from first to last, so as to obtain the test order of all the samples.
Fig. 9 is a schematic flow chart of a sample testing method according to another embodiment of the present invention. Fig. 9 differs from fig. 1 in that the steps in fig. 9 further include steps 104-108. For cases where the sample needs to be retested.
In step 104, it is determined whether there is a sample to be retested.
In step 105, if there is a sample that needs to be retested, it is determined whether the test pattern of the sample that needs to be retested is the same as the test pattern of the current sample. If no sample needs to be retested, the process returns to step 103.
In step 106, if the test pattern of the sample to be retested is the same as the test pattern of the current sample, it is determined whether the test of the current sample is completed.
In step 107, after the test of the current sample is completed, the sample to be retested is tested. If the number of the samples needing to be retested is two or more, all the samples needing to be retested are tested in sequence from first to last according to the position numbers of the samples needing to be retested.
In step 108, if the test pattern of the sample to be retested is different from the test pattern of the current sample, it is determined whether all the samples are tested completely. And after the test of all samples on the current test tube rack is finished, testing the samples needing to be rechecked.
According to the embodiment of the invention, when the sample is tested according to the sample testing method, a sample processing list can be set, and the testing sequence of the sample can be managed through the sample processing list. A test state characterization column for the sample may also be added to the sample handling list. And after the sample is tested, updating the test state of the sample in the sample processing list. The test status of the sample may include undetected, detected and to-be-retested. In one example, after the sample is detected, the test state of the sample in the sample processing list is changed from 'undetected' to 'detected' or 'to be rechecked';
in addition, according to the embodiment of the invention, if all samples on the current test tube rack before the reference position and the reference position are tested and no sample needing to be rechecked exists, sample injection preparation for the next test tube rack is carried out.
Fig. 10 is a schematic structural diagram of a sample testing device according to an embodiment of the present invention. The apparatus for testing the sample in fig. 10 includes a conveyor 110, a sampler 120, a feeding stage 130, and an unloading stage 140.
Wherein, the feeding platform 130 is disposed at the feeding position of the conveyor belt 110, and is used for placing the test tube rack 150 loaded with the sample to be tested on the conveyor belt 110. The unloading platform 140 is disposed at the unloading position of the conveyor belt 110, and is used for removing the test tube rack 150 from the conveyor belt 110 after all samples on the test tube rack 150 are tested.
The sampler 120 is located above the conveyor 110, and the conveyor 110 is used to sequentially convey all samples on the test tube rack 150 placed on the conveyor 110 to the position of the sampler 120 according to the sample testing method described above, and the sampler 120 sequentially samples all samples.
Fig. 10 also shows the feeding direction of the feeding platform 130 and the unloading direction of the unloading platform 140 of the sample testing apparatus according to the embodiment of the present invention, respectively, and if all samples on the current test tube rack 151 located before the reference position and the reference position are tested and there is no sample requiring review, the feeding platform 130 performs sample preparation for the next test tube rack 152. The test sequences of the plurality of test tube racks shown in fig. 10 are a current test tube rack 151, a next test tube rack 152, and a third test tube rack 153 in this order.
In the sample testing apparatus shown in fig. 10, one test tube rack 150 can hold 10 test tubes. As indicated by the dashed line, the sixth sample position is preferably selected as the sample position, i.e. the reference position described above. So set up, can shorten the wait for advance kind time of next test-tube rack 152. Wherein, the sampling position can be adjusted correspondingly with the number of test tubes that can be placed on the test tube rack 150 or the change of the testing device structure.
It should be noted that the conveyor belt 110 in the embodiment of the present invention may move in a forward direction or a reverse direction, so that all samples on the current test tube rack 151 placed on the conveyor belt 110 may be sequentially conveyed to the position of the sampler 120 according to the sample testing method described above, and all samples may be sequentially tested by the sampler 120. In one example, if the sample level exceeds the sampling level but is not sampled, the conveyor 110 may be driven by a controller disposed in the sample testing device to move in a reverse direction, so as to return the non-sampled sample to the sampling level according to the testing sequence of the sample.
It should be noted that the sample testing apparatus provided in the embodiments of the present invention includes a memory, a processor, and a program stored in the memory and executable on the processor, and the processor is configured to implement the method described above when executing the program.
It should be further noted that the embodiment of the present invention also provides a computer readable storage medium, on which a program is stored, and the program is used for implementing the above method when being executed by a processor. A "computer-readable storage medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the embodiments of the invention are not limited to the particular configurations and processes described above and shown in the figures. Also, a detailed description of known process techniques is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the embodiments of the present invention are not limited to the specific steps described and illustrated, and those skilled in the art may make various changes, modifications and additions or change the order between the steps after comprehending the spirit of the embodiments of the present invention.
It will be appreciated by persons skilled in the art that the above embodiments are illustrative and not restrictive. Different features which are present in different embodiments may be combined to advantage. Other variations to the disclosed embodiments can be understood and effected by those skilled in the art upon studying the drawings, the specification, and the claims. In the claims, the term "comprising" does not exclude other means or steps; the indefinite article "a" does not exclude a plurality; the terms "first" and "second" are used to denote a name and not to denote any particular order. Any reference signs in the claims shall not be construed as limiting the scope. The functions of the various parts appearing in the claims may be implemented by a single hardware or software module. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.

Claims (16)

1. A method of testing a sample, comprising:
classifying samples with the same test mode in all samples on the test tube rack into the same test group to obtain N test groups, wherein N is a positive integer;
determining the number of feature samples in the test set;
carrying out priority sequencing on the N test groups according to the number of the characteristic samples, and carrying out priority sequencing on the samples in the test groups to obtain the test sequencing of all the samples;
and sequentially testing all samples according to the test sequence.
2. The method of claim 1, wherein the prioritizing the N test groups comprises:
and if the number of the characteristic samples of the N test groups is not equal, sequencing the N test groups according to the sequence of the number of the characteristic samples from small to large, wherein the characteristic samples are samples with actual position numbers larger than reference position numbers.
3. The method of claim 1, wherein the prioritizing the N test groups comprises:
if the number of the characteristic samples of the N test groups is not equal, sequencing the N test groups according to the sequence of the number of the characteristic samples from small to large, wherein the characteristic samples are samples with actual position numbers larger than reference position numbers;
confirming whether the N test groups contain a specified test group or not, wherein the specified test group is the test group with the same test mode as the last test mode of the last finished test tube rack;
if the N test groups comprise the appointed test group, the ordering of the appointed test group is referred to the top in the ordering of the N test groups.
4. The method of claim 1, wherein the prioritizing the N test groups comprises:
if the number of the characteristic samples of the N test groups is partially equal or all equal, taking the test groups with the equal number of the characteristic samples as first test groups, and taking the test groups with the unequal number of the characteristic samples as second test groups, wherein the characteristic samples are samples with actual position numbers larger than reference position numbers;
sequencing the first test group according to the sequence of the position number of the first sample in the first test group from first to last;
sequencing the second test group according to the sequence of the number of the characteristic samples from small to large;
and inserting the sequencing result of the first test group into the sequencing result of the second test group according to the sequence of the number of the characteristic samples from small to large.
5. The method of claim 1, wherein the prioritizing the N test groups comprises:
if the number of the feature samples of the N test groups is partially equal or all equal, taking the test groups with the equal number of the feature samples as first test groups, taking the test groups with the unequal number of the feature samples as second test groups, wherein the feature samples are samples with actual position numbers larger than reference position numbers;
confirming whether the first test group contains a specified test group or not, wherein the specified test group is the test group with the same last test mode as the last test mode of the last finished test tube rack;
if the number of the first test groups is two and the two first test groups contain the specified test group, the sequence of the specified test group is referred to the top in the two first test groups;
sequencing the second test group according to the sequence of the number of the characteristic samples from small to large;
and inserting the sequencing result of the first test group into the sequencing result of the second test group according to the sequence of the number of the characteristic samples from small to large.
6. The method of claim 1, wherein the prioritizing the N test groups comprises:
if the number of the feature samples of the N test groups is partially equal or all equal, taking the test groups with the equal number of the feature samples as first test groups, taking the test groups with the unequal number of the feature samples as second test groups, wherein the feature samples are samples with actual position numbers larger than reference position numbers;
confirming whether the first test group contains a specified test group or not, wherein the specified test group is the test group with the same last test mode as the last test mode of the last finished test tube rack;
if the number of the first test groups is more than two and the first test group does not contain the specified test group, sequencing the first test groups according to the sequence of the position numbers of the first samples in the first test group from first to last;
sequencing the second test group according to the sequence of the number of the characteristic samples from small to large;
and inserting the sequencing result of the first test group into the sequencing result of the second test group according to the sequence of the number of the characteristic samples from small to large.
7. The method of claim 1, wherein the prioritizing the N test groups comprises:
if the number of the feature samples of the N test groups is partially equal or all equal, taking the test groups with the equal number of the feature samples as first test groups, taking the test groups with the unequal number of the feature samples as second test groups, wherein the feature samples are samples with actual position numbers larger than reference position numbers;
confirming whether the first test group contains a specified test group or not, wherein the specified test group is the test group with the same last test mode as the last test mode of the last finished test tube rack;
if the number of the first test groups is more than two and the first test groups comprise the specified test groups, pre-sequencing the first test groups according to the sequence of the position numbers of the first samples in the first test groups from first to last;
in the pre-sorting of the first test group, the sorting of the specified test group is referred to be the top, and the sorting of other first test groups is unchanged, so that the sorting result of the first test group is obtained;
sequencing the second test group according to the sequence of the number of the characteristic samples from small to large;
and inserting the sequencing result of the first test group into the sequencing result of the second test group according to the sequence of the number of the characteristic samples from small to large.
8. The method of claim 1, wherein the prioritizing the N test groups comprises:
and sequencing the N test groups according to the sequence of the position number of the first sample in the test groups from first to last.
9. The method of claim 1, wherein the prioritizing the samples within the test group comprises:
and sequencing the samples in the test group according to the sequence of the position numbers of the samples in the test group from first to last.
10. The testing method of claim 1, further comprising:
if a sample needs to be retested, judging whether the test mode of the sample needing to be retested is the same as that of the current sample;
if the test mode of the sample needing to be retested is the same as that of the current sample, testing the sample needing to be retested after the test of the current sample is finished;
and if the test mode of the sample needing to be retested is different from that of the current sample, testing the sample needing to be retested after testing all samples on the current test tube rack.
11. The testing method of claim 10, further comprising:
and if the number of the samples needing to be retested is two or more, sequentially testing all the samples needing to be retested according to the sequence of the position numbers of the samples needing to be retested from first to last.
12. The test method according to claim 1, wherein if all samples on the current test tube rack located at and before the reference position are tested and there is no sample to be retested, then sample preparation for the next test tube rack is performed.
13. The sample testing device is characterized by comprising a conveyor belt, a sampler, a feeding platform and an unloading platform;
the feeding platform is arranged at the feeding position of the conveyor belt and used for placing the test tube rack loaded with the samples to be tested on the conveyor belt;
the unloading platform is arranged at the unloading position of the conveyor belt and used for moving the test tube rack out of the conveyor belt after all samples on the test tube rack are tested;
the sampler is located above the conveyor belt, the conveyor belt is used for conveying all samples on the current test tube rack placed on the conveyor belt to the position of the sampler in sequence according to the sample testing method of any one of claims 1 to 11, and the sampler samples all samples in sequence.
14. The testing device of claim 13, wherein the feeding platform is further configured to,
and if all samples on the current test tube rack before the reference position and the reference position are tested and no sample needing to be rechecked exists, carrying out sample injection preparation on the next test tube rack.
15. A sample testing device comprising a memory, a processor and a program stored on the memory and executable on the processor, wherein the processor implements the method of testing a sample according to any one of claims 1 to 12 when executing the program.
16. A computer-readable storage medium, on which a program is stored, which, when being executed by a processor, carries out a method of testing a sample according to any one of claims 1 to 12.
CN201710478602.1A 2017-06-22 2017-06-22 Method and device for testing sample and computer readable storage medium Active CN107703318B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710478602.1A CN107703318B (en) 2017-06-22 2017-06-22 Method and device for testing sample and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710478602.1A CN107703318B (en) 2017-06-22 2017-06-22 Method and device for testing sample and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107703318A CN107703318A (en) 2018-02-16
CN107703318B true CN107703318B (en) 2020-09-04

Family

ID=61170447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710478602.1A Active CN107703318B (en) 2017-06-22 2017-06-22 Method and device for testing sample and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107703318B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111351952B (en) * 2018-12-20 2024-04-02 深圳迈瑞生物医疗电子股份有限公司 Sample analysis system and sample injection method thereof
CN112820390A (en) * 2019-11-15 2021-05-18 深圳迈瑞生物医疗电子股份有限公司 Priority setting method, priority testing method and sample analysis system
CN112881344B (en) * 2019-11-29 2022-01-28 深圳市帝迈生物技术有限公司 Sample detection method, sample detection device, sample analyzer and storage medium
CN113376388A (en) * 2020-03-10 2021-09-10 深圳迈瑞生物医疗电子股份有限公司 Sample analysis system and sample analysis method
CN111632872A (en) * 2020-06-08 2020-09-08 重庆微标惠智医疗信息技术有限公司 Test tube shunting device and method
CN114755435B (en) * 2022-06-13 2022-09-09 深圳市帝迈生物技术有限公司 Sample detection control method, sample detection control device, sample analysis system, and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05142232A (en) * 1991-11-20 1993-06-08 Hitachi Ltd Specimen allocating system for clinical
CN101769934A (en) * 2008-12-26 2010-07-07 希森美康株式会社 Sample testing system and transporting apparatus
CN102449487A (en) * 2009-05-27 2012-05-09 株式会社日立高新技术 Specimen testing device management server, specimen testing device, specimen testing system, and specimen testing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2776848B1 (en) * 2011-11-07 2019-12-25 Beckman Coulter, Inc. System and method for transporting sample containers

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05142232A (en) * 1991-11-20 1993-06-08 Hitachi Ltd Specimen allocating system for clinical
CN101769934A (en) * 2008-12-26 2010-07-07 希森美康株式会社 Sample testing system and transporting apparatus
CN102449487A (en) * 2009-05-27 2012-05-09 株式会社日立高新技术 Specimen testing device management server, specimen testing device, specimen testing system, and specimen testing method

Also Published As

Publication number Publication date
CN107703318A (en) 2018-02-16

Similar Documents

Publication Publication Date Title
CN107703318B (en) Method and device for testing sample and computer readable storage medium
CN109212242B (en) Sample rack carrying and transporting device and sample rack transporting method
CN108196080A (en) Sample transport method and apparatus, test equipment and computer readable storage medium
EP2804002A1 (en) Laboratory automated system with common sample buffer module
CN107884589A (en) Blood sample check device and blood sample inspection method
CN112798800A (en) Sample analysis system and sample planning method thereof
JP2017054331A (en) Image sorting method, method for configuring sorter, and image sorting device
Damaschke et al. Randomized group testing both query-optimal and minimal adaptive
CN109911542B (en) Scheduling method and device of assembly line equipment
CN103678315A (en) Image processing device, image processing method and electronic equipment
US20080234944A1 (en) Method and Apparatus for Subset Selection with Preference Maximization
CN106446254A (en) File detection method and device
CN111398609A (en) Sample rack scheduling method and sample introduction processing system
CN114829933A (en) Sample analysis system and automatic precision management method thereof
CN112578134A (en) Sample analysis system and control method thereof
CN110287238A (en) A kind of exception water quality detection method and system based on priori knowledge
CN107102892B (en) The treating method and apparatus of timer
CN110062979B (en) Battery matching across multiple characteristics during battery pack assembly
CN104572029A (en) Combinability and combination rule judgment method and device of finite state machine
EP2485055B1 (en) Specimen preprocessing system
CN109911540A (en) A kind of dispatching method and device of pipelining equipment
CN112529112B (en) Mineral identification method and device
US8598888B2 (en) System and method for improved testing of electronic devices
CN112782411B (en) Sample retest strategy setting method, retest method and sample analysis system
CN112345776A (en) Sample analysis system, sample analysis device and sample testing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant