Sample analysis system and identification code information acquisition method

By using a rotating component and image acquisition device in the sample analysis system, combined with the image segmentation and screening processing of the controller, the problem of multiple barcode recognition failures was solved, and efficient and accurate sample detection was achieved.

CN120668943APending Publication Date: 2025-09-19SHENZHEN MINDRAY BIO MEDICAL ELECTRONICS CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410312511.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-18
Publication Date
2025-09-19

AI Technical Summary

Technical Problem

Existing barcode recognition technology fails to recognize multiple barcodes or has low accuracy, affecting sample detection efficiency.

Method used

A sample analysis system is designed, which includes an input module, a scheduling component, an identification code acquisition device, an analysis module and a controller. The sample container is rotated by the rotating component, and the image acquisition device is used to periodically acquire images. The controller performs image segmentation and recognition, screens out candidate identification code information, matches it with the work order system to determine the target identification code information, and controls the analysis module to perform detection.

Benefits of technology

The recognition success rate and detection efficiency in the case of multiple identification codes are improved, ensuring that the sample analysis system can quickly and accurately determine the detection items and conduct detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120668943A_ABST
    Figure CN120668943A_ABST
Patent Text Reader

Abstract

The invention discloses a sample analysis system and an identification code information acquisition method, and the method comprises the steps: obtaining a plurality of collection features containing identification codes of a sample container with N identification codes through a collection device, and obtaining a plurality of pieces of identification code information according to the collection features, the method comprises the following steps: acquiring a plurality of pieces of identification code information, determining M pieces of identification code information from the plurality of pieces of identification code information as candidate identification code information, matching the M pieces of candidate identification code information with system identification code information in a work order system, and determining the candidate identification code information matched with the system identification code information as target identification code information, the number of the candidate identification codes matched with the work order system is more than or equal to the number of the identification codes on the sample container, so that the success rate of identification code information identification is greatly improved compared with the mode that a single candidate identification code is matched with the work order system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of medical equipment technology, and in particular to a sample analysis system and an identification code information acquisition method. Background Art

[0002] In the medical field, barcode recognition technology can be used to identify sample and patient information, improving testing efficiency. For example, during laboratory testing, hospitals and testing agencies affix barcodes to sample containers to record relevant information about the sample and the patient. However, existing barcode recognition solutions can only detect when there is only one barcode on the container. When multiple barcodes are present, recognition fails or the recognition accuracy is low, requiring repeated re-recognition, which significantly reduces the efficiency of sample testing. Summary of the Invention

[0003] The following is an overview of the subject matter described in detail in this application. This overview is not intended to limit the scope of protection of the claims.

[0004] The embodiments of the present application provide a sample analysis system and an identification code information acquisition method, which can accurately identify the target identification code information of a corresponding sample container when multiple identification codes appear on the sample container.

[0005] In one aspect, an embodiment of the present application provides a sample analysis system, comprising:

[0006] An input module, configured to receive a sample container carrying a sample, wherein the sample container is provided with N identification codes, where N is 2 or 3;

[0007] A scheduling component, configured to schedule the sample container to an identification station;

[0008] an identification code collection device, disposed on at least one side of the identification station, for collecting identification code information of the sample containers having N identification codes at the identification station;

[0009] One or more analysis modules, configured to detect the sample;

[0010] A controller is configured to obtain a plurality of identification code information through the identification code acquisition device, and determine M pieces of identification code information from the plurality of identification code information as candidate identification code information, where M is an integer and M≥2, determine target identification code information that matches the system identification code information by matching the M pieces of candidate identification code information with the system identification code information in the work order system, determine corresponding detection item information based on the target identification code information, and control one or more analysis modules to perform detection on the sample based on the detection item information.

[0011] In one embodiment of the present application, a rotating assembly is further included, which is used to drive the sample container on the identification station to rotate, and the identification code acquisition device is used to periodically acquire identification code information when the sample container rotates.

[0012] In one embodiment of the present application, the identification code acquisition device is an image acquisition device, which is used to acquire an image of the sample container to obtain multiple images containing the identification code; the controller obtains multiple identification code information through the identification code acquisition device, including:

[0013] The controller acquires the multiple images captured by the image capture device, and obtains multiple identification code information according to the multiple images.

[0014] In one embodiment of the present application, a rotating assembly is further included, which is used to drive the sample container on the identification station to rotate, and the image acquisition device is used to perform periodic image acquisition when the sample container rotates to obtain a plurality of images.

[0015] In one embodiment of the present application, the rotating assembly is used to drive the sample container on the identification station to rotate, including one of the following:

[0016] The rotating assembly is used to drive the sample container on the identification station to continuously rotate;

[0017] The rotating assembly is used to drive the sample container on the identification station to rotate periodically, and the step length of each rotation of the sample container is the same. Preferably, the rotating assembly stops after each rotation of the sample container to allow the image acquisition device to acquire an image. After the image acquisition device acquires an image of the sample container in a stationary state, the rotating assembly drives the sample container to rotate again.

[0018] In one embodiment of the present application, the image acquisition device includes multiple shooting components distributed around the identification station, and the total shooting range of the multiple shooting components covers the entire circumference of the sample container. The multiple shooting components respectively capture images of the sample container on the identification station from different directions to obtain multiple images.

[0019] In one embodiment of the present application, a rotating assembly is further included, which is used to drive the image acquisition device to rotate around the sample container on the identification station and perform periodic image acquisition to obtain a plurality of images.

[0020] In one embodiment of the present application, the scheduling component includes a transmission track connecting each module, the transmission track is used to transmit the sample holder carrying the sample container, the identification station is arranged on the transmission path of the transmission track, and the rotating component is used to drive the sample container on the identification station to rotate, including, the rotating component is used to drive the sample holder located on the identification station to rotate, so as to drive the sample container carried on the sample holder to rotate.

[0021] In one embodiment of the present application, the controller obtains multiple identification code information based on the multiple images, including:

[0022] The controller performs image segmentation processing on the plurality of images to obtain a plurality of sub-images, wherein each of the sub-images contains at least a portion of the identification code;

[0023] The controller performs image recognition processing on the multiple sub-images respectively to obtain the multiple identification code information.

[0024] In one embodiment of the present application, the controller performs image segmentation processing on the plurality of images to obtain a plurality of sub-images, including:

[0025] The controller acquires a plurality of the images;

[0026] The controller performs image segmentation processing on each of the images to obtain multiple sub-images, wherein, in the process of performing image segmentation processing on each of the images, a rectangular selection box is determined according to the identification code in the image, and the sub-images are segmented out in the image according to the rectangular selection box; preferably, the controller identifies at least two edges of the identification code in the image, determines the size and position of the rectangular selection box according to at least two edges, and segments the sub-images in the image according to the rectangular selection box.

[0027] In one embodiment of the present application, the controller determines M pieces of identification code information as candidate identification code information from the plurality of identification code information, including:

[0028] The controller performs statistical processing on the identification code information to obtain the occurrence frequency of each identification code information, and determines the top M identification code information with the highest occurrence frequency as the candidate identification code information.

[0029] In one embodiment of the present application, it further includes:

[0030] Performing statistical processing on the identification code information by the controller to obtain the occurrence frequency of each identification code information;

[0031] When the frequency of occurrence of a certain identification code information is 1, the identification code information is regarded as 1 identification code set; when the frequency of occurrence of a certain identification code information is greater than 1, all the identification code information as a whole are regarded as 1 identification code set, and the number of the identification code sets is calculated: when the number is less than N, the identification code information corresponding to each identification code set is used as the candidate identification code information; when the number is greater than N, the top M identification code information with the highest frequency of occurrence is determined as the candidate identification code information.

[0032] In one embodiment of the present application, the controller performs statistical processing on the identification code information to obtain the occurrence frequency of each identification code information, and determines the top M identification code information with the highest occurrence frequency as the candidate identification code information, including:

[0033] The controller verifies each piece of identification code information, removes the identification code information that does not meet the verification requirements, and performs statistical processing on the remaining identification code information to obtain the occurrence frequency of each piece of remaining identification code information, and determines the top M pieces of identification code information with the highest occurrence frequency as the candidate identification code information; preferably, the verification requirements include at least one of the following:

[0034] The number of characters in the identification code information meets the preset number of characters;

[0035] The character format of the identification code information complies with the preset character format;

[0036] The check digit calculation result of the identification code information satisfies the preset check digit calculation result;

[0037] The character check calculation result of the identification code information meets the preset character check calculation result.

[0038] In one embodiment of the present application, the controller determines M pieces of identification code information as candidate identification code information from the plurality of identification code information, including:

[0039] The controller performs deduplication processing on the plurality of identification code information to obtain M deduplicated identification code information as the candidate identification code information.

[0040] In one embodiment of the present application, the identification code is a barcode and / or a QR code affixed to the sample container.

[0041] On the other hand, an embodiment of the present application provides a sample analysis system, including:

[0042] An input module, configured to receive a sample container carrying a sample, wherein the sample container is provided with a plurality of identification codes;

[0043] A scheduling component, configured to schedule the sample container to an identification station;

[0044] An image acquisition device, disposed on at least one side of the identification station, for acquiring images of the sample containers having the plurality of identification codes at the identification station to obtain a plurality of images containing the identification codes;

[0045] One or more analysis modules, configured to detect the sample;

[0046] A controller is configured to acquire the plurality of images acquired by the image acquisition device and perform image segmentation processing on the plurality of images to obtain a plurality of sub-images, wherein each sub-image contains at least a portion of the identification code; the controller performs screening processing on the sub-images and acquires candidate identification code information corresponding to at least one sub-image that meets the screening conditions, determines target identification code information from the candidate identification code information, determines corresponding detection item information based on the target identification code information, and controls one or more analysis modules to perform detection on the sample based on the detection item information.

[0047] In one embodiment of the present application, the controller determines the target identification code information from the candidate identification code information, including:

[0048] The controller matches each candidate identification code information with the system identification code information in the work order system, and determines the candidate identification code information that matches the system identification code information as the target identification code information.

[0049] In one embodiment of the present application, the controller performs screening processing on the sub-images and obtains candidate identification code information corresponding to at least one of the sub-images that meets the screening conditions, including one of the following:

[0050] The controller performs screening processing on the sub-images, obtains at least one piece of identification code information based on the sub-images that meet the screening conditions, and determines at least one piece of candidate identification code information from the at least one piece of identification code information;

[0051] Alternatively, the controller obtains a plurality of identification code information based on the plurality of sub-images, performs screening processing on each of the sub-images, and determines at least one candidate identification code information from at least one identification code information corresponding to the sub-image that meets the screening conditions.

[0052] In one embodiment of the present application, the screening condition includes at least one of the following:

[0053] The area of ​​the identification code contained in the sub-image that is blocked meets a first preset threshold range;

[0054] The unobstructed area of ​​the identification code contained in the sub-image meets a second preset threshold range;

[0055] The shape of the identification code included in the sub-image conforms to a preset shape.

[0056] In one embodiment of the present application, the controller determines at least one candidate identification code information from at least one identification code information, including one of the following:

[0057] The controller performs statistical processing on the identification code information to obtain the occurrence frequency of each identification code information, and determines the identification code information with the highest occurrence frequency as the candidate identification code information;

[0058] Alternatively, the controller performs statistical processing on the identification code information to obtain the occurrence frequency of each identification code information, and determines the top M identification code information with the highest occurrence frequency as the candidate identification code information, where M≥2;

[0059] Alternatively, the controller performs deduplication processing on the multiple identification codes to obtain the deduplicated identification code information as the candidate identification code information.

[0060] In one embodiment of the present application, the rotating assembly is used to drive the sample container on the identification station to rotate, including one of the following:

[0061] The rotating assembly is used to drive the sample container on the identification station to continuously rotate;

[0062] Alternatively, the rotating component is used to drive the sample container on the identification station to rotate periodically, and the step length of each rotation of the sample container is the same. Preferably, the rotating component stops after each rotation of the sample container to allow the image acquisition device to acquire an image. After the image acquisition device acquires an image of the sample container in a stationary state, the rotating component drives the sample container to rotate again.

[0063] In one embodiment of the present application, the controller performs image segmentation processing on the plurality of images to obtain a plurality of sub-images, including:

[0064] The controller acquires a plurality of the images;

[0065] The controller performs image segmentation processing on each of the images to obtain multiple sub-images, wherein, in the process of performing image segmentation processing on each of the images, a rectangular selection box is determined according to the identification code in the image, and the sub-images are segmented out in the image according to the rectangular selection box; preferably, the controller identifies at least two edges of the identification code in the image, determines the size and position of the rectangular selection box according to at least two edges, and segments the sub-images in the image according to the rectangular selection box.

[0066] In one embodiment of the present application, the identification code is a barcode and / or a QR code affixed to the sample container.

[0067] In another aspect, an embodiment of the present application provides a sample analysis system, comprising:

[0068] An input module is configured to receive a sample container carrying a sample, wherein the sample container is provided with N identification codes, where N is an integer greater than or equal to 2, and at least one of the identification codes on the sample container is partially or completely covered by another identification code;

[0069] A scheduling component, configured to schedule the sample container to an identification station;

[0070] an identification code collection device, disposed on at least one side of the identification station, for collecting identification code information of the sample containers having N identification codes at the identification station;

[0071] One or more analysis modules, configured to detect the sample;

[0072] A controller is configured to obtain a plurality of identification code information through the identification code acquisition device, and determine M pieces of identification code information from the plurality of identification code information as candidate identification code information, where M is an integer and M ≥ N, determine target identification code information that matches the system identification code information by matching the M pieces of candidate identification code information with the system identification code information in the work order system, determine corresponding detection item information based on the target identification code information, and control one or more analysis modules to perform detection on the sample based on the detection item information.

[0073] In one embodiment of the present application, a rotating assembly is further included, which is used to drive the sample container on the identification station to rotate, and the identification code acquisition device is used to periodically acquire identification code information when the sample container rotates.

[0074] In one embodiment of the present application, the identification code acquisition device is an image acquisition device, which is used to acquire an image of the sample container to obtain multiple images containing the identification code; the controller obtains multiple identification code information through the identification code acquisition device, including:

[0075] The controller acquires the multiple images captured by the image capture device, and obtains multiple identification code information according to the multiple images.

[0076] In one embodiment of the present application, a rotating assembly is further included, which is used to drive the sample container on the identification station to rotate, and the image acquisition device is used to perform periodic image acquisition when the sample container rotates to obtain a plurality of images.

[0077] In one embodiment of the present application, the controller obtains multiple identification code information based on the multiple images, including:

[0078] The controller performs image segmentation processing on the plurality of images to obtain a plurality of sub-images, wherein each of the sub-images contains at least a portion of the identification code;

[0079] The controller performs image recognition processing on the multiple sub-images respectively to obtain the multiple identification code information.

[0080] In one embodiment of the present application, the controller determines M pieces of identification code information as candidate identification code information from the plurality of identification code information, including:

[0081] The controller performs statistical processing on the identification code information to obtain the occurrence frequency of each identification code information, and determines the top M identification code information with the highest occurrence frequency as the candidate identification code information.

[0082] On the other hand, an embodiment of the present application provides a method for obtaining identification code information, including:

[0083] Acquiring a plurality of collection features including identification codes of a sample container by an identification code acquisition device, wherein N identification codes are provided on the sample container, where N is an integer greater than or equal to 2;

[0084] Obtaining multiple identification code information according to the multiple collected features;

[0085] Determining M pieces of identification code information from the plurality of identification code information as candidate identification code information, where M is an integer and M≥N;

[0086] By matching the M candidate identification code information with the system identification code information in the work order system, target identification code information matching the system identification code information is determined.

[0087] In one embodiment of the present application, the identification code acquisition device is disposed on at least one side of the identification station; the acquisition of multiple acquisition features containing identification codes of the sample container by the identification code acquisition device includes:

[0088] Controlling the scheduling component to schedule the sample container to the identification station;

[0089] The rotating assembly is controlled to drive the sample container on the identification station to rotate, and the identification code acquisition device performs periodic acquisition when the sample container rotates to obtain a plurality of acquisition features containing the identification code.

[0090] In one embodiment of the present application, the identification code acquisition device includes an image acquisition device, the acquisition features include an image acquired by the image acquisition device; obtaining multiple identification code information based on the multiple acquisition features, and determining M pieces of identification code information from the multiple identification code information as candidate identification code information includes:

[0091] A plurality of identification code information is obtained according to the plurality of images, and M pieces of identification code information are determined from the plurality of identification code information as candidate identification code information.

[0092] In one embodiment of the present application, obtaining multiple identification code information based on the multiple images includes:

[0093] Performing image segmentation processing on the plurality of images to obtain a plurality of sub-images, wherein each of the sub-images contains at least a portion of the identification code;

[0094] Image recognition processing is performed on each of the plurality of sub-images to obtain the plurality of identification code information.

[0095] In one embodiment of the present application, determining M pieces of identification code information as candidate identification code information from the plurality of identification code information includes one of the following:

[0096] Performing statistical processing on the identification code information to obtain the occurrence frequency of each identification code information, and determining the top M identification code information with the highest occurrence frequency as the candidate identification code information;

[0097] Alternatively, deduplication processing is performed on the plurality of identification code information to obtain M deduplicated identification code information as the candidate identification code information.

[0098] On the other hand, an embodiment of the present application provides a method for obtaining identification code information, including:

[0099] Acquiring a plurality of images of a sample container by an image acquisition device, wherein a plurality of identification codes are set on the sample container;

[0100] Performing image segmentation processing on the plurality of images to obtain a plurality of sub-images, wherein each of the sub-images contains at least a portion of the identification code;

[0101] Performing screening processing on the sub-images, and obtaining candidate identification code information corresponding to at least one sub-image that meets the screening conditions;

[0102] Target identification code information is determined from the candidate identification code information, and corresponding detection item information is determined according to the target identification code information. One or more analysis modules are controlled to detect the sample in the sample container according to the detection item information.

[0103] In one embodiment of the present application, the image acquisition device is disposed on at least one side of the identification station; and acquiring multiple images of the sample container by the image acquisition device includes:

[0104] Controlling the scheduling component to schedule the sample container to the identification station;

[0105] The rotating assembly is controlled to drive the sample container on the identification station to rotate, and the image acquisition device is used to perform periodic image acquisition when the sample container rotates to obtain a plurality of images.

[0106] In one embodiment of the present application, determining the target identification code information from the candidate identification code information includes:

[0107] Each candidate identification code information is matched with the system identification code information in the work order system, and the candidate identification code information that matches the system identification code information is determined as the target identification code information.

[0108] In one embodiment of the present application, the screening of the sub-images and obtaining candidate identification code information corresponding to at least one of the sub-images that meets the screening criteria includes at least one of the following:

[0109] Performing screening processing on each of the sub-images, obtaining at least one piece of identification code information based on the sub-images meeting the screening conditions, and determining at least one piece of candidate identification code information from the at least one piece of identification code information;

[0110] Alternatively, a plurality of identification code information is obtained based on a plurality of sub-images, and screening is performed on each sub-image, and at least one candidate identification code information is determined from at least one identification code information corresponding to the sub-image that meets the screening condition.

[0111] In one embodiment of the present application, determining at least one candidate identification code information from at least one identification code information includes one of the following:

[0112] Performing statistical processing on the identification code information to obtain the occurrence frequency of each identification code information, and determining the identification code information with the highest occurrence frequency as the candidate identification code information;

[0113] Alternatively, the identification code information is statistically processed to obtain the occurrence frequency of each identification code information, and the top M identification code information with the highest occurrence frequency are determined as the candidate identification code information, where M≥2;

[0114] Alternatively, duplicate removal is performed on the plurality of identification codes to obtain the identification code information after duplicate removal as the candidate identification code information.

[0115] On the other hand, an embodiment of the present application further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, it implements the identification code information acquisition method described in any one of the above embodiments.

[0116] On the other hand, an embodiment of the present application further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is executed by a processor to implement the identification code information acquisition method described in any one of the above embodiments.

[0117] In another aspect, embodiments of the present application further provide a computer program product, comprising a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium and executes the computer program, causing the computer device to implement the identification code information acquisition method described in any one of the above embodiments.

[0118] The embodiments of the present application include at least the following beneficial effects:

[0119] The sample analysis system provided by one embodiment of the present application is characterized in that a sample container is dispatched to an identification station by a scheduling component, and then an identification code acquisition device arranged on at least one side of the identification station collects identification code information for a sample container having N identification codes, and a controller obtains multiple identification code information through the identification code acquisition device; the controller determines M identification code information from the multiple identification code information as candidate identification code information, matches the M candidate identification code information with the system identification code information in the work order system, determines target identification code information that matches the system identification code information, determines corresponding detection item information based on the target identification code information, and controls one or more analysis modules to detect the sample based on the detection item information. Since the number of candidate identification codes for matching with the work order system is multiple and greater than or equal to the number of identification codes on the sample container, compared with using a single candidate identification code to match with the work order system, the embodiment of the present application not only greatly improves the success rate of identification code information recognition, but also enables the sample analysis system to more quickly determine the detection items required for the current sample, thereby improving the detection efficiency of the sample analysis system.

[0120] An embodiment of the present application provides a sample analysis system, which dispatches a sample container to an identification station through a dispatching component, and then an image acquisition device provided on at least one side of the identification station performs image acquisition on the sample container having multiple identification codes to obtain multiple images containing the identification codes. A controller acquires the multiple images acquired by the image acquisition device and performs image segmentation processing on the multiple images to obtain multiple sub-images, wherein each sub-image contains at least part of the identification code. The controller screens the sub-images and obtains candidate identification code information corresponding to at least one sub-image that meets the screening conditions, and determines the target identification code information from the candidate identification code information. Since the embodiment of the present application determines the target identification code information, the target identification code information is determined by the image acquisition device. The acquired sub-images will be screened before the candidate identification code information is obtained. The identification code information corresponding to the sub-images that do not meet the screening conditions will not be used as candidate identification code information, thereby improving the accuracy of the candidate identification code information. The controller determines the target identification code information from each of the candidate identification code information, and determines the corresponding detection item information based on the target identification code information. The controller controls one or more of the analysis modules to detect the sample based on the detection item information. It can be seen that by screening the sub-images, the accuracy of the candidate identification code information and the success rate of determining the target identification code information are improved, and the sample analysis system can more quickly determine the detection items that need to be performed on the current sample, thereby improving the detection efficiency of the sample analysis system.

[0121] An embodiment of the present application provides a method for obtaining identification code information, which obtains multiple collection features containing identification codes of a sample container with N identification codes through an identification code collection device, obtains multiple identification code information based on the multiple collection features, and determines M identification code information from the multiple identification code information as candidate identification code information, and determines the candidate identification code information that matches the system identification code information as the target identification code information by matching the M candidate identification code information with the system identification code information in the work order system. Since the number of candidate identification codes for matching with the work order system is multiple and greater than or equal to the number of identification codes on the sample container, the success rate of identification code information recognition in the embodiment of the present application is greatly improved compared with using a single candidate identification code to match with the work order system.

[0122] One embodiment of the present application provides a method for obtaining identification code information. An image acquisition device is used to capture images of a sample container having multiple identification codes, thereby obtaining multiple images containing the identification codes. The multiple images are then segmented to obtain multiple sub-images, each of which contains at least a portion of the identification code. The sub-images are screened and candidate identification code information corresponding to at least one sub-image that meets the screening criteria is obtained, thereby determining target identification code information from the candidate identification code information. Because each sub-image is screened before determining the candidate identification code information in this embodiment of the present application, identification code information corresponding to sub-images that do not meet the screening criteria is not included as candidate identification code information, thereby improving the accuracy of the candidate identification code information and the success rate of determining the target identification code information.

[0123] Other features and advantages of the present application will be set forth in the following description, and in part will be apparent from the description, or may be understood by practicing the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0124] The accompanying drawings are used to provide a further understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.

[0125] Figure 1 A schematic structural diagram of a sample analyzer provided in one embodiment of the present application;

[0126] Figure 2 A schematic structural diagram of a sample analyzer provided in one embodiment of the present application;

[0127] Figure 3 A schematic structural diagram of a sample analyzer provided in one embodiment of the present application;

[0128] Figure 4A schematic diagram of the position structure of a rotating assembly provided in one embodiment of the present application;

[0129] Figure 5 for Figure 4 A magnified view of point A;

[0130] Figure 6 A schematic diagram of image segmentation processing provided in one embodiment of the present application;

[0131] Figure 7 A schematic diagram of the identification process provided for one embodiment of the present application;

[0132] Figure 8 A schematic diagram of matching processing with a work order system provided in one embodiment of the present application;

[0133] Figure 9 A schematic diagram of image segmentation and sub-image screening condition determination provided by one embodiment of the present application;

[0134] Figure 10 A flowchart of a method for obtaining identification code information provided in one embodiment of the present application;

[0135] Figure 11 A flowchart of a method for obtaining identification code information provided in one embodiment of the present application. DETAILED DESCRIPTION

[0136] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0137] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0138] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.

[0139] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the numbers used in this way can be interchanged where appropriate to describe the embodiments of the present application, for example, they can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0140] It should be understood that in this application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0141] It should be understood that in the description of the embodiments of the present application, multiple (or multiple items) means more than two, greater than, less than, exceed, etc. are understood to exclude the number itself, and above, below, within, etc. are understood to include the number itself.

[0142] In the medical field, barcode recognition technology can be used to identify sample and patient information, improving testing efficiency. For example, during laboratory testing, hospitals and testing agencies affix barcodes to sample containers to record relevant information about the sample and the patient. However, existing barcode recognition solutions can only detect when there is only one barcode on the container. When multiple barcodes are present, recognition fails or the recognition accuracy is low, requiring repeated re-recognition, which significantly reduces the efficiency of sample testing.

[0143] In an application scenario of an embodiment of the present application, after obtaining the sample sent by the hospital, the testing agency will send the sample into the pipeline system (also known as the full laboratory automation pipeline system, Total laboratory automation, TLA) for detection. A plurality of analysis modules are provided in the pipeline system, which are respectively used to detect different detection items for the sample. Therefore, the pipeline system needs to confirm the detection items required for the current sample, and then send the sample container to different analysis modules for detection. It can be seen that this requires the pipeline system to know the detection item information of the current sample. In the prior art, the pipeline system can identify the identification code on the sample container to obtain identification code information, and confirm the detection item information of the current sample according to the identification code information, so that the sample is detected using the corresponding analysis module. In the process of confirming the detection item information, the pipeline system will match the identification code information obtained by identification with the system identification code information in the work order system to confirm the detection item information of the current sample. In some cases, the testing agency will paste the barcode on the sample container twice or even multiple times (for example, another identification code used to establish its own sample identification library). In this case, the pipeline system will identify the wrong identification code (for example, merging two identification codes into one long code) or obtain multiple identification codes. In this way, the pipeline system will match the wrong identification code or randomly select an identification code from multiple identification codes with the work order system, which can easily cause errors. This requires repeated identification of the identification code on the sample container. Since the success rate of matching with the work order system is low (the success rate of identification is 50%), the pipeline system will repeatedly report errors during operation, which leads to low detection efficiency of the pipeline system.

[0144] In an application scenario of an embodiment of the present application, the testing organization may also use a single sample analyzer to test the sample. Even with a single analyzer, the test items and / or test parameters for different samples may be different. Therefore, the sample analyzer also needs to confirm the test item information based on the identification code on the sample, and then test the sample based on the test item information. As mentioned above, when the barcode is pasted on the sample container twice or even multiple times, the sample analyzer will identify the wrong identification code (for example, merging two identification codes into one long code) or obtain multiple identification codes. In this way, the sample analyzer will match the wrong identification code or randomly select an identification code from multiple identification codes with the work order system, which can easily cause an error. This requires repeated identification of the identification code on the sample container. Due to the low success rate of matching with the work order system, the sample analyzer will repeatedly report errors during operation, which will also lead to low detection efficiency of the sample analyzer.

[0145] Reference Figure 1FIG. 1 is a schematic diagram of the structure of a sample analysis system according to an embodiment of the present application. The sample analysis system can be applied to a pipeline system and includes an input module 100, a pre-processing module 200, an analysis module 300, a transport track 400, a distribution device 500, a controller 600, and a display 700. The transport track 400 is used to connect various modules, such as the input module 100, the pre-processing module 200, and one or more analysis modules 300. The distribution device 500 dispatches samples to corresponding modules for processing via the transport track 400.

[0146] The input module 100 is generally the area where the user places the sample, and is used to receive the sample placed by the user. When the pipeline system is working, the distribution device 500 can sort the samples placed in the input module 100 for processing by the next module, such as the pre-processing module 200.

[0147] The pre-treatment module 200 is used to complete the pre-treatment of the sample. In one embodiment, the pre-treatment module 200 may include one or more of a centrifugation module, a serum detection module, a decapping module and a dispensing module. The centrifugation module is used to centrifuge the sample to be centrifuged, and the number of centrifugation modules can be one or more. The serum detection module is used to detect whether the amount of serum in the sample is sufficient and / or whether the serum quality of the test sample is qualified, so as to determine whether the centrifuged sample can be used for subsequent determination. The decapping module is used to decap the sample after centrifugation - it can be understood that the capping, filming, decapping and demembraning of the sample herein refers to the capping, filming, decapping and demembraning of the sample tube containing the sample; generally, the sample needs to be decapped after centrifugation for subsequent dispensing or sampling by the dispensing module or analysis module. The dispensing module is used to sample, for example, to divide a sample into multiple samples, so as to send them to different analysis modules for determination. A common pre-processing process of the pre-processing module is as follows: the centrifugation module receives the sample dispatched by the input module 100 and centrifuges the sample; the serum detection module detects the serum of the centrifuged sample to determine whether it can be used for subsequent measurements. If the serum amount is insufficient or the quality is unqualified, it cannot be used for subsequent measurements; if the test passes, the sample is dispatched to the decapping module, and the decapping module removes the cover of the sample. If there is a dispensing module, the dispensing module divides the removed sample, and then dispatches the divided sample to the corresponding analysis module for measurement. If there is no dispensing module, the sample is dispatched from the decapping module to the corresponding analysis module for measurement.

[0148] Analysis modules 300 are used to test samples that have been centrifuged and removed from the cap. To improve efficiency and test throughput, a pipeline system typically includes multiple analysis modules 300. These analysis modules 300 can be of the same type, used to measure the same test item, or of different types, used to measure different tests. This can be configured based on the needs of the user and department.

[0149] See also Figure 2 As shown, the input module 100 includes a carrying platform 110 and a plurality of drawers 120 arranged on the carrying platform 110, and a plurality of placement areas for placing sample trays are provided in the drawers 120, wherein the trays are provided with array accommodating holes for carrying sample containers 10. The user can place samples, such as quality control samples and patient samples, in the placement area of ​​the drawer 120. In one embodiment of the present application, a sample holder 30 (also called a single tube holder) is provided on a transfer track 400 near the input module 100, and the distributing device 500 includes a manipulator 510 for distributing the sample container 10 on the input module 100 to the sample holder. The distributing device 500 transports the sample holder carrying the sample container 10 to other modules via the transfer track 400, such as to the pre-processing module 200 or the analysis module 300.

[0150] In one embodiment of the present application, the sample container 10 placed in the input module 100 is provided with N identification codes, where N is an integer greater than or equal to 2. The identification code can be a barcode and / or a QR code affixed to the sample container 10. For example, the sample container 10 is provided with two identification codes, one of which is set by the hospital for testing and inspection, and the identification code is consistent with the system identification code to be tested in the work order system, and the other identification code is set by the testing agency, for example, an identification code used to establish its own sample identification library (of course, the identification code set by the testing agency can also be used as the basis, and the present embodiment of the application is not limited to this). In another embodiment, more than two identification codes can also be set on the sample container (for example, three identification codes are set on the sample container). For example, if the hospital where the sample is collected also has a superior hospital, if the sample is sent to the testing agency by the superior hospital, the sample container may have a total of three identification codes corresponding to the sampling hospital, the superior hospital, and the testing agency. It should be noted that the present application does not limit the unit to which the identification codes are affixed. In fact, based on certain research purposes, the same unit can also affix two or more identification codes on the sample container.

[0151] Since the formats of the various identification codes of the sample container 10 are similar, the existing identification code recognition device cannot distinguish which identification code is the system identification code in the work order system, and the existing identification code recognition device may make recognition errors (such as obstruction or recognizing multiple identification codes as one long code), resulting in low recognition accuracy.

[0152] In addition, in the case of multiple identification codes, there is no established standard for the pasting position of each identification code. Therefore, in one embodiment of the present application, at least one of the identification codes on the sample container is partially or completely covered by the other identification codes. For example, when two identification codes are provided on the sample container, one identification code may cover another identification code, which causes the identification code at the bottom layer to be partially blocked or completely blocked. For another example, when three identification codes are provided on the sample container, the identification code at the bottom layer may be partially blocked by the other two identification codes at the same time, or the three identification codes may be stacked and blocked, for example, the identification code at the bottom layer is partially blocked by the identification code at the middle layer, and the identification code at the middle layer is partially blocked by the identification code at the top layer. By analogy, when the number of sample container identification codes is more than 3, it is also easy to understand the various possible blocking situations, which will not be described here.

[0153] In this regard, in one embodiment of the present application, the sample analysis system is further provided with an identification code acquisition device 800 for identifying the identification code of the sample container 10, a scheduling component and an identification station 20 for placing the sample container 10 to be collected, wherein the identification code acquisition device 800 is arranged on at least one side of the identification station 20, and the scheduling component is used to schedule the sample container 10 to the identification station 20 for the acquisition device 800 to perform feature acquisition. In one embodiment, the identification code acquisition device can be a barcode scanner. In another embodiment, the identification code acquisition device 800 can be an image acquisition device. The image acquired by the image acquisition device covers one side of the sample container. Not only is the acquisition efficiency high, but the error rate of the identification code information extracted through the image is low, which helps to improve the recognition efficiency of the identification code and the matching success rate of the work order system.

[0154] In one embodiment of the present application, see Figure 2 As shown, the identification station 20 is disposed on the transport path of the transport track 400. The scheduling component includes the aforementioned manipulator 510 and the transport track 400. The manipulator 510 is used to grab the sample container 10 from the input module 100 and place it on the sample holder of the transport track 400. The transport track 400 then drives the sample container 10 via the sample holder to move to the identification station 20. The identification code acquisition device then acquires identification code information from the sample containers having N identification codes. For example, in one embodiment, the image acquisition device acquires images of the sample containers having N identification codes to obtain multiple images containing the identification codes. In this embodiment, the manipulator 510 grabs the sample container 10 to the sample holder of the transport track 400, and the transport track 400 drives the sample container 10 via the sample holder to move to the identification station 20, which constitutes one scheduling action.

[0155] Of course, in another embodiment, the scheduling device may include only the transport track 400, that is, the action of the transport track 400 driving the sample container 10 to the identification station 20 via the sample receptacle is considered the scheduling action. In this embodiment, the robot 510 may not be used to grab the sample container 10 from the input module 100 and place it on the sample receptacle of the transport track 400. Alternatively, the action of the robot 510 grabbing the sample container 10 and placing it on the sample receptacle of the transport track 400 may be considered a regular action that is not specifically adapted for identification code recognition.

[0156] In another embodiment of the present application, the identification station may be set not on the transmission path of the transmission track 400 but elsewhere, for example, in the input module 100 or outside the input module 100 and the transmission track 400. In one embodiment, the scheduling component may be a manipulator 510 of the distribution device 500, which grabs the sample container 10 in the input module 100 and places it in the identification station. Then, the identification code acquisition device collects identification code information for the sample container with N identification codes. For example, in one embodiment, an image acquisition device provided on at least one side of the identification station collects images of the sample container with N identification codes to obtain multiple images containing identification codes. After completing the image acquisition and the target identification code information recognition described below, the manipulator 510 grabs the sample container 10 to the sample seat of the transmission track 400. The controller 600 controls the transmission track 400 according to different detection item information to allocate the sample container 10 after the identification code recognition to the corresponding analysis module 300 for detection. In another embodiment, the scheduling component may also use another transmission mechanism instead of the manipulator 510, for example, another claw to grab the sample container 10 in the input module 100 and bring it to the identification station for image acquisition.

[0157] The controller 600 is used to control the operation of each module in the sample analysis system. In one embodiment, the controller 600 obtains multiple identification code information through the identification code acquisition device, for example, by receiving the identification code information recognized by a barcode scanner. In another embodiment, the controller 600 obtains multiple images collected by the image acquisition device, obtains multiple identification code information based on the multiple images, and determines M identification code information from the multiple identification code information as candidate identification code information, where M is an integer and M≥N (for example, if there are 2 or 3 identification codes on the sample container, then M≥2). The controller 600 matches the M candidate identification code information with the system identification code information in the work order system, determines the candidate identification code information that matches the system identification code information as the target identification code information, determines the corresponding detection item information based on the target identification code information, and controls one or more analysis modules to detect the sample based on the detection item information.

[0158] See also Figure 3 FIG. 1 is a schematic diagram of the structure of a sample analysis system according to an embodiment of the present application. The sample analysis system can be applied to a pipeline system as well as an independent sample analyzer, wherein the sample analyzer includes an input module 100, an analysis module 300, a transmission track 400, a distribution device 500, a controller 600 and a display 700. The functions of the above modules are similar to those of the sample analyzer. Figure 2 The functions and effects of the corresponding modules in the pipeline system shown are the same. Figure 2 The specific implementation of each module shown can be introduced into Figure 3 In each corresponding module of the sample analyzer shown. Among them, the sample analyzer is provided with a scheduling component, an identification station and an image acquisition rotor. The identification station can be set on the transmission path of the transmission track 400 or independently set in the sample analyzer. The scheduling component can include a manipulator 510 of the distribution device 500 and the above-mentioned transmission track 400. The manipulator 510 grabs the sample container in the input module 100 and puts it into the sample seat on the transmission track 400. The transmission track 400 then drives the sample container to move to the identification station through the sample seat. The image acquisition device set on at least one side of the identification station performs image acquisition to obtain multiple images containing identification codes. The controller 600 in the sample analyzer obtains multiple images captured by the image acquisition device, obtains multiple identification code information based on the multiple images, and determines M identification code information from the multiple identification code information as candidate identification code information, where M is an integer and M≥N. The controller 600 matches the M candidate identification code information with the system identification code information in the work order system, determines the candidate identification code information that matches the system identification code information as the target identification code information, determines the corresponding detection item information according to the target identification code information, and controls one or more analysis modules in the sample analyzer to detect the sample according to the detection item information. In the above embodiment, in addition to the scheduling component including the manipulator 510 and the transfer track 400, in another embodiment, the transfer track 400 can also be used alone as a scheduling component to schedule the sample container to the identification station on the transfer path of the transfer track 400. In another embodiment, the manipulator 510 or other grippers can also be used to grab the sample container 10 in the input module 100 and place it in an independent identification station for image acquisition. The specific description parameters related to these embodiments are as follows: Figure 2 In another embodiment, other identification code acquisition devices, such as a barcode scanner, can be provided on at least one side of the identification station, and multiple identification code information can be obtained through the barcode scanner.

[0159] In the above-mentioned embodiment, the sample analysis system has multiple candidate identification codes for matching with the work order system and the number of the candidate identification codes is greater than or equal to the number of identification codes on the sample container. Compared with using a single candidate identification code to match with the work order system, the embodiment of the present application not only greatly improves the success rate of identification code information recognition, but also enables the sample analysis system to more quickly determine the test items that need to be performed on the current sample, thereby improving the detection efficiency of the sample analysis system.

[0160] It should be noted that the following description of the structure of the sample analysis system is mainly based on Figure 1 and Figure 2 The pipeline system scenario shown is described in detail, but unless otherwise specified, the descriptions of the technical features, specific embodiments, etc. of the sample analysis system are applicable and can be added to Figure 3 The sample analyzer scenario is shown.

[0161] In one embodiment of the present application, the sample analysis module further includes a rotating assembly, which is used to drive the sample container on the identification station to rotate, so that the identification code acquisition device can acquire identification code information when the sample container rotates.

[0162] In one embodiment, after the dispatching assembly dispatches the sample container to the identification station, the controller controls the rotating assembly to rotate the sample container on the identification station, and the image acquisition device is used to periodically acquire images during the rotation of the sample container to obtain a plurality of images. In one embodiment, a sample holder for holding the sample container is provided on the identification station, wherein the sample holder is capable of clamping and fixing the sample container. The rotating assembly rotates the sample holder, thereby driving the sample container to rotate via the sample holder. In another embodiment, the sample container can rotate relative to the sample holder, so that the rotating assembly can directly act on the sample container to cause the container to rotate within the sample holder. In another embodiment, the sample holder may not be provided, and the rotating assembly can directly drive the sample container in the identification station to rotate. For example, the rotating assembly includes a rotating mechanism and a claw disposed on the rotating mechanism. After the claw grabs the sample container from the input module to the identification station, the rotating mechanism drives the claw to rotate, and the claw simultaneously drives the sample container to rotate.

[0163] In one embodiment, the rotating assembly can drive the sample container on the identification station to rotate continuously, and the controller performs periodic image acquisition through the image acquisition device. Since the sample container rotates continuously, the control method is simple and the acquisition speed is fast.

[0164] In another embodiment, the rotating assembly is used to drive the sample container on the identification station to rotate periodically, and the step length of each rotation of the sample container is the same. The step length of the sample container can also be reflected in the rotation angle of the sample container, that is, each time the sample container rotates a certain step length / angle, it will stop and wait for a preset time before continuing to select the next step length / angle. Preferably, the rotating assembly stops after each rotation of the sample container to allow the image acquisition device to perform image acquisition. After the image acquisition device captures an image of the sample container in a stationary state, the rotating assembly continues to drive the sample container to rotate again for the next step length / angle. In this way, the sample container is in a stationary state each time the image acquisition device performs image acquisition, and the image acquisition device can capture a clearer image (for example, when the image acquisition device is stationary relative to the sample container, it is easier to focus to obtain a clearer image).

[0165] See also Figure 4 and Figure 5 The figure is a schematic diagram of the position structure of the rotating component of an embodiment of the present application, wherein Figure 5 yes Figure 4 In the enlarged view of point A, the identification station 20 is disposed on the transport path of the transport track 400. A sample holder 30 is disposed on the transport track 400, and a sample container 10 is loaded into the sample holder 30. The transport track 400 drives the sample holder 30 and the sample container 10 therein to move to the identification station 20. The image acquisition device includes a camera component 810 disposed on one side of the identification station 20, capable of capturing images of one side of the sample container 10. The rotating assembly can rotate the sample container 10 relative to the camera component 810, enabling the camera component 810 to capture multiple images of the sample container 10 circumferentially. These images can cover the circumference of the sample container 10 360 degrees, enabling the capture of individual identification codes at any position on the sample container 10.

[0166] In one embodiment of the present application, see Figure 5 As shown, the rotating assembly includes a driving wheel 203, a driven wheel 204 and an auxiliary wheel 206. The output shaft of the motor 202 is directly connected to the driving wheel 203, and the driving wheel 203 transmits the rotation to the driven wheel 204 through the belt 205. The driven wheel 204 and the auxiliary wheel 206 are respectively arranged on both sides of the transmission track 400 and attached to the circumference of the sample holder 30. The driving wheel 203 can eventually drive the sample holder 30 to rotate smoothly. It can be understood that the motor 202 can be selected as a stepper motor. The motor 202 is electrically connected to the controller so as to control the parameters such as the rotation direction and rotation speed of the sample holder 30 according to actual needs. In one embodiment of the present application, it is also possible to Figure 4 、 Figure 5On the basis of the sample analysis system shown, a plurality of shooting components 810 are provided to capture images of the sample container 10 , thereby improving the efficiency of image capture.

[0167] In one embodiment of the present application, see Figure 4 As shown, a light source 40 for illumination may also be provided at the recognition station 20 to improve the acquisition effect of the image acquisition.

[0168] In one embodiment of the present application, in addition to being able to drive the sample container to rotate relative to the image acquisition device at the identification station by the rotating component, the sample container can also be allowed to remain stationary at the identification station, and the rotating component can drive the image acquisition device to rotate around the sample container on the identification station and perform periodic image acquisition to obtain multiple images.

[0169] In another embodiment, the rotating assembly may not be provided, and multiple camera components may be provided around the periphery of the identification station. The combined imaging range of the camera components covers the entire periphery of the sample container, that is, the imaging range of each camera component can cover the entire periphery of the sample container 360 degrees, wherein the imaging ranges of the various camera components are spliced ​​together or partially overlap. The multiple camera components capture images of the sample container on the identification station from different directions to obtain multiple images.

[0170] In one embodiment of the present application, the controller may first perform a screening process on the acquired images to determine whether any of the acquired images contain an image that has captured an identification code. If the image does not contain an identification code, the image may be discarded without performing the identification code recognition process (e.g., not performing the image segmentation process described below). Of course, in another embodiment, the identification code recognition process may be performed on all images without screening, and the identification code information will not be recognized for images that do not contain an identification code.

[0171] In one embodiment of the present application, the controller acquires multiple images acquired by the image acquisition device and needs to identify the identification code on the sample container based on each image. Since there are multiple identification codes on the sample container in the embodiment of the present application, and there may be overlap between the identification codes, if the entire image is decoded and identified, recognition errors may occur. For this, see Figure 6 As shown in the image segmentation processing diagram, the controller performs image segmentation processing on the input image, identifies the area of ​​each identification code displayed in the image and performs image segmentation to obtain multiple sub-images. Each sub-image contains at least part of the identification code, for example, Figure 6As shown, after the image 60 is segmented, a first sub-image 601 and a second sub-image 602 are obtained, wherein the first sub-image 601 displays a complete identification code, and the second sub-image 602 displays only a part of the identification code due to occlusion. In some cases, the identification code can still be recognized even if it is occluded. Therefore, image recognition processing can be performed on each sub-image to obtain multiple identification code information.

[0172] Among them, the controller can adopt different ways to perform segmentation processing on the acquired image, such as edge recognition, image binarization recognition processing or processing through machine learning methods. In one embodiment of the present application, in view of the fact that the identification code is usually rectangular, the controller determines a rectangular selection box according to the shape of the identification code in the image during the image segmentation processing of each of the images, and segments the sub-image in the image according to the rectangular selection box. Preferably, the controller identifies at least two edges of the identification code in the image, determines the size and position of the rectangular selection box according to at least two edges, and segments the sub-image in the image according to the rectangular selection box. Since the rectangular selection box is selected to adapt to the edge of the identification code in the image according to the shape characteristics of the identification code for image segmentation, even if the identification code is partially blocked, the original identification code area can still be well segmented.

[0173] In one embodiment of the present application, each sub-image can be sent to a standard decoding library for decoding, such as the Zbar decoding library or the ZXing decoding library, to obtain identification code information. For example, if an image contains one sub-image, then one identification code can be identified for that image. If an image contains two sub-images, then two identification codes can be identified for that image in total.

[0174] In some embodiments, when an identification code on a sample container is partially blocked, the identification code may be divided into two sub-images, e.g. Figure 6 The identification code in the second sub-image 602 is blocked in the lower right corner. When performing image segmentation, the identification code may be divided into a left half sub-image and an upper right sub-image. If image recognition processing is performed on these sub-images, incorrect identification code information will be obtained.

[0175] In order to prevent erroneous identification code information from affecting the determination of detection item information, in one embodiment of the present application, the controller performs statistical processing on the identification code information, obtains the frequency of occurrence of each identification code information, obtains the frequency of occurrence of each remaining identification code information, and determines the top M identification code information with the highest frequency of occurrence as the candidate identification code information. Since the image acquisition device in the embodiment of the present application can capture multiple images that completely cover the periphery of the sample container, and each image may include one or more identification codes, the controller can ultimately obtain more identification codes than the number of identification codes on the sample container, that is, the controller obtains a number of identification codes greater than N (N is the number of identification codes on the sample container, and N is an integer greater than or equal to 2). As mentioned above, these identification codes may include erroneous or duplicate identification codes. If one of these identification codes is randomly selected, the success rate of the final match in the work order system is low. If the identification code with the largest number is selected for matching with the work order system, although erroneous identification code information can be eliminated, since there are more than two identification codes on the sample container, there is a possibility that the identification code used by the detection mechanism to construct the sample library will be matched with the work order system. Even under ideal conditions, its recognition success rate is only 50%. However, when a matching error occurs with the work order system, the sample container often needs to be recollected, which is time-consuming and cannot guarantee accurate recognition the next time. Therefore, in one embodiment of the present application, to avoid matching errors and recollect the identification code of the sample container, the controller performs statistical processing on the identification code information, obtains the frequency of occurrence of each remaining identification code information, and determines the top M identification code information with the highest frequency as the candidate identification code information, where M ≥ N. As can be seen in this embodiment of the present application, the top M identification code information with the highest frequency is selected as the candidate identification code information. Since the identification code with the highest frequency generally has a lower accuracy rate in the image recognition process, the embodiment of the present application does not directly use the identification code information with the highest frequency. Instead, the top M identification code information with the highest frequency is selected as the candidate identification code information, and then these candidate identification code information is matched with the work order system. Compared with the recollection of identification codes when the matching fails, selecting the top M identification code information with the highest frequency as the candidate identification code information not only increases the overall matching success rate, but also effectively improves recognition efficiency.

[0176] In one embodiment, the number of identification codes set on the sample container (ie, the value of N) may be a default value or set by user input.

[0177] For example, see Figure 7 As shown, in one embodiment of the present application, the controller performs image recognition processing on each image or obtains multiple identification code information from the identification code acquisition device, and performs statistical processing on these identification code information (for easy viewing). Figure 7The data displayed in the table is sorted (in practice, sorting may or may not be performed). It is determined that the identification code "999999101241" appears twice, the identification code "202308182222" appears twice, and the identification code "202308182222" appears once. In this embodiment, M is selected to be equal to N, and the top two identification code information with the highest frequency are selected from the multiple identification code information as candidate identification code information, namely, "999999101241" and "202308182222" are selected as candidate identification code information. Actual comparison shows that "999999101241" and "202308182222" correspond to the two identification codes on the sample container, respectively.

[0178] See also Figure 8 As shown, by matching the two candidate identification code information "999999101241" and "202308182222" with the system identification code information in the work order system, where the system identification code information "999999101241" exists in the work order system and matches the candidate identification code information "999999101241", the candidate identification code information "999999101241" is selected as the target identification code information.

[0179] In one embodiment of the present application, if the number of identification code information obtained after statistical processing is less than N, it is impossible to determine M candidate identification code information greater than or equal to N from the N identification code information. This may be because one of the identification codes is obscured more and this situation occurs. In this regard, in one embodiment of the present application, if the occurrence frequency of a certain identification code information is 1 after the controller performs statistical processing, the identification code information is regarded as 1 identification code set. When the occurrence frequency of a certain identification code information is greater than 1, all the identification code information as a whole are regarded as 1 identification code set, and the number of the identification code sets is calculated; when the number is less than N, the identification code information corresponding to each identification code set is used as the candidate identification code information; when the number is greater than N, the top M identification code information with the highest occurrence frequency is determined as the candidate identification code information.

[0180] That is, if the controller obtains fewer than N identification code sets through statistical processing of the identification code information, the controller will use the identification code information corresponding to each of the identification code sets as the candidate identification code information to match the system identification code information in the work order system, and determine the candidate identification code information that matches the system identification code information as the target identification code information. For example, the controller obtains that the identification code information "999999101241" appears twice, the identification code information "202308182222" appears twice, and the identification code information "20230818222" appears once, where "999999101241", "202308182222", and "2023081822" are used as identification code sets for statistical purposes. Therefore, when the number of identification code sets is fewer than N, the identification code information corresponding to all identification code sets can be directly used as candidate identification code information to match the system identification code information in the work order system, thereby avoiding the situation where errors require re-collection.

[0181] In one embodiment of the present application, before performing statistical processing on the identification code information, the controller may also perform verification processing on each of the identification code information, remove the identification code information that does not meet the verification requirements, and perform statistical processing on the remaining identification code information to obtain the occurrence frequency of each of the remaining identification code information, and determine the top M identification code information with the highest occurrence frequency as the candidate identification code information. This can effectively improve statistical efficiency and prevent erroneous high-frequency identification code information from being used as candidate identification code information and affecting the matching accuracy (especially, it can avoid erroneous high-frequency identification code information occupying the seat of the originally correct identification code information).

[0182] In one embodiment, the verification requirements may include at least one of the following:

[0183] The number of characters in the identification code information meets the preset number of characters. For example, according to the identification code rule, the number of characters in a normal identification code information should be 12 digits. Therefore, the identification code information with more than 12 digits or less than 12 digits can be removed.

[0184] The character format of the identification code information complies with the preset character format. For example, according to the identification code rules, the normal identification code information is in a numerical format. If the identification code information contains garbled characters or English characters, these erroneous identification code information can be removed.

[0185] The check digit calculation result of the identification code information meets the preset check digit calculation result. For example, according to the identification code rules, the normal identification code information is finally thought to be the check digit. By performing check digit calculation on the identification code information, if the result does not match the correct check digit data, then these erroneous identification code information can be removed.

[0186] The character check calculation result of the identification code information meets the preset character check calculation result. For example, according to the identification code rule, each character of the normal identification code information meets a certain character check calculation rule, so the identification code information that does not meet the character check calculation result can be removed.

[0187] In one embodiment of the present application, instead of performing a quantitative processing on the plurality of identification code information, all the identification code information may be deduplicated, and the M deduplicated identification code information may be used as the candidate identification code information. If the number of deduplicated identification code information is less than N, all the deduplicated identification code information may be used as candidate identification code information and matched with the work order system to determine the target identification code information.

[0188] On the other hand, another sample analysis system provided by the embodiment of the present application can be applied to Figures 1 to 2 The pipeline system structure shown can also be applied to Figure 3 The sample analyzer structure shown, Figures 1 to 2 The pipeline system structure and related embodiments shown, and Figure 3 The sample analyzer structure shown and its related embodiment contents can be directly added to the sample analysis system of the embodiment of the present application, and the structure of each module of the sample analysis system and the function of each module are not repeated here.

[0189] See also Figures 1 to 2 , or see Figure 3 As shown, an embodiment of the present application provides a sample analysis system, including an input module 100, a scheduling component, an image acquisition device, and one or more analysis modules 300, wherein:

[0190] The input module 100 is used to receive a sample container 10 carrying a sample. The sample container 10 is provided with a plurality of identification codes, wherein the identification code may be a barcode and / or a QR code affixed to the sample container.

[0191] The scheduling component is used to schedule the sample container to the identification station 20, wherein an image acquisition device is provided on at least one side of the identification station 20, and the image acquisition device is used to capture images of the sample container 10 having multiple identification codes at the identification station 20 to obtain multiple images containing the identification codes.

[0192] A controller is configured to acquire the plurality of images acquired by the image acquisition device and perform image segmentation processing on the plurality of images to obtain a plurality of sub-images, wherein each sub-image contains at least a portion of the identification code; the controller performs screening processing on the sub-images and acquires candidate identification code information corresponding to at least one sub-image that meets the screening conditions, determines target identification code information from each of the candidate identification code information, determines corresponding detection item information based on the target identification code information, and controls one or more analysis modules to perform detection on the sample based on the detection item information.

[0193] The sample analysis system provided in the embodiment of the present application dispatches the sample container to the identification station through the dispatching component, and then the image acquisition device arranged on at least one side of the identification station performs image acquisition on the sample container with multiple identification codes to obtain multiple images containing the identification codes. The controller obtains the multiple images acquired by the image acquisition device and performs image segmentation processing on the multiple images to obtain multiple sub-images, each of which corresponds to one identification code. The controller screens each of the sub-images and obtains candidate identification code information corresponding to at least one of the sub-images that meets the screening conditions. Since each of the sub-images is screened before the candidate identification code information is determined in the embodiment of the present application, The sub-images are screened and processed, and the identification code information corresponding to the sub-images that do not meet the screening conditions will not be used as candidate identification code information, thereby improving the accuracy of the candidate identification code information. The controller determines the target identification code information from each of the candidate identification code information, and determines the corresponding detection item information based on the target identification code information, and controls one or more of the analysis modules to detect the sample based on the detection item information. It can be seen that due to the screening of the sub-images, the accuracy of the candidate identification code information and the success rate of determining the target identification code information are improved, and the sample analysis system can more quickly determine the detection items that need to be performed on the current sample, thereby improving the detection efficiency of the sample analysis system.

[0194] In one embodiment of the present application, the controller determines the target identification code information from each of the candidate identification code information, including: the controller matches each of the candidate identification code information with the system identification code information in the work order system, and determines the candidate identification code information that matches the system identification code information as the target identification code information. In this embodiment, the controller 600 matches a plurality of the candidate identification code information with the system identification code information in the work order system, determines the candidate identification code information that matches the system identification code information as the target identification code information, determines the corresponding detection item information based on the target identification code information, and controls one or more of the analysis modules to detect the sample based on the detection item information. Since the target identification code information is determined based on matching with the work order system, the accuracy of the corresponding detection item information can be ensured.

[0195] In one embodiment of the present application, the sample analysis system further comprises a rotating assembly, the rotating assembly being configured to rotate the sample container on the identification station, and the image acquisition device being configured to periodically acquire images as the sample container rotates, thereby obtaining a plurality of images. In one embodiment, a sample holder for holding the sample container is provided on the identification station, wherein the sample holder is capable of clamping and securing the sample container. The rotating assembly rotates the sample holder, thereby rotating the sample container via the sample holder. In another embodiment, the sample container can rotate relative to the sample holder, such that the rotating assembly can directly act on the sample container, causing the container to rotate within the sample holder. In another embodiment, a sample holder may not be provided, and the rotating assembly may directly rotate the sample container in the identification station. For example, the rotating assembly may comprise a rotating mechanism and a claw disposed on the rotating mechanism. After the claw grabs the sample container from the input module to the identification station, the rotating mechanism drives the claw to rotate, and the claw simultaneously drives the sample container to rotate.

[0196] In one embodiment, the rotating assembly can drive the sample container on the identification station to rotate continuously, and the controller performs periodic image acquisition through the image acquisition device. Since the sample container rotates continuously, the control method is simple and the acquisition speed is fast.

[0197] In another embodiment, the rotating assembly is used to drive the sample container on the identification station to rotate periodically, and the step length of each rotation of the sample container is the same. The step length of the sample container can also be reflected in the rotation angle of the sample container, that is, each time the sample container rotates a certain step length / angle, it will stop and wait for a preset time before continuing to select the next step length / angle. Preferably, the rotating assembly stops after each rotation of the sample container to allow the image acquisition device to perform image acquisition. After the image acquisition device captures an image of the sample container in a stationary state, the rotating assembly continues to drive the sample container to rotate again for the next step length / angle. In this way, the sample container is in a stationary state each time the image acquisition device performs image acquisition, and the image acquisition device can capture a clearer image (for example, when the image acquisition device is stationary relative to the sample container, it is easier to focus to obtain a clearer image).

[0198] See also Figure 4 and Figure 5 The figure is a schematic diagram of the position structure of the rotating component of an embodiment of the present application, wherein Figure 5 yes Figure 4 In the enlarged view at point A in the center, the identification station 20 is positioned on the transport path of the transport track 400. A sample holder 30 is positioned on the transport track 400, and a sample container 10 is loaded into the sample holder 30. The transport track 400 drives the sample holder 30 and the sample container 10 therein to move to the identification station 20. The image acquisition device includes a camera component 810 positioned on one side of the identification station 20, capable of capturing images of one side of the sample container 10. A rotating assembly can rotate the sample container 10 relative to the camera component 810, enabling the camera component 810 to capture multiple images of the sample container 10 circumferentially. These images provide 360-degree coverage of the sample container 10 circumferentially, enabling the capture of individual identification codes at any location on the sample container 10.

[0199] In one embodiment of the present application, see Figure 4 、 Figure 5 As shown, the rotating assembly includes a driving wheel 203, a driven wheel 204 and an auxiliary wheel 206. The output shaft of the motor 202 is directly connected to the driving wheel 203, and the driving wheel 203 transmits the rotation to the driven wheel 204 through the belt 205. The driven wheel 204 and the auxiliary wheel 206 are respectively arranged on both sides of the transmission track 400 and attached to the circumference of the sample holder 30. The driving wheel 203 can eventually drive the sample holder 30 to rotate smoothly. It can be understood that the motor 202 can be selected as a stepper motor. The motor 202 is electrically connected to the controller so as to control the parameters such as the rotation direction and rotation speed of the sample holder 30 according to actual needs. In one embodiment of the present application, it is also possible to Figure 4 、 Figure 5On the basis of the sample analysis system shown, a plurality of shooting components 810 are provided to capture images of the sample container 10 , thereby improving the efficiency of image capture.

[0200] In one embodiment of the present application, a light source 40 for illumination may be further provided at the recognition station 20 to improve the image acquisition effect.

[0201] In one embodiment of the present application, in addition to being able to drive the sample container to rotate relative to the image acquisition device at the identification station by the rotating component, the sample container can also be allowed to remain stationary at the identification station, and the rotating component can drive the image acquisition device to rotate around the sample container on the identification station and perform periodic image acquisition to obtain multiple images.

[0202] In another embodiment, the rotating assembly may not be provided, and multiple camera components may be provided around the periphery of the identification station. The combined imaging range of the camera components covers the entire periphery of the sample container, that is, the imaging range of each camera component can cover the entire periphery of the sample container 360 degrees, wherein the imaging ranges of the various camera components are spliced ​​together or partially overlap. The multiple camera components capture images of the sample container on the identification station from different directions to obtain multiple images.

[0203] In one embodiment of the present application, the controller performs segmentation processing on the multiple images captured by the image capture device and obtains multiple sub-images, wherein the controller performs image segmentation processing on the input image, identifies the area of ​​each identification code displayed in the image and performs image segmentation to obtain multiple sub-images. Each sub-image contains at least part of the identification code, for example, Figure 6 As shown, after the image 60 is segmented, a first sub-image 601 and a second sub-image 602 are obtained, wherein the first sub-image 601 displays a complete identification code, and the second sub-image 602 displays only a part of the identification code due to occlusion. Since in some cases, the identification code can still be recognized even if it is occluded, image recognition processing can be performed on each sub-image to obtain multiple identification code information.

[0204] Among them, the controller can adopt different ways to perform segmentation processing on the acquired image, such as edge recognition, image binarization recognition processing or processing through machine learning methods. In one embodiment of the present application, in view of the fact that the identification code is usually rectangular, the controller determines a rectangular selection box according to the shape of the identification code in the image during the image segmentation processing of each of the images, and segments the sub-image in the image according to the rectangular selection box. Preferably, the controller identifies at least two edges of the identification code in the image, determines the size and position of the rectangular selection box according to at least two edges, and segments the sub-image in the image according to the rectangular selection box. Since the rectangular selection box is selected to adapt to the edge of the identification code in the image according to the shape characteristics of the identification code for image segmentation, even if the identification code is partially blocked, the original identification code area can still be well segmented.

[0205] In one embodiment of the present application, each sub-image can be sent to a standard decoding library for decoding to obtain identification code information. For example, if an image contains one sub-image, then the image can be recognized as one identification code. If an image contains two sub-images, then the image can be recognized as two identification codes in total.

[0206] In one embodiment of the present application, a controller performs image recognition processing on multiple sub-images to obtain multiple identification code information, and then performs screening processing on each sub-image to determine that the identification code information corresponding to the sub-image that meets the screening criteria is selected as the candidate identification code information. Among them, the morphological characteristics of the identification code can be used to determine whether the sub-image meets the screening criteria. For example, if the identification code is a rectangle, if the sub-image after image segmentation processing is not a rectangle, the identification code in the sub-image may be incomplete (for example, it is blocked by another identification code). In this case, the identification code corresponding to the sub-image can be eliminated, or the identification code information recognition processing of the sub-image is not performed. In other words, the identification code corresponding to the sub-image that does not meet the screening criteria will not be considered in the subsequent process.

[0207] In one embodiment of the present application, the controller first screens each sub-image, obtains at least one piece of identification code information based on the sub-images that meet the screening criteria, and then determines at least one candidate identification code information from the at least one piece of identification code information. In this embodiment of the present application, since sub-images that meet the requirements are screened based on the screening criteria before identifying the identification code information, and image recognition processing is then performed only on the sub-images that meet the requirements, the number of sub-images that require image recognition processing is reduced, thereby conserving the controller's recognition resources and improving the overall efficiency of identifying the identification code information.

[0208] In another embodiment of the present application, the controller first performs image recognition processing on multiple sub-images to obtain identification code information from each identified sub-image, and then performs screening processing on each sub-image to determine, from the multiple identification code information, the identification code information corresponding to the sub-image that meets the screening conditions as candidate identification code information. Since in the previous embodiment, the controller must first complete the sub-image screening condition determination and then perform image recognition processing to obtain the identification code information corresponding to the sub-image, if the controller performance is sufficient, or if two controllers are used to assist in the processing, the sub-image screening condition determination and the sub-image identification code information recognition processing can be performed simultaneously, which can save overall recognition processing time.

[0209] In one embodiment of the present application, the screening conditions for performing the screening process on the sub-images include at least one of the following:

[0210] The area of ​​the identification code contained in the sub-image that is blocked meets a first preset threshold range;

[0211] The unobstructed area of ​​the identification code contained in the sub-image meets a second preset threshold range;

[0212] The shape of the identification code included in the sub-image conforms to a preset shape.

[0213] The area of ​​the obscured identification code can be compared with a first preset threshold range, wherein the area ratio can be used for comparison with the first preset threshold range. For example, if the obscured area of ​​the sub-image is smaller than a preset ratio or size, such as if the obscured area of ​​the sub-image is small, accurate identification code information can still be obtained for the identification code. However, if the obscured area is too large, such as larger than a preset ratio or size, the identification code corresponding to the sub-image can be considered to be in a lower layer, and thus the sub-image or the identification code information corresponding to the sub-image can be screened out. Alternatively, the absolute value of the area of ​​the sub-image can be compared with the first preset threshold range.

[0214] Similarly, the proportion or size of the unobstructed area of ​​the sub-image can also be selected as a screening condition to determine whether the unobstructed area of ​​the identification code in the sub-image meets the second preset threshold range. For example, if the ratio of the unobstructed area of ​​the sub-image (i.e., the identification code information displayed in the sub-image) to the area of ​​the circumscribed rectangle of the identification code information is less than 0.8, the current sub-image or the identification code information corresponding to the sub-image is screened out.

[0215] Alternatively, whether the shape of the sub-image meets the preset shape condition is used to determine whether it meets the screening condition. For example, if the shape of the identification code in the sub-image is not a rectangle, it can be considered that the identification code in the sub-image is blocked and is at the bottom layer. Therefore, the current sub-image or the identification code information corresponding to the sub-image can be filtered out, and at least one candidate identification code information can be determined from the remaining identification code information.

[0216] See also Figure 9 In the diagram of image segmentation and sub-image screening condition determination shown in FIG, a controller obtains the image currently being processed, captured by the image capture device, determines the position of each sub-image, determines the range of the identification code in each sub-image (for example, each sub-image may be masked), and determines the range of the circumscribed rectangle of the identification code in each sub-image. For example, in the first sub-image 601, the ratio of the area of ​​the identification code to the area of ​​the circumscribed rectangle of the identification code is less than 0.8, so the first sub-image 601 is screened out. However, in the second sub-image 602, the ratio of the area of ​​the identification code to the area of ​​the circumscribed rectangle is close to 1, so the identification code information corresponding to the second sub-image 602 is further processed along with the other selected identification code information to select at least one candidate identification code information.

[0217] In one embodiment of the present application, the controller determines at least one candidate identification code information from at least one of the identification code information. In one embodiment, the controller performs statistical processing on the identification code information to obtain the frequency of occurrence of each identification code information, and determines the identification code information with the highest frequency of occurrence as the candidate identification code information. In this embodiment, because the controller performs screening processing on each sub-image, even if two mutually obstructing identification codes exist on the sample container, the above screening process can determine the sub-image and identification code information corresponding to the identification code at the upper layer. Due to the different images, there may be certain recognition errors in each image, but the identification code information with the highest overall number should be the identification code at the top layer. Therefore, it is only necessary to perform statistical processing on the different identification codes to determine that the identification code with the most comments has a high probability of being the target identification code, and thus the identification code with the highest number of comments is selected as the candidate identification code.

[0218] In another embodiment of the present application, the identification code information may be statistically processed to obtain the frequency of occurrence of each of the remaining identification code information, and the top M identification code information with the highest frequency of occurrence may be determined as the candidate identification code information, where M ≥ 2. Alternatively, in another embodiment, multiple identification codes may be controlled to undergo deduplication processing, and the deduplicated identification code information may be obtained as the candidate identification code information.

[0219] In one embodiment of the present application, if the number of identification code information obtained after statistical processing is less than N, it is impossible to determine M candidate identification code information greater than or equal to N from the N identification code information. This may be because one of the identification codes is obscured more and this situation occurs. In this regard, in one embodiment of the present application, if the occurrence frequency of a certain identification code information is 1 after the controller performs statistical processing, the identification code information is regarded as 1 identification code set. When the occurrence frequency of a certain identification code information is greater than 1, all the identification code information as a whole are regarded as 1 identification code set, and the number of the identification code sets is calculated; when the number is less than N, the identification code information corresponding to each identification code set is used as the candidate identification code information; when the number is greater than N, the top M identification code information with the highest occurrence frequency is determined as the candidate identification code information.

[0220] Before performing statistical processing on the identification code information, the controller may also perform verification processing on each of the identification code information, remove the identification code information that does not meet the verification requirements, and perform statistical processing on the remaining identification code information to obtain the occurrence frequency of each of the remaining identification code information, and determine the top M identification code information with the highest occurrence frequency as the candidate identification code information. This can effectively improve statistical efficiency and prevent erroneous high-frequency identification code information from being used as candidate identification code information and affecting the matching accuracy (especially, it can prevent erroneous high-frequency identification code information from occupying the seat of the originally correct identification code information).

[0221] In one embodiment, the verification requirements may include at least one of the following:

[0222] The number of characters in the identification code information meets the preset number of characters;

[0223] The character format of the identification code information complies with the preset character format;

[0224] The check digit calculation result of the identification code information satisfies the preset check digit calculation result;

[0225] The character check calculation result of the identification code information meets the preset character check calculation result.

[0226] On the other hand, the embodiment of the present application provides a method for obtaining identification code information, which can be applied to Figures 1 to 2 The pipeline system shown can also be applied to Figure 3 Sample analyzer shown. Figures 1 to 2 The controller in the pipeline system shown in the figure obtains the identification code information in the embodiment, and Figure 3The sample analyzer shown in the related embodiments for obtaining identification code information can be directly added to the sample analysis system of the embodiment of the present application, and the module structure and function of each module of the sample analysis system will not be repeated here.

[0227] See also Figure 10 As shown, the identification code information acquisition method of the embodiment of the present application includes the following steps 1010 to 1040:

[0228] Step 1010: Acquire multiple collection features including identification codes of a sample container through an identification code acquisition device, wherein N identification codes are set on the sample container, where N is an integer greater than or equal to 2.

[0229] In this step, the controller obtains multiple acquisition features containing identification codes of the sample container through the identification code acquisition device, wherein the identification code acquisition device can be an image acquisition device or a code scanning sensor. The acquisition features obtained by the image acquisition device through image acquisition of the sample container are images, and the acquisition features obtained by the code scanning sensor through scanning and acquiring the sample container are code scanning results.

[0230] Step 1020: Obtain multiple identification code information based on the multiple collected features.

[0231] In this step, the controller obtains multiple identification code information based on the acquired features. In one embodiment, the acquired features are images containing identification codes captured by an image acquisition device. The controller performs image recognition processing on the multiple images and obtains multiple identification code information based on the multiple images. In another embodiment, the acquired features are scan results obtained by a code scanning sensor. The controller obtains multiple identification code information based on the multiple scan results.

[0232] Step 1030: Determine M pieces of identification code information from the plurality of identification code information as candidate identification code information, where M is an integer and M≥N.

[0233] Step 1040 : By matching the M candidate identification code information with the system identification code information in the work order system, the candidate identification code information matching the system identification code information is determined as the target identification code information.

[0234] An embodiment of the present application provides a method for obtaining identification code information, which obtains multiple collection features containing identification codes of a sample container with N identification codes through an identification code collection device, obtains multiple identification code information based on the multiple collection features, and determines M identification code information from the multiple identification code information as candidate identification code information, and determines the candidate identification code information that matches the system identification code information as the target identification code information by matching the M candidate identification code information with the system identification code information in the work order system. Since the number of candidate identification codes for matching with the work order system is multiple and greater than or equal to the number of identification codes on the sample container, the success rate of identification code information recognition in the embodiment of the present application is greatly improved compared with using a single candidate identification code to match with the work order system.

[0235] The specific implementation of steps 1010 to 1040 is as follows: Figures 1 to 3 The processing steps of the controller in the sample analysis system shown are not repeated here.

[0236] In one embodiment of the present application, the identification code acquisition device is provided on at least one side of the identification station, and step 1010 specifically includes the following steps:

[0237] Step 1011: Control the scheduling component to schedule the sample container to the identification station.

[0238] In one embodiment of this step, the identification station 20 can be set as follows Figure 2 On the transport path of the transport track 400 shown, the scheduling component includes the transport track 400 and a manipulator 510. The controller controls the manipulator 510 to grab the sample container 10 in the input module 100 and place it in the sample holder of the transport track 400. The transport track 400 then drives the sample holder and its sample container 10 to move to the identification station 20. In another embodiment, the scheduling device may also include only the transport track 400, and the transport track 400 directly drives the sample holder and its sample container 10 to move to the identification station 20. In another embodiment, the identification station may also be independently provided instead of being provided on the transport track 400. The scheduling component directly grabs the sample container 10 in the input module 100 to the identification station. For example, the manipulator 510 or other claw structures may be used to grab the sample container 10 in the input module 100 to the identification station.

[0239] Step 1012: Control the rotating assembly to rotate the sample container on the identification station, and use the identification code acquisition device to periodically acquire data when the sample container rotates, to obtain a plurality of acquisition features including the identification code.

[0240] In one embodiment of this step, after the scheduling component schedules the sample container to the identification station, the controller controls the rotating component to drive the sample container on the identification station to rotate, and uses the image acquisition device to perform periodic image acquisition when the sample container rotates to obtain multiple images.

[0241] In one embodiment, a sample holder for holding a sample container is provided on the identification station, wherein the sample holder is capable of clamping and fixing the sample container. The rotating assembly drives the sample holder to rotate, thereby driving the sample container to rotate via the sample holder. In another embodiment, the sample container can rotate relative to the sample holder, so that the rotating assembly can directly act on the sample container to rotate the container within the sample holder. In another embodiment, a sample holder may not be provided, and the rotating assembly can directly drive the sample container in the identification station to rotate. For example, the rotating assembly includes a rotating mechanism and a claw disposed on the rotating mechanism. After the claw grabs the sample container from the input module to the identification station, the rotating mechanism drives the claw to rotate, and the claw simultaneously drives the sample container to rotate.

[0242] In one embodiment, the rotating assembly can drive the sample container on the identification station to rotate continuously, and the controller performs periodic image acquisition through the image acquisition device. Since the sample container rotates continuously, the control method is simple and the acquisition speed is fast.

[0243] In another embodiment, the rotating assembly is used to drive the sample container on the identification station to rotate periodically, and the step length of each rotation of the sample container is the same. The step length of the sample container can also be reflected in the rotation angle of the sample container, that is, each time the sample container rotates a certain step length / angle, it will stop and wait for a preset time before continuing to select the next step length / angle. Preferably, the rotating assembly stops after each rotation of the sample container to allow the image acquisition device to perform image acquisition. After the image acquisition device captures an image of the sample container in a stationary state, the rotating assembly continues to drive the sample container to rotate again for the next step length / angle. In this way, the sample container is in a stationary state each time the image acquisition device performs image acquisition, and the image acquisition device can capture a clearer image (for example, when the image acquisition device is stationary relative to the sample container, it is easier to focus to obtain a clearer image).

[0244] The specific structure of the rotating assembly in the above embodiment is shown in FIG. Figure 4 and Figure 5 The structural diagram of the rotating assembly and the description of the related embodiments shown can directly add part of the description of the related embodiments of the rotating assembly to the embodiments of the present application, and will not be repeated here.

[0245] In one embodiment of the present application, in addition to being able to drive the sample container to rotate relative to the image acquisition device at the identification station by the rotating component, the sample container can also be allowed to remain stationary at the identification station, and the rotating component can drive the image acquisition device to rotate around the sample container on the identification station and perform periodic image acquisition to obtain multiple images.

[0246] In another embodiment, the rotating assembly may not be provided, and multiple camera components may be provided around the periphery of the identification station. The combined imaging range of the camera components covers the entire periphery of the sample container, that is, the imaging range of each camera component can cover the entire periphery of the sample container 360 degrees, wherein the imaging ranges of the various camera components are spliced ​​together or partially overlap. The multiple camera components capture images of the sample container on the identification station from different directions to obtain multiple images.

[0247] In one embodiment of the present application, the step 1020 of obtaining multiple identification code information based on multiple images includes the following steps:

[0248] Step 1021 : performing image segmentation processing on the plurality of images to obtain a plurality of sub-images, wherein each of the sub-images at least contains a portion of the identification code.

[0249] In one embodiment of this step, the controller can segment the acquired image in different ways, such as edge recognition, image binarization recognition, or machine learning methods, or in the process of image segmentation for each image, determine a rectangular selection box according to the shape of the identification code in the image, and segment the sub-image in the image according to the rectangular selection box, for example, first identify at least two edges of the identification code in the image, and determine the size and position of the rectangular selection box according to at least two edges, and segment the sub-image in the image according to the rectangular selection box. In one embodiment of this step, reference can be made to Figure 6 The related implementation method of image segmentation shown in FIG. Figure 6 The related implementation methods of image segmentation processing shown are directly added to the embodiment of this step and will not be repeated here.

[0250] Step 1022: Perform image recognition processing on each of the plurality of sub-images to obtain the plurality of identification code information.

[0251] In this step, the controller may send each sub-image to a standard decoding library for decoding, for example, a Zbar decoding library or a ZXing decoding library may be used for decoding and recognition to obtain identification code information.

[0252] In one embodiment of the present application, the above step 1030 specifically includes the following steps 1031 or 1032:

[0253] Step 1031 : Perform statistical processing on the identification code information to obtain the occurrence frequency of each identification code information, and determine the top M identification code information with the highest occurrence frequency as the candidate identification code information.

[0254] In this step, the controller performs statistical processing on the identification code information, obtains the occurrence frequency of each of the remaining identification code information, and determines the top M identification code information with the highest occurrence frequency as the candidate identification code information, where M≥N. It can be seen that in the embodiment of the present application, the top M identification code information with the highest frequency is selected as the candidate identification code information. Since the identification code with the highest frequency usually has a lower accuracy rate in the image recognition link, the embodiment of the present application does not directly use the identification code information with the highest frequency for matching, but selects the top M identification code information with the highest frequency as the candidate identification code information, and then uses these candidate identification code information to match with the work order system. Compared with the re-collection of identification codes when the matching fails, the selection of the top M identification code information with the highest number as the candidate identification code information not only has a higher overall matching success rate, but can also effectively improve the recognition efficiency. In one embodiment of this step, reference can be made to Figure 7 The related implementation method of statistical processing of identification code information shown in FIG. Figure 7 The related implementation method of performing statistical processing on the identification code information is directly added to the embodiment of this step and will not be repeated here.

[0255] Step 1032: Deduplication processing is performed on the plurality of identification code information to obtain M pieces of deduplication identification code information as the candidate identification code information.

[0256] In this step, instead of performing a quantitative processing on the plurality of identification code information, all the identification code information may be deduplicated, and the M deduplicated identification code information may be used as the candidate identification code information. If the number of deduplicated identification code information is less than N, all the deduplicated identification code information may be used as candidate identification code information and matched with the work order system to determine the target identification code information.

[0257] In one embodiment of the present application, in the above step 1040, the controller selects the top M identification code information with the highest frequency as candidate identification code information, and then uses these candidate identification code information to match with the work order system. If the comparison matching fails and the identification code is collected again, the overall matching success rate of selecting the top M identification code information with the highest frequency as candidate identification code information is not only higher, but also can effectively improve the recognition efficiency. In one embodiment of this step, reference can be made to Figure 8The embodiment of matching the candidate identification code with the system identification code information in the work order system can be Figure 8 The relevant implementation methods of the work order system matching process shown are directly added to the embodiment of this step and will not be repeated here.

[0258] On the other hand, the embodiment of the present application provides a method for obtaining identification code information, which can be applied to Figures 1 to 2 The pipeline system shown can also be applied to Figure 3 Sample analyzer shown. Figures 1 to 2 The controller in the pipeline system shown in the figure obtains the identification code information in the embodiment, and Figure 3 The sample analyzer shown in the related embodiments for obtaining identification code information can be directly added to the sample analysis system of the embodiment of the present application, and the module structure and function of each module of the sample analysis system will not be repeated here.

[0259] See also Figure 11 As shown, the identification code information acquisition method of the embodiment of the present application includes the following steps 1110 to 1140:

[0260] Step 1110 : Acquire multiple images of the sample container through an image acquisition device, wherein multiple identification codes are set on the sample container.

[0261] In this step, the controller acquires multiple images of the sample container through an image acquisition device.

[0262] Step 1120 : performing image segmentation processing on the plurality of images to obtain a plurality of sub-images, wherein each of the sub-images at least contains a portion of the identification code.

[0263] In this step, how the controller specifically performs image segmentation processing on the image to obtain multiple sub-images can refer to the relevant embodiment description of the above step 1021, and the relevant embodiment description of the above step 1021 can be directly added to this embodiment and will not be repeated here.

[0264] Step 1130 : Screening the sub-images and obtaining candidate identification code information corresponding to at least one sub-image that meets the screening criteria.

[0265] In this step, the controller can use the morphological features of the identification code to determine whether the sub-image meets the screening conditions. For example, if the identification code is a rectangle and the sub-image after image segmentation is not a rectangle, the identification code in the sub-image may be incomplete (for example, it is blocked by another identification code). At this time, the identification code corresponding to the sub-image can be eliminated, or the identification code information of the sub-image may not be recognized. In other words, the identification code corresponding to the sub-image that does not meet the screening conditions will not be considered in subsequent processes.

[0266] Step 1140 , determining target identification code information from the candidate identification code information, determining corresponding detection item information according to the target identification code information, and controlling one or more analysis modules to detect the sample in the sample container according to the detection item information.

[0267] One embodiment of the present application provides a method for obtaining identification code information. An image acquisition device is used to capture images of a sample container having multiple identification codes, thereby obtaining multiple images containing the identification codes. The multiple images are then segmented to obtain multiple sub-images, each corresponding to an identification code. These sub-images are then screened, and candidate identification code information corresponding to at least one sub-image that meets the screening criteria is obtained. Target identification code information is then determined from each of the candidate identification code information. Because each sub-image is screened before candidate identification code information is determined in this embodiment of the application, identification code information corresponding to sub-images that do not meet the screening criteria is not considered as candidate identification code information, thereby improving the accuracy of the candidate identification code information and the success rate of determining the target identification code information.

[0268] The specific implementation of steps 1110 to 1140 is as follows: Figures 1 to 3 The processing steps of the controller in the sample analysis system shown are not repeated here.

[0269] In one embodiment of the present application, the above step 1110 includes the following steps:

[0270] Step 1111: Control the scheduling component to schedule the sample container to the identification station.

[0271] The specific implementation of this step can refer to the relevant description of the above step 1011, and the relevant embodiment description of the above step 1011 can be directly added to this embodiment and will not be repeated here.

[0272] Step 1112 : Control the rotating assembly to rotate the sample container on the identification station, and use the image acquisition device to periodically acquire images when the sample container rotates to obtain a plurality of images.

[0273] The specific implementation of this step can refer to the relevant description of the above step 1012, and the relevant embodiment description of the above step 1012 can be directly added to this embodiment and will not be repeated here.

[0274] In one embodiment of the present application, the above step 1130 includes the following steps 1131 or 1132:

[0275] Step 1131 , performing screening processing on each of the sub-images, obtaining at least one piece of identification code information based on the sub-images meeting the screening conditions, and determining at least one piece of candidate identification code information from the at least one piece of identification code information.

[0276] In this step, the controller first screens each sub-image, obtains at least one piece of identification code information based on the sub-images that meet the screening criteria, and then determines at least one candidate identification code information from the at least one piece of identification code information. In this embodiment of the present application, since sub-images that meet the requirements are first screened based on the screening criteria before identifying the identification code information, and image recognition processing is then performed only on the sub-images that meet the requirements, the number of sub-images that require image recognition processing is reduced, thereby conserving the controller's recognition resources and improving the overall identification code information recognition efficiency.

[0277] Step 1132: obtain a plurality of identification code information based on the plurality of sub-images, perform screening processing on each of the sub-images, and determine at least one candidate identification code information from at least one identification code information corresponding to the sub-image that meets the screening conditions.

[0278] In this step, the controller first performs image recognition processing on the multiple sub-images to obtain the identification code information obtained from each sub-image. It then performs screening processing on each sub-image, and then determines, from the multiple identification code information, the identification code information corresponding to the sub-image that meets the screening criteria as candidate identification code information. In the previous embodiment, the controller must first determine the sub-image screening criteria before performing image recognition processing to obtain the identification code information corresponding to the sub-image. However, if the controller performance is sufficient, or if two controllers are cooperating, the sub-image screening criteria determination and sub-image identification code information recognition processing can be performed simultaneously, thereby reducing the overall recognition processing time.

[0279] In the above steps 1130, 1131 or 1132, the screening conditions for screening the sub-images include at least one of the following:

[0280] The area of ​​the identification code contained in the sub-image that is blocked meets a first preset threshold range;

[0281] The unobstructed area of ​​the identification code contained in the sub-image meets a second preset threshold range;

[0282] The shape of the identification code included in the sub-image conforms to a preset shape.

[0283] In one embodiment of the present application, the above step 1130 specifically includes the following steps 1131 or 1131 or 1133;

[0284] Step 1131 : Perform statistical processing on the identification code information to obtain the occurrence frequency of each identification code information, and determine the identification code information with the highest occurrence frequency as the candidate identification code information.

[0285] In this step, the controller performs screening processing on each sub-image. Therefore, even if there are two mutually obstructing identification codes on the sample container, the sub-image corresponding to the identification code at the upper layer and its identification code information can be determined through the above screening process. Due to the different images, there may be certain recognition errors in each image, but the identification code information with the largest overall number should be the identification code at the top layer. Therefore, it is only necessary to count the number of different identification codes and determine that the identification code with the most comments has a high probability of being the target identification code. Therefore, the identification code with the largest number is used as the candidate identification code.

[0286] Step 1132: Perform statistical processing on the identification code information to obtain the occurrence frequency of each identification code information, and determine the top M identification code information with the highest occurrence frequency as the candidate identification code information, where M≥2.

[0287] In this step, the controller may perform statistical processing on the identification code information to obtain the occurrence frequency of each of the remaining identification code information, and determine the top M identification code information with the highest occurrence frequency as the candidate identification code information, where M is greater than or equal to 2. Alternatively, in another embodiment, the plurality of identification codes are controlled to perform deduplication processing, and the deduplicated identification code information is obtained as the candidate identification code information.

[0288] Step 1133: Deduplication processing is performed on the multiple identification codes to obtain the identification code information after deduplication as the candidate identification code information.

[0289] In one embodiment, before performing statistical processing on the identification code information, the controller may also perform verification processing on each piece of the identification code information, remove the identification code information that does not meet the verification requirements, and perform statistical processing on the remaining identification code information to obtain the occurrence frequency of each remaining piece of the identification code information, and determine the top M pieces of the identification code information with the highest occurrence frequency as the candidate identification code information. This can effectively improve statistical efficiency and prevent erroneous high-frequency identification code information from being used as candidate identification code information, thereby affecting the matching accuracy.

[0290] The above verification requirements may include at least one of the following:

[0291] The number of characters in the identification code information meets the preset number of characters;

[0292] The character format of the identification code information complies with the preset character format;

[0293] The check digit calculation result of the identification code information satisfies the preset check digit calculation result;

[0294] The character check calculation result of the identification code information meets the preset character check calculation result.

[0295] On the other hand, an embodiment of the present application further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, it implements the identification code information acquisition method described in any one of the above embodiments.

[0296] On the other hand, an embodiment of the present application further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is executed by a processor to implement the identification code information acquisition method described in any one of the above embodiments.

[0297] In another aspect, embodiments of the present application further provide a computer program product, comprising a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium and executes the computer program, causing the computer device to implement the identification code information acquisition method described in any one of the above embodiments.

[0298] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

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

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

[0301] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0302] It should also be understood that the various implementation methods provided in the embodiments of the present application can be combined arbitrarily to achieve different technical effects.

[0303] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the above implementation mode. Technical personnel familiar with the art can also make various equivalent modifications or substitutions under the shared conditions that do not violate the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.

Claims

1. A sample analysis system, characterized in that: include: An input module, configured to receive a sample container carrying a sample, wherein the sample container is provided with N identification codes, where N is 2 or 3; A scheduling component, configured to schedule the sample container to an identification station; an identification code collection device, disposed on at least one side of the identification station, for collecting identification code information of the sample containers having N identification codes at the identification station; One or more analysis modules, configured to detect the sample; A controller is configured to obtain a plurality of identification code information through the identification code acquisition device, and determine M pieces of identification code information from the plurality of identification code information as candidate identification code information, where M is an integer and M≥2, determine target identification code information that matches the system identification code information by matching the M pieces of candidate identification code information with the system identification code information in the work order system, determine corresponding detection item information based on the target identification code information, and control one or more analysis modules to perform detection on the sample based on the detection item information.

2. The sample analysis system according to claim 1, wherein: It also includes a rotating component, which is used to drive the sample container on the identification station to rotate, and the identification code collection device is used to periodically collect identification code information when the sample container rotates.

3. The sample analysis system according to claim 1, wherein: The identification code acquisition device is an image acquisition device, which is used to acquire images of the sample container to obtain multiple images containing the identification code; the controller obtains multiple identification code information through the identification code acquisition device, including: The controller acquires the multiple images captured by the image capture device, and obtains multiple identification code information according to the multiple images.

4. The sample analysis system according to claim 3, characterized in that: It also includes a rotating component, which is used to drive the sample container on the identification station to rotate, and the image acquisition device is used to perform periodic image acquisition when the sample container rotates to obtain a plurality of images.

5. The sample analysis system according to claim 4, characterized in that: The rotating assembly is used to drive the sample container on the identification station to rotate, including one of the following: The rotating assembly is used to drive the sample container on the identification station to continuously rotate; The rotating assembly is used to drive the sample container on the identification station to rotate periodically, and the step length of each rotation of the sample container is the same. Preferably, the rotating assembly stops after each rotation of the sample container to allow the image acquisition device to acquire an image. After the image acquisition device acquires an image of the sample container in a stationary state, the rotating assembly drives the sample container to rotate again.

6. The sample analysis system according to claim 3, characterized in that: The image acquisition device includes a plurality of shooting components distributed around the identification station, the shooting range of the plurality of shooting components covering the entire circumference of the sample container, and the plurality of shooting components respectively capture images of the sample container on the identification station from different directions to obtain a plurality of images; Alternatively, a rotating assembly is further included, and the rotating assembly is used to drive the image acquisition device to rotate around the sample container on the identification station and perform periodic image acquisition to obtain a plurality of images.

7. The sample analysis system according to claim 4, characterized in that: The scheduling component includes a transmission track connecting each module, the transmission track is used to transmit the sample holder carrying the sample container, the identification station is arranged on the transmission path of the transmission track, and the rotating component is used to drive the sample container on the identification station to rotate, including, the rotating component is used to drive the sample holder located on the identification station to rotate, so as to drive the sample container carried on the sample holder to rotate.

8. The sample analysis system according to any one of claims 3 to 7, characterized in that: The controller obtains a plurality of identification code information according to the plurality of images, including: The controller performs image segmentation processing on the plurality of images to obtain a plurality of sub-images, wherein each of the sub-images contains at least a portion of the identification code; The controller performs image recognition processing on the multiple sub-images respectively to obtain the multiple identification code information.

9. The sample analysis system according to claim 8, characterized in that: The controller performs image segmentation processing on the plurality of images to obtain a plurality of sub-images, including: The controller acquires a plurality of the images; The controller performs image segmentation processing on each of the images to obtain multiple sub-images, wherein, in the process of performing image segmentation processing on each of the images, a rectangular selection box is determined according to the identification code in the image, and the sub-images are segmented out in the image according to the rectangular selection box; preferably, the controller identifies at least two edges of the identification code in the image, determines the size and position of the rectangular selection box according to at least two edges, and segments the sub-images in the image according to the rectangular selection box.

10. The sample analysis system according to any one of claims 1 to 7, characterized in that: The controller determines M pieces of identification code information as candidate identification code information from the plurality of identification code information, including: The controller performs statistical processing on the identification code information to obtain the occurrence frequency of each identification code information, and determines the top M identification code information with the highest occurrence frequency as the candidate identification code information.

11. The sample analysis system according to claim 1-7, characterized in that: Performing statistical processing on the identification code information by the controller to obtain the occurrence frequency of each identification code information; When the frequency of occurrence of a certain identification code information is 1, the identification code information is regarded as 1 identification code set; when the frequency of occurrence of a certain identification code information is greater than 1, all the identification code information as a whole are regarded as 1 identification code set, and the number of the identification code sets is calculated: when the number is less than N, the identification code information corresponding to each identification code set is used as the candidate identification code information; when the number is greater than N, the top M identification code information with the highest frequency of occurrence is determined as the candidate identification code information.

12. The sample analysis system according to claim 10, wherein: The controller performs statistical processing on the identification code information to obtain the occurrence frequency of each identification code information, and determines the top M identification code information with the highest occurrence frequency as the candidate identification code information, including: The controller verifies each piece of identification code information, removes the identification code information that does not meet the verification requirements, and performs statistical processing on the remaining identification code information to obtain the occurrence frequency of each piece of remaining identification code information, and determines the top M pieces of identification code information with the highest occurrence frequency as the candidate identification code information; preferably, the verification requirements include at least one of the following: The number of characters in the identification code information meets the preset number of characters; The character format of the identification code information complies with the preset character format; The check digit calculation result of the identification code information satisfies the preset check digit calculation result; The character check calculation result of the identification code information meets the preset character check calculation result.

13. The sample analysis system according to any one of claims 1 to 7, characterized in that: The controller determines M pieces of identification code information from the plurality of identification code information as candidate identification code information, including: The controller performs deduplication processing on the plurality of identification code information to obtain M deduplicated identification code information as the candidate identification code information.

14. The sample analysis system according to any one of claims 1 to 7, characterized in that: The identification code is a barcode and / or a QR code pasted on the sample container.

15. A sample analysis system, characterized in that: include: An input module, configured to receive a sample container carrying a sample, wherein the sample container is provided with a plurality of identification codes; A scheduling component, configured to schedule the sample container to an identification station; An image acquisition device, disposed on at least one side of the identification station, for acquiring images of the sample containers having the plurality of identification codes at the identification station to obtain a plurality of images containing the identification codes; One or more analysis modules, configured to detect the sample; a controller, configured to acquire the plurality of images captured by the image capture device, and perform image segmentation processing on the plurality of images to obtain a plurality of sub-images, wherein each of the sub-images contains at least a portion of the identification code; The controller performs screening processing on the sub-images, obtains candidate identification code information corresponding to at least one of the sub-images that meets the screening conditions, determines target identification code information from the candidate identification code information, determines corresponding detection item information based on the target identification code information, and controls one or more analysis modules to detect the sample based on the detection item information.

16. The sample analysis system according to claim 15, characterized in that: The controller determines target identification code information from the candidate identification code information, including: The controller matches each candidate identification code information with the system identification code information in the work order system, and determines the candidate identification code information that matches the system identification code information as the target identification code information.

17. The sample analysis system according to claim 15, characterized in that: The controller performs screening processing on the sub-images and obtains candidate identification code information corresponding to at least one of the sub-images that meets the screening conditions, including one of the following: The controller performs screening processing on the sub-images, obtains at least one piece of identification code information according to the sub-images that meet the screening conditions, and determines at least one piece of candidate identification code information from the at least one piece of identification code information; Alternatively, the controller obtains a plurality of identification code information based on the plurality of sub-images, performs screening processing on each of the sub-images, and determines at least one candidate identification code information from at least one identification code information corresponding to the sub-image that meets the screening conditions.

18. The sample analysis system according to any one of claims 15 to 17, characterized in that: The screening conditions include at least one of the following: The area of ​​the identification code contained in the sub-image that is blocked meets a first preset threshold range; The unobstructed area of ​​the identification code contained in the sub-image meets a second preset threshold range; The shape of the identification code included in the sub-image conforms to a preset shape.

19. The sample analysis system according to claim 17, wherein: The controller determines at least one candidate identification code information from at least one identification code information, including one of the following: The controller performs statistical processing on the identification code information to obtain the occurrence frequency of each identification code information, and determines the identification code information with the highest occurrence frequency as the candidate identification code information; Alternatively, the controller performs statistical processing on the identification code information to obtain the occurrence frequency of each identification code information, and determines the top M identification code information with the highest occurrence frequency as the candidate identification code information, where M≥2; Alternatively, the controller performs deduplication processing on the multiple identification codes to obtain the deduplicated identification code information as the candidate identification code information.

20. The sample analysis system according to any one of claims 15 to 17, characterized in that: It also includes a rotating component, which is used to drive the sample container on the identification station to rotate, and the image acquisition device is used to perform periodic image acquisition when the sample container rotates to obtain a plurality of images.

21. The sample analysis system according to claim 20, wherein: The rotating assembly is used to drive the sample container on the identification station to rotate, including one of the following: The rotating assembly is used to drive the sample container on the identification station to continuously rotate; Alternatively, the rotating component is used to drive the sample container on the identification station to rotate periodically, and the step length of each rotation of the sample container is the same. Preferably, the rotating component stops after each rotation of the sample container to allow the image acquisition device to acquire an image. After the image acquisition device acquires an image of the sample container in a stationary state, the rotating component drives the sample container to rotate again.

22. The sample analysis system according to any one of claims 15 to 17, characterized in that: The controller performs image segmentation processing on the plurality of images to obtain a plurality of sub-images, including: The controller acquires a plurality of the images; The controller performs image segmentation processing on each of the images to obtain multiple sub-images, wherein, in the process of performing image segmentation processing on each of the images, a rectangular selection box is determined according to the identification code in the image, and the sub-images are segmented out in the image according to the rectangular selection box; preferably, the controller identifies at least two edges of the identification code in the image, determines the size and position of the rectangular selection box according to at least two edges, and segments the sub-images in the image according to the rectangular selection box.

23. The sample analysis system according to any one of claims 15 to 17, characterized in that: The identification code is a barcode and / or a QR code pasted on the sample container.

24. A sample analysis system, characterized in that: include: An input module is configured to receive a sample container carrying a sample, wherein the sample container is provided with N identification codes, where N is an integer greater than or equal to 2, and at least one of the identification codes on the sample container is partially or completely covered by another identification code; A scheduling component, configured to schedule the sample container to an identification station; an identification code collection device, disposed on at least one side of the identification station, for collecting identification code information of the sample containers having N identification codes at the identification station; One or more analysis modules, configured to detect the sample; A controller is configured to obtain a plurality of identification code information through the identification code acquisition device, and determine M pieces of identification code information from the plurality of identification code information as candidate identification code information, where M is an integer and M ≥ N, determine target identification code information that matches the system identification code information by matching the M pieces of candidate identification code information with the system identification code information in the work order system, determine corresponding detection item information based on the target identification code information, and control one or more analysis modules to perform detection on the sample based on the detection item information.

25. The sample analysis system according to claim 24, characterized in that: It also includes a rotating component, which is used to drive the sample container on the identification station to rotate, and the identification code collection device is used to periodically collect identification code information when the sample container rotates.

26. The sample analysis system according to claim 24, wherein: The identification code acquisition device is an image acquisition device, which is used to acquire images of the sample container to obtain multiple images containing the identification code; the controller obtains multiple identification code information through the identification code acquisition device, including: The controller acquires the multiple images captured by the image capture device, and obtains multiple identification code information according to the multiple images.

27. A sample analysis system according to claim 26, characterized in that: It also includes a rotating component, which is used to drive the sample container on the identification station to rotate, and the image acquisition device is used to perform periodic image acquisition when the sample container rotates to obtain a plurality of images.

28. The sample analysis system according to any one of claims 26 to 27, characterized in that: The controller obtains a plurality of identification code information according to the plurality of images, including: The controller performs image segmentation processing on the plurality of images to obtain a plurality of sub-images, wherein each of the sub-images contains at least a portion of the identification code; The controller performs image recognition processing on the multiple sub-images respectively to obtain the multiple identification code information.

29. The sample analysis system according to any one of claims 26 to 27, characterized in that: The controller determines M pieces of identification code information from the plurality of identification code information as candidate identification code information, including: The controller performs statistical processing on the identification code information to obtain the occurrence frequency of each identification code information, and determines the top M identification code information with the highest occurrence frequency as the candidate identification code information.

30. A method for obtaining identification code information, characterized in that: include: Acquiring a plurality of collection features including identification codes of a sample container by an identification code acquisition device, wherein N identification codes are provided on the sample container, where N is an integer greater than or equal to 2; Obtaining multiple identification code information according to the multiple collected features; Determining M pieces of identification code information from the plurality of identification code information as candidate identification code information, where M is an integer and M≥N; By matching the M candidate identification code information with the system identification code information in the work order system, the candidate identification code information matching the system identification code information is determined as the target identification code information.

31. The method for obtaining identification code information according to claim 30, wherein: The identification code acquisition device is provided on at least one side of the identification station; the acquisition of multiple acquisition features containing identification codes of the sample container by the identification code acquisition device includes: Controlling the scheduling component to schedule the sample container to the identification station; The rotating assembly is controlled to drive the sample container on the identification station to rotate, and the identification code acquisition device performs periodic acquisition when the sample container rotates to obtain a plurality of acquisition features containing the identification code.

32. The identification code information acquisition method according to any one of claims 30 to 31, characterized in that: The identification code acquisition device includes an image acquisition device, the acquisition feature includes an image acquired by the image acquisition device; obtaining a plurality of identification code information based on a plurality of the acquisition features, and determining M pieces of identification code information from the plurality of identification code information as candidate identification code information, comprises: A plurality of identification code information is obtained according to the plurality of images, and M pieces of identification code information are determined from the plurality of identification code information as candidate identification code information.

33. The identification code information acquisition method according to claim 32, characterized in that: The obtaining of a plurality of identification code information according to the plurality of images includes: Performing image segmentation processing on the plurality of images to obtain a plurality of sub-images, wherein each of the sub-images contains at least a portion of the identification code; Image recognition processing is performed on each of the plurality of sub-images to obtain the plurality of identification code information.

34. The information acquisition method according to any one of claims 30 to 31, characterized in that: The determining M pieces of identification code information as candidate identification code information from the plurality of identification code information includes one of the following: Performing statistical processing on the identification code information to obtain the occurrence frequency of each identification code information, and determining the top M identification code information with the highest occurrence frequency as the candidate identification code information; Alternatively, deduplication processing is performed on the plurality of identification code information to obtain M deduplicated identification code information as the candidate identification code information.

35. A method for obtaining identification code information, characterized in that: include: Acquiring a plurality of images of a sample container by an image acquisition device, wherein a plurality of identification codes are set on the sample container; Performing image segmentation processing on the plurality of images to obtain a plurality of sub-images, wherein each of the sub-images contains at least a portion of the identification code; Performing screening processing on the sub-images, and obtaining candidate identification code information corresponding to at least one sub-image that meets the screening conditions; Target identification code information is determined from the candidate identification code information, and corresponding detection item information is determined according to the target identification code information. One or more analysis modules are controlled to detect the sample in the sample container according to the detection item information.

36. The method for obtaining identification code information according to claim 35, wherein: The image acquisition device is provided on at least one side of the identification station; and the image acquisition device is used to acquire multiple images of the sample container, including: Controlling the scheduling component to schedule the sample container to the identification station; The rotating assembly is controlled to drive the sample container on the identification station to rotate, and the image acquisition device is used to perform periodic image acquisition when the sample container rotates to obtain a plurality of images.

37. The method for obtaining identification code information according to any one of claims 35 to 36, characterized in that: The determining the target identification code information from the candidate identification code information includes: Each candidate identification code information is matched with the system identification code information in the work order system, and the candidate identification code information that matches the system identification code information is determined as the target identification code information.

38. The method for obtaining identification code information according to any one of claims 35 to 36, characterized in that: The screening of the sub-images and obtaining candidate identification code information corresponding to at least one of the sub-images meeting the screening conditions includes at least one of the following: Performing screening processing on each of the sub-images, obtaining at least one piece of identification code information based on the sub-images meeting the screening conditions, and determining at least one piece of candidate identification code information from the at least one piece of identification code information; Alternatively, a plurality of identification code information is obtained based on a plurality of sub-images, and screening is performed on each sub-image, and at least one candidate identification code information is determined from at least one identification code information corresponding to the sub-image that meets the screening condition.

39. The identification code information acquisition method according to claim 36, characterized in that: The determining of at least one candidate identification code information from at least one identification code information includes one of the following: Performing statistical processing on the identification code information to obtain the occurrence frequency of each identification code information, and determining the identification code information with the highest occurrence frequency as the candidate identification code information; Alternatively, statistical processing is performed on the identification code information to obtain the occurrence frequency of each identification code information, and the top M identification code information with the highest occurrence frequency are determined as the candidate identification code information, where M≥2; Alternatively, duplicate removal is performed on the plurality of identification codes to obtain the identification code information after duplicate removal as the candidate identification code information.

Citation Information

Patent Citations

  • Biological sample analysis device

    CN110050190A

  • Methods and apparatus for determining label count during specimen characterization

    CN110573883A

  • Method and apparatus for protecting patient information during characterization of patient in automated diagnostic analysis system

    CN114586033A

  • Inspection card and inspection system

    JP1996238870A

  • Specimen inspection device and system

    JP2020118634A