Campus student safety monitoring system and method based on artificial intelligence
Through the campus student safety monitoring system based on artificial intelligence, combined with multi-modal data and adaptive behavior modeling, it solves the problem that the existing system cannot comprehensively perceive and analyze student behavior, and achieves highly accurate and intelligent anomaly detection. Enhanced effectiveness of security monitoring.
Patent Information
- Application Number
- CN202410846551.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-06-27
AI Technical Summary
The existing campus student safety monitoring system relies on manual inspections and single sensor data, and is unable to comprehensively perceive and analyze student behavior status. It lacks consideration of environmental factors, making it difficult to deeply understand student behavior characteristics and safety hazards, and the anomaly detection method lacks adaptability and is easy to False positives or negatives occur.
Adopt a campus student safety monitoring system based on artificial intelligence, including a data collection module, a data fusion module, a behavior pattern fitting module and an anomaly detection module, and generate a baseline behavior pattern through a multi-modal fusion deep learning model and an improved dual-decision Q-learning algorithm , and use Markov decision algorithm to calculate anomaly scores and confidence levels to dynamically detect abnormal behaviors.
It achieves comprehensive perception and analysis of student behavior, improves the accuracy and pertinence of abnormal detection, can promptly detect and prevent abnormal behaviors, reduces the risk of false positives and missed negatives, and provides more intelligent and explainable security monitoring.
Smart Images

Figure CN118397519B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of security monitoring technology, and more specifically, to a campus student security monitoring system and method based on artificial intelligence. Background Art
[0002] The patent application with the publication number CN110910549A discloses a campus personnel security management system based on deep learning and face recognition features, including a channel group consisting of a background management system and multiple access control systems. The background management system includes teacher and student card information and attendance management, embedded device information maintenance, and face collection App; the channel group is divided into an obstacle channel group and a barrier-free channel group, wherein the obstacle channel group is equipped with a card swiping device or a video recognition device, and the barrier-free channel group is equipped with a video recognition device and a high-definition surveillance camera. When students and teachers swipe their campus cards through the obstacle channel group, the card swiping device collects the information of the campus card or the video recognition device collects the face image of the passing person. The recognition device compares and recognizes the campus card identification code pre-set by the students and teachers in the background system database, or the personal photo information stored in the database according to the recognition method, so as to determine whether the students enter, leave, enter and exit the dormitory through the channel group, and whether the students and teachers are in attendance normally.
[0003] However, the existing system mainly relies on manual inspections or single sensor data, which cannot fully perceive and analyze students' behavioral status, and also lacks consideration of environmental factors. This limitation makes it difficult for schools to deeply understand students' behavioral characteristics and safety hazards, and cannot provide a comprehensive basis for effective prevention. Secondly, most of the existing behavior analysis methods are limited to single-modal data, and cannot fully integrate diversified data, making it difficult to establish accurate student behavior patterns. Existing behavior modeling is difficult to adapt to students' personalized behavioral characteristics, which affects the accuracy and pertinence of anomaly detection and is not conducive to timely detection and prevention of students' abnormal behaviors. Furthermore, most of the existing anomaly detection methods rely on preset rules or thresholds and lack learning-based adaptability. This method cannot accurately detect abnormal behaviors based on the personalized characteristics of different students, and is prone to false positives or omissions.
[0004] In view of this, the present invention proposes an artificial intelligence-based campus student safety monitoring system and method to solve the above problems. Summary of the invention
[0005] In order to overcome the above-mentioned defects of the prior art and to achieve the above-mentioned purpose, the present invention provides the following technical solutions: A campus student safety monitoring system based on artificial intelligence, comprising: a data acquisition module, for collecting student behavior data and environmental parameters of the students;
[0006] A data fusion module is used to input behavioral data and environmental parameters into a multimodal fusion deep learning model based on a variational autoencoder and output a unified behavioral embedding vector sequence;
[0007] A behavior pattern fitting module is used to model the normal behavior of students and generate a baseline behavior pattern by using an improved dual-decision Q-learning algorithm;
[0008] The anomaly detection module is used to embed the unified behavior into the vector sequence and the baseline behavior pattern, calculate the anomaly score based on the Markov decision algorithm, and obtain the confidence level corresponding to the anomaly score;
[0009] The anomaly determination module is used to preset anomaly thresholds. When the anomaly score is greater than or equal to the anomaly threshold, and the confidence level corresponding to the anomaly score is greater than or equal to the preset confidence level, it is determined to be an abnormal behavior, and the behavior data and environmental parameters are sent to the security monitoring terminal. The modules are connected via wired and / or wireless means.
[0010] Furthermore, the behavioral data includes motion trajectory data, activity time data, behavioral posture data, voice data, social interaction data and learning behavior data; the environmental parameters include temperature data, humidity data, light intensity, noise level and crowd density.
[0011] Furthermore, the method of obtaining the motion trajectory data includes:
[0012] Cameras are deployed to cover all areas of the campus, and a network topology map of the cameras is established to record the relationship between adjacent cameras. The YOLOv5 real-time target detection algorithm is used to detect people in the n image frames collected by the camera to obtain n detection frames of the students. The DeepSort algorithm is used to perform preliminary tracking of the detection frames to obtain preliminary trajectories. The preliminary trajectories are constrained and calculated to obtain action trajectory data.
[0013] Furthermore, the method of performing constraint calculation on the preliminary trajectory to obtain the action trajectory data includes:
[0014] Define the motion cost matrix C for preliminary tracking. The elements in the motion cost matrix C are C[i,j] Indicates that the detection box Assign to motion track Costs;
[0015] Defining appearance similarity and motion consistency ;
[0016] C[i,j] = w1 × (1 - Sa[i,j]) + w2 ×(1 - Sm[i,j]) ;in is the appearance weight coefficient, is the motion weight coefficient; Sa[i,j] Represents the detection box and trajectory The appearance similarity between Sm[i,j] Represents the detection box and trajectory predicting motion consistency between locations;
[0017] The ResNet deep feature extraction network is used to convert the detection box and trajectory into their corresponding feature vectors, and the appearance similarity between the feature vectors corresponding to the detection box and trajectory is calculated; the calculation formula is:
[0018] Sa[i,j] = cosine(f i ,f j ) ;in, and The detection boxes are and trajectory The eigenvector of is the cosine similarity function;
[0019] The calculation formula for motion consistency is:
[0020] Sm[i,j] = exp( - ( α× ||pi - pj_pred|| 2 + β× ||vi - vj|| 2 / σ 2 ) × exp( - λ×Δ T) ;
[0021] in, Is the detection frame location, It's a track The predicted location, is the scaling factor, is the position weight parameter, is the speed weight parameter, is the time decay rate, is the current image frame and trajectory The time interval between the last updates; and The detection boxes are and trajectory The velocity vector of and motion consistency Plan to obtain action trajectory data.
[0022] Furthermore, the use of appearance similarity and motion consistency Ways to plan and obtain action trajectory data include:
[0023] like , then the constraint is violated, where and The current time point Image frame and previous time point The feature vector corresponding to the detection box of the image frame, is the appearance threshold;
[0024] like , then the constraint is violated, where and The current time point Image frame and previous time point The velocity vector of the image frame, is the speed threshold;
[0025] If the constraint is violated, C[i,j] Increased costs :
[0026] ;in, and is the penalty coefficient;
[0027] Based on all image frames, find the optimal allocation of the cost matrix C, that is, minimize the total cost, and obtain an allocation matrix X. The elements in the allocation matrix X are X[i,j] = 1 Represents the detection box Assigned to track ,otherwise X[i,j] = 0 ;
[0028] Define a correlation threshold , for each detection box and trajectory ,like X[i,j] = 1 and C[i,j] ≤Tas ; then associate the detection box i with the trajectory j; otherwise, the detection box and trajectory Not related;
[0029] For unassociated detection boxes, set a new track threshold , if continuous The same unassociated detection frames are detected in each image frame, and , a new track is created; for the unassociated track, a track termination threshold is set If the trajectory is continuous The image frames are not linked, and , then terminate the trajectory;
[0030] Use Kalman filter or simple linear prediction to predict the position of the trajectory in the next image frame, that is, to establish a complete trajectory, which is the action trajectory data.
[0031] Furthermore, the method of acquiring the activity time data includes:
[0032] Using the detected student detection frames, record the timestamps of students appearing in each school area, and calculate the length of time students stay in each school area, where length of stay = departure time - arrival time; based on the student's movement trajectory data, generate sequence data containing timestamps as activity time data;
[0033] The method for acquiring the behavior posture data includes:
[0034] Input the image frame into the pre-built improved OpenPose network model, output the two-dimensional coordinates of the key points of the human body, and record them as key point coordinates; project the key point coordinates into the 3D space, minimize the projection error, and obtain the behavior posture data;
[0035] Projection Error ,in, For the The key point coordinates, For the The joint coordinates of the 3D template, is the rotation matrix, is the translation vector;
[0036] Improvements to the OpenPose network model include:
[0037] The network structure of the backbone network of the improved OpenPose network model is replaced with the MobileNet network, and the attention mechanism is added;
[0038] The formula of the attention mechanism is: ;in, is the input image frame, is the channel attention weight, is the spatial attention weight, It is the feature map after attention weighting; is element-wise multiplication;
[0039] Define the loss function of the OpenPose network model ;in, For the The residual value of the key points; It is The attention weights of key points are adaptively calculated through the attention mechanism; is an adaptive kernel function; if ,but ;like ;but ;in, is the adaptive adjustment coefficient;
[0040] Adaptive adjustment coefficient ,in, is a hyperparameter, for the median;
[0041] Collect N2 groups of images containing human bodies, and annotate the images with the two-dimensional coordinates of key points of the human body as labels for training to form a training data set; define an optimizer and use the training data set to train the improved OpenPose network model. When the loss function no longer decreases during M1 consecutive trainings, retain the parameters of the improved OpenPose network model optimized by the optimizer in the last training, and the construction of the improved OpenPose network model is completed.
[0042] Furthermore, the voice data is obtained by:
[0043] Using microphones distributed in various areas of the campus, we can obtain mixed speech signals, separate the mixed speech signals into independent sound sources using independent component analysis, and jointly optimize the time domain and frequency domain during the independent component analysis process to obtain speech data; and construct a joint optimization objective function. ,in, is the trade-off coefficient, is the time domain objective function, is the objective function in the frequency domain, To jointly optimize the parameters of the objective function, is the regularization term; is the regularization coefficient;
[0044] J_time(b) = ∑ l [H(Gaussian) - H( y l )] ;in, represents entropy, is the entropy of a homoscedastic Gaussian distribution, No. A mixed speech signal;
[0045] J_freq(b) = ∑ l [H(Gaussian) - H( D l )] ,in, For the The spectrum of a mixed speech signal.
[0046] Furthermore, the output method of the unified behavior embedding vector sequence includes:
[0047] Preprocess the behavior data and convert the behavior data into a unified numerical representation; preprocess the environmental parameters;
[0048] The behavioral data of different modes are respectively subjected to feature extraction to obtain the corresponding behavioral feature vectors; the environmental parameters are subjected to feature extraction using a fully connected layer to obtain the corresponding environmental feature vectors;
[0049] The multimodal fusion deep learning model includes an encoder and a decoder; the encoder encodes the behavioral feature vectors and environmental feature vectors of different modalities into a potential fusion vector, and the decoder decodes the fusion vector into a reconstructed multimodal feature vector;
[0050] Define the fusion loss function of the multimodal fusion deep learning model, collect historical data, and train the multimodal fusion deep learning model by minimizing the fusion loss function based on the historical data;
[0051] The fusion loss function ,in, is the reconstruction error term, is the KL divergence regularization term, is the difference weight coefficient, is the maximum mean difference item; is the preset variational distribution, is the fusion vector output by the encoder; is the fused vector output by the encoder The prior distribution of
[0052] ;in, is the function space, used to define the function A collection of; is the expected function, Indicated in Down Expected value; Represented in the function space Find function in The maximum value of for Variables within; for Variables within;
[0053] Using the trained multimodal fusion deep learning model, the feature vectors corresponding to the behavioral data and environmental parameters are input to obtain a unified behavior embedding vector, and then a unified behavior embedding vector sequence is obtained.
[0054] Furthermore, the generation method of the baseline behavior pattern includes:
[0055] Define the state space, map the behavior feature vector and the environment feature vector to the state in the state space; define a series of behaviors performed by students as the behavior space, and design the behavior space as a hierarchical structure, including high-level behaviors and low-level behaviors;
[0056] Sure optimization objectives, for each optimization objective , define a corresponding single objective reward function ;
[0057] ,in, is the kernel function; Examples of state-action pairs; is the kernel coefficient, is the number of examples, The index to sum;
[0058] Will Single objective reward functions are aggregated into a multi-objective reward function ;
[0059] ;in, To optimize the goal The weight of
[0060] The state transition tuple obtained during the interaction between the state space and the behavior space Stored in the preset experience replay pool, where For the moment status, For the moment Actions, For the moment The reward value calculated according to the multi-objective reward function, For the moment Status;
[0061] Define two independent Q networks separately and , use the value of one Q network to select the optimal behavior, and the value of another Q network to calculate the target value; and introduce two target Q networks 'and , regularly from and Copy the parameters to calculate the target value synchronously; define the optimization goal as minimizing the mean square error loss of the two Q networks, distribute the experience replay pool on M5 computing nodes, and perform data sampling and updating in parallel; use the student's historical behavior data and the environment parameters to train the Q network, select an action based on the current state, execute the action, observe the next state and reward value, and update the Q network, iterating to obtain the trained Q network;
[0062] The normal behavior data of students and the corresponding environmental parameters are collected and used as the initial state. For the initial state, the trained Q network is used to execute the greedy strategy to obtain a series of optimal behavior sequences. The optimal behavior sequence constitutes the baseline behavior pattern of the students.
[0063] The calculation method of the anomaly score includes:
[0064] The student's behavior is modeled as a Markov decision process, where the interaction state of the Markov decision process is defined as a sequence of unified behavior embedding vectors;
[0065] The baseline behavior pattern is represented as an optimal behavior sequence ,in, For the The baseline behavior vector of time steps; the interactive behavior of the Markov decision process is defined as the baseline behavior vector;
[0066] Define state transition probability And the reward function , use the forward algorithm to calculate the probability of the unified behavior embedding vector sequence, and use the negative logarithm of the value of the probability as the anomaly score;
[0067] Reward Function ,in, is the Sigmoid function, and is a learnable parameter, for The transpose of
[0068] ;in, For the The weight of the baseline behavior vector at time steps;
[0069] A Gaussian process regression model is learned with the anomaly score as input and the confidence of the anomaly score is output.
[0070] The campus student safety monitoring method based on artificial intelligence is implemented based on the campus student safety monitoring system based on artificial intelligence, and includes: S1, collecting student behavior data and environmental parameters of the students;
[0071] S2, input the behavior data and environmental parameters into the multimodal fusion deep learning model based on variational autoencoder, and output a unified behavior embedding vector sequence;
[0072] S3, using the improved dual decision Q learning algorithm to model the normal behavior of students and generate a baseline behavior pattern;
[0073] S4, embedding the unified behavior into the vector sequence and the baseline behavior pattern, calculating the anomaly score based on the Markov decision algorithm, and obtaining the confidence level corresponding to the anomaly score;
[0074] S5. Preset an abnormal threshold. When the abnormal score is greater than or equal to the abnormal threshold, and the confidence level corresponding to the abnormal score is greater than or equal to the preset confidence level, it is determined to be an abnormal behavior, and the behavior data and environmental parameters are sent to the security monitoring terminal.
[0075] The technical effects and advantages of the campus student safety monitoring system and method based on artificial intelligence of the present invention are as follows:
[0076] The present invention can fully perceive and analyze the behavior state of students. It not only collects the diverse behavior data of students, but also integrates the environmental parameters to construct a unified behavior embedding vector sequence, which lays the foundation for subsequent anomaly detection. The all-round data collection and integration enable the school to have a deeper understanding of the behavior characteristics of students, and provide an important basis for effectively preventing and responding to various safety hazards. Secondly, an adaptive behavior modeling algorithm is adopted, which can dynamically establish their normal behavior patterns according to the personalized characteristics of students, and learn the optimal behavior strategy by analyzing the historical behavior data and environmental parameters of students, which greatly improves the accuracy and pertinence of anomaly detection, and is conducive to timely discovering and preventing students' abnormal behaviors. Furthermore, with the help of Markov decision process and Gaussian process regression model, not only the anomaly score can be calculated, but also the confidence of the abnormal behavior can be given, making the whole process more intelligent and explainable. On the one hand, by calculating the anomaly score to measure the degree of deviation of the current behavior of students from the baseline behavior pattern, potential safety hazards can be identified more accurately. On the other hand, the confidence of the abnormal behavior is given, which provides an important basis for the school to take targeted measures and avoids the risk of false alarm or omission. BRIEF DESCRIPTION OF THE DRAWINGS
[0077] Figure 1 Schematic diagram of the campus student safety monitoring system based on artificial intelligence of the present invention;
[0078] Figure 2 Schematic diagram of the campus student safety monitoring method based on artificial intelligence of the present invention. DETAILED DESCRIPTION
[0079] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0080] Example 1: Please refer to Figure 1 As shown, the campus student safety monitoring system based on artificial intelligence described in this embodiment includes: a data acquisition module, which is used to collect student behavior data and environmental parameters of the students;
[0081] A data fusion module is used to input behavioral data and environmental parameters into a multimodal fusion deep learning model based on a variational autoencoder and output a unified behavioral embedding vector sequence;
[0082] A behavior pattern fitting module is used to model the normal behavior of students and generate a baseline behavior pattern by using an improved dual-decision Q-learning algorithm;
[0083] The anomaly detection module is used to embed the unified behavior into the vector sequence and the baseline behavior pattern, calculate the anomaly score based on the Markov decision algorithm, and obtain the confidence level corresponding to the anomaly score;
[0084] The anomaly determination module is used to preset an anomaly threshold. When the anomaly score is greater than or equal to the anomaly threshold, and the confidence level corresponding to the anomaly score is greater than or equal to the preset confidence level, it is determined to be an abnormal behavior, and the behavior data and environmental parameters are sent to the security monitoring terminal.
[0085] Furthermore, the behavior data includes movement trajectory data, activity time data, behavior posture data, voice data, social interaction data and learning behavior data; environmental parameters include temperature data, humidity data, light intensity, noise level and crowd density. Temperature data may affect students' comfort and behavior; humidity data, i.e., air humidity level, may affect students' health and comfort; light intensity, i.e., the brightness of natural light and artificial lighting, may affect students' visual comfort and attention; noise level, i.e., the sound intensity in the environment, may affect students' concentration and emotional state; crowd density, i.e., the density of people in the surrounding area, may affect students' behavior and safety.
[0086] Temperature data, humidity data, light intensity and noise level are obtained through their corresponding sensors; crowd density is obtained through infrared sensors in each school area.
[0087] The method for obtaining the action trajectory data includes:
[0088] Cameras are deployed to cover all areas of the campus, and a network topology map of the cameras is established to record the relationship between adjacent cameras. The YOLOv5 real-time target detection algorithm is used to detect people in the n image frames collected by the camera to obtain n detection frames of the students. The DeepSort algorithm is used to perform preliminary tracking of the detection frames to obtain preliminary trajectories. The preliminary trajectories are constrained and calculated to obtain action trajectory data.
[0089] Define the motion cost matrix C for preliminary tracking. The elements in the motion cost matrix C are C[i,j] Indicates that the detection box Assign to motion track cost.
[0090] Defining appearance similarity and motion consistency ;
[0091] C[i,j] = w1 × (1 - Sa[i,j]) + w2 × (1 - Sm[i,j]) ;in is the appearance weight coefficient, is the motion weight coefficient; Sa[i,j] Represents the detection box and trajectory The appearance similarity between Sm[i,j] Represents the detection box and trajectory Predict motion consistency between locations.
[0092] The appearance similarity is calculated using the ResNet deep feature extraction network, and the calculation method includes:
[0093] The ResNet deep feature extraction network is used to convert the detection box and trajectory into their corresponding feature vectors, and the cosine similarity function is used to calculate the appearance similarity between the feature vectors corresponding to the detection box and trajectory; the calculation formula is:
[0094] Sa[i,j] = cosine(f i ,f j ) ;in, and The detection boxes are and trajectory The eigenvector of is the cosine similarity function.
[0095] The calculation formula for motion consistency is:
[0096] Sm[i,j] = exp( - ( α× ||pi - pj_pred|| 2 + β× ||vi - vj|| 2 / σ 2 ) × exp( - λ×Δ T) ;
[0097] in, Is the detection frame location, It's a track The predicted location, is the scaling factor, is the position weight parameter, is the speed weight parameter, is the time decay rate, is the current image frame and trajectory The time interval between the last updates; and The detection boxes are and trajectory The velocity vector.
[0098] Using appearance similarity and motion consistency Planning to obtain action trajectory data, specifically, if , then the constraint is violated, where and The current time point Image frame and previous time point The feature vector corresponding to the detection box of the image frame, is the appearance threshold; collect a large amount of image data of normal students, extract the feature vectors of detection boxes and trajectories, and calculate the cosine similarity between them; analyze the cosine similarity distribution of normal students, and set the appearance threshold so that more than 99% of normal students' behaviors can pass the constraint of this appearance threshold.
[0099] like , then the constraint is violated, where and The current time point Image frame and previous time point The velocity vector of the image frame, is the speed threshold; the speed threshold is also set so that more than 99% of normal student behaviors can pass this constraint.
[0100] If the constraint is violated, C[i,j] Increased costs :
[0101] ;in, and is the penalty coefficient;
[0102] Based on all image frames, find the optimal allocation of the cost matrix C, that is, minimize the total cost, and obtain an allocation matrix X. The elements in the allocation matrix X are X[i,j] = 1 Represents the detection box Assigned to track ,otherwise X[i,j] = 0 ;
[0103] Define a correlation threshold , for each detection box and trajectory ,like X[i,j] = 1 and C[i,j] ≤ Tas ; then associate the detection box i with the trajectory j; otherwise, the detection box and trajectory Not related.
[0104] For unassociated detection boxes, set a new track threshold , for example, 10 seconds, if continuous The same unassociated detection frames are detected in each image frame, and , a new track is created; for the unassociated track, a track termination threshold is set If the trajectory is continuous The image frames are not linked, and , then terminate the trajectory; use Kalman filter or simple linear prediction to predict the position of the trajectory in the next image frame, and iterate the above process for each image frame to continuously track the student to establish a complete trajectory, which is the action trajectory data.
[0105] The method for obtaining the activity time data includes:
[0106] Using the detected student detection frames, record the timestamps of students appearing in each school area, and calculate the length of time students stay in each school area, where length of stay = departure time - arrival time; based on the student's movement trajectory data, generate sequence data containing timestamps as activity time data;
[0107] The method for acquiring the behavior posture data includes:
[0108] Input the image frame into the pre-built improved OpenPose network model, output the two-dimensional coordinates of the key points of the human body, and record them as key point coordinates; project the key point coordinates into the 3D space, minimize the projection error, and obtain the behavior posture data;
[0109] Projection Error ,in, For the The key point coordinates, For the The joint coordinates of the 3D template, is the rotation matrix, is the translation vector; by adjusting and , so that the sum of the projection errors of all key point coordinates Minimize; 3D template refers to a human 3D skeleton model, which contains the 3D coordinate information of each joint of the human body.
[0110] Improvements to the OpenPose network model include:
[0111] The network structure of the backbone network of the improved OpenPose network model is replaced with the MobileNet network, and an attention mechanism is added to increase the focus on key points of the human body;
[0112] The formula of the attention mechanism is: ;in, is the input image frame, is the channel attention weight, is the spatial attention weight, It is the feature map after attention weighting; is element-wise multiplication;
[0113] Define the loss function of the OpenPose network model ;in, For the The residual value of the key points; It is The attention weights of key points are adaptively calculated through the attention mechanism; is an adaptive kernel function; if ,but ;like ;but ;in, is the adaptive adjustment coefficient, which is dynamically adjusted according to the distribution of data;
[0114] Adaptive adjustment coefficient ,in, is a hyperparameter, for the median;
[0115] Collect N2 groups of images containing human bodies, and annotate the images with the two-dimensional coordinates of key points of the human body as labels for training to form a training data set; define an optimizer, use the training data set to train the improved OpenPose network model, and when the loss function no longer decreases during M1 consecutive trainings, retain the parameters of the improved OpenPose network model optimized by the optimizer in the last training, and the construction of the improved OpenPose network model is completed.
[0116] Furthermore, the voice data is obtained by:
[0117] Using microphones distributed in various areas of the campus, mixed speech signals are obtained, and the mixed speech signals are separated into independent sound sources using independent component analysis (ICA); and in the process of independent component analysis (ICA), the time domain and frequency domain are jointly optimized to obtain speech data.
[0118] Constructing joint optimization objective function ,in, is the trade-off coefficient, is the time domain objective function, is the objective function in the frequency domain, To jointly optimize the parameters of the objective function, is a regularization term, such as the L1 or L2 norm; is the regularization coefficient.
[0119] J_time(b) = ∑ l [H(Gaussian) - H( y l )] ;in, represents entropy, is the entropy of a homoscedastic Gaussian distribution, No. A mixed speech signal;
[0120] J_freq(b) = ∑ l [H(Gaussian) - H( D l )] ,in, For the The spectrum of a mixed speech signal.
[0121] By combining cameras with computer vision algorithms, the physical distance and interaction frequency between students are detected as social interaction data; classroom participation and attendance are monitored as learning behavior data.
[0122] Furthermore, the output method of the unified behavior embedding vector sequence includes:
[0123] Preprocessing the behavioral data includes data cleaning and standardization; converting behavioral data of different modalities into a unified numerical representation; preprocessing the environmental parameters, including data cleaning, missing value processing and standardization;
[0124] The behavioral data of different modes are respectively subjected to feature extraction using deep learning models (such as convolutional neural networks and recursive neural networks) to obtain the corresponding behavioral feature vectors; the environmental parameters are subjected to feature extraction using a fully connected layer to obtain the corresponding environmental feature vectors.
[0125] The multimodal fusion deep learning model includes an encoder and a decoder; the encoder encodes the behavioral feature vectors and environmental feature vectors of different modalities into a potential fusion vector, and the decoder decodes the fusion vector into a reconstructed multimodal feature vector.
[0126] Define the fusion loss function of the multimodal fusion deep learning model, collect historical data, and train the multimodal fusion deep learning model by minimizing the fusion loss function based on the historical data, so that it can learn a latent vector representation that can fuse multimodal information; historical data is the behavioral data and environmental data collected within a fixed historical time, and it is converted into corresponding feature vectors; historical data is the corresponding feature vector.
[0127] The fusion loss function ,in, is the reconstruction error term, is the KL divergence regularization term, is the difference weight coefficient, is the maximum mean difference item; is the preset variational distribution, is the fusion vector output by the encoder; is the fused vector output by the encoder The prior distribution of ; It needs to be explained that the fusion vector output by the encoder is assumed to obey a pre-set probability distribution, which is the variational distribution; The prior distribution represents the There is an initial assumption or expectation about the distribution of .
[0128] ;in, is the function space, used to define the function A collection of The choice is the reproducing kernel Hilbert space; is the expected function, Indicated in Down Expected value; Represented in the function space Find function in The maximum value of for Variables within; for The goal is to find the function that maximizes the difference to ensure that it can detect and The biggest difference between;
[0129] Using the trained multimodal fusion deep learning model, the feature vectors corresponding to the behavioral data and environmental parameters are input to obtain a unified behavior embedding vector, and then a unified behavior embedding vector sequence is obtained.
[0130] This unified behavior embedding vector sequence fuses the information of multimodal behavior data and environmental parameters for subsequent anomaly detection and behavior modeling tasks.
[0131] It should be noted that the collected behavior data and environmental parameters are time series based on time changes. The unified behavior embedding vector is spliced at the time level to obtain a unified behavior embedding vector sequence.
[0132] Furthermore, the generation method of the baseline behavior pattern includes:
[0133] Define the state space, map the behavior feature vector and the environment feature vector to the state in the state space; define a series of behaviors performed by students as the behavior space, and design the behavior space as a hierarchical structure, including high-level behaviors (such as "learning", "entertainment", etc.) and low-level behaviors (such as "reading", "playing games", etc.); use the idea of hierarchical reinforcement learning to first learn high-level behavior strategies, and then refine them to low-level behavior strategies to improve the efficiency and interpretability of decision-making; behaviors can be discrete or continuous.
[0134] Sure Optimization goals, such as normal behavior, learning efficiency, physical and mental health, etc.
[0135] For each optimization goal , define a corresponding single objective reward function , used to evaluate the state Execution behavior For optimization goals impact.
[0136] ,in, is the kernel function, which selects Gaussian kernel to measure the state-action pair With example similarities between; Examples of state-action pairs; is the kernel coefficient, is the number of examples, i.e., the number of examples of state-action pairs used to define a single objective reward function, The index to sum.
[0137] The examples described are derived from the student's historical behavioral data and environmental parameters. The status of the example and The behaviors of the examples are combined into a vector ;
[0138] Will Single objective reward functions are aggregated into a multi-objective reward function ;
[0139] ;in, To optimize the goal The weight of , which represents the corresponding single objective reward function Importance in the final aggregation.
[0140] The state transition tuple obtained during the interaction between the state space and the behavior space Stored in the preset experience replay pool, where For the moment status, For the moment Actions, For the moment The reward value calculated according to the multi-objective reward function, For the moment status.
[0141] Define two independent Q networks separately and , use the value of one Q network to select the optimal behavior, and the value of another Q network to calculate the target value, thereby eliminating the over-estimation bias; the target value is the target Q value used to update the parameters of the Q network; and introduce two target Q networks 'and , regularly from and Copy the parameters to calculate the target value; define the optimization goal as minimizing the mean square error loss of the two Q networks, distribute the experience replay pool on M5 computing nodes, and perform data sampling and updating in parallel; use the student's historical behavior data and the environment parameters to train the Q network, select an action based on the current state, execute the action, observe the next state and reward value, and update the Q network, iterating to obtain the trained Q network.
[0142] The normal behavior data of students and the corresponding environmental parameters are collected and used as the initial state. For the initial state, the trained Q network is used to execute the greedy strategy to obtain a series of optimal behavior sequences. The optimal behavior sequence constitutes the baseline behavior pattern of the students.
[0143] Furthermore, the calculation method of the anomaly score includes:
[0144] The student's behavior is modeled as a Markov decision process, where the interaction state of the Markov decision process is defined as a sequence of unified behavior embedding vectors;
[0145] The baseline behavior pattern is represented as an optimal behavior sequence ,in, For the The baseline behavior vector of time steps; the interactive behavior of the Markov decision process is defined as the baseline behavior vector.
[0146] Define state transition probability And the reward function , state transition probability Learned from historical data through a probabilistic model (such as a Gaussian mixture model); reward function To measure the consistency of the current unified behavior embedding vector with the baseline behavior pattern.
[0147] The forward algorithm is used to calculate the probability of the unified behavior embedding vector sequence. The smaller the value of the probability, the greater the deviation of the unified behavior embedding vector sequence from the baseline behavior pattern. The negative logarithm of the probability value is used as the anomaly score.
[0148] Reward Function ,in, is the Sigmoid function, and is a learnable parameter, for The transpose of .
[0149] ;in, For the The weight of the baseline behavior vector of each time step is obtained by calculating the similarity score between the current unified behavior embedding vector and the vector of each time step in the baseline behavior pattern; it is implemented by using a multi-layer perceptron or other neural network structure.
[0150] A Gaussian process regression model is learned with the anomaly score as input and the confidence of the anomaly score is output.
[0151] Ways to preset abnormal thresholds include:
[0152] From the normal behavior data and the labeled abnormal behavior data, the distribution of anomaly scores is learned, and the 99th percentile of the normal behavior score is selected as the threshold.
[0153] The confidence level is used to determine whether the confidence level corresponding to the anomaly score is high enough to support the determination of abnormal behavior. The preset confidence level methods include:
[0154] Treat anomaly detection as a two-sided hypothesis test and determine the confidence level by controlling the probability of type I error (classifying normal behavior as anomaly) and type II error (classifying abnormal behavior as normal); for example, set the significance level to 0.05.
[0155] The confidence level is determined based on the relative cost of classifying normal behavior as abnormal and classifying abnormal behavior as normal.
[0156] This embodiment can fully perceive and analyze the behavior status of students. It not only collects the diverse behavior data of students, but also integrates the environmental parameters to construct a unified behavior embedding vector sequence, which lays the foundation for subsequent anomaly detection. The all-round data collection and integration enable the school to have a deeper understanding of the behavioral characteristics of students, and provide an important basis for effectively preventing and responding to various safety hazards. Secondly, an adaptive behavior modeling algorithm is adopted, which can dynamically establish their normal behavior patterns according to the personalized characteristics of students. By analyzing the historical behavior data and environmental parameters of students, the optimal behavior strategy is learned, which greatly improves the accuracy and pertinence of anomaly detection, and is conducive to timely detection and prevention of students' abnormal behavior. Furthermore, with the help of Markov decision process and Gaussian process regression model, not only the anomaly score can be calculated, but also the confidence of the abnormal behavior can be given, making the whole process more intelligent and explainable. On the one hand, by calculating the anomaly score to measure the degree of deviation of the current behavior of students from the baseline behavior pattern, potential safety hazards can be identified more accurately; on the other hand, the confidence of the abnormal behavior is given, which provides an important basis for the school to take targeted measures and avoids the risk of false alarm or omission.
[0157] Example 2: Please refer to Figure 2 As shown, the part not described in detail in this embodiment is described in Example 1, and a campus student safety monitoring method based on artificial intelligence is provided, including: S1, collecting student behavior data and environmental parameters of the students;
[0158] S2, input the behavior data and environmental parameters into the multimodal fusion deep learning model based on variational autoencoder, and output a unified behavior embedding vector sequence;
[0159] S3, using the improved dual decision Q learning algorithm to model the normal behavior of students and generate a baseline behavior pattern;
[0160] S4, embedding the unified behavior into the vector sequence and the baseline behavior pattern, calculating the anomaly score based on the Markov decision algorithm, and obtaining the confidence level corresponding to the anomaly score;
[0161] S5. Preset an abnormal threshold. When the abnormal score is greater than or equal to the abnormal threshold, and the confidence level corresponding to the abnormal score is greater than or equal to the preset confidence level, it is determined to be an abnormal behavior, and the behavior data and environmental parameters are sent to the security monitoring terminal.
[0162] Embodiment 3: This embodiment discloses an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the operation mode of the campus student safety monitoring method based on artificial intelligence provided above is implemented.
[0163] Since the electronic device introduced in this embodiment is an electronic device used to implement the campus student safety monitoring method based on artificial intelligence in the embodiment of the present application, based on the campus student safety monitoring method based on artificial intelligence introduced in the embodiment of the present application, the technical personnel of this field can understand the specific implementation of the electronic device of this embodiment and its various variations, so how the electronic device implements the method in the embodiment of the present application is not described in detail here. As long as the technical personnel of this field implement the electronic device used by the campus student safety monitoring method based on artificial intelligence in the embodiment of the present application, it belongs to the scope of protection of this application.
[0164] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters and thresholds in the formula are set by technicians in this field according to actual conditions.
[0165] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technical users in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Claims
1. The campus student safety monitoring system based on artificial intelligence is characterized by: include: Data collection module, used to collect students' behavior data and environmental parameters of students; A data fusion module is used to input behavioral data and environmental parameters into a multimodal fusion deep learning model based on a variational autoencoder and output a unified behavioral embedding vector sequence; A behavior pattern fitting module is used to model the normal behavior of students and generate a baseline behavior pattern by using an improved dual decision Q learning algorithm; The anomaly detection module uses the unified behavior embedding vector sequence and the baseline behavior pattern to calculate the anomaly score based on the Markov decision algorithm and obtain the confidence level corresponding to the anomaly score; An abnormality determination module is used to preset an abnormality threshold. When the abnormality score is greater than or equal to the abnormality threshold, and the confidence level corresponding to the abnormality score is greater than or equal to the preset confidence level, it is determined to be an abnormal behavior, and the behavior data and environmental parameters are sent to the security monitoring terminal. The modules are connected by wired and / or wireless means; The generation method of the baseline behavior pattern includes: Define the state space, map the behavior feature vector and the environment feature vector to the state in the state space; define a series of behaviors performed by students as the behavior space, and design the behavior space as a hierarchical structure, including high-level behaviors and low-level behaviors; Determine M3 optimization goals, and for each optimization goal d, define a corresponding single-goal reward function RT d (s',a'); where s' is the state; a' is the behavior; Among them, KLU() is the kernel function; A I Examples of state-action pairs; is the kernel coefficient, N2 is the number of examples, and I is the index of the summation; Aggregate M3 single-objective reward functions into a multi-objective reward function RTE(s',a'); RTE(s',a')=min 1≤d≤M3 {RT d (s',a')+WQ d }; Among them, WQ d To optimize the weight of target d; The state transition tuple (s' t' ,a' t' ,r' t' ,s' t'+1 ) is stored in the preset experience replay pool, where s' t' is the state at time t', a' t' is the action at time t', r' t' is the reward value calculated according to the multi-objective reward function at time t', s' t'+1 is the state at time t'+1; Define two independent Q networks Q1 and Q2 respectively, use the value of one Q network to select the optimal behavior, and the value of the other Q network to calculate the target value; introduce two target Q networks Q1' and Q2', regularly copy parameters from Q1 and Q2 to synchronously calculate the target value; define the optimization goal as minimizing the mean square error loss of the two Q networks, distribute the experience replay pool on M5 computing nodes, and perform data sampling and updating in parallel; use the student's historical behavior data and the environment parameters to train the Q network, select an action according to the current state, execute the action, observe the next state and reward value, and update the Q network, iteratively obtain the trained Q network; Collect the normal behavior data of students and the corresponding environmental parameters, and use them as the initial state. For the initial state, use the trained Q network to execute the greedy strategy to obtain a series of optimal behavior sequences. The optimal behavior sequence constitutes the baseline behavior pattern of the students. The calculation method of the anomaly score includes: The student's behavior is modeled as a Markov decision process, where the interaction state of the Markov decision process is defined as a sequence of unified behavior embedding vectors; The baseline behavior pattern is represented as an optimal behavior sequence B' = {b' T' }, where b' T' is the baseline behavior vector of the T'th time step; the interactive behavior of the Markov decision process is defined as the baseline behavior vector; Define the state transition probability PU and reward function UT, use the forward algorithm to calculate the probability of the unified behavior embedding vector sequence, and use the negative logarithm of the probability value as the anomaly score; Reward Function in, is the Sigmoid function, W2 and C' are learnable parameters, W2 T is the transpose of W2; Among them, ω T' is the weight of the baseline behavior vector at the T'th time step; The anomaly score is used as input to the Gaussian process regression model, and the confidence of the anomaly score is output.
2. The campus student safety monitoring system based on artificial intelligence according to claim 1 is characterized in that: The behavioral data includes motion trajectory data, activity time data, behavioral posture data, voice data, social interaction data and learning behavior data; the environmental parameters include temperature data, humidity data, light intensity, noise level and crowd density.
3. The campus student safety monitoring system based on artificial intelligence according to claim 2 is characterized in that: The method for obtaining the action trajectory data includes: Cameras are deployed to cover all areas of the campus, and a network topology map of the cameras is established to record the relationship between adjacent cameras. The YOLOv5 real-time target detection algorithm is used to detect people in the n image frames collected by the camera to obtain n detection frames of the students. The DeepSort algorithm is used to perform preliminary tracking of the detection frames to obtain preliminary trajectories. The preliminary trajectories are constrained and calculated to obtain action trajectory data.
4. The campus student safety monitoring system based on artificial intelligence according to claim 3 is characterized in that: The method of performing constraint calculation on the preliminary trajectory to obtain the action trajectory data includes: Define the motion cost matrix C for preliminary tracking. The element C[i,j] in the motion cost matrix C represents the cost of assigning the detection box i to the motion trajectory j. Define appearance similarity Sa and motion consistency Sm; C[i,j]=w1×(1-Sa[i,j])+w2×(1-Sm[i,j]); where w1 is the appearance weight coefficient and w2 is the motion weight coefficient; Sa[i,j] represents the appearance similarity between the detection box i and the trajectory j; Sm[i,j] represents the motion consistency between the detection box i and the predicted position of the trajectory j; The ResNet deep feature extraction network is used to convert the detection box and trajectory into their corresponding feature vectors, and the appearance similarity between the feature vectors corresponding to the detection box and trajectory is calculated; the calculation formula is: Sa[i,j]=cosine(fi,fj); where fi and fj are the feature vectors of detection box i and trajectory j respectively; cosine is the cosine similarity function; The calculation formula for motion consistency is: Sm[i,j]=exp(-(α×||pi-pj_pred|| 2 +β×||vi-vj|| 2 / σ 2 )×exp(-λ×ΔT); Where pi is the position of the detection box i, pj_pred is the predicted position of the trajectory j, σ is the scaling factor, α is the position weight parameter, β is the velocity weight parameter, λ is the time decay rate, ΔT is the time interval between the current image frame and the last update of trajectory j; vi and vj are the velocity vectors of the detection box i and trajectory j respectively; the action trajectory data is obtained by planning using the appearance similarity Sa and motion consistency Sm.
5. The campus student safety monitoring system based on artificial intelligence according to claim 4 is characterized in that: The method of using the appearance similarity Sa and the motion consistency Sm to plan and obtain the action trajectory data includes: If ||ft-f{t-1}||>Wa, the constraint is violated, where ft and f{t-1} are the feature vectors corresponding to the detection boxes of the image frame at the current time point t and the image frame at the previous time point t-1, respectively, and Wa is the appearance threshold; If ||vt-v{t-1}||>Wm, the constraint is violated, where vt and v{t-1} are the velocity vectors of the image frame at the current time point t and the image frame at the previous time point t-1, respectively, and Wm is the velocity threshold; If the constraint is violated, C[i,j] is increased by the cost Ct: Ct = λa×max(0,||ft-f{t-1}||-Wa)+λm×max(0,||vt-v{t-1}||-Wm) where λa and λm are penalty coefficients; Based on all image frames, find the optimal allocation of the cost matrix C, that is, minimize the total cost, and obtain an allocation matrix X. The element X[i,j]=1 in the allocation matrix X indicates that the detection box i is assigned to the track j, otherwise X[i,j]=0; Define an association threshold Tas. For each detection box i and track j, if X[i,j]=1 and C[i,j]≤Tas, then the detection box i is associated with the track j; otherwise, the detection box i and the track j are not associated. For unassociated detection frames, a new track threshold Tnew is set. If unassociated detection frames at the same position are detected in N consecutive image frames, and N>Tnew, a new track is created. For unassociated tracks, a track termination threshold Tter is set. If the track is unassociated for M consecutive image frames, and M>Tter, the track is terminated. Use Kalman filter or simple linear prediction to predict the position of the trajectory in the next image frame, that is, to establish a complete trajectory, which is the action trajectory data.
6. The campus student safety monitoring system based on artificial intelligence according to claim 5 is characterized in that: The method for obtaining the activity time data includes: Using the detected student detection frames, record the timestamps of students appearing in each school area, and calculate the length of time students stay in each school area, where length of stay = departure time - arrival time; based on the student's movement trajectory data, generate sequence data containing timestamps as activity time data; The method for acquiring the behavior posture data includes: Input the image frame into the pre-built improved OpenPose network model, output the two-dimensional coordinates of the key points of the human body, and record them as key point coordinates; project the key point coordinates into the 3D space, minimize the projection error, and obtain the behavior posture data; Projection error E = sum(||P f -proj(G×J f +V)||), where P f is the coordinate of the fth key point, J f is the joint coordinate of the fth 3D template, G is the rotation matrix, and V is the translation vector; Improvements to the OpenPose network model include: The network structure of the backbone network of the improved OpenPose network model is replaced with the MobileNet network, and the attention mechanism is added; The formula of the attention mechanism is: F'=Y*W_c*W_s; where Y is the input image frame, W_c is the channel attention weight, W_s is the spatial attention weight, and F' is the feature map after attention weighting; * is element-wise multiplication; Define the loss function of the OpenPose network model Loss = ∑ x R x ×ρ(r x ), where r x is the residual value of the xth key point; R x is the attention weight of the x-th key point, which is adaptively calculated through the attention mechanism; ρ(r x ) is an adaptive kernel function; if |r x |≤c, then If | r x |>c; then Where c is the adaptive adjustment coefficient; Adaptive adjustment coefficient c = K × med (|r x |), where K is a hyperparameter, med(|r x |) is |r x The median of | Collect N2 groups of images containing human bodies, and annotate the images with the two-dimensional coordinates of key points of the human body as labels for training to form a training data set; define an optimizer and use the training data set to train the improved OpenPose network model. When the loss function no longer decreases during M1 consecutive trainings, retain the parameters of the improved OpenPose network model optimized by the optimizer in the last training, and the construction of the improved OpenPose network model is completed.
7. The campus student safety monitoring system based on artificial intelligence according to claim 6 is characterized in that: The method for acquiring the voice data includes: Using microphones distributed in various areas of the campus, a mixed speech signal is obtained, and the mixed speech signal is separated into independent sound sources using independent component analysis; and in the process of independent component analysis, the time domain and the frequency domain are jointly optimized to obtain speech data; a joint optimization objective function Jos(b)=δ×J_time(b)+(1-δ)×J_freq(b)+τ×FG(b) is constructed, where δ is a weighting coefficient, J_time(b) is a time domain objective function, J_freq(b) is a frequency domain objective function, b is a parameter of the joint optimization objective function, FG(b) is a regularization term, and τ is a regularization coefficient; J_time(b)=∑ l [H(Gaussian)-H(y l )]; where H() represents entropy, H(Gaussian) is the entropy of the homoscedastic Gaussian distribution, and y l The first mixed speech signal; J_freq(b)=∑ l [H(Gaussian)-H(D l )], where D l is the spectrum of the lth mixed speech signal.
8. The campus student safety monitoring system based on artificial intelligence according to claim 7 is characterized in that: The output method of the unified behavior embedding vector sequence includes: Preprocess the behavior data and convert the behavior data into a unified numerical representation; preprocess the environmental parameters; The behavioral data of different modes are respectively subjected to feature extraction to obtain the corresponding behavioral feature vectors; the environmental parameters are subjected to feature extraction using a fully connected layer to obtain the corresponding environmental feature vectors; The multimodal fusion deep learning model includes an encoder and a decoder; the encoder encodes the behavioral feature vectors and environmental feature vectors of different modalities into a potential fusion vector, and the decoder decodes the fusion vector into a reconstructed multimodal feature vector; Define the fusion loss function of the multimodal fusion deep learning model, collect historical data, and train the multimodal fusion deep learning model by minimizing the fusion loss function based on the historical data; The fusion loss function foss(θ)=DF(θ)+DG(θ)+μ×MMD(Q(z),S(z)), where DF(θ) is the reconstruction error term, DG(θ) is the KL divergence regularization term, μ is the difference weight coefficient, and MMD(Q(z),S(z)) is the maximum mean difference term; Q(z) is the preset variational distribution, z is the fusion vector output by the encoder; S(z) is the prior distribution of the fusion vector z output by the encoder; MMD(Q(z),S(z))=sup FG∈hg (ER q(z)∈Q(z) [FG(q(z))]-ER s(z)∈S(z) [FG(s(z))]) Among them, hg is the function space, which is used to define the set of functions FG; ER is the expected function, ER q(z)∈Q(z) [FG(q(z))] represents the expected value of q(z) under Q(z); sup represents the search for the maximum value of function FG in the function space hg; q(z) is a variable in Q(z); s(z) is a variable in S(z); Using the trained multimodal fusion deep learning model, the feature vectors corresponding to the behavioral data and environmental parameters are input to obtain a unified behavior embedding vector, and then a unified behavior embedding vector sequence is obtained.
9. A campus student safety monitoring method based on artificial intelligence, which is implemented based on the campus student safety monitoring system based on artificial intelligence according to any one of claims 1 to 8, characterized in that: include: S1. Collect students’ behavioral data and environmental parameters; S2, input the behavior data and environmental parameters into the multimodal fusion deep learning model based on variational autoencoder, and output a unified behavior embedding vector sequence; S3, using the improved dual decision Q learning algorithm to model the normal behavior of students and generate a baseline behavior pattern; S4, embedding the unified behavior into the vector sequence and the baseline behavior pattern, calculating the anomaly score based on the Markov decision algorithm, and obtaining the confidence level corresponding to the anomaly score; S5. Preset an abnormal threshold. When the abnormal score is greater than or equal to the abnormal threshold, and the confidence level corresponding to the abnormal score is greater than or equal to the preset confidence level, it is determined to be an abnormal behavior, and the behavior data and environmental parameters are sent to the security monitoring terminal.
Citation Information
Cited By
Time sequence neural network risk inference method and system for overseas research behavior sequence
CN122988034A
