Environment security check method and equipment for task automatic verification, and storage medium

By selecting target security inspectors, generating tasks, and reviewing images in real time, the issues of targeting and efficiency in security inspections have been resolved. This has enabled a high degree of control over security inspection tasks and real-time error correction, thereby improving the efficiency of environmental security inspections.

CN121329063APending Publication Date: 2026-01-13CIMC EQUIP TECH CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511550494.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-28
Publication Date
2026-01-13

AI Technical Summary

Technical Problem

Existing security inspections lack specificity and systematicity, resulting in blind spots in the supervision of dangerous areas. It is difficult to quantify and assess the performance of security personnel, and the security inspection process is cumbersome and inefficient, making it difficult to detect and resolve safety hazards in a timely manner.

Method used

By selecting target security inspectors based on inspection information, generating and sending security inspection tasks, acquiring real-time images of task execution and conducting compliance reviews, and automatically issuing alarms, a high degree of control over task execution and improved efficiency can be achieved.

Benefits of technology

It has enabled precise control over security inspection tasks, eliminated blind spots in supervision, improved the efficiency and quality of security inspections, reduced manpower burden, and promptly identified and resolved security risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121329063A_ABST
    Figure CN121329063A_ABST
Patent Text Reader

Abstract

The invention discloses an environment security check method and device for task automatic verification, and a storage medium, and the method comprises the steps: screening all security check personnel according to the check point information of a check point, and determining a target security check personnel in all security check personnel; generating a security check task according to the check frequency and position information in the check point information and the shift information and personnel information of the target security inspector, and sending the security check task to a target security check terminal of the target security inspector; at any moment in the security check task execution process, automatically or responding to a control instruction to obtain a task execution image; and performing compliance examination on the task execution content in the task execution image, and giving an alarm if the task execution content does not meet the rule. According to the invention, high management and control of security check task execution are realized, and the efficiency of environmental security check is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application falls under the field of security inspection, specifically involving environmental security inspection methods, equipment, and storage media for automated task verification. Background Technology

[0002] In industrial production, safety management is receiving increasing attention. Currently, safety inspections often lack focus and systematic approach, failing to effectively cover all types of hazardous areas and resulting in regulatory blind spots in certain areas. Furthermore, there is a lack of quantitative and precise methods for assessing and controlling the performance of different safety inspectors, making it difficult to develop targeted safety precautions based on actual conditions. Moreover, safety inspection processes are often cumbersome and inefficient, making it difficult to promptly identify and resolve safety hazards, thus leaving some risks unaddressed.

[0003] Therefore, how to achieve a high degree of control over the execution of security inspection tasks and improve the efficiency of environmental security inspections are urgent technical problems that need to be solved. Summary of the Invention

[0004] The purpose of this application is to achieve a high degree of control over task execution and to improve the efficiency of environmental safety inspections.

[0005] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.

[0006] According to one aspect of the embodiments of this application, an environmental security inspection method for automatic task verification is provided, the method comprising: Based on the inspection information, all security personnel are screened, and target security personnel are identified from all security personnel. Based on the inspection frequency and location information in the inspection information, as well as the shift information and personnel information of the target security inspector, a security inspection task is generated and sent to the target security inspector's target security inspection terminal. At any point during the execution of the security check task, images of the task execution can be acquired automatically or in response to control commands. The content of the task execution in the task execution image is subject to compliance review, and an alarm is issued if it does not comply with the rules.

[0007] According to one aspect of the embodiments of this application, screening all security personnel based on inspection information, and determining a target security inspector from among all security inspectors, includes: Based on the type information in the inspection information, the security inspector of the type corresponding to the type information is selected as the first security inspector; Based on the production line information in the inspection information, the first security inspector with inspection authority is selected as the initial security inspector, and at least one initial security inspector is selected as the target security inspector.

[0008] According to one aspect of the embodiments of this application, the method further includes: The required number of security inspectors for each type of target is determined based on the inspection information. Select initial security inspectors of each type as target security inspectors to ensure that the required number of target security inspectors of each type is reached.

[0009] According to one aspect of the embodiments of this application, the type information in the inspection information can correspond to multiple types of security personnel. A security inspection task is generated based on the inspection frequency and location information in the inspection information, as well as the shift information and personnel information of the target security personnel, including: If the initial security personnel are of multiple types, then at least one target security personnel shall be selected from each type of initial security personnel. Based on the inspection information, the inspection frequency corresponding to each type of target security inspector is obtained, and the inspection frequency of each target security inspector is determined. Based on the inspection frequency, shift information, personnel information, and location information of each target security inspector, the security inspection task for each target security inspector is generated. If the initial security personnel are of the same type, the security task is generated based on the inspection frequency and location information in the inspection point information, as well as the shift information and personnel information of the target security personnel.

[0010] According to one aspect of the embodiments of this application, the method further includes: If the danger level of the inspection point reaches a set level, the center location of the inspection point is obtained based on the inspection point information, and the danger zone formed by the center location of the inspection point is determined. Based on the location and direction of movement of the target security check terminal, calculate the danger index of the target security personnel corresponding to the target security check terminal; The target task terminal issues a corresponding warning based on the danger index and sends a danger alert to the server.

[0011] According to one aspect of the embodiments of this application, calculating the danger index of the target security personnel corresponding to the target security terminal based on the position and direction of movement of the target security terminal includes: If the movement direction of the target security terminal will pass through the danger zone, then the ray pointing in the movement direction will be taken as the first ray, and the distance between the center of the inspection point and the first ray will be taken as the first distance. The ray that passes through the center of the inspection point and is perpendicular to the first ray is designated as the second ray; The intersection of the second ray and the edge of the danger zone is taken as the first node, and the distance between the inspection center and the first node is taken as the first safe distance. The ratio of the first safe distance to the first distance is the first danger value. The ray from the target security terminal toward the center of the inspection point is taken as the third ray, and the first intersection of the third ray and the edge of the danger zone is taken as the second node; The distance between the center of the inspection point and the second node is defined as the second safe distance, and the ratio of the second safe distance to the second distance is defined as the second danger value. The distance between the target security inspection terminal and the center of the inspection point is defined as the second distance. The hazard index is calculated based on the first hazard value and the second hazard value.

[0012] According to one aspect of the embodiments of this application, calculating the danger index of the target security personnel corresponding to the target security terminal based on the position and direction of movement of the target security terminal further includes: If the target security terminal's movement direction would pass through the danger zone, then the vector pointing from the target security terminal to the center of the inspection point would be taken as the fourth ray, and the target security terminal's movement direction would be taken as the fifth ray. A sixth ray is emitted via the target security terminal. The sixth ray passes through the outermost edge of the danger zone without crossing it. The sixth ray is located on the side of the fifth ray that is far from the fourth ray. The first intersection of the fourth ray and the edge of the danger zone is taken as the third node, and the distance between the inspection center and the third node is the third safety distance. The distance between the center of the inspection point and the target security terminal is taken as the third distance, and the ratio of the third safe distance to the third distance is taken as the third danger value; The angle formed by the fourth and fifth rays is taken as the danger angle, and the angle formed by the fourth and sixth rays is taken as the reference angle. The ratio of the reference angle to the danger angle is taken as the fourth danger value. The hazard index is calculated based on the third and fourth hazard values.

[0013] According to one aspect of the embodiments of this application, calculating the danger index of the target security personnel corresponding to the target security terminal based on the position and direction of movement of the target security terminal further includes: If the danger zone is a circular area centered on the inspection center position with a set distance as the danger radius, and if the target security terminal will pass through the danger zone along its movement direction, then the vector from the target security terminal to the inspection center position is taken as the fourth ray, and the movement direction of the target security terminal is taken as the fifth ray. The danger zone refers to the circular area centered on the inspection center position. The distance between the center of the inspection point and the target security terminal is taken as the third distance, and the ratio of the danger radius to the third distance is taken as the third danger value. A tangent is drawn from the position of the target security terminal to the danger zone. The tangent located on the side of the fourth ray that is biased towards the fifth ray is taken as the sixth ray, and the angle formed by the fourth ray and the sixth ray is taken as the reference angle. The angle formed by the fourth and fifth rays is taken as the danger angle, and the ratio of the reference angle to the danger angle is taken as the fourth danger value; The hazard index is calculated based on the third and fourth hazard values.

[0014] According to one aspect of the embodiments of this application, an environmental security inspection device for automatic task verification is provided, including a memory, a processor, and a readable program stored in the memory, wherein the processor executes the readable program to implement the method as described in any of the above claims.

[0015] According to one aspect of the embodiments of this application, a readable storage medium is provided, on which a readable program / instruction is stored, which, when executed by a processor, implements the method as described in any of the preceding claims.

[0016] This application first screens all security personnel based on inspection point information, identifying target security inspectors from among them. Then, based on the inspection frequency and location information from the inspection points, as well as the target security inspector's shift and personnel information, a security inspection task is generated and sent to the target security inspector's target terminal. This personnel selection based on "inspection point information + security inspector skills / shift" solves the problem of "personnel mismatch and shift conflicts" in manual scheduling, directly achieving personnel-job fit and laying the foundation for task execution. At any point during the security inspection task execution, the system automatically or in response to control commands acquires task execution images. The system then conducts compliance reviews of the task execution content in the images, issuing alarms if violations occur. The automatic / responsive image acquisition at any time eliminates the "blind spots and lack of evidence" problems of manual patrols, directly achieving full regulatory coverage and process traceability, reducing manpower pressure. Real-time review of images and violation alarms overcomes the limitations of post-event spot checks, directly achieving real-time error correction and preventing the expansion of security risks. This enables a high degree of control over task execution and improves the efficiency of environmental safety inspections.

[0017] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.

[0018] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0019] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.

[0020] Figure 1 A flowchart of an environmental security inspection method for automatic task verification according to an embodiment of this application is shown.

[0021] Figure 2 A flowchart is shown that, according to one embodiment of this application, a target security inspector is determined from all security inspectors by screening all security inspectors based on inspection information.

[0022] Figure 3 A flowchart illustrating the determination of a target security inspector according to one embodiment of this application is shown.

[0023] Figure 4 A flowchart illustrating how the type information in the inspection information according to one embodiment of this application can correspond to multiple types of security inspectors, and how a security inspection task is generated based on the inspection frequency, location information, shift information, and personnel information of the target security inspector in the inspection information.

[0024] Figure 5 A flowchart illustrating a hazard prediction for a target security inspector based on the hazard situation of an inspection point, according to one embodiment of this application, is shown.

[0025] Figure 6 A flowchart illustrating the calculation of the hazard index according to the first embodiment of this application is shown.

[0026] Figure 7 A schematic diagram of a hazardous area for calculating a hazard index according to a first embodiment of this application is shown.

[0027] Figure 8 A flowchart illustrating the calculation of the hazard index according to a second embodiment of this application is shown.

[0028] Figure 9A schematic diagram of a hazardous area for calculating a hazard index according to a second embodiment of this application is shown.

[0029] Figure 10 A flowchart illustrating the calculation of the hazard index according to a third embodiment of this application is shown.

[0030] Figure 11 A schematic diagram of a hazardous area for calculating a hazard index according to a third embodiment of this application is shown.

[0031] Figure 12 A block diagram of a computer system architecture for implementation according to an embodiment of this application is shown. Detailed Implementation

[0032] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this application more comprehensive and complete, and to fully convey the concept of the exemplary embodiments to those skilled in the art.

[0033] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.

[0034] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0035] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.

[0036] In the embodiments of this application, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.

[0037] Please see Figure 1 , Figure 1 A flowchart of an environmental security check method for automatic task verification according to an embodiment of this application is shown. This application embodiment provides the steps of an environmental security check method for automatic task verification, including: Step S110: Screen all security personnel based on the inspection information and identify the target security personnel from all security personnel. Step S120: Generate a security inspection task based on the inspection frequency and location information in the inspection information, as well as the shift information and personnel information of the target security inspector, and send the security inspection task to the target security inspector's target security inspection terminal. Step S130: At any time during the security check task execution process, automatically or in response to control commands, acquire task execution images; Step S140: Conduct a compliance review of the task execution content in the task execution image, and issue an alarm if it does not comply with the rules.

[0038] The above four steps are described in detail below.

[0039] In step S110, the target security inspector is determined based on the inspection point information and the security inspector's work information. It should be clarified that an inspection point refers to an area requiring security checks. Inspection point information refers to information about the inspection point, including but not limited to location information indicating the location of the inspection point, type information indicating the type of inspection (e.g., high-altitude), inspection frequency indicating the required frequency of inspection, and hazard level indicating the degree of danger of the inspection point.

[0040] Based on the inspection point information, the target security inspector is determined from among all security inspectors to inspect each point, ensuring that the target security inspector is appropriately matched to each inspection point, thereby guaranteeing the effectiveness of security checks. For example, based on the type of inspection point, it can be determined what type of security inspector is best suited to perform the security checks at that point.

[0041] Please see Figure 2 , Figure 2This document illustrates a flowchart illustrating the process of screening all security personnel based on inspection information from a checkpoint, and determining a target security inspector from among all security personnel, according to an embodiment of this application. The embodiment of this application provides step S110, which involves screening all security personnel based on inspection information from a checkpoint and determining a target security inspector from among all security personnel, including: Step S111: Based on the type information in the inspection information, the security inspector corresponding to the type information is selected as the first security inspector. Step S112: Based on the production line information in the inspection information, the first security inspector with inspection authority is selected as the initial security inspector, and at least one initial security inspector is selected as the target security inspector.

[0042] The two steps described above are described in detail below.

[0043] In step S111, based on the category information in the checkpoint information, the type of security inspector required for the checkpoint can be determined. There is a correspondence between the category information and the type of security inspector, and each category information corresponds to a specific type of security inspector. In some embodiments, the category information corresponds to at least one type of security inspector.

[0044] The security inspector corresponding to the category information will be designated as the first security inspector. For example, if the inspection is classified as a high-altitude operation, then the security inspector with the high-altitude operation type will be designated as the first security inspector among all security inspectors. In step S112, based on the production line information in the inspection information, the first security inspector with inspection authority is selected as the initial security inspector. The production line information indicates which production line the inspection belongs to, or which jurisdiction the inspection belongs to. If the inspection belongs to the first production line, then the first security inspector with the authority to inspect the first production line is selected as the initial security inspector.

[0045] Select at least one initial security inspector as the target security inspector. That is, select a security inspector who simultaneously meets the required type and permissions for the inspection.

[0046] In this embodiment, by automatically identifying the target security inspector, the automation level of the environmental security inspection process is improved. Furthermore, by determining the target security inspector from among all security inspectors based on the inspection point information, targeted security inspectors can be assigned to each inspection point to optimize security inspection effectiveness as much as possible. In addition, this embodiment uses screening criteria to progressively select the first security inspector and the initial security inspector, reducing the amount of data processing.

[0047] In some embodiments, based on the production line information in the inspection information, a security inspector with inspection authority is designated as a second security inspector; a security inspector who is both a first and a second security inspector is designated as an initial security inspector, and at least one initial security inspector is selected as a target security inspector.

[0048] Please see Figure 3 , Figure 3 A flowchart illustrating the determination of a target security inspector according to an embodiment of this application is shown. This application embodiment provides steps for determining a target security inspector, including 112: Step S1121: Determine the required number of security inspectors for each type of target based on the inspection information; Step S1122: Select each type of initial security inspector as the target security inspector, so that the number of target security inspectors of each type reaches the required number.

[0049] The two steps described above are described in detail below.

[0050] In step S1121, the inspection information records the number of security personnel required for each type of target at this inspection point. This is because, depending on the danger level or complexity of the inspection point, sometimes multiple types of target security personnel are needed, and multiple personnel are required for each type of target security personnel to carry out coordinated operations.

[0051] In some embodiments, the required number of target security personnel for each type is determined based on the level of danger or complexity of the inspection.

[0052] In step S1122, after determining the required number of security inspectors for each type at the checkpoint, a corresponding number of initial security inspectors for each type are selected as target security inspectors. This ensures that the number of target security inspectors for each type reaches the required number for the checkpoint.

[0053] In some embodiments, 'a' type A security inspectors and 'b' type B security inspectors are required for inspection. Therefore, 'a' type A initial security inspectors are selected as type A target security inspectors. 'b' type B initial security inspectors are selected as type B target security inspectors.

[0054] If the number of initial security inspectors is less than the required number of target security inspectors, a notification message will be issued to remind them that there are insufficient initial security inspectors. If the number of initial security inspectors exceeds the required number of target security inspectors, the initial security inspectors with the most extensive security inspection experience will be selected as target security inspectors in order of their years of service.

[0055] In step S120, a security check task is generated based on the checkpoint information and the target security inspector's work information. It should be clarified that the target security inspector's work information includes, but is not limited to: type information indicating the type of security check, shift information indicating the target security inspector's on-duty time, personnel information indicating the target security inspector's identity attributes, and permission information indicating the target security inspector's inspection authority.

[0056] After identifying the target security personnel, a security check task needs to be generated. Based on the checkpoint information and the target security personnel's work information, the personnel, location, time, and frequency of the security check are determined, and then the security check task is generated. This security check task is then sent to the target security personnel's target security check terminal so that the target security personnel are aware of the security check task. The target security check terminal can be a mobile terminal.

[0057] For example, the location information of the security checkpoint is determined based on the location information of the checkpoint; the security check time is determined based on the shift information of the target security inspector; the inspection time of the target security inspector is determined based on the inspection frequency of the checkpoint and the shift information of the target security inspector; and the personnel to conduct the security check at the checkpoint are determined based on the personnel information of the target security inspector. A security check task is generated based on the personnel, location information, time, and frequency.

[0058] In some embodiments, a security inspection task is generated based on the inspection frequency, location information, shift information, and personnel information of the target security inspector in the inspection information.

[0059] The above process enables the automated generation and systematic management of security inspection tasks, greatly improving the automation level and efficiency of environmental security inspections.

[0060] Please see Figure 4 , Figure 4 This document illustrates a flowchart illustrating how the type information in the inspection information according to an embodiment of this application can correspond to multiple types of security personnel, and how a security inspection task is generated based on the inspection frequency, location information, shift information, and personnel information of the target security inspector in the inspection information. The embodiment of this application provides a step S120 for generating a security inspection task based on the inspection frequency, location information, shift information, and personnel information of the target security inspector, where the type information in the inspection information can correspond to multiple types of security personnel, including: Step S121: If the initial security personnel are of multiple types, then select at least one target security personnel from each type of initial security personnel. Step S122: Obtain the inspection frequency corresponding to each type of target security inspector based on the inspection information, and determine the inspection frequency of each target security inspector. Step S123: Based on the inspection frequency, shift information, personnel information, and location information of each target security inspector, generate security inspection tasks for each target security inspector. Step S124: If the initial security personnel are of the same type, a security inspection task is generated based on the inspection frequency and location information in the inspection point information, as well as the shift information and personnel information of the target security inspector.

[0061] The above four steps are described in detail below.

[0062] In step S121, it is important to clarify that the category information in the inspection information corresponds to multiple types of security personnel. Security inspection tasks require the cooperation of multiple types of target security personnel, hence the category information corresponds to multiple types of target security personnel. Alternatively, if the inspection is particularly important, while one type of target security personnel may be needed for inspection, other types of target security personnel may also be needed for random checks; therefore, multiple types of target security personnel need to perform their respective security inspection tasks.

[0063] If there are multiple types of initial security personnel, it means that the security task requires multiple types of target security personnel to complete. Therefore, at least one target security personnel should be selected from each type of initial security personnel to conduct the inspection.

[0064] For acquiring multiple types of initial security personnel, steps S111-S112 can be used to separately or jointly screen security personnel of each type as initial security inspectors. For example, the inspection requires both type A and type B security inspectors. Firstly, step S111 can be used to separately or directly select type A and type B security inspectors from all security inspectors as the first security inspectors. Then, based on the production line information in the inspection information, the first security inspectors with inspection authority are selected as the initial security inspectors, i.e., the initial security inspectors are divided into type A initial security inspectors and type B initial security inspectors. Then, based on the required number of target security inspectors for each type at the inspection, the corresponding number of initial security inspectors from the two types are selected as target security inspectors. For example, if the inspection requires 'a' type A target security inspectors and 'b' type B target security inspectors, then 'a' type A initial security inspectors are selected as type A target security inspectors, and 'b' type B security inspectors are selected as type B target security inspectors.

[0065] In step S122, the inspection information records the inspection frequency corresponding to each type of target security inspector. The inspection frequency corresponding to each type of target security inspector is obtained based on the inspection information, and then the inspection frequency corresponding to each target security inspector is determined according to its type. Each type of target security inspection corresponds to the same inspection frequency. In some embodiments, the inspection frequency corresponding to each type of target security inspection in the inspection information can be customized.

[0066] For example, if the inspection frequency m corresponds to a type A target security inspector, then both type A target security inspectors A1 and A2 correspond to inspection frequencies m. If the inspection frequency n corresponds to a type B target security inspector, then both type B target security inspectors B1 and B2 correspond to inspection frequencies n. In other words, after knowing the inspection frequency corresponding to each type of target security inspector, the inspection frequency of each target security inspector can be obtained.

[0067] In step S123, security inspection tasks are generated for each target security inspector based on their inspection frequency, shift information, personnel information, and location information in the inspection point information. These tasks are then sent to the target task terminal of the corresponding target security inspector. For example, a security inspection task is generated based on the shift information, personnel information, inspection frequency, and location information in the inspection point information of target security inspector An, and then sent to target task terminal of target security inspector An. Security inspection tasks are generated and sent to the corresponding target task terminal for each target security inspector using the above method.

[0068] In step S124, if the initial security personnel are of the same type, a security inspection task is generated directly based on the inspection frequency, location information, shift information, and personnel information of the target security inspector recorded in the inspection information, and the security inspection task is sent to the target task terminal of each target security inspector.

[0069] For example, if the checkpoint only requires type A security inspectors, then multiple target security inspectors of type A, A1, A2, ..., are obtained, or there is only one security inspector A1. For any target security inspector An, a security inspection task is generated based on the shift information, personnel information, inspection frequency, and location information in the checkpoint information of target security inspector An, and then the security inspection task is sent to the target task terminal of target security inspector An. Security inspection tasks are generated in the above manner for each target security inspector and sent to the corresponding target task terminal of the target security inspector.

[0070] In this embodiment, when multiple types of security inspectors are needed to assist in inspections or quality checks, the corresponding security inspectors can be generated simultaneously, which greatly improves the efficiency of automatic generation of security inspection tasks and increases the efficiency of environmental security inspections. At the same time, since the above process is generated automatically, corresponding task generation records will be left behind. The task execution records facilitate the management of environmental security inspection data. Therefore, this embodiment makes it easier to control the entire environmental security inspection process and efficiently solve security risks.

[0071] In step S130, the task execution images collected based on the target security check terminal's response control command are used to determine whether the security check task has been performed according to the execution standards. The task execution images refer to the task execution data generated during the target security inspector's execution of the security check task. In other words, the task execution images are images of the target security inspector performing the already executed portion of the security check task. (Explanation of the already executed portion of the security check task: If the task execution images are acquired during the task execution process, then the already executed portion of the security check task refers to the portion of the security check task that the target security inspector has already performed, i.e., the portion where the case task has been completed. If the task execution images are acquired after the security check task has been completed, then the already executed portion of the security check task refers to the entire content of the security check task performed by the target security inspector.)

[0072] In some embodiments, task execution images are acquired directly through a target security check terminal (equipped with a camera device) or by wearing a portable camera device. Task execution images are generated based on the actions of the target security personnel. The camera device automatically begins recording at the start of the task or in response to user actions, until it determines that the security check task has been completed based on the target security personnel's actions. During this task execution process, images can also be automatically generated based on user actions, or the captured task execution images can be acquired at set intervals. This yields images of the completed portion of the security check task.

[0073] In some embodiments, data can be acquired at any stage of the security check task by responding to the actions of the target security personnel. Alternatively, based on preset acquisition rules, after determining the start of the security check task in response to the actions of the target security personnel, task execution images can be acquired at set intervals.

[0074] In other words, mission execution footage can be acquired at any point during the mission. It can also be acquired after the security check has been completed. Acquiring mission execution footage during the mission includes the portion already performed by the target security officer, allowing for compliance review of the completed portion of the security check. Acquiring mission execution footage after the mission is completed includes the target security officer's performance throughout the entire security check, allowing for compliance review of the overall mission execution process.

[0075] It is important to clarify that the completion of a security check does not mean the security check is finished. Before a compliance review is conducted, the security check can only be described as having been completed, not as finished. This is because determining whether a security check is complete requires a compliance review to ascertain the degree of compliance of the target security officer's actions. Only when the compliance level reaches a set threshold can the security check be considered completed.

[0076] In step S140, the task execution image undergoes a compliance review. If it complies with the rules, the security check task continues; if it does not comply, an alarm is issued to notify the user that the task execution is non-compliant. This necessitates re-execution or correction of the already completed portion of the security check task, or re-execution by a different security personnel.

[0077] In some embodiments, task execution images are sent to a server to facilitate quality inspection by quality control personnel. The system responds to the personnel's actions to determine whether the completed portion of the security inspection task is compliant. In some embodiments, the target security inspection terminal reviews the task execution images at set intervals or in response to review instructions. Review instructions can originate from the server or be generated in response to the actions of the target security inspector.

[0078] In some embodiments, feature extraction is performed on the task execution images to obtain execution features. Based on the comparison results between the execution features and standard features, it is determined whether the security inspection task is compliant. In some embodiments, the task execution information is input into a pre-trained review neural network, which performs a compliance review on the task execution information to determine whether the executed portion of the security inspection task is compliant.

[0079] In some embodiments, the target security officer's physical status parameters are obtained directly from the target security check terminal (which has a corresponding terminal) or through a worn mobile terminal to determine the target security officer's safety status. In some embodiments, the target security officer's location is obtained directly from the target security check terminal or through a worn mobile terminal to quickly locate the target security officer when a safety issue arises, thereby enabling rescue efforts. For example, when the target security officer's physical status parameters exhibit dangerous characteristics, the target security check terminal generates a rescue alarm and then uploads the target security check terminal's location and the rescue alarm to the server, so that the server can quickly detect that the target security officer is in a dangerous state and provide timely rescue.

[0080] In this embodiment, personnel are selected based on "inspection information + security inspector skills / shifts," overcoming the problems of "personnel mismatch and shift conflicts" in manual scheduling and directly achieving personnel-job fit, laying the foundation for task execution. At any moment during the security inspection task execution, images of the task execution are automatically or in response to control commands; the content of the task execution in the images undergoes compliance review, and an alarm is issued if it violates the rules. Automatic / responsive image acquisition at any time eliminates the problems of "supervisory blind spots and lack of evidence" in manual patrols, directly achieving full regulatory coverage and process traceability, reducing manpower pressure; real-time review of images and violation alarms overcomes the limitations of post-event spot checks in "difficulty in timely loss prevention," directly achieving real-time error correction and preventing the expansion of security risks. This ultimately achieves a high degree of control over task execution and improves the efficiency of environmental security inspections.

[0081] In some embodiments, compliance review of the task execution content in the task execution image can be carried out in the following ways; Obtain the standard execution steps corresponding to the security check task, and the standard image features corresponding to each standard execution step; select the execution image that matches the standard image features as the hit image, and assign a blank image as a supplementary image for the standard execution steps without a hit image; (by preprocessing the task execution image, multiple execution images are obtained, i.e., the task execution image includes multiple execution images.) Sort the hit images according to the playback order of the hit images in the task execution image to obtain the execution image sequence, and sort the hit images and supplementary images according to the execution order of the standard execution steps to obtain the standard image sequence; calculate the sequence similarity between the standard image sequence and the execution image sequence to determine the compliance level based on the sequence similarity. If the compliance level is greater than a set threshold, the execution of the completed portion of the security check task corresponding to the task execution image is determined to be compliant; if the compliance level is less than or equal to the set threshold, the execution of the completed portion of the security check task is determined to be non-compliant.

[0082] In other words, compliance level refers to the completion rate of the portion of the security check task represented by the task image. If the task execution image is acquired during the task execution process, meaning the security check task is only partially completed, then the compliance level refers to the completion rate of that portion of the security check task execution. If the task execution image is acquired after the task execution is completed, meaning the security check task is finished, then the compliance level refers to the completion rate of all security check task execution actions. If the compliance level is greater than a set threshold, the execution of the portion of the security check task is determined to be compliant; if the compliance level is less than or equal to the set threshold, the execution of the portion of the security check task is determined to be non-compliant.

[0083] Specifically, firstly, the target task terminal acquires the task execution image and preprocesses it to obtain multiple execution images. The target task terminal can acquire the task execution image through a camera device installed on it. In some embodiments, the target task terminal can acquire the task execution image through a mobile camera device worn by the target security officer. After acquiring the task execution image, the target task terminal preprocesses it to obtain multiple execution images. For example, frames are extracted from the task execution image at predetermined playback intervals to obtain multiple execution images. Alternatively, each frame of the task execution image can be extracted as an execution image.

[0084] Secondly, obtain the standard execution steps corresponding to the security inspection task, and the image features corresponding to each standard step. For example, for a patrol security inspection task, the standard execution steps refer to the various locations that need to be reached, with each standard execution step corresponding to one location. For a security inspection task involving operating machinery and equipment, the standard execution steps refer to the sequential operations required to operate the machinery and equipment, with each standard execution step corresponding to the state of the machinery and equipment after an operation. For a security inspection task where the target security inspector needs to conduct security observation (such as security supervision of unloading goods), the standard execution steps refer to supervising the observed object to perform the task according to the set procedure, with each standard execution step corresponding to an execution procedure node of the observed object. Each standard execution step corresponds to standard image features.

[0085] Secondly, the execution image that matches the standard image features to a preset feature threshold is taken as the hit image. If there are multiple execution images that match the standard image features, the execution image with the highest degree of matching the standard image features is taken as the hit image, ensuring that each standard execution step corresponds to at most one hit image.

[0086] It is important to clarify that if the target security inspector's task execution behavior in the execution image is not standardized (e.g., distorted movements or irregular behavior) and does not conform to the standard image characteristics, then even if the target security inspector is performing a standard step in the security inspection task, that execution image cannot be considered a hit image. This, from another perspective, evaluates the target security inspector's performance in performing the security inspection task, while also urging the target security inspector to perform the security inspection task diligently, thereby enabling potential security risks to be detected in a timely manner. In other words, the embodiments of this application not only evaluate whether the target security inspector performs standard steps, but also whether the target security inspector strictly performs the standard steps.

[0087] For standard execution steps that do not match an image, a blank image is assigned as a replacement image. Each standard execution step has a corresponding matched image or a replacement image; that is, each standard step can only correspond to one image.

[0088] Then, based on the playback order of the hit images in the task execution video, the hit images are sorted to obtain the execution image sequence. Furthermore, based on the execution order of the standard execution steps, the hit images and supplementary images are sorted to obtain the standard image sequence. In other words, the execution image sequence represents the actual execution of the security check task by the target security inspector, while the standard image sequence represents the expected execution of the security check task by the target security inspector. If both are completely identical, it indicates that the target security inspector has flawlessly completed the completed portion of the security check task. If they are partially identical, it indicates that the target security inspector's completion of the completed portion of the security check task is flawed, meaning the target security inspector's completion of the security check task is not satisfactory. The greater the similarity between the execution image sequence and the standard image sequence, the higher the compliance level of the completed portion of the security check task. In other words, the better the target security inspector's execution of the security check task.

[0089] Finally, the sequence similarity between the standard image sequence and the executed image sequence is calculated to determine the compliance level of the executed portion of the security check task based on the sequence similarity, such as directly using the sequence similarity as the compliance level. If the compliance level of the executed portion of the security check task is greater than a set threshold, the executed portion of the security check task is determined to be compliant; if the task completion level is less than or equal to the set threshold, the executed portion of the security check task is determined to be non-compliant.

[0090] In some embodiments, a task execution report is output regardless of whether the completed portion of the security check task is compliant, indicating any violations by the target security inspector during the execution of the security check task.

[0091] This application embodiment, through analysis of task execution images, can automatically and reasonably determine whether the target security inspector strictly follows the standard execution steps during the security inspection process, saving manpower from individually reviewing the task execution images of the target security inspector. On the other hand, by reviewing the security inspection task execution process, it ensures that all executed portions of the security inspection task are effectively completed, improving the quality of security task execution. Simultaneously, this method increases the target security inspector's diligence in performing security inspection tasks, thereby enabling the timely detection and resolution of security risks. Furthermore, by conducting compliance reviews of partially completed security inspection tasks, multiple spot checks of the target security inspector can be conducted, and timely corrections can be made when the target security inspector's performance does not meet the task completion standards, avoiding the need to re-execute the entire security inspection task after it has been completed and problems are found during the review.

[0092] In some embodiments, the number of execution steps with hit images is taken as the hit count; the ratio of the hit count to the standard number of execution steps is taken as the hit rate; and the task completion degree is calculated based on sequence similarity and hit rate. This method allows for a more accurate determination of task completion.

[0093] In some embodiments, the method for calculating the sequence similarity between a standard image sequence and an execution image sequence includes: using the length of the longest identical subsequence in the execution image sequence and the standard image sequence as a target length, and using the ratio of the target length to the length of the standard image sequence as a first similarity; using the number of overlapping adjacent image pairs in the execution image sequence and the standard image sequence as a target overlap number, and using the ratio of the target overlap number to the number of adjacent image pairs in the standard image sequence as a second similarity; calculating a third similarity between the execution image sequence and the standard image sequence based on the difference in the sorting position of each hit image in the execution image sequence and the standard image sequence; and calculating the sequence similarity between the execution image sequence and the standard image sequence based on at least one of the first similarity, the second similarity, and the third similarity.

[0094] Specifically, firstly, the length of the longest identical subsequence in the executed image sequence and the standard image sequence is taken as the target length, and the ratio of the target length to the length of the standard image sequence is taken as the first similarity. The similarity between the executed image sequence and the standard image sequence is determined from the perspective of the execution content, that is, whether the target security inspector has performed the security task according to the content specified in the standard execution steps. The higher the first similarity, the more similar the executed image sequence and the standard image sequence are.

[0095] Secondly, the number of overlapping adjacent image pairs in the executed image sequence and the standard image sequence is taken as the target overlap number, and the ratio of the target overlap number to the number of adjacent image pairs in the standard image sequence is taken as the second similarity. The relative positional relationship of the images in the two image sequences is determined from the adjacency relationship, and then the similarity between the executed image sequence and the standard image sequence is determined from the dimension of relative positional relationship, that is, to determine whether the target security inspector performs the security inspection task in a relatively coherent relative execution order. The larger the second similarity, the more similar the executed image sequence and the standard image sequence are.

[0096] Secondly, based on the differences in the order of each hit image in the execution image sequence and the standard image sequence, a third similarity is calculated between the execution image sequence and the standard image sequence. Based on the positional differences of each hit image in the two image sequences, it can be determined whether the target security inspector performed the security task according to the absolute execution order of the standard execution steps. This achieves the determination of the similarity between the execution image sequence and the standard image sequence from the execution order dimension; the higher the third similarity, the more similar the execution image sequence and the standard image sequence are.

[0097] Finally, the sequence similarity between the executed image sequence and the standard image sequence is calculated based on at least one of the first similarity, second similarity, and third similarity.

[0098] In some embodiments, the first similarity is directly used as the sequence similarity. The first similarity is directly used as the sequence similarity. The second similarity is directly used as the sequence similarity. The sum of the first and second similarities is directly used as the sequence similarity. The sum of the first and third similarities is directly used as the sequence similarity. The sum of the first, second, and third similarities is directly used as the sequence similarity.

[0099] In other embodiments, the sequence similarity is obtained by substituting the first similarity and the second similarity into the corresponding formula. The sequence similarity is also obtained by substituting the first similarity and the third similarity into the corresponding formula. Alternatively, the sequence similarity can be obtained by directly substituting the second similarity and the third similarity into the corresponding formula. Finally, the sequence similarity can be obtained by directly substituting the first similarity, the second similarity, and the third similarity into the corresponding formula.

[0100] In other embodiments, the product of the first similarity and the first weight is used as the first factor, the product of the second similarity and the second weight is used as the second factor, and the product of the third similarity and the third weight is used as the third factor. The sum of the first weight, the second weight, and the third weight is 1. The sum of the first factor, the second factor, and the third factor is used as the sequence similarity between the executed image sequence and the standard image sequence.

[0101] In some embodiments, the acquisition of the first similarity, using the length of the longest identical subsequence in the execution image sequence and the standard image sequence as the target length, and the ratio of the target length to the length of the standard image sequence as the first similarity, includes: taking any image in the execution image sequence as the target image; if the next image of the target image is the same as the next image of the target image in the standard image sequence, then taking the next image of the target image as the target image; repeating the acquisition of target images until the next image of the target image is different from the next image of the target image in the standard image sequence, and taking the number of target images as the initial length; acquiring the initial length corresponding to each hit image, and taking the largest initial length as the target length; and taking the ratio of the target length to the length of the standard image sequence as the first similarity.

[0102] Specifically, First, any image in the execution image sequence is taken as the target image. If the next image in the execution image sequence is the same as the next image in the standard image sequence, then the next image in the target image sequence is taken as the target image.

[0103] For example, the execution image sequence is (A1, B2, C3, F4, D5, E6, G7, H8), and the standard image sequence is (A1, B2, C3, white 4, D5, E6, F7, G8, H9). Here, the letters represent the hit images, and the subscripts indicate the order of each hit image in the execution image sequence. "White" represents a supplementary image.

[0104] For example, image A is used as the target image, and the next image in the execution image sequence is B, and the next image in the standard image sequence is also B. Therefore, image B is also used as the target image.

[0105] Secondly, for target image B, if the next image in both the executed image sequence and the standard image sequence is image C, then image C is also considered as the target image. However, the next image for target image C differs between the executed and standard image sequences. In the executed image sequence, the next image for target image C is image F, unlike the standard image sequence where the next image for target image C is a blank image. Therefore, the identical subsequence starting with image A is completed, containing three images: A, B, and C. The initial length of the identical subsequence starting with image A is 3.

[0106] Finally, in the image sequence, common subsequences are identified starting with each image to obtain initial lengths. The maximum initial length is then used as the target length. An example target length is 3. The ratio of the target length to the standard image sequence length is used as the first similarity. For instance, in the above embodiment, if the standard image sequence length is 9, then the first similarity is one-third.

[0107] In this embodiment, the similarity between the executed image sequence and the standard image sequence is determined from the dimension of the execution content, that is, to determine whether the target security inspector has performed the security inspection task according to the content specified in the standard execution steps. The greater the first similarity, the more similar the executed image sequence and the standard image sequence are.

[0108] In some embodiments, a method for calculating the second similarity is provided. Any two adjacent images in the executed image sequence are taken as a first image pair, and any two adjacent images in the standard sequence are taken as a second image pair; the number of identical first and second image pairs is taken as the target overlap number; the ratio of the target overlap number to the number of second image pairs is taken as the second similarity.

[0109] For example, given the execution image sequence (A1, B2, C3, F4, D5, E6, G7, H8) and the standard image sequence (A1, B2, C3, F4, D5, E6, F7, G8, H9), we obtain the first image pair (AB, BC, CF, FD, DE, EG, GH) and the second image pair (AB, BC, C, D, DE, EF, FG, GH). The number of identical pairs in the first and second image pairs is taken as the target overlap number, which is 4 pairs, namely (AB, BC, DE, GH). Since the number of second image pairs is 8, the second similarity is 1 / 2.

[0110] In this embodiment, the relative positional relationship of images in two image sequences is determined based on their adjacency. Then, the similarity between the executed image sequence and the standard image sequence is determined from the dimension of relative positional relationship, that is, whether the target security inspector performs the security inspection task in a relatively coherent relative execution order. The greater the similarity, the more similar the executed image sequence and the standard image sequence are.

[0111] In some embodiments, a method for calculating the third similarity is provided. The sorting position of each hit image in the execution image sequence is taken as the first position, and the sorting position of the hit image in the standard image sequence is taken as the second position; the absolute value of the difference between the first position and the second position of the hit image is taken as the position error value; the ratio of the position error value to the length of the execution image sequence is taken as the position error value of the hit image, and the reciprocal of the sum of the position error values ​​of all hit images is taken as the third similarity.

[0112] For example, for a hit image A, its sort position in the executed image sequence is 1, and its sort position in the standard executed image sequence is 1, so the position error value for hit image A is 0. For a hit image F, its sort position in the executed image sequence is 4, and its sort position in the standard executed image sequence is 7, so the position error value for hit image A is 3. The ratio of the position error value to the length of the executed image sequence is used as the position error value of the hit image, and the reciprocal of the sum of the position error values ​​of all hit images is used as the third similarity.

[0113] In this embodiment, based on the positional differences of each hit image in the two image sequences, it can be determined whether the target security inspector performed the security inspection task according to the absolute execution order of the standard execution steps. This achieves the determination of the similarity between the executed image sequence and the standard image sequence from the dimension of execution order; the greater the third similarity, the more similar the executed image sequence and the standard image sequence are.

[0114] Please see Figure 5 , Figure 5A flowchart illustrating a method for predicting the risk of a target security inspector based on the risk situation of an inspection point, according to an embodiment of this application, is shown. This application provides steps for predicting the risk of a target security inspector based on the risk situation of an inspection point, including: Step S201: If the danger level of the inspection reaches the set level, the inspection center location is obtained based on the inspection information, and the danger zone formed by the inspection center location is determined. Step S202: Calculate the risk index of the target security personnel corresponding to the target security terminal based on the location and direction of movement of the target security terminal; In step S203, the target task terminal issues a corresponding warning based on the danger index and sends a danger alert to the server.

[0115] The above three steps are described in detail below.

[0116] In step S201, if the hazard level of the inspection reaches a set level, the inspection center location is obtained based on the inspection information, and the hazard area formed by the inspection center location is determined. The inspection center location refers to the location preset in the inspection information.

[0117] It should be clarified that the danger zone can be of any shape, and there are no restrictions on its shape.

[0118] In step S202, the danger index of the target security personnel corresponding to the target security terminal is calculated based on the location and direction of movement of the target security terminal. The location and direction of movement of the target security terminal are also the location and direction of movement of the target security personnel. If the target security terminal will enter a danger zone according to its current direction of movement, the danger index of the target security personnel corresponding to the target security terminal is calculated based on the distance between the target security terminal and the danger zone, as well as the direction of movement of the target security terminal.

[0119] In step S203, the target task terminal issues a corresponding warning to the target security personnel based on the danger index and sends a danger alert to the server. The higher the danger index, the more dangerous the target security personnel are. In some embodiments, the danger index falls within different ranges, generating different forms of warnings and danger alerts.

[0120] In this embodiment, the determination of dangerous areas is triggered by the danger level, which can accurately delineate risk boundaries based on the location of the inspection center, avoiding ineffective attention to non-dangerous areas and improving the targeting of risk management. By combining the real-time location and movement direction of the target security inspection terminal to calculate the danger index, the actual risks faced by security personnel can be dynamically and accurately reflected (rather than a general judgment), making risk assessment more aligned with the actual situation on site. Sending alerts to the target terminal allows security personnel to be aware of their own risks immediately, facilitating rapid avoidance; sending prompts to the server allows the backend to monitor the on-site risk status in real time, providing a basis for overall scheduling and support coordination, achieving the linkage of "immediate response from target security personnel + global backend control," thus improving risk response efficiency and security.

[0121] In some embodiments, the hazard index can be calculated in the following ways.

[0122] Please see Figure 6 , Figure 6 A flowchart illustrating the calculation of a hazard index according to a first embodiment of this application is shown. Embodiments of this application provide steps for calculating a hazard index, including: Step S301: If the movement direction of the target security terminal will pass through a dangerous area, the ray pointing to the movement direction is taken as the first ray, and the distance between the center of the inspection point and the first ray is taken as the first distance. Step S302: The ray that passes through the center of the inspection point and is perpendicular to the first ray is taken as the second ray; Step S303: The intersection of the second ray and the edge of the danger zone is taken as the first node, and the distance between the inspection center and the first node is taken as the first safe distance. The ratio of the first safe distance to the first distance is the first danger value. Step S304: Take the ray from the target security terminal toward the center of the inspection point as the third ray, and take the first intersection of the third ray and the edge of the danger zone as the second node; Step S305: The distance between the inspection center and the second node is the second safe distance, and the ratio of the second safe distance to the second distance is the second danger value. The distance between the target security terminal and the inspection center is the second distance. Step S306: Calculate the hazard index based on the first hazard value and the second hazard value.

[0123] The above six steps are described in detail below.

[0124] like Figure 7 The content shown is Figure 7A schematic diagram of a dangerous area for calculating the hazard index according to the first embodiment of this application is shown. It should be clarified that this method is applicable when the target security checkpoint terminal (target security personnel) is moving towards the checkpoint center and has not entered the dangerous area. It aims to predict whether the current movement path is safe enough to alert the target security personnel to take evasive action. If the target security checkpoint terminal (target security personnel) is located in a dangerous area, the hazard index is directly calculated based on the distance between the target security checkpoint terminal and the checkpoint center. For example, if the target interval of the distance between the target security checkpoint terminal and the checkpoint center is determined, the corresponding hazard index is determined based on the target interval.

[0125] In step S301, if the target security check terminal's movement direction passes through a danger zone, it indicates that the target security personnel may encounter a dangerous situation due to passing through the danger zone, thus affecting their safety. However, sometimes the target security personnel need to approach the danger zone to complete their security check task. Therefore, if it is discovered that the target security personnel will pass through the danger zone, prohibiting them from approaching would affect the execution of the security check task. Thus, if it is discovered that the target security personnel will pass through the danger zone, a danger index is first calculated, and then different warning strategies are applied to the target security personnel based on the danger index. This ensures that the target security personnel can perform their security check task effectively while also guaranteeing their safety.

[0126] The ray pointing in the direction of movement is taken as the first ray; the distance between the inspection center and the first ray is taken as the first distance. In other words, the first distance is the closest the target security inspector can get to the inspection center in their current direction of movement. Evaluating the target security inspector's risk level using the first distance is more objective.

[0127] In step S302, the ray whose center position is perpendicular to the first ray is taken as the second ray.

[0128] In step S303, the intersection of the second ray and the edge of the danger zone is designated as the first node, and the distance between the inspection center and the first node is designated as the first safe distance. The first safe distance refers to the length of the safe distance when the target security inspector (target security inspection terminal) is closest to the inspection center in its current direction of movement. Therefore, the ratio of the first safe distance to the first distance is defined as the first danger value, which can objectively evaluate the future danger level of the target security inspector when it is closest to the inspection center, or it can be described as the potential proximity danger.

[0129] In step S304, before the target security inspection terminal (target security inspector) enters the danger zone, the ray from the target security inspection terminal toward the center of the inspection point is designated as the third ray, and the first intersection of the third ray and the edge of the danger zone is designated as the second node. At this time, the second node is located between the center of the inspection point and the target security inspection terminal.

[0130] In step S305, the distance between the inspection center and the second node is taken as the second safe distance; the distance between the inspection center and the target security terminal (target security inspector) is taken as the second distance (the current distance between the target security inspector and the inspection center); and the ratio of the second safe distance to the second distance is taken as the second danger value. That is, the greater the distance between the target security inspector (target security terminal) and the inspection center, the safer it is. The second danger value can be evaluated by assessing the danger brought about by the current position or the straight-line distance, which is the current danger level of the target security inspector, or it can be said to be the danger of being directly close to the target.

[0131] In step S306, a hazard index is calculated based on the first hazard value and the second hazard value. The sum of the first and second hazard values ​​can be used as the hazard index. The safe distance (including the first and second safe distances) in the inspection information refers to the minimum distance from the inspection center to ensure safety. Both the first and second hazard values ​​are positively correlated with the hazard index.

[0132] In this embodiment, on the one hand, precise hazard index calculations can be performed for areas of various shapes. On the other hand, by determining whether the movement direction passes through a dangerous area and identifying the traversing line, the movement trend of security personnel is incorporated into the risk assessment, rather than relying solely on their current static position. This allows for the prediction of potential future risks and avoids overlooking "potential proximity hazards." The first hazard value (based on the distance between the movement path and the center of danger) reflects the "path proximity" between the movement direction and the dangerous area, while the second hazard value (based on the distance between the current position and the center of danger) reflects the "immediate distance risk." Combining these two values ​​quantifies risk from both the "movement trend" and "current state" dimensions, avoiding the one-sidedness of a single-dimensional assessment. By quantifying risk through the ratio of distance to the danger radius (the closer the distance, the larger the ratio, and the higher the risk), the abstract concept of "hazard" is transformed into a calculable value. Furthermore, by combining the dual parameters of movement path and real-time position, the hazard index more closely reflects the actual risk status faced by security personnel in real-world scenarios, providing a more reliable basis for subsequent early warnings. Calculations are only initiated for scenarios where the movement direction will pass through dangerous areas, avoiding invalid assessments of irrelevant movement states, thus improving efficiency while ensuring assessment accuracy.

[0133] Please see Figure 8 , Figure 8 A flowchart illustrating the calculation of a hazard index according to a second embodiment of this application is shown. This application provides steps for calculating a hazard index, including: Step S401: If the target security terminal's movement direction will pass through a dangerous area, then the vector pointing from the target security terminal to the center of the inspection point is taken as the fourth ray, and the target security terminal's movement direction is taken as the fifth ray. Step S402: A sixth ray is generated via the target security terminal. The sixth ray passes through the outermost edge of the danger zone without crossing it. The sixth ray is located on the side of the fifth ray that is far away from the fourth ray. Step S403: The first intersection of the fourth ray and the edge of the danger zone is taken as the third node, and the distance between the inspection center and the third node is the third safety distance. Step S404: The distance between the inspection center and the target security terminal is taken as the third distance, and the ratio of the third safe distance to the third distance is taken as the third danger value; Step S405: The angle formed by the fourth and fifth rays is taken as the danger angle, and the angle formed by the fourth and sixth rays is taken as the reference angle. The ratio of the reference angle to the danger angle is taken as the fourth danger value. Step S406: Calculate the hazard index based on the third and fourth hazard values.

[0134] The above six steps are described in detail below.

[0135] like Figure 9 The content shown is Figure 9 A schematic diagram of a dangerous area for calculating the hazard index according to the second embodiment of this application is shown. It should be clarified that this method is applicable when the target security checkpoint terminal (target security checkpoint operator) is moving towards the checkpoint center and has not entered a dangerous area. It aims to predict whether the current movement path is sufficiently safe to alert the target security checkpoint operator to take evasive action. If the target security checkpoint terminal (target security checkpoint operator) is located in a dangerous area, the hazard index is directly calculated based on the distance between the target security checkpoint terminal and the checkpoint center. For example, if the target interval of the distance between the target security checkpoint terminal and the checkpoint center is determined, the corresponding hazard index is determined based on the target interval.

[0136] In step S401, if the target security inspection terminal moves through a dangerous area, the vector pointing from the target security inspection terminal to the center of the inspection point is taken as the fourth ray, and the moving direction of the target security inspection terminal is taken as the fifth ray. In step S402, a sixth ray is emitted via the target security terminal. The sixth ray passes through the outermost edge of the danger zone without crossing it. The sixth ray is located on the side of the fifth ray away from the fourth ray; that is, the fifth ray is located between the fourth and sixth rays.

[0137] In step S403, the first intersection point of the fourth ray and the edge of the danger zone is designated as the third node, and the distance between the inspection center and the third node is designated as the third safety distance. That is, the third node is located between the target security terminal (target security personnel) and the inspection center.

[0138] In step S404, the distance between the inspection center and the target security terminal is taken as the third distance, and the ratio of the third safe distance to the third distance is taken as the third danger value. The smaller the third distance, that is, the smaller the distance between the target security terminal (target security inspector) and the inspection center, the greater the third danger value. The third danger value can be evaluated by assessing the danger brought about by the current position or the straight-line distance, that is, the current danger level of the target security inspector, or it can be said to be the danger of being directly close to the target.

[0139] In step S405, the angle formed by the fourth and fifth rays is taken as the danger angle, and the angle formed by the fourth and sixth rays is taken as the reference angle. The ratio of the reference angle to the danger angle is taken as the fourth danger value. The reference angle refers to the safe angle formed by the fourth and sixth rays where the target security terminal is located. If the danger angle is greater than the safe angle, it means there is no danger. If the danger angle is less than the safe angle, it means there is danger, and the target security personnel will pass through the danger zone. Therefore, using the ratio of the reference angle to the danger angle as the fourth danger value can quantify the risk of the movement direction deviating from the safety boundary (the larger the ratio, the closer the direction is to the core of danger). This is used to determine the potential risk, or future risk, of the target security personnel.

[0140] In step S406, a hazard index is calculated based on the third and fourth hazard values. Both the third and fourth hazard values ​​are positively correlated with the hazard index. For example, the sum of the second and third hazard values ​​can be used as the hazard index.

[0141] In this embodiment, the beneficial effects of this technical means are mainly reflected in three aspects: First, it achieves multi-dimensional and accurate quantification of risk. The third hazard value quantifies the "safety margin from the current position to the edge of danger" by the ratio of the third safety distance (distance from the edge of the danger zone to the center) to the current distance (the smaller the ratio, the greater the safety margin); the fourth hazard value quantifies the risk of the movement direction deviating from the safety boundary by the angle ratio (the larger the ratio, the closer the direction is to the core of danger). Both are evaluated from two dimensions: "distance safety margin" and "degree of deviation in direction," avoiding the one-sidedness of a single indicator. Second, it improves the accuracy of risk prediction. By ray positioning of the edge and intersection of the danger zone, the actual range of the danger zone is used as the evaluation benchmark, making the distance and angle parameters closely related to the real scene. At the same time, combined with the analysis of the movement direction, the potential risk of "whether it is possible to break through the safety boundary" can be identified in advance. Third, it ensures efficient and reliable assessment. Abstract risks are transformed into calculable values ​​in the form of ratios, and both are positively correlated with the risk index. The calculation logic is clear, which not only facilitates the generation of results in real time to meet the immediate needs of security inspection scenarios, but also provides clear quantitative basis for subsequent early warnings, thereby improving the accuracy of risk response.

[0142] Please see Figure 10 , Figure 10 A flowchart illustrating the calculation of a hazard index according to a third embodiment of this application is shown. This application provides steps for calculating a hazard index, including: Step S501: If the danger zone is a circular area centered on the inspection center position with a set distance as the danger radius, and if the target security terminal will pass through the danger zone along its movement direction, then the vector pointing from the target security terminal to the inspection center position is taken as the fourth ray, and the movement direction of the target security terminal is taken as the fifth ray. The danger zone refers to the circular area centered on the inspection center position. Step S502: The distance between the inspection center and the target security terminal is taken as the third distance, and the ratio of the danger radius to the third distance is taken as the third danger value. Step S503: Draw a tangent line from the position of the target security terminal to the danger zone, take the tangent line located on the side of the fourth ray that is biased towards the fifth ray as the sixth ray, and take the angle formed by the fourth ray and the sixth ray as the reference angle. Step S504: The angle formed by the fourth and fifth rays is taken as the danger angle, and the ratio of the reference angle to the danger angle is taken as the fourth danger value; Step S505: Calculate the hazard index based on the third and fourth hazard values.

[0143] The above five steps are described in detail below.

[0144] like Figure 11 The content shown is Figure 11A schematic diagram of a dangerous area for calculating the hazard index according to a third embodiment of this application is shown. It should be clarified that this method is applicable when the target security checkpoint terminal (target security checkpoint operator) is moving towards the checkpoint center and has not entered a dangerous area. It aims to predict whether the current movement path is safe enough to alert the target security checkpoint operator to take evasive action. If the target security checkpoint terminal (target security checkpoint operator) is located in a dangerous area, the hazard index is directly calculated based on the distance between the target security checkpoint terminal and the checkpoint center. For example, if the target interval of the distance between the target security checkpoint terminal and the checkpoint center is determined, the corresponding hazard index is determined based on the target interval.

[0145] In step S501, if the danger zone is a circular area centered on the inspection center position with a set distance as the danger radius, and if the target security terminal will pass through the danger zone along its movement direction, then the vector pointing from the target security terminal to the inspection center position is taken as the fourth ray, and the movement direction of the target security terminal is taken as the fifth ray. The danger zone refers to the circular area centered on the inspection center position.

[0146] In step S502, the distance between the inspection center and the target security terminal is taken as the third distance, and the ratio of the danger radius to the third distance is taken as the third danger value. In step S503, a tangent is drawn from the position of the target security terminal to the danger zone. The tangent located on the side of the fourth ray that is biased towards the fifth ray is taken as the sixth ray, and the angle formed by the fourth ray and the sixth ray is taken as the reference angle. In step S504, the angle formed by the fourth and fifth rays is taken as the danger angle, and the ratio of the reference angle to the danger angle is taken as the fourth danger value. In step S505, a hazard index is calculated based on the third and fourth hazard values, such as using the sum of the second and third hazard values ​​as the hazard index.

[0147] In some embodiments, the determination of whether a target security inspection terminal will pass through a dangerous area can be performed as follows: First, a reference angle and a danger angle can be determined using the above embodiments. If the danger angle is less than the reference angle, it is determined that the target security inspection terminal will pass through the dangerous area in its current direction of movement. Then, the danger index is determined based on the actual situation. If the danger angle is greater than or equal to the reference angle, it is determined that the target security inspection terminal will not pass through the dangerous area in its current direction of movement.

[0148] In some embodiments, the method for calculating the hazard index in the first embodiment is used as the first method. The method for calculating the hazard index in the second embodiment is used as the second method. The method for calculating the hazard index in the third embodiment is used as the third method.

[0149] The first, second, and third methods can be used individually or in combination.

[0150] For example, if the shape of the hazardous area is arbitrary, either the first method or the second method can be used to calculate the hazard index, or the first method and the second method can be used separately to calculate the hazard index, and the average of the two hazard indices obtained is taken as the final hazard index. If the hazardous area is circular, any one of the first method, the second method, or the third method can be used to calculate the hazard index. Alternatively, the first method and the second method can be used in combination, and the average of the two hazard indices obtained is taken as the final hazard index. This application embodiment can accurately calculate the current danger value and potential danger value of the target security inspector (target security inspection terminal) for dangerous areas of any shape, and then calculate the danger index of the target security inspector to ensure the safety of the target security inspector.

[0151] Figure 12 A block diagram of a computer system architecture for implementation according to an embodiment of this application is shown.

[0152] It should be noted that, Figure 12 The computer system 800 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0153] like Figure 12 As shown, the computer system 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 802 or programs loaded from storage section 808 into random access memory (RAM). The RAM 803 also stores various programs and data required for system operation. The CPU 801, ROM 802, and RAM 803 are interconnected via a bus 804. An input / output interface 805 (I / O interface) is also connected to the bus 804.

[0154] The following components are connected to the input / output interface 805: an input section 806 including a keyboard, mouse, etc.; an output section 807 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a local area network card, modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the input / output interface 805 as needed. A removable medium 811, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 810 as needed so that computer programs read from it can be installed into the storage section 808 as needed.

[0155] Specifically, according to embodiments of this application, the processes described in the various method flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 809, and / or installed from removable medium 811. When the computer program is executed by central processing unit 801, it performs various functions defined in the system of this application.

[0156] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such transmitted data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.

[0157] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0158] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0159] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, touch terminal, or network device, etc.) to execute the methods according to the embodiments of this application.

[0160] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein.

[0161] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. An environmental security inspection method for automatic task verification, characterized in that, The method includes: Based on the inspection information, all security personnel are screened, and target security personnel are identified from all security personnel. Based on the inspection frequency and location information in the inspection information, as well as the shift information and personnel information of the target security inspector, a security inspection task is generated and sent to the target security inspector's target security inspection terminal. At any point during the execution of the security check task, images of the task execution can be acquired automatically or in response to control commands. The content of the task execution in the task execution image is subject to compliance review, and an alarm is issued if it does not comply with the rules.

2. The method according to claim 1, characterized in that, Based on the inspection information, all security personnel are screened, and target security personnel are identified from among all security personnel, including: Based on the type information in the inspection information, the security inspector of the type corresponding to the type information is selected as the first security inspector; Based on the production line information in the inspection information, the first security inspector with inspection authority is selected as the initial security inspector, and at least one initial security inspector is selected as the target security inspector.

3. The method according to claim 2, characterized in that, The method further includes: The required number of security inspectors for each type of target is determined based on the inspection information. Select initial security inspectors of each type as target security inspectors to ensure that the required number of target security inspectors of each type is reached.

4. The method according to claim 1, characterized in that, The type information in the inspection point information can correspond to multiple types of security personnel. Security inspection tasks are generated based on the inspection frequency and location information in the inspection point information, as well as the shift information and personnel information of the target security personnel, including: If the initial security personnel are of multiple types, then at least one target security personnel shall be selected from each type of initial security personnel. Based on the inspection information, the inspection frequency corresponding to each type of target security inspector is obtained, and the inspection frequency of each target security inspector is determined. Based on the inspection frequency, shift information, personnel information, and location information of each target security inspector, the security inspection task for each target security inspector is generated. If the initial security personnel are of the same type, the security task is generated based on the inspection frequency and location information in the inspection point information, as well as the shift information and personnel information of the target security personnel.

5. The method according to claim 1, characterized in that, The method further includes: If the danger level of the inspection point reaches a set level, the center location of the inspection point is obtained based on the inspection point information, and the danger zone formed by the center location of the inspection point is determined. Based on the location and direction of movement of the target security check terminal, calculate the danger index of the target security personnel corresponding to the target security check terminal; The target task terminal issues a corresponding warning based on the danger index and sends a danger alert to the server.

6. The method according to claim 5, characterized in that, Based on the location and direction of movement of the target security check terminal, calculate the risk index of the target security personnel corresponding to the target security check terminal, including: If the movement direction of the target security terminal will pass through the danger zone, then the ray pointing in the movement direction will be taken as the first ray, and the distance between the center of the inspection point and the first ray will be taken as the first distance. The ray that passes through the center of the inspection point and is perpendicular to the first ray is designated as the second ray; The intersection of the second ray and the edge of the danger zone is taken as the first node, and the distance between the inspection center and the first node is taken as the first safe distance. The ratio of the first safe distance to the first distance is the first danger value. The ray from the target security terminal toward the center of the inspection point is taken as the third ray, and the first intersection of the third ray and the edge of the danger zone is taken as the second node; The distance between the center of the inspection point and the second node is defined as the second safe distance, and the ratio of the second safe distance to the second distance is defined as the second danger value. The distance between the target security inspection terminal and the center of the inspection point is defined as the second distance. The hazard index is calculated based on the first hazard value and the second hazard value.

7. The method according to claim 5, characterized in that, Based on the location and direction of movement of the target security check terminal, the risk index of the target security personnel corresponding to the target security check terminal is calculated, which also includes: If the target security terminal's movement direction would pass through the danger zone, then the vector pointing from the target security terminal to the center of the inspection point would be taken as the fourth ray, and the target security terminal's movement direction would be taken as the fifth ray. A sixth ray is emitted via the target security terminal. The sixth ray passes through the outermost edge of the danger zone without crossing it. The sixth ray is located on the side of the fifth ray that is far from the fourth ray. The first intersection of the fourth ray and the edge of the danger zone is taken as the third node, and the distance between the inspection center and the third node is the third safety distance. The distance between the center of the inspection point and the target security terminal is taken as the third distance, and the ratio of the third safe distance to the third distance is taken as the third danger value; The angle formed by the fourth and fifth rays is taken as the danger angle, and the angle formed by the fourth and sixth rays is taken as the reference angle. The ratio of the reference angle to the danger angle is taken as the fourth danger value. The hazard index is calculated based on the third and fourth hazard values.

8. The method according to claim 5, characterized in that, Based on the location and direction of movement of the target security check terminal, the risk index of the target security personnel corresponding to the target security check terminal is calculated, which also includes: If the danger zone is a circular area centered on the inspection center position with a set distance as the danger radius, and if the target security terminal will pass through the danger zone along its movement direction, then the vector from the target security terminal to the inspection center position is taken as the fourth ray, and the movement direction of the target security terminal is taken as the fifth ray. The danger zone refers to the circular area centered on the inspection center position. The distance between the center of the inspection point and the target security terminal is taken as the third distance, and the ratio of the danger radius to the third distance is taken as the third danger value. A tangent is drawn from the position of the target security terminal to the danger zone. The tangent located on the side of the fourth ray that is biased towards the fifth ray is taken as the sixth ray, and the angle formed by the fourth ray and the sixth ray is taken as the reference angle. The angle formed by the fourth and fifth rays is taken as the danger angle, and the ratio of the reference angle to the danger angle is taken as the fourth danger value; The hazard index is calculated based on the third and fourth hazard values.

9. An environmental security inspection device for automatic task verification, comprising a memory, a processor, and a readable program stored in the memory, characterized in that, The processor executes the readable program to implement the method of any one of claims 1 to 8.

10. A readable storage medium, characterized in that, It stores a readable program / instruction that, when executed by a processor, implements the method of any one of claims 1 to 8.