CN114913480A - Package detection method, device, system, controller and storage medium - Google Patents

Package detection method, device, system, controller and storage medium Download PDF

Info

Publication number
CN114913480A
CN114913480A CN202210608213.7A CN202210608213A CN114913480A CN 114913480 A CN114913480 A CN 114913480A CN 202210608213 A CN202210608213 A CN 202210608213A CN 114913480 A CN114913480 A CN 114913480A
Authority
CN
China
Prior art keywords
security
security inspection
detected
package
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210608213.7A
Other languages
Chinese (zh)
Inventor
付安洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Ruiying Technology Co ltd
Original Assignee
Hangzhou Ruiying Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Ruiying Technology Co ltd filed Critical Hangzhou Ruiying Technology Co ltd
Priority to CN202210608213.7A priority Critical patent/CN114913480A/en
Publication of CN114913480A publication Critical patent/CN114913480A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Biomedical Technology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Alarm Systems (AREA)
  • Burglar Alarm Systems (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

The embodiment of the invention provides a method, a device, a system, a controller and a storage medium for detecting a parcel, wherein the method comprises the following steps: acquiring a security inspection image of a package to be detected when the package passes through security inspection equipment; determining a target security inspection level corresponding to the target environment security information according to the target environment security information and a corresponding relation between preset environment security information and the security inspection level; and determining the security inspection result of the to-be-detected package based on the security inspection image by adopting the security inspection strategy corresponding to the target security inspection grade, wherein different security inspection strategies occupy different security inspection resources, and the higher the value of the target security inspection grade is, the more security inspection resources are occupied by package detection. By adopting the method, the security inspection strategy corresponding to the reasonable target security inspection level can be determined by utilizing the target environment security information, the security inspection can be carried out by reasonably utilizing security inspection resources, the security inspection can be directly completed by utilizing security inspection equipment in the security inspection scene with lower security inspection level, the rechecking is not needed, and the security inspection efficiency is improved.

Description

Package detection method, device, system, controller and storage medium
Technical Field
The invention relates to the technical field of security detection, in particular to a parcel detection method, a parcel detection device, a parcel detection system, a parcel detection controller and a storage medium.
Background
Airports, train stations and the like often require security detection of packages carried by personnel. Specifically, the package passing through the security inspection machine can be subjected to perspective imaging by utilizing perspective imaging technologies such as X-ray or CT (computed tomography), and then the security inspection machine can judge the obtained package image to determine whether the interior of the package contains illegal articles. The image judgment refers to the operation of recognizing and classifying the object image in the picture by a robot or a human.
Because the graph judgment accuracy of the security inspection machine cannot reach 100%, a composite manual graph judgment is still needed on the basis of the graph judgment of the security inspection machine. The security check machine can send the package image to the remote image judging platform for the detected package image suspected to contain the illegal article image, the staff can further judge the package image received by the remote image judging platform and send the picture difficult to judge to the rechecking platform through the remote image judging platform for further rechecking and unpacking processing, and the package security detection is completed.
Because the current map judging modes aiming at the parcel images all need to compound manual map judging, no matter whether a remote map judging platform is needed to further judge the map, the manual resources are required to be input, the manual resources can not be reasonably and compositely utilized, the manual resources are excessively consumed, and the safety inspection efficiency is too low.
Disclosure of Invention
The embodiment of the invention aims to provide a parcel detection method, a parcel detection device, a parcel detection system, a parcel detection controller and a parcel detection storage medium, so that security check resources are reasonably utilized and security check efficiency is improved. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a package detection method, where the method includes:
acquiring a security inspection image of a package to be detected when the package passes through security inspection equipment;
determining a target security inspection level corresponding to target environment security information according to the target environment security information and a corresponding relation between preset environment security information and security inspection levels, wherein the target environment security information is information capable of reflecting the security condition of the current region;
and determining the security inspection result of the to-be-detected package based on the security inspection image by adopting the security inspection strategy corresponding to the target security inspection grade, wherein different security inspection strategies occupy different security inspection resources, and the higher the value of the target security inspection grade is, the more security inspection resources need to be occupied by package detection.
In a second aspect, an embodiment of the present invention provides a package detection apparatus, where the apparatus includes:
the security check image acquisition module is used for acquiring a security check image of the package to be detected when the package to be detected passes through the security check equipment;
the security level determination module is used for determining a target security level corresponding to target environment security information according to the target environment security information and a corresponding relation between preset environment security information and security levels, wherein the target environment security information is information capable of reflecting the security condition of the current region;
and the security inspection result determining module is used for determining the security inspection result of the to-be-detected package based on the security inspection image by adopting the security inspection strategies corresponding to the target security inspection grade, wherein different security inspection strategies occupy different security inspection resources, and the higher the value of the target security inspection grade is, the more security inspection resources need to be occupied by package detection.
Optionally, the security level determination module is specifically configured to input the target environmental security information into a pre-trained security level determination model to obtain a target security level corresponding to the target environmental security information, where the security level determination model is obtained by training based on a plurality of sample environmental security information and a security level corresponding to each sample environmental security information, and the security level determination model is used to represent a corresponding relationship between the environmental security information and the security level.
In a third aspect, an embodiment of the present invention provides a package detection system, where the system includes:
the security inspection equipment is used for acquiring a security inspection image of the package to be detected;
the controller is used for acquiring a security inspection image when the package to be detected passes through the security inspection equipment; determining a target security inspection level corresponding to target environment security information according to the target environment security information and a corresponding relation between preset environment security information and security inspection levels, wherein the target environment security information is information capable of reflecting the security condition of the current region; and determining the security inspection result of the to-be-detected package based on the security inspection image by adopting the security inspection strategy corresponding to the target security inspection grade, wherein different security inspection strategies occupy different security inspection resources, and the higher the value of the target security inspection grade is, the more security inspection resources need to be occupied by package detection.
In a fourth aspect, an embodiment of the present invention provides a controller, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
a processor adapted to perform the method steps of any of the above first aspects when executing a program stored in the memory.
In a fifth aspect, the present invention provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method steps of any one of the above first aspects.
The embodiment of the invention has the following beneficial effects:
by adopting the method provided by the embodiment of the invention, the security inspection image of the package to be detected when the package passes through the security inspection equipment is obtained; determining a target security inspection level corresponding to the target environment security information according to the target environment security information and a corresponding relation between preset environment security information and the security inspection level; and determining the security inspection result of the to-be-detected package based on the security inspection image by adopting a security inspection strategy corresponding to the target security inspection grade. The corresponding target security inspection grade can be determined through the target environment security information, and then the package to be detected can be detected by adopting a security inspection strategy corresponding to the target security inspection grade. When the target environment safety information indicates that the safety condition of the current region is better, the target safety inspection level corresponding to the determined target environment safety information can be lower, and the safety inspection strategy corresponding to the target safety inspection level can be a safety inspection strategy without inputting re-inspection resources such as manual inspection and the like, namely, the package to be detected is detected only by using safety inspection equipment without re-inspection, so that the safety inspection efficiency is improved; when the target environment safety information indicates that the safety condition of the current area is poor, the target safety inspection level corresponding to the determined target environment safety information can be higher, and the safety inspection strategy corresponding to the target safety inspection level can be a safety inspection strategy needing to input re-inspection resources such as manual inspection and the like, namely, on the basis of detecting the package to be detected by utilizing the safety inspection equipment, the manual inspection and/or the re-inspection equipment can be compounded for re-inspection, so that the accuracy of a safety inspection result is ensured. That is to say, by adopting the method provided by the embodiment of the invention, the security inspection strategy corresponding to the reasonable target security inspection level can be determined by utilizing the target environment security information, the security inspection can be carried out by reasonably utilizing the security inspection resources, the security inspection can be directly completed by utilizing the security inspection equipment in the security inspection scene with lower security inspection level, the rechecking is not needed, and the security inspection efficiency is improved.
Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by referring to these drawings.
FIG. 1 is a flow chart of a package inspection method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a package inspection device according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a package inspection system according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another embodiment of a package inspection system according to the present invention;
fig. 5 is a schematic structural diagram of a controller according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived from the embodiments given herein by one of ordinary skill in the art, are within the scope of the invention.
Because the current map judging modes aiming at the parcel images all need to compound manual map judging, no matter whether a remote map judging platform is needed to further judge the map, the manual resources are required to be input, the manual resources can not be reasonably and compositely utilized, the manual resources are excessively consumed, and the safety inspection efficiency is too low. Therefore, in order to reasonably utilize security inspection resources and improve security inspection efficiency, embodiments of the present invention provide a package detection method, apparatus, system, controller, computer-readable storage medium, and computer program product.
The following first introduces a package detection method provided by the embodiment of the present invention. The parcel detection method provided by the embodiment of the invention can be applied to a controller in a parcel detection system, and the controller can be any electronic device with a security level determination function and an image processing function, and is not particularly limited herein.
Fig. 1 is a flowchart of a package inspection method according to an embodiment of the present invention, and as shown in fig. 1, the method includes:
s101, obtaining a security inspection image of the package to be detected when the package to be detected passes through security inspection equipment.
S102, determining a target security level corresponding to the target environment security information according to the target environment security information and the corresponding relation between the preset environment security information and the security level.
The target environment safety information is information capable of reflecting the safety condition of the current region.
S103, determining the security inspection result of the to-be-detected package based on the security inspection image by adopting a security inspection strategy corresponding to the target security inspection grade.
The security inspection resources occupied by different security inspection strategies are different, the higher the numerical value of the target security inspection grade is, the more security inspection resources need to be occupied by package detection, and the more complex the security inspection strategy corresponding to the target security inspection grade is.
The security inspection resources comprise equipment resources with a graph judging function and/or human resources needing to be invested. The equipment resources comprise security inspection equipment for locally detecting the security inspection image of the package to be detected and reinspection equipment for reinspecting the security inspection image. The rechecking equipment can comprise a rechecking table, a remote image judging terminal and the like.
By adopting the method provided by the embodiment of the invention, the security inspection image of the package to be detected when the package passes through the security inspection equipment is obtained; determining a target security inspection level corresponding to the target environment security information according to the target environment security information and a corresponding relation between preset environment security information and the security inspection level; and determining the security inspection result of the to-be-detected package based on the security inspection image by adopting a security inspection strategy corresponding to the target security inspection grade. And determining a corresponding target security inspection level according to the target environment security information, and further detecting the package to be detected by adopting a security inspection strategy corresponding to the target security inspection level. When the target environment safety information indicates that the safety condition of the current region is better, the target safety inspection level corresponding to the determined target environment safety information can be lower, and the safety inspection strategy corresponding to the target safety inspection level can be a safety inspection strategy without inputting re-inspection resources such as manual inspection and the like, namely, the package to be detected is detected only by using safety inspection equipment without re-inspection, so that the safety inspection efficiency is improved; when the target environment safety information indicates that the safety condition of the current area is poor, the target safety inspection level corresponding to the determined target environment safety information can be higher, and the safety inspection strategy corresponding to the target safety inspection level can be a safety inspection strategy needing to input re-inspection resources such as manual inspection and the like, namely, on the basis of detecting the package to be detected by utilizing the safety inspection equipment, the manual inspection and/or the re-inspection equipment can be compounded for re-inspection, so that the accuracy of a safety inspection result is ensured. That is to say, by adopting the method provided by the embodiment of the invention, the security inspection strategy corresponding to the reasonable target security inspection level can be determined by utilizing the target environment security information, the security inspection can be carried out by reasonably utilizing the security inspection resources, the security inspection can be directly completed by utilizing the security inspection equipment in the security inspection scene with lower security inspection level, the rechecking is not needed, and the security inspection efficiency is improved.
The method provided by the embodiment of the invention can be applied to security inspection scenes of entrances and exits of facilities such as airports, railways, museums and the like. The security check equipment can be an intelligent security check machine such as a security check door or a security check X-ray machine. The security inspection equipment can perform perspective imaging on the package to be detected passing through the security inspection equipment channel through the perspective imaging technology such as X-ray or CT and acquire a security inspection image of the package to be detected. The packages to be detected may be any items that pass through security equipment, such as luggage, handbags, and the like.
In the embodiment of the invention, the controller can acquire the target environment information of the current area once every preset period, and can also directly acquire the target environment information of the current area in the security inspection process.
The target environment safety information is information capable of reflecting the safety condition of the current region. Specifically, the target environment security information may include: and at least one of the proportion of illegal articles detected by the security inspection equipment in a preset period, the occurrence frequency of illegal events in the current area, the personnel flow density in the current area and the holding state information of preset activities in the current area. The target environment safety information may specifically include whether a significant emergency occurs in the current area.
In the embodiment of the invention, the security inspection equipment can count the ratio of the number of packages with illegal articles detected in the preset period to the number of all packages detected in the preset period, and the ratio is used as the ratio of illegal articles detected by the security inspection equipment in the preset period. In the embodiment of the invention, the security inspection equipment can also be connected with third-party equipment, and the occurrence frequency of the violation events in the current area, the personnel flow density of the current area, the holding state information of the preset activities in the current area and the like can be directly obtained from the third-party information equipment. The third party information device may be a large data processing device capable of accounting and processing the regional security status information.
The current region can be specifically divided according to actual application requirements, for example, the current region can be divided according to cities, for example, the current region is xx cities; it can also be divided into administrative areas in the city, for example, the current region is yy area in xx city.
The frequency of the violation events in the current area may specifically be an alarm rate of the current area, for example, the number of alarms per day in the current area is several on average. The people flow density in the current area can be the hourly people flow rate in the current area or the daily people flow rate in the current area. The preset event of the current area may include, but is not limited to, a major sports meeting event, a celebration event or a meeting, and the holding state information of the preset event of the current area is that the major event is being held, otherwise, the holding state information of the preset event of the current area is that the major event is not being held.
The preset period may be set according to an actual application scenario, and may be set to 24 hours or 36 hours, for example. The proportion of the illegal articles detected by the security inspection equipment in the preset period is as follows: in the preset period, the ratio of the number of illegal articles detected by the security inspection equipment to the number of all articles detected by the security inspection equipment is, for example, set to 24 hours in the preset period, and in 24 hours, the security inspection equipment detects 1000 articles in total, and if 10 articles in the 1000 articles detected are illegal articles, it may be determined that the proportion of the illegal articles detected by the security inspection equipment in the preset period is 10/1000-0.01.
The illegal article is an article which may affect the current safety condition of the area, for example, articles such as lighters, batteries, chemical solvents, and control tools are all articles which may affect the current safety condition of the area, and therefore, the articles can be determined as the illegal article. Specifically, in the embodiment of the present invention, the illegal item may be classified according to the degree of influence of the illegal item on the security condition of the area, where the higher the violation level is, the greater the degree of influence of the illegal item on the security condition of the area is.
Specifically, table 1 is a table for grading the illegal item provided in the embodiment of the present invention, and taking table 1 as an example, the embodiment of the present invention may classify the illegal item into four grades according to the degree of influence of the illegal item on the security condition of the area. For example, the illegal items with the first-level violation level may include daily necessities such as a mobile phone, a notebook computer, a battery, a sprinkler, an umbrella, a lighter, and the like; illegal articles with the violation level of two levels can comprise articles such as handcuffs, spontoons, electric shock devices and the like; illegal articles with the violation level of three levels can comprise articles such as tigers, scissors, controlled knives, guns and the like; illegal articles with the violation level of four can comprise chemical solvents, fireworks and crackers and the like. A higher violation level indicates a greater degree of influence of the violation item on the security condition of the area, and for example, a violation item chemical solvent with a violation level of four has a greater degree of influence on the security condition of the area than a violation item mobile phone with a violation level of one.
Table 1: the table for grading the illegal articles provided by the embodiment of the invention
Figure BDA0003671143090000061
In a possible implementation manner, the step of determining a target security level corresponding to the target environmental security information according to the target environmental security information and a corresponding relationship between preset environmental security information and security levels may include:
and inputting the target environment safety information into a pre-trained safety inspection grade determination model to obtain a target safety inspection grade corresponding to the target environment safety information.
The safety inspection grade determination model is obtained by training safety inspection grades corresponding to a plurality of sample environmental safety information and each sample environmental safety information, and is used for representing the corresponding relation between the environmental safety information and the safety inspection grades.
The security level determination model may be a neural network model obtained by training a neural network to be trained. For example, in the embodiment of the present invention, a plurality of sample environmental security information and a security level corresponding to each sample environmental security information may be used in advance to train a neural network to be trained, so as to obtain the security level determination model for representing a corresponding relationship between the environmental security information and the security level. The specific training steps may include the following steps A1-A3:
and step A1, inputting the sample environment safety information into the neural network to be trained to obtain the output predicted security level.
And A2, when the predicted security level does not accord with the security level corresponding to the sample environmental security information, adjusting network parameters related to the output predicted security level in the current neural network to be trained, and selecting new sample environmental security information to return to the step A1.
For example, sample environmental security information includes: sample environmental security information S1, sample environmental security information S2, sample environmental security information S3, and sample environmental security information S4. The sample environmental safety information S1 is the average alarm number of the sample area A per day of 100; the sample environmental safety information S2 is specifically the average alarm number per day of the sample area B of 200; the sample environmental safety information S3 is specifically the average alarm number per day of the sample area C of 300; the sample environmental safety information S4 is embodied as the average number of alarms per day 400 for the sample area D. The security levels corresponding to the sample environment security information S1, the sample environment security information S2, the sample environment security information S3, and the sample environment security information S4 are first, second, third, and fourth levels, respectively.
If the sample environment safety information S1 is input into the neural network to be trained to obtain an output predicted security level of two levels, and the predicted security level is not in accordance with the security level (first level) actually corresponding to the sample environment safety information S1, network parameters related to the output predicted security level in the current neural network to be trained need to be adjusted. And then selecting new sample environment safety information, for example selecting sample environment safety information S2, returning to step a1, and inputting the sample environment safety information S2 into the neural network to be trained after parameters are adjusted.
Step A3, determining whether the loss function of the current neural network to be trained is convergent, and if the loss function of the current neural network to be trained is convergent, determining that the current neural network to be trained is the security level determination model obtained by training.
The loss function may be a cross entropy loss function, an absolute value loss function, or the like, and is not limited in this respect.
In the embodiment of the invention, the security level determination model can be updated once every preset time period, and the preset time period can be set to be one week or two weeks and the like.
In another possible implementation manner, the step of determining the target security level corresponding to the target environmental security information according to the target environmental security information and the corresponding relationship between the preset environmental security information and the security level may further include:
and determining a target security level corresponding to the target environmental security information according to a predetermined corresponding relation table of the environmental security information and the security level.
Specifically, in the embodiment of the present invention, a correspondence table between the environmental security information and the security level may be pre-created, where table 2 is a correspondence table between the environmental security information and the security level provided in the embodiment of the present invention, and referring to table 2, the environmental security information includes: the alarm rate of the current area, the personnel flow density of the current area, the handling state information of the preset activities of the current area and the proportion of illegal articles detected by the security inspection equipment in a preset period (the preset period is set to be 24 hours). If the environmental safety information of the current region meets the following conditions: the alarm number is more than 300 and less than or equal to 400 every 24 hours, and/or the personnel flow density is less than or equal to 15 thousands of people every 24 hours, and/or the proportion of illegal articles detected by the security inspection equipment is less than or equal to 0.1 every 24 hours, and/or the corresponding security inspection grade is determined to be four levels if the current region is holding large-scale activities.
Table 2: the embodiment of the invention provides a corresponding relation table of environmental safety information and security level
Figure BDA0003671143090000081
In another possible implementation manner, the step of determining the target security level corresponding to the target environmental security information according to the target environmental security information and the corresponding relationship between the preset environmental security information and the security level may further include: and acquiring the security condition level of the current area from third-party equipment as a target security inspection level corresponding to the target environment security information.
Specifically, in the embodiment of the present invention, the controller may set various peripheral interfaces such as a network interface and a wifi (Wireless Fidelity, Wireless local area network), and connect with the third-party device through the peripheral interfaces, and obtain the security level of the current area from the third-party device, where the security level is used as the target security level corresponding to the target environment security information. The third-party device may be a device capable of determining a security level based on the environmental security information of the current region. The higher the safety condition level, i.e. the higher the security level of the current region.
In the embodiment of the invention, the controller can directly obtain the security level of the current area from the third-party equipment, can also determine the target security level corresponding to the target environmental security information according to the corresponding relation table of the predetermined environmental security information and the security level, and can also input the target environmental security information into a security level determination model trained in advance to obtain the target security level corresponding to the target environmental security information.
In the embodiment of the invention, the security level can comprise a first level, a second level, a third level, a fourth level and the like. Different security levels correspond to different security policies, different security resources occupied by the different security policies are different, the higher the security level is, the more complex the security policy corresponding to the security level is, and the more security resources need to be occupied by package detection. Table 3 is a table of correspondence between security level and security policy.
As shown in table 3, when the security level is one level, the corresponding security policy is: the package security check is directly carried out by a controller of the unattended local security check, namely, the local detection is carried out. Specifically, the controller may be a local intelligent image determination device, such as an image processing apparatus in a local intelligent security check machine.
When the security level is two-level, the corresponding security policy is as follows: the package detection is carried out by an unattended controller and reinspection equipment compounded with manual detection resources together. Specifically, when the security level is the second level, the corresponding reinspection device may be a local reinspection package opening and diagram judging device (such as an intelligent reinspection machine, or called an reinspection table), and the local reinspection package opening and diagram judging device may perform package opening and reinspection on the package by compounding the manual security inspection resources of the security inspector.
When the security level is three levels, the corresponding security policy is as follows: the package detection is carried out by an unattended controller, a remote graph judging device (or called as a remote graph judging terminal) compounded with manual detection resources and a local recheck package opening graph judging device compounded with the manual detection resources. Specifically, the remote image judging device can be a remote intelligent security check machine, and the remote image judging device can also judge whether the images of the illegal articles are contained in the security check images of the packages by combining human resources.
When the security level is four, the corresponding security policy is: the package detection is carried out by an unattended controller, a remote graph judging device (namely equivalent to a first remote graph judging terminal) compounded with manual detection resources, a graph judging center remote rechecking device (namely equivalent to a second remote graph judging terminal) compounded with the manual detection resources and a local rechecking package opening graph judging device (namely equivalent to a rechecking table) compounded with the manual detection resources. Specifically, the remote rechecking equipment of the image judging center can be an intelligent security check machine of the remote image judging center, and the remote image judging equipment of the image judging center can also be used for judging whether the images of illegal articles are contained in the security check images of the packages by combining human resources. In addition, the accuracy or reliability of the detection result of the remote rechecking device (corresponding to the second remote image judging terminal) in the image judging center can be higher than that of the remote image judging device (corresponding to the first remote image judging terminal), or the utilization priority of the first remote image judging terminal can be higher than that of the second remote image judging terminal, so that the reasonable and orderly utilization of the security inspection resources can be realized.
When the security level is N (N is more than 4), the corresponding security policy is as follows: the package detection is carried out by an unattended controller and N-1 rechecking devices together. The specific review device and the functions of the review device may be analogized according to the review device corresponding to the security level from the second level to the fourth level, which is not described herein again.
Wherein, intelligent security check machine can carry out perspective imaging through perspective imaging techniques such as X ray or CT to the parcel, and intelligent security check machine also has intelligent recognition picture function simultaneously, can automatic identification X-ray image down the illegal article.
The remote image judging terminal can be communicated with the local security inspection controller and the rechecking table, can receive the security inspection image sent by the controller to perform image recognition, detects whether the illegal article image exists in the security inspection image, and can send the security inspection image to the rechecking table to perform rechecking.
The reinspection package opening judgment device (called as an reinspection table) can further perform image recognition on security inspection images acquired by the front-end security inspection device, detect whether illegal object images exist in the security inspection images, and can combine manual resources (security inspectors) to open packages for real object detection and detect data retention.
Table 3: correspondence table of security level and security policy
Figure BDA0003671143090000101
In a possible embodiment, the step of determining the security inspection result of the parcel to be inspected based on the security inspection image by using the security inspection strategy corresponding to the target security inspection level may include the following steps B1-B3:
and step B1, when the target security level is one level, locally detecting the security image.
Specifically, the controller can identify the security inspection image and identify whether the security inspection image contains the illegal object.
And step B2, when detecting that the package to be detected does not contain preset illegal articles, determining that the security inspection result is a result indicating that the package to be detected can be released.
The preset offending items may include all offending items in table 1 having a violation level of one to four.
And step B3, when the package to be detected contains the preset illegal articles, determining that the security inspection result is a result indicating that the package to be detected needs to be intercepted.
Specifically, when any illegal item with one to four violation levels in table 1 is detected, the package to be detected can be directly intercepted.
It can be seen that, in this embodiment, when the target security inspection level is one level, the controller can identify and detect the security inspection image, directly obtain the security inspection result, and do not need composite artificial resources to re-inspect the parcel to be detected, so that not only is the investment of artificial security inspection resources reduced, but also the security inspection efficiency is improved.
In another possible embodiment, the step of determining the security check result of the package to be detected based on the security check image by using the security check policy corresponding to the target security check level may include the following steps C1-C4:
and step C1, when the target security inspection level is N level, locally detecting the security inspection image, wherein N is more than or equal to 2.
Specifically, the controller can identify the security inspection image and identify whether the security inspection image contains the illegal object.
And step C2, determining the violation level of the target violation item under the condition that the parcel to be detected contains the target violation item.
The violation level is determined in advance according to the influence degree of each article on the safety condition of the region, and the larger the value of the violation level is, the larger the influence degree of the article on the safety condition of the region is. In the embodiment of the present invention, the violation level of the violation article may be specifically divided into several levels, which may be set according to specific application requirements, as shown in table 1, the violation article may be divided into four levels in advance according to the influence degree of the violation article on the safety condition of the area, and the influence degrees of the violation articles from the first level to the fourth level on the safety condition of the area increase sequentially.
And step C3, if the violation level of the target violation item is first level, determining that the security inspection result is a result indicating that the package to be detected needs to be intercepted.
For example, referring to table 1 above, if the target illegal item is a mobile phone, the violation level of the target illegal item may be determined to be one level, and the controller may directly intercept the package to be detected.
And step C4, if the violation level of the target violation item is n, sending the security inspection image to a rechecking device to further determine the security inspection result of the to-be-detected package, wherein n is greater than or equal to 2, and the rechecking device comprises at least one of a rechecking table and a remote image judging terminal.
In this embodiment, the review station may be the local review package opening and judgment device shown in table 3. The remote graph judging terminal may include the remote graph judging device with human participation and/or the remote rechecking device of the graph judging center shown in table 3.
In a possible implementation manner, the level of the illegal item that can be detected by the security policy corresponding to the current security level does not exceed the current security level, so that the illegal level N of the target illegal item in this embodiment may be less than or equal to the target security level N.
In this embodiment, the step of sending the security inspection image to the reinspection device to further obtain the security inspection result of the package to be detected may include step D1:
step D1, when n is 2, sending the security inspection image to the rechecking table or the remote image judging terminal; when the package to be detected is further determined not to contain preset illegal articles, determining that the security inspection result is a result indicating that the package to be detected can be released; and when the to-be-detected package is further determined to contain the preset illegal article, determining that the security inspection result is a result indicating that the to-be-detected package needs to be intercepted.
That is to say, when the controller detects that the violation level of the target violation object is two-level, the controller may send the security inspection image to a re-inspection station or a remote image judging terminal, and the re-inspection station or the remote image judging terminal may detect the package to be detected based on the received security inspection image, and/or perform unpacking detection on the package to be detected by using a composite manual detection resource; when detecting that the package to be detected does not contain preset illegal articles, determining that a security inspection result is a result indicating that the package to be detected can be released; and when the to-be-detected package is detected to contain the preset illegal article, determining that the security inspection result is a result indicating that the to-be-detected package needs to be intercepted.
For example, referring to table 1 above, if the controller detects that the target illegal item is a shocker, it may be determined that the violation level of the target illegal item is two-level, and the controller needs to send the security inspection image to a review desk or a remote image judging terminal. The rechecking platform or the remote image judging terminal can detect the to-be-detected package based on the received security inspection image; when the re-inspection platform or the remote image judging terminal detects that the to-be-detected package does not contain any illegal articles in the first stage to the fourth stage in the table 1, the to-be-detected package can be directly released; when the package to be detected contains any illegal article from the first stage to the fourth stage in the table 1, the package to be detected can be directly intercepted by the rechecking table or the remote image judging terminal.
In this embodiment, the step of sending the security inspection image to a review device to further determine the security inspection result of the package to be detected may further include step E1:
step E1, when at least n is more than or equal to 3, sending the security inspection image to the remote image judging terminal so that the remote image judging terminal further detects the package to be detected based on the security inspection image, wherein the remote image judging terminal comprises a first remote image judging terminal and/or a second remote image judging terminal; when the package to be detected further comprises an illegal article which cannot be distinguished by the remote image judging terminal, the package to be detected specifically comprises an illegal article which cannot be distinguished by at least one of the first remote image judging terminal and the second remote image judging terminal, or the package to be detected comprises an illegal article which cannot be distinguished by both the first remote image judging terminal and the second remote image judging terminal (specifically, the illegal article can be determined according to the security inspection requirement), and the security inspection image is sent to the re-inspection table through a controller of local security inspection or the remote image judging terminal so as to detect the package to be detected again; the security check image sent to the review station may be sent by a remote image judging terminal or sent by a local security check controller, which is not specifically limited in this embodiment of the present application.
When the package to be detected is detected again and determined not to contain the preset illegal articles, determining that the security inspection result is a result indicating that the package to be detected can be released;
and when the package to be detected is detected again and determined to contain the illegal articles which can be distinguished by the re-inspection platform, determining the security inspection result as a result indicating that the package to be detected needs to be intercepted.
Specifically, in this embodiment, the illegal object that cannot be determined by the remote image determining terminal is: the violation level is the number of layers of the remote graph judging terminal in the detection chain and is not higher than N. The illegal article which can be distinguished by the reinspection platform is as follows: the violation level is the number of illegal articles which is not higher than the level number of the rechecking table in the detection chain.
Wherein, detect the chain and can include in proper order: the controller, the first reinspection device, the second reinspection device, … … the nth-1 reinspection device and the nth reinspection device. If the remote graph judging terminal is the second rechecking device in the detection chain, the level number of the layer where the remote graph judging terminal is located in the detection chain is 3, if the remote graph judging terminal is the third rechecking device in the detection chain, the level number of the layer where the remote graph judging terminal is located in the detection chain is 4, and the like, the level number of the layer where the rechecking device is located in the detection chain is the sum of the level number of the rechecking device and 1.
Said step E1 further includes: after the remote image judging terminal detects the package to be detected based on the security inspection image, when the package to be detected does not contain preset illegal articles, determining that a security inspection result is a result indicating that the package to be detected can be released; and when the parcel to be detected contains the illegal articles which can be distinguished by the remote picture distinguishing terminal, determining a security inspection result as a result representing that the parcel to be detected needs to be intercepted.
The step E1 may further include: when the reinspection platform further detects that the to-be-detected package contains the illegal articles which cannot be distinguished by the reinspection platform, the security inspection image is sent to next reinspection equipment so as to detect the to-be-detected package again until the next reinspection equipment is nth-level reinspection equipment.
For example, if the remote map determining terminal includes a first remote map determining terminal, when N is 3, that is, when the target security inspection level is three levels, and when the target illegal item detected by the controller is scissors (the illegal level N of the target illegal item is 3), the controller may send the security inspection image to the first remote map determining terminal, and the first remote map determining terminal may detect the package to be detected based on the security inspection image.
When the first remote image judging terminal detects that the package to be detected does not contain any preset illegal article, the security inspection result can be determined as a result indicating that the package to be detected can be released, and the package to be detected can be released directly. When the first remote image judging terminal detects that the package to be detected contains the illegal articles with the violation level of one level or two levels, the security inspection result can be determined as a result indicating that the package to be detected needs to be intercepted, and then the package to be detected can be directly intercepted. When the first remote image judging terminal detects that the to-be-detected package contains the illegal articles with the violation levels of three levels, the security inspection image can be sent to the re-inspection table, so that the re-inspection table can detect the to-be-detected package based on the security inspection image.
When the reinspection platform detects that the to-be-detected package does not contain any illegal article, the security inspection result can be determined as a result indicating that the to-be-detected package can be released, and the to-be-detected package can be released directly.
When the reinspection platform detects that the parcel to be detected contains illegal articles with violation levels of first, second or third, the security inspection result is determined to be a result indicating that the parcel to be detected needs to be intercepted, and then the parcel to be detected can be directly intercepted. Generally, the level number of the illegal articles cannot be higher than the target security level, nor the number of the detection devices in the security chain, and since the next reinspection device of the reinspection platform is the fourth detection device in the detection chain, the reinspection platform no longer sends a security image to the fourth reinspection device.
For another example, if the remote map determining terminal includes a first remote map determining terminal and a second remote map determining terminal, when N is 4, that is, the target security inspection level is four, and when the target illegal substance detected by the controller is a chemical solvent (the illegal level N of the target illegal substance is 4), the controller may send the security inspection image to the first remote map determining terminal, and the first remote map determining terminal may detect the package to be detected based on the security inspection image.
When the first remote image judging terminal detects that the package to be detected does not contain any preset illegal article, the security inspection result can be determined as a result indicating that the package to be detected can be released, and the package to be detected can be released directly. When the first remote image judging terminal detects that the package to be detected contains the illegal articles with the violation level of one level or two levels, the security inspection result can be determined as a result indicating that the package to be detected needs to be intercepted, and then the package to be detected can be directly intercepted. When the first remote image judging terminal detects that the package to be detected contains the illegal articles with the violation levels of three levels, the security inspection image can be sent to the second remote image judging terminal, so that the second remote image judging terminal detects the package to be detected based on the security inspection image. The security check image sent to the second remote image judging terminal may be sent by the first remote image judging terminal, or may be sent by a controller of local security check, which is not specifically limited in this embodiment of the application.
When the second remote image judging terminal detects that the package to be detected does not contain any illegal article, the security inspection result can be determined as a result indicating that the package to be detected can be released, and the package to be detected can be released directly.
When the second remote image judging terminal detects that the package to be detected contains illegal articles with violation levels of first, second or third levels, the security inspection result is determined to be a result indicating that the package to be detected needs to be intercepted, and then the package to be detected can be directly intercepted.
When the second remote image judging terminal detects that the package to be detected contains the illegal articles with the violation level of four, the step of sending the security inspection image to the next-stage reinspection equipment can be returned, that is, the security inspection image can be sent to the reinspection platform, so that the reinspection platform detects the package to be detected based on the security inspection image. The security check image sent to the review station may be sent by the second remote image judging terminal, or may be sent by the controller of the local security check, which is not specifically limited in this embodiment of the application.
When the reinspection platform detects that the to-be-detected package does not contain any illegal article, the security inspection result can be determined as a result indicating that the to-be-detected package can be released, and the to-be-detected package can be released directly.
When the reinspection platform detects that the parcel to be detected contains illegal articles with violation levels of first, second, third or fourth levels, the security inspection result is determined to be a result indicating that the parcel to be detected needs to be intercepted, and the parcel to be detected can be directly intercepted. Because the next-stage reinspection equipment of the reinspection platform is the fifth detection reinspection equipment in the security check chain, and the number of the five reinspection equipment is greater than the target security check grade, the reinspection platform does not send a security check image to the fifth reinspection equipment any more.
The first remote graph judging terminal may be a remote graph judging device (manual participation) shown in table 3, the second remote graph judging terminal may be a graph judging center remote rechecking device (manual participation) shown in table 3, and the rechecking station may be a local rechecking packet judging device (manual participation) shown in table 3. The reinspection equipment can perform reinspection on the packages to be detected by combining with the manual security inspection resources so as to improve the security inspection accuracy.
When the target security inspection level is three levels, the first remote image judging terminal can be selected as the remote image judging terminal in the corresponding security inspection strategy. When the target security inspection level is three levels, a first remote image judging terminal and a second remote image judging terminal can be selected from the corresponding security inspection strategies to be used as the remote image judging terminals together, the utilization priority of the first remote image judging terminal is higher than that of the second remote image judging terminal in the security inspection chain, and the first remote image judging terminal carries out security inspection before the second remote image judging terminal.
It should be noted that, in this embodiment of the present application, when a package needs to be checked by using multiple security inspection resources, a security inspection image of the package may be sent to multiple review devices by a local security inspection device, or may be transmitted by each review device participating in the package review. In the above embodiments, the transmission of the security inspection image between different review devices is used to explain the technical solution of the present application, and the present application is not particularly limited.
Therefore, by adopting the method provided by the embodiment of the invention, the corresponding target security inspection level can be determined through the target environment security information, and the package to be detected can be detected by adopting the security inspection strategy corresponding to the target security inspection level. When the target environment safety information indicates that the safety condition of the current region is better, the target safety inspection level corresponding to the determined target environment safety information can be lower, and the safety inspection strategy corresponding to the target safety inspection level can be a safety inspection strategy without inputting re-inspection resources such as manual inspection and the like, namely, the package to be detected is detected only by using safety inspection equipment without re-inspection, so that the safety inspection efficiency is improved; when the target environment safety information indicates that the safety condition of the current area is poor, the target safety inspection level corresponding to the determined target environment safety information can be higher, and the safety inspection strategy corresponding to the target safety inspection level can be a safety inspection strategy needing to input re-inspection resources such as manual inspection and the like, namely, on the basis of detecting the package to be detected by utilizing the safety inspection equipment, the manual inspection and/or the re-inspection equipment can be compounded for re-inspection, so that the accuracy of a safety inspection result is ensured. That is to say, can utilize target environment safety information to determine the security check strategy that the reasonable target security check level corresponds, realized utilizing the security check resource rationally to carry out the security check, carry out efficiency and accuracy's balance to artifical security check resource input, reduce artifical detection cost, improve the security check ability. For the security inspection scene with lower security inspection grade, the security inspection equipment can be directly utilized to complete the security inspection, the rechecking is not needed, and the security inspection efficiency is improved.
Corresponding to the package detection method, the embodiment of the invention also provides a package detection device. The following describes a package detection device provided in an embodiment of the present invention. As shown in fig. 2, a package inspection device, the device comprising:
the security check image acquisition module 201 is used for acquiring a security check image of a package to be detected when the package passes through security check equipment;
the security level determination module 202 is configured to determine a target security level corresponding to target environment security information according to the target environment security information and a corresponding relationship between preset environment security information and a security level, where the target environment security information is information capable of reflecting a security status of a current region;
and the security inspection result determining module 203 is configured to determine the security inspection result of the package to be detected based on the security inspection image by using the security inspection strategy corresponding to the target security inspection level, where different security inspection strategies occupy different security inspection resources, and the higher the value of the target security inspection level is, the more security inspection resources need to be occupied for package detection.
By adopting the device provided by the embodiment of the invention, the security inspection image of the package to be detected when the package passes through the security inspection equipment is obtained; determining a target security inspection level corresponding to the target environment security information according to the target environment security information and a corresponding relation between preset environment security information and the security inspection level; and determining the security inspection result of the to-be-detected package based on the security inspection image by adopting a security inspection strategy corresponding to the target security inspection grade. And determining a corresponding target security inspection level according to the target environment security information, and further detecting the package to be detected by adopting a security inspection strategy corresponding to the target security inspection level. When the target environment safety information indicates that the safety condition of the current region is better, the target safety inspection level corresponding to the determined target environment safety information can be lower, and the safety inspection strategy corresponding to the target safety inspection level can be a safety inspection strategy without inputting re-inspection resources such as manual inspection and the like, namely, the package to be detected is detected only by using safety inspection equipment without re-inspection, so that the safety inspection efficiency is improved; when the target environment safety information indicates that the safety condition of the current area is poor, the target safety inspection level corresponding to the determined target environment safety information can be higher, and the safety inspection strategy corresponding to the target safety inspection level can be a safety inspection strategy needing to input re-inspection resources such as manual inspection and the like, namely, on the basis of detecting the package to be detected by utilizing the safety inspection equipment, the manual inspection and/or the re-inspection equipment can be compounded for re-inspection, so that the accuracy of a safety inspection result is ensured. That is to say, by adopting the device provided by the embodiment of the invention, the security inspection strategy corresponding to the reasonable target security inspection level can be determined by utilizing the target environment security information, the security inspection can be carried out by reasonably utilizing the security inspection resources, the security inspection can be directly completed by utilizing the security inspection equipment in the security inspection scene with lower security inspection level, the rechecking is not needed, and the security inspection efficiency is improved.
Optionally, the security level determination module 202 is specifically configured to input the target environmental security information into a pre-trained security level determination model to obtain a target security level corresponding to the target environmental security information, where the security level determination model is obtained by training based on a plurality of sample environmental security information and a security level corresponding to each sample environmental security information, and the security level determination model is used to represent a corresponding relationship between the environmental security information and the security level;
the target environment security information includes: at least one of the proportion of illegal articles detected by the security inspection equipment in a preset period, the occurrence frequency of illegal events in the current area, the personnel flow density of the current area and the holding state information of preset activities in the current area;
the security inspection result determining module 203 is specifically configured to perform local detection on the security inspection image when the target security inspection level is first level; when detecting that the package to be detected does not contain preset illegal articles, determining that a security inspection result is a result indicating that the package to be detected can be released; and when the to-be-detected package is detected to contain the preset illegal article, determining that the security inspection result is a result indicating that the to-be-detected package needs to be intercepted.
Optionally, the security inspection result determining module 203 is specifically configured to perform local detection on the security inspection image when the target security inspection level is N level, where N is greater than or equal to 2; determining violation levels of the target violation articles under the condition that the parcel to be detected contains the target violation articles, wherein the violation levels are determined in advance according to the influence degree of each article on the safety condition of the area, and the larger the value of the violation level is, the larger the influence degree of the article on the safety condition of the area is; if the violation level of the target violation object is first level, determining that the security inspection result is a result indicating that the package to be detected needs to be intercepted; if the violation level of the target violation object is n, sending the security inspection image to a rechecking device to further obtain a security inspection result of the to-be-detected package, wherein n is more than or equal to 2, and the rechecking device comprises at least one of a rechecking table and a remote image judging terminal;
the security inspection result determining module 203 is specifically configured to send the security inspection image to the review platform or the remote image judging terminal when n is 2; when the package to be detected is further determined not to contain preset illegal articles, determining that the security inspection result is a result indicating that the package to be detected can be released; when the package to be detected is further determined to contain the preset illegal article, determining that a security inspection result is a result indicating that the package to be detected needs to be intercepted;
optionally, the security inspection result determining module 203 is specifically configured to, when at least n is greater than or equal to 3, send the security inspection image to the remote image judging terminal, so that the remote image judging terminal further detects the package to be detected based on the security inspection image, where the remote image judging terminal includes a first remote image judging terminal and/or a second remote image judging terminal; when the package to be detected further comprises the illegal object which cannot be distinguished by the remote image judging terminal, the security inspection image is sent to the rechecking table through a controller of local security inspection or the remote image judging terminal so as to detect the package to be detected again; when the package to be detected is detected again and determined not to contain the preset illegal articles, determining that the security inspection result is a result indicating that the package to be detected can be released; and when the parcel to be detected is detected again and the illegal articles which can be distinguished by the re-inspection platform are contained in the parcel to be detected, determining the security inspection result as a result representing that the parcel to be detected needs to be intercepted.
Corresponding to the parcel detection system, the embodiment of the invention also provides a parcel detection system. The following describes a package inspection system provided in an embodiment of the present invention. As shown in fig. 3, a package detection system, the system comprising:
the security inspection equipment 301 is used for acquiring security inspection images of the packages to be detected;
the controller 302 is used for acquiring a security inspection image of the package to be detected when the package to be detected passes through the security inspection equipment; determining a target security inspection level corresponding to target environment security information according to the target environment security information and a corresponding relation between preset environment security information and security inspection levels, wherein the target environment security information is information capable of reflecting the security condition of the current region; and determining the security inspection result of the to-be-detected package based on the security inspection image by adopting the security inspection strategy corresponding to the target security inspection grade, wherein different security inspection strategies occupy different security inspection resources, and the higher the value of the target security inspection grade is, the more security inspection resources need to be occupied by package detection.
By adopting the system provided by the embodiment of the invention, the security inspection image of the package to be detected when the package passes through the security inspection equipment is obtained; determining a target security inspection level corresponding to the target environment security information according to the target environment security information and a corresponding relation between preset environment security information and the security inspection level; and determining the security inspection result of the to-be-detected package based on the security inspection image by adopting a security inspection strategy corresponding to the target security inspection grade. And determining a corresponding target security inspection level according to the target environment security information, and further detecting the package to be detected by adopting a security inspection strategy corresponding to the target security inspection level. When the target environment safety information indicates that the safety condition of the current region is better, the target safety inspection level corresponding to the determined target environment safety information can be lower, and the safety inspection strategy corresponding to the target safety inspection level can be a safety inspection strategy without inputting re-inspection resources such as manual inspection and the like, namely, the package to be detected is detected only by using safety inspection equipment without re-inspection, so that the safety inspection efficiency is improved; when the target environment safety information indicates that the safety condition of the current area is poor, the target safety inspection level corresponding to the determined target environment safety information can be higher, and the safety inspection strategy corresponding to the target safety inspection level can be a safety inspection strategy needing to input re-inspection resources such as manual inspection and the like, namely, on the basis of detecting the package to be detected by utilizing the safety inspection equipment, the manual inspection and/or the re-inspection equipment can be compounded for re-inspection, so that the accuracy of a safety inspection result is ensured. That is to say, by adopting the system provided by the embodiment of the invention, the security inspection strategy corresponding to the reasonable target security inspection level can be determined by utilizing the target environment security information, the security inspection can be carried out by reasonably utilizing the security inspection resources, the security inspection can be directly completed by utilizing the security inspection equipment in the security inspection scene with lower security inspection level, the rechecking is not needed, and the security inspection efficiency is improved.
Optionally, the controller 302 is specifically configured to input the target environmental security information into a pre-trained security level determination model to obtain a target security level corresponding to the target environmental security information, where the security level determination model is obtained by training based on a plurality of sample environmental security information and a security level corresponding to each sample environmental security information, and the security level determination model is used to represent a corresponding relationship between the environmental security information and the security level.
Optionally, the target environment security information includes: and at least one of the proportion of illegal articles detected by the security inspection equipment in a preset period, the occurrence frequency of illegal events in the current area, the personnel flow density in the current area and the holding state information of preset activities in the current area.
Optionally, the controller 302 is specifically configured to perform local detection on the security check image when the target security check level is first level; when detecting that the package to be detected does not contain preset illegal articles, determining that a security inspection result is a result indicating that the package to be detected can be released; and when the to-be-detected package is detected to contain the preset illegal article, determining that the security inspection result is a result indicating that the to-be-detected package needs to be intercepted.
Optionally, referring to fig. 4, the system further includes a review device 401;
the controller 302 is specifically configured to perform local detection on the security check image when the target security check level is N level, where N is greater than or equal to 2; determining violation levels of the target violation articles under the condition that the parcel to be detected contains the target violation articles, wherein the violation levels are determined in advance according to the influence degree of each article on the safety condition of the area, and the larger the value of the violation level is, the larger the influence degree of the article on the safety condition of the area is; if the violation level of the target violation object is first level, determining that the security inspection result is a result indicating that the package to be detected needs to be intercepted; and if the violation level of the target violation object is n, sending the security inspection image to the rechecking device 401 to further determine the security inspection result of the to-be-detected package, wherein n is greater than or equal to 2, and the rechecking device comprises at least one of a rechecking table and a remote image judging terminal.
Optionally, the controller 302 is specifically configured to send the security inspection image to the review platform or the remote image determination terminal (not shown in the figure) when n is 2; when the package to be detected is further determined not to contain preset illegal articles, determining that the security inspection result is a result indicating that the package to be detected can be released; and when the to-be-detected package is further determined to contain the preset illegal article, determining that the security inspection result is a result indicating that the to-be-detected package needs to be intercepted.
Optionally, the controller 302 is specifically configured to send the security inspection image to the remote graph judging terminal when at least n is greater than or equal to 3, so that the remote graph judging terminal further detects the package to be detected based on the security inspection image, where the remote graph judging terminal includes a first remote graph judging terminal and/or a second remote graph judging terminal; when the package to be detected further contains the illegal article which cannot be distinguished by the remote image judging terminal, the security inspection image is sent to the rechecking table (not shown in the figure) through a controller of local security inspection or the remote image judging terminal so as to detect the package to be detected again;
when the package to be detected is detected again and determined not to contain the preset illegal articles, determining that the security inspection result is a result indicating that the package to be detected can be released;
and when the package to be detected is detected again and determined to contain the illegal articles which can be distinguished by the re-inspection platform, determining the security inspection result as a result indicating that the package to be detected needs to be intercepted.
The embodiment of the present invention further provides a controller, as shown in fig. 5, including a processor 501, a communication interface 502, a memory 503 and a communication bus 504, where the processor 501, the communication interface 502 and the memory 503 complete mutual communication through the communication bus 504,
a memory 503 for storing a computer program;
the processor 501 is configured to implement the steps of any of the above-described package detection methods when executing the program stored in the memory 503.
The communication bus mentioned above may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the controller and other devices.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In yet another embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any of the above-mentioned package detection methods.
In yet another embodiment provided by the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the package detection methods of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on differences from other embodiments. In particular, the system, controller, computer-readable storage medium, and computer program product embodiments are described for simplicity as they are substantially similar to the method embodiments, where relevant, reference may be had to the description of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (13)

1. A method of package inspection, the method comprising:
acquiring a security inspection image of a package to be detected when the package passes through security inspection equipment;
determining a target security inspection level corresponding to target environment security information according to the target environment security information and a corresponding relation between preset environment security information and security inspection levels, wherein the target environment security information is information capable of reflecting the security condition of the current region;
and determining the security inspection result of the to-be-detected package based on the security inspection image by adopting the security inspection strategy corresponding to the target security inspection grade, wherein different security inspection strategies occupy different security inspection resources, and the higher the value of the target security inspection grade is, the more security inspection resources need to be occupied by package detection.
2. The method according to claim 1, wherein the step of determining the target security level corresponding to the target environmental security information according to the target environmental security information and the corresponding relationship between the preset environmental security information and the security level comprises:
and inputting the target environment safety information into a pre-trained safety inspection grade determination model to obtain a target safety inspection grade corresponding to the target environment safety information, wherein the safety inspection grade determination model is obtained by training on the basis of a plurality of sample environment safety information and the safety inspection grade corresponding to each sample environment safety information, and the safety inspection grade determination model is used for representing the corresponding relation between the environment safety information and the safety inspection grade.
3. The method of claim 1, wherein the target environment security information comprises: and at least one of the proportion of illegal articles detected by the security inspection equipment in a preset period, the occurrence frequency of illegal events in the current area, the personnel flow density in the current area and the holding state information of preset activities in the current area.
4. The method according to claim 1, wherein the step of determining the security inspection result of the parcel to be inspected based on the security inspection image by using the security inspection strategy corresponding to the target security inspection level comprises:
when the target security inspection level is first level, locally detecting the security inspection image;
when detecting that the package to be detected does not contain preset illegal articles, determining that a security inspection result is a result indicating that the package to be detected can be released;
and when the to-be-detected package is detected to contain the preset illegal article, determining that the security inspection result is a result indicating that the to-be-detected package needs to be intercepted.
5. The method according to any one of claims 1 to 4, wherein the step of determining the security inspection result of the parcel to be inspected based on the security inspection image by using the security inspection strategy corresponding to the target security inspection level comprises:
when the target security inspection level is N level, locally detecting the security inspection image, wherein N is more than or equal to 2;
determining violation levels of the target violation articles under the condition that the parcel to be detected contains the target violation articles, wherein the violation levels are determined in advance according to the influence degree of each article on the safety condition of the area, and the larger the value of the violation level is, the larger the influence degree of the article on the safety condition of the area is;
if the violation level of the target violation object is the first level, determining that the security inspection result is a result indicating that the to-be-detected package needs to be intercepted;
and if the violation level of the target violation object is n, sending the security inspection image to a rechecking device to further determine the security inspection result of the parcel to be detected, wherein n is more than or equal to 2, and the rechecking device comprises at least one of a rechecking table and a remote image judging terminal.
6. The method of claim 5, wherein the step of sending the security check image to a review device to further determine the security check result of the package to be detected comprises:
when n is 2, sending the security inspection image to the rechecking platform or the remote image judging terminal;
when the package to be detected is further determined not to contain preset illegal articles, determining that the security inspection result is a result indicating that the package to be detected can be released;
and when the to-be-detected package is further determined to contain the preset illegal article, determining that the security inspection result is a result indicating that the to-be-detected package needs to be intercepted.
7. The method of claim 5, wherein the step of sending the security check image to a review device to further determine the security check result of the package to be detected comprises:
when at least n is more than or equal to 3, sending the security inspection image to the remote image judging terminal so that the remote image judging terminal further detects the package to be detected based on the security inspection image, wherein the remote image judging terminal comprises a first remote image judging terminal and/or a second remote image judging terminal;
when the package to be detected further comprises the illegal object which cannot be distinguished by the remote image judging terminal, the security inspection image is sent to the rechecking table through a controller of local security inspection or the remote image judging terminal so as to detect the package to be detected again;
when the package to be detected is detected again and determined not to contain the preset illegal article, determining that the security inspection result is a result indicating that the package to be detected can be released;
and when the parcel to be detected is detected again and the illegal articles which can be distinguished by the re-inspection platform are contained in the parcel to be detected, determining the security inspection result as a result representing that the parcel to be detected needs to be intercepted.
8. A package inspection device, the device comprising:
the security check image acquisition module is used for acquiring a security check image of the package to be detected when the package to be detected passes through the security check equipment;
the security level determination module is used for determining a target security level corresponding to target environment security information according to the target environment security information and a corresponding relation between preset environment security information and security levels, wherein the target environment security information is information capable of reflecting the security condition of the current region;
and the security inspection result determining module is used for determining the security inspection result of the to-be-detected package based on the security inspection image by adopting the security inspection strategies corresponding to the target security inspection grade, wherein different security inspection strategies occupy different security inspection resources, and the higher the value of the target security inspection grade is, the more security inspection resources are occupied by package detection.
9. The apparatus according to claim 8, wherein the security level determination module is specifically configured to input the target environmental security information into a pre-trained security level determination model to obtain a target security level corresponding to the target environmental security information, where the security level determination model is trained based on a plurality of sample environmental security information and a security level corresponding to each sample environmental security information, and the security level determination model is configured to represent a correspondence relationship between the environmental security information and the security level;
the target environment security information includes: at least one of the proportion of illegal articles detected by the security inspection equipment in a preset period, the occurrence frequency of illegal events in the current area, the personnel flow density of the current area and the holding state information of preset activities in the current area;
the security inspection result determining module is specifically configured to perform local detection on the security inspection image when the target security inspection level is first level; when detecting that the package to be detected does not contain preset illegal articles, determining that a security inspection result is a result indicating that the package to be detected can be released; when the package to be detected contains the preset illegal article, determining that a security inspection result is a result indicating that the package to be detected needs to be intercepted;
the security inspection result determining module is specifically used for locally detecting the security inspection image when the target security inspection grade is N grade, wherein N is more than or equal to 2; determining violation levels of the target violation articles under the condition that the parcel to be detected contains the target violation articles, wherein the violation levels are determined in advance according to the influence degree of each article on the safety condition of the area, and the larger the value of the violation level is, the larger the influence degree of the article on the safety condition of the area is; if the violation level of the target violation object is first level, determining that the security inspection result is a result indicating that the package to be detected needs to be intercepted; if the violation level of the target violation object is n, sending the security inspection image to a rechecking device to further determine the security inspection result of the to-be-detected package, wherein n is more than or equal to 2, and the rechecking device comprises at least one of a rechecking table and a remote image judging terminal;
the security inspection result determining module is specifically configured to send the security inspection image to the rechecking table or the remote image judging terminal when n is 2; when the package to be detected is further determined not to contain preset illegal articles, determining that the security inspection result is a result indicating that the package to be detected can be released; when the package to be detected is further determined to contain the preset illegal article, determining that a security inspection result is a result indicating that the package to be detected needs to be intercepted;
the security inspection result determining module is specifically configured to send the security inspection image to the remote image judging terminal when at least n is greater than or equal to 3, so that the remote image judging terminal further detects the package to be detected based on the security inspection image, wherein the remote image judging terminal includes a first remote image judging terminal and/or a second remote image judging terminal; when the package to be detected further comprises the illegal object which cannot be distinguished by the remote image judging terminal, the security inspection image is sent to the rechecking table through a controller of local security inspection or the remote image judging terminal so as to detect the package to be detected again; when the package to be detected is detected again and determined not to contain the preset illegal articles, determining that the security inspection result is a result indicating that the package to be detected can be released; and when the package to be detected is detected again and determined to contain the illegal articles which can be distinguished by the re-inspection platform, determining the security inspection result as a result indicating that the package to be detected needs to be intercepted.
10. A package inspection system, the system comprising:
the security inspection equipment is used for acquiring a security inspection image of the package to be detected;
the controller is used for acquiring a security inspection image of the package to be detected when the package to be detected passes through the security inspection equipment; determining a target security inspection level corresponding to target environment security information according to the target environment security information and a corresponding relation between preset environment security information and security inspection levels, wherein the target environment security information is information capable of reflecting the security condition of the current region; and determining the security inspection result of the to-be-detected package based on the security inspection image by adopting the security inspection strategy corresponding to the target security inspection grade, wherein different security inspection strategies occupy different security inspection resources, and the higher the value of the target security inspection grade is, the more security inspection resources need to be occupied by package detection.
11. The system of claim 10, further comprising a review device;
the controller is specifically used for carrying out local detection on the security inspection image when the target security inspection grade is N grade, wherein N is more than or equal to 2; determining violation levels of the target violation articles under the condition that the parcel to be detected contains the target violation articles, wherein the violation levels are determined in advance according to the influence degree of each article on the safety condition of the area, and the larger the value of the violation level is, the larger the influence degree of the article on the safety condition of the area is; if the violation level of the target violation object is first level, determining that the security inspection result is a result indicating that the package to be detected needs to be intercepted; and if the violation level of the target violation object is n, sending the security inspection image to the rechecking equipment to further determine the security inspection result of the parcel to be detected, wherein n is more than or equal to 2, and the rechecking equipment comprises at least one of a rechecking table and a remote image judging terminal.
12. The controller is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing the communication between the processor and the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 7 when executing a program stored in the memory.
13. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 7.
CN202210608213.7A 2022-05-31 2022-05-31 Package detection method, device, system, controller and storage medium Pending CN114913480A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210608213.7A CN114913480A (en) 2022-05-31 2022-05-31 Package detection method, device, system, controller and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210608213.7A CN114913480A (en) 2022-05-31 2022-05-31 Package detection method, device, system, controller and storage medium

Publications (1)

Publication Number Publication Date
CN114913480A true CN114913480A (en) 2022-08-16

Family

ID=82771311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210608213.7A Pending CN114913480A (en) 2022-05-31 2022-05-31 Package detection method, device, system, controller and storage medium

Country Status (1)

Country Link
CN (1) CN114913480A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115797857A (en) * 2022-11-07 2023-03-14 北京声迅电子股份有限公司 Travel event determination method, security inspection method and event management method
CN117218081A (en) * 2023-09-13 2023-12-12 北京声迅电子股份有限公司 Express item security inspection method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115797857A (en) * 2022-11-07 2023-03-14 北京声迅电子股份有限公司 Travel event determination method, security inspection method and event management method
CN117218081A (en) * 2023-09-13 2023-12-12 北京声迅电子股份有限公司 Express item security inspection method
CN117218081B (en) * 2023-09-13 2024-04-09 北京声迅电子股份有限公司 Express item security inspection method

Similar Documents

Publication Publication Date Title
CN114913480A (en) Package detection method, device, system, controller and storage medium
Babu et al. Passenger grouping under constant threat probability in an airport security system
CN107578353A (en) The registrable property determination methods of work mark based on big data and device
CN110457175B (en) Service data processing method and device, electronic equipment and medium
WO2014092230A1 (en) System and method for inspecting imported food-based harm prediction
WO2021249306A1 (en) Crowd overdensity prediction method and device
CN107679734A (en) It is a kind of to be used for the method and system without label data classification prediction
CN111611100B (en) Transaction fault detection method, device, computing equipment and medium
CN110059468A (en) A kind of small routine Risk Identification Method and device
CN108347374A (en) A kind of information push method, system and device preventing invalid message
CN109889512A (en) A kind of method for detecting abnormality and device of charging pile CAN message
US20240248233A1 (en) Transportation security apparatus, system, and method to analyze images to detect a threat condition
CN110597126A (en) Intelligent security check method, device, equipment and storage medium
CN109547748A (en) Object foothold determines method, apparatus and storage medium
CN116911158A (en) Natural disaster monitoring and early warning system based on big data
CN113283832A (en) Unmanned aerial vehicle pickup method, unmanned aerial vehicle pickup device, unmanned aerial vehicle sending device, unmanned aerial vehicle pickup equipment and storage medium
RU2460144C2 (en) Monitoring system
CN109738959A (en) A kind of customs inspection method and system
CN113692172A (en) Performance test cabinet of safety tool
CN114022045A (en) Regional economic development level determining method and device and terminal equipment
CN110796044A (en) Target area security monitoring method and device
CN109598485A (en) A kind of emergency event report thing method and device
CN112435150A (en) Security check method and device, computer equipment and storage medium
CN106888237A (en) A kind of data dispatching method and system
Kuchel Analyzing noncombatant evacuation operations using discrete event simulation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination