Parcel detection method and device, electronic equipment and storage medium
By obtaining logistics site information and parcel capacity type, dynamically determining security inspection rules, combining AI prediction and manual re-judgment, the problem of insufficient detection efficiency and adaptability in the existing technology is solved, and efficient and flexible parcel safety inspection is achieved.
Patent Information
- Application Number
- CN202310849090.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-11
- Publication Date
- 2025-01-17
AI Technical Summary
The existing high-speed security inspection system has shortcomings in detection efficiency and adaptability, which cannot meet the detection requirements in different scenarios, resulting in high cost and low efficiency of manual re-judgement, and the AI prediction of different recognition capabilities of contraband products, making it difficult to accurately Push banned packages for manual retrial.
By obtaining logistics site information and the transportation capacity type of the package to be tested, the security inspection rules are dynamically determined, combined with AI prediction and manual retrieval, different security inspection rules are configured according to different transportation capacity types and sites, packages that require manual retrieval are selected, and manual retrieval is reduced. Invest in costs and improve detection efficiency.
Different security inspection rules are realized according to different transportation capacity types and sites, which improves the flexibility and adaptability of package inspection, reduces personnel investment costs, improves the efficiency of package safety inspection, and reduces misjudgment.
Smart Images

Figure CN119323404A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of security detection technology, and in particular to a package detection method, device, electronic device and storage medium. Background Art
[0002] With the popularization of high-speed security inspections at the site, all express parcels circulating in the transit site have been fully inspected. Currently, high-speed security inspections are carried out by combining AI image pre-inspection and manual re-inspection. However, in actual applications, since the security inspection system generally uses unified security inspection rules, it has low flexibility and poor adaptability, and cannot meet the different detection requirements in different scenarios. Moreover, the number of parcels that need to be manually re-inspected is large, and accurate filtering cannot be performed, the labor input cost is high, and the detection efficiency is low. Summary of the invention
[0003] In view of this, the embodiments of the present application provide a package detection method, device, electronic device and storage medium, which aim to meet different detection requirements in different scenarios, improve business adaptability and flexibility, reduce personnel investment costs, and improve the efficiency of package safety detection.
[0004] A first aspect of an embodiment of the present application provides a package inspection method, including: obtaining logistics site information and the type of transportation capacity of the package to be inspected; determining the security inspection rules for the package to be inspected based on the logistics site information and the type of transportation capacity of the package to be inspected; and performing a security inspection on the package to be inspected based on the security inspection rules.
[0005] In one possible implementation, before the step of determining the security inspection rules for the package to be inspected based on the logistics site information and the capacity type of the package to be inspected, the step further includes: monitoring whether there is a change in the capacity type of the package to be inspected, and if there is a change in the capacity type of the package to be inspected, correcting the capacity type of the package to be inspected.
[0006] In one possible implementation, the step of monitoring whether there is a change in the capacity type of the package to be detected and, if the capacity type of the package to be detected has changed, correcting the capacity type of the package to be detected includes: monitoring whether the package to be detected has a specified capacity type, and if so, determining whether the capacity type of the package to be detected is consistent with the specified capacity type; if not, determining that there is a change in the capacity type of the package to be detected, and correcting the capacity type of the package to be detected according to the specified capacity type.
[0007] In one possible implementation, the step of performing a security inspection on the package to be inspected according to the security inspection rules includes: obtaining category information and flow direction information of the package to be inspected; judging whether the package to be inspected meets a first category filtering condition based on the category information and flow direction information, and if the package to be inspected meets the first category filtering condition, obtaining a first inspection confidence threshold corresponding to the capacity type of the package to be inspected from the first category filtering condition based on the category information, and performing a security inspection on the package to be inspected; if it is detected that the confidence value of the package to be inspected is greater than the first inspection confidence threshold, determining that the package to be inspected is a prohibited package, and pushing the package to be inspected into manual re-judgment processing.
[0008] In one possible implementation, the step of performing a security check on the package to be inspected according to the security inspection rules includes: obtaining category information and sorting line information of the package to be inspected; judging whether the package to be inspected meets a second category filtering condition based on the category information and the sorting line information; if the package to be inspected meets the second category filtering condition, obtaining a second inspection confidence threshold corresponding to the capacity type of the package to be inspected from the second category filtering condition based on the category information, and performing a security check on the package to be inspected; if it is detected that the confidence value of the package to be inspected is greater than the second inspection confidence threshold, determining that the package to be inspected is a prohibited package, and pushing the package to be inspected into manual re-judgment processing.
[0009] In one possible implementation, the step of performing a security inspection on the package to be inspected according to the security inspection rules includes: obtaining flow information of the package to be inspected; judging whether the package to be inspected meets the first re-judgment condition according to the flow information, and if so, pushing the package to be inspected into manual re-judgment processing.
[0010] In one possible implementation, the step of performing a security inspection on the package to be inspected according to the security inspection rules includes: obtaining flow information of the package to be inspected; judging whether the package to be inspected meets the second re-judgment condition according to the flow information, and if so, intercepting the package to be inspected for manual re-judgment processing.
[0011] In one possible implementation, the step of performing a security inspection on the package to be inspected according to the security inspection rules includes: obtaining the flow information and timeliness information of the package to be inspected; judging whether the package to be inspected meets the third re-judgment condition according to the flow information, timeliness information and transportation capacity type of the package to be inspected, and if the package to be inspected meets the third re-judgment condition, pushing the package to be inspected into manual re-judgment processing.
[0012] In one possible implementation, the step of performing a security inspection on the package to be inspected according to the security inspection rules includes: obtaining a deployment status of a security inspection machine corresponding to the package to be inspected; judging whether the package to be inspected meets a fourth re-judgment condition according to the deployment status of the security inspection machine, and if the package to be inspected meets the fourth re-judgment condition, pushing the package to be inspected into manual re-judgment processing.
[0013] In one possible implementation, the step of performing a security inspection on the package to be inspected according to the security inspection rules includes: judging whether the package to be inspected meets the fifth re-judgment condition according to the transport capacity type of the package to be inspected, and pushing the package to be inspected into manual re-judgment processing if the package to be inspected meets the fifth re-judgment condition.
[0014] In a possible implementation, the step of performing a security check on the package to be inspected according to the security inspection rules includes: obtaining routing information of the package to be inspected; judging whether the package to be inspected is an air-landed package according to the routing information, and if the package to be inspected is an air-landed package, intercepting the package to be inspected for manual re-judgment processing.
[0015] In a possible implementation, the step of performing a security inspection on the package to be inspected according to the security inspection rules includes: obtaining sorting line information of the package to be inspected; judging whether the package to be inspected meets the aviation pre-interception conditions according to the sorting line information, and intercepting the package to be inspected if the package to be inspected meets the aviation pre-interception conditions.
[0016] In a possible implementation, the step of performing security inspection on the package to be inspected according to the security inspection rule includes: determining whether the package to be inspected is a combination package, and if the package to be inspected is a combination package, intercepting the package to be inspected and entering manual re-inspection processing.
[0017] The second aspect of an embodiment of the present application provides a package detection device, including: an acquisition module, used to obtain logistics site information and the transportation capacity type of the package to be detected; a determination module, used to determine the security inspection rules of the package to be detected based on the logistics site information and the transportation capacity type of the package to be detected; and a detection module, used to perform security inspection on the package to be detected according to the security inspection rules.
[0018] A third aspect of an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the electronic device, wherein the processor implements the steps of the package detection method provided in the first aspect when executing the computer program.
[0019] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, each step of the package detection method provided in the first aspect is implemented.
[0020] A fifth aspect of the embodiments of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device implements the steps of the package detection method provided in the first aspect when executing the computer program product.
[0021] The package detection method, device, electronic device and storage medium provided in the embodiments of the present application have the following beneficial effects:
[0022] This application obtains logistics site information and the type of transport capacity of the package to be tested; determines the security inspection rules of the package to be tested based on the logistics site information and the type of transport capacity of the package to be tested; and performs security inspection on the package to be tested based on the security inspection rules. Based on this method, different security inspection rules can be configured for different transport capacity types and different sites to meet different inspection requirements in different scenarios. It has good business adaptability, high flexibility, low personnel investment cost, and improves the efficiency of package security inspection. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0024] Figure 1 A flowchart of a package detection method provided in an embodiment of the present application;
[0025] Figure 2 A flowchart of a method for correcting the transport capacity type of a package in the package detection method provided in an embodiment of the present application;
[0026] Figure 3 A flowchart of the first method for implementing security inspection of a package in the package inspection method provided in the embodiment of the present application;
[0027] Figure 4 A flowchart of a second method for implementing security detection of a package in the package detection method provided in an embodiment of the present application;
[0028] Figure 5 A flowchart of a third method for implementing security detection of a package in the package detection method provided in an embodiment of the present application;
[0029] Figure 6 A flowchart of a fourth method for implementing security detection of a package in the package detection method provided in an embodiment of the present application;
[0030] Figure 7 A flowchart of a fifth method for implementing security detection of a package in the package detection method provided in an embodiment of the present application;
[0031] Figure 8 A flowchart of a sixth method for implementing security detection of a package in the package detection method provided in an embodiment of the present application;
[0032] Fig. 9 A flowchart of a seventh method for implementing security detection of a package in the package detection method provided in an embodiment of the present application;
[0033] Fig.10 A flowchart of an eighth method for implementing security detection of a package in the package detection method provided in an embodiment of the present application;
[0034] Fig.11 A basic structural block diagram of a package detection device provided in an embodiment of the present application;
[0035] Fig.12 A basic structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0037] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0038] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0039] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0040] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0041] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. "Multiple" means "two or more".
[0042] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0043] The package detection method provided in the embodiment of the present application is intended to solve at least one of the following technical problems: there are many security inspection machines deployed on the site, and the speed is fast. The daily security inspection volume of some sites exceeds one million. If all AI (Artificial Intelligence) prohibited items are to be manually re-judged, the personnel investment cost is high; the AI prediction has different recognition capabilities for prohibited categories, and different transportation methods have different requirements for prohibited items, making it difficult to accurately push prohibited packages to manual re-judgment; the package transportation method is difficult to accurately determine. Due to factors such as real-time changes in routes and temporary dispatch of mail at the site, it is easy to cause missed judgments and misjudgments for air parcels with higher requirements; sensitive categories with certain special flows require special processing, while other flows are normal; when large-scale events and large-scale competitions are held, it is necessary to focus on judging the packages flowing into the local area in advance. For example, during important meetings, packages flowing to the conference venue need to be paid special attention and fully identified; certain venues need to filter sacks and do not require security checks; for aviation venues, five changes and two coolings, trunk line loading and other scenarios, due to limited time, there is no time for manual re-identification, and AI prohibited interception is required in advance and then manual re-identification.
[0044] See also Figure 1 , Figure 1 This is a flowchart of a package detection method provided in an embodiment of the present application. The details are as follows:
[0045] S11: Obtain logistics site information and the type of transportation capacity of the package to be tested.
[0046] In this embodiment, the logistics site information is the information of the current site of the package to be inspected. When the package to be inspected is subjected to security inspection, the security inspection data of the package to be inspected is obtained by the security inspection machine on the edge side and uploaded. Therefore, the logistics site information can be determined by the binding relationship between the identity identification of the security inspection machine and the logistics site. The capacity type of the package to be inspected can be obtained by querying the associated system, such as the security inspection system of the transfer site of the previous station of the package to be inspected, or the capacity scheduling system.
[0047] S12: Determine the security inspection rules for the package to be inspected according to the logistics site information and the transportation capacity type of the package to be inspected.
[0048] In this embodiment, different logistics sites can configure corresponding security inspection rules on the rule configuration page of the security inspection system according to the parcel inspection standards set by themselves. Specifically, the parcel inspection standards set by different logistics sites themselves include setting different prohibited categories according to different transport capacity types, configuring different confidence thresholds according to different transport capacity types, etc. It can be understood that the confidence threshold is a measure of whether the package is a prohibited item. In the security inspection system, a matching relationship between logistics sites and security inspection rules is established, and a logistics site can match security inspection rules of one or more configuration dimensions. In a specific embodiment, the configuration dimensions of the security inspection rules include but are not limited to sites, transport capacity types, flow directions, sorting lines, inflow locations, timeliness, deployment status of security inspection equipment, etc. In this embodiment, parcel inspection is specifically carried out in a combination of AI pre-judgment and manual re-judgment. In the AI pre-judgment process, it is possible to implement security inspection of parcels in different logistics sites using different security inspection rules, screen out parcels that need to be manually re-judged in the logistics site, and then push these parcels that need to be manually re-judged to the manual re-judgment link for manual re-judgment, which can reduce the labor input cost of parcel security inspection. In AI prediction, it is specifically based on the security inspection image of the package to detect whether it is a prohibited item, and different confidence levels are set for different types of transportation capacity. The confidence level is used to control the number of packages pushed to the manual re-judgment stage, thereby reducing the number of prohibited packages pushed to the manual re-judgment stage.
[0049] S13: Performing a security inspection on the package to be inspected according to the security inspection rules.
[0050] In this embodiment, for each logistics site, security inspection rules can be flexibly configured according to the actual situation of the logistics site, and a filtering funnel of the logistics site can be formed through a series of security inspection rules, so that the corresponding filtering funnel can be used in the logistics site to realize security inspection of the package. Specifically, when performing security inspection on the package to be inspected, the security inspection machine on the edge side transmits the security inspection data of the package to be inspected in the form of an image to the security inspection system on the cloud side, and then in the security inspection system, the basic information of the package including but not limited to the waybill number, site information, type of transportation capacity, flow direction, and locally accessible image links is extracted from the image through the information extraction module. Based on the logistics site information, the logistics site can be determined, so as to obtain the filtering funnel of the logistics site, and then the security inspection of the package to be inspected is performed according to the security inspection rules contained in the filtering funnel, and it is determined whether the package to be inspected needs to be pushed to the manual re-judgment link.
[0051] From the above, it can be seen that in the parcel inspection method provided in the embodiment of the present application, different security inspection rules can be configured for different types of transportation capacity and different sites according to the logistics site information and the type of transportation capacity of the package to be inspected, so as to meet different inspection requirements in different scenarios, have good business adaptability, high flexibility, low personnel investment cost, and improve the efficiency of package security inspection.
[0052] In some embodiments of the present application, a parcel refers to a parcel that is packaged and sent as a piece, and the transport capacity type of the parcel includes but is not limited to air transport, road transport, rail transport, water transport, etc. Due to real-time changes in routes or temporary dispatch of mail at a venue, the type of transport capacity actually used by the parcel may be different from the initially planned type of transport capacity. For example, some parcels are normally transported by road, but due to some special circumstances (such as holding large-scale events, large-scale competitions, etc.), parcels flowing into a certain place are designated to be transported by air only, which may cause the type of transport capacity actually used by the parcel to be different from the initially planned type of transport capacity. For example, a parcel is sent from City A to City B, and after a two-day transit stop in City B, it is sent to City C. During the process of sending from City A to City B, the parcel is transported by road, but in City B, it is detected that there is a temporary dispatch instruction that all parcels sent to City C within the past month need to be transported by air. At this time, the actual capacity type used by the parcel in the transit yard of City B will be different from the initially planned capacity type. At this time, the security inspection system of the transit yard of City B needs to correct the capacity type of the parcel, so that the capacity type of the parcel is changed from road transportation to air transportation. Specifically, a capacity type correction rule can be set in the security inspection system, by first monitoring whether the capacity type of the parcel to be detected has changed. If the capacity type of the parcel to be detected has changed, the capacity type of the parcel to be detected is corrected, so as to accurately determine the capacity type of the parcel, and avoid the problem of missed judgment or misjudgment due to the change of capacity type in the subsequent parcel detection process.
[0053] In some embodiments of this application, please refer to Figure 2 , Figure 2 A method for correcting the transport capacity type of a package in the package detection method provided in the embodiment of the present application is implemented as a flow chart. Figure 2 As shown, it may specifically include step S21 to step S22.
[0054] S21: monitoring whether the package to be detected has a specified transport capacity type, and if so, determining whether the transport capacity type of the package to be detected is consistent with the specified transport capacity type;
[0055] S22: If they are inconsistent, it is determined that there is a change in the transportation capacity type of the package to be detected, and the transportation capacity type of the package to be detected is corrected according to the specified transportation capacity type.
[0056] In this embodiment, the security inspection system can extract the site information, flow information, timeliness information, etc. of the package from the security inspection image. The security inspection system can traverse the real-time change information of the route and the temporary dispatching instructions of the site according to the site information, flow information and timeliness information of the package, and detect whether the package has a specified capacity type. In the case of a specified capacity type for a package, it can be determined whether the capacity type of the package is consistent with the specified capacity type. If not, it is determined that there is a change in the capacity type of the package, and then the capacity type of the package is corrected according to the specified capacity type, so that the capacity type of the package is consistent with the specified capacity type. For example, suppose that a temporary dispatching instruction received by the security inspection system is that a certain event will be held in area A from June 11, 2023 to June 20, 2023, and the designated capacity type of the package flowing into area A during this period is air transportation. The current date is June 13, 2023, and a package will be transported from area B to area A by road on June 14, 2023, and is scheduled to enter area A on June 17, 2023. At this time, based on the site information, flow information, and timeliness information of the package, it can be determined that the package has a specified capacity type, among which the specific specified capacity type is air transportation. Since the initial planned capacity type of the package is road transportation, which is different from the specified capacity type, it can be determined that the capacity type of the package has changed. At this time, the capacity type of the package can be corrected from road transportation to air transportation to ensure that the capacity type of the package is consistent with the specified capacity type.
[0057] It is understandable that the initially planned transport capacity type is obtained by querying the associated system, such as the security inspection system of the previous transfer station of the package, or the transport capacity dispatching system, etc. The designated transport capacity type can be obtained by querying the real-time routing information and temporary dispatching information.
[0058] In some embodiments of this application, please refer to Figure 3 , Figure 3 This is a flowchart of the first method for implementing security inspection of a package in the package inspection method provided in the embodiment of the present application. Figure 3 As shown, it may specifically include steps S31 to S33.
[0059] S31: Obtaining the category information and flow direction information of the package to be detected;
[0060] S32: judging whether the package to be detected meets the first category filtering condition according to the category information and the flow direction information; if the package to be detected meets the first category filtering condition, obtaining a first detection confidence threshold corresponding to the transport capacity type of the package to be detected from the first category filtering condition according to the category information, and performing security detection processing on the package to be detected;
[0061] S33: When it is detected that the confidence value of the package to be detected is greater than the first detection confidence threshold, the package to be detected is determined to be a prohibited package, and the package to be detected is pushed into manual re-judgment processing.
[0062] In this embodiment, the security inspection image of the package is obtained by the edge-side security inspection machine, and then the cloud side extracts information from the security inspection image of the package to obtain the category information of the package. Exemplarily, the categories of the package can be divided according to the consumer's clothing, food, housing, use, and transportation, including but not limited to food, clothing, shoes and hats, daily necessities, furniture, household appliances, textiles, hardware and electrical materials, kitchen utensils, etc. Alternatively, the categories of the package can be divided according to the packaging type, including but not limited to cartons, soft bags, woven bags, foam boxes, turnover boxes, letters, etc. In this embodiment, the first category filtering condition is a category filtering condition set according to the package flow direction, which defines whether the category is prohibited under different transport types for certain flows. The first category filtering condition can be targeted at certain special flows, and different prohibited categories can be configured for different flows, and the corresponding detection confidence thresholds under different transport types are set for the categories to measure whether the package is prohibited. Specifically, the category configuration dimensions of the first category filtering condition are site and flow direction. Based on the logistics site, the prohibited categories of each flow direction of the logistics site are set, which can be understood as establishing a correspondence between the flow direction and the prohibited categories for the logistics site, wherein one flow direction can correspond to one or more prohibited categories. In this embodiment, after obtaining the category information and flow direction information of the package to be detected, the correspondence between the flow direction and the prohibited categories of the logistics site where the package to be detected is currently located can be queried based on the category information and flow direction information, and whether the correspondence between the flow direction and the prohibited categories contains the flow direction of the package to be detected. If so, then the correspondence between the flow direction and the prohibited categories is searched to see whether the prohibited category set corresponding to the flow direction contains the category of the package to be detected. If so, it is determined that the package to be detected meets the first category filtering condition. When the package to be detected meets the first category filtering condition, the first detection confidence threshold corresponding to the capacity type of the package to be detected can be obtained from the first category filtering condition according to the category, and then the package can be subjected to safety detection according to the first detection confidence threshold. Through AI pre-judgment detection, when the confidence value of the package to be detected is greater than the first detection confidence threshold, the package to be detected is determined to be a prohibited package. At this time, the prohibited package can be pushed to the manual re-judgment link to realize manual re-judgment of the prohibited package.
[0063] In some embodiments of this application, please refer to Figure 4 , Figure 4 This is a flowchart of the second method for implementing security detection of a package in the package detection method provided in the embodiment of the present application. Figure 4As shown, it may specifically include steps S41 to S43.
[0064] S41: Obtaining the category information and sorting line information of the package to be inspected;
[0065] S42: judging whether the package to be detected meets the second category filtering condition according to the category information and the sorting line information; if the package to be detected meets the second category filtering condition, obtaining a second detection confidence threshold corresponding to the transport capacity type of the package to be detected from the second category filtering condition according to the category information, and performing security detection processing on the package to be detected;
[0066] S43: When it is detected that the confidence value of the package to be detected is greater than the second detection confidence threshold, the package to be detected is determined to be a prohibited package, and the package to be detected is pushed into manual re-judgment processing.
[0067] In this embodiment, the second category filtering condition is a category filtering condition set according to the logistics network point, which defines whether the category is prohibited under different transport types for certain network points. The second category filtering condition can be targeted at certain special network points, so that different network points are configured with different prohibited categories, and the detection confidence threshold corresponding to different transport types is set for the category to measure whether the package is prohibited. In this embodiment, for a prohibited category, the priority of the first category filtering condition is greater than the priority of the second category filtering condition, that is, only when the prohibited category is not configured in the first category filtering condition, the prohibited category will take effect in the second category filtering condition. Specifically, the category configuration dimensions of the second category filtering condition are site and sorting line, and the prohibited categories corresponding to different network points are determined by the sorting line. It can be understood that one network point can correspond to one or more prohibited categories. In addition, the detection confidence threshold corresponding to different transport types is set for the category to measure whether the package is prohibited. In this embodiment, after obtaining the category information and sorting line information of the package to be detected, the corresponding relationship between the sorting line and the prohibited category of the logistics site where the package to be detected is currently located can be queried according to the category information and the sorting line information, and whether the sorting line of the package to be detected is included in the corresponding relationship between the sorting line and the prohibited category, if yes, then find whether the prohibited category set corresponding to the sorting line in the corresponding relationship between the sorting line and the prohibited category contains the category of the package to be detected, if yes, then judge that the package to be detected meets the second category filtering condition. In the case that the package to be detected meets the second category filtering condition, the second detection confidence threshold corresponding to the capacity type of the package to be detected can be obtained from the second category filtering condition according to the category, and then the package is subjected to security detection processing according to the second detection confidence threshold. Through AI pre-judgment detection, when the confidence value of the package to be detected is greater than the second detection confidence threshold, it is determined that the package to be detected is a prohibited package. At this time, the prohibited package can be pushed to the manual re-judgment link to realize manual re-judgment processing of the prohibited package.
[0068] In some specific embodiments, when performing AI pre-judgment detection, if the confidence level of the package to be detected given by AI is lower than the configured reference confidence level (the first detection confidence level threshold or the second detection confidence level threshold), it will be removed from the AI calculation result. If the category of the package to be detected does not belong to the prohibited category under the transportation capacity type corresponding to the package to be detected, the package to be detected will also be removed. After relevant removal and sorting, the number of packages entering manual re-judgment can be reduced, reducing the labor input cost.
[0069] In some embodiments of this application, please refer to Figure 5 , Figure 5 This is a flowchart of a third method for implementing security inspection of a package in the package inspection method provided in the embodiment of the present application. Figure 5 As shown, it may specifically include step S51 to step S52.
[0070] S51: Obtaining the flow direction information of the package to be detected;
[0071] S52: judging whether the package to be inspected meets the first re-judgment condition according to the flow direction information, and if so, pushing the package to be inspected to enter manual re-judgment processing.
[0072] In this embodiment, the flow direction of the package is specifically represented by the site information of the transfer site to which the package will be sent next. The first re-judgment condition is set as a flow screening condition, with the site and flow direction as the configuration dimensions. For different logistics sites, the site-corresponding flow directions that need to be manually re-judged are configured to screen out the packages with the flow directions that need to be manually re-judged, so as to push the packages of these flow directions to the manual re-judgment link to realize the manual re-judgment processing of the packages. It can be understood that one site can be configured with one or more flow directions that need to be manually re-judged. Specifically, when performing a security inspection on a package, the flow direction information of the package to be inspected can be obtained, and the flow direction information of the package to be inspected can be compared with the flow direction configured in the first re-judgment condition to determine whether the flow direction of the package to be inspected is the flow direction configured in the first re-judgment condition. If so, it is determined that the package to be inspected meets the first re-judgment condition. At this time, the package can be pushed into the manual re-judgment link for manual re-judgment processing. Through this embodiment, only parcels with certain special flows can be pushed for manual re-verification, and other flows are not pushed, thereby reducing the number of parcels entering manual re-verification and reducing labor input costs.
[0073] In some embodiments of this application, please refer to Figure 6 , Figure 6 This is a flowchart of a fourth method for implementing security inspection of a package in the package inspection method provided in the embodiment of the present application. Figure 6 As shown, it may specifically include step S61 to step S62.
[0074] S61: Obtaining the flow direction information of the package to be detected;
[0075] S62: judging whether the package to be inspected meets the second re-judgment condition according to the flow direction information, and if so, intercepting the package to be inspected and entering manual re-judgment processing.
[0076] In this embodiment, the second re-judgment condition is set as a flow direction filtering condition, which also uses the site and flow direction as the configuration dimensions. Contrary to the first re-judgment condition, for different logistics sites, the site-corresponding flow direction that does not require manual re-judgment is configured to filter out packages that do not require manual re-judgment. It is understandable that one site can be configured with one or more flow directions that do not require manual re-judgment. Specifically, when performing a security inspection on a package, the flow direction information of the package to be inspected can be obtained, and the flow direction information of the package to be inspected can be compared with the flow direction configured in the second re-judgment condition to determine whether the flow direction of the package to be inspected is the flow direction configured in the second re-judgment condition. If so, it is determined that the package to be inspected meets the second re-judgment condition. At this time, the package can be intercepted to prevent the package from entering the manual re-judgment link. Through this embodiment, packages with certain flow directions can be filtered out, thereby reducing the number of packages entering manual re-judgment and reducing labor input costs.
[0077] In some embodiments of this application, please refer to Figure 7 , Figure 7 This is a flowchart of the fifth method for implementing security detection of a package in the package detection method provided in the embodiment of the present application. Figure 7 As shown, it may specifically include step S71 to step S72.
[0078] S71: Obtaining the flow direction information and timeliness information of the package to be detected;
[0079] S72: judging whether the package to be inspected meets the third re-judgment condition according to the flow direction information, timeliness information and transportation type of the package to be inspected; if the package to be inspected meets the third re-judgment condition, pushing the package to be inspected into manual re-judgment processing.
[0080] In this embodiment, the third re-judgment condition can be set with the site, flow direction, capacity type and timeliness as the configuration dimensions to implement manual re-judgment processing for packages of a certain flow direction and capacity type within the validity period, so as to meet the temporary regulatory requirements set when some cities hold large-scale events and large-scale competitions within a specific time. Specifically, the third re-judgment condition corresponding to the site can be configured for different logistics sites, and the third re-judgment condition includes effective time information, flow direction information and capacity type information. It can be understood that a site can be configured with one or more third re-judgment conditions. Specifically, when conducting a security inspection on a package, the flow direction information, timeliness information and capacity type information of the package to be inspected can be obtained, and the flow direction information, timeliness information and capacity type information of the package to be inspected can be compared with the flow direction, effective time and capacity type configured in the third re-judgment condition to determine whether the flow direction of the package to be inspected is consistent with the flow direction configured in the third re-judgment condition, whether the timeliness of the package to be inspected is within the effective time configured in the third re-judgment condition, and whether the capacity type of the package to be inspected is consistent with the capacity type configured in the third re-judgment condition. If so, it is determined that the package to be inspected meets the third re-judgment condition. At this time, the package can be pushed into the manual re-judgment link for manual re-judgment processing, so as to realize manual re-judgment processing for packages of a certain flow direction and a certain capacity type within the validity period, so as to meet the temporary regulatory requirements set when some cities hold large-scale activities and large-scale events within a specific time.
[0081] In some embodiments of this application, please refer to Figure 8 , Figure 8 This is a flowchart of the sixth method for implementing security detection of a package in the package detection method provided in the embodiment of the present application. Figure 8 As shown, it may specifically include step S81 to step S82.
[0082] S81: Obtaining the deployment status of the security inspection machine corresponding to the package to be inspected;
[0083] S82: judging whether the package to be inspected meets the fourth re-judgment condition according to the deployment status of the security inspection machine, and pushing the package to be inspected into manual re-judgment processing if the package to be inspected meets the fourth re-judgment condition.
[0084] In this embodiment, the security inspection machine equipment will experience three security inspection machine deployment states from entry to delivery and operation, namely, being deployed, trial run, and delivered. In this embodiment, the fourth re-judgment condition can be set with the site and the security inspection machine deployment state as the configuration dimension, so that it can be flexibly configured whether to push the package for manual re-judgment processing according to the device state. Specifically, for different sites, the fourth re-judgment condition corresponding to the site is configured, and the fourth re-judgment condition contains a security inspection machine deployment state information, that is, one of the three security inspection machine deployment states of being deployed, trial run, and delivered. Specifically, when performing security inspection on the package, the security inspection machine deployment state information corresponding to the package to be inspected can be obtained, and the security inspection machine deployment state corresponding to the package to be inspected can be compared with the security inspection machine deployment state configured in the fourth re-judgment condition to determine whether the security inspection machine deployment state of the package to be inspected is consistent with the security inspection machine deployment state configured in the fourth re-judgment condition. If so, it is determined that the package to be inspected meets the fourth re-judgment condition. At this time, the package can be pushed into the manual re-judgment link for manual re-judgment processing.
[0085] In some embodiments of the present application, the fifth re-judgment condition can be set with the site and capacity type as the configuration dimensions, so that it can be flexibly configured according to the capacity type whether to push the package for manual re-judgment processing. Specifically, for different sites, a fourth re-judgment condition corresponding to the site is configured, and the fourth re-judgment condition contains capacity type information. When performing a security inspection on a package, it is possible to obtain the deployment status information of the security inspection machine corresponding to the package to be inspected, and compare the capacity type of the package to be inspected with the capacity type configured in the fifth re-judgment condition to determine whether the capacity type configured in the fifth re-judgment condition contains the capacity type of the package to be inspected. If so, it is determined that the package to be inspected meets the fifth re-judgment condition. At this time, the package can be pushed into the manual re-judgment link for manual re-judgment processing.
[0086] In some embodiments of this application, please refer to Fig. 9 , Fig. 9 This is a flowchart of the seventh method for implementing security inspection of a package in the package inspection method provided in the embodiment of the present application. Fig. 9 As shown, it may specifically include step S91 to step S92.
[0087] S91: Obtaining routing information of the package to be detected;
[0088] S92: judging whether the package to be detected is an air-dropped package according to the routing information; if the package to be detected is an air-dropped package, intercepting the package to be detected and entering manual re-judgment processing.
[0089] In this embodiment, corresponding security inspection rules can be configured for air-landed packages, and air-landed packages can be intercepted and sent to manual re-judgment processing. Specifically, the routing information of the package to be inspected can be obtained, and it can be determined whether the package to be inspected has been through an air take-off and an air landing according to the routing information. If so, the package to be inspected is determined to be an air-landed package, and at this time, the package to be inspected is intercepted and sent to manual re-judgment processing.
[0090] In some embodiments of this application, please refer to Fig.10 , Fig.10 This is a flowchart of the eighth method for implementing security detection of a package in the package detection method provided in the embodiment of the present application. Fig.10 As shown, it may specifically include step S101 to step S102.
[0091] S101: Acquire the sorting line information of the package to be detected;
[0092] S102: judging whether the package to be detected meets the aviation pre-interception condition according to the sorting line information, and intercepting the package to be detected if the package to be detected meets the aviation pre-interception condition.
[0093] In this embodiment, for the aviation pre-site, after the package passes the security inspection of the aviation pre-site, it will directly enter the security inspection of the airport. The time and inspection requirements are more stringent, and it is easy to push the manual re-judgment too late. In this embodiment, for the aviation pre-site, the aviation pre-interception conditions that meet the aviation pre-site can be configured with the sorting line as the configuration dimension. Specifically, by obtaining the sorting line information of the package to be detected, by comparing the sorting line of the package to be detected with the sorting line configured in the aviation pre-interception conditions, it is determined whether the sorting line configured in the aviation pre-interception conditions contains the sorting line of the package to be detected. If so, it is determined that the package to be detected meets the aviation pre-interception conditions. At this time, the package to be detected is intercepted, and then according to the scenario, the package to be detected can be selected for reflow re-judgment or unpacking confirmation.
[0094] In some embodiments of the present application, the combination package filtering conditions can be set based on the site and sorting line as the configuration dimensions, and the package to be detected can be judged whether it is a combination package according to the sorting line information of the package to be detected. If the package to be detected is a combination package, the package to be detected is intercepted and enters the manual re-judgment process. Through this embodiment, some combination packages can be filtered out, thereby reducing the number of packages entering the manual re-judgment and reducing the labor input cost.
[0095] In some embodiments of the present application, a reminder function can also be set. Specifically, according to dimensions such as capacity type, flow direction, and sorting line, it is possible to provide key reminders for packages of certain special capacity types, certain special flow directions, or certain special sorting lines, to indicate that these packages need attention.
[0096] It is understandable that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0097] In some embodiments of this application, please refer to Fig.11 , Fig.11 This is a basic structural block diagram of a package detection device provided in an embodiment of the present application. The various units included in the device in this embodiment are used to execute the various steps in the above method embodiment. For details, please refer to the relevant description in the above method embodiment. For ease of explanation, only the parts related to this embodiment are shown. Fig.11 As shown, the package detection device includes: an acquisition module 111, a determination module 112 and a detection module 113. Among them: the acquisition module 111 is used to obtain the logistics site information and the transportation capacity type of the package to be detected. The determination module 112 is used to determine the security inspection rules of the package to be detected according to the logistics site information and the transportation capacity type of the package to be detected. The detection module 113 is used to perform security inspection on the package to be detected according to the security inspection rules.
[0098] It should be understood that the above-mentioned package detection device corresponds one-to-one with the above-mentioned package detection method, and will not be described in detail here.
[0099] In some embodiments of this application, please refer to Fig.12 , Fig.12 This is a basic structural block diagram of an electronic device provided in an embodiment of the present application. Fig.12 As shown, the electronic device 12 of this embodiment includes: a processor 121, a memory 122, and a computer program 123 stored in the memory 122 and executable on the processor 121, such as a program of a package detection method. When the processor 121 executes the computer program 123, the steps in each embodiment of the above-mentioned package detection method are implemented. Alternatively, when the processor 121 executes the computer program 123, the functions of each module in the embodiment corresponding to the above-mentioned package detection device are implemented. Please refer to the relevant description in the embodiment for details, which will not be repeated here.
[0100] Exemplarily, the computer program 123 may be divided into one or more modules (units), which are stored in the memory 122 and executed by the processor 121 to complete the present application. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 123 in the electronic device 12. For example, the computer program 123 may be divided into an acquisition module, a determination module, and a detection module, and the specific functions of each module are as described above.
[0101] The electronic device may include, but is not limited to, a processor 121 and a memory 122. Those skilled in the art will appreciate that Fig.12 It is only an example of the electronic device 12 and does not constitute a limitation of the electronic device 12. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.
[0102] The processor 121 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0103] The memory 122 may be an internal storage unit of the electronic device 12, such as a hard disk or memory of the electronic device 12. The memory 122 may also be an external storage device of the electronic device 12, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 12. Further, the memory 122 may also include both an internal storage unit of the electronic device 12 and an external storage device. The memory 122 is used to store the computer program and other programs and data required by the electronic device. The memory 122 may also be used to temporarily store data that has been output or is to be output.
[0104] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0105] The embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned various method embodiments can be implemented. In this embodiment, the computer-readable storage medium can be non-volatile or volatile.
[0106] An embodiment of the present application provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0107] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned device can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0108] If the integrated module / 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 present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0109] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0110] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A package detection method, characterized in that: include: Obtain logistics site information and the type of transport capacity of the package to be tested; Determine the security inspection rules for the package to be inspected according to the logistics site information and the transport capacity type of the package to be inspected; According to the security inspection rules, the package to be inspected is subjected to security inspection.
2. The package detection method according to claim 1, characterized in that: Before the step of determining the security inspection rules of the package to be inspected according to the logistics site information and the transport capacity type of the package to be inspected, the method further includes: Monitor whether the transport capacity type of the package to be detected has changed, and if the transport capacity type of the package to be detected has changed, correct the transport capacity type of the package to be detected.
3. The package detection method according to claim 2, characterized in that: The step of monitoring whether the transport capacity type of the package to be detected has changed, and correcting the transport capacity type of the package to be detected when the transport capacity type of the package to be detected has changed, comprises: Monitoring whether the package to be detected has a specified capacity type, and if so, determining whether the capacity type of the package to be detected is consistent with the specified capacity type; If they are inconsistent, it is determined that there is a change in the capacity type of the package to be detected, and the capacity type of the package to be detected is corrected according to the specified capacity type.
4. The package detection method according to any one of claims 1 to 3, characterized in that: The step of performing security inspection on the package to be inspected according to the security inspection rule comprises: Obtaining category information and flow direction information of the package to be detected; According to the category information and the flow direction information, determine whether the package to be detected meets the first category filtering condition. If the package to be detected meets the first category filtering condition, obtain a first detection confidence threshold corresponding to the transport capacity type of the package to be detected from the first category filtering condition according to the category information, and perform security detection processing on the package to be detected; When it is detected that the confidence value of the package to be detected is greater than the first detection confidence threshold, the package to be detected is determined to be a prohibited package, and the package to be detected is pushed into manual re-judgment processing.
5. The package detection method according to any one of claims 1 to 3, characterized in that: The step of performing security inspection on the package to be inspected according to the security inspection rule comprises: Obtaining category information and sorting line information of the package to be inspected; According to the category information and the sorting line information, determine whether the package to be detected meets the second category filtering condition. If the package to be detected meets the second category filtering condition, obtain a second detection confidence threshold corresponding to the transport capacity type of the package to be detected from the second category filtering condition according to the category information, and perform security detection processing on the package to be detected; When it is detected that the confidence value of the package to be detected is greater than the second detection confidence threshold, the package to be detected is determined to be a prohibited package, and the package to be detected is pushed into manual re-judgment processing.
6. The package detection method according to any one of claims 1 to 3, characterized in that: The step of performing security inspection on the package to be inspected according to the security inspection rule comprises: Obtaining flow direction information of the package to be detected; According to the flow direction information, it is determined whether the package to be inspected meets the first re-judgment condition. If so, the package to be inspected is pushed to enter manual re-judgment processing.
7. The package detection method according to any one of claims 1 to 3, characterized in that: The step of performing security inspection on the package to be inspected according to the security inspection rule comprises: Obtaining flow direction information of the package to be detected; According to the flow direction information, it is determined whether the package to be detected meets the second re-judgment condition. If it does, the package to be detected is intercepted and enters manual re-judgment processing.
8. The package detection method according to any one of claims 1 to 3, characterized in that: The step of performing security inspection on the package to be inspected according to the security inspection rule comprises: Obtaining flow direction information and timeliness information of the package to be inspected; According to the flow direction information, timeliness information and transportation capacity type of the package to be inspected, it is judged whether the package to be inspected meets the third re-judgment condition. If the package to be inspected meets the third re-judgment condition, the package to be inspected is pushed into manual re-judgment processing.
9. The package detection method according to any one of claims 1 to 3, characterized in that: The step of performing security inspection on the package to be inspected according to the security inspection rule comprises: Obtaining the security inspection machine deployment status corresponding to the package to be inspected; According to the deployment status of the security inspection machine, it is determined whether the package to be inspected meets the fourth re-judgment condition. If the package to be inspected meets the fourth re-judgment condition, the package to be inspected is pushed into manual re-judgment processing.
10. The package detection method according to any one of claims 1 to 3, characterized in that: The step of performing security inspection on the package to be inspected according to the security inspection rule comprises: According to the transport capacity type of the package to be detected, it is determined whether the package to be detected meets the fifth re-judgment condition. If the package to be detected meets the fifth re-judgment condition, the package to be detected is pushed into manual re-judgment processing.
11. The package detection method according to any one of claims 1 to 3, characterized in that: The step of performing security inspection on the package to be inspected according to the security inspection rule comprises: Obtaining routing information of the package to be detected; According to the routing information, it is determined whether the package to be detected is an air-landed package. If the package to be detected is an air-landed package, the package to be detected is intercepted and entered into manual re-judgment processing.
12. The package detection method according to any one of claims 1 to 3, characterized in that: The step of performing security inspection on the package to be inspected according to the security inspection rule comprises: Obtaining sorting line information of the package to be detected; According to the sorting line information, it is determined whether the package to be detected meets the aviation pre-interception conditions. If the package to be detected meets the aviation pre-interception conditions, the package to be detected is intercepted.
13. The package detection method according to any one of claims 1 to 3, characterized in that: The step of performing security inspection on the package to be inspected according to the security inspection rule comprises: It is determined whether the package to be detected is a combination package. If the package to be detected is a combination package, the package to be detected is intercepted and entered into manual re-judgment processing.
14. A package detection device, characterized in that: include: The acquisition module is used to obtain the logistics site information and the type of transportation capacity of the package to be tested; A determination module, used to determine the security inspection rules of the package to be detected according to the logistics site information and the transportation capacity type of the package to be detected; The detection module is used to perform a security detection on the package to be detected according to the security detection rules.
15. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 13 are implemented.
16. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 13 are implemented.