Management method of lock catch type labor tool
Technical Field
The invention belongs to the technical field of prison management, and particularly relates to a method for managing a lock catch type labor tool.
Background
The prison (place) is a place for supervising special people with high abstinence, high risk and high precaution, and the prison safety is the important part of supervision work; the management of tools in prisons is an important part of prison security, and the safety of prisons can be ensured to a great extent by clearly tracking and monitoring the tools.
For example, in chinese patent No. CN208141441U entitled "a prison safety production management device", a prison safety production management device is disclosed, in which one device is installed at each station, and includes a housing, a main control circuit, a face recognition device, a tool safety management device, and a working condition alarm device. The housing includes a front panel and a back panel, the back panel mounting an interface and an equipment activation switch. The face recognition device comprises a display panel, two cameras, two infrared lamps and an image acquisition processing recognition circuit. The tool safety management device comprises an active antenna tag card reader and a remote electronic tag; the remote electronic tag is arranged on a production and use tool of the station; the working condition warning device comprises a warning lamp and a warning device.
In the above patents, the active antenna tag card reader and the remote electronic tag are arranged on the tool to monitor the position and distance of the tool, but the monitoring mode of the tool is complex and has high cost, the remote electronic tag is easy to replace, and the risk of replacing and privately hiding the tool exists; in addition, the traditional prison tool has great management difficulty, which is mainly shown in the following steps:
1) the tools are inconvenient to pick up and release. The tool picking and releasing need to be managed by the police on duty on the same day, and the full time is responsible for releasing and recovering the tools, so that a great deal of police force is occupied, and the management efficiency is low;
2) the counting tools are complex in number and prone to error. When the tool is required to be manually checked and then the tool is recycled to the special tool cabinet, the checking times are multiple, the problems of inaccurate quantity and the like are easily caused, and the working efficiency is low;
3) tools are difficult to find when lost or maliciously buried. Manual counting is inevitable and careless, and is very easy to cause private tools for the supervised personnel and even further utilize the tools to carry out illegal and illegal activities;
4) police intervention time is long when a safety accident occurs, and even after the safety accident occurs, the tool can be judged to be lost.
Therefore, how to realize accurate monitoring of the equipment and reduce the monitoring difficulty of the monitoring personnel is a difficult problem to be solved in prisons, guard houses or drug rehabilitation houses.
Disclosure of Invention
In order to solve the above problems, a primary object of the present invention is to provide a method for managing a latch-type working tool, which ensures accurate extraction and return of the tool through tool management, so that the tool can be collected and released with tracks, and the tool can be conveniently released and returned.
The invention also aims to provide a method for managing the lock type labor tool, which does not need a manual checking tool, reduces the difficulty of managing the prison tool and saves the supervision cost.
In order to achieve the above object, the technical solution of the present invention is as follows.
A management method of a latch type labor tool is characterized by comprising the following specific steps:
s1: locking the tools in a tool cabinet, and storing image information of each tool;
s2: selecting a designated tool from the tool cabinet, and unlocking the tool cabinet to release the tool after the tool cabinet is authorized;
s3: when the tool is returned, the tool is compared with the corresponding image information, whether the tool is the original tool or not is judged, and if yes, the tool is locked into a tool cabinet; if not, alarm prompt is carried out. The tools can be extracted after being authorized, so that the tools can be accurately issued, and the tools can be accurately judged and identified when being returned, so that the returned tools are consistent with the issued tools, and the tools can be comprehensively extracted, returned and strictly judged and checked through the tools in the tool cabinet, and the tools in the tool cabinet can be accurately monitored and recorded.
Further, in S1: and generating image information of each tool, and binding the tool with the corresponding image information to obtain the corresponding tool according to the image information on the display screen. Through binding image information and corresponding instrument, make things convenient for by the supervisory personnel to select the instrument that needs from the display screen of tool cabinet, this image information is also unanimous with the image information that the instrument that remains corresponds in the tool cabinet.
Further, in S1: the tool cabinet realizes the locking or releasing of the tool through the electromagnetic lock. The locking and unlocking control of the tool is realized by utilizing the characteristics of unlocking after the electromagnetic lock is electrified and locking after the electromagnetic lock is powered off. Meanwhile, the state of long-time locking is set to be power-off, and the effect of saving power can be achieved. The electromagnetic lock does not need to be manually unlocked, and the distribution of supervision personnel can be reduced; and the difficulty of supervision is reduced.
Further, in S3: in the process of comparing the tool with the image information, if the tool is completely matched with the image information, directly locking the tool into a tool cabinet; otherwise, judging whether the tool is substantially the same as the original tool or not according to the threshold value of the contrast similarity, if so, locking the tool into a tool cabinet, and updating the image information of the tool; if the tool is different from the tool cabinet, the alarm is given, and the tool is refused to be locked into the tool cabinet. If the tool is completely matched with the image information, the returned tool can be determined as the original tool; since the tool is inevitably worn during use, the tool that cannot be returned in most cases completely matches the original tool (image information), and the threshold value is set as a determination section for determining whether the tool is the original tool. And when the judgment result is not in the threshold range, the tool can be determined not to be the original tool or the tool is large in abrasion and can not be locked into the tool cabinet as the original tool.
Further, the specific steps of comparing the tool with the original image information and judging whether the return tool is the original tool are as follows:
s21: extracting an original tool outline from original image information;
s22: identifying a return tool and extracting the outline of the return tool;
s23: scaling the original tool contour and the return tool contour in equal proportion;
s24: and comparing the contour information of the original tool with the contour information of the return tool, extracting the similarity of the two contours, if the similarity is 100%, judging that the tool is the original tool, if the similarity is more than 90%, judging that the tool is the original tool substantially, otherwise, judging that the tool is not the original tool. The threshold for similarity comprises 90%. The value can be flexibly set according to needs, of course, the setting can only be a supervisor, and the closer the value is to 100%, the stricter the comparison judgment is. The method for extracting the tool outline from the image comprises binarization processing.
Further, in S2: when the appointed tool is selected, the tool cabinet is unlocked and the tool is released by clicking the image corresponding to the tool on the display screen and inputting the password and authorizing by the supervision personnel. After selecting the tool and inputting the password, submitting the information to be examined and approved by a supervisor, unlocking the release tool after the authorization is passed, and then obtaining the release tool by the supervisor. The password is a security means for realizing distribution and ensuring that a retriever can get to a specific tool.
Further, in S3: when the tool is returned, a password needs to be input, and in the process of comparing the tool with the image, whether the password input when the tool is returned is the same as the password input when the tool is picked up needs to be compared. By comparing the two passwords input when the tool is received and the password input when the tool is returned, whether the tool is the original tool can be further ensured.
Further, an electromagnetic lock is provided in the tool cabinet for each tool. Every instrument sets up the electromagnetic lock respectively, makes things convenient for getting alone of every instrument to put, guarantees the locking of instrument simultaneously.
Furthermore, the electromagnetic lock is composed of a coil, a lock head and a stainless steel shell, when the electromagnetic lock is electrified, the internal coil generates a magnetic field to attract the lock head, and the electromagnetic lock is opened; when the power supply is cut off, the magnetism in the electromagnetic lock disappears, and the lock head is closed.
Furthermore, the tool cabinet is in communication connection with the background control center, so that data statistics can be carried out in real time when tools are issued and returned. The background control center can change the image information of the tool which is issued and returned every time in real time, so that the image information is updated in real time along with the tool.
The invention ensures that the tool is accurately issued by setting the tool to be extracted after being authorized, ensures that the returned tool is consistent with the issued tool by accurately judging and identifying the tool when returning the tool, is comprehensive, ensures the accurate supervision and recording of the tool in the tool cabinet by strictly judging and checking the extraction and return of the tool in the tool cabinet, can ensure the consistency of the tool and the corresponding image information thereof by updating the image information of the tool again each time the tool is replaced, and is convenient for accurately judging the tool and the image information during the subsequent returning. The supervision mode of the tool has the advantages that supervision personnel participate less, the supervision difficulty is reduced, meanwhile, the safety of prison management is guaranteed due to accurate monitoring of the tool.
Drawings
FIG. 1 is a flow chart of the present invention.
FIG. 2 is a flow chart of the picking tool of the present invention.
FIG. 3 is a flow chart of the return tool of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1-3, the invention discloses a method for managing a latch-type labor tool, which comprises the following steps:
s1: locking the tools in a tool cabinet, and storing image information of each tool;
s2: selecting a designated tool from the tool cabinet, and unlocking the tool cabinet to release the tool after the tool cabinet is authorized;
s3: when the tool is returned, the tool is compared with the corresponding image information, whether the tool is the original tool or not is judged, and if yes, the tool is locked into a tool cabinet; if not, alarm prompt is carried out. The tools can be extracted after being authorized, so that the tools can be accurately issued, and the tools can be accurately judged and identified when being returned, so that the returned tools are consistent with the issued tools, and the tools can be comprehensively extracted, returned and strictly judged and checked through the tools in the tool cabinet, and the tools in the tool cabinet can be accurately monitored and recorded.
Wherein, in the step S1: and generating image information of each tool, and binding the tool with the corresponding image information to obtain the corresponding tool according to the image information on the display screen. Through binding image information and corresponding instrument, make things convenient for by the supervisory personnel to select the instrument that needs from the display screen of tool cabinet, this image information is also unanimous with the image information that the instrument that remains corresponds in the tool cabinet.
Wherein, in the step S1: the tool cabinet realizes the locking or releasing of the tool through the electromagnetic lock. The locking and unlocking control of the tool is realized by utilizing the characteristics of unlocking after the electromagnetic lock is electrified and locking after the electromagnetic lock is powered off. Meanwhile, the state of long-time locking is set to be power-off, and the effect of saving power can be achieved. The electromagnetic lock does not need to be manually unlocked, and the distribution of supervision personnel can be reduced; and the difficulty of supervision is reduced.
Wherein, in the step S3: in the process of comparing the tool with the image information, if the tool is completely matched with the image information, directly locking the tool into a tool cabinet; otherwise, judging whether the tool is substantially the same as the original tool or not according to the threshold value of the contrast similarity, if so, locking the tool into a tool cabinet, and updating the image information of the tool; if the tool is different from the tool cabinet, the alarm is given, and the tool is refused to be locked into the tool cabinet. If the tool is completely matched with the image information, the returned tool can be determined as the original tool; since the tool is inevitably worn during use, the tool that cannot be returned in most cases completely matches the original tool (image information), and the threshold value is set as a determination section for determining whether the tool is the original tool. And when the judgment result is not in the threshold range, the tool can be determined not to be the original tool or the tool is large in abrasion and can not be locked into the tool cabinet as the original tool.
The specific steps of comparing the tool with the original image information and judging whether the return tool is the original tool are as follows:
s21: extracting an original tool outline from original image information;
s22: identifying a return tool and extracting the outline of the return tool;
s23: scaling the original tool contour and the return tool contour in equal proportion;
s24: and comparing the contour information of the original tool with the contour information of the return tool, extracting the similarity of the two contours, if the similarity is 100%, judging that the tool is the original tool, if the similarity is more than 90%, judging that the tool is the original tool substantially, otherwise, judging that the tool is not the original tool. The threshold for similarity comprises 90%. The value can be flexibly set according to needs, of course, the setting can only be a supervisor, and the closer the value is to 100%, the stricter the comparison judgment is. The method for extracting the tool outline from the image comprises binarization processing.
Wherein, in the step S2: when the appointed tool is selected, the tool cabinet is unlocked and the tool is released by clicking the image corresponding to the tool on the display screen and inputting the password and authorizing by the supervision personnel. After selecting the tool and inputting the password, submitting the information to be examined and approved by a supervisor, unlocking the release tool after the authorization is passed, and then obtaining the release tool by the supervisor. The password is a security means for realizing distribution and ensuring that a retriever can get to a specific tool.
Wherein, in the step S3: when the tool is returned, a password needs to be input, and in the process of comparing the tool with the image, whether the password input when the tool is returned is the same as the password input when the tool is picked up needs to be compared. By comparing the two passwords input when the tool is received and the password input when the tool is returned, whether the tool is the original tool can be further ensured.
Wherein one electromagnetic lock is provided in the tool cabinet for each tool. Every instrument sets up the electromagnetic lock respectively, makes things convenient for getting alone of every instrument to put, guarantees the locking of instrument simultaneously.
When the electromagnetic lock is electrified, the internal coil generates a magnetic field to attract the lock head, and the electromagnetic lock is opened; when the power supply is cut off, the magnetism in the electromagnetic lock disappears, and the lock head is closed.
The tool cabinet is in communication connection with the background control center, so that data statistics can be carried out in real time when tools are issued and returned. The background control center can change the image information of the tool which is issued and returned every time in real time, so that the image information is updated in real time along with the tool.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.