Multi-bar code on-machine detection method, device and system for sample tube
By using scanning devices in the laboratory automation system to identify multiple barcodes on the sample tube and bind the main barcode or sub barcode to the transportation carrier, the problem that traditional systems cannot support the on-machine detection of multi-barcode sample tubes is solved, and the detection efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202411735082.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-02-28
AI Technical Summary
Traditional laboratory automation systems cannot support the on-machine detection of multiple barcode sample tubes, resulting in low detection efficiency of sample tubes and prone to errors.
By controlling the scanning device to continuously scan a single sample tube to be tested, determine the main bar code and sub bar code among the multiple bar codes on it, and when the sample tube is placed in the transportation carrier, the main bar code or sub bar code is bound to the transportation carrier to realize the management of the location of the sample tube.
It improves the accuracy of the detection results of a single sample tube to be tested, reduces the possibility of errors during the detection process, and realizes automatic on-machine detection of multi-barcode sample tubes.
Smart Images

Figure CN119534884A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of laboratory automation, and in particular to a method, device and system for detecting multiple bar codes of a sample tube. Background Art
[0002] The samples in the medical testing center have certain particularity. The samples in the testing center mainly come from multiple different hospitals that send samples for testing. In the whole process from blood collection in the hospital to receiving the samples in the testing center, there are multiple links where barcodes will be affixed to the sample tubes, mainly including: barcodes of the sending hospital, transportation barcodes and barcodes of the testing center, etc., which objectively leads to the common existence of sample tubes with multiple barcodes in the testing center. Traditional laboratory automation systems only support the testing of sample tubes with a single sample barcode, and cannot support the testing of sample tubes with multiple barcodes. The staff needs to manually place the sample tubes on the sample rack. When placing them, they need to ensure that the sample barcode associated with the test project work order is exposed to the sample rack scanning window, so that the instrument scanning device can correctly identify it. After placement, the sample rack is placed on the offline instrument for testing. The laboratory automation is low, and the efficiency of testing is also lower. Summary of the invention
[0003] The purpose of the present invention is to provide a method, device and system for detecting multiple barcodes on a sample tube, which automatically checks multiple barcodes on a single sample tube to be tested. During the detection process, the main barcode and the secondary barcode can be bound to the transport carrier, thereby realizing position management of the single sample tube to be tested during the detection process, thereby improving the accuracy of the detection results of the single sample tube to be tested and reducing errors in the detection process.
[0004] In order to solve the above technical problems, the present invention provides a method for detecting multiple barcodes of a sample tube on a machine, comprising:
[0005] Controlling the scanning device to continuously scan the single sample tube to be tested to obtain a plurality of barcodes attached to the single sample tube to be tested, wherein the scanning device and the single sample tube to be tested are in a relative motion state;
[0006] Determine a primary barcode and a secondary barcode among the multiple barcodes on the single sample tube to be tested, and associate the primary barcode and the secondary barcode located on the same single sample tube to be tested;
[0007] When the single sample tube to be tested is placed in the transport carrier, the primary barcode or the secondary barcode on the single sample tube to be tested is bound to the transport carrier, and the transport carrier is controlled to transfer the single sample tube to be tested;
[0008] When the single sample tube to be tested leaves the transport carrier for on-machine inspection, the primary barcode or the secondary barcode on the single sample tube to be tested is controlled to be untied from the transport carrier.
[0009] On the other hand, the scanning device is controlled to continuously scan a single sample tube to be tested to obtain multiple bar codes attached to the single sample tube to be tested, including:
[0010] Pre-set the maximum scanning time and / or maximum number of barcodes;
[0011] Controlling the scanning device to continuously scan the single sample tube to be tested;
[0012] When the scanning time reaches the maximum scanning time and / or the number of non-repetitive barcodes obtained by scanning reaches the maximum number of barcodes, it is determined that the scanning is completed and multiple non-repetitive barcodes are obtained.
[0013] On the other hand, determining the primary barcode and the secondary barcode among the plurality of barcodes on the single sample tube to be tested includes:
[0014] Associating all the barcodes on the single sample tube to be tested with the work order of the item to be tested of the sample in the single sample tube to be tested;
[0015] Mark the barcode of the work order of the project to be inspected as the main barcode;
[0016] The remaining barcodes in all the barcodes except the main barcode are used as secondary barcodes.
[0017] On the other hand, determining the primary barcode and the secondary barcode among the plurality of barcodes on the single sample tube to be tested includes:
[0018] Pre-set the expression rules of the main barcode;
[0019] Using a barcode that complies with the expression rule of the primary barcode as the primary barcode;
[0020] All the remaining barcodes except the main barcode in the barcodes are used as secondary barcodes;
[0021] Among all the barcodes, there is only one barcode that meets the expression rule, and the expression rule includes one of a fixed letter beginning, a fixed letter ending, and a fixed length or number of digits.
[0022] On the other hand, after determining the primary barcode and the secondary barcode among the plurality of barcodes on the single sample tube to be tested, the method further includes:
[0023] Determine whether there is a barcode identical to the primary barcode and the secondary barcode in the preset storage space;
[0024] If not, the primary barcode and the secondary barcode are saved in a preset storage space;
[0025] If it exists, the prompt module is triggered.
[0026] On the other hand, when the single sample tube to be tested is placed in a transport carrier, the primary barcode or the secondary barcode on the single sample tube to be tested is bound to the transport carrier, including:
[0027] Controlling the scanning device to scan the code on the transmission carrier;
[0028] Controlling the scanning device to scan the barcode on the single sample tube to be tested;
[0029] Binding the code obtained by the scanning device and the primary barcode or the secondary barcode, and determining the position of the single sample tube to be tested on the transport carrier according to the binding sequence of the code and the primary barcode;
[0030] Among them, the number of main barcodes bound to each of the codes does not exceed the maximum number of sample tubes that it can carry.
[0031] On the other hand, the transmission carrier includes a rotating base and a scanning window. The number of the rotating bases and the number of the scanning windows are the same as the maximum number of sample tubes that the transmission carrier can carry. Each of the single sample tubes to be tested is used to be placed on the rotating base, and the scanning window is used for a scanning device to scan a barcode on the single sample tube to be tested.
[0032] Controlling the scanning device to scan the barcode on the single sample tube to be tested includes:
[0033] Controlling the single sample tube to be tested to rotate on the rotating base;
[0034] During the rotation of the single sample tube to be tested, the scanning device is controlled to scan the barcode on the single sample tube to be tested;
[0035] When the barcode scanned by the scanning device is identical to the main barcode in the preset storage space, the rotating base is controlled to stop rotating so that the main barcode is exposed through the scanning window.
[0036] On the other hand, when the single sample tube to be tested leaves the transport carrier for on-board testing, controlling the primary barcode or the secondary barcode on the single sample tube to be tested to be unbound from the transport carrier includes:
[0037] Controlling the scanning device to scan the code on the transmission carrier;
[0038] Controlling the scanning device to scan the primary barcode or the secondary barcode on the single sample tube to be tested;
[0039] The code obtained by the scanning device and the primary barcode or the secondary barcode are untied.
[0040] In order to solve the above technical problems, the present invention also provides a multi-barcode detection device for sample tubes, comprising:
[0041] Memory for storing computer programs;
[0042] A processor is used to implement the steps of the above-mentioned method for detecting multiple barcodes of sample tubes when executing the computer program.
[0043] In order to solve the above technical problems, the present invention also provides a sample tube multi-barcode on-machine detection system, including the above-mentioned sample tube multi-barcode on-machine detection device, and also includes a scanning device, a transport carrier and a detection machine.
[0044] The present application provides a method, device and system for detecting multiple barcodes of a sample tube on a machine, which relates to the field of laboratory automation, including controlling a scanning device to continuously scan a single sample tube to be tested to obtain multiple barcodes, wherein the scanning device and the single sample tube to be tested are in a relative motion state; determining the primary barcode and the secondary barcode among the multiple barcodes on the single sample tube to be tested, wherein the primary barcode is associated with the secondary barcode on the same single sample tube to be tested; when the single sample tube to be tested is placed in a transport carrier, the primary barcode or the secondary barcode on the single sample tube to be tested is bound to the transport carrier, and the transport carrier is controlled to transfer the single sample tube to be tested; when the single sample tube to be tested leaves the transport carrier for on-machine detection, the primary barcode or the secondary barcode on the single sample tube to be tested is controlled to be unbound from the transport carrier. Multiple barcodes on a single sample tube to be tested are automatically checked, and during the detection process, the primary barcode and the secondary barcode can be bound to the transport carrier, thereby realizing the position management of the single sample tube to be tested during the detection process, thereby improving the accuracy of the detection result of the single sample tube to be tested, and reducing errors during the detection process. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the prior art and the drawings required for use in the embodiments are briefly introduced below. 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 these drawings without creative work.
[0046] Figure 1 A flow chart of a method for detecting multiple barcodes on a sample tube provided by the present invention;
[0047] Figure 2 A schematic structural diagram of a device for detecting multiple barcodes on a sample tube provided by the present invention. DETAILED DESCRIPTION
[0048] The core of the present invention is to provide a method, device and system for detecting multiple barcodes on a sample tube, which automatically checks multiple barcodes on a single sample tube to be tested. During the detection process, the main barcode and the secondary barcode can be bound to the transport carrier, thereby realizing position management of the single sample tube to be tested during the detection process, thereby improving the accuracy of the detection results of the single sample tube to be tested and reducing errors in the detection process.
[0049] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0050] A sample tube is a small container used to collect, transport, and store patient samples. It often includes multiple barcodes, which can be one-dimensional or two-dimensional barcodes, to record the source of the sample, patient identity, sampling information, test item information, etc. Sample tubes often appear in medical testing centers, where tests are performed based on the samples in the sample tubes and test results are issued. A laboratory automation system is an automated testing line, which refers to the integration of one or more testing systems in the laboratory, such as clinical chemistry, hematology, immunology and other systems. Through tracks and information systems, each analytical instrument is physically connected to the processing units before and after sample analysis to form a networked collection.
[0051] At present, there are great difficulties in the application of laboratory automation systems in medical testing centers. The reason is that traditional laboratory automation systems only support the testing of sample tubes with a single sample barcode, and cannot support the testing of sample tubes with multiple barcodes. However, the samples in medical testing centers have certain particularities. The samples in the testing centers mainly come from multiple different hospitals for testing. In the entire process from blood collection in the hospital to receipt by the testing center, there are multiple links in which barcodes are pasted on the sample tubes, mainly including: the barcode of the sending hospital, the transportation barcode and the testing center barcode, etc., which objectively leads to the widespread existence of sample tubes with multiple barcodes in the testing centers. Sample tubes with multiple barcodes can only be tested by offline single machines or modular instruments in the testing centers, and cannot be tested by the laboratory automation system. This seriously restricts the promotion and application of laboratory automation systems in medical testing centers.
[0052] Figure 1 A flowchart of a method for detecting multiple barcodes on a sample tube provided by the present invention, wherein the method comprises:
[0053] S11: Controlling the scanning device to continuously scan the single sample tube to be tested, and obtaining multiple barcodes attached to the single sample tube to be tested, wherein the scanning device and the single sample tube to be tested are in a relative motion state;
[0054] Since a single sample tube may have multiple barcodes attached to it, for example, the hospital will attach the hospital code after obtaining the sample, the transportation code will be attached on the way from the hospital to the testing center, and the testing center code will be attached to the single sample tube at the testing center. When three barcodes exist on a single sample tube at the same time, it is impossible to scan only once and obtain the three barcodes at the same time. Therefore, the scanning device must be controlled to continuously scan a single sample tube to obtain multiple barcodes.
[0055] It should be noted that a single sample tube to be tested is often cylindrical, so the code scanning device can be fixed and the single sample tube to be tested can be continuously rotated; or the single sample tube to be tested can be fixed and the code scanning device can be continuously rotated. This application does not make too many restrictions here.
[0056] S12: Determine a primary barcode and a secondary barcode among multiple barcodes on a single sample tube to be tested, and associate the primary barcode and the secondary barcode on the same single sample tube to be tested;
[0057] The multiple barcode information obtained is judged and processed. By introducing the concept of primary / secondary barcodes, multiple barcodes on a single sample tube (including the barcode of the hospital sending the sample, the barcode of the intermediate transportation, the barcode of the testing center, etc.) are divided into two types: primary barcode and secondary barcode.
[0058] Specifically, there is only one primary barcode and there can be one or more secondary barcodes.
[0059] S13: When a single sample tube to be tested is placed in a transport carrier, the primary barcode or the secondary barcode on the single sample tube to be tested is bound to the transport carrier, and the transport carrier is controlled to transfer the single sample tube to be tested;
[0060] S14: When a single sample tube to be tested leaves the transport carrier for on-machine testing, the primary barcode or secondary barcode on the single sample tube to be tested is controlled to be untied from the transport carrier.
[0061] Binding: When the sample is loaded onto the machine, a single sample tube cannot be directly transferred between instruments. It is necessary to place the single sample tube on a transfer carrier for sample transfer. Each transfer carrier has a unique number. By binding the sample barcode of a single sample tube to be tested with the unique number of the transfer carrier, during the transfer process, the sample barcode of a single sample tube to be tested can be associated and queried by identifying the unique number of the transfer carrier.
[0062] Unbinding: When the sample needs to undergo certain operations, such as centrifugation, RBU (Rack Building Unit) analyzer interface module, or storage module, a single sample tube to be tested needs to be taken out of the transport carrier. At this time, the binding relationship between the single sample tube to be tested and the transport carrier needs to be untied.
[0063] In order to improve the accuracy of a single sample tube to be tested during circulation, binding and unbinding operations are required. In the binding and unbinding process, it can be bound to the main barcode or to the secondary barcode to improve the scanning efficiency, and this application does not make too many restrictions here.
[0064] The present application provides a method for detecting multiple barcodes on a sample tube, which relates to the field of laboratory automation, including controlling a scanning device to continuously scan a single sample tube to be tested to obtain multiple barcodes, wherein the scanning device and the single sample tube to be tested are in a relative motion state; determining the primary barcode and the secondary barcode among the multiple barcodes on the single sample tube to be tested, wherein the primary barcode is associated with the secondary barcode on the same single sample tube to be tested; when the single sample tube to be tested is placed in a transport carrier, the primary barcode or the secondary barcode on the single sample tube to be tested is bound to the transport carrier, and the transport carrier is controlled to transfer the single sample tube to be tested; when the single sample tube to be tested leaves the transport carrier for on-machine detection, the primary barcode or the secondary barcode on the single sample tube to be tested is controlled to be unbound from the transport carrier. Multiple barcodes on a single sample tube to be tested are automatically checked, and during the detection process, the primary barcode and the secondary barcode can be bound to the transport carrier, thereby realizing the position management of the single sample tube to be tested during the detection process, thereby improving the accuracy of the detection result of the single sample tube to be tested, and reducing errors during the detection process.
[0065] Based on the above embodiments:
[0066] In some embodiments, controlling the scanning device to continuously scan a single sample tube to be tested to obtain multiple barcodes attached to the single sample tube to be tested includes:
[0067] Pre-set the maximum scanning time and / or maximum number of barcodes;
[0068] Controlling the scanning device to continuously scan a single sample tube to be tested;
[0069] When the scanning time reaches the maximum scanning time and / or the number of non-repetitive barcodes obtained by scanning reaches the maximum number of barcodes, it is determined that the scanning is completed and multiple non-repetitive barcodes are obtained.
[0070] After a single sample tube with multiple barcodes is loaded onto the machine, the barcode on the single sample tube is scanned and identified by the scanning device, control software, and recognition software supported by the on-board equipment. The scanning device may be a visual camera or a barcode scanning device. Different from the processing method of stopping scanning when one barcode is scanned and identified when a single sample tube with a single barcode is loaded onto the machine, after a single sample tube with multiple barcodes is loaded onto the machine, it is necessary to scan and identify the multiple barcodes pasted on the single sample tube.
[0071] Set a fixed scanning duration, scan continuously within this time period, and finally summarize all scanned barcodes; set the maximum number of barcode scans allowed and the scanning timeout. When the number of scanned barcodes reaches the set maximum number of scans, stop scanning, otherwise continue scanning until the timeout is triggered, and finally summarize all scanned barcodes; the maximum number of barcode scans is a dynamic parameter set in the software. Users can modify the parameter value according to their actual situation. The setting is based on the size of a single sample tube to be tested, the length and width of the barcode, and the number of barcodes actually pasted by the medical testing center. Set the scanning timeout, first identify the number of barcodes on a single sample tube to be tested, and then scan and identify the specific barcode. When the number of scanned barcodes reaches the number of identified barcodes, stop scanning, otherwise continue scanning until the timeout is triggered, and finally summarize all scanned barcodes.
[0072] After multiple barcode recognition is completed, the recognized information will be reported for subsequent business processing.
[0073] In some embodiments, determining a primary barcode and a secondary barcode among a plurality of barcodes on a single sample tube to be tested comprises:
[0074] Associating all barcodes on a single sample tube to be tested with the work order of the test item of the sample in the single sample tube to be tested;
[0075] Mark the barcode of the work order of the project to be inspected as the main barcode;
[0076] All barcodes except the main barcode are used as sub-barcodes.
[0077] Confirm the primary / secondary barcode based on whether there is any work order information for the test project: the system first connects to the laboratory information management system, and associates all the sample barcodes on a single sample tube to be tested with the patient test project work order barcode in the laboratory system management system. The barcode of the work order with the test project is marked as the primary barcode, and the remaining barcodes are classified as secondary barcodes.
[0078] Table 1 is a table of primary / secondary barcode determination results for a single sample tube with multiple barcodes. 202409240001 and 202409240002 represent the test items, so they are primary barcodes. 8001, 8002, 24092401 and 24092405 are all secondary barcodes. The barcodes scanned on the same single sample tube are associated with each other.
[0079] Table 1
[0080]
[0081] In some embodiments, determining a primary barcode and a secondary barcode among a plurality of barcodes on a single sample tube to be tested comprises:
[0082] Pre-set the expression rules of the main barcode;
[0083] The barcode that meets the expression rules of the main barcode is used as the main barcode;
[0084] All barcodes except the main barcode are used as secondary barcodes;
[0085] Among them, there is only one barcode among all the barcodes that meets the expression rules, and the expression rules include a fixed letter beginning, a fixed letter ending, and a fixed length or number of digits.
[0086] Confirm the primary / secondary barcode based on custom rules: Support custom rules by setting regular expressions, such as fixed beginning letters, fixed ending letters, fixed length and number of digits, to confirm the primary barcode. When a barcode successfully matches the custom rules, it is marked as the primary barcode, and the remaining barcodes are classified as secondary barcodes.
[0087] Table 2 is a table showing the main / secondary barcode determination results for a single multi-barcode sample tube. When the primary barcode is set to a format starting with M followed by five digits, M30001 and M30002 are determined to be primary barcodes, and 3008, 3009, 240928 and 240931 are all secondary barcodes.
[0088] Table 2
[0089]
[0090] In some embodiments, after determining the primary barcode and the secondary barcode among the multiple barcodes on a single sample tube to be tested, the method further includes:
[0091] Determine whether there is a barcode identical to the primary barcode and the secondary barcode in the preset storage space;
[0092] If it does not exist, the main barcode and the secondary barcode are saved to the preset storage space;
[0093] If it exists, the prompt module is triggered.
[0094] In order to prevent two samples with the same barcode from existing online at the same time, a suitable sample deduplication mechanism is used to determine when the sample is put on the machine, and the sample online process is controlled from the source. On the machine refers to the process in which the testing personnel of the medical testing center put a single sample tube to be tested into the instrument to perform a predetermined action, such as centrifugation, opening the lid, sampling and testing, sealing, storage and other operations of the sample in the instrument. When a single sample tube with multiple barcodes is put on the machine, the online access determination process must also be implemented. When a new single sample tube to be tested is put on the machine, the main barcode and the secondary barcode information are stored at the same time. When subsequent samples are put on the machine, the main barcode and the secondary barcode on the single sample tube to be tested are repeatedly compared with the stored barcodes at the same time. If the main barcode or any secondary barcode is found to be repeated with the stored barcode, a warning is immediately triggered to prevent the sample from going online, and the sample is unloaded to the error area. If there is no barcode duplication, the single sample tube to be tested is allowed to be tested on the machine.
[0095] In some embodiments, when a single sample tube to be tested is placed in a transport carrier, the primary barcode or the secondary barcode on the single sample tube to be tested is bound to the transport carrier, including:
[0096] Controlling the scanning device to scan the code on the transmission carrier;
[0097] Controlling the scanning device to scan the barcode on a single sample tube to be tested;
[0098] Binding the code obtained by the scanning device and the main barcode or the secondary barcode, and determining the position of a single sample tube to be tested on the transport carrier according to the binding sequence of the code and the main barcode;
[0099] Among them, the number of main barcodes bound to each code does not exceed the maximum number of single sample tubes to be tested that it can carry.
[0100] When the test is officially launched, the samples will first be placed on a specific transport carrier (including sample racks, sample trays, transport carts, etc.), and then transferred to other modules for sample processing before, during, and after analysis. During the transmission and processing of multi-barcoded samples, there will be binding and unbinding of samples and transport carriers. During the transmission and processing of multi-barcoded samples, there will be binding and unbinding of samples and transport carriers.
[0101] The present invention proposes two rebinding modes: a. only allowing the main barcode to be rebinded; b. allowing the main barcode or any secondary barcode to be rebinded.
[0102] a. Only the main barcode is allowed to be re-bound: After the barcode scanning device scans the identification barcode, it applies for the sample to be re-bound with the transmission carrier. The upper-layer software determines whether the barcode is the main barcode. If it is confirmed to be the main barcode, it replies that the re-binding is successful. Otherwise, it replies that the re-binding fails. The barcode scanning device tries to re-scan the new barcode. After scanning the new barcode, it binds again until the binding is successful, the maximum number of attempts is reached, or a timeout is triggered.
[0103] b. Allow the main barcode or any secondary barcode to be re-bound: After the barcode scanner scans the identification barcode, it applies for the sample to be re-bound with the transmission carrier. The upper-level software determines whether the barcode is the main barcode or any secondary barcode. If the match is successful, it replies that the re-binding is successful, otherwise it replies that the re-binding fails. The barcode scanner tries to re-scan the new barcode. After scanning the new barcode, it binds again until the binding is successful, the maximum number of attempts is reached, or a timeout is triggered.
[0104] Both solutions can realize the rebinding of multiple barcode samples and transmission carriers. Solution A has higher accuracy and Solution B has higher processing efficiency. They can be configured according to the actual application scenario.
[0105] When the sample needs to perform certain actions such as centrifugation, unloading and storage, the single sample tube to be tested and the transmission carrier need to be untied. When the single sample tube to be tested completes operations such as centrifugation, random inspection and testing, it needs to be transferred between instruments again. At this time, the sample barcode on the single sample tube to be tested needs to be bound to the transmission carrier. After the binding is successful, it can be transferred between instruments.
[0106] In some embodiments, the transport carrier includes a rotating base and a scanning window. The number of the rotating bases and the number of the scanning windows are the same as the maximum number of sample tubes that the transport carrier can carry. A single sample tube to be tested is used to be placed on the rotating base, and the scanning window is used for a scanning device to scan a barcode on a single sample tube to be tested.
[0107] Controlling the scanning device to scan the barcode on a single sample tube to be tested, including:
[0108] Control a single sample tube to be tested to rotate on a rotating base;
[0109] During the rotation of the single sample tube to be tested, the scanning device is controlled to scan the barcode on the single sample tube to be tested;
[0110] When the barcode scanned by the scanning device is identical to the main barcode in the preset storage space, the rotating base is controlled to stop rotating so that the main barcode is exposed through the scanning window.
[0111] When the sample needs to perform certain actions such as centrifugation, unloading and storage, the single sample tube to be tested and the transmission carrier need to be untied. When the single sample tube to be tested completes operations such as centrifugation, random inspection and testing, it needs to be transferred between instruments again. At this time, the sample barcode on the single sample tube to be tested needs to be bound to the transmission carrier. After the binding is successful, it can be transferred between instruments.
[0112] In some embodiments, when a single sample tube to be tested leaves the transport carrier for on-board testing, controlling the primary barcode or the secondary barcode on the single sample tube to be tested to be unbound from the transport carrier includes:
[0113] Controlling the scanning device to scan the code on the transmission carrier;
[0114] Controlling the scanning device to scan the primary barcode or the secondary barcode on a single sample tube to be tested;
[0115] Unbind the code obtained by the scanning device and the primary barcode or secondary barcode.
[0116] When multiple barcode samples are untied, if the samples need to be transferred to a sample rack (5-rack or 10-rack, etc.) and enter the analytical instrument for testing, further processing of the single sample tube to be tested is required before entering the analytical instrument, that is, special correction of the barcode angle of the single sample tube to be tested after being placed in the sample rack to ensure that the main barcode is exposed to the sample rack scanning window. Before the single sample tube to be tested is transferred to the sample rack, the system will actively query the main barcode of the single sample tube to be tested and inform the analytical instrument. The analytical instrument will compare and judge the sample barcode on the single sample tube to be tested based on the acquired sample main barcode. When the main barcode is scanned, the single sample tube to be tested is transferred to the sample rack, and the main barcode is exposed in the sample rack scanning window to facilitate correct recognition by the analytical instrument scanning device.
[0117] Figure 2 The present invention provides a schematic diagram of the structure of a device for detecting multiple barcodes on a sample tube, wherein the device for detecting multiple barcodes on a sample tube comprises:
[0118] A memory 21, used for storing computer programs;
[0119] The processor 22 is used to implement the steps of the above-mentioned method for detecting multiple barcodes of sample tubes when executing a computer program.
[0120] For an introduction to the multi-barcode on-machine detection device for sample tubes provided in this application, please refer to the above-mentioned embodiments and will not be repeated here.
[0121] The present invention also provides a system for detecting multiple barcodes on a sample tube, comprising the above-mentioned device for detecting multiple barcodes on a sample tube, and also comprising a scanning device, a transport carrier and a detection machine.
[0122] For an introduction to the multi-barcode on-machine detection system for sample tubes provided in this application, please refer to the above embodiments and will not be repeated here.
[0123] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0124] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0125] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for detecting multiple barcodes on a sample tube, characterized in that: include: Controlling the scanning device to continuously scan the single sample tube to be tested to obtain a plurality of barcodes attached to the single sample tube to be tested, wherein the scanning device and the single sample tube to be tested are in a relative motion state; Determine a primary barcode and a secondary barcode among the plurality of barcodes on the single sample tube to be tested, and associate the primary barcode and the secondary barcode located on the same single sample tube to be tested; When the single sample tube to be tested is placed in the transport carrier, the primary barcode or the secondary barcode on the single sample tube to be tested is bound to the transport carrier, and the transport carrier is controlled to transfer the single sample tube to be tested; When the single sample tube to be tested leaves the transport carrier for on-machine inspection, the primary barcode or the secondary barcode on the single sample tube to be tested is controlled to be untied from the transport carrier.
2. The method for detecting multiple barcodes on a sample tube as claimed in claim 1, characterized in that: Controlling the scanning device to continuously scan a single sample tube to be tested to obtain a plurality of bar codes attached to the single sample tube to be tested, including: Pre-set the maximum scanning time and / or maximum number of barcodes; Controlling the scanning device to continuously scan the single sample tube to be tested; When the scanning time reaches the maximum scanning time and / or the number of non-repetitive barcodes obtained by scanning reaches the maximum number of barcodes, it is determined that the scanning is completed and multiple non-repetitive barcodes are obtained.
3. The method for detecting multiple barcodes of a sample tube on a machine as claimed in claim 1, characterized in that: Determining the primary barcode and the secondary barcode among the plurality of barcodes on the single sample tube to be tested comprises: Associating all the barcodes on the single sample tube to be tested with the work order of the item to be tested of the sample in the single sample tube to be tested; Mark the barcode of the work order of the project to be inspected as the main barcode; The remaining barcodes in all the barcodes except the main barcode are used as secondary barcodes.
4. The method for detecting multiple barcodes of a sample tube on a machine as claimed in claim 1, characterized in that: Determining the primary barcode and the secondary barcode among the plurality of barcodes on the single sample tube to be tested comprises: Pre-set the expression rules of the main barcode; Using a barcode that complies with the expression rule of the primary barcode as the primary barcode; All the remaining barcodes except the main barcode in the barcodes are used as secondary barcodes; Among all the barcodes, there is only one barcode that meets the expression rule, and the expression rule includes one of a fixed letter beginning, a fixed letter ending, and a fixed length or number of digits.
5. The method for detecting multiple barcodes on a sample tube as claimed in claim 1, characterized in that: After determining the primary barcode and the secondary barcode among the plurality of barcodes on the single sample tube to be tested, the method further includes: Determine whether there is a barcode identical to the primary barcode and the secondary barcode in the preset storage space; If not, the primary barcode and the secondary barcode are saved in a preset storage space; If it exists, the prompt module is triggered.
6. The method for detecting multiple barcodes on a sample tube according to any one of claims 1 to 5, characterized in that: When the single sample tube to be tested is placed in a transport carrier, the primary barcode or the secondary barcode on the single sample tube to be tested is bound to the transport carrier, including: Controlling the scanning device to scan the code on the transmission carrier; Controlling the scanning device to scan the barcode on the single sample tube to be tested; Binding the code obtained by the scanning device and the primary barcode or the secondary barcode, and determining the position of the single sample tube to be tested on the transport carrier according to the binding sequence of the code and the primary barcode; Among them, the number of main barcodes bound to each of the codes does not exceed the maximum number of sample tubes that it can carry.
7. The method for detecting multiple barcodes of a sample tube on a machine as claimed in claim 6, characterized in that: The transmission carrier includes a rotating base and a scanning window. The number of the rotating bases and the number of the scanning windows are the same as the maximum number of sample tubes that the transmission carrier can carry. The single sample tube to be tested is used to be placed on the rotating base, and the scanning window is used for a scanning device to scan a barcode on the single sample tube to be tested. Controlling the scanning device to scan the barcode on the single sample tube to be tested includes: Controlling the single sample tube to be tested to rotate on the rotating base; During the rotation of the single sample tube to be tested, the scanning device is controlled to scan the barcode on the single sample tube to be tested; When the barcode scanned by the scanning device is identical to the main barcode in the preset storage space, the rotating base is controlled to stop rotating so that the main barcode is exposed through the scanning window.
8. The method for detecting multiple barcodes of a sample tube on a machine as claimed in claim 6, characterized in that: When the single sample tube to be tested leaves the transport carrier for on-board testing, controlling the primary barcode or the secondary barcode on the single sample tube to be tested to be unbound from the transport carrier includes: Controlling the scanning device to scan the code on the transmission carrier; Controlling the scanning device to scan the primary barcode or the secondary barcode on the single sample tube to be tested; The code obtained by the scanning device and the primary barcode or the secondary barcode are untied.
9. A device for detecting multiple barcodes on a sample tube, characterized in that: include: Memory for storing computer programs; A processor is used to implement the steps of the method for detecting multiple barcodes on a sample tube as described in any one of claims 1 to 8 when executing the computer program.
10. A multi-barcode on-machine detection system for sample tubes, characterized in that: It includes the multi-barcode on-machine detection device for sample tubes as described in claim 9, and also includes a scanning device, a transport carrier and a detection machine.