Sample scheduling method, device, sample management terminal and storage medium
By obtaining the analysis type and planning the scheduling path through the sample management terminal, the problems of cross-contamination and low instrument efficiency caused by differences in sample test items are solved, flexible scheduling and load balancing of sample analysis are achieved, and the operating efficiency of the analytical instrument is improved.
Patent Information
- Application Number
- CN202111635904.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-28
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2041-12-28
AI Technical Summary
In clinical testing, due to the differences in sample flow at the hospital end and the subjectivity of doctors in placing samples, there are large differences in sample test items, which may cause cross-contamination between samples and inefficient operation of analytical instruments. In addition, the analysis speeds in different sample analysis intervals vary greatly, resulting in long waiting times for sample racks and idle instruments.
The sample management terminal obtains the analysis type of the sample rack to be scheduled, plans the scheduling path, and flexibly schedules the sample rack to the corresponding analysis area based on the load and scheduling order of the sample analysis area. The priority can be set by the user, taking into account both the instrument test efficiency and the load balance of the sample analysis department.
Reduce sample testing waiting time and turnaround time, improve the operating efficiency of analytical instruments, avoid cross-contamination between samples, and optimize sample analysis processes.
Smart Images

Figure CN114267427B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of sample scheduling, and in particular to a sample scheduling method, device, sample management terminal and storage medium. Background Art
[0002] In clinical testing, there are differences in sample flow at the hospital end. At the same time, doctors' placement of samples is subjective, which leads to large differences in sample test items on a sample rack. The same sample can be analyzed for a single analytical item (for example, a full biochemical item or a full immunological item) or multiple analytical items (for example, a blood sample can be tested for both biochemical and immunological items). This may cause cross-contamination between samples and lead to false positives in negative samples.
[0003] Due to the differences in sample flow at the hospital end and the subjectivity of doctors in placing samples, the sample analysis items on the same sample rack vary greatly. The same sample can be analyzed for single sample analysis area items (such as full biochemistry items or full immunology items), or for multiple sample analysis area items (for example, a tube of blood can be used to test both biochemistry items and immunology items). However, due to insufficient cleaning capacity of the sample analysis area, cross-contamination between samples may occur, resulting in false positives in negative samples. Clients often separate samples by type. For example, one sample rack only analyzes biochemistry items, and one sample rack only analyzes immunology items. This type of work increases the doctor's manual operation and wastes time in preparation before analysis.
[0004] Due to differences in sample analysis items, analysis cycles, consumables, etc., the analysis speeds in different sample analysis intervals vary greatly, resulting in too many sample racks entering the sample aspiration area or sample aspiration waiting area of a certain sample analysis area and unable to be obtained by another sample analysis area, causing the analyzer to be idle for a long time, resulting in reduced instrument operating efficiency. Summary of the Invention
[0005] The primary objective of the present invention is to provide a sample scheduling method, apparatus, sample management terminal, and storage medium. These methods enable flexible scheduling of sample racks based on user-defined priorities, aiming to address the inflexible scheduling of existing analytical equipment. Furthermore, while user-defined priorities are taken into account, the analytical unit load can be updated in real time, allowing for flexible scheduling of samples to achieve full analytical unit operation and reduce sample testing wait times and turnaround times.
[0006] To achieve the above object, the present invention proposes a sample scheduling method for a sample management terminal, the method comprising the following steps:
[0007] Obtain the analysis type corresponding to the sample to be analyzed in the sample rack to be scheduled;
[0008] Obtaining the scheduling order corresponding to the analysis type;
[0009] Planning a scheduling path for the sample rack to be scheduled according to the scheduling order and the load of the sample analysis area;
[0010] According to the scheduling path, the sample racks to be scheduled are sequentially scheduled to corresponding sample analysis areas.
[0011] Optionally, the sample management terminal has a display interface having an analysis type priority selection area; before the step of obtaining the scheduling order corresponding to the analysis type, the method further includes:
[0012] receiving a selection operation sent by a user through the analysis type priority selection area;
[0013] The step of obtaining the scheduling order corresponding to the analysis type includes:
[0014] According to the selection operation, a scheduling order corresponding to the analysis type is obtained.
[0015] Optionally, the display interface has a test item sequence editing area, and the samples to be analyzed include a plurality; before the step of sequentially dispatching the sample racks to be dispatched to corresponding sample analysis areas according to the dispatch path, the method further includes:
[0016] Receiving an editing operation sent by a user through the test item sequence editing area;
[0017] According to the editing operation, a sample analysis sequence corresponding to the plurality of samples to be analyzed is obtained, where one analysis type corresponds to one sample analysis sequence;
[0018] Sending the sample analysis sequence to a sample analysis area corresponding to the analysis type for storage;
[0019] The step of sequentially dispatching the sample racks to be dispatched to corresponding sample analysis areas according to the dispatch path includes:
[0020] According to the scheduling path, the sample racks to be scheduled are sequentially scheduled to corresponding sample analysis areas, so that the corresponding sample analysis areas analyze the corresponding samples to be analyzed using the stored sample analysis sequence.
[0021] Optionally, the sample analysis area includes multiple sample analysis areas corresponding to a single analysis type; and the step of obtaining the scheduling path of the sample rack to be scheduled according to the scheduling order and the load of the sample analysis area includes:
[0022] Acquire a plurality of first waiting times of a plurality of the sample analysis areas;
[0023] Obtaining a first result scheduling order of the sample racks to be scheduled according to the plurality of the first waiting times and the scheduling order;
[0024] According to the first result scheduling sequence, a scheduling path of the sample rack to be scheduled is obtained.
[0025] Optionally, the analysis types include multiple, and the sample analysis area includes multiple sample analysis areas corresponding to the multiple analysis types; the step of obtaining the scheduling path of the sample rack to be scheduled according to the scheduling order and the load of the sample analysis area includes:
[0026] sorting the plurality of sample analysis areas according to the scheduling order;
[0027] Determine whether the nth sample analysis area is in an idle state, where n is a value ranging from 1 to (N-1), and N is the number of the plurality of sample analysis areas;
[0028] If the nth sample analysis area is not in an idle state, obtaining the second waiting time of the nth sample analysis area and the third waiting time of the (n+1)th sample analysis area;
[0029] Obtaining a second result scheduling order of the sample racks to be scheduled according to the third waiting time and the second waiting time;
[0030] According to the second result scheduling order, a scheduling path of the sample rack to be scheduled is obtained.
[0031] Optionally, before the step of obtaining the scheduling order corresponding to the analysis type, the method includes:
[0032] acquiring a plurality of fourth waiting times for a plurality of the sample analysis areas;
[0033] The scheduling order is obtained according to a plurality of the fourth waiting times.
[0034] Optionally, before the step of obtaining the scheduling order according to the plurality of fourth waiting times, the method further includes:
[0035] When a target event occurs, obtaining an adjustment time corresponding to the target event;
[0036] Determining a selected fourth waiting time corresponding to the target event from a plurality of said fourth waiting times;
[0037] adjusting the selected fourth waiting time using the adjustment time to obtain an adjusted selected fourth waiting time;
[0038] The step of obtaining the scheduling order according to the plurality of fourth waiting times comprises:
[0039] The scheduling order is obtained according to the adjusted selected fourth waiting time and fourth waiting times among the plurality of fourth waiting times except the selected fourth waiting time.
[0040] In addition, to achieve the above-mentioned purpose, the present invention also proposes a sample scheduling device for use in a sample management terminal, the device comprising:
[0041] A first acquisition module is used to acquire the analysis type corresponding to the sample to be analyzed in the sample rack to be scheduled;
[0042] A second acquisition module is used to obtain a scheduling order corresponding to the analysis type;
[0043] A path acquisition module, configured to plan a scheduling path for the sample rack to be scheduled according to the scheduling order and the load of the sample analysis area;
[0044] The scheduling module is used to sequentially schedule the sample racks to be scheduled to corresponding sample analysis areas according to the scheduling path.
[0045] In addition, to achieve the above-mentioned purpose, the present invention also proposes a sample management terminal, which includes: a memory, a processor, and a sample scheduling program stored in the memory and running on the processor. When the sample scheduling program is executed by the processor, the steps of the sample scheduling method described in any one of the above items are implemented.
[0046] In addition, to achieve the above objectives, the present invention also proposes a storage medium, on which a sample scheduling program is stored. When the sample scheduling program is executed by a processor, the steps of the sample scheduling method as described in any one of the above items are implemented.
[0047] The technical solution of the present invention proposes a sample scheduling method, which obtains the analysis type corresponding to the sample to be analyzed in the sample rack to be scheduled; obtains the scheduling order corresponding to the analysis type; plans the scheduling path of the sample rack to be scheduled according to the scheduling order and the load of the sample analysis area; and schedules the sample rack to be scheduled to the corresponding sample analysis area in sequence according to the scheduling path.
[0048] In the present invention, a scheduling path is determined based on the scheduling order of the sample racks and the load of the sample analysis area. The scheduling path can be well correlated with the load of the sample analysis area, thereby preventing too many sample racks from entering the sample aspiration area or the sample aspiration waiting area of a certain sample analysis area and being unable to be obtained by another sample analysis area, thereby enabling the analyzer to reasonably distribute the load and improve the instrument's operating efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.
[0050] Figure 1 A schematic diagram of the structure of a sample management terminal in the hardware operating environment involved in an embodiment of the present invention;
[0051] Figure 2 This is a flow chart of a first embodiment of a sample scheduling method according to the present invention;
[0052] Figure 3 Schematic diagram of the structure of the sample scheduling system of the present invention;
[0053] Figure 4 A schematic diagram of the display interface of the present invention;
[0054] Figure 5 This is a flow chart of a second embodiment of the sample scheduling method of the present invention;
[0055] Figure 6 This is a flow chart of a third embodiment of the sample scheduling method of the present invention;
[0056] Figure 7 This is a structural block diagram of the first embodiment of the sample scheduling device of the present invention.
[0057] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION
[0058] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0059] Reference Figure 1 , Figure 1 This is a schematic diagram of the structure of a sample management terminal in the hardware operating environment involved in the embodiment of the present invention.
[0060] Typically, the sample management terminal includes: at least one processor 301, a memory 302, and a sample scheduling program stored in the memory and executable on the processor, wherein the sample scheduling program is configured to implement the steps of the sample scheduling method described above.
[0061] The processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 301 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 301 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. The processor 301 may also include an AI (Artificial Intelligence) processor, which is used to process operations related to the sample scheduling method, so that the sample scheduling method model can be trained and learned autonomously to improve efficiency and accuracy.
[0062] Memory 302 may include one or more storage media, which may be non-transitory. Memory 302 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory storage medium in memory 302 is used to store at least one instruction, which is executed by processor 301 to implement the sample scheduling method provided in the method embodiment of the present application.
[0063] In some embodiments, the terminal may optionally include a communication interface 303 and at least one peripheral device. The processor 301, memory 302, and communication interface 303 may be connected via a bus or signal lines. Each peripheral device may be connected to the communication interface 303 via a bus, signal lines, or circuit boards. Specifically, the peripheral device may include at least one of a radio frequency circuit 304, a display screen 305, and a power supply 306.
[0064] The communication interface 303 can be used to connect at least one I / O (Input / Output)-related peripheral device to the processor 301 and the memory 302. In some embodiments, the processor 301, the memory 302, and the communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 301, the memory 302, and the communication interface 303 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0065] The RF circuit 304 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 304 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 304 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the RF circuit 304 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The RF circuit 304 can communicate with other terminals via at least one wireless communication protocol. Such wireless communication protocols include, but are not limited to, metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 304 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0066] Display screen 305 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, or any combination thereof. When display screen 305 is a touch screen display, it is also capable of collecting touch signals on or above the surface of display screen 305. This touch signal can be input as a control signal to processor 301 for processing. In this case, display screen 305 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, display screen 305 can be a single display screen, the front panel of the electronic device; in other embodiments, display screen 305 can be at least two, each disposed on different surfaces of the electronic device or in a foldable design; in still other embodiments, display screen 305 can be a flexible display screen, disposed on a curved or foldable surface of the electronic device. Display screen 305 can also be configured as a non-rectangular irregular shape, i.e., a special-shaped screen. Display screen 305 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0067] The power supply 306 is used to power various components in the electronic device. The power supply 306 can be AC power, DC power, disposable batteries, or rechargeable batteries. When the power supply 306 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology. It will be understood by those skilled in the art that Figure 1 The structure shown in does not constitute a limitation on the sample management terminal, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0068] In addition, an embodiment of the present invention further proposes a storage medium on which a sample scheduling program is stored, and when the sample scheduling program is executed by a processor, the steps of the sample scheduling method described above are implemented. Therefore, it will not be described in detail here. In addition, the description of the beneficial effects of adopting the same method will not be repeated. For technical details not disclosed in the storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application. As an example, the program instructions can be deployed to be executed on a sample management terminal, or on multiple sample management terminals located in one location, or on multiple sample management terminals distributed in multiple locations and interconnected by a communication network.
[0069] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing related hardware through a computer program. The above-described program can be stored in a storage medium, and when executed, the program can include the processes in the above-described method embodiments. The above-described storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0070] Based on the above hardware structure, an embodiment of the sample scheduling method of the present invention is proposed.
[0071] Reference Figure 2 , Figure 2 This is a flow chart of a first embodiment of a sample scheduling method according to the present invention. The method is applied to a sample management terminal and includes the following steps:
[0072] Step S11: Obtain the analysis type corresponding to the sample to be analyzed in the sample rack to be scheduled.
[0073] It should be noted that the execution subject of the present invention is the sample management terminal, which is installed with a sample scheduling program. When the sample management terminal executes the sample scheduling program, the steps of the sample scheduling method of the present invention are implemented.
[0074] Reference Figure 3 , Figure 3 is a structural diagram of the sample scheduling system of the present invention, Figure 3 In the sample scheduling system, the control system is a part of the sample scheduling system. The control system includes an operating part (sample control terminal) and a remote module (used to connect to a remote device, such as a remote computer, to achieve remote control).
[0075] The sample scheduling system also includes a sample scheduling system and a sample analysis system. The sample scheduling system includes a scheduling area (which undertakes the functions of sample uploading, downloading, scheduling, and buffering) and a track area (including multiple analysis channels, including emergency analysis channels and ordinary analysis channels in the present invention). The sample analysis system includes multiple analysis units (i.e., the sample analysis area of the present invention), which can be a biochemical analysis unit and an immunoassay unit. That is, in the present invention, multiple analysis types (analysis type refers to the type of sample to be analyzed) include biochemical analysis and immunoassay, and multiple sample analysis areas include biochemical analysis areas and immunoassay areas. The biochemical analysis area refers to Figure 3 The biochemical analysis section and immunoassay area refer to Figure 3Each analysis type corresponds to a sample analysis area, i.e., the biochemical analysis area is used to analyze biochemical analysis samples, and the immunoassay area is used to analyze immunoassay samples. It is understood that the immunoassay area can only analyze immunoassay samples, not biochemical analysis samples.
[0076] In the present invention, the sample rack to be scheduled may include multiple or just one. The present invention uses a single sample rack as an example for explanation. The sample rack to be scheduled may include one or more samples to be analyzed (samples to be analyzed typically refer to samples generated in a hospital, such as blood, and the present invention's method is primarily targeted at sample scheduling in the biomedical field).
[0077] It can be understood that, for the analysis type, there are two types involved in the present invention, and the samples in the sample rack to be scheduled may involve a combination of the following situations: single biochemical, single immunological, "biochemical + immunological" (that is, all samples are simultaneously subjected to biochemical analysis and immunological analysis), single biochemical and single immunological (some samples are only subjected to biochemical analysis, and some samples are only subjected to immunological analysis), single biochemical and "biochemical + immunological" samples, single immunological and "biochemical + immunological" samples, single biochemical and single immunological and "biochemical + immunological" samples, among which "biochemical + immunological" means that one sample needs to undergo biochemical analysis and immunological analysis.
[0078] In a specific application, the sample to be analyzed is placed in a sample placement area (a part of the scheduling area mentioned above). The sample placement area includes but is not limited to a conventional sample placement area, an emergency sample placement area, etc. Different samples can be placed in different sample placement areas, and the sample rack to be scheduled and the sample to be analyzed are scanned by a barcode scanner. The barcode of the sample rack to be scheduled is scanned by the scanner to obtain the sample rack number and sample rack type (emergency sample rack or conventional sample rack, etc.) of the sample rack to be scheduled; the barcode of the sample to be analyzed is scanned by the scanner to obtain the sample position number of the sample to be analyzed, the sample scheduling item (specifically what kind of test is to be performed, such as a blood routine test) and the sample analysis type (immunoassay and / or biochemical analysis mentioned above) and other information. Among them, the sample management terminal performs scheduling control and detection control on the sample rack and the sample through the sample rack number and sample position number.
[0079] Step S12: Obtain the scheduling order corresponding to the analysis type.
[0080] Step S13: planning a scheduling path for the sample rack to be scheduled according to the scheduling sequence and the load of the sample analysis area.
[0081] The sample management terminal has a display interface having an analysis type priority selection area; before the step of obtaining the scheduling order corresponding to the analysis type, the method further includes:
[0082] S101: receiving a selection operation sent by a user through the analysis type priority selection area;
[0083] The step of obtaining the scheduling order corresponding to the analysis type includes:
[0084] S102: According to the selection operation, a scheduling order corresponding to the analysis type is obtained.
[0085] Alternatively, before the step of obtaining the scheduling order corresponding to the analysis type, the method includes:
[0086] S104: Acquire a plurality of fourth waiting times for a plurality of the sample analysis areas;
[0087] S105: Obtain the scheduling order according to the plurality of fourth waiting times.
[0088] That is, in the present invention, the scheduling order can be selected by the user or automatically generated - performing the above step of obtaining the scheduling order corresponding to the analysis type according to the selection operation. Automatic generation means that the user has not determined whether to perform the immunoassay or biochemical analysis first.
[0089] In the present invention, the scheduling order includes two types of analysis scheduling orders, namely immunoassay first or biochemical analysis first. In step S13, the biochemical analysis area can only analyze samples to be analyzed for biochemical analysis, while the immunoassay area can only analyze samples to be analyzed for immunoassay.
[0090] Reference Figure 4 , Figure 4 This is a schematic diagram of the display interface of the present invention. The sample management terminal has a display interface, and the display interface has an analysis type priority selection area and a test item sequence editing area.
[0091] The analysis type selection area includes three buttons: Biochemical, Immunological, and Unrestricted. Clicking the Biochemical button indicates that the user will select the Biochemical Analysis area as the first sample analysis area for biochemical analysis. Clicking the Immunological button indicates that the user will select the Immunological Analysis area as the first sample analysis area for immunoassay. Clicking the Unrestricted button automatically determines the scheduling order according to the method described above to determine the corresponding first sample analysis area. A selection operation refers to clicking any of the three buttons.
[0092] Preferably, if the user sets the biochemistry test as a priority, the system performs scheduling judgment based on the sample rack. That is, if the samples in the sample rack include biochemistry tests, the first analysis unit of the sample rack will be prioritized to be the biochemistry analyzer, and the scheduling order is biochemistry first. Then:
[0093] If the sample rack to be scheduled contains only a single "biochemistry + immunology" sample, the system recognizes that the sample in the sample rack to be scheduled contains both biochemistry test items and immunology test items. Therefore, according to the user's setting of biochemistry priority testing, the first analysis area of the sample rack to be scheduled can only be determined as the biochemistry analysis area;
[0094] If the sample rack to be scheduled contains only a single biochemical sample, the system recognizes that the sample in the sample rack to be scheduled only contains biochemical test items, and thus uniquely determines the first analysis area of the sample rack to be scheduled as the biochemical analysis area;
[0095] If the sample rack to be scheduled contains only a single immune sample, the system recognizes that the sample in the sample rack to be scheduled contains only immune test items, and thus uniquely determines the first analysis area of the sample rack to be scheduled as the immune analysis area;
[0096] If the sample rack to be scheduled contains a single biochemical and single immune sample, the system recognizes that the sample in the sample rack to be scheduled contains biochemical test items, and prioritizes the first analysis area of the sample rack to be scheduled as the biochemical analysis area. If the track sample aspiration area and the waiting area before sample aspiration in the biochemical analysis area are idle (the corresponding waiting time is 0), the sample can be directly sent to the biochemical analysis area;
[0097] If the sample rack to be scheduled contains a "biochemical + immunological" sample and a single immunological sample, the system recognizes that the samples in the sample rack to be scheduled include biochemical test items, but also include a single immunological sample, and thus prioritizes the first analysis area of the sample rack to be scheduled as the biochemical analysis area. If the track sample aspiration area and the waiting area before sample aspiration in the biochemical analysis area are idle (the corresponding waiting time is 0), the sample can be directly sent to the biochemical analysis area;
[0098] If the sample rack to be scheduled contains a "biochemistry + immunology" sample and a single biochemistry sample, the system recognizes that the samples in the sample rack to be scheduled include biochemistry test items, and the immunology test samples also need to be tested for biochemistry samples, and thus the first analysis area of the sample rack to be scheduled is uniquely determined to be the biochemistry analysis area;
[0099] If the sample rack to be scheduled contains "biochemical + immunological" samples + a single biochemical sample + a single immunological sample, the system recognizes that the samples in the sample rack to be scheduled include biochemical test items, but also include a single immunological sample, and thus prioritizes the first analysis area of the sample rack to be scheduled as the biochemical analysis area. If the track sample aspiration area and the waiting area before sample aspiration in the biochemical analysis area are idle (the corresponding waiting time is 0), the sample can be sent directly to the biochemical analysis area.
[0100] Preferably, if the user sets the immune priority test, the system will make scheduling decisions based on the sample rack. That is, if the sample in the sample rack contains immune test items, the first analysis unit of the sample rack will be prioritized as the immune analyzer, and the scheduling order is immune priority. Then:
[0101] If the sample rack to be scheduled contains only a single "biochemistry + immunology" sample, the system recognizes that the sample in the sample rack to be scheduled contains immunology test items and biochemistry test items at the same time. Therefore, according to the user's setting of immunology priority test, the first analysis area of the sample rack to be scheduled can only be determined as the immunology analysis area;
[0102] If the sample rack to be scheduled contains only a single biochemical sample, the system recognizes that the sample in the sample rack to be scheduled only contains biochemical test items, and thus uniquely determines the first analysis area of the sample rack to be scheduled as the biochemical analysis area;
[0103] If the sample rack to be scheduled contains only a single immune sample, the system recognizes that the sample in the sample rack to be scheduled contains only immune test items, and thus uniquely determines the first analysis area of the sample rack to be scheduled as the immune analysis area;
[0104] If the sample rack to be dispatched contains a single biochemistry and single immunoassay sample, the system recognizes that the sample in the sample rack to be dispatched contains immunoassay items, and prioritizes the immunoassay area as the first analysis area of the sample rack to be dispatched. If the sample aspiration area and the waiting area before aspiration in the immunoassay area are idle, the sample rack can be sent directly to the immunoassay area;
[0105] If the sample rack to be scheduled contains "biochemistry + immunology" samples and single immunology samples, the system recognizes that the samples in the sample rack to be scheduled include immunology test items, and the immunology test samples also need to be tested for biochemistry samples, and the system uniquely determines the first analysis area of the sample rack to be scheduled as the immunology analysis area;
[0106] If the sample rack to be scheduled contains "biochemistry + immunology" samples and a single biochemistry sample, the system recognizes that the samples in the sample rack to be scheduled include immunology test items, but also include a single biochemistry sample. That is, the first analysis area of the sample rack to be scheduled is prioritized as the immunology analysis area. If the track sample aspiration area and the waiting area before sample aspiration in the immunology analysis area are idle, the sample can be sent directly to the immunology analysis area.
[0107] If the sample rack to be scheduled contains "biochemistry + immunology" samples + a single biochemistry sample + a single immunology sample, the system recognizes that the samples in the sample rack to be scheduled include immunology test items, but contain a single biochemistry sample, and thus prioritizes the immunology analysis area as the first analysis area of the sample rack to be scheduled. If the sample aspiration area and the waiting area before aspiration in the immunology analysis area are idle, the sample can be sent directly to the immunology analysis area.
[0108] Second, if the user sets biochemical priority testing, the system will schedule and judge based on the sample rack. That is, if the sample in the sample rack contains biochemical test items, the first sample analysis area of the sample rack will be prioritized to the biochemical analyzer. If the track sample aspiration area and the waiting area before aspiration of the biochemical analyzer are not idle, if the target sample rack to be tested contains a single immune sample, that is: 1. Single biochemical sample + single immune sample; 2. "Biochemical + immune" sample + single immune sample; 3. "Biochemical + immune" sample + single biochemical sample + single immune sample. The sample rack scheduling process includes the following judgments:
[0109] If the sample aspiration position or the waiting position before aspiration in the biochemical sample analysis area is not idle, and the sample aspiration position or the waiting position before aspiration in the track area of the immune sample analysis area is idle, then the difference between the current biochemical test waiting time and the immune test aspiration time of the target sample rack to be tested is determined. The test biochemical waiting time includes the aspiration time of the track area samples and the biochemical samples to be tested that have been injected into the buffer area. If the test biochemical waiting time is greater than or equal to the immune test aspiration time, the target sample rack to be tested is dispatched to the immune sample analysis area for single immune sample testing; if the test biochemical waiting time is less than the immune test aspiration time, the target sample rack to be tested is temporarily placed in the buffer area and waits until the track area of the biochemical sample analysis area is idle before the target sample rack to be tested is imported for testing;
[0110] If the sample aspiration position or the waiting position before sample aspiration in the biochemical sample analysis area is not idle, and the track sample aspiration position or the waiting position before sample aspiration in the immune sample analysis area is not idle, then determine the difference between the current biochemical test waiting time and the immune test waiting time + the sample aspiration time of the target sample rack to be tested. The biochemical test waiting time includes the sample aspiration time for the track area and the buffer area to advance the biochemical sample to be tested, and the immune test waiting time includes the sample aspiration time for the track area and the buffer area to advance the single immune sample to be tested. If the biochemical test waiting time is greater than or equal to the immune test waiting time + the sample aspiration time, then dispatch the target sample rack to be tested to the immune sample analysis area for testing of the single immune sample; if the biochemical test waiting time is less than the immune test waiting time + the sample aspiration time, then temporarily store the target sample rack in the buffer area until the track area of the biochemical sample analysis area is idle, and then import the target sample rack to be tested.
[0111] Second, if the user sets the immune priority test, the system will schedule and judge based on the sample rack. That is, if the sample in the sample rack contains immune test items, the first sample analysis area of the sample rack will be prioritized to the immune analyzer. If the immune analyzer track sample aspiration area and the waiting area before aspiration are not idle, if the target sample rack to be tested contains a single biochemical sample, that is: 1. Single biochemical sample + single immune sample; 2. "Biochemical + immune" sample + single biochemical sample; 3. "Biochemical + immune" sample + single biochemical sample + single immune sample. The sample rack scheduling process includes the following judgments:
[0112] If the sample aspiration position or the waiting position before aspiration in the immune sample analysis area is not idle, and the sample aspiration position or the waiting position before aspiration in the track area of the biochemical sample analysis area is idle, then the difference between the immune waiting time and the biochemical aspiration time of the target sample rack to be tested at the current moment is determined. The immune waiting time includes the aspiration time of the track area sample and the immune sample to be tested that has been injected into the buffer area. If the immune waiting time is greater than or equal to the biochemical aspiration time, the target sample rack to be tested is dispatched to the biochemical sample analysis area for testing of a single biochemical sample; if the immune waiting time is less than the biochemical aspiration time, the target sample rack to be tested is temporarily placed in the buffer area and waits until the immune sample analysis area track area is idle before the target sample rack to be tested is introduced into the test area.
[0113] If the sample aspiration position or pre-sample aspiration waiting position in the immune sample analysis area is not idle, and the track sample aspiration position or pre-sample aspiration waiting position in the biochemical sample analysis area is not idle, then determine the difference between the current immune test waiting time and the biochemical test waiting time + sample aspiration time of the target sample rack to be tested. The immune test waiting time includes the sample aspiration time for the track area and buffer area to advance the immune sample to be tested, and the biochemical test waiting time includes the sample aspiration time for the track area and buffer area to advance the single biochemical sample to be tested. If the immune test waiting time is greater than or equal to the biochemical test waiting time + sample aspiration time, then dispatch the target sample rack to be tested to the biochemical sample analysis area for single biochemical sample testing; if the immune test waiting time is less than the biochemical test waiting time + sample aspiration time, then temporarily place the target sample rack in the buffer area until the track area of the immune sample analysis area is idle, and then import the target sample rack to be tested.
[0114] The calculation method of the current analysis department sample test time and waiting time is as follows:
[0115] In the case where a single biochemical analysis section track is idle, it is necessary to determine the sample aspiration time of a single biochemical sample on the target sample rack to be tested and compare it with the total sample aspiration time of the sample racks to be tested on the immunoassay section track and the estimated sample aspiration time of the advanced immunoassay samples in the buffer zone;
[0116] In the case where a single immunoassay section track is idle, it is necessary to determine the sample aspiration time of a single immunoassay sample on the target sample rack to be tested and compare it with the total sample aspiration time of the sample racks to be tested on the biochemical analysis section track and the estimated sample aspiration time of the advanced biochemical samples in the buffer zone;
[0117] If there are no free spaces on both the biochemical and immunological tracks, the total aspiration time of the sample racks to be tested in the biochemical analysis section (including the sample racks in the track area and the buffer zone) is compared with the total aspiration time of the sample racks to be tested in the immunological analysis section (including the sample racks in the track area and the buffer zone). Based on the test priority set by the user, if biochemistry is prioritized, the time is calculated as the comparison of "the current total aspiration time for immunology + the single aspiration time for immunology of the target sample rack to be tested" with the total aspiration time for biochemistry; if immunology is prioritized, the time is calculated as the comparison of "the current total aspiration time for biochemistry + the single aspiration time for biochemistry of the target sample rack to be tested" with the total aspiration time for immunology.
[0118] If the total number of biochemical test items of the current biochemical analysis department is Nbiochemical, then the theoretical estimated sampling time for biochemical is Tbiochemical = Nbiochemical * tbiochemical, where tbiochemical is the test cycle of each biochemical item;
[0119] If the total number of sample immunity test items in the current immunoassay unit is Nimmunity, the immunotheoretical estimated sample aspiration time is Timmunity=Nimmunity*timmunity, where timmunity is the test cycle of each immunity item.
[0120] Optionally, if the user does not set a priority for biochemical immunity, the system will allocate sample racks according to load balancing scheduling by default. The specific process is as follows:
[0121] In the present invention, there are two sample analysis areas. The sample analysis area test waiting time is defined as the fourth waiting time when the biochemical and immunoassay priority is not restricted. The fourth waiting time also includes two: the immunoassay area waiting time and the biochemical analysis area waiting time. When the biochemical analysis area waiting time equals the immunoassay area waiting time, the analysis area closest to the sample analysis area is selected as the first sample analysis area for the sample rack to be scheduled according to the principle of priority allocation for the analysis area closest to the sample analysis area. When the biochemical analysis area waiting time exceeds the immunoassay area waiting time, the immunoassay area is selected as the first sample analysis area for the sample rack to be scheduled. When the biochemical analysis area waiting time is less than the immunoassay area waiting time, the biochemical analysis area is selected as the first sample analysis area for the sample rack to be scheduled.
[0122] Further, refer to Figure 5 , Figure 5 This is a flow chart of a second embodiment of a sample scheduling method according to the present invention. Before the step of obtaining the scheduling order according to the plurality of fourth waiting times, the method further includes:
[0123] S201: When a target event occurs, obtaining an adjustment time corresponding to the target event;
[0124] S202: Determining a selected fourth waiting time corresponding to a target event from a plurality of fourth waiting times;
[0125] S203: adjusting the selected fourth waiting time using the adjustment time to obtain an adjusted selected fourth waiting time;
[0126] The step of obtaining the scheduling order according to the plurality of fourth waiting times comprises:
[0127] S204: Obtain the scheduling order according to the adjusted selected fourth waiting time and the fourth waiting times among the plurality of fourth waiting times except the selected fourth waiting time.
[0128] Target events can include the following six types:
[0129] 1. Sample insertion, including the insertion of samples of the same type and the insertion of samples of different types. When the user starts the sample insertion command, the real-time load of the corresponding analysis area is updated to the load after the sample rack is inserted (referring to the number of samples, and the load is reflected by the waiting time);
[0130] 2. Analysis area failure: Real-time monitoring of the analysis area for failures. Analysis area failures include downtime failures and recoverable failures. For downtime failures, since the time required to troubleshoot the failure is uncertain, the load in the analysis area is reset to zero and the test is suspended. At this time, load balancing scheduling fails and the sample racks are uniformly sent to the analysis area where no failure has occurred. For recoverable failures, the real-time test time of the analysis area is updated to the time after the failure recovery period is added.
[0131] 3. Test interruption in the analysis area. Real-time monitoring of the analysis area to see if there is any test interruption. Test interruption includes reagent replacement and regular cleaning during testing. For test interruptions caused by reagent replacement, since the time for reagent replacement is uncertain, the analysis area will suspend the transmission of sample racks. At this time, the load balancing fails, and the sample racks are uniformly sent to the analysis area where no interruption has occurred. For test interruptions caused by regular cleaning during testing, including fixed batch cleaning, cleaning to prevent cross contamination between samples, cleaning to prevent cross contamination between projects, etc., since the cleaning time can be determined, the interruption time can be determined. The real-time test load of the analysis area should be updated to include the time after the interruption caused by cleaning.
[0132] 4. Sample rollback. When the user triggers sample rollback scheduling, the real-time load of the corresponding analysis area decreases, and the real-time load of the analysis area is updated to the time after the rollback sample rack is removed;
[0133] 5. Project addition. When the user triggers project addition, the real-time load of the corresponding sample tube target analyzer increases, and the real-time load of the analysis area is updated to the time after the additional project is added;
[0134] 6. Insufficient sample: The sample needle aspiration status is monitored in real time. If insufficient sample results in a failure to aspirate, the real-time load of the corresponding sample tube target analyzer is reduced. The real-time load of the analysis area is updated to the time after deducting the remaining aspiration times of the sample tube with insufficient sample.
[0135] Each target event will cause the load of the analysis area to change, and then cause the waiting time of the analysis area to change (the fourth waiting time). Therefore, it is necessary to determine the sample analysis area involved in the specific target event. The fourth waiting time of the sample analysis area involved is the selected fourth waiting time, and the adjustment time is the waiting time required for the sample analysis area with the target event to enter normal operating state.
[0136] For example, the waiting time in the immunoassay area is 10 minutes, the waiting time in the biochemical analysis area is 20 minutes, and a target event occurs in the immunoassay area, and the corresponding waiting time is 15 minutes. Then, the adjusted time is 15 minutes, and the fourth waiting time is selected as 10 minutes. The adjusted selected fourth waiting time is 25 minutes.
[0137] Once the scheduling sequence is determined, the scheduling path of the sample rack is planned based on the scheduling sequence and the load of the sample analysis area.
[0138] Specifically, the scheduling method is also applicable to multiple identical sample analysis areas; the step of obtaining the scheduling path of the sample rack to be scheduled according to the scheduling order and the load of the sample analysis area includes:
[0139] S301: Acquire multiple first waiting times of multiple sample analysis areas;
[0140] S302: Obtaining a first result scheduling order of the sample racks to be scheduled according to the plurality of waiting times and the scheduling order;
[0141] S303: Obtaining a scheduling path for the sample rack to be scheduled according to the first result scheduling sequence.
[0142] It should be noted that in this embodiment, the analysis type is a single type, namely, immunoassay or biochemical analysis, and the scheduling order is to directly schedule to the corresponding sample analysis area, but it corresponds to multiple sample analysis areas. In this case, the sample rack to be scheduled is also a sample rack to be analyzed of a single analysis type (which may contain multiple samples or a single sample). The first waiting time refers to the waiting time of the sample analysis area. A first waiting time includes the sum of the sampling time of all samples in the sample rack undergoing the sampling operation, the sampling time of all samples in the sample rack in the analysis area track, and the sampling time of all samples in the sample rack that first enters the buffer zone.
[0143] It is necessary to determine a selected sample analysis area with the shortest first waiting time based on the first waiting times corresponding to the multiple sample analysis areas. The selected sample analysis area corresponds to the first result scheduling order, and then the scheduling path of the sample rack to be scheduled is obtained using the first result scheduling order.
[0144] Further, refer to Figure 6 , Figure 6 This is a flow chart of a third embodiment of the sample scheduling method of the present invention. The analysis types include multiple, and the sample analysis area includes multiple sample analysis areas corresponding to the multiple analysis types. The step of obtaining the scheduling path of the sample rack to be scheduled based on the scheduling order and the load of the sample analysis area includes:
[0145] S401: Sort the plurality of sample analysis areas according to the scheduling order;
[0146] S402: Determine whether the nth sample analysis area is in an idle state, where n is a value ranging from 1 to (N-1), and N is the number of the sample analysis areas;
[0147] S403: If the nth sample analysis area is not in an idle state, obtaining the second waiting time of the nth sample analysis area and the third waiting time of the (n+1)th sample analysis area;
[0148] S404: Obtaining a second result scheduling order of the sample racks to be scheduled according to the third waiting time and the second waiting time;
[0149] S405: Obtaining a scheduling path for the sample rack to be scheduled according to the second result scheduling sequence.
[0150] It should be noted that in this embodiment, there are two analysis types, and N is 2. The sample analysis areas are sorted according to the scheduling order. For example, if the scheduling order is immunoassay first and biochemical analysis second, the sample analysis areas are sorted first, followed by the immunoassay area and then the biochemical analysis area. In this embodiment, there are also two sample analysis areas, each with a different analysis type.
[0151] The fact that the first sample analysis area is not idle means that there are samples being analyzed in the sample analysis area. At the same time, there may also be sample racks waiting in the buffer zone in the first sample analysis area. At this time, the sample rack to be scheduled cannot be analyzed directly. It is necessary to obtain the waiting time of the first sample analysis area - the second waiting time (including the sum of the sampling time of the samples being sampled and the samples waiting to be sampled), and at the same time determine the waiting time of the other sample analysis area - the third waiting time (including the sum of the sampling time of the samples being sampled, the samples waiting to be sampled, and the sampling time of the samples waiting to be sampled in the sample rack to be scheduled). If the second waiting time is 0, it means that the first sample analysis area is idle. When the third waiting time only includes the sampling time of the samples waiting to be sampled in the sample rack to be scheduled, it means that the other sample analysis area is idle.
[0152] Among them, if the second waiting time is greater than or equal to the third waiting time, a new first sample analysis area will be determined for the sample analysis area that is not the first one, and the second result scheduling order will be obtained; if the second waiting time is less than the third waiting time, the scheduling order will still be determined as the second result scheduling order, and the first analysis area of the scheduling order will not be changed. Then, according to the second result scheduling order, the scheduling path of the sample rack to be scheduled is determined: first immunoassay and then biochemistry, or first biochemistry and then immunoassay.
[0153] Step S14: dispatching the sample racks to be dispatched to corresponding sample analysis areas in sequence according to the dispatching path.
[0154] The sample racks to be scheduled need to be scheduled according to the scheduling path. For example, if the path is immunoassay first and then biochemistry, the sample racks to be scheduled are first scheduled to the immunoassay area for immunoassay according to the scheduling path, and then scheduled to the biochemistry analysis area for biochemical analysis.
[0155] Furthermore, the display interface has a test item sequence editing area, and the samples to be analyzed include multiple samples; before the step of sequentially dispatching the sample racks to be dispatched to the corresponding sample analysis areas according to the dispatch path, the method further includes:
[0156] 501: receiving an editing operation sent by a user through the test item sequence editing area;
[0157] 502: Obtaining, according to the editing operation, a sample analysis sequence corresponding to the plurality of samples to be analyzed, where one analysis type corresponds to one sample analysis sequence;
[0158] 503; sending the sample analysis sequence to the sample analysis area corresponding to the analysis type for storage;
[0159] The step of sequentially dispatching the sample racks to be dispatched to corresponding sample analysis areas according to the dispatch path includes:
[0160] 504 ; according to the scheduling path, the sample racks to be scheduled are sequentially scheduled to the corresponding sample analysis areas, so that the corresponding sample analysis areas analyze the corresponding samples to be analyzed using the stored sample analysis sequence.
[0161] For the samples to be analyzed, it is also necessary to determine the sample analysis order of each sample. In the sample analysis area, when analyzing the samples to be analyzed, it is necessary to analyze them in the sample analysis order. For example, in the immunoassay area, the sample rack to be scheduled includes 10 samples that need to be analyzed for immunoassay and 10 samples that need to be analyzed for biochemical analysis. The first sample analysis area is the immunoassay area, then the sample rack to be scheduled needs to be scheduled to the immunoassay area first, and the 10 samples are subjected to immunoassay in sequence according to the set sample analysis order (according to the analysis order of the immunoassay samples). After completion, the sample rack to be scheduled is sent to the biochemical analysis area to perform biochemical analysis of the 10 samples, which also needs to be performed in the corresponding sample analysis order (according to the analysis order of the biochemical analysis samples). The sample analysis order can be set by the user based on demand, and the present invention does not limit it.
[0162] The Test Item Sequence Editing area includes the Test Item (a specific test item for a sample to be analyzed, such as blood glucose) and the Test Sequence (the order in which a sample is tested, which can be an Arabic numeral, such as 1, representing the first test). Editing the test item and test sequence in the Sample Sequence Editing area outputs the corresponding test item and test sequence.
[0163] In some embodiments, the sample analysis area corresponding to the analysis type of the test item ranked first in the sample order editing area is the first sample analysis area in the scheduling order. That is, in this embodiment, it is only necessary to send an editing operation to the test item order editing area to determine the scheduling order.
[0164] The sample analysis sequence specifically includes analysis items and analysis sequence.
[0165] The understandable analysis item refers to any analysis item in the analysis item list. Click the blank area (refer to Figure 4 ), pull down to select any item, or check any item from the item list to specify the analysis order.
[0166] It can be understood that the sample analysis order refers to the sample aspiration order of any specified analysis item, and the specific order is the numerical order.
[0167] The Analysis Item column can contain from one to all analysis items, allowing you to sort all analysis items on connected devices. The list can be displayed in either ascending or descending order. If you set only one priority analysis item, scheduling will prioritize that item. If you set multiple priority analysis items, the sampling order for those items will be based on the order in which they were analyzed.
[0168] Scheduling the sample rack according to the set test item analysis order includes the following processes:
[0169] If the user sets only one priority analysis item, the analysis item information for the samples in the sample rack is obtained. When a sample in the sample rack contains the priority analysis item, the initial analysis unit for this sample in the sample rack is marked as the unit containing the priority analysis item for this sample. The remaining samples follow the load distribution method described above that does not restrict biochemical or immunoassay priorities. For example, if the user sets the priority analysis item as x for biochemical item, then when any sample in the sample rack contains x for biochemical item, the initial analysis unit for this sample is determined to be the biochemical analysis unit. However, the initial analysis unit of a sample rack is not necessarily the biochemical analysis unit. It is understood that if the sample rack is first dispatched to the immunoassay unit, the sample aspiration operation for this sample will not be performed. The sample aspiration operation for this sample will only be performed after the sample rack is dispatched to the biochemical analysis unit.
[0170] If the user has set more than one priority analysis item, the system obtains the analysis item information for the samples in the sample rack and matches the analysis item information of the samples in the sample rack with the priority analysis items set by the user to obtain a matching result. The matching results of the analysis items in the sample rack and the user-set priority analysis items can be determined as: 1. Partial match; 2. Complete match. If only a partial match occurs, the sample is first analyzed using the analysis section corresponding to the analysis item with the highest priority in the partial items, and analysis items within the same analysis section are sampled according to the priority in the item list. If a complete match occurs, the sample is first analyzed using the analysis section corresponding to the analysis item ranked first in the item list, and analysis items within the same analysis section are sampled according to the priority in the item list.
[0171] For example, if the order of analysis items set by the user is: x1 (immunological item); x2 (biochemical item); x3 (immunological item); x4 (biochemical item), and a sample in a certain sample rack contains all four items, then the first analysis department of the sample is the immunological analysis department corresponding to item x1. When the sample rack is dispatched to the immunological analysis department, the immunological item analysis of x1 and x3 will be completed first, and the remaining immunological items will be analyzed according to the default order of the analysis department. After the analysis of all immunological items in the sample is completed, it will be dispatched to the biochemical analysis department to complete the analysis of items x2 and x4 first, and the remaining biochemical items will be analyzed according to the default order of the biochemical analysis department.
[0172] For example, if the order of analysis items set by the user is: x1 (immunological item); x2 (biochemical item); x3 (immunological item); x4 (biochemical item), and a sample in a sample rack only contains some items, for example, only x2 and x4, then the first analysis department of the sample is the biochemical analysis department corresponding to item x2. When the sample rack is dispatched to the biochemical analysis department, the biochemical item analysis of x2 is completed first, and the remaining biochemical items are analyzed according to the default order of the analysis department. After the analysis of all biochemical items in the sample is completed, it is dispatched to the biochemical analysis department again to complete the analysis of items x2 and x4 first, and the remaining biochemical items are analyzed according to the default order of the biochemical analysis department.
[0173] It should be noted that the present embodiment uses the sample as the scheduling unit for scheduling judgment, rather than the sample rack as the scheduling unit for judgment, that is, the sample rack's first sample analysis area is not necessarily consistent with the sample's first sample analysis area. When the sample rack's first sample analysis area is inconsistent with the sample's first sample analysis area, the sample will not be analyzed; when the sample rack's first sample analysis area is consistent with the sample's first sample analysis area, the sample will be analyzed. For example, when there is a sample rack analysis at the immunoassay area sampling position and the analysis time is long, the target sample rack to be tested contains a sample with priority analysis for an immunoassay project, and the biochemical analysis area is idle at this time, then the sample rack can be scheduled to the biochemical analysis area for sampling first, but the sample containing the priority analysis project will not be sampled for the biochemical project first. The sampling operation of the sample will be performed when the sample rack is scheduled to the immunoassay area for sampling.
[0174] In this embodiment, starting sample injection scheduling includes the following process:
[0175] Place the sample in the sample placement area. The sample placement area includes but is not limited to the routine sample placement area, emergency sample placement area, stand-alone sample placement area, etc. All types of samples can be placed in different sample placement areas, and the sample rack and sample are scanned by the barcode scanner;
[0176] Obtain the target sample rack and sample information. Before scheduling the target sample, obtain the rack and sample information for the target sample rack. The rack information includes the rack number and rack type. The sample information includes the target sample's sample identification location number, sample scheduling item, and sample type.
[0177] Match the sample rack information with the test track. The sample racks include but are not limited to the following types: calibration, quality control, emergency, manual retest, and routine. The emergency sample rack corresponds to the emergency test channel, and the other sample racks correspond to the routine test channel.
[0178] Match the sample test information with the analysis unit. This includes the following situations: 1. If the sample in the sample rack contains the set priority test item, the analysis unit corresponding to the test item is marked as the first analysis unit for the sample; 2. If the sample in the sample rack does not contain the set priority test item, the corresponding scheduling order is obtained according to the above method.
[0179] In specific applications, the sample management terminal is connected to the above-mentioned scheduling area, that is, the sample management terminal is also connected to the sample placement area of the scheduling area, and is used to perform operations such as scanning on the samples in the placement area. The sample management terminal is connected to the track area, that is, it is respectively connected to multiple analysis channels in the track area.
[0180] In the present invention, analysis channels include the two types described above: conventional analysis channels and emergency analysis channels. Emergency analysis channels are used to transport sample racks belonging to emergency subjects, while conventional analysis channels are used to transport sample racks of conventional subjects. Conventional subjects may be subjects such as calibration, quality control, emergency, and manual retesting.
[0181] In some embodiments, when the emergency analysis channel is idle, the emergency analysis channel may also perform diversion processing on the conventional analysis channel to improve analysis efficiency.
[0182] In a specific application, it is necessary to determine the sample rack type of the sample rack to be scheduled based on the type of the sample rack to be scheduled (obtained by scanning the barcode as described above). The sample rack types include emergency sample racks and regular sample racks. The emergency sample racks are transported through the emergency analysis channel, and the regular sample racks are transported through the regular analysis channel.
[0183] The technical solution of the present invention proposes a sample scheduling method, which obtains the analysis type corresponding to the sample to be analyzed in the sample rack to be scheduled; obtains the scheduling order corresponding to the analysis type; plans the scheduling path of the sample rack to be scheduled according to the scheduling order and the load of the sample analysis area; and schedules the sample rack to be scheduled to the corresponding sample analysis area in sequence according to the scheduling path.
[0184] In the present invention, a scheduling path is determined based on the scheduling order of the sample racks and the load of the sample analysis area. The scheduling path can be well correlated with the load of the sample analysis area, thereby preventing too many sample racks from entering the sample aspiration area or the sample aspiration waiting area of a certain sample analysis area and being unable to be obtained by another sample analysis area, thereby enabling the analyzer to reasonably distribute the load and improve the instrument's operating efficiency.
[0185] Reference Figure 5 , Figure 5 This is a structural block diagram of a first embodiment of a sample scheduling device according to the present invention. The device is used in a sample management terminal and is based on the same inventive concept as the previous embodiment. The device includes:
[0186] A first acquisition module 10 is used to acquire the analysis type corresponding to the sample to be analyzed in the sample rack to be scheduled;
[0187] A second acquisition module 20 is used to obtain a scheduling order corresponding to the analysis type;
[0188] A path acquisition module 30 is used to plan a scheduling path for the sample rack to be scheduled according to the scheduling order and the load of the sample analysis area;
[0189] The scheduling module 40 is configured to sequentially schedule the sample racks to be scheduled to corresponding sample analysis areas according to the scheduling path.
[0190] It should be noted that, since the steps executed by the device of this embodiment are the same as those of the aforementioned method embodiment, its specific implementation methods and achievable technical effects can refer to the aforementioned embodiments and will not be repeated here.
[0191] The above descriptions are merely optional embodiments of the present invention and do not limit the patent scope of the present invention. All equivalent structural transformations made using the contents of the present description and drawings under the inventive concept of the present invention, or direct / indirect applications in other related technical fields, are included in the patent protection scope of the present invention.
Claims
1. A sample scheduling method, characterized in that: For use in a sample management terminal, the method comprises the following steps: Obtain the analysis type corresponding to the sample to be analyzed in the sample rack to be scheduled; Obtaining a scheduling order corresponding to the analysis type; wherein the analysis type includes multiple types; Planning a scheduling path for the sample rack to be scheduled according to the scheduling order and the load of the sample analysis area; According to the scheduling path, the sample racks to be scheduled are sequentially scheduled to corresponding sample analysis areas; wherein the sample analysis area includes multiple sample analysis areas corresponding to multiple analysis types; The step of planning the scheduling path of the sample rack to be scheduled according to the scheduling order and the load of the sample analysis area specifically includes: sorting the plurality of sample analysis areas according to the scheduling order; Determine whether the nth sample analysis area is in an idle state, where n is a value ranging from 1 to (N-1), and N is the number of the plurality of sample analysis areas; If the nth sample analysis area is not in an idle state, obtaining a second waiting time of the nth sample analysis area and a third waiting time of the (n+1)th sample analysis area; wherein the second waiting time is the sum of the aspiration times of the samples being aspirated and the samples waiting to be aspirated, and the third waiting time is the sum of the aspiration times of the samples being aspirated, the samples waiting to be aspirated, and the aspiration times of the samples to be analyzed in the sample rack to be scheduled; Obtaining a second result scheduling order for the sample rack to be scheduled based on the third waiting time and the second waiting time; wherein, if the second waiting time is greater than or equal to the third waiting time, prioritizing scheduling to the (n+1)th sample analysis area as the second result scheduling order; and if the second waiting time is less than the third waiting time, prioritizing scheduling to the nth sample analysis area as the second result scheduling order; According to the second result scheduling order, a scheduling path of the sample rack to be scheduled is obtained.
2. The sample scheduling method according to claim 1, wherein: The sample management terminal has a display interface having an analysis type priority selection area; before the step of obtaining the scheduling order corresponding to the analysis type, the method further includes: receiving a selection operation sent by a user through the analysis type priority selection area; The step of obtaining the scheduling order corresponding to the analysis type includes: According to the selection operation, a scheduling order corresponding to the analysis type is obtained.
3. The sample scheduling method according to claim 2, wherein: The display interface has a test item sequence editing area, and the samples to be analyzed include a plurality of samples; before the step of sequentially dispatching the sample racks to be dispatched to corresponding sample analysis areas according to the dispatch path, the method further includes: Receiving an editing operation sent by a user through the test item sequence editing area; According to the editing operation, a sample analysis sequence corresponding to the plurality of samples to be analyzed is obtained, where one analysis type corresponds to one sample analysis sequence; Sending the sample analysis sequence to a sample analysis area corresponding to the analysis type for storage; The step of sequentially dispatching the sample racks to be dispatched to corresponding sample analysis areas according to the dispatch path includes: According to the scheduling path, the sample racks to be scheduled are sequentially scheduled to corresponding sample analysis areas, so that the corresponding sample analysis areas analyze the corresponding samples to be analyzed using the stored sample analysis sequence.
4. The method according to any one of claims 1 to 3, wherein Before the step of obtaining the scheduling order corresponding to the analysis type, the method includes: Acquire a plurality of fourth waiting times for the plurality of sample analysis areas, wherein each sample analysis area corresponds to a fourth waiting time, and the fourth waiting time includes waiting times corresponding to respective ones of the plurality of analysis types; The scheduling order is obtained according to a plurality of the fourth waiting times.
5. The method according to claim 4, wherein Before the step of obtaining the scheduling order according to the plurality of fourth waiting times, the method further includes: When a target event occurs, obtaining an adjustment time corresponding to the target event; Determining a selected fourth waiting time corresponding to the target event from a plurality of said fourth waiting times; adjusting the selected fourth waiting time using the adjustment time to obtain an adjusted selected fourth waiting time; The step of obtaining the scheduling order according to the plurality of fourth waiting times comprises: The scheduling order is obtained according to the adjusted selected fourth waiting time and fourth waiting times among the plurality of fourth waiting times except the selected fourth waiting time.
6. A sample scheduling device, characterized in that: For use in a sample management terminal, the device comprises: A first acquisition module is used to obtain the analysis type corresponding to the sample to be analyzed in the sample rack to be scheduled; A second acquisition module is configured to acquire a scheduling order corresponding to the analysis type; wherein the analysis type includes multiple types; A path acquisition module, configured to plan a scheduling path for the sample rack to be scheduled according to the scheduling order and the load of the sample analysis area; A scheduling module, configured to sequentially schedule the sample racks to be scheduled to corresponding sample analysis areas according to the scheduling path; wherein the sample analysis areas include a plurality of sample analysis areas corresponding to the plurality of analysis types; The path acquisition module is specifically used to sort the multiple sample analysis areas according to the scheduling order; determine whether the nth sample analysis area is in an idle state, where n is sequentially taken from 1 to (N-1), and N is the number of the multiple sample analysis areas; if the nth sample analysis area is not in an idle state, obtain the second waiting time of the nth sample analysis area and the third waiting time of the (n+1)th sample analysis area; wherein the second waiting time is the sum of the sampling time of the sample being sampled and the sample waiting for sampling, and the third waiting time is the sum of the sampling time of the sample being sampled and the sample waiting for sampling. The sum of the aspiration time of the sample and the aspiration time of the samples to be analyzed in the sample rack to be scheduled; according to the third waiting time and the second waiting time, a second result scheduling order of the sample rack to be scheduled is obtained; wherein, if the second waiting time is greater than or equal to the third waiting time, priority is given to scheduling to the (n+1)th sample analysis area as the second result scheduling order; if the second waiting time is less than the third waiting time, priority is given to scheduling to the nth sample analysis area as the second result scheduling order; according to the second result scheduling order, a scheduling path of the sample rack to be scheduled is obtained.
7. A sample management terminal, characterized in that: The sample management terminal includes: a memory, a processor, and a sample scheduling program stored in the memory and running on the processor. When the sample scheduling program is executed by the processor, the steps of the sample scheduling method according to any one of claims 1 to 5 are implemented.
8. A storage medium, characterized in that: The storage medium stores a sample scheduling program, which implements the steps of the sample scheduling method according to any one of claims 1 to 5 when executed by a processor.
Citation Information
Patent Citations
Sample scheduling method and device, terminal equipment and medium
CN110297096A
Sample detection time estimation method and device, sample analyzer and storage medium
CN111398611A
Method and system for monitoring sample on pipeline
CN112654871A