Safety management method and device for park, storage medium and processor

By acquiring and analyzing park user image data in real time, creating face profiles and trajectory data, and using trajectory prediction models to predict the action trajectories of unauthorized users, we solve the problem of inability to efficiently manage industrial park security in existing technologies and realize the security of the park. effective management and control.

CN118628980APending Publication Date: 2024-09-10ZHONGKE YUNGU TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410847945.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing technology cannot achieve efficient management and control of the safety of large industrial parks, and cannot quickly predict the movement trajectories of illegal intruders, resulting in the inability to effectively manage the safety of the park.

Method used

By acquiring the image data of park users in real time, creating face files, obtaining historical image data, determining the trajectory of unauthorized users, and using the trajectory prediction model to predict the movement trajectories of unauthorized users, and implement corresponding security control measures.

Benefits of technology

It achieves efficient management and control of park security, can quickly predict the movement trajectories of illegal intruders, and improves the efficiency and accuracy of park security management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628980A
    Figure CN118628980A
Patent Text Reader

Abstract

The embodiment of the invention provides a safety management method and device for a park, a storage medium and a processor. The method comprises the following steps: acquiring a first user image of a user entering any operation area in real time; creating a corresponding face file under the condition that the user corresponding to any one first user image is determined to be an unauthorized user; acquiring image data of the park in a preset historical time period, wherein each piece of image data comprises second user images of users entering the park in the preset historical time period, and acquisition time and place of each second user image; determining an unauthorized user image matched with the face file in the second user image; determining track data of the unauthorized user in a preset historical time period based on the image data corresponding to the unauthorized user image; inputting the trajectory data into a trajectory prediction model to determine a predicted action trajectory of the unauthorized user in the prediction time period; and executing corresponding security and protection management and control measures on the unauthorized user according to the predicted action track.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence computer vision, and specifically to a security management method, device, system, storage medium and processor for a park. Background Art

[0002] For large industrial parks, illegal intrusion may bring a series of problems: the safety of people and property in the park is threatened, intruders may intentionally or unintentionally damage park facilities, and may even be involved in theft and vandalism. Park managers need to effectively manage the gathering of people, illegal intrusions, personnel trajectories, vehicle traffic and other behaviors to ensure the normal operation and safety of the park. In order to deal with problems such as illegal intrusions, the park may need to increase security personnel, which will lead to an increase in labor costs.

[0003] There are currently three main solutions to these problems. The first is to manually discover and deal with illegal intruders through manual patrols. The second is to connect various security devices into an intelligent network through the Internet of Things technology to achieve information sharing and collaborative work between devices. This can form a security management network covering every corner of the park, monitor the security status of the park in real time, and respond to various security threats in a timely manner. The third is to deploy devices with intelligent perception capabilities in key areas of the park, such as high-definition cameras and sensors, which can capture environmental information and behavioral dynamics in real time. Through intelligent recognition technologies such as face recognition and license plate recognition, people and vehicles in the park can be quickly identified and abnormal situations can be discovered in a timely manner. However, the above methods all require manual reporting, manual inspections, etc. to discover and deal with illegal intrusions, and cannot quickly predict the movement trajectory of illegal intruders, resulting in the inability to achieve efficient control of park security. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a security management method for a park, so as to solve the technical defect of the prior art that it is impossible to achieve efficient control of park security.

[0005] In order to achieve the above-mentioned purpose, the first aspect of the present application provides a safety management method for a park, the park including multiple operation areas, the method comprising:

[0006] Acquire a first user image of a user entering any operation area in real time;

[0007] For any first user image, when it is determined that the user corresponding to the first user image is an unauthorized user in the working area, a face file for the unauthorized user is created;

[0008] Acquire image data of the park within a preset historical time period, wherein each image data includes a second user image of a user who enters the park within the preset historical time period, a capture time of each second user image, and a capture location of each second user image;

[0009] Determine an unauthorized user image that matches the face profile in the second user image included in the image data;

[0010] Determining the trajectory data of the unauthorized user within a preset historical time period based on the image data corresponding to the image of the unauthorized user;

[0011] Inputting the trajectory data into a trajectory prediction model to determine a predicted action trajectory of the unauthorized user within a predicted time period;

[0012] Implement corresponding security control measures on unauthorized users based on the predicted action trajectory.

[0013] In an embodiment of the present application, determining the unauthorized user images that match the face file in the second user images included in the image data includes: extracting the second user features of each second user image, the second user features at least including at least one of facial features and body features, wherein the facial features include any one of the shape, texture and color of the face, and the body features include any one of the clothing, shape, contour, posture, texture, color and spatiotemporal information of the body; preprocessing each second user feature; performing face clustering and / or body clustering on all the preprocessed second user features based on a preset clustering model to divide the second user images with similar second user features into the same image data set, and output the identity identifier corresponding to each image data set; determining the second user image whose identity identifier is consistent with the identity identifier included in the face file as an unauthorized user image.

[0014] In an embodiment of the present application, the method also includes a training step of a preset clustering model, the training step including: selecting multiple user images as a training data set, and extracting user features of each user image; performing dimensionality reduction processing, standardization processing and normalization processing on the user features in turn; performing cluster analysis on the normalized user features based on the clustering model to be trained, so as to aggregate user images with similar user features into the same category, and output the clustering results; analyzing the output clustering results based on BCubedF-measure, for any category of user images, when the output value of BCubed F-measure meets the preset requirements, determining that a trained clustering model is obtained.

[0015] In an embodiment of the present application, at least one image acquisition device is deployed in each work area, and drone equipment and automatic patrol equipment are deployed in the park. The method also includes: using the image acquisition device to collect user images of users entering the work area where the image acquisition device is located in real time; and using the drone equipment and automatic patrol equipment to collect image data in the park based on preset control tasks.

[0016] In an embodiment of the present application, the method also includes: for any first user image, extracting a first user feature of the first user image; comparing the first user feature with user features of all user images included in the whitelist to determine whether the user corresponding to the first user image is a whitelist user; if the user corresponding to the first user image is not a whitelist user, determining that the user corresponding to the first user image is an unauthorized user of the working area; if the user corresponding to the first user image is a whitelist user, determining that the user corresponding to the first user image is an authorized user of the working area.

[0017] In an embodiment of the present application, the method also includes: after determining the trajectory data of the unauthorized user within a preset historical time period, performing data cleaning and data standardization on the trajectory data in sequence; extracting trajectory features of the trajectory data after standardization, the trajectory features including any one of position, direction and speed; inputting the trajectory features into a trajectory prediction model to determine the predicted action trajectory of the unauthorized user within the predicted time period.

[0018] In an embodiment of the present application, the method also includes a trajectory prediction model training step, the training step including: obtaining historical trajectory data of multiple users, and converting each historical trajectory data into corresponding time series data; constructing a social graph for multiple users based on the trajectory features of each historical trajectory data to determine the association relationship between each user; inputting each time series data into the trajectory prediction model to be trained to train the trajectory prediction model to be trained; when the learning rate of the trajectory prediction model to be trained meets the preset conditions, determining that a trained trajectory prediction model is obtained.

[0019] A second aspect of the present application provides a security management device for a park, comprising:

[0020] a memory configured to store instructions; and

[0021] The processor is configured to call the instructions from the memory and implement the above-mentioned security management method for the park when executing the instructions.

[0022] The third aspect of the present application provides a security management system for a park, comprising:

[0023] A monitoring device, used for acquiring a first user image of a user entering any operation area in real time;

[0024] The audit and control platform is used to create a face file for any first user image when it is determined that the user corresponding to the first user image is an unauthorized user in the operation area;

[0025] The trajectory analysis platform is used to obtain image data of the park within a preset historical time period, wherein each image data includes a second user image of a user entering the park within the preset historical time period, a collection time of each second user image, and a collection location of each second user image; determine an unauthorized user image that matches a face file among the second user images included in the image data; determine the trajectory data of the unauthorized user within the preset historical time period based on the image data corresponding to the unauthorized user image;

[0026] A trajectory prediction platform, used to input the trajectory data into a trajectory prediction model to determine the predicted action trajectory of the unauthorized user within the predicted time period;

[0027] The management platform is used to implement corresponding security control measures on unauthorized users based on the predicted action trajectory.

[0028] A fourth aspect of the present application provides a machine-readable storage medium having instructions stored thereon, which, when executed by a processor, configure the processor to execute the above-mentioned security management method for a park.

[0029] The above technical solution provides a security management method for the park, including: obtaining the first user image of the user entering any work area in real time; for any first user image, when determining that the user corresponding to the first user image is an unauthorized user in the work area, creating a face file for the unauthorized user; obtaining image data of the park within a preset historical time period, wherein each image data includes the second user image of the user entering the park within the preset historical time period, the acquisition time of each second user image, and the acquisition location of each second user image; determining the unauthorized user image that matches the face file in the second user image included in the image data; determining the trajectory data of the unauthorized user within the preset historical time period based on the image data corresponding to the unauthorized user image; inputting the trajectory data into the trajectory prediction model to determine the predicted action trajectory of the unauthorized user within the predicted time period; and executing corresponding security control measures for the unauthorized user according to the predicted action trajectory. This method acquires the complete trajectory data of the user based on the user image, and predicts the action trajectory based on the trajectory data, thereby realizing efficient control of the park's security and the intelligent management needs of multi-region linkage.

[0030] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:

[0032] Figure 1 The following schematically shows a flow chart of a security management method for a park according to an embodiment of the present application;

[0033] Figure 2 The structure block diagram of the security management system for a park according to an embodiment of the present application is schematically shown;

[0034] Figure 3 The internal structure diagram of a computer device according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION

[0035] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0036] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0037] Figure 1 The following schematically shows a flow chart of a security management method for a park according to an embodiment of the present application. Figure 1 As shown, an embodiment of the present application provides a safety management method for a park, the park includes multiple operation areas, and the method may include the following steps.

[0038] Step 101 : acquiring a first user image of a user entering any working area in real time.

[0039] In the embodiment of the present application, it should be noted that the park includes multiple operating areas, and each operating area can perform different production operations. Images of users entering the park and any operating area in the park will be captured, and user images may include but are not limited to clear faces, blurred faces, front full-body images, back images and other images related to the human body. Specifically, for example, monitoring equipment can be deployed at the entrance of the park and the operating area, and the user images of users entering the park and the operating area can be collected in real time through the monitoring equipment. Therefore, the processor can obtain the first user image of the user entering any operating area in real time.

[0040] In an embodiment of the present application, at least one image acquisition device is deployed in each work area, and drone equipment and automatic patrol equipment are deployed in the park. The method also includes: using the image acquisition device to collect user images of users entering the work area where the image acquisition device is located in real time; and using the drone equipment and automatic patrol equipment to collect image data in the park based on preset control tasks.

[0041] In this embodiment, the image acquisition device may refer to a surveillance camera. It should be noted that at least one image acquisition device needs to be deployed at the entrance of each work area to capture images of users entering the work area in real time. At the same time, image acquisition devices can be deployed at any number of locations in the work area to capture images of users after they enter the work area. However, image acquisition devices are generally fixedly installed in one location, which makes it impossible to flexibly track moving objects. Therefore, this technical solution also introduces movable monitoring equipment such as drone equipment and automatic patrol equipment, which can flexibly collect image data at any location in the park. Among them, drone equipment may refer to drones, and automatic patrol equipment may refer to automatic patrol cars. The preset control tasks may refer to regular video monitoring and intelligent analysis and processing of several important work areas or key places in the park to identify illegal intruders and handle various security incidents.

[0042] Step 102: for any first user image, when it is determined that the user corresponding to the first user image is an unauthorized user in the working area, a face file for the unauthorized user is created.

[0043] In the embodiment of the present application, it should be noted that an unauthorized user may refer to a user who does not have permission to enter the current operating area. After obtaining a first user image of a user entering any operating area, for any first user image, the first user image is analyzed to determine whether the user corresponding to the first user image is an unauthorized user of the current operating area. In the case where it is determined that the user corresponding to the first user image is an unauthorized user of the current operating area, a face profile for the unauthorized user is constructed based on the first user image. Among them, the face profile may include but is not limited to the user image of the unauthorized user, user ID and other user identifications.

[0044] In an embodiment of the present application, the method also includes: for any first user image, extracting a first user feature of the first user image; comparing the first user feature with user features of all user images included in the whitelist to determine whether the user corresponding to the first user image is a whitelist user; if the user corresponding to the first user image is not a whitelist user, determining that the user corresponding to the first user image is an unauthorized user of the working area; if the user corresponding to the first user image is a whitelist user, determining that the user corresponding to the first user image is an authorized user of the working area.

[0045] In this embodiment, it should be noted that, since the user image is not limited to the face image, but also includes the body image, the first user feature may refer to the face feature and the body feature, the face feature may refer to the shape, texture and color of the face, etc., which can accurately describe the uniqueness of the face, and the body feature may refer to the features of the body's clothing, shape, contour, posture, texture, color and spatiotemporal information. The white list may refer to users who have the authority to enter the current operation area, and each operation area has a corresponding white list. Therefore, the first user feature extracted from the first user image is compared with the user features of all user images included in the white list, and it can be analyzed to determine whether the user corresponding to the first user image is a white list user of the current operation area. Specifically, if the user corresponding to the first user image is not a white list user, it can be determined that the user corresponding to the first user image is an unauthorized user of the current operation area, and the user does not have the authority to enter the operation area, and is an illegal intruder of the operation area. If the user corresponding to the first user image is a white list user, it can be determined that the user corresponding to the first user image is an authorized user of the current operation area, and the user has the authority to enter the operation area.

[0046] Step 103, obtaining image data of the park within a preset historical time period, wherein each image data includes a second user image of a user entering the park within the preset historical time period, a capture time of each second user image, and a capture location of each second user image.

[0047] In the embodiments of the present application, it should be noted that the preset historical time period can be selected according to actual needs. For example, in the present technical solution, one day can be used as a unit, and the preset time period can be selected from the historical time period from the beginning of the day to the current time. By deploying monitoring equipment in the park and each work area, the image data of the park in the historical time period from the beginning of the day to the current time can be obtained in real time. Each image data includes the second user image of the user who entered the park within the preset historical time period, the acquisition time of each second user image, and the acquisition location of each second user image.

[0048] Step 104: Determine an unauthorized user image that matches the face profile in the second user image included in the image data.

[0049] In the embodiment of the present application, after the image data of the park in the preset historical time period is obtained, since there are multiple users entering the park in the preset historical time period, and the unauthorized user may have reached any number of locations in the park after entering the park, it is necessary to determine the unauthorized user image that matches the face file in the second user image included in the image data.

[0050] In an embodiment of the present application, determining the unauthorized user images that match the face file in the second user images included in the image data includes: extracting the second user features of each second user image, the second user features including at least one of facial features and body features, wherein the facial features include any one of the shape, texture and color of the face, and the body features include any one of the clothing, shape, contour, posture, texture, color and spatiotemporal information of the body; preprocessing each second user feature; performing face clustering and / or body clustering on all the preprocessed second user features based on a preset clustering model to divide the second user images with similar second user features into the same image data set, and output the identity identifier corresponding to each image data set; determining the second user image whose identity identifier is consistent with the identity identifier included in the face file as an unauthorized user image.

[0051] In this embodiment, after obtaining the image data of the park within a preset historical time period, the second user features of each second user image are extracted. It should be noted that since the user image is not limited to facial images, it also includes human body images. Therefore, the first user feature can refer to facial features and human body features. Facial features can refer to features such as the shape, texture, and color of the face that can accurately describe the uniqueness of the face. Human body features can refer to features such as the body's clothing, shape, contour, posture, texture, color, and spatiotemporal information. The preset clustering model can refer to the DBSCAN clustering model, which is a relatively representative density-based clustering algorithm. Unlike the partitioning and hierarchical clustering methods, it defines a cluster as the maximum set of density-connected points, can divide areas with sufficiently high density into clusters, and can find clusters of arbitrary shapes in a noisy spatial database. In this technical solution, in order to improve the performance and stability of the DBSCAN clustering algorithm, the first user feature needs to be preprocessed before it is input into the preset clustering model. Specifically, the preprocessing may include dimensionality reduction techniques (such as PCA, t-SNE, etc.) to reduce the amount of calculation and eliminate redundant information, and standardization or normalization operations to ensure that the first user features are comparable in value.

[0052] In this embodiment, after preprocessing the first user features, all preprocessed second user features are subjected to face clustering and / or body clustering based on a preset clustering model, so as to classify second user images with similar second user features into the same image data set. Among them, the facial features extracted from each face image data can be considered as a point in a high-dimensional space. If there are similarities between multiple face images of the same person, then the facial features extracted from these face images correspond to points in this high-dimensional space that are relatively close. Clustering is to gradually group similar points into classes through continuous distance calculations in a high-dimensional space, thereby achieving the effect of clustering by person. In the face clustering scenario, the DBSCAN clustering algorithm can assign face images with similar features to the same group, even if these images are irregularly distributed in the original space.

[0053] In this embodiment, human body data is divided into human bodies with associated faces (abbreviated as YB) and unassociated human bodies (abbreviated as NB). If NB recalls YB by simply clustering through similarity, the accuracy of face / body clustering cannot achieve good results. In order to improve the NB recall effect and reduce the influence of some similar human noise, spatiotemporal constraint information is introduced in the process of NB searching for similar YB. Usually, a person's walking activity space is limited within a certain time range. The essence of spatiotemporal constraint is that among the features similar to NB, according to these features and the spatiotemporal information of the NB, the features that are not within the spatiotemporal range of the NB are filtered out in time and space, thereby ensuring the accuracy of YB found by NB. After extracting the human body's clothing, shape, contour, posture, texture, color, time and space from each human body image, it is necessary to perform feature scaling, dimensionality reduction, normalization and other preprocessing on the features to eliminate the dimensional differences and redundant information between the features. In particular, for the processing of spatiotemporal information, the interference of similar data in different spatiotemporal ranges is filtered out to improve the accuracy of the algorithm. The preprocessed human features are clustered using the DBSCAN clustering algorithm, which assigns human images with similar features to the same group.

[0054] In this embodiment, after performing face clustering and / or body clustering on the preprocessed second user features by using a preset clustering model, second user images with similar second user features can be divided into the same data set, and the identity identifier corresponding to each data set can be output. Thus, the identity identifier of each data set can be compared with the identity identifier included in the face file, so as to determine the second user image with the identity identifier consistent with the identity identifier included in the face file as the image of the current unauthorized user.

[0055] In an embodiment of the present application, the method also includes a training step of a preset clustering model, and the training step includes: selecting multiple user images as a training data set, and extracting user features of each user image; performing dimensionality reduction processing, standardization processing and normalization processing on the user features in turn; performing cluster analysis on the normalized user features based on the clustering model to be trained, so as to aggregate user images with similar user features into the same category, and output the clustering results; analyzing the output clustering results based on BCubedF-measure, for any category of user images, when the output value of BCubed F-measure meets the preset requirements, determining that a trained clustering model is obtained.

[0056] In this embodiment, the preset clustering model can be obtained by training based on multiple user images. Specifically, multiple user images can be selected as training data sets according to training requirements, and user features of each user image can be extracted, and the extracted user features can be preprocessed by dimensionality reduction, standardization, and normalization in turn to reduce the amount of calculation and eliminate redundant information, and ensure that the user features are numerically comparable. The preprocessed user features are input into the clustering model to be trained for training to output the corresponding clustering results. After clustering is completed, the clustering results need to be analyzed and verified in depth. This is a key step to ensure the correctness and reliability of the clustering algorithm. In this technical solution, BCubed F-measure can be selected to verify the clustering results. BCubed F-measure is a clustering evaluation index based on sample pairs. BCubed F-measure combines the two indicators of precision (P) and recall (R), which can comprehensively evaluate the quality of clustering results. In the process of user image clustering, the precision indicates whether the user images in the same class belong to the same user, while the recall indicates whether all images of a user are correctly aggregated in the same class. Specifically, the formula of BCubed F-measure can be identified as: (F = \frac{2\times P\times R}{P+R}), F is the output value of BCubed F-measure, and the higher the F value, the more accurate the clustering result output by the preset clustering model. Through further analysis and verification of the clustering results by BCubed F-measure, the performance of the preset clustering model can be evaluated and optimized as needed. In this way, more accurate and reliable clustering results can be obtained, providing strong support for subsequent user image recognition, user image search and other applications.

[0057] Step 105: determining the trajectory data of the unauthorized user within a preset historical time period based on the image data corresponding to the image of the unauthorized user.

[0058] In an embodiment of the present application, the image data corresponding to the unauthorized user image includes the acquisition time and acquisition location of the unauthorized user image. Based on the unauthorized user image, the image acquisition time and acquisition location, the trajectory data of the unauthorized user within a preset historical time period can be determined.

[0059] Step 106 : Input the trajectory data into a trajectory prediction model to determine the predicted action trajectory of the unauthorized user within the predicted time period.

[0060] In the embodiments of the present application, it should be noted that the trajectory prediction model may refer to a Social LSTM model, which is a model that can predict the user's future trajectory based on the user's past trajectory data. The Social LSTM model can use the existing human trajectory data set without any additional annotations to learn the common sense rules and conventions observed by humans in social space. At the same time, the social pooling module introduces a "social" pooling layer social pooling module to model the interactions between individual trajectories, and can automatically learn the typical interactions that occur between trajectories that overlap in time. Therefore, after determining the trajectory data of the unauthorized user within a preset historical time period, the obtained trajectory is input into the trajectory prediction model, and the predicted action trajectory of the unauthorized user within the predicted time period can be determined by the trajectory prediction model. Among them, the prediction time period can be set according to actual needs, for example, it can include but is not limited to 10 minutes, half an hour, one hour, etc.

[0061] In an embodiment of the present application, the method also includes: after determining the trajectory data of the unauthorized user within a preset historical time period, performing data cleaning and data standardization on the trajectory data in sequence; extracting trajectory features of the trajectory data after standardization, the trajectory features including any one of position, direction and speed; inputting the trajectory features into a trajectory prediction model to determine the predicted action trajectory of the unauthorized user within the predicted time period.

[0062] In this embodiment, before the trajectory data of the unauthorized user in the preset historical time period is input into the trajectory prediction model, the trajectory data needs to be pre-processed in sequence, such as data cleaning and data standardization, to remove noise, abnormal values ​​or incomplete data in the trajectory data, and make it have a unified format and scale, which helps to ensure the input data quality of the model. The trajectory features of the trajectory data after the standardization are extracted, and the trajectory features include any one of the position, direction and speed, and the trajectory features are input into the trajectory prediction model to determine the predicted action trajectory of the unauthorized user in the predicted time period through the trajectory prediction model.

[0063] In an embodiment of the present application, the method also includes a training step of a trajectory prediction model, the training step including: obtaining historical trajectory data of multiple users, and converting each historical trajectory data into corresponding time series data; constructing a social graph for multiple users based on the trajectory features of each historical trajectory data to determine the association relationship between each user; inputting each time series data into the trajectory prediction model to be trained to train the trajectory prediction model to be trained; when the learning rate of the trajectory prediction model to be trained meets the preset conditions, determining that a trained trajectory prediction model is obtained.

[0064] In this embodiment, a reasonable trajectory prediction model can effectively improve the prediction of the user's action trajectory. Therefore, the trajectory prediction model can be trained to make the trajectory prediction model more accurate. Specifically, the trajectory prediction model can be selected as the training data of the model according to the actual training needs, and each historical trajectory data can be converted into corresponding time series data, which involves dividing the trajectory into time steps and taking the position, direction and other features of each time step as an element of the sequence. One of the cores of the Social LSTM model is to consider the social relationship between the monitored objects. In the preprocessing stage, it is necessary to build a social graph or social pool to capture the relationship between the agents, which can be done by analyzing the position, speed, direction and other features of the agents. Each time series data is input into the trajectory prediction model to be trained to train the trajectory prediction model to be trained. Specifically, the preprocessed time series data is divided into a training set, a validation set and a test set. The training set is used to train the model, the validation set is used to adjust the model parameters and prevent overfitting, and the test set is used to evaluate the performance of the model. During the training process, the model will learn how to predict future trajectories based on the current state information of the agent and the state information of other agents, and optimize the performance of the model by adjusting the parameters of the model (such as learning rate, number of iterations, etc.). Therefore, when the learning rate of the trajectory prediction model to be trained meets the preset conditions, the trained trajectory prediction model is determined to be obtained. The preset conditions can be set according to the training requirements. At the same time, the action trajectory output by the model can be post-processed, such as smoothing, trajectory optimization, etc., to improve the accuracy and availability of the prediction.

[0065] Step 107: Execute corresponding security control measures on the unauthorized user according to the predicted action trajectory.

[0066] In an embodiment of the present application, after determining the predicted movement trajectory of the unauthorized user within the predicted time period, a security work order can be automatically dispatched to the corresponding security management personnel, so that the security management personnel can execute corresponding security control measures on the unauthorized user based on the predicted movement trajectory carried by the security work order.

[0067] The above technical solution collects user images, obtains the user's complete trajectory data based on the user images, and predicts the action trajectory based on the trajectory data, thereby achieving efficient control of park security and intelligent management needs for multi-region linkage.

[0068] In this solution, the monitoring equipment captures the data, cluster analysis is performed to obtain the complete action trajectory, and the action trajectory is predicted through Social LSTM, thereby achieving active discovery, full trajectory display, and route prediction, meeting the smart management needs of the smart park's full-area detection, full-staff tracking, and multi-region linkage.

[0069] The present application embodiment provides a security management device for a park, including:

[0070] a memory configured to store instructions; and

[0071] The processor is configured to call the instructions from the memory and implement the security management method for the campus when executing the instructions.

[0072] In one embodiment, Figure 2 As shown, a security management system 200 for a park is provided, comprising:

[0073] The monitoring device 210 is used to obtain a first user image of a user entering any operation area in real time;

[0074] The audit and control platform 220 is used for creating a face file for any first user image when it is determined that the user corresponding to the first user image is an unauthorized user in the operation area;

[0075] The trajectory analysis platform 230 is used to obtain image data of the park within a preset historical time period, wherein each image data includes a second user image of a user entering the park within the preset historical time period, a collection time of each second user image, and a collection location of each second user image; determine an unauthorized user image that matches the face file among the second user images included in the image data; determine the trajectory data of the unauthorized user within the preset historical time period based on the image data corresponding to the unauthorized user image;

[0076] A trajectory prediction platform 240, for inputting the trajectory data into a trajectory prediction model to determine a predicted action trajectory of the unauthorized user within a predicted time period;

[0077] The management platform 250 is used to execute corresponding security control measures on unauthorized users according to the predicted action trajectory.

[0078] An embodiment of the present application provides a storage medium on which a program is stored. When the program is executed by a processor, the above-mentioned security management method for a park is implemented.

[0079] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 3As shown. The computer device includes a processor A01, a network interface A02, a memory (not shown in the figure) and a database (not shown in the figure) connected via a system bus. Among them, the processor A01 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory A03 and a non-volatile storage medium A04. The non-volatile storage medium A04 stores an operating system B01, a computer program B02 and a database (not shown in the figure). The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 in the non-volatile storage medium A04. The database of the computer device is used to store data on a security management method for a park. The network interface A02 of the computer device is used to communicate with an external terminal via a network connection. The computer program B02 is executed by the processor A01 to implement a security management method for a park.

[0080] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0081] An embodiment of the present application provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, steps of a security management method for a park are implemented.

[0082] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes steps of a security management method for a park.

[0083] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0084] The present application is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0085] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0086] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0087] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0088] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0089] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0090] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0091] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A security management method for a park, characterized in that: The park includes multiple operation areas, and the method includes: Acquire a first user image of a user entering any operation area in real time; For any first user image, when it is determined that the user corresponding to the first user image is an unauthorized user of the operation area, creating a face file for the unauthorized user; Acquire image data of the park within a preset historical time period, wherein each image data includes a second user image of a user who enters the park within the preset historical time period, a collection time of each second user image, and a collection location of each second user image; Determine an unauthorized user image that matches the face profile among the second user images included in the image data; Determining the trajectory data of the unauthorized user within the preset historical time period based on the image data corresponding to the image of the unauthorized user; Inputting the trajectory data into a trajectory prediction model to determine a predicted action trajectory of the unauthorized user within a predicted time period; Execute corresponding security control measures on the unauthorized user according to the predicted action trajectory.

2. The security management method for a park according to claim 1, characterized in that: The step of determining the unauthorized user image that matches the face profile in the second user image included in the image data comprises: Extracting a second user feature of each second user image, wherein the second user feature includes at least one of a face feature and a body feature, wherein the face feature includes any one of a shape, a texture, and a color of a face, and the body feature includes any one of clothing, a shape, a contour, a posture, a texture, a color, and spatiotemporal information of a body; Preprocessing each second user feature; Performing face clustering and / or body clustering on all preprocessed second user features based on a preset clustering model, so as to classify second user images with similar second user features into the same image data set, and outputting an identity identifier corresponding to each image data set; A second user image whose identity identifier is consistent with the identity identifier included in the face file is determined as the unauthorized user image.

3. The security management method for a park according to claim 2, characterized in that: The method further comprises a step of training the preset clustering model, wherein the training step comprises: Select multiple user images as a training data set, and extract user features of each user image; Perform dimension reduction, standardization and normalization on user features in turn; Perform cluster analysis on the normalized user features based on the clustering model to be trained, so as to aggregate user images with similar user features into the same category, and output the clustering results; The output clustering results are analyzed based on BCubed F-measure. For any type of user image, when the output value of BCubed F-measure meets the preset requirements, a trained clustering model is determined.

4. The security management method for a park according to claim 1, characterized in that: At least one image acquisition device is deployed in each operation area, and drone equipment and automatic patrol equipment are deployed in the park. The method further includes: The image acquisition device is used to acquire in real time a user image of a user who enters the working area where the image acquisition device is located; The image data within the park is collected by the drone equipment and the automatic patrol equipment based on the preset control tasks.

5. The security management method for a park according to claim 1, characterized in that: The method further comprises: For any first user image, extract a first user feature of the first user image; comparing the first user feature with user features of all user images included in the whitelist to determine whether the user corresponding to the first user image is a whitelist user; If the user corresponding to the first user image is not a whitelist user, determining that the user corresponding to the first user image is an unauthorized user of the operation area; In a case where the user corresponding to the first user image is a whitelist user, the user corresponding to the first user image is determined to be an authorized user of the operation area.

6. The security management method for a park according to claim 1, characterized in that: The method further comprises: After determining the trajectory data of the unauthorized user within the preset historical time period, performing data cleaning and data standardization processing on the trajectory data in sequence; Extracting trajectory features of the trajectory data after the normalization process, wherein the trajectory features include any one of position, direction and speed; The trajectory features are input into the trajectory prediction model to determine the predicted action trajectory of the unauthorized user within a predicted time period.

7. The security management method for a park according to claim 1, characterized in that: The method further comprises a step of training the trajectory prediction model, wherein the training step comprises: Obtain historical trajectory data of multiple users and convert each historical trajectory data into corresponding time series data; Building a social graph for the plurality of users based on the trajectory features of each historical trajectory data to determine the association relationship between each user; Inputting each time series data into a trajectory prediction model to be trained to train the trajectory prediction model to be trained; When the learning rate of the trajectory prediction model to be trained meets a preset condition, it is determined that a trained trajectory prediction model is obtained.

8. A security management device for a park, characterized in that: include: a memory configured to store instructions; as well as A processor is configured to call the instructions from the memory and implement the security management method for a campus according to any one of claims 1 to 7 when executing the instructions.

9. A security management system for a park, characterized in that: include: A monitoring device, used for acquiring a first user image of a user entering any operation area in real time; The audit and control platform is used for creating a face file for any first user image when it is determined that the user corresponding to the first user image is an unauthorized user of the operation area; A trajectory analysis platform is used to obtain image data of the park within a preset historical time period, wherein each image data includes a second user image of a user entering the park within the preset historical time period, a collection time of each second user image, and a collection location of each second user image; determine an unauthorized user image that matches the face file among the second user images included in the image data; and determine the trajectory data of the unauthorized user within the preset historical time period based on the image data corresponding to the unauthorized user image; A trajectory prediction platform, used to input the trajectory data into a trajectory prediction model to determine a predicted action trajectory of the unauthorized user within a predicted time period; The management platform is used to execute corresponding security control measures on the unauthorized user according to the predicted action trajectory.

10. A machine-readable storage medium having instructions stored thereon, characterized in that: When the instruction is executed by a processor, the processor is configured to execute the security management method for a campus according to any one of claims 1 to 7.