Community security method and device based on digital twinning
By introducing digital twin technology in the community security system, automated analysis and response security incidents, the problem of slow response and data islands in the existing system have been solved, and more efficient security management and collaboration have been achieved.
Patent Information
- Application Number
- CN202411514317.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-01-28
AI Technical Summary
The existing community security system requires manual intervention after the incident, which has slow response speed, low processing efficiency, and data silos, and information cannot be effectively communicated, resulting in low data utilization and difficulty in conducting comprehensive analysis.
By collecting data and sending data to the digital twin platform in the security equipment of the target community, use the digital twin platform to simulate the data to determine the target event, and generate and send security instructions according to the preset security rules to achieve an automated linkage response.
It improved the speed and processing efficiency of the event, solved the problem of data islands, enhanced the ability of the collaboration between departments, and realized the intelligence and automation of community safety management.
Smart Images

Figure CN119380486A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of digital twins, and in particular to a community security method and device based on digital twins. Background Art
[0002] With the continuous acceleration of urbanization and the continuous increase in population density, the safety issues of urban communities have become more and more prominent. In this context, the originally relatively closed and simple community structure has gradually become more open and complex, which has challenged the traditional community safety management methods.
[0003] The existing community security system usually requires manual intervention to initiate the corresponding linkage measures after an incident occurs, which is slow to respond and inefficient. Moreover, there are often data islands between different devices and systems, and information cannot be effectively communicated, resulting in low data utilization and difficulty in comprehensive analysis.
[0004] Application Contents
[0005] The present application provides a community security method and device based on digital twins to overcome the above-mentioned problems or at least partially solve the problems of data silos and low manual processing efficiency existing in existing community security systems.
[0006] In a first aspect, the present application provides a community security method based on digital twins, including:
[0007] Use the security equipment of the target community to collect the security data corresponding to the target community, and send the security data to the digital twin platform corresponding to the target community;
[0008] Use the digital twin platform to simulate and analyze security data to determine the target events corresponding to the security data;
[0009] When the target event meets the preset warning conditions, the preset security rules are used to determine the digital linkage department corresponding to the target event and the security instructions corresponding to each digital linkage department;
[0010] On the digital twin platform, security instructions are sent to each digital linkage department so that the actual linkage department corresponding to each digital linkage department executes the security plan corresponding to the security instruction.
[0011] In the second aspect, the present application provides a community security device based on digital twins, including:
[0012] A data collection module is configured to collect security data corresponding to the target community using security equipment of the target community, and send the security data to a digital twin platform corresponding to the target community;
[0013] A target event determination module is configured to use the digital twin platform to simulate and analyze the security data to determine the target event corresponding to the security data;
[0014] The security command determination module is configured to determine the digital linkage department corresponding to the target event and the security command corresponding to each digital linkage department by using the preset security rules when the target event meets the preset warning conditions;
[0015] The execution module is configured to send security instructions to each digital linkage department on the digital twin platform, so that the actual linkage department corresponding to each digital linkage department executes the security plan corresponding to the security instruction.
[0016] In a third aspect, the present application provides a readable medium comprising execution instructions. When a processor of an electronic device executes the execution instructions, the electronic device executes any method as described in the first aspect.
[0017] In a fourth aspect, the present application provides an electronic device, comprising a processor and a memory storing execution instructions, wherein when the processor executes the execution instructions stored in the memory, the processor executes any method described in the first aspect.
[0018] The present application provides a community security method and device based on digital twins, which collects security data corresponding to the target community by using the security equipment of the target community, and sends the security data to the digital twin platform corresponding to the target community; uses the digital twin platform to simulate and analyze the security data to determine the target event corresponding to the security data; when the target event meets the preset early warning conditions, uses the preset security rules to determine the digital linkage department corresponding to the target event, as well as the security instructions corresponding to each digital linkage department; sends the security instructions to each digital linkage department on the digital twin platform, so that the actual linkage department corresponding to each digital linkage department executes the security plan corresponding to the security instruction. The present application realizes the intelligentization and automation of community security management, and improves the event response speed and processing efficiency. At the same time, the system's data sharing and analysis capabilities enhance the collaboration between departments.
[0019] The further effects of the above-mentioned non-conventional preferred manner will be described below in conjunction with specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present application or the existing technical solutions, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0021] Figure 1 A flowchart of a community security method based on digital twins provided in one embodiment of the present application;
[0022] Figure 2 A flowchart of another community security method based on digital twins provided in an embodiment of the present application;
[0023] Figure 3 A flowchart of another community security method based on digital twins provided in an embodiment of the present application;
[0024] Figure 4 A flowchart of another community security method based on digital twins provided in an embodiment of the present application;
[0025] Figure 5 It is a structural schematic diagram of a community security device based on digital twins provided in one embodiment of the present application;
[0026] Figure 6 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0028] With the continuous acceleration of urbanization and the continuous increase in population density, the safety issues of urban communities have become more and more prominent. In this context, the originally relatively closed and simple community structure has gradually become more open and complex, which has challenged the traditional community safety management methods.
[0029] The existing community security system usually requires manual intervention to initiate the corresponding linkage measures after an incident occurs, which is slow to respond and inefficient. Moreover, there are often data islands between different devices and systems, and information cannot be effectively communicated, resulting in low data utilization and difficulty in comprehensive analysis.
[0030] Therefore, the present application provides a community security method based on digital twins, which aims to solve the problems of data silos and low manual processing efficiency existing in existing community security systems.
[0031] In this embodiment, a community security method based on digital twins includes:
[0032] Step 101: Use the security equipment of the target community to collect security data corresponding to the target community, and send the security data to the digital twin platform corresponding to the target community.
[0033] In the modern community security system, the effective deployment and operation of security equipment is the basis for ensuring the safety of residents. These devices include surveillance cameras, environmental sensors, etc., which can collect various security data in the target community in real time. These data not only cover the activities of the community, such as the flow of people and vehicles entering and leaving, but also include environmental data, such as temperature, humidity and noise. The comprehensive collection of this information provides a rich data foundation for subsequent security analysis.
[0034] When the security equipment completes data collection, the information will be instantly transmitted to the digital twin platform corresponding to the target community. As the core of data collection and analysis, the digital twin platform can receive data from various security devices in real time to form a virtual community model. This model not only reflects the current state of the community, but also provides support for further analysis and decision-making.
[0035] Step 102: Use the digital twin platform to simulate and analyze the security data to determine the target event corresponding to the security data.
[0036] After receiving the security data of the target community, the digital twin platform will first pre-process the data to filter out noise and irrelevant information to ensure the accuracy of subsequent analysis. By mapping the collected security data into the digital twin model, the platform is able to create a virtual copy of the community environment, which can more intuitively analyze the security dynamics in the real world.
[0037] In this virtual environment, the platform uses algorithms and predictive models to simulate and analyze data in scenarios, including identifying abnormal behaviors, predicting potential security threats, and evaluating the impact of different factors on community safety. By comparing and recognizing patterns in historical data, the digital twin platform can generate target events corresponding to security data in real time. For example, if an abnormal increase in the flow of people in a certain area is detected, or sensors detect unusual environmental changes, the platform will quickly identify these situations as potential target events.
[0038] This simulation and analysis method not only improves the response speed to security incidents, but also enables the system to intervene and allocate resources in advance before an incident occurs, thereby effectively reducing security risks and improving the overall safety level of the community.
[0039] Step 103: When the target event meets the preset warning conditions, the preset security rules are used to determine the digital linkage department corresponding to the target event and the security instructions corresponding to each digital linkage department.
[0040] When the digital twin platform identifies a target event through simulation analysis and confirms that the event meets the preset warning conditions, the system will quickly initiate the subsequent linkage response mechanism. These warning conditions are formulated based on the analysis of community-specific risks and the summary of historical data, and are designed to help the system quickly identify possible security threats. When the monitored security data meets these conditions, the system will automatically mark the event as a target event that requires attention.
[0041] Early warning conditions may include a range of factors, such as abnormal environmental changes, abnormal personnel flow within a specific time period, equipment failure, or alarms triggered by multiple sensors at the same time. Through real-time monitoring and intelligent analysis, the digital twin platform can effectively determine whether an event meets these conditions.
[0042] The digital twin platform evaluates target events based on pre-set security rules. These security rules are developed based on past event records, community characteristics and safety needs, ensuring that response measures can be efficiently and accurately met in specific situations.
[0043] During this process, the platform automatically identifies the digital linkage departments related to the target event. Digital linkage departments can be multiple departments or teams in the digital security management system that are responsible for rapid response and coordination of various security incidents. These departments usually rely on advanced information technology and data analysis tools to achieve efficient collaborative work and information sharing. The main goal of the digital linkage department is to ensure that when a security incident occurs, all relevant departments can cooperate quickly and effectively to minimize potential risks and losses.
[0044] Digital linkage departments can also include digital devices and systems within the digital twin platform. These devices and systems play a vital role in security management, improving the efficiency and accuracy of security response through automation and intelligence.
[0045] The digital twin platform will also generate corresponding security instructions for each digital linkage department. These instructions detail the specific measures that each department should take, including resource allocation, personnel dispatch, and on-site disposal plans. This instruction-making method based on event type and processing time limit ensures that each department can coordinate and operate efficiently during the response process, thereby minimizing potential risks and ensuring the safety of community residents.
[0046] Step 104: Send the security instructions to each digital linkage department on the digital twin platform, so that the actual linkage department corresponding to each digital linkage department executes the security plan corresponding to the security instruction.
[0047] After the digital twin platform identifies and analyzes the target event, it will quickly generate corresponding security instructions and send these instructions to each digital linkage department in real time. When the instructions reach each digital linkage department, the system will clarify the specific action plan that each department should take based on the preset rules and event type.
[0048] These instructions may include specific task allocation, resource deployment and action steps. For example, if the incident involves a fire, the instructions may require the fire department to immediately dispatch a rescue team to the scene and notify the police department to manage the scene and evacuate personnel. If it is an alarm involving a public security incident, the instructions may require the security team to go to the scene for a preliminary assessment and maintain contact with the police to ensure a quick response.
[0049] Through this efficient linkage mechanism, each digital linkage department can quickly gather resources, coordinate actions, and implement the established security plan after receiving instructions. This systematic response process not only improves the speed and efficiency of event handling, but also enhances the collaboration between departments, ensuring that community safety can be maintained quickly and effectively in emergencies, thereby minimizing potential threats to residents.
[0050] Through the above technical solution, it can be seen that the beneficial effects of this embodiment are:
[0051] A community security method and device based on digital twins developed in the embodiment of the present application collects security data corresponding to the target community by using the security equipment of the target community, and sends the security data to the digital twin platform corresponding to the target community; uses the digital twin platform to simulate and analyze the security data to determine the target event corresponding to the security data; when the target event meets the preset early warning conditions, uses the preset security rules to determine the digital linkage department corresponding to the target event, as well as the security instructions corresponding to each digital linkage department; sends the security instructions to each digital linkage department on the digital twin platform, so that the actual linkage department corresponding to each digital linkage department executes the security plan corresponding to the security instruction. The embodiment of the present application realizes the intelligentization and automation of community security management, and improves the event response speed and processing efficiency. At the same time, the system's data sharing and analysis capabilities enhance the collaboration between departments.
[0052] Figure 1 What is shown is only a basic embodiment of a community security method based on digital twins of the present application. By performing certain optimization and expansion on this basis, other preferred embodiments of a community security method based on digital twins can be obtained.
[0053] like Figure 2 As shown, another specific embodiment of the community security method based on digital twins of the present application.
[0054] In this embodiment, a community security method based on digital twins includes the following steps:
[0055] Step 201: Use the security equipment of the target community to collect security data corresponding to the target community, and send the security data to the digital twin platform corresponding to the target community.
[0056] Step 202: Use security equipment to collect environmental data corresponding to the target community.
[0057] Security equipment includes high-resolution cameras, temperature and humidity sensors, acoustic sensors, infrared detectors, etc., which can monitor a variety of environmental factors in the community in real time. Through sensors deployed in key areas of the community, these devices can continuously collect surrounding environmental information, such as air quality, noise level, light intensity, and personnel flow.
[0058] In the process of data collection, these security devices can not only monitor regular environmental changes, but also capture abnormal situations in a timely manner. For example, when the noise level in a certain area suddenly increases, or the flow of people in a certain area increases sharply in a short period of time, these devices will quickly record and transmit the corresponding data. In this way, community managers can obtain real-time environmental dynamics, helping them to predict and intervene in potential safety hazards before they occur.
[0059] Step 203: Determine a threshold range corresponding to the environmental data.
[0060] Based on an in-depth analysis of the specific environmental characteristics of the community and a comprehensive evaluation of historical data, the system can identify the range of various environmental indicators under normal circumstances by studying past event records and environmental monitoring data. For example, data such as noise levels, temperature, and air quality in the community will fluctuate within a certain range, and usually, these data will remain at a relatively stable level.
[0061] To ensure community safety, the system sets reasonable thresholds based on different time periods, seasonal changes, and the impact of specific events. These thresholds not only take into account environmental changes in daily life, but also reflect the safety needs of the community in specific situations. For example, the noise threshold at night in a certain area may be lower than that during the day to accommodate residents' rest needs; and the air quality threshold may be adjusted due to climate change or nearby construction activities.
[0062] Step 204: When at least one environmental data is not within a threshold range, determine that the environmental data is security data.
[0063] When at least one environmental data is not within the preset threshold range, the system will quickly identify the environmental data monitored at that time as security data. This is because a single indicator exceeding the threshold may indicate a wider security problem, and other related environmental data may also be affected. For example, if the noise level in a certain area suddenly increases, it may be accompanied by a surge in traffic or abnormal temperature fluctuations. These changes are often interrelated and point to potential safety hazards.
[0064] This comprehensive consideration mechanism ensures that the system can more comprehensively assess the current environmental conditions. The system analyzes all relevant environmental data to identify whether there are broader safety hazards. For example, if the noise data exceeds the threshold and is accompanied by abnormal fluctuations in the flow of people, the system will comprehensively determine that the current situation may pose a safety risk and mark all relevant data as security data. This approach helps avoid missing potential safety incidents and provides more accurate and timely information support for the system.
[0065] Step 205: Use the digital twin platform to simulate and analyze the security data to determine the target event corresponding to the security data.
[0066] Step 206: When the target event meets the preset warning conditions, the preset security rules are used to determine the digital linkage department corresponding to the target event and the security instructions corresponding to each digital linkage department.
[0067] Step 207: Send the security instructions to each digital linkage department on the digital twin platform, so that the actual linkage department corresponding to each digital linkage department executes the security plan corresponding to the security instruction.
[0068] Through the above technical solution, it can be seen that the beneficial effects of this embodiment are:
[0069] Through such a process, the community security system can respond quickly to environmental changes and ensure that appropriate measures are taken in time before potential crises occur to protect the safety of residents and the stability of the community. This intelligent security management strategy enhances the flexibility and responsiveness of the system, enabling it to effectively maintain community security in complex environments.
[0070] like Figure 3 As shown, another specific embodiment of a community security method based on digital twins of the present application is shown. This embodiment is further described on the basis of the above-mentioned embodiment.
[0071] In this embodiment, a community security method based on digital twins includes the following steps:
[0072] Step 301: Use the security equipment of the target community to collect security data corresponding to the target community, and send the security data to the digital twin platform corresponding to the target community.
[0073] Step 302: Use the digital twin platform to simulate and analyze the security data to determine the target event corresponding to the security data.
[0074] Step 303: Map the security data to the digital twin platform to generate mapping data corresponding to the security data on the digital twin platform.
[0075] The system first needs to structure the raw data collected from various security devices. These data may include real-time monitoring of environmental parameters, video surveillance image information, sensor-collected status data, etc. Through data cleaning and preprocessing, the system will remove noise and unnecessary information to ensure the accuracy and completeness of the required data.
[0076] These processed security data will be converted into a format that can be understood by the digital twin platform. This mapping is not just a simple transmission of data, but needs to be combined with the model architecture and functions of the platform to ensure that the data can effectively reflect the dynamics of the real environment. For example, changes in ambient temperature can be mapped to climate change in the digital model through data from temperature sensors, and abnormal activities captured by surveillance cameras can be reflected as dynamic events in the digital environment.
[0077] Step 304: Use the prediction model corresponding to the Digital Chaos Platform to simulate the target event corresponding to the mapping data on the digital twin platform.
[0078] The system first inputs the mapping data into a predictive model, which is usually trained based on historical data, machine learning algorithms, and statistical analysis techniques to identify and predict possible target events. The predictive model can analyze various characteristics of the mapping data, including time series, trend changes, and abnormal patterns, to provide deep insights into potential security threats.
[0079] The prediction model can be constructed by determining an initial model; determining historical data corresponding to security data, and constructing a training data set for the initial model based on the historical data; the training data set includes training features of the historical data; determining annotation information corresponding to the training features; the annotation information includes historical events corresponding to the training features; inputting the training features into the initial model so that the initial model outputs predicted events; using the predicted events and the annotation information, determining the loss index of the initial model based on a preset loss function; when the loss index does not meet the preset training conditions, adjusting the hyperparameters of the initial model; when the loss index meets the training conditions, determining the initial model as a prediction model.
[0080] The process of building a prediction model is a systematic step aimed at improving the intelligence level of community security management. First, an initial model needs to be determined, which is based on the analysis of historical security data and is designed to simulate and predict potential events. Next, by collecting and organizing historical data, the system will extract training features related to security events and build a training data set for the initial model. These training features may include the values of different environmental parameters, the timestamp and location of the event, and other information.
[0081] Each training feature requires corresponding annotation information to facilitate model learning. The annotation information usually contains historical events related to the training feature, such as specific safety accidents, environmental anomalies, or other related situations. This information provides background knowledge for the model, enabling it to make more accurate predictions when analyzing new data.
[0082] After constructing the training data set, the system will input the training features into the initial model to prompt it to output the predicted events. By comparing the predicted events with the real historical events, the system can use the preset loss function to calculate the loss index of the initial model. This loss index reflects the gap between the model's predicted results and the actual results.
[0083] When the loss index fails to meet the preset training conditions, the system will adjust the hyperparameters of the initial model, such as learning rate, regularization parameters, etc., to optimize model performance. After multiple iterations of training and parameter adjustment, when the loss index reaches a satisfactory standard, the initial model will be confirmed as a prediction model. This process ensures the accuracy and reliability of the model, enabling it to effectively respond to security threats in the community and improve the overall security management effect.
[0084] During the simulation process, prediction results for different scenarios are generated to help the system understand how various factors interact and affect security conditions. For example, if the mapping data shows that the flow of people in a certain area has increased significantly, the prediction model may evaluate the potential impact of this change on public security incidents, so as to take preventive measures in advance. In addition, the model can also help the system evaluate the effectiveness of various security strategies by simulating different hypothetical scenarios.
[0085] Step 305: When the target event meets the preset warning conditions, the preset security rules are used to determine the digital linkage department corresponding to the target event and the security instructions corresponding to each digital linkage department.
[0086] Step 306: Send the security instructions to each digital linkage department on the digital twin platform, so that the actual linkage department corresponding to each digital linkage department executes the security plan corresponding to the security instruction.
[0087] Through the above technical solution, it can be seen that the beneficial effects of this embodiment are:
[0088] Simulation analysis not only improves the ability to identify potential events, but also provides scientific decision-making support, enabling them to take proactive intervention measures before emergencies occur. Through dynamic simulation of mapping data, the digital twin platform provides a comprehensive, real-time monitoring and analysis tool for community safety management, enhancing overall emergency response capabilities and management efficiency.
[0089] like Figure 4 As shown, another specific embodiment of the community security method based on digital twins of the present application.
[0090] In this embodiment, a community security method based on digital twins includes the following steps:
[0091] Step 401: Use the security equipment of the target community to collect security data corresponding to the target community, and send the security data to the digital twin platform corresponding to the target community.
[0092] Step 402: Use the digital twin platform to simulate and analyze the security data to determine the target event corresponding to the security data.
[0093] Step 403: When the target event meets the preset warning conditions, the preset security rules are used to determine the digital linkage department corresponding to the target event and the security instructions corresponding to each digital linkage department.
[0094] Step 404: Determine the event type and processing time limit corresponding to the target event.
[0095] The event type and processing time limit corresponding to the target event can be determined by extracting physical signs from the security data using a feature extraction algorithm to determine the security features corresponding to the security data; the security features are input into a preset analytical model so that the analytical model determines the event type and processing time limit based on the security features.
[0096] Feature extraction algorithms analyze the collected security data and identify important features and patterns. These features may include information such as the data's timestamp, environmental parameters, user behavior, and device status. Through this process, the system is able to transform raw data into more meaningful security features that provide a basis for subsequent analysis.
[0097] When security features are extracted, the system inputs these features into a preset parsing model. Parsing models are usually trained based on machine learning or data mining techniques to identify different types of events. By analyzing the input features, the parsing model can determine the nature of the event and determine the specific type of event based on existing historical data and rules. For example, if the input features show abnormal traffic or noise levels, the parsing model may identify it as an intrusion or a mob incident.
[0098] At the same time, the analytical model will also assign a corresponding processing time limit for each event. The processing time limit is determined based on the risk assessment of the event type to ensure that high-risk events can be responded to in the shortest possible time. Through this series of analysis, the system can not only quickly and accurately identify events, but also provide clear response time limit guidance, thereby helping security managers take effective measures to respond to potential threats in a timely manner. This intelligent processing method has greatly improved the efficiency and accuracy of community security management.
[0099] Step 405: Match the corresponding digital linkage department and the first instruction in a preset rule library based on the event type.
[0100] Based on the identified event type, the system will search for relevant processing procedures and instructions from the rule base, which is built through historical data analysis and covers all possible security events and their corresponding response strategies.
[0101] For example, in the case of an intrusion, the system may identify the departments that need to be coordinated, including security personnel, police, and monitoring teams, and determine the corresponding first instructions based on preset rules. These instructions may involve immediately dispatching patrol personnel to the scene, starting video surveillance playback, or sending alarms to relevant managers. In this way, the system ensures that the resources of various departments can be quickly mobilized when an incident occurs, achieving rapid response and efficient collaboration.
[0102] Step 406: Determine a security instruction based on the processing time limit and the first instruction.
[0103] The system will first analyze the event type and the corresponding first instruction, and then evaluate the urgency of the event in combination with the processing time limit. The length of the processing time limit directly affects the priority of the response measures. The system will determine the implementation strategy of each specific instruction based on this time frame.
[0104] A time limit generally refers to a time frame within which action or response measures must be taken or implemented after a specific incident occurs. This time frame is usually set based on the nature of the incident and the potential risk level. For example, for high-risk incidents such as fires, intrusions, or physical attacks, the time limit may be set within a few minutes to ensure that the situation is under control in a timely manner and the threat to residents' safety is minimized.
[0105] The length of the processing time limit directly affects the priority and response strategy of the incident. A shorter processing time limit usually means that the incident is more urgent and requires immediate action; while a longer processing time limit may be suitable for relatively low-risk incidents, such as equipment failure or environmental abnormalities, which require attention but will not immediately endanger the safety of residents. In this way, the system can not only formulate practical response strategies for different types of incidents, but also realize the rational allocation and efficient use of resources in a complex security environment.
[0106] The system combines the processing time limit with the first instruction, which is the initial response measure for a specific type of incident. For example, if the incident is an intrusion, the first instruction may include immediately notifying security personnel and activating the monitoring system. By combining the processing time limit with the first instruction, the system is able to develop more specific and actionable security instructions. These instructions not only clarify the tasks of each department, but also stipulate the time frame of the response measures to ensure that each link can be efficiently connected.
[0107] When the processing time limits overlap, the priority corresponding to each event type is determined based on the rule base; when the processing time limits overlap, the security instruction is determined based on the priority and the first instruction.
[0108] When the processing time limit overlaps, the security system needs to determine the priority of each event type through the rule base to ensure that resources and response measures can be efficiently deployed in various emergency situations. Priority is usually set based on the potential risk of the event, the scope of impact, etc. For example, events involving personal safety, such as intrusions or violent acts, are usually given the highest priority, while low-risk events such as equipment failures or environmental abnormalities are given a lower priority. In this way, the system can avoid the problem of reduced response efficiency due to scattered resources and ensure that critical events can be controlled in the shortest possible time.
[0109] Next, the system will formulate specific security instructions based on the determined priority and first instructions. For example, if an intrusion incident and equipment failure occur at the same time, the system will prioritize the intrusion incident, and the instructions may include immediately notifying security personnel and starting perimeter monitoring; while for equipment failure, the instructions may be arranged to be handled in a lower priority time frame. Through this scientific priority management mechanism, the security system can effectively dispatch resources in complex environments, improve overall response capabilities, and ensure the safety of residents and the stability of the community.
[0110] Step 407: Send the security instructions to each digital linkage department on the digital twin platform, so that the actual linkage department corresponding to each digital linkage department executes the security plan corresponding to the security instruction.
[0111] Through the above technical solution, it can be seen that the beneficial effects of this embodiment are:
[0112] It improves the accuracy of event identification and provides a basis for subsequent instruction formulation and departmental coordination. It helps the system to allocate resources reasonably and improve the efficiency of emergency response, thereby minimizing the impact of events on resident safety and community stability. Through scientific decision-making, it ensures that security management can always maintain a high degree of flexibility and effectiveness in a complex and changing environment.
[0113] like Figure 5 As shown in FIG. 1 , a specific embodiment of a community security device based on digital twins of the present application is shown. This embodiment is a community security device based on digital twins, that is, a device for executing Figures 1 to 4 A physical device of a community security method based on digital twins. Its technical solution is essentially consistent with the above embodiment, and the corresponding description in the above embodiment is also applicable to this embodiment. In this embodiment, a community security device based on digital twins includes:
[0114] The data collection module 501 is configured to collect security data corresponding to the target community using the security equipment of the target community, and send the security data to the digital twin platform corresponding to the target community;
[0115] The target event determination module 502 is configured to use the digital twin platform to perform simulation analysis on the security data to determine the target event corresponding to the security data;
[0116] The security command determination module 503 is configured to determine the digital linkage department corresponding to the target event and the security command corresponding to each digital linkage department by using the preset security rules when the target event meets the preset warning conditions;
[0117] The execution module 504 is configured to send the security instructions to each digital linkage department on the digital twin platform, so that the actual linkage department corresponding to each digital linkage department executes the security plan corresponding to the security instruction.
[0118] Figure 6 It is a structural diagram of an electronic device provided in an embodiment of the present application. At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. Among them, the memory may include a memory, such as a high-speed random access memory (Random-Access Memory, RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage, etc. Of course, the electronic device may also include hardware required for other services.
[0119] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0120] The memory is used to store execution instructions. Specifically, the execution instructions are computer programs that can be executed. The memory may include internal memory and non-volatile memory, and provides execution instructions and data to the processor.
[0121] In one possible implementation, the processor reads the corresponding execution instructions from the non-volatile memory into the memory and then runs them, and can also obtain the corresponding execution instructions from other devices to form a community security device based on digital twins at the logical level. The processor executes the execution instructions stored in the memory to implement a community security method based on digital twins provided in any embodiment of the present application through the executed execution instructions.
[0122] The above application Figure 5 The method for executing a community security device based on digital twins provided in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software. The above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The various methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0123] The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0124] The embodiment of the present application also proposes a readable medium, which stores an execution instruction. When the stored execution instruction is executed by a processor of an electronic device, the electronic device can execute a community security method based on digital twins provided in any embodiment of the present application, and is specifically used to execute the following: Figure 1 or Figure 2 or Figure 3 or Figure 4 The method shown.
[0125] The electronic device in each of the aforementioned embodiments may be a computer.
[0126] Those skilled in the art should understand that the embodiments of the present application can be provided as methods or computer program products. Therefore, the present application can adopt a complete hardware embodiment, a complete software embodiment, or a combination of software and hardware.
[0127] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0128] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0129] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A community security method based on digital twins, characterized in that: include: Using the security equipment of the target community to collect security data corresponding to the target community, and sending the security data to the digital twin platform corresponding to the target community; Using the digital twin platform to simulate and analyze the security data to determine the target event corresponding to the security data; When the target event meets the preset warning conditions, the preset security rules are used to determine the digital linkage department corresponding to the target event and the security instructions corresponding to each digital linkage department; The security instruction is sent to each of the digital linkage departments on the digital twin platform, so that the actual linkage department corresponding to each of the digital linkage departments executes the security plan corresponding to the security instruction.
2. The method according to claim 1, characterized in that The collecting of security data corresponding to the target community by using security equipment of the target community includes: Using the security equipment to collect environmental data corresponding to the target community; Determining a threshold range corresponding to the environmental data; When at least one of the environmental data is not within the threshold range, the environmental data is determined to be the security data.
3. The method according to claim 1, characterized in that The using the digital twin platform to simulate and analyze the security data to determine the target event corresponding to the security data includes: Mapping the security data to the digital twin platform to generate mapping data corresponding to the security data on the digital twin platform; The target event corresponding to the mapping data is simulated on the digital twin platform using the prediction model corresponding to the digital twin platform.
4. The method according to claim 3, characterized in that: Also includes: Determine the initial model; Determine historical data corresponding to the security data, and construct a training data set for the initial model based on the historical data; The training data set includes training features of the historical data; Determining annotation information corresponding to the training feature; The annotation information includes historical events corresponding to the training features; Inputting the training features into the initial model so that the initial model outputs a predicted event; Determining the loss index of the initial model based on a preset loss function using the predicted event and the annotation information; When the loss index does not meet the preset training conditions, adjusting the hyperparameters of the initial model; When the loss index satisfies the training condition, the initial model is determined to be the prediction model.
5. The method according to claim 1, characterized in that The method of using the preset security rules to determine the digital linkage department corresponding to the target event and the security instructions corresponding to each digital linkage department includes: Determine the event type and processing time limit corresponding to the target event; Matching the corresponding digital linkage department and the first instruction in a preset rule library based on the event type; The security instruction is determined based on the processing time limit and the first instruction.
6. The method according to claim 5, characterized in that Determining the event type and processing time limit corresponding to the target event includes: Extracting vital signs from the security data using a feature extraction algorithm to determine security features corresponding to the security data; The security feature is input into a preset parsing model so that the parsing model determines the event type and the processing time limit according to the security feature.
7. The method according to claim 5, characterized in that When the processing time limits overlap, determining the security instruction based on the processing time limits and the first instruction includes: Based on the rule base, determining the priority corresponding to each of the event types; When the processing time limits overlap, the security instruction is determined according to the priority and the first instruction.
8. A community security device based on digital twins, characterized in that: include: A data collection module is configured to collect security data corresponding to the target community using security equipment of the target community, and send the security data to a digital twin platform corresponding to the target community; a target event determination module, configured to use the digital twin platform to perform simulation analysis on the security data to determine the target event corresponding to the security data; A security command determination module is configured to determine the digital linkage department corresponding to the target event and the security command corresponding to each digital linkage department by using preset security rules when the target event meets the preset warning condition; The execution module is configured to send the security instruction to each of the digital linkage departments on the digital twin platform, so that the actual linkage department corresponding to each of the digital linkage departments executes the security plan corresponding to the security instruction.
9. A computer-readable storage medium storing a computer program, wherein the computer program is used to execute a community security method based on digital twins as described in any one of claims 1 to 7.
10. An electronic device, comprising: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement a community security method based on digital twins as described in any one of claims 1 to 7.