CN105006017A - Simulation method for generating three-dimensional scene based on Unity dynamic technology - Google Patents
Simulation method for generating three-dimensional scene based on Unity dynamic technology Download PDFInfo
- Publication number
- CN105006017A CN105006017A CN201510376363.XA CN201510376363A CN105006017A CN 105006017 A CN105006017 A CN 105006017A CN 201510376363 A CN201510376363 A CN 201510376363A CN 105006017 A CN105006017 A CN 105006017A
- Authority
- CN
- China
- Prior art keywords
- dimensional
- model
- dimensional scenic
- module
- equipment
- 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
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 30
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000005516 engineering process Methods 0.000 title abstract description 5
- 238000004891 communication Methods 0.000 claims abstract description 171
- 239000013307 optical fiber Substances 0.000 claims abstract description 12
- 238000004364 calculation method Methods 0.000 claims abstract description 4
- 238000012544 monitoring process Methods 0.000 claims abstract description 4
- 238000012549 training Methods 0.000 claims description 18
- 230000005540 biological transmission Effects 0.000 claims description 9
- 230000005856 abnormality Effects 0.000 claims description 7
- 230000008439 repair process Effects 0.000 claims description 7
- 230000003287 optical effect Effects 0.000 claims description 6
- 230000000007 visual effect Effects 0.000 claims description 6
- 230000007246 mechanism Effects 0.000 claims description 4
- 230000009471 action Effects 0.000 claims description 3
- 238000000151 deposition Methods 0.000 claims description 3
- 230000000694 effects Effects 0.000 claims description 3
- 238000007689 inspection Methods 0.000 claims description 3
- 239000000463 material Substances 0.000 claims description 3
- 238000012546 transfer Methods 0.000 claims description 3
- 230000002159 abnormal effect Effects 0.000 claims description 2
- 230000008859 change Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000013024 troubleshooting Methods 0.000 description 1
Landscapes
- Telephonic Communication Services (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a simulation method for generating a three-dimensional scene based on a Unity dynamic technology, belonging to the field of simulation of a communication scene of a power system. The method comprises the following steps of step 1, constructing three-dimensional models, more specifically, three-dimensional models of a communication machine room and communication equipment, wherein the communication equipment consists of device sub-racks, single plates and optical fibers; step 2, newly constructing a C# procedure in Unity to read a user-defined configuration file and automatically generating a three-dimensional scene simulation module; step 3, newly constructing a monitoring thread in the three-dimensional scene simulation module, subscribing an information channel of a real-time database, and obtaining external real-time data required for generating the three-dimensional scene simulation module from an external equipment simulation procedure; and step 4, operating the equipment or repairing an equipment failure in the three-dimensional scene, and transmitting the operation information to the external equipment simulation procedure to carry out simulating calculation and judgment. According to the method, the operating status of the equipment in the simulation module of the communication equipment can be displayed in real time, and operations of failure checking and failure repairing can be flexibly carried out.
Description
Technical field
The invention belongs to communication of power system scene simulation field, be specifically related to a kind of based on Unity dynamic technique generation three-dimensional scenic emulation mode, be mainly used in emulating for the various types of communication machine room of power communication analogue system and the three-dimensional scenic of telecommunication transmission equipment.
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 method, 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 Methodology 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 a kind of facility efficiently for communication of power system staff, communication facilities operation maintenance and checking experiment staff training generate three-dimensional scenic emulation mode based on Unity dynamic technique.
The present invention adopts following technical scheme:
A kind of based on Unity dynamic technique generation three-dimensional scenic emulation mode, its concrete steps are 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, 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.
Further, described three-dimensional scenic emulation module comprises scene display module and scene operation module; The data input pin of described scene display module connects outside three-dimensional simulation model storehouse and scene configuration library, the command input of the control output end access scene display module of described scene operation module, described scene operation module communicates through data communication module and outside device emulation program.
Further, 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.
Further, described scene operation module is for realizing the operating function to the device model in three-dimensional scenic emulation module.
Further, 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.
The invention has the beneficial effects as follows:
(1) the present invention is generating three-dimensional scenic based on Unity Dynamic Generation, emulation power communication system is in operation, 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) the three-dimensional scenic emulation module in the present invention and the communication mechanism between the device emulation program of outside, 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 can equipment running status in the device emulation of display communication in real time module, and can carry out the operation of trouble shooting and fault restoration neatly.
Accompanying drawing explanation
Fig. 1 is the workflow diagram of this emulation mode.
Fig. 2 is the hierarchical chart of custom profile in the present invention.
Fig. 3 is the workflow diagram of watcher thread in the present invention.
Fig. 4 is the structural representation of three-dimensional scenic emulation module in the present invention.
Embodiment
Below in conjunction with accompanying drawing 1 ~ 4, the invention will be further described.
With reference to Fig. 1 ~ 4, the performing step of the present embodiment is as follows:
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=new Vector3 in Unity, 1.7f, 3.8f) method, sets corresponding position again automatically.
Step 3, as shown in Figure 3, 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.
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.
Further, described three-dimensional scenic emulation module comprises scene display module and scene operation module; The data input pin of described scene display module connects outside three-dimensional simulation model storehouse and scene configuration library, the command input of the control output end access scene display module of described scene operation module, described scene operation module warp
Data communication module communicates with outside device emulation program.Described three-dimensional scenic emulation 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.
Outside 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 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.
Further, 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.
Further, described scene operation module is for realizing the operating function to the device model in three-dimensional scenic emulation module.
Further, 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.
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 (7)
1. generate a three-dimensional scenic emulation mode based on Unity dynamic technique, it is characterized in that: it comprises the steps:
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.
2. according to claim 1 based on Unity dynamic technique generation three-dimensional scenic emulation mode, it 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.
3. according to claim 1 based on Unity dynamic technique generation three-dimensional scenic emulation mode, it 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.
4. according to claim 1 based on Unity dynamic technique generation three-dimensional scenic emulation mode, it is characterized in that: described three-dimensional scenic emulation module comprises scene display module and scene operation module; The data input pin of described scene display module connects outside three-dimensional simulation model storehouse and scene configuration library, the command input of the control output end access scene display module of described scene operation module, described scene operation module communicates through data communication module and outside device emulation program.
5. according to claim 4 based on Unity dynamic technique generation three-dimensional scenic emulation mode, 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.
6. according to claim 4 based on Unity dynamic technique generation three-dimensional scenic emulation mode, it is characterized in that: described scene operation module is for realizing the operating function to the device model in three-dimensional scenic emulation module.
7. according to claim 1 based on Unity dynamic technique generation three-dimensional scenic emulation mode, it 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.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510376363.XA CN105006017B (en) | 2015-07-01 | 2015-07-01 | Three-dimensional scenic emulation mode is generated based on Unity dynamic techniques |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510376363.XA CN105006017B (en) | 2015-07-01 | 2015-07-01 | Three-dimensional scenic emulation mode is generated based on Unity dynamic techniques |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105006017A true CN105006017A (en) | 2015-10-28 |
CN105006017B CN105006017B (en) | 2018-07-24 |
Family
ID=54378673
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510376363.XA Active CN105006017B (en) | 2015-07-01 | 2015-07-01 | Three-dimensional scenic emulation mode is generated based on Unity dynamic techniques |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105006017B (en) |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105825024A (en) * | 2016-03-03 | 2016-08-03 | 武汉科技大学 | Method for implementing cooperative three-dimensional simulation of blasting condensation workshop section of coke-oven plant |
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 |
CN106777417A (en) * | 2015-11-20 | 2017-05-31 | 北京华大九天软件有限公司 | A kind of quick method that simulated environment is set |
CN106844742A (en) * | 2017-02-14 | 2017-06-13 | 郑州云海信息技术有限公司 | A kind of geographical visualized management method of 3D virtual computer rooms and system |
CN107292955A (en) * | 2017-07-06 | 2017-10-24 | 李长云 | The methods of exhibiting and system of a kind of industrial equipment operation health status |
CN107544287A (en) * | 2017-08-31 | 2018-01-05 | 国家电网公司 | Intelligent substation GOOSE net SV net visual simulating methods based on SCD file |
CN107610214A (en) * | 2017-08-09 | 2018-01-19 | 南通汇聚软件科技有限公司 | A kind of inn monitoring system based on virtual reality technology |
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 |
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 |
CN110120165A (en) * | 2019-04-11 | 2019-08-13 | 成都盛特石油装备模拟技术股份有限公司 | Drilling well emergency drilling simulation system |
CN110364047A (en) * | 2019-07-03 | 2019-10-22 | 死海旅游度假有限公司 | Virtual teaching system based on acousto-optic power technology |
CN110515812A (en) * | 2019-08-13 | 2019-11-29 | 昆山达骐亚网络科技有限公司 | Dummy emulation system construction method based on Unity+3D technology |
CN110855482A (en) * | 2019-11-05 | 2020-02-28 | 智趣通信(深圳)有限公司 | Three-dimensional dynamic communication network analog simulation method, system and storage medium |
CN111917852A (en) * | 2020-07-23 | 2020-11-10 | 上海珀立信息科技有限公司 | Multi-person network synchronization system based on Unity and development method |
CN112866417A (en) * | 2021-02-26 | 2021-05-28 | 广东电网有限责任公司 | Machine room patrol inspection information pushing system and pushing method |
CN116091653A (en) * | 2023-01-13 | 2023-05-09 | 广州慧云网络科技有限公司 | Configuration diagram generation method and device of operation and maintenance equipment, terminal equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103246817A (en) * | 2013-05-15 | 2013-08-14 | 国家电网公司 | Electric energy meter automatic verification scheduling policy testing method based on Unity 3D |
CN103632581A (en) * | 2013-12-17 | 2014-03-12 | 国家电网公司 | Debugging, operation and maintenance simulation method of electric energy collection terminals |
US8972916B1 (en) * | 2013-12-05 | 2015-03-03 | Taiwan Semiconductor Manufacturing Co., Ltd. | Method and system for checking the inter-chip connectivity of a three-dimensional integrated circuit |
CN104599319A (en) * | 2014-12-26 | 2015-05-06 | 福建工程学院 | Real-time generation method of 3D scene |
CN105045970A (en) * | 2015-07-01 | 2015-11-11 | 国家电网公司 | Simulation system for dynamically generating three-dimensional scene on the basis of Unity, and implementation method thereof |
-
2015
- 2015-07-01 CN CN201510376363.XA patent/CN105006017B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103246817A (en) * | 2013-05-15 | 2013-08-14 | 国家电网公司 | Electric energy meter automatic verification scheduling policy testing method based on Unity 3D |
US8972916B1 (en) * | 2013-12-05 | 2015-03-03 | Taiwan Semiconductor Manufacturing Co., Ltd. | Method and system for checking the inter-chip connectivity of a three-dimensional integrated circuit |
CN103632581A (en) * | 2013-12-17 | 2014-03-12 | 国家电网公司 | Debugging, operation and maintenance simulation method of electric energy collection terminals |
CN104599319A (en) * | 2014-12-26 | 2015-05-06 | 福建工程学院 | Real-time generation method of 3D scene |
CN105045970A (en) * | 2015-07-01 | 2015-11-11 | 国家电网公司 | Simulation system for dynamically generating three-dimensional scene on the basis of Unity, and implementation method thereof |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106777417A (en) * | 2015-11-20 | 2017-05-31 | 北京华大九天软件有限公司 | A kind of quick method that simulated environment is set |
CN105825024B (en) * | 2016-03-03 | 2019-03-01 | 武汉科技大学 | A method of realizing coke-oven plant's blasting condensation workshop section cooperating type three-dimensional artificial |
CN105825024A (en) * | 2016-03-03 | 2016-08-03 | 武汉科技大学 | Method for implementing cooperative three-dimensional simulation of blasting condensation workshop section of coke-oven plant |
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 |
CN106844742A (en) * | 2017-02-14 | 2017-06-13 | 郑州云海信息技术有限公司 | A kind of geographical visualized management method of 3D virtual computer rooms and system |
CN107292955A (en) * | 2017-07-06 | 2017-10-24 | 李长云 | The methods of exhibiting and system of a kind of industrial equipment operation health status |
CN107610214A (en) * | 2017-08-09 | 2018-01-19 | 南通汇聚软件科技有限公司 | A kind of inn monitoring system based on virtual reality technology |
CN107544287A (en) * | 2017-08-31 | 2018-01-05 | 国家电网公司 | Intelligent substation GOOSE net SV net visual simulating methods based on SCD file |
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 |
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 |
CN110120165A (en) * | 2019-04-11 | 2019-08-13 | 成都盛特石油装备模拟技术股份有限公司 | Drilling well emergency drilling simulation system |
CN110364047A (en) * | 2019-07-03 | 2019-10-22 | 死海旅游度假有限公司 | Virtual teaching system based on acousto-optic power technology |
CN110515812A (en) * | 2019-08-13 | 2019-11-29 | 昆山达骐亚网络科技有限公司 | Dummy emulation system construction method based on Unity+3D technology |
CN110855482A (en) * | 2019-11-05 | 2020-02-28 | 智趣通信(深圳)有限公司 | Three-dimensional dynamic communication network analog simulation method, system and storage medium |
CN111917852A (en) * | 2020-07-23 | 2020-11-10 | 上海珀立信息科技有限公司 | Multi-person network synchronization system based on Unity and development method |
CN112866417A (en) * | 2021-02-26 | 2021-05-28 | 广东电网有限责任公司 | Machine room patrol inspection information pushing system and pushing method |
CN116091653A (en) * | 2023-01-13 | 2023-05-09 | 广州慧云网络科技有限公司 | Configuration diagram generation method and device of operation and maintenance equipment, terminal equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN105006017B (en) | 2018-07-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105006017A (en) | Simulation method for generating three-dimensional scene based on Unity dynamic technology | |
CN105045970A (en) | Simulation system for dynamically generating three-dimensional scene on the basis of Unity, and implementation method thereof | |
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 | |
CN101894488B (en) | Distributed three-dimensional simulation training system for regional power system transformer station | |
CN101661527B (en) | Automatic switching system from geographical wiring diagram of distribution network to single line diagram | |
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 | |
CN107069950A (en) | Automatic identifying method and system of a kind of distribution main website to terminal device | |
CN105005658A (en) | Logic simulation method of comprehensive automation system equipment of transformer substation | |
CN204291050U (en) | A kind of dispatching and monitoring information check system | |
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 | |
CN102982702A (en) | Visual regulation-control simulation training and accident rehearsal interaction module | |
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 | |
CN106681313A (en) | Function testing method of dynamic stability control system and dynamic stability control system | |
CN112804092A (en) | Modeling and simulation method and system for OTN optical transmission network for power communication | |
CN104579797A (en) | Automatic configuration method of switch information flow of intelligent substation | |
CN109767056A (en) | Boss station integrative graph management method, system and storage medium | |
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 | |
CN103413012B (en) | Based on synchronisation control means and the device of electric system and communication system combined simulation | |
CN111626639B (en) | Power grid equipment state and data management system |
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 |