Test task generation method, electronic device, storage medium, and sample analyzer
By obtaining sample information in the sample analyzer and matching available detection resources, the detection tasks are automatically generated, which solves the problem of cumbersome and time-consuming manual input of detection tasks by users, and improves detection efficiency and accuracy.
Patent Information
- Application Number
- PCT/CN2024/126025
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-10-25
- Filing Date
- 2024-10-21
- Publication Date
- 2025-05-01
AI Technical Summary
In the prior art, in the absence of a superior information management system, the sample analyzer requires users to manually input detection tasks, which leads to cumbersome operations, time-consuming and prone to errors, affecting detection efficiency.
By obtaining the sample information carried by the detection samples in the sample storage area of the sample analyzer and matching them with available detection resources, the detection tasks to be executed are automatically generated to reduce user manual operations.
The method of automatically generating detection tasks by sample analyzer is realized, saving user operation time, improving the detection efficiency of detection tasks, and improving the accuracy of acquisition of detection information.
Smart Images

Figure CN2024126025_01052025_PF_FP_ABST
Abstract
Description
Method for generating detection tasks, electronic equipment, storage medium and sample analyzer
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on October 25, 2023, with application number 202311395141.3 and application name “Method for generating detection tasks, electronic device, storage medium and sample analyzer”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of medical equipment, and in particular to a method for generating a detection task, an electronic device, a storage medium, and a sample analyzer. Background Art
[0003] A sample analyzer is a blood analyzer used to detect specific substances in a patient's blood sample. Depending on the detection methodology, sample analyzers can be biochemical analyzers, chemiluminescence analyzers, mass spectrometers, hematology analyzers, coagulation analyzers, nucleic acid analyzers, and so on. Each sample analyzer requires corresponding test information for each test sample. This information includes sample information and the test task.
[0004] Currently, there are two approaches to obtaining test information: one is to automatically obtain test information from a higher-level information management system, and the other is for users to manually enter sample information and select test items. The latter option is suitable for use cases where a higher-level information management system is not available, such as ambulances, field medical testing, and customs inspections. However, due to the large amount of information to enter, user operations are time-consuming and prone to errors. Users need to repeatedly extract sample information and test tasks from sample tubes, which has the disadvantages of being cumbersome and time-consuming.
[0005] In response to this manual input requirement, an optimization method is needed that can improve the accuracy of detection information acquisition, reduce the user's manual workload, and save time to improve detection efficiency.
[0006] Summary of the Invention
[0007] In order to solve or partially solve the problems existing in the related art, the present application provides a method for generating a detection task, an electronic device, a storage medium and a sample analyzer, which can improve the detection task generation efficiency of the sample analyzer when the sample analyzer performs a fixed detection task.
[0008] In a first aspect, the present application provides a method for generating a detection task, which is used in a sample analyzer, comprising:
[0009] Acquiring sample information carried by the test sample in the sample storage area of the sample analyzer;
[0010] Obtaining the available detection resources of the sample analyzer, matching the available detection resources of the sample analyzer with the preset detection tasks, and determining the target detection task of the detection sample based on the matching results;
[0011] Generate a to-be-executed detection task for the sample analyzer based on the sample information carried by the detection sample and the target detection task of the detection sample.
[0012] Optionally, the sample information is a sample code of the test sample, and obtaining the sample information carried by the test sample in the sample storage area of the sample analyzer includes:
[0013] Receive the detection signal emitted by the sensor and determine whether the sample code is scanned;
[0014] When the sample code is not scanned, an instruction for entering the sample code is generated, and the instruction for entering the sample code is used to instruct the user to enter the sample code.
[0015] Optionally, the method further includes obtaining a preset detection task, and obtaining the preset detection task includes:
[0016] Retrieve the default configuration items of the sample analyzer.
[0017] Optionally, obtaining a preset detection task further includes:
[0018] Adjust the setting parameters of the sample analyzer's default configuration items based on the user input instructions to generate a preset detection task; and / or adjust the order of the sample analyzer's default configuration items based on the user input instructions when the number of the sample analyzer's default configuration items is at least two.
[0019] Optionally, the available detection resources of the sample analyzer include at least: the remaining amount of the on-machine detection reagent of the sample analyzer, the type of the on-machine detection reagent of the sample analyzer, and the status of the on-machine detection reagent.
[0020] Optionally, matching the available detection resources of the sample analyzer with the preset detection tasks, and determining the target detection task for the detection sample according to the matching result, includes:
[0021] Obtaining the number of test samples, and using the number of test samples to calculate the test resources required for a preset test task;
[0022] comparing the available detection resources of the sample analyzer with the detection resources required by the preset detection task;
[0023] The target detection task of the detection sample is determined according to the comparison result.
[0024] Optionally, generating a to-be-executed detection task of the sample analyzer according to the sample information carried by the detection sample and the target detection task of the detection sample includes:
[0025] After the target detection task of the detection sample is confirmed by the user, a detection task to be executed by the sample analyzer is generated.
[0026] A second aspect of the present application provides an electronic device, including:
[0027] processor; and
[0028] The memory stores executable codes, and when the executable codes are executed by the processor, the processor executes the above method.
[0029] A third aspect of the present application provides a computer-readable storage medium having executable code stored thereon. When the executable code is executed by a processor of an electronic device, the processor executes the above method.
[0030] A fourth aspect of the present application provides a sample analyzer, which includes the above-mentioned electronic device.
[0031] The technical solution provided by this application may have the following beneficial effects:
[0032] Firstly, this application facilitates users to select batch detection tasks for test tubes by pre-configuring preset detection tasks.
[0033] Secondly, the present application obtains the available detection resources of the sample analyzer, matches the available detection resources of the sample analyzer with the preset detection tasks, and determines the target detection task of the detection sample based on the matching results; generates the to-be-executed detection task of the sample analyzer based on the sample information carried by the detection sample and the target detection task of the detection sample, thereby realizing a method for the sample analyzer to automatically generate detection tasks, thereby saving user operations and improving the detection efficiency of detection tasks.
[0034] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The above and other objects, features and advantages of the present application will become more apparent through a more detailed description of exemplary embodiments of the present application in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same components in the exemplary embodiments of the present application.
[0036] FIG1 is a flow chart of a method for generating a detection task according to an embodiment of the present application;
[0037] FIG2 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
[0038] FIG3 is a schematic structural diagram of a sample analyzer according to an embodiment of the present application.
[0039] In a specific embodiment
[0040] The following describes embodiments of the present application in more detail with reference to the accompanying drawings. Although the accompanying drawings illustrate embodiments of the present application, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. Rather, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.
[0041] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. As used in this application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
[0042] It should be understood that although the terms "first", "second", "third", etc. may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0043] A sample analyzer is a blood analyzer used to detect specific substances in a patient's blood sample. Depending on the detection methodology, sample analyzers can be biochemical analyzers, chemiluminescence analyzers, mass spectrometers, hematology analyzers, coagulation analyzers, nucleic acid analyzers, and so on. Each sample analyzer requires corresponding test information for each test sample. This information includes sample information and the test task.
[0044] Usually, electronic devices communicate with the hospital's laboratory information system (LIS) through a network connection (wired or wireless) to obtain these test information. This is because although the hospital has a separate patient information management system (HIS), the amount of information contained in the HIS system is relatively sensitive and should not be sent directly to the electronic device, and the amount of information in the HIS system far exceeds the test information required by the electronic device. Sample information generally refers to the sample code, which is attached to the test sample of the test sample in the form of a barcode, a QR code or an electronic tag. The test information refers to the test task to be performed on the test sample. For example, a test sample may need to perform eight test tasks. These test information can usually be obtained from the LIS system after the electronic device scans the sample code. However, for some special cases, the electronic device may not be able to obtain the test information, especially the test task information. For example, when there is no LIS system, or the sample code is not attached to the test sample or the sample code is incorrect (such as dirty, curled, etc.).
[0045] Especially when network connectivity is lacking and test information cannot be retrieved from the LIS system, such as in hospital departments outside of specialized laboratories or at emergency sites outside the hospital, operators are often required to manually input the test items of the samples to be tested one by one in order for the sample analyzer to obtain and generate test tasks. This manual input is undoubtedly time-consuming and laborious. For scenarios where test tasks need to be completed urgently, it is not only extremely time-consuming but also prone to test task errors due to manual input.
[0046] Based on this, this application proposes a new method for generating test tasks. With this method, even if the sample analyzer cannot automatically obtain the test tasks of the samples to be tested from the upper-level information management system (such as the LIS system), automatic test task generation can be achieved without the operator having to manually input them one by one.
[0047] The technical solutions of the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0048] 1 is a flow chart of a method for generating a detection task according to an embodiment of the present application, which mainly includes steps S101 to S10,3, as described below:
[0049] Step S101: Acquire sample information carried by a test sample in a sample storage area of a sample analyzer.
[0050] In the prior art, sample tubes are commonly used to carry test samples. Sample information is typically affixed to the test tube in the form of a code, QR code, or electronic label. The sample information can include the location of the sample tube, customer information for the customer containing the test sample, and the sample tube serial number.
[0051] Optionally, the sample storage area is a sample chamber of a sample analyzer. Before step S101, the user first places the sample tube into a sample rack and pushes the rack into the sample chamber of the instrument. A sensor is provided at the entrance of the sample chamber. Once the rack is pushed into place, the sensor is triggered to obtain the sample code on the sample tube (that is, the sample information carried by the sample). After the sensor scans and detects the sample code of the sample, the method of steps S101 to S103 is executed.
[0052] In one embodiment, the sample information is the sample code of the test tube, and obtaining the sample information carried by the test sample in the sample storage area of the sample analyzer includes: receiving the detection signal emitted by the sensor, and determining whether the sample code is scanned; when the sample code is not scanned, generating an instruction for entering the sample code, and the instruction for entering the sample code is used to instruct the user to enter the sample code.
[0053] In this embodiment, determining whether a sample code has been scanned includes determining whether the sample code is complete. The sample code entry instruction causes a sample application interface to pop up on the terminal interface. The sample application interface provides the user with a data sheet on which the user can manually enter information. When the user manually enters sample information, such as the sample ID, on the sample application interface, the preset test task is automatically read, the sample information and the preset test task are displayed on the interface, and steps S102 to S103 are executed.
[0054] Step S102 : obtaining available detection resources of the sample analyzer, matching the available detection resources of the sample analyzer with preset detection tasks, and determining a target detection task for the detection sample according to the matching result.
[0055] In step S102, the available detection resources of the sample analyzer include but are not limited to: detection reagent type, detection reagent calibration status, and detection reagent remaining amount. The available detection resources can be used to determine whether the sample analyzer meets the working conditions of the preset detection task.
[0056] In one embodiment, the method further includes obtaining a preset detection task, and obtaining the preset detection task includes: retrieving a default configuration item of the sample analyzer.
[0057] In this embodiment, the preset detection task can be a default configuration item of the sample analyzer that the user has configured in advance according to daily usage habits. The configuration function can be implemented in the setting interface of the sample analyzer or the terminal to which the sample analyzer is connected. For example, the setting interface is equipped with a "default detection" control, which can be clicked to enter the default detection item setting interface. All detection items that the sample analyzer can support are displayed on this interface, and are not limited to the onboard reagent items of the sample analyzer. The user enters user input instructions on the interface, and can select multiple detection items from the detection items on the interface as default configuration items, and set the default detection requirements for each default configuration item, such as whether each item is diluted, whether repeated detection is required, etc. The retrieved default configuration item can be used directly as a preset detection task, or it can be used as a preset detection task after the user adjusts the parameters.
[0058] This embodiment uses the default configuration items of the sample analyzer to batch-set target testing tasks for each sample, saving manpower and improving the effectiveness of sample testing tasks. Furthermore, by adjusting the default configuration items of the sample analyzer based on user input instructions to generate preset testing tasks, the default configuration items can be quickly customized.
[0059] In one embodiment, obtaining a preset detection task includes: adjusting setting parameters of a default configuration item of the sample analyzer based on a user input instruction to generate a preset detection task; and / or when the number of default configuration items of the sample analyzer is at least two, adjusting the order of the default configuration items of the sample analyzer based on the user input instruction.
[0060] In this embodiment, the setting parameters refer to other parameters that are not related to the detection reagents of the detection items, such as the dilution multiple of the detection sample, the number of detection samples (used to determine the number of detection tasks), the number of repetitions of the detection task, etc. At the same time, since the default configuration items are pre-set, during the execution of the default configuration items by the sample analyzer, there may be a situation where the detection resources are insufficient to skip the subsequent default configuration items. Therefore, the priority of the default configuration items can be sorted by setting the order of the default configuration items. For example, the priority of advanced emergency items is higher than that of ordinary emergency items, and the advanced emergency items can be placed in front of ordinary emergency items. In actual application scenarios, for example, if there is an urgent need to perform priority detection on a certain component of the sample, and it is required to obtain the detection result of this component in priority within a specified time, then the priority of the default configuration item corresponding to a certain component is higher than the priority of other default items in the current default configuration item queue. It is necessary to adjust the order of the default configuration items of the sample analyzer and give priority to the detection of the default configuration item corresponding to a certain component.
[0061] In one embodiment, the available detection resources of the sample analyzer include at least: the remaining amount of the on-board detection reagent of the sample analyzer, the type of the on-board detection reagent of the sample analyzer, and the status of the on-board detection reagent.
[0062] In this embodiment, the remaining amount of on-machine detection reagent is used to determine the number of detection tasks that can be executed, the type of on-machine detection reagent is used to determine the type of detection task that can be executed, and the status of the on-machine detection reagent is used to determine whether the working conditions of the detection task are met.
[0063] In one embodiment, the available detection resources of the sample analyzer are matched with the preset detection task, and the target detection task of the detection sample is determined based on the matching result, including: obtaining the number of detection samples, and using the number of detection samples to calculate the detection resources required for the preset detection task; comparing the available detection resources of the sample analyzer with the detection resources required for the preset detection task; and determining the target detection task of the detection sample based on the comparison result.
[0064] In this embodiment, a preset test task is first retrieved, and the test resources for a single test task are calculated based on the test reagents corresponding to the preset test task. The number of test samples is then obtained, and based on the number of test samples and the test resources required for a single test task, the test resources required for all the test samples currently to be tested are calculated. The calculated test resources are then compared with the available test resources of the sample analyzer. When calculating the available test resources of the sample analyzer, the type of test reagent required for the preset test task is first read, followed by the remaining storage capacity and storage status of that type of test reagent in the sample analyzer.
[0065] For example, the pre-set test task is a two-step hepatitis B test, including hepatitis B surface antigen testing and hepatitis B surface antibody testing. There are currently 50 samples to be tested. Therefore, the calculation shows that the test samples require 50 test quantities of hepatitis B surface antigen reagent and hepatitis B surface antibody reagent, respectively.
[0066] After calling up the preset detection task, the sample analyzer reads that the hepatitis B surface antigen reagent and the hepatitis B surface antibody reagent are needed, and reads the current balance (for example, 100 detection amounts are left for each) and storage status of the two reagents in the database of the sample analyzer. Because the detection reagents must be calibrated regularly at predetermined time intervals, the detection reagents in a valid calibration state are screened out from the onboard reagents and the available reagent balance is determined. Continuing with the hepatitis B surface antigen reagent and the hepatitis B surface antibody reagent as an example, the sample analyzer now finds that there are two bottles of hepatitis B surface antigen reagent and hepatitis B surface antibody reagent each, but one of the bottles of hepatitis B surface antigen reagent is not effectively calibrated and therefore cannot be used. Here, the sample analyzer screens out 1 bottle of hepatitis B surface antigen reagent and 2 bottles of hepatitis B surface antibody reagent that are in a valid calibration state. The reagent balances of these 3 bottles are obtained and the total amount is calculated to obtain 50 detection amounts for the hepatitis B surface antigen reagent and 75 detection amounts for the hepatitis B surface antibody reagent.
[0067] Here, the order of the two steps of obtaining the status of the detection reagent and obtaining the remaining amount of the reagent can be set arbitrarily without affecting the implementation of the technical solution of the present application.
[0068] The 50 tests required to test the sample are compared with the currently available test capacity of the sample analyzer to determine whether the sample analyzer has sufficient test resources to perform the preset test task. This generates a target test task for testing the sample.
[0069] If the default preset detection task does not meet the resources (such as no corresponding detection reagent, the reagent has not been calibrated), the preset detection task will be skipped. If all the default detection items do not meet the resources, the target detection task for generating the detection sample is suspended or terminated. Optionally, after suspending or terminating the target detection task for generating the detection sample, a task display interface can be popped up on the terminal to manually input the preset detection task. After generating the detection task, the number of detections that can be executed in batches can be further judged based on the matching results of the detection resources of the detection sample and the available detection resources of the sample analyzer. Optionally, when the matching result shows that the available detection resources of the sample analyzer do not meet the detection resources of the detection sample, an instruction that the sample analyzer cannot process the detection task in batches is generated on the display terminal, and the user can choose to execute the detection sample that can execute the detection task or terminate the detection task of the sample analyzer according to the instruction that the detection task cannot be processed in batches.
[0070] This embodiment can process the preset detection task resources of the detection samples in batches by comparing the detection resources required by the preset detection task with the available detection resources of the sample analyzer.
[0071] Optionally, in this embodiment, skipping a preset detection task includes displaying the skipped preset detection task in a pop-up window on the sample application interface, and after user confirmation, skipping the current preset detection task. By requiring user confirmation of the skipped preset detection task, the accuracy of the detection task can be improved.
[0072] Optionally, in this embodiment, the preset detection task is skipped without user confirmation, and the preset detection task that does not meet the conditions is automatically skipped. When the target detection task of the detection sample is generated, the target detection task of the detection sample is further modified and determined when the user subsequently confirms the target detection task of the detection sample.
[0073] Step S103 : generating a to-be-executed detection task of the sample analyzer according to the sample information carried by the detection sample and the target detection task of the detection sample.
[0074] In step S103, the sample information carried by the test sample and the target detection task of the test sample are transmitted to the sample analyzer, so that the sample analyzer generates a task to be detected for the sample analyzer according to the sample information carried by the test sample and the target detection task of the test sample.
[0075] The tasks to be tested by the sample analyzer can be, for example, a task table consisting of sample information and target detection tasks. The sample analyzer can then store the task table in a database, and after completing all detection tasks, the corresponding detection results can be sequentially stored in the table columns corresponding to the sample information (e.g., sample code).
[0076] In one embodiment, based on the sample information carried by the test sample and the target detection task of the test sample, a detection task to be executed by the sample analyzer is generated, including: after the target detection task of the test sample is confirmed by the user, the detection task to be executed by the sample analyzer is generated.
[0077] In this embodiment, the target detection tasks of the sample to be detected can be displayed in a highlighted form in the sample application interface. After the user selects the highlighted task, the target detection task of the sample to be detected is confirmed by the user. During the user confirmation process, the user can adjust the order of the target detection tasks of the sample to be detected again.
[0078] Optionally, in this embodiment, the sample analyzer may transmit the test tasks to be executed in the form of a queue. After executing the test tasks to be executed, the sample analyzer stores the test results in the queue of test tasks to be executed.
[0079] In one embodiment, the method for generating a detection task operated by a user on a sample analyzer is shown in steps S210 to S260, and specifically includes:
[0080] Step S210: The user configures the default configuration items of the sample analyzer according to daily usage habits.
[0081] In step S210, the configuration function can be implemented in the settings interface of the sample analyzer or the terminal connected to the sample analyzer. For example, the settings interface may include a "Default Test" control, which can be clicked to enter the default test item settings interface. This interface displays all test items supported by the sample analyzer, not just the onboard reagent items.
[0082] Step S220: The user places the sample into the sample storage area of the sample analyzer.
[0083] It should be noted that a sensor is installed at the entrance of the sample chamber. After the user places the test sample into the sample storage area of the sample analyzer, the sensor is triggered to obtain the sample code on the test sample. The sensor scans the sample code of the test sample and determines whether the sample code is scanned. If the sample code is not scanned, step S230 is executed. If the sample code is scanned, step S250 is executed.
[0084] Step S230: The user manually enters sample information such as sample code.
[0085] Entering sample information in step S230 includes entering the sample information on a pop-up sample request interface on the terminal. The sample request interface provides the user with a data sheet on which the user can manually enter information. After the user manually enters sample information such as the sample ID on the sample request interface, the pre-set testing task is automatically retrieved.
[0086] After entering the sample information in step S230, the preset test task is automatically matched. If the available test resources of the sample analyzer do not match the preset test task, the current preset test task is skipped. If they do match, the target test task for the sample is generated. The user can also manually modify the current preset test task.
[0087] In the target detection task of generating the detection sample, the user executes step S240.
[0088] Step S240: Receive the sample information carried by the test sample and the target test task of the test sample, click Save after confirmation by the user, and generate the task to be tested of the sample analyzer.
[0089] If a sample code is scanned, step S250 is executed.
[0090] Step S250: When the sample code is scanned, the available detection resources of the sample analyzer are matched with the preset detection task. When the detection resources of the current analyzer do not meet the detection resources of the preset detection task, the user is prompted to skip the current preset detection task; when the detection resources of the current analyzer meet the detection resources of the preset detection task, the current preset detection task is automatically retained and the target detection task for the detection sample is generated.
[0091] After the target detection task of the detection sample is determined in step S250 and step S20, it needs to be sent to the user for confirmation. After the user confirms, the task to be detected of the sample analyzer is generated and step S260 is executed.
[0092] In step S260 , after confirmation by the user, a pending detection task of the sample analyzer is generated. The user presses a button to start the sample analyzer to execute the pending detection task.
[0093] The user can quickly complete the setting of the batch detection task of the samples through steps S210 to S260, thereby improving the efficiency of generating tasks to be executed by the sample analyzer.
[0094] 2 is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. The electronic device 200 includes a memory 210 and a processor 220.
[0095] The processor 220 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0096] The memory 210 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices. ROM may store static data or instructions required by the processor 220 or other modules of the computer. The permanent storage device may be a readable and writable storage device. The permanent storage device may be a non-volatile storage device that retains stored instructions and data even when the computer is powered off. In some embodiments, the permanent storage device uses a large-capacity storage device (e.g., a magnetic or optical disk, flash memory) as the permanent storage device. In other embodiments, the permanent storage device may be a removable storage device (e.g., a floppy disk, optical drive). The system memory may be a readable and writable storage device or a volatile readable and writable storage device, such as dynamic random access memory. The system memory may store some or all instructions and data required by the processor during operation. In addition, the memory 210 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (e.g., DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and magnetic disks and / or optical disks may also be used. In some embodiments, the memory 210 may include a readable and / or writable removable storage device, such as a compact disc (CD), a read-only digital versatile disc (e.g., DVD-ROM, dual-layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (e.g., SD card, mini SD card, Micro-SD card, etc.), a magnetic floppy disk, etc. Computer-readable storage media do not include carrier waves and transient electronic signals transmitted wirelessly or wired.
[0097] The memory 210 stores executable codes. When the executable codes are processed by the processor 220 , the processor 220 may execute part or all of the above-mentioned methods.
[0098] In addition, the method according to the present application may also be implemented as a computer program or a computer program product, which includes computer program code instructions for executing some or all of the steps in the above method of the present application.
[0099] Alternatively, the present application can also be implemented as a computer-readable storage medium (or non-transitory machine-readable storage medium or machine-readable storage medium) on which executable code (or computer program or computer instruction code) is stored. When the executable code (or computer program or computer instruction code) is executed by a processor of an electronic device (or server, etc.), the processor executes part or all of the steps of the above-mentioned method according to the present application.
[0100] The present application also provides a sample analyzer, including an electronic device as shown in Figure 2, the electronic device is used to obtain sample information carried by a test sample in a sample storage area of the sample analyzer; the electronic device is used to obtain available detection resources of the sample analyzer, match the available detection resources of the sample analyzer with preset detection tasks, and determine a target detection task for the test sample based on the matching result; the electronic device is used to generate a to-be-executed detection task for the sample analyzer based on the sample information carried by the test sample and the target detection task for the test sample.
[0101] In one embodiment, as shown in FIG3 , the sample analyzer 300 includes, in addition to the electronic device 220 , a sample storage unit 310 ; wherein the sample storage unit 320 is used to store the test sample in the sample storage area of the sample analyzer.
[0102] In one embodiment, the sample information is the sample code of the test sample, and obtaining the sample information carried by the test sample in the sample storage area of the sample analyzer includes: receiving the detection signal emitted by the sensor, and determining whether the sample code is scanned; when the sample code is not scanned, generating an instruction to enter the sample code, and the instruction to enter the sample code is used to instruct the user to enter the sample code.
[0103] In one embodiment, the method further includes retrieving a default configuration item of the sample analyzer.
[0104] In one embodiment, obtaining a preset detection task further includes: adjusting setting parameters of default configuration items of the sample analyzer based on user input instructions to generate a preset detection task; and / or adjusting the order of the default configuration items of the sample analyzer based on user input instructions when the number of default configuration items of the sample analyzer is at least two.
[0105] In one embodiment, the available detection resources of the sample analyzer include at least: the remaining amount of the on-board detection reagent of the sample analyzer, the type of the on-board detection reagent of the sample analyzer, and the status of the on-board detection reagent.
[0106] In one embodiment, the available detection resources of the sample analyzer are matched with the preset detection task, and the target detection task for the detection sample is determined based on the matching result, including: reading the detection reagent corresponding to the preset detection task and the status requirements of the detection reagent corresponding to the preset detection task, and calculating the detection resources required for the preset detection task; obtaining the number of detection samples, and determining the detection resources required for the detection sample based on the number of detection samples and the detection resources of the predicted detection task; matching the detection resources required for the detection sample with the available detection resources of the sample analyzer, and determining the target detection task for the detection sample based on the matching result.
[0107] In one embodiment, based on the sample information carried by the test sample and the target detection task of the test sample, a detection task to be executed by the sample analyzer is generated, including: after the target detection task of the test sample is confirmed by the user, the detection task to be executed by the sample analyzer is generated.
[0108] The technical solution provided by this application may have the following beneficial effects:
[0109] Firstly, this application facilitates users to select batch detection tasks for test tubes by pre-configuring preset detection tasks.
[0110] Secondly, the present application obtains the available detection resources of the sample analyzer, matches the available detection resources of the sample analyzer with the preset detection tasks, and determines the target detection task of the detection sample based on the matching results; generates the detection task to be executed of the sample analyzer based on the sample information carried by the detection sample and the target detection task of the detection sample, and realizes the method of automatic matching of detection tasks by the sample analyzer, thereby saving user operations and improving the detection efficiency of sample detection tasks.
[0111] The embodiments of the present application have been described above. The above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is selected to best explain the principles of the embodiments, their practical applications, or improvements to the technology in the market, or to enable other persons skilled in the art to understand the embodiments disclosed herein.
Claims
1. A method for generating a detection task, used in a sample analyzer, characterized in that: include: Acquiring sample information carried by the test sample in the sample storage area of the sample analyzer; Acquire available detection resources of the sample analyzer, match the available detection resources of the sample analyzer with preset detection tasks, and determine a target detection task for the detection sample according to the matching result; A detection task to be executed by the sample analyzer is generated according to the sample information carried by the detection sample and the target detection task of the detection sample.
2. The method according to claim 1, characterized in that The sample information is a sample code of the test sample, and the step of obtaining the sample information carried by the test sample in the sample storage area of the sample analyzer includes: Receive a detection signal emitted by a sensor, and determine whether the sample code is scanned; When the sample code is not scanned, an instruction for entering a sample code is generated, wherein the instruction for entering a sample code is used to instruct a user to enter the sample code.
3. The method according to claim 1, characterized in that The method further includes obtaining a preset detection task, wherein obtaining the preset detection task includes: Retrieve the default configuration items of the sample analyzer.
4. The method according to claim 3, characterized in that The obtaining of the preset detection task also includes: Adjust the setting parameters of the default configuration items of the sample analyzer based on the user input instructions to generate the preset detection task; and / or When the number of the sample analyzer default configuration items is at least two, the order of the sample analyzer default configuration items is adjusted based on the user input instruction.
5. The method according to claim 1, characterized in that The available detection resources of the sample analyzer include at least: the remaining amount of the on-machine detection reagent of the sample analyzer, the type of the on-machine detection reagent of the sample analyzer, and the status of the on-machine detection reagent.
6. The method according to claim 5, characterized in that The matching of the available detection resources of the sample analyzer with the preset detection tasks, and determining the target detection task of the detection sample according to the matching result, includes: Obtaining the number of detection samples, and using the number of detection samples to calculate the detection resources required for a preset detection task; Comparing the available detection resources of the sample analyzer with the detection resources required for the preset detection task; The target detection task of the detection sample is determined according to the comparison result.
7. The method according to claim 1, characterized in that The generating of a to-be-executed detection task of the sample analyzer according to the sample information carried by the detection sample and the target detection task of the detection sample comprises: After the target detection task of the detection sample is confirmed by the user, a detection task to be executed by the sample analyzer is generated.
8. An electronic device, characterized in that: include: processor; as well as A memory having executable codes stored thereon, which, when executed by the processor, causes the processor to execute the method according to any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that: An executable code is stored thereon, and when the executable code is executed by a processor of an electronic device, the processor is caused to execute the method as claimed in any one of claims 1 to 7.
10. A sample analyzer, characterized in that: The sample analyzer comprises the electronic device as claimed in claim 9.
Citation Information
Patent Citations
System and method for rapidly detecting test conditions
CN102221620A
Assembly line dynamic scheduling method and system, electronic equipment and medium
CN114296903A
Processing method and device for detection task submission request and sample analyzer
CN116413452A