CN103268221A - Three-dimensional weather data volume display method and device based on WEB technique - Google Patents

Three-dimensional weather data volume display method and device based on WEB technique Download PDF

Info

Publication number
CN103268221A
CN103268221A CN2012105257747A CN201210525774A CN103268221A CN 103268221 A CN103268221 A CN 103268221A CN 2012105257747 A CN2012105257747 A CN 2012105257747A CN 201210525774 A CN201210525774 A CN 201210525774A CN 103268221 A CN103268221 A CN 103268221A
Authority
CN
China
Prior art keywords
data
weather data
scene
web
dimensional
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012105257747A
Other languages
Chinese (zh)
Other versions
CN103268221B (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.)
Beijing University of Civil Engineering and Architecture
Original Assignee
Beijing University of Civil Engineering and Architecture
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 Beijing University of Civil Engineering and Architecture filed Critical Beijing University of Civil Engineering and Architecture
Priority to CN201210525774.7A priority Critical patent/CN103268221B/en
Publication of CN103268221A publication Critical patent/CN103268221A/en
Application granted granted Critical
Publication of CN103268221B publication Critical patent/CN103268221B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and a device for performing high-fidelity volume partitioning three-dimensional demonstration on mass weather data on a WEB client through an Internet technique. In the method and the device, the conventional way of only processing a small quantity of data such as observation data of stations and only performing planar demonstration or fake three-dimensional demonstration on a single computer is changed. The method comprises the following steps: S1, preprocessing weather data to be demonstrated; S2, optimizing the preprocessed weather data, and dynamically pushing the optimized data onto a WEB server side; and S3, outputting the three-dimensional weather data on the WEB server side to the WEB client for performing volume three-dimensional demonstration. Due to the adoption of the method and the device, mass heterogenous isomerous weather data, including station observation data, satellite inversion data, numerical forecasting data and the like can be processed rapidly, and optimized weather data are subjected to three-dimensional processing and demonstration on the WEB client by using relevant techniques such as Internet transmission.

Description

A kind of weather data body 3 D displaying method and device based on the WEB technology
Technical field
The present invention relates to the weather data process field, relate in particular to a kind of weather data body 3 D displaying method and device based on the WEB technology.
Background technology
Weather data comprises station observation data, satellite inverting data, numerical forecasting data etc., and its content comprises multiple climatic elements such as atmospheric humidity, air pressure, temperature, atmosphere water temperature profile, cloud amount, precipitation, solar radiation.The expression way of data, organizational form, spatial and temporal resolution have nothing in common with each other, and this has just brought difficulty for unified demonstration of weather data.Simultaneously, development along with the earth observation technology, the meteorological measuring that obtains via satellite is more and more, the data of obtaining every day reach the TB level, the weather data of magnanimity like this is browsed and visited to people's exigence by flourishing day by day Internet technology, in the hope of be own daily life and going on a journey and serve.In addition, various aspects in the weather data application, as scientific research, government emergency disaster relief decision-making, meteorological knowledge popularize, public user experience etc., the situation that the sort of tone of past is single, data type is single, the plane is showed more and more has been difficult to satisfy the demands, and more and more needs high true to nature, body subdivision, three-dimensional display effect that actuality is strong.
Summary of the invention
The invention provides and a kind of the magnanimity weather data is carried out the method and apparatus of high body subdivision three-dimensional display true to nature by Internet technology in the WEB client, changed low volume datas such as only handling station observation data in the past, only showed or the situation of false three-dimensional display at the enterprising parallel planes of single computing machine.This patent for meteorological department's sector application, widen weather data service field significant.
To achieve these goals, the technical solution used in the present invention is as follows:
A kind of weather data body 3 D displaying method based on the WEB technology may further comprise the steps:
S1 carries out pre-service with weather data to be showed;
S2 is optimized pretreated weather data, and the Data Dynamic that will optimize is pushed on the WEB server end;
S3 outputs to the WEB client with the three-dimensional weather data on the described WEB server end and carries out the body three-dimensional display.
Preferably, pre-service comprises described in the S1: original weather data is carried out format conversion processing, projective transformation processing, data consistency checks; Optimize described in the S2 and comprise: to pretreated weather data resample, layering, piecemeal; Output described in the S3 comprises: use progressive transmission method, data tissue and compression method, download balance method, multi-level buffer method, the progressive method for drafting of LOD detail model and the body three-dimensional expression method of Hedgehog method, the weather data after optimizing is showed in the WEB client.
Preferably, S2 is specially:
S21 repeatedly resamples to described result data, forms the pyramid structure of the multilayer different resolution that is directed to same scope image;
S22 adopts the dynamic self-adapting partition strategy, the described image of each layer is carried out piecemeal handle; Obtain the climatic elements data block;
S23 pushes resampling, layering and piecemeal data processed and be stored on the WEB server.
Preferably, described dynamic self-adapting partition strategy is specially:
If V={v 1, v 2... v nBe plane R 2In one group of finite point set among a certain plane domain D, by the default threshold value of counting plane domain D is divided after the ∑, obtain the set R={R of a plane subdomain 1, R 2..., R n, to each plane subdomain R i, the discrete points data and the point that record this subdomain are total, record four angular coordinates of each subdomain simultaneously, namely obtain the data value of each sub-piece.
Preferably, the minimum data that allows for each sub-piece of the described default threshold value of counting is counted.
Preferably, described four angular coordinates are respectively:
LeftUpX,LeftUpY,RightBottomX,RightBottomY。
Preferably, S3 is specially:
S31 uses progressive transmission method, data tissue and compression method, download balance method, multi-level buffer method that weather data to be shown is cached to the WEB client and adopts following method that it is displayed;
S32 adopts the field data organize models based on node and figure layer, simplifies scene management;
S33, the drafting of three-dimensional scenic is simplified, accelerated to integrated use based on the pyramid compression storing data strategy of linear quadtree, multi-resolution models, based on the scene short-cut method of LOD with based on the matching process of " skeleton+skin ";
S34 adopts " scene based on the observability buffering loads management " method to carry out the drafting of scene, uses dynamic loading method optimization simultaneously and is written into speed, thereby realize parallel being written into;
S35, utilize the quaternary tree data structure that the climatic elements in the scene is represented, each node all covers zone corresponding in the described climatic elements in the tree, and Dynamic Selection climatic elements node is realized the continuous multi-resolution representation to the climatic elements model on the basis of satisfying default error threshold;
S36, the body three-dimensional expression method of utilization Hedgehog method displays described weather data;
Wherein, the execution sequence of S32-S36 in no particular order.
Preferably, S35 is specially:
To the whole scene piecemeal, according to scene mesoclimate key element residing position calculation climatic elements belonging positions and set up the chain table index, form the position enquiring table;
If climatic elements outnumbers predetermined threshold value on the every scene, then to climatic elements segmentation, up to number less than described predetermined threshold value or segmentation level greater than default level threshold value till; So that whole scene is organized into n fork tree, whole scene is root node, and climatic elements is intermediate node;
When scene dynamics is roamed, directly navigate to certain scene according to described position enquiring table, then according to the difference of piece under the impact point, be linked in the new piece node.
Preferably, further comprising the steps of among the S3:
Satisfy the quadtree's node of error threshold at each, with the diagonal angle partition patterns as the center of pointing to father node from four angle points; The network forming of quaternary tree is summed up as directly carries out diagonal angle subdivision form and keep the mid point form; And the mode that keeps mid point is divided into four kinds of basic expression modes.
A kind of weather data body three-dimensional display apparatus based on the WEB technology comprises:
The weather data pretreatment unit is used for weather data to be showed is carried out pre-service; Described pre-service comprises: original weather data is carried out format conversion processing, projective transformation processing, data consistency checks;
Weather data is optimized device, be used for pretreated weather data is optimized processing, and the Data Dynamic that will optimize is pushed on the WEB server end; Described optimization comprises: to pretreated weather data resample, layering, piecemeal;
Weather data output exhibiting device, be used for the three-dimensional weather data on the described WEB server end is outputed to the WEB client shows, described output comprises: the weather data after the body three-dimensional expression method of utilization progressive transmission method, data tissue and compression method, the progressive method for drafting of downloading balance method, multi-level buffer method, LOD detail model and Hedgehog method will be optimized is showed in the WEB client.
The invention has the beneficial effects as follows:
By technical scheme of the present invention, can fast processing magnanimity allos isomery weather data, comprising station observation data, satellite inverting data, numerical forecasting data etc., utilizing weather data after correlation technique such as internet transmission will be optimized to carry out three dimensional stress in the WEB client handles and shows, can make different departments and the public easily by internet access with browse weather data, high body three-dimensional display effect true to nature can be given the good visual experience of user, has also expanded the application of weather data greatly.Simultaneously, technical scheme of the present invention has shortened the processing time greatly in processing procedure, improved treatment effeciency.
Description of drawings
Fig. 1 is the image pyramid model synoptic diagram behind the piecemeal;
Fig. 2 is quaternary tree data structure synoptic diagram;
Fig. 3 is " crack " phenomenon synoptic diagram;
Fig. 4 is diagonal angle subdivision synoptic diagram;
Fig. 5 is a kind of form of diagonal angle subdivision: direct diagonal angle subdivision;
Fig. 6 is the another kind of form of diagonal angle subdivision: keep the mid point subdivision;
Fig. 7 is the structural representation of the weather data body three-dimensional display apparatus based on the WEB technology of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing, the present invention is further elaborated.Should be appreciated that embodiment described herein only in order to explaining the present invention, and be not used in restriction the present invention.
As Fig. 1-shown in Figure 6, the invention discloses a kind of weather data body 3 D displaying method based on the WEB technology, it is characterized in that, may further comprise the steps:
S1 carries out pre-service with weather data to be showed; Described pre-service comprises: original weather data is carried out format conversion processing, projective transformation processing, data consistency checks;
S2 is optimized pretreated weather data, and the Data Dynamic that will optimize is pushed on the WEB server end; Described optimization comprises: to pretreated weather data resample, layering, piecemeal;
S2 is specially:
S21 repeatedly resamples to described result data, forms the pyramid structure of the multilayer different resolution that is directed to same scope image;
S22 adopts the dynamic self-adapting partition strategy, the described image of each layer is carried out piecemeal handle; Obtain the climatic model data block;
S23 pushes resampling, layering and piecemeal data processed and be stored on the WEB server.
Described dynamic self-adapting partition strategy is specially:
If V={v 1, v 2... v nBe plane R 2In one group of finite point set among a certain plane domain D, by the default threshold value of counting plane domain D is divided after the ∑, obtain the set R={R of a plane subdomain 1, R 2..., R n, to each plane subdomain R i, the discrete points data and the point that record this subdomain are total, record four angular coordinates of each subdomain simultaneously, namely obtain the data value of each sub-piece.
The minimum data that the described default threshold value of counting allows for each sub-piece is counted.
Described four angular coordinates are respectively: LeftUpX, LeftUpY, RightBottomX, RightBottomY.
S3, three-dimensional weather data on the described WEB server end is outputed to the WEB client carry out the body three-dimensional display, described output comprises: use progressive transmission method, data tissue and compression method, download balance method, multi-level buffer method, the progressive method for drafting of LOD detail model and the body three-dimensional expression method of Hedgehog method, the weather data after optimizing is showed in the WEB client.
S3 is specially:
S31 uses progressive transmission method, data tissue and compression method, download balance method, multi-level buffer method that weather data to be shown is cached to the WEB client and adopts following method that it is displayed;
S32 adopts the field data organize models based on node and figure layer, simplifies scene management;
S33, the drafting of three-dimensional scenic is simplified, accelerated to integrated use based on the pyramid compression storing data strategy of linear quadtree, multi-resolution models, based on the scene short-cut method of LOD with based on the matching process of " skeleton+skin ";
S34 adopts " scene based on the observability buffering loads management " method to carry out the drafting of scene, uses dynamic loading method optimization simultaneously and is written into speed, thereby realize parallel being written into;
S35, utilize the quaternary tree data structure that the climatic elements in the scene is represented, each node all covers zone corresponding in the described climatic elements in the tree, and Dynamic Selection climatic elements node is realized the continuous multi-resolution representation to the climatic elements model on the basis of satisfying default error threshold;
S35 is specially:
To the whole scene piecemeal, according to scene mesoclimate key element residing position calculation climatic elements belonging positions and set up the chain table index, form the position enquiring table;
If climatic elements outnumbers predetermined threshold value on the every scene, then to climatic elements segmentation, up to number less than described predetermined threshold value or segmentation level greater than default level threshold value till; So that whole scene is organized into n fork tree, whole scene is root node, and climatic elements is intermediate node;
When scene dynamics is roamed, directly navigate to certain scene according to described position enquiring table, then according to the difference of piece under the impact point, be linked in the new piece node.
S36, the body three-dimensional expression method of utilization Hedgehog method displays described weather data;
Wherein, the execution sequence of S32-S36 in no particular order.
Further comprising the steps of among the S3:
Satisfy the quadtree's node of error threshold at each, with the diagonal angle partition patterns as the center of pointing to father node from four angle points; The network forming of quaternary tree is summed up as directly carries out diagonal angle subdivision form and keep the mid point form; And the mode that keeps mid point is divided into four kinds of basic expression modes.
The invention also discloses a kind of weather data body three-dimensional display apparatus based on the WEB technology, comprising:
The weather data pretreatment unit is used for weather data to be showed is carried out pre-service; Described pre-service comprises: original weather data is carried out format conversion processing, projective transformation processing, data consistency checks;
Weather data is optimized device, be used for pretreated weather data is optimized processing, and the Data Dynamic that will optimize is pushed on the WEB server end; Described optimization comprises: to pretreated weather data resample, layering, piecemeal;
Weather data output exhibiting device, be used for the three-dimensional weather data on the described WEB server end is outputed to the WEB client shows, described output comprises: the weather data after the body three-dimensional expression method of utilization progressive transmission method, data tissue and compression method, the progressive method for drafting of downloading balance method, multi-level buffer method, LOD detail model and Hedgehog method will be optimized is showed in the WEB client.
In order realizing at magnanimity weather data (comprising ground based observa tion data, satellite inverting data, pattern simulation data etc.), to carry out three dimensional stress and show, thereby be meteorological purpose about scientific research department and the service of public's application department.Specifically in the following manner weather data is handled:
1) the data organizational form of climatic elements:
When data are handled, normally the disposable internal memory that reads in of all data is handled.Under the smaller situation of data volume, this disposal route is simply effective, and processing speed is than very fast.But, when data volume very big, the global remote sensing data of resolution 1KM for example, if the disposable internal memory that reads in tends to occur Insufficient memory, computer resource exhausts, even phenomenon such as deadlock.In order to solve this contradiction, the big data quantity data have been carried out certain processing.In the vertical, adopt pyramidal hierarchy.In the horizontal, adopt automatic piecemeal and search technology fast.
(1) the data hierarchy method of climatic elements
In the vertical, need generate image pyramid to the climatic elements result data, call the image of different resolution according to different display requirements.Pyramidal constructive method is as the pyramidal bottom the climatic elements data, by to certain method for resampling of climatic elements The data, set up the image of a series of different detailed degree, wherein raw video resolution is the highest, the image resolution that obtains through resampling is along with the increase resolution of the pyramid number of plies reduces gradually, but the scope of expression is constant.Image pyramid model behind the piecemeal as shown in Figure 1.
(2) the self-adaptation partition strategy of climatic elements result data
When data volume is excessive, should consider self-adaptation piecemeal technology.Data are divided into different data block (DataBlock), and the size of its data block can be identical, also can be different.According to the syntople between piece and the piece, can be divided into structuring piece, destructuring piece and hybridization piece three major types.The structuring piece can call the turn the Multidimensional numerical storage with machine word, and the syntople between piece and the piece can determine that the data tissue is convenient on computers by corresponding array index [11]The destructuring piece needs the extra syntople of specifying, and is used for the splicing between piece and the piece.The hybridization piece is the combination of structuring piece and destructuring piece.
When using the piecemeal technology, may run into two problems.What namely according to principle come data are carried out piecemeal, what every size should be? second, when showing or roam, should take any strategy that different pieces is stitched together automatically, make the user can't see the vestige of piecemeal? in order to address the above problem and take into account speed, this special topic is from the principle of piecemeal, the static method of partition of abandoning tradition meaning, take a kind of dynamic self-adaptation partition strategy, the dynamic window method that can expand.In the more sparse zone of data point, suitably enlarge the retrieval window, otherwise dwindle the retrieval window.The size of data retrieval window is determined with the threshold value (every minimum data is counted) of a regulation.
The self-adaptation partition strategy of intending adopting is expressed as follows:
If V={v 1, v 2... v nBe plane R 2One group of finite point set among the interior a certain plane domain D, threshold value in accordance with regulations (every minimum data is counted) is divided after the ∑ plane domain D, obtains the set R={R of a plane subdomain 1, R 2..., R n, to each plane subdomain R i, record discrete points data and the some sum of this subdomain, record simultaneously each subdomain four angular coordinates (RightBottomX RightBottomY), namely obtains the data value of each sub-piece for LeftUpX, LeftUpY.
2) dynamic demonstration and the quick visualization of climatic elements:
According to above-mentioned self-adaptation partition strategy, the power that utilizes Visual C++ to provide, its solution is as follows: write GetBlock () function and realize the dynamic division technology.The function of this function is according to the difference of importing parameter into, obtains the user's interest data, calls this function and can realize pyramid structure respectively and obtain technology automatically.The design of Get Block () function has seven parameters.Wherein dwX0, dwY0 have indicated the reference position of obtaining data, and dwWidth, dwHeight have specified the size of data block.These four parameters are imported into by ClipRect in the OnDraw () function when calling, and have so just guaranteed to obtain the dirigibility of data, and the size of data is not changeless, but is provided automatically by the zone that repaints.And step-length nStep has realized pyramid structure, and it has stipulated the rank of successively decreasing of data volume between layer and the layer, and the nStep value is more big, and the speed that data volume is successively decreased is just more fast.Parameter * pnBands representative will be obtained the data source of data.If the realization pyramid structure, then * pnBands represents the data of last layer pyramid structure; If realize obtaining technology automatically, then * pnBand s represents the data of this layer pyramid structure.Like this, on perpendicular slice, whenever call a GetBlock () function and just form one deck pyramid data, then it is stored in (as self-defined array TowerArray) in some arrays; On horizontal bedding, whenever call a GetBlock () function and with regard to expression the data based needs of the pyramid of this layer have been carried out once obtaining automatically.NNumberOfBands represents the number of a width of cloth image medium wave band.
Partial code is described as follows:
Figure BDA00002542683500081
Figure BDA00002542683500091
3) the quick transmission technology of network
For based on network three dimensional field shadow modeling rendering system, because a large amount of geometric datas need be transferred to client via network, the network bandwidth usually becomes the bottleneck of this type systematic, and the network transmission policy is the three-dimensional difficult point that shows fast always therefore how to adopt compact data representation mode flexibly to reach efficiently.
(1) Com component technology: adopt three layers of browser/server architecture that organically combine with the Com component technology, soon system data is concentrated and is left in the data server end, the application server of system then mainly be responsible for to be realized the function of relevant GIS spatial analysis and network service, sends the user of client again to by the result of Internet after with analyzing and processing.
(2) progressive transmission: adopt the limit to download, limit display mode, server continue to send the optimization information to data, and the display effect of client is also meticulous gradually, till end of transmission or user please oneself to the model fineness.
(3) data tissue and compress technique: image and data texturing are effectively organized and efficient compression, the data volume of system is reduced to greatest extent.
(4) download balancing technique: in downloading process, system can safeguard a plurality of download formations, and network bandwidth balance is carried out in each formation automatically, ensures the download efficiency optimization.
(5) multi-level buffer technology: set up hard disk cache, memory cache and three grades of optimizations of video memory buffer memory, improved client effectively to the processing power of data.
Can shorten the transmission delay of weather data on network greatly by above network transmission mode, thereby faster weather data be outputed to the WEB client-cache.Thereby in buffer memory, show and improve whole efficiency.
4) three-dimensional data optimization
For climatic model, its scene mainly comprises landform and the corresponding climatic elements of different terrain that height rises and falls, and is the heaviest main content during scene is optimized to their optimization.
(1) optimization of " criticizing "
Criticizing is one of most important concept during scene is optimized, and it refers to once to play up calls (DP), and the size of criticizing is to play up specifically to call polygon (climatic elements) quantity that can play up.The calling and can consume certain CPU time of each batch, for video card, the polygon quantity in one batch does not far reach the maximum quantity of drawing.Therefore as far as possible more polygon being placed in one batch and playing up, reduce the number of criticizing with this, finally reduce CPU time, is the optimization cardinal rule of criticizing.Yet thing is often not fully up to expectations, and original batch of meeting broken in some cases, causes extra expense, as the change of texture or different matrix states.At these problems, we can adopt certain methods to avoid it as far as possible, have reached the maximization of batch size.
Merging a plurality of little textures is a big texture: in certain scene, the different climatic elements of kind more than ten is arranged on the ground, they are except the texture difference, and rendering state all is the same.We just can be packaged into a large texture to their texture, specify " criticizing " for each climatic elements again, and we just can play up with one and call to play up all objects like this, and the quantity of criticizing is just reduced to one from more than ten.This method relatively is fit to not high to the texture accuracy requirement, the object that the face number can be not too many.
(2) rendering state management
Rendering state is to control the behavior of playing up of renderer, and we can arrange texture phase, the degree of depth writes etc.Change rendering state concerning video card, it is a job more consuming time, must be in strict accordance with renderer path because video card is carried out API, when rendering state changes, just must carry out floating-point operation changes renderer path to video card, bring time loss (CPU must wait for) therefore for CPU and GPU, rendering state changes more greatly, and the floating-point operation that carry out is more many.Therefore rendering state is effectively managed, reduce its variation as far as possible, huge to playing up performance impact.
(3) scene management optimization
The optimization of scene management comprises that scene cuts apart, and observability rejecting etc. when we find that the process of traverse tree is slow during at performance evaluating, may have two reasons.The one, it is unreasonable that the degree of depth of tree arranges, and Another reason is numerous, and the object that volume is very little has distributed node, causes the redundancy of node quantity.Solution is that these wisps are divided in the big node at their place.
It is the most common optimization method that observability is rejected, and blocking reduction also is the method that often is used to, and reduce in the common local horizon that has.But in some cases, block the effect of reduction and not obvious, as when CPU usage is 100%, the CPU end is bottleneck, at this moment blocks to reduce to calculate the consumption CPU time, and effect is just not obvious.But utilize the method for some pre-generation information in some cases, reduce to block and reduce the complexity of calculating, improve to block and reduce the efficient of calculating, can have some improvement to the scene performance.
5) the multi-level expression of looking relevant quick display technique and high score rate that drives based on " importance degree "
Under present hardware condition, realize that according to the visualization technique of routine the real-time visual of mass data almost is impossible.Therefore must take some at the special processing strategy of contextual data itself.Specifically comprise:
(1) effective scene management: system adopts the contextual data organize models based on node and figure layer, has simplified the management of scene greatly.
(2) scene is simplified technology efficiently: system synthesis use pyramid compression storing data strategy based on linear quadtree, multi-resolution models technology, based on the scene of LOD simplify technology, based on the matching technique of " skeleton+skin ", simplified, accelerated the drafting of three-dimensional scenic greatly.
(3) observability technology efficiently: system adopts " scene based on the observability buffering loads management " technology to accelerate the drafting of scene, the technology that dynamically is written into has efficiently then also improved the speed of being written into when significantly having improved surfing, realized parallel being written into, namely browsed and be written into simultaneously and carry out.Parallel being written into makes the user discover any pause that causes less than being written into, and therefore also can be described as " zero-time is written into ".
(4) parallel graphic optimisation technique a: development that important branch is exactly the graphic hardware technology of three dimensional graphics development.In order to support and give full play to the advantage of graphic hardware technology, system will provide optimized support to the parallel processing function that hardware provides.As figure below, smooth three-dimensional scenic scope and the precision that shows on the ordinary PC device.
Real-time rendering to photo realism graphic has a variety of algorithms, and these algorithms respectively have its scope of application.In quickly-blanking class algorithm, it is very effective that level Z-buffer algorithm and level Occlusion Map algorithm block the rate scene to height, but have no advantage to blocking the less demanding scene of complicacy; Model of place is simplified the class algorithm can reach the purpose that reduces scene complexity, though to the scene of high complexity through simplifying but still can't reach real-time; A lot of algorithm efficient under static scene are higher in addition, and they generally generate scene at pretreatment stage and block tree, and as BSP tree, Octree, K-D tree etc., but slower at dynamic scene, real-time is not high.
According to the limitation of above-mentioned algorithm, introduce " importance degree " concept." importance degree " is to determine according to the accuracy requirement of the kind that comprises climatic elements on the landform and distribution density situation and three-dimensional.It has been described spatially in the quick drawing process of graphic data, geometric error can uncared-for viewpoint and object point between minimum distance.
Specific practice is: use composition algorithm, its concrete data tissue is: at first to the whole scene piecemeal, set up the chain table index according to longitude and latitude under the residing position calculation climatic elements of climatic elements.Whether determine to next step segmentation according to " importance degree " then.If data outnumber pre-set threshold on the every scene, then to data segmentations, up to number less than setting or segmentation level greater than setting till.If the three-dimensional model complexity can further be segmented, and preserve the bounding box data of segmenting the back climatic elements.Whole scene is organized into n fork tree like this, forms tree.Whole scene is root node, and data block is intermediate node.When like this scene dynamics being roamed, can directly navigate to certain scene according to question blank, then according to the difference of data block under the impact point, be linked in the new data block node.
Adopt the basic mode of algorithm: utilize the quaternary tree data structure that climatic elements is represented, certain piece that each node all covers in the climatic elements in the tree is regional accordingly.Because the upper layer node sampled point is less, thereby has higher drafting efficient; But sampled point is more few, and the error that climatic elements is represented is just more big.On the basis of satisfying the assigned error threshold value, dynamically select the key element node to realize continuous multi-resolution representation to the climatic elements model.In order to improve the efficient of simplification, earlier the data node to be carried out pre-service, thereby determine the execution sequence of nodal operation.Its implementation procedure can be represented by figure below.Wherein, root node C0 has covered whole zone, is two-level node, three grades of nodes below successively ....(as shown in Figure 2)
During to the climatic elements multi-resolution representation, " crack " phenomenon (as shown in Figure 3) can appear usually.Node C 1Have lower resolution, and adjacent node C with it 2, C 3Has higher resolution.This not capped zone occurred when making diagonalization, thereby has just produced the crack when drawing.(limit that produces the crack is represented with adding thick line) as shown in Figure 3.
The removing method of splicing seams: solving the most frequently used method of " crack " phenomenon is to make up the restriction quaternary tree, makes up the algorithm of restriction quaternary tree in the past, or can not keep the topological structure of master pattern, or cause the discontinuous of model surface.
The present invention was making up on the basis of restriction quaternary tree in the past, and the subdivision of quaternary tree is done following processing:
(1) concerning each satisfies the quadtree's node of error threshold, its diagonal angle partition patterns is to point to the center of father node from four angle points.(as shown in Figure 4)
(2) network forming of quaternary tree mainly is summed up as directly carries out diagonal angle subdivision (as shown in Figure 5) and keep these two kinds of forms of mid point (as shown in Figure 6).And the mode that keeps mid point can be divided into four kinds of basic expression modes (as shown in Figure 6).
6) based on the body three-dimensional expression technology of Hedgehog method
Vector is shown as the directed line segment of a three-dimensional, and the direction of line segment and size are determined by data.When Hedgehog projected on the two-dimentional view plane, In the view of the observer, line segment length had shortened, so the length of line segment is not only relevant with data, and is also relevant with observer's position.
By adopting technique scheme disclosed by the invention, obtained following useful effect:
By technical scheme of the present invention, can fast processing magnanimity allos isomery weather data, comprising station observation data, satellite inverting data, numerical forecasting data etc., utilizing weather data after correlation technique such as internet transmission will be optimized to carry out three dimensional stress in the WEB client handles and shows, can make different departments and the public easily by internet access with browse weather data, high body three-dimensional display effect true to nature can be given the good visual experience of user, has also expanded the application of weather data greatly.Simultaneously, technical scheme of the present invention has shortened the processing time greatly in processing procedure, improved treatment effeciency.
The above only is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.

Claims (10)

1. the weather data body 3 D displaying method based on the WEB technology is characterized in that, may further comprise the steps:
S1 carries out pre-service with weather data to be showed;
S2 is optimized pretreated weather data, and the Data Dynamic that will optimize is pushed on the WEB server end;
S3 outputs to the WEB client with the weather data on the described WEB server end and carries out the body three-dimensional display.
2. the weather data body 3 D displaying method based on the WEB technology according to claim 1 is characterized in that pre-service described in the S1 comprises: original weather data is carried out format conversion processing, projective transformation processing, data consistency checks; Optimize described in the S2 and comprise: to pretreated weather data resample, layering, piecemeal; Output described in the S3 comprises: use progressive transmission method, data tissue and compression method, download balance method, multi-level buffer method, the progressive method for drafting of LOD detail model and the body three-dimensional expression method of Hedgehog method, the weather data after optimizing is showed in the WEB client.
3. the weather data body 3 D displaying method based on the WEB technology according to claim 1 is characterized in that S2 is specially:
S21 repeatedly resamples to described result data, forms the pyramid structure of the multilayer different resolution that is directed to same scope image;
S22 adopts the dynamic self-adapting partition strategy, the described image of each layer is carried out piecemeal handle; Obtain the climatic elements data block;
S23 pushes resampling, layering and piecemeal data processed and be stored on the WEB server.
4. the weather data body 3 D displaying method based on the WEB technology according to claim 3 is characterized in that described dynamic self-adapting partition strategy is specially:
If V={v 1, v 2... v nBe plane R 2In one group of finite point set among a certain plane domain D, by the default threshold value of counting plane domain D is divided after the ∑, obtain the set R={R of a plane subdomain 1, R 2..., R n, to each plane subdomain R i, the discrete points data and the point that record this subdomain are total, record four angular coordinates of each subdomain simultaneously, namely obtain the data value of each sub-piece.
5. the weather data body 3 D displaying method based on the WEB technology according to claim 4 is characterized in that, the minimum data that the described default threshold value of counting allows for each sub-piece is counted.
6. the weather data body 3 D displaying method based on the WEB technology according to claim 4 is characterized in that, described four angular coordinates are respectively: LeftUpX, LeftUpY, RightBottomX, RightBottomY.
7. the weather data body 3 D displaying method based on the WEB technology according to claim 1 is characterized in that S3 is specially:
S31 uses progressive transmission method, data tissue and compression method, download balance method, multi-level buffer method that weather data to be shown is cached to the WEB client and adopts following method that it is displayed;
S32 adopts the field data organize models based on node and figure layer, simplifies scene management;
S33, the drafting of three-dimensional scenic is simplified, accelerated to integrated use based on the pyramid compression storing data strategy of linear quadtree, multi-resolution models, based on the scene short-cut method of LOD with based on the matching process of " skeleton+skin ";
S34 adopts " scene based on the observability buffering loads management " method to carry out the drafting of scene, uses dynamic loading method optimization simultaneously and is written into speed, thereby realize parallel being written into;
S35, utilize the quaternary tree data structure that the climatic elements in the scene is represented, each node all covers zone corresponding in the described climatic elements in the tree, and Dynamic Selection climatic elements node is realized the continuous multi-resolution representation to the climatic elements model on the basis of satisfying default error threshold;
S36, the body three-dimensional expression method of utilization Hedgehog method displays described weather data;
Wherein, the execution sequence of S32-S36 in no particular order.
8. the weather data body 3 D displaying method based on the WEB technology according to claim 7 is characterized in that S35 is specially:
To the whole scene piecemeal, according to scene mesoclimate key element residing position calculation climatic elements belonging positions and set up the chain table index, form the position enquiring table;
If climatic elements outnumbers predetermined threshold value on the every scene, then to climatic elements segmentation, up to number less than described predetermined threshold value or segmentation level greater than default level threshold value till; So that whole scene is organized into n fork tree, whole scene is root node, and climatic elements is intermediate node;
When scene dynamics is roamed, directly navigate to certain scene according to described position enquiring table, then according to the difference of piece under the impact point, be linked in the new piece node.
9. the weather data body 3 D displaying method based on the WEB technology according to claim 8 is characterized in that, and is further comprising the steps of among the S3:
Satisfy the quadtree's node of error threshold at each, with the diagonal angle partition patterns as the center of pointing to father node from four angle points; The network forming of quaternary tree is summed up as directly carries out diagonal angle subdivision form and keep the mid point form; And the mode that keeps mid point is divided into four kinds of basic expression modes.
10. the weather data body three-dimensional display apparatus based on the WEB technology is characterized in that, comprising:
The weather data pretreatment unit is used for weather data to be showed is carried out pre-service; Described pre-service comprises: original weather data is carried out format conversion processing, projective transformation processing, data consistency checks;
Weather data is optimized device, be used for pretreated weather data is optimized processing, and the Data Dynamic that will optimize is pushed on the WEB server end; Described optimization comprises: to pretreated weather data resample, layering, piecemeal;
Weather data output exhibiting device, be used for the three-dimensional weather data on the described WEB server end is outputed to the WEB client shows, described output comprises: the weather data after the body three-dimensional expression method of utilization progressive transmission method, data tissue and compression method, the progressive method for drafting of downloading balance method, multi-level buffer method, LOD detail model and Hedgehog method will be optimized is showed in the WEB client.
CN201210525774.7A 2012-12-07 2012-12-07 A kind of meteorological data body 3 D displaying method based on WEB technology and device Expired - Fee Related CN103268221B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210525774.7A CN103268221B (en) 2012-12-07 2012-12-07 A kind of meteorological data body 3 D displaying method based on WEB technology and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210525774.7A CN103268221B (en) 2012-12-07 2012-12-07 A kind of meteorological data body 3 D displaying method based on WEB technology and device

Publications (2)

Publication Number Publication Date
CN103268221A true CN103268221A (en) 2013-08-28
CN103268221B CN103268221B (en) 2016-12-21

Family

ID=49011854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210525774.7A Expired - Fee Related CN103268221B (en) 2012-12-07 2012-12-07 A kind of meteorological data body 3 D displaying method based on WEB technology and device

Country Status (1)

Country Link
CN (1) CN103268221B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893972A (en) * 2016-04-08 2016-08-24 深圳市智绘科技有限公司 Automatic illegal building monitoring method based on image and realization system thereof
CN106886523A (en) * 2015-12-15 2017-06-23 北京京航计算通讯研究所 Towards the optimization method of the spatial-temporal GIS model of underground utilities
CN107655578A (en) * 2017-09-01 2018-02-02 郑州云海信息技术有限公司 A kind of temperature record methods of exhibiting, device and terminal
CN108074279A (en) * 2017-12-07 2018-05-25 零空间(北京)科技有限公司 Meteorological data three-dimensional display method, apparatus and equipment
CN108768503A (en) * 2018-06-04 2018-11-06 中国气象局公共气象服务中心 Information issuing system based on big-dipper satellite and dissemination method
CN110287388A (en) * 2019-06-05 2019-09-27 中国科学院计算机网络信息中心 Data visualization method and device
CN111652961A (en) * 2020-07-10 2020-09-11 中国水利水电科学研究院 Meteorological data volume rendering method based on GPU
CN112667346A (en) * 2021-03-16 2021-04-16 深圳市火乐科技发展有限公司 Weather data display method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6377993B1 (en) * 1997-09-26 2002-04-23 Mci Worldcom, Inc. Integrated proxy interface for web based data management reports
CN102043841A (en) * 2010-12-10 2011-05-04 上海市城市建设设计研究院 Multi-source information supplying method based on Web technology and integrated service system thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6377993B1 (en) * 1997-09-26 2002-04-23 Mci Worldcom, Inc. Integrated proxy interface for web based data management reports
CN102043841A (en) * 2010-12-10 2011-05-04 上海市城市建设设计研究院 Multi-source information supplying method based on Web technology and integrated service system thereof

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
罗显刚: "《数字地球三维空间信息服务关键技术研究》", 《中国博士学位论文全文数据库基础科学辑》 *
罗显刚: "《数字地球三维空间信息服务关键技术研究》", 《中国博士学位论文全文数据库基础科学辑》, no. 12, 15 December 2010 (2010-12-15) *
谭兵: "《基于遥感影像的地形三维重建技术的研究》", 《中国优秀博硕士学位论文全文数据库(硕士)基础科学辑》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106886523A (en) * 2015-12-15 2017-06-23 北京京航计算通讯研究所 Towards the optimization method of the spatial-temporal GIS model of underground utilities
CN105893972A (en) * 2016-04-08 2016-08-24 深圳市智绘科技有限公司 Automatic illegal building monitoring method based on image and realization system thereof
CN105893972B (en) * 2016-04-08 2022-03-11 深圳市智绘科技有限公司 Automatic monitoring method for illegal building based on image and implementation system thereof
CN107655578A (en) * 2017-09-01 2018-02-02 郑州云海信息技术有限公司 A kind of temperature record methods of exhibiting, device and terminal
CN108074279A (en) * 2017-12-07 2018-05-25 零空间(北京)科技有限公司 Meteorological data three-dimensional display method, apparatus and equipment
CN108074279B (en) * 2017-12-07 2021-04-13 零空间(北京)科技有限公司 Three-dimensional meteorological data display method, device and equipment
CN108768503A (en) * 2018-06-04 2018-11-06 中国气象局公共气象服务中心 Information issuing system based on big-dipper satellite and dissemination method
CN110287388A (en) * 2019-06-05 2019-09-27 中国科学院计算机网络信息中心 Data visualization method and device
CN110287388B (en) * 2019-06-05 2021-07-13 中国科学院计算机网络信息中心 Data visualization method and device
CN111652961A (en) * 2020-07-10 2020-09-11 中国水利水电科学研究院 Meteorological data volume rendering method based on GPU
CN111652961B (en) * 2020-07-10 2023-06-30 中国水利水电科学研究院 GPU-based meteorological data volume drawing method
CN112667346A (en) * 2021-03-16 2021-04-16 深圳市火乐科技发展有限公司 Weather data display method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN103268221B (en) 2016-12-21

Similar Documents

Publication Publication Date Title
CN103268221A (en) Three-dimensional weather data volume display method and device based on WEB technique
Vanegas et al. Modelling the appearance and behaviour of urban spaces
CN100468461C (en) Real time drawing method of vivid three dimensional land form geograpical model
Gobbetti et al. Layered point clouds: a simple and efficient multiresolution structure for distributing and rendering gigantic point-sampled models
CN101147174B (en) System and method for managing communication and/or storage of image data
CN102157008B (en) Large-scale virtual crowd real-time rendering method
CN103093499B (en) A kind of city three-dimensional model data method for organizing being applicable to Internet Transmission
Yoon et al. Quick-VDR: Out-of-core view-dependent rendering of gigantic models
Steinberger et al. On‐the‐fly generation and rendering of infinite cities on the GPU
Nurminen m-LOMA-a mobile 3D city map
CN108537869B (en) Cone tracking dynamic global illumination method based on cascade texture
Li et al. Visualizing dynamic geosciences phenomena using an octree-based view-dependent LOD strategy within virtual globes
CN110675496B (en) Grid subdivision and visualization method and system based on three-dimensional urban geological model
CN105405166A (en) LOD model generation method based on linear quadtree
CN106023297B (en) A kind of texture dynamic organization method of subtle three-dimensional model
CN101364310A (en) Three-dimensional model image generating method and apparatus
CN102074050A (en) Fractal multi-resolution simplified method used for large-scale terrain rendering
CN101408990B (en) Progressive compression and transmission method for urban architecture model
US20060066616A1 (en) Diffuse photon map decomposition for parallelization of global illumination algorithm
Wang et al. GPU-based out-of-core many-lights rendering
Chang et al. Legible simplification of textured urban models
Li et al. A VR-Ocean system for interactive geospatial analysis and 4D visualization of the marine environment around Antarctica
CN111739140A (en) 3D data city model construction method and device
Chen et al. An improved texture-related vertex clustering algorithm for model simplification
Masood et al. High‐performance virtual globe GPU terrain rendering using game engine

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20161221

Termination date: 20171207

CF01 Termination of patent right due to non-payment of annual fee