CN100568290C - A kind of safety protection three-dimensional electronic map system that can dispose fast with real-time rendering - Google Patents

A kind of safety protection three-dimensional electronic map system that can dispose fast with real-time rendering Download PDF

Info

Publication number
CN100568290C
CN100568290C CNB200810104683XA CN200810104683A CN100568290C CN 100568290 C CN100568290 C CN 100568290C CN B200810104683X A CNB200810104683X A CN B200810104683XA CN 200810104683 A CN200810104683 A CN 200810104683A CN 100568290 C CN100568290 C CN 100568290C
Authority
CN
China
Prior art keywords
scene
model
monitoring
action
safety
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.)
Expired - Fee Related
Application number
CNB200810104683XA
Other languages
Chinese (zh)
Other versions
CN101286240A (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.)
Beihang University
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CNB200810104683XA priority Critical patent/CN100568290C/en
Publication of CN101286240A publication Critical patent/CN101286240A/en
Application granted granted Critical
Publication of CN100568290C publication Critical patent/CN100568290C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A kind of safety protection three-dimensional electronic map system that can dispose fast with real-time rendering comprises virtual device manager, action preset device, scene management device, renderer, plays up resource allocator, safety monitoring 3 d model library, user interface.The present invention applies to 3 D stereo scene map in the safety defense monitoring system, replaces traditional two-dimentional electronic chart, according to the characteristics of safety defense monitoring system, has designed extendible model bank, realizes the quick configuration of electronic chart.Model in the model bank is being controlled aspect the complexity of structure and texture at the particular demands of safety monitoring, adopt to draw resource sharing simultaneously and plays up the target that means such as reduction reach real-time rendering.Meet the application demand that safety monitoring scene subregion is drawn, details is controlled and omnidirectional is roamed.Introduce the virtual unit notion, can realize the expansion and the compatibility of equipment by configuration database; The various scenes of the present invention's energy fast construction provide the real-time performance of playing up, thereby have improved the visual and modernization level of safety defense monitoring system.

Description

A kind of safety protection three-dimensional electronic map system that can dispose fast with real-time rendering
Technical field
The present invention relates to a kind of safety protection three-dimensional electronic map system that can dispose fast with real-time rendering.
Background technology
In recent years, along with the development of society and improving constantly of people's living standard, people also had higher requirement to society and the safety precaution of self, and safety defense monitoring system product miscellaneous has appearred in the thing followed.In existing safety defense monitoring system, what adopt usually is two-dimentional electronic chart, makes the remote monitoring interface directly perceived inadequately lively, and the display mode during warning also seems the comparison poorness needs extra Word message usually; The supervisory system of existing use electronic three-dimensional map, it makes up a large amount of time of the required modeling rendering need of work of three-dimensional scenic and professional art personnel's participation, and the previous work cost of system is higher; Because the calculating relative complex of 3-D view, be applied to the protection and monitor field that real-time has relatively high expectations and then be difficult to satisfy efficiency requirements; In addition, some large-scale safety defense monitoring systems are the integrated multiple security protection equipment of meeting usually, better finishes the safety precaution task thereby be used, and have the possibility that adds new equipment.Electronic chart in the existing safety defense monitoring system is usually according to the concrete device customizing in the system, the extendability of equipment and compatible aspect, have significant limitation.The present invention proposes for addressing these problems just.
Summary of the invention
Technology of the present invention is dealt with problems: overcome the deficiencies in the prior art, a kind of safety protection three-dimensional electronic map system that can dispose fast with real-time rendering is provided, by with the monitoring interface 3 D stereoization, make presenting of electronic chart directly perceived more lively, the user is abundanter to the operational means of map; The simplified system previous work reduces and builds the required time of 3 D monitoring scene; At safety monitoring optimizing application model and rendering algorithm, promote the three-dimensional rendering efficient of electronic chart; Improve the manifestation mode of monitoring alarm, can on map, directly show more warning message; Strengthen electronic chart to device extension in the safety defense monitoring system and the compatible adaptability that requires, in system, increased new equipment or changed dissimilar equipment, only needed then can in electronic chart, possess corresponding virtual unit by simple database configuration.
To achieve these goals, technical solution of the present invention: a kind of safety protection three-dimensional electronic map system that can dispose fast with real-time rendering, comprise virtual device manager, action preset device, scene management device, renderer, play up resource allocator, safety monitoring 3 d model library, user interface, wherein:
Virtual device manager, be used for when initialization, having base attribute and the interface that the base attribute of virtual unit and database that interface is described read virtual unit and describe state from the outside, and in operational process, resolve state notifying order from outside safety defense monitoring system server, can directly be provided with and upgrade the current state of monitoring scene corresponding virtual equipment in the scene management device, also can send action and come trigger command by the action preset device in this scenario node;
The action preset device reads action attributes by document management module from map configuration file, produce action sequence and action object sequence according to action attributes; Also can be used for the user and edit action, and store in the map configuration file by document management module.Each scene has an action preset device, is responsible for the state of this situation elements in the change monitoring scene; When receiving, produce the action command of appointment, thereby the rendering state of the situation elements in the monitoring scene of change scene management device monitoring produces continuous action in each frame from action triggers order that virtual device manager is come;
User interface is used for rendered picture is presented, and receives the user simultaneously to the make amendment instruction of operation of monitoring scene, and when needs increase or revise in the scene model from the safety monitoring 3 d model library extraction model information; The user also can be loaded on new model file model bank so that it is expanded;
The safety monitoring 3 d model library is preserved the electronic three-dimensional map model that all multiple coincidence safety monitorings is used, and according to the instruction of user interface, the three-dimensional model of wherein preserving that needs retouching operation is sent to plays up resource allocator;
Play up resource allocator, according to existing model information in the scene management device, read the drafting information of the three-dimensional model that safety monitoring three-dimensional modeling data storehouse provides when needed, and distribute and play up resource, the resource of playing up in the scene management device is distributed and reclaimed to the scene management device;
The scene management device be responsible for to be safeguarded whole monitoring scene, management scene tree form data structure, and encapsulation is to all operations of this data structure, as increases, deletes, revises and travel through and search etc., thereby realizes the transparency to other module; The required movement instruction that produces according to the action preset device manages monitoring scene, and the operation scenario element receives simultaneously from the resource of playing up of playing up resource allocator, and all information that drawing monitoring scene the most at last needs consign to renderer;
Renderer is played up calculating according to the monitoring field information that the scene management device provides, and will play up the two field picture that obtains and deliver to user interface the 3 D monitoring picture is presented, thereby finishes whole render process.
The present invention's beneficial effect compared with prior art:
(1) the present invention is used for safety defense monitoring system with the 3 D rendering technology, and with respect to traditional two-dimentional electronic chart, presenting of monitoring scene is directly perceived more lively, and the user is abundanter to the operational means of map, and the alarm indication of map has more large information capacity.
(2) the present invention has the 3 d model library of using towards safety monitoring, the scene that generally relates in the safety monitoring or the three-dimensional model of equipment have been comprised, and support that the user produces new model by modes such as combinations, thereby make things convenient for user's multiplexed resource, fast construction is adapted to the three-dimensional scenic that concrete safety monitoring is used, and has reduced current cost before the system.Utilize this model bank, can fast construction be applied to the electronic three-dimensional map of concrete safety defense monitoring system, solved loaded down with trivial details cartography problem, improved the rendering efficiency of electronic chart.And the model that the user constantly expands according to practical application also makes this model bank have stronger applicability.
(3) the present invention has introduced the notion of map subregion/level in the scene manager, can control the scope of user monitoring according to authority flexibly, also helps locating rapidly region-of-interest; User selectively figure shows with different level of detail, improved the deficiency that electronic chart in traditional safety defense monitoring system can only the mode that single utilization is moved, convergent-divergent changes displaying contents.
(4) the present invention is according to the application characteristic of safety defense monitoring system, the drafting degree of depth in the renderer is controlled automatically, and utilize and to play up resource allocator the drafting resource of model is carried out Sharing Management, satisfied the application requirements of real-time rendering, strengthened the applicability of electronic three-dimensional map in protection and monitor field.In addition, the scene that renderer adopts is cut out algorithm, avoids being plotted in beyond the visual field or the model that is blocked fully, further improves rendering efficiency.
(5) the present invention introduces the virtual unit notion, can realize extendability and compatibility to physical equipment change by configuration database, has improved the deficiency that the equipment in the map is difficult to expand according to concrete system customization in traditional safety defense monitoring system.
(6) the action preset device that has of the present invention makes that the user can customizing virtual equipment or the dynamic effect of map element.At virtual unit,, can make this virtual unit when reporting to the police triggering especially, produce action response the most intuitively, and carry more satellite information by customizing it in the action constantly of reporting to the police.Improved electronic chart shortage dynamic effect in traditional safety defense monitoring system, and the single deficiency of type of alarm.
Description of drawings
Fig. 1 is a structural frames synoptic diagram of the present invention;
Fig. 2 is the 3 d model library organization chart of using towards safety monitoring of the present invention;
Fig. 3 is the scene subregion/hierarchical chart in the scene management device of the present invention;
Fig. 4 is a renderer workflow diagram of the present invention;
Fig. 5 is a virtual unit working mode figure of the present invention;
Fig. 6 is an action preset device process chart of the present invention;
Fig. 7 is the procedure chart of automatic update module of the present invention and document management module.
Embodiment
As shown in Figure 1, the present invention includes virtual device manager, action preset device, scene management device, renderer, play up resource allocator, safety monitoring 3 d model library, user interface, document management module, update module automatically, collaborative work by these modules, realize building and drawing of high efficiency 3 D stereo scene, make monitoring scene have controlling mechanism flexibly simultaneously.
Virtual device manager is used for when initialization reading the virtual unit attribute and interface carries out the attribute interface configuration of virtual unit from external data base, and the equipment state of accepting the safety-protection system server in operational process is notified, then the notification scenario manager changes the state of device model or transfers to the action preset device by device model generation action, makes state real-time representing in electronic chart of equipment in the safety-protection system.The action preset device can write or read action message by file manager, and accepts the action command from virtual device manager, thereby changes the rendering state generation action of situation elements more continuously by the scene management device.The user makes amendment to monitoring scene by user interface, in the time need in map, adding new model, instruction will be transferred to the security protection model bank, locate required model, model bank is submitted the essential information of model to be added to playing up resource allocator then, play up resource allocator and judge whether that according to already present model information in the scene management device needs load this model from model bank drafting information to internal memory, adds the information of model in the monitoring scene to by the scene management device at last.The scene management device is responsible for the management of monitoring scene data structure, safeguards the situation elements state, and recording user is selected plays up the zone, to realize the monitor mode of layering or subregion; The various operations of encapsulation situation elements provide transparent scene control device to other module, and regularly provide scene information to play up calculating to renderer according to frame per second.The result of calculation of renderer is that the three dimensional frame image presents by user interface.Directly reading and storing of document management module charge map description document provides transparent file operation mode to scene management device and action preset device.Automatically update module is responsible for comparing the version information of map description document on local and the outside map server, carries out the long-range of electronic chart description document and uploads and download; Comprise in addition and safety defense monitoring system server and map file server communication, accept notifications and renewal.
As shown in Figure 2, be the institutional framework synoptic diagram of safety monitoring 3 d model library of the present invention.Have two big class models in the model bank, be respectively cartographic model and device model.Normally graph model is the fixed model in the scene, can be considered background element usually, as building, room, greenery patches, vehicle, enclosure wall, cable, etc.; And device model mainly is corresponding virtual unit, belongs to the model element that the user pays close attention to, as video camera, display screen etc.Both sides relation is not limited thereto, and classification is to make things convenient for the user to look for principle.All models in the model bank are according to as shown in the figure hierarchical structure tissue.Also comprise a texture storehouse in the model bank, make things convenient for the user to change the texture mapping of model, allow same model file be presented different outward appearances, to be applicable to different actual requirements.
The application characteristic of safety monitoring is to need electronic chart to have high response speed, and it is less demanding aspect concrete drafting details, therefore the modelling in this model bank should be used as corresponding optimization at safety monitoring, is mainly and reduces the complexity that three-dimensional model is drawn.So the three-dimensional model in this model bank has all reduced surface triangles quantity on the basis in practical requirement when design, adopted the texture of low complex degree simultaneously as far as possible.
This model bank has comprised some the most frequently used basic models of safety defense monitoring system, according to the difference of practical application, may be able to not cover fully the model that might occur.The user can add the three-dimensional model that repaints in model bank, the model that also can utilize existing model combination to make new advances, and join in the model bank, expand.By making up the new model that existing model method produces, equally also have the advantage that takies less drafting resource, be beneficial to the real-time rendering of electronic chart.
As shown in Figure 1, 2, a plurality of identical models may appear in monitoring scene, in order to reduce system overhead, the present invention has introduced and has played up resource allocator, in the operation lifetime of whole electronic chart, check the model element in the scene management device, guarantee the model that all occur in monitoring scene, all only in playing up resource allocator, keep unique a drafting resource, and the scene management device is only keeping obtaining the handle of unique drafting resource.When model instance of interpolation was in scene, the scene management device was at first drawn resource to playing up the resource allocator application, if there has been the drafting resource, then plays up manager and returns its handle; Otherwise, the drafting resource of from model bank, loading this model, and then return its handle to the scene management device; When model instance of scene manager deletion, play up manager and check whether this is last example that exists in the scene management device, if then discharge the memory headroom of its pairing drafting resource occupation.Play up the existence of manager, avoided same model draw information repeat be written into, needed memory headroom when having saved the electronic chart operation has promoted rendering efficiency.
As shown in Figure 3, scene management device of the present invention utilizes tree data structure to organize element in the monitoring scene, and element is by the ID unique identification; Other module in the electronic chart can not this tree of direct control or situation elements node wherein, and any modification to the monitoring scene element all must be transferred to scene management device agency.The scene management device is responsible for increasing, delete, change and searching of each node in the tree data structure.Wherein adopt the depth-first rule that tree is traveled through to the search operation of situation elements.In addition, the scene management device is initial scene and the viewpoint selected of recording user also, and the viewpoint that the same time is activated has and have only one, and these two factors have been determined the scene domain that presents when once playing up.
Node in the monitoring scene tree data structure comprises sub-scene, model, viewpoint and light source element, and wherein model is divided into virtual device models and cartographic model; Situation elements quantity is determined by the safety defense monitoring system demand, can comprise a plurality of sub-scenes, places a plurality of models, specify a plurality of viewpoints and light source; Scene and element all have size, position, direction general-purpose attribute, change the general-purpose attribute of sub-scene, and wherein the general-purpose attribute of element can produce corresponding change.
The scene management device adopts the subregion of monitoring scene and monitoring structure by different level; The subregion of monitoring scene promptly refers to and can form a full scene by a plurality of sub-scenes, the user can select whole scene is monitored, perhaps only wherein certain of monitoring is divided scene, satisfies the user monitoring authority requirement that defines in the safety defense monitoring system, is beneficial to the user simultaneously and locatees region-of-interest fast; Each scene that promptly refers to by different level of monitoring scene can have sub-scene, places the more details element in the sub-scene, and the user is chosen on the different levels and monitors, and can be observed the general picture or the details of map, is beneficial to the user and selects the level of detail paid close attention to.
Be monitoring scene subregion/hierarchical chart of the present invention, the monitoring scene management structure adopts combination and nested management system combining to realize the monitoring scene structure of subregion/level.The many sub-scene that the electronic three-dimensional map that the present invention relates to has a root scene and organizes with tree.The root scene is identical with sub-scene structure, and difference is that the root scene is unique fixing scenario node in the monitoring map, do not allow deletion or carry under other scene, and sub-scene can have User Defined to increase, revise carry path or deletion.
Each monitoring scene node has several element list, is respectively: model tabulation, viewpoint tabulation, list of light sources and the tabulation of sub-scene also comprise an action preset device.By the combination and the hierarchy nesting of sub-scene, can realize user-defined multiple monitoring scene structure.The action preset device is used for realizing the action of this other element of scene.
Scenario node has attribute as shown in table 1:
Table 1
Title Explanation
Centre coordinate Specify the three-dimensional coordinate at the place, center of this scenario node.
Zoom factor Scenario node divides other zoom factor on the three-dimensional coordinate direction of principal axis.
The anglec of rotation Scenario node divides other anglec of rotation around 3-D walls and floor.
Father's scenario node Upper strata scenario node under this scenario node.This attribute of root node is empty.
The level that whether participates in father's scene is played up Be used to control the level of detail that monitoring scene is played up.
Centre coordinate, zoom factor and the anglec of rotation of all models, viewpoint, light source and sub-scene that the monitoring scene node comprises all can change along with affiliated scene respective attributes.Promptly change the above-mentioned attribute of a scenario node, the respective attributes meeting one of all elements of carry under it changes.Therefore, each scenario node is generally the set at a group element of aspect unanimities such as position, size and Orientation.
Model, viewpoint and light source all have centre coordinate, zoom factor and three general-purpose attributes of the anglec of rotation in the table 1.
Except that the general-purpose attribute in the table 1, model has independent attribute as shown in table 2:
Table 2
Title Explanation
Types of models Be used to distinguish virtual device models or cartographic model.
Drawing mode Have three kinds of drafting modes of point, line, surface.
Play up information Decide according to different model file types.
Except that the general-purpose attribute in the table 1, viewpoint has independent attribute as shown in table 3:
Table 3
Title Explanation
The visual angle Specify the field range that viewpoint had.
Directly over the sight line to Specify directly over current view point with what direction is.
A certain point coordinate on the sight line The viewpoint centre coordinate is gone up the dead ahead that a certain point coordinate is determined sight line with realization.
In the render process of any monitoring scene, has only unique viewpoint, i.e. the activation viewpoint of the current scene of user's selection.
Except that the general-purpose attribute in the table 1, light source has independent attribute as shown in table 4:
Table 4
Title Explanation
Light source type Direction type light source or pointolite.
Light source colour The color of designated light source.
Light-source brightness The brightness of designated light source.
The optically focused angle Only direction type light source is suitable for the angle of specifying light to converge.
After setting the current state of each situation elements, the scene management device offers renderer with monitoring scene information and plays up calculating.
As shown in Figure 4, the present invention carries out related module of color applying drawing and mainly comprises action preset device, scene management device and renderer.The complete procedure of once playing up is as follows:
(1) judge scene, model, viewpoint and light source corresponding current attribute be provided with according to the map by the action description in the description document and trigger condition for the action preset device;
(2) current scene of selecting according to the user and the viewpoint of activation are determined initial subregion and the direction of visual lines played up, and condition is played up in initialization, as this root node of playing up, carries out the depth-first traversal scene tree with initial subregion;
(3) according to current scene and sub-scene scale, the compute depth threshold value determines this time to play up the level degree of depth that needs experience; If degree of depth threshold value is conflicted with " whether participating in the render process of father's scene " attribute of sub-scene,, be as the criterion with degree of depth threshold value for guaranteeing real-time;
(4) according to playing up the reduction algorithm, all models in the traversal current scene judge whether each model is in outside the visual field or is blocked fully, if then do not draw this model; Otherwise draw according to its attribute;
(5) draw all light sources in this sub-scene;
(6) judge whether to reach the degree of depth threshold value of playing up, if then jump to step (10);
(7) judged whether sub-scene,, then jumped to step (10) if there is not sub-scene;
(8) enter first sub-scene;
(9) judge whether to participate in this according to the level renderer property that whether participates in father's scene and play up, if then jump to step (4), otherwise jump to step (10);
(10) judge whether to exist father's scenario node, if there is no, then finish to play up; Otherwise get back to father's scenario node;
(11) judge whether to exist next sub-scenario node, if then jump to step (9).
Wherein above-mentioned steps (4) play up that to reduce algorithm as follows:
(a) determine the what comes into a driver's body according to viewpoint and direction of visual lines;
(b) Clairvoyant type what comes into a driver's body being carried out standard calculates;
(c) whether the judgment models center is in the what comes into a driver's body, if then play up calculating; Otherwise, carry out step (d);
(d) it is external whether to be in what comes into a driver's fully from the nearest polygon of axis of vision vertical range in all polygons of comparison model, if, then cut out, promptly do not play up calculating fully; Otherwise this model is played up calculating.
By above-mentioned steps as seen, one of them of user by selecting sub-scene arranged side by side can realize the subregion monitoring as current scene; Sub-scene by selecting different levels can realize the map monitoring of different level of detail as current scene.And the model when playing up is cut out and is calculated and degree of depth threshold value is calculated modeling rendering process and the dark excessively scene of having avoided unnecessary and traveled through the degree of depth, has guaranteed the real-time of render process.
As shown in Figure 5, be virtual unit mode of operation synoptic diagram of the present invention.Virtual unit in the monitoring electronic chart mainly is to be responsible for maintenance by virtual device manager wherein.When the monitoring scene initialization, virtual device manager is described from base attribute and interface that database reads virtual unit, and the original state of device model in the monitoring scene is set, and generates corresponding functional interface description list simultaneously.Virtual device manager receives the state notifying from the safety monitoring server, upgrades the state of each virtual unit; Because the difference of device type, these state notifying orders may have different content formats, virtual device manager then needs to resolve different orders according to the functional interface description list, makes dissimilar virtual units present the special state that it should have.Virtual device manager is provided with the current state of corresponding virtual device model after having resolved the state notifying order; If contain action command in the state notifying order, virtual device manager location earlier needs to produce the monitoring scene node at the virtual unit place of moving, action preset device in this scenario node sends the action triggers order then, specifies this virtual unit to produce action by the action preset device according to promptly fixed action sequence again.
As shown in Figure 6, be action preset device course of work synoptic diagram of the present invention.The user specifies the action sequence of certain monitoring scene element by user interface, and the action as certain device model should produce after the triggering of reporting to the police is saved in the map description document to action description by the action preset device then.When each monitoring scene initialization, the action preset device all will read the everything descriptor of this monitoring scene correspondence from the map description document.The action description information spinner will comprise content as shown in table 5:
Table 5
Title Explanation
Object identifier Indicating the related object of this action, may be monitoring scene node, model, viewpoint or light source.
Object type Indicate the described type of object, relevant with the type of action that may have.
Action identifier The unique identifier that action has.
Type of action Indicate the type of action, as rotation, convergent-divergent, displacement, flicker etc.
Responsiveness Can adjust the broadcasting speed of action by this attribute.
Action sequence An XML describes character string, a state set that occurs in sequence of appointed object, and traversal changes set in order, then shows as one
Individual continuous action.
Trigger condition Indicate action and trigger when satisfying which kind of condition, condition comprises when accepting external command, other action of this object back and other object action take place takes place or takes place back three types.
Cycling condition Indicate action and stop circulation when satisfying which kind of condition, condition comprises cycle index, accepts two types of external commands.
According to the action description information of above-mentioned form, the action preset device produces corresponding action list object and action sequence in inside.Action object tabulation comprises that all that belong to this monitoring scene node relate to the element of action; Action sequence is related with each action object, and object can corresponding a plurality of action sequences, and these action sequences can trigger simultaneously, also can trigger when satisfying different condition.
When action took place, the action preset device according to the information of list object and action sequence, was provided with corresponding scene attribute of an element before playing up each frame 3-D view, after setting is finished, played up via playing up it again, finished presenting of monitoring scene image.
As shown in Figure 7, be automatic renewal of the present invention and file management process synoptic diagram.The user,, finishes and revises the back document management module and will change partly and be saved in local map description document, and automatically city edition this shop is upgraded as increasing virtual unit or required movement the monitoring scene operation of making amendment by user interface.Automatically the version number that provides of map file server above Ground of local map description document version number is provided update module, then uploads new map description document to map server by the FTP network communication protocol; Be lower than the version number that the map file server provides if detect local map description document version number, then download new map description document from map server by the FTP network communication protocol, the circular document administration module was written into new map description document after download was finished, and realized the remote synchronization of multi-site.
In a word, the present invention applies to 3 D stereo scene map in the safety defense monitoring system, replaces traditional two-dimentional electronic chart.According to the characteristics of safety defense monitoring system, designed extendible model bank, realize the quick configuration of electronic chart.Model in the model bank is being controlled aspect the complexity of structure and texture at the particular demands of safety monitoring, adopt to draw resource sharing simultaneously and plays up the target that means such as reduction reach real-time rendering.Meet the application demand that safety monitoring scene subregion is drawn, details is controlled and omnidirectional is roamed.Introduce the virtual unit notion, can realize the expansion and the compatibility of equipment by configuration database.Utilize the XML description document to make up the content description pattern of monitoring scene, create different scene examples based on this pattern, scene has combination subregion and level of nesting structure, various scenes can be organized into tree and carry out Classification Management.By the customization of monitoring scene element dynamic behaviour, when sending alerting signal, alarm on map with the action of suitable visual angle and model and to present in system.The present invention can be widely used in the various safety defense monitoring systems, the various scenes of energy fast construction provide the real-time performance of playing up, and roam mode freely, and react the alarm region state intuitively, thereby improve the visual and modernization level of safety defense monitoring system.
The part that the present invention is not described in detail belongs to techniques well known.

Claims (10)

1, a kind of can the configuration fast and the safety protection three-dimensional electronic map system of real-time rendering, it is characterized in that: comprise virtual device manager, action preset device, scene management device, renderer, play up resource allocator, safety monitoring 3 d model library, user interface, wherein:
Virtual device manager, be used for when initialization, having base attribute and the interface that the base attribute of virtual unit and database that interface is described read virtual unit and describe state from the outside, and in operational process, resolve state notifying order from outside safety defense monitoring system server, can directly be provided with and upgrade the current state of monitoring scene corresponding virtual equipment in the scene management device, also can send action and come trigger command by the action preset device in this scenario node;
The action preset device reads action attributes by document management module from map configuration file, produce action sequence and action object sequence according to action attributes; Also can be used for the user and edit action, and store in the map configuration file by document management module, each scene has an action preset device, is responsible for the state of this situation elements in the change monitoring scene; When receiving, produce the action command of appointment, thereby the rendering state of the situation elements in the monitoring scene of change scene management device monitoring produces continuous action in each frame from action triggers order that virtual device manager is come;
User interface is used for rendered picture is presented, and receives the user simultaneously to the make amendment instruction of operation of monitoring scene, and when needs increase or revise in the scene model from the safety monitoring 3 d model library extraction model information; The user also can be loaded on new model file model bank so that it is expanded;
The safety monitoring 3 d model library is preserved the electronic three-dimensional map model that all multiple coincidence safety monitorings is used, and according to the instruction of user interface, the three-dimensional model of wherein preserving that needs retouching operation is sent to plays up resource allocator;
Play up resource allocator, according to existing model information in the scene management device, read the drafting information of the three-dimensional model that safety monitoring three-dimensional modeling data storehouse provides when needed, and distribute and play up resource, the resource of playing up in the scene management device is distributed and reclaimed to the scene management device;
The scene management device is responsible for safeguarding whole monitoring scene, management scene tree form data structure, and encapsulation is to all operations of this data structure, thus realization is to the transparency of other module; The required movement instruction that produces according to the action preset device manages monitoring scene, and the operation scenario element receives simultaneously from the resource of playing up of playing up resource allocator, and all information that drawing monitoring scene the most at last needs consign to renderer;
Renderer is played up calculating according to the monitoring field information that the scene management device provides, and will play up the two field picture that obtains and deliver to user interface the 3 D monitoring picture is presented, thereby finishes whole render process.
2, according to claim 1 can the configuration fast and the safety protection three-dimensional electronic map system of real-time rendering is characterized in that: described safety protection three-dimensional electronic map also comprises document management module and update module automatically; The user by user interface to the monitoring scene operation of making amendment, finish modification back document management module and will generate local map description document by the monitoring scene information that the scene management device is safeguarded, document management module is upgraded the version number of local file automatically simultaneously; If automatically update module detects the version number that provides of map file server above Ground of local map description document version number is provided, then upload new map description document to map server by the FTP network communication protocol; Be lower than the version number that the map file server provides if detect local map description document version number, then from map server, download new map description document by the FTP network communication protocol, the circular document administration module was written into new map description document after download was finished, deliver to the scene management device, realize the remote synchronization of multi-site.
3, according to claim 1 and 2 can the configuration fast and the safety protection three-dimensional electronic map system of real-time rendering, it is characterized in that: described safety monitoring 3 d model library comprises two big class models, is respectively cartographic model and device model; Cartographic model is the fixed model in the scene, can be considered background element usually, and device model mainly is corresponding virtual unit, belongs to the model element that the user pays close attention to; All models in the model bank are organized according to hierarchical structure; Also comprise a texture storehouse in the model bank, make things convenient for the user to change the texture mapping of model, to be applicable to different actual requirements.
4, the safety protection three-dimensional electronic map system that can dispose fast with real-time rendering according to claim 3, it is characterized in that: described safety monitoring 3 d model library has comprised some the most frequently used basic models of safety defense monitoring system, difference according to practical application, the user can add the three-dimensional model that repaints in model bank, or the model that utilizes existing model combination to make new advances, and join in the model bank, expand, by making up the new model that existing model method produces, equally also have the advantage that takies less drafting resource, be beneficial to the real-time rendering of electronic chart.
5, according to claim 1 can the configuration fast and the safety protection three-dimensional electronic map system of real-time rendering, it is characterized in that: when the electronic chart initialization, described virtual device manager reads the base attribute and the interface of virtual unit and describes from database, the original state of virtual device models in the monitoring scene is set, generates corresponding functional interface description list simultaneously; When virtual device manager receives state notifying from the safety defense monitoring system server and need upgrade the state of each virtual unit, virtual device manager is resolved this state notifying order, the current state of corresponding virtual device model is set via the scene management device, if contain action command in the state notifying order, virtual device manager location earlier needs to produce the monitoring scene node at the virtual unit place of moving, action preset device in this scenario node sends the action triggers order then, specify this virtual device models to produce action by this action preset device according to promptly fixed action sequence again, thereby the rendering state of element produce continuous action in the change monitoring scene.
6, according to claim 1 can the configuration fast and the safety protection three-dimensional electronic map system of real-time rendering is characterized in that: described scene management device utilizes tree data structure to organize element in the monitoring scene, and element is by the ID unique identification; When other module of electronic chart needs the element or the state of new element more in the additions and deletions monitoring scene, it is not the direct manipulation situation elements, and need realize by the scene management device, monitoring scene wherein comprises sub-scene, model, viewpoint and light source element, and wherein model is divided into virtual device models and cartographic model; Situation elements quantity is determined by the safety defense monitoring system demand, can comprise a plurality of sub-scenes, places a plurality of models, specify a plurality of viewpoints and light source; Scene and element all have size, position, direction general-purpose attribute, change the general-purpose attribute of sub-scene, and wherein the general-purpose attribute of element can produce corresponding change.
7, according to claim 1 or 6 described can configurations fast and the safety protection three-dimensional electronic map system of real-time rendering, it is characterized in that: described scene management device provides the subregion of monitoring scene and monitor mode by different level, by the combination and the nested realization of subtree in the scene tree; The subregion of monitoring scene promptly refers to can be by being positioned at the sub-scenario node composition scene of scene tree structure with one deck, the user can select whole scene is monitored, perhaps only wherein certain of monitoring is divided scene, satisfy the user monitoring authority requirement that defines in the safety defense monitoring system, be beneficial to the user simultaneously and locate region-of-interest fast; Monitoring scene promptly refer to sub-scene hierarchy nesting in the scene tree structure by different level, each scene can have sub-scene, place the more details element in the sub-scene, the user is chosen on the different levels and monitors, can be observed the general picture or the details of map, be beneficial to the user and select the level of detail paid close attention to.
8, according to claim 1 can the configuration fast and the safety protection three-dimensional electronic map system of real-time rendering, it is characterized in that: the implementation procedure of described action preset device is: the user passes through user interface, specify the action sequence of certain monitoring scene element, by the action preset device action description is saved in the map description document then; When each monitoring scene initialization, the action preset device all will read the everything descriptor of this monitoring scene correspondence from the map description document; According to above-mentioned action description information, the action preset device produces corresponding action list object and action sequence in inside; Action object tabulation comprises that all that belong to this monitoring scene node relate to the element of action; Action sequence is related with certain action object, and object can corresponding a plurality of action sequences, and these action sequences can trigger simultaneously, also can trigger when satisfying different condition; When action took place needs, the action preset device according to the information of list object and action sequence, was provided with corresponding scene attribute of an element before playing up each frame 3-D view.
9, according to claim 1 can the configuration fast and the safety protection three-dimensional electronic map system of real-time rendering, it is characterized in that: described renderer is played up according to the monitoring scene information of the current maintenance of scene management device, and adopt scene to cut out algorithm and raise the efficiency, its implementation procedure is:
(1) current scene selected according to user in the scene management device of renderer and the viewpoint of activation are determined initial subregion and the direction of visual lines played up, and condition is played up in initialization, as this root node of playing up, carries out the depth-first traversal scene tree with initial subregion;
(2) according to current scene and sub-scene scale, the compute depth threshold value determines this time to play up the level degree of depth that needs experience; If degree of depth threshold value is conflicted with " whether participating in the render process of father's scene " attribute of sub-scene,, be as the criterion with degree of depth threshold value for guaranteeing real-time;
(3) according to playing up the reduction algorithm, all models in the traversal current scene judge whether each model is in outside the visual field or is blocked fully, if then do not draw this model; Otherwise draw according to its attribute;
(4) draw all light sources in this sub-scene;
(5) judge whether to reach the degree of depth threshold value of playing up, if then jump to step (10);
(6) judged whether sub-scene,, then jumped to step (10) if there is not sub-scene;
(7) enter first sub-scene;
(8) judge whether to participate in this according to the level renderer property that whether participates in father's scene and play up, if then jump to step (3), otherwise jump to step (9);
(9) judge whether to exist father's scenario node, if there is no, then finish to play up; Otherwise get back to father's scenario node;
(10) judge whether to exist next sub-scenario node, if then jump to step (8).
10, according to claim 1 can the configuration fast and the safety protection three-dimensional electronic map system of real-time rendering, it is characterized in that: the described implementation procedure of playing up resource allocator is: check the model element in the scene management device, guarantee the model that all occur in monitoring scene, all only in playing up resource allocator, keep unique a drafting resource, and the scene management device is only keeping obtaining the handle of unique drafting resource; When model instance of interpolation was in scene, the scene management device was at first drawn resource to playing up the resource allocator application, if there has been the drafting resource, then plays up manager and returns its handle; Otherwise, from model bank, load the drafting resource of this model, and then return its handle; Whether when model instance of scene manager deletion, playing up the manager inspection is last example, if then discharge the memory headroom of its pairing drafting resource occupation.
CNB200810104683XA 2008-04-22 2008-04-22 A kind of safety protection three-dimensional electronic map system that can dispose fast with real-time rendering Expired - Fee Related CN100568290C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200810104683XA CN100568290C (en) 2008-04-22 2008-04-22 A kind of safety protection three-dimensional electronic map system that can dispose fast with real-time rendering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200810104683XA CN100568290C (en) 2008-04-22 2008-04-22 A kind of safety protection three-dimensional electronic map system that can dispose fast with real-time rendering

Publications (2)

Publication Number Publication Date
CN101286240A CN101286240A (en) 2008-10-15
CN100568290C true CN100568290C (en) 2009-12-09

Family

ID=40058430

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200810104683XA Expired - Fee Related CN100568290C (en) 2008-04-22 2008-04-22 A kind of safety protection three-dimensional electronic map system that can dispose fast with real-time rendering

Country Status (1)

Country Link
CN (1) CN100568290C (en)

Families Citing this family (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010050951A1 (en) 2008-10-30 2010-05-06 Hewlett-Packard Development Company, L.P. Reconfiguring a model
CN102306208A (en) * 2011-06-30 2012-01-04 内蒙古电力勘测设计院 Method for arranging tribit vectorized wind turbine
CN102929592B (en) * 2011-08-08 2017-08-15 霍尼韦尔国际公司 The method and device of the three-dimension interaction of equipment based on monitoring system
US8560600B2 (en) * 2011-09-26 2013-10-15 Google Inc. Managing map elements using aggregate feature identifiers
CN102831307B (en) * 2012-05-31 2013-11-13 山东电力集团公司青岛供电公司 Three-dimensional GIS (Geographic Information System) technology based power grid visualization system and method
US9269178B2 (en) * 2012-06-05 2016-02-23 Apple Inc. Virtual camera for 3D maps
US10156455B2 (en) 2012-06-05 2018-12-18 Apple Inc. Context-aware voice guidance
CN102866919B (en) * 2012-07-31 2014-11-05 电子科技大学 Cloud drawing-based large-sized three-dimensional scene multi-person collaborative creation method
CN103020590B (en) * 2012-11-20 2015-12-09 北京航空航天大学深圳研究院 A kind of vehicle identification system based on three-dimensional model and images match and method thereof
CN103544727B (en) * 2013-06-26 2017-02-15 Tcl集团股份有限公司 Scenario rendering and optimizing method, system and mobile terminal based on predict braches
CN103810745A (en) * 2013-11-21 2014-05-21 广州菲动软件科技有限公司 Method and system for object rendering in 3D engine
CN104183023B (en) * 2014-07-25 2017-06-27 天津微视威信息科技有限责任公司 The construction method of many scene graph in a kind of distributed virtual environment
CN104376701B (en) * 2014-11-24 2017-01-18 广东安保翼家物联网智能科技股份有限公司 Security and protection integrated system achieving rapid and offline equipment configuration
CN105787991A (en) * 2014-12-22 2016-07-20 深圳中兴力维技术有限公司 Unity 3D technology-based resource reuse implementation method and device thereof
CN105786461A (en) * 2014-12-23 2016-07-20 天津市亚安科技股份有限公司 Security monitoring product design method based on virtual reality
CN104809758B (en) * 2015-05-08 2018-11-23 山东康威通信技术股份有限公司 Live tunnel inspection and apparatus control method based on three-dimensional live roaming technology
CN106296782B (en) * 2015-05-29 2019-04-26 Tcl集团股份有限公司 A kind of text rendering method and text rendering device
EP3418839B1 (en) * 2017-06-22 2021-10-13 Enisco by Forcam GmbH Method for monitoring an automation assembly
CN107704273B (en) * 2017-10-26 2021-01-01 浙江科澜信息技术有限公司 Method for tracking scene state change, triggering device and receiving device
US10684137B2 (en) * 2017-11-29 2020-06-16 Deere & Company Work site monitoring system and method
CN108537877A (en) * 2018-03-07 2018-09-14 北京中科紫宸睿达科技有限公司 Visualizing monitor interface customizing generation method based on threedimensional model and device
CN108664231B (en) * 2018-05-11 2021-02-09 腾讯科技(深圳)有限公司 Display method, device, equipment and storage medium of 2.5-dimensional virtual environment
CN109598795A (en) * 2018-10-26 2019-04-09 苏州百卓网络技术有限公司 Enterprise's production three-dimensional visualization method and device are realized based on WebGL
CN109754458A (en) * 2018-12-11 2019-05-14 新华三大数据技术有限公司 Construction method, device and the computer readable storage medium of three-dimensional scenic
CN109712221B (en) * 2018-12-21 2022-08-16 成都四方伟业软件股份有限公司 Three-dimensional visualization rendering method and device
CN110634171B (en) * 2019-02-01 2024-02-27 北京完美知识科技有限公司 Device and method for drawing map
CN111681307B (en) * 2020-06-08 2023-10-20 武汉真蓝三维科技有限公司 Implementation method of dynamic three-dimensional coordinate axis applied to three-dimensional software
CN112489057B (en) * 2020-12-05 2022-07-01 武汉中海庭数据技术有限公司 Traffic sign data processing method, electronic device and storage medium
CN112558570A (en) * 2020-12-08 2021-03-26 南京赛德菱智能科技有限公司 High-safety intelligent home control system
CN113190708A (en) * 2021-04-27 2021-07-30 上海劲易电子科技有限公司 Simple three-dimensional indoor map system, method and medium
CN113515309B (en) * 2021-05-19 2024-01-30 云米互联科技(广东)有限公司 HomeMap-based visual control method and device for security state of equipment

Also Published As

Publication number Publication date
CN101286240A (en) 2008-10-15

Similar Documents

Publication Publication Date Title
CN100568290C (en) A kind of safety protection three-dimensional electronic map system that can dispose fast with real-time rendering
CN107545788B (en) Goods electronic sand map system is deduced based on the operation that augmented reality is shown
CN104183023B (en) The construction method of many scene graph in a kind of distributed virtual environment
CN107423445A (en) A kind of map data processing method, device and storage medium
CN105354872A (en) Rendering engine, implementation method and producing tools for 3D web game
CN105701851B (en) A kind of 3 d rendering engine system based on geography information
CN101872492A (en) Multi-angle map implementation method of three-dimensional simulation city
CN105931488A (en) Garage system, related device and method
CN105701103A (en) Geographic information based three-dimensional application system
CN102967304A (en) Navigation device, method of outputting a map, and method of generating a database
CN103646348B (en) Method for saving factory station wiring diagram panoramic inversion context
CN102880464A (en) Three-dimensional game engine system
CN114037097A (en) BIM model-based equipment operation and maintenance management method
CN114356096B (en) XR (X-ray diffraction) technology-based new-dimension space construction method, system and platform
CN106228588A (en) Image Hotpoint creation methods based on big data and device
CN108984832A (en) The method and system of Unity3D load BIM model are utilized in a kind of intelligent building O&M
CN103701772A (en) Method for constructing digital media content resource cloud system
CN113590706B (en) Visual platform based on CIM
CN103294826B (en) The display packing of a kind of virtual three-dimensional scene and system
CN102819533B (en) The warehouse compartment information processing method in visualization warehouse and device
Wüst et al. Applying the 3D GIS DILAS to archaeology and cultural heritage projects requirements and first results
CN112907732A (en) Three-dimensional modeling based cooperative working method and device, storage medium and computer equipment
CN112506155A (en) PC component production simulation and intelligent control system
CN113713381B (en) Object management method, device, equipment, storage medium and system
CN104349172A (en) Cluster management method of network video recorder and device thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091209

Termination date: 20140422