Blood bag boxing method and device, electronic equipment and storage medium

By obtaining blood bag information, screening the adapted blood box and binding the barcode, combining folding and sealing operations, the blood bag boxing is automated, solving the problem of low accuracy and efficiency in manual boxing, and improving the accuracy and efficiency of boxing.

CN120430741APending Publication Date: 2025-08-05AIKANG MEDTECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510482560.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-17
Publication Date
2025-08-05

AI Technical Summary

Technical Problem

In the prior art, the blood bag boxing process relies on manual operations, resulting in the problem of misinstallation or misinstallation, and is inefficient and difficult to meet the needs of batch storage.

Method used

By obtaining blood bag information, screening the adapted blood box for boxing, scanning the barcode binding information, combining edge processing and sealing operations, the automated boxing process is realized.

Benefits of technology

It improves the accuracy and efficiency of blood bag packaging, reduces manual intervention, reduces the risk of misinstallation or misinstallation, and improves the efficiency of batch outbound processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120430741A_ABST
    Figure CN120430741A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a blood bag boxing method and device, electronic equipment and a storage medium, is applied to a blood bag boxing device, and belongs to the technical field of blood storage. The method comprises the following steps: acquiring a target blood bag and blood bag information of the target blood bag, and screening out a selected blood box from preset blood boxes according to the blood bag information; the target blood bag is boxed through the selected blood box, and an original boxed blood box is obtained; scanning the bar code of the original box-packed blood box to obtain original box-packed blood box information, and binding the original box-packed blood box information and the blood bag information to obtain a target box-packed blood box; and conveying the target boxed blood box to a cold storage. According to the embodiment of the invention, the automation degree of blood bag boxing can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of blood storage technology, and in particular to a blood bag packaging method and device, electronic equipment, and storage medium. Background Art

[0002] Blood bags are medical containers used to store and transport blood. Before blood bags are put into storage, they usually need to be boxed to facilitate storage, transportation, distribution, and subsequent information management. At present, the boxing process of blood bags in related technologies mainly relies on manual work. However, since blood bag boxing usually involves multiple steps, the overall process is relatively cumbersome. The manual method is easily affected by subjective factors such as the operator's proficiency and operational stability, and the boxing process is prone to errors or omissions. At the same time, manual processing is less efficient when dealing with batch warehousing needs. Therefore, how to improve the degree of automation of blood bag boxing has become an urgent problem that needs to be solved. Summary of the Invention

[0003] The main purpose of the embodiments of the present application is to provide a blood bag boxing method and device, electronic equipment and storage medium, aiming to improve the automation level of blood bag boxing.

[0004] To achieve the above objectives, a first aspect of an embodiment of the present application provides a blood bag cartoning method, which is applied to a blood bag cartoning device. The method includes:

[0005] Acquiring a target blood bag and blood bag information of the target blood bag, and screening a selected blood box from preset blood boxes according to the blood bag information;

[0006] Cartoning the target blood bag using the selected blood box to obtain an original boxed blood box;

[0007] Scanning the barcode of the original boxed blood box to obtain the original boxed blood box information, and binding the original boxed blood box information with the blood bag information to obtain the target boxed blood box;

[0008] The target packed blood box is transported to a cold storage.

[0009] In some embodiments, the blood bag boxing device includes a sealing module, which, after scanning the barcode of the original boxed blood box to obtain the original boxed blood box information and binding the original boxed blood box information with the blood bag information to obtain the target boxed blood box, further includes:

[0010] The target packed blood box is subjected to a stripping process by using the sealing module and the preset sealing sticker;

[0011] The sealing module is used to seal the sealing sticker on the target blood box.

[0012] In some embodiments, the blood bag boxing device further comprises a laser module, which, after scanning the barcode of the original boxed blood box to obtain the original boxed blood box information and binding the original boxed blood box information with the blood bag information to obtain the target boxed blood box, further comprises:

[0013] Obtaining a blood bag product name and / or blood bag product specifications from the blood bag information;

[0014] The target boxed blood box is laser-printed with information according to the blood bag product name and / or the blood bag product specifications through the laser module.

[0015] In some embodiments, the blood box includes a front fold and a rear fold, the front fold and the rear fold being disposed opposite to each other on the blood box for sealing the blood box, the blood bag boxing device includes a box folding module and a manipulator module, and the step of boxing the target blood bag using the selected blood box to obtain an original boxed blood box includes:

[0016] Performing folding processing on the rear folded edge of the selected blood box by the box folding module;

[0017] Putting the target blood bag into the selected blood box by the manipulator module;

[0018] The front folding edge of the selected blood box containing the target blood bag is folded by the box folding module to obtain the original boxed blood box.

[0019] In some embodiments, the blood bag boxing device includes a folding quality identification module, and after the front folding edge is folded by the box folding module to obtain the original boxed blood box, the device further includes:

[0020] The folding quality recognition module is used to collect an image of the original packed blood box to obtain a blood box image;

[0021] The folding quality identification module performs folding quality identification on the original packed blood box according to the blood box image to obtain folding quality identification data;

[0022] The folding quality of the original boxed blood box is determined by the folding quality identification data.

[0023] In some embodiments, performing folding quality identification on the original boxed blood box according to the blood box image to obtain folding quality identification data includes:

[0024] Positioning the folded edge area of the blood box image to obtain a folded edge image;

[0025] Performing defect recognition on the folded edge image using a defect recognition model to obtain defect information;

[0026] Based on the defect information, the folding quality identification data is determined.

[0027] In some embodiments, the blood bag information includes blood bag blood type information, the blood bag boxing device includes a blood box hopper carousel module, a box taking module, and a box loading carousel module, the blood box hopper carousel module is provided with a packaging box hopper, and the packaging box hopper is provided with the preset blood box, and the selecting a selected blood box from the preset blood boxes according to the blood bag information includes:

[0028] According to the blood bag blood type information, the packaging box silos on the blood box silo turntable module are screened to obtain a target silo;

[0029] The target hopper is rotated to the position directly above the hopper taking module by the blood hopper turntable module;

[0030] The preset blood box on the target hopper is placed on the box loading turntable module by the box taking module to obtain the selected blood box.

[0031] To achieve the above-mentioned objectives, a second aspect of an embodiment of the present application provides a blood bag boxing device, the device comprising:

[0032] a data acquisition module, configured to acquire a target blood bag and blood bag information of the target blood bag, and select a selected blood box from preset blood boxes according to the blood bag information;

[0033] a blood bag boxing module, configured to box the target blood bag using the selected blood box to obtain an original boxed blood box;

[0034] An information binding module is used to scan the barcode of the original boxed blood box to obtain the original boxed blood box information, and bind the original boxed blood box information with the blood bag information to obtain the target boxed blood box;

[0035] The blood box conveying module is used to convey the target packed blood box to the cold storage.

[0036] To achieve the above-mentioned purpose, the third aspect of an embodiment of the present application proposes an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the method described in the first aspect when executing the computer program.

[0037] To achieve the above-mentioned purpose, the fourth aspect of the embodiments of the present application proposes a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the method described in the first aspect.

[0038] The present application proposes a blood bag boxing method and device, electronic device, and storage medium. By obtaining the blood bag information of the target blood bag and selecting a suitable selected blood box from a preset blood box based on the blood bag information, the method ensures that the blood bag and the blood box are adapted and corresponding, thereby improving the accuracy of the boxing process. Secondly, the target blood bag is boxed using the selected blood box to obtain an original boxed blood box. The barcode of the original boxed blood box is then scanned to obtain the original boxed blood box information, and the original boxed blood box information and the blood bag information are bound together to obtain the target boxed blood box, thereby binding the blood bag and the blood box together. Finally, the target boxed blood box is output and transported to a cold storage, thereby automating the blood bag boxing process, reducing manual intervention, and reducing the risk of incorrect or missing packing due to improper operation. At the same time, it improves processing efficiency in batch delivery scenarios, thereby solving the problems of low boxing accuracy and low processing efficiency during manual bagging. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 This is a flow chart of the blood bag boxing method provided in an embodiment of the present application;

[0040] Figure 2 yes Figure 1 Flowchart of step S101 in FIG.

[0041] Figure 3 yes Figure 1 Flowchart of step S102 in FIG.

[0042] Figure 4 is a flow chart of a blood bag boxing method provided by another embodiment of the present application;

[0043] Figure 5 yes Figure 4 Flowchart of step S402 in FIG.

[0044] Figure 6 is a flow chart of a blood bag boxing method provided by another embodiment of the present application;

[0045] Figure 7 is a flow chart of a blood bag boxing method provided by another embodiment of the present application;

[0046] Figure 8 Schematic diagram of the structure of the blood bag boxing device provided in an embodiment of the present application;

[0047] Figure 9 Schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application;

[0048] Figure 10 This is a diagram of the interaction sequence of blood bag packaging information provided in an embodiment of the present application;

[0049] Figure 11This is the overall flow chart of blood bag packaging provided by the embodiment of the present application. DETAILED DESCRIPTION

[0050] 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.

[0051] It should be noted that although the device schematics illustrate functional module divisions and the flowcharts illustrate logical sequences, in certain circumstances, the steps shown or described may be performed in a sequence that differs from the module divisions in the device or the sequence in the flowcharts. The terms "first," "second," and so on, in the specification, claims, and drawings, are used to distinguish similar items and are not necessarily used to describe a specific sequence or precedence.

[0052] 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.

[0053] First, let’s analyze some of the terms used in this application:

[0054] U-Net neural network: The U-Net neural network is suitable for image analysis tasks that require precise localization, such as histological images, MRI scans, and CT images. The key feature of U-Net is its U-shaped structure, which consists of a contracting path to capture contextual information and a symmetrical expanding path for precise localization. This design enables the U-Net neural network to effectively learn with limited training samples, and through skip connections in feature maps, U-Net can transfer more contextual information in deep networks.

[0055] Blood bags are medical containers used to store and transport blood. Before blood bags are put into storage, they usually need to be boxed to facilitate storage, transportation, distribution, and subsequent information management. At present, the boxing process of blood bags in related technologies mainly relies on manual work. However, since blood bag boxing usually involves multiple steps, the overall process is relatively cumbersome. The manual method is easily affected by subjective factors such as the operator's proficiency and operational stability, and the boxing process is prone to errors or omissions. At the same time, manual processing is less efficient when dealing with batch warehousing needs. Therefore, how to improve the degree of automation of blood bag boxing has become an urgent problem that needs to be solved.

[0056] Based on this, embodiments of the present application provide a blood bag boxing method and device, an electronic device, and a storage medium, aiming to improve the degree of automation of blood bag boxing.

[0057] The embodiments of the present application provide a blood bag boxing method and device, an electronic device, and a storage medium, which are specifically described through the following embodiments. First, the blood bag boxing method in the embodiments of the present application is described.

[0058] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is the theory, method, technology, and application system that uses digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use knowledge to achieve optimal results.

[0059] Fundamental AI technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interaction systems, and mechatronics. AI software technologies primarily encompass computer vision, robotics, biometrics, speech processing, natural language processing, and machine learning / deep learning.

[0060] The blood bag packing method provided in the embodiment of the present application relates to the field of blood storage technology. The blood bag packing method provided in the embodiment of the present application can be applied to a terminal, can also be applied to a server side, and can also be software running in a terminal or a server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc.; the server side can be configured as an independent physical server, or can be configured as a server cluster or a distributed system composed of multiple physical servers, or can be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can be an application that implements the blood bag packing method, etc., but is not limited to the above forms.

[0061] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, and the like. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments in which tasks are performed by remote processing devices connected via a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media, including storage devices.

[0062] It should be noted that in each specific embodiment of the present application, when it comes to the need to perform relevant processing based on data related to the user's identity or characteristics, such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first, and the collection, use, and processing of such data will comply with relevant laws, regulations, and standards. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the embodiment of the present application will be obtained.

[0063] Figure 1 This is an optional flow chart of the blood bag packaging method provided in the embodiment of the present application. Figure 1 The method may include but is not limited to steps S101 to S104.

[0064] Step S101, obtaining a target blood bag and blood bag information of the target blood bag, and screening a selected blood box from preset blood boxes according to the blood bag information;

[0065] Step S102, boxing the target blood bag by selecting a blood box to obtain an original boxed blood box;

[0066] Step S103, scanning the barcode of the original boxed blood box to obtain the original boxed blood box information, and binding the original boxed blood box information with the blood bag information to obtain the target boxed blood box;

[0067] Step S104: transport the target packed blood box to a cold storage.

[0068] In steps S101 to S104 shown in the embodiment of the present application, by obtaining the blood bag information of the target blood bag and filtering out the appropriate selected blood box from the preset blood boxes based on the blood bag information, it is ensured that the blood bag and the blood box are adapted and corresponding, thereby improving the accuracy of the boxing process. Secondly, the target blood bag is boxed by the selected blood box to obtain the original boxed blood box. Then, the barcode of the original boxed blood box is scanned to obtain the original boxed blood box information, and the original boxed blood box information and the blood bag information are bound together to obtain the target boxed blood box, thereby binding the blood bag and the blood box together. Finally, the target boxed blood box is output and transported to a cold storage, thereby realizing the automation of the blood bag boxing process, reducing manual intervention, reducing the risk of incorrect or missing packing due to improper operation, and improving the processing efficiency in the batch outbound scenario, thereby solving the problems of low boxing accuracy and low processing efficiency in the manual bagging process.

[0069] See also Figure 2 In some embodiments, the blood bag information includes blood type information of the blood bag. The blood bag cartoning device includes a blood cartridge hopper carousel module, a cartridge taking module, and a cartoning carousel module. The blood cartridge hopper carousel module is provided with a packaging cartridge hopper, and a preset blood cartridge is provided on the packaging cartridge hopper. Step S101 may include, but is not limited to, steps S201 to S203:

[0070] Step S201, screening the packaging box bins on the blood box bin turntable module according to the blood bag blood type information to obtain the target bin;

[0071] Step S202: The target hopper is rotated to the position directly above the hopper removal module by the hopper turntable module.

[0072] Step S203: The box taking module places the preset blood box on the target hopper on the box loading turntable module to obtain the selected blood box.

[0073] In steps S201 to S203, as shown in the embodiment of the present application, the packaging box silos on the blood box silo turntable module are screened based on the blood bag blood type information to determine a suitable target silo. The rotation function of the blood box silo turntable module is then used to rotate the target silo to directly above the box removal module, providing position matching for subsequent automatic box removal. Finally, the box removal module places the preset blood box on the target silo onto the box loading turntable module to obtain the selected blood box, thereby completing the automated retrieval of the packaging box that matches the blood bag. This enables dynamic box selection and precise box matching based on blood bag attributes, improving box loading accuracy and response efficiency while meeting the box loading requirements of blood bags of different specifications.

[0074] In step S201 of some embodiments, the blood bag blood type information is used to identify the blood type of the blood bag to be loaded. It can be in the form of a label, such as "blood type A" or "blood type B", or it can be expressed as a numerical value, such as "1" or "2". The blood cartridge silo turntable module is a rotatable turntable structure having multiple rotatable turntables for accommodating packaging cartridge silos. It can drive the packaging cartridge silos to rotate to a designated workstation under control instructions. The packaging cartridge silo is a storage unit installed on the blood cartridge silo turntable module for storing preset blood cartridges. Different packaging cartridge silos are pre-installed with blood cartridges adapted for blood bags of different specifications. The target silo is a silo in the packaging cartridge silo. The preset blood cartridge on the target silo is adapted to the blood bag blood type information and blood bag volume information of the target blood bag. The preset blood cartridge is a packaging container pre-loaded in the packaging cartridge silo with specific volume specifications and blood type identification attributes, and is used to carry blood bags of corresponding specifications and blood types. The screening method is to compare the collected blood bag blood type information with the specification parameters and identification information of the preset blood boxes stored in each packaging box silo to determine the target silo that is compatible with the blood bag to be loaded.

[0075] In some embodiments, in step S202, the cartridge retrieval module is an actuator capable of linear or multi-axis motion. It is equipped with an end-gripping device or suction structure to retrieve a pre-set blood cartridge from a target hopper and accurately place it onto the loading carousel module. After the target hopper is determined, the rotatable cartridge hopper carousel module rotates the target hopper to a pre-set position, which is above the cartridge retrieval module.

[0076] In step S203 of some embodiments, a predetermined blood cartridge in a target hopper is accurately placed onto the carton loading carousel module by an end-gripping device or adsorption structure configured on the cartridge retrieval module. The selected blood cartridge is a blood cartridge that has been retrieved from the target hopper by the cartridge retrieval module and successfully placed onto the carton loading carousel module.

[0077] See also Figure 3 In some embodiments, the blood box includes a front fold and a rear fold, the front fold and the rear fold are arranged opposite to each other on the blood box and are used to seal the blood box. The blood bag boxing device includes a box folding module and a manipulator module. Step S102 may include but is not limited to steps S301 to S303:

[0078] Step S301, performing folding processing on the rear folding edge of the selected blood box by using the box folding module;

[0079] Step S302, placing the target blood bag into the selected blood box by a manipulator module;

[0080] Step S303: The front folding edge of the selected blood box containing the target blood bag is folded by the box folding module to obtain an original packed blood box.

[0081] In steps S301 to S303 shown in the embodiment of the present application, the rear folded edge is folded by the box folding module, so that a stable structure is formed on the rear side of the packaging box, providing shape support for the subsequent positioning of the blood bag. Secondly, the target blood bag is loaded into the selected blood box using the robot module to ensure that the blood bag is stably embedded in the interior of the packaging box, thereby improving the positioning accuracy of the box loading. Finally, the front folded edge is folded again by the box folding module to obtain the original boxed blood box, so that the blood bag forms a complete closed structure through the front sealing after being loaded into the packaging box, thereby improving the overall strength and sealing effect of the finished product packaging. In this way, the folding operation and the box loading process are reasonably decoupled and linked, which not only ensures the timeliness of the packaging box structure forming, but also realizes the precise control of the blood bag box loading process, thereby solving the problems of poor box loading structure stability and low process automation.

[0082] In step S301 of some embodiments, the rear hem is an extended structure located at the rear edge of the package when the package is flattened. The rear hem forms the rear sealing boundary of the package during the folding process, providing structural support for the stable loading of the subsequent blood bag. The folding module is a mechanical component with actuation capabilities. The folding module includes actuators for clamping, positioning, and pushing the package edge structure. It can perform directional folding on the hem in the pre-folded state, forming the package along a predetermined folding path.

[0083] In step S302 of some embodiments, the manipulator module is an automated actuator with multi-axis linkage capabilities, comprising a programmable controller, a joint drive system, and an end effector. The manipulator module is configured to grasp a target blood bag and place it into a selected blood box to complete the blood bag boxing operation.

[0084] In step S303 of some embodiments, the front fold is an extended structure arranged at the front edge of the packaging box opposite to the rear fold. The front fold is folded and formed after the blood bag is completed and boxed to seal the front opening of the packaging box. The front fold can achieve complete closure in structure of the selected blood box, and finally form the original boxed blood box.

[0085] See also Figure 4 In some embodiments, the blood bag cartoning device includes a fold quality recognition module. After step S303, the blood bag cartoning method may further include but is not limited to steps S401 to S403:

[0086] Step S401, using the folding quality recognition module to collect an image of the original packed blood box to obtain a blood box image;

[0087] Step S402: using the folding quality recognition module, the folding quality of the original packed blood box is recognized based on the blood box image to obtain folding quality recognition data;

[0088] Step S403: determining the folding quality of the original boxed blood box through the folding quality identification data.

[0089] In steps S401 to S403 illustrated in the embodiment of the present application, the folding quality identification module performs an image acquisition operation on the original boxed blood box to obtain a blood box image of the original boxed blood box. Subsequently, based on the acquired blood box image, the folding quality identification module performs image analysis and processing on the folded portion of the original boxed blood box to generate folding quality identification data that reflects the quality of the folding. Finally, the folding quality of the original boxed blood box is judged based on the folding quality identification data, achieving automated and quantitative quality assessment. In this way, this embodiment improves the stability and consistency of the boxing quality by performing folding quality identification on the original boxed blood box after the blood box folding structure is formed.

[0090] In step S401 of some embodiments, the folding quality recognition module is a terminal with image processing and analysis computing capabilities, and the folding quality recognition module includes an image acquisition unit and a defect recognition model. The image acquisition unit is used to perform high-precision image acquisition of the folding area of the original boxed blood box. The image acquisition unit may include components such as an industrial-grade visual camera, a light source controller, and an image acquisition card. It can obtain blood box images in real time under the condition of high-speed operation of the boxing production line and transmit them to the quality recognition module. The defect recognition model is a neural network model. In one embodiment, the defect recognition model is a neural network model constructed with a U-Net neural network architecture, which can perform pixel-level segmentation of the folding area in the blood box image and output a mask of the defect area and the corresponding defect category. The categories of defects include four types: bulge, breakage, unfolding, and normal.

[0091] It's important to note that in the context of blood bag boxing, the quality of the folded edges directly impacts the box's stability, sealing, and ultimately, transport safety. Protrusions can prevent the box from fitting properly, impacting safe stacking and handling. Damage can expose the blood bag to the external environment, posing a risk of contamination and leakage. Unfolded edges indicate incomplete folding, impacting the bag's positioning and packaging integrity.

[0092] The training dataset for the U-Net neural network model consists of images corresponding to four defect states: bulge, damage, unfolding, and normal. The image dataset includes both images and their corresponding labels. The image dataset is input into the original U-Net neural network model, and the predicted labels are output. These are then compared with the true labels of the image dataset to generate a loss value. The original U-Net neural network model is then parameterized based on the loss value to generate a target U-Net neural network model. This target U-Net neural network model serves as the defect recognition model in the hem quality recognition module.

[0093] The blood box image is an image obtained by photographing the original boxed blood box by the image acquisition unit. The blood box image includes the front folding edge and the rear folding edge area of the original boxed blood box.

[0094] See also Figure 5 In some embodiments, step S402 includes but is not limited to steps S501 to S503:

[0095] Step S501, locating the folded edge area of the blood box image to obtain a folded edge image;

[0096] Step S502: performing defect recognition on the folded edge image using a defect recognition model to obtain defect information;

[0097] Step S503: determining folding quality identification data based on the defect information.

[0098] In steps S501 to S503, the embodiment of this application first locates the folded region of the blood cartridge image and extracts a folded image reflecting the folded structure. This ensures that subsequent analysis focuses on key structural areas, improving recognition efficiency and accuracy. Subsequently, a defect recognition model is used to identify defects in the folded image, obtaining defect information about the folded region. Finally, folded quality identification data is determined based on this defect information, enabling automatic recognition and quality assessment of the folded state of the original packed blood cartridge.

[0099] In some embodiments, step S501 includes but is not limited to:

[0100] Performing distortion correction on the folded edge image to obtain a first image;

[0101] Performing blood box positioning on the first image to obtain a second image;

[0102] Performing hem region segmentation on the second image to obtain a third image;

[0103] The third image is binarized to obtain a folded edge image.

[0104] In the above embodiment, the distortion correction of the folded edge image is performed to generate a first image to eliminate the geometric distortion in the image caused by the shooting angle or lens distortion, thereby improving the geometric authenticity of the image structure. Subsequently, the blood box is positioned based on the first image to obtain a second image, thereby reducing the image area that needs to be analyzed and improving the speed of subsequent image processing. Next, the folded edge area is segmented on the second image, and the image portion corresponding to the folded edge structure is extracted to form a third image, thereby eliminating interference information in non-target areas, further reducing the image area that needs to be analyzed, and improving the speed of subsequent image processing. Finally, the third image is binarized to generate a folded edge image that only retains the folded edge structure boundary and defect features, thereby further improving the speed of subsequent image processing.

[0105] Distortion correction is a processing operation that corrects the geometric structure of the collected folded edge image. Specifically, it refers to eliminating the geometric distortion of the image caused by industrial camera lens distortion, shooting angle deviation or environmental vibration through methods such as camera internal and external parameter modeling, image mapping transformation or calibration template matching. The first image is the image data after distortion correction. Compared with the original folded edge image, the first image has higher geometric accuracy and structural stability. In the blood bagging production environment, due to the high-speed operation of the equipment, frequent mechanism vibration and short operation cycle, it is easy to cause edge distortion, dimensional stretching and other distortion phenomena in the original image. If it is directly recognized without correction, it is easy to cause the folded edge recognition area to shift or the quality judgment to be distorted.

[0106] Blood cell localization uses an image recognition algorithm to determine the spatial extent of the blood cell region in the first image. Through edge detection, region extraction, and template matching, blood cell localization identifies the pixel regions in the first image that actually contain the blood cell structure. The second image is the image data obtained by cropping the first image based on the blood cell localization results. This process retains only image information related to the blood cell itself and removes background clutter to reduce data interference in subsequent recognition processing.

[0107] Hem segmentation is an image processing process that extracts the target area at the location of the hem structure in the second image. This can be accomplished using methods such as edge contour detection or neural network segmentation. The third image is the image result obtained through hem segmentation. This image retains the image data of the localized hem area, which can reduce the amount of data required for subsequent image processing and improve processing speed.

[0108] Binarization converts the third image into an image consisting solely of black and white values. By setting a fixed or adaptive threshold, the binarization process can explicitly distinguish the target area from the background area in the image. The hem image is the result of binarization. It clearly shows the boundary outlines and defect areas of the hem structure and can be directly used as input for the hem defect recognition model.

[0109] It should be noted that in the industrial production process of blood bag packaging, the production line operates at high speeds and the image processing window is short. Direct quality recognition of the raw images requires processing large amounts of data and contains a lot of redundant information, which can easily lead to reduced recognition efficiency. By sequentially performing blood bag positioning, hem region segmentation, and image binarization, the image data size can be significantly compressed while retaining key structural information. This provides an efficient, streamlined, and structured input image for the subsequent hem quality recognition model, significantly improving overall recognition efficiency and system response speed, and meeting the real-time detection requirements of high-speed production lines.

[0110] In step S502 of some embodiments, the defect information is a data set that characterizes the spatial position of the abnormal area in the folding image and its attribute category. Specifically, the defect information includes a mask of the defect area and a corresponding defect category. The mask of the defect area is used to indicate the position of the defect in the folding image and its boundary contour. The defect category is used to reflect different types of structural abnormalities, for example, four types: bulge, damage, unfolded and normal. Among them, bulge means that there is abnormal warping or bulging at the folding edge, which may lead to insufficient tightness after boxing. Damage means that the folding material is torn or notched, affecting the overall strength of the packaging box. Unfolded means that the folding structure is not fully formed according to the predetermined path, and there is a missing forming process. Normal means that the folding structure has no significant defects and meets the qualified boxing conditions.

[0111] In step S503 of some embodiments, the fold quality identification information is data used to characterize the quality of the folded edge of the blood cartridge. The fold quality identification information can be determined based on the defect information by weighted summation or other determination methods, which are not specifically limited in this application. For example, when the defect information indicates the presence of a bulge, damage, or unfolding, the fold quality identification information can be determined as 0, and when the defect information indicates normal, the fold quality identification information can be determined as 1.

[0112] In some embodiments, after step S503, a target area selection operation based on the defect information may be performed on the first image. Specifically, based on the mask data in the defect information, a minimum bounding rectangle fitting process is performed on the corresponding defect area in the first image. By generating a minimum rectangular frame to enclose the defect area, the location of the defect in the first image is visually annotated, allowing operators to quickly identify and locate the specific location of the folding defect, thereby improving the efficiency of manual review and the speed of exception handling response.

[0113] In step S403 of some embodiments, the fold quality is used to evaluate the structural integrity and defect status of the fold of the original box. The fold quality can be expressed as a classification label, a defect score, or a pass / fail indicator. For example, the fold quality can be represented by "excellent," "good," or "poor," or by a numerical value of 1, 2, or 3. The fold quality can be determined based on the fold quality identification data by weighted sum or average, which is not specifically limited in this application.

[0114] In step S103 of some embodiments, the blood bag boxing device includes a barcode scanning module, which is an automatic identification device with barcode reading capabilities and is used to collect barcode information identified on the original boxed blood box. The original boxed blood box information includes identification fields such as the blood box code and batch number. This information is bound to the blood bag information and stored in a predetermined database, thereby binding the blood bag information and the blood box information together.

[0115] See also Figure 6 In some embodiments, after step S103, the blood bag cartoning device further includes a sealing module, and the blood bag cartoning method may further include but is not limited to:

[0116] Step S601, the target blood box is taped using a sealing module and a preset sealing sticker;

[0117] Step S602: The sealing module seals the sealing sticker on the target blood box.

[0118] In steps S601 and S602, as shown in the embodiment of this application, the sealing module automatically applies the strips and seals to the target blood bag. This not only achieves effective sealing after the bagging operation, preventing leakage, contamination, or misplaced removal of the blood bag contents during transportation or circulation, but also further ensures the integrity and safety of the blood product packaging. Compared to traditional manual methods, this automated labeling and sealing method offers advantages such as consistent sealing, high efficiency, and low error rate, helping to standardize and intelligentize the overall blood bag bagging process.

[0119] In step S601 of some embodiments, the sealing module is an automatic mechanism with an attaching execution function, and the sealing sticker is a composite sticker material used for sealing and information carrying. The sealing module uses a pneumatic or servo mechanism to accurately attach the preset sealing sticker to the designated position of the initial box.

[0120] In step S602 of some embodiments, the sealing module performs a press-sealing process on the sealing sticker on the preliminary laser blood box, ensuring that the sticker and the blood box are adhered together through the synergistic effect of pressure and heat, thereby obtaining a blood box with a complete seal and stable structure.

[0121] See also Figure 7 In some embodiments, after step S103, the blood bag cartoning device further includes a laser module, and the blood bag cartoning method may further include but is not limited to:

[0122] Step S701, obtaining the blood bag product name and / or blood bag product specifications from the blood bag information;

[0123] Step S702: Using the laser module, laser information is printed on the target packed blood box according to the blood bag product name and / or the blood bag product specifications.

[0124] Steps S701 and S702, as shown in the embodiment of this application, automatically extract the blood bag product name and / or blood bag product specifications and use them as information sources for laser processing, thereby achieving information consistency between the blood bag and the corresponding boxed blood box, thereby effectively improving information traceability and operational standardization during the blood product packaging process. This avoids errors and omissions in manual registration, improves the automation level and information accuracy of the overall packaging process, and ensures that each blood bag's corresponding blood box has a clear, unique, and indelible product information label, thereby facilitating rapid identification and risk prevention during subsequent blood circulation, storage, and clinical use.

[0125] In step S701 of some embodiments, the blood bag product name indicates product information of the target blood bag, including but not limited to red blood cell products, plasma products, or platelet products, and is used to identify the type of blood components contained in the blood bag. The blood bag product specification indicates parameters such as the volume, collection method, storage method, and target population corresponding to the blood bag product, for example, 1U of suspended red blood cells or 300ml of fresh frozen plasma.

[0126] In step S702 of some embodiments, the laser module is a laser marking device, which can perform fixed-point laser processing on the seal label or box body of the target box based on the blood bag product name and / or blood bag product specifications to generate an indelible physical mark.

[0127] See also Figure 10In one embodiment, the blood bag cartoning device includes a cartoning turntable module, a blood box hopper turntable module, a box taking module, and a box folding module, and further includes a scheduling module, a track control module, and a blood bag receiving module. Figure 10 The information interaction logic between the participating modules in the blood bag packaging device is presented in chronological order. Figure 10 Explanation of the illustrated process: The scheduling module first issues a notification command to the cartoning carousel module, initiating the carton rotation operation. After the cartoning carousel module completes rotation, it returns a rotation completion notification. Subsequently, the scheduling module instructs the hopper carousel module to rotate the target carton to the retrieval position and issues a notification to trigger the retrieval module to perform the extraction operation. After the extraction operation is complete, the retrieval module returns a completion notification. The scheduling module further instructs the folding module to perform the folding operation, folding the rear hem of the carton. Upon completion, the folding module returns a folding completion notification. Next, the scheduling module instructs the blood bag receiving module to receive the blood bag. Upon completion, the folding module returns a folding completion notification. To complete cartoning, the scheduling module instructs the folding module to perform a second folding operation, folding the front hem of the carton. Upon completion, the folding module returns a folding completion signal. Finally, the scheduling module issues a delivery command, and the track control module executes the final delivery of the blood box to the cold storage (not shown). Upon completion, the delivery is complete.

[0128] like Figure 11 As shown, in one embodiment, the blood bag cartoning device, in addition to the fold quality recognition module, sealing module, and laser module, also includes a scheduling module, a track control module, and a correlation module. These modules work together to achieve automatic blood box transport, recognition, correlation, sealing, and labeling operations.

[0129] Specifically, the scheduling module first issues a transmission instruction to the track control module, which controls the initial transport of the blood cartridge and returns a completion notification upon completion. Next, the scheduling module issues a notification instruction, requesting the fold quality recognition module to execute the recognition process. After the recognition is complete, the fold quality recognition module feeds the results back to the association module, which then scans the blood cartridge and associates the blood cartridge information with the blood bag data. Upon completion, the association module returns a completion notification to the scheduling module.

[0130] Subsequently, the scheduling module notifies the track control module again to continue transporting the blood box. After the blood box arrives at the designated position, the scheduling module notifies the sealing module to perform the labeling process and stick the sealing sticker (the sealing label in the figure) on the blood box. After completing the labeling process, the sealing module returns a completion notification.

[0131] Afterwards, the scheduling module continues to control the track control module to perform the blood box transportation operation, and after the transportation is completed, it notifies the laser module to perform laser processing. After the laser module is completed, it returns a completion notification.

[0132] The scheduling module then notifies the sealing module to perform the sealing process (labeling and gluing in the figure), and returns a completion notification upon completion. Finally, the scheduling module controls the track control module to transport the blood box to the cold storage (not shown in the figure), completing the entire blood bag boxing process.

[0133] See also Figure 8 The present invention also provides a blood bag boxing device that can implement the above-mentioned blood bag boxing method. The device includes:

[0134] The data acquisition module 801 is used to acquire the target blood bag and the blood bag information of the target blood bag, and select the selected blood box from the preset blood boxes according to the blood bag information;

[0135] The blood bag boxing module 802 is used to box the target blood bag by selecting a blood box to obtain an original boxed blood box;

[0136] The information binding module 803 is used to scan the barcode of the original boxed blood box to obtain the original boxed blood box information, and bind the original boxed blood box information with the blood bag information to obtain the target boxed blood box;

[0137] The blood box transport module 804 is used to transport the target packed blood box to the cold storage.

[0138] The specific implementation of the blood bag boxing device is basically the same as the specific embodiment of the blood bag boxing method described above, and will not be repeated here.

[0139] The present application also provides an electronic device comprising a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the blood bag packaging method. The electronic device can be any smart terminal, such as a tablet computer or an in-vehicle computer.

[0140] See also Figure 9 , Figure 9 The hardware structure of an electronic device according to another embodiment is shown. The electronic device includes:

[0141] The processor 901 can be implemented as a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0142] The memory 902 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 902 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program codes are stored in the memory 902 and are called by the processor 901 to execute the blood bag boxing method of the embodiments of this application.

[0143] Input / output interface 903, used to implement information input and output;

[0144] Communication interface 904, used to implement communication interaction between this device and other devices, which can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WiFi, Bluetooth, etc.);

[0145] Bus 905 , which transmits information between various components of the device (e.g., processor 901 , memory 902 , input / output interface 903 , and communication interface 904 );

[0146] The processor 901 , the memory 902 , the input / output interface 903 and the communication interface 904 are connected to each other in communication within the device via a bus 905 .

[0147] An embodiment of the present application further provides a computer-readable storage medium storing a computer program, which implements the above-mentioned blood bag boxing method when executed by a processor.

[0148] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0149] The blood bag boxing method, blood bag boxing device, electronic device, and storage medium provided in the embodiments of the present application obtain the blood bag information of the target blood bag and select a suitable selected blood box from the preset blood boxes based on the blood bag information, thereby ensuring that the blood bag and the blood box are adapted and corresponding, thereby improving the accuracy of the boxing process. Secondly, the target blood bag is boxed by selecting a blood box to obtain an original boxed blood box. Then, the barcode of the original boxed blood box is scanned to obtain the original boxed blood box information, and the original boxed blood box information and the blood bag information are bound together to obtain the target boxed blood box, thereby binding the blood bag and the blood box together. Finally, the target boxed blood box is output and transported to a cold storage, thereby realizing the automation of the blood bag boxing process, reducing manual intervention, reducing the risk of incorrect or missing packing due to improper operation, and improving the processing efficiency in the batch delivery scenario, thereby solving the problems of low boxing accuracy and low processing efficiency in the manual bagging process.

[0150] The embodiments described in the embodiments of this application are intended to more clearly illustrate the technical solutions of the embodiments of this application and do not constitute a limitation on the technical solutions provided by the embodiments of this application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.

[0151] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0152] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, i.e., they may be located in one place or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of this embodiment.

[0153] Those skilled in the art will appreciate that all or some of the steps in the methods, systems, and functional modules / units in the devices disclosed above may be implemented as software, firmware, hardware, or appropriate combinations thereof.

[0154] 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 data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. 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.

[0155] 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.

[0156] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the above-mentioned 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 through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

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

[0158] 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.

[0159] 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 multiple instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: various media that can store programs, 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.

[0160] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but are not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and essence of the present invention should be within the scope of the present invention.

Claims

1. A blood bag packaging method, characterized in that: Applied to a blood bag cartoning device, the method comprises: Acquiring a target blood bag and blood bag information of the target blood bag, and screening a selected blood box from preset blood boxes according to the blood bag information; Cartoning the target blood bag using the selected blood box to obtain an original boxed blood box; Scanning the barcode of the original boxed blood box to obtain the original boxed blood box information, and binding the original boxed blood box information with the blood bag information to obtain the target boxed blood box; The target packed blood box is transported to a cold storage.

2. The method according to claim 1, characterized in that The blood bag boxing device further includes a sealing module, which, after scanning the barcode of the original boxed blood box to obtain the original boxed blood box information and binding the original boxed blood box information with the blood bag information to obtain the target boxed blood box, further includes: The target packed blood box is subjected to a stripping process by using the sealing module and a preset sealing sticker; The sealing module is used to seal the sealing sticker on the target blood box.

3. The method according to claim 1, characterized in that The blood bag boxing device further includes a laser module, which scans the barcode of the original boxed blood box to obtain the original boxed blood box information, and binds the original boxed blood box information with the blood bag information to obtain the target boxed blood box, and further includes: Obtaining a blood bag product name and / or blood bag product specifications from the blood bag information; The target boxed blood box is laser-printed with information according to the blood bag product name and / or the blood bag product specifications through the laser module.

4. The method according to claim 1, wherein The blood box includes a front fold and a rear fold, the front fold and the rear fold are arranged opposite to each other on the blood box and are used to seal the blood box. The blood bag boxing device includes a box folding module and a manipulator module. The step of boxing the target blood bag with the selected blood box to obtain an original boxed blood box includes: Performing folding processing on the rear folded edge of the selected blood box by the box folding module; Putting the target blood bag into the selected blood box by the manipulator module; The front folding edge of the selected blood box containing the target blood bag is folded by the box folding module to obtain the original boxed blood box.

5. The method according to claim 4, characterized in that The blood bag boxing device includes a folding quality identification module, and after the front folding edge is folded by the box folding module to obtain the original boxed blood box, it also includes: The folding quality recognition module is used to collect an image of the original packed blood box to obtain a blood box image; The folding quality identification module performs folding quality identification on the original packed blood box according to the blood box image to obtain folding quality identification data; The folding quality of the original boxed blood box is determined by the folding quality identification data.

6. The method according to claim 5, characterized in that The step of performing folding quality identification on the original packed blood box according to the blood box image to obtain folding quality identification data includes: Positioning the folded edge area of the blood box image to obtain a folded edge image; Performing defect recognition on the folded edge image using a defect recognition model to obtain defect information; Based on the defect information, the folding quality identification data is determined.

7. The method according to claim 1, characterized in that The blood bag information includes blood bag blood type information, the blood bag boxing device includes a blood box hopper turntable module, a box taking module and a box loading turntable module, the blood box hopper turntable module is provided with a packaging box hopper, and the packaging box hopper is provided with the preset blood box, and the method of selecting a selected blood box from the preset blood boxes according to the blood bag information includes: According to the blood bag blood type information, the packaging box silos on the blood box silo turntable module are screened to obtain a target silo; The target hopper is rotated to the position directly above the hopper taking module by the blood hopper turntable module; The preset blood box on the target hopper is placed on the box loading turntable module by the box taking module to obtain the selected blood box.

8. A blood bag boxing device, characterized in that: The device comprises: a data acquisition module, configured to acquire a target blood bag and blood bag information of the target blood bag, and select a selected blood box from preset blood boxes according to the blood bag information; a blood bag boxing module, configured to box the target blood bag using the selected blood box to obtain an original boxed blood box; An information binding module is used to scan the barcode of the original boxed blood box to obtain the original boxed blood box information, and bind the original boxed blood box information with the blood bag information to obtain the target boxed blood box; The blood box conveying module is used to convey the target packed blood box to the cold storage.

9. An electronic device, characterized in that: The electronic device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the blood bag boxing method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the blood bag boxing method according to any one of claims 1 to 7 is implemented.