Inspection method and apparatus for freshness-preserving package, computer device, and storage medium

WO2026166221A1PCT designated stage Publication Date: 2026-08-13SF TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-12-29
Publication Date
2026-08-13

Smart Images

  • Figure CN2025146401_13082026_PF_FP_ABST
    Figure CN2025146401_13082026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of logistics management, and discloses an inspection method and apparatus for a freshness-preserving package, a computer device, and a storage medium. The method comprises: when there is a freshness-preserving container in a target freshness-preserving package, acquiring an inspection image of the target freshness-preserving package (S101); on the basis of the inspection image, identifying a target feature of a refrigerant in the freshness-preserving container, wherein during packing of the target freshness-preserving package, a solid refrigerant having a standard feature was provided in the freshness-preserving container of the target freshness-preserving package, the feature of the refrigerant in the freshness-preserving container changing as the refrigerant melts (S102); determining a difference between the target feature and the standard feature, and, on the basis of the difference, determining a degree of melting of the refrigerant in the freshness-preserving container (S103); and when the degree of melting exceeds a first preset value, intercepting the target freshness-preserving package, so as to replenish a solid refrigerant for the target freshness-preserving package (S104).
Need to check novelty before this filing date? Find Prior Art

Description

Detection methods, devices, computer equipment, and storage media for food preservation packages

[0001] Related applications

[0002] This application claims priority to Chinese patent application filed on February 6, 2025, with application number 2025101346715, entitled "Detection Method, Apparatus, Computer Equipment and Storage Medium for Fresh-Keeping Packages", the entire contents of which are incorporated herein by reference. Technical Field

[0003] This application relates to the field of logistics management technology, specifically to detection methods, devices, computer equipment, and storage media for fresh-keeping packages. Background Technology

[0004] When shipping fresh produce and seasonal fruits, couriers often add ice packs to the packages to keep them fresh. However, due to variations in climate, distance, and mode of transport, these ice packs may melt during transit, significantly reducing their effectiveness in preserving freshness. Summary of the Invention

[0005] According to various embodiments of this application, a method, apparatus, computer equipment, and storage medium for detecting food preservation packages are provided.

[0006] Firstly, this application provides a method for detecting food preservation packages, including:

[0007] If a preservation container is present in the target preservation package, a detection image of the target preservation package is acquired; the detection image is an image acquired when the target preservation package is detected based on penetrating rays.

[0008] The target features of the cold storage agent in the preservation container are identified based on the detected image; when the target preservation package is packaged, the preservation container of the target preservation package is provided with a solid cold storage agent with standard features, and the features of the cold storage agent in the preservation container change as the cold storage agent melts;

[0009] Determine the difference between the target feature and the standard feature, and determine the degree of melting of the refrigerant in the preservation container based on the difference; and

[0010] If the degree of melting exceeds a first preset value, the target preservation package is intercepted to replenish the target preservation package with solid cold storage agent.

[0011] In some optional embodiments, the preservation container has a cavity, and when the target preservation package is packaged, a solid cold storage agent of a standard shape is disposed in the cavity, and there is also a space at the bottom of the cavity that does not overlap with the solid cold storage agent of the standard shape; the characteristics of the cold storage agent in the preservation container include the shape of the cold storage agent;

[0012] The step of identifying target features of the refrigerant inside the preservation container based on the detected image includes:

[0013] The target shape of the refrigerant inside the preservation container is identified based on the detected image.

[0014] In some alternative embodiments, the cavity includes a first sub-cavity and a second sub-cavity that are connected to each other;

[0015] The first sub-cavity has the shape of the standard shape, and the volume of the refrigerant in the cavity is consistent with the volume of the standard shape.

[0016] When the food preservation container is in the first placement posture, at least a portion of the height of the second sub-cavity is less than the maximum height of the first sub-cavity;

[0017] When the preservation container is in the second placement position, the first sub-cavity is located below the second sub-cavity, so that the liquid refrigerant in the cavity fills the first sub-cavity.

[0018] In some optional implementations, the detection image includes a first sub-image and a second sub-image; the first sub-image is an image acquired when detecting the target fresh-keeping package based on a penetrating ray in a first direction, and the second sub-image is an image acquired when detecting the target fresh-keeping package based on a penetrating ray in a second direction; the first direction and the second direction are different.

[0019] The step of identifying the target shape of the refrigerant inside the preservation container based on the detected image includes:

[0020] The first target sub-shape of the cold storage agent inside the preservation container is identified based on the first sub-image;

[0021] The second target sub-shape of the cold storage agent inside the preservation container is identified based on the second sub-image;

[0022] Determining the difference between the target feature and the standard feature, and determining the degree of melting of the refrigerant in the preservation container based on the difference, includes:

[0023] Determine a first difference between the first target sub-shape and the standard shape, and determine a second difference between the second target sub-shape and the standard shape; and

[0024] The degree of melting of the refrigerant in the preservation container is determined based on the larger of the first difference and the second difference.

[0025] In some alternative implementations, the first standard shape in the first direction is the same as the second standard shape in the second direction.

[0026] In some alternative implementations, the detection image is acquired based on a security inspection device with X-ray penetration detection capabilities, the security inspection device including a conveyor belt;

[0027] The first direction is the transport direction of the conveyor belt, and the second direction is another horizontal direction perpendicular to the first direction.

[0028] In some optional implementations, the method further includes:

[0029] If the degree of melting exceeds a second preset value but does not exceed the first preset value, a warning message indicating that the target fresh-keeping package is at risk of melting is transmitted to the next transit point in the logistics direction.

[0030] In some optional implementations, determining the difference between the target feature and the standard feature, and determining the degree of melting of the refrigerant in the preservation container based on the difference, includes:

[0031] Determine at least one of the cross-union ratio or similarity between the target shape and the standard shape, and determine the degree of melting of the cold storage agent in the preservation container based on at least one of the cross-union ratio or the similarity.

[0032] In some alternative embodiments, the cold storage agent in the preservation container includes a heat-sensitive material; under penetrating rays, the heat-sensitive material exhibits a first color at temperatures below the melting point of the cold storage agent and a second color different from the first color at temperatures above the melting point of the cold storage agent; the cold storage agent in the preservation container is characterized by its color.

[0033] The step of identifying target features of the refrigerant inside the preservation container based on the detected image includes:

[0034] The target color of the refrigerant inside the preservation container is identified based on the detected image.

[0035] In some optional embodiments, the cold storage agent in the preservation container includes a shape memory metal; the shape memory metal is in a first form at temperatures below the melting point of the cold storage agent, and in a second form different from the first form at temperatures above the melting point of the cold storage agent; the characteristics of the cold storage agent in the preservation container include the form of the shape memory metal in the cold storage agent;

[0036] The step of identifying target features of the refrigerant inside the preservation container based on the detected image includes:

[0037] The target shape of the shape memory metal inside the preservation container is identified based on the detected image.

[0038] In some optional embodiments, the cold storage agent in the preservation container includes a thermosensitive material; under penetrating rays, the thermosensitive material exhibits a first color at temperatures below the melting point of the cold storage agent and a second color different from the first color at temperatures above the melting point of the cold storage agent; the cold storage agent in the preservation container is characterized by its color; the cold storage agent in the preservation container includes a shape memory metal; the shape memory metal is in a first form at temperatures below the melting point of the cold storage agent and in a second form different from the first form at temperatures above the melting point of the cold storage agent; the cold storage agent in the preservation container is characterized by the morphology of the shape memory metal within the cold storage agent;

[0039] The step of identifying target features of the refrigerant inside the preservation container based on the detected image includes:

[0040] Based on the detected image, the target color of the refrigerant in the preservation container and the target shape of the shape memory metal in the preservation container are identified.

[0041] Secondly, this application provides a detection device for food preservation packages, comprising:

[0042] The acquisition module is configured to acquire a detection image of the target fresh-keeping package when a fresh-keeping container is present in the target fresh-keeping package; the detection image is an image acquired when the target fresh-keeping package is detected based on penetrating rays.

[0043] A feature recognition module is configured to identify target features of the cold storage agent inside the preservation container based on the detected image; when packaging the target preservation package, the preservation container of the target preservation package contains a solid cold storage agent with standard features, and the features of the cold storage agent inside the preservation container change as the cold storage agent melts; and

[0044] The processing module is configured to determine the difference between the target feature and the standard feature, determine the degree of melting of the cold storage agent in the preservation container based on the difference, and if the degree of melting exceeds a first preset value, intercept the target preservation package to replenish the target preservation package with solid cold storage agent.

[0045] Thirdly, this application provides a computer device, including: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to perform the method for detecting a food preservation package as described in the first aspect or any corresponding embodiment.

[0046] Fourthly, this application provides a computer-readable storage medium storing computer instructions for causing a computer to execute the detection method for a fresh-keeping package according to the first aspect or any corresponding embodiment described above.

[0047] Fifthly, this application provides a computer program product, including computer instructions for causing a computer to execute the method for detecting a food preservation package as described in the first aspect or any corresponding embodiment.

[0048] Details of one or more embodiments of this application are set forth in the following drawings and description. Other features, objects, and advantages of this application will become apparent from the specification, drawings, and claims. Attached Figure Description

[0049] To more clearly illustrate the technical solutions in the embodiments of this application or the conventional technology, the drawings used in the description of the embodiments or the conventional technology will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the disclosed drawings without creative effort.

[0050] Figure 1 is a flowchart illustrating the detection method for a food preservation package according to an embodiment of this application;

[0051] Figure 2 is a flowchart illustrating another method for detecting a food preservation package according to an embodiment of this application;

[0052] Figure 3 is a schematic diagram of the structural principle of two types of food preservation containers according to embodiments of this application;

[0053] Figure 4 is a schematic diagram of the structural principle of two other food preservation containers according to embodiments of this application;

[0054] Figure 5 is a schematic diagram of the detection image according to an embodiment of this application;

[0055] Figure 6 is a schematic diagram comparing shapes in multiple directions according to an embodiment of this application;

[0056] Figure 7 is a structural block diagram of a detection device for food preservation packages according to an embodiment of this application;

[0057] Figure 8 is a schematic diagram of the hardware structure of a computer device according to an embodiment of this application. Detailed Implementation

[0058] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0059] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0060] When shipping fresh produce and seasonal fruits, refrigerated parcels typically include ice packs for preservation. However, if the outside temperature is high, the transport distance is long, or cold chain transportation is not used, the ice inside the ice packs may gradually melt, significantly reducing their preservation effect. When the recipient receives the parcel, the product may have spoiled or damaged due to preservation issues, leading to customer complaints and claims for compensation, impacting customer experience, and causing financial losses.

[0061] To ensure preservation, the number of ice packs can be increased. However, if there are too many ice packs, the volume and weight of the package will increase, leading to additional transportation costs.

[0062] The method for detecting fresh-keeping packages provided in this application involves placing a specially designed preservation container inside the package that needs to be preserved. The characteristics of the cold storage agent inside the preservation container change as the cold storage agent melts. By acquiring images of the fresh-keeping package based on penetrating rays, the characteristics of the cold storage agent inside the preservation container are extracted, and the degree of melting of the cold storage agent is determined based on the changes in these characteristics. This allows for the timely detection and handling of packages with poor preservation effects, thereby reducing losses.

[0063] According to an embodiment of this application, an embodiment of a method for detecting a fresh-keeping package is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0064] This embodiment provides a method for detecting refrigerated packages, which can be applied to computers, mobile terminals, etc., for example, to computers or security inspection equipment in logistics transit centers. Figure 1 is a flowchart of the method for detecting refrigerated packages according to an embodiment of this application. As shown in Figure 1, the process includes the following steps.

[0065] Step S101: If a preservation container is present in the target preservation package, acquire a detection image of the target preservation package; the detection image is an image acquired when detecting the target preservation package based on penetrating rays.

[0066] In this embodiment, for refrigerated packages that have not yet reached the recipient, it may be necessary to check their current preservation effect. For ease of description, the refrigerated packages that need to have their preservation effect checked are referred to as target refrigerated packages.

[0067] A penetrating ray can be used to inspect a target food storage package, capturing an image of the object inside the package under the penetrating ray's light—this is the detection image. It's understood that this detection image can be obtained without opening the package. The penetrating ray can be, for example, X-rays or gamma rays. The penetrating ray can penetrate the outer casing of the food storage package, thus revealing the characteristics of the internal object.

[0068] For example, in logistics transit centers (such as parcel transfer centers and delivery transfer centers), it is necessary to determine the next destination of each express parcel, including refrigerated parcels. This process generally involves sorting and repackaging the refrigerated parcels. In some embodiments, transit equipment is typically installed at the transit center. Refrigerated parcels are placed on the conveyor belt of the transit equipment, and the flow of the refrigerated parcels to which transit center they are transferred to is controlled. During the transit process, the refrigerated parcels can be inspected. Specifically, inspection images of each parcel can be collected based on security inspection equipment, thereby obtaining the inspection image of the target refrigerated parcel and detecting whether the ice or other refrigerants inside have melted. This security inspection equipment can be based on X-rays to achieve the inspection function. Using this security inspection equipment, X-ray images of each refrigerated parcel passing through the transit center can be collected, thereby obtaining the X-ray image of the target refrigerated parcel, i.e., the inspection image of the target refrigerated parcel.

[0069] Since all express parcels are generally inspected during the security check process, images of all express parcels can be obtained, and the detection images of the target fresh-keeping parcels can be selected from them; alternatively, only fresh-keeping parcels carrying fresh produce, seasonal fruits, or other products that require preservation can be selected as target fresh-keeping parcels, and detection images of the target fresh-keeping parcels can be collected based on specific security inspection equipment. This embodiment does not limit this approach.

[0070] Step S102: Identify the target features of the cold storage agent inside the preservation container based on the detection image; when packaging the target preservation package, the preservation container of the target preservation package is equipped with a solid cold storage agent with standard features, and the features of the cold storage agent inside the preservation container change as the cold storage agent melts.

[0071] Traditional food storage packages typically use ice packs for preservation. In this embodiment, to test the preservation effect, a specially designed preservation container is added inside the food storage package. This container contains a cold storage agent, and when the package is packed, the cold storage agent is in solid form with certain characteristics. For ease of description, these characteristics of the initially set solid cold storage agent are referred to as standard characteristics. For example, the preservation container with the solid cold storage agent is stored in a low-temperature environment to maintain the cold storage agent in a solid state; when the courier packs the target food storage package, the preservation container with the solid cold storage agent is simply packed inside the target food storage package.

[0072] Furthermore, as the refrigerant inside the food storage container melts, its characteristics also change, meaning they are no longer entirely the same as the previous standard characteristics. Therefore, by detecting the characteristics of the refrigerant inside the food storage container, it is easy to determine whether the refrigerant has melted. These characteristics are those that can be detected by penetrating X-rays; for example, the characteristics can be shape, color, etc.

[0073] The cold storage agent stores cold energy in advance and releases it during the transportation of the preservation package, thus achieving a preservation effect. The cold storage agent in this preservation container can be the same as that in traditional ice packs. For example, the cold storage agent can be water (a solid cold storage agent is ice), or it can be a phase change material (PCM). For example, the cold storage agent can include a simple phase change material formed by a mixture of water and salt, polyethylene glycol (PEG), paraffin-based materials, etc., and can also be mixed with solvents such as propylene glycol. This embodiment does not limit the composition of the cold storage agent.

[0074] In this embodiment, for each target fresh-keeping package, it can be determined whether a special fresh-keeping container is present inside. For example, a refrigerant exhibits a certain color under penetrating rays, so the presence of a fresh-keeping container can be determined based on the presence of a target object of that color inside the target fresh-keeping package. Alternatively, when packing the fresh-keeping package, for fresh-keeping packages with added fresh-keeping containers, the courier can also add a specific mark to the package to indicate the presence of a fresh-keeping container inside.

[0075] If the target fresh-keeping package contains a fresh-keeping container, the detection image of the target fresh-keeping package can be identified, thereby identifying the characteristics of the cold storage agent inside the fresh-keeping container at the current moment, i.e., the target characteristics.

[0076] It is understandable that the main purpose of setting up a preservation container is to test the preservation effect of the preservation package, and generally, one preservation container is sufficient. Therefore, the target preservation package can contain only one preservation container, serving both preservation and testing functions; alternatively, the target preservation package can also include a preservation container and traditional ice packs, i.e., a mixture of preservation containers and traditional ice packs, achieving both preservation effect testing and low-cost freezing preservation. This embodiment does not limit the number of preservation containers in the preservation package.

[0077] Step S103: Determine the difference between the target feature and the standard feature, and determine the degree of melting of the cold storage agent in the preservation container based on the difference.

[0078] In this embodiment, since the characteristics of the cold storage agent in the preservation container change as the cold storage agent melts, if the cold storage agent in the preservation container melts, the target characteristics collected at the moment will be different from the original standard characteristics. Therefore, the degree of melting of the cold storage agent in the preservation container can be determined based on the difference between the two.

[0079] For example, the greater the difference between the target feature and the standard feature, the higher the degree of melting of the refrigerant in the preservation container.

[0080] Step S104: If the degree of melting exceeds the first preset value, intercept the target preservation package to replenish the target preservation package with solid cold storage agent.

[0081] In this embodiment, if the degree of melting of the cold storage agent in the preservation container exceeds the first preset value, it indicates that the degree of melting of the cold storage agent in the preservation container is high. For example, most or all of the cold storage agent in the preservation container has melted, so the preservation effect is poor at this time.

[0082] In this situation, the target refrigerated package can be intercepted, for example, by sending a message to intercept the target refrigerated package, so that the staff at the transit point can replenish the target refrigerated package with solid refrigerant, so that the target refrigerated package can have an appropriate amount of solid refrigerant, which can ensure the preservation effect.

[0083] This can be achieved by: 1) Replenishing the target refrigerated package with a new refrigeration container containing a solid refrigerant; or 2) Replenishing the target refrigerated package with traditional ice packs containing solid refrigerant. For example, if the target refrigerated package will not undergo security checks during subsequent transportation, meaning no more images of the package can be collected, then only traditional ice packs need to be added. The original refrigeration container and ice packs (if any) in the target refrigerated package must be removed.

[0084] The detection method for fresh-keeping packages provided in this embodiment involves placing a specially designed preservation container inside the package requiring preservation. The characteristics of the refrigerant inside the container change as the refrigerant melts. By acquiring images of the inside of the fresh-keeping package using penetrating rays, the target features of the refrigerant inside the container can be extracted without opening the package. The difference between the target features and the initial standard features can determine the feature changes and thus the degree of melting of the refrigerant. This allows for the timely detection of fresh-keeping packages with poor preservation effects, enabling the timely replenishment of solid refrigerant to ensure the preservation effect of fresh-keeping packages in transit, effectively preventing spoilage of transported goods and reducing losses.

[0085] This embodiment provides another method for detecting refrigerated packages, which can be applied to computers, mobile terminals, etc., for example, to computers or security inspection equipment in logistics transit centers. Figure 2 is a flowchart of the method for detecting refrigerated packages according to an embodiment of this application. As shown in Figure 2, the process includes the following steps.

[0086] Step S201: If a preservation container is present in the target preservation package, acquire a detection image of the target preservation package; the detection image is an image acquired when detecting the target preservation package based on penetrating rays.

[0087] For details, please refer to step S101 of the embodiment shown in Figure 1, which will not be repeated here.

[0088] Step S202: Identify the target features of the cold storage agent inside the preservation container based on the detection image; when packaging the target preservation package, the preservation container of the target preservation package is equipped with a solid cold storage agent with standard features, and the features of the cold storage agent inside the preservation container change as the cold storage agent melts.

[0089] In this embodiment, the characteristics of the cold storage agent collected based on penetrating rays are the shape of the cold storage agent, and the shape of the cold storage agent will change as the cold storage agent melts inside the preservation container.

[0090] In some embodiments, the preservation container has a closed cavity. When packaging the target preservation package, a standard-shaped solid refrigerant is disposed within the cavity of the preservation container, and there is space at the bottom of the cavity that does not overlap with the standard-shaped solid refrigerant. In some embodiments, the shape of the bottom of the cavity does not perfectly match the standard shape of the solid refrigerant, such that at least a portion of the space at the bottom of a portion of the cavity initially does not contain refrigerant (solid refrigerant).

[0091] Figure 3 shows a schematic diagram of the structural principle of two types of food preservation containers, which is a cross-sectional view of one type of food preservation container. As shown in Figure 3, for the first type of food preservation container 301, it is cubic in shape. Initially, it contains a spherical solid cold storage agent 302 inside, that is, the standard shape is spherical. At this time, there is a space 303 at the bottom of the cavity, and there is no solid cold storage agent 302 in this space 303. After the solid cold storage agent 302 melts, its shape will change to a cold storage agent 304 that matches the structure of the food preservation container 301. The cold storage agent 304 is cuboid in shape.

[0092] The second type of preservation container 311 is spherical, and initially contains a cubic solid cold storage agent 312, i.e., the standard shape is a cube. At this time, there is a space 313 at the bottom of the cavity, and the solid cold storage agent 312 is not present in this space. After the solid cold storage agent 312 melts, its shape will change to a cold storage agent 314 that matches the structure of the preservation container 311, and the shape of the cold storage agent 314 is a spherical crown shape.

[0093] Furthermore, the above step S202, "identifying the target features of the refrigerant in the preservation container based on the detected image," may include the following step S2021.

[0094] Step S2021: Identify the target shape of the refrigerant inside the preservation container based on the detected image.

[0095] In this embodiment, image recognition is performed on the detected image to extract the target shape of the refrigerant inside the preservation container. For example, based on a deep learning model, target detection or image segmentation can be performed on the detected image to extract a region related to the refrigerant, and the shape of this region is the target shape of the refrigerant.

[0096] In some optional embodiments, the cavity includes a first sub-cavity and a second sub-cavity that are connected to each other; preferably, the bottoms of the first sub-cavity and the second sub-cavity are connected. The first sub-cavity has a standard shape, and the volume of the refrigerant within the cavity is consistent with the volume of the standard shape.

[0097] Furthermore, when the preservation container is in the first placement posture, the height of at least a portion of the space of the second sub-cavity is less than the maximum height of the first sub-cavity; when the preservation container is in the second placement posture, the first sub-cavity is located below the second sub-cavity, so that the liquid refrigerant in the cavity fills the first sub-cavity.

[0098] In this embodiment, the first sub-cavity is used to contain the solid cold storage agent, and the second sub-cavity is used to contain the liquefied cold storage agent. The preservation containers can be placed in different ways, allowing them to be in different orientations.

[0099] In some embodiments, when the food storage container is in the first placement posture, the height of part or all of the space in the second sub-cavity is less than the maximum height of the first sub-cavity. This allows the solid refrigerant in the first sub-cavity to melt and flow into the lower portion of the space in the second sub-cavity, causing a change in the shape of the refrigerant inside the food storage container. It can be understood that the first placement posture can be a usage posture of the food storage container, i.e., when a courier packs a target food storage package, they place the food storage container in the first placement posture into the target food storage package, and its interior contains a standard-shaped solid refrigerant.

[0100] When the food storage container is placed in a different orientation than the first, the first sub-cavity is located below the second sub-cavity, allowing the liquid refrigerant within the first sub-cavity to fill it. Furthermore, since the volume of the refrigerant within the first sub-cavity matches the volume of the standard shape, if all the refrigerant is liquid, it will flow into the first sub-cavity under gravity, resulting in the liquid refrigerant taking the shape of the first sub-cavity—the standard shape. At this point, the interface between the first and second sub-cavities is a horizontal plane.

[0101] When making the solid cold storage agent in the food preservation container, the orientation of the food preservation container is adjusted to a second placement orientation, so that all the cold storage agent is located in the first sub-cavity. At this time, the food preservation container is placed in a low temperature environment, which can freeze the cold storage agent inside it, and freeze the liquid cold storage agent in the food preservation container into a solid cold storage agent. The shape of the frozen solid cold storage agent is naturally a standard shape.

[0102] Figure 4 shows schematic diagrams illustrating the structural principles of two other types of food preservation containers. As shown in Figure 4, the third type of food preservation container 401 is rectangular in shape. Its left half is the first sub-cavity 403, and its right half is the second sub-cavity 404. In Figure 4, the food preservation container 401 is in a first placement posture. Furthermore, the first sub-cavity 403 is cubic in shape, that is, its standard shape is a cube. The food preservation container 401 contains a solid cold storage agent 402 with the same volume as the first sub-cavity 403, and it is completely located within the first sub-cavity 403, that is, the solid cold storage agent 402 is also cubic in shape. After the solid cold storage agent 402 in the food preservation container 401 melts, it will become a rectangular cold storage agent 405, that is, the shape of the cold storage agent 405 changes. For the preservation container 401 where the cold storage agent has melted, its left side can be used as the bottom surface, so that the preservation container 401 is in a second placement posture. The liquid cold storage agent can flow into the first sub-cavity 403. The preservation container 401 is placed in a freezing environment, so that it can be re-formed into a cubic solid cold storage agent 402, and can be reused.

[0103] Similarly, the fourth type of preservation container 411 has an irregular shape. Its left half is cubic, and the cavity in this half is the first sub-cavity 413. Its right half is cuboid, and the cavity in this half is the second sub-cavity 414. In Figure 4, the preservation container 411 is in its first placement position; similarly, the standard shape is cubic. This preservation container 411 contains a solid cold storage agent 412 with the same volume as the first sub-cavity 413, and it is completely located within the first sub-cavity 413; that is, the solid cold storage agent 412 is also cubic in shape. After the solid cold storage agent 412 in the preservation container 411 melts, a portion of the liquefied cold storage agent will flow into the second sub-cavity 414 under gravity, ultimately forming an irregularly shaped cold storage agent 415. That is, the shape of the cold storage agent 415 will also change, as shown in Figure 4. For the preservation container 411 where the cold storage agent has melted, its left side can be used as the bottom surface, so that the preservation container 411 is in a second placement posture. The liquid cold storage agent can flow into the first sub-cavity 413. The preservation container 411 is placed in a freezing environment, so that it can be re-formed into a cubic solid cold storage agent 412, and can be reused.

[0104] In this embodiment, the preservation container can be a fixed structure. For example, the preservation container can be an ice box of a corresponding shape, which can contain a solid cold storage agent of a standard shape inside; or, the preservation container can also be a flexible ice pack, which, in addition to containing a cold storage agent, is also filled with gas (such as air, nitrogen, carbon dioxide, etc.), so that after the solid cold storage agent liquefies, it can flow into the space originally filled with gas, causing the shape of the cold storage agent to change.

[0105] Step S203: Determine the degree of melting of the refrigerant in the preservation container based on the difference between the target characteristics and the standard characteristics.

[0106] In some embodiments, when the feature is a cold storage agent shape, the target feature includes a target shape, and the standard feature includes a standard shape. In this case, the target shape and the standard shape of the cold storage agent can be compared to determine the difference between the target shape and the standard shape, thereby enabling the determination of the degree of melting of the cold storage agent within the preservation container.

[0107] For example, the cross-union ratio between the target shape and the standard shape can be determined; the smaller the cross-union ratio, the higher the degree of melting. Alternatively, the similarity between the target shape and the standard shape can be determined; the smaller the similarity, the higher the degree of melting.

[0108] In this process, the standard shape used for shape comparison can be preset. If only one type of food storage container is used, the standard shape is a preset fixed shape; if the courier can choose one of a variety of food storage containers when packing, the type of food storage container used for each food storage package can be marked, and then the corresponding standard shape can be determined based on the type of food storage container in the target food storage package.

[0109] It is understandable that the shape of the refrigerant presented in the detection image acquired based on the penetrating X-ray is a planar shape. Taking the fourth type of preservation container 411 shown in Figure 4 as an example, in the initial state of the preservation container 411, its interior contains a solid refrigerant of a standard shape. The detection image acquired at this time is shown in the upper half of Figure 5. This detection image can be used as a standard image of the refrigerant before it melts. If the refrigerant in the preservation container 411 has completely melted, the detection image acquired at this time is shown in the lower half of Figure 5. By comparing it with the standard image, it can be determined that solid refrigerant needs to be added, for example, ice needs to be added.

[0110] Optionally, since the shape of the refrigerant in the detection image is a planar shape, the shape of the refrigerant in the detection image is related to the acquisition angle based on the penetrating ray or the placement of the preservation container. To improve the accuracy of the detection, the shape of the refrigerant in the preservation container is acquired from multiple directions.

[0111] In some embodiments, the detection image includes a first sub-image and a second sub-image; the first sub-image is an image acquired when detecting a target fresh-keeping package based on a penetrating ray in a first direction, and the second sub-image is an image acquired when detecting a target fresh-keeping package based on a penetrating ray in a second direction; the first direction and the second direction are different.

[0112] For example, the first direction and the second direction can be two mutually perpendicular directions. For example, the first direction and the second direction can be two of the x-axis, y-axis, and z-axis directions in the world coordinate system, depending on the actual situation.

[0113] Optionally, if the detection image is acquired using a security inspection device with X-ray penetration detection capability, the security inspection device generally includes a conveyor belt, and a first direction and a second direction can be set based on the transport direction of the conveyor belt. In some embodiments, the first direction is the transport direction of the conveyor belt, and the second direction is another horizontal direction perpendicular to the first direction. The transport direction of the conveyor belt is generally horizontal, that is, the first direction and the second direction are two mutually perpendicular horizontal directions; since the shape change of the refrigerant in the preservation container is affected by gravity, acquiring the corresponding detection image from the horizontal direction can better capture the shape change of the refrigerant.

[0114] Furthermore, the aforementioned step S2021, "identifying the target shape of the refrigerant inside the preservation container based on the detected image," includes the following steps A1 to A2.

[0115] Step A1: Identify the first target sub-shape of the refrigerant inside the preservation container based on the first sub-image.

[0116] Step A2: Identify the second target sub-shape of the refrigerant inside the preservation container based on the second sub-image.

[0117] The above step S203, "determine the difference between the target feature and the standard feature, and determine the degree of melting of the cold storage agent in the preservation container based on the difference", includes the following steps B1 to B2.

[0118] Step B1: Determine the first difference between the first target sub-shape and the standard shape, and determine the second difference between the second target sub-shape and the standard shape.

[0119] Step B2: Determine the degree of melting of the refrigerant in the preservation container based on the larger of the first difference and the second difference.

[0120] In this embodiment, based on different first and second directions, corresponding first and second sub-images can be acquired. The first and second sub-images show the target shape of the cold storage agent in the preservation container in different directions, namely the first target sub-shape and the second target sub-shape.

[0121] By comparing the first target sub-shape and the second target sub-shape with the standard shape, the differences in the corresponding directions can be obtained, namely the first difference and the second difference. Then, the degree of melting of the refrigerant in the preservation container is determined based on the larger of the first difference and the second difference. This can effectively avoid the problem of misjudgment caused by different sampling directions or the placement of the preservation container, and improve the accuracy of detecting the degree of refrigerant melting.

[0122] For solid refrigerants with standard shapes, by acquiring the shape of the solid refrigerant in a first direction and a second direction, the corresponding shapes in different directions can be determined, namely, the first standard sub-shape corresponding to the first direction and the second standard shape corresponding to the second direction. Due to the different placement methods of the preservation containers in practice, the first sub-image acquired in the first direction cannot be directly compared with the standard shape in a certain direction; it is necessary to first determine which standard shape the first sub-image corresponds to. To further reduce the influence of the placement method of the preservation container, the first standard shape in the first direction is the same as the second standard shape in the second direction; that is, in this case, it only needs to be compared with a unique standard shape. At this point, the initially set solid refrigerant can be spherical or square, etc.

[0123] After identifying the first target sub-shape and the second target sub-shape, the first target sub-shape and the second target sub-shape can be directly compared with the unique standard shape.

[0124] Taking the fourth type of food preservation container 411 shown in Figure 4 as an example, its first standard sub-shape and second standard sub-shape are both squares. If the first direction is the viewing direction corresponding to the left view and the second direction is the viewing direction corresponding to the main view, the first target sub-shape and the second target sub-shape can be identified as shown in Figure 6. By comparing the first target sub-shape and the second target sub-shape with the standard sub-shape of the square, the first difference and the second difference can be obtained. As shown in Figure 6, the second difference is larger, so the degree of melting of the refrigerant in the food preservation container is determined based on the second difference.

[0125] Step S204: If the degree of melting exceeds the first preset value, intercept the target preservation package to replenish the target preservation package with solid cold storage agent.

[0126] For details, please refer to step S104 of the embodiment shown in Figure 1, which will not be repeated here.

[0127] Optionally, the method may further include step C1.

[0128] Step C1: If the degree of melting exceeds the second preset value but does not exceed the first preset value, transmit a warning message indicating that the target fresh package is at risk of melting to the next transit point in the logistics direction.

[0129] In this embodiment, two preset values ​​for melting degree are set in advance, namely a first preset value and a second preset value, and the second preset value is less than the first preset value; if the current melting degree has not reached the second preset value, it means that most of the cold storage agent in the preservation container is still solid, the preservation effect is good, so no treatment is required, that is, no need to add solid cold storage agent.

[0130] If the melting level exceeds the second preset value but does not exceed the first preset value, it indicates that there is a risk of melting. The preservation container can still be used for a period of time, but prolonged use will lead to a decrease in preservation effect. If the current transit point (the transit point where the device executing this method is located) is not the final transit point, meaning there is a next transit point in the logistics direction, a warning message can be transmitted to the next transit point to promptly remind it that the target preservation package is at risk of melting, ensuring that solid refrigerant can be replenished for the target preservation package at the next transit point. For example, the current transit point is a parcel dispatch transit point, and the next transit point is a parcel delivery transit point.

[0131] For example, the warning information can be sent directly to the next transfer station; or, the target refrigerated package can be marked as having a risk of melting in the logistics system, so that after the target refrigerated package arrives at the next transfer station, the staff at the next transfer station can replenish the solid refrigerant in a timely manner based on the information in the logistics system.

[0132] In some alternative implementations, determining the difference between the target feature and the standard feature, and determining the degree of melting of the cold storage agent in the preservation container based on the difference, includes: determining at least one of the cross-union ratio or similarity between the target shape and the standard shape, and determining the degree of melting of the cold storage agent in the preservation container based on at least one of the cross-union ratio or similarity.

[0133] For example, the cross-union ratio (CUI) between the target shape and the standard shape can be determined; a smaller CUI indicates a higher degree of melting. Alternatively, the similarity between the target shape and the standard shape can be determined; a smaller similarity also indicates a higher degree of melting. The standard shape used in the shape comparison can be preset. If only one type of food storage container is used, the standard shape is a preset, fixed shape; if the courier can choose from multiple food storage containers when packing, the type of food storage container used for each package can be marked, and the corresponding standard shape can be determined based on the type of food storage container in the target package.

[0134] In this embodiment, the degree of melting of the cold storage agent in the preservation container is determined by at least one of cross-union ratio or similarity, which can ensure the accuracy of the determination of the degree of melting.

[0135] In some alternative implementations, other characteristics of the refrigerant can also be collected based on penetrating rays, and the degree of melting can be detected.

[0136] In some embodiments, the cold storage agent in the preservation container includes a heat-sensitive material; under penetrating rays, the heat-sensitive material exhibits a first color at temperatures below the melting point of the cold storage agent and a second color different from the first color at temperatures above the melting point of the cold storage agent. In this case, the characteristics of the cold storage agent in the preservation container include the color of the cold storage agent; it can be understood that the first color can be used as a standard characteristic.

[0137] Accordingly, step S202, "identifying the target features of the refrigerant in the preservation container based on the detection image," may include: identifying the target color of the refrigerant in the preservation container based on the detection image.

[0138] In this embodiment, the thermosensitive material exhibits different properties at different temperatures, resulting in different colors in the image formed under the action of penetrating rays. In some embodiments, the thermosensitive material exhibits different properties when its temperature is below the melting point of the cold storage agent compared to when its temperature is above the melting point, thus displaying different colors under the thermosensitive material. At any given moment, the target color of the cold storage agent can be acquired, and by comparing this target color (i.e., target feature) with a first color (i.e., standard feature), the degree of melting of the cold storage agent can be determined.

[0139] Melting point is the temperature at which a solid changes its state from solid to liquid; for example, ice has a melting point of 0°C under standard atmospheric pressure. The melting point of a refrigerant depends on the type of refrigerant used. For example, refrigeration refrigerants have a melting point of approximately 0°C, while freezing refrigerants have a melting point of approximately -10°C.

[0140] Since the temperature of the cold storage agent generally only exceeds its melting point after it has completely melted, this heat-sensitive material can be used to determine whether the cold storage agent in the food preservation container has completely melted. If it has already completely melted, the target food preservation package needs to be intercepted and the target food preservation package needs to be replenished with solid cold storage agent.

[0141] Alternatively, the cold storage agent in the preservation container may also include shape memory metal; this shape memory metal exists in a first form at temperatures below the melting point of the cold storage agent, and in a second form different from the first form at temperatures above the melting point of the cold storage agent. In this case, the characteristics of the cold storage agent in the preservation container include the form of the shape memory metal within the cold storage agent; it can be understood that the first form can be used as a standard characteristic.

[0142] Furthermore, the aforementioned step S202, "identifying the target features of the refrigerant in the preservation container based on the detection image," may include: identifying the target morphology of the shape memory metal in the preservation container based on the detection image.

[0143] In this embodiment, similar to the aforementioned thermosensitive materials, the characteristic that shape memory metals can exhibit different forms (shapes) at different temperatures is utilized, thus making the form of the shape memory metal in the detection image related to its temperature. In some embodiments, when the temperature of the shape memory metal is below the melting point of the coolant, it exhibits a first form, such as a rod shape; while when the temperature of the shape memory metal is below the melting point of the coolant, it exhibits a second form, such as a triangle shape. Therefore, based on the shape characteristics of the shape memory metal acquired at the current moment, comparing the target form (i.e., target feature) with the first form (i.e., standard feature) can also determine the degree of melting of the coolant.

[0144] Since the temperature of the cold storage agent generally only exceeds its melting point after it has completely melted, the shape memory metal can be used to determine whether the cold storage agent in the food preservation container has completely melted. If it has already completely melted, the target food preservation package needs to be intercepted and the target food preservation package needs to be replenished with solid cold storage agent.

[0145] It is understood that both the heat-sensitive material and the shape memory metal can be selected based on the melting point of the cold storage agent, and this embodiment does not limit this.

[0146] Furthermore, when detecting changes in the characteristics of the refrigerant, factors such as shape and color can be integrated for comprehensive judgment. For example, the degree of melting determined by shape, the degree of melting determined by the color of the thermosensitive material, and the degree of melting determined by the shape of the shape memory metal can be weighted, and the weighted result can be used as the final determined degree of melting.

[0147] The detection method for fresh-keeping packages provided in this embodiment involves placing a specially designed preservation container inside the package requiring preservation. The characteristics of the refrigerant inside the container change as the refrigerant melts. By acquiring images of the interior of the package using penetrating X-rays, the degree of refrigerant melting can be determined without opening the package. This allows for the replenishment of solid refrigerant, ensuring the preservation effect of the package during transit. The method is simple and low-cost, identifying the shape of the refrigerant and determining its melting degree through shape comparison. The preservation container has a first sub-cavity with a standard shape, facilitating the formation of a standard-shaped solid refrigerant, and is reusable and easy to use. Shape comparison based on images acquired from multiple directions allows for determination of the refrigerant's melting status from multiple angles, leading to a more accurate assessment of its melting degree. If the refrigerant melting degree only reaches a warning level, a warning is issued for subsequent transit points, effectively ensuring the replenishment of solid refrigerant at the next transit point and avoiding omissions. The melting degree of the refrigerant can also be detected using thermosensitive materials or shape memory metals, allowing for selection of the desired detection method.

[0148] In some optional embodiments, the cold storage agent in the preservation container includes a thermosensitive material; under penetrating rays, the thermosensitive material exhibits a first color at temperatures below the melting point of the cold storage agent and a second color different from the first color at temperatures above the melting point of the cold storage agent; the characteristics of the cold storage agent in the preservation container include the color of the cold storage agent; the cold storage agent in the preservation container includes a shape memory metal; the shape memory metal is in a first form at temperatures below the melting point of the cold storage agent and in a second form different from the first form at temperatures above the melting point of the cold storage agent; the characteristics of the cold storage agent in the preservation container include the morphology of the shape memory metal within the cold storage agent; identifying target features of the cold storage agent in the preservation container based on the detection image includes: identifying the target color of the cold storage agent in the preservation container and the target morphology of the shape memory metal within the preservation container based on the detection image.

[0149] Optionally, the cold storage agent in the preservation container can include both a heat-sensitive material and a shape memory metal, thereby using the target color of the heat-sensitive material and the target shape of the shape memory metal as target features to determine the degree of melting, ensuring the accuracy of the degree of melting determination.

[0150] This embodiment also provides a detection device for food preservation packages, which is used to implement the above embodiments and preferred embodiments, and will not be repeated as already described. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0151] This embodiment provides a detection device for food preservation packages, as shown in Figure 7, including:

[0152] The acquisition module 701 is configured to acquire a detection image of the target fresh-keeping package when a fresh-keeping container is present in the target fresh-keeping package; the detection image is an image acquired when the target fresh-keeping package is detected based on penetrating rays.

[0153] The feature recognition module 702 is configured to identify target features of the cold storage agent inside the preservation container based on the detected image; when packaging the target preservation package, the preservation container of the target preservation package contains a solid cold storage agent with standard features, and the features of the cold storage agent inside the preservation container change as the cold storage agent melts; and

[0154] The processing module 703 is configured to determine the difference between the target feature and the standard feature, determine the degree of melting of the cold storage agent in the preservation container based on the difference, and if the degree of melting exceeds a first preset value, intercept the target preservation package to replenish the target preservation package with solid cold storage agent.

[0155] In one optional embodiment, the preservation container has a cavity, and when the target preservation package is packaged, a solid cold storage agent of a standard shape is disposed in the cavity, and there is also a space at the bottom of the cavity that does not overlap with the solid cold storage agent of the standard shape; the characteristics of the cold storage agent in the preservation container include the shape of the cold storage agent.

[0156] The feature recognition module 702 is configured to identify the target shape of the refrigerant inside the preservation container based on the detected image.

[0157] In some alternative embodiments, the cavity includes a first sub-cavity and a second sub-cavity that are connected to each other;

[0158] The first sub-cavity has the shape of the standard shape, and the volume of the refrigerant in the cavity is consistent with the volume of the standard shape.

[0159] When the food preservation container is in the first placement posture, at least a portion of the height of the second sub-cavity is less than the maximum height of the first sub-cavity;

[0160] When the preservation container is in the second placement position, the first sub-cavity is located below the second sub-cavity, so that the liquid refrigerant in the cavity fills the first sub-cavity.

[0161] In some optional implementations, the detection image includes a first sub-image and a second sub-image; the first sub-image is an image acquired when detecting the target fresh-keeping package based on a penetrating ray in a first direction, and the second sub-image is an image acquired when detecting the target fresh-keeping package based on a penetrating ray in a second direction; the first direction and the second direction are different.

[0162] The feature recognition module 702 is configured to recognize the first target sub-shape of the cold storage agent in the preservation container based on the first sub-image.

[0163] The second target sub-shape of the cold storage agent inside the preservation container is identified based on the second sub-image;

[0164] The processing module 703 is configured to determine a first difference between the first target sub-shape and the standard shape, and to determine a second difference between the second target sub-shape and the standard shape; and

[0165] The degree of melting of the refrigerant in the preservation container is determined based on the larger of the first difference and the second difference.

[0166] In some alternative implementations, the first standard shape in the first direction is the same as the second standard shape in the second direction.

[0167] In some alternative implementations, the detection image is acquired based on a security inspection device with X-ray penetration detection capabilities, the security inspection device including a conveyor belt;

[0168] The first direction is the transport direction of the conveyor belt, and the second direction is another horizontal direction perpendicular to the first direction.

[0169] In some alternative implementations, the processing module 703 is further configured to:

[0170] If the degree of melting exceeds a second preset value but does not exceed the first preset value, a warning message indicating that the target fresh-keeping package is at risk of melting is transmitted to the next transit point in the logistics direction.

[0171] In some alternative implementations, the processing module 703 is further configured to determine at least one of the cross-union ratio or similarity between the target shape and the standard shape, and to determine the degree of melting of the refrigerant in the preservation container based on the cross-union ratio or the similarity.

[0172] In some alternative embodiments, the cold storage agent in the preservation container includes a heat-sensitive material; under penetrating rays, the heat-sensitive material exhibits a first color at temperatures below the melting point of the cold storage agent and a second color different from the first color at temperatures above the melting point of the cold storage agent; the cold storage agent in the preservation container is characterized by its color.

[0173] The feature recognition module 702 is also configured to identify the target color of the refrigerant in the preservation container based on the detected image.

[0174] In some optional embodiments, the cold storage agent in the preservation container includes a shape memory metal; the shape memory metal is in a first form at temperatures below the melting point of the cold storage agent, and in a second form different from the first form at temperatures above the melting point of the cold storage agent; the characteristics of the cold storage agent in the preservation container include the form of the shape memory metal in the cold storage agent;

[0175] The feature recognition module 702 is also configured to identify the target shape of the memory metal inside the preservation container based on the detected image.

[0176] In some optional embodiments, the cold storage agent in the preservation container includes a shape memory metal; the shape memory metal is in a first form at temperatures below the melting point of the cold storage agent, and in a second form different from the first form at temperatures above the melting point of the cold storage agent; the cold storage agent in the preservation container is characterized by the form of the shape memory metal within the cold storage agent; the cold storage agent in the preservation container includes a shape memory metal; the shape memory metal is in a first form at temperatures below the melting point of the cold storage agent, and in a second form different from the first form at temperatures above the melting point of the cold storage agent; the cold storage agent in the preservation container is characterized by the form of the shape memory metal within the cold storage agent;

[0177] The feature recognition module 702 is further configured to identify the target color of the refrigerant in the preservation container and the target shape of the shape memory metal in the preservation container based on the detected image.

[0178] In this embodiment, the detection device for the preservation package is presented in the form of a functional unit. Here, a unit refers to an ASIC (Application Specific Integrated Circuit) circuit, including a processor and memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.

[0179] This application also provides a computer device having the detection device for the fresh-keeping package shown in FIG7 above.

[0180] Please refer to Figure 8, which is a schematic diagram of the structure of a computer device provided in an optional embodiment of this application. As shown in Figure 8, the computer device includes: one or more processors 10, memory 20, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components communicate with each other using different buses and can be installed on a common motherboard or otherwise as needed. The processor can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, multiple processors and / or multiple buses can be used with multiple memories, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 8 uses one processor 10 as an example.

[0181] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.

[0182] The memory 20 stores instructions executable by at least one processor 10 to cause the at least one processor 10 to perform the method shown in the above embodiments.

[0183] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0184] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.

[0185] The computer device also includes an input device 30 and an output device 40. The processor 10, memory 20, input device 30 and output device 40 can be connected via a bus or other means, as shown in Figure 8, which illustrates a connection via a bus.

[0186] Input device 30 can receive input numerical or character information, and generate signal inputs related to user settings and function control of the computer device, such as a touchscreen, keypad, mouse, trackpad, touchpad, joystick, one or more mouse buttons, trackball, joystick, etc. Output device 40 may include display devices, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibration motors). The aforementioned display devices include, but are not limited to, liquid crystal displays, light-emitting diodes, displays, and plasma displays. In some alternative embodiments, the display device may be a touchscreen.

[0187] The computer device may also include a communication interface for communicating with other devices or communication networks.

[0188] This application also provides a computer-readable storage medium. The methods described in this application can be implemented in hardware or firmware, or implemented as recordable on a storage medium, or implemented as computer code downloaded over a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and subsequently stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the methods shown in the above embodiments are implemented.

[0189] A portion of this application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to this application through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.

[0190] Although embodiments of this application have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of this application, and such modifications and variations should all be covered within the protection scope of this application.

[0191] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0192] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A method for detecting food preservation packages, characterized in that, The method includes: If a preservation container is present in the target preservation package, a detection image of the target preservation package is acquired; the detection image is an image acquired when the target preservation package is detected based on penetrating rays. The target features of the cold storage agent in the preservation container are identified based on the detected image; when the target preservation package is packaged, the preservation container of the target preservation package is provided with a solid cold storage agent with standard features, and the features of the cold storage agent in the preservation container change as the cold storage agent melts; Determine the difference between the target feature and the standard feature, and determine the degree of melting of the refrigerant in the preservation container based on the difference; and If the degree of melting exceeds a first preset value, the target preservation package is intercepted to replenish the target preservation package with solid cold storage agent.

2. The method according to claim 1, characterized in that, The preservation container has a cavity. When packaging the target preservation package, a solid cold storage agent of a standard shape is placed inside the cavity, and there is a space at the bottom of the cavity that does not overlap with the solid cold storage agent of the standard shape. The characteristics of the cold storage agent inside the preservation container include the shape of the cold storage agent. The step of identifying target features of the refrigerant inside the preservation container based on the detected image includes: The target shape of the refrigerant inside the preservation container is identified based on the detected image.

3. The method according to claim 2, characterized in that, The cavity includes a first sub-cavity and a second sub-cavity that are connected to each other; The first sub-cavity has the shape of the standard shape, and the volume of the cold storage agent in the cavity is consistent with the volume of the standard shape; When the food preservation container is in the first placement posture, at least a portion of the height of the second sub-cavity is less than the maximum height of the first sub-cavity; When the preservation container is in the second placement position, the first sub-cavity is located below the second sub-cavity, so that the liquid refrigerant in the cavity fills the first sub-cavity.

4. The method according to claim 2, characterized in that, The detection image includes a first sub-image and a second sub-image; the first sub-image is an image acquired when detecting the target fresh-keeping package based on a penetrating ray in a first direction, and the second sub-image is an image acquired when detecting the target fresh-keeping package based on a penetrating ray in a second direction; The first direction is different from the second direction; The step of identifying the target shape of the refrigerant inside the preservation container based on the detected image includes: The first target sub-shape of the cold storage agent inside the preservation container is identified based on the first sub-image; The second target sub-shape of the cold storage agent inside the preservation container is identified based on the second sub-image; The step of determining the difference between the target feature and the standard feature, and determining the degree of melting of the refrigerant in the preservation container based on the difference, includes: Determine a first difference between the first target sub-shape and the standard shape, and determine a second difference between the second target sub-shape and the standard shape; and The degree of melting of the refrigerant in the preservation container is determined based on the larger of the first difference and the second difference.

5. The method according to claim 4, characterized in that, The first standard shape in the first direction is the same as the second standard shape in the second direction.

6. The method according to claim 4, characterized in that, The detected image is obtained based on a security inspection device with penetrating X-ray security inspection function, and the security inspection device includes a conveyor belt; The first direction is the transport direction of the conveyor belt, and the second direction is another horizontal direction perpendicular to the first direction.

7. The method according to claim 2, characterized in that, Also includes: If the degree of melting exceeds a second preset value but does not exceed the first preset value, a warning message indicating that the target fresh-keeping package is at risk of melting is transmitted to the next transit point in the logistics direction.

8. The method according to claim 2, characterized in that, The step of determining the difference between the target feature and the standard feature, and determining the degree of melting of the refrigerant in the preservation container based on the difference, includes: Determine at least one of the cross-union ratio or similarity between the target shape and the standard shape, and determine the degree of melting of the cold storage agent in the preservation container based on at least one of the cross-union ratio or the similarity.

9. The method according to any one of claims 1 to 8, characterized in that, The cold storage agent in the preservation container includes a heat-sensitive material; under penetrating rays, the heat-sensitive material exhibits a first color at temperatures below the melting point of the cold storage agent, and a second color different from the first color at temperatures above the melting point of the cold storage agent; the characteristics of the cold storage agent in the preservation container include the color of the cold storage agent; The step of identifying target features of the refrigerant inside the preservation container based on the detected image includes: The target color of the refrigerant inside the preservation container is identified based on the detected image.

10. The method according to any one of claims 1 to 8, characterized in that, The cold storage agent in the preservation container includes a shape memory metal; the shape memory metal is in a first form at temperatures below the melting point of the cold storage agent, and in a second form different from the first form at temperatures above the melting point of the cold storage agent; the characteristics of the cold storage agent in the preservation container include the form of the shape memory metal in the cold storage agent; The step of identifying target features of the refrigerant inside the preservation container based on the detected image includes: The target shape of the shape memory metal inside the preservation container is identified based on the detected image.

11. The method according to any one of claims 1 to 8, characterized in that, The cold storage agent in the preservation container includes a heat-sensitive material; under penetrating rays, the heat-sensitive material exhibits a first color at temperatures below the melting point of the cold storage agent, and a second color different from the first color at temperatures above the melting point of the cold storage agent; the cold storage agent in the preservation container is characterized by its color; the cold storage agent in the preservation container includes a shape memory metal; the shape memory metal is in a first form at temperatures below the melting point of the cold storage agent, and in a second form different from the first form at temperatures above the melting point of the cold storage agent; the cold storage agent in the preservation container is characterized by the shape of the shape memory metal within the cold storage agent; The step of identifying target features of the refrigerant inside the preservation container based on the detected image includes: Based on the detected image, the target color of the refrigerant in the preservation container and the target shape of the shape memory metal in the preservation container are identified.

12. A detection device for food preservation packages, characterized in that, The device includes: The acquisition module is configured to acquire a detection image of the target fresh-keeping package when a fresh-keeping container is present in the target fresh-keeping package; the detection image is an image acquired when the target fresh-keeping package is detected based on penetrating rays. A feature recognition module is configured to identify target features of the cold storage agent inside the preservation container based on the detected image; when packaging the target preservation package, the preservation container of the target preservation package contains a solid cold storage agent with standard features, and the features of the cold storage agent inside the preservation container change as the cold storage agent melts; and The processing module is configured to determine the difference between the target feature and the standard feature, determine the degree of melting of the cold storage agent in the preservation container based on the difference, and if the degree of melting exceeds a first preset value, intercept the target preservation package to replenish the target preservation package with solid cold storage agent.

13. A computer device, characterized in that, include: A memory and a processor are communicatively connected, the memory storing computer instructions, and the processor executing the computer instructions to perform the detection method for a fresh-keeping package as described in any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing a computer to perform the detection method for the fresh-keeping package according to any one of claims 1 to 11.

15. A computer program product comprising computer instructions for causing a computer to perform the detection method for a fresh-keeping package as described in any one of claims 1 to 11.