Campus natural disaster drilling method, device and equipment and storage medium

By building a virtual campus environment, simulating natural disasters and analyzing students' escape routes and behaviors, the problem of insufficient authenticity and accuracy of traditional drills is solved, the authenticity and accuracy of natural disaster drills is improved, and students' response ability is enhanced.

CN119006754APending Publication Date: 2024-11-22SOYO TECH DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411104263.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Traditional natural disaster drills have shortcomings in terms of authenticity and accuracy, students do not pay enough attention to it, and it is difficult for class teachers and other personnel to observe the drill situation of each student in real time, resulting in low drill results.

Method used

By building a virtual campus environment, obtaining the school’s physical environment model, simulating natural disasters, and obtaining each student’s escape route and behavior, analyzing the drill results, and improving the authenticity and accuracy of the drill.

Benefits of technology

Carrying natural disaster drills in a virtual campus environment improves students' coping skills and authenticity of drills, can obtain each student's escape routes and behaviors in real time, provide personalized guidance, and improve the accuracy of drills.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119006754A_ABST
    Figure CN119006754A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a campus natural disaster drilling method and device, equipment and a storage medium. The method comprises the steps that a physical environment model of a school is acquired; based on the physical environment model of the school, constructing a virtual campus environment corresponding to the physical environment of the school; responding to user operation, and simulating a preset natural disaster in the virtual campus environment; acquiring an escape route and an escape behavior of each student for the preset natural disaster; and based on the escape route and the escape behavior of each student for the preset natural disaster, obtaining a campus natural disaster drill result. According to the embodiment of the invention, the authenticity and accuracy of campus natural disaster drilling can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of virtual reality technology, and in particular to a campus natural disaster drill method, device, equipment and storage medium. Background Art

[0002] Conducting natural disaster drills for students to train their ability to respond to sudden natural disasters and thus ensure their personal safety has always been a major concern of the school.

[0003] Traditional natural disaster drills use manual broadcasting of drill content and set up drill channels in schools for natural disaster drills. The drills are not realistic enough and students do not take them seriously enough. In addition, the class teacher and relevant responsible personnel cannot observe the drill situation of each student, and they provide offline tutoring and popularization of relevant knowledge for each individual, resulting in low authenticity and accuracy of the drills. Summary of the invention

[0004] In order to solve the above-mentioned problems existing in the prior art, the embodiments of the present application provide a campus natural disaster drill method, device, equipment and storage medium, which improves the authenticity and accuracy of natural disaster drills by constructing a virtual campus environment, simulating natural disasters in the virtual campus environment, and analyzing the drill results of each student.

[0005] In a first aspect, an embodiment of the present application provides a campus natural disaster drill method, comprising:

[0006] Obtain a model of the school's physical environment;

[0007] Based on the physical environment model of the school, construct a virtual campus environment corresponding to the physical environment of the school;

[0008] In response to user operations, simulating a preset natural disaster in the virtual campus environment;

[0009] Obtaining each student's escape route and escape behavior for the preset natural disaster;

[0010] Based on each student's escape route and escape behavior for the preset natural disaster, the campus natural disaster drill result is obtained.

[0011] In a second aspect, an embodiment of the present application provides a campus natural disaster drill device, the campus natural disaster drill device comprising an acquisition unit and a processing unit;

[0012] Wherein, the acquisition unit is used to acquire the physical environment model of the school;

[0013] The processing unit is used to construct a virtual campus environment corresponding to the physical environment of the school based on the physical environment model of the school;

[0014] In response to user operations, simulating a preset natural disaster in the virtual campus environment;

[0015] The acquisition unit is used to acquire each student's escape route and escape behavior for the preset natural disaster;

[0016] The processing unit is used to obtain the campus natural disaster drill results based on the escape route and escape behavior of each student for the preset natural disaster.

[0017] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0018] A processor and a memory, wherein the processor is connected to the memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the method as described in the first aspect.

[0019] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method described in the first aspect.

[0020] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer is operable to cause the computer to execute the method described in the first aspect.

[0021] Implementing the embodiments of the present application has the following beneficial effects:

[0022] In an embodiment of the present application, the campus natural disaster drill device obtains a physical environment model of the school, and based on the physical environment model of the school, constructs a virtual campus environment corresponding to the physical environment of the school. In response to user operations, it can simulate preset natural disasters in the virtual campus environment, and then obtain each student's escape route and escape behavior for the preset natural disasters, and obtain campus natural disaster drill results based on each student's escape route and escape behavior for the preset natural disasters. As a result, students can conduct natural disaster drills in a virtual campus environment with higher authenticity, and the campus natural disaster drill device can obtain each student's campus natural disaster drill results for the preset natural disasters, so as to guide each student based on the campus natural disaster drill results of each student, thereby improving the accuracy of the drill while improving the authenticity of the drill. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0024] Figure 1 A block diagram of a campus natural disaster drill system provided in an embodiment of the present application;

[0025] Figure 2 A schematic diagram of a flow chart of a campus natural disaster drill method provided in an embodiment of the present application;

[0026] Figure 3 A block diagram of the functional units of a campus natural disaster drill device provided in an embodiment of the present application;

[0027] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are 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 are within the scope of protection of this application.

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

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

[0031] First, see Figure 1 , Figure 1 This is a block diagram of a campus natural disaster drill system provided in an embodiment of the present application. Figure 1 As shown, the campus natural disaster drill system 100 may include: a server 101, a display device 102, an audio device 103, and a somatosensory device 104. It should be noted that the server 101 is a campus natural disaster drill device in the embodiment of the present application.

[0032] Among them, the display device 102, the sound device 103 and the somatosensory device 104 communicate with the server 101 to realize their respective functions. In the embodiment of the present application, the server 101 can construct a virtual campus environment by obtaining the preset parameters corresponding to the school's campus physical environment model. For example, the virtual campus environment can be based on a virtual reality (VR) or augmented reality (AR) system to virtualize the school's campus physical environment model to a VR or AR system to construct a virtual campus environment corresponding to the campus physical environment. In addition, the server 101 can create a virtual character for each student and synchronize the perspective corresponding to each virtual character to the corresponding display device 102.

[0033] Exemplarily, the server 101 can synchronize the constructed virtual campus environment to the display device 102. Optionally, the display device 102 can be a head-mounted display device, such as VR glasses, AR glasses, and the like. The display device 102 receives the virtual campus environment synchronized by the server 101, and can display the virtual campus environment on the display screen of the display device 102. Among them, by the user rotating the viewing angle of the display device, a 720-degree panoramic viewing angle of the virtual campus environment can be displayed, and the 720-degree panoramic viewing angle includes a 360-degree scene viewing angle in the horizontal and vertical directions. Thus, the display device 102 can make the students' experience of being in the campus environment more realistic.

[0034] Exemplarily, the server 101 can send the sound effects corresponding to each sampling point in the physical environment of the school campus to the audio sensor of the sound effect device 103. When each virtual character moves to the position corresponding to each sampling point in the virtual campus environment, the sound effect corresponding to the sampling point can be played through the sound effect device 103, thereby enhancing the sound effect experience of each student and enhancing the authenticity of the natural disaster drill on campus.

[0035] In some feasible embodiments, when each virtual character executes different instructions in the virtual campus environment, the tactile information corresponding to the different instructions can be sent to the somatosensory device 104. The somatosensory device 104 converts the tactile information corresponding to the different instructions into mechanical instructions to control the mechanical movement of the somatosensory device 104, so that each student can obtain a real tactile experience in the virtual campus environment, thereby enhancing the authenticity of natural disaster drills on campus.

[0036] It should be noted that the somatosensory device 104 is internally integrated with a controller, and each student can control the movement of the corresponding virtual character in the virtual campus environment through the controller. Optionally, the controller can perform motion detection on each student, detect the real motion trajectory of each student, virtualize the real motion trajectory of each student into a motion instruction, and send the motion instruction to the server 101. After receiving the motion instruction, the server 101 synchronizes the motion instruction to the display device 102 to display the motion operation corresponding to each virtual character and the changes in the corresponding scene animation on the display device 102. In addition, the server 101 can send the tactile information corresponding to the motion instruction to the somatosensory device 104, so as to enhance the experience of the motion operation corresponding to each virtual character through the somatosensory device 104, thereby enhancing the authenticity of the natural disaster drill on campus.

[0037] The server 101 applied to the campus natural disaster drill system 100 allows each student to conduct a campus natural disaster drill in a virtual campus environment, thereby training the student's ability to cope with sudden natural disasters.

[0038] Exemplarily, the server 101 obtains the physical environment model of the school;

[0039] The server 101 constructs a virtual campus environment corresponding to the physical environment of the school based on the physical environment model of the school;

[0040] In response to the user operation, the server 101 simulates a preset natural disaster in the virtual campus environment;

[0041] The server 101 obtains each student's escape route and escape behavior for a preset natural disaster;

[0042] The server 101 obtains the campus natural disaster drill results based on each student's escape route and escape behavior for the preset natural disaster.

[0043] It can be seen that the physical environment model of the school is obtained through the server of the above-mentioned campus natural disaster drill system, and based on the physical environment model of the school, a virtual campus environment corresponding to the physical environment of the school can be constructed. In response to user operations, preset natural disasters can be simulated in the virtual campus environment, and then, each student's escape route and escape behavior for the preset natural disasters are obtained. Based on each student's escape route and escape behavior for the preset natural disasters, the campus natural disaster drill results are obtained. As a result, students can conduct natural disaster drills in a real environment, and the campus natural disaster drill results of each student can be obtained to guide each student, thereby improving the accuracy of the drill on the basis of improving the authenticity of the drill.

[0044] See also Figure 2, Figure 2 A flow chart of a campus natural disaster drill method provided in an embodiment of the present application. The method is applied to the server of the campus natural disaster drill system. The method includes but is not limited to the following steps:

[0045] 201: Obtain a model of the school's physical environment.

[0046] In an embodiment of the present application, relevant parameters corresponding to the physical environment model of the school are input into the server, and the server constructs a virtual campus environment corresponding to the physical environment of the school in the AR or VR system.

[0047] Optionally, the physical environment of the school can be captured in real time through a camera set on a head-mounted display device, and the real-time captured physical environment can be converted into relevant parameters corresponding to the physical environment model of the school, and the relevant parameters can be input into a server. The server can build a virtual campus environment in the AR or VR system based on the relevant parameters.

[0048] 202: Based on the school's physical environment model, construct a virtual campus environment corresponding to the school's physical environment.

[0049] In an embodiment of the present application, by sampling each sample point in the physical environment model of the school, a 720-degree panoramic view corresponding to each sample point is obtained, that is, image data of the scene at multiple angles of the virtual campus environment corresponding to the physical environment of the school at each sample point is obtained, and the sound effect corresponding to each sample point is obtained, thereby obtaining a virtual campus environment corresponding to the physical environment of the school.

[0050] Exemplarily, based on the physical environment model of the school, constructing a virtual campus environment corresponding to the physical environment of the school may include the following steps:

[0051] Sampling the school's physical environment model to obtain multiple sample points of the school's physical environment;

[0052] Obtain image data of each sample point at multiple angles;

[0053] Construct a virtual scene based on the image data of each sample point at multiple angles;

[0054] Get the real-scene sound effect corresponding to each sample point;

[0055] Corresponding real-scene sound effects are added to each sample point in the virtual scene to obtain a virtual campus environment.

[0056] In an embodiment of the present application, after acquiring the physical environment model of the school, the server samples each sample point in the physical environment model of the school, thereby obtaining image data and real-life sound effects at multiple angles corresponding to each sample point, and then obtaining the entire virtual campus environment.

[0057] Specifically, the server will perform real-scene sampling on the school's physical environment model to obtain multiple sample points in the school's physical environment model, and the multiple sample points correspond to each visual perspective in the school's physical environment model. When the virtual character corresponding to each student moves to the corresponding sample point, the display device corresponding to each student can display the image data and real-scene sound effects of multiple angles corresponding to the sample point.

[0058] Furthermore, at each sample point, the server scans the school's physical environment model by rotating the viewing angle horizontally and vertically, thereby obtaining image data of each sample point at each angle, wherein the image data of each sample point at each angle is the image data of the 720-degree panoramic viewing angle of each sample point. Thus, the server can integrate the image data of each sample point at each angle, thereby constructing a virtual scene, which includes the image data of the 720-degree panoramic viewing angle of each sample point.

[0059] Furthermore, the server obtains the real-scene sound effects corresponding to each pre-collected sample point, adds the real-scene sound effects corresponding to each sample point to the above-mentioned virtual scene, and obtains a virtual scene with real-scene sound effects corresponding to the physical environment of the school, that is, obtains a virtual campus environment. Optionally, the pre-collected real-scene sound effects can be real-scene sound effects of multiple reference points, and the server obtains the distance between each sample point and the reference point closest to each sample point. Based on the distance between each sample point and the reference point closest to each sample point, the sound effect intensity of the real-scene sound effect corresponding to the reference point closest to each sample point is set, thereby obtaining the real-scene sound effect corresponding to each sample point.

[0060] It should be noted that the server can simulate the corresponding tactile experience based on objects in the virtual campus environment, such as buildings, stones, and the like, and send the tactile experience to the somatosensory device, thereby simulating the real touch through the mechanical movement of the somatosensory device to enhance each student's experience and the authenticity of the drill.

[0061] It can be seen that by sampling the physical environment model of the school, multiple sample points of the physical environment of the school can be obtained, and image data of each sample point at multiple angles can be obtained. Then, based on the image data of each sample point at multiple angles, a virtual scene can be constructed. By obtaining the real-life sound effects corresponding to each sample point, the corresponding real-life sound effects can be added to each sample point in the virtual scene to obtain the virtual campus environment. The physical environment of the school can be virtualized to an AR or VR system to conduct campus natural disaster drills in the AR or VR system. The authenticity of the campus environmental scenes and real-life sound effects is higher, thereby improving the authenticity of campus natural disaster drills.

[0062] 203: In response to the user operation, simulate a preset natural disaster in the virtual campus environment.

[0063] In an embodiment of the present application, school administrators can simulate corresponding preset natural disasters in a virtual campus environment through control operations on the operating interface of the AR or VR system to conduct campus natural disaster drills.

[0064] Exemplarily, in response to user operations, simulating a preset natural disaster in a virtual campus environment may include the following steps:

[0065] In response to the user's scene operation, a scene animation of a preset natural disaster is displayed in the virtual campus environment;

[0066] In response to the user's sound effect operation, playing a preset natural disaster sound effect in the virtual campus environment;

[0067] In response to the user's perception operation, the tactile experience of the preset natural disaster is transmitted to the somatosensory device.

[0068] In an embodiment of the present application, school administrators can select the preset natural disasters that need to be added on the operating interface of the AR or VR system, which can be converted into corresponding scene operations, sound effects operations, and perception operations through the server, thereby simulating campus natural disasters in a virtual campus environment through scene operations, sound effects operations, and perception operations.

[0069] Specifically, the server reads the preset natural disaster selected by the school administrator and converts the preset natural disaster into corresponding scene operations, sound effects operations, and perception operations. In response to the scene operations, the server adds the scene animation corresponding to the preset natural disaster to the virtual campus environment and generates scene animations of the scene animation at multiple angles at each sample point.

[0070] Further, in response to the above-mentioned sound effect operation, the server adds the sound effect corresponding to the preset natural disaster at each sample point to each sample point in the virtual campus environment, thereby playing the sound effect corresponding to the preset natural disaster at each sample point in the virtual campus environment.

[0071] Then, in response to the above-mentioned perception operation, the server adds the tactile sensation corresponding to each sample point of the preset natural disaster to each sample point in the virtual campus environment, so that when each student feels the preset natural disaster in the virtual campus environment, the server can transmit the tactile sensation corresponding to the preset natural disaster to the somatosensory device. After receiving the tactile sensation, the somatosensory device adjusts the mechanical movement of the somatosensory device, so that each student can simulate the real scene experience through the somatosensory device, thereby improving the authenticity of the campus natural disaster drill.

[0072] In an embodiment of the present application, in response to the user's motion operations in the virtual campus environment, the scene destruction, sound effect switching, and tactile experience caused by the motion operations can be obtained. That is, the server generates corresponding scene animations, sound effects, and tactile experiences by obtaining the movements and various behaviors of each student in the virtual campus environment, thereby further improving the authenticity of natural disaster drills on campus.

[0073] It can be seen that in response to the user's scene operation, the scene animation of the preset natural disaster can be displayed in the virtual campus environment, in response to the user's sound effect operation, the sound effect of the preset natural disaster can be played in the virtual campus environment, and in response to the user's perception operation, the tactile experience of the preset natural disaster can be transmitted to the somatosensory device, thereby simulating the scene animation, sound effect and tactile experience corresponding to the preset natural disaster in the virtual campus environment, so that each student can experience the campus natural disasters more realistically, thereby improving the authenticity of campus natural disaster drills.

[0074] Exemplarily, the method may further include the following steps:

[0075] In response to an access operation of an external device corresponding to each student, creating a virtual character corresponding to each student in a virtual campus environment;

[0076] In response to preset instructions, adding a virtual character corresponding to each student to a corresponding position in the virtual campus environment;

[0077] Based on the position of the virtual character corresponding to each student, the scene animation, sound effect and touch of the position of the virtual character corresponding to each student in the virtual campus environment are transmitted to the external device corresponding to each student.

[0078] In an embodiment of the present application, when the external device corresponding to each student is connected to the above-mentioned AR / VR system, in response to the access operation of the external device corresponding to each student, the server can create a virtual character corresponding to each student in the virtual campus environment, thereby simulating each student in the virtual campus environment to enhance the authenticity of the natural disaster drill on campus.

[0079] Furthermore, after creating a virtual character corresponding to each student, the server can add the virtual character corresponding to each student to a corresponding position in the virtual campus environment based on preset instructions set by school administrators on the AR / VR system, wherein the positions of any two virtual characters in the virtual campus environment do not overlap, and the virtual character of any student can be displayed in each student's display device.

[0080] It should be explained that each student can access the virtual campus environment in real time, and the virtual character corresponding to each student can observe other virtual characters, so that each student can observe the escape routes and escape behaviors of other students in real time, and instruct each student to choose the escape route and escape behavior.

[0081] Furthermore, based on the position of each student's corresponding virtual character, the server inputs the 720-degree panoramic view scene animation corresponding to the position to the display device corresponding to each virtual character, so that the corresponding 720-degree panoramic view scene animation is displayed in the display device corresponding to each virtual character. Then, the sound effect of the position of each student's corresponding virtual character is transmitted to the sound effect device corresponding to each student, so that the sound effect corresponding to the position is played through the sound effect device. Then, the tactile experience of each student's corresponding virtual character in the virtual campus environment is sent to the somatosensory device corresponding to each virtual character to obtain the corresponding tactile experience.

[0082] It can be seen that in response to the access operation of the external device corresponding to each student, a virtual character corresponding to each student can be created in the virtual campus environment; in response to preset instructions, the virtual character corresponding to each student can be added to the corresponding position in the virtual campus environment; based on the position of the virtual character corresponding to each student, the scene animation, sound effect and touch of the position of the virtual character corresponding to each student in the virtual campus environment can be transmitted to the external device corresponding to each student, so that each student can obtain the real scene animation, sound effect and touch of the preset natural disaster in the virtual campus environment, thereby improving the authenticity of campus natural disaster drills.

[0083] 204: Obtain each student’s escape route and escape behavior for preset natural disasters.

[0084] In an embodiment of the present application, when students conduct campus natural disaster drills in a virtual campus environment, the server can obtain each student's escape route and escape behavior for preset natural disasters in real time, thereby analyzing the rationality of each student's escape route and escape behavior in the campus natural disaster drill.

[0085] Optionally, a plurality of preset escape routes may be set in the virtual campus environment to instruct each student to select a corresponding escape route for escape.

[0086] It should be explained that when each student conducts a natural disaster drill on campus, the display device can display multiple recommended preset escape routes in real time, and set multiple nodes in each preset escape route, and each node is set with a standardized escape behavior. Each student can obtain the recommended escape route based on the multiple preset escape routes displayed above, thereby instructing each student to complete the natural disaster drill on campus. In addition, when each student's escape behavior at each node is compared with the standardized escape behavior, the rationality of each student's escape behavior is determined.

[0087] 205: Based on each student’s escape route and escape behavior for the preset natural disaster, the results of the campus natural disaster drill are obtained.

[0088] In an embodiment of the present application, the server can analyze the rationality of each student's choice of escape route for preset natural disasters and the rationality of each student's escape behavior for preset natural disasters, and synchronize the student information corresponding to unreasonable escape routes and escape behaviors to campus administrators.

[0089] Exemplarily, based on each student's escape route and escape behavior for a preset natural disaster, obtaining a campus natural disaster drill result may include the following steps:

[0090] Get multiple pre-set escape routes for pre-set natural disasters;

[0091] Based on each student's escape route and the plurality of preset escape routes, obtaining a first score for each student;

[0092] Analyze the escape route of each student to obtain multiple standard escape behaviors corresponding to the escape route of each student;

[0093] Based on the escape behavior of each student and the multiple standard escape behaviors corresponding to the escape route of each student, a second score of each student is obtained;

[0094] If the first score of the first student is less than a first threshold, and / or, if the second score of the first student is less than a second threshold,

[0095] The first student's escape route and escape behavior, as well as student information, are sent to campus administrators.

[0096] In an embodiment of the present application, a first score can be obtained by analyzing the escape route of each student, and a second score can be obtained by analyzing the escape route of each student. When either the first score or the second score is unqualified, the corresponding escape route and escape behavior, as well as student information, are sent to campus administrators.

[0097] Optionally, the first score and the second score corresponding to each student may be displayed in real time on the display device of each student to indicate the rationality of each student's current escape route and escape behavior.

[0098] Specifically, the server sets a plurality of preset escape routes in the virtual campus environment, and obtains a plurality of preset escape routes for the preset natural disasters, and compares the escape route of each student with the plurality of preset escape routes, so as to obtain a first score for each student.

[0099] Exemplarily, obtaining the first score of each student based on the escape route of each student and the plurality of preset escape routes may include the following steps:

[0100] Obtain the third score corresponding to each preset escape route;

[0101] Based on each student's escape route and a plurality of preset escape routes, obtaining the overlap degree between each student's escape route and each preset escape route;

[0102] If the first overlap between the second student's escape route and the first preset escape route is greater than the second overlap between the second student's escape route and the second preset escape route,

[0103] Then the product of the first overlap degree and the third score corresponding to the first preset escape route is taken as the first score of the second student, thereby obtaining the first score of each student.

[0104] In the embodiment of the present application, the first preset escape route is any one of the plurality of preset escape routes, and the second preset escape route is any one of the plurality of preset escape routes except the first preset escape route.

[0105] Specifically, the server sets a corresponding third score for each preset escape route. Then, each student's escape route is compared with each preset escape route, so as to obtain the overlap degree between each student's escape route and each preset escape route.

[0106] If the first overlap between the second student's escape route and the first preset escape route is greater than the second overlap between the second student's escape route and the second preset escape route, the product of the first overlap and the third score corresponding to the first preset escape route is used as the first score of the second student. For example, if the first overlap between the second student's escape route and the first preset escape route is 0.8, and the third score of the first preset escape route is 100, then the first score of the second student is the product of 0.8 and 100, that is, 80 points. In this way, the first score of each student can be obtained.

[0107] It can be seen that in the embodiment of the present application, the server obtains the third score corresponding to each preset escape route, and based on the escape route of each student and multiple preset escape routes, obtains the overlap of each student's escape route with each preset escape route, and merges them, and takes the product of the third score of the preset escape route with the highest overlap and the overlap of each student's escape route with the preset escape route as the first score of each student, thereby instructing each student to choose a suitable escape route during the escape process, thereby improving the user experience.

[0108] Furthermore, the escape route of each student is analyzed, the scene environment corresponding to each student's escape route is identified, and based on the scene environment, multiple standard escape behaviors corresponding to each student's escape route are obtained. For example, when there is smoke on the student's escape route, the server can identify the coverage of the smoke and obtain the standard escape behavior that the student needs to cover his mouth and nose to pass through the coverage of the smoke.

[0109] Then, based on the escape behavior of each student and the multiple standard escape behaviors corresponding to the escape route of each student, a second score for each student can be obtained.

[0110] Exemplarily, obtaining the second score of each student based on the escape behavior of each student and multiple standard escape behaviors corresponding to the escape route of each student may include the following steps:

[0111] Set the same second score for each student.

[0112] In the embodiment of the present application, the server sets the same basic score, i.e., the second score, for each student. The second score of each student can be obtained by deducting the corresponding score for each student's unreasonable behavior.

[0113] Set up multiple nodes along each student's escape route.

[0114] In the embodiment of the present application, multiple nodes correspond one-to-one to multiple standard escape behaviors corresponding to each student's escape route. By identifying the environment on each student's escape route, the server sets multiple nodes for each student's escape route, and the multiple nodes correspond one-to-one to multiple standard escape behaviors.

[0115] Get the fourth score corresponding to each node.

[0116] In the embodiment of the present application, each node is provided with a corresponding fourth score, and the second score of each student can be obtained by deducting the fourth score of the node corresponding to the unreasonable behavior from the second score of each student.

[0117] Compare each student's escape behavior at each node with the corresponding standard escape behavior at each node;

[0118] If the escape behavior of the third student at the first node is different from the standard escape behavior corresponding to the first node, the fourth score corresponding to the first node is subtracted from the second score of the third student to obtain the fifth score of the third student, and the third student's fifth score is used to replace the third student's second score until the escape behavior of the third student at each node is compared with the standard escape behavior corresponding to each node to obtain the second score of the third student, thereby obtaining the second score of each student.

[0119] Furthermore, if the first student's first score is less than a first threshold, and / or if the first student's second score is less than a second threshold, the first student's escape route and escape behavior, as well as the student information, are sent to campus administrators to monitor the first student's escape route and escape behavior.

[0120] Therefore, in an embodiment of the present application, by setting the same second score for each student, and setting multiple nodes on the escape route of each student, each node is provided with a standard escape behavior corresponding to the escape route of each student, and a fourth score corresponding to each node is obtained. Then, the escape behavior of each student at each node is compared with the standard escape behavior corresponding to each node. When the student's escape behavior is different from the standard escape behavior, the second score is used to deduct the fourth score of the node to obtain a fifth score, and the fifth score is used to replace the second score until the campus natural disaster drill is completed. The second score corresponding to each student is obtained, so that it is possible to analyze whether the escape behavior of each student is reasonable, help campus administrators understand the drill situation of each student, and improve the accuracy of the drill.

[0121] It can be seen that in the embodiment of the present application, the campus natural disaster drill device obtains the physical environment model of the school, and based on the physical environment model of the school, constructs a virtual campus environment corresponding to the physical environment of the school. In response to user operations, it can simulate preset natural disasters in the virtual campus environment, and then obtain each student's escape route and escape behavior for the preset natural disasters, and obtain the campus natural disaster drill results based on each student's escape route and escape behavior for the preset natural disasters. As a result, students can conduct natural disaster drills in a virtual campus environment with higher authenticity, and the campus natural disaster drill device can obtain each student's campus natural disaster drill results for the preset natural disasters, so as to guide each student based on the campus natural disaster drill results of each student, thereby improving the accuracy of the drill while improving the authenticity of the drill.

[0122] See also Figure 3 , Figure 3 A block diagram of the functional units of a campus natural disaster drill device provided in an embodiment of the present application.

[0123] like Figure 3 As shown, the campus natural disaster drill device 300 includes an acquisition unit 301 and a processing unit 302. Among them:

[0124] An acquisition unit 301 is used to acquire a physical environment model of a school;

[0125] The processing unit 302 is used to construct a virtual campus environment corresponding to the physical environment of the school based on the physical environment model of the school;

[0126] In response to user operations, simulating a preset natural disaster in a virtual campus environment;

[0127] An acquisition unit 301 is used to acquire each student's escape route and escape behavior for a preset natural disaster;

[0128] The processing unit 302 is used to obtain the campus natural disaster drill results based on each student's escape route and escape behavior for the preset natural disaster.

[0129] In some possible embodiments, in terms of constructing a virtual campus environment corresponding to the physical environment of the school based on the physical environment model of the school, the processing unit 302 is specifically configured to:

[0130] Sampling the school's physical environment model to obtain multiple sample points of the school's physical environment;

[0131] Obtain image data of each sample point at multiple angles;

[0132] Construct a virtual scene based on the image data of each sample point at multiple angles;

[0133] Get the real-scene sound effect corresponding to each sample point;

[0134] Corresponding real-scene sound effects are added to each sample point in the virtual scene to obtain a virtual campus environment.

[0135] In some possible embodiments, in response to user operations, in simulating a preset natural disaster in a virtual campus environment, the processing unit 302 is specifically configured to:

[0136] In response to the user's scene operation, a scene animation of a preset natural disaster is displayed in the virtual campus environment;

[0137] In response to the user's sound effect operation, playing a preset natural disaster sound effect in the virtual campus environment;

[0138] In response to the user's perception operation, the tactile experience of the preset natural disaster is transmitted to the somatosensory device.

[0139] In some possible embodiments, the processing unit 302 is further configured to:

[0140] In response to an access operation of an external device corresponding to each student, creating a virtual character corresponding to each student in a virtual campus environment;

[0141] In response to preset instructions, adding a virtual character corresponding to each student to a corresponding position in the virtual campus environment;

[0142] Based on the position of the virtual character corresponding to each student, the scene animation, sound effect and touch of the position of the virtual character corresponding to each student in the virtual campus environment are transmitted to the external device corresponding to each student.

[0143] In some possible embodiments, in terms of obtaining the campus natural disaster drill results based on each student's escape route and escape behavior for a preset natural disaster, the processing unit 302 is specifically configured to:

[0144] Get multiple pre-set escape routes for pre-set natural disasters;

[0145] Based on each student's escape route and the plurality of preset escape routes, obtaining a first score for each student;

[0146] Analyze the escape route of each student to obtain multiple standard escape behaviors corresponding to the escape route of each student;

[0147] Based on the escape behavior of each student and the multiple standard escape behaviors corresponding to the escape route of each student, a second score of each student is obtained;

[0148] If the first score of the first student is less than the first threshold, and / or, if the second score of the first student is less than the second threshold,

[0149] Send the first student’s escape route and escape behavior, along with student information, to campus administrators.

[0150] In some possible embodiments, in terms of obtaining a first score for each student based on the escape route of each student and the plurality of preset escape routes, the processing unit 302 is specifically configured to:

[0151] Obtain the third score corresponding to each preset escape route;

[0152] Based on each student's escape route and the plurality of preset escape routes, obtaining a degree of overlap between each student's escape route and each preset escape route;

[0153] If the first overlap between the second student's escape route and the first preset escape route is greater than the second overlap between the second student's escape route and the second preset escape route,

[0154] Then the product of the first overlap degree and the third score corresponding to the first preset escape route is taken as the first score of the second student, thereby obtaining the first score of each student.

[0155] The first preset escape route is any one of the plurality of preset escape routes, and the second preset escape route is any one of the plurality of preset escape routes except the first preset escape route.

[0156] In some possible embodiments, in terms of obtaining a second score for each student based on the escape behavior of each student and a plurality of standard escape behaviors corresponding to the escape route of each student, the processing unit 302 is specifically configured to:

[0157] Set the same second score for each student;

[0158] A plurality of nodes are set on each student's escape route, and the plurality of nodes correspond one-to-one to a plurality of standard escape behaviors corresponding to each student's escape route;

[0159] Get the fourth score corresponding to each node;

[0160] Compare each student's escape behavior at each node with the corresponding standard escape behavior at each node;

[0161] If the escape behavior of the third student at the first node is different from the standard escape behavior corresponding to the first node, the fourth score corresponding to the first node is subtracted from the second score of the third student to obtain the fifth score of the third student, and the third student's fifth score is used to replace the third student's second score until the escape behavior of the third student at each node is compared with the standard escape behavior corresponding to each node to obtain the second score of the third student, thereby obtaining the second score of each student.

[0162] See also Figure 4 , Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 4 As shown, the electronic device 400 includes a transceiver 401, a processor 402 and a memory 403. They are connected via a bus 404. The memory 403 is used to store computer programs and data, and can transmit the data stored in the memory 403 to the processor 402. The electronic device 400 can be the campus natural disaster drill device 300 mentioned above.

[0163] The processor 402 is used to read the computer program in the memory 403 and perform the following operations:

[0164] Obtain a model of the school's physical environment;

[0165] Based on the school's physical environment model, a virtual campus environment corresponding to the school's physical environment is constructed;

[0166] In response to user operations, simulating a preset natural disaster in a virtual campus environment;

[0167] Obtain each student's escape route and escape behavior for pre-set natural disasters;

[0168] Based on each student's escape route and escape behavior for preset natural disasters, the results of campus natural disaster drills are obtained.

[0169] In some possible embodiments, in terms of constructing a virtual campus environment corresponding to the physical environment of the school based on the physical environment model of the school, the processor 402 is specifically configured to perform the following operations:

[0170] Conduct real-scene sampling of the school's physical environment model to obtain multiple sample points of the school's physical environment;

[0171] Obtain image data of each sample point at multiple angles;

[0172] Construct a virtual scene based on the image data of each sample point at multiple angles;

[0173] Get the real-scene sound effect corresponding to each sample point;

[0174] Corresponding real-scene sound effects are added to each sample point in the virtual scene to obtain a virtual campus environment.

[0175] In some possible embodiments, in response to user operations, in simulating a preset natural disaster in a virtual campus environment, the processor 402 is specifically configured to perform the following operations:

[0176] In response to the user's scene operation, a scene animation of a preset natural disaster is displayed in the virtual campus environment;

[0177] In response to the user's sound effect operation, playing a preset natural disaster sound effect in the virtual campus environment;

[0178] In response to the user's perception operation, the tactile experience of the preset natural disaster is transmitted to the somatosensory device.

[0179] In some possible embodiments, the processor 402 is further configured to perform the following operations:

[0180] In response to an access operation of an external device corresponding to each student, creating a virtual character corresponding to each student in a virtual campus environment;

[0181] In response to preset instructions, adding a virtual character corresponding to each student to a corresponding position in the virtual campus environment;

[0182] Based on the position of the virtual character corresponding to each student, the scene animation, sound effect and touch of the position of the virtual character corresponding to each student in the virtual campus environment are transmitted to the external device corresponding to each student.

[0183] In some possible embodiments, in terms of obtaining the campus natural disaster drill results based on each student's escape route and escape behavior for a preset natural disaster, the processor 402 is specifically configured to perform the following operations:

[0184] Get multiple pre-set escape routes for pre-set natural disasters;

[0185] Based on each student's escape route and the plurality of preset escape routes, obtaining a first score for each student;

[0186] Analyze the escape route of each student to obtain multiple standard escape behaviors corresponding to the escape route of each student;

[0187] Based on the escape behavior of each student and the multiple standard escape behaviors corresponding to the escape route of each student, a second score of each student is obtained;

[0188] If the first score of the first student is less than the first threshold, and / or, if the second score of the first student is less than the second threshold,

[0189] Send the first student’s escape route and escape behavior, along with student information, to campus administrators.

[0190] In some possible embodiments, in terms of obtaining the first score of each student based on the escape route of each student and the plurality of preset escape routes, the processor 402 is specifically configured to perform the following operations:

[0191] Obtain the third score corresponding to each preset escape route;

[0192] Based on each student's escape route and the plurality of preset escape routes, obtaining a degree of overlap between each student's escape route and each preset escape route;

[0193] If the first overlap between the second student's escape route and the first preset escape route is greater than the second overlap between the second student's escape route and the second preset escape route,

[0194] Then the product of the first overlap degree and the third score corresponding to the first preset escape route is taken as the first score of the second student, thereby obtaining the first score of each student.

[0195] The first preset escape route is any one of the plurality of preset escape routes, and the second preset escape route is any one of the plurality of preset escape routes except the first preset escape route.

[0196] In some possible embodiments, in terms of obtaining the second score of each student based on the escape behavior of each student and the multiple standard escape behaviors corresponding to the escape route of each student, the processor 402 is specifically configured to perform the following operations:

[0197] Set the same second score for each student;

[0198] A plurality of nodes are set on each student's escape route, and the plurality of nodes correspond one-to-one to a plurality of standard escape behaviors corresponding to each student's escape route;

[0199] Get the fourth score corresponding to each node;

[0200] Compare each student's escape behavior at each node with the corresponding standard escape behavior at each node;

[0201] If the escape behavior of the third student at the first node is different from the standard escape behavior corresponding to the first node, the fourth score corresponding to the first node is subtracted from the second score of the third student to obtain the fifth score of the third student, and the third student's fifth score is used to replace the third student's second score until the escape behavior of the third student at each node is compared with the standard escape behavior corresponding to each node to obtain the second score of the third student, thereby obtaining the second score of each student.

[0202] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement part or all of the steps of any campus natural disaster drill method recorded in the above method embodiments.

[0203] An embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any campus natural disaster drill method recorded in the above method embodiments.

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

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

[0206] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be electrical or other forms.

[0207] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0208] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of a software program module.

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

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

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

Claims

1. A campus natural disaster drill method, characterized in that: include: Obtain a model of the school's physical environment; Based on the physical environment model of the school, construct a virtual campus environment corresponding to the physical environment of the school; In response to user operations, simulating a preset natural disaster in the virtual campus environment; Obtaining each student's escape route and escape behavior for the preset natural disaster; Based on each student's escape route and escape behavior for the preset natural disaster, the campus natural disaster drill result is obtained.

2. The method according to claim 1, characterized in that The step of constructing a virtual campus environment corresponding to the physical environment of the school based on the physical environment model of the school includes: Sampling the school's physical environment model to obtain multiple sample points of the school's physical environment; Obtain image data of each sample point at multiple angles; Construct a virtual scene based on the image data of each sample point at multiple angles; Get the real-scene sound effect corresponding to each sample point; The corresponding real-scene sound effect is added to each sample point in the virtual scene to obtain the virtual campus environment.

3. The method according to claim 1, characterized in that In response to the user operation, simulating a preset natural disaster in the virtual campus environment includes: In response to the scene operation of the user, displaying the scene animation of the preset natural disaster in the virtual campus environment; In response to a user's sound effect operation, playing the preset natural disaster sound effect in the virtual campus environment; In response to the user's perception operation, the tactile experience of the preset natural disaster is transmitted to the somatosensory device.

4. The method according to claim 3, characterized in that The method further comprises: In response to an access operation of an external device corresponding to each student, creating a virtual character corresponding to each student in the virtual campus environment; In response to preset instructions, adding a virtual character corresponding to each student to a corresponding position in the virtual campus environment; Based on the position of the virtual character corresponding to each student, the scene animation, sound effect and touch of the position of the virtual character corresponding to each student in the virtual campus environment are transmitted to the external device corresponding to each student.

5. The method according to any one of claims 1 to 4, characterized in that: The campus natural disaster drill results are obtained based on each student's escape route and escape behavior for the preset natural disaster, including: Acquire multiple preset escape routes for the preset natural disaster; Based on the escape route of each student and the plurality of preset escape routes, obtaining a first score for each student; Analyze the escape route of each student to obtain multiple standard escape behaviors corresponding to the escape route of each student; Based on the escape behavior of each student and the multiple standard escape behaviors corresponding to the escape route of each student, a second score of each student is obtained; If the first score of the first student is less than a first threshold, and / or if the second score of the first student is less than a second threshold, the escape route and escape behavior of the first student, as well as the student information, are sent to campus administrators.

6. The method according to claim 5, characterized in that The step of obtaining a first score for each student based on the escape route of each student and the plurality of preset escape routes comprises: Obtain the third score corresponding to each preset escape route; Based on each student's escape route and the plurality of preset escape routes, obtaining a degree of overlap between each student's escape route and each preset escape route; If the first overlap between the second student's escape route and the first preset escape route is greater than the second overlap between the second student's escape route and the second preset escape route, Then the product of the first overlap degree and the third score corresponding to the first preset escape route is used as the first score of the second student, thereby obtaining the first score of each student. The first preset escape route is any one of the multiple preset escape routes, and the second preset escape route is any one of the multiple preset escape routes except the first preset escape route.

7. The method according to claim 5 or 6, characterized in that: The method of obtaining a second score for each student based on the escape behavior of each student and the multiple standard escape behaviors corresponding to the escape route of each student includes: Set the same second score for each student; A plurality of nodes are set on each student's escape route, wherein the plurality of nodes correspond one-to-one to a plurality of standard escape behaviors corresponding to each student's escape route; Get the fourth score corresponding to each node; Compare each student's escape behavior at each node with the corresponding standard escape behavior at each node; If the escape behavior of the third student at the first node is different from the standard escape behavior corresponding to the first node, the fourth score corresponding to the first node is subtracted from the second score of the third student to obtain the fifth score of the third student, and the fifth score of the third student is used to replace the second score of the third student, until the escape behavior of the third student at each node is compared with the standard escape behavior corresponding to each node to obtain the second score of the third student, thereby obtaining the second score of each student.

8. A campus natural disaster drill device, characterized in that: The campus natural disaster drill device includes an acquisition unit and a processing unit; Wherein, the acquisition unit is used to acquire the physical environment model of the school; The processing unit is used to construct a virtual campus environment corresponding to the physical environment of the school based on the physical environment model of the school; In response to user operations, simulating a preset natural disaster in the virtual campus environment; The acquisition unit is used to acquire each student's escape route and escape behavior for the preset natural disaster; The processing unit is used to obtain the campus natural disaster drill results based on the escape route and escape behavior of each student for the preset natural disaster.

9. An electronic device, characterized in that: include: A processor and a memory, wherein the processor is connected to the memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 7.