CN105006017B - Three-dimensional scenic emulation mode is generated based on Unity dynamic techniques - Google Patents

Three-dimensional scenic emulation mode is generated based on Unity dynamic techniques Download PDF

Info

Publication number
CN105006017B
CN105006017B CN201510376363.XA CN201510376363A CN105006017B CN 105006017 B CN105006017 B CN 105006017B CN 201510376363 A CN201510376363 A CN 201510376363A CN 105006017 B CN105006017 B CN 105006017B
Authority
CN
China
Prior art keywords
dimensional scenic
equipment
module
model
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510376363.XA
Other languages
Chinese (zh)
Other versions
CN105006017A (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 CN201510376363.XA priority Critical patent/CN105006017B/en
Publication of CN105006017A publication Critical patent/CN105006017A/en
Application granted granted Critical
Publication of CN105006017B publication Critical patent/CN105006017B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses one kind generating three-dimensional scenic emulation mode based on Unity dynamic techniques, belongs to communication of power system scene simulation field comprising following steps:Step 1 creates threedimensional model:It specifically creates and includes:The threedimensional model of communications equipment room, communication equipment, the communication equipment include equipment subrack, veneer and optical fiber;Step 2 creates C# program reading custom profiles in Unity, automatically generates three-dimensional scenic emulation module;Step 3 creates watcher thread in three-dimensional scenic emulation module, subscribes to the Message Channel of real-time data base, and the external real time data generated needed for three-dimensional scenic emulation module is obtained from external device emulation program;Step 4 operates equipment or prosthetic appliance failure in three-dimensional scenic, and operation information is sent to external device emulation program, carries out simulation calculation and judgement.The present invention can display real-time the equipment running status in communication equipment emulation module, and can neatly carry out trouble shooting and the operation of fault restoration.

Description

Three-dimensional scenic emulation mode is generated based on Unity dynamic techniques
Technical field
The invention belongs to communication of power system scene simulation fields, and in particular to one kind is generated based on Unity dynamic techniques Three-dimensional scenic emulation mode is mainly used for being directed to the three of the various types of communication computer room of power communication analogue system and telecommunication transmission equipment Tie up scene simulation.
Background technology
With the development of power system automation technology, electric power communication network becomes information transmission and automation control Key factor.This requires the simulation training systems trained for communication of power system staff more to modernize, more Add and gear to actual circumstances, to reach the training purpose of efficient real training.
In current communication simulation method, it is mainly based upon Principle of Communication and carries out virtual network emulation, it can not true mould The actual conditions of the actual environment and scene residing for the power communication machine room and communication equipment of network operation are drawn up, it is unfavorable in training It is better understood by the communications equipment room and communication equipment at scene in communication staff.And it is trained under communications equipment room site environment Instruction is not only easily damaged expensive device and causes very big economic loss, but also being easy to make can not be pre- in the service disconnection initiation of network operation The serious consequence estimated.But currently based on true site environment and can dynamic generation power communication three-dimensional scenic visualization it is imitative True Training Methodology there is no.
Invention content
Technical problem to be solved by the invention is to provide a kind of facilities efficiently for working communication of power system Personnel, communication equipment operation and maintenance and checking experiment staff training based on Unity dynamic techniques generate three-dimensional scenic emulation side Method.
The present invention adopts the following technical scheme that:
One kind generating three-dimensional scenic emulation mode based on Unity dynamic techniques, is as follows:
Step 1 creates threedimensional model:
It specifically creates and includes:The threedimensional model of communications equipment room, communication equipment, the communication equipment include equipment subrack, list Plate and optical fiber;
1-1, three-dimensional dimension data and computer room structure figure according to communications equipment room and communication equipment, in 3DMAX modeling tools According to 1:1 size creates the threedimensional model of communications equipment room and communication equipment;And according to communications equipment room interior trim figure, communication equipment Outside drawing and communication equipment layout create communications equipment room, the material of communication equipment renders communications equipment room and communication equipment Threedimensional model effect;
1-2, the establishing resource file in Unity, and it is classified as communications equipment room model library and communication equipment models library;It will The communications equipment room threedimensional model file created in 3DMAX is dragged in communications equipment room model library, by communication equipment three-dimensional mould Type file is dragged in communication equipment models library;
The threedimensional model initial position co-ordinates of the computer room of each specification in communications equipment room model library are set in Unity, if The threedimensional model initial position co-ordinates of setting each type of equipment in communication equipment models library, by the above-mentioned initial coordinate that sets Communications equipment room model and communication equipment models, which preserve, becomes preset model file, and is stored to the communications equipment room model of Unity respectively In library and communication equipment models library;
Step 2 creates C# program reading custom profiles in Unity, automatically generates three-dimensional scenic emulation module:
2-1, computer room type, the equipment of network element number, each network element are defined by different level in the custom profile The veneer model of each slot position of model, equipment;
2-2, custom profile is read, parsed as follows in the custom profile:Data center module title, Device name, veneer name and NE quantity;
Computer room title, device name, veneer name and the network element that 2-3, basis are read from custom profile Quantity is loaded into function, from the communications equipment room model library in Unity by model resource file in C# program recursive calls Unity With the model file preset before is loaded into communication equipment models library;
Step 3 creates watcher thread in three-dimensional scenic emulation module, the Message Channel of real-time data base is subscribed to, from outer The device emulation program in portion obtains the external real time data generated needed for three-dimensional scenic emulation module:
3-1, three-dimensional scenic emulation module and external device emulation program, pass through " subscription/publication " of Redis databases Mechanism carries out the transmission of message and data, and three-dimensional scenic emulation module is according to ordered Message Channel, outside monitoring reception The message that device emulation program is sent, and according to the content in message, equipment mould in real-time update three-dimensional scenic emulation module The state of the indicator light of type;
3-2, three-dimensional scenic emulation module receive the message from external device emulation program and are parsed, this solution The protocol format that the message is precipitated is:" Status Flag _ fault type _ network element device ID_ equipment slots position ID ";
The protocol format that 3-3, basis parse, judges whether the operating status of external emulator is normal, such as different Chang Ze further determines that fault type and abort situation, aobvious finally by the indicator light for corresponding to abort situation model in three-dimensional scenic Show that it is alarm status, shows the indicator light shape of regular refresh three dimensional device model by the indicator light of normal condition if normal State;
Step 4 operates equipment or prosthetic appliance failure in three-dimensional scenic, and operation information is sent to external equipment Simulated program carries out simulation calculation and judgement:
4-1, in three-dimensional scenic according to alarm indicate, corresponding failure location lookup cause alarm faulty equipment, and Corresponding repair is carried out according to fault type to operate;
4-2, it completes after repairing operation, three-dimensional scenic emulation module sends operation information to external device emulation program, It includes the ID of prosthetic appliance and the type of operation;Its message format is:" action type _ network element device ID_ equipment slots position ID ";
Watcher thread in 4-3, three-dimensional scenic emulation module receives the emulation meter that external device emulation program is sent Calculate result:
If repair before, operation is errorless, and the watcher thread in the three-dimensional scenic emulation module can receive normal condition Message, the indicator light to update relevant device in three-dimensional scenic is restored to normal condition;If failover operation before Wrong, then the watcher thread in the three-dimensional scenic emulation module will receive the message of abnormality, phase in three-dimensional scenic Answer the indicator light of equipment still to show abnormality, at this point, return continuation sequence execute step 4-1, carry out failure inspection and Operation information is repaired and sends, cycle executes.
Further, definition refers to that first layer defines the title of computer room type by different level in the custom profile With the number of network element;Its second layer defines network element number, the device type title of different network elements;It is each that its third layer defines equipment Slot bit number and corresponding board type title.
Further, the external real time data generated needed for three-dimensional scenic emulation module is obtained in the step 3 includes:If Standby plane LED status, equipment current alert state, equipment optical module and the current optical power value of optical fiber.
Further, the three-dimensional scenic emulation module includes scene display module and scene operation module;The scene The data input pin of display module connects external three-dimensional simulation model library and scene configuration library, the scene operation module The command input of scene display module is accessed in control output end, and the scene operation module is through data communication module and outside Device emulation program communicates.
Further, the scene display module is matched according to the demand of practical communication emulation training case from the scene It sets and specified custom profile is dynamically read and parsed in library, according to the data after parsing, from the three-dimensional artificial Related threedimensional model file is transferred in model library, to show the virtualization visual simulating scene of actual communication computer room.
Further, the scene operation module is for realizing the operation to the device model in three-dimensional scenic emulation module Function.
Further, the specification of the communications equipment room includes that provincial dispatching center communications equipment room, prefecture-level control centre are logical Believe computer room and 110KV/220KV/500KV plant stand communications equipment rooms at different levels;The model of the communication equipment include Huawei OSN1500, Huawei OSN2500, Huawei OSN3500 and Huawei OSN7500 series.
The beneficial effects of the invention are as follows:
(1)The present invention is generating three-dimensional scenic based on Unity Dynamic Generations, and emulation power communication system is being run In, by carrying out three-dimensional modeling to the communications equipment rooms such as true all kinds of substations, control centre at different levels and telecommunication transmission equipment, and The network connection situation of real simulation scene computer room is created that the three-dimensional artificial scene of each true power communication machine room;With This simultaneously, which can be communicated with the communication equipment emulation module in power communication analogue system, Real-time reception and the operating status and data for sending emulator.
(2)Giveing operation training in three-dimensional scenic emulation module using skilled addressee of the present invention has well now True feeling solves the problems, such as that training mutually disconnects with practical caused by network operation communication equipment is inconvenient to operate, and improves training Efficiency and training quality are instructed, the training period is shortened, the technical merit of communication maintenance personnel can be greatlyd improve.
(3)The present invention applies in power communication three-dimensional visual simulation training system, real using 3D modeling emulation technology The establishment of existing power communication machine room and communication equipment correlation model.
(4)The present invention can automatically generate corresponding power communication three-dimensional artificial scene by reading custom profile, Strong sense of reality.
(5)The communication mechanism between three-dimensional scenic emulation module and the device emulation program of outside in the present invention, passes through The messaging bus that real-time data base provides is completed, can ensure in three-dimensional artificial module the status display of each device model with The operating status of external emulator synchronizes, to be that communication simulation training is made to be more nearly reality.
(6)The present invention can display real-time the equipment running status in communication equipment emulation module, and can neatly carry out The operation of trouble shooting and fault restoration.
Description of the drawings
Fig. 1 is the work flow diagram of this emulation mode.
Fig. 2 is the hierarchical chart of custom profile in the present invention.
Fig. 3 is the work flow diagram of watcher thread in the present invention.
Fig. 4 is the structural schematic diagram of three-dimensional scenic emulation module in the present invention.
Specific implementation mode
1 ~ 4 the invention will be further described below in conjunction with the accompanying drawings.
Referring to Fig.1 ~ 4, steps are as follows for the realization of the present embodiment:
Step 1 creates threedimensional model comprising communications equipment room model and communication equipment models, the communication equipment include Equipment subrack, veneer and optical fiber.
1-1, communication of power system computer room specification have:Provincial dispatching center communications equipment room, prefecture-level control centre's communication equipment The plant stand communications equipment rooms at different levels such as room, 110KV/220KV/500KV;Communication equipment model has:Huawei OSN1500, Huawei The series such as OSN2500, Huawei OSN3500, Huawei OSN7500.
Data is built by practical measurement to live different communication computer room and communication equipment and communications equipment room and communication is set Standby manual data, obtains the three-dimensional dimension, communications equipment room structure chart, communications equipment room interior trim of each communications equipment room and communication equipment Figure, communications equipment room device layout figure and equipment appearance figure.The three-dimensional dimension of the communication equipment i.e. its length, width and height Degree.
According to true communications equipment room and communication equipment dimension data and computer room structure figure, pressed in 3DMAX modeling tools According to 1:1 size creates the threedimensional model of communications equipment room and communication equipment;And according to communications equipment room interior trim figure, communication equipment appearance Figure and communication equipment layout create communications equipment room, the material of communication equipment renders the three-dimensional of communications equipment room and communication equipment Modelling effect.
1-2, the establishing resource file in Unity, and it is classified as communications equipment room model library and communication equipment models library.It will The communications equipment room .FBX threedimensional model files created in 3DMAX are dragged in communications equipment room model library, by communication equipment .FBX threedimensional model file is dragged in communication equipment models library.
By the computer room threedimensional model initial position co-ordinates (x, y, z) of each specification in computer room model library, setting in Unity For (0,0,0);By each type of equipment threedimensional model initial position co-ordinates (x, y, z) in device model library, be set as (33, ), 1.7,3.8 this coordinate is origin coordinates specified when equipment is put in computer room model.By the above-mentioned initial coordinate of setting Computer room model and device model, which preserve, becomes .prefab preset model files, and is stored to the computer room model library of Unity respectively and sets In standby model library.
Step 2. creates C# program reading custom profiles in Unity, automatically generates three-dimensional scenic.
Defined by different level in 2-1, custom profile computer room type, network element number, the unit type of each network element, The veneer model of each slot position of equipment, as shown in Figure 2.
The first layer of the custom profile defines the title of computer room type and the number of network element;Its second layer is fixed Network element number, the device type title of justice different network elements;Its third layer defines each slot bit number of equipment and corresponding list Plate type designations.
The hierarchical structure of the custom profile is as shown in Figure 2.
Following is the 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 computer room specification title, and " 2 " are network element number;
<1_OSN7500>With<2_OSN7500>In, " 1 " and " 2 " numbers for network element, and " OSN7500 " is network element number pair The unit type title answered,
In Slot_1_SL16A and Slot_2_NULL, " Slot " is equipment slots position name keys, and " 1 " and " 2 " is to set Standby slot number, " SL16A " are the model name of the plug in veneer in slot position, and " NULL " indicates that empty veneer is inserted into the slot position.
2-2, the custom profile is read, parses the data in this document:
" [] " in scanning file ends processing if not finding " [] ";If it is found, taking out the character in " [] " String, and the computer room name variable and cyclic variable divided the character string and data before and after " _ ", and be assigned to respectively in program;
In scanning file "<>", take out "<>" in character string, and divide the data and character string before and after " _ ", and The cyclic variable and implementor name variable being assigned to respectively in program;
Scan " Slot " keyword, data and character string before and after segmentation " _ ", and the cycle being assigned to respectively in program Variable and veneer name variable;
Computer room title, device name, veneer name and the NE quantity that 2-3, basis are read from file, pass through C# Resources.Load (Name) method in program recursive call Unity, from the computer room model library and device model in Unity The .prefab models preset before are loaded into library;Computer room model and the device model of first loading will be according to setting before The position set is put in three-dimensional scenic, and the device model for recycling loading later will be according in Unity Transform.position=new Vector3 ((float) (33.0-2.0*i), 1.7f, 3.8f) method, again automatically Set corresponding position.
Step 3, as shown in figure 3, in three-dimensional scenic emulation module create watcher thread, subscribe to the message of real-time data base Channel obtains the real-time messages of emulator operating status in communication equipment emulation module.
3-1, three-dimensional scenic emulation module and communication equipment emulation module pass through " subscription/publication " machine of Redis databases System carries out the transmission of message and data, and three-dimensional scenic emulation module is according to ordered Message Channel, monitoring reception communication equipment The message that emulation module is sent, and according to the content in message, the state of the indicator light of real-time update device model.
3-2, three-dimensional scenic emulation module receive the message from communication equipment emulation module and are parsed, this message Protocol format is:" Status Flag _ fault type _ network element device ID_ equipment slots position ID ".
After three-dimensional scenic emulation module receives message, message is parsed:Message is split according to " _ ", It first determines whether state flag bit, if it is 0, belongs to normal condition, rule brush is shown according to the indicator light of normal condition at this time The LED status of new three dimensional device model;If flag bit is 1, belong to abnormality, continue failure judgement type at this time, Including:Disconnected fine, optical fiber deterioration, offline, the veneer damage of veneer etc.;After determining fault type, failure judgement point:Network element device ID and Equipment slots position ID, the display rule of indicator light, changes the indicator light of corresponding failure point model when thereafter according to equipment failure state For alarm status.
It is as follows that watcher thread receives message examples:
" 1_ break fibre _ 2_8 ";
" 1 " indicates to be malfunction at this time, and fault type is " disconnected fibre ", and fault point is the 8th slot position that network element 2 corresponds to equipment The optical fiber that veneer is connect.
Step 4 operates equipment or prosthetic appliance failure in three-dimensional scenic, and operation information is sent to communication equipment and is imitated True module carries out simulation calculation and judgement.
4-1, it is indicated according to alarm in three-dimensional scenic, the faulty equipment for causing alarm, and root is searched in corresponding failure point Corresponding repair is carried out according to fault type to operate, including:Optical fiber is replaced, veneer etc. is replaced;
Failover operation step is:Main camera model in Keyboard Control Unity scenes is moved to failure point device Location, mouse choose the device model to be repaired, a mouse click right button, the selection operation item in the menu of pop-up, Such as " more exchange device ", then in the equipment of pop-up chooses interface, the equipment for selecting respective model is clicked and replaces button, completes The operation of more exchange device.
4-2, it completes after repairing operation, three-dimensional scenic emulation module sends operation information, packet to communication equipment emulation module Include the ID of prosthetic appliance and the type of operation.Its message format is:" action type _ network element device ID_ equipment slots position ID ".
As follows:
" replacing optical fiber _ 2_8 ";
This message indicates, has replaced the optical fiber that the 8th slot position veneer of 2 equipment of network element is connect.
Watcher thread in 4-3, three-dimensional scenic emulation module, the simulation calculation that receiving communication device emulation module is sent As a result:
If repaired before, operation is errorless, and the watcher thread in three-dimensional scenic emulation module can receive normal condition Message, the indicator light to update relevant device in three-dimensional scenic are restored to normal condition;If failover operation before Wrong, then the watcher thread in three-dimensional scenic emulation module will receive the message of abnormality, accordingly be set in three-dimensional scenic Standby indicator light still shows abnormality, at this point, step 4 can be continued to execute, carries out the inspection of failure and reparation and sends behaviour Make message, so instruction cycle executes.
Further, definition refers to that first layer defines the title of computer room type by different level in the custom profile With the number of network element;Its second layer defines network element number, the device type title of different network elements;It is each that its third layer defines equipment Slot bit number and corresponding board type title.
Further, the external real time data generated needed for three-dimensional scenic emulation module is obtained in the step 3 includes:If Standby plane LED status, equipment current alert state, equipment optical module and the current optical power value of optical fiber.
Further, the three-dimensional scenic emulation module includes scene display module and scene operation module;The scene The data input pin of display module connects external three-dimensional simulation model library and scene configuration library, the scene operation module The command input of scene display module, the scene operation module warp are accessed in control output end
Data communication module is communicated with external device emulation program.The three-dimensional scenic emulation module is actual communication The virtualization visual simulating scene of computer room, start-up can complete to make an inspection tour and operate the functions such as equipment in this scenario.
The external three-dimensional simulation model library includes communications equipment room model library and communication equipment models library;The communication equipment Room model library include provincial dispatching center communications equipment room threedimensional model, prefecture-level control centre's communications equipment room threedimensional model, The plant stand communications equipment room threedimensional models at different levels such as 110KV/220KV/500KV;The communication equipment models library includes that communications are set Standby host frame and veneer threedimensional model, route exchange device threedimensional model, Communication Power Equipment threedimensional model, communication terminal device mould Type, distributing frame threedimensional model, the fine cable threedimensional model of communication and instrument and meter threedimensional model.Model in these model libraries is with mould The form of type file is stored in analogue system resource file library.
The scene configuration library is made of custom profile, and the configuration file is because of communication simulation training case Different and different, these custom profiles are stored in analogue system configuration file library.
The data communication module sends program by real-time data base and message sink and forms, and the module is imitative for three-dimensional scenic Data communication very between module and peripherals simulation program provides interface, and being three-dimensional scenic emulation module can obtain in real time The operating status of external emulator is taken, and is arranged and changes the shape of each threedimensional model in three-dimensional scenic emulation module accordingly State, at the same time, the operation information that the scene operation module in three-dimensional scenic emulation module is done are communicated also by the data Module is sent to external device emulation program.
Further, the scene display module is matched according to the demand of practical communication emulation training case from the scene It sets and specified custom profile is dynamically read and parsed in library, according to the data after parsing, from the three-dimensional artificial Related threedimensional model file is transferred in model library, to show the virtualization visual simulating scene of actual communication computer room.
Further, the scene operation module is for realizing the operation to the device model in three-dimensional scenic emulation module Function.
Further, the specification of the communications equipment room includes that provincial dispatching center communications equipment room, prefecture-level control centre are logical Believe computer room and 110KV/220KV/500KV plant stand communications equipment rooms at different levels;The model of the communication equipment include Huawei OSN1500, Huawei OSN2500, Huawei OSN3500 and Huawei OSN7500 series.
Embodiment described above is merely a preferred embodiment of the present invention, and the simultaneously exhaustion of the feasible implementation of non-present invention.It is right For persons skilled in the art, any aobvious to made by it under the premise of without departing substantially from the principle of the invention and spirit and The change being clear to should be all contemplated as falling within the claims of the present invention.

Claims (6)

1. one kind generating three-dimensional scenic emulation mode based on Unity dynamic techniques, it is characterised in that:It includes the following steps:
Step 1 creates threedimensional model:
It specifically creates and includes:The threedimensional model of communications equipment room, communication equipment, the communication equipment include equipment subrack, veneer and Optical fiber;
1-1, three-dimensional dimension data and computer room structure figure according to communications equipment room and communication equipment, are pressed in 3DMAX modeling tools According to 1:1 size creates the threedimensional model of communications equipment room and communication equipment;And according to communications equipment room interior trim figure, communication equipment appearance Figure and communication equipment layout create communications equipment room, the material of communication equipment renders the three-dimensional of communications equipment room and communication equipment Modelling effect;
1-2, the establishing resource file in Unity, and it is classified as communications equipment room model library and communication equipment models library;It will be The communications equipment room threedimensional model file created in 3DMAX is dragged in communications equipment room model library, by communication equipment threedimensional model File is dragged in communication equipment models library;
The threedimensional model initial position co-ordinates of the computer room of each specification in communications equipment room model library are set in Unity, and setting is logical The threedimensional model initial position co-ordinates for believing each type of equipment in device model library, by the above-mentioned communication for setting initial coordinate Computer room model and communication equipment models, which preserve, becomes preset model file, and be stored to respectively Unity communications equipment room model library and In communication equipment models library;
Step 2 creates C# program reading custom profiles in Unity, automatically generates three-dimensional scenic emulation module:
2-1, defined by different level in the custom profile computer room type, network element number, the unit type of each network element, The veneer model of each slot position of equipment;
2-2, custom profile is read, parsed as follows in the custom profile:Data center module title, equipment Title, veneer name and NE quantity;
Computer room title, device name, veneer name and the NE quantity that 2-3, basis are read from custom profile, By in C# program recursive calls Unity model resource file be loaded into function, from Unity communications equipment room model library and communication The model file preset before is loaded into device model library;
Step 3 creates watcher thread in three-dimensional scenic emulation module, subscribes to the Message Channel of real-time data base, from outside Device emulation program obtains the external real time data generated needed for three-dimensional scenic emulation module,
3-1, three-dimensional scenic emulation module and external device emulation program, pass through " subscription/publication " mechanism of Redis databases The transmission of message and data is carried out, three-dimensional scenic emulation module is according to ordered Message Channel, the equipment outside monitoring reception The message that simulated program is sent, and according to the content in message, device model in real-time update three-dimensional scenic emulation module The state of indicator light;
3-2, three-dimensional scenic emulation module receive the message from external device emulation program and are parsed, this is parsed The protocol format of the message is:" Status Flag _ fault type _ network element device ID_ equipment slots position ID ";
The protocol format that 3-3, basis parse, judges whether the operating status of external emulator is normal, if abnormal It further determines that fault type and abort situation, it is shown finally by the indicator light for corresponding to abort situation model in three-dimensional scenic For alarm status, the LED status of regular refresh three dimensional device model is shown by the indicator light of normal condition if normal;
Step 4 operates equipment or prosthetic appliance failure in three-dimensional scenic, and operation information is sent to external device emulation Program carries out simulation calculation and judgement:
4-1, in three-dimensional scenic according to alarm indicate, corresponding failure location lookup cause alarm faulty equipment, and according to Fault type carries out corresponding repair and operates;
4-2, it completes after repairing operation, three-dimensional scenic emulation module sends operation information, packet to external device emulation program Include the ID of prosthetic appliance and the type of operation;Its message format is:" action type _ network element device ID_ equipment slots position ID ";
Watcher thread in 4-3, three-dimensional scenic emulation module receives the simulation calculation knot that external device emulation program is sent Fruit:
If repair before, operation is errorless, and the watcher thread in the three-dimensional scenic emulation module can receive disappearing for normal condition Breath, the indicator light to update relevant device in three-dimensional scenic are restored to normal condition;If failover operation before is wrong, Then the watcher thread in the three-dimensional scenic emulation module will receive the message of abnormality, relevant device in three-dimensional scenic Indicator light still show abnormality, at this point, return continuation sequence execute step 4-1, carry out failure inspection and repair simultaneously Operation information is sent, cycle executes.
2. according to claim 1 generate three-dimensional scenic emulation mode based on Unity dynamic techniques, it is characterised in that:Institute It states to define by different level in custom profile and refers to that first layer defines the title of computer room type and the number of network element;It second Layer defines network element number, the device type title of different network elements;Its third layer defines each slot bit number of equipment and corresponding list Plate type designations.
3. according to claim 1 generate three-dimensional scenic emulation mode based on Unity dynamic techniques, it is characterised in that:Institute Stating the external real time data for obtaining and being generated needed for three-dimensional scenic emulation module in step 3 includes:Equipment veneer LED status is set Standby current alert state, equipment optical module and the current optical power value of optical fiber.
4. according to claim 1 generate three-dimensional scenic emulation mode based on Unity dynamic techniques, it is characterised in that:Institute It includes scene display module and scene operation module to state three-dimensional scenic emulation module;The data input pin of the scene display module External three-dimensional simulation model library and scene configuration library are connect, the control output end access scene of the scene operation module is aobvious Show that the command input of module, the scene operation module are communicated through data communication module and external device emulation program; The scene operation module is for realizing the operating function to the device model in three-dimensional scenic emulation module.
5. according to claim 4 generate three-dimensional scenic emulation mode based on Unity dynamic techniques, it is characterised in that:Institute Demand of the scene display module according to practical communication emulation training case is stated, is dynamically read simultaneously from the scene configuration library The specified custom profile of parsing transfers related three-dimensional according to the data after parsing from the three-dimensional simulation model library Model file, to show the virtualization visual simulating scene of actual communication computer room.
6. according to claim 1 generate three-dimensional scenic emulation mode based on Unity dynamic techniques, it is characterised in that:Institute The specification for stating communications equipment room includes provincial dispatching center communications equipment room, prefecture-level control centre's communications equipment room and 110KV/220KV/ 500KV plant stand communications equipment rooms at different levels;The model of the communication equipment includes Huawei OSN1500, Huawei OSN2500, Huawei OSN3500 and Huawei OSN7500 series.
CN201510376363.XA 2015-07-01 2015-07-01 Three-dimensional scenic emulation mode is generated based on Unity dynamic techniques Active CN105006017B (en)

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 CN105006017A (en) 2015-10-28
CN105006017B true 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)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
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
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
CN107544287B (en) * 2017-08-31 2019-03-29 北京科东电力控制系统有限责任公司 Intelligent substation GOOSE based on SCD file nets SV net visual simulating method
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

Citations (5)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN105006017A (en) 2015-10-28

Similar Documents

Publication Publication Date Title
CN105006017B (en) Three-dimensional scenic emulation mode is generated based on Unity dynamic techniques
CN105045970B (en) Analogue system and its implementation based on Unity dynamic generation three-dimensional scenic
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
CN102832703B (en) Transformer station and scheduling station model fast conversion method based on model conversion machine
CN106775746A (en) A kind of intelligent substation three-dimensional artificial training soft ware system and its platform building method
CN101661527A (en) Automatic switching system from geographical wiring diagram of distribution network to single line diagram
CN105005658A (en) Logic simulation method of comprehensive automation system equipment of transformer substation
CN108520163A (en) Three-dimensional net rack method for automatic modeling based on CIM model and SVG figures
CN105093017B (en) Intelligent substation GOOSE integrated testabilities device and its method of testing
CN104537908A (en) Multi-stage scheduling integrated simulation system based on model sharing and method
CN106681313A (en) Function testing method of dynamic stability control system and dynamic stability control system
CN109215432A (en) A kind of power plant&#39;s operation training system based on VR virtual technology
CN105929770A (en) Substation operating condition visualization method based on CIM model
CN105449668B (en) The dynamic modelling method of intelligent substation electric energy quality monitoring intelligent electronic device
CN203340096U (en) Interactive electric power communication network simulator
CN103310668B (en) Electric equipment maintenance multi-task multi-role collaborative interaction implementation method
CN110389535A (en) A kind of configuration type simulation test system and its test method
CN103093493A (en) High-precision three-dimensional object modeling method with power grid equipment existing
CN107748672A (en) Secondary remote interface integrated management approach based on IEC61850 sites protection model
CN102800115A (en) Model-based animation producing system and method
CN111626639B (en) Power grid equipment state and data management system
CN107357900A (en) A kind of control method and device of electric power system model versions of data
CN117313363B (en) Digital twin system based on physical information model and operation method thereof
CN114647459B (en) Protection schematic diagram model multiplexing simulation method and 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