CN105045970A - Simulation system for dynamically generating three-dimensional scene on the basis of Unity, and implementation method thereof - Google Patents

Simulation system for dynamically generating three-dimensional scene on the basis of Unity, and implementation method thereof Download PDF

Info

Publication number
CN105045970A
CN105045970A CN201510376403.0A CN201510376403A CN105045970A CN 105045970 A CN105045970 A CN 105045970A CN 201510376403 A CN201510376403 A CN 201510376403A CN 105045970 A CN105045970 A CN 105045970A
Authority
CN
China
Prior art keywords
dimensional
model
module
communication
dimensional scenic
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.)
Granted
Application number
CN201510376403.0A
Other languages
Chinese (zh)
Other versions
CN105045970B (en
Inventor
田青
郝雪
耿立卓
贺建明
易克难
钟成
刘璐
杨选怀
武晓威
王兰香
王全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
State Grid Hebei Electric Power Co Ltd
Beijing Kedong Electric Power Control System Co Ltd
Training Center of State Grid Hebei Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Hebei Electric Power Co Ltd
Beijing Kedong Electric Power Control System Co Ltd
Training Center of State Grid Hebei Electric Power Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, State Grid Hebei Electric Power Co Ltd, Beijing Kedong Electric Power Control System Co Ltd, Training Center of State Grid Hebei Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201510376403.0A priority Critical patent/CN105045970B/en
Publication of CN105045970A publication Critical patent/CN105045970A/en
Application granted granted Critical
Publication of CN105045970B publication Critical patent/CN105045970B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a simulation system for dynamically generating a three-dimensional scene on the basis of Unity. The simulation method comprises a three-dimensional simulation model library, a scene configuration file library, a three-dimensional simulation module and a data communication module, wherein the three-dimensional simulation module comprises a scene display module and a scene operation module; and the output end of the three-dimensional simulation model library and the output end of the scene configuration file library are connected with a data input end of the scene display module. The implementation method of the simulation system comprises the following steps: 1) creating a three-dimensional model; 2) reading a user-defined configuration file from the Unity, and automatically generating the three-dimensional scene simulation module; 3) newly building a monitoring thread in the three-dimensional scene simulation module, and obtaining required external real-time data from an external equipment simulation program; and 4) operating equipment or repairing equipment faults in a three-dimensional scene, and sending operation information to the external equipment simulation program for simulation calculation and judgment. The simulation system has the advantages of being visual in observation, can receive and send simulation data in real time and is tightly combined with actual power system communication work.

Description

Analogue system and its implementation of three-dimensional scenic is dynamically generated based on Unity
Technical field
The invention belongs to communication of power system simulation technical field, be specifically related to a kind of analogue system and its implementation of dynamically generating three-dimensional scenic based on Unity, be applicable to the three-dimensional scenic emulation of the various types of communication machine room of power communication analogue system and telecommunication transmission equipment, be mainly used in the training to communication of power system staff, communication facilities operation maintenance and checking experiment personnel.
Background technology
Along with the development of power system automation technology, electric power communication network becomes the key factor of information transmission and Automated condtrol.This just requires that the simulation training system for communication of power system staff straining will modernization more, more gears to actual circumstances, thus reaches the training purpose of efficient real training.
In current communication simulation software systems, mainly carry out virtual network emulation based on Principle of Communication, it cannot go out actual environment residing for the power communication machine room of network operation and communication facilities and on-the-spot actual conditions by real simulation, is unfavorable for that communication staff better understands on-the-spot communications equipment room and communication facilities in training.And give training under communications equipment room site environment and not only easily damage expensive device and cause very large economic loss, and easily make to cause in the service disconnection of network operation the serious consequence that can not estimate.But at present based on real site environment and the visual simulating training system that dynamic generates power communication three-dimensional scenic still do not exist.
Summary of the invention
Technical matters to be solved by this invention there is provided and a kind ofly observes directly perceived, real-time tranception emulated data, the analogue system and the implementation method that dynamically generate three-dimensional scenic based on Unity of combining closely with practical power systems communication work.
The present invention adopts following technical scheme:
Dynamically generate an analogue system for three-dimensional scenic based on Unity, it comprises three-dimensional simulation model storehouse, scene configuration library, three-dimensional scenic emulation module and data communication module; Described three-dimensional scenic emulation module comprises scene display module and scene operation module, the command input of the control output end access scene display module of described scene operation module; The data input pin of scene display module described in the output termination of described three-dimensional simulation model storehouse and scene configuration library, described scene operation module communicates through data communication module and outside device emulation program.
Described three-dimensional simulation model storehouse comprises communications equipment room model bank and communication equipment models storehouse;
Described communications equipment room model bank comprises the plant stand communications equipment room three-dimensional models at different levels such as provincial dispatching center communications equipment room three-dimensional model, prefecture-level dispatching center communications equipment room three-dimensional model, 110KV/220KV/500KV; Described communication equipment models storehouse comprises telecommunication transmission equipment machine frame and veneer three-dimensional model, route exchange device three-dimensional model, Communication Power Equipment three-dimensional model, communication terminal device model, distributing frame three-dimensional model, communicate fine cable three-dimensional model and instrument and meter three-dimensional model.Model in these model banies leaves in analogue system resource file storehouse with the form of model file.
Described scene configuration library is made up of custom profile, and this configuration file is different because of the difference of communication simulation training case, and these custom profiles leave in analogue system configuration file storehouse.
Described three-dimensional scenic emulation module comprises scene display module and scene operation module, and this module is the virtual visual simulating scene of actual communication machine room, and start-up can complete the functions such as tour and operating equipment in this scenario.
Described scene display module is according to the demand of communication simulation training case, dynamically read and resolve the custom profile of specifying from scene configuration library, according to the data after parsing, from three-dimensional simulation model storehouse, transfer relevant three-dimensional model file, thus demonstrate three-dimensional scenic emulation module.
Described scene operation module is for realizing the operating function to device model in three-dimensional scenic emulation module.
Described data communication module is made up of real-time data base and message sink transmission program, this module is that the data communication between three-dimensional scenic emulation module and peripherals simulation program provides interface, that three-dimensional scenic emulation module can the running status of the outside emulator of Real-time Obtaining, and arrange and revise the state of each three-dimensional model in three-dimensional scenic emulation module accordingly, meanwhile, the operation information that the scene operation module in three-dimensional scenic emulation module is done also sends to outside device emulation program by described data communication module.
Utilize the implementation method of the analogue system dynamically generating three-dimensional scenic based on Unity, implementation step is as follows:
Step 1, establishment three-dimensional model:
Concrete establishment comprises: the three-dimensional model of communications equipment room, communication facilities, and described communication facilities comprises equipment subrack, veneer and optical fiber;
The three-dimensional dimension data of 1-1, foundation communications equipment room and communication facilities and computer room structure figure, create the three-dimensional model of communications equipment room and communication facilities in 3DMAX modeling tool according to the size of 1:1; And according to communications equipment room interior trim figure, communication facilities outside drawing and communication facilities layout, the material of establishment communications equipment room, communication facilities plays up the three-dimensional model effect of communications equipment room and communication facilities;
1-2, in Unity establishing resource file, and be categorized as communications equipment room model bank and communication equipment models storehouse; The communications equipment room three-dimensional model file created in 3DMAX is pulled in communications equipment room model bank, communication facilities three-dimensional model file is pulled in communication equipment models storehouse;
The three-dimensional model initial position co-ordinates of the machine room of often kind of specification in communications equipment room model bank is set in Unity, the three-dimensional model initial position co-ordinates of the equipment of every type in communication equipment models storehouse is set, the communications equipment room model setting initial coordinate by above-mentioned and communication equipment models are preserved and are become preset model file, and in the communications equipment room model bank of depositing Unity respectively and communication equipment models storehouse;
Step 2, in Unity, newly-built C# program reads custom profile, automatically generates three-dimensional scenic emulation module:
2-1, in described custom profile, define the veneer model of machine room type, network element number, the unit type of each network element, each slot of equipment by different level;
2-2, read custom profile, what parse in described custom profile is as follows: data center module title, device name, veneer name and NE quantity;
Machine room title, device name, veneer name and NE quantity that 2-3, basis read from custom profile, call model resource file in Unity by C# program loop and be loaded into function, the model file preset before being loaded into from the communications equipment room model bank Unity and communication equipment models storehouse;
Step 3, in three-dimensional scenic emulation module newly-built watcher thread, subscribe to the Message Channel of real-time data base, obtain from the device emulation program of outside the outside real time data generated needed for three-dimensional scenic emulation module,
3-1, three-dimensional scenic emulation module and outside device emulation program, the transmission of message and data is carried out by " subscription/publication " mechanism of Redis database, three-dimensional scenic emulation module is according to ordered Message Channel, the message that the device emulation program of monitoring reception outside is sent, and according to the content in message, the state of the pilot lamp of device model in real-time update three-dimensional scenic emulation module;
3-2, three-dimensional scenic emulation module receive the message from the device emulation program of outside and resolve, and this protocol format parsing described message is: " Status Flag _ fault type _ network element device ID_ equipment slot ID ";
The described protocol format that 3-3, basis parse, judge that whether the running status of outside emulator is normal, then fault type and abort situation is determined further as abnormal, pilot lamp finally by abort situation model corresponding in three-dimensional scenic shows it for alarm status, as normal then by the LED status of the pilot lamp display regular refresh three dimensional device model of normal condition;
Step 4, in three-dimensional scenic operating equipment or prosthetic appliance fault, and operation information is sent to outside device emulation program, carries out simulation calculation and judgement:
4-1, in three-dimensional scenic according to alarm instruction, cause the faulty equipment of alarm in corresponding failure location lookup, and repair operation accordingly according to fault type;
4-2, complete reparation operation after, three-dimensional scenic emulation module device emulation program transmit operation message externally, it comprises the ID of prosthetic appliance and the type of operation; Its message format is: " action type _ network element device ID_ equipment slot ID ";
Watcher thread in 4-3, three-dimensional scenic emulation module, receives the simulation result that outside device emulation program is sent:
If it is errorless to repair operation before, then the watcher thread in described three-dimensional scenic emulation module can receive the message of normal condition, thus the pilot lamp upgrading relevant device in three-dimensional scenic returns to normal condition; If failover operation is before wrong, watcher thread then in described three-dimensional scenic emulation module will receive the message of abnormality, in three-dimensional scenic, the pilot lamp of relevant device still shows abnormality, now, return continuation order and perform step 4-1, carry out the inspection of fault and reparation and send operation information, circulation performs.
Further, the specification of described power communication machine room comprises provincial dispatching center communications equipment room, prefecture-level dispatching center communications equipment room and 110KV/220KV/500KV plant stand communications equipment room at different levels; The model of described communication facilities comprises Huawei OSN1500, Huawei OSN2500, Huawei OSN3500 and Huawei OSN7500 series.
Further, in described custom profile, definition refers to the title of ground floor definition machine room type and the number of network element by different level; Network element numbering, the device type title of its second layer definition different network elements; The board type title of its third layer define equipment each slot numbering and correspondence.
Further, obtain the outside real time data generated needed for three-dimensional scenic emulation module in described step 3 to comprise: the optical power value that equipment veneer LED status, equipment current alert state, equipment optical module and optical fiber are current;
According to the equipment veneer LED status data obtained, the Show Color of veneer model pilot lamp in three-dimensional scenic emulation module is set;
According to the current alert state data obtained, unlatching or the closedown of device model alerting tone in three-dimensional scenic emulation module are set;
According to the equipment optical module obtained and the current optical power value data of optical fiber, the optical power value of equipment light block models and fiber model in three-dimensional scenic emulation module is set.
Beneficial effect of the present invention is as follows:
(1) analogue system that the present invention is dynamically generating three-dimensional scenic based on Unity operates in power communication analogue system, by carrying out three-dimensional modeling to the communications equipment rooms such as real all kinds of transformer station, dispatching centers at different levels and telecommunication transmission equipment, and the network connection of the on-the-spot machine room of real simulation, create out the three-dimensional artificial scene of each real power communication machine room; Meanwhile, this three-dimensional scenic emulation module can communicate with the communication facilities emulation module in power communication analogue system, the running status of real-time reception and transmission emulator and data.
(2) utilize skilled addressee of the present invention in three-dimensional scenic emulation module, give operation training and there is good presence, solve and be inconvenient to operate at network operation communication facilities and the training that causes and the actual problem disconnected mutually, improve training efficiency and training quality, shorten the training cycle, greatly can improve the technical merit of communication maintainer.
(3) the present invention is applied in power communication three-dimensional visual simulation training system, utilizes 3D modeling and simulating technology to realize the establishment of power communication machine room and communication facilities correlation model.
(4) the present invention is by reading custom profile, automatically can generate corresponding power communication three-dimensional artificial scene, strong sense of reality.
(5) in the present invention three-dimensional scenic emulation module and outside device emulation program between communication mechanism, the messaging bus provided by real-time data base has been come, can ensure that the state display of each device model in three-dimensional artificial module is synchronous with the running status of outside emulator, from but make communication simulation training more close real.
(6) the present invention is in three-dimensional scenic emulation module, the equipment running status in the real-time display communication device emulation module of energy, and can carry out the operation of trouble shooting and fault restoration neatly.
Accompanying drawing explanation
Fig. 1 is the structural representation of analogue system in the present invention.
Fig. 2 is the workflow diagram of implementation method in the present invention.
Fig. 3 is the hierarchical chart of custom profile in the present invention.
Fig. 4 is the workflow diagram of watcher thread in the present invention.
Embodiment
Below in conjunction with accompanying drawing 1 ~ 4, the invention will be further described.
Embodiment, with reference to Fig. 1 ~ 4: it comprises three-dimensional simulation model storehouse, scene configuration library, three-dimensional scenic emulation module and data communication module; Described three-dimensional scenic emulation module comprises scene display module and scene operation module, the command input of the control output end access scene display module of described scene operation module; The data input pin of scene display module described in the output termination of described three-dimensional simulation model storehouse and scene configuration library, described scene operation module communicates through data communication module and outside device emulation program.
Described three-dimensional simulation model storehouse comprises communications equipment room model bank and communication equipment models storehouse;
Described communications equipment room model bank comprises the plant stand communications equipment room three-dimensional models at different levels such as provincial dispatching center communications equipment room three-dimensional model, prefecture-level dispatching center communications equipment room three-dimensional model, 110KV/220KV/500KV; Described communication equipment models storehouse comprises telecommunication transmission equipment machine frame and veneer three-dimensional model, route exchange device three-dimensional model, Communication Power Equipment three-dimensional model, communication terminal device model, distributing frame three-dimensional model, communicate fine cable three-dimensional model and instrument and meter three-dimensional model.Model in these model banies leaves in analogue system resource file storehouse with the form of model file.
Described scene configuration library is made up of custom profile, and this configuration file is different because of the difference of communication simulation training case, and these custom profiles leave in analogue system configuration file storehouse.
Described three-dimensional scenic emulation module comprises scene display module and scene operation module, and this module is the virtual visual simulating scene of actual communication machine room, and start-up can complete the functions such as tour and operating equipment in this scenario.
Described scene display module is according to the demand of communication simulation training case, dynamically read and resolve the custom profile of specifying from scene configuration library, according to the data after parsing, from three-dimensional simulation model storehouse, transfer relevant three-dimensional model file, thus demonstrate three-dimensional scenic emulation module.
Described scene operation module is for realizing the operating function to device model in three-dimensional scenic emulation module.
Described data communication module is made up of real-time data base and message sink transmission program, this module is that the data communication between three-dimensional scenic emulation module and peripherals simulation program provides interface, that three-dimensional scenic emulation module can the running status of the outside emulator of Real-time Obtaining, and arrange and revise the state of each three-dimensional model in three-dimensional scenic emulation module accordingly, meanwhile, the operation information that the scene operation module in three-dimensional scenic emulation module is done also sends to outside device emulation program by described data communication module.
Dynamically generate an implementation method for the analogue system of three-dimensional scenic based on Unity, it comprises the steps:
Step 1, establishment three-dimensional model, it comprises communications equipment room model and communication equipment models, and described communication facilities comprises equipment subrack, veneer and optical fiber.
1-1, communication of power system machine room specification have: the plant stand communications equipment rooms at different levels such as provincial dispatching center communications equipment room, prefecture-level dispatching center communications equipment room, 110KV/220KV/500KV; Communication facilities model has: the series such as Huawei OSN1500, Huawei OSN2500, Huawei OSN3500, Huawei OSN7500.
By building data and communication facilities manual data to the actual measurement of on-the-spot different communication machine room and communication facilities and communications equipment room, obtain the three-dimensional dimension of each communications equipment room and communication facilities, communications equipment room structural drawing, communications equipment room interior trim figure, communications equipment room device layout figure and equipment appearance figure.Three-dimensional dimension i.e. its length of described communication facilities, width and height.
According to real communications equipment room and communication facilities dimensional data and computer room structure figure, in 3DMAX modeling tool, create the three-dimensional model of communications equipment room and communication facilities according to the size of 1:1; And according to communications equipment room interior trim figure, communication facilities outside drawing and communication facilities layout, the material of establishment communications equipment room, communication facilities plays up the three-dimensional model effect of communications equipment room and communication facilities.
1-2, in Unity establishing resource file, and be categorized as communications equipment room model bank and communication equipment models storehouse.The communications equipment room .FBX three-dimensional model file created in 3DMAX is pulled in communications equipment room model bank, communication facilities .FBX three-dimensional model file is pulled in communication equipment models storehouse.
By the machine room three-dimensional model initial position co-ordinates (x, y, z) of often kind of specification in machine room model bank in Unity, be set to (0,0,0); By the equipment three-dimensional model initial position co-ordinates (x, y, z) of type every in device model storehouse, be set to (33,1.7,3.8), this coordinate is the origin coordinates that equipment is specified when putting in machine room model.The machine room model setting initial coordinate by above-mentioned and device model are preserved and are become .prefab preset model file, and in the machine room model bank of depositing Unity respectively and device model storehouse.
Step 2., in Unity, newly-built C# program reads custom profile, automatically generates three-dimensional scenic.
The veneer model of machine room type, network element number, the unit type of each network element, each slot of equipment is defined by different level, as shown in Figure 2 in 2-1, custom profile.
The ground floor of described custom profile defines the title of machine room type and the number of network element; Its second layer defines network element numbering, the device type title of different network elements; Its third layer defines the board type title of equipment each slot numbering and correspondence.
The hierarchical structure of described custom profile as shown in Figure 2.
Following is configuration file definition format in an application example:
[220kv_2]
<1_OSN7500>
Slot_1_SL16A
Slot_2_NULL
Slot_38_NULL
<2_OSN7500>
Slot_1_SL16A
Slot_2_NULL
Slot_38_NULL
In [220kv_2], " 220kv " is machine room specification title, and " 2 " are network element number;
In <1_OSN7500> and <2_OSN7500>, " 1 " and " 2 " is network element numbering, and " OSN7500 " is the unit type title of network element numbering correspondence,
In Slot_1_SL16A and Slot_2_NULL, " Slot " is equipment slot name keys, and " 1 " and " 2 " is equipment slots item, and " SL16A " is the model name of the plug in veneer in this slot, and " NULL " represents that empty veneer is inserted in this slot.
2-2, read described custom profile, resolve the data in this file:
" [] " in scanning document, if do not find " [] " to end process; If have found, take out the character string in " [] ", and split before and after " _ " character string and data, and respectively assignment to the machine room name variable in program and loop variable;
" <> " in scanning document, take out the character string in " <> ", and split before and after " _ " data and character string, and respectively assignment to the loop variable in program and implementor name variable;
Scanning " Slot " key word, before and after segmentation " _ " data and character string, and respectively assignment to the loop variable in program and veneer name variable;
Machine room title, device name, veneer name and NE quantity that 2-3, basis read from file, Resources.Load (Name) method in Unity is called, the .prefab model preset before being loaded into from the machine room model bank Unity and device model storehouse by C# program loop; Machine room model and first device model be loaded into will be put in three-dimensional scenic according to the position set before, Posterior circle be loaded into device model will according to ((float) (33.0-2.0*i) of transform.position=newVector3 in Unity, 1.7f, 3.8f) method, sets corresponding position again automatically.
Step 3, as shown in Figure 4, newly-built watcher thread in three-dimensional scenic emulation module, subscribes to the Message Channel of real-time data base, the real-time messages of emulator running status in obtaining communication device emulation module.
3-1, three-dimensional scenic emulation module and communication facilities emulation module, the transmission of message and data is carried out by " subscription/publication " mechanism of Redis database, three-dimensional scenic emulation module is according to ordered Message Channel, the message that monitoring reception communication facilities emulation module sends, and according to the content in message, the state of the pilot lamp of real-time update device model.
3-2, three-dimensional scenic emulation module receive the message from communication facilities emulation module and resolve, and the protocol format of this message is: " Status Flag _ fault type _ network element device ID_ equipment slot ID ".
After three-dimensional scenic emulation module receives message, message is resolved: according to " _ ", message is split, first judge state flag bit, if be 0, then belong to normal condition, now according to the LED status of the pilot lamp display regular refresh three dimensional device model of normal condition; If zone bit is 1, then belong to abnormality, now continue failure judgement type, comprising: disconnected fine, optical fiber is deteriorated, veneer off-line, veneer damage etc.; After determining fault type, failure judgement point: network element device ID and equipment slot ID, after this according to the display rule of pilot lamp during equipment failure state, the pilot lamp changing corresponding trouble spot model is alarm status.
Watcher thread receipt message example is as follows:
" 1_ break fibre _ 2_8 ";
" 1 " represents is now malfunction, and fault type is " disconnected fine ", the optical fiber that the 8th slot veneer that trouble spot is network element 2 corresponding device connects.
Step 4, in three-dimensional scenic operating equipment or prosthetic appliance fault, and operation information is sent to communication facilities emulation module, carries out simulation calculation and judgement.
4-1, in three-dimensional scenic according to alarm instruction, search at corresponding failure point and cause the faulty equipment of alarm, and repair operation accordingly according to fault type, comprising: change optical fiber, change veneer etc.;
Failover operation step for: the main camera model in Keyboard Control Unity scene moves to the position residing for the equipment of trouble spot, mouse chooses the device model that will repair, a mouse click right button, action-item is selected in the menu ejected, as " more exchange device ", then choose in interface at the equipment ejected, select the equipment of respective model, click and change button, complete the operation of more exchange device.
4-2, complete reparation operation after, three-dimensional scenic emulation module, to communication facilities emulation module transmit operation message, comprises the ID of prosthetic appliance and the type of operation.Its message format is: " action type _ network element device ID_ equipment slot ID ".
As follows:
" change optical fiber _ 2_8 ";
This message represents, has changed the optical fiber that network element 2 equipment the 8th slot veneer connects.
Watcher thread in 4-3, three-dimensional scenic emulation module, the simulation result that received communication device emulation module is sent:
If it is errorless to repair operation before, then the watcher thread in three-dimensional scenic emulation module can receive the message of normal condition, thus the pilot lamp upgrading relevant device in three-dimensional scenic returns to normal condition; If failover operation is before wrong, watcher thread then in three-dimensional scenic emulation module will receive the message of abnormality, in three-dimensional scenic, the pilot lamp of relevant device still shows abnormality, now, can continue to perform step 4, carry out the inspection of fault and reparation and send operation information, so instruction circulation performs.
The above embodiment is only the preferred embodiments of the present invention, and and the feasible enforcement of non-invention exhaustive.For persons skilled in the art, to any apparent change done by it under the prerequisite not deviating from the principle of the invention and spirit, all should be contemplated as falling with within claims of the present invention.

Claims (10)

1. dynamically generate an analogue system for three-dimensional scenic based on Unity, it is characterized in that: it comprises three-dimensional simulation model storehouse, scene configuration library, three-dimensional scenic emulation module and data communication module; Described three-dimensional scenic emulation module comprises scene display module and scene operation module, the command input of the control output end access scene display module of described scene operation module; The data input pin of scene display module described in the output termination of described three-dimensional simulation model storehouse and scene configuration library, described scene operation module communicates through data communication module and outside device emulation program.
2. the analogue system dynamically generating three-dimensional scenic based on Unity according to claim 1, is characterized in that: described three-dimensional simulation model storehouse comprises communications equipment room model bank and communication equipment models storehouse; Described communications equipment room model bank comprises provincial dispatching center communications equipment room three-dimensional model, prefecture-level dispatching center communications equipment room three-dimensional model, 110KV/220KV/500KV level plant stand communications equipment room three-dimensional model; Described communication equipment models storehouse comprises telecommunication transmission equipment machine frame and veneer three-dimensional model, route exchange device three-dimensional model, Communication Power Equipment three-dimensional model, communication terminal device model, distributing frame three-dimensional model, communicate fine cable three-dimensional model and instrument and meter three-dimensional model.
3. the analogue system dynamically generating three-dimensional scenic based on Unity according to claim 1, it is characterized in that: described scene configuration library is made up of custom profile, the parameter of described custom profile configures according to practical communication emulation training case.
4. the analogue system dynamically generating three-dimensional scenic based on Unity according to claim 1, it is characterized in that: described scene display module is according to the demand of practical communication emulation training case, dynamically read and resolve the custom profile of specifying from described scene configuration library, according to the data after parsing, from described three-dimensional simulation model storehouse, transfer relevant three-dimensional model file, thus demonstrate the virtual visual simulating scene of actual communication machine room.
5. the analogue system dynamically generating three-dimensional scenic based on Unity according to claim 1, is characterized in that: described scene operation module is for realizing the operating function to the device model in three-dimensional scenic emulation module.
6. the analogue system dynamically generating three-dimensional scenic based on Unity according to claim 1, it is characterized in that: described data communication module is made up of real-time data base and message sink transmission program, described data communication module be three-dimensional scenic emulation module and outside device emulation program between data communication provide interface.
7. utilize the implementation method dynamically generating the analogue system of three-dimensional scenic based on Unity described in claim 1, it is characterized in that: implementation step is as follows:
Step 1, establishment three-dimensional model:
Concrete establishment comprises: the three-dimensional model of communications equipment room, communication facilities, and described communication facilities comprises equipment subrack, veneer and optical fiber;
The three-dimensional dimension data of 1-1, foundation communications equipment room and communication facilities and computer room structure figure, create the three-dimensional model of communications equipment room and communication facilities in 3DMAX modeling tool according to the size of 1:1; And according to communications equipment room interior trim figure, communication facilities outside drawing and communication facilities layout, the material of establishment communications equipment room, communication facilities plays up the three-dimensional model effect of communications equipment room and communication facilities;
1-2, in Unity establishing resource file, and be categorized as communications equipment room model bank and communication equipment models storehouse; The communications equipment room three-dimensional model file created in 3DMAX is pulled in communications equipment room model bank, communication facilities three-dimensional model file is pulled in communication equipment models storehouse;
The three-dimensional model initial position co-ordinates of the machine room of often kind of specification in communications equipment room model bank is set in Unity, the three-dimensional model initial position co-ordinates of the equipment of every type in communication equipment models storehouse is set, the communications equipment room model setting initial coordinate by above-mentioned and communication equipment models are preserved and are become preset model file, and in the communications equipment room model bank of depositing Unity respectively and communication equipment models storehouse;
Step 2, in Unity, newly-built C# program reads custom profile, automatically generates three-dimensional scenic emulation module:
2-1, in described custom profile, define the veneer model of machine room type, network element number, the unit type of each network element, each slot of equipment by different level;
2-2, read custom profile, what parse in described custom profile is as follows: data center module title, device name, veneer name and NE quantity;
Machine room title, device name, veneer name and NE quantity that 2-3, basis read from custom profile, call model resource file in Unity by C# program loop and be loaded into function, the model file preset before being loaded into from the communications equipment room model bank Unity and communication equipment models storehouse;
Step 3, in three-dimensional scenic emulation module newly-built watcher thread, subscribe to the Message Channel of real-time data base, obtain from the device emulation program of outside the outside real time data generated needed for three-dimensional scenic emulation module,
3-1, three-dimensional scenic emulation module and outside device emulation program, the transmission of message and data is carried out by " subscription/publication " mechanism of Redis database, three-dimensional scenic emulation module is according to ordered Message Channel, the message that the device emulation program of monitoring reception outside is sent, and according to the content in message, the state of the pilot lamp of device model in real-time update three-dimensional scenic emulation module;
3-2, three-dimensional scenic emulation module receive the message from the device emulation program of outside and resolve, and this protocol format parsing described message is: " Status Flag _ fault type _ network element device ID_ equipment slot ID ";
The described protocol format that 3-3, basis parse, judge that whether the running status of outside emulator is normal, then fault type and abort situation is determined further as abnormal, pilot lamp finally by abort situation model corresponding in three-dimensional scenic shows it for alarm status, as normal then by the LED status of the pilot lamp display regular refresh three dimensional device model of normal condition;
Step 4, in three-dimensional scenic operating equipment or prosthetic appliance fault, and operation information is sent to outside device emulation program, carries out simulation calculation and judgement:
4-1, in three-dimensional scenic according to alarm instruction, cause the faulty equipment of alarm in corresponding failure location lookup, and repair operation accordingly according to fault type;
4-2, complete reparation operation after, three-dimensional scenic emulation module device emulation program transmit operation message externally, it comprises the ID of prosthetic appliance and the type of operation; Its message format is: " action type _ network element device ID_ equipment slot ID ";
Watcher thread in 4-3, three-dimensional scenic emulation module, receives the simulation result that outside device emulation program is sent:
If it is errorless to repair operation before, then the watcher thread in described three-dimensional scenic emulation module can receive the message of normal condition, thus the pilot lamp upgrading relevant device in three-dimensional scenic returns to normal condition; If failover operation is before wrong, watcher thread then in described three-dimensional scenic emulation module will receive the message of abnormality, in three-dimensional scenic, the pilot lamp of relevant device still shows abnormality, now, return continuation order and perform step 4-1, carry out the inspection of fault and reparation and send operation information, circulation performs.
8. the implementation method dynamically generating the analogue system of three-dimensional scenic based on Unity according to claim 7, is characterized in that: in described custom profile, definition refers to the title of ground floor definition machine room type and the number of network element by different level; Network element numbering, the device type title of its second layer definition different network elements; The board type title of its third layer define equipment each slot numbering and correspondence.
9. the implementation method dynamically generating the analogue system of three-dimensional scenic based on Unity according to claim 7, is characterized in that: obtain the outside real time data generated needed for three-dimensional scenic emulation module in described step 3 and comprise: the optical power value that equipment veneer LED status, equipment current alert state, equipment optical module and optical fiber are current.
10. the implementation method dynamically generating the analogue system of three-dimensional scenic based on Unity according to claim 7, is characterized in that: the specification of described communications equipment room comprises provincial dispatching center communications equipment room, prefecture-level dispatching center communications equipment room and 110KV/220KV/500KV plant stand communications equipment room at different levels; The model of described communication facilities comprises Huawei OSN1500, Huawei OSN2500, Huawei OSN3500 and Huawei OSN7500 series.
CN201510376403.0A 2015-07-01 2015-07-01 Analogue system and its implementation based on Unity dynamic generation three-dimensional scenic Active CN105045970B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510376403.0A CN105045970B (en) 2015-07-01 2015-07-01 Analogue system and its implementation based on Unity dynamic generation three-dimensional scenic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510376403.0A CN105045970B (en) 2015-07-01 2015-07-01 Analogue system and its implementation based on Unity dynamic generation three-dimensional scenic

Publications (2)

Publication Number Publication Date
CN105045970A true CN105045970A (en) 2015-11-11
CN105045970B CN105045970B (en) 2019-01-25

Family

ID=54452513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510376403.0A Active CN105045970B (en) 2015-07-01 2015-07-01 Analogue system and its implementation based on Unity dynamic generation three-dimensional scenic

Country Status (1)

Country Link
CN (1) CN105045970B (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105006017A (en) * 2015-07-01 2015-10-28 国家电网公司 Simulation method for generating three-dimensional scene based on Unity dynamic technology
CN105844704A (en) * 2016-03-23 2016-08-10 深圳市欣横纵数码科技有限公司 Nuclear security 3D virtual simulation method
CN106095840A (en) * 2016-06-04 2016-11-09 山东天元信息技术股份有限公司 Pipe network and facility information three-dimensional display method in a kind of multi-purpose station three-dimensional station
CN107292955A (en) * 2017-07-06 2017-10-24 李长云 The methods of exhibiting and system of a kind of industrial equipment operation health status
CN107515993A (en) * 2017-09-07 2017-12-26 电子科技大学 GPU optimization methods based on Unity3D welding simulations
CN107679281A (en) * 2017-09-05 2018-02-09 国家电网公司 Intelligent station three-dimensional scenic analogue system and implementation method based on Unity dynamic generations
CN107744181A (en) * 2017-10-17 2018-03-02 晋江市嘉利服装织造有限公司 One kind gathers multi-functional underwear and its application method
CN108694259A (en) * 2017-04-10 2018-10-23 中国石油化工股份有限公司 A kind of drilling well underground simulation engine and method based on Real-time data drive
CN108734775A (en) * 2018-05-22 2018-11-02 中国地质大学(武汉) A kind of the road asset automation fast modeling method and system of low cost
CN109165267A (en) * 2018-09-13 2019-01-08 国网技术学院 A kind of power communication transmission fault investigation operation experience system and method
CN109829205A (en) * 2019-01-08 2019-05-31 北京国电智深控制技术有限公司 A kind of scene creation method, apparatus and computer readable storage medium
CN109821240A (en) * 2018-12-05 2019-05-31 广州西山居世游网络科技有限公司 A kind of method and device thereof for realizing resource LOD classification based on Unity
CN110515812A (en) * 2019-08-13 2019-11-29 昆山达骐亚网络科技有限公司 Dummy emulation system construction method based on Unity+3D technology
CN110717248A (en) * 2019-09-11 2020-01-21 武汉光庭信息技术股份有限公司 Method and system for generating automatic driving simulation scene, server and medium
CN110826201A (en) * 2019-10-24 2020-02-21 深圳供电局有限公司 Three-dimensional visualization platform for operation and maintenance management system of data center
CN111223188A (en) * 2019-10-31 2020-06-02 中车青岛四方机车车辆股份有限公司 Production process display method and device
CN111723473A (en) * 2020-05-30 2020-09-29 同济大学 Three-dimensional visual collaborative simulation system
CN111832156A (en) * 2020-06-18 2020-10-27 国网河北省电力有限公司石家庄供电分公司 Electric power simulation system based on big data architecture
CN111898007A (en) * 2020-08-04 2020-11-06 广东电网有限责任公司电力科学研究院 Three-dimensional scene model construction system and method for transformer substation
CN112365597A (en) * 2020-10-20 2021-02-12 苏州同元软控信息技术有限公司 Modelica-based three-dimensional model creation and visual simulation method and device
CN113435709A (en) * 2021-06-07 2021-09-24 国家能源泰安热电有限公司 Safety management and control system for electrical operation of thermal power plant
CN114237135A (en) * 2021-11-30 2022-03-25 国网辽宁省电力有限公司信息通信分公司 Information communication machine room 3D visualization method and system based on digital twin technology

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8666704B2 (en) * 2007-07-30 2014-03-04 Aruba Networks, Inc. Visualization of radio frequency coverage
CN104318617A (en) * 2014-10-17 2015-01-28 福建师范大学 Three-dimensional geographical scene simulation method for virtual emergency exercises

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8666704B2 (en) * 2007-07-30 2014-03-04 Aruba Networks, Inc. Visualization of radio frequency coverage
CN104318617A (en) * 2014-10-17 2015-01-28 福建师范大学 Three-dimensional geographical scene simulation method for virtual emergency exercises

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张明明: "基于Unity3D虚拟校园漫游的研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105006017A (en) * 2015-07-01 2015-10-28 国家电网公司 Simulation method for generating three-dimensional scene based on Unity dynamic technology
CN105006017B (en) * 2015-07-01 2018-07-24 国家电网公司 Three-dimensional scenic emulation mode is generated based on Unity dynamic techniques
CN105844704A (en) * 2016-03-23 2016-08-10 深圳市欣横纵数码科技有限公司 Nuclear security 3D virtual simulation method
CN106095840A (en) * 2016-06-04 2016-11-09 山东天元信息技术股份有限公司 Pipe network and facility information three-dimensional display method in a kind of multi-purpose station three-dimensional station
CN108694259A (en) * 2017-04-10 2018-10-23 中国石油化工股份有限公司 A kind of drilling well underground simulation engine and method based on Real-time data drive
CN108694259B (en) * 2017-04-10 2021-07-16 中国石油化工股份有限公司 Drilling underground simulation engine and method based on real-time data driving
CN107292955A (en) * 2017-07-06 2017-10-24 李长云 The methods of exhibiting and system of a kind of industrial equipment operation health status
CN107679281A (en) * 2017-09-05 2018-02-09 国家电网公司 Intelligent station three-dimensional scenic analogue system and implementation method based on Unity dynamic generations
CN107515993A (en) * 2017-09-07 2017-12-26 电子科技大学 GPU optimization methods based on Unity3D welding simulations
CN107744181A (en) * 2017-10-17 2018-03-02 晋江市嘉利服装织造有限公司 One kind gathers multi-functional underwear and its application method
CN108734775A (en) * 2018-05-22 2018-11-02 中国地质大学(武汉) A kind of the road asset automation fast modeling method and system of low cost
CN109165267A (en) * 2018-09-13 2019-01-08 国网技术学院 A kind of power communication transmission fault investigation operation experience system and method
CN109821240A (en) * 2018-12-05 2019-05-31 广州西山居世游网络科技有限公司 A kind of method and device thereof for realizing resource LOD classification based on Unity
CN109821240B (en) * 2018-12-05 2022-08-30 广州西山居世游网络科技有限公司 Method and device for realizing resource LOD (load on demand) classification based on Unity
CN109829205A (en) * 2019-01-08 2019-05-31 北京国电智深控制技术有限公司 A kind of scene creation method, apparatus and computer readable storage medium
CN110515812A (en) * 2019-08-13 2019-11-29 昆山达骐亚网络科技有限公司 Dummy emulation system construction method based on Unity+3D technology
CN110717248A (en) * 2019-09-11 2020-01-21 武汉光庭信息技术股份有限公司 Method and system for generating automatic driving simulation scene, server and medium
CN110826201A (en) * 2019-10-24 2020-02-21 深圳供电局有限公司 Three-dimensional visualization platform for operation and maintenance management system of data center
CN110826201B (en) * 2019-10-24 2023-11-03 深圳供电局有限公司 Three-dimensional visualization platform for operation and maintenance management system of data center
CN111223188A (en) * 2019-10-31 2020-06-02 中车青岛四方机车车辆股份有限公司 Production process display method and device
CN111723473A (en) * 2020-05-30 2020-09-29 同济大学 Three-dimensional visual collaborative simulation system
CN111832156A (en) * 2020-06-18 2020-10-27 国网河北省电力有限公司石家庄供电分公司 Electric power simulation system based on big data architecture
CN111898007A (en) * 2020-08-04 2020-11-06 广东电网有限责任公司电力科学研究院 Three-dimensional scene model construction system and method for transformer substation
CN112365597B (en) * 2020-10-20 2023-07-07 苏州同元软控信息技术有限公司 Modelica-based three-dimensional model creation and visual simulation method and device
CN112365597A (en) * 2020-10-20 2021-02-12 苏州同元软控信息技术有限公司 Modelica-based three-dimensional model creation and visual simulation method and device
CN113435709A (en) * 2021-06-07 2021-09-24 国家能源泰安热电有限公司 Safety management and control system for electrical operation of thermal power plant
CN114237135A (en) * 2021-11-30 2022-03-25 国网辽宁省电力有限公司信息通信分公司 Information communication machine room 3D visualization method and system based on digital twin technology

Also Published As

Publication number Publication date
CN105045970B (en) 2019-01-25

Similar Documents

Publication Publication Date Title
CN105045970A (en) Simulation system for dynamically generating three-dimensional scene on the basis of Unity, and implementation method thereof
CN105006017A (en) Simulation method for generating three-dimensional scene based on Unity dynamic technology
CN105373655B (en) A kind of method of one electrical secondary system connection figure of organic association Intelligent transformer station
CN107679281A (en) Intelligent station three-dimensional scenic analogue system and implementation method based on Unity dynamic generations
CN104133953B (en) Intelligent substation secondary design system
CN101661527B (en) Automatic switching system from geographical wiring diagram of distribution network to single line diagram
CN107069950A (en) Automatic identifying method and system of a kind of distribution main website to terminal device
CN102832703B (en) Transformer station and scheduling station model fast conversion method based on model conversion machine
CN102957205B (en) A kind of method and system setting up electricity distribution network model
US10809753B2 (en) Real-time simulator and controller of power system using distributed data streaming server
CN101894488A (en) Distributed three-dimensional simulation training system for regional power system transformer station
CN107332347A (en) Intelligent substation secondary intelligence Computer Aided Design platform
CN101394106A (en) Method for implementing network five defending locking system of transforming plant without person on duty
CN105515189A (en) Integrated intelligent gateway machine configuration method based on unified modeling of transformer station
CN204291050U (en) A kind of dispatching and monitoring information check system
CN102982702A (en) Visual regulation-control simulation training and accident rehearsal interaction module
CN108520163A (en) Three-dimensional net rack method for automatic modeling based on CIM model and SVG figures
CN104537908A (en) Multi-stage scheduling integrated simulation system based on model sharing and method
CN102916489B (en) Virtual terminal automatic wiring method based on primary system structure of regional power grid
CN106126830A (en) Intelligent substation secondary void loop based on graphic configuration plug-in unit method for visualizing
CN104579797A (en) Automatic configuration method of switch information flow of intelligent substation
CN107748672A (en) Secondary remote interface integrated management approach based on IEC61850 sites protection model
CN107992019A (en) A kind of boss station integration anti-error system closed loop test method and system
CN201467146U (en) Transmission network topological structure safety analysis system
CN103413012B (en) Based on synchronisation control means and the device of electric system and communication system combined simulation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant