Method, device, equipment and medium for determining the evolution state of mass incidents at airports
By constructing a target undirected graph and subgroup status update method, the problem of the airport being unable to perceive the situation of group incidents in real time is solved, achieving real-time accurate perception and accurate status determination of group incidents, and improving the airport's emergency management capabilities.
Patent Information
- Application Number
- CN202410832880.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-06-26
AI Technical Summary
Airports are unable to perceive the situation of mass incidents in real time, resulting in emergency management being in a passive defense and mass incidents becoming more and more intense. Existing research has not yet been able to dynamically and quantitatively characterize the evolution of mass incidents, which affects civil aviation operations and air defense safety.
By constructing a target undirected graph, based on the similarity matrix of real-time multi-modal behavior feature vectors, we calculate the cohesion of subgroups, update the subgroup status feature vectors, and combine with the pre-trained classification model to achieve real-time and accurate perception of group events. Status OK.
It achieves real-time and accurate perception of mass incidents at the airport, improves the accuracy of determining the evolution status of mass incidents, and enhances the airport's emergency management capabilities.
Smart Images

Figure CN118396390B
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method, device, equipment and medium for determining the evolution status of mass incidents at airports. Background Art
[0002] At present, mass incidents caused by flight delays have become a focus of attention at airports. Such incidents not only affect the normal operation order of civil aviation, but also seriously threaten the air defense security of airports, damage the overall image of airports and airlines, and even have an adverse impact on the development of the entire civil aviation industry. The above problems are precisely because airports cannot perceive the situation of emergencies in real time, resulting in passive defense of airport emergency management, causing mass incidents to intensify. Focusing on the civil aviation field, the current research on mass incidents is still at the level of definition and cause analysis. How to dynamically and quantitatively characterize the evolution of mass incidents and improve the accuracy of determining the development trend of mass incidents has become a technical issue that cannot be underestimated. Summary of the invention
[0003] In view of this, the purpose of the present application is to provide a method, device, equipment and medium for determining the evolutionary state of mass incidents at airports, which quantitatively characterizes the evolutionary state of mass incidents through the construction of a target undirected graph and the evolutionary update of sub-groups, thereby achieving real-time and accurate perception of the evolutionary state of mass incidents at airports and improving the accuracy of determining the evolutionary state of mass incidents at airports.
[0004] The embodiment of the present application provides a method for determining the evolution state of a mass incident at an airport, and the method for determining the evolution state of a mass incident at an airport includes:
[0005] Determine a similarity matrix based on the real-time multimodal behavior feature vectors of multiple airport passengers at the target airport, and construct a target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers based on the similarity matrix; wherein each node in the target undirected graph corresponds to one real-time multimodal behavior feature vector;
[0006] Based on the edges in the target undirected graph, the subgroup cohesion is calculated to determine the subgroup in the target undirected graph, and if the subgroup undergoes evolutionary update, the state feature vector of the subgroup is evolutionarily updated, and based on the state feature vector of the subgroup after evolutionary update and the state feature vector of the subgroup that has not undergone evolutionary update, a real-time state feature vector sequence of the mass event at the next moment is determined; wherein the subgroup is a set consisting of multiple nodes in the target undirected graph, and the nodes are connected by edges;
[0007] The real-time state feature vector sequence of the mass incident is input into a pre-trained airport mass incident evolution state classification model, and the evolution state classification corresponding to the mass incident at the next moment is output; wherein the evolution state classification includes individual behavior development stage, group behavior development stage and mass incident development stage.
[0008] In a possible implementation manner, determining a similarity matrix based on the real-time multimodal behavior feature vectors of multiple airport passengers at the target airport, and constructing a target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers based on the similarity matrix includes:
[0009] Extracting real-time behavior feature vectors of multiple airport passengers in a real-time video stream of a target airport, determining the real-time multimodal behavior feature vector based on the real-time behavior feature vector and multiple data sources, and constructing a node set based on the real-time multimodal behavior feature vectors of multiple airport passengers;
[0010] Determine the similarity between every two nodes, determine the similarity matrix, construct initial edges based on the similarity matrix, and determine an initial undirected graph;
[0011] Inputting the initial undirected graph into a multilayer perceptron, so that the multilayer perceptron learns the attribute information of each node in the initial undirected graph, and outputs the initial undirected graph with enhanced attribute information;
[0012] Autocovariance calculation is performed on the initial undirected graph after the attribute information is enhanced to determine a target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers.
[0013] In a possible implementation manner, after performing autocovariance calculation on the initial undirected graph after the attribute information enhancement to determine a target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers, the method for determining the evolution state of the airport mass incident further includes:
[0014] If it is determined that new interaction behaviors occur between the nodes in the target undirected graph, the attribute information of the nodes corresponding to the new interaction behaviors in the target undirected graph is updated, and the autocovariance of the target undirected graph is recalculated and updated.
[0015] In a possible implementation manner, calculating the subgroup cohesion based on the edges in the target undirected graph to determine the subgroups in the target undirected graph includes:
[0016] Based on the nodes corresponding to the edges in the target undirected graph, determining the association strength corresponding to the edges;
[0017] Determine an average association strength corresponding to the connected subgraph based on an association strength matrix of multiple edges corresponding to the connected subgraph in the target undirected graph and the number of edges in the connected subgraph;
[0018] When the average association strength corresponding to the connected subgraph and the number of nodes in the connected subgraph both exceed preset values, the connected subgraph is determined as a subgroup in the target undirected graph.
[0019] In a possible implementation, if the subgroup undergoes evolutionary update, the state feature vector of the subgroup is evolutionarily updated, and based on the state feature vector of the subgroup after evolutionary update and the state feature vector of the subgroup that has not undergone evolutionary update, a real-time state feature vector sequence of the group event at the next moment is determined, including:
[0020] Determine a newly added node in the target undirected graph at the next moment, and determine whether the subgroup in the target undirected graph is to be updated after the newly added node is added;
[0021] When there is an evolutionary update of the subgroup in the target undirected graph, determining the cohesion of the subgroup in the target undirected graph based on the number of nodes of the subgroup in which the evolutionary update exists;
[0022] Determining whether a state feature vector of the sub-group is updated based on the cohesion of the sub-group updated by evolution;
[0023] If so, updating the state feature vector of the sub-population that has undergone evolutionary update based on the association strength;
[0024] Based on the state feature vectors of the subgroup that has undergone evolutionary update and the state feature vectors of the subgroup that has not undergone evolutionary update, a real-time state feature vector sequence of the group event at the next moment is determined; wherein the state feature vector is the average state feature corresponding to multiple nodes in the subgroup.
[0025] In a possible implementation manner, determining the newly added node in the target undirected graph at the next moment, and determining whether the subgroup in the target undirected graph is to be updated for evolution after the newly added node is added, includes:
[0026] If it is determined that there is a newly added node in the target undirected graph at the next moment, detecting whether the characteristic distance value between the newly added node and the state characteristic vector of each subgroup is less than a preset threshold;
[0027] If yes, the newly added node belongs to the subgroup corresponding to the characteristic distance value, and the subgroup is updated by evolution;
[0028] If not, the newly added node is in an isolated state.
[0029] In a possible implementation manner, the airport mass incident evolution state classification model is trained by the following steps:
[0030] Inputting the historical state feature vector of the sample mass event and the current state feature vector of the sample mass event into the time series recurrent network, performing feature fusion on the historical state feature vector and the current state feature vector, and determining a fused state feature vector;
[0031] The fused state feature vector is input into the classification network of the neural network model, and the predicted evolution state of the sample group event and the actual evolution state of the sample group event are calculated based on the self-supervised loss function and the cross entropy loss function. The calculation result values of the self-supervised loss function and the cross entropy loss function are added to determine the loss value of the neural network model:
[0032] If the loss value is less than or equal to the preset loss value, the neural network model is determined as the classification model of the evolution state of the airport mass incident; if the loss value is greater than the preset loss value, the network parameters of the neural network model are changed and the neural network model continues to be trained.
[0033] The embodiment of the present application further provides a device for determining the evolution state of a mass incident at an airport, and the device for determining the evolution state of a mass incident at an airport comprises:
[0034] An undirected graph construction module, used to determine a similarity matrix based on the real-time multimodal behavior feature vectors of multiple airport passengers at a target airport, and to construct a target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers based on the similarity matrix; wherein each node in the target undirected graph corresponds to one real-time multimodal behavior feature vector;
[0035] A group event feature determination module is used to calculate the subgroup cohesion based on the edges in the target undirected graph, determine the subgroup in the target undirected graph, and if the subgroup undergoes evolutionary update, then the state feature vector of the subgroup is evolved and updated, and based on the state feature vector of the subgroup after evolutionary update and the state feature vector of the subgroup that has not undergone evolutionary update, determine the real-time state feature vector sequence of the group event at the next moment; wherein the subgroup is a set composed of multiple nodes in the target undirected graph, and the nodes are connected by edges;
[0036] The state judgment module is used to input the real-time state feature vector sequence of the mass incident into a pre-trained airport mass incident evolution state classification model, and output the evolution state classification corresponding to the mass incident at the next moment; wherein the evolution state classification includes individual behavior development stage, group behavior development stage and mass incident development stage.
[0037] An embodiment of the present application also provides an electronic device, including: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the method for determining the evolution state of mass incidents at an airport as described above is performed.
[0038] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for determining the evolution state of mass incidents at an airport as described above is executed.
[0039] The embodiment of the present application provides a method, device, equipment and medium for determining the evolutionary state of a mass incident at an airport. The method for determining the evolutionary state of a mass incident at an airport comprises: determining a similarity matrix based on real-time multimodal behavior feature vectors of multiple airport passengers at a target airport, and constructing a target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers based on the similarity matrix; wherein each node in the target undirected graph corresponds to one of the real-time multimodal behavior feature vectors; performing subgroup cohesion calculation based on the edges in the target undirected graph, determining a subgroup in the target undirected graph, and if the subgroup undergoes evolutionary update, then the evolutionary update subgroup , and based on the state feature vector of the subgroup after evolutionary update and the state feature vector of the subgroup without evolutionary update, determine the real-time state feature vector sequence of the mass incident at the next moment; wherein the subgroup is a set of multiple nodes in the target undirected graph, and the nodes are connected by edges; input the real-time state feature vector sequence of the mass incident into the pre-trained airport mass incident evolutionary state classification model, and output the evolutionary state classification corresponding to the mass incident at the next moment; wherein the evolutionary state classification includes individual behavior development stage, group behavior development stage and mass incident development stage. The beneficial effects of this scheme: the evolutionary state of the mass incident is quantitatively characterized through the construction of the target undirected graph and the evolutionary update of the subgroup, so as to realize the real-time and accurate perception of the evolutionary state of the airport mass incident, and improve the accuracy of determining the evolutionary state of the airport mass incident.
[0040] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0042] Figure 1 A flowchart of a method for determining the evolution state of a mass incident at an airport provided in an embodiment of the present application;
[0043] Figure 2 A schematic diagram of the evolution of state feature vectors of subgroups in a mass event provided in an embodiment of the present application;
[0044] Figure 3 One of the structural schematic diagrams of a device for determining the evolution state of a mass incident at an airport provided in an embodiment of the present application;
[0045] Figure 4 A second structural diagram of a device for determining the evolution state of a mass incident at an airport provided in an embodiment of the present application;
[0046] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] 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. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.
[0048] First, the application scenarios to which the present application is applicable are introduced. The present application can be applied in the field of data processing technology.
[0049] According to research, mass incidents caused by flight delays have become a focus of attention at airports. Such incidents not only affect the normal operation of civil aviation, but also seriously threaten the air defense security of airports, damage the overall image of airports and airlines, and even have an adverse impact on the development of the entire civil aviation industry. The above problems are precisely because airports cannot perceive the situation of emergencies in real time, resulting in passive defense of airport emergency management, causing mass incidents to intensify. Focusing on the civil aviation field, the current research on mass incidents is still at the level of definition and cause analysis. How to dynamically and quantitatively characterize the evolution of mass incidents and improve the accuracy of determining the development trend of mass incidents has become a technical issue that cannot be underestimated.
[0050] Based on this, an embodiment of the present application provides a method for determining the evolutionary state of mass incidents at airports. The evolutionary state of mass incidents is quantitatively characterized by the construction of a target undirected graph and the evolutionary update of sub-groups, thereby achieving real-time and accurate perception of the evolutionary state of mass incidents at airports and improving the accuracy of determining the evolutionary state of mass incidents at airports.
[0051] See also Figure 1 , Figure 1 The following is a flow chart of a method for determining the evolution state of a mass incident at an airport provided in an embodiment of the present application. Figure 1 As shown in , the method for determining the evolution state of mass incidents at an airport provided in the embodiment of the present application includes:
[0052] S101: Determine a similarity matrix based on the real-time multimodal behavior feature vectors of multiple airport passengers at the target airport, and construct a target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers based on the similarity matrix; wherein each node in the target undirected graph corresponds to one real-time multimodal behavior feature vector.
[0053] In this step, a similarity matrix is determined based on the real-time multimodal behavior feature vectors of multiple airport passengers at the target airport, and a target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers is constructed based on the similarity matrix.
[0054] The real-time multimodal behavior feature vector is a feature vector obtained by integrating feature vectors from multiple different modes.
[0055] In a possible implementation manner, determining a similarity matrix based on the real-time multimodal behavior feature vectors of multiple airport passengers at the target airport, and constructing a target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers based on the similarity matrix includes:
[0056] A: Extracting the real-time behavior feature vectors of multiple airport passengers in the real-time video stream of the target airport, determining the real-time multimodal behavior feature vector based on the real-time behavior feature vector and multiple data sources for extraction, and constructing a node set based on the real-time multimodal behavior feature vectors of multiple airport passengers.
[0057] Here, the real-time video stream at time t is obtained, the implementation behavior feature vectors of multiple airport passengers are extracted, and the real-time behavior feature vectors are combined with multiple data sources to determine the real-time multimodal behavior feature vectors. , construct a node set based on the real-time multimodal behavior feature vectors of passengers at multiple airports .
[0058] B: Determine the similarity between every two nodes, determine the similarity matrix, construct initial edges based on the similarity matrix, and determine an initial undirected graph.
[0059] Here, the similarity between every two nodes is calculated, the similarity matrix is determined, the initial edges are constructed according to the similarity matrix, and the initial undirected graph is determined.
[0060] Here, an edge is constructed between two nodes with high similarity.
[0061] Among them, the initial undirected graph is formed .in, It is a picture The set of all nodes, It is a picture The set of edges that exist in , is the set of all node vectors, For the corresponding node Real-time multimodal behavior feature vector.
[0062] C: Inputting the initial undirected graph into a multilayer perceptron, so that the multilayer perceptron learns the attribute information of each node in the initial undirected graph, and outputs the initial undirected graph with enhanced attribute information.
[0063] Here, the initial undirected graph is input into a multi-layer perceptron (MLP) so that the multi-layer perceptron learns the attribute information of each node in the initial undirected graph and outputs the initial undirected graph with enhanced attribute information.
[0064] Among them, the attribute information is the multimodal behavior feature vector of the passenger corresponding to the node.
[0065] Here, the MLP structure maps pairwise node attributes to the trained edge weights of each edge in the edge set, where is a weight value to be trained.
[0066]
[0067] in, is the final edge weight, and To correspond to the attribute information of two different nodes respectively, MLP(·) is a multi-layer perceptron activation function, which is used to process the attribute information of different nodes and a weight value to be trained to obtain the final edge weight.
[0068] The edge weight of the attribute enhanced graph is a weighted combination of topological weight, untrained weight and trained weight. The enhanced adjacency matrix corresponding to the initial undirected graph after attribute information enhancement is The calculation method is as follows:
[0069]
[0070] in, and are the attribute information corresponding to two different nodes. is the adjacency matrix, and is a preset hyperparameter, is the initial undirected graph after attribute information enhancement, s (·) represents a method function for calculating the similarity of two feature vectors. This calculation method function can be selected according to actual conditions, such as Euclidean distance, cosine similarity, Manhattan distance, etc., and this part does not make specific restrictions.
[0071] D: performing autocovariance calculation on the initial undirected graph after the attribute information is enhanced to determine a target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers.
[0072] Here, the autocovariance calculation is performed on the initial undirected graph after the attribute information is enhanced to determine the target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers.
[0073] In a possible implementation manner, after performing autocovariance calculation on the initial undirected graph after the attribute information enhancement to determine a target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers, the method for determining the evolution state of the airport mass incident further includes:
[0074] If it is determined that new interaction behavior occurs between the nodes in the target undirected graph, the attribute information of the nodes corresponding to the new interaction behavior in the target undirected graph is updated, and the autocovariance of the target undirected graph is recalculated and updated according to the above steps.
[0075] Here, if it is determined that new interaction behaviors occur between nodes in the target undirected graph, the attribute information of the nodes corresponding to the new interaction behaviors in the target undirected graph is updated, and the autocovariance of the target undirected graph is recalculated and updated to determine the updated target undirected graph.
[0076] Among them, the new interaction behaviors occurring between the nodes in the target undirected graph may be the behavioral interactions occurring between passengers.
[0077] S102: Calculating the subgroup cohesion based on the edges in the target undirected graph to determine the subgroup in the target undirected graph, and if the subgroup undergoes evolutionary update, then evolving and updating the state feature vector of the subgroup, and determining the real-time state feature vector sequence of the group event at the next moment based on the state feature vector of the subgroup after evolutionary update and the state feature vector of the subgroup that has not undergone evolutionary update;
[0078] In this step, the subgroup cohesion is calculated based on the edges in the target undirected graph to determine the subgroups in the target undirected graph. If the subgroup undergoes evolutionary update, the real-time state feature vector sequence of the group event at the next moment is determined based on the state feature vector of the subgroup after evolutionary update and the state feature vector of the subgroup that has not undergone evolutionary update.
[0079] The subgroup is a set consisting of multiple nodes in the target undirected graph, the nodes are connected by edges, and the edges are formed by connecting at least two nodes.
[0080] Among them, the sub-groups evolve and update as new nodes are added to the sub-groups, so that the sub-groups are merged.
[0081] In a possible implementation manner, calculating the subgroup cohesion based on the edges in the target undirected graph to determine the subgroups in the target undirected graph includes:
[0082] a: Based on the nodes corresponding to the edges in the target undirected graph, determine the association strength corresponding to the edges.
[0083] Here, the association strength corresponding to each edge is determined according to the nodes corresponding to each edge in the target undirected graph.
[0084] The dynamic update process of defining edges is as follows:
[0085]
[0086] in, for t The correlation strength coefficient between the nodes corresponding to passengers at different airports at different times, It meanst The real-time correlation between nodes at a given moment. After the edge event is established, as the duration of the event increases, the correlation strength of the edge increases. is the weight factor, f (·) is the feature distance metric function, , They are t Different nodes at different times u and v individual characteristics, (·) is a subgroup ( l )middle u and v The edges between the individual features of e ) for dynamic updates.
[0087] b: Based on the association strength matrix of multiple edges corresponding to the connected subgraph in the target undirected graph and the number of edges in the connected subgraph, determine the average association strength corresponding to the connected subgraph.
[0088] Here, the average association strength corresponding to the connected subgraph is determined according to the association strength matrix of multiple edges corresponding to the connected subgraph in the target undirected graph and the number of edges in the connected subgraph.
[0089] Among them, the average correlation strength corresponding to the connected subgraph is determined by the following formula:
[0090]
[0091] in, Represents a connected subgraph The correlation strength matrix, for The number of sides, for t Connected subgraph at time The corresponding average correlation strength.
[0092] c: When the average association strength corresponding to the connected subgraph and the number of nodes in the connected subgraph both exceed preset values, the connected subgraph is determined as a subgroup in the target undirected graph.
[0093] Here, when the average association strength corresponding to the connected subgraph and the number of nodes in the connected subgraph both exceed preset values, the connected subgraph is determined as a subgroup in the target undirected graph.
[0094] Among them, nodes with high feature similarity or significant interaction features are included in a subgroup. When the average correlation strength corresponding to the connected subgraph and the number of nodes in the connected subgraph exceed the preset value, Determined as a subgroup.
[0095] In a possible implementation, if the subgroup undergoes evolutionary update, the state feature vector of the subgroup is evolutionarily updated, and based on the state feature vector of the subgroup after evolutionary update and the state feature vector of the subgroup that has not undergone evolutionary update, a real-time state feature vector sequence of the group event at the next moment is determined, including:
[0096] (1): Determine the newly added nodes in the target undirected graph at the next moment, and determine whether the sub-population in the target undirected graph is to be updated after the newly added nodes are added.
[0097] Here, it is determined whether there is a new node in the target undirected graph at the next moment. If so, it is determined whether the sub-group in the target undirected graph is updated for evolution after the new node is added.
[0098] Among them, when nodes from two different sub-populations interact in the target undirected graph, there is an evolutionary update between the two sub-populations.
[0099] In a possible implementation manner, determining the newly added node in the target undirected graph at the next moment, and determining whether the subgroup in the target undirected graph is to be updated for evolution after the newly added node is added, includes:
[0100] i: If it is determined that there is a new node in the target undirected graph at the next moment, it is detected whether the feature distance value between the new node and the state feature vector of each subgroup at the current moment is less than a preset threshold.
[0101] Here, if it is determined that there is a new node in the target undirected graph at the next moment, it is detected whether the characteristic distance value between the new node and the state characteristic vector of each subgroup is less than a preset threshold.
[0102] ii: If yes, the newly added node belongs to the subgroup corresponding to the characteristic distance value, and the subgroup is updated by evolution; if no, the newly added node is in an isolated state.
[0103] Here, if yes, the newly added node belongs to the subgroup corresponding to the characteristic distance value, and the subgroup is updated through evolution; if no, the newly added node is in an isolated state.
[0104] Among them, for the newly added node at time t+1, the characteristic distance between the node and all subgroups is calculated. When the distance is less than the set threshold, the node is determined to belong to the subgroup; otherwise, its characteristic distance with the remaining nodes is calculated, and an association is established according to the threshold, or it is kept as an isolated node.
[0105] (2): When there is an evolutionary update of the subgroup in the target undirected graph, the cohesion of the subgroup in the target undirected graph that has an evolutionary update is determined based on the number of nodes in the subgroup that has an evolutionary update.
[0106] Here, when there is an evolutionary update of the subgroup in the target undirected graph, the cohesion of the subgroup with the evolutionary update in the target undirected graph is determined according to the number of nodes of the subgroup with the evolutionary update.
[0107] Here, the cohesion of the subgroup is determined by the following formula:
[0108]
[0109] in, Represents the number of nodes in the subgroup. avg ( g t ) is the cohesion of the subgroup, for No. i The average feature of nodes, for No. j The average feature of nodes, when avg ( g t ) is lower than a certain threshold, a new clustering calculation is performed on the group and a new association relationship is established. dist (·) is the Euclidean distance function.
[0110] (3): Determine whether the state feature vector of the subgroup that has undergone evolutionary update is updated based on the cohesion of the subgroup; if so, update the state feature vector of the subgroup that has undergone evolutionary update based on the association strength;
[0111] Here, whether the state feature vector of the subgroup is updated is determined according to the cohesion of the subgroup that is updated through evolution, and if so, the state feature vector of the subgroup that is updated through evolution is updated according to the association strength.
[0112] Among them, when the cohesion of the sub-group updated according to the evolution is different from the cohesion of the sub-group before the evolution update, it means that the state feature vector of the sub-group is updated.
[0113] (4): Based on the state feature vectors of the subgroup that has undergone evolutionary update and the state feature vectors of the subgroup that has not undergone evolutionary update, determine the real-time state feature vector sequence of the group event at the next moment; wherein the state feature vector is the average state feature corresponding to multiple nodes in the subgroup.
[0114] Here, a real-time state feature vector sequence of the group event at the next moment is constructed based on the state feature vectors of the subgroup that has undergone evolutionary update and the state feature vectors of the subgroup that has not undergone evolutionary update.
[0115] Among them, if there is an evolutionary update of a sub-group at time t+1, the cohesion of the new sub-group is calculated to determine whether an update of the sub-group state characteristics occurs. If so, the sub-group state characteristics are updated based on the association strength. After completing the evolutionary update of the graph structure at time t+1, the real-time state feature vector sequence of the group event at time t+1 is output.
[0116] For further information, see Figure 2 , Figure 2 The following is a schematic diagram of the evolution of the state feature vector of a subgroup in a mass incident provided by the embodiment of the present application. Figure 2 As shown, firstly, multiple nodes corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers are input, and the real-time multimodal behavior feature vectors of multiple airport passengers are calculated for similarity to construct edges, and multiple connected subgraphs are obtained. The average correlation strength of the multiple connected subgraphs is calculated to determine the subgroups in the target undirected graph. When a new node is added, the subgroup corresponding to the new node is determined, or when the nodes between two subgroups interact, it is determined that there is an evolutionary update of the subgroup in the target undirected graph, and the cohesion of the evolutionarily updated subgroup is re-determined, and the state feature vector of the evolutionarily updated subgroup is updated.
[0117] S103: Inputting the real-time state feature vector sequence of the mass incident into a pre-trained airport mass incident evolution state classification model, and outputting the evolution state classification corresponding to the mass incident at the next moment; wherein the evolution state classification includes individual behavior development stage, group behavior development stage and mass incident development stage.
[0118] In this step, the real-time state feature vector sequence of the mass incident is input into the pre-trained airport mass incident evolution state classification model, and the evolution state classification corresponding to the mass incident at the next moment is output.
[0119] The neural network model is iteratively trained through the historical state feature vectors of sample mass events and the current state feature vectors of sample mass events to obtain the classification model of the evolution state of airport mass events.
[0120] In a possible implementation manner, the airport mass incident evolution state classification model is trained by the following steps:
[0121] I: Inputting the historical state feature vector of the sample group event and the current state feature vector of the sample group event into the temporal recurrent network layer, performing feature fusion on the historical state feature vector and the current state feature vector, and determining the fused state feature vector.
[0122] Here, the historical state feature vector of the sample group event and the current state feature vector of the sample group event are input into the temporal recurrent network layer, and the historical state feature vector and the current state feature vector are feature fused to determine the fused state feature vector.
[0123] II: Input the fused state feature vector into the classification network of the neural network model, calculate the predicted evolution state classification of the sample group event and the actual evolution state classification of the sample group event based on the self-supervised loss function and the cross-entropy loss function, add the calculated result values of the self-supervised loss function and the cross-entropy loss function, and determine the loss value of the neural network model.
[0124] Among them, the fused state feature vector is input into the classifier network layer of the neural network model, and the fused state feature vector is processed to generate the evolution state classification of the sample group event.
[0125] Here, the loss value is determined by the following formula:
[0126]
[0127] in, is the loss value, is the calculation result of the self-supervised loss function, is the calculated value of the cross entropy loss function.
[0128] IV: If the loss value is less than or equal to the preset loss value, the neural network model is determined as the classification model of the evolution state of the airport mass incident; if the loss value is greater than the preset loss value, the network parameters of the neural network model are changed and the neural network model continues to be trained.
[0129] Here, if the loss value is less than or equal to the preset loss value, the neural network model is determined as the airport mass incident evolution state classification model. If the loss value is greater than the preset loss value, the network parameters of the neural network model are changed and the neural network model continues to be trained.
[0130] In this scheme, a method for describing the real-time status of mass incident behavior based on a dynamic graph structure is proposed, which realizes the description and quantitative evaluation of the real-time status of airport mass incidents for the first time, providing conditions for the prediction of airport mass incidents.
[0131] The embodiment of the present application provides a method for determining the evolutionary state of a mass incident at an airport. The method for determining the evolutionary state of a mass incident at an airport comprises: determining a similarity matrix based on real-time multimodal behavior feature vectors of multiple airport passengers at a target airport, and constructing a target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers based on the similarity matrix; wherein each node in the target undirected graph corresponds to one of the real-time multimodal behavior feature vectors; performing subgroup cohesion calculation based on the edges in the target undirected graph, determining a subgroup in the target undirected graph, and if the subgroup undergoes evolutionary update, the state feature of the evolutionary updated subgroup is calculated. The real-time state feature vector sequence of the mass event at the next moment is determined based on the state feature vector of the subgroup after evolutionary update and the state feature vector of the subgroup without evolutionary update; wherein the subgroup is a set of multiple nodes in the target undirected graph, and the nodes are connected by edges; the real-time state feature vector sequence of the mass event is input into the pre-trained airport mass event evolutionary state classification model, and the evolutionary state classification corresponding to the mass event at the next moment is output; wherein the evolutionary state classification includes the individual behavior development stage, the group behavior development stage and the mass event development stage. The evolutionary state of the mass event is quantitatively characterized by the construction of the target undirected graph and the evolutionary update of the subgroup, so as to realize the real-time and accurate perception of the evolutionary state of the airport mass event and improve the accuracy of the determination of the evolutionary state of the airport mass event.
[0132] See also Figure 3 , Figure 4 , Figure 3 One of the structural schematic diagrams of a device for determining the evolution state of a mass incident at an airport provided in an embodiment of the present application; Figure 4 This is a second structural diagram of a device for determining the evolution state of a mass incident at an airport provided in an embodiment of the present application. Figure 3 As shown in , the device 300 for determining the evolution state of the airport mass incident includes:
[0133] The undirected graph construction module 310 is used to determine a similarity matrix based on the real-time multimodal behavior feature vectors of multiple airport passengers at the target airport, and to construct a target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers based on the similarity matrix; wherein each node in the target undirected graph corresponds to one real-time multimodal behavior feature vector;
[0134] The group event feature determination module 320 is used to calculate the subgroup cohesion based on the edges in the target undirected graph, determine the subgroup in the target undirected graph, and if the subgroup undergoes evolutionary update, then the state feature vector of the subgroup is evolved and updated, and based on the state feature vector of the subgroup after evolutionary update and the state feature vector of the subgroup that has not undergone evolutionary update, determine the real-time state feature vector sequence of the group event at the next moment; wherein the subgroup is a set composed of multiple nodes in the target undirected graph, and the nodes are connected by edges;
[0135] The state judgment module 330 is used to input the real-time state feature vector sequence of the mass incident into a pre-trained airport mass incident evolution state classification model, and output the evolution state classification corresponding to the mass incident at the next moment; wherein the evolution state classification includes individual behavior development stage, group behavior development stage and mass incident development stage.
[0136] Further, when the undirected graph construction module 310 determines a similarity matrix based on the real-time multimodal behavior feature vectors of multiple airport passengers extracted from the real-time video stream of the target airport, and constructs a target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers based on the similarity matrix, the undirected graph construction module 310 is specifically used to:
[0137] Extracting real-time behavior feature vectors of multiple airport passengers in a real-time video stream of a target airport, determining the real-time multimodal behavior feature vector based on the real-time behavior feature vector and multiple data sources for extraction, and constructing a node set based on the real-time multimodal behavior feature vectors of multiple airport passengers;
[0138] Determine the similarity between every two nodes, determine the similarity matrix, construct initial edges based on the similarity matrix, and determine an initial undirected graph;
[0139] Inputting the initial undirected graph into a multilayer perceptron, so that the multilayer perceptron learns the attribute information of each node in the initial undirected graph, and outputs the initial undirected graph with enhanced attribute information;
[0140] The autocovariance calculation is performed on the initial undirected graph after the attribute information is enhanced to determine a target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers.
[0141] Further, such as Figure 4 As shown, the device 300 for determining the evolution state of mass incidents at an airport further includes an updating module 340, and the updating module 340 is used to:
[0142] If it is determined that new interaction behaviors occur between the nodes in the target undirected graph, the attribute information of the nodes corresponding to the new interaction behaviors in the target undirected graph is updated, and the autocovariance of the target undirected graph is recalculated and updated.
[0143] Furthermore, when the group event feature determination module 320 is used to calculate the subgroup cohesion based on the edges in the target undirected graph to determine the subgroups in the target undirected graph, the group event feature determination module 320 is specifically used to:
[0144] Based on the nodes corresponding to the edges in the target undirected graph, determining the association strength corresponding to the edges;
[0145] Determine an average association strength corresponding to the connected subgraph based on an association strength matrix of multiple edges corresponding to the connected subgraph in the target undirected graph and the number of edges in the connected subgraph;
[0146] When the average association strength corresponding to the connected subgraph and the number of nodes in the connected subgraph both exceed preset values, the connected subgraph is determined as a subgroup in the target undirected graph.
[0147] Further, when the group event feature determination module 320 is used to determine the state feature vector of the next group event based on the state feature vector of the subgroup after the evolutionary update and the state feature vector of the subgroup that has not undergone evolutionary update if the subgroup undergoes evolutionary update, and determine the real-time state feature vector sequence of the group event at the next moment based on the state feature vector of the subgroup after the evolutionary update and the state feature vector of the subgroup that has not undergone evolutionary update, the group event feature determination module 320 is specifically used to:
[0148] Determine a newly added node in the target undirected graph at the next moment, and determine whether the subgroup in the target undirected graph is to be updated after the newly added node is added;
[0149] When there is an evolutionary update of the subgroup in the target undirected graph, determining the cohesion of the subgroup in the target undirected graph based on the number of nodes of the subgroup in which the evolutionary update exists;
[0150] Determining whether a state feature vector of the sub-group is updated based on the cohesion of the sub-group updated by evolution;
[0151] If so, updating the state feature vector of the sub-population that has undergone evolutionary update based on the association strength;
[0152] Based on the state feature vectors of the subgroup that has undergone evolutionary update and the state feature vectors of the subgroup that has not undergone evolutionary update, a real-time state feature vector sequence of the group event at the next moment is determined; wherein the state feature vector is the average state feature corresponding to multiple nodes in the subgroup.
[0153] Furthermore, when the group event feature determination module 320 is used to determine the newly added node in the target undirected graph at the next moment and determine whether the subgroup in the target undirected graph is updated after the newly added node is added, the group event feature determination module 320 is specifically used to:
[0154] If it is determined that there is a newly added node in the target undirected graph at the next moment, detecting whether the characteristic distance value between the newly added node and the state characteristic vector of each subgroup is less than a preset threshold;
[0155] If yes, the newly added node belongs to the subgroup corresponding to the characteristic distance value, and the subgroup is updated by evolution;
[0156] If not, the newly added node is in an isolated state.
[0157] Further, such as Figure 4 As shown, the device 300 for determining the evolution state of mass incidents at an airport further includes a model training module 350, which is used to:
[0158] Inputting the historical state feature vector of the sample mass event and the current state feature vector of the sample mass event into the time series recurrent network, performing feature fusion on the historical state feature vector and the current state feature vector, and determining a fused state feature vector;
[0159] The fused state feature vector is input into the classification network of the neural network model, and the predicted evolution state of the sample group event and the actual evolution state of the sample group event are calculated based on the self-supervised loss function and the cross entropy loss function. The calculation result values of the self-supervised loss function and the cross entropy loss function are added to determine the loss value of the neural network model:
[0160] If the loss value is less than or equal to the preset loss value, the neural network model is determined as the classification model of the evolution state of the airport mass incident; if the loss value is greater than the preset loss value, the network parameters of the neural network model are changed and the neural network model continues to be trained.
[0161] The embodiment of the present application provides a device for determining the evolutionary state of a mass incident at an airport. The device for determining the evolutionary state of a mass incident at an airport comprises: an undirected graph construction module, which is used to determine a similarity matrix based on real-time multimodal behavior feature vectors of multiple airport passengers at a target airport, and to construct a target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers based on the similarity matrix; wherein each node in the target undirected graph corresponds to one of the real-time multimodal behavior feature vectors; and a mass incident feature determination module, which is used to calculate subgroup cohesion based on the edges in the target undirected graph, and to determine a subgroup in the target undirected graph. If the subgroup undergoes evolutionary update, the evolutionary update is updated. The state feature vector of the new subgroup is obtained, and based on the state feature vector of the subgroup after evolutionary update and the state feature vector of the subgroup without evolutionary update, the real-time state feature vector sequence of the mass event at the next moment is determined; wherein the subgroup is a set of multiple nodes in the target undirected graph, and the nodes are connected by edges; the state judgment module is used to input the real-time state feature vector sequence of the mass event into the pre-trained airport mass event evolutionary state classification model, and output the evolutionary state classification corresponding to the mass event at the next moment; wherein the evolutionary state classification includes individual behavior development stage, group behavior development stage and mass event development stage. The evolutionary state of the mass event is quantitatively depicted through the construction of the target undirected graph and the evolutionary update of the subgroup, realizing the real-time and accurate perception of the evolutionary state of the airport mass event, and improving the accuracy of determining the evolutionary state of the airport mass event.
[0162] See also Figure 5 , Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 5 As shown in , the electronic device 500 includes a processor 510 , a memory 520 and a bus 530 .
[0163] The memory 520 stores machine-readable instructions executable by the processor 510. When the electronic device 500 is running, the processor 510 communicates with the memory 520 via the bus 530. When the machine-readable instructions are executed by the processor 510, the above-mentioned Figure 1 as well as Figure 2 The specific implementation of the steps of the method for determining the evolution state of mass incidents at an airport in the method embodiment shown can be found in the method embodiment, and will not be described in detail here.
[0164] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figure 1 as well as Figure 2The specific implementation of the method for determining the evolution state of airport mass incidents in the method embodiment shown can be found in the method embodiment, which will not be described in detail here.
[0165] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0166] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0167] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0168] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0169] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.
[0170] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for determining the evolution state of mass incidents at an airport, characterized in that: The method for determining the evolution state of the airport mass incident includes: Determine a similarity matrix based on the real-time multimodal behavior feature vectors of multiple airport passengers at the target airport, and construct a target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers based on the similarity matrix; wherein each node in the target undirected graph corresponds to one real-time multimodal behavior feature vector; Based on the edges in the target undirected graph, the subgroup cohesion is calculated to determine the subgroup in the target undirected graph, and if the subgroup undergoes evolutionary update, the state feature vector of the subgroup is evolutionarily updated, and based on the state feature vector of the subgroup after evolutionary update and the state feature vector of the subgroup that has not undergone evolutionary update, a real-time state feature vector sequence of the mass event at the next moment is determined; wherein the subgroup is a set consisting of multiple nodes in the target undirected graph, and the nodes are connected by edges; Inputting the real-time state feature vector sequence of the mass incident into a pre-trained airport mass incident evolution state classification model, and outputting the evolution state classification corresponding to the mass incident at the next moment; wherein the evolution state classification includes individual behavior development stage, group behavior development stage and mass incident development stage; The method of determining a similarity matrix based on the real-time multimodal behavior feature vectors of multiple airport passengers at the target airport, and constructing a target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers based on the similarity matrix includes: Extracting real-time behavior feature vectors of multiple airport passengers in a real-time video stream of a target airport, determining the real-time multimodal behavior feature vector based on the real-time behavior feature vector and multiple data sources, and constructing a node set based on the real-time multimodal behavior feature vectors of multiple airport passengers; Determine the similarity between every two nodes, determine the similarity matrix, construct initial edges based on the similarity matrix, and determine an initial undirected graph; Inputting the initial undirected graph into a multilayer perceptron, so that the multilayer perceptron learns the attribute information of each node in the initial undirected graph, and outputs the initial undirected graph with enhanced attribute information; Performing autocovariance calculation on the initial undirected graph after the attribute information is enhanced to determine a target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers; Calculating the subgroup cohesion based on the edges in the target undirected graph to determine the subgroups in the target undirected graph includes: Based on the nodes corresponding to the edges in the target undirected graph, determining the association strength corresponding to the edges; The dynamic update process of defining edges is as follows: in, is the correlation strength coefficient between the nodes corresponding to passengers at different airports at time t, It represents the real-time correlation between nodes at time t. After the edge event is established, as the event duration increases, the edge correlation strength increases. is the weight factor, f (·) is the feature distance metric function, , They are t Different nodes at different times u and v individual characteristics, (·) is a subgroup ( l )middle u and v The edges between the individual features of e ) for dynamic updates; Determine an average association strength corresponding to the connected subgraph based on an association strength matrix of multiple edges corresponding to the connected subgraph in the target undirected graph and the number of edges in the connected subgraph; Among them, the average correlation strength corresponding to the connected subgraph is determined by the following formula: in, Represents a connected subgraph The correlation strength matrix, for The number of sides, for t Connected subgraph at time The corresponding average correlation strength; When the average association strength corresponding to the connected subgraph and the number of nodes in the connected subgraph both exceed preset values, determining the connected subgraph as a subgroup in the target undirected graph; Among them, the subgroup cohesion is calculated by the following formula: in, Represents the number of nodes in the subgroup, when avg(gt) is the cohesion of the subgroup, for The average feature of the i-th node, for The average feature of the jth node. When avg(gt) is lower than a certain threshold, a new clustering calculation is performed on the group and a new association relationship is established. dist(·) is the Euclidean distance function. If the subgroup undergoes evolutionary update, the state feature vector of the subgroup is evolutionarily updated, and based on the state feature vector of the subgroup after evolutionary update and the state feature vector of the subgroup that has not undergone evolutionary update, a real-time state feature vector sequence of the group event at the next moment is determined, including: Determine a newly added node in the target undirected graph at the next moment, and determine whether the subgroup in the target undirected graph is to be updated after the newly added node is added; When there is an evolutionary update of the subgroup in the target undirected graph, determining the cohesion of the subgroup in the target undirected graph based on the number of nodes of the subgroup in which the evolutionary update exists; Determining whether a state feature vector of the sub-group is updated based on the cohesion of the sub-group updated by evolution; If so, updating the state feature vector of the sub-population that has undergone evolutionary update based on the association strength; Based on the state feature vectors of the subgroup that has undergone evolutionary update and the state feature vectors of the subgroup that has not undergone evolutionary update, a real-time state feature vector sequence of the group event at the next moment is determined; wherein the state feature vector is the average state feature corresponding to multiple nodes in the subgroup.
2. The method for determining the evolution state of mass incidents at airports according to claim 1, characterized in that: After the autocovariance calculation is performed on the initial undirected graph after the attribute information is enhanced to determine the target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers, the method for determining the evolution state of the airport mass incident further includes: If it is determined that new interaction occurs between the nodes in the target undirected graph, the attribute information of the nodes corresponding to the new interaction in the target undirected graph is updated, and the autocovariance of the target undirected graph is recalculated and updated.
3. The method for determining the evolution state of mass incidents at airports according to claim 1, characterized in that: The step of determining a newly added node in the target undirected graph at the next moment, and determining whether the subgroup in the target undirected graph is to be updated after the newly added node is added, includes: If it is determined that there is a newly added node in the target undirected graph at the next moment, detecting whether the characteristic distance value between the newly added node and the state characteristic vector of each subgroup is less than a preset threshold; If yes, the newly added node belongs to the subgroup corresponding to the characteristic distance value, and the subgroup is updated by evolution; If not, the newly added node is in an isolated state.
4. The method for determining the evolution state of mass incidents at airports according to claim 1, characterized in that: The airport mass incident evolution state classification model is trained by the following steps: Inputting the historical state feature vector of the sample mass event and the current state feature vector of the sample mass event into the time series recurrent network, performing feature fusion on the historical state feature vector and the current state feature vector, and determining a fused state feature vector; The fused state feature vector is input into the classification network of the neural network model, and the predicted evolution state of the sample group event and the actual evolution state of the sample group event are calculated based on the self-supervised loss function and the cross entropy loss function. The calculation result values of the self-supervised loss function and the cross entropy loss function are added to determine the loss value of the neural network model: If the loss value is less than or equal to the preset loss value, the neural network model is determined as the classification model of the evolution state of the airport mass incident; if the loss value is greater than the preset loss value, the network parameters of the neural network model are changed and the neural network model continues to be trained.
5. A device for determining the evolution state of mass incidents at an airport, characterized in that: The device for determining the evolution state of the airport mass incident comprises: An undirected graph construction module, used to determine a similarity matrix based on the real-time multimodal behavior feature vectors of multiple airport passengers at a target airport, and to construct a target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers based on the similarity matrix; wherein each node in the target undirected graph corresponds to one real-time multimodal behavior feature vector; A group event feature determination module is used to calculate the subgroup cohesion based on the edges in the target undirected graph, determine the subgroup in the target undirected graph, and if the subgroup undergoes evolutionary update, then the state feature vector of the subgroup is evolved and updated, and based on the state feature vector of the subgroup after evolutionary update and the state feature vector of the subgroup that has not undergone evolutionary update, determine the real-time state feature vector sequence of the group event at the next moment; wherein the subgroup is a set composed of multiple nodes in the target undirected graph, and the nodes are connected by edges; A state judgment module is used to input the real-time state feature vector sequence of the mass incident into a pre-trained airport mass incident evolution state classification model, and output the evolution state classification corresponding to the mass incident at the next moment; wherein the evolution state classification includes individual behavior development stage, group behavior development stage and mass incident development stage; When the undirected graph construction module is used to determine a similarity matrix based on the real-time multimodal behavior feature vectors of multiple airport passengers extracted from the real-time video stream of the target airport, and construct a target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers based on the similarity matrix, the undirected graph construction module is specifically used to: Extracting real-time behavior feature vectors of multiple airport passengers in a real-time video stream of a target airport, determining the real-time multimodal behavior feature vector based on the real-time behavior feature vector and multiple data sources for extraction, and constructing a node set based on the real-time multimodal behavior feature vectors of multiple airport passengers; Determine the similarity between every two nodes, determine the similarity matrix, construct initial edges based on the similarity matrix, and determine an initial undirected graph; Inputting the initial undirected graph into a multilayer perceptron, so that the multilayer perceptron learns the attribute information of each node in the initial undirected graph, and outputs the initial undirected graph with enhanced attribute information; Performing autocovariance calculation on the initial undirected graph after the attribute information is enhanced to determine a target undirected graph corresponding to the real-time multimodal behavior feature vectors of multiple airport passengers; When the group event feature determination module is used to calculate the subgroup cohesion based on the edges in the target undirected graph to determine the subgroups in the target undirected graph, the group event feature determination module is specifically used to: Based on the nodes corresponding to the edges in the target undirected graph, determining the association strength corresponding to the edges; The dynamic update process of defining edges is as follows: in, is the correlation strength coefficient between the nodes corresponding to passengers at different airports at time t, It represents the real-time correlation between nodes at time t. After the edge event is established, as the event duration increases, the edge correlation strength increases. is the weight factor, f(·) is the feature distance metric function, , are the individual characteristics of different nodes u and v at time t, (·) is to dynamically update the edge (e) between the individual features of u and v in a subgroup (l); Determine an average association strength corresponding to the connected subgraph based on an association strength matrix of multiple edges corresponding to the connected subgraph in the target undirected graph and the number of edges in the connected subgraph; Among them, the average correlation strength corresponding to the connected subgraph is determined by the following formula: in, Represents a connected subgraph The correlation strength matrix, for The number of sides, for t Connected subgraph at time The corresponding average correlation strength; When the average association strength corresponding to the connected subgraph and the number of nodes in the connected subgraph both exceed preset values, determining the connected subgraph as a subgroup in the target undirected graph; Among them, the subgroup cohesion is calculated by the following formula: in, Represents the number of nodes in the subgroup, when avg(gt) is the cohesion of the subgroup, for The average feature of the i-th node, for The average feature of the jth node. When avg(gt) is lower than a certain threshold, a new clustering calculation is performed on the group and a new association relationship is established. dist(·) is the Euclidean distance function. When the group event feature determination module is used to evolve and update the state feature vector of the subgroup if the subgroup undergoes evolutionary update, and determine the real-time state feature vector sequence of the group event at the next moment based on the state feature vector of the subgroup after evolutionary update and the state feature vector of the subgroup that has not undergone evolutionary update, the group event feature determination module is specifically used to: Determine a newly added node in the target undirected graph at the next moment, and determine whether the subgroup in the target undirected graph is to be updated after the newly added node is added; When there is an evolutionary update of the subgroup in the target undirected graph, determining the cohesion of the subgroup in the target undirected graph based on the number of nodes of the subgroup in which the evolutionary update exists; Determining whether a state feature vector of the sub-group is updated based on the cohesion of the sub-group updated by evolution; If so, updating the state feature vector of the sub-population that has undergone evolutionary update based on the association strength; Based on the state feature vectors of the subgroup that has undergone evolutionary update and the state feature vectors of the subgroup that has not undergone evolutionary update, a real-time state feature vector sequence of the group event at the next moment is determined; wherein the state feature vector is the average state feature corresponding to multiple nodes in the subgroup.
6. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate with each other through the bus, and when the machine-readable instructions are run by the processor, the method for determining the evolution state of mass incidents at an airport as described in any one of claims 1 to 4 is executed.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for determining the evolution state of mass incidents at an airport as claimed in any one of claims 1 to 4 is executed.
