Control method of sampling device, related device and computer readable storage medium

By sorting and prioritizing the request events of the sampling device, the low feeding efficiency problem when multiple analyzers share the sampling device is solved, and more efficient sample supply and return operations are achieved.

CN115267236BActive Publication Date: 2025-09-19SHENZHEN DYMIND BIOTECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110474907.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-29
Publication Date
2025-09-19
Estimated Expiration
2041-04-29

AI Technical Summary

Technical Problem

In the prior art, when multiple analyzers share one sample injection device, the sample injection device has low feeding efficiency and cannot efficiently respond to sample provision and return requests from multiple sample analysis devices.

Method used

By sorting all request events obtained by the sampling device, the distance between the current position and the sample analysis device is determined, and request events with shorter distances are executed first, thereby reducing the moving distance and time of the sampling device.

Benefits of technology

The feeding efficiency of the sample feeding device is improved, time waste due to path duplication is avoided, and the overall efficiency of the sample analysis system is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115267236B_ABST
    Figure CN115267236B_ABST
Patent Text Reader

Abstract

The present application discloses a control method for a sampling device, a related device, and a computer-readable storage medium. The sampling device is used to respond to sample provision / sample return request events of at least two sample analysis devices. The control method includes: sorting all acquired request events; if the first request event after sorting is a sample provision / sample return request event, and there are at least two sample provision / sample return request events among all the request events, determining the distance between the current position of the sampling device and the at least two sample analysis devices corresponding to the at least two sample provision / sample return request events; and executing the sample provision / sample return request event corresponding to the one with the shorter distance. In this way, the present application can improve feeding efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of medical detection technology, and in particular to a control method for a sample injection device, related devices, and a computer-readable storage medium. Background Art

[0002] As the number of samples examined by analyzers increases, the load of a single analyzer can no longer meet the actual needs. To this end, one or more analyzers are usually added to increase the inspection speed, and the two analyzers share a single sample feeder servo.

[0003] When two analyzers share a single injector, the injector can simultaneously deliver and retrieve samples from both analyzers. When an injector completes a transaction, both analyzers send requests to the injector to deliver or retrieve test tube samples. Software providers typically prioritize requests in the order of time, meaning the injector prioritizes the analyzer that made the request first. Summary of the Invention

[0004] The present application mainly provides a control method for a sample injection device, related devices and computer-readable storage medium, which can solve the problem of low feeding efficiency of the sample injection device in the prior art.

[0005] To solve the above technical problems, the first aspect of the present application provides a control method for a sampling device, wherein the sampling device is used to respond to sample provision / sample return request events of at least two sample analysis devices, and the method includes: sorting all acquired request events; if the first request event after sorting is a sample provision / sample return request event, and there are at least two sample provision / sample return request events among all the request events, determining the distance between the current position of the sampling device and the at least two sample analysis devices corresponding to the at least two sample provision / sample return request events; and executing the sample provision / sample return request event corresponding to the one with the shorter distance.

[0006] The step of sorting all acquired request events includes sorting all acquired request events according to their priorities.

[0007] The method further includes: sorting request events with the same priority level according to the time sequence of initiation of the request events.

[0008] The method further includes: obtaining the sample provision / sample return request events sent by the at least two sample analysis devices; adding the obtained sample provision / sample return request events to a request event queue; and sorting all obtained request events, including: sorting the request events in the request event queue.

[0009] Among them, after sorting all the acquired request events, it also includes: judging whether the first request event after sorting is a sample provision / sample return request event; if so, judging whether there are at least two sample provision / sample return request events among all the request events; if so, executing the determination of the distance between the current position of the sampling device and the at least two sample analysis devices corresponding to the at least two sample provision / sample return request events.

[0010] The method further includes: if the first request event after sorting is not a sample provision / sample return request event, executing the first request event.

[0011] The method further includes: if the first request event after sorting is a sample provision / sample return request event, and there is only one sample provision / sample return request event among all the request events, executing the first request event.

[0012] In order to solve the above technical problems, the second aspect of the present application provides a sampling device, which includes a processor and a memory, in which a computer program is stored. The processor is used to execute the computer program to implement the control method of the sampling device provided in the first aspect above.

[0013] To solve the above technical problems, the third aspect of the present application provides a sample analysis system, which includes: a sample injection device, at least two sample analysis devices, and a control device, wherein the control device is connected to the sample injection device and the at least two sample analysis devices; wherein the control device includes a processor and a memory, the memory stores a computer program, and the processor is used to execute the computer program to implement the control method of the sample injection device provided in the first aspect above.

[0014] In order to solve the above technical problems, the fourth aspect of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the control method of the sampling device provided in the first aspect.

[0015] The beneficial effect of the present application is as follows: different from the prior art, the sampling device of the present application is used to respond to sample provision / sample return request events of at least two sample analysis devices. After obtaining the request event, all the obtained request events are sorted. If the first request event after the sorting is a sample provision / sample return request event, and there are at least two sample provision / sample return request events among all the request events, the distance between the current position of the sampling device and the at least two sample analysis devices corresponding to the at least two sample provision / sample return request events is determined, and the sample provision / sample return request event corresponding to the one with the shorter distance is executed. In this way, the sampling device of the present application can determine the distance between the sampling device and each sample analysis device in two or more sample provision / sample return events, and give priority to executing the request event with a closer distance according to the principle of proximity, thereby avoiding the generation or increase of repeated movement distance of the sampling device due to first executing the request event with a farther distance and then returning to execute the request event with a closer distance. In addition, the time required for the movement of the sampling device can be reduced by reducing the movement distance of the sampling device, thereby improving the feeding efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 This is a schematic flow chart of an embodiment of a control method for a sample injection device of the present application;

[0017] Figure 2 This is a schematic flow chart of an embodiment of step S10 of the present application;

[0018] Figure 3 This is a schematic diagram of an embodiment of the moving path of the sample injection device of the present application;

[0019] Figure 4 This is a schematic flow chart of another embodiment of the control method of the sample injection device of the present application;

[0020] Figure 5 This is a schematic flow chart of another embodiment of the control method of the sample injection device of the present application;

[0021] Figure 6 This is a schematic block diagram of the circuit structure of an embodiment of the sample injection device of the present application;

[0022] Figure 7 This is a schematic block diagram of the circuit structure of an embodiment of the sample analysis system of the present application;

[0023] Figure 8 This is a schematic block diagram of the circuit structure of an embodiment of the computer-readable storage medium of the present application. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0025] The terms "first" and "second" in this application are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features shown. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of such features. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0026] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor do they constitute independent or alternative embodiments that are mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0027] The sampling device in this application is used to respond to sample provision / sample return request events from at least two sample analyzers. Specifically, in general, at least two sample analyzers are dispersed at various locations, and the sampling device is configured to move along a preset path. As it moves along the preset path, the sampling device can pass through each sample analyzer and perform sample provision / sample return operations to each sample analyzer, completing the sample transfer process and enabling the sample analyzers to continue analyzing samples.

[0028] During the operation of two or more sample analysis devices, each sample analysis device successively sends a sample provision / sample return request to the sampling device. The sampling device responds to such request events and moves to the location of the corresponding sample analysis device to perform the sample provision / sample return operation.

[0029] Among them, sample provision refers to the sampling device providing the sample to be analyzed to the sample analysis device so that the sample analysis device can detect and analyze the sample; sample return refers to the sampling device removing the sample that has been analyzed from the sample analysis device to make room for a new sample to be analyzed.

[0030] In addition to responding to sample provision and sample return requests and performing sample provision and sample return operations, the sample injection device in each embodiment of the present application can also respond to a variety of other request events, such as sample acquisition events and sample discard events, which are not listed here. A sample acquisition event refers to the sample injection device acquiring a sample from a sample access point for providing the sample to a sample analyzer; a sample discard event refers to the sample injection device discarding a sample returned by the sample analyzer.

[0031] See Figure 1 , Figure 1 This is a flow chart showing an embodiment of a control method for a sample injection device of the present application. The sample injection device is used to respond to sample provision / sample return request events of at least two sample analysis devices, wherein sample provision refers to the sample injection device providing a sample. The control method of the sample injection device of this embodiment includes the following steps:

[0032] S11, sorting all acquired request events.

[0033] Since the sampling device is used to perform sample provision / sample return operations on two or more sample analysis devices, when the sampling device is working, it successively obtains request events sent by two or more sample analysis devices. All request events may include sample provision request events, sample return request events, and may also include other request events. This step sorts all the obtained request events to form a sorting queue, so that each request event is executed in sequence according to the queue order.

[0034] Among them, all request events can be sorted according to the priority of the request events. The higher the priority of the request event, the front of the queue it is arranged in, and the lower the priority of the request event, the back of the queue it is arranged in. In this way, when the sampling device executes each request event in sequence, it can give priority to the request event with a higher degree of importance, thereby improving efficiency.

[0035] Specifically, a sorting rule can be pre-set, and when this step sorts all request events, it is performed according to the pre-set sorting rule. For example, the priority order can be set according to the type of each request event, the subject that issues the request event, the acquisition time of the request event, etc., wherein the request event type includes, for example, sample provision, sample return, sample acquisition, and sample discard, and its priority order can be set as: sample provision = sample return > sample acquisition > sample discard; the subject that issues the request event can be, for example, a sample analysis device, a control device, etc., and the priority order can be set as: request event issued by the sample analysis device > request event issued by the control device; if the priority order is set according to the acquisition time of the request event, it can be set as: the earlier the request event is acquired, the higher its priority.

[0036] See also Figure 2 , Figure 2 This is a schematic flow chart of an embodiment of step S10 of this application. This embodiment includes the following steps:

[0037] S111: Sort all request events according to their priorities.

[0038] This step can sort all request events according to the priority of the request event type. The method for determining the priority of the event type can be set as needed. For example, the priority order can be: sample provision = sample return > sample discard > sample acquisition. This is only an illustrative example of the priority ordering method. In actual applications, there may be other priority ordering methods, which will not be detailed here.

[0039] S112: For request events with the same priority, sort them according to the time sequence of initiation of the request events.

[0040] For request events with the same priority, they are sorted in the order of their initiation time. Specifically, when each request event is obtained, the current timestamp is attached to the request event. When multiple request events with the same priority are received, the events with the same priority are sorted in the order of their chronological order.

[0041] This embodiment arranges the request events in order according to a predetermined rule, so that the sampling device can preferentially execute the request events with higher order and higher priority, thereby making the device more intelligent.

[0042] S12, judging whether the first request event after sorting is a sample providing / sample returning request event, and whether at least two of all request events are sample providing / sample returning request events.

[0043] Among them, "there are at least two sample provision / sample return request events among all request events" means: among all the request events after sorting, the total number of sample provision request events and sample return request events is at least two, among which the number of sample provision request events or sample return request events can be 0.

[0044] If this step determines that the first request event after sorting is a sample provision / sample return request event, and at least two sample provision / sample return request events are established among all request events, it means that among all request events after sorting, the total number of sample return request events and sample provision request events is at least 2, and they are most likely issued by different sample analysis devices, which means that the sampling device needs to perform sample provision / sample return operations on at least two sample analysis devices, then execute step S13; otherwise, execute step S15.

[0045] S13: Determine the distances between the current position of the sample injection device and at least two sample analysis devices corresponding to at least two sample providing / sample returning request events.

[0046] The sampling device may be equipped with a position measurement and recording instrument for detecting and recording the position information of the sampling device. In this step, when it is determined that there are at least two sample provision / sample return request events in the sorting, the positions of at least two sample analysis devices corresponding to the at least two sample provision / sample return request events are located, and the distance between each of the at least two sample analysis devices and the current position of the sampling device is calculated, so as to facilitate the determination of the sample analysis device that has priority in sample provision / sample return based on the distance.

[0047] S14, execute the sample provision / sample return request event corresponding to the one with the shorter distance.

[0048] This step is based on the distance between the current position of the sampling device and the sample analysis device corresponding to each sample supply / sample return request event, and executes the sample supply / sample return request event corresponding to the one with the shorter distance, which can avoid path duplication to the greatest extent and improve feeding efficiency.

[0049] Specifically, since the judgment result of step S12 indicates that the sampling device needs to perform sample supply / sample return operations on at least two different sample analysis devices, and the movement path of the sampling device is fixed, if the sample supply / sample return operations are to be performed on multiple sample analysis devices, there may be duplication of paths, resulting in low execution efficiency of the sampling device.

[0050] For example, see Figure 3 , Figure 3 This is a schematic diagram of an embodiment of the moving path of the sample injection device of the present application. 91, 92, 93, and 94 in the figure represent sample analysis devices. The sample injection device can move back and forth on a preset path R to provide / return samples to each sample analysis device according to the request event.

[0051] In one scenario, if the sampling device is currently at position S and there are two sample supply / sample return request events among all sorted request events, and the entities issuing the request events are sample analyzers 93 and 94, respectively, then the sampling device needs to perform sample supply / sample return operations on sample analyzers 93 and 94, respectively. Two solutions exist. The first solution is that the sampling device first moves from position S to sample analyzer 93 to perform sample supply / sample return operations on sample analyzer 93, and then moves from sample analyzer 93 to sample analyzer 94 to perform sample supply / sample return operations on sample analyzer 94. The total distance the sampling device moves is: L2 + L1. The second solution is that the sampling device first moves from position S to sample analyzer 94 to perform sample supply / sample return operations on sample analyzer 94, and then moves from sample analyzer 94 to sample analyzer 93 to perform sample supply / sample return operations on sample analyzer 93. The total distance the sampling device moves is: L2 + 2L1. Obviously, the second solution has a repeated path in the L1 part, which takes a long time for the sample feeding device to move, reducing the feeding efficiency.

[0052] In another scenario, if the sampling device is currently at position S, and among all sorted request events, there are two sample provision / sample return request events, and the entities issuing the request events are sample analyzers 92 and 93, respectively, then the sampling device needs to perform sample provision / sample return operations on sample analyzers 92 and 93, respectively. Two solutions exist. The first solution is to first move the sampling device from position S to sample analyzer 92 to perform sample provision / sample return operations on sample analyzer 92, and then move from sample analyzer 92 to sample analyzer 93 to perform sample provision / sample return operations on sample analyzer 93. The total distance moved by the sampling device is: L2 + 2L3. The second solution is to first move the sampling device from position S to sample analyzer 93 to perform sample provision / sample return operations on sample analyzer 93, and then move from sample analyzer 93 to sample analyzer 92 to perform sample provision / sample return operations on sample analyzer 92. The total distance moved by the sampling device is: 2L2 + L3. Obviously, there are path repetitions in both schemes, but the path repetition part of the first scheme is more than that of the first scheme, which takes longer time and has low feeding efficiency.

[0053] In both of the above scenarios, the solution that prioritizes servicing the farther-away sample analyzer results in a longer final distance for the sample injector. Furthermore, both examples above illustrate servicing two sample analyzers. In practice, the efficiency advantage of this embodiment becomes more pronounced when servicing a greater number of sample analyzers in a short period of time.

[0054] Therefore, when the sample supply / sample return operations need to be performed on multiple sample analyzers in sequence, the present embodiment prioritizes the request events issued by the sample analyzers that are closer, which can effectively reduce the total moving distance of the sample injector, save time, and improve feeding efficiency.

[0055] S15, executing the first request event after sorting.

[0056] If the judgment result in step S12 is: the first request event after sorting is a sample provision / sample return request event, and one of at least two sample provision / sample return request events among all request events is not true, then the first request event after sorting is directly executed.

[0057] In this embodiment, when the sampling device needs to process at least two sample providing / sample returning request events, the distance between the current position of the sampling device and the sample analyzing device corresponding to each sample providing / sample returning request event is first determined, and the sample providing / sample returning request event corresponding to the sample analyzing device with a closer distance is preferentially executed, thereby minimizing duplication on the moving path of the sampling device, reducing time waste, and improving feeding efficiency.

[0058] This embodiment may include two threads, one is a request event collection thread, and the other is a request event execution thread. After receiving the request event from the sample analysis device and other devices, the request event collection thread adds the current timestamp. The request event execution thread adds all request events to the request event queue and executes steps S11 to S15. Figure 4 , Figure 4 This is a schematic flow chart of another embodiment of the control method of the sample injection device of the present application.

[0059] S21: Acquire sample provision / sample return request events sent by at least two sample analysis devices.

[0060] The collection request event thread successively receives sample provision / sample return request events sent by at least two sample analysis devices, and may also receive other request events, such as sample acquisition request events and sample discard request events.

[0061] This step can add a current timestamp to the sample provision / sample return request event and other events obtained.

[0062] S22: Add the acquired sample provision / sample return request event to the request event queue.

[0063] The request event execution thread adds the acquired sample provision / sample return request event to the request event queue to execute all request events in the request event queue.

[0064] S23, sorting the request events in the request event queue.

[0065] The manner of sorting the request events in the row queue in this step is the same as step S11 in the previous embodiment, and will not be repeated here.

[0066] S24, judging whether the first request event after sorting is a sample providing / sample returning request event, and whether at least two of all request events are sample providing / sample returning request events.

[0067] If this step determines that the first request event after sorting is a sample provision / sample return request event, and at least two sample provision / sample return request events are established among all request events, it means that among all request events after sorting, the total number of sample return request events and sample provision request events is at least 2, and they are most likely issued by different sample analysis devices, which means that the sampling device needs to perform sample provision / sample return operations on at least two sample analysis devices, then execute step S25; otherwise, execute step S27.

[0068] S25 , determining the distances between the current position of the sample injection device and at least two sample analysis devices corresponding to at least two sample providing / sample returning request events.

[0069] This step is the same as step S13 in the previous embodiment and will not be described again here.

[0070] S26, execute the sample provision / sample return request event corresponding to the one with the shorter distance.

[0071] This step is the same as step S14 in the previous embodiment and will not be described again here.

[0072] S27, execute the first request event after sorting.

[0073] If the judgment result in step S24 is: the first request event after sorting is a sample provision / sample return request event, and one of at least two sample provision / sample return request events among all request events is not true, then the first request event after sorting is directly executed.

[0074] After executing step S26 or step S27, this embodiment returns to step S22, adds the acquired request event to the request event queue, re-sorts all request events in the request event queue, and executes according to the rules.

[0075] See also Figure 5 , Figure 5 This is a schematic flow chart of another embodiment of the control method of the sample injection device of the present application. This embodiment includes the following steps:

[0076] S31, sorting all acquired request events.

[0077] This step is the same as step S11 and will not be repeated here.

[0078] S32: Determine whether the first request event after sorting is a sample provision / sample return request event.

[0079] This step determines whether the first request event among all the sorted request events is a sample provision / sample return request event. If the first request event is a sample provision / sample return request event, execute step S33; otherwise, execute step S36 and directly execute the first request event.

[0080] S33, determining whether there are at least two sample provision / sample return request events among all request events.

[0081] Here, “all request events” refers to all request events in the sorting queue formed after sorting.

[0082] After determining that the first request event after sorting is a sample providing / sample returning request event, this step continues to determine whether there are at least two sample providing / sample returning request events among all the request events after sorting. If so, it indicates that the sampling device needs to perform sample providing / sample returning operations on at least two sample analyzing devices in succession, and then execute step S34; otherwise, the sampling device only needs to perform sample providing / sample returning operations on the sample analyzing device corresponding to the sample providing / sample returning request event, and directly execute step S36.

[0083] S34: Determine the distances between the current position of the sample injection device and at least two sample analysis devices corresponding to at least two sample providing / sample returning request events.

[0084] This step is the same as step S13 and will not be repeated here.

[0085] S35, execute the sample provision / sample return request event corresponding to the one with the shorter distance.

[0086] This step is the same as step S14 and will not be repeated here.

[0087] S36, executing the first request event after sorting.

[0088] This step is the same as step S15 and will not be repeated here.

[0089] This embodiment first determines whether the first request event among all the request events after sorting is a sample providing / sample returning request event. If the first request event is not a sample providing / sample returning request event, the request event is directly executed. If the first request event is a sample providing / sample returning request event, it continues to determine whether there are at least two sample providing / sample returning request events among all the request events after sorting. If so, after comparing the current position of the sampling device with the distances between each sample analysis device corresponding to the at least two sample providing / sample returning request events, the sample providing / sample returning operation is performed on the one with a closer distance to reduce the moving distance of the sampling device and improve the feeding efficiency.

[0090] In the above embodiments of the present application, “ / ” means “or”. In addition, the above embodiments can be combined with each other to solve the problem.

[0091] See also Figure 6 , Figure 6 The circuit structure of an embodiment of the sample injection device of the present application is shown in the following block diagram. The sample injection device 10 includes a processor 11 and a memory 12 coupled to each other. The memory 12 stores a computer program. The processor 11 is used to execute the computer program to implement the following method:

[0092] All acquired request events are sorted; if the first request event after sorting is a sample providing / sample returning request event, and there are at least two sample providing / sample returning request events among all request events, the distance between the current position of the sampling device and at least two sample analyzing devices corresponding to the at least two sample providing / sample returning request events is determined; and the sample providing / sample returning request event corresponding to the one with the shorter distance is executed.

[0093] It can be understood that the processor 11 in this embodiment is also used to implement the steps of each embodiment of the control method of the sample injection device of the present application.

[0094] For the description of each step of the processing execution, please refer to the description of each step of the embodiment of the control method of the sampling device of the present application, which will not be repeated here.

[0095] See also Figure 7 , Figure 7 This is a schematic block diagram of the circuit structure of an embodiment of the sample analysis system of the present application. The sample analysis system 20 includes a sample injection device 21, at least two sample analysis devices 22, and a control device 23. The control device 23 is connected to the sample injection device 21 and the at least two sample analysis devices 22.

[0096] The control device 23 includes a processor 231 and a memory 232. The memory 232 stores a computer program. The processor 231 is configured to execute the computer program to implement the following method:

[0097] All acquired request events are sorted; if the first request event after sorting is a sample providing / sample returning request event, and there are at least two sample providing / sample returning request events among all request events, the distance between the current position of the sampling device and at least two sample analyzing devices corresponding to the at least two sample providing / sample returning request events is determined; and the sample providing / sample returning request event corresponding to the one with the shorter distance is executed.

[0098] It can be understood that the processor 231 in this embodiment is also used to implement the steps of each embodiment of the control method of the sample injection device of the present application.

[0099] For the description of each step of the processing execution, please refer to the description of each step of the embodiment of the control method of the sampling device of the present application, which will not be repeated here.

[0100] See Figure 8 , Figure 8 This is a schematic block diagram of a circuit structure of an embodiment of a computer-readable storage medium of the present application. The computer storage medium 30 stores a computer program 301. When the computer program 301 is executed by a processor, it is used to implement the following method:

[0101] All acquired request events are sorted; if the first request event after sorting is a sample providing / sample returning request event, and there are at least two sample providing / sample returning request events among all request events, the distance between the current position of the sampling device and at least two sample analyzing devices corresponding to the at least two sample providing / sample returning request events is determined; and the sample providing / sample returning request event corresponding to the one with the shorter distance is executed.

[0102] It can be understood that when the computer program 301 in this embodiment is executed by the processor, it is also used to implement the steps of each embodiment of the control method of the sample injection device of the present application.

[0103] For the description of each step of the processing execution, please refer to the description of each step of the embodiment of the control method of the sampling device of the present application, which will not be repeated here.

[0104] The computer storage medium 30 can be any medium that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0105] In each embodiment of the present application, the disclosed methods and devices can be implemented in other ways. For example, the device implementation methods described above are only schematic. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.

[0106] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of this embodiment.

[0107] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0108] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, or the part that contributes to the existing technology, or all or part of the technical solution, can be embodied in the form of a software product, and the computer software product can be stored in a storage medium.

[0109] The above description is merely an embodiment of the present application and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A control method for a sample injection device, characterized in that: The sample injection device is used to respond to sample provision / sample return request events of at least two sample analysis devices, and the method includes: Sort all request events in the request event queue; If the first request event after sorting is a sample providing / sample returning request event, and there are at least two sample providing / sample returning request events among all the request events, determining the distances between the current position of the sample injector and at least two sample analyzing devices corresponding to the at least two sample providing / sample returning request events; Execute the sample provision / sample return request event corresponding to the one with the shorter distance; Return to the step of adding the acquired request event to the request event queue, and re-sort all request events in the request event queue.

2. The method according to claim 1, characterized in that The sorting of all request events in the request event queue includes: All the request events are sorted according to their priorities.

3. The method according to claim 2, characterized in that The method further comprises: For request events with the same priority, they are sorted according to the time when the request events were initiated.

4. The method according to claim 1, wherein The method further comprises: Obtaining sample provision / sample return request events sent by the at least two sample analysis devices; The acquired sample provision / sample return request event is added to the request event queue.

5. The method according to claim 1, wherein After sorting all request events in the request event queue, the method further includes: Determine whether the first request event after sorting is a sample provision / sample return request event; If so, determining whether there are at least two sample provision / sample return request events among all the request events; If so, the step of determining the distances between the current position of the sample injection device and the at least two sample analysis devices corresponding to the at least two sample providing / sample returning request events is performed.

6. The method according to claim 5, characterized in that The method further comprises: If the first request event after sorting is not a sample provision / sample return request event, the first request event is executed.

7. The method according to claim 5, characterized in that The method further comprises: If the first request event after sorting is a sample provision / sample return request event, and there is only one sample provision / sample return request event among all the request events, then the first request event is executed.

8. A sampling device, characterized in that: The sample injection device comprises a processor and a memory, wherein a computer program is stored in the memory, and the processor is configured to execute the computer program to implement the steps of the method according to any one of claims 1 to 7.

9. A sample analysis system, characterized in that: The sample analysis system comprises: a sample injection device, at least two sample analysis devices, and a control device, wherein the control device is connected to the sample injection device and the at least two sample analysis devices; The control device includes a processor and a memory, wherein a computer program is stored in the memory, and the processor is configured to execute the computer program to implement the steps of the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Multi-task delivery method and device of robot and robot

    CN112053067A