CN110147513A - A kind of method and apparatus browsing threedimensional model - Google Patents
A kind of method and apparatus browsing threedimensional model Download PDFInfo
- Publication number
- CN110147513A CN110147513A CN201910456195.3A CN201910456195A CN110147513A CN 110147513 A CN110147513 A CN 110147513A CN 201910456195 A CN201910456195 A CN 201910456195A CN 110147513 A CN110147513 A CN 110147513A
- Authority
- CN
- China
- Prior art keywords
- model
- information
- browser
- module
- management
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Computer Graphics (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Processing Or Creating Images (AREA)
Abstract
A kind of method and apparatus browsing threedimensional model, comprising: threedimensional model is classified according to the demand of management, resettles the hierarchical structure of sorted management object, and establishes index to the model object of bottom;Memory is divided into multiple module units, management object is stored in module unit;Storage information is sent to browser by socket by record storage information.The application client is without installing any plug-in unit or software, threedimensional model can be roamed by way of web browser, breach the limitation of operating system and hardware, engine utilizes network characteristic itself simultaneously, make full use of internet advantage, real-time working exchange is carried out during roaming model, transmission data are optimized by special technique, and speed is fast.
Description
Technical field
This application involves threedimensional model more particularly to a kind of method and apparatus for browsing threedimensional model.
Background technique
Current country's key industry d engine technology path has three classes:
1, engine encapsulates
The first kind is based on Unity3D UE4 game engine and is packaged, and such packaged type advantage is visual effect
It is outstanding enough, but million grades of model objects can not be loaded mostly.Second class is based on Techsoft engine and is packaged, Ci Zhongfeng
Dress mode is suitable for mechanical industry, this is determined by the positioning of engine itself.The performance of both technology path visual effects is outstanding,
Shortcoming is to face larger pressure to the load of the full factory's threedimensional model of power plant and the reduction of database.
2, software encapsulation
The mode that initially everybody largely may be by Navisworks (hereinafter referred to as NW) client is packaged, a
Other manufacturer may offer the same old stuff but with a different label to OEM sale is carried out after NW secondary development.Its outstanding place is compatible preferable, energy
It is enough compatible with more model format, but the heavy transfer mode of this kind of client is by the light transfer side of present internet type
Formula slowly substitutes, and the theory and development trend of such technology path and " internet+" gradually deviate from.
3, independent research
Although having its advantage and disadvantage in terms of mentioned-above two classes mode technology path, it cannot treat different things as the same, really
Most fatal is its bottom core, and the importance of d engine bottom core is no less than the chip in mobile phone, once chip is banned
With cell phone system will be thoroughly unable to run, or is needed to pay bigger cost and make up or even can not make up.
Traditional d engine is based primarily upon desktop client end, does not have the characteristic that internet directly browses threedimensional model.
Simultaneously during moving towards the end Web, mobile terminal from desktop end, due to limited by browser computing capability and memory etc.
It influences, simple html5 technology can not conformability requirement.
Summary of the invention
The application provides a kind of method and apparatus for browsing threedimensional model.
According to a first aspect of the present application, the application provides a kind of browsing model method, comprising:
Threedimensional model is classified according to the demand of management, resettles the hierarchical structure of sorted management object, and
Index is established to the model object of bottom;
Memory is divided into multiple module units, the management object is stored in module unit;
The storage information is sent to browser by socket by record storage information.
It is further, described that the management object is stored in module unit, comprising:
The module unit includes multiple storing sub-units;
The management object is stored in the storing sub-units.
Further, the storage information includes: module unit ID, model object three-dimensional vertices data.
According to a second aspect of the present application, the application provides a kind of browsing model method, comprising:
Browser is first shaken hands when accessing, and request server distributes resource, is obtained exclusive model service and is established
Socket connection;
The browser receives the storage information of the model object of server transmission;
The data information of browser model object according to the storage acquisition of information carries out rendering and shows.
Further, the data information of browser model object according to the storage acquisition of information, it is specific to wrap
It includes:
The information of the model object, and changeable model state are obtained by way of mouse or touch-control;Or
The information of the model object, and changeable model state are obtained by the index of model object.
According to the third aspect of the application, the application provides a kind of browsing threedimensional model device, comprising:
Hierarchical block resettles sorted management object for threedimensional model to be classified according to the demand of management
Hierarchical structure, and to bottom model object establish index;
The management object is stored in module unit by memory module for memory to be divided into multiple module units;
Sending module is used for record storage information, the storage information is sent to browser by socket.
According to the fourth aspect of the application, the application provides a kind of browsing threedimensional model device, comprising:
Request module, for first shaking hands when browser accesses, request server distributes resource, obtains exclusive mould
Socket connection is established in type service;
Processing module receives the storage information of the model object of server transmission for the browser;
Rendering module, the data information for browser model object according to the storage acquisition of information carry out
Rendering display.
According to the 5th of the application the aspect, the application provides a kind of browsing threedimensional model device, comprising:
Memory, for storing program;
Processor, for the program by executing the memory storage to realize above-mentioned method.
Due to using above technical scheme, the beneficial effect for having the application is:
In the embodiment of the present application, it since threedimensional model being classified according to the demand of management, resettles sorted
The hierarchical structure of object is managed, and establishes index to the model object of bottom, memory is divided into multiple module units, by the management
Object is stored in module unit, and three-dimensional modeling data piecemeal is stored, and client is led to without installing any plug-in unit or software
The mode for crossing web browser can roam threedimensional model, breach the limitation of operating system and hardware, while engine utilizes this
Body network characteristic, make full use of internet advantage, and real-time working exchange is carried out during roaming model, and transmission data pass through
Special technique optimization, speed are fast.
Detailed description of the invention
Fig. 1 is the flow chart of the present processes in one embodiment;
Fig. 2 is the three-dimensional modeling data storage organization schematic diagram of the application in one embodiment;
Fig. 3 is the flow chart of the present processes in another embodiment;
Fig. 4 is the signal that the present processes are shaken hands when browser accesses in one embodiment with socket interaction
Figure;
Fig. 5 is the schematic diagram of the present processes threedimensional model object data interaction in one embodiment;
Fig. 6 is the present processes interactive schematic diagram of threedimensional model object data in another embodiment;
Fig. 7 is the program module schematic diagram of the device of the application in one embodiment;
Fig. 8 is the program module schematic diagram of the device of the application in one embodiment.
Specific embodiment
Below by specific embodiment combination attached drawing, invention is further described in detail.The application can be with a variety of
Different forms is realized, however it is not limited to embodiment described in the present embodiment.The purpose of following specific embodiments is provided
It is easy for becoming apparent from present disclosure thorough explanation, wherein the words of the indicating positions such as upper and lower, left and right is only needle
To shown structure in respective figure for position.
However, those skilled in the art may be aware that one or more detail description can be by
Omit, or can also adopt with other methods, component or material.In some instances, some embodiments are not described
Or it is not described later in detail.
It is herein component institute serialization number itself, such as " first ", " second " etc., is only used for distinguishing described object,
Without any sequence or art-recognized meanings.
In addition, technical characteristic described herein, technical solution can also be in one or more embodiments arbitrarily to close
Suitable mode combines.For those skilled in the art, it should be readily appreciated that method related with embodiment provided herein
Step or operation order can also change.Therefore, any sequence in drawings and examples is merely illustrative purposes, not secretly
Show requirement in a certain order, is required unless expressly stated according to a certain sequence.
Embodiment one:
As shown in Figure 1, the browsing model method of the application, a kind of embodiment, comprising the following steps:
Step 102: threedimensional model being classified according to the demand of management, resettles the level of sorted management object
Structure, and index is established to the model object of bottom.
For example, this building includes more suites for the threedimensional model of a building, every suite therein is pipe
Object is managed, in one set of room, and the management object for multiple secondary such as can be divided into master bedroom, secondary room, toilet, kitchen and parlor,
And for this management object of parlor, wherein the management object of the level-one again such as furniture, electric appliance, lamps and lanterns can be divided into again,
For this management object of furniture, desk, chair etc. are then model object.
Model hierarchy structure is established, each model object creation index is given;Establish storage module unit, each module unit storage
Number of vertices limitation be no more than 216=65536 (or 232), give each module unit assignment record ID.In a kind of embodiment party
In formula, the data structure of threedimensional model is as shown in Figure 2.
Step 104: memory being divided into multiple module units, the management object is stored in module unit.
Further, step 104 can also include:
Module unit includes multiple storing sub-units;
Management object is stored in the storing sub-units.
Further, storage information includes: module unit ID, model object three-dimensional vertices data.
Distribution, the three-dimensional vertices data (coordinate, normal vector, color) of descriptive model object are assigned to according to certain rule
In module unit, and the address being recorded in current block dot element.
Step 106: the storage information is sent to browser by socket by record storage information.
In one embodiment, local data base can be established, record cast object information, the storage information of module unit,
And address information in the module unit of object place.
Embodiment two:
As shown in figure 3, the method for the browsing threedimensional model of the application, a kind of embodiment, comprising the following steps:
Step 302: browser is first shaken hands when accessing, and request server distributes resource, obtains exclusive model service
Establish socket connection.
When browser Access Model, need first to shake hands when access every time.It can request to take when shaking hands
Resource is distributed at business device end, is obtained exclusive model service and is established socket connection.After successful connection can and model service
It is communicated.Fig. 4 is the schematic diagram shaken hands when access with socket interaction.
Step 304: browser receives the storage information of the model object of server transmission.
Browser when requesting model data, from the background according to model index obtain model module unit and position
Address in module unit.
Step 306: browser carries out rendering according to the data information of storage information acquisition model object and shows.
Server is sent to browser by socket mode for after these information ciphered compresseds.
Browser receives data information, and decryption decompression is transported to video card and renders display by way of html5.
From rendering is transferred to, communication is by socket mode, and data transmission is carried out in a manner of model block.
The application can realize the seamless access in internet, will not leave a trace locally;Model is encrypted into system
Conversion;And encrypted transmission also is carried out to data in network transmission process, triple protection guarantee that model data will not leak, improve
Safety.
Further, step 306 can specifically include:
The information of the model object, and changeable model state are obtained by way of mouse or touch-control;Or pass through
The index of model object obtains the information of the model object, and changeable model state.
Browser is interacting operation behavior to model object, comprising:
The information (such as geological information, logical message or other) of model is obtained by way of mouse or touch-control,
And changeable model state;
By the logical message of model object (as indexed) obtain other relevant informations (geological information, logical message or
Other etc.), and changeable model state.
In one embodiment, the data interaction of threedimensional model object may include:
Backstage according to model index obtain model module unit and the address in module unit;
Backstage according to ray intersect mode obtain model module unit and the address in module unit;
Server is sent to browser simultaneously by socket mode for after these information ciphered compresseds.
Browser receives data information, and decompression decryption obtains model object information, and carries out state processing.
Fig. 5, Fig. 6 are respectively the schematic diagram of the data interaction of threedimensional model object.
Embodiment three:
As shown in fig. 7, the device of the browsing threedimensional model of the application, a kind of embodiment, including hierarchical block, storage
Module and sending module.
Hierarchical block resettles sorted management object for threedimensional model to be classified according to the demand of management
Hierarchical structure, and to bottom model object establish index;
Management object is stored in module unit by memory module for memory to be divided into multiple module units;
Sending module is used for record storage information, the storage information is sent to browser by socket.
Example IV:
As shown in figure 8, the device of the browsing threedimensional model of the application, a kind of embodiment, including request module, processing
Module and rendering module.
Request module, for first shaking hands when browser accesses, request server distributes resource, obtains exclusive mould
Socket connection is established in type service;
Processing module receives the storage information of the model object of server transmission for the browser;
Rendering module, the data information for browser model object according to the storage acquisition of information carry out
Rendering display.
Further, rendering module is also used to:
The information of the model object, and changeable model state are obtained by way of mouse or touch-control;Or
The information of the model object, and changeable model state are obtained by the index of model object.
Embodiment five:
According to the 5th of the application the aspect, the application provides a kind of browsing threedimensional model device, comprising:
Memory, for storing program;
Processor, the method for the program by executing the memory storage to realize embodiment one to two.
It will be understood by those skilled in the art that all or part of the steps of various methods can pass through in above embodiment
Program instructs related hardware to complete, which can be stored in a computer readable storage medium, storage medium can wrap
It includes: read-only memory, random access memory, disk or CD etc..
The foregoing is a further detailed description of the present application in conjunction with specific implementation manners, and it cannot be said that this Shen
Specific implementation please is only limited to these instructions.For those of ordinary skill in the art to which this application belongs, it is not taking off
Under the premise of from the application design, a number of simple deductions or replacements can also be made.
Claims (9)
1. a kind of method for browsing threedimensional model characterized by comprising
Threedimensional model is classified according to the demand of management, resettles the hierarchical structure of sorted management object, and gives bottom
The model object of layer establishes index;
Memory is divided into multiple module units, the management object is stored in module unit;
The storage information is sent to browser by socket by record storage information.
2. the method as described in claim 1, which is characterized in that described that the management object is stored in module unit, comprising:
The module unit includes multiple storing sub-units;
The management object is stored in the storing sub-units.
3. the method as described in claim 1, which is characterized in that the storage information includes: module unit ID, model object three-dimensional
Vertex data.
4. a kind of method for browsing threedimensional model characterized by comprising
Browser is first shaken hands when accessing, and request server distributes resource, is obtained exclusive model service and is established socket company
It connects;
The browser receives the storage information of the model object of server transmission;
The data information of browser model object according to the storage acquisition of information carries out rendering and shows.
5. method as claimed in claim 4, which is characterized in that browser model according to the storage acquisition of information
The data information of object, specifically includes:
The information of the model object, and changeable model state are obtained by way of mouse or touch-control;Or
The information of the model object, and changeable model state are obtained by the index of model object.
6. a kind of device for browsing threedimensional model characterized by comprising
Hierarchical block resettles the layer of sorted management object for threedimensional model to be classified according to the demand of management
Secondary structure, and index is established to the model object of bottom;
The management object is stored in module unit by memory module for memory to be divided into multiple module units;
Sending module is used for record storage information, the storage information is sent to browser by socket.
7. a kind of device for browsing threedimensional model characterized by comprising
Request module, for first shaking hands when browser accesses, request server distributes resource, obtains exclusive model clothes
Socket connection is established in business;
Processing module receives the storage information of the model object of server transmission for the browser;
Rendering module, the data information for browser model object according to the storage acquisition of information are rendered
Display.
8. device as claimed in claim 7, which is characterized in that the rendering module is also used to:
The information of the model object, and changeable model state are obtained by way of mouse or touch-control;Or
The information of the model object, and changeable model state are obtained by the index of model object.
9. a kind of device for browsing threedimensional model, characterized by comprising:
Memory, for storing program;
Processor, it is according to any one of claims 1 to 5 to realize for the program by executing the memory storage
Method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910456195.3A CN110147513A (en) | 2019-05-29 | 2019-05-29 | A kind of method and apparatus browsing threedimensional model |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910456195.3A CN110147513A (en) | 2019-05-29 | 2019-05-29 | A kind of method and apparatus browsing threedimensional model |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110147513A true CN110147513A (en) | 2019-08-20 |
Family
ID=67593709
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910456195.3A Pending CN110147513A (en) | 2019-05-29 | 2019-05-29 | A kind of method and apparatus browsing threedimensional model |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110147513A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114463508A (en) * | 2021-12-24 | 2022-05-10 | 珠海格力电器股份有限公司 | Model display method, system, storage medium and electronic device |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060101404A1 (en) * | 2004-10-22 | 2006-05-11 | Microsoft Corporation | Automated system for tresting a web application |
| CN106296779A (en) * | 2015-05-19 | 2017-01-04 | 深圳市腾讯计算机系统有限公司 | A kind of threedimensional model rendering indication method and system |
| CN107562861A (en) * | 2017-08-29 | 2018-01-09 | 武汉智丽丰信息科技有限公司 | A kind of WebGIS 3D modelling systems based on WebGL |
| CN107622519A (en) * | 2017-09-15 | 2018-01-23 | 东南大学 | 3D model hybrid rendering system and method based on mobile device |
-
2019
- 2019-05-29 CN CN201910456195.3A patent/CN110147513A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060101404A1 (en) * | 2004-10-22 | 2006-05-11 | Microsoft Corporation | Automated system for tresting a web application |
| CN106296779A (en) * | 2015-05-19 | 2017-01-04 | 深圳市腾讯计算机系统有限公司 | A kind of threedimensional model rendering indication method and system |
| CN107562861A (en) * | 2017-08-29 | 2018-01-09 | 武汉智丽丰信息科技有限公司 | A kind of WebGIS 3D modelling systems based on WebGL |
| CN107622519A (en) * | 2017-09-15 | 2018-01-23 | 东南大学 | 3D model hybrid rendering system and method based on mobile device |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114463508A (en) * | 2021-12-24 | 2022-05-10 | 珠海格力电器股份有限公司 | Model display method, system, storage medium and electronic device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10673932B2 (en) | System and method for abstraction of objects for cross virtual universe deployment | |
| US9122380B2 (en) | Updating assets rendered in a virtual world environment based on detected user interactions in another world | |
| CN105119966B (en) | A kind of public platform management method and device | |
| CN102843436B (en) | A kind of device management method, equipment, server and system | |
| CN103150154B (en) | The implementation method and device of a kind of application plug | |
| US20140289829A1 (en) | Computer account management system and realizing method thereof | |
| CN110019081A (en) | Data persistence processing method, device, system and readable storage medium storing program for executing | |
| CN107170050A (en) | The 3D scenes method for building up and system of Internet of Things pel | |
| CN109343937A (en) | A kind of distributed computing system of striding equipment deployment | |
| CN102254251A (en) | Power grid three-dimensional design result data management system and digital management method thereof | |
| CN110413261A (en) | A kind of configuration method and equipment of direct broadcast function module | |
| CN110209974A (en) | A kind of method and apparatus browsing threedimensional model | |
| EP3783562A1 (en) | Watermark embedding method and device, terminal, and storage medium | |
| CN110147513A (en) | A kind of method and apparatus browsing threedimensional model | |
| TWI677822B (en) | System and method for managing web interface, readable storage medium | |
| CN101477647A (en) | Service process exhibition control system | |
| CN117648106A (en) | Twin model updating method and device, electronic equipment and storage medium | |
| CN1307549C (en) | Component Management Method Supporting Pervasive Computing | |
| CN104216707A (en) | Unified management method supporting multiple management modes | |
| US20250104051A1 (en) | Efficient Creation of Non-Fungible Tokens | |
| CN210627210U (en) | Remote BIM Collaborative Design System Based on VPN+Model Server | |
| CN116340691B (en) | Data asset network management and sharing method and system based on multi-source data | |
| CN115546008B (en) | GPU (graphics processing Unit) virtualization management system and method | |
| KR102131190B1 (en) | System for providing a 3d model in on-line | |
| CN111968252B (en) | AR course teaching resource management method and system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190820 |