RFID-based gun management and control early warning method, device, equipment and medium

By identifying police officers and gun logos in the security inspection system, matching images and logos, the warning is only triggered when the match is unsuccessful, which solves the problem of traffic efficiency for police officers during cross-regional security inspections and achieves efficient security inspections without manual re-examination.

CN120526558APending Publication Date: 2025-08-22ZHUHAI TRANSPORTATION INTERNET OF THINGS CO LTD
View PDF 16 Cites 0 Cited by

Patent Information

Application Number
CN202510625229.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-15
Publication Date
2025-08-22

AI Technical Summary

Technical Problem

During cross-regional security checks, police officers carrying guns will trigger early warnings and manual re-inspections, affecting traffic efficiency.

Method used

By pre-store candidate police officer information in the security inspection system, and use an RFID receiver to identify police officers and gun logos, match personnel images and gun logos, and generate alarm information, which only triggers early warnings when the match is unsuccessful, avoiding manual review.

Benefits of technology

It improves the efficiency of police officers during cross-regional security checks and avoids unnecessary manual review process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120526558A_ABST
    Figure CN120526558A_ABST
Patent Text Reader

Abstract

The invention discloses an RFID-based gun management and control early warning method, device, equipment and medium, and the method comprises the steps: when an RFID receiver receives a first RFID signal and a second RFID signal, determining a corresponding policeman identifier and a corresponding gun identifier; acquiring a reference image and a reference gun identifier from reference policeman information corresponding to the policeman identifier, acquiring a first matching result of the reference image and a personnel image which is newly acquired by a camera and carries first early warning equipment, and acquiring a second matching result of the reference gun identifier and the gun identifier; and when any matching result is not successfully matched, generating first alarm information. According to the invention, the candidate police officer information in an RFID form is pre-stored in the security check system, and the RFID receiver is arranged, so that when a person with a gun-carrying authorization enters a security check area with a gun, if RFID detection passes, early warning is not triggered, manual review is not needed, and the passing efficiency of the person with the gun-carrying authorization during cross-regional security check is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to, but is not limited to, the field of computer technology, and in particular to an RFID-based gun control warning method, device, equipment, and medium. Background Art

[0002] Currently, during cross-regional security checks, the baggage of the inspected person is typically inspected by placing it onto a conveyor belt, which feeds it at a constant speed into the scanning channel of a baggage inspection machine. The bag then passes through the X-ray emission and detector areas of the baggage inspection machine, generating a real-time X-ray image. The inspector observes the image on a display screen and determines the presence of dangerous goods (such as knives, liquids, batteries, firearms, etc.) based on the object's shape, color, and density, before deciding whether to re-inspect the bag. If a firearm is detected, an alert is triggered, requiring manual unpacking and re-inspection, as well as identity verification. However, if the inspected person is a police officer or soldier with authorized firearms, the existing alert mechanism will still trigger alerts and manual re-inspections during cross-regional security checks, impacting the efficiency of police officers. Summary of the Invention

[0003] The embodiments of the present application provide an RFID-based gun control warning method, device, equipment, and medium, which can effectively improve the passage efficiency of persons with authorized guns during cross-regional security checks.

[0004] In a first aspect, embodiments of the present application provide an RFID-based gun control early warning method, which is applied to a security inspection system. The security inspection system includes an RFID receiver and a camera. The security inspection system is preset with reference police officer information. The method includes:

[0005] When the RFID receiver receives a first RFID signal from any first early warning device and a second RFID signal from any second early warning device, it determines the police officer information corresponding to the first RFID signal and the gun information corresponding to the second RFID signal, wherein the first early warning device and the second early warning device are both provided with an RFID transmitter, the first early warning device is uniquely bound to a police officer identification, and the second early warning device is uniquely bound to a gun identification;

[0006] Determining reference police officer information corresponding to the police officer identification from the plurality of candidate police officer information, wherein the reference police officer information includes a reference image and a reference gun identification;

[0007] Matching the reference image with the image of the person carrying the first warning device, which is most recently acquired by the camera, to obtain a first matching result, and matching the reference gun identifier with the gun identifier to obtain a second matching result;

[0008] When any one of the first matching result and the second matching result indicates that the match is unsuccessful, a first alarm message is generated.

[0009] In some embodiments, the first early warning device is further provided with a first positioning device, the second early warning device is further provided with a second positioning device, the RFID receiver includes at least a first RFID receiver and a second RFID receiver, the first RFID receiver is located at a first area checkpoint, and the second RFID receiver is located at a second area checkpoint. After obtaining the second matching result, the method further includes:

[0010] When both the first matching result and the second matching result indicate a successful match, determining first location data based on the first positioning device, and determining second location data based on the second positioning device;

[0011] A first heat map corresponding to the police officer identifier is obtained by real-time rendering based on the first position data, and a second heat map corresponding to the gun identifier is obtained by real-time rendering based on the second position data;

[0012] determining in real time a first thermal value change trend of the first thermal map and a second thermal value change trend of the second thermal map, wherein the first thermal value change trend corresponds to a first moving point set, the second thermal value change trend corresponds to a second moving point set, and the thermal values ​​corresponding to the first position points in the first moving point set and the second position points in the second moving point set are arranged in chronological order from low to high;

[0013] Determine the distance between the corresponding position points in the first moving point set and the second moving point set at the same time as a reference distance;

[0014] Acquire a preset path, and determine a reference condition based on the preset path, wherein a starting point of the preset path is the first area checkpoint and an end point of the preset path is the second area checkpoint;

[0015] Whether to generate second warning information is determined based on a first number of times that the reference distance exceeds a preset distance threshold, whether the first moving point set meets the reference condition, and whether the second moving point set meets the reference condition.

[0016] In some embodiments, determining the reference condition based on the preset path includes:

[0017] Determining a first reference point and a second reference point associated with each third position point in the preset path, wherein a line connecting the first reference point, the second reference point, and the associated third position point is a straight line, and a distance between the first reference point and the associated third position point is equal to a distance between the second reference point and the associated third position point;

[0018] A reference area is established based on all of the first reference points and the second reference points, and the reference area is determined as the reference condition.

[0019] In some embodiments, determining whether to generate second warning information based on a first number of times the reference distance exceeds a preset distance threshold, whether the first moving point set satisfies the reference condition, and whether the second moving point set satisfies the reference condition includes:

[0020] When the first count exceeds a first threshold, or the first moving point set does not meet the reference condition, or the second moving point set does not meet the reference condition, generating the second alarm information;

[0021] When the first count does not exceed the first threshold, and the first moving point set meets the reference condition, and the second moving point set meets the reference condition, the second alarm information is not generated.

[0022] In some embodiments, determining whether to generate second warning information based on a first number of times the reference distance exceeds a preset distance threshold, whether the first moving point set satisfies the reference condition, and whether the second moving point set satisfies the reference condition includes:

[0023] accumulating a second number of times that the first position point deviates from the reference area, and accumulating a third number of times that the second position point deviates from the reference area;

[0024] Determining a separation time duration during which the separation distance corresponding to each of the first times exceeds the preset threshold;

[0025] Assigning a first weight value to the first number of times, assigning a second weight value to the second number of times, and assigning a third weight value to the third number of times, wherein the first weight value is greater than the second weight value and the third weight value;

[0026] multiplying the sum of the separation durations for each of the first number of times by the first weight value to obtain a first product;

[0027] multiplying the second number of times by the second weight value to obtain a second product;

[0028] multiplying the third multiplication factor by the third weight value to obtain a third product;

[0029] The first product, the second product, and the third product are summed to obtain a reference score, and the second warning information is generated based on the reference score and a preset score range.

[0030] In some embodiments, the reference officer information includes the duration of association between the corresponding officer identifier and the gun identifier, the preset score range includes multiple sub-ranges, and different sub-ranges correspond to different reference durations. Based on the reference score and the preset score range, generating the second warning information includes:

[0031] determining a target range from the sub-ranges based on the reference score, wherein the reference score belongs to the target range;

[0032] The reference duration corresponding to the target range is subtracted from the associated duration, and when the adjusted associated duration is less than or equal to 0, the second alarm information is generated.

[0033] In some embodiments, after summing the first product, the second product, and the third product to obtain a reference score, the method further includes:

[0034] Determining a target warning level based on the reference score and a preset warning level mapping table, wherein the warning level mapping table is used to indicate a mapping relationship between score ranges and warning levels, and the reference score is within the score range corresponding to the target warning level;

[0035] When the police officer identifier and the gun identifier are detected at the second area checkpoint, rematching the reference image corresponding to the police officer identifier with the image of the person carrying the first warning device, which is newly acquired by the camera, to obtain a new first matching result, and rematching the reference gun identifier associated with the police officer identifier with the gun identifier to obtain a new second matching result;

[0036] When the reference score is greater than a preset threshold, third warning information is generated regardless of whether any matching result of the new first matching result and the new second matching result indicates a successful match.

[0037] In a second aspect, an embodiment of the present application provides a control device comprising at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions that can be executed by the at least one control processor, and the instructions are executed by the at least one control processor so that the at least one control processor can execute the RFID-based gun control and warning method as described in the first aspect.

[0038] In a third aspect, an embodiment of the present application further provides an electronic device comprising the control device of the second aspect.

[0039] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the RFID-based gun control warning method as described in the first aspect.

[0040] An embodiment of the present application provides an RFID-based gun control warning method, apparatus, device, and medium, the method comprising: when the RFID receiver receives a first RFID signal from any first warning device and a second RFID signal from any second warning device, determining the police officer information corresponding to the first RFID signal and the gun information corresponding to the second RFID signal, wherein the first warning device and the second warning device are both provided with an RFID transmitter, the first warning device is uniquely bound to a police officer identification, and the second warning device is uniquely bound to a gun identification; determining reference police officer information corresponding to the police officer identification from a plurality of candidate police officer information, wherein the reference police officer information includes a reference image and a reference gun identification; matching the reference image with the image of a person carrying the first warning device most recently acquired through the camera to obtain a first matching result, matching the reference gun identification with the gun identification to obtain a second matching result; generating a first alarm message when any of the first matching result and the second matching result indicates an unsuccessful match. According to the solution provided in the embodiment of the present application, by pre-storing the candidate police officer information of persons authorized to carry guns in the security inspection system, and setting up RFID receivers corresponding to the gun identification and the police officer identification, when a person with authorization to carry a gun enters the security inspection area with a gun, if the RFID detection passes, no warning will be triggered and no manual review is required, which effectively improves the passage efficiency of persons with authorization to carry guns during cross-regional security inspections. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 This is a flowchart of the steps of an RFID-based gun control warning method provided by an embodiment of the present application;

[0042] Figure 2 is a structural diagram of a control device provided by another embodiment of the present application;

[0043] Figure 3 This is a schematic diagram of a reference area formed by a preset path provided in another embodiment of the present application. DETAILED DESCRIPTION

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

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

[0046] Currently, during cross-regional security checks, the baggage of the inspected person is typically inspected by placing it onto a conveyor belt, which feeds it at a constant speed into the scanning channel of a baggage inspection machine. The bag then passes through the X-ray emission and detector areas of the baggage inspection machine, generating a real-time X-ray image. The inspector observes the image on a display screen and determines the presence of dangerous goods (such as knives, liquids, batteries, firearms, etc.) based on the object's shape, color, and density, before deciding whether to re-inspect the bag. If a firearm is detected, an alert is triggered, requiring manual unpacking and re-inspection, as well as identity verification. However, if the inspected person is a police officer or soldier with authorized firearms, the existing alert mechanism will still trigger alerts and manual re-inspections during cross-regional security checks, impacting the efficiency of police officers.

[0047] To solve the above-mentioned problems, an embodiment of the present application provides an RFID-based gun control warning method, device, equipment, and medium, the method comprising: when the RFID receiver receives a first RFID signal from any first warning device and a second RFID signal from any second warning device, determining the police officer information corresponding to the first RFID signal and the gun information corresponding to the second RFID signal, wherein the first warning device and the second warning device are both provided with an RFID transmitter, the first warning device is uniquely bound to a police officer identification, and the second warning device is uniquely bound to a gun identification; determining reference police officer information corresponding to the police officer identification from a plurality of candidate police officer information, wherein the reference police officer information includes a reference image and a reference gun identification; matching the reference image with the image of the person carrying the first warning device most recently acquired through the camera to obtain a first matching result, matching the reference gun identification with the gun identification to obtain a second matching result; generating a first alarm message when any of the first matching result and the second matching result indicates that the match is unsuccessful. According to the solution provided in the embodiment of the present application, by pre-storing candidate police officer information in the security inspection system and setting up RFID receivers corresponding to gun identification and police officer identification, when a person with authorization to carry a gun enters the security inspection area with a gun, if the RFID detection passes, no warning will be triggered and no manual review is required, which effectively improves the passage efficiency of people with authorization to carry a gun during cross-regional security inspections.

[0048] The embodiments of the present application are further described below with reference to the accompanying drawings.

[0049] refer to Figure 1 , Figure 1 This is a flowchart of the steps of an RFID-based gun control early warning method provided by an embodiment of the present application. The embodiment of the present application provides an RFID-based gun control early warning method, which is applied to a security inspection system. The security inspection system includes an RFID receiver and a camera. The security inspection system is preset with reference police officer information. The method includes but is not limited to the following steps:

[0050] Step S10: When the RFID receiver receives a first RFID signal from any first warning device and a second RFID signal from any second warning device, the RFID receiver determines the police officer information corresponding to the first RFID signal and the gun information corresponding to the second RFID signal, wherein both the first warning device and the second warning device are provided with an RFID transmitter, the first warning device is uniquely bound to a police officer identifier, and the second warning device is uniquely bound to a gun identifier;

[0051] Step S20, determining reference police officer information corresponding to the police officer identification from the plurality of candidate police officer information, wherein the reference police officer information includes a reference image and a reference gun identification;

[0052] Step S30, matching the reference image with the image of the person carrying the first warning device, which is most recently acquired by the camera, to obtain a first matching result, and matching the reference gun identifier with the gun identifier to obtain a second matching result;

[0053] Step S40: When any one of the first matching result and the second matching result indicates that the match is unsuccessful, a first alarm message is generated.

[0054] Specifically, the candidate police officer information of this embodiment is the information of police officers who are qualified to carry guns preset by the security inspection system. The candidate police officer information includes the police officer identification, the police officer image, the gun identification associated with the police officer identification, and the association time between the police officer identification and the associated gun identification. The security inspection system is preset with multiple reference police officer information, which is used to cooperate with the RFID receiver to determine whether the person carrying the gun is qualified to carry the gun, thereby determining whether to generate the first alarm information.

[0055] Specifically, the first warning device of this embodiment is a device with an RFID transmitter worn by a police officer, and the second warning device is a tag with an RFID transmitter set on a gun.

[0056] It can be understood that in this embodiment, an RFID receiver is set in the security inspection system. For example, an RFID receiver is set in the baggage inspection machine and the pedestrian inspection channel in the security inspection system. When a first RFID signal from any first warning device and a second RFID signal from any second warning device are received within a preset time period, the police officer information corresponding to the first RFID signal and the gun information corresponding to the second RFID signal are parsed and determined. Since security inspection is carried out one person at a time, during the period when the RFID receiver receives the first RFID signal and the second RFID signal, the person image captured by the camera of the security inspection system is the person image corresponding to the first RFID signal. The candidate police officer information corresponding to the police officer identification corresponding to the first RFID signal is determined as the reference police officer information, and the reference image and reference gun identification are obtained from the reference police officer information. The reference image is matched with the image of the person carrying the first warning device that is most recently obtained through the camera, and the identity of the police officer is verified through face recognition. A first matching result is obtained, and the reference gun identification is matched with the gun identification to check whether the police officer corresponding to the current police officer identification is legally carrying a gun, and a second matching result is obtained. When any of the first matching result and the second matching result indicates that the match is unsuccessful, it means that there is a security risk, and a first alarm message is generated, which requires manual review; when the first matching result and the second matching result both indicate that the match is successful, it means that the gun is carried in compliance, and the first alarm message is not generated. The police officer currently being checked passes the security check. In this way, the embodiment of the present application pre-stores candidate police officer information in the security inspection system, and sets RFID receivers corresponding to the gun identification and the police officer identification. When a person with authorization to carry a gun enters the security inspection area with a gun, if the RFID detection passes, no warning will be triggered, and no manual review is required. Compared with the existing method of inspecting items through luggage inspection machines, and only determining whether to issue an alarm and manual review based on the results of the item inspection, the efficiency of passage of persons with authorization to carry guns during cross-regional security checks can be effectively improved.

[0057] In addition, in some embodiments, the first warning device is further provided with a first positioning device, the second warning device is further provided with a second positioning device, the RFID receiver includes at least a first RFID receiver and a second RFID receiver, the first RFID receiver is located at the first area checkpoint, and the second RFID receiver is located at the second area checkpoint. Figure 1 After step S30, the RFID-based gun control warning method of this embodiment further includes but is not limited to the following steps:

[0058] Step S51: when both the first matching result and the second matching result indicate a successful match, determining first location data based on the first positioning device, and determining second location data based on the second positioning device;

[0059] Step S52: obtaining a first heat map corresponding to the police officer identification by real-time rendering based on the first position data, and obtaining a second heat map corresponding to the gun identification by real-time rendering based on the second position data;

[0060] Step S53: determining in real time a first thermal value change trend of the first thermal map and a second thermal value change trend of the second thermal map, wherein the first thermal value change trend corresponds to a first moving point set, and the second thermal value change trend corresponds to a second moving point set, and the thermal values ​​corresponding to the first position points in the first moving point set and the second position points in the second moving point set are arranged in chronological order from low to high;

[0061] Step S54, determining the distance between the corresponding position points in the first moving point set and the second moving point set at the same time as the reference distance;

[0062] Step S55: obtaining a preset path, and determining a reference condition based on the preset path, wherein the starting point of the preset path is the first regional checkpoint, and the end point of the preset path is the second regional checkpoint;

[0063] Step S56 , determining whether to generate second alarm information based on the first number of times the reference distance exceeds the preset distance threshold, whether the first moving point set meets the reference condition, and whether the second moving point set meets the reference condition.

[0064] Specifically, the security inspection system of this embodiment is located in a security inspection area across regions, for example, between region A and region B. The first regional checkpoint is close to region A, and the second regional checkpoint is close to region B. When the police officer corresponding to the first RFID signal needs to enter region B from region A, the first regional checkpoint is the place where the police officer needs to be inspected after entering the security inspection area, and the second regional checkpoint is the place where the police officer needs to be inspected after leaving the security inspection area.

[0065] Specifically, the first early warning device equipped with a first positioning device and the second early warning device equipped with a second positioning device can cooperate with the security inspection system to monitor the movement trends of police officers carrying early warning devices and guns in the security inspection area, providing an effective data basis for subsequent control and early warning of guns and ensuring safety.

[0066] Specifically, the preset path of this embodiment is the path corresponding to the preset personnel from the security entrance through the preset security inspection channel to the security inspection exit. By judging whether the movement trajectory of the police officer who successfully completed the security inspection at the entrance of the security inspection area and the corresponding gun after entering the security inspection area meets the reference conditions corresponding to the preset path, it is determined whether to trigger an alarm.

[0067] Specifically, since the thermal values ​​corresponding to each position point of the moving point set in the thermal value change trend of this embodiment are arranged in chronological order from low to high, the patrol path direction of the corresponding police officer and gun within the preset time period can be drawn based on each position point of the moving point set.

[0068] Specifically, in some embodiments, determining the reference condition based on the preset path in step S55 includes but is not limited to the following steps:

[0069] Step S551: Determine a first reference point and a second reference point associated with each position point in the preset path, wherein a line connecting the first reference point, the second reference point, and the associated third position point is a straight line, and the distance between the first reference point and the associated third position point is equal to the distance between the second reference point and the associated third position point;

[0070] Step S552: establishing a reference area based on all the first reference points and the second reference points, and determining the reference area as a reference condition.

[0071] Understandably, the reference Figure 3 The reference condition of this embodiment is a reference area enclosed by the extension points (i.e., the first reference point and the second reference point) of all the third position points in the preset path in two opposite directions. By judging whether the first moving point set and the second moving point set are located in the reference area or judging whether the proportion of each position point in the first moving point set and the second moving point set located in the reference area is greater than the preset proportion, it is determined whether the first moving point set and the second moving point set meet the reference condition. It is possible to judge whether the corresponding police officer and gun have a tendency to move away from the preset path, and provide an effective data basis for subsequently combining the first number of times the reference distance exceeds the preset distance threshold to jointly judge whether to generate a second alarm information.

[0072] It can be understood that when the first matching result and the second matching result both indicate a successful match, it means that the corresponding police officer and the gun carried by the police officer are compliant and safe when entering the security inspection area. After entering the security inspection area until leaving the security inspection area, it is necessary to continuously monitor the movements of the police officer and the gun to ensure safety. This embodiment determines the first position data based on the first positioning device, and determines the second position data based on the second positioning device. A first heat map corresponding to the police officer identification is rendered in real time based on the first position data, and a second heat map corresponding to the gun identification is rendered in real time based on the second position data. The first thermal value change trend of the first thermal map and the second thermal value change trend of the second thermal map are determined in real time, wherein the first thermal value change trend corresponds to a first moving point set, and the second thermal value change trend corresponds to a second moving point set. The thermal values ​​corresponding to each first position point in the first moving point set and each second position point in the second moving point set are sequentially displayed in time. Arrange the points in order from low to high, and determine the distance between the corresponding position points in the first moving point set and the second moving point set at the same time as the reference distance, that is, determine the real-time distance between the police officer and the corresponding gun, obtain the preset path, and determine the reference condition based on the preset path, wherein the starting point of the preset path is the first area checkpoint, and the end point of the preset path is the second area checkpoint. Based on the first number of times that the reference distance exceeds the preset distance threshold, whether the first moving point set meets the reference condition, and whether the second moving point set meets the reference condition, determine whether to generate a second alarm message. That is to say, the movement trend of the police officer and the corresponding gun in the security inspection area is captured through the first heat map and the second heat map, and determine whether the movement trend meets the reference condition corresponding to the preset path, so as to judge whether the corresponding police officer and the gun have a tendency to move away from the preset path, and perform early warning control on the gun in combination with the real-time distance between the police officer and the corresponding gun, and determine whether to generate a second alarm message.

[0073] Specifically, in some embodiments, step S56 includes but is not limited to the following steps:

[0074] Step S561: When the first count exceeds the first threshold, or the first moving point set does not meet the reference condition, or the second moving point set does not meet the reference condition, a second alarm message is generated;

[0075] Step S562: When the first count does not exceed the first threshold, and the first moving point set meets the reference condition, and the second moving point set meets the reference condition, no second alarm information is generated.

[0076] It can be understood that when the first number exceeds the first threshold, it means that the police officer and the corresponding gun have moved away from each other beyond the safe distance a large number of times in the security inspection area, and it is judged that there is a risk and the second alarm information is generated; when the first moving point set does not meet the reference condition or the second moving point set does not meet the reference condition, it means that the current police officer or gun has deviated from the preset path during the security inspection process, and it is judged that there is a risk and the second alarm information is generated; when the first number does not exceed the first threshold, and the first moving point set meets the reference condition, and the second moving point set meets the reference condition, that is, the police officer and the corresponding gun have moved away from each other beyond the safe distance a small number of times in the security inspection area, and the probability of the current police officer or gun deviating from the preset path during the security inspection is low, it is judged that the security risk is small, and the second alarm information is not generated.

[0077] Specifically, in some embodiments, step S56 further includes but is not limited to the following steps:

[0078] Step S563, accumulating a second number of times the first position point deviates from the reference area, and accumulating a third number of times the second position point deviates from the reference area;

[0079] Step S564, determining the separation time duration during which the separation distance corresponding to each of the first number of times exceeds a preset threshold;

[0080] Step S565: assigning a first weight value to the first number, assigning a second weight value to the second number, and assigning a third weight value to the third number, wherein the first weight value is greater than the second weight value and the third weight value;

[0081] Step S566: multiply the sum of the separation time periods in the first number by the first weight value to obtain a first product, multiply the second number by the second weight value to obtain a second product, and multiply the third number by the third weight value to obtain a third product;

[0082] Step S567 , summing the first product, the second product, and the third product to obtain a reference score, and generating second warning information based on the reference score and a preset score range.

[0083] Specifically, this embodiment does not limit the specific value of the first weight value to be greater than the second weight value and the third weight value. Those skilled in the art can determine it according to actual conditions. In this embodiment, the larger the weight value, the greater the impact on judging security risks.

[0084] It can be understood that in order to more accurately judge the safety risk and determine whether it is necessary to generate a second alarm message, this embodiment accumulates the second number of times the first position point deviates from the reference area, and accumulates the third number of times the second position point deviates from the reference area; determines the separation time when the separation distance corresponding to each time in the first number exceeds the preset threshold; assigns a first weight value to the first number, a second weight value to the second number, and a third weight value to the third number, wherein the first weight value is greater than the second weight value and the third weight value; multiplies the sum of the separation time of each time in the first number by the first weight value to obtain a first product, multiplies the second number by the second weight value to obtain a second product, and multiplies the third number by the third weight value to obtain a third product; sums the first product, the second product and the third product to obtain a reference score, and generates a second alarm message based on the reference score and the preset score range. The first number, the second number, and the third number are equivalent to three different influencing factors on the security risk assessment. The contribution of these three influencing factors to the security risk assessment is usually different. Therefore, introducing a scheme of weight distribution and weighted reference score as the final risk score can avoid subjective bias, improve the accuracy of risk assessment, and thus ensure the reliability of the second alarm information.

[0085] Specifically, in some embodiments, the reference officer information includes the duration of association between the corresponding officer identification and the gun identification, the preset score range includes multiple sub-ranges, and different sub-ranges correspond to different reference durations. Generating the second warning information based on the reference score and the preset score range in step S467 includes, but is not limited to, the following steps:

[0086] Step S5671, determining a target range from the sub-ranges based on the reference score, wherein the reference score belongs to the target range;

[0087] Step S5672: Subtract the reference duration corresponding to the target range from the associated duration. When the associated duration is less than or equal to 0, a second alarm message is generated.

[0088] Specifically, the association duration in this embodiment is used to indicate the authorization duration of the police officer and the corresponding authorized gun to carry. When the authorization duration expires, the police officer loses the qualification to carry the gun.

[0089] It can be understood that since the reference score is calculated in real time, this embodiment compares the reference score calculated in real time with multiple preset sub-ranges. When the reference score belongs to any sub-range, the sub-range is determined as the target range. At this time, the reference time corresponding to the target range is subtracted from the associated time, and it is detected whether the current associated time is invalid. When the associated time is less than or equal to 0, it is determined that the associated time corresponding to the police officer is invalid, there is a safety risk, and a second alarm information is generated. For example, assuming that the preset score range includes sub-range 1 [50, 60] corresponding to a reference time of 10 minutes, sub-range 2 [60, 70] corresponding to a reference time of 15 minutes, sub-range 3 [70, 80] corresponding to a reference time of 20 minutes, and sub-range 4 [80, 90] corresponding to a reference time of 25 minutes, in this embodiment, a higher score indicates that the police officer's current walking route deviates more from the reference area, and a larger reference time value that needs to be deducted from the associated time is correspondingly larger. For example, the initial associated time is 1 hour, and the currently calculated reference score is 65 points, which falls into sub-range 2. After deducting 15 minutes, the remaining associated time is 45 minutes. The current reference score is calculated in real time until the associated time is deducted to a value of 0 or less than 0, indicating that there is a current security risk, and the early warning mechanism is activated to generate a second alarm message.

[0090] In addition, in some embodiments, after executing step S567, the RFID-based gun control warning method provided in the embodiments of the present application further includes but is not limited to the following steps:

[0091] Step S61: determining a target warning level based on a reference score and a preset warning level mapping table, wherein the warning level mapping table is used to indicate a mapping relationship between score ranges and warning levels, and the reference score is within the score range corresponding to the target warning level;

[0092] In step S62, when the police officer identifier and the gun identifier are detected at the second area checkpoint, the reference image corresponding to the police officer identifier is re-matched with the image of the person carrying the first warning device, which is newly acquired by the camera, to obtain a new first matching result, and the reference gun identifier associated with the police officer identifier is re-matched with the gun identifier to obtain a new second matching result;

[0093] Step S63: When the reference score is greater than a preset threshold, third warning information is generated regardless of whether any of the new first matching result and the new second matching result indicates a successful match.

[0094] It can be understood that, referring to the description of the above embodiment, since security checks are required for both entering and leaving the security inspection area in this embodiment, if the police officer and the gun carried by the police officer are compliant and safe when entering the security inspection area, the reference scores corresponding to the police officer and the gun carried by the police officer are calculated through the above embodiment. When the police officer leaves the security inspection area with the corresponding gun, a second security check is required. At this time, this embodiment determines the target warning level based on the reference score and a preset warning level mapping table. When the police officer identification and gun identification are detected at the second area checkpoint, the reference image corresponding to the police officer identification is re-matched with the image of the person carrying the first warning device most recently acquired by the camera to obtain a new first matching result. The reference gun identification associated with the police officer identification is re-matched with the gun identification to obtain a new second matching result. When the reference score is greater than the preset threshold, it indicates that there is a security risk in the behavior of the police officer and the corresponding gun in the security inspection area. Regardless of whether any of the new first matching results and the new second matching results indicate a successful match, a third warning information is generated to ensure safety.

[0095] like Figure 2 As shown, Figure 2 : is a structural diagram of a control device provided in one embodiment of the present application. The present invention also provides a control device 200, comprising:

[0096] The processor 210 may be implemented as a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is configured to execute relevant programs to implement the technical solutions provided in the embodiments of the present application.

[0097] The memory 220 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 220 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 220 and is called by the processor 210 to execute the RFID-based gun control and early warning method of the embodiments of this application;

[0098] Input / output interface 230, used to implement information input and output;

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

[0100] bus 250 , which transmits information between the various components of the device (e.g., processor 210 , memory 220 , input / output interface 230 , and communication interface 240 );

[0101] The processor 210 , the memory 220 , the input / output interface 230 and the communication interface 240 are connected to each other in communication within the device via the bus 250 .

[0102] In addition, an embodiment of the present application further provides an electronic device, including the control device 200 of the above embodiment.

[0103] In addition, an embodiment of the present application further provides a storage medium, which is a computer-readable storage medium and stores a computer program. When the computer program is executed by a processor, the above-mentioned RFID-based gun control warning method is implemented.

[0104] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory optionally includes a memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of the above-mentioned networks include but are not limited to the Internet, an intranet, a local area network, a mobile communication network and a combination thereof. The device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and are located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0105] Those skilled in the art will appreciate that all or some of the steps and systems in the method disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, and the computer-readable medium can include computer storage media (or non-transitory media) and communication media (or temporary media). As known to those skilled in the art, the term computer storage media is included in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data) and is volatile and non-volatile, removable, and non-removable. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory, or other memory technology, CD-ROM, digital versatile disks (DVD), or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage, or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, as is well known to those skilled in the art, communication media typically includes computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

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

Claims

1. A firearm control early warning method based on RFID, characterized in that: Applied to a security inspection system, the security inspection system includes an RFID receiver and a camera, and the security inspection system is preset with information of multiple candidate police officers. The method includes: When the RFID receiver receives a first RFID signal from any first early warning device and a second RFID signal from any second early warning device, it determines the police officer information corresponding to the first RFID signal and the gun information corresponding to the second RFID signal, wherein the first early warning device and the second early warning device are both provided with an RFID transmitter, the first early warning device is uniquely bound to a police officer identification, and the second early warning device is uniquely bound to a gun identification; Determining reference police officer information corresponding to the police officer identification from the plurality of candidate police officer information, wherein the reference police officer information includes a reference image and a reference gun identification; Matching the reference image with the image of the person carrying the first warning device, which is most recently acquired by the camera, to obtain a first matching result, and matching the reference gun identifier with the gun identifier to obtain a second matching result; When any one of the first matching result and the second matching result indicates that the match is unsuccessful, a first alarm message is generated.

2. The RFID-based gun control early warning method according to claim 1, characterized in that: The first early warning device is further provided with a first positioning device, the second early warning device is further provided with a second positioning device, the RFID receiver includes at least a first RFID receiver and a second RFID receiver, the first RFID receiver is located at a first area checkpoint, and the second RFID receiver is located at a second area checkpoint. After obtaining the second matching result, the method further includes: When both the first matching result and the second matching result indicate a successful match, determining first location data based on the first positioning device, and determining second location data based on the second positioning device; A first heat map corresponding to the police officer identifier is obtained by real-time rendering based on the first position data, and a second heat map corresponding to the gun identifier is obtained by real-time rendering based on the second position data; determining in real time a first thermal value change trend of the first thermal map and a second thermal value change trend of the second thermal map, wherein the first thermal value change trend corresponds to a first moving point set, the second thermal value change trend corresponds to a second moving point set, and the thermal values ​​corresponding to the first position points in the first moving point set and the second position points in the second moving point set are arranged in chronological order from low to high; Determine the distance between the corresponding position points in the first moving point set and the second moving point set at the same time as a reference distance; Acquire a preset path, and determine a reference condition based on the preset path, wherein a starting point of the preset path is the first area checkpoint and an end point of the preset path is the second area checkpoint; Whether to generate second warning information is determined based on a first number of times that the reference distance exceeds a preset distance threshold, whether the first moving point set meets the reference condition, and whether the second moving point set meets the reference condition.

3. The RFID-based gun control early warning method according to claim 2, characterized in that: Determining a reference condition based on the preset path includes: Determining a first reference point and a second reference point associated with each third position point in the preset path, wherein a line connecting the first reference point, the second reference point, and the associated third position point is a straight line, and a distance between the first reference point and the associated third position point is equal to a distance between the second reference point and the associated third position point; A reference area is established based on all of the first reference points and the second reference points, and the reference area is determined as the reference condition.

4. The RFID-based gun control early warning method according to claim 3, characterized in that: Determining whether to generate second alarm information based on a first number of times the reference distance exceeds a preset distance threshold, whether the first moving point set meets the reference condition, and whether the second moving point set meets the reference condition includes: When the first count exceeds a first threshold, or the first moving point set does not meet the reference condition, or the second moving point set does not meet the reference condition, generating the second alarm information; When the first count does not exceed the first threshold, and the first moving point set meets the reference condition, and the second moving point set meets the reference condition, the second alarm information is not generated.

5. The RFID-based gun control early warning method according to claim 3, characterized in that: Determining whether to generate second alarm information based on a first number of times the reference distance exceeds a preset distance threshold, whether the first moving point set meets the reference condition, and whether the second moving point set meets the reference condition includes: accumulating a second number of times that the first position point deviates from the reference area, and accumulating a third number of times that the second position point deviates from the reference area; Determining the separation time duration during which the separation distance corresponding to each of the first times exceeds a preset threshold; Assigning a first weight value to the first number of times, assigning a second weight value to the second number of times, and assigning a third weight value to the third number of times, wherein the first weight value is greater than the second weight value and the third weight value; multiplying the sum of the separation durations for each of the first number of times by the first weight value to obtain a first product; multiplying the second number of times by the second weight value to obtain a second product; multiplying the third multiplication factor by the third weight value to obtain a third product; The first product, the second product, and the third product are summed to obtain a reference score, and the second warning information is generated based on the reference score and a preset score range.

6. The RFID-based gun control early warning method according to claim 5, characterized in that: The reference officer information includes the duration of association between the corresponding officer identifier and the gun identifier; the preset score range includes multiple sub-ranges, and different sub-ranges correspond to different reference durations; and the second warning information is generated based on the reference score and the preset score range, including: determining a target range from the sub-ranges based on the reference score, wherein the reference score belongs to the target range; The reference duration corresponding to the target range is subtracted from the associated duration, and when the adjusted associated duration is less than or equal to 0, the second alarm information is generated.

7. The RFID-based gun control early warning method according to claim 5, characterized in that: After summing the first product, the second product, and the third product to obtain a reference score, the method further includes: Determining a target warning level based on the reference score and a preset warning level mapping table, wherein the warning level mapping table is used to indicate a mapping relationship between score ranges and warning levels, and the reference score is within the score range corresponding to the target warning level; When the police officer identifier and the gun identifier are detected at the second area checkpoint, rematching the reference image corresponding to the police officer identifier with the image of the person carrying the first warning device, which is newly acquired by the camera, to obtain a new first matching result, and rematching the reference gun identifier associated with the police officer identifier with the gun identifier to obtain a new second matching result; When the reference score is greater than a preset threshold, third warning information is generated regardless of whether any matching result of the new first matching result and the new second matching result indicates a successful match.

8. A control device, characterized in that: It includes at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions that can be executed by the at least one control processor, and the instructions are executed by the at least one control processor to enable the at least one control processor to execute the RFID-based gun control and warning method as described in any one of claims 1 to 7.

9. An electronic device, characterized in that: Comprising the control device according to claim 8.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the RFID-based gun control and early warning method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Digital intelligent firearm management system

    CN102368313A

  • Intelligent police gun and wearable intelligent police gun safety device and system

    CN107421385A

  • Safe management and control system for guns

    CN108154018A

  • Firearm supervision system based on Beidou positioning

    CN108334016A

  • Alarming device

    CN108376451A