Crowd conflict occurrence risk assessment method and system
By detecting crowd heart rate data and using machine learning algorithms to analyze emotional characteristics and assess the risk of conflicts in public places, it solves the problem that existing technology cannot monitor the inner emotions of the crowd in real time, and improves the safety and emergency response capabilities of public places.
Patent Information
- Application Number
- CN202410701615.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-13
AI Technical Summary
Existing technology cannot monitor and evaluate the inner emotional state of people in real time, making it difficult to detect and respond to safety issues in public places in a timely manner.
By detecting the heart rate data of the crowd, time series analysis or spectrum analysis methods are used to extract heart rate change characteristics, combined with machine learning algorithms to analyze emotional characteristics, predict emotional states, assess the risk of conflict based on environmental information, and output safety signals or danger signals to initiate emergency response treatment plan.
It achieves real-time monitoring of crowd emotions and assessment of conflict risks, improves the safety and emergency response capabilities of public places, and reduces potential safety risks and the possibility of accidents.
Smart Images

Figure CN118644076A
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home technology, and in particular to a method and system for assessing the risk of crowd conflict. Background Art
[0002] In public places, such as exhibition halls, shopping malls, stations, stadiums, etc., there are large crowds and complex emotions. When there are negative emotions or potential conflicts in the crowd, if they are not discovered and appropriate measures are not taken in time, serious safety problems may occur. Therefore, real-time monitoring and early warning of crowd emotions in public places are of great significance to ensure public safety.
[0003] Currently, methods such as camera monitoring and crowd flow counting are usually used for security in public places.
[0004] However, these technologies mainly focus on appearance feature recognition and behavioral pattern analysis, and are unable to directly detect and evaluate the inner emotional state of people. Summary of the invention
[0005] The present application provides a crowd conflict risk assessment method and system to address the defect that the existing technology cannot directly detect and assess the inner emotional state of the crowd, achieve the purpose of real-time monitoring and assessment of the crowd's emotions, and improve the safety of public places.
[0006] The present application provides a method for assessing the risk of crowd conflict, including: Detect the heart rate data of people in the preset place; Based on the heart rate data, a risk assessment of crowd conflict occurring at the preset location is performed; The crowd conflict risk assessment results are graded according to preset rules to obtain the crowd conflict risk level of the preset place.
[0007] According to the crowd conflict risk assessment method provided in the present application, the step of conducting a crowd conflict risk assessment on the preset place based on the heart rate data specifically includes: Performing feature extraction on the heart rate data to obtain heart rate change features corresponding to the heart rate data; Analyzing the heart rate change characteristics to obtain emotion representation characteristics corresponding to the heart rate change characteristics; Based on the emotion expression features, predicting the emotions of people in the preset place to obtain an emotion prediction result; Based on the emotion prediction result and the environmental information of the preset place, a crowd conflict risk assessment is performed on the preset place.
[0008] According to the crowd conflict risk assessment method provided by the present application, the step of extracting features from the heart rate data to obtain the heart rate change features corresponding to the heart rate data specifically includes: A time series analysis method or a spectrum analysis method is used to extract features of the heart rate data to obtain heart rate variation features corresponding to the heart rate data.
[0009] According to the crowd conflict risk assessment method provided by the present application, the step of analyzing the heart rate change characteristics to obtain the emotion expression characteristics corresponding to the heart rate change characteristics specifically includes: Using a machine learning algorithm to perform emotional feature analysis on the heart rate change features to obtain an emotional feature vector of the people in the preset place; Based on the emotion feature vector, the emotion expression features of the people in the preset place are determined.
[0010] According to the crowd conflict risk assessment method provided in the present application, the step of conducting a crowd conflict risk assessment on the preset place specifically includes: Taking a weighted average of the emotion prediction results to obtain the overall emotional state of the crowd in the preset place; According to the environmental information of the preset place, the conflict risk level is set, wherein different conflict risk levels correspond to different conflict risk thresholds; Comparing the overall emotional state of the crowd in the preset place with the conflict risk threshold corresponding to the conflict risk level to obtain the conflict risk level of the crowd in the preset place; The crowd conflict occurrence risk level of the preset place is output as a crowd conflict occurrence risk assessment result of the preset place.
[0011] According to the crowd conflict risk assessment method provided by the present application, after the crowd conflict risk assessment is performed on the preset place, a crowd conflict risk assessment result of the preset place is obtained, and the method further includes: According to the risk assessment result of crowd conflict in the preset place, a safety signal or a danger signal is output.
[0012] According to the crowd conflict risk assessment method provided by the present application, after obtaining the crowd conflict risk level of the preset place, the method further includes: Initiate a corresponding emergency response plan based on the risk level of the crowd conflict.
[0013] According to the crowd conflict risk assessment method provided by the present application, after detecting the heart rate data of the crowd in the preset place, the method further includes: Cleaning the heart rate data to remove abnormal values and invalid data; The heart rate data are normalized to remove outliers and invalid data.
[0014] The present application also provides a crowd conflict risk assessment system, the system is used in any of the crowd conflict risk assessment methods described above, the system includes a heart rate detection unit and a data processing unit; Wherein, the heart rate detection unit is used to detect the heart rate data of people in a preset place; The data processing unit is used to evaluate the risk of crowd conflict in the preset place based on the heart rate data; The data processing unit is also used to classify the crowd conflict risk assessment results according to preset rules to obtain the crowd conflict risk level of the preset place.
[0015] According to the crowd conflict risk assessment system provided in the present application, the heart rate detection unit is a millimeter wave radar detector, and the millimeter wave radar detector is arranged in the air-conditioning system, and exchanges data with the data processing unit through the communication module of the air-conditioning system.
[0016] The present application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the crowd conflict risk assessment method as described in any one of the above items through the computer program.
[0017] The present application also provides a computer-readable storage medium, which includes a stored program, wherein when the program is run, it executes the crowd conflict risk assessment method as described in any one of the above items.
[0018] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the crowd conflict risk assessment method as described in any of the above items.
[0019] The crowd conflict risk assessment method and system provided by the present application detects the heart rate data of the crowd in a preset place, and based on the heart rate data, performs a crowd conflict risk assessment on the preset place; the crowd conflict risk assessment results are graded according to preset rules to obtain the crowd conflict risk level of the preset place, and the pedestrians' heart rate data are analyzed by real-time monitoring of the pedestrians' heart rates. Based on the analysis results of the heart rate data, a crowd conflict risk assessment is performed on the preset place, so that abnormal situations and potential risks in the preset place can be discovered in time according to the assessment results, and then corresponding emergency response plans can be taken in time to respond to and deal with potential safety risks, ensure public safety, improve the safety and emergency response capabilities of public places, and reduce the possibility of potential safety risks and accidents. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0021] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0022] Figure 1 It is a schematic diagram of the hardware environment of a crowd conflict risk assessment method according to an embodiment of the present application.
[0023] Figure 2 This is one of the flow charts of the crowd conflict risk assessment method provided in the embodiment of the present application.
[0024] Figure 3 It is one of the structural diagrams of the crowd conflict risk assessment system provided in the embodiment of the present application.
[0025] Figure 4 This is the second structural diagram of the crowd conflict risk assessment system provided in the embodiment of the present application.
[0026] Figure 5 This is the second flow chart of the crowd conflict risk assessment method provided in the embodiment of the present application.
[0027] Figure 6 It is a schematic diagram of the structure of the electronic device provided in this application. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only 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 this field without creative work should fall within the scope of protection of the present application.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0030] According to one aspect of an embodiment of the present application, a method for assessing the risk of a crowd conflict is provided. The method for assessing the risk of a crowd conflict is widely used in smart home, smart home, smart home device ecology, smart house ecology and other whole-house intelligent digital control application scenarios. Optionally, in this embodiment, the above-mentioned method for assessing the risk of a crowd conflict can be applied to Figure 1 In the hardware environment composed of the terminal device 102 and the server 104 shown in FIG. Figure 1 As shown, the server 104 is connected to the terminal device 102 via a network, and can be used to provide services (such as application services, etc.) for the terminal or a client installed on the terminal. A database can be set on the server or independently of the server to provide data storage services for the server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data computing services for the server 104.
[0031] The network may include but is not limited to at least one of the following: wired network, wireless network. The wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, local area network, and the wireless network may include but is not limited to at least one of the following: WIFI (Wireless Fidelity), Bluetooth. The terminal device 102 may be but is not limited to a PC, a mobile phone, a tablet computer, a smart air conditioner, a smart range hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing device, a smart dishwasher, a smart projection device, a smart TV, a smart clothes drying rack, a smart curtain, a smart audio and video, a smart socket, a smart speaker, a smart fresh air device, a smart kitchen and bathroom device, a smart bathroom device, a smart sweeping robot, a smart window cleaning robot, a smart mopping robot, a smart air purification device, a smart steamer, a smart microwave oven, a smart kitchen treasure, a smart purifier, a smart water dispenser, a smart door lock, etc.
[0032] In real-life applications, especially in public places, crowds have complex emotions. When there are negative emotions or potential conflicts in the crowd, if they are not discovered in time and appropriate measures are not taken, serious safety issues may arise. The camera monitoring, crowd flow statistics and other methods commonly used in the prior art mainly focus on aspects such as appearance feature recognition and behavior pattern analysis, and cannot directly detect and evaluate the inner emotional state of the crowd. For example, in a preset exhibition hall, the crowd is often dense and comes and goes frequently. Since the camera monitoring and crowd flow statistics in the above methods are delayed, they cannot reflect the real-time status of the crowd in the preset exhibition hall in real time. Therefore, it is impossible to predict and respond to crowd conflicts in real time, which limits the timeliness and accuracy of the above methods. Therefore, there is an urgent need to develop a new system that can monitor and evaluate crowd emotions in real time to improve the safety of public places.
[0033] Taking the above problems into consideration, an embodiment of the present application provides a method and system for assessing the risk of crowd conflicts. The method monitors the heart rate data of pedestrians in public places in real time, analyzes the heart rate data of pedestrians, and based on the analysis results, assesses the risk of crowd conflicts in preset places. Abnormal situations and potential risks in preset places are discovered in a timely manner according to the assessment results.
[0034] In some possible embodiments, the present application provides a method for assessing the risk of crowd conflict. Figure 2 FIG. 1 is one of the flow charts of the crowd conflict risk assessment method provided in the embodiment of the present application; Figure 2 As shown in Figure 2, the crowd conflict risk assessment methods include: Step 210, detecting heart rate data of people in a preset place; Step 220: Based on the heart rate data, a crowd conflict risk assessment is performed on the preset place; Step 230: Classify the crowd conflict risk assessment results according to preset rules to obtain the crowd conflict risk level of the preset place.
[0035] The above steps are described in detail below in conjunction with specific embodiments.
[0036] In some possible implementation schemes, after detecting the heart rate data of the people in the preset place, the present scheme further includes: Cleaning the heart rate data to remove abnormal values and invalid data; The heart rate data are normalized to remove outliers and invalid data.
[0037] Specifically, this embodiment provides an implementation method for preprocessing the heart rate data after obtaining the heart rate data of people in a preset place. The process of preprocessing the heart rate data is not limited to cleaning the collected original heart rate data, removing abnormal values and invalid data, normalizing the heart rate data after removing abnormal values and invalid data, and converting the heart rate data into a unified numerical range for subsequent processing. The specific preprocessing process can be determined according to the quality of the acquired heart rate data, and this application does not make more specific restrictions on the preprocessing process.
[0038] In some specific embodiments, the step of assessing the risk of crowd conflict in the preset place based on the heart rate data specifically includes: Performing feature extraction on the heart rate data to obtain heart rate change features corresponding to the heart rate data; Analyzing the heart rate change characteristics to obtain emotion representation characteristics corresponding to the heart rate change characteristics; Based on the emotion expression features, predicting the emotions of people in the preset place to obtain an emotion prediction result; Based on the emotion prediction result and the environmental information of the preset place, a crowd conflict risk assessment is performed on the preset place.
[0039] In a possible embodiment, the step of performing feature extraction on the heart rate data to obtain heart rate change characteristics corresponding to the heart rate data specifically includes performing feature extraction on the heart rate data using a time series analysis method or a spectrum analysis method to obtain heart rate change characteristics corresponding to the heart rate data.
[0040] Specifically, time series analysis, spectrum analysis and other methods are used to extract features related to emotional state and conflict risk from heart rate data, such as heart rate change amplitude, change trend, heart rate variability, etc.
[0041] In some possible embodiments, the step of analyzing the heart rate variation feature to obtain the emotion representation feature corresponding to the heart rate variation feature specifically includes: Using a machine learning algorithm to perform emotional feature analysis on the heart rate change features to obtain an emotional feature vector of the people in the preset place; Based on the emotion feature vector, the emotion expression features of the people in the preset place are determined.
[0042] In a possible embodiment, the emotion recognition and sentiment analysis technology used in this application is a research hotspot in the current field of artificial intelligence. This technology can determine a person's emotional state and emotional tendency by analyzing data such as text, voice, and images. For example, in the security monitoring and management of public places, emotion recognition and sentiment analysis technology can be used to promptly detect abnormal behavior or emotional state, and take appropriate measures to intervene or respond.
[0043] In the embodiment of the present application, the above emotion prediction process can be regarded as a model training process.
[0044] First, a mood prediction model can be established using data mining and machine learning algorithms such as support vector machine (SVM), decision tree, random forest, etc.; the preset sample heart rate change characteristics are used as input, and the emotional state and conflict risk corresponding to the sample heart rate change characteristics are used as output, and a model that can predict the emotional state and conflict risk based on the heart rate change characteristics is obtained through training; On this basis, the heart rate variation features extracted in the above embodiment can be input into the trained model to obtain the pedestrian's emotional state prediction result.
[0045] Furthermore, the emotional states of pedestrians are classified and evaluated, such as nervous, excited, calm, happy, etc.
[0046] On the basis of the above embodiment, the step of conducting crowd conflict risk assessment on the preset place specifically includes: Taking a weighted average of the emotion prediction results to obtain the overall emotional state of the crowd in the preset place; According to the environmental information of the preset place, the conflict risk level is set, wherein different conflict risk levels correspond to different conflict risk thresholds; Comparing the overall emotional state of the crowd in the preset place with the conflict risk threshold corresponding to the conflict risk level to obtain the conflict risk level of the crowd in the preset place; The crowd conflict occurrence risk level of the preset place is output as a crowd conflict occurrence risk assessment result of the preset place.
[0047] In a possible embodiment, the conflict risk assessment adopted by the present application is a process of evaluating and predicting potential conflicts and crises. This method usually needs to consider multiple factors, such as historical conflict events, cultural background, socioeconomic conditions, etc. In the security monitoring and management of public places, the conflict risk assessment method can be used to judge the overall emotional state and potential conflict risk level of public places, so as to adopt corresponding emergency response plans.
[0048] Specifically, the possible conflict risk of pedestrians can be evaluated based on the emotional state of pedestrians and information about the surrounding environment, combined with the prediction results of the emotion prediction model.
[0049] Optionally, different conflict risk levels may be set according to historical data and actual conditions, such as low risk, medium risk and high risk.
[0050] Optionally, after the crowd conflict risk assessment is performed on the preset place, a crowd conflict risk assessment result of the preset place is obtained, and the method further includes: According to the risk assessment result of crowd conflict in the preset place, a safety signal or a danger signal is output.
[0051] In some possible implementation schemes, after the crowd conflict risk level of the preset place is obtained, a corresponding emergency response plan may be initiated according to the crowd conflict risk level.
[0052] In a possible embodiment, a corresponding emergency response plan and trend analysis are initiated according to the conflict risk assessment result; and corresponding security personnel are notified or an emergency response plan is initiated according to the emergency response plan.
[0053] In some possible embodiments, a crowd conflict risk assessment system is further provided, and the system is used in the crowd conflict risk assessment method provided in any of the above embodiments. Figure 3 is one of the structural diagrams of the crowd conflict risk assessment system provided in the embodiment of the present application, such as Figure 3 As shown, the crowd conflict risk assessment system provided by the present application includes a heart rate detection unit and a data processing unit; Wherein, the heart rate detection unit 31 is used to detect the heart rate data of people in a preset place; The data processing unit 32 is used to perform crowd conflict risk assessment on the preset place based on the heart rate data; the data processing unit 32 is also used to grade the crowd conflict risk assessment results according to preset rules to obtain the crowd conflict risk level of the preset place.
[0054] In a possible embodiment, still refer to Figure 3, the crowd conflict risk assessment system provided by the present application further includes an alarm unit 33; The alarm unit 33 is used to receive the crowd conflict risk assessment result and the crowd conflict risk level of the preset place output by the data processing unit, and activate the corresponding emergency response plan according to the crowd conflict risk level.
[0055] In a possible embodiment, the heart rate detection unit is a millimeter wave radar detector, and the millimeter wave radar detector can be installed on the air conditioning equipment in the public area as the heart rate detection unit.
[0056] In a possible embodiment, the millimeter wave radar detector may be arranged in the air-conditioning system, and perform data exchange with the data processing unit through the communication module of the air-conditioning system to detect the heart rate of pedestrians.
[0057] Specifically, this embodiment provides an implementation method of a crowd conflict risk assessment system. Millimeter-wave radar is a high-frequency electromagnetic wave with high directionality and penetration ability, and is commonly used in military, aviation, transportation and other fields. In terms of human body monitoring, millimeter-wave radar can be used to detect vital signs such as human breathing and heartbeat, and has the advantages of non-contact, high precision, real-time, good directionality, wide bandwidth, and strong anti-interference ability. Because the wavelength of the millimeter-wave radar detector is longer, it can be used to detect moving objects and speeds, and can effectively penetrate clothing to perform non-contact vital sign detection on the human body. At the same time, the millimeter-wave radar detector also has the advantages of small size, light weight, low power consumption, etc., which is easy to install and use. In this embodiment, the existing communication system of the central air-conditioning system can be used without hardware modification.
[0058] In a possible embodiment, the millimeter wave radar detector measures the heart rate by transmitting a signal and receiving the reflected signal. In order to obtain accurate heart rate data, it is necessary to ensure the stability of the signal reflection. This can be achieved by selecting a suitable reflective object and adjusting the transmit power and receiving sensitivity of the radar detector. The millimeter wave radar detector calculates the distance and speed by measuring the round-trip time of the signal. Therefore, accurate time measurement is the key to ensure the accuracy of heart rate measurement. High-precision time measurement technology, such as a time-to-digital converter (TDC) or a high-precision clock, can be used to improve the accuracy of time measurement.
[0059] Based on the above embodiments, the application of millimeter wave radar detectors in public areas is more advantageous. Due to its long wavelength, the millimeter wave radar detector can detect the movement and speed of pedestrians, so that the heart rate of pedestrians can be monitored in real time. The cost of such a detector may be low and can be widely used in public areas such as shopping malls, stations, etc. In addition, the millimeter wave radar detector can also monitor multiple pedestrians at the same time, providing more comprehensive public area security monitoring.
[0060] Furthermore, since pedestrian activities may cause interference and noise in the signal, filtering and signal processing are required to extract useful heart rate information. The signal can be processed by digital filters, frequency domain analysis, wavelet transform and other methods to reduce the impact of interference and noise. To ensure the accuracy and reliability of the millimeter wave radar, calibration and calibration are required. This can be done by comparing with known heart rate data (such as electrocardiogram or pulse meter data) or by high-precision test equipment in the laboratory. Since pedestrian activities may cause changes and interference in the signal, the algorithm needs to be optimized in real time to adapt to these changes. The algorithm can be optimized by adaptive filtering, machine learning and other methods to improve the accuracy and robustness of heart rate measurement.
[0061] In possible embodiments, the public safety and emergency management adopted in this application is a comprehensive research field involving multiple fields and disciplines. This field focuses on how to take effective measures to protect the safety of life and property of the public and maintain social stability when disasters or emergencies occur. In the security monitoring and management of public places, public safety and emergency management can provide technical guidance and technical support to help formulate more scientific and reasonable emergency response plans.
[0062] Specifically, in the embodiment of the present application, an alarm unit may be provided, and the alarm unit may send a corresponding signal according to the conflict risk level obtained through analysis, so that the relevant departments may initiate the corresponding emergency response plan. For example, when the risk level is low, regular security personnel may be notified to conduct patrols; when the risk level is high, special police or security management personnel may be notified to intervene; when the risk level is very high, an emergency response plan may be initiated to evacuate the crowd.
[0063] The crowd conflict risk assessment system provided by the present application, in terms of real-time monitoring and early warning, by using a millimeter wave radar detector, the system can monitor the heart rate of pedestrians in public places in real time, and promptly detect abnormal situations and potential risks, which helps security personnel or managers take appropriate measures to intervene or respond in the first place, thereby avoiding further expansion and deterioration of the situation; in terms of emotional state and conflict risk assessment, the system can conduct in-depth analysis of pedestrian heart rate data, judge the emotional state of pedestrians, and assess the conflict risk level. This helps security personnel or managers better understand the public's emotional state and potential conflicts, so as to take more accurate and effective measures to intervene or respond; in terms of improving emergency response capabilities, the system can activate the corresponding emergency response plan based on the conflict risk level analyzed by the data processing unit, thereby improving the emergency response capabilities of security personnel or managers, enabling them to quickly respond to and deal with potential safety risks and ensure public safety; in terms of improving the safety of public places, through the crowd conflict risk assessment system provided by the present application, it is possible to better understand the emotional state and potential conflicts in public places, take appropriate emergency response plans, and reduce the possibility of potential safety risks and accidents. This helps to improve the safety of public places and the satisfaction of the public, and provides better working conditions and results for security personnel or managers.
[0064] In summary, the advantages of this application include real-time monitoring and early warning, emotional state and conflict risk assessment, improved emergency response capabilities and improved safety in public places. The above advantages are helpful to ensure public safety and improve the management level of public places.
[0065] It is worth noting that the crowd conflict risk assessment system provided in the embodiment of the present application has similar implementation principles and beneficial effects as the crowd conflict risk assessment method shown in the above embodiment. The specific implementation process of the crowd conflict risk assessment method described in the above embodiment includes, after receiving the heart rate data of the crowd in the preset place, cleaning the heart rate data, removing abnormal values and invalid data, and normalizing the heart rate data after the abnormal values and invalid data are removed; based on the heart rate data, assessing the risk of conflict among the crowd in the preset place; extracting features from the heart rate data to obtain the heart rate data; The process of obtaining the heart rate change characteristics corresponding to the data, the process of analyzing the heart rate change characteristics to obtain the emotion expression characteristics corresponding to the heart rate change characteristics, the process of evaluating the conflict risk of the crowd in the preset place, and after obtaining the conflict risk assessment result of the crowd in the preset place, the process of outputting a safety signal or a danger signal according to the conflict risk assessment result of the crowd in the preset place, etc. are all applicable to the crowd conflict risk assessment system provided in the embodiment of the present application. Therefore, the implementation principles and beneficial effects of the crowd conflict risk assessment method and the crowd conflict risk assessment system shown in the above embodiments can be referenced to each other, and will not be repeated here.
[0066] In any of the above embodiments of the present application, the millimeter wave radar detector can use a millimeter wave radar technology product; the data processing unit can use data processing and analysis software; the alarm unit can use an alarm device and a planning task software. The entire system can connect various parts through a network to achieve functions such as data transmission and processing and alarm notification.
[0067] On the basis of the above-mentioned embodiment, the data processing and analysis and decision-making functions of the data processing unit in the above-mentioned crowd conflict risk assessment system can be implemented by using the data acquisition and storage unit and the analysis and decision-making unit respectively. Based on this concept, in some possible implementation schemes, another crowd conflict risk assessment system is provided. Figure 4 2 is a schematic diagram of the structure of the crowd conflict risk assessment system provided in the embodiment of the present application; Figure 4 As shown, the crowd conflict risk assessment system includes: A millimeter wave radar detector 41 is used to detect the heart rate of pedestrians in public areas; The data acquisition and storage unit 42 is used to receive and store the heart rate data sent by the millimeter wave radar detector; An analysis and decision unit 43, configured to process the collected and stored heart rate data, analyze the data processing results, and predict the emotional state and conflict risk level based on the analysis results; The alarm 44 is used to output an alarm signal according to the conflict risk level to initiate a corresponding emergency response plan.
[0068] In this embodiment, the millimeter wave radar detector can use millimeter wave radar technology products; the data acquisition and storage unit can use data storage; the analysis and decision unit can use data processing and analysis software; the alarm can use alarm equipment and planning task software. The entire system can connect various parts through a network to achieve functions such as data transmission and processing and alarm notification.
[0069] Based on the above embodiment, in another specific embodiment, Figure 5 As shown, Figure 5 This is the second flow diagram of the crowd conflict risk assessment method provided in the embodiment of the present application. The crowd conflict risk assessment method provided in the embodiment of the present application can be applied to various public places, such as exhibition halls, shopping malls, stations, stadiums, etc. In the embodiment, it is assumed that we install millimeter wave radar detectors and data processing units at each air-conditioning outlet of a large exhibition hall, and connect the alarm unit through the network. The specific implementation process of the crowd conflict risk assessment method provided in the embodiment of the present application includes: Step 510: Human body detection: In this step, a millimeter wave radar detector is used to detect the heart rate of pedestrians in public areas.
[0070] Specifically, millimeter-wave radar has the ability to penetrate clothing and detect human vital signs without contact. It also has the advantages of small size, light weight, low power consumption, and is easy to install and use. By installing millimeter-wave radar detectors on lamps or air-conditioning equipment in public areas, pedestrians' heart rates can be monitored in real time, thereby promptly detecting abnormal situations and potential risks.
[0071] Step 520: Data reception: In this step, a data processing unit is configured to receive the heart rate data sent by the millimeter wave radar detector.
[0072] Step 530: Data analysis: In this step, the data processing unit uses data mining, machine learning and other algorithms based on the heart rate data to perform sentiment analysis and conflict risk assessment.
[0073] Specifically, the data processing unit receives and analyzes the heart rate data of pedestrians detected by the millimeter wave radar detector. Based on the heart rate data, the emotional state of the pedestrians can be judged and the conflict risk level can be evaluated. By taking a weighted average of the heart rate data of multiple pedestrians, the overall emotional state and conflict risk level of the current area can be obtained.
[0074] In a possible embodiment, the emotional state of the pedestrian corresponding to the heart rate data may be pre-set to a first threshold range, a second threshold range, a third threshold range and a fourth threshold range. The heart rate values corresponding to the first threshold range, the second threshold range, the third threshold range and the fourth threshold range increase step by step. The first threshold range and the second threshold range are set as heart rate ranges with relatively normal emotions, and the third threshold range and the fourth threshold range are set as heart rate ranges with relatively abnormal emotions. It can be understood that the setting of the threshold range can be pre-set according to the actual application scenario. For example, in places with a high security level, the abnormal situation threshold can be set to a situation slightly larger than the normal heart rate range. For example, in some debates, performances or sports occasions where pedestrians need to be emotionally excited, the abnormal situation threshold can be set to a situation exceeding a certain range of the normal heart rate. The embodiments of the crowd conflict risk assessment system and method provided in the present application are all considered to be assessments performed under the normal physiological heart rate conditions of the human body. In a specific place, the set heart rate threshold range can be changed to complete the crowd conflict risk assessment for the specific place. Therefore, any embodiment of the present application is also applicable to the crowd conflict risk assessment in various specific scenarios. The present application does not specifically limit the heart rate threshold range for judging the emotional state.
[0075] In a possible embodiment, for example, in an exhibition hall with dense pedestrians, as shown in Table 1, the first threshold range can be set to a heart rate of 60 to 70 beats / minute, the second threshold range can be set to a heart rate of 70 to 80 beats / minute, the third threshold range can be set to a heart rate of 85 to 90 beats / minute, and the fourth threshold range can be set to a heart rate greater than 90 beats / minute. If the heart rate data of the crowd in the exhibition hall is detected to be 72 beats / minute by the data detection unit, the data processing unit will determine that the pedestrian's emotions are in a normal state; if the heart rate data of the crowd in the exhibition hall is detected to be greater than 86 beats / minute, the data processing unit will determine that the pedestrian's emotions are in an abnormal state; when the heart rate data exceeds 90 beats / minute, the data processing unit will determine that the pedestrian's emotions are in a highly dangerous state.
[0076] Table 1 Heart rate mood 60-70 times / min Represents a relaxed, calm or happy mood 70-80 times / min It means that the mood is relatively stable, neither particularly tense nor particularly relaxed. 85-90 times / min Indicates excitement, tension or anxiety More than 90 times / min Indicates that the emotions are tense, excited or anxious In a possible embodiment, the data processing unit is further configured to perform weighted averaging on the heart rate data of multiple pedestrians to obtain the overall emotional state and conflict risk level of the current area.
[0077] It is worth noting that some diseases may also cause an increased heart rate, such as heart disease, hypertension, anemia, etc. The method provided in this application monitors people in public places and does not exclude diseases in large crowds as individual cases.
[0078] Step 540: Notification.
[0079] Initiate emergency response plan: Based on the conflict risk level analyzed by the data processing unit, the alarm unit can initiate the corresponding emergency response plan. This includes notifying regular security personnel to conduct inspections, notifying special police or security management personnel to intervene, and initiating emergency response plans for evacuation. By adopting the corresponding emergency response plan, potential security risks can be responded to and handled in a timely manner to ensure public safety.
[0080] Through the crowd conflict risk assessment system and risk assessment method provided by the embodiment of the present application, the millimeter wave radar detector is used for real-time monitoring and data analysis, which can monitor the heart rate of pedestrians in public places in real time, judge their emotional state and conflict risk level, evaluate the emotional state and conflict risk of public places, and initiate corresponding emergency response plans based on the evaluation results, so as to adopt corresponding emergency response plans to ensure public safety, improve the safety and emergency response capabilities of public places, and reduce potential safety risks and the possibility of accidents. At the same time, the use of millimeter wave radar detectors also makes the system and method of the present application more concealed and flexible, which is more conducive to safety monitoring and management in public places.
[0081] Specifically, in the above embodiments, by installing cameras and video surveillance systems in public places, the behavior and emotional state of pedestrians can be observed and recorded in real time. By analyzing video images, abnormal behavior or emotional state can be found, and corresponding measures can be taken in time to intervene or respond. By using crowd flow statistics technology, the flow of people in public places can be monitored in real time, including the number, speed, direction, etc. of pedestrians. This helps security personnel or managers to better understand the degree of crowding and potential risks in public places, so as to take corresponding measures to manage and guide. By monitoring the speech and emotions on social media platforms, the public's satisfaction and emotional state with public places can be understood. This helps security personnel or managers to discover potential conflicts and dissatisfaction in time, so as to take corresponding measures to intervene or respond. By strengthening the patrol intensity and frequency of security personnel, abnormal behavior or emotional state can be discovered in time, and corresponding measures can be taken to intervene or respond. This requires security personnel to have a high degree of vigilance and professionalism, as well as familiarity with public places and emergency response capabilities.
[0082] The crowd conflict risk assessment method and system provided in the present application monitors the heart rate data of the crowd in real time, and based on the analysis of the heart rate data, assesses the emotional state and conflict risk in public places, and initiates corresponding emergency response plans based on the assessment results to improve the safety and emergency response capabilities of public places.
[0083] Figure 6 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 6As shown, the electronic device may include: a processor 610, a communication interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communication interface 620 and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute a crowd conflict risk assessment method, the method comprising: detecting the heart rate data of the crowd in a preset place; based on the heart rate data, assessing the crowd conflict risk of the preset place; and grading the crowd conflict risk assessment results according to preset rules to obtain the crowd conflict risk level of the preset place.
[0084] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.
[0085] On the other hand, the present application also provides a computer program product, which includes a computer program. The computer program can be stored on a computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the crowd conflict risk assessment method provided by the above-mentioned methods, and the method includes: detecting the heart rate data of a crowd in a preset place; based on the heart rate data, performing a crowd conflict risk assessment on the preset place; and grading the crowd conflict risk assessment results according to preset rules to obtain the crowd conflict risk level of the preset place.
[0086] On the other hand, the present application also provides a computer-readable storage medium, which includes a stored program, wherein the program, when running, executes the crowd conflict risk assessment method provided by the above-mentioned methods, the method including: detecting heart rate data of a crowd in a preset place; based on the heart rate data, performing a crowd conflict risk assessment on the preset place; and grading the crowd conflict risk assessment results according to preset rules to obtain the crowd conflict risk level of the preset place.
[0087] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0088] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0089] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for assessing the risk of crowd conflict, characterized in that: include: Detect the heart rate data of people in the preset place; Based on the heart rate data, a risk assessment of crowd conflict occurring at the preset location is performed; The crowd conflict risk assessment results are graded according to preset rules to obtain the crowd conflict risk level of the preset place.
2. The crowd conflict risk assessment method according to claim 1, characterized in that: The step of conducting a crowd conflict risk assessment on the preset place based on the heart rate data specifically includes: Performing feature extraction on the heart rate data to obtain heart rate change features corresponding to the heart rate data; Analyzing the heart rate change characteristics to obtain emotion representation characteristics corresponding to the heart rate change characteristics; Based on the emotion expression characteristics, predict the emotions of people in the preset place to obtain an emotion prediction result; Based on the emotion prediction result and the environmental information of the preset place, a crowd conflict risk assessment is performed on the preset place.
3. The crowd conflict risk assessment method according to claim 2, characterized in that: The step of extracting features from the heart rate data to obtain heart rate variation features corresponding to the heart rate data specifically includes: A time series analysis method or a spectrum analysis method is used to extract features of the heart rate data to obtain heart rate variation features corresponding to the heart rate data.
4. The crowd conflict risk assessment method according to claim 2, characterized in that: The step of analyzing the heart rate change feature to obtain the emotion representation feature corresponding to the heart rate change feature specifically includes: Using a machine learning algorithm to perform emotional feature analysis on the heart rate change characteristics to obtain an emotional feature vector of the people in the preset place; Based on the emotion feature vector, the emotion expression characteristics of the people in the preset place are determined.
5. The crowd conflict risk assessment method according to claim 2, characterized in that: The step of conducting crowd conflict risk assessment on the preset place specifically includes: Taking a weighted average of the emotion prediction results to obtain the overall emotional state of the crowd in the preset place; According to the environmental information of the preset place, the conflict risk level is set, wherein different conflict risk levels correspond to different conflict risk thresholds; Comparing the overall emotional state of the crowd in the preset place with the conflict risk threshold corresponding to the conflict risk level to obtain the conflict risk level of the crowd in the preset place; The crowd conflict occurrence risk level of the preset place is output as a crowd conflict occurrence risk assessment result of the preset place.
6. The method for assessing the risk of crowd conflict according to any one of claims 1 to 5, characterized in that: After the crowd conflict risk assessment is performed on the preset place, a crowd conflict risk assessment result of the preset place is obtained, and the method further includes: According to the risk assessment result of crowd conflict in the preset place, a safety signal or a danger signal is output.
7. The method for assessing the risk of crowd conflict according to any one of claims 1 to 5, characterized in that: After obtaining the crowd conflict risk level of the preset place, the method further includes: Initiate a corresponding emergency response plan based on the risk level of the crowd conflict.
8. The crowd conflict risk assessment method according to claim 1, characterized in that: After detecting the heart rate data of people in the preset place, the method further includes: Cleaning the heart rate data to remove abnormal values and invalid data; The heart rate data are normalized to remove outliers and invalid data.
9. A crowd conflict risk assessment system, characterized in that: The system is used for the crowd conflict risk assessment method according to any one of claims 1 to 8, and the system comprises a heart rate detection unit, a data processing unit and an alarm unit; wherein the heart rate detection unit is used to detect the heart rate data of the crowd in the preset place; The data processing unit is used to perform a crowd conflict risk assessment for the preset place based on the heart rate data; the data processing unit is also used to grade the crowd conflict risk assessment results according to preset rules to obtain the crowd conflict risk level for the preset place.
10. The crowd conflict risk assessment system according to claim 9, characterized in that: The heart rate detection unit is a millimeter wave radar detector, which is arranged in the air conditioning system and exchanges data with the data processing unit through the communication module of the air conditioning system.
