A 5G-based smart city intelligent security system and method

By using 5G network, deep learning model and blockchain technology in the smart city security system, the smart city intelligent security system is constructed, which solves the shortcomings of the existing system in terms of intelligence, real-time and privacy protection, and achieves efficient security perception. and quick response.

CN118283548BActive Publication Date: 2024-10-11CHINA CONSTR LIGHTING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410686084.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-10-11
Estimated Expiration
2044-05-30

AI Technical Summary

Technical Problem

Existing smart city security systems have deficiencies in intelligence, real-time performance and reliability, cannot meet urban security needs, and have weak privacy protection capabilities.

Method used

Adopting a smart city intelligent security system based on 5G network, building an Internet of Things security equipment network through cloud servers, edge computing nodes and security center platforms, using deep learning models for real-time preprocessing and anomaly detection of video data, combined with blockchain technology Perform data recording and privacy protection to achieve intelligent perception and rapid response.

Benefits of technology

It has significantly improved the intelligence, real-time, reliability and privacy protection capabilities of the intelligent security system, enhanced the city's security perception and rapid response capabilities, and ensured the security and credibility of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118283548B_ABST
    Figure CN118283548B_ABST
Patent Text Reader

Abstract

The present invention proposes a 5G-based smart city intelligent security system and method, including: obtaining relevant data of the target city to build a digital twin model of the city; according to the digital twin model, configuring video acquisition terminals and IoT security equipment interconnected by 5G network in the target area; using the video acquisition terminal to collect video data streams in real time, adding digital signatures after edge node preprocessing and identifying abnormal states based on deep learning models; the edge node sends the signed video and abnormal detection results to the security center platform through the 5G network, and the platform records and integrates other alarm information through blockchain to analyze and warn of risk events; the platform uses the 5G network to build a city-wide intelligent perception security database to achieve real-time update management and multi-level authority control. Through the scheme of the present invention, the intelligence, real-time, reliability, privacy protection and decision-making support capabilities of the intelligent security system are improved, which can significantly enhance the city's security perception and rapid response capabilities.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart city technologies, and in particular to a 5G-based smart city intelligent security system and method. Background Art

[0002] Smart city refers to a modern urban development model that uses information technology, the Internet of Things and other advanced technologies to improve urban management, urban operation efficiency and sustainable development. It realizes the digitization, intelligence and interconnection of various fields of the city through the comprehensive use of big data analysis, cloud computing, the Internet of Things, artificial intelligence and other technologies, thereby providing a more convenient, efficient, safe, environmentally friendly and sustainable urban living environment.

[0003] Smart city security management is committed to optimizing city operations and security management by integrating and applying new-generation information and communication technologies, such as the Internet of Things, artificial intelligence, and big data analysis, and improving the intelligence level of urban security management, thereby improving people's quality of life and the city's sustainable development capabilities. However, existing security systems have problems such as intelligence that cannot meet urban security needs, lack of real-time performance, and low reliability. Summary of the invention

[0004] Based on the above problems, the present invention proposes a 5G-based smart city intelligent security system and method. Through the scheme of the present invention, the intelligence, real-time, reliability, privacy protection and decision-making support capabilities of the intelligent security system are improved, which can significantly enhance the city's security perception and rapid response capabilities.

[0005] In view of this, one aspect of the present invention proposes a 5G-based smart city intelligent security system, including: a cloud server, an edge computing node and a security center platform; wherein,

[0006] The cloud server is configured as follows:

[0007] Obtain planning data, building BIM data, real-scene 3D data, real-scene image data and video data of the target city;

[0008] Constructing a city digital twin model of the target city according to the planning data, the building BIM data, the real-scene three-dimensional data, the real-scene image data and the video data;

[0009] According to the city digital twin model, multiple video acquisition terminals and other IoT security devices interconnected by 5G network are configured in the target city area to build an IoT security device network based on 5G network;

[0010] The edge computing node is configured as:

[0011] Using multiple video acquisition terminals distributed in the target city area to collect video data streams in real time;

[0012] Preprocessing the collected first video data stream and obtaining pixel point coordinate information in each video frame;

[0013] The edge computing node adds a digital signature to the preprocessed first video data stream to obtain a second video data stream;

[0014] Using a video monitoring analysis model pre-trained based on deep learning, identifying abnormal conditions in the second video data stream to obtain an abnormality detection result;

[0015] Sending the second video data stream and the anomaly detection result to the security center platform via a 5G network;

[0016] The security center platform is configured as follows:

[0017] Record and transmit the second video data stream and the anomaly detection result through a blockchain network;

[0018] Combining the abnormal detection results with the alarm information of other IoT security devices, risk event identification and early warning analysis are performed;

[0019] 5G network resources are used to build an intelligent perception security database within the target city, and the intelligent perception security database is automatically updated and managed in real time and with multi-level user authority control.

[0020] Another aspect of the present invention provides a 5G-based smart city intelligent security method, comprising:

[0021] Obtain planning data, building BIM data, real-scene 3D data, real-scene image data and video data of the target city;

[0022] Constructing a city digital twin model of the target city according to the planning data, the building BIM data, the real-scene three-dimensional data, the real-scene image data and the video data;

[0023] According to the city digital twin model, multiple video acquisition terminals and other IoT security devices interconnected by 5G network are configured in the target city area to build an IoT security device network based on 5G network;

[0024] Using multiple video acquisition terminals distributed in the target city area to collect video data streams in real time;

[0025] Preprocess the collected first video data stream using the edge computing node and obtain pixel coordinate information in each video frame;

[0026] The edge computing node adds a digital signature to the preprocessed first video data stream to obtain a second video data stream;

[0027] The edge computing node uses a video monitoring analysis model pre-trained based on deep learning to identify abnormal conditions in the second video data stream and obtain an abnormality detection result;

[0028] The edge computing node sends the second video data stream and the anomaly detection result to the security center platform through the 5G network;

[0029] The security center platform records and transmits the second video data stream and the abnormality detection result through the blockchain network;

[0030] The security center platform integrates the abnormal detection results and the alarm information of other IoT security devices to perform risk event identification and early warning analysis;

[0031] The security center platform uses 5G network resources to build an intelligent perception security database within the target city, and performs real-time automatic update management and multi-level user authority control on the intelligent perception security database.

[0032] Optionally, the step of configuring a plurality of video acquisition terminals and other IoT security devices interconnected by a 5G network in the target city area according to the city digital twin model to build an IoT security device network based on a 5G network includes:

[0033] Obtaining historical city operation data of the target city;

[0034] Based on the city digital twin model and the historical city operation data, simulate and analyze the environmental characteristics and security requirements of the target city;

[0035] According to the environmental characteristics and the security requirements, the types, quantities and deployment locations of the video acquisition terminals and other IoT security devices are planned to obtain a security device deployment plan;

[0036] According to the security equipment deployment plan, plan the layout and number of 5G base stations to obtain a 5G facility deployment plan;

[0037] Constructing a 5G base station and the edge computing node according to the 5G facility deployment plan to build a 5G network;

[0038] According to the security equipment deployment plan, various types of video acquisition terminals and other IoT security equipment are installed at planned locations;

[0039] The video acquisition terminal and the other IoT security devices are connected to the edge computing node, cloud server and security center platform through the 5G network.

[0040] Optionally, the step of adding a digital signature to the preprocessed first video data stream by the edge computing node to obtain a second video data stream includes:

[0041] Identifying first attribute information of the first video data stream according to the first video data stream, and selecting a corresponding digital signature algorithm according to the first attribute information;

[0042] Generate a pair of asymmetric keys on the edge computing node using the digital signature algorithm, wherein the asymmetric keys include a private key and a public key, and the private key is stored in the edge computing node;

[0043] Performing a hash operation on the first video data stream to obtain a digital summary of a fixed length that can uniquely reflect the video content;

[0044] Using the private key, encrypting the digital summary with a digital signature to generate a digital signature;

[0045] The digital signature is merged into the first video data stream to form a new second video data stream.

[0046] Optionally, the method for generating the video monitoring analysis model includes:

[0047] Obtain historical video data in real urban scenes;

[0048] Determine key elements in the historical video data according to preset rules, mark and construct labels for the key elements, and obtain first video sample data;

[0049] Preprocessing the first video sample data to obtain second video sample data;

[0050] Using the face data extracted from the second video sample data to train the first neural network and construct a face detection model;

[0051] Using the facial key point data extracted from the second video sample data to train a second neural network, and construct a key point extraction model;

[0052] Training a third neural network with the character behavior data extracted from the second video sample data to construct a behavior recognition model;

[0053] Using the city operation status data extracted from the second video sample data to train a fourth neural network to construct an abnormal state recognition model;

[0054] The face detection model, the key point extraction model, the behavior recognition model and the abnormal state recognition model are integrated into the video monitoring and analysis model.

[0055] Optionally, the step of the edge computing node identifying an abnormal state in the second video data stream by using a video monitoring analysis model pre-trained based on deep learning to obtain an abnormality detection result includes:

[0056] The edge computing node performs real-time reasoning on the second video data stream and outputs a video frame recognition result for each video frame;

[0057] Using the video monitoring analysis model to identify the face in the video frame recognition result, and obtain the face area position and key point coordinates;

[0058] Establishing face tracking associations between adjacent frames according to the face region position and the key point coordinates to form a face motion trajectory;

[0059] Performing behavior pattern classification and entity abnormal state recognition on the detected human face, the human behavior corresponding to the human face, and the urban entity state in the environment around the human face to obtain a first behavior recognition result and a first entity abnormal state recognition result;

[0060] Determining whether the first behavior corresponding to the first behavior recognition result belongs to a predefined abnormal behavior category based on the posture and action;

[0061] When the first behavior belongs to the abnormal behavior category, performing behavior semantic completion and correction in combination with the spatiotemporal context information of the facial motion trajectory;

[0062] Combined with the first entity abnormal state recognition result, analyze the specific time, location, duration, and abnormal state of the city entity of the first behavior;

[0063] Integrate a series of abnormal behaviors and abnormal states of urban entities in the same trajectory into a complete abnormal event;

[0064] The start time, end time, location, behavior type and abnormal state of the city entity of the abnormal event are output as the abnormality detection result.

[0065] Optionally, the security center platform integrates the abnormal detection result and the alarm information of other IoT security devices to perform risk event identification and early warning analysis, including:

[0066] Normalizing the abnormality detection results and the alarm information, unifying the data format and semantics, and obtaining standardized abnormality detection results and alarm information;

[0067] Associating, based on time and geographic space coordinates, first anomaly detection results and first alarm information belonging to the same first event in the standardized anomaly detection results and alarm information;

[0068] Build risk event profiles based on historical abnormal event data and historical alarm data;

[0069] According to the risk event portrait, comprehensively analyzing the associated first abnormality detection result and the first alarm information to identify whether the first event constitutes a risk event;

[0070] When the first event constitutes a risk event, determining the risk level of the first event, and outputting event type, risk level and confidence information;

[0071] Associating the first event with the city digital twin model;

[0072] Reconstruct and restore the specific scenario of the first event in the real scene of the target city;

[0073] An early warning is triggered according to the severity of the specific scenario, and early warning information and recommended strategies are generated.

[0074] Optionally, the security center platform may construct a real-time dynamic three-dimensional security electronic map using the historical video data of the target city to achieve scene simulation and advance warning in complex situations, specifically:

[0075] deriving a static three-dimensional map from the city digital twin model;

[0076] Extracting optical flow features of the historical video data and calculating motion vector splicing trajectories;

[0077] Reconstructing the dynamic three-dimensional coordinates of people and city entities in the event in the video according to the splicing trajectory;

[0078] The dynamic three-dimensional coordinates are merged with the static three-dimensional map to form a dynamic three-dimensional security electronic map;

[0079] Based on the dynamic three-dimensional security electronic map, scene parameters, impact ranges and dynamic impact factors are defined for different event types;

[0080] By means of artificial intelligence technology, a scenario prediction model is trained according to the scenario parameters, the impact range, the dynamic impact factors, the historical abnormal event data and the historical alarm data;

[0081] Obtaining scene prediction data according to the second video data stream, the current monitoring data collected by the other IoT security devices, and the scene prediction model;

[0082] Based on the scenario prediction data, early warning suggestions are given to prevent complex events in advance.

[0083] Optionally, the security center platform also includes a step of designing a privacy protection framework based on secure computing to achieve privacy encrypted transmission of video data in a secure area, specifically including:

[0084] Using the dynamic three-dimensional security electronic map to identify privacy areas;

[0085] Performing face recognition and concealment processing on the first video recorded in the privacy area, transforming facial features, and adding random noise to obtain a second video;

[0086] Homomorphically encrypt the second video using an asymmetric encryption algorithm based on deep learning;

[0087] In a secure computing environment, highly homomorphic encryption is used to process and analyze videos to obtain video processing and analysis results;

[0088] Sharing the video processing and analysis results;

[0089] User permissions are classified to control the access granularity of different users to the video processing and analysis results.

[0090] Optionally, the step of classifying user rights and controlling the access granularity of different users to the video processing and analysis results includes:

[0091] Users are divided into security management users, executive users and community users, and electronic certificates and two-factor verification codes are used to identify user categories;

[0092] Allocating different levels of viewing permissions to the security management users, the execution users and the community users;

[0093] Subdividing the video processing and analysis results into several result data types including pedestrian characteristics, pedestrian flow information, and event classification;

[0094] The management users can view all information, the execution users can only view the event classification results, and the community users can only view the flow of people trends;

[0095] Displays the authorized result data type according to the current user's viewing permission level.

[0096] By adopting the technical solution of the present invention, the 5G-based smart city intelligent security method includes: obtaining planning data, building BIM data, real-scene 3D data, real-scene image data and video data of the target city; constructing a city digital twin model of the target city according to the planning data, the building BIM data, the real-scene 3D data, the real-scene image data and the video data; according to the city digital twin model, configuring a plurality of video acquisition terminals and other IoT security devices interconnected by a 5G network in the target city area to construct an IoT security device network based on a 5G network; utilizing a plurality of video acquisition terminals distributed in the target city area to acquire video data streams in real time; utilizing an edge computing node to pre-process the acquired first video data stream and acquire pixel coordinate information in each video frame; utilizing the edge computing node to pre-process the pixel coordinate information in the pre- The processed first video data stream is digitally signed to obtain the second video data stream; the edge computing node uses a video monitoring analysis model pre-trained based on deep learning to identify abnormal conditions in the second video data stream and obtain abnormal detection results; the edge computing node sends the second video data stream and the abnormal detection results to the security center platform through the 5G network; the security center platform records and transmits the second video data stream and the abnormal detection results through the blockchain network; the security center platform integrates the abnormal detection results with the alarm information of other IoT security devices to identify and analyze risk events; the security center platform uses 5G network resources to build an intelligent perception security database within the target city, and performs real-time automatic update management and multi-level user authority control on the intelligent perception security database. Through the scheme of the present invention, the intelligence, real-time, reliability, privacy protection and decision-making support capabilities of the intelligent security system are improved, which can significantly enhance the city's security perception and rapid response capabilities. BRIEF DESCRIPTION OF THE DRAWINGS

[0097] Figure 1 is a schematic block diagram of a 5G-based smart city intelligent security system provided by an embodiment of the present invention;

[0098] Figure 2 It is a flow chart of a 5G-based smart city intelligent security method provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0099] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0100] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0101] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0102] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0103] Refer to the following Figure 1 to Figure 2 To describe a 5G-based smart city intelligent security system and method provided according to some embodiments of the present invention.

[0104] like Figure 1 As shown, an embodiment of the present invention provides a 5G-based smart city intelligent security system, including: a cloud server, an edge computing node and a security center platform; wherein,

[0105] The cloud server is configured as follows:

[0106] Obtain planning data, building BIM data, real-scene 3D data, real-scene image data and video data of the target city;

[0107] Constructing a city digital twin model of the target city according to the planning data, the building BIM data, the real-scene three-dimensional data, the real-scene image data and the video data;

[0108] According to the city digital twin model, multiple video acquisition terminals and other IoT security devices interconnected by 5G network are configured in the target city area to build an IoT security device network based on 5G network;

[0109] The edge computing node is configured as:

[0110] Using multiple video acquisition terminals distributed in the target city area to collect video data streams in real time;

[0111] Preprocessing the collected first video data stream and obtaining pixel point coordinate information in each video frame;

[0112] The edge computing node adds a digital signature to the preprocessed first video data stream to obtain a second video data stream;

[0113] Using a video monitoring analysis model pre-trained based on deep learning, identifying abnormal conditions in the second video data stream to obtain an abnormality detection result;

[0114] Sending the second video data stream and the anomaly detection result to the security center platform via a 5G network;

[0115] The security center platform is configured as follows:

[0116] Record and transmit the second video data stream and the anomaly detection result through a blockchain network;

[0117] Combining the abnormal detection results with the alarm information of other IoT security devices, risk event identification and early warning analysis are performed;

[0118] 5G network resources are used to build an intelligent perception security database within the target city, and the intelligent perception security database is automatically updated and managed in real time and with multi-level user authority control.

[0119] It should be known that Figure 1 The block diagram of the 5G-based smart city intelligent security system is shown for illustration only, and the number of modules shown does not limit the scope of protection of the present invention.

[0120] See also Figure 2 Another embodiment of the present invention provides a 5G-based smart city intelligent security method, comprising:

[0121] Obtain planning data, building BIM data, real-scene 3D data, real-scene image data and video data of the target city;

[0122] In this step, CAD / GIS data and BIM (Building Information Model) data such as the master plan and zoning plan of the target city can be obtained from the urban planning department (or the corresponding data server); three-dimensional real-scene scanning and modeling of the target city can be carried out through drone aerial survey, vehicle-mounted laser radar and other technologies, and other remote sensing data such as satellite surveying and mapping can be integrated to build a high-fidelity and refined three-dimensional scene model; professional shooting equipment (high-end cameras, pan-tilt heads, etc.) can be deployed in the target city area, or mobile collection methods such as drones and vehicle-mounted cameras can be used to obtain multi-dimensional real-scene image data and video data; the existing monitoring system resources in the target city area can also be integrated to include the existing video data in the data collection scope. Through the above steps, multi-source heterogeneous data for the target area can be obtained, laying the foundation for building a digital twin model that is highly close to the real scene. Using these data, the physical environment of the target city can be truly restored, virtual simulation testing and planning deployment can be supported, and rich multi-dimensional video image data can support artificial intelligence analysis and intelligent security, and improve the coverage and accuracy of the system. These data will serve as an important data source and environmental support for the subsequent deployment of the intelligent security system, and are the premise and foundation for the reliable and efficient operation of the entire system.

[0123] Constructing a city digital twin model of the target city according to the planning data, the building BIM data, the real-scene three-dimensional data, the real-scene image data and the video data;

[0124] In this step, various heterogeneous data such as the planning data, the building BIM data, the real-scene three-dimensional data, the real-scene image data and the video data are standardized and preprocessed according to a unified coordinate system, time dimension, etc.; based on technologies such as spatial databases, data from different sources are associated and fused; using computer graphics technology, original data such as point clouds and grids are reconstructed into high-precision three-dimensional models, and three-dimensional scene element models such as terrain, buildings, and municipal facilities are constructed based on planning data and BIM data; based on computer vision and pattern recognition technology, three-dimensional models are semantically understood and annotated, and unstructured data such as images and videos are associated and mapped with three-dimensional model elements; dynamic data such as multi-phase images and videos are temporally and spatially associated with spatial positions in the three-dimensional model to construct a dynamic digital twin model to support data updating and simulation in the time dimension; new real-scene data is continuously updated and collected, and model reconstruction is performed offline to support real-time data access, so as to realize online model updating and dynamic simulation. The digital twin model constructed through the above steps is highly close to the real three-dimensional virtual scene expression, supports the association of spatiotemporal data, and dynamically simulates real environmental changes; integrates multi-source heterogeneous data to achieve collaborative applications; and provides virtual environment support and visual auxiliary decision-making analysis for intelligent security system planning, testing, operation and maintenance. The digital twin model is the basis for supporting the smooth deployment and operation of the intelligent security system, and plays an important role in system planning, testing, analysis and other links.

[0125] According to the city digital twin model, multiple video acquisition terminals and other IoT security devices interconnected by 5G network are configured in the target city area to build an IoT security device network based on 5G network;

[0126] Using multiple video acquisition terminals distributed in the target city area to collect video data streams in real time;

[0127] In this step, according to the pre-planning, fixed video acquisition terminals are installed at key locations in the target area (for special scenarios, mobile video acquisition terminals (drones, vehicles, etc.) are deployed); after collecting video data, the video acquisition terminal transmits the high-definition video data stream to the edge computing node in real time through the 5G network; based on the streaming media transmission protocol, the real-time and reliability of video data stream transmission are ensured; the edge computing node receives and caches the video data stream from each acquisition point, and according to preset rules and strategies, dynamically schedules and load balances the video data, providing video content management, query and distribution capabilities; dynamically adjusts the video bit rate and resolution through technologies such as bandwidth adaptation; handles quality issues such as video delay and frame loss to ensure the continuity and smoothness of video transmission; establishes a video quality feedback mechanism to detect and continuously optimize video quality. It can realize the real-time and full collection of video data in the target area without missing any time and space details; use the high bandwidth and low latency characteristics of 5G network to ensure the smooth transmission of high-definition video; gather, manage and dispatch massive video data streams at the edge, and reduce the pressure on the core cloud in layers; establish video quality management and optimization mechanism to improve the reliability of video analysis applications; mobile video acquisition terminals realize the flexibility and dynamic expansion of video coverage. By efficiently and stably collecting large-scale video data streams distributed in the target area, it lays a data foundation for subsequent intelligent video analysis and processing, abnormal behavior recognition, etc.

[0128] Preprocess the collected first video data stream using the edge computing node and obtain pixel coordinate information in each video frame;

[0129] In this step, after the edge computing node receives the video data stream from the video acquisition terminal, it first needs to decode it and convert it into raw pixel data; extract continuous video frames from the decoded video stream at the set frame rate for subsequent processing; perform a series of image preprocessing (such as noise removal, edge enhancement, contrast adjustment, etc.) on the extracted video frames to improve image quality and processing effect; perform geometric correction on the image through pre-calibrated internal and external parameters to remove lens distortion and obtain more accurate image geometric information; correspond the corrected image coordinate system with the actual three-dimensional world coordinate system, and establish a mapping relationship between pixel point positions and real-world coordinates; use target detection and multi-target tracking algorithms to extract targets of interest from video frames and obtain the pixel coordinate position of the target on the image; combine the detected target pixel coordinates with the coordinate transformation relationship to output the target's coordinate information in the actual three-dimensional space. In this step, the computing power resources on the edge side are used to efficiently complete the video pre-processing link and reduce the pressure on the cloud; obtain accurate pixel-actual coordinate mapping relationship to support the three-dimensional position perception of video content; combine target detection and tracking to extract the coordinates of the target's motion trajectory in three-dimensional space; lay the coordinate foundation for subsequent AI video content analysis and improve the accuracy of analysis; complete preprocessing at the edge to reduce the bandwidth and computing requirements of the core cloud. Through edge preprocessing, the system can efficiently obtain accurate three-dimensional position information of video content, provide richer input for AI video analysis algorithms, and improve the accuracy and reliability of functions such as abnormal behavior recognition.

[0130] The edge computing node adds a digital signature to the preprocessed first video data stream to obtain a second video data stream;

[0131] The edge computing node uses a video monitoring analysis model pre-trained based on deep learning to identify abnormal conditions in the second video data stream and obtain an abnormality detection result;

[0132] The edge computing node sends the second video data stream and the anomaly detection result to the security center platform through the 5G network;

[0133] In this step, the second video data stream is converted into binary data and then packaged together with the structured anomaly detection result data, and an efficient encoding format is used to achieve data compression and multiplexing; a secure encryption algorithm (such as AES, etc.) is used to encrypt the packaged data to prevent the video data and anomaly detection results from being stolen or tampered with during transmission; the advantages of high bandwidth, low latency, and large connections of the 5G network are utilized to achieve efficient and reliable data transmission from the edge to the center through optimized transmission protocols (such as QUIC, etc.); according to dynamic conditions such as network congestion and edge node load, the video data stream and anomaly result data are intelligently routed and scheduled to select the optimal link to avoid network congestion and data delay accumulation; a data receiving module is set on the security center platform side to decrypt the received encrypted data stream and split the video data and anomaly detection results; persistent storage is performed according to pre-set rules and policies, and video data and anomaly results are distributed to subsequent processing systems on demand. Through these steps, the transmission capacity of the 5G network can be efficiently utilized to achieve rapid return of large-scale video data and detection results; encrypted transmission can ensure the security of sensitive data and prevent information leakage; intelligent routing scheduling can be used to improve network utilization efficiency and minimize latency; the central platform side uniformly receives, stores and distributes video and analysis result data; the correlation between video evidence and detection results is maintained to provide data support for subsequent disposal; utilizing the high bandwidth, low latency and other advantages of the 5G network, video data and anomaly detection results on the edge side can be efficiently and securely transmitted back to the central platform, providing key video evidence and intelligence support for event monitoring and rapid disposal, reflecting the advantages of 5G+AI+edge computing of the entire system.

[0134] The security center platform records and transmits the second video data stream and the abnormality detection result through the blockchain network;

[0135] In this step, deploy a private or consortium chain network based on a mainstream open source platform, and deploy the corresponding blockchain client on the core nodes and edge computing nodes; design the on-chain data model and storage structure of video data and anomaly detection results (off-chain storage such as IPFS can be used, and only data fingerprints and metadata are stored on the chain); use programming languages ​​such as Solidity to develop on-chain smart contracts for video data and anomaly detection results (including functions such as data writing, reading, querying, and authorization management); submit the structured anomaly detection results directly to the smart contract, automatically execute the contract to upload the anomaly detection result data to the chain, and store it persistently on the distributed ledger; for larger video data, first use off-chain storage such as IPFS, and then upload the fingerprint and metadata of the video data to the chain through smart contracts; provide a blockchain-based data trusted query service, and the security decision-making system can query and obtain video evidence and anomaly information from the chain as needed. In this solution, blockchain technology is used to ensure that video evidence and anomaly detection results are tamper-proof. Encryption and distributed ledgers are used to protect the privacy and security of video evidence. Query traceability is supported to provide a trusted timestamp and identity source for evidence data. Programmable management and shared control of on-chain data are achieved through smart contracts. The blockchain network serves as a secure data transmission channel between the central platform and edge nodes. With the decentralized, tamper-proof, and traceable characteristics of blockchain technology, the authenticity and authority of video evidence and anomaly detection results are ensured. Trusted storage and query of confidential video data are achieved, supporting subsequent monitoring decisions and judicial applications, further enhancing the credibility of the entire smart security system.

[0136] The security center platform integrates the abnormal detection results and the alarm information of other IoT security devices to perform risk event identification and early warning analysis;

[0137] The security center platform uses 5G network resources to build an intelligent perception security database within the target city, and performs real-time automatic update management and multi-level user authority control on the intelligent perception security database.

[0138] In this step, a highly available database cluster is deployed based on a distributed cloud storage architecture. The large bandwidth and low latency characteristics of the 5G network are used to achieve fast data transmission and access. Heterogeneous data such as video, images, and sensory data are collected from edge computing nodes and other data sources to build an automated pipeline for real-time data collection, transmission, and storage. A unified structured data model is designed for different types of security data. Multi-dimensional indexes such as text, binary, and time and space are supported to meet complex query requirements. Based on message queues, real-time and high throughput data writing is achieved. Stream computing technologies such as SQLstream are introduced to perform real-time processing and update operations on data streams. Hot data is stored in a distributed memory / SSD storage cluster to ensure fast access. Cold data is migrated to low-cost storage layers such as distributed object storage to achieve automatic tiering. Based on a unified identity authentication mechanism, unified user identity management is achieved. A fine-grained attribute-based access control (ABAC) model is introduced to set multi-level data access rights for different users and departments. Blockchain accounting technology is introduced to ensure the auditability and traceability of key data operations, continuously monitor and audit data security risks, and prevent data leakage and abuse. Through this solution, a unified intelligent perception security data center covering the entire city can be built to achieve centralized data management; using 5G networks, it supports the rapid collection and access of massive data such as large-scale videos; real-time data updates and streaming data processing to ensure the freshness and availability of data; the layered storage architecture takes into account both performance and cost, and improves the efficiency of storage resource utilization; multi-level permission control protects the security of sensitive data and supports flexible data sharing strategies; the auditable mechanism based on blockchain ensures the integrity and credibility of key data. The intelligent perception security database in this solution is the core database system that supports the security brain of the entire target city. It gathers all kinds of security perception data in the city, provides data support for monitoring, early warning, decision-making and command, and realizes the centralized and intelligent management of the city's security resources and information. It is the key infrastructure of the smart security system.

[0139] The technical solution of this embodiment is adopted, by utilizing 5G networks, large-scale deployment of IoT devices, video acquisition terminals, etc., the solution can achieve all-weather perception and monitoring of the entire urban area without dead angles or blind spots, ensuring all-round visualization of urban safety; the solution integrates multimodal information such as video images, IoT perception data, and environmental data, and performs intelligent analysis and correlation through artificial intelligence algorithms, greatly improving the recognition accuracy and detection capabilities of various abnormal behaviors; AI models and edge computing nodes are deployed on the edge side to support real-time analysis of video data and abnormal behavior recognition, meeting the rigid demand of intelligent security scenarios for low-latency response; video evidence and abnormal detection results are stored on the chain, and integrity is ensured by digital signatures, realizing visual The video data is tamper-proof, traceable and judicially authenticated; a privacy protection framework based on secure computing is designed to support encrypted computing and authorized access to video data, effectively protect personal privacy, and comply with relevant laws and regulations; through three-dimensional real-scene presentation and visual situation analysis, the solution greatly improves the timeliness and accuracy of command decisions, and supports intelligent scheduling to respond to emergencies quickly and efficiently; the digital twin technology is used to simulate and analyze the target environment, providing scientific decision-making support for the top-level architecture, resource planning, and deployment implementation of the entire intelligent security system; and finally, a unified intelligent perception security data center covering the entire city, which is safe and controllable for multiple tenants, is built to centrally manage and utilize various types of security resources and information in the city, and realize intelligent unified scheduling and collaborative management. The scheme of the present invention improves the intelligence, real-time, reliability, privacy protection and decision-making support capabilities of the intelligent security system, and can significantly enhance the city's security perception and rapid response capabilities.

[0140] In some possible implementations of the present invention, the step of configuring a plurality of video acquisition terminals and other IoT security devices interconnected by a 5G network in the target city area according to the city digital twin model to build an IoT security device network based on a 5G network includes:

[0141] Obtaining historical city operation data of the target city;

[0142] In this step, historical urban operation data include data on various aspects of urban operation, such as population data (including general population data such as urban population size, age structure, and education level distribution), traffic data (including road traffic flow, public transportation routes and passenger flow, number of taxi orders, etc.), business and consumption data (including commercial area utilization, major business district passenger flow and consumption data, online shopping orders, etc.), social and public service data (including WIFI and mobile phone usage, public service facility utilization rate, etc.), environmental resource data (including air and water quality monitoring data, energy consumption data, urban greening and sanitation, etc.), smart city hardware data (smart street lights, parking sensors, environmental monitoring terminals and other related operation data), public safety data (including crime data, urban video surveillance analysis results, fire and emergency data, etc.), life service data (medical resource utilization, open data of educational institutions, residents' life demand feedback, etc.), public news data (including city-related news report statistics, social media comment data, etc.), etc.

[0143] Based on the city digital twin model and the historical city operation data, simulate and analyze the environmental characteristics and security requirements of the target city;

[0144] In this step, the historical operation data of the target city (i.e., historical city operation data) collected from multiple channels such as municipal administration, meteorology, population, transportation, environment, and crime are cleaned, fused, and standardized to construct a unified city operation data set; based on machine learning or deep learning methods, the historical city operation data are used to train a city operation model, which can simulate and analyze important indicators such as urban population flow, traffic flow, and crime trends; the trained city operation model is integrated into the city digital twin model, combined with the city's three-dimensional scenes, planning data, etc., to form a complete simulation environment; various environmental parameters (such as date, weather, population activity, etc.) are set in the simulation environment; one-time settings and continuous changes are supported dynamic environment simulation); start digital twin simulation, run the city operation model, predict environmental changes, population flow, crime risk and other indicators in each area, analyze the movement trajectory and aggregation trend of people, vehicles and objects in the city; combine the simulation analysis results to evaluate the degree of security needs in different areas and at different times, and output specific security needs including video surveillance, vehicle detection, environmental monitoring, energy consumption monitoring, etc. (such as key monitoring time periods, key monitoring areas, key monitoring population portraits, key monitoring facilities, key monitoring vehicles, etc., as well as specific security equipment, monitoring methods, monitoring cycles, etc. enabled in different scenarios); visualize the simulation analysis results through the digital twin 3D scene; support interactive optimization, such as changing the deployment plan and comparing the effects under different circumstances. Through this solution, the temporal and spatial laws of the movement of people, vehicles and other targets in the city can be accurately simulated to provide a basis for deployment; it can predict and analyze potential security risks in different areas and time periods, and optimize the dynamic allocation of security resources; it can make the deployment plan more scientific and forward-looking based on simulation analysis of real data and digital twins; it supports visual optimization and comparison of solutions to improve the pertinence and effectiveness of deployment; it can simulate a variety of complex situations and comprehensively evaluate the applicability and robustness of solutions; it can reduce the trial and error cost of system deployment and improve the return on investment. By using digital twins and big data modeling technology, it is possible to highly simulate and accurately analyze the complex operating situation and security needs of the city, provide scientific decision-making support for the top-level architecture design and deployment planning of the entire intelligent security system, and ensure the efficient use of system resources.

[0145] According to the environmental characteristics and the security requirements, the types, quantities and deployment locations of the video acquisition terminals and other IoT security devices are planned to obtain a security device deployment plan;

[0146] In this step, based on the characteristics of different areas and scenes determined according to the environmental characteristics and the security needs, the typical scene types that need to be covered are divided, and the types of security equipment (i.e., video acquisition terminals and other IoT security equipment) required, their coverage radius and deployment strategies are specified for each scene; in the digital twin three-dimensional scene, various types of equipment are virtually deployed; the coverage range of security equipment is simulated and detected, and whether there are blind spots and redundant areas; the number and position of security equipment are interactively adjusted to optimize the coverage effect; according to the scene coverage principle, all kinds of typical scenes are ensured to be covered without dead angles (i.e., in accordance with the preset coverage rate); according to the redundancy strategy principle, appropriate redundant deployment is performed for key areas and complex environments (in accordance with the preset redundancy rate); comprehensively considering factors such as cost, benefit, and environmental interference, the deployment plan is optimized; the optimized types, quantities and specific three-dimensional spatial coordinates of security equipment are output as a standardized security equipment deployment plan (including all equipment including fixed cameras, vehicle-mounted mobile equipment, drones, etc.). Furthermore, the investment cost of the deployment plan can be estimated based on the cost models of equipment procurement, installation, operation and maintenance, and interactive optimization of security equipment configuration can be supported to achieve cost control. Relevant experts and decision makers can be organized to review the deployment plan, confirm the rationality, effectiveness and feasibility of the plan, and then obtain the final security equipment deployment plan. Through this plan, scientific analysis models and digital twin technology support can be used to ensure the accuracy of the deployment plan; the scene coverage and redundancy principles can be used to achieve no dead angle coverage of key areas and blind spots; interactive simulation and cost evaluation can ensure the rationality and economy of deployment; output standardized three-dimensional coordinate deployment plans to guide the implementation of the actual system; reduce the decision-making risks of traditional experience-led deployment and improve the return on investment; support flexible optimization and solution comparison and selection to improve the applicability of the overall system. The deployment plan planned by the above process can maximize the use of limited resources, achieve full coverage and reasonable redundancy of the target city, and ensure the efficient operation of the intelligent security system; at the same time, the process can also be reused for the later expansion and optimization of the system.

[0147] According to the security equipment deployment plan, plan the layout and number of 5G base stations to obtain a 5G facility deployment plan;

[0148] In this step, according to the security equipment deployment plan, key demand indicators such as 5G network bandwidth, latency, and reliability of various security equipment are summarized; according to the distribution density of security equipment, the 5G network capacity requirements of different areas are estimated; the real-life environment of the target area (such as within a preset range centered on the installation location of the security equipment) is reconstructed using the urban digital twin model, and obstacles that may affect 5G propagation (such as high-rise buildings, bridges, underground pipe networks, etc.) are identified; based on ray tracing or computational electromagnetics methods, the propagation characteristics of 5G signals in complex environments are simulated; the coverage effect and blind spot conditions of base stations at different locations are analyzed; multiple candidate 5G base station locations are virtually deployed in the three-dimensional scene of the urban digital twin model, the 5G signal coverage quality under different combination schemes is simulated and analyzed, and an artificial intelligence algorithm is applied to automatically generate a base station layout optimization plan, with the goal of achieving full coverage using the least number of base stations and meeting capacity and latency requirements; the optimized 5G base station location coordinates, configuration parameters, etc. are output as a standardized 5G facility deployment plan (including specific planning of 5G facilities such as macro base stations, small base stations, and edge nodes). Through this solution, 5G network facilities can be planned scientifically and rationally to ensure high-quality coverage of the security equipment network; fully consider the impact of complex environments on 5G transmission to avoid blind spots and poor coverage; use digital twins and AI algorithms to automatically generate optimized deployment plans; minimize the number of 5G facilities and reduce construction and operation and maintenance costs; output standardized deployment plans to guide subsequent 5G network construction and implementation; ensure that 5G networks meet the key network requirements of security systems. Through scientific and reasonable 5G network planning, continuous high-quality 5G network access covering the entire target area can be guaranteed, providing high-bandwidth, low-latency, and highly reliable network carrying capacity for smart security systems, realizing efficient interconnection between security equipment and edge / cloud, and is a key link in the entire smart security system network infrastructure.

[0149] Constructing a 5G base station (ensuring continuous wireless network coverage in the target area) and the edge computing node (5G edge computing node, used to support local real-time data processing) according to the 5G facility deployment plan to build a 5G network;

[0150] According to the security equipment deployment plan, install various video acquisition terminals (fixed, mobile, drone, etc.) and other IoT security equipment at the planned locations;

[0151] The video acquisition terminal and the other IoT security devices are connected to the edge computing node, cloud server and security center platform through the 5G network.

[0152] In this embodiment, it also includes: formulating unified device access protocols and standards to achieve automatic discovery, registration, authentication and access of the video acquisition terminal and other IoT security devices; and centrally managing and monitoring the operating status of the entire IoT security network.

[0153] In this embodiment, the high bandwidth, low latency and large connection advantages of 5G network are used to support efficient transmission of video and massive IoT data; planning based on digital twin models ensures reasonable and efficient deployment of security equipment; 5G network provides ubiquitous wireless connection to achieve full coverage perception of the target area; the edge supports real-time local data processing to reduce latency and network pressure; unified standards ensure seamless access and efficient collaboration of equipment. Overall, an efficient interconnected, intelligently collaborative IoT security equipment network is built, laying a solid foundation for the next application of the intelligent security system.

[0154] In some possible implementations of the present invention, the step of the edge computing node adding a digital signature to the preprocessed first video data stream to obtain a second video data stream includes:

[0155] Identify first attribute information of the first video data stream according to the first video data stream, and select a corresponding digital signature algorithm (usually a digital signature algorithm that has undergone rigorous cryptographic analysis and is widely recognized, such as RSA, ECDSA, etc.) according to the first attribute information;

[0156] In this step, by analyzing the metadata of the first video data stream, the basic attribute information such as encoding format, resolution, frame rate, etc. is identified; by sampling the video pixel data, the content attributes such as motion complexity and noise level of the video are analyzed; for different attribute dimensions, a quantitative scoring system is set (such as high resolution, high frame rate, high motion complexity and other indicators correspond to higher scores); a digital signature algorithm library (including various security strength and performance algorithms) is established in advance, and a recommended video attribute quantitative scoring range is set for each algorithm; according to the comprehensive score of each attribute dimension of the first video data stream, the digital signature algorithm with the best matching scoring range is selected in the algorithm library; the latest research progress in the field of cryptography is continuously tracked, the security of existing algorithms is evaluated, and the algorithm library is updated in a timely manner. Through this solution, the content attribute characteristics of the video data can be automatically analyzed to avoid the subjectivity brought by manual evaluation, and the best matching digital signature algorithm can be selected according to the quantitative scoring of the video attributes; for low-quality videos, a signature algorithm with higher performance is automatically selected to improve efficiency; for high-value, high-quality videos, a signature algorithm with higher strength is automatically selected to ensure security; the algorithm library is automatically managed and updated to improve the forward-looking and scalability of the system; the best balance between security and performance is automatically sought to optimize the overall performance of the system. This solution uses intelligent analysis of video attributes and an automated selection mechanism combined with a digital signature algorithm library to enable the system to efficiently manage and utilize limited cryptographic resources, providing the best matching signature protection for video data of different quality and importance, and comprehensively improving security, reliability, and performance efficiency.

[0157] Generate a pair of asymmetric keys on the edge computing node using the digital signature algorithm, wherein the asymmetric keys include a private key and a public key, the private key is stored in the edge computing node, and the public key is disclosed to the public;

[0158] Performing a hash operation on the first video data stream to obtain a digital summary of a fixed length that can uniquely reflect the video content;

[0159] In this step, hash operation is a one-way function that takes data of any length as input, calculates it through a specific hash algorithm (such as SHA-256, MD5, etc.), and obtains a fixed-length digital string as output. Performing a hash operation on video data means taking the video data as input, and outputting a fixed-length digital summary after calculation by the hash algorithm. This digital summary can uniquely reflect the video content. As long as there is any change in the video content, even if only one pixel is modified, the hash value obtained will be completely different. Therefore, the hash value can be used as a "fingerprint" or "digital summary" of the video content to quickly compare whether the video has been tampered with. By uploading or transmitting the video hash value instead of the video itself, the bandwidth and storage overhead can be greatly reduced. In summary, the fixed-length digital summary obtained by hashing the video can effectively reflect and uniquely identify the original content of the video, can be used to ensure the integrity of the video data, and save storage and transmission resources at the same time. It is a commonly used means of video content security protection.

[0160] Using the private key, encrypting the digital summary with a digital signature to generate a digital signature;

[0161] The digital signature is merged into the first video data stream to form a new second video data stream.

[0162] In this embodiment, in other links of video transmission, the public key can be used to verify the video data and signature to ensure their integrity.

[0163] In this embodiment, it can be ensured that the video data originates from a trusted edge node, preventing tampering by intermediate nodes, ensuring the integrity of the video content, and any modification can be detected. A trusted traceability chain can be built for the video data to form conclusive digital evidence, which can improve the credibility and judicial authority of video evidence in law enforcement scenarios such as public security, and can be combined with subsequent blockchain evidence storage to build a closed loop of data security and reliability. In general, the digital signature added to the edge ensures the authenticity and integrity of the video data, and provides a solid digital certificate foundation for the legal use of video evidence in security monitoring, event handling and other scenarios. Combined with technologies such as blockchain, the credibility of data in the entire system link can be further improved.

[0164] In some possible implementations of the present invention, the method for generating the video monitoring analysis model includes:

[0165] Obtain historical video data in real urban scenes (such as various human faces, postures, behaviors, etc., urban buildings and facilities, urban greening, traffic, etc.);

[0166] Determine key elements in the historical video data according to preset rules (such as key infrastructure, key buildings, people in key areas and their behaviors, etc., obtained through big data analysis (or manually determined in advance), annotate and construct labels for the key elements (such as key facilities, faces, behaviors, etc.), and obtain first video sample data;

[0167] Preprocessing the first video sample data (such as frame extraction, format conversion, etc.) to obtain second video sample data;

[0168] Using the face data extracted from the second video sample data to train a first neural network (such as a convolutional neural network) to construct a face detection model (to detect the face area of ​​each frame in the video);

[0169] In this step, according to the aforementioned annotations and labels, sample images containing faces are extracted from the second video sample data, and the coordinates of the face area are annotated; the training sample size is expanded using data enhancement techniques (such as flipping, cropping, etc.); the CNN network structure (such as ResNet / ResNext) is set, and the predicted face area confidence is set in the last layer; the training samples are back-propagated and the network weights are optimized according to the coverage loss function; the optimized model is applied to each frame of the test video, and the face area coordinates and confidence are output; the high confidence area is selected as the detection result according to the threshold; and the model is continuously updated and trained using different video samples. This method can well extract the location of the face area in the video image and produce high-precision detection results. The trained model can be applied to real-time video analysis tasks to achieve efficient face detection based on deep learning.

[0170] Using the facial key point data extracted from the second video sample data to train a second neural network, and construct a key point extraction model;

[0171] In this step, according to the aforementioned annotations and labels, the face image and the 68 marked key point coordinates are extracted from the second video sample data; the key point extraction neural network (i.e., the second neural network) is designed using the Hourglass network structure; the key point prediction effect is optimized using the Wise-IoU target detection loss function; the optimized model is batch tested to evaluate the accuracy of key point extraction; the model is applied to the face area of ​​each frame located by the face detection model in the video; the face is tracked between consecutive frames using the optical flow algorithm based on the key point prediction results; the 68 facial key point coordinate sequences of each video frame are output; and new samples are continuously collected for retraining to improve the prediction accuracy. This method can automatically and accurately extract facial key points from video images, which is beneficial to subsequent applications such as expression recognition and 3D reconstruction. By continuously learning and improving the model, real-time and efficient key point extraction and tracking can be achieved.

[0172] Using the character behavior data extracted from the second video sample data to train a third neural network, a behavior recognition model is constructed (used to identify the behavior type (such as fighting, etc.) in the video area, and output abnormal frame intervals; according to key points and behavior results, a person event trajectory containing an ID is output);

[0173] In this step, according to the aforementioned annotations and labels, character action scenes are extracted from the second video sample data, and behavior type labels (such as fighting, gathering, etc.) are given; the 3D convolutional neural network structure (i.e., the third neural network) is used to learn the behavior representation ability of the video sequence; the behavior prediction sequence in each video interval is output in combination with the LSTM network structure; the model is optimized according to the cross entropy loss to improve the accuracy of behavior recognition; the model is applied to the video to be detected, and the identified abnormal behavior interval is marked; combined with the face detection and key point tracking results, the space-time event trajectory of the person in the video is drawn; new videos are continuously collected to increase the sample size and type, and the model is retrained to improve the generalization ability. This method can realize the automatic recognition and description of video behavior, provide effective support for security work, and can also reconstruct the detailed event process, which is conducive to post-investigation and accountability.

[0174] Using the city operation status data extracted from the second video sample data to train a fourth neural network, and construct an abnormal state recognition model (for identifying abnormal states of city entities such as vehicles, infrastructure, and buildings, such as accidents, fires, etc.);

[0175] In this step, city entities and samples of different abnormal states are extracted from the second video sample data according to the aforementioned annotations and labels, and the type labels are annotated; convolutional neural networks such as ResNet (i.e., the fourth neural network) are used to extract the visual features of city entities; an attention mechanism module is added (the attention mechanism module can help the neural network better locate the key parts in the input sequence and reduce the response to irrelevant parts; in the task of video abnormal state recognition, the purpose of adding the attention mechanism module is to distinguish the importance of different frames in the video sequence (for example, the frame where the abnormal behavior starts is more important) and to assist the model in focusing on learning the relationship between related frames. Generally speaking, the commonly used The attention mechanism modules include: self-attention (learning the dependencies between the input parts), image attention (emphasizing the importance of pixels or geographic locations), time attention (extracting different degrees of features from different video frames), etc.), extracting dynamic video features; adding LSTM layers to learn sequence information to fuse static and dynamic features; finally, supervised classification in the fully connected layer to identify the type of abnormal state; using cross entropy as the loss function to optimize model parameters; applying the optimized model to the video data stream to be inspected, and outputting the abnormal detection results in real time; continuously expanding the sample type and scale, and retraining to improve the recognition effect; it can effectively monitor the abnormal state of key entities in the city and provide a basis for safety management. The model automatically learns the characteristics of urban operation from video data, effectively identifies various abnormal states, saves manpower costs for urban governance, and improves the level of safety monitoring.

[0176] The face detection model, the key point extraction model, the behavior recognition model and the abnormal state recognition model are integrated into the video monitoring and analysis model.

[0177] In this step, determine the interface format of different sub-models, such as input and output data format; develop a model integration framework, define the sub-model call order and data interaction process; load the trained different sub-models into the integration framework; test and debug whether the mutual calls between different sub-models are normal; develop a prediction main program, pre-process the video data, and pass it to the sub-model for prediction of various functions; statistically calculate the prediction results, and output the final detection report, including face detection, key point extraction, behavior recognition, and abnormal state recognition of urban entities; replace and upgrade sub-models at different stages of the project to maintain the iterative update capability of the model; apply the integrated model to video detection tasks and evaluate its complex event detection capabilities. This video monitoring and analysis model can perform end-to-end multi-target detection and recognition analysis on a single video stream, including faces, behaviors, and event anomalies, which can effectively improve the level of video understanding and provide an important reference for event investigation.

[0178] In this embodiment, the deep learning model trained and deployed through the above steps can detect and track faces in the video in real time with high precision, identify common suspicious behaviors, and output structured labels such as key point coordinates; at the same time, it can also identify abnormal conditions of objects such as facilities, buildings, and vehicles in urban operation, which provides solid artificial intelligence visual support capabilities for subsequent intelligent security applications.

[0179] In some possible implementations of the present invention, the step of the edge computing node identifying an abnormal state in the second video data stream by using a video monitoring analysis model pre-trained based on deep learning to obtain an abnormality detection result includes:

[0180] The edge computing node performs real-time reasoning on the second video data stream and outputs a video frame recognition result for each video frame;

[0181] Using the video monitoring analysis model to identify the face in the video frame recognition result, and obtain the face area position and key point coordinates;

[0182] In this step, the face detection model in the video monitoring and analysis model can be used to identify the face in the video frame recognition result, obtain the face area position, and use the key point extraction model to obtain the key point coordinates.

[0183] Establishing face tracking associations between adjacent frames according to the face region position and the key point coordinates to form a face motion trajectory;

[0184] Performing behavior pattern classification and entity abnormal state recognition on the detected human face, the human behavior corresponding to the human face, and the urban entity state in the environment around the human face to obtain a first behavior recognition result and a first entity abnormal state recognition result;

[0185] In this step, the detected face and the human behavior corresponding to the face are classified and identified in terms of behavior patterns in combination with the behavior recognition model to obtain a first behavior recognition result; and the abnormal state recognition model is used to perform entity abnormal state recognition on the urban entity state in the environment surrounding the face to obtain a first entity abnormal state recognition result.

[0186] Determining whether the first behavior corresponding to the first behavior recognition result belongs to a predefined abnormal behavior category based on the posture and action;

[0187] When the first behavior belongs to the abnormal behavior category, performing behavior semantic completion and correction in combination with the spatiotemporal context information of the facial motion trajectory;

[0188] In this step, we can define the context feature space of abnormal behavior (such as the participants, duration, scene environment, etc.), extract the face ID, key point trajectory and other visual features related to the abnormal behavior before and after, use big data to train the neural network to learn the context representation ability of abnormal behavior, and re-evaluate the abnormal behavior initially detected based on the context information, including: judging that the abnormality may be caused by incorrect labeling such as observation error, judging whether the abnormal behavior needs to be further subdivided into subcategories based on the context, correcting or revising the abnormal expression based on the context prompts, and continuously improving the semantic context library to enhance the discrimination. This method can combine the implicit information in the video space, conduct in-depth verification of a single detection result, eliminate false recognition, correct expression errors, and make the behavior analysis work have stronger semantic support capabilities, which can deepen the understanding of the video and provide a reliable basis for subsequent work.

[0189] Combined with the first entity abnormal state recognition result, analyze the specific time, location, duration, and abnormal state of the city entity of the first behavior;

[0190] Integrate a series of abnormal behaviors and abnormal states of urban entities in the same trajectory into a complete abnormal event;

[0191] The start time, end time, location, behavior type and abnormal state of the city entity of the abnormal event are output as the abnormality detection result.

[0192] This embodiment may also include: providing a confidence assessment score for the abnormal detection result to assist in subsequent decision-making and processing; when the confidence is lower than a set threshold, marking it as requiring manual review.

[0193] In this embodiment, the AI ​​visual model based on deep learning realizes intelligent recognition of various abnormal behaviors; video analysis is completed locally at the edge to meet the requirements of low latency and high real-time performance; structured abnormal event information is output to facilitate subsequent risk classification and collaborative disposal; spatiotemporal context analysis improves the accuracy and semantic integrity of abnormal behavior identification; confidence assessment reduces the false alarm rate and improves system credibility. By utilizing the analytical processing capabilities of edge computing nodes, the system can accurately detect and intelligently identify abnormal behaviors in videos based on powerful AI visual models, effectively supporting subsequent risk management and rapid response, and significantly improving the intelligence level of the entire security system.

[0194] In some possible implementations of the present invention, the security center platform integrates the abnormal detection results and the alarm information of other IoT security devices to perform risk event identification and early warning analysis, including:

[0195] Normalizing the abnormality detection results and the alarm information, unifying the data format and semantics, and obtaining standardized abnormality detection results and alarm information;

[0196] Associating, based on time and geographic space coordinates, first anomaly detection results and first alarm information belonging to the same first event in the standardized anomaly detection results and alarm information;

[0197] Build risk event profiles based on historical abnormal event data and historical alarm data (including multi-modal information such as video, sound, and action);

[0198] According to the risk event portrait, comprehensively analyzing the associated first abnormality detection result and the first alarm information to identify whether the first event constitutes a risk event;

[0199] When the first event constitutes a risk event, determining the risk level of the first event, and outputting event type, risk level and confidence information;

[0200] Associating the first event with the city digital twin model;

[0201] Reconstruct and restore the specific scenario of the first event in the real scene of the target city;

[0202] An early warning is triggered according to the severity of the specific scenario, and early warning information and recommended strategies are generated.

[0203] In this embodiment, the source, process and impact of risk events can also be intuitively presented through large visual screens and reports; auxiliary references can be provided for decision-making to support efficient command and dispatch and resource allocation; feedback information on event handling can be collected to analyze the effectiveness of existing strategies; and event identification models and early warning rules can be continuously optimized based on feedback data.

[0204] In this embodiment, intelligent fusion and correlation analysis of multi-source abnormal information is realized to improve the comprehensiveness and accuracy of risk identification; digital twin scenarios are simulated to build real-life scenarios of risk events and improve the intuitiveness of early warnings; graded early warnings are carried out based on risk identification to achieve fast and efficient decision-making and resource allocation; decision visualization helps command and dispatch, and quickly respond to emergencies; and models are continuously optimized by collecting feedback to improve the accuracy of identification and early warning. The security center platform integrates video anomaly detection with information from other security equipment to achieve intelligent identification and early warning of risk events. It is the brain and command center of the entire smart security system, supporting the efficient operation of security prevention and rapid response.

[0205] In some possible implementations of the present invention, the security center platform also includes a step of using the historical video data of the target city to construct a real-time dynamic three-dimensional security electronic map to achieve scene simulation and advance warning in complex situations, specifically:

[0206] Exporting a static three-dimensional map from the digital twin model of the city (creating a static map of houses, roads, etc.);

[0207] Extracting optical flow features of the historical video data and calculating motion vector splicing trajectories;

[0208] In this step, optical flow is a method used in computer vision to describe the pixel motion information between two consecutive frames. For each group of continuous video frames, the optical flow algorithm is used to calculate the motion vector of each feature point. Here, the optical flow features of each view video are extracted, that is, the motion vectors of each group of adjacent frame pixels are calculated. The motion vector describes the displacement of the feature point from one frame to the next. By analyzing the motion law of the feature points between each group of adjacent frames, the matching relationship between the same target in different frames can be calculated, and then the motion trajectory of the same target in different videos can be spliced ​​through the motion vector, that is, by analyzing the relative motion of the object between each group of frames, its overall motion trajectory in the entire video data set can be reconstructed, laying the foundation for subsequent three-dimensional reconstruction.

[0209] Reconstructing the dynamic three-dimensional coordinates of people and city entities in the event in the video according to the splicing trajectory;

[0210] The dynamic three-dimensional coordinates are merged with the static three-dimensional map to form a dynamic three-dimensional security electronic map;

[0211] In this step, the dynamic three-dimensional security electronic map absorbs the urban structure information provided by the static map, and also contains the dynamic object information reconstructed by the video three-dimensional reconstruction, which can reproduce the operating status of the city at a certain moment in real time, such as the real-time distribution of vehicles and people.

[0212] Based on the dynamic three-dimensional security electronic map, scene parameters, impact ranges and dynamic impact factors are defined for different event types;

[0213] In this step, according to the event classification standards (such as fighting, accidents, traffic congestion, etc.), the main event types are divided, case studies are conducted on typical historical events, common features of each type of event are extracted, event scene description language is formulated, and parameters related to each event (objects, locations, etc.) are defined; according to the influence law, a dynamic value range is set for each parameter as the influence range; historical data is inserted to identify important dynamic influencing factors and their degree of correlation; the definition is stored in the knowledge base and called in correspondence with the dynamic map; the knowledge base is continuously improved to describe new event features. This can achieve pre-defined scenario frameworks for different events and provide references for subsequent simulations; it can efficiently establish scenario modeling capabilities, identify key influence points, and help automatically analyze the development laws of different event types and improve the simulation level.

[0214] By means of artificial intelligence technology, a scenario prediction model is trained according to the scenario parameters, the impact range, the dynamic impact factors, the historical abnormal event data and the historical alarm data;

[0215] In this step, various features can be extracted from the scenario parameters, the impact range, the dynamic impact factors, the historical abnormal event data and the historical alarm data for digital coding representation; select a recurrent neural network such as LSTM or Transformer, input the feature sequence to learn the sequence information; design training objectives (such as classification, regression, etc.) according to the historical event results; use cross entropy or mean square error function for loss calculation and model optimization; verify the generalization ability of the training model in the test area and adjust the hyperparameters; save the trained model for online prediction. This method can learn historical laws, automatically identify the influencing factors and laws of event development, and form scenario prediction capabilities. By establishing a set of automatic learning and prediction frameworks, early warning inferences can be made based on input intelligence to assist security decisions, and the model can be continuously updated and optimized to enhance prediction accuracy.

[0216] Obtaining scene prediction data (evaluating the impact of various influencing factors on different results) based on the second video data stream, the current monitoring data collected by the other IoT security devices, and the scene prediction model;

[0217] Based on the scenario prediction data, early warning suggestions are given to prevent complex events in advance.

[0218] In this embodiment, a dynamic three-dimensional electronic map is constructed to reflect the operation status of the city in real time and provide direct visual support for decision-making; video trajectories are extracted for three-dimensional reconstruction to achieve non-contact monitoring and obtain comprehensive operation scene information; based on digital twin technology, historical data is used to train scene modeling and prediction capabilities to achieve advance warning capabilities; different influencing factors can be quantitatively modeled to objectively evaluate the controllability of events and the degree of risk; the overall system constitutes an automatic learning, analysis and scheduling decision support system, which greatly improves the security response efficiency; through continuous learning, continuous optimization and updating of models, the early warning capability can be timely corrected and improved according to new situations; information sharing among different departments is achieved, and emergency response is coordinated to improve the level of urban law enforcement and safety management; an open platform is built to connect to third-party video equipment and applications, expand modeling and application areas, technically realize smart security, and provide methodological support for innovation in urban safety governance.

[0219] In some possible implementations of the present invention, the security center platform also includes a step of designing a privacy protection framework based on secure computing to achieve privacy encrypted transmission of video data in a secure area, specifically including:

[0220] Using the dynamic three-dimensional security electronic map to identify privacy areas (such as hospitals, residential areas, etc.);

[0221] Performing face recognition and concealment processing on the first video recorded in the privacy area, transforming facial features, and adding random noise to obtain a second video;

[0222] Homomorphically encrypt the second video using an asymmetric encryption algorithm based on deep learning;

[0223] In this step, homomorphic encryption allows certain arithmetic and logical operations to be performed on the ciphertext, and the ciphertext results after the operation are equivalent to the corresponding operation results on the unencrypted plaintext sequence. Homomorphic encryption supports calculations directly on the ciphertext data, so there is no need for multiple decryption calculations, thereby improving security.

[0224] In a secure computing environment, highly homomorphic encryption is used to process and analyze videos to obtain video processing and analysis results;

[0225] In this step, Fully Homomorphic Encryption is a more powerful homomorphic encryption algorithm that supports any possible arithmetic and logical operations on ciphertext without decryption. For videos, through highly homomorphic encryption technology, arithmetic operations can be directly performed on encrypted video data in a secure computing environment, but the image or content of the video itself cannot be extracted, thus achieving a balance between privacy and computing.

[0226] Sharing the video processing and analysis results (to achieve private video utilization without leaking original private data);

[0227] User permissions are classified to control the access granularity of different users to the video processing and analysis results.

[0228] In this embodiment, privacy protection of video data during transmission can be achieved to prevent illegal acquisition and use of personal privacy information; the analyzability of non-privacy information in the video can be retained to achieve a balance between privacy and security needs; the security and reliability of the security system can be improved to avoid privacy leakage caused by external influences; a monitorable and traceable video processing pipeline can be built to enhance user trust in the security system. This embodiment effectively resolves the contradiction between security and privacy through technical means and improves the level of urban safety management.

[0229] In some possible implementations of the present invention, the step of classifying user rights and controlling the access granularity of different users to the video processing and analysis results includes:

[0230] Users are divided into security management users, executive users and community users, and electronic certificates and two-factor verification codes are used to identify user categories;

[0231] Assign different levels of viewing permissions to the security management user, the execution user and the community user (e.g., the management user has the highest level and the community user has the lowest level);

[0232] Subdividing the video processing and analysis results into several result data types including pedestrian characteristics, pedestrian flow information, and event classification;

[0233] The management users can view all information, the execution users can only view the event classification results, and the community users can only view the flow of people trends;

[0234] Displays the authorized result data type according to the current user's viewing permission level.

[0235] In this embodiment, fine-grained classified access management of result data can be achieved to meet the needs of different users and privacy protection requirements.

[0236] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0237] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0238] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the above-mentioned units, which is only a logical function division. There may be other division methods in actual implementation, such as 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 interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0239] The units described above 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.

[0240] 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. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0241] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or CD-ROM and other media that can store program codes.

[0242] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (English: Read-Only Memory, abbreviated as: ROM), a random access memory (English: Random Access Memory, abbreviated as: RAM), a magnetic disk or an optical disk, etc.

[0243] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

[0244] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions without departing from the spirit and scope of the present invention, and can make various changes and modifications, including the combination of the above-mentioned different functions and implementation steps, including software and hardware implementation methods, all of which are within the scope of protection of the present invention.

Claims

1. A 5G-based smart city intelligent security system, characterized in that: include: Cloud servers, edge computing nodes and security center platforms; among them, The cloud server is configured as follows: Obtain planning data, building BIM data, real-scene 3D data, real-scene image data and video data of the target city; Constructing a city digital twin model of the target city according to the planning data, the building BIM data, the real-scene three-dimensional data, the real-scene image data and the video data; According to the city digital twin model, multiple video acquisition terminals and other IoT security devices interconnected by 5G network are configured in the target city area to build an IoT security device network based on 5G network; The edge computing node is configured as: Controlling a plurality of video acquisition terminals distributed in the target urban area to utilize the video acquisition terminals to acquire video data streams in real time; Preprocessing the collected first video data stream and obtaining pixel point coordinate information in each video frame; The edge computing node adds a digital signature to the preprocessed first video data stream to obtain a second video data stream; Using a video monitoring analysis model pre-trained based on deep learning, identifying abnormal conditions in the second video data stream to obtain an abnormality detection result; Sending the second video data stream and the anomaly detection result to the security center platform via a 5G network; The security center platform is configured as follows: Record and transmit the second video data stream and the anomaly detection result through a blockchain network; Combining the abnormal detection results with the alarm information of other IoT security devices, risk event identification and early warning analysis are performed; 5G network resources are used to build an intelligent perception security database within the target city, and the intelligent perception security database is automatically updated and managed in real time and with multi-level user authority control.

2. A 5G-based smart city intelligent security method, characterized in that: include: The cloud server obtains the planning data, building BIM data, real-scene 3D data, real-scene image data and video data of the target city; The cloud server constructs a city digital twin model of the target city according to the planning data, the building BIM data, the real-scene three-dimensional data, the real-scene image data and the video data; The cloud server configures a plurality of video acquisition terminals and other IoT security devices interconnected by a 5G network in the target city area according to the city digital twin model to build an IoT security device network based on a 5G network; The edge computing node controls a plurality of video acquisition terminals distributed in the target city area to use the video acquisition terminals to acquire video data streams in real time; Preprocess the collected first video data stream using the edge computing node and obtain pixel coordinate information in each video frame; The edge computing node adds a digital signature to the preprocessed first video data stream to obtain a second video data stream; The edge computing node uses a video monitoring analysis model pre-trained based on deep learning to identify abnormal conditions in the second video data stream and obtain an abnormality detection result; The edge computing node sends the second video data stream and the anomaly detection result to the security center platform through the 5G network; The security center platform records and transmits the second video data stream and the abnormality detection result through the blockchain network; The security center platform integrates the abnormal detection results and the alarm information of other IoT security devices to perform risk event identification and early warning analysis; The security center platform uses 5G network resources to build an intelligent perception security database within the target city, and performs real-time automatic update management and multi-level user authority control on the intelligent perception security database.

3. The 5G-based smart city intelligent security method according to claim 2 is characterized in that: The cloud server configures a plurality of video acquisition terminals and other IoT security devices interconnected by a 5G network in the target city area according to the city digital twin model to build an IoT security device network based on a 5G network, including: Obtaining historical city operation data of the target city; Based on the city digital twin model and the historical city operation data, simulate and analyze the environmental characteristics and security requirements of the target city; According to the environmental characteristics and the security requirements, the types, quantities and deployment locations of the video acquisition terminals and other IoT security devices are planned to obtain a security device deployment plan; According to the security equipment deployment plan, plan the layout and number of 5G base stations to obtain a 5G facility deployment plan; Constructing a 5G base station and the edge computing node according to the 5G facility deployment plan to build a 5G network; According to the security equipment deployment plan, various types of video acquisition terminals and other IoT security equipment are installed at planned locations; The video acquisition terminal and the other IoT security devices are connected to the edge computing node, cloud server and security center platform through the 5G network.

4. The 5G-based smart city intelligent security method according to claim 3 is characterized in that: The step of adding a digital signature to the preprocessed first video data stream by the edge computing node to obtain a second video data stream includes: Identifying first attribute information of the first video data stream according to the first video data stream, and selecting a corresponding digital signature algorithm according to the first attribute information; Generate a pair of asymmetric keys on the edge computing node using the digital signature algorithm, wherein the asymmetric keys include a private key and a public key, and the private key is stored in the edge computing node; Performing a hash operation on the first video data stream to obtain a digital summary of a fixed length that can uniquely reflect the video content; Using the private key, encrypting the digital summary with a digital signature to generate a digital signature; The digital signature is merged into the first video data stream to form a new second video data stream.

5. The 5G-based smart city intelligent security method according to claim 4 is characterized in that: The method for generating the video monitoring analysis model includes: Obtain historical video data in real urban scenes; Determine key elements in the historical video data according to preset rules, mark and construct labels for the key elements, and obtain first video sample data; Preprocessing the first video sample data to obtain second video sample data; Using the face data extracted from the second video sample data to train the first neural network and construct a face detection model; Using the facial key point data extracted from the second video sample data to train a second neural network, and construct a key point extraction model; Training a third neural network with the character behavior data extracted from the second video sample data to construct a behavior recognition model; Using the city operation status data extracted from the second video sample data to train a fourth neural network to construct an abnormal state recognition model; The face detection model, the key point extraction model, the behavior recognition model and the abnormal state recognition model are integrated into the video monitoring and analysis model.

6. The 5G-based smart city intelligent security method according to claim 5 is characterized in that: The step of the edge computing node identifying an abnormal state in the second video data stream by using a video monitoring analysis model pre-trained based on deep learning to obtain an abnormality detection result includes: The edge computing node performs real-time reasoning on the second video data stream and outputs a video frame recognition result for each video frame; Using the video monitoring analysis model to identify the face in the video frame recognition result, and obtain the face area position and key point coordinates; Establishing face tracking associations between adjacent frames according to the face region positions and the key point coordinates to form a face motion trajectory; Performing behavior pattern classification and entity abnormal state recognition on the detected human face, the human behavior corresponding to the human face, and the urban entity state in the environment around the human face to obtain a first behavior recognition result and a first entity abnormal state recognition result; Determining whether the first behavior corresponding to the first behavior recognition result belongs to a predefined abnormal behavior category based on the posture and the action; When the first behavior belongs to the abnormal behavior category, performing behavior semantic completion and correction in combination with the spatiotemporal context information of the facial motion trajectory; Combined with the first entity abnormal state recognition result, analyze the specific time, location, duration, and abnormal state of the city entity of the first behavior; Integrate a series of abnormal behaviors and abnormal states of urban entities in the same trajectory into a complete abnormal event; The start time, end time, location, behavior type and abnormal state of the city entity of the abnormal event are output as the abnormality detection result.

7. The 5G-based smart city intelligent security method according to claim 6 is characterized in that: The security center platform integrates the abnormal detection results and the alarm information of other IoT security devices to perform risk event identification and early warning analysis, including: Normalizing the abnormality detection results and the alarm information, unifying the data format and semantics, and obtaining standardized abnormality detection results and alarm information; Associating, based on time and geographic space coordinates, first anomaly detection results and first alarm information belonging to the same first event in the standardized anomaly detection results and alarm information; Build risk event profiles based on historical abnormal event data and historical alarm data; According to the risk event portrait, comprehensively analyzing the associated first abnormality detection result and the first alarm information to identify whether the first event constitutes a risk event; When the first event constitutes a risk event, determining the risk level of the first event, and outputting event type, risk level, and confidence information; Associating the first event with the city digital twin model; Reconstruct and restore the specific scenario of the first event in the real scene of the target city; An early warning is triggered according to the severity of the specific scenario, and early warning information and recommended strategies are generated.

8. The 5G-based smart city intelligent security method according to claim 7 is characterized in that: The security center platform also includes the steps of using the historical video data of the target city to construct a real-time dynamic three-dimensional security electronic map to achieve scene simulation and advance warning in complex situations, specifically: deriving a static three-dimensional map from the city digital twin model; Extracting optical flow features of the historical video data and calculating motion vector splicing trajectories; Reconstructing the dynamic three-dimensional coordinates of people and city entities in the event in the video according to the splicing trajectory; The dynamic three-dimensional coordinates are merged with the static three-dimensional map to form a dynamic three-dimensional security electronic map; Based on the dynamic three-dimensional security electronic map, scene parameters, impact ranges and dynamic impact factors are defined for different event types; By means of artificial intelligence technology, a scenario prediction model is trained according to the scenario parameters, the impact range, the dynamic impact factors, the historical abnormal event data and the historical alarm data; Obtaining scene prediction data according to the second video data stream, the current monitoring data collected by the other IoT security devices, and the scene prediction model; Based on the scenario prediction data, early warning suggestions are given to prevent complex events in advance.

9. The 5G-based smart city intelligent security method according to claim 8 is characterized in that: The security center platform also includes the steps of designing a privacy protection framework based on secure computing to achieve privacy encrypted transmission of video data in a secure area, specifically including: Using the dynamic three-dimensional security electronic map to identify privacy areas; Performing face recognition and concealment processing on the first video recorded in the privacy area, transforming facial features, and adding random noise to obtain a second video; Homomorphically encrypt the second video using an asymmetric encryption algorithm based on deep learning; In a secure computing environment, highly homomorphic encryption is used to process and analyze videos to obtain video processing and analysis results; Sharing the video processing and analysis results; User permissions are classified to control the access granularity of different users to the video processing and analysis results.

10. The 5G-based smart city intelligent security method according to claim 9, characterized in that: The step of classifying user rights and controlling the access granularity of different users to the video processing and analysis results includes: Users are divided into security management users, executive users and community users, and electronic certificates and two-factor verification codes are used to identify user categories; Allocating different levels of viewing permissions to the security management users, the execution users and the community users; Subdividing the video processing and analysis results into several result data types including pedestrian characteristics, pedestrian flow information, and event classification; The management users can view all information, the execution users can only view the event classification results, and the community users can only view the flow of people trends; Displays the authorized result data type according to the current user's viewing permission level.