[go: up one dir, main page]

CN116660561A - Sample detection method and sample detection system - Google Patents

Sample detection method and sample detection system Download PDF

Info

Publication number
CN116660561A
CN116660561A CN202310540127.1A CN202310540127A CN116660561A CN 116660561 A CN116660561 A CN 116660561A CN 202310540127 A CN202310540127 A CN 202310540127A CN 116660561 A CN116660561 A CN 116660561A
Authority
CN
China
Prior art keywords
sample
detection
target
instrument
detection instrument
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.)
Pending
Application number
CN202310540127.1A
Other languages
Chinese (zh)
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.)
Shanghai I Reader Biological Technology Co ltd
Original Assignee
Shanghai I Reader Biological Technology 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 Shanghai I Reader Biological Technology Co ltd filed Critical Shanghai I Reader Biological Technology Co ltd
Priority to CN202310540127.1A priority Critical patent/CN116660561A/en
Publication of CN116660561A publication Critical patent/CN116660561A/en
Pending legal-status Critical Current

Links

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
    • G01N35/0095Scheduling introducing urgent samples with priority, e.g. Short Turn Around Time Samples [STATS]
    • 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/0096Scheduling post analysis management of samples, e.g. marking, removing, storing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Or Analysing Biological Materials (AREA)
  • Investigating Or Analysing Materials By Optical Means (AREA)

Abstract

The application provides a sample detection method and a sample detection system, and relates to the technical field of automatic scheduling. The sample detection method realizes an automatic sample detection flow, and when the detection instrument is in an idle state, a target sample is determined from all samples to be detected according to the detection item type of the detection instrument, the sample information of the first sample buffer area, the sample information of the second sample buffer area and a predetermined target sample sampling mode, and is distributed to the detection instrument for detection. The problem of poor detection timeliness caused by manually distributing samples is effectively solved. The target sampling mode can be based on the actual condition of the detection system, so that the detection time of each detection instrument in the system is reasonably distributed, the determined sampling mode under the premise of optimizing the total detection time of the system is achieved, the target sample is determined according to the target sampling mode, the detection jam of the system can be avoided, the reasonable distribution of instrument detection is achieved, and the acquisition efficiency of the detection result is improved.

Description

Sample detection method and sample detection system
Technical Field
The application relates to the technical field of automatic scheduling, in particular to a sample detection method and a sample detection system.
Background
In the medical field, there is a need to detect samples. In general, for one test sample, it may be necessary to pass through multiple test instruments to perform multiple tests.
In the prior art, each detecting instrument is correspondingly allocated with one detecting engineer to carry out detection control, after the first detection of a sample on the previous instrument is finished, the detecting engineer controlling the instrument manually transfers the sample to the detecting engineer controlling the next instrument to carry out detection, and the like, and finally all the detection is finished.
However, the manual control method makes the time allocation of the sample detection less reasonable, and is easy to be interfered by the outside to lead to the lengthening of the detection time, thereby leading to the lower acquisition efficiency of the detection result.
Disclosure of Invention
The present application aims to overcome the above-mentioned drawbacks of the prior art, and to provide a sample detection method and a sample detection system, so as to improve the sample detection efficiency.
In order to achieve the above purpose, the technical scheme adopted by the embodiment of the application is as follows:
in a first aspect, an embodiment of the present application provides a sample detection method, applied to a controller in a sample detection system, the method including:
determining the current idle state of a test bit of a target detection instrument and the detection item type of the target detection instrument according to the current attribute information of the target detection instrument, wherein the target detection instrument is any one of the detection instruments which are currently in standby;
If the test bit of the target detection instrument is in an idle state currently, determining a target sample to be detected currently by the target detection instrument according to the detection item type of the target detection instrument, sample information of a first sample buffer area, sample information of a second sample buffer area and a predetermined target sample sampling mode, and distributing the target sample to the test bit of the target detection instrument for detection; wherein the sample information includes: whether there are samples, the order of arrangement of the samples, the type of detection item of the samples, and whether there are free buffer bits.
Optionally, before determining the current target sample to be detected by the target detection instrument according to the detection item type of the target detection instrument, the sample information of the first sample buffer area, the sample information of the second sample buffer area and the predetermined target sample sampling mode, the method includes:
and generating at least one candidate sample sampling mode according to the at least one sampling mode of the first sample buffer zone and the at least one sampling mode of the second sample buffer zone, wherein the candidate sample sampling mode comprises the following steps: a target sample sampling mode of the first sample buffer area and a target sample sampling mode of a second sample buffer area corresponding to each detection instrument;
And determining a target sample sampling mode from the candidate sample sampling modes according to the total detection time length of the detection system under the candidate sample sampling modes.
Optionally, the determining the target sample to be detected currently by the target detection apparatus according to the detection item type of the target detection apparatus, the sample information of the first sample buffer area, the sample information of the second sample buffer area, and a predetermined target sample sampling mode includes:
determining whether at least one candidate detection instrument corresponding to the target detection instrument exists according to sample information of a second sample buffer zone, wherein the candidate detection instrument is a detection instrument which is different from the detection item type of the target detection instrument in the detection system, and samples consistent with the detection item type of the target detection instrument are buffered in the second sample buffer zone corresponding to the detection instrument;
if at least one candidate detection instrument corresponding to the target detection instrument exists, determining the candidate detection instrument closest to the target detection instrument as a target candidate detection instrument;
and determining the target sample from the second sample buffer area corresponding to the target candidate detection instrument according to the detection item type of each sample in the second sample buffer area corresponding to the target candidate detection instrument and according to a target sample sampling mode of the second sample buffer area corresponding to the target candidate detection instrument.
Optionally, after determining whether there is at least one candidate detection instrument corresponding to the target detection instrument according to the sample information in the second sample buffer area, the method includes:
if at least one candidate detecting instrument corresponding to the target detecting instrument does not exist, determining the target sample from the first sample buffer area according to the detection item type of each sample in the first sample buffer area and the target sample sampling mode corresponding to the first sample buffer area.
Optionally, the distributing the target sample to the test position of the target detection instrument for detection includes:
and controlling the grabbing device to transmit the target sample to a test position of the target detection instrument.
Optionally, after the target sample is distributed to a test bit of the target detection instrument for detection, the method includes:
if the target detection instrument finishes detecting the target sample, determining whether the target sample currently has a to-be-detected item type according to the attribute information of the target sample;
if yes, the target sample is cached to a second sample cache area corresponding to the target detection instrument;
And if not, controlling the target sample to move out of the sample detection system.
Optionally, the method further comprises:
determining whether the first sample buffer area has idle buffer bits according to the sample information of the first sample buffer area;
and if so, distributing new samples to the idle buffer bits of the first sample buffer according to a predetermined target sample supplementing mode of the first sample buffer.
Optionally, the method further comprises:
the method comprises the steps of controlling a scanning device to scan each sample which does not enter a sample detection system, and acquiring attribute information of each sample, wherein the attribute information comprises: the type of item to be detected of the sample;
and receiving attribute information of each sample sent by the scanning equipment.
Optionally, before determining the current idle state of the test bit of the target detection instrument and the detection item type of the target detection instrument according to the current attribute information of the target detection instrument, the method further includes:
the target detection instrument is determined from at least one type of detection instrument to be used, wherein the at least one type of detection instrument to be used is determined according to daily average sample size, sample composition proportion, unit detection time of various detection items and preset instrument configuration information.
In a second aspect, an embodiment of the present application further provides a sample detection system, including: the controller, at least one sample buffer and at least one type of detection instrument to be used; the at least one sample buffer comprises: a first sample buffer area and a second sample buffer area corresponding to each detecting instrument; each detection instrument to be used and each sample buffer area are in communication connection with the controller;
the controller is configured to perform the sample detection method according to the first aspect.
In a third aspect, an embodiment of the present application further provides a sample detection apparatus, including: a determining module;
the determining module is used for determining the current idle state of the test bit of the target detection instrument and the detection item type of the target detection instrument according to the current attribute information of the target detection instrument, wherein the target detection instrument is any one of the detection instruments which are currently in standby;
the determining module is configured to determine, if the test bit of the target detection instrument is currently in an idle state, a target sample to be detected by the target detection instrument currently according to a detection item type of the target detection instrument, sample information of a first sample buffer area, sample information of a second sample buffer area, and a predetermined target sample sampling mode, and allocate the target sample to the test bit of the target detection instrument for detection; wherein the sample information includes: whether there are samples, the order of arrangement of the samples, the type of detection item of the samples, and whether there are free buffer bits.
Optionally, the apparatus further comprises: a generating module;
the generating module is configured to generate at least one candidate sample sampling mode according to at least one sampling mode of the first sample buffer area and at least one sampling mode of the second sample buffer area, where the candidate sample sampling mode includes: a target sample sampling mode of the first sample buffer area and a target sample sampling mode of a second sample buffer area corresponding to each detection instrument;
the determining module is further configured to determine a target sample sampling mode from the candidate sample sampling modes according to a total detection duration of the detection system in each candidate sample sampling mode.
Optionally, the determining module is specifically configured to determine, according to sample information in the second sample buffer area, whether at least one candidate detecting instrument corresponding to the target detecting instrument exists, where the candidate detecting instrument is a detecting instrument in the detecting system, the type of a detecting item of the detecting instrument is different from that of the target detecting instrument, and samples consistent with the type of the detecting item of the target detecting instrument are cached in the second sample buffer area corresponding to the detecting instrument;
if at least one candidate detection instrument corresponding to the target detection instrument exists, determining the candidate detection instrument closest to the target detection instrument as a target candidate detection instrument;
And determining the target sample from the second sample buffer area corresponding to the target candidate detection instrument according to the detection item type of each sample in the second sample buffer area corresponding to the target candidate detection instrument and according to a target sample sampling mode of the second sample buffer area corresponding to the target candidate detection instrument.
Optionally, the determining module is specifically configured to determine, if at least one candidate detecting instrument corresponding to the target detecting instrument does not exist, the target sample from the first sample buffer according to a sample sampling manner corresponding to the first sample buffer according to a detection item type of each sample in the first sample buffer.
Optionally, the determining module is specifically configured to control the gripping device to transfer the target sample to a test site of the target detection apparatus.
Optionally, the apparatus further comprises: a control module;
optionally, the determining module is further configured to determine, if the target detection instrument ends detecting the target sample, whether the target sample currently has a type of item to be detected according to attribute information of the target sample;
the control module is used for caching the target sample into a second sample cache area corresponding to the target detection instrument if the target sample is available;
And the control module is used for controlling the target sample to move out of the sample detection system if the target sample does not exist.
Optionally, the determining module is further configured to determine, according to sample information of the first sample buffer area, whether the first sample buffer area has an idle buffer bit;
and the control module is further used for distributing new samples to the idle buffer bits of the first sample buffer according to a predetermined target sample supplementing mode of the first sample buffer if the new samples exist.
Optionally, the apparatus further comprises: the device comprises an acquisition module and a receiving module;
the acquisition module is used for controlling the scanning equipment to scan each sample which does not enter the sample detection system and acquiring attribute information of each sample, and the attribute information comprises: the type of item to be detected of the sample;
the receiving module is used for receiving the attribute information of each sample sent by the scanning equipment.
Optionally, the determining module is further configured to determine the target detection instrument from at least one type of standby detection instrument, where the at least one type of standby detection instrument is determined according to a daily average sample size, a sample composition ratio, unit detection time of each type of detection item, and preset instrument configuration information.
In a fourth aspect, an embodiment of the present application provides a control apparatus, including: a processor, a storage medium, and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium in communication over the bus when the control device is operating, the processor executing the machine-readable instructions to perform the steps of the sample detection method as provided in the first aspect when executed.
In a fifth aspect, embodiments of the present application provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the sample detection method as provided in the first aspect.
The beneficial effects of the application are as follows:
the application provides a sample detection method and a sample detection system, wherein the sample detection method realizes an automatic sample detection flow, and when detecting that a detection instrument is in an idle state, a target sample is determined from all samples to be detected according to the detection item type of the detection instrument, sample information of a first sample buffer area, sample information of a second sample buffer area and a predetermined target sample sampling mode and is distributed to the detection instrument for detection. The problem of poor detection timeliness caused by manually distributing samples is effectively solved. The target sampling mode can be based on the actual condition of the detection system, the detection time of each detection instrument in the system is reasonably distributed, the determined sampling mode under the premise of optimizing the total detection time of the system is achieved, the target sample is determined according to the target sampling mode, the system detection blockage can be avoided as far as possible, and each detection instrument can perform detection uninterruptedly, so that the reasonable distribution of detection is achieved, the total detection time of the system is optimized, and the acquisition efficiency of the detection result is improved.
The sample detection system pre-configures the number of detection instruments to be used through an algorithm, and applies the sample detection flow to the constructed detection system to execute sample detection, so that each detection instrument can be utilized to the greatest extent, the detection duration of each detection instrument is reasonably distributed, and the total detection duration of the system is better.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a sample detection system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a sample detection method according to an embodiment of the present application;
FIG. 3 is a flowchart of another sample detection method according to an embodiment of the present application;
FIG. 4 is a flowchart of another sample detection method according to an embodiment of the present application;
FIG. 5 is a flowchart of another sample detection method according to an embodiment of the present application;
FIG. 6 is a flowchart of another sample detection method according to an embodiment of the present application;
FIG. 7 is a flowchart of another sample detection method according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a control device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for the purpose of illustration and description only and are not intended to limit the scope of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. A flowchart, as used in this disclosure, illustrates operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be implemented out of order and that steps without logical context may be performed in reverse order or concurrently. Moreover, one or more other operations may be added to or removed from the flow diagrams by those skilled in the art under the direction of the present disclosure.
In addition, the described embodiments are only some, but not all, embodiments of the application. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that the term "comprising" will be used in embodiments of the application to indicate the presence of the features stated hereafter, but not to exclude the addition of other features.
Fig. 1 is a schematic architecture diagram of a sample detection system according to an embodiment of the present application, as shown in fig. 1, where the system may include: the device comprises a controller, detection instruments to be used, a first sample buffer area and second sample buffer areas corresponding to the detection instruments to be used. The first sample buffer area and each second sample buffer area are all in communication connection with the controller, and each detecting instrument to be used is also in communication connection with the controller.
The controller is used for controlling the real-time monitoring of the vacancy state of each sample buffer area and the idle state of the test bit of each detection instrument to be used. The first sample buffer may refer to an external buffer of the detection system, and the second sample buffer corresponding to the detection instrument to be used may refer to an online buffer of the detection instrument to be used. Each detecting instrument to be used is provided with a corresponding second sample buffer.
All samples to be detected are cached in the first sample cache area after entering the sample detection system, and because the cache bits of the first sample cache area are limited, when no idle cache bit exists, new samples to be detected are not added into the first sample cache area, and when the idle cache bit exists, the samples to be detected outside the system are fed into the first sample cache area.
After each detecting instrument executes the detecting items of the detecting instrument on the sample currently being detected, if the sample does not have other items to be detected, the testing bit of the detecting instrument is moved out to the detecting system, and if the sample also has other items to be detected, the testing bit of the detecting instrument is moved out to the second sample buffer area corresponding to the detecting instrument.
For any detecting instrument to be used, when the sample is acquired from the sample buffer for detection, the sample is preferentially acquired from the second sample buffer, and when the sample to be detected which meets the requirements does not exist in the second sample buffer, the sample is acquired from the first sample buffer. When the samples are acquired from the first sample buffer area or the second sample buffer area, the samples can be sampled according to a predetermined sampling mode, wherein the sampling mode is determined with the aim of optimizing the overall detection time of the system.
When no sample exists in the first sample buffer area and the second sample buffer area and no new sample to be detected arrives outside the system, all the detection ends.
Optionally, the sample detection system may further comprise: and the scanning device is in communication connection with the controller. After detecting that the sample enters the detection system, the controller firstly controls the scanning equipment to scan so as to acquire the type of the item to be detected of the sample to be detected.
The sample detection system may further comprise: and the grabbing device is in communication connection with the controller. The controller can control the grabbing device to grab the target sample corresponding to the determined detecting instrument onto the test position of the detecting instrument for detection.
The sample detection system may further comprise: and the conveying rail is in communication connection with a controller, and the controller is used for controlling uninterrupted operation of the conveying rail. The transfer track can be used for carrying out unidirectional transfer on each sample in the detection system, and when the devices in the system are far apart, the target sample grasped by the grasping device from the first sample buffer area or the second sample buffer area can be firstly placed on the transfer track, and then transferred to a test position of the detection instrument by the transfer track. Or the conveying track can firstly convey the samples in the first sample buffer area or the second sample buffer area on the track in sequence, and when the samples are conveyed to a position close to the detection instrument, the grabbing equipment grabs the target samples and places the target samples on the test position of the detection instrument.
It should be noted that, a plurality of types of detecting instruments may be disposed in the sample detecting system, and the number of each type of detecting instrument may also be plural, and in actual use, the number of each type of detecting instrument and the number of each type of detecting instrument that need to be used may be determined from all detecting instruments according to the daily average sample size, the sample composition ratio, the unit detecting time of each type of detecting items and the preset instrument configuration information in the inspection department, that is, not all detecting instruments need to operate and detect, and the number of each type of detecting instrument that needs to be determined according to the actual detecting requirement.
Next, a flow of a sample detection method applied to the above detection system will be described.
Fig. 2 is a schematic flow chart of a sample detection method according to an embodiment of the present application. The method can be applied to the controller in the detection system shown in fig. 1. As shown in fig. 2, the method may include:
s201, determining the current idle state of a test bit of the target detection instrument and the detection item type of the target detection instrument according to the current attribute information of the target detection instrument, wherein the target detection instrument is any one of the currently-standby detection instruments.
The target detection instrument may refer to any one of the detection instruments to be used, in some cases, various types of detection instruments and the number of various types of detection instruments required for the detection can be preferentially determined according to actual detection requirements, and based on the determined types and the determined number of the detection instruments, the detection system is built, in which case any one of the detection instruments in the detection system can be used as the target detection instrument.
In some cases, the types and the number of the detecting instruments configured in the detecting system are kept unchanged and are enough, and the types and the number of the detecting instruments to be started in the detection can be determined from all the detecting instruments according to the detection requirements, in which case, the target detecting instrument refers to any one of the detecting instruments (to be used) to be started.
In this embodiment, the detection of the sample may refer to the detection of the blood sample, and the detection instrument may refer to various instruments capable of detecting the blood sample, which are mainly exemplified by a myocardial instrument and an infection instrument.
The method can be suitable for the scene that the same sample needs to be subjected to multiple detection, and also can be suitable for the scene that the same sample needs to be subjected to single detection, when the detection is carried out for multiple detection, the detection instrument to be used needs to comprise the instrument for executing each detection item, and when the detection is carried out for single detection, the detection instrument to be used only comprises the instrument for executing the detection.
The manner in which the detection instrument to be used is determined will be described in detail in the following embodiments.
The controller may record and maintain attribute information of each detecting instrument in real time, where the attribute information may include: the idle state of the test bit of the instrument is detected and the item type is detected. Therefore, the current attribute information of the target detection instrument can be acquired in real time to determine the current idle state of the test bit of the target detection instrument and the detection item type of the target detection instrument.
S202, if a test bit of a target detection instrument is in an idle state currently, determining a target sample to be detected currently by the target detection instrument according to a detection item type of the target detection instrument, sample information of a first sample buffer area, sample information of a second sample buffer area and a predetermined target sample sampling mode, and distributing the target sample to the test bit of the target detection instrument for detection; wherein the sample information includes: whether there are samples, the order of arrangement of the samples, the type of detection item of the samples, and whether there are free buffer bits.
However, when the test bit of the target detection instrument is currently in an idle state, the target sample can be determined from the samples and distributed to the target detection instrument for detection.
The sampling area may be determined according to sample information of the first sample buffer and sample information of the second sample buffer, and the sampling area may refer to whether the target sample is determined from the first sample buffer or the second sample buffer. And then determining a target sample corresponding to the target detection instrument according to the detection item type of the target detection instrument and a predetermined target sample sampling mode.
The first sample buffer area and the second sample buffer area are respectively provided with a corresponding target sample sampling mode, and the target sample can be determined according to the target sampling mode corresponding to the sampling area based on the determined sampling area.
The target sampling mode can be based on the actual condition of the detection system, the detection time of each detection instrument in the system is reasonably distributed, the determined sampling mode is achieved on the premise that the total detection time of the system is optimal, the target sample is determined according to the target sampling mode, the detection jam of the system can be avoided as far as possible, and each detection instrument can perform detection uninterruptedly, so that the reasonable distribution of detection is achieved, the total detection time of the system is optimal, and the acquisition efficiency of the detection result is improved.
In summary, the sample detection method provided in this embodiment implements an automatic sample detection flow, and when it is monitored that the detecting instrument is in an idle state, a target sample is determined from each sample to be detected according to a detection item type of the detecting instrument, sample information of the first sample buffer area, sample information of the second sample buffer area, and a predetermined target sample sampling manner, and is distributed to the detecting instrument for detection. The problem of poor detection timeliness caused by manually distributing samples is effectively solved. The target sampling mode can be based on the actual condition of the detection system, the detection time of each detection instrument in the system is reasonably distributed, the determined sampling mode under the premise of optimizing the total detection time of the system is achieved, the target sample is determined according to the target sampling mode, the system detection blockage can be avoided as far as possible, and each detection instrument can perform detection uninterruptedly, so that the reasonable distribution of detection is achieved, the total detection time of the system is optimized, and the acquisition efficiency of the detection result is improved.
Fig. 3 is a flow chart of another sample detection method according to an embodiment of the present application. Optionally, in step S202, before determining the current target sample to be detected by the target detection apparatus according to the detection item type of the target detection apparatus, the sample information of the first sample buffer, the sample information of the second sample buffer, and the predetermined target sample sampling mode, the method may include:
S301, generating at least one candidate sample sampling mode according to at least one sampling mode of the first sample buffer area and at least one sampling mode of the second sample buffer area, wherein the candidate sample sampling mode comprises the following steps: the target sample sampling mode of the first sample buffer area and the target sample sampling mode of the second sample buffer area corresponding to each detecting instrument.
Optionally, at least one sampling mode of the first sample buffer and at least one sampling mode of the second sample buffer may be determined according to an allocation rule applicable to each sample buffer.
In this embodiment, it is assumed that at least one sampling method of the first sample buffer includes: first-come-and-take-into-account, at least one sampling method of the second sample buffer region includes: first come first and comprehensively consider both.
The priority of the first-to-order is higher according to the queuing order of the samples in the buffer.
The comprehensive consideration is based on the states of the second sample buffer and the test bit of the other detection instruments (the candidate detection instruments corresponding to the target detection instrument are assumed) which are different from the target detection instrument except the target detection instrument.
Here, taking the example that the second sample buffer area includes 2, and the first sample buffer area includes 1, it is assumed that the sampling manner of the first sample buffer area includes: the sampling method of the second sample buffer 1 includes: the sampling method of the second sample buffer area 2 includes: both first come and first go are considered comprehensively. Then, 8 candidate sample sampling modes can be obtained in combination, wherein each candidate sample sampling mode comprises one sampling mode of the first sample buffer zone, one sampling mode of the second sample buffer zone 1 and one sampling mode of the second sample buffer zone 2.
S302, determining a target sample sampling mode from the candidate sample sampling modes according to the total detection duration of the detection system under the candidate sample sampling modes.
Optionally, based on the determined sampling modes of each candidate sample, according to the actual situation of the inspection department, a simulation data set or a collected actual data set is used, the total running time of the detection system under each candidate sample sampling mode of the data set and the actual maximum time of a single sample output result are calculated, and the candidate sample sampling mode with the minimum detection total time of the detection system is determined as the target sample sampling mode by accumulative comparison.
Based on the determined target sample sampling mode, when the target sample is determined from the first sample buffer, the target sample can be determined according to the target sample sampling mode corresponding to the first sample buffer, and when the target sample is determined from the second sample buffer, the target sample can be determined according to the target sample sampling mode corresponding to the second sample buffer.
Fig. 4 is a flow chart of another sample detection method according to an embodiment of the present application. Optionally, in step S202, determining the target sample to be detected currently by the target detection apparatus according to the detection item type of the target detection apparatus, the sample information of the first sample buffer, the sample information of the second sample buffer, and the predetermined target sample sampling mode may include:
s401, determining whether at least one candidate detection instrument corresponding to the target detection instrument exists according to the sample information of the second sample buffer area, wherein the candidate detection instrument is a detection instrument which is different from the detection item type of the target detection instrument in the detection system, and samples consistent with the detection item type of the target detection instrument are buffered in the second sample buffer area corresponding to the detection instrument.
Optionally, when the second sample buffer area has a sample meeting the condition, the target sample can be preferentially determined from the second sample buffer area, so as to avoid blocking the on-line buffer area of the detecting instrument and affecting the detecting progress of the system.
Alternatively, a detection instrument different from the detection item type of the target detection instrument may be determined from other detection instruments to be used according to the detection item type of the target detection instrument.
For example: if the target detection instrument is a myocardial instrument, all the infection instruments can be used as initial candidate detection instruments, because the samples stored in the second sample buffer corresponding to the infection instruments are samples needed to perform myocardial detection. And the samples stored in the second sample buffer corresponding to the myocardial instrument are samples needed to execute infection detection.
And then, determining each initial candidate detecting instrument with the sample in the second sample buffer area corresponding to the initial candidate detecting instrument as each candidate detecting instrument corresponding to the target detecting instrument.
S402, if at least one candidate detection instrument corresponding to the target detection instrument exists, determining the candidate detection instrument closest to the target detection instrument as the target candidate detection instrument.
When the candidate detection instrument contains only one, the candidate detection instrument is directly determined as the target candidate detection instrument of the target detection instrument.
In order to improve the detection efficiency and the operational rationality of the system, the candidate detection instrument closest to the target detection instrument among the candidate detection instruments may be determined as the target candidate detection instrument of the target detection instrument when the candidate detection instruments include only a plurality of candidate detection instruments. In this way, when the target sample is distributed to the target detection apparatus, the transfer of the target sample is faster, and the detection efficiency can be improved.
S403, determining a target sample from the second sample buffer area corresponding to the target candidate detection instrument according to the detection item type of each sample in the second sample buffer area corresponding to the target candidate detection instrument and the target sample sampling mode of the second sample buffer area corresponding to the target candidate detection instrument.
After the target candidate detecting instrument is determined, the target sample may be determined from the second sample buffer area corresponding to the target candidate detecting instrument, and when the target sample is determined from the second sample buffer area corresponding to the target candidate detecting instrument, the target sample may be determined according to a predetermined target sampling manner of the second sample buffer area corresponding to the target candidate detecting instrument.
For example, if the target sampling mode of the second sample buffer area corresponding to the target candidate detection apparatus is first-to-first, the first sample currently ordered in the second sample buffer area corresponding to the target candidate detection apparatus may be used as the target sample.
Optionally, in step S401, after determining whether at least one candidate detecting instrument corresponding to the target detecting instrument exists according to the sample information in the second sample buffer, the method may further include: if at least one candidate detecting instrument corresponding to the target detecting instrument does not exist, determining a target sample from the first sample buffer area according to the detection item type of each sample in the first sample buffer area and the target sample sampling mode corresponding to the first sample buffer area.
In an alternative embodiment, when the candidate detecting instrument does not exist in the target detecting instrument, that is, when no qualified samples corresponding to the target detecting instrument exist in all the second sample buffer areas, the target samples are determined from the first sample buffer area, and when the target samples are determined from the first sample buffer area, the target samples corresponding to the target detecting instrument can be determined according to the target sample sampling mode corresponding to the first sample buffer area.
Optionally, in step S202, the allocation of the target sample to the test bit of the target detection apparatus for detection may include: the control gripping device transfers the target sample to the test site of the target detection instrument.
The gripping device may be a robotic arm, and in some embodiments, each of the test instruments to be used may be configured as a small robotic arm, or an adjacent plurality of test instruments to be used may be assigned a robotic arm. And the device is flexibly arranged according to the situation.
After determining the target sample, the controller may send a control instruction to the corresponding capture device, where the control instruction may include: the position information of the target sample and the position information of the target detection instrument are used for controlling the grabbing device to grab and move the target sample to the test position of the target detection instrument.
Of course, in the sampling mode in which only the first-come, and the samples are sequentially transferred in the order of arrangement, the gripping device may not be provided, and the samples may be sequentially transferred through the transfer rail.
Fig. 5 is a flowchart of another sample detection method according to an embodiment of the present application. Optionally, in step S202, after the target sample is allocated to the test bit of the target detection apparatus for detection, the method may further include:
S501, if the target detection instrument finishes detecting the target sample, determining whether the target sample currently has the type of the item to be detected according to the attribute information of the target sample.
The present embodiment is described with respect to the source of samples in the second sample buffer. For a target detection instrument, there are two places for the sample that completes the current detection on its test bit.
First, it is determined whether the target sample has other unexecuted detection item types in addition to the detection item types that have been detected currently, based on attribute information of the target sample that is currently detected on the target detection instrument.
S502, if yes, the target sample is cached in a second sample cache area corresponding to the target detection instrument.
If the target sample still has the type of the non-executed detection item, the target sample is moved out to a second sample buffer area corresponding to the target detection instrument, and the samples buffered in the second sample buffer area corresponding to the target detection instrument are all samples for enabling other detection instruments with different detection item types from the target detection instrument to carry out subsequent detection.
S503, if not, the target sample is controlled to move out of the sample detection system.
When the target sample is detected on the target detection instrument, the target sample is controlled to move out of the sample detection system because the target sample does not have other types of items to be detected, i.e. all detection items are completed.
In one embodiment, a recovery area may be included in the sample detection system and the target sample may be moved to the recovery area for recovery.
Illustrating: the target detection instrument is a myocardial instrument, and the detection instruments to be used in the detection system comprise a myocardial instrument and an infection instrument. Assume that the detection item types of the target sample include: myocardial detection and infection detection. After the myocardial detection is completed on the myocardial instrument, if the infection detection is not performed, the target sample is moved to a second sample buffer area corresponding to the target detection instrument for buffering, and is subsequently used as the target sample of other infection instruments to wait for the infection detection to be performed.
And assuming that the detected item types of the target sample include: myocardial detection, then, after the detection is performed on the target detection instrument, all detection items are completed on the target sample, and at this time, the target sample can be directly moved out of the detection system.
Fig. 6 is a flowchart of another sample detection method according to an embodiment of the present application. Optionally, the method may further include:
s601, determining whether the first sample buffer has idle buffer bits according to the sample information of the first sample buffer.
The sources of the samples in the second sample buffer are described above, and the sources of the samples in the first sample buffer are described in this embodiment. Because the size of the system structure is limited, the number of samples which can be buffered in the first sample buffer area is limited, when the first sample buffer area has no idle buffer bit, no new samples will enter the detection system, and until the idle buffer bit is left after the samples in the first sample buffer area are taken for detection, the new samples can be fed into the first sample buffer area.
S602, if the sample buffer area is provided with the buffer area, a new sample is allocated to the idle buffer bit of the first sample buffer area according to a predetermined target sample supplementing mode of the first sample buffer area.
As with the previous determination of the target sample sampling patterns of the first sample buffer and the second sample buffer, the target sample filling patterns of the first sample buffer are also predetermined, and in some embodiments, the target sample allocation rule applicable to the current detection system may be predetermined, where the target allocation rule may include: the method comprises the steps of sampling a target sample in a first sample buffer area, sampling a target sample in a second sample buffer area and supplementing the target sample in the first sample buffer area.
In some embodiments, according to practical situations, it is assumed that there are 4 ways in which samples enter the first sample buffer from the outside, respectively: priority sorting by category, strict sorting by category, sorting by order of addition to buffer, sorting by buffer with least priority to add samples. There are 2 ways to sample from the first sample buffer: first come first get, comprehensive consideration. There are 2 ways to sample from the second sample buffer: first come first get, comprehensive consideration.
Then, by combining the sample sampling mode of the first sample buffer area, the sample sampling mode of the second sample buffer area, and the sample supplementing mode of the first sample buffer area, 16 sample allocation rules can be obtained, where each allocation rule may include a sample sampling mode of the first sample buffer area, a sample sampling mode of the second sample buffer area, and a sample supplementing mode of the first sample buffer area.
A set of simulated samples is collected, the number of samples contained in each set of simulated samples and the type of test item for each sample being identical. Taking 10 simulated sample sets as an example, using simulation software to build the detection system, and then simulating to operate the detection system under the 10 sample sets to respectively determine the total detection duration of the system corresponding to each allocation rule under each sample set. In this way, each allocation rule can correspondingly obtain 10 total detection time lengths, and finally the allocation rule with the maximum total detection time length can be determined as the target allocation rule, so that the sample sampling mode of the first sample buffer zone, the sample sampling mode of the second sample buffer zone and the sample supplementing mode of the first sample buffer zone contained in the target allocation rule can be used as the target sample sampling mode of the first sample buffer zone, the target sample sampling mode of the second sample buffer zone and the target sample supplementing mode of the first sample buffer zone.
This way of integrating the sampling mode is described separately:
first: comprehensive consideration mode corresponding to the second sample buffer area:
the target detection instrument is the current detection instrument, and is considered in the following two cases:
1) The second sample buffer corresponding to the current detecting instrument is empty.
If the current detection instrument is an infection instrument, traversing a second sample buffer area corresponding to the myocardial instrument, and if the second sample buffer area and the test bit corresponding to each myocardial instrument are not empty, the test time of the residual myocardium on the test bit of the myocardial instrument is short, and the myocardial instrument which firstly discharges the sample is required to be used as a candidate detection instrument, and acquiring a target sample from the second sample buffer area corresponding to the candidate detection instrument.
If the second sample buffer area corresponding to each myocardial instrument is not empty and the test bit is empty, taking the myocardial instrument with the test bit not empty and the residual myocardial test time short as a candidate detection instrument, and acquiring a target sample from the second sample buffer area corresponding to the candidate detection instrument.
And if the second sample buffer area corresponding to each myocardial instrument is not empty but the test bit is empty, taking the target sample according to the sequence number.
It should be noted that if the current test instrument is a myocardial instrument, the criteria are similar, taking the draining/buffering of the test bit samples of the traversing infection instrument as criteria.
2) The second sample buffer corresponding to the current detecting instrument is not empty.
The current detecting instrument is assumed to be an infection instrument, samples with long residual myocardial testing time are taken from a second sample buffer area corresponding to the myocardial instrument as much as possible, so that the infection instrument can be buffered, the samples in the second sample buffer area of the myocardial instrument can be taken after waiting for a certain time, and the myocardial instrument testing position is also tested for blocking caused when the samples need to be discharged after the completion of testing.
Second,: comprehensive consideration mode corresponding to the first sample buffer area:
1) The second sample buffer corresponding to the current detecting instrument is empty.
Assuming that the current detection instrument is an infection instrument, combining preferentially, and then carrying out single infection; the time required for infection test is short, samples are discharged early, and throughput is improved.
2) The second sample buffer corresponding to the current detecting instrument is not empty.
Samples with long required infection test time are selected, and samples are arranged at night.
Fig. 7 is a flowchart of another sample detection method according to an embodiment of the present application. Optionally, the method may further include:
s701, controlling a scanning device to scan each sample which does not enter a sample detection system, and acquiring attribute information of each sample, wherein the attribute information comprises: the type of item to be detected of the sample.
In some embodiments, a scanning device may be disposed at the entrance of the detection system, and before each sample enters the first sample buffer area of the system from the outside of the system, the sample may be scanned by the scanning device to obtain attribute information of each sample, where a single test tube may be used as one sample, a test tube rack may be used as one sample, and tag information on the test tube may be scanned to obtain attribute information of each sample. Wherein, the attribute information of the sample may include: the type of item to be detected of the sample.
S702, receiving attribute information of each sample sent by the scanning equipment.
The scanning device may send attribute information identifying each sample acquired to the controller, which receives and records the attribute information for each sample for use in subsequently determining the target sample.
Optionally, in step S201, before determining the current idle state of the test bit of the target detection apparatus and the detection item type of the target detection apparatus according to the current attribute information of the target detection apparatus, the method may further include: the target detection instrument is determined from at least one type of detection instrument to be used, wherein the at least one type of detection instrument to be used is determined according to the daily average sample size, the sample composition proportion, the unit detection time of various detection items and preset instrument configuration information.
The present embodiment describes a configuration of a detection instrument to be used in a sample detection system:
the data collection can be performed first, and the daily average sample size and the sample composition ratio of the laboratory are obtained, wherein the daily average sample size can be obtained by carrying out average calculation on the daily average sample size in the comprehensive historical period, for example, the daily average sample size is obtained by calculating the average value according to the daily sample size in 1 month. The composition ratio of the sample refers to the ratio of various detection items in the sample.
In addition, unit detection time of each type of detection item is determined. Then, according to the sample composition proportion, the daily average sample quantity and the unit detection time of various detection items, the total detection time of various detection items can be calculated respectively.
The types of detection instruments to be used in the system include: myocardial instrumentation and infectious instrumentation are examples.
The preset instrument configuration information may be expressed by the following formula:
where n is the number of myocardial instruments deployed in the system and m is the number of infectious instruments deployed in the system. Myocoard ialTime is the total time calculated above to perform myocardial detection and InfectionTime is the total time to perform infection detection.
By the above configuration information, the number of myocardial apparatuses to be used and the number of infection apparatuses in the detection system can be determined, respectively.
In summary, the sample detection method provided in this embodiment implements an automatic sample detection flow, and when it is monitored that the detecting instrument is in an idle state, a target sample is determined from each sample to be detected according to a detection item type of the detecting instrument, sample information of the first sample buffer area, sample information of the second sample buffer area, and a predetermined target sample sampling manner, and is distributed to the detecting instrument for detection. The problem of poor detection timeliness caused by manually distributing samples is effectively solved. The target sampling mode can be based on the actual condition of the detection system, the detection time of each detection instrument in the system is reasonably distributed, the determined sampling mode under the premise of optimizing the total detection time of the system is achieved, the target sample is determined according to the target sampling mode, the system detection blockage can be avoided as far as possible, and each detection instrument can perform detection uninterruptedly, so that the reasonable distribution of detection is achieved, the total detection time of the system is optimized, and the acquisition efficiency of the detection result is improved.
The present application also provides a sample detection system comprising: a controller, at least one sample buffer and at least one type of detection instrument to be used; the at least one sample buffer comprises: a first sample buffer area and a second sample buffer area corresponding to each detecting instrument; each detection instrument to be used and each sample buffer area are in communication connection with the controller; the controller is configured to perform the sample detection method described in the above embodiments to perform sample detection.
The sample detection system is described in detail in fig. 1 and will not be described in detail here.
The following describes a device, equipment, storage medium, etc. for executing the sample detection method provided by the present application, and specific implementation processes and technical effects thereof are referred to above, and are not described in detail below.
The embodiment of the application provides a sample detection device, and the functions realized by the sample detection device correspond to the steps executed by the method. The device may be understood as a controller in the sample detection system described above. The apparatus may include: a determining module;
the determining module is used for determining the current idle state of the test bit of the target detecting instrument and the detection item type of the target detecting instrument according to the current attribute information of the target detecting instrument, wherein the target detecting instrument is any one of the currently standby detecting instruments;
the determining module is used for determining a target sample to be detected currently by the target detecting instrument according to the detection item type of the target detecting instrument, the sample information of the first sample buffer area, the sample information of the second sample buffer area and a predetermined target sample sampling mode if the test bit of the target detecting instrument is in an idle state currently, and distributing the target sample to the test bit of the target detecting instrument for detection; wherein the sample information includes: whether there are samples, the order of arrangement of the samples, the type of detection item of the samples, and whether there are free buffer bits.
Optionally, the apparatus further comprises: a generating module;
the generating module is configured to generate at least one candidate sample sampling mode according to the at least one sampling mode of the first sample buffer area and the at least one sampling mode of the second sample buffer area, where the candidate sample sampling mode includes: a target sample sampling mode of the first sample buffer area and a target sample sampling mode of a second sample buffer area corresponding to each detection instrument;
and the determining module is also used for determining a target sample sampling mode from the candidate sample sampling modes according to the total detection duration of the detection system under the candidate sample sampling modes.
Optionally, the determining module is specifically configured to determine, according to sample information in the second sample buffer area, whether at least one candidate detecting instrument corresponding to the target detecting instrument exists, where the candidate detecting instrument is a detecting instrument in the detecting system, the type of a detecting item of the detecting instrument is different from that of the target detecting instrument, and samples consistent with the type of the detecting item of the target detecting instrument are cached in the second sample buffer area corresponding to the detecting instrument;
if at least one candidate detection instrument corresponding to the target detection instrument exists, determining the candidate detection instrument closest to the target detection instrument as the target candidate detection instrument;
And determining a target sample from the second sample buffer area corresponding to the target candidate detection instrument according to the detection item type of each sample in the second sample buffer area corresponding to the target candidate detection instrument and the target sample sampling mode of the second sample buffer area corresponding to the target candidate detection instrument.
Optionally, the determining module is specifically configured to determine, if at least one candidate detecting instrument corresponding to the target detecting instrument does not exist, a target sample from the first sample buffer according to a detection item type of each sample in the first sample buffer and according to a target sample sampling mode corresponding to the first sample buffer.
Optionally, the determining module is specifically configured to control the gripping device to transfer the target sample to the test site of the target detection instrument.
Optionally, the apparatus further comprises: a control module;
optionally, the determining module is further configured to determine, if the target detection instrument ends detecting the target sample, whether the target sample currently has a type of item to be detected according to attribute information of the target sample;
the control module is used for caching the target sample into a second sample cache area corresponding to the target detection instrument if the target sample is available;
and the control module is used for controlling the target sample to move out of the sample detection system if the target sample does not exist.
Optionally, the determining module is further configured to determine, according to sample information of the first sample buffer area, whether the first sample buffer area has an idle buffer bit;
and the control module is also used for distributing new samples to the idle buffer bits of the first sample buffer according to a predetermined target sample supplementing mode of the first sample buffer if the new samples exist.
Optionally, the apparatus further comprises: the device comprises an acquisition module and a receiving module;
the acquisition module is used for controlling the scanning equipment to scan each sample which does not enter the sample detection system and acquiring attribute information of each sample, wherein the attribute information comprises: the type of item to be detected of the sample;
and the receiving module is used for receiving the attribute information of each sample sent by the scanning equipment.
Optionally, the determining module is further configured to determine the target detecting instrument from at least one type of detecting instrument to be used, where the at least one type of detecting instrument to be used is determined according to a daily average sample size, a sample composition ratio, unit detecting time of each type of detecting item, and preset instrument configuration information.
The foregoing apparatus is used for executing the method provided in the foregoing embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
The above modules may be one or more integrated circuits configured to implement the above methods, for example: one or more application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as ASIC), or one or more microprocessors (digital singnal processor, abbreviated as DSP), or one or more field programmable gate arrays (Field Programmable Gate Array, abbreviated as FPGA), or the like. For another example, when a module above is implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU) or other processor that may invoke the program code. For another example, the modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
The modules may be connected or communicate with each other via wired or wireless connections. The wired connection may include a metal cable, optical cable, hybrid cable, or the like, or any combination thereof. The wireless connection may include a connection through a LAN, WAN, bluetooth, zigBee, or NFC, or any combination thereof. Two or more modules may be combined into a single module, and any one module may be divided into two or more units. It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the method embodiments, and are not repeated in the present disclosure.
Fig. 8 is a schematic structural diagram of a control device according to an embodiment of the present application, where the device may be a controller or an upper computer.
The apparatus may include: a processor 801, and a storage medium 802.
The storage medium 802 is used to store a program, and the processor 801 calls the program stored in the storage medium 802 to execute the above-described method embodiment. The specific implementation manner and the technical effect are similar, and are not repeated here.
In which a storage medium 802 stores program code that, when executed by the processor 801, causes the processor 801 to perform various steps in the sample detection method according to various exemplary embodiments of the present application described in the section of the "exemplary method" above in this specification.
The processor 801 may be a general purpose processor such as a Central Processing Unit (CPU), digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in the processor for execution.
The storage medium 802 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The storage medium may include at least one type of storage medium, and may include, for example, flash Memory, a hard disk, a multimedia card, a card-type storage medium, a random access storage medium (Random Access Memory, RAM), a static random access storage medium (Static Random Access Memory, SRAM), a programmable Read-Only storage medium (Programmable Read Only Memory, PROM), a Read-Only storage medium (ROM), a charged erasable programmable Read-Only storage medium (Electrically Erasable Programmable Read-Only storage), a magnetic storage medium, a magnetic disk, an optical disk, and the like. A storage medium is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The storage medium 802 of the present application may also be circuitry or any other device capable of implementing a storage function for storing program instructions and/or data.
Optionally, the present application also provides a program product, such as a computer readable storage medium, comprising a program for performing the above-described method embodiments when being executed by a processor.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (english: processor) to perform some of the steps of the methods according to the embodiments of the application. And the aforementioned storage medium includes: u disk, mobile hard disk, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.

Claims (12)

1. A method of sample detection, for use in a controller in a sample detection system, the method comprising:
determining the current idle state of a test bit of a target detection instrument and the detection item type of the target detection instrument according to the current attribute information of the target detection instrument, wherein the target detection instrument is any one of the detection instruments which are currently in standby;
if the test bit of the target detection instrument is in an idle state currently, determining a target sample to be detected currently by the target detection instrument according to the detection item type of the target detection instrument, sample information of a first sample buffer area, sample information of a second sample buffer area and a predetermined target sample sampling mode, and distributing the target sample to the test bit of the target detection instrument for detection; wherein the sample information includes: whether there are samples, the order of arrangement of the samples, the type of detection item of the samples, and whether there are free buffer bits.
2. The method according to claim 1, wherein determining the target sample to be detected by the target detection apparatus before the target detection apparatus is determined according to the detection item type of the target detection apparatus, the sample information of the first sample buffer, the sample information of the second sample buffer, and the predetermined target sample sampling manner, comprises:
and generating at least one candidate sample sampling mode according to the at least one sampling mode of the first sample buffer zone and the at least one sampling mode of the second sample buffer zone, wherein the candidate sample sampling mode comprises the following steps: a target sample sampling mode of the first sample buffer area and a target sample sampling mode of a second sample buffer area corresponding to each detection instrument;
and determining a target sample sampling mode from the candidate sample sampling modes according to the total detection time length of the detection system under the candidate sample sampling modes.
3. The method according to claim 1, wherein determining the target sample to be detected by the target detection apparatus according to the detection item type of the target detection apparatus, the sample information of the first sample buffer, the sample information of the second sample buffer, and the predetermined target sample sampling manner includes:
Determining whether at least one candidate detection instrument corresponding to the target detection instrument exists according to sample information of a second sample buffer zone, wherein the candidate detection instrument is a detection instrument which is different from the detection item type of the target detection instrument in the detection system, and samples consistent with the detection item type of the target detection instrument are buffered in the second sample buffer zone corresponding to the detection instrument;
if at least one candidate detection instrument corresponding to the target detection instrument exists, determining the candidate detection instrument closest to the target detection instrument as a target candidate detection instrument;
and determining the target sample from the second sample buffer area corresponding to the target candidate detection instrument according to the detection item type of each sample in the second sample buffer area corresponding to the target candidate detection instrument and according to a target sample sampling mode of the second sample buffer area corresponding to the target candidate detection instrument.
4. A method according to claim 3, wherein after determining whether there is at least one candidate detection device corresponding to the target detection device according to the sample information in the second sample buffer area, the method includes:
If at least one candidate detecting instrument corresponding to the target detecting instrument does not exist, determining the target sample from the first sample buffer area according to the detection item type of each sample in the first sample buffer area and the target sample sampling mode corresponding to the first sample buffer area.
5. The method of claim 1, wherein said dispensing said target sample onto a test site of said target test instrument for testing comprises:
and controlling the grabbing device to transmit the target sample to a test position of the target detection instrument.
6. The method of claim 1, wherein after dispensing the target sample onto a test site of the target test instrument for testing, comprising:
if the target detection instrument finishes detecting the target sample, determining whether the target sample currently has a to-be-detected item type according to the attribute information of the target sample;
if yes, the target sample is cached to a second sample cache area corresponding to the target detection instrument;
and if not, controlling the target sample to move out of the sample detection system.
7. The method according to claim 1, wherein the method further comprises:
determining whether the first sample buffer area has idle buffer bits according to the sample information of the first sample buffer area;
and if so, distributing new samples to the idle buffer bits of the first sample buffer according to a predetermined target sample supplementing mode of the first sample buffer.
8. The method according to claim 1, wherein the method further comprises:
the method comprises the steps of controlling a scanning device to scan each sample which does not enter a sample detection system, and acquiring attribute information of each sample, wherein the attribute information comprises: the type of item to be detected of the sample;
and receiving attribute information of each sample sent by the scanning equipment.
9. The method of claim 1, wherein prior to determining the current idle state of the test bit of the target detection instrument and the type of the test item of the target detection instrument based on the current attribute information of the target detection instrument, further comprising:
the target detection instrument is determined from at least one type of detection instrument to be used, wherein the at least one type of detection instrument to be used is determined according to daily average sample size, sample composition proportion, unit detection time of various detection items and preset instrument configuration information.
10. A sample detection system, comprising: the controller, at least one sample buffer and at least one type of detection instrument to be used; the at least one sample buffer comprises: a first sample buffer area and a second sample buffer area corresponding to each detecting instrument; each detection instrument to be used and each sample buffer area are in communication connection with the controller;
the controller is configured to perform the sample detection method of any one of claims 1-9 for sample detection.
11. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing program instructions executable by the processor, the processor and the storage medium communicating over the bus when the electronic device is running, the processor executing the program instructions to implement the sample detection method of any one of claims 1 to 9.
12. A computer readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when executed by a processor, implements the sample detection method according to any of claims 1 to 9.
CN202310540127.1A 2023-05-12 2023-05-12 Sample detection method and sample detection system Pending CN116660561A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310540127.1A CN116660561A (en) 2023-05-12 2023-05-12 Sample detection method and sample detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310540127.1A CN116660561A (en) 2023-05-12 2023-05-12 Sample detection method and sample detection system

Publications (1)

Publication Number Publication Date
CN116660561A true CN116660561A (en) 2023-08-29

Family

ID=87714498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310540127.1A Pending CN116660561A (en) 2023-05-12 2023-05-12 Sample detection method and sample detection system

Country Status (1)

Country Link
CN (1) CN116660561A (en)

Similar Documents

Publication Publication Date Title
CN110967502B (en) Sample injection scheduling method, device, analysis and detection system and storage medium
CN104516825B (en) Cache memory system and its operating method
US11009517B2 (en) Sample rack scheduling control method and system, and medical detection device
CN114047345B (en) A sample priority scheduling method, scheduling system and detection system
US20130339357A1 (en) Clustering streaming graphs
KR101528728B1 (en) Network-based medical treatment system
US8972667B2 (en) Exchanging data between memory controllers
CN110716986B (en) Big data analysis system and application method thereof
CN116660561A (en) Sample detection method and sample detection system
US20140379100A1 (en) Method for requesting control and information processing apparatus for same
CN105930504B (en) A kind of network management timing file cocurrent processing system and concurrent processing method
CN107632890A (en) Dynamic node distribution method and system in a kind of data stream architecture
Blackler et al. The JET fast central acquisition and trigger system
CN110291404B (en) Biological analysis system
JP3710534B2 (en) Process control method
JP5215964B2 (en) Automatic analyzer and allocation method for inspection thereof
CN113301285A (en) Multi-channel data transmission method, device and system
US11604829B2 (en) High-speed graph processor for graph searching and simultaneous frontier determination
CN113793658A (en) Sample detection control method and device, computer equipment and storage medium
CN111722829B (en) Double-concurrent pre-reading high-performance merging and sorting method and application
CN111970694B (en) A method and device for realizing real-time side-channel leakage assessment for cryptographic devices
US9875045B2 (en) Regular expression matching with back-references using backtracking
US11055222B2 (en) Prefetching of completion notifications and context
US11003578B2 (en) Method and system for parallel mark processing
CN112087474B (en) Cluster-based port information acquisition method and device

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