AI-based campus student risk early warning method and system
AI technology is used to analyze students' social media comments and campus monitoring data to identify abnormal behaviors and bullying risks, solving the problem of the existing monitoring system being unable to provide effective early warning, and improving the efficiency and accuracy of campus safety management.
Patent Information
- Application Number
- CN202411233872.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-09-04
AI Technical Summary
The existing campus monitoring system cannot effectively warn potential students of bullying risks, is inefficient and prone to missed or false positives.
Adopt an AI-based early warning method for student risks on campus, by obtaining student social media speech data, behavior recognition technology and campus surveillance videos, combined with long-short-term memory network algorithms to identify abnormal trajectories, analyze emotional states and the probability of bullying-prone areas, and provide management guidance Send warning messages to personnel.
It achieves accurate identification and timely warning of abnormal student behavior, improves the efficiency and accuracy of campus security management, reduces false alarms, and ensures student safety.
Smart Images

Figure CN118747607A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of campus safety management, and in particular to an AI-based on-campus student risk early warning method and system. Background Art
[0002] At present, campus safety issues are increasingly receiving attention, especially bullying among students. Although existing monitoring systems are widely used in campuses, traditional monitoring systems can only provide real-time images and cannot effectively warn of potential risks.
[0003] The existing campus monitoring system mainly relies on manual monitoring. When an abnormal situation occurs, the monitoring personnel need to find and deal with it in time. This method is inefficient and prone to missed reports or false reports. Summary of the invention
[0004] In order to achieve automatic and accurate analysis of student behavior by combining AI technology and multiple verification mechanisms, and improve the efficiency and accuracy of campus safety management, the present application provides an AI-based campus student risk warning method and system.
[0005] In the first aspect, the present application provides an AI-based on-campus student risk warning method, which adopts the following technical solutions: An AI-based on-campus student risk early warning method, comprising: Obtain data on students’ public comments on social media; According to the preset sensitive topic keywords and phrase lists, we filter out the speeches related to sensitive topics from the public speech data, and at the same time, we use the behavior recognition technology to detect whether the students' speeches contain potential abnormal behavior signals; When sensitive topics and / or abnormal behavior signals are detected, the surveillance video of the corresponding students on campus within the preset time range is retrieved; According to the retrieved surveillance video, the movement trajectory and stop points of students on campus are automatically tracked and recorded. And use the long short-term memory network algorithm to identify students' regular movement patterns and detect abnormal trajectories that do not match the regular pattern; When an abnormal trajectory that does not match the normal movement pattern is detected, the time period in which the abnormality occurs is recorded, the surveillance video of the corresponding time period is retrieved, and the specific location and time of the student's abnormal reaction is analyzed and determined based on the preset abnormal reaction behavior; Based on the specific locations where students have abnormal reactions determined through analysis, all locations where abnormal reactions are detected are marked on the map, and it is analyzed whether the probability that the marked locations fall into the preset areas where bullying incidents frequently occur exceeds the preset probability; If yes, the warning information is sent to the terminal held by the administrator, and the marked location falling into the preset area where bullying incidents frequently occur is sent together with the student's speech information to the terminal held by the administrator; If no, no notification will be made.
[0006] By adopting the above technical solutions, the AI campus student risk warning method integrates social media monitoring, behavior recognition and campus monitoring analysis, and can accurately identify student anomalies. By capturing sensitive remarks and potential abnormal behaviors on social media, combined with campus surveillance videos, it can intelligently track student trajectories and promptly detect abnormal dynamics that do not conform to normal patterns. After detecting an anomaly, the system can quickly determine the risk area. Once the risk is confirmed, it will immediately send an early warning and detailed information to the management personnel for a quick response. This method has greatly improved the efficiency of campus security management and provided strong protection for student safety.
[0007] Optionally, when a sensitive topic and / or abnormal behavior signal is detected, the surveillance video of the corresponding student on campus within a preset time range is retrieved, including: Analyze whether sensitive topics and abnormal behaviors are detected at the same time; If yes, the first time range is used as the adjacent preset time range; If not, the second time range is used as the adjacent preset time range, wherein the time interval included in the second time range is smaller than the time interval included in the first time range; Retrieve surveillance videos of corresponding students on campus within a preset time range.
[0008] By adopting the above technical solutions, the accuracy and efficiency of campus security management are improved by intelligently analyzing sensitive topics and abnormal behaviors and dynamically determining the time range for retrieving surveillance videos. When sensitive topics and abnormal behaviors are detected at the same time, a larger first time range is used to more comprehensively trace the events; if only one of them is detected, a more accurate second time range is used to reduce unnecessary surveillance retrieval. This flexible adjustment strategy helps to quickly lock in key information, respond to potential risks in a timely manner, and protect student safety.
[0009] Optionally, the method further includes a step after analyzing whether the probability of the marked location falling into a preset area where bullying incidents frequently occur exceeds a preset probability, which is as follows: If the probability that the marked location falls into the preset area where bullying incidents frequently occur is less than the preset probability, Based on the students' public speech data on social media, the preset student abnormal behavior database is analyzed to see whether there is relevant data matching the time and location when the students expressed negative emotions or mentioned bullying incidents on social media. The student abnormal behavior database includes the specific location and time when the students had abnormal reactions; If yes, jump to the step of sending the warning information to the management personnel; If not, keep the original setting.
[0010] By adopting the above technical solutions, the accuracy and foresight of the school bullying early warning system have been further improved. By combining location analysis and social media speech data, the system can more comprehensively assess the risks faced by students. When the marked location does not match the area where bullying occurs frequently, the system will intelligently search the database of abnormal student behavior to find other possible early warning signals. This double verification mechanism helps to reduce false alarms and respond quickly when potential bullying behavior is detected to ensure student safety. This move effectively improves the reliability and response speed of the early warning system.
[0011] Optionally, the method further includes a step after analyzing whether the probability of the marked location falling into a preset area where bullying incidents frequently occur exceeds a preset probability, which is as follows: If the probability that the marked location falls into the preset area where bullying incidents frequently occur is less than the preset probability, Then, the camera device uses an emotional state analysis algorithm to analyze whether the student's emotional state falls into a preset abnormal emotional state database according to the specific location and time of the student's abnormal reaction; If yes, then analyze and obtain the probability of the number of times the student's emotional state falls into the preset abnormal emotional state database; According to the probability of the proportion of the number of times and the probability that the marked location falls into the preset area where bullying incidents frequently occur, as well as the weights of different probability categories, the effective probability is analyzed and obtained, and the effective probability is compared with the preset probability; If the effective probability exceeds the preset probability, jump to the step of sending the warning information to the management personnel; Otherwise, the original settings are maintained.
[0012] By adopting the above technical solutions, the intelligence and accuracy of the campus bullying early warning system have been further improved. By introducing cameras and emotional state analysis algorithms, the system can monitor students' emotional states in real time and provide richer data support for early warning. Comprehensive analysis of the location, emotional state and frequency ratio probability makes the early warning judgment more accurate. This multi-dimensional and dynamic risk assessment mechanism helps to detect potential bullying risks in a timely manner and respond effectively, thereby better protecting students' mental health and campus safety.
[0013] Optionally, the method further includes sending the warning information to the terminal held by the administrator, and sending the marked location of the preset area where bullying incidents frequently occur and the student's speech information to the terminal held by the administrator in parallel, as follows: Obtain relevant time matching of future time nodes and locations of students’ mentions of bullying incidents on social media; Preset the time interval in advance at the future time node, and obtain the movement trajectory of the students through the camera device; If the degree of overlap between the student's moving trajectory and one of the moving trajectories to the target location reaches a preset degree of overlap, an early warning message will be sent to the terminal held by the administrator.
[0014] By adopting the above technical solutions, combined with social media information and real-time monitoring, a forward-looking campus bullying early warning mechanism is realized. By analyzing students' comments on social media, the time and location of possible bullying incidents are predicted, and then the movement trajectory of students is monitored in real time through the camera device. Once the student's movement trajectory is highly overlapped with the predicted movement trajectory of the target location, the system immediately sends an early warning message to the administrator. This method not only improves the accuracy and timeliness of the early warning, but also helps administrators intervene in time, effectively prevent the occurrence of bullying incidents, and protect the safety of students.
[0015] Optionally, obtaining the preset overlap degree includes: While monitoring and acquiring the student's movement trajectory through a camera device, an emotional state analysis algorithm is used to analyze whether the student's emotional state falls into a preset abnormal emotional state database; If not, the first overlap degree is used as the preset overlap degree; If yes, the second overlap is used as the preset overlap, wherein the second overlap is smaller than the first overlap.
[0016] By adopting the above technical solution, a dynamic adjustment mechanism is added to the preset overlap setting through emotional state analysis, which improves the flexibility and accuracy of the early warning system. When the student's emotional state is normal, the system uses a higher first overlap to reduce false alarms; once the student's emotional abnormality is detected, the system automatically lowers the overlap standard, that is, uses the second overlap, which makes it easier to trigger the early warning and ensure that managers can promptly discover and intervene in potential bullying incidents. This intelligent adjustment strategy makes the early warning system more in line with the actual situation and effectively improves the management level of campus safety.
[0017] Optionally, the method further includes steps after sending the warning information to the terminal held by the manager, which are as follows: Analyze whether there is a sound propagation device within a preset distance range of the position point included in the movement trajectory moving to the target location with a preset overlap degree; If yes, when the student reaches the location point that meets the condition, the sound propagation device is activated to broadcast the voice information that there is a risk ahead of the student. The location point that meets the condition is that there is a sound propagation device within the preset distance range; Analyze whether the student no longer moves along the target moving trajectory after receiving the voice information sent by the sound transmission device, the target moving trajectory being a moving trajectory to the target location with a coincidence degree reaching a preset coincidence degree; If yes, a blocking success message will be sent to the terminal held by the administrator; If not, a message is sent advising administrators to arrive immediately at the location of the bullying incident.
[0018] By adopting the above technical solution, the sound transmission device can remind students of the potential risks ahead in real time, providing students with immediate protection measures. When students approach a location where bullying may occur, the system will activate the sound transmission device to broadcast risk warnings, which helps students to promptly realize changes in the surrounding environment and take corresponding precautions. At the same time, the system will also feedback the effectiveness of preventing bullying incidents to the management personnel based on the students' reactions, so that the management personnel can quickly make further handling. This intelligent early warning and prevention mechanism has greatly enhanced the efficiency and effectiveness of campus safety management.
[0019] In the second aspect, the present application provides an AI-based campus student risk warning system, which adopts the following technical solutions: An AI-based campus student risk warning system includes a memory, a processor, and a program stored in the memory and executable on the processor. The program can be loaded and executed by the processor to implement the AI-based campus student risk warning method as described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a flow chart of an AI-based on-campus student risk warning method according to an embodiment of the present application.
[0021] Figure 2 This is a flowchart of another embodiment of the present application for retrieving surveillance videos of corresponding students on campus within a preset time range when sensitive topics and / or abnormal behavior signals are detected.
[0022] Figure 3 It is a flowchart diagram of another implementation of the present application, which is located after analyzing whether the probability of the marked location falling into a preset area where bullying incidents frequently occur exceeds a preset probability. DETAILED DESCRIPTION
[0023] The present application is further described in detail below in conjunction with the accompanying drawings.
[0024] Reference Figure 1 , is an AI-based campus student risk warning method disclosed in this application, comprising: Step S100, obtaining students' public speech data on social media.
[0025] Among them, students’ public speech data on social media can be collected from social media platforms through crawler technology or API interface.
[0026] Step S200, based on a preset list of sensitive topic keywords and phrases, filter out speeches related to sensitive topics from public speech data, and at the same time use behavior recognition technology to detect whether students' speeches contain potential abnormal behavior signals.
[0027] The list of sensitive topic keywords and phrases includes a series of sensitive topic keywords and phrases related to mental health, campus safety, etc., such as "suicide", "depression", "bullying", "skipping classes", etc. To ensure the effectiveness and timeliness of the list, the system will regularly update the list of keywords and phrases based on the latest social hot spots, campus trends and students' psychological conditions.
[0028] The process of filtering out comments related to sensitive topics from public speech data is as follows: First, before filtering, the public speech data obtained from social media needs to be preprocessed. This includes removing irrelevant words, punctuation marks and special characters, and performing text segmentation. The purpose of preprocessing is to improve the accuracy of subsequent filtering.
[0029] Then, using natural language processing technology, students' speeches are matched with a list of sensitive topic keywords and phrases. Once a speech contains a keyword or phrase in the list, it will be marked and filtered out. In order to ensure the accuracy of filtering, a combination of fuzzy matching and exact matching can be used to deal with sensitive topics in different expressions and contexts.
[0030] For example, suppose our sensitive topic keyword list includes words such as "suicide", "want to die", and "life is boring". When the system detects that students' speech contains these words, it will automatically filter them out.
[0031] The detection of whether students' speech contains potential abnormal behavior signals is as follows: Use natural language processing technology to deeply analyze the text content of students' speech. Through methods such as word frequency analysis, sentiment analysis, and topic modeling, identify keywords or topics related to abnormal behavior.
[0032] Step S300, when a sensitive topic and / or abnormal behavior signal is detected, the surveillance video of the corresponding student in the campus within a preset time range is retrieved.
[0033] Specifically, sensitive topics and / or abnormal behavior signals are detected, that is, sensitive topics and abnormal behavior signals are triggered, which may indicate that the students are under some kind of psychological pressure or emotional distress and need further attention.
[0034] Time range setting: In order to obtain the surveillance video that is most relevant to the student's current psychological state, the system will set a near preset time range. This time range can be adjusted according to actual conditions to ensure that the student's recent behavioral changes can be captured, for example, it can be set to 1 day or 3 days.
[0035] The surveillance video will be retrieved automatically after the above conditions are met, and the video will be screened and stored later, that is, the retrieved surveillance video will be screened and only the part related to the student behavior analysis will be retained. These videos will be safely stored for subsequent analysis and processing.
[0036] Assume that in step S200, the system detects that a student has posted suicide-related remarks on social media and has shown obvious negative emotions. According to the preset sensitive topics and abnormal behavior signals, step S300 will be triggered.
[0037] The system first determines a close time range, such as the past 24 hours, to capture recent changes in student behavior. Then, the system automatically retrieves all surveillance videos of the student in the past 24 hours from the campus surveillance system.
[0038] After screening, the system retains the video clips that are most relevant to the student behavior analysis, such as the student's walking route and the place where he stayed on campus. These videos are stored safely and are analyzed and processed by subsequent steps (such as S400, S500 and S600).
[0039] Step S400, automatically tracking and recording the movement trajectory and stop points of students on campus based on the retrieved surveillance video.
[0040] Among them, step S400 involves video processing technology, movement trajectory recording and data visualization. Video processing technology can accurately identify and track individual students in surveillance videos. These technologies include but are not limited to target detection, target tracking and background subtraction to ensure that the movement trajectory of students is accurately captured in a complex campus environment.
[0041] Movement track records can record students’ movement tracks in real time, including their walking routes, places they stop at, and how long they stay at different places. These data provide valuable information for subsequent analysis and help understand students’ behavior patterns and activity habits.
[0042] Data visualization facilitates user understanding and analysis, and the system will present students' movement trajectories and stop points in an intuitive and visual form. This may include drawing movement paths on a map, using different colors or markers to represent stop points, etc.
[0043] For example, first, the system uses video processing technology to automatically identify and track the student's location in the video. As the video plays, the system records every step the student moves and plots their walking route on a map.
[0044] When a student stops at a location, the system will mark the location on the map and record the start and end time of the stop. For example, if a student stays in the library for two hours, the system will mark the location of the library on the map and show the stay time as two hours.
[0045] Finally, the system displays these movement trajectories and stop points in a visual form. Users can clearly see the activity trajectories of students on campus, as well as their stay time and frequency at different locations.
[0046] Step S500, and using the long short-term memory network algorithm to identify the student's regular movement pattern, and detect abnormal trajectories that do not conform to the regular pattern.
[0047] The learning of regular movement patterns is as follows: Through the LSTM algorithm, the system can learn and remember the regular movement patterns of students on campus. These patterns may include fixed routes every day, frequently visited places, length of stay, etc. The LSTM algorithm is particularly suitable for processing such data with time series characteristics and can capture the time dependency in the student movement trajectory.
[0048] Abnormal trajectories are detected as follows: Once the system has learned the student's regular movement pattern, it can detect anomalies by comparing the current movement trajectory with the regular pattern. Abnormal trajectories may manifest as sudden changes in route, appearing in a specific place at an unusual time, or staying in a certain place for an unusually long time.
[0049] Step S600, when an abnormal trajectory that does not match the normal movement pattern is detected, the time period when the abnormality occurs is recorded, the surveillance video of the corresponding time period is retrieved, and the specific location and time when the student has an abnormal reaction are analyzed and determined based on the preset abnormal reaction behavior.
[0050] Specifically, when the system detects an abnormal trajectory, it will first record the time period when the abnormality occurred. This time period is crucial for the subsequent analysis of the student's specific behavior during that period.
[0051] The preset abnormal reaction behaviors include sudden running, falling, standing still for a long time, etc. Abnormal behavior recognition can identify the abnormal behaviors of students in the video by comparing the preset abnormal reaction behavior library.
[0052] The specific location and time of the student's abnormal reaction were determined by analysis as follows: Combining the time and location information of the abnormal trajectory and the behavioral characteristics extracted from the surveillance video, a comprehensive analysis was performed to determine the specific location and time of the student's abnormal reaction.
[0053] Assume that between 4pm and 4:30pm, the system detected that the movement trajectory of student B was significantly inconsistent with the normal pattern. The system first recorded this abnormal time period and automatically retrieved the surveillance video of the relevant areas of the campus during this time period. During the video analysis, the system found that at 4:15pm, student B suddenly accelerated his walking speed in the square in front of the library, then suddenly stopped and looked back frequently. These behaviors are consistent with the descriptions in the preset abnormal reaction behavior library. Therefore, the system determined that student B had an abnormal reaction in the square in front of the library at 4:15pm.
[0054] Step S700, based on the analysis, determine the specific location where the student has an abnormal reaction, mark all the locations where the abnormal reaction is detected on the map, and analyze whether the probability that the marked location falls into the preset area where bullying incidents frequently occur exceeds the preset probability. If yes, execute step S800; if not, execute step S900.
[0055] The locations of abnormal reactions are marked as follows: The system will mark all the locations where students' abnormal reactions are detected on the map. These marks can help school administrators intuitively understand the hot spots where abnormal events occur.
[0056] The regional probability analysis is as follows: the system will analyze whether these marked locations fall into the preset areas where bullying incidents frequently occur. By calculating the overlap between the marked locations and the preset areas, and counting the number of marks falling into these areas, the system can estimate the probability that the abnormal reaction location falls into the area where bullying incidents frequently occur.
[0057] The preset probability is set as follows: the system will determine whether the probability exceeds a preset probability threshold. This threshold is set based on the school's historical data and actual situation to determine whether the abnormal response has a high correlation with the bullying incident.
[0058] For example, suppose that the school has set an area where bullying incidents frequently occur based on historical data, such as a corner or a specific place on campus, and presets it in the system. After the system determines the specific locations where students have abnormal reactions in step S600, it will mark these locations on the map.
[0059] Then, in step S700, the system analyzes and finds that a plurality of the marked locations fall into a preset bullying-prone area. Through calculation, the system finds that the probability of the marked locations falling into the area exceeds a preset probability threshold.
[0060] Step S800, sending the warning information to the terminal held by the administrator, and sending the marked location falling into the preset area where bullying incidents frequently occur and the student's speech information to the terminal held by the administrator.
[0061] The terminal held by the manager may be a smart phone or a tablet computer.
[0062] The marked locations of preset areas where bullying incidents frequently occur can be visualized on a map provided by the system, and the locations of abnormal reactions and areas where bullying incidents frequently occur can be presented in a graphical manner.
[0063] Step S900: no notification.
[0064] Reference Figure 2 When sensitive topics and / or abnormal behavior signals are detected, the surveillance videos of the corresponding students on campus within the preset time range are retrieved, including: Step S310, analyzing whether sensitive topics and abnormal behaviors are detected at the same time. If yes, execute step S320; if no, execute step S330.
[0065] Among them, step S310 adopts a dual detection mechanism, which checks two conditions: whether a sensitive topic is detected and whether an abnormal behavior signal is detected. These two conditions will determine the subsequent operation path.
[0066] If the system detects both sensitive topics and abnormal behavior signals, it means the situation may be more urgent or complex, so it is necessary to retrieve surveillance footage from a longer period of time for in-depth analysis. On the contrary, if only one of them is detected, surveillance footage from a relatively short period of time can be retrieved.
[0067] Step S320: taking the first time range as the adjacent preset time range.
[0068] Step S330: taking the second time range as the adjacent preset time range.
[0069] The time interval included in the second time range is smaller than the time interval included in the first time range.
[0070] Step S340, retrieve the surveillance video of the corresponding student in the campus within a preset time range.
[0071] Reference Figure 3, an AI-based campus student risk warning method also includes a step after analyzing whether the probability of the marked location falling into a preset area where bullying incidents frequently occur exceeds a preset probability, which is as follows: Step SA00: If the probability that the marked location falls into the preset area where bullying incidents frequently occur is less than the preset probability, then the preset student abnormal behavior database is analyzed based on the student's public speech data on social media to see whether there is relevant data matching the time and location when the student expressed negative emotions or mentioned bullying incidents on social media. If yes, step SB00 is executed; if no, step SC00 is executed.
[0072] Analyzing the preset student abnormal behavior database to see if there is relevant data matching the time and place when students express negative emotions or mention bullying incidents on social media includes the following process, as follows: First, the system collects students' public speech data on social media. Here, natural language processing and sentiment analysis technology can be used to identify and classify the emotions in students' speeches, especially to filter out keywords for negative emotions and mentions of bullying incidents.
[0073] Next, the system matches the results of the social media data analysis with a database of abnormal student behavior. This database records the specific locations and times when students have abnormal reactions. The matching algorithm looks for records that coincide with the time and location of negative emotions or bullying incidents mentioned on social media.
[0074] Finally, based on the matching results, the system will decide whether to execute step SB00 or step SC00. If a match is found, it means that the student may have expressed negative emotions or bullying incidents consistent with abnormal behavior on social media, and step SB00 is executed; if no match is found, step SC00 is executed.
[0075] Among them, the student abnormal behavior database includes the specific location and time when the students have abnormal reactions.
[0076] Step SB00, jump to the step of sending the warning information to the management personnel.
[0077] Step SC00, maintain the original settings.
[0078] A specific example is as follows: Assume that the system detects that a student posted a social media post with a depressed mood near the library on campus, but the library is not a preset area where bullying incidents frequently occur. In step SA00, the system will first analyze the emotional tendency of the post and identify the negative emotion in it.
[0079] Next, the system will query the student abnormal behavior database to see if there is any abnormal behavior record that occurred at the same time and place (near the library) as the student. If there is such a record in the database, for example, the student has shown abnormal reactions near the library many times in the past week, such as crying alone, leaving suddenly, etc., then the system will determine that there is a potential risk.
[0080] Based on these matching data, the system will execute step SB00, which sends warning information to administrators to remind them to pay attention to the student's situation. If no abnormal behavior records matching the social media data are found in the database, the system will maintain the original settings (step SC00), continue monitoring and wait for new data input for further analysis.
[0081] An AI-based on-campus student risk warning method further includes a step after analyzing whether the probability of the marked location falling into a preset area where bullying incidents frequently occur exceeds a preset probability, specifically as follows: Step Sa00, if the probability that the marked location falls into the preset area where bullying incidents frequently occur is less than the preset probability, the emotional state analysis algorithm is used through the camera device to analyze whether the student's emotional state falls into the preset abnormal emotional state database based on the specific location and time of the student's abnormal reaction.
[0082] The emotional state analysis algorithm mainly consists of two dimensions: emotional state data collection and emotional state analysis algorithm. The emotional state data collection mainly monitors the student's movement trajectory through a camera device, while collecting data such as the student's facial expression, body movement, and voice, which will serve as the input for emotional state analysis.
[0083] The emotional state analysis algorithm system uses deep learning or machine learning algorithms, such as convolutional neural networks (CNN) or support vector machines (SVM), to analyze the collected data. These algorithms are trained with a large amount of data with emotion labels to identify different emotional states. Taking deep learning as an example, the emotional state analysis algorithm can accurately identify students' emotional states, such as happiness, sadness, anger, etc., by training a large amount of emotional data sets.
[0084] The analysis of whether the student's emotional state falls into the preset abnormal emotional state database is as follows: the system will compare the identified student's emotional state with the preset abnormal emotional state database. This database contains various emotional states that are considered abnormal, such as extreme fear, anger, or frustration. If the student's emotional state matches the abnormal emotional state in the database, the system will proceed to the next step of analysis.
[0085] Step Sb00, if yes, then analyze and obtain the probability of the number of times the student's emotional state falls into the preset abnormal emotional state database.
[0086] In step Sb00, the system first counts the total number of times the student's emotional state falls into the preset abnormal emotional state database. This requires querying the database and recording and counting the analysis results of each student's emotional state.
[0087] The calculation of the percentage probability is as follows: the system calculates the percentage probability of the number of times the student's emotional state falls into the abnormal emotional state database. This probability is obtained by dividing the number of times the student's emotional state is abnormal by the total number of analyses. This percentage probability can reflect the frequency of abnormal student emotions.
[0088] Step Sc00, according to the probability of the proportion of the number of times and the probability that the marked location falls into the preset area where bullying incidents frequently occur, as well as the weights of different probability categories, analyze and obtain the effective probability, and compare the effective probability with the preset probability.
[0089] Among them, weight allocation can assign weights to different probability categories according to preset rules. For example, the probability of abnormal emotional state may be considered more important and therefore be assigned a higher weight; while the probability of the location falling into an area where bullying incidents frequently occur may be used as an auxiliary judgment factor and be assigned a relatively low weight.
[0090] The analysis of the effective probability is as follows: using weighted average or other similar mathematical methods, the above two probabilities and their weights are combined to calculate a comprehensive effective probability. This effective probability is intended to more comprehensively reflect the situation in which students may face the risk of bullying.
[0091] The effective probability is compared with the preset probability as follows: The calculated effective probability is compared with the preset threshold probability. If the effective probability exceeds this threshold, the system will consider that there is a high risk of bullying.
[0092] Step Sd00: if the effective probability exceeds the preset probability, jump to the step of sending the warning information to the management personnel.
[0093] Step Se00, otherwise, maintain the original settings.
[0094] For example, suppose in step Sb00, the system calculates that the probability of the number of times the student's emotional state is abnormal is 20%, and the probability that the marked location falls into a bullying-prone area is 10%. According to the preset weight distribution rule, the probability of the number of times the emotional state is abnormal is assigned a weight of 0.7, and the location probability is assigned a weight of 0.3.
[0095] In step Sc00, the system first integrates the two probability data. Then, the effective probability is calculated using the weighted average method, that is, effective probability = (0.2 * 0.7) + (0.1 * 0.3) = 0.14 + 0.03 = 0.17, which is 17%.
[0096] If the 17% effective probability exceeds the threshold probability preset by the system (e.g. 15%), the system will determine that there is a high risk of bullying and execute step Sd00, which sends an early warning message to the administrator. If the effective probability does not exceed the preset probability, step Se00 is executed to maintain the original setting.
[0097] An AI-based campus student risk warning method also includes the steps of sending warning information to a terminal held by an administrator, and sending a marked location falling into a preset area where bullying incidents frequently occur and the student's speech information to the terminal held by the administrator in parallel, as follows: Step SD00, obtaining the relevant time matching the future time node and location of the student's mention of the bullying incident on social media.
[0098] Specifically, first, the system collects information about students' comments on social media, especially those that mention bullying incidents. This requires natural language processing and text mining technology to filter out relevant information from a large amount of social media data.
[0099] Then, for the selected speeches, the system will further use named entity recognition (NER) technology to extract the time and place information mentioned in them. NER technology can identify entities in the text, such as time, place, and name.
[0100] The extracted time and location information will be matched with the preset time and location where bullying incidents frequently occur. A matching algorithm based on rules or machine learning can be used here to determine whether the time and location mentioned in the student's speech coincides with the preset high-risk time period and area.
[0101] Step SE00, preset a time interval in advance of a future time node, and obtain the movement trajectory of the student through monitoring by a camera device.
[0102] Step SF00: If the degree of overlap between the student's moving trajectory and one of the moving trajectories to the target location reaches a preset degree of overlap, an early warning message is sent to the terminal held by the administrator.
[0103] Specifically, first, a time window for early monitoring is determined according to the future time node of the bullying incident obtained in step SD00. For example, if the information obtained is "see you on the playground at 3 pm tomorrow", a time window can be set in advance, such as starting monitoring from 2 pm.
[0104] Then deploy high-definition cameras in key areas of the school, especially those marked as places where bullying incidents occur frequently. Make sure these cameras can cover a wide enough area and have night vision capabilities to adapt to light conditions at different times of the day.
[0105] Once the preset monitoring time window is entered, the system will capture the student's movement trajectory in real time through the camera. This can be achieved through image recognition technology to identify and track the location changes of the target student.
[0106] The system will analyze the captured student movement trajectory in real time and compare it with the preset trajectory to the target location. By calculating the overlap between the two trajectories, it can determine whether the student is moving towards a location where bullying may occur.
[0107] When the degree of overlap between the student's movement trajectory and the preset trajectory reaches or exceeds a certain preset value (such as 80%), the system will trigger an early warning mechanism and send relevant information to the terminal held by the administrator.
[0108] The acquisition of the preset overlap degree includes: Step SF10, while monitoring and acquiring the student's movement trajectory through the camera device, an emotional state analysis algorithm is used to analyze whether the student's emotional state falls into a preset abnormal emotional state database. If not, step SF20 is executed; if yes, step SF30 is executed.
[0109] Step SF20: taking the first overlap as a preset overlap.
[0110] Step SF30: taking the second overlap as a preset overlap, wherein the second overlap is smaller than the first overlap.
[0111] For example, the system monitors a student moving around the campus through a camera and simultaneously collects data on the student's facial expressions. After analyzing this data, the emotional state analysis algorithm identifies that the student is showing obvious anxiety.
[0112] The system then compares the anxiety with the preset abnormal emotional state database and finds that the anxiety is indeed one of the abnormal emotional states. Therefore, the system determines that the student's emotional state is abnormal and executes step SF30 to use the lower second coincidence as the preset coincidence. This is done to improve the sensitivity of the early warning system, because students in abnormal emotional states may be more likely to become victims or participants in bullying incidents.
[0113] On the contrary, if the system analyzes that the student's emotional state is normal and does not fall into the abnormal emotional state database, the system will execute step SF20 and use the higher first coincidence as the preset coincidence to reduce the possibility of false alarm.
[0114] An AI-based on-campus student risk warning method also includes steps after sending the warning information to a terminal held by an administrator, specifically as follows: Step Sf00, analyzing whether there is a sound propagation device within a preset distance range of a position point included in a moving trajectory moving to a target location with a preset overlap degree.
[0115] First, the system needs to obtain the movement trajectory data of students on campus, which can be obtained through the campus positioning system or camera monitoring, etc. At the same time, the system also needs to know the specific location information of the sound propagation device.
[0116] When the student's movement trajectory overlaps with the preset high-risk area to a preset value, the system will further analyze each location point on this trajectory. For each location point, the system will check whether there is a sound propagation device within its preset distance range (for example, 10 meters, 20 meters, etc.). This can be achieved by calculating the distance between the location point and the sound propagation device.
[0117] If there are multiple sound transmission devices within the preset distance range, the system will select the most suitable device for voice broadcasting. The selection algorithm can be based on various factors, such as the closest distance to the student, the volume and coverage of the device.
[0118] Step Sg00, if yes, when the student reaches the position point that meets the conditions, the sound propagation device is started to broadcast the voice information that there is a risk ahead of the student. The position point that meets the conditions is that there is a sound propagation device within a preset distance range.
[0119] Specifically, when a student approaches a location that meets the conditions, the system will send instructions to the sound propagation device at that location through the wireless network, start the voice broadcast function, and play the previously prepared voice information.
[0120] For example, suppose the movement trajectory of student Xiao Zhang is judged by the system as high risk, and the overlap with the preset trajectory exceeds the preset value. The system begins to analyze every position point on Xiao Zhang's trajectory in detail.
[0121] When Xiao Zhang moves to a specific location near the library, the system detects that there is a sound transmission device within 15 meters of the location. Since this distance is within the preset 20-meter range, the system determines that this device can be used for voice broadcasting.
[0122] The system immediately prepared a voice message: "There are risks ahead, please pay attention to safety, it is recommended to change the direction of travel." When Xiao Zhang arrived at this location, the sound propagation device automatically started and played the voice message.
[0123] In this way, the system can send risk warnings to students in real time through sound transmission devices, reminding them to pay attention to safety and reduce the probability of potential risks.
[0124] Step Sh00, analyzing whether the student no longer moves along the target moving trajectory after receiving the voice information sent by the sound propagation device, the target moving trajectory being the moving trajectory to the target location with the overlap reaching the preset overlap. If yes, execute step Si00; if no, execute step Sj00.
[0125] Step Si00, sending a blocking success message to the terminal held by the administrator.
[0126] Step Sj00, sending a message advising the administrator to arrive immediately at the location of the bullying incident.
[0127] Specifically, after the student receives the voice message broadcast by the sound transmission device, the system will continue to track the student's movement trajectory and obtain the student's location information in real time through the positioning system or camera monitoring on campus.
[0128] The system will compare the student's current movement trajectory with the original target movement trajectory and calculate the deviation between the two. This can be achieved by comparing the distance between the position points corresponding to the same time point on the two trajectories.
[0129] The system sets a deviation threshold to determine whether the student has significantly deviated from the original target trajectory. If the calculated deviation exceeds this threshold, the system considers that the student is no longer moving along the target trajectory.
[0130] For example, suppose that student Xiao Ming was originally moving along a straight line towards the library, but received a voice message broadcast by a sound transmission device on the way. After that, the system continued to track Xiao Ming's movement trajectory and found that his trajectory began to gradually deviate from the original straight line and turned to a different direction.
[0131] The system calculates the deviation between Xiao Ming's current trajectory and the original straight trajectory and finds that the deviation has exceeded the set threshold. Therefore, the system determines that Xiao Ming is no longer moving along the original target moving trajectory, and then executes step Si00 to send a blocking success message to the terminal held by the administrator.
[0132] If Xiao Ming continues to move along the original trajectory after receiving the voice message, the system will determine that he may not be aware of the risk ahead or choose to ignore the voice message. In this case, the system will execute step Sj00 and send a message suggesting that the administrator immediately arrive at the location of the bullying incident for further intervention and processing.
[0133] Based on the same inventive concept, an embodiment of the present invention provides an AI-based campus student risk warning system, including a memory and a processor, wherein the memory stores a program that can be executed on the processor to implement the following Figures 1 to 3 Procedure for either method.
[0134] The embodiments of this specific implementation method are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Therefore, all equivalent changes made based on the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. An AI-based campus student risk warning method, characterized in that: include: Obtain data on students’ public comments on social media; According to the preset sensitive topic keywords and phrase lists, we filter out the speeches related to sensitive topics from the public speech data, and at the same time, we use the behavior recognition technology to detect whether the students' speeches contain potential abnormal behavior signals; When sensitive topics and / or abnormal behavior signals are detected, the surveillance video of the corresponding students on campus within the preset time range is retrieved; Automatically track and record students' movement trajectories and stop points on campus based on the retrieved surveillance videos; And use the long short-term memory network algorithm to identify students' regular movement patterns and detect abnormal trajectories that do not match the regular pattern; When an abnormal trajectory that does not match the normal movement pattern is detected, the time period in which the abnormality occurs is recorded, the surveillance video of the corresponding time period is retrieved, and the specific location and time of the student's abnormal reaction is analyzed and determined based on the preset abnormal reaction behavior; Based on the specific locations where students have abnormal reactions determined through analysis, all locations where abnormal reactions are detected are marked on the map, and it is analyzed whether the probability that the marked locations fall into the preset areas where bullying incidents frequently occur exceeds the preset probability; If yes, the warning information is sent to the terminal held by the administrator, and the marked location falling into the preset area where bullying incidents frequently occur is sent together with the student's speech information to the terminal held by the administrator; If no, no notification will be made.
2. According to claim 1, an AI-based campus student risk warning method is characterized in that: When sensitive topics and / or abnormal behavior signals are detected, the surveillance videos of the corresponding students on campus within the preset time range are retrieved, including: Analyze whether sensitive topics and abnormal behaviors are detected at the same time; If yes, the first time range is used as the adjacent preset time range; If not, the second time range is used as the adjacent preset time range, wherein the time interval included in the second time range is smaller than the time interval included in the first time range; Retrieve surveillance videos of corresponding students on campus within a preset time range.
3. According to claim 2, an AI-based campus student risk warning method is characterized in that: The method further includes a step after analyzing whether the probability of the marked location falling into a preset area where bullying incidents frequently occur exceeds a preset probability, which is as follows: If the probability that the marked location falls into the preset area where bullying incidents frequently occur is less than the preset probability, Based on the students' public speech data on social media, the preset student abnormal behavior database is analyzed to see whether there is relevant data matching the time and location when the students expressed negative emotions or mentioned bullying incidents on social media. The student abnormal behavior database includes the specific location and time when the students had abnormal reactions; If yes, jump to the step of sending the warning information to the management personnel; If not, keep the original setting.
4. According to claim 2, an AI-based campus student risk warning method is characterized in that: The method further includes a step after analyzing whether the probability of the marked location falling into a preset area where bullying incidents frequently occur exceeds a preset probability, which is as follows: If the probability that the marked location falls into the preset area where bullying incidents frequently occur is less than the preset probability, Then, the camera device uses an emotional state analysis algorithm to analyze whether the student's emotional state falls into a preset abnormal emotional state database according to the specific location and time of the student's abnormal reaction; If yes, then analyze and obtain the probability of the number of times the student's emotional state falls into the preset abnormal emotional state database; According to the probability of the proportion of the number of times and the probability that the marked location falls into the preset area where bullying incidents frequently occur, as well as the weights of different probability categories, the effective probability is analyzed and obtained, and the effective probability is compared with the preset probability; If the effective probability exceeds the preset probability, jump to the step of sending the warning information to the management personnel; Otherwise, the original settings are maintained.
5. According to claim 3, an AI-based campus student risk warning method is characterized in that: The method also includes sending the warning information to the terminal held by the administrator, and sending the marked location of the preset area where bullying incidents frequently occur and the student's speech information to the terminal held by the administrator in parallel, as follows: Obtain relevant time matching of future time nodes and locations of students’ mentions of bullying incidents on social media; Preset the time interval in advance at the future time node, and obtain the movement trajectory of the students through the camera device; If the degree of overlap between the student's moving trajectory and one of the moving trajectories to the target location reaches a preset degree of overlap, an early warning message will be sent to the terminal held by the administrator.
6. According to claim 5, an AI-based campus student risk warning method is characterized in that: The acquisition of preset overlap includes: While monitoring and acquiring the student's movement trajectory through a camera device, an emotional state analysis algorithm is used to analyze whether the student's emotional state falls into a preset abnormal emotional state database; If not, the first overlap degree is used as the preset overlap degree; If yes, the second overlap is used as the preset overlap, wherein the second overlap is smaller than the first overlap.
7. According to claim 5, an AI-based campus student risk warning method is characterized in that: The steps after sending the warning information to the terminal held by the manager are also included, which are as follows: Analyze whether there is a sound propagation device within a preset distance range of the position point included in the movement trajectory moving to the target location with a preset overlap degree; If yes, when the student reaches the location point that meets the condition, the sound propagation device is activated to broadcast the voice information that there is a risk ahead of the student. The location point that meets the condition is that there is a sound propagation device within the preset distance range; Analyze whether the student no longer moves along the target moving trajectory after receiving the voice information sent by the sound transmission device, the target moving trajectory being a moving trajectory to the target location with a coincidence degree reaching a preset coincidence degree; If yes, a blocking success message will be sent to the terminal held by the administrator; If not, a message is sent advising administrators to arrive immediately at the location of the bullying incident.
8. An AI-based campus student risk warning system, characterized in that: It includes a memory, a processor, and a program stored in the memory and executable on the processor, wherein the program can be loaded and executed by the processor to implement an AI-based campus student risk warning method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Campus abnormal behavior analysis system and method
CN115100572A
Network spoofing identification method and device, electronic equipment and storage medium
CN116644742A
Network bully victim identification method and device, equipment and storage medium
CN117436439A
Campus anti-spoofing method and system based on video and voice recognition
CN117952808A
Risk early warning method, system and equipment
CN118072253A
