A sample scheduling method, a sample priority setting method and a system
By combining the scheduling method of time period priority and sample type priority, the problem that the sample testing system in the existing technology cannot meet the reporting time requirements of different batches of samples is solved, and more efficient sample testing and shortened TAT time are achieved.
Patent Information
- Application Number
- CN201910580285.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-06-28
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2040-03-24
AI Technical Summary
The existing sample testing system in the cascade and assembly line system cannot effectively meet the clear requirements for the reporting time of different batches of samples. As a result, samples with earlier time may not be tested first, extending the TAT time.
Introducing a combined scheduling method of time period priority and sample type priority. By pre-setting multiple time periods and sample types, the priority of samples is determined, and scheduled according to the priority to ensure that samples with high priority in the time period are tested first. .
A more flexible sample scheduling method has been implemented, which can better meet the reporting time requirements of different batches of samples, improve testing efficiency, and shorten TAT time.
Smart Images

Figure CN112151131B
Abstract
Description
Technical Field
[0001] The invention relates to a sample scheduling method, a sample priority setting method, a cascaded sample analysis system and a pipeline system. Background Art
[0002] In addition to having clear requirements for the accuracy of the results when testing patient samples, clinical laboratory departments also have clear requirements for the TAT time of sample testing, that is, there are clear requirements for the time it takes to issue test reports on patient samples.
[0003] Different hospitals in different regions have different requirements for the time of issuing test reports for each batch of samples. For example, some hospitals require that all samples sent for testing before 1 pm on the same day must have test reports issued before 4 pm, and samples sent for testing after 1 pm will be tested on the next day and test reports will be issued before 4 pm on the next day (except for emergency samples); some hospitals require that test reports be issued before 11 am for samples sent for testing before 9 am, test reports must be issued before 15 am for samples between 9 am and 11 am, test reports must be issued before 1 pm, test reports must be issued before 3 pm for samples between 11 am and 1 pm, and test reports must be issued before 3 pm for samples after 1 pm, and samples must be tested the next day; some hospitals also require that test reports be issued before 11 am for biochemical outpatient samples before 9:30 am, and test reports must be issued before 3 pm for other samples before 1 pm.
[0004] Some hospitals, because the number of samples tested each day is relatively small, can use a small number of single instruments, and rely on manual input of samples to each instrument for testing. This can already meet the hospital's time requirements for test reports for different batches of samples. For hospitals with a larger number of samples, multiple instruments are generally cascaded, samples are input centrally, and then different samples are dispatched to the corresponding instruments for testing according to a certain priority, which improves test efficiency and saves manpower; if the cascading of multiple instruments still cannot meet the test volume requirements, multiple instruments can be further combined with sample pre- and post-processing modules to form a sample test pipeline system to further improve overall test efficiency and save manpower.
[0005] From single machine to cascade system, and then to pipeline system, the measurement efficiency is constantly improving. However, the scheduling design of the sample test system of various manufacturers still cannot well meet the above situation where there is a clear time requirement for the test report of different batches of samples. The reason is that as long as the user inputs and starts the sample test, the system will input the samples into the system based on the time of sample input, and then test them. However, for the cascade system and pipeline system, the reason for improving the test efficiency is parallel testing, but it is also because of parallel testing that the samples with earlier time cannot be tested first on each instrument, and the project configuration of the same type of instrument is often complementary or only partially overlapping, which leads to the samples with earlier time needing to be tested on multiple instruments to complete all test items. The aforementioned parallel testing strategy causes the samples with later input time to be ranked in the front position on some instruments, affecting the samples with earlier input time that have been tested on other instruments to enter the instrument for testing, reducing the test efficiency of the samples with earlier input time and extending the TAT time of such samples. For example, an earlier batch of samples needs to be tested on the first instrument and the second instrument, and a later batch of samples also needs to be tested on the second instrument. To improve efficiency, when the earlier batch of samples is tested on the first instrument, the later batch of samples may be scheduled to be tested on the second instrument. When the earlier batch of samples is tested on the first instrument, the later batch of samples may not be tested on the second instrument yet. This is because the earlier batch of samples needs to wait for the later batch of samples to be tested on the second instrument. Therefore, due to parallel testing, the earlier samples may not necessarily be tested first, resulting in the situation where clear time requirements for issuing test reports for different batches of samples cannot be met well.
[0006] Therefore, the existing method of scheduling tests on samples is very inflexible and needs further improvement. Summary of the invention
[0007] The present application discloses a sample scheduling method, a sample priority setting method, a cascaded sample analysis system and a pipeline system, providing a more flexible scheduling mode and strategy.
[0008] According to the first aspect, an embodiment provides a sample scheduling method, including:
[0009] Get the time corresponding to the sample to be tested;
[0010] According to the time corresponding to the sample, determine the time period to which the sample belongs;
[0011] Get the sample type of the sample to be tested;
[0012] The samples are scheduled for testing based on the time period to which they belong and the sample type.
[0013] In one embodiment, scheduling the samples according to the time period to which the samples belong and the sample type includes:
[0014] Determine the priority of samples according to the time period and sample type to which they belong;
[0015] Samples are scheduled according to their priority.
[0016] In one embodiment, the priority of the sample is determined according to the time period and sample type to which the sample belongs, including:
[0017] Determine the time period priority of the sample according to the time period to which the sample belongs; wherein multiple time periods are preset, and the time period priority corresponding to the earlier time period is higher than the time period priority corresponding to the later time period;
[0018] Determining a sample type priority of the samples based at least on the sample type of the samples;
[0019] The priority of the sample is determined according to the time period priority and sample type priority of the sample.
[0020] In one embodiment, determining the sample type priority of the sample at least according to the sample type of the sample includes: determining the sample type priority of the sample in the time period according to the time period to which the sample belongs and the sample type.
[0021] In one embodiment, the priority of the sample is determined based on the time period priority and sample type priority of the sample, including: when the time period priority of the sample is higher, the priority of the sample is higher; when the time period priorities of the samples are the same, the higher the sample type priority of the sample, the higher the priority of the sample.
[0022] In one embodiment, scheduling samples according to the priority of the samples includes:
[0023] For any centrifugal module, when there is no sample to be dispatched to the centrifugal module for the sample with the highest priority in the current time period, the sample to be centrifuged among the samples with low time period priority will be dispatched to the centrifugal module; and / or,
[0024] For any decapping module, when there is no sample with the highest priority in the current time period to be scheduled to the decapping module, the samples that need to be decapped among the samples with low time period priority are scheduled to the decapping module; and / or,
[0025] For any analysis module, when there is no sample with the highest priority in the current time period to be scheduled to the analysis module, the samples that need to be scheduled to the analysis module among the samples with low time period priority are scheduled to the analysis module only when the analysis module can still receive samples; and / or,
[0026] For any filming / capping module, only when there are no samples with the highest priority in the current time period to be scheduled to this filming / capping module, will the samples with low time period priority that need to be filmed / capped be scheduled to this filming / capping module.
[0027] In one embodiment, scheduling samples according to their priorities further includes:
[0028] If there are multiple samples that need to be dispatched to the centrifugal module in the samples with the same time period priority, the samples with higher sample type priority are dispatched to the centrifugal module first; and / or,
[0029] If there are multiple samples that need to be dispatched to the decapping module in the samples with the same time period priority, the samples with higher sample type priority are dispatched to the decapping module first; and / or,
[0030] For any analysis module, if there are multiple samples in the same time period priority that need to be scheduled to the analysis module, the samples with higher sample type priority will be scheduled to the analysis module first; and / or,
[0031] If there are multiple samples in the same time period priority that need to be dispatched to the filming / capping module, the samples with higher sample type priority will be dispatched to the filming / capping module first.
[0032] In one embodiment, scheduling samples according to the priority of the samples includes:
[0033] For any analysis module among multiple cascaded analysis modules, when there are no samples with the highest priority in the current time period to be scheduled to this analysis module, samples with low time period priority that need to be scheduled to this analysis module will be scheduled to this analysis module only when this analysis module can still receive samples.
[0034] In one embodiment, scheduling samples according to their priorities further includes:
[0035] For any analysis module among the multiple cascaded analysis modules, if there are multiple samples that need to be scheduled to the analysis module in the samples with the same time period priority, the samples with higher sample type priority will be scheduled to the analysis module first.
[0036] In one embodiment, the priority of the sample is determined based on the time period priority and sample type priority of the sample, including: when the sample type priority of the sample is higher, the priority of the sample is higher; when the sample type priorities of the samples are the same, the higher the time period priority of the sample, the higher the priority of the sample.
[0037] In one embodiment, scheduling samples according to the priority of the samples includes:
[0038] For any centrifugal module, when there is no sample to be dispatched to the centrifugal module for the sample with the highest sample type priority, the samples that need to be centrifuged among the samples with low sample type priority are dispatched to the centrifugal module; and / or,
[0039] For any decapping module, when there is no sample to be scheduled to the decapping module for the sample with the highest priority of the current sample type, the samples that need to be decapped among the samples with low sample type priority are scheduled to the decapping module; and / or,
[0040] For any analysis module, when there is no sample to be scheduled to the analysis module for the sample with the highest priority of the current sample type, the samples that need to be scheduled to the analysis module among the samples with low sample type priority are scheduled to the analysis module only when the analysis module can still receive samples; and / or,
[0041] For any filming / capping module, samples with lower sample type priority that need to be filmed / capped will be scheduled to the filming / capping module only when there are no samples with the highest current sample type priority to be scheduled to the filming / capping module.
[0042] In one embodiment, scheduling samples according to their priorities further includes:
[0043] If there are multiple samples that need to be dispatched to the centrifugal module among samples of the same sample type priority, the samples with a higher time period priority are dispatched to the centrifugal module first; and / or,
[0044] If there are multiple samples that need to be scheduled to the decapping module among samples of the same sample type priority, the samples with a higher time period priority are scheduled to the decapping module first; and / or,
[0045] For any analysis module, if there are multiple samples of the same sample type priority that need to be scheduled to the analysis module, the samples with a higher time period priority will be scheduled to the analysis module first; and / or,
[0046] If there are multiple samples of the same sample type priority that need to be scheduled to the filming / capping module, the samples with higher time period priority will be scheduled to the filming / capping module first.
[0047] In one embodiment, scheduling samples according to the priority of the samples includes:
[0048] For any analysis module among multiple cascaded analysis modules, when there are no samples with the highest priority of the current sample type to be scheduled to this analysis module, samples with low sample type priority that need to be scheduled to this analysis module will be scheduled to this analysis module only when this analysis module can still receive samples.
[0049] In one embodiment, scheduling samples according to their priorities further includes:
[0050] For any analysis module among the multiple cascaded analysis modules, if there are multiple samples that need to be scheduled to the analysis module among samples with the same sample priority, the samples with a higher time period priority are scheduled to the analysis module first.
[0051] In one embodiment, scheduling the samples for testing according to the time period to which the samples belong and the sample type includes:
[0052] A plurality of time periods are preset, and for any time period, it is scheduled to test samples whose sample types are set to be tested in the time period, and not to test samples whose sample types are set to be not tested in the time period, wherein among the samples whose sample types are set to be tested in the time period, the samples whose time period is the previous time period have a higher priority than the samples whose time period is the later time period; and,
[0053] The time period to which the sample belongs is an earlier time period and the sample type is set as the sample to be tested in the earlier time period, and its priority is higher than the time period to which the sample belongs is a later time period and the sample type is set as the sample to be tested in the later time period.
[0054] In one embodiment, the multiple time periods are continuous time periods divided by 24 hours a day, and the end point of a previous time period is the start point of a next time period.
[0055] According to the second aspect, an embodiment provides a method for setting a sample priority, including:
[0056] Generate and display a priority setting interface, wherein the priority setting interface includes multiple time periods and at least one sample type corresponding to each time period;
[0057] In response to a user command to set a time period, setting a time period in a priority setting interface; and / or,
[0058] In response to the user's setting of the sample type corresponding to each time period, the sample type corresponding to each time period is set to a corresponding priority, or, in response to the user's setting of the sample type corresponding to each time period, the sample type corresponding to each time period is set to test or not test.
[0059] In one embodiment, the priority of samples in an earlier time period is higher than the priority of samples in a later time period. When the time period priority of the sample is higher, the priority of the sample is higher. When the time period priorities of the samples are the same, the higher the sample type priority of the sample, the higher the priority of the sample; or, when the sample type priority of the sample is higher, the priority of the sample is higher. When the sample type priorities of the samples are the same, the higher the time period priority of the sample, the higher the priority of the sample.
[0060] In one embodiment, for any time period, samples whose sample types are set to be untested in the time period are not tested in the time period; samples whose sample types are set to be tested in the time period are scheduled for testing in the time period, wherein among the samples whose sample types are set to be tested in the time period, samples whose time period is an earlier time period have a higher priority than samples whose time period is a later time period;
[0061] The time period to which the sample belongs is an earlier time period and the sample type is set as the sample to be tested in the earlier time period, and its priority is higher than the time period to which the sample belongs is a later time period and the sample type is set as the sample to be tested in the later time period.
[0062] In one embodiment, the multiple time periods are continuous time periods divided by 24 hours a day, and the end point of a previous time period is the start point of a next time period.
[0063] According to a third aspect, an embodiment provides a cascade sample analysis system, comprising:
[0064] A plurality of cascaded analysis modules, wherein the analysis modules are used to test the samples;
[0065] A track connecting the analysis modules, and a dispatching device for dispatching the samples to be tested to the corresponding analysis modules via the track;
[0066] Memory, used to store programs;
[0067] A processor is used to implement the method described in any embodiment of the present invention by executing the program stored in the memory.
[0068] According to a fourth aspect, an embodiment provides a pipeline system, including:
[0069] An input module, used to receive samples put in by users;
[0070] A pre-processing module, wherein the pre-processing module includes one or more of a centrifugation module, a serum detection module, a decapping module and a dispensing module; the centrifugation module is used to centrifuge the sample to be centrifuged; the serum detection module is used to detect whether the serum volume of the sample is sufficient and / or whether the serum quality of the sample is qualified; the decapping module is used to decap the sample after centrifugation; and the dispensing module is used to divide the sample;
[0071] one or more analytical modules for performing tests on the centrifuged and decapped samples;
[0072] A post-processing module, the post-processing module comprising one or more of a filming / capping module, a cold storage module and a film / capping removal module; the filming / capping module is used to film or cap the sample; the cold storage module is used to store the sample; the film / capping removal module is used to remove the film or cap from the sample;
[0073] A track connecting the modules and a dispatching device for dispatching samples between the modules via the track;
[0074] Memory, used to store programs;
[0075] A processor is used to implement the method described in any embodiment of the present invention by executing the program stored in the memory.
[0076] According to a fifth aspect, an embodiment provides a computer-readable storage medium, comprising a program, wherein the program can be executed by a processor to implement a method as described in any embodiment herein.
[0077] According to the sample scheduling method, sample priority setting method, cascaded sample analysis system, pipeline system and computer-readable storage medium of the above-mentioned embodiments, the time corresponding to the sample to be tested is obtained; according to the time corresponding to the sample, the time period to which the sample belongs is determined; the sample type of the sample to be tested is obtained; according to the time period to which the sample belongs and the sample type, the sample is scheduled for testing. Therefore, the present invention provides a scheduling method and strategy that is more flexible and can better meet the diverse needs of users. BRIEF DESCRIPTION OF THE DRAWINGS
[0078] Figure 1 A schematic diagram of the structure of an assembly line system according to an embodiment;
[0079] Figure 2 A schematic diagram of the structure of a pre-processing module according to an embodiment;
[0080] Figure 3 is a structural schematic diagram of a post-processing module of an embodiment;
[0081] Figure 4 A schematic diagram of the structure of an assembly line system according to another embodiment;
[0082] Figure 5 A schematic diagram of the structure of a cascaded sample analysis system according to an embodiment;
[0083] Figure 6 A flow chart of a sample scheduling method according to an embodiment;
[0084] Figure 7 A flowchart of scheduling samples according to the time period and sample type to which the samples belong in one embodiment;
[0085] Figure 8 A flowchart of an embodiment of determining the priority of a sample according to the time period and sample type to which the sample belongs;
[0086] Fig. 9 A schematic diagram of time period priority and sample type priority of an embodiment;
[0087] FIG. 10 ( a ) and FIG. 10 ( b ) are two other schematic diagrams of time period priority and sample type priority according to an embodiment;
[0088] Fig.11 A schematic diagram of providing time period priority and sample type priority in two modes, time period priority and sample type priority, in an embodiment;
[0089] Fig.12 A schematic diagram of time period priority and sample type priority in another embodiment;
[0090] Fig.13 The present invention is a flowchart of a method for setting sample priority according to an embodiment. DETAILED DESCRIPTION
[0091] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present application are not shown or described in the specification, this is to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.
[0092] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.
[0093] The serial numbers assigned to the components herein, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning. The "connection" and "coupling" mentioned in this application, unless otherwise specified, include direct and indirect connections (couplings).
[0094] The present invention introduces the dimension of time period priority for determining the priority of samples, and combines it with the dimension of sample type priority, thereby proposing a scheduling method and strategy that is more flexible than existing scheduling methods and can better meet the diverse needs of users.
[0095] First, an explanation of the pipeline system and the cascade sample analysis system is given.
[0096] Please refer to Figure 1 The pipeline system disclosed in an embodiment may include an input module 10, a pre-processing module 20, one or more analysis modules 30, a post-processing module 40, a track 50, a scheduling device 60, a memory 70 and a processor 80. The track 50 is used to connect the modules, such as the input module 10, the pre-processing module 20, one or more analysis modules 30 and the post-processing module 40, and the scheduling device 60 schedules the samples to the corresponding modules through the track.
[0097] The input module 10 is used to receive unmeasured samples put in by the user. The input module 10 in the pipeline system is generally the area where the user puts the sample. When the pipeline system is working, the input module 10 can automatically scan and sort the samples put in it for the next module, such as the pre-processing module 20, to process.
[0098] The pre-processing module 20 is used to complete the pre-processing of the sample. Figure 2, the pre-treatment module 20 may include one or more of a centrifugal module 21, a serum detection module 22, a decapping module 23 and a dispensing module 24. The centrifugal module 21 is used to centrifuge the sample to be centrifuged, and the number of the centrifugal modules 21 can be one or more. The serum detection module 22 is used to detect whether the amount of serum in the sample is sufficient and / or whether the serum quality of the sample is qualified, so as to determine whether the sample after centrifugation can be used for subsequent determination. The decapping module 23 is used to decap the sample after centrifugation - it can be understood that the capping, filming, decapping and demembraning of the sample in this article refers to the capping, filming, decapping and demembraning of the sample tube containing the sample; generally, the sample needs to be decapped after centrifugation for the subsequent dispensing module 24 or analysis module to perform sample dispensing or sample suction. The dispensing module 24 is used to sample the sample, for example, to divide a sample into multiple samples, so as to send them to different analysis modules 30 for determination. A common pre-processing process of the pre-processing module 20 is as follows: the centrifugation module 21 receives the sample dispatched by the input module 10 and centrifuges the sample; the serum detection module 22 detects the serum of the sample after centrifugation to determine whether it can be used for subsequent measurements. If the serum amount is insufficient or the quality is unqualified, it cannot be used for subsequent measurements; if the test passes, the sample is dispatched to the decapping module 23, and the decapping module 23 removes the cover of the sample. If there is a dispensing module 24, the dispensing module 24 divides the removed sample, and then dispatches the divided sample to the corresponding analysis module 30 for measurement. If there is no dispensing module 24, the sample is dispatched from the decapping module 23 to the corresponding analysis module 30 for measurement.
[0099] The analysis module 30 is used to test the samples after centrifugation and decapping. In order to improve efficiency and test throughput, generally, the pipeline system will have multiple analysis modules 30, which can be the same type of analysis modules, that is, analysis modules used to measure the same items, or different types of analysis modules, that is, analysis modules used to measure different items. This can be configured according to the needs of users and departments.
[0100] The post-processing module 40 is used to complete the post-processing of the sample. Figure 3The post-processing module 40 includes one or more of a filming / capping module 41, a cold storage module 42, and a film removal / capping module 43. The filming / capping module is used to film or cap the sample; the cold storage module 42 is used to store the sample; and the film removal / capping module is used to remove the film or cap from the sample. A common post-processing flow of the post-processing module 40 is: after the sample is aspirated in the analysis module 30, it is dispatched to the filming / capping module 41, and the filming / capping module 41 films or caps the sample after the measurement, and then dispatches it to the cold storage module 42 for storage. If the sample needs to be re-measured, the sample will be dispatched from the cold storage module 42, and the film or cap will be removed in the film removal / capping module 43, and then dispatched to the analysis module 30 for measurement.
[0101] Please refer to Figure 4 , is an example of an assembly line system, each module also includes a module buffer, the track 50 also has a track buffer, and the entire track can be a circulating track. It should be noted that many types of modules shown in the figure are one, but those skilled in the art can understand that there is no limitation on the number here, for example, there can be multiple centrifugal modules 21, there can also be multiple analysis modules 30, etc.
[0102] The memory 70 is used to store the degree, and the processor 80 is used to implement the method disclosed in any embodiment of the present invention by executing the program stored in the memory 70, such as the sample scheduling method disclosed in the present invention, such as the sample priority setting method disclosed in the present invention, etc. The specific contents of the sample scheduling method and the sample priority setting method can be found in the above and below of the specification, and will not be repeated here.
[0103] Please refer to Figure 5 The cascaded sample analysis system disclosed in one embodiment may include a plurality of cascaded analysis modules 90, a track 91 connecting each analysis module 90, and a scheduling device 92, a memory 93 and a processor 94 for scheduling the sample to be tested to the corresponding analysis module 90 through the track 91. The analysis module 90 is used to test the sample; these cascaded analysis modules 90 may be the same type of analysis modules, i.e., analysis modules for measuring the same items, or different types of analysis modules, i.e., analysis modules for measuring different items, which can be configured according to the needs of users and departments. For example, the analysis module 90 may be an immunoassay analyzer, a biochemical analyzer, a cell analyzer, etc.; it should be noted that, Figure 5The example of three analysis modules 90 is shown, which is only for illustration and is not used to limit the number of analysis modules. The memory 93 is used to store programs; the processor 94 is used to implement the method disclosed in any embodiment of the present invention by executing the program stored in the memory 93, such as the sample scheduling method disclosed in the present invention, such as the sample priority setting method disclosed in the present invention, etc. The specific contents of the sample scheduling method and the sample priority setting method can be found in the above and below of the specification, and will not be repeated here.
[0104] The method disclosed in the present invention is described below.
[0105] Please refer to Figure 6 In one embodiment of the present invention, a sample scheduling method is disclosed. The sample scheduling method may include steps 100 to 400.
[0106] Step 100: Obtain the time corresponding to the sample to be tested. It should be noted that the time corresponding to the sample can be the time when the sample is put into the system, or the time when it is scanned in the system.
[0107] Step 200: Determine the time period to which the sample belongs according to the time corresponding to the sample.
[0108] Step 300: Obtain the sample type of the sample to be tested. Some common sample types include, for example, emergency type from the emergency department, outpatient type from the outpatient department, inpatient type from the inpatient department, and physical examination type from the physical examination department.
[0109] Step 400: Schedule the samples for testing according to the time period to which the samples belong and the sample type.
[0110] Please refer to Figure 7 In one embodiment, step 400 includes step 410 and step 420.
[0111] Step 410: Determine the priority of the sample according to the time period and sample type to which the sample belongs. Figure 8 In one embodiment, step 410 includes step 411 , step 412 and step 413 .
[0112] Step 411: Determine the time period priority of the sample according to the time period to which the sample belongs, wherein multiple time periods are preset, and the time period priority corresponding to the previous time period is higher than the time period priority corresponding to the later time period. In one embodiment, the multiple time periods are continuous time periods, and the end time of the previous time period is the start time of the next time period. For example, dividing 24 hours a day into continuous time periods, please refer to Fig. 9, is an example of multiple time periods, the first time period is 00:00 to 09:00, the second time period is 09:00 to 11:00, and the third time period is 11:00 to 24:00. It can be understood that there is no overlap between the different time periods in this article. The two time periods are either continuous time periods, that is, the end time of the previous time period is the start time of the next time period, or interval time periods, that is, the end time of the previous time period is earlier than the start time of the next time period. Each time period can be factory set or set by the user according to his actual needs.
[0113] Step 412: Determine the sample type priority of the sample at least according to the sample type of the sample. In one embodiment, the sample type priority can be uniquely determined by the sample type of the sample, that is, the priorities between sample types are always the same, for example, the priority of the emergency type is higher than the outpatient type, the priority of the outpatient type is higher than the inpatient type and the physical examination type, and the inpatient type and the physical examination type have the same priority. In other words, the priority of the same sample type is the same in each time period. For example, please refer to Fig. 9 The priority of emergency type is always 1, the priority of outpatient type is always 2, and the priority of hospitalization type and physical examination type is always 3. The smaller the number, the higher the priority, and the same number means the same priority. In one embodiment, the sample type priority of the sample in the time period can also be determined according to the time period and sample type to which the sample belongs, that is, the sample type priority of the same sample type in different time periods can be different. This can be set by the manufacturer according to user needs at the time of shipment, or it can be set by the user according to needs. For example, please refer to Figure 10 (a), it can be seen that in the first time period, i.e., from 00:00 to 09:00, the priority of the emergency type is 1, the priority of the outpatient type is 2, and the priority of the hospitalization type and physical examination type is 3, but in the second time period, i.e., from 09:00 to 11:00, the priority of the emergency type is 1, the priority of the outpatient type is 2, and the priority of the hospitalization type and physical examination type becomes 2; similarly, in the third time period, i.e., from 11:00 to 24:00, the priority of the emergency type is 1, the priority of the outpatient type is 2, and the priority of the hospitalization type and physical examination type becomes 1. It can be seen that in this case, the sample type priority of the same sample type can be different values in different time periods. In addition, it can be understood that the four sample types listed in FIG. 10 (a) and FIG. 10 (b) are only used for illustration and do not limit the number and types of sample types of the present invention.
[0114] Step 413: Determine the priority of the sample according to the time period priority and sample type priority of the sample. After determining the time period priority and sample type priority of the sample, the priority of the sample is determined by the two together. In one embodiment, the weight of the time period priority of the sample is greater than the weight of the sample type priority. For example, when the time period priority of the sample is higher, the priority of the sample is higher. When the time period priorities of the samples are the same, the sample type priority of the sample is higher, and the priority of the sample is higher. That is, when comparing the priorities of two samples, the time period priorities of the two samples are compared first. The sample with a higher time period priority has a higher priority. If the time period priorities of the two samples are the same (i.e., they belong to the same time period), then the sample type priorities of the two samples are compared again. The sample with a higher sample type priority has a higher priority. In the case where the weight of the time period priority of the sample is greater than the weight of the sample type priority, as described above, the priorities of each time period and the sample type in each time period can be set at the factory, or the user can set them at any time according to their own needs. A user setting interface is shown in FIG10 (a).
[0115] In another embodiment, the weight of the sample type priority of the sample is greater than the weight of the time period priority. For example, when the sample type priority of the sample is higher, the priority of the sample is higher. When the sample type priorities of the samples are the same, the time period priority of the sample is higher, and the priority of the sample is higher. That is, when comparing the priorities of two samples, the sample type priorities of the two samples are compared first. The sample with a higher sample type priority has a higher priority. If the sample type priorities of the two samples are the same, the time period priorities of the two samples are compared again. The sample with a higher time period priority has a higher priority. In the case where the weight of the sample type priority is greater than the weight of the time period priority of the sample, as described above, each time period and the sample type priority within each time period can be set at the factory, or the user can set it at any time according to his or her own needs. A user setting interface is shown in FIG10 (b).
[0116] Step 420: Scheduling samples according to the priority of the samples. The following takes the two cases where the weight of the time period priority is greater than the weight of the sample type priority and the weight of the sample type priority is greater than the weight of the time period priority as examples to explain how step 420 schedules samples according to the priority of the samples.
[0117] Let's take the example where the weight of the time period priority is greater than the weight of the sample type priority.
[0118] Taking the pipeline system as an example, step 420 schedules the samples according to the priority of the samples, including:
[0119] For any centrifugal module, when there are no samples in the current time period with the highest priority to be scheduled to the centrifugal module, the samples that need to be centrifuged in the time period with the lower priority are scheduled to the centrifugal module; and / or,
[0120] For any decapping module, when there are no samples in the current time period with the highest priority to be scheduled to the decapping module, the samples that need to be decapped in the samples in the time period with the lower priority are scheduled to the decapping module; and / or,
[0121] For any analysis module, when there are no samples to be scheduled to the analysis module in the current time period with the highest priority, the samples to be scheduled to the analysis module in the time period with the lower priority are scheduled to the analysis module when the analysis module can still receive samples; and / or,
[0122] For any filming / capping module, samples that need to be filmed / capped in time periods with lower priorities will be scheduled to the filming / capping module only when there are no samples in the current time period with the highest priority to be scheduled to the filming / capping module.
[0123] The above is an explanation of how to schedule samples in different time periods in the pipeline system. It can be seen that in the four pipelines of centrifugation, decapping, analysis, and membrane / capping, each link may be processed in parallel. Therefore, each of the above methods can be centrifuged, decapped, tested, and membrane / capped first according to the samples in the earlier time period. The following is an explanation of how to schedule samples of different sample types and priorities in the same time period in the pipeline system.
[0124] In one embodiment, step 420 schedules the samples according to their priorities, and further includes:
[0125] If there are multiple samples that need to be dispatched to the centrifugal module in the samples with the same time period priority, the samples with higher sample type priority are dispatched to the centrifugal module first; and / or,
[0126] If there are multiple samples that need to be dispatched to the decapping module in the samples with the same time period priority, the samples with higher sample type priority are dispatched to the decapping module first; and / or,
[0127] For any analysis module, if there are multiple samples in the same time period priority that need to be scheduled to the analysis module, the samples with higher sample type priority will be scheduled to the analysis module first; and / or,
[0128] If there are multiple samples in the same time period priority that need to be dispatched to the filming / capping module, the samples with higher sample type priority will be dispatched to the filming / capping module first.
[0129] Let's take a more specific example to illustrate this.
[0130] There are two types of buffers in the pipeline system. One is a module buffer, for example, it can include one or more of the buffer of the pre-processing module, the buffer of the analysis module and the buffer of the post-processing module. The buffer of the pre-processing module includes one or more of the buffer of the centrifugation module and the buffer of the decapping module, and the buffer of the post-processing module includes the buffer of the film / capping module; the other is a track common buffer, which can include the track itself connecting the modules, especially for tracks that can be cyclically scheduled (for example Figure 4 The circular track may also include a separately arranged track buffer zone, such as Figure 4 The winding track in the upper right corner is a specially designed track buffer zone.
[0131] The following describes how to schedule samples by scheduling each sample to each buffer according to the time period priority of the sample. In one embodiment, step 420 schedules the samples according to the priority of the samples, including:
[0132] Determine whether the number of samples in the current time period with the highest priority is greater than the capacity of the module buffer that is about to enter - for example, the samples that have not been centrifuged and are to be tested that enter from the input module 10 will enter the buffer of the centrifugation module, the samples that have completed centrifugation will enter the buffer of the decapping module, the samples that have completed decapping will enter the buffer of the analysis module, and the samples that have completed aspiration of all test items will enter the buffer of the membrane / capping module;
[0133] If it is not greater than, the samples of the current highest priority time period are all scheduled to the module buffer that it is about to enter, so as to be processed by the module corresponding to the module buffer that it is about to enter, and the samples of the low priority time period are scheduled to the track common buffer. It can be understood that if the samples of the low priority time period are relatively large and exceed the capacity of the track common buffer, then part of the samples of the low priority time period will still be waiting in the input area of the input module 10;
[0134] If it is greater, a part of the samples of the current time period with the highest priority (for example, a number of samples equal to the maximum capacity of the module buffer that is about to enter) will be first scheduled to the module buffer that it is about to enter, for processing by the module corresponding to the module buffer that is about to enter, and the remaining samples of the samples of the current time period with the highest priority will be scheduled to the track common buffer. If the track common buffer still has remaining capacity, the samples of the low-priority time period can be scheduled to the track common buffer. If the track common buffer cannot accommodate the remaining samples of the current time period with the highest priority, the remaining samples of the current time period with the highest priority will wait in the input area.
[0135] In the case where both the module buffer and the track common buffer have samples of the current highest priority time period, as the samples are processed, the module buffer will be continuously released, so the samples of the current highest priority time period in the track common buffer will be scheduled to the module buffer and processed by the corresponding module. At a certain moment, the samples of the current highest priority time period in the track common buffer will be scheduled, and the next step will be to schedule the samples of the low priority time period. Therefore, in one embodiment, when it is determined that the module corresponding to any module buffer has processed the samples of the current highest priority time period that need to enter the module for processing, the samples of the low priority time period in the track common buffer that need to enter the module for processing will be scheduled to the module buffer - this is an explanation of the timing and method of scheduling samples of low priority time periods from the track common buffer to the module buffer. In one embodiment, when the samples of the current highest priority time period are scheduled from the track common buffer to the module buffer, if there are samples in the input area, the samples in the input area are scheduled to the common track buffer; and / or, when the samples of the current low priority time period are scheduled from the track common buffer to the module buffer, if there are samples in the input area, the samples in the input area are still controlled to continue waiting in the input area - this is an explanation of the timing and method of scheduling samples from the input area to the track common buffer, and the samples in the input area are only scheduled in after it is determined that the position of the track common buffer has been released. When the samples of the current highest priority time period are scheduled from the track common buffer to the module buffer, the position of the track common buffer is determined to be released, so the samples in the input area can be scheduled to the track common buffer at this time; and when the samples of the current low priority time period are scheduled from the track common buffer to the module buffer, the samples may be scheduled back to the track common buffer, because it is possible that the module involved in the next processing link of the sample is still occupied by the samples of the high priority time period, because the second highest priority sample is not allowed to enter the module buffer before the analysis module has tested the highest priority sample, to prevent being queued. Therefore, it cannot be determined whether the position of the track common buffer is actually released at this time, so the samples in the input area continue to wait in the input area. For samples that need to be retested after the test is completed, the retested samples are automatically processed as the current highest priority samples. If the module buffer has insufficient capacity due to the return of retested samples, some of the highest priority samples can be allowed to circulate in the track common buffer.
[0136] Of course, in some embodiments, the track common buffer may not be filled up all the time, but a preset number of empty positions may be reserved in the track common buffer to cooperate with the transfer scheduling. For example, when a sample entering a module is processed and needs to be processed by the next module, a preset number of empty positions may be reserved in the track common buffer at this time, and temporary transfer scheduling may be performed. Typically, for example, there is sample A1 in one analysis module A and sample B1 in another analysis module B. After module A has completed the sample aspiration of sample A1 and module B has completed the sample aspiration of sample B1, sample A1 needs to enter module B and sample B1 needs to enter module A. At this time, a preset number of empty positions are reserved in the track common buffer, and temporary transfer is performed at the empty positions to schedule sample A1 to enter module B and sample B1 to enter module A.
[0137] The above is an example of a pipeline system to illustrate how step 420 schedules samples according to their priority when the time period priority weight is greater than the sample type weight. Next, a cascaded sample analysis system is used as an example to illustrate how step 420 schedules samples according to their priority.
[0138] In one embodiment, how to schedule samples according to the priority of samples in step 420 includes: for any one of the multiple cascaded analysis modules, when there are no samples to be scheduled to the analysis module for the sample with the highest priority in the current time period, only when the analysis module can still receive samples, the samples that need to be scheduled to the analysis module among the samples with low time period priority are scheduled to the analysis module. In one embodiment, for any one of the multiple cascaded analysis modules, when there are multiple samples that need to be scheduled to the analysis module among the samples with the same time period priority, the samples with high sample type priority are scheduled to the analysis module first.
[0139] The above description is made by taking the example that the weight of the time period priority is greater than the weight of the sample type priority. The following description is made by taking the example that the weight of the sample type priority is greater than the weight of the time period priority.
[0140] Taking the pipeline system as an example, step 420 schedules the samples according to the priority of the samples, including:
[0141] For any centrifugal module, when there is no sample to be dispatched to the centrifugal module for the sample with the highest sample type priority, the samples that need to be centrifuged among the samples with low sample type priority are dispatched to the centrifugal module; and / or,
[0142] For any decapping module, when there is no sample to be scheduled to the decapping module for the sample with the highest priority of the current sample type, the samples that need to be decapped among the samples with low sample type priority are scheduled to the decapping module; and / or,
[0143] For any analysis module, when there is no sample to be scheduled to the analysis module for the sample with the highest priority of the current sample type, the samples that need to be scheduled to the analysis module among the samples with low sample type priority are scheduled to the analysis module only when the analysis module can still receive samples; and / or,
[0144] For any filming / capping module, samples with lower sample type priority that need to be filmed / capped will be scheduled to the filming / capping module only when there are no samples with the highest current sample type priority to be scheduled to the filming / capping module.
[0145] In one embodiment, step 420 schedules the samples according to their priorities, and further includes:
[0146] If there are multiple samples that need to be dispatched to the centrifugal module among samples of the same sample type priority, the samples with a higher time period priority are dispatched to the centrifugal module first; and / or,
[0147] If there are multiple samples that need to be scheduled to the decapping module among samples of the same sample type priority, the samples with a higher time period priority are scheduled to the decapping module first; and / or,
[0148] For any analysis module, if there are multiple samples of the same sample type priority that need to be scheduled to the analysis module, the samples with a higher time period priority will be scheduled to the analysis module first; and / or,
[0149] If there are multiple samples of the same sample type priority that need to be scheduled to the filming / capping module, the samples with higher time period priority will be scheduled to the filming / capping module first.
[0150] Taking the cascaded sample analysis system as an example, step 420 schedules samples according to the priority of the samples, including: for any one of the multiple cascaded analysis modules, when there is no sample to be scheduled to the analysis module for the sample with the highest priority of the current sample type, only when the analysis module can still receive samples, the samples that need to be scheduled to the analysis module among the samples with low sample type priority are scheduled to the analysis module. In one embodiment, step 420 schedules samples according to the priority of the samples, and also includes: for any one of the multiple cascaded analysis modules, when there are multiple samples that need to be scheduled to the analysis module among the samples with the same sample priority, the samples with high time period priority are first scheduled to the analysis module. The method of scheduling each sample to each buffer according to the sample type priority and scheduling the sample to the buffer according to the time period priority of the sample are the same. Once the tested sample is retested, it will be treated as the highest priority sample.
[0151] From the above description, it can be seen that when determining the priority of samples by time period priority and sample type priority, there can be two strategies, one is that the time period priority has a greater weight, and the other is that the sample type priority has a greater weight. In one embodiment, such a strategy can be provided for the user to choose, for example, please refer to Fig.11 When the check box of Time Segment Priority is selected, it means that the strategy of Time Segment Priority with a greater weight is adopted at this time. When the check box of Sample Type Priority is selected, it means that the strategy of Sample Type Priority with a greater weight is adopted at this time.
[0152] The above is an explanation of determining the sample priority by the time period priority and sample type priority of the sample, and scheduling the sample according to the sample priority. In some other embodiments, the sample still has a time period priority, and it is possible to select which sample types to test and which sample types not to test in each time period.
[0153] Therefore, in one embodiment, step 400 schedules samples according to the time period and sample type to which the samples belong, so as to measure, which may include:
[0154] A plurality of time periods are preset, and for any time period, it is scheduled to test samples whose sample types are set to be tested in the time period, and not to test samples whose sample types are set to be not tested in the time period, wherein among the samples whose sample types are set to be tested in the time period, the samples whose time period is the previous time period have a higher priority than the samples whose time period is the later time period; and,
[0155] The time period that belongs to the previous time period, and the sample type in the previous time period is set as the sample to be tested, has a higher priority than the time period that belongs to the later time period, and the sample type in the later time period is set as the sample to be tested. For the description of multiple time periods, please refer to the description in the previous text, which will not be repeated here.
[0156] In this embodiment, there are multiple time periods, and each time period is set to determine which sample types will be tested in that time period and which sample types will not be tested in that time period. Fig.12, we can see that in the first time period, i.e., from 00:00 to 09:00, the emergency type and outpatient type are set to test, and the hospitalization type and physical examination type are set to not test. Therefore, when the time period to which the sample belongs is the first time period, i.e., from 00:00 to 09:00, the samples of the emergency type and outpatient type will be tested, while the hospitalization type and physical examination type will not be tested. In the second time period, i.e., from 09:00 to 11:00, the samples of the emergency type, outpatient type and hospitalization type are set to test, while the physical examination type is still set to not be tested. Therefore, the emergency type, outpatient type and hospitalization type in this batch of samples will be tested, while the physical examination type in this batch of samples will not be tested. The samples of the sample types set to test (i.e., the emergency type and outpatient type) in the first time period have a higher priority than the samples of the sample types set to test (i.e., the emergency type, outpatient type and hospitalization type) in the second time period because their time period is earlier. It is worth noting that the hospitalization type is set to not be tested in the first time period and is set to be tested in the second time period. Therefore, the untested hospitalization type samples left in the samples of the first time period will be tested in the second time period. More precisely, when the samples of the second time period are processed, the hospitalization type samples in the first time period will also be tested. Since the hospitalization type samples in the first time period belong to an earlier time period than the samples of the sample types set to be tested in the second time period, their priority is greater than the samples of the sample types set to be tested in the two time periods. In order to ensure that all types of samples are tested after all time periods, in some examples, all types of samples can be set to be tested in the last time period, such as the third time period in the figure, that is, from 11:00 to 24:00.
[0157] It should be noted that each time period, and which sample types are tested and which sample types are not tested in each time period, can all be set at the factory, or can be set by the user during use according to their own needs.
[0158] An embodiment of the present invention also discloses a method for setting sample priority, please refer to Fig.13 , the setting method may include steps 500 to 620.
[0159] Step 500: Generate and display a priority setting interface, which includes multiple time periods and at least one sample type corresponding to each time period, such as one sample type, two sample types, or more than two sample types. In addition, for the description of multiple time periods, please refer to the previous description, which will not be repeated here.
[0160] Step 610: In response to a user command to set a time period, set a time period in the priority setting interface.
[0161] Step 620: In response to the user's setting of the sample type corresponding to each time period, settings are performed, such as setting the sample type corresponding to each time period to a corresponding priority, or setting the sample type corresponding to each time period to test or not test.
[0162] Step 610 is used to allow the user to set the time period, and step 620 is used to allow the user to set the priority of the sample type in each time period, or which types of samples are tested and which types of samples are not tested in each time period. The setting method may provide step 610 and step 620, or may only provide one of the steps.
[0163] In one embodiment, the priority of samples in the earlier time period is higher than the priority of samples in the later time period. When the time period priority of the sample is higher, the priority of the sample is higher. When the time period priorities of the samples are the same, the higher the sample type priority of the sample, the higher the priority of the sample. For the explanation that the weight of the time period priority is greater than the weight of the sample type priority, please refer to the previous description, which will not be repeated here.
[0164] In one embodiment, when the sample type priority of the sample is higher, the sample priority is higher. When the sample type priorities of the samples are the same, the sample time period priority is higher, and the sample priority is higher. For the explanation that the weight of the sample type priority is greater than the weight of the time period priority, please refer to the previous description, which will not be repeated here.
[0165] In one embodiment, for any time period, samples whose sample types are set to be untested in the time period will not be tested in the time period; samples whose sample types are set to be tested in the time period will be scheduled for testing in the time period, wherein among the samples whose sample types are set to be tested in the time period, samples whose time period is an earlier time period have a higher priority than samples whose time period is a later time period; in addition, samples whose time period is an earlier time period and whose sample types are set to be tested in the earlier time period have a higher priority than samples whose time period is a later time period and whose sample types are set to be tested in the later time period. For instructions on which sample types can be selected to be tested and which sample types are not to be tested in each time period, please refer to the previous description and will not be repeated here.
[0166] The present invention introduces the dimension of time period priority for determining the priority of samples, and combines it with the dimension of sample type priority, thereby proposing a scheduling method and strategy that is more flexible than existing scheduling methods and can better meet the diverse needs of users.
[0167] For example, taking the different time requirements for issuing test reports in different time periods involved in the background technology as an example, there are currently priority scheduling tests designed for sample types (such as emergency samples, outpatient samples, inpatient samples, and physical examination samples, etc.), for example, emergency samples have a higher priority than other types of samples, etc. This scheduling strategy cannot solve the problem that the result time of samples in the earlier batches is sometimes delayed or even later than the result time of samples in the later batches due to the above-mentioned parallel testing, and cannot meet the different time requirements for issuing test reports in different time periods.
[0168] It is not realistic to solve this problem by manually controlling sample input. For example, users can only input samples from a certain batch or a certain time period, and then input samples from the next batch or time period after all samples in the current batch have been aspirated or all results have come out. Although this can ensure that the samples before a certain batch or time period will definitely come out first, if a new batch of samples is input after all results have come out (for example, by checking the test results of the corresponding batch of samples on the LIS end), this may cause the idleness of various modules and internal instruments in the system, reducing the system test efficiency; if all items of the previous batch of samples are aspirated before entering the next batch of samples, it is theoretically ideal, but it is difficult for users to judge this timing, and the system software will not remind users that the sample aspiration is completed. Only when users go to the instrument to observe whether the aspiration is completed can they make an accurate judgment, which requires users to spend a lot of time and energy. Moreover, for cascade systems and pipeline systems, different instruments are arranged in different positions, and users need to go to the front of each instrument to observe whether it has completed the aspiration, which is very cumbersome; therefore, it is not realistic to solve this problem by manually controlling sample input.
[0169] The present invention can solve the above problem based on the scheme that the weight of the time period priority is greater than the weight of the sample type priority, that is, to solve the different time requirements for test reports in different time periods, and ensure that the test reports of each batch of samples are issued before the specified time. The priority of samples in the previous time period is greater than that of samples in the later time period. Before the samples in the previous time period have been completely sampled, the samples in the later time period will not start to be sampled. Only before the samples in the previous time period have been completely sampled, and there will be no situation where the samples in the later time period are sampled first and tested first due to parallel processing, the samples in the later time period will be scheduled and processed.
[0170] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.
[0171] This document is described with reference to various exemplary embodiments. However, those skilled in the art will recognize that changes and modifications may be made to the exemplary embodiments without departing from the scope of this document. For example, various operating steps and components for performing the operating steps may be implemented in different ways (e.g., one or more steps may be deleted, modified, or combined into other steps) depending on the specific application or considering any number of cost functions associated with the operation of the system.
[0172] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. In addition, as understood by those skilled in the art, the principles of this article can be reflected in a computer program product on a computer-readable storage medium, which is pre-installed with a computer-readable program code. Any tangible, non-temporary computer-readable storage medium can be used, including magnetic storage devices (hard disks, floppy disks, etc.), optical storage devices (CD to ROM, DVD, Blu Ray disks, etc.), flash memory and / or the like. These computer program instructions can be loaded onto a general-purpose computer, a special-purpose computer, or other programmable data processing device to form a machine, so that these instructions executed on a computer or other programmable data processing device can generate a device that implements a specified function. These computer program instructions can also be stored in a computer-readable memory, which can instruct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory can form a manufactured product, including an implementation device that implements a specified function. Computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operating steps are performed on the computer or other programmable device to generate a computer-implemented process, so that the instructions executed on the computer or other programmable device can provide steps for implementing a specified function.
[0173] Although the principles of this invention have been shown in various embodiments, many modifications of structures, arrangements, proportions, elements, materials and components particularly suitable for specific environments and operational requirements can be used without departing from the principles and scope of this invention. The above modifications and other changes or amendments will be included in the scope of this invention.
[0174] The foregoing specific description has been described with reference to various embodiments. However, those skilled in the art will recognize that various modifications and changes can be made without departing from the scope of the present disclosure. Therefore, the consideration of the present disclosure will be illustrative rather than restrictive, and all these modifications will be included in its scope. Similarly, the advantages, other advantages and solutions to the problems of various embodiments have been described above. However, the benefits, advantages, solutions to the problems and any elements that can produce these, or make them more clear, should not be interpreted as critical, necessary or necessary. The term "include" and any other variants used in this article are all non-exclusive inclusions, so that the process, method, article or device including the list of elements not only includes these elements, but also includes other elements that are not explicitly listed or do not belong to the process, method, system, article or device. In addition, the term "coupled" and any other variants used in this article refer to physical connections, electrical connections, magnetic connections, optical connections, communication connections, functional connections and / or any other connections.
Claims
1. A sample scheduling method, It is characterized in that Applied to a sample analysis system, the sample analysis system includes a plurality of cascaded analysis modules, and the sample scheduling method includes: Get the time corresponding to the sample to be tested; Determine the time period to which the sample belongs according to the time corresponding to the sample; determine the time period priority of the sample according to the time period to which the sample belongs, wherein multiple time periods are preset, and the time period priority corresponding to the earlier time period is higher than the time period priority corresponding to the later time period; Get the sample type of the sample to be tested; Determine the priority of samples according to the time period and sample type to which they belong, and schedule the samples for testing according to their priority; Among them, the scheduling of samples according to the priority of the samples includes: for any analysis module, when there is no sample with the highest priority in the current time period to be scheduled to the analysis module, only when the analysis module can still receive samples, the samples with low time period priority that need to be scheduled to the analysis module are scheduled to the analysis module, so that the sample with the highest priority in the time period is tested first in any analysis module.
2. The method according to claim 1, It is characterized in that Determine the priority of samples based on the time period and sample type, including: Determining a sample type priority of the samples based at least on the sample type of the samples; The priority of the sample is determined according to the time period priority and sample type priority of the sample.
3. The method according to claim 2, It is characterized in that The determining of the sample type priority of the sample at least according to the sample type of the sample includes: determining the sample type priority of the sample in the time period according to the time period to which the sample belongs and the sample type.
4. The method according to claim 2 or 3, It is characterized in that The priority of the sample is determined according to the time period priority and sample type priority of the sample, including: when the time period priority of the sample is higher, the priority of the sample is higher; when the time period priorities of the samples are the same, the higher the sample type priority of the sample, the priority of the sample is higher.
5. The method according to claim 4, It is characterized in that The scheduling of samples according to the priority of the samples includes: For any centrifugal module, when there is no sample to be dispatched to the centrifugal module for the sample with the highest priority in the current time period, the sample to be centrifuged among the samples with low time period priority will be dispatched to the centrifugal module; and / or, For any decapping module, when there is no sample with the highest priority in the current time period to be scheduled to the decapping module, the samples that need to be decapped among the samples with low time period priority are scheduled to the decapping module; and / or, For any filming / capping module, only when there are no samples with the highest priority in the current time period to be scheduled to this filming / capping module, will the samples with low time period priority that need to be filmed / capped be scheduled to this filming / capping module.
6. The method according to claim 5, It is characterized in that The scheduling of samples according to the priority of the samples also includes: If there are multiple samples that need to be dispatched to the centrifugal module in the samples with the same time period priority, the samples with higher sample type priority are dispatched to the centrifugal module first; and / or, If there are multiple samples that need to be dispatched to the decapping module in the samples with the same time period priority, the samples with higher sample type priority are dispatched to the decapping module first; and / or, If there are multiple samples in the same time period priority that need to be dispatched to the filming / capping module, the samples with higher sample type priority will be dispatched to the filming / capping module first.
7. The method according to claim 4, It is characterized in that The scheduling of samples according to the priority of the samples also includes: For any analysis module among the multiple cascaded analysis modules, if there are multiple samples that need to be scheduled to the analysis module in the samples with the same time period priority, the samples with higher sample type priority will be scheduled to the analysis module first.
8. The method according to claim 1, It is characterized in that The scheduling of the samples for testing according to the time period and sample type to which the samples belong includes: A plurality of time periods are preset, and for any time period, it is scheduled to test samples whose sample types are set to be tested in the time period, and not to test samples whose sample types are set to be not tested in the time period, wherein among the samples whose sample types are set to be tested in the time period, the samples whose time period is the previous time period have a higher priority than the samples whose time period is the later time period; and, The time period to which the sample belongs is an earlier time period and the sample type is set as the sample to be tested in the earlier time period, and its priority is higher than the time period to which the sample belongs is a later time period and the sample type is set as the sample to be tested in the later time period.
9. The method according to claim 2 or 8, It is characterized in that The multiple time periods are continuous time periods divided by 24 hours a day, and the end time of a previous time period is the start time of a next time period.
10. A method for setting sample priority. It is characterized in that Applied to a sample analysis system, the sample analysis system includes a plurality of cascaded analysis modules, and the setting method includes: Generate and display a priority setting interface, wherein the priority setting interface includes multiple time periods and at least one sample type corresponding to each time period; In response to a user command to set a time period, setting a time period in a priority setting interface; and / or, In response to the user's setting of the sample type corresponding to each time period, the sample type corresponding to each time period is set to a corresponding priority, or, in response to the user's setting of the sample type corresponding to each time period, the sample type corresponding to each time period is set to be tested or not tested; wherein, according to the time period to which the sample belongs, the time period priority of the sample is determined, wherein a plurality of time periods are pre-set, and the time period priority corresponding to the earlier time period is higher than the time period priority corresponding to the later time period, so that when the sample is scheduled, for any analysis module, when there is no sample to be scheduled to the analysis module for the sample with the highest priority in the current time period, the sample that needs to be scheduled to the analysis module among the samples with low time period priority is scheduled to the analysis module when the analysis module can still receive the sample, so that the sample with the highest time period priority is tested preferentially in any analysis module.
11. The setting method according to claim 10, It is characterized in that The priority of samples in the earlier time period is higher than the priority of samples in the later time period. When the time period priority of the sample is higher, the priority of the sample is higher. When the time period priorities of the samples are the same, the higher the sample type priority of the sample, the higher the priority of the sample; or, when the sample type priority of the sample is higher, the priority of the sample is higher. When the sample type priorities of the samples are the same, the higher the time period priority of the sample, the higher the priority of the sample.
12. The setting method according to claim 10, It is characterized in that For any time period, samples whose sample types are set as untested in the time period will not be tested in the time period; samples whose sample types are set as tested in the time period will be scheduled for testing in the time period, wherein among the samples whose sample types are set as tested in the time period, samples whose time period is the previous time period have a higher priority than samples whose time period is the later time period; The time period to which the sample belongs is an earlier time period and the sample type is set as the sample to be tested in the earlier time period, and its priority is higher than the time period to which the sample belongs is a later time period and the sample type is set as the sample to be tested in the later time period.
13. The method according to any one of claims 10 to 12, It is characterized in that The multiple time periods are continuous time periods divided by 24 hours a day, and the end time of a previous time period is the start time of a next time period.
14. A cascade sample analysis system, It is characterized in that include: A plurality of cascaded analysis modules, wherein the analysis modules are used to test the samples; A track connecting the analysis modules, and a dispatching device for dispatching the samples to be tested to the corresponding analysis modules via the track; Memory, used to store programs; A processor, configured to implement the method according to any one of claims 1 to 13 by executing the program stored in the memory.
15. A pipeline system, It is characterized in that include: An input module, used to receive samples put in by users; A pre-processing module, wherein the pre-processing module includes one or more of a centrifugation module, a serum detection module, a decapping module and a dispensing module; the centrifugation module is used to centrifuge the sample to be centrifuged; the serum detection module is used to detect whether the serum volume of the sample is sufficient and / or whether the serum quality of the sample is qualified; the decapping module is used to decap the sample after centrifugation; and the dispensing module is used to divide the sample; one or more analytical modules for performing tests on the centrifuged and decapped samples; A post-processing module, the post-processing module comprising one or more of a filming / capping module, a cold storage module and a film / capping removal module; the filming / capping module is used to film or cap the sample; the cold storage module is used to store the sample; the film / capping removal module is used to remove the film or cap from the sample; A track connecting the modules and a dispatching device for dispatching samples between the modules via the track; Memory, used to store programs; A processor, configured to implement the method according to any one of claims 1 to 13 by executing the program stored in the memory.
16. A computer-readable storage medium, It is characterized in that The method comprises a program which can be executed by a processor to implement the method according to any one of claims 1 to 13.
Citation Information
Patent Citations
Method and apparatus for scheduling task request
CN101261592A
Intelligent queuing method and system for hospitals
CN101582181A
Sample analysis system and sample analysis device
CN103460055A
Resource scheduling method and device
CN104320854A
Automatic clinic sample analysis instrument and method
CN104977421A
