CN106652633B - A kind of polygonal color fire-fighting drill system and method based on virtual reality - Google Patents
A kind of polygonal color fire-fighting drill system and method based on virtual reality Download PDFInfo
- Publication number
- CN106652633B CN106652633B CN201611219565.4A CN201611219565A CN106652633B CN 106652633 B CN106652633 B CN 106652633B CN 201611219565 A CN201611219565 A CN 201611219565A CN 106652633 B CN106652633 B CN 106652633B
- Authority
- CN
- China
- Prior art keywords
- server
- fire
- rehearsal
- information
- database
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09B—EDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
- G09B9/00—Simulators for teaching or training purposes
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Educational Administration (AREA)
- Educational Technology (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The polygonal color fire-fighting drill system based on virtual reality that the present invention provides a kind of, information gathering subsystem, information management and logical process subsystem and immersion including successively communication connection show that subsystem, information gathering subsystem are used to acquire manpower, the facility information of local environmental information and fire brigade;Information management and logical process subsystem are for creating simulated maneuver environment and being managed to rehearsal process;Immersion shows subsystem for providing hardware intermediaries required when rehearsal.The polygonal color fire-fighting drill system and method for virtual reality provided by the invention can provide a variety of immersion exhibition methods, and user can experience the pressure of scene of fire and urgent vividly, while enhancing psychological quality, also increase smell of powder;The online extensive drilling platforms of more people are provided, the ability for referring to war officers and men's instruction issuing, execution and cooperation is tempered, refer to that the whole battle of war officers and men is horizontal to be promoted.
Description
Technical field
The invention belongs to technical field of virtual reality, in particular to a kind of polygonal color fire-fighting drill system based on virtual reality
System and method.
Background technique
In recent years, country gradually reinforces the development of emergency industry, and the General Office of the State Council in 2014 has issued answers about quickening
The opinion of anxious industry development.Fire-fighting cause is also more and more paid attention to, each place as the important ring in emergency industry
Also more and more fire-fighting drills are being organized in fire brigade.
With the fast development of China's economic, architecture ensemble scale is increasing, building structure even more complex, occurs
Situations such as multiple and rescue difficulty of various disasters is big.Traditional fire-fighting drill also rest on the spot, the outdoor scene of the true vehicle of true man drills
Practice, the technical and tactical levels of firefighters can be improved in this rehearsal mode to a certain extent, but drill required manpower, object
Power, financial resources cost are too high, and training environment is single limited, it is difficult to simulate increasing scene of fire, and by time and space
The safety of biggish restriction, training is also relatively difficult to guarantee.For this purpose, there has been proposed the fire-fighting drill based on computer simulation technique,
This kind of technology allows firefighters to carry out the rehearsal of some basic equipments, solves the above problem to a certain extent, so by
To the favor of vast fire units.
The generally existing following problems of existing emulation fire-fighting drill system:
1. interactive interface is unfriendly, the convenient interaction of high-freedom degree under three-dimensional scenic can not be provided;
2. scene prototype is mostly to fabricate, the truth of fire-fighting area under one's jurisdiction building is not restored;
3. function is relatively simple, emulation study can only be carried out for certain instruments or knowledge point, can not provided higher level
The training of the fire fighting and rescue tactics of (system) and multistage linking cooperation examination.
Therefore it provides a kind of human-computer interaction is convenient, scene restores the policy fire-fighting drill system of true, full-featured multiplicity
System becomes those skilled in the art's technical problem urgently to be solved to meet the needs of a line firefighters.
Summary of the invention
The polygonal color fire-fighting drill system based on virtual reality that in order to solve the above-mentioned technical problems, the present invention provides a kind of
And method.
Specific technical solution of the present invention is as follows:
The present invention provides a kind of polygonal color fire-fighting drill system based on virtual reality, the letter including successively communication connection
It ceases acquisition subsystem, information management and logical process subsystem and immersion shows subsystem, the information gathering subsystem
For acquiring manpower, the facility information of local environmental information and fire brigade;
The information management and logical process subsystem include:
Modeling and rendering module, the information for acquiring to the information gathering subsystem carry out parameter extraction, and with this
Carry out scene, equipment, Role Modeling and rendering;
User management module is allocated its task and permission according to the role of user;
Knowledge data database management module, the information acquired for storing the information gathering subsystem, and in rehearsal
People information and trace information;
Server connection and data transmission module are server and client for handling the service logic during saving
Bi-directional communication channels are provided between end;
Client fire-fighting logic processing module, for handle condition judgement during multistage rehearsal, event capturing and
Logic jumps;
The immersion shows subsystem for providing hardware intermediaries required when rehearsal.
Further, the information gathering subsystem includes:
Jurisdictional information acquisition module lays letter for acquiring the local building in fire brigade, traffic and water power pipe network
Breath;
Fire-fighting resource information acquisition module, for acquiring the manpower of fire brigade, the parameter information and service condition of equipment.
Further, the server connection and data transmission module include:
Central server subscribes to the interested message of each server for monitoring the synchronization request of each server
And distribution, while monitoring the load of each server;
Gateway server for receiving the solicited message of client and being handled, and the solicited message is forwarded to
It is responsible for handling the server of the request, asynchronous wait-for-response message;
Database broker server changes the additions and deletions of database for handling each server and looks into operation, and by request data
Return to corresponding server;
Database server, for the database maintenance work including data storage, schedule backup and data rewind;
Login service device, the registering and logging for handling user operate;
Authentication server is handled for platform validation;
Version control server, for handling the downloading and edition upgrading of client-side program;
Online chatting server, for supporting the text and voice-enabled chat function of each client.
Further, the immersion shows that subsystem includes:
Expert room, for the condition of a disaster setting before drilling and the pool commander in rehearsal;
Room is drilled, for providing rehearsal environment and showing that the evaluation after rehearsal is summarized.
Further, the expert room configuration at least a client computer, projector and projection screen;It is described to drill
Practice room and configures several client computers, three projectors and projection arc curtain.
The polygonal color fire-fighting drill method based on virtual reality that invention further provides a kind of, includes the following steps:
S1 disposes hardware environment: building expert room and rehearsal room;
S2 creates virtual environment: according to the collected local relevant information of information gathering subsystem, creating virtual drill
Practice scene, staffing and equipment facility;
S3 logging in system by user: it is logged in by server connection and transmission module, if user has had registration account
Number, then it is directly logged in the account;Account is crossed as user is unregistered, then should first register and log in again;
S4, which is distributed, drills role: default role includes:
Dao Tiao team, Chief Director, military observation group, in the expert room;
Chief Commanding Officer, detachment commanding officer, base conductor person, Basic soldier, insider, it is indoor in the rehearsal;
The task division of labor, viewing angle and the physics rehearsal space of different role are all different;
S5 executes rehearsal process: each role divides the work according to set task, in client fire-fighting logic processing module
Processing is lower to complete specified rehearsal;
S6 rehearsal terminates, and is commented on, is analyzed to this rehearsal by military observation group.
Further, the specific method is as follows by the step S2:
S2.1 acquire jurisdictional information: acquisition information personnel using acquisition equipment fire brigade it is local to building, traffic,
Water power pipe network information carries out collection in worksite, is uploaded to database after arrangement;
S2.2 acquires fire-fighting equipment information: thermal man power, equipment of the information collection personnel using acquisition equipment to fire brigade
Parameter and service condition be acquired, database is uploaded to after arrangement;
S2.3 three-dimensional modeling: modeling collected data, while making textures picture;
S2.4 scene and equipment rendering: using rendering engine, personnel, equipment and environmental information equal proportion restored, and
Real-time rendering is carried out to three-dimensional scenic during logical process.
Further, the specific method is as follows by the step S3:
S3.1 opens central server;
S3.2 starts login service device, sends the online synchronization message of server to central server;
S3.3 login service device sends service discovery synchronization message to central server, indicates to authentication server, data
Library proxy server, the upper offline event of database server are interested, and central server is that these events add monitor;
When S3.4 user applies for login system, central server passes through to gateway server function allocation and load balancing
Analysis, forwards the request to gateway server, gateway server forwards a request to game server, and asynchronous etc. to be returned
Message:
A. such as game server, database broker server, database server are inactive, then login service device can not be received
To central server about the online message informing of above-mentioned server is verified, message " server connection failure " is returned at this time, warp
NM server is transmitted to central server, is then forwarded to user;
B. such as game server, database broker server, database server have been turned on, then in central server reception
It states the online message of server and returns to login service device, login service device sends registration information to authentication server, tests
Server accessing databases proxy server is demonstrate,proved, database broker server carries out inquiry operation to database server, and will
As a result according to database broker server -> authentication server -> login service device -> gateway server -> central server -> use
The sequence at family returns to user;
S3.5 when database server is offline, monitor offline message and return in central server by relevant monitor
Game server;If login service device is closed at this time, offline synchronization message is sent to central server, at this time center service
Device closes relevant monitor.
Further, the specific method is as follows by the step S5:
The virtual rehearsal room of S5.1 Dao Tiao team creation;
S5.2 Dao Tiao team, Chief Director, military observation group enter expert room 31, other roles enter rehearsal room 32, and step on
Land corresponds to role and enters virtual rehearsal room;
Fire and related dangerous situation is arranged in S5.3 Chief Director in selected scene, and click starts to drill, while timer starts
Timing;
After S5.4 command centre receives a crime report, according to dangerous situation type and scale, check that each detachment can be with strength and according to distance
Radiation carries out priority allotment, hierarchically personnel depaly;
S5.5 commander in chief receives the current task implementation progress and the condition of a disaster developing stage that subordinate commander reports, and assigns in time
Order is withdrawn in attack or search and rescue;
S5.6 detachment commanding officer receives higher level's task, develops actual conditions in conjunction with the condition of a disaster and conveys task to junior, simultaneously will
The report of junior is reported without delay to commander in chief;
S5.7 base conductor official receives superior instructions, and issues specific tasks to Basic soldier, while by Basic soldier report
The executive condition of announcement carries out integration and reports to higher commander;
The task of S5.8 Basic soldier executing commander simultaneously reports implementation progress, waits and indicating in next step;
S5.9 such as commander in chief assigns further action instruction, then is back to S5.6;Such as commander in chief's instruction fight end or specially
The disaster relief that family limits has timed out, then rehearsal terminates.
Beneficial effects of the present invention are as follows: the polygonal color fire-fighting drill system provided by the invention based on virtual reality is complete
For independent research, China's fire-fighting service logic is strictly deferred to, national polity is met, fire brigade, China is suitble to use;It provides more
Kind of immersion exhibition method, student can experience the pressure of scene of fire and urgent vividly, while enhancing psychological quality,
Also increase smell of powder, in the future study and training accumulate experience;The online extensive drilling platforms of more people are provided, it is powerful
Server cluster can support the real-time circulation of magnanimity logical data, guarantee the timeliness that transmitting-receiving is ordered between officers and men at different levels
With accuracy, the ability for referring to war officers and men's instruction issuing, execution and cooperation is tempered, to promote the whole battle for referring to war officers and men
It is horizontal;Building scene and the fire fighting device in its compass of competency can be customized for fire brigade, the same of authenticity is drilled in enhancing
When, so that officers and men at different levels is checked its area under one's jurisdiction key fire-fighting element whenever and wherever possible, realizes that one acquisition, stage construction are multiplexed
Value promotion;Support is provided for extensive more role plays of the departments such as frontier defense, public security, anti-terrorism with can be convenient.
Detailed description of the invention
Fig. 1 is a kind of architecture diagram of the polygonal color fire-fighting drill system based on virtual reality described in embodiment 1;
Fig. 2 is a kind of architecture diagram of the polygonal color fire-fighting drill system based on virtual reality as described in example 2;
Fig. 3 is deployment knot in rehearsal room in a kind of polygonal color fire-fighting drill system based on virtual reality as described in example 2
Composition;
Fig. 4 be in a kind of polygonal color fire-fighting drill system based on virtual reality described in embodiment 3 server connection and
The server cluster architecture diagram of data processing module;
Fig. 5 is a kind of flow chart of the polygonal color fire-fighting drill method based on virtual reality as described in example 4;
Fig. 6 is to drill staffing in a kind of polygonal color fire-fighting drill method based on virtual reality as described in example 4
Structure chart;
Fig. 7 is server cluster in a kind of polygonal color fire-fighting drill method based on virtual reality described in embodiment 6
Service discovery mechanisms sequence chart;
Fig. 8 patrols for client fire-fighting in a kind of polygonal color fire-fighting drill method based on virtual reality described in embodiment 7
Collect the work flow diagram of processing module;
Fig. 9 executes for rescue task in a kind of polygonal color fire-fighting drill method based on virtual reality described in embodiment 7
Flow chart.
Wherein: 1, information gathering subsystem;11, jurisdictional information acquisition module;12, fire-fighting resource information acquisition module;2,
Information management and logical process subsystem;21, modeling and rendering module;22, user management module;23, knowledge data base management
Module;24, server connection and data transmission module;241, central server;242, gateway server;243, database broker
Server;244, database server;245, login service device;246, authentication server;247, version control server;248,
Online chatting server;25, client fire-fighting logic processing module;3, immersion shows subsystem;31, expert room;32, it drills
Room.
Specific embodiment
Invention is further described in detail with following embodiment with reference to the accompanying drawing.
Embodiment 1
As shown in Figure 1, the embodiment of the present invention 1 provides a kind of polygonal color fire-fighting drill system based on virtual reality, packet
Information gathering subsystem 1, information management and the logical process subsystem 2 and immersion for including successively communication connection show subsystem
3, the information gathering subsystem 1 is used to acquire manpower, the facility information of local environmental information and fire brigade;
The information management and logical process subsystem 2 include:
Modeling and rendering module 21, the information progress parameter extraction for being acquired to the information gathering subsystem 1, and with
This carries out carry out scene, equipment, Role Modeling and rendering;
User management module 22 is allocated its task and permission according to the role of user;
Knowledge data database management module 23, the information acquired for storing the information gathering subsystem 1, and in rehearsal
People information and trace information;
Server connection and data transmission module 24 are server and visitor for handling the service logic during saving
Family provides bi-directional communication channels between end;
Client fire-fighting logic processing module 25, for handle condition judgement during multistage rehearsal, event capturing with
And logic jumps;
The immersion shows subsystem 3 for providing hardware intermediaries required when rehearsal.
Unity3D rendering engine is used when render scenes, according to the model based on the data creating acquired early period by scene
Interior building, fire fighting device, personnel, vehicle 1:1 are really restored, and carry out real-time wash with watercolours to three-dimensional scenic during logical process
Dye, business logic processing also defers to the rule of real world completely, if how long the intensity of a fire is extinguished, intensity of a fire form during fighting
Change, the metamorphosis and explosion, rescue vehicle that oil tank sustained combustion in a fire causes just allow to lead to when only narrower than road
It crosses.
Polygonal color fire-fighting drill system provided in this embodiment based on virtual reality, by information collection on the spot, really
Reduce in jurisdiction unit building structure (usable floor area, building height, building storey, internal structure, character of use,
Key area etc.), surrounding enviroment (adjacent building, street tunnel road etc.), fire fighting device (between fire protection control room, pump house, between water tank,
Power distribution station etc.), (entrance, escape stair, Fire lift etc.), the firefighters such as fire escape can be at any time in the area under one's jurisdiction of oneself
Fire extinguishing training, joint maneuver are carried out in building, to realize verifying to prediction scheme, and it is full-featured, human-computer interaction is convenient, right
The deduction of tactics and coordinated ability between commander fighters at different levels is considered, carries out prewar preparation.
Embodiment 2
Disappear as shown in Fig. 2, the present embodiment 2 provides a kind of polygonal color based on virtual reality on the basis of embodiment 1
Anti- drilling system, the embodiment 2 further define the information gathering subsystem 1 and include:
Jurisdictional information acquisition module 11 is laid for acquiring the local building in fire brigade, traffic and water power pipe network
Information;
Fire-fighting resource information acquisition module 12, for acquiring the parameter information of the manpower of fire brigade, equipment and using feelings
Condition.
The immersion shows that subsystem 3 includes:
Expert room 31, configuration at least a client computer, projector and projection screen, for the condition of a disaster before drilling
Pool commander in being arranged and drilling;
Drill room 32, several client computers of configuration, three projectors and projection arc curtain, for providing rehearsal ring
Evaluation behind border and displaying rehearsal is summarized.
As shown in figure 3, arc curtain is placed in the front of rehearsal room, three projectors are distinguished in arc curtain oblique upper central location
Irradiate the region of left, center, right three of arc curtain, it is desirable that:
(1) there is overlay region in view field, to use splicer fight recklessly connecing;
(2) projector irradiation area is by screen trisection, each projector front face line and irradiated arc curtain point normal
It is overlapped.
Information gathering subsystem 1 is divided to for two modules by the present embodiment 2, respectively to local building, environmental information and
Manpower, the facility information of fire brigade are acquired, and are separately carried out so that the information acquired is more detailed, comprehensive.Immersion is shown
In subsystem 3, expert room 31 is used to observe the situation at rehearsal scene in real time;Rehearsal builds arc curtain projection nucleus in room 32
Border needs to place 3 high definition projectors, according to the size of arc curtain, each projector is placed in designated position and carries out projected picture
Splicing fusion;Arc curtain, which is shown, is mainly used for showing that the commander visual angle of commander in chief and subsequent conduct tactical evaluation are summarized.
Embodiment 3
Disappear as shown in figure 4, the present embodiment 3 provides a kind of polygonal color based on virtual reality on the basis of embodiment 1
Anti- drilling system, which further defines the server connection and data transmission module 24 includes:
Central server 241 orders the interested message of each server for monitoring the synchronization request of each server
It reads and distributes, while monitoring the load of each server;
Gateway server 242 for receiving the solicited message of client and being handled, and the solicited message is forwarded
To the server for being responsible for the processing request, asynchronous wait-for-response message;
Database broker server 243 changes the additions and deletions of database for handling each server and looks into operation, and by number of request
According to returning to corresponding server;
Database server 244, for the database maintenance work including data storage, schedule backup and data rewind
Make;
Login service device 245, the registering and logging for handling user operate;
Authentication server 246 is handled for platform validation;
Version control server 247, for handling the downloading and edition upgrading of client-side program;
Online chatting server 248, for supporting the text and voice-enabled chat function of each client.
The server organization form scalability is good, adapts to the elastic telescopic of service object scale, works as server stress
When very big, server can be deployed in respectively in different physical machines, be extended to server cluster mode, and when online number compared with
When few, can also all it be deployed on same physical machine.These servers carry out tissue using service discovery mechanisms, entire to take
It is engaged in device cluster mutually it can be found that all types of services, such local server can easily find required clothes
Business, and do not have to whether service needed for worrying is online, and therebetween, central server 241 plays crucial effect, central server 241
It first turning on, other servers can all register online/off-line state to central server 241 and subscribe to interested server,
Central server 241 need to monitor and forward, and not have to real time polling, alleviate the pressure of central server 241.
Embodiment 4
As shown in Figure 5 and Figure 6, the embodiment of the present invention 4 provides a kind of polygonal color fire-fighting drill side based on virtual reality
Method includes the following steps:
S1 disposes hardware environment: building expert room 31 and rehearsal room 32;
S2 creates virtual environment: according to the collected local relevant information of information gathering subsystem 1, creating virtual drill
Practice scene, staffing and equipment facility;
S3 logging in system by user: it is logged in by server connection and transmission module 24, if user has had registration
Account is then directly logged in the account;Account is crossed as user is unregistered, then should first register and log in again;
S4, which is distributed, drills role: default role includes:
Dao Tiao team, Chief Director, military observation group, in the expert room 31;
Chief Commanding Officer, detachment commanding officer, base conductor person, Basic soldier, insider, in the rehearsal room 32;
The task division of labor, viewing angle and the physics rehearsal space of different role are all different;
S5 executes rehearsal process: each role divides the work according to set task, in client fire-fighting logic processing module 25
Processing under complete specified rehearsal;
S6 rehearsal terminates, and is commented on, is analyzed to this rehearsal by military observation group.
The task and authority distribution of each role are as follows in the step S4:
A. Dao Tiao team: it is responsible for research scenario, receives a crime report and command scheduling;
B. Chief Director: it is responsible for that the condition of a disaster is arranged in selected scene, and announces that rehearsal starts;
C. military observation group: it is responsible for observing entire manoeuvre process, and proposes guiding opinion;
D. commander in chief: with the view disaster-stricken scene of the first person, and according to fighting situation real-time release order;
E. detachment/base conductor official: it is responsible for receiving superior command, distribution specific tasks and by the task execution of junior personnel
Situation report-back is to higher commander;
F. Basic soldier: it is responsible for executing specific fighting task;
G. insider: being responsible for report fire behavior, and provides Informational support at the scene to save to take action.
Fire-fighting drill is carried out using the drilling method that the embodiment 4 provides, during rehearsal, allows multiple roles to carry out mutual
It is dynamic, include but are not limited to Dao Tiao team, Chief Director, military observation group, Chief Commanding Officer, detachment commanding officer, base conductor person, base
Layer soldier, wherein command centre, Chief Director, military observation group role entirely drill scene, other roles with god's view
The specific region of his sent as an envoy to task is observed with first person.Enterprises are achievable to safety director by the system
Training, for daily safe lecture, unit can self-organization rehearsal;It provides to a line firefighters with unit of really preventing fires
For the study of copy, training, known process.For the purpose of improving its combat capabilities, improve fight efficiency, so as to avoid because of erroneous judgement
Or disaster expansion or casualties caused by information inaccuracy.
Embodiment 5
The present embodiment 5 provides a kind of polygonal color fire-fighting drill method based on virtual reality on the basis of embodiment 4,
The embodiment 5 further defines the step S2, and the specific method is as follows:
S2.1 acquire jurisdictional information: acquisition information personnel using acquisition equipment fire brigade it is local to building, traffic,
Water power pipe network information carries out collection in worksite, is uploaded to database after arrangement;
S2.2 acquires fire-fighting equipment information: thermal man power, equipment of the information collection personnel using acquisition equipment to fire brigade
Parameter and service condition be acquired, database is uploaded to after arrangement;
S2.3 three-dimensional modeling: modeling collected data, while making textures picture;
S2.4 scene and equipment rendering: using rendering engine, personnel, equipment and environmental information equal proportion restored, and
Real-time rendering is carried out to three-dimensional scenic during logical process.
Acquisition jurisdictional information module passes through the essential information that the CAD diagram of building, satellite mapping etc. understand building structure first, so
Collection in worksite is carried out using acquisition equipment afterwards, the verification confirmation one by one at the scene by main fire-fighting element, and use conventional sign
It is labeled on drawing.Simultaneously take pictures to important facility, subsequently through arrange confirmation message it is errorless after, these are believed
Breath arranges storage and carries out modeling use for technical staff to database.Fire-fighting equipment information module is collected, for obtaining extinguishing vehicle
, the available strength of staffing is sent and service condition, fire extinguishing is equipped with equipment (illuminations, break-in tool, hydraulic giant, water band
Deng) parameter information etc., acquisition modes are that information collection personnel are shot and recorded on the spot using acquisition equipment.
Later period environment deployment phase defers to the theory of immersion displaying, makes full use of current frontier science and technology, restores as far as possible
Scene of fire.It supports a variety of exhibition methods, is shown including the arc curtain under multistage rehearsal mode, the displaying of the 3D helmet, while interaction is set
It is standby to support mouse, keyboard, printing hydraulic giant, intelligent radio handle.
Embodiment 6
Disappear as shown in fig. 6, the present embodiment 6 provides a kind of polygonal color based on virtual reality on the basis of embodiment 4
Anti- drilling method, which further defines the step S3, and the specific method is as follows:
S3.1 opens central server (241);
S3.2 starts login service device (245), sends the online synchronization message of server to central server (241);
S3.3 login service device (245) sends service discovery synchronization message to central server, indicates to authentication server
(246), database broker server (243), the upper offline event of database server (244) are interested, central server
(241) monitor is added for these events;
When S3.4 user applies for login system, central server (241) by gateway server (242) function allocation and
The analysis of load balancing forwards the request to gateway server (242), and gateway server (242), which forwards a request to, to be logged in
Server (245), and the message to be returned such as asynchronous:
A. such as game server (246), database broker server (243), database server (244) are inactive, then
Login service device (245) can not receive central server (241) about the online message informing of above-mentioned server is verified, and return at this time
It returns message " server connection failure ", is transmitted to central server (241) through NM server (242), is then forwarded to user;
B. such as game server (246), database broker server (243), database server (244) have been turned on, then
Central server (241) receives the above-mentioned online message of server and returns to login service device (245), login service device
(245) it sends registration information to authentication server (246), authentication server (246) accesses database proxy server
(243), database broker server (243) carries out inquiry operation to database server (244), and by result according to database
Proxy server (243) -> authentication server (246) -> login service device (245) -> gateway server (242) -> center service
Device (241) -> user sequence returns to user;
For S3.5 when database server (244) is offline, relevant monitor monitors offline disappear in central server (241)
It ceases and returns to game server (245);If login service device (245) is closed at this time, sent to central server (241)
Offline synchronization message, central server (241) closes relevant monitor at this time.
As shown in fig. 7, since gateway server 242 is responsible for other servers of grouping management in addition to central server 241,
Gateway server 242 and central server 241 wouldn't be distinguished, the service discovery course of work between other each servers is such as
Under:
(1) A server is online, and sends online synchronization message, message format to central server 241 are as follows:
Header:ONLINE_SYNC
Body:int=> GroupType, uint=> Key, string=> IPAddress, int=> Port
The packet type of GroupType expression server;
Key indicates the physical label of server, is used for one physical server of unique identification;
The IP address of IPAddress expression server;
The listening port number of Port expression server
(2) A server subscribes to the up/down line service of B server, message format to server are as follows:
Header:SERVICE_DISCOVERY_SYNC
Body:int[2]{GroupType,Options}
GroupType indicates interested in which type of service
Options is indicated to the which type of option for servicing and more segmenting.Only there are three types of options at present:
Online indicates online interested in servicing
Offline indicates offline interested in servicing
Both indicates upper to service offline interested
(3) central server 241 creates a listening port and is responsible for monitoring the up/down line message of B server;
(4) B server is online, and sends online synchronization message to central server 241;
(5) central server 241 listens to the message and sends service discovery to A server and replys;
(6) A server receives the message, when there is user's request, does not need the state of inquiry B server, reduces not
Stop the occupied bandwidth of message transmission of request inquiry B server state;
(7) B server is offline, and sends offline synchronization message, message format to central server 241 are as follows:
Header:SERVICE_DISCOVERY_SYNC
Body:int[2]{GroupType,Options}
GroupType indicates interested in which type of service
Options is indicated to the which type of option for servicing and more segmenting.Only there are three types of options at present:
Online indicates online interested in servicing
Offline indicates offline interested in servicing
Both indicates upper to service offline interested
(8) central server 241, which listens to the message and sends to A server, services offline reply;
(9) A server receives the message, and records B server state information;
(10) unless the transmission of A server unsubscribes message or A server is unanimously online, otherwise 241 meeting of central server
The listening port is saved always for monitoring the synchronization message of B server.
The server cluster uses service discovery mechanisms, i.e. central server 241 will not real time polling each server
State, but listening port is opened, monitor up/down line, the subscription information of other servers.When there is server to subscribe to certain server
Afterwards, central server 241 opens a listening port, when its interested server up/down line, the listening port meeting for it
Message instruction is sent to it for synchronizing the Subscriber status information of its preservation.The cost that very little can be used in this way guarantees
The validity with message transmission is called between server, mitigates the pressure of central server 241.
Embodiment 7
As shown in Figure 8 and Figure 9, the present embodiment 7 provides a kind of based on the polygonal of virtual reality on the basis of embodiment 4
Color fire-fighting drill method, which further defines the step S5, and the specific method is as follows:
The virtual rehearsal room of S5.1 Dao Tiao team creation;
S5.2 Dao Tiao team, Chief Director, military observation group enter expert room 31, other roles enter rehearsal room 32, and step on
Land corresponds to role and enters virtual rehearsal room;
Content of examination is conferred by S5.3 Dao Tiao team, understands scene in advance, and the condition of a disaster is arranged;Chief Director is with reference to Dao Tiao team
It confers as a result, drafting the condition of a disaster addition scheme, after setting fire, the intensity of a fire, the wounded, trapped person, dangerous goods etc., declaration examination
Start, and start timing, click starts to drill;If examining process not limiting time in step 1, S5.4 is thened follow the steps;Such as
Process limiting time is examined in fruit step 1, then the Rule of judgment that whether subsequent all steps terminate all additional time, if limit
It fixes time to then all action will terminate, and execute step S5.9;
After S5.4 command centre receives a crime report, according to dangerous situation type and scale, check that each detachment can be with strength and according to distance
Radiation carries out priority allotment, hierarchically personnel depaly;
S5.5 commander in chief receives the current task implementation progress and the condition of a disaster developing stage that subordinate commander reports, and assigns in time
Order is withdrawn in attack or search and rescue;
S5.6 detachment commanding officer receives higher level's task, develops actual conditions in conjunction with the condition of a disaster and conveys task to junior, simultaneously will
The report of junior is reported without delay to commander in chief;
S5.7 base conductor official receives superior instructions, and issues specific tasks to Basic soldier, while by Basic soldier report
The executive condition of announcement carries out integration and reports to higher commander;
The task of S5.8 Basic soldier executing commander simultaneously reports implementation progress, waits and indicating in next step;
S5.9 such as commander in chief assigns further action instruction, then is back to S5.6;Such as commander in chief's instruction fight end or specially
The disaster relief that family limits has timed out, then rehearsal terminates.
Divided the work by polygonal color, make truer entire manoeuvre process, system, rationally, by multi-angle observation, to entirely drilling
Habit process carries out comprehensive assay, and sums up experience and lessons, and provides reliable reference information for actual combat.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention
Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (3)
1. a kind of polygonal color fire-fighting drill method based on virtual reality, which comprises the steps of:
S1 disposes hardware environment: building expert room (31) and rehearsal room (32);
S2 creates virtual environment: according to the collected local relevant information of information gathering subsystem (1), creating virtual rehearsal
Scene, staffing and equipment facility;
S3 logging in system by user: it is logged in by server connection and transmission module (24), if user has had registration account
Number, then it is directly logged in the account;Account is crossed as user is unregistered, then should first register and log in again;
S4, which is distributed, drills role: default role includes:
Dao Tiao team, Chief Director, military observation group, in the expert room (31);
Chief Commanding Officer, detachment commanding officer, base conductor person, Basic soldier, insider, in the rehearsal room (32);
The task division of labor, viewing angle and the physics rehearsal space of different role are all different;
S5 executes rehearsal process: each role divides the work according to set task, in client fire-fighting logic processing module (25)
Processing is lower to complete specified rehearsal;
S6 rehearsal terminates, and is commented on, is analyzed to this rehearsal by military observation group;
Wherein, the specific method is as follows by the step S3:
S3.1 opens central server (241);
S3.2 starts login service device (245), sends the online synchronization message of server to central server (241);
S3.3 login service device (245) sends service discovery synchronization message to central server, indicates to authentication server
(246), database broker server (243), the upper offline event of database server (244) are interested, central server
(241) monitor is added for these events;
When S3.4 user requests login system, central server (241) is by gateway server (242) function allocation and load
Balanced analysis, forwards the request to gateway server (242), gateway server (242) forwards a request to Sign-On services
Device (245), and the message to be returned such as asynchronous:
A. such as game server (246), database broker server (243), database server (244) are inactive, then log in
Server (245) can not receive central server (241) about the online message informing of above-mentioned server is verified, and return disappear at this time
It ceases " server connection failure ", is transmitted to central server (241) through NM server (242), is then forwarded to user;
B. such as game server (246), database broker server (243), database server (244) have been turned on, then center
Server (241) receives the above-mentioned online message of server and returns to login service device (245), and login service device (245) will
Registration information is sent to authentication server (246), and authentication server (246) accesses database proxy server (243), database
Proxy server (243) carries out inquiry operation to database server (244), and by result according to database broker server
(243) -> authentication server (246) -> login service device (245) -> gateway server (242) -> central server (241) -> use
The sequence at family returns to user;
For S3.5 when database server (244) is offline, relevant monitor monitors offline message simultaneously in central server (241)
Return to game server (245);If login service device (245) is closed at this time, sent to central server (241) offline
Synchronization message, central server (241) closes relevant monitor at this time.
2. the polygonal color fire-fighting drill method based on virtual reality as described in claim 1, which is characterized in that the step S2
The specific method is as follows:
S2.1 acquires jurisdictional information: acquisition information personnel is local to building, traffic, water power in fire brigade using acquisition equipment
Pipe network information carries out collection in worksite, is uploaded to database after arrangement;
S2.2 acquires fire-fighting equipment information: thermal man power, the ginseng of equipment of the information collection personnel using acquisition equipment to fire brigade
Several and service condition is acquired, and database is uploaded to after arrangement;
S2.3 three-dimensional modeling: modeling collected data, while making textures picture;
S2.4 scene and equipment rendering: rendering engine is used, personnel, equipment and environmental information equal proportion are restored, and is patrolling
It collects in treatment process and real-time rendering is carried out to three-dimensional scenic.
3. the polygonal color fire-fighting drill method based on virtual reality as described in claim 1, which is characterized in that the step S5
The specific method is as follows:
The virtual rehearsal room of S5.1 Dao Tiao team creation;
S5.2 Dao Tiao team, Chief Director, military observation group enter expert room (31), other roles enter rehearsal room (32), and step on
Land corresponds to role and enters virtual rehearsal room;
Fire and related dangerous situation is arranged in S5.3 Chief Director in selected scene, and click starts to drill, while timer starts timing;
After S5.4 command centre receives a crime report, according to dangerous situation type and scale, check that each detachment can radiate with strength and according to distance
Carry out priority allotment, hierarchically personnel depaly;
S5.5 commander in chief receives the current task implementation progress and the condition of a disaster developing stage that subordinate commander reports, and assigns attack in time
Or search and rescue or withdraw order;
S5.6 detachment commanding officer receives higher level's task, develops actual conditions in conjunction with the condition of a disaster and conveys task to junior, while by junior
Report report without delay to commander in chief;
S5.7 base conductor official receives superior instructions, and issues specific tasks to Basic soldier, while Basic soldier being reported
Executive condition carries out integration and reports to higher commander;
The task of S5.8 Basic soldier executing commander simultaneously reports implementation progress, waits and indicating in next step;
S5.9 such as commander in chief assigns further action instruction, then is back to S5.6;As commander in chief indicates fight end or expert room
The disaster relief of restriction has timed out, then rehearsal terminates.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611219565.4A CN106652633B (en) | 2016-12-26 | 2016-12-26 | A kind of polygonal color fire-fighting drill system and method based on virtual reality |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611219565.4A CN106652633B (en) | 2016-12-26 | 2016-12-26 | A kind of polygonal color fire-fighting drill system and method based on virtual reality |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106652633A CN106652633A (en) | 2017-05-10 |
CN106652633B true CN106652633B (en) | 2019-11-01 |
Family
ID=58828418
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611219565.4A Active CN106652633B (en) | 2016-12-26 | 2016-12-26 | A kind of polygonal color fire-fighting drill system and method based on virtual reality |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106652633B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108877364B (en) * | 2017-05-16 | 2020-12-04 | 深圳小海洋视觉科技有限公司 | Community fire-fighting training system based on virtual reality technology and operation method |
TWI631975B (en) * | 2017-05-24 | 2018-08-11 | 國立成功大學 | Virtual reality training system for team sport |
CN107038925B (en) * | 2017-06-09 | 2019-04-23 | 成都智建新业建筑设计咨询有限公司 | Fire disaster escaping simulation system in building based on virtual reality |
CN107833503B (en) * | 2017-11-10 | 2019-10-29 | 广东电网有限责任公司教育培训评价中心 | Distribution core job augmented reality simulation training system |
CN108092868A (en) * | 2017-12-13 | 2018-05-29 | 上海曼恒数字技术股份有限公司 | One kind is based on remote-operated network-building method, device, equipment and storage medium |
CN108847081A (en) * | 2018-07-09 | 2018-11-20 | 天维尔信息科技股份有限公司 | A kind of fire-fighting simulated training method based on virtual reality technology |
CN109003529A (en) * | 2018-07-13 | 2018-12-14 | 马鞍山钢铁股份有限公司 | A kind of design method of benzol hydro refining unit three-dimensional artificial emergency shut-down pseudo operation |
CN109637258A (en) * | 2019-02-28 | 2019-04-16 | 北京瞭望者科技有限责任公司 | Chemical defence VR simulated training system |
CN110420434A (en) * | 2019-08-11 | 2019-11-08 | 北京唯极科技有限公司 | A kind of airport fire manoeuvre training system |
CN112434399B (en) * | 2020-09-30 | 2024-09-24 | 北京图灵智慧科技有限公司 | Simulation command training method and system for multi-person combat |
CN112614394B (en) * | 2020-12-15 | 2023-03-28 | 中铁第四勘察设计院集团有限公司 | BIM-based subway emergency training drilling system and method |
CN113487929A (en) * | 2021-05-24 | 2021-10-08 | 中国南方航空股份有限公司 | VR multi-person cooperation simulated fire extinguishing method |
CN114783231A (en) * | 2022-04-22 | 2022-07-22 | 西安理工大学 | Ship water fire extinguishing and fire fighting comprehensive drilling system and method based on virtual reality technology |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101075275A (en) * | 2007-06-28 | 2007-11-21 | 上海交通大学 | Multi-role distributed cooperating simulation drilling method |
CN101799999A (en) * | 2010-04-06 | 2010-08-11 | 中国石油化工股份有限公司 | Accident emergency drilling system and method |
KR20100134266A (en) * | 2009-06-15 | 2010-12-23 | 박병운 | A simulation system for fire fighting education |
CN104240547A (en) * | 2013-06-13 | 2014-12-24 | 中国人民武装警察部队学院 | Fire-fighting and rescuing command computer simulation training system |
CN105427701A (en) * | 2015-11-30 | 2016-03-23 | 北京众威消防科技有限公司 | Fire-fighting service operation training system and method |
-
2016
- 2016-12-26 CN CN201611219565.4A patent/CN106652633B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101075275A (en) * | 2007-06-28 | 2007-11-21 | 上海交通大学 | Multi-role distributed cooperating simulation drilling method |
KR20100134266A (en) * | 2009-06-15 | 2010-12-23 | 박병운 | A simulation system for fire fighting education |
CN101799999A (en) * | 2010-04-06 | 2010-08-11 | 中国石油化工股份有限公司 | Accident emergency drilling system and method |
CN104240547A (en) * | 2013-06-13 | 2014-12-24 | 中国人民武装警察部队学院 | Fire-fighting and rescuing command computer simulation training system |
CN105427701A (en) * | 2015-11-30 | 2016-03-23 | 北京众威消防科技有限公司 | Fire-fighting service operation training system and method |
Also Published As
Publication number | Publication date |
---|---|
CN106652633A (en) | 2017-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106652633B (en) | A kind of polygonal color fire-fighting drill system and method based on virtual reality | |
CN110694256A (en) | Novel emergency computer war game deduction system and method | |
CN101075275A (en) | Multi-role distributed cooperating simulation drilling method | |
CN105976670A (en) | Three-dimensional emergency drilling virtual system and construction method and use method thereof | |
CN101799999A (en) | Accident emergency drilling system and method | |
CN114004051B (en) | Virtual simulation system construction method applied to civil airport emergency rescue | |
CN109389877A (en) | A kind of building fire escape drilling system based on virtual reality technology | |
CN104240547A (en) | Fire-fighting and rescuing command computer simulation training system | |
CN111760228A (en) | Intelligent deduction system and method for fire fighting and fire fighting rescue | |
CN103093409A (en) | Emergency simulation drill platform emergency plan exercise scheme producing and executing method | |
US20160155097A1 (en) | Reports of repairable objects and events | |
Jain et al. | An integrating framework for modeling and simulation for incident management | |
Toups Dugas et al. | Playing at planning: Game design patterns from disaster response practice | |
CN113469633A (en) | Safety supervision smart cloud platform | |
CN110675685A (en) | Industrial and commercial management professional training system based on block chain | |
CN109903614B (en) | Oil product sales safety training system | |
CN103020389A (en) | Fire fighting command training simulation method and system based on browser 3D visualization | |
Sun et al. | Research on the construction of intelligent fire protection virtual simulation teaching platform based on internet of things | |
Singh et al. | Community evacuation planning for bushfires using agent-based simulation | |
Yuan et al. | Building a immersive environment for firefighting tactical training | |
CN110942508A (en) | Real-time scene large-screen display method and system for urban network shooting range | |
Kevany | GIS in the World Trade Center response: 10 years after | |
Pires et al. | A decision-aided fire risk analysis | |
Li | Design and Development of a Fire Fighting and Rescue Planning System | |
Lorek et al. | SECURITY OF MASS EVENTS AND THEIR PROTECTION AGAINST TERRORIST ACTIVITIES. |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |