[go: up one dir, main page]

CN114201448A - Extended storage method of BIM (building information modeling) model - Google Patents

Extended storage method of BIM (building information modeling) model Download PDF

Info

Publication number
CN114201448A
CN114201448A CN202111520331.4A CN202111520331A CN114201448A CN 114201448 A CN114201448 A CN 114201448A CN 202111520331 A CN202111520331 A CN 202111520331A CN 114201448 A CN114201448 A CN 114201448A
Authority
CN
China
Prior art keywords
file
list file
list
instance
data
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
CN202111520331.4A
Other languages
Chinese (zh)
Other versions
CN114201448B (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.)
China Construction Fifth Engineering Bureau Co Ltd
Original Assignee
China Construction Fifth Engineering Bureau Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Fifth Engineering Bureau Co Ltd filed Critical China Construction Fifth Engineering Bureau Co Ltd
Priority to CN202111520331.4A priority Critical patent/CN114201448B/en
Publication of CN114201448A publication Critical patent/CN114201448A/en
Application granted granted Critical
Publication of CN114201448B publication Critical patent/CN114201448B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1744Redundancy elimination performed by the file system using compression, e.g. sparse files
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/60Memory management
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/04Texture mapping
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/20Finite element generation, e.g. wire-frame surface description, tesselation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本发明涉及一种BIM模型的扩展存储方法,其包括对BIM模型场景进行处理,提取数据并以独立文件的方式进行存储,所述独立文件包括场景文件、场景整体属性文件、资产文件列表文件、相机实例列表文件、相机定义列表文件、灯光实例列表文件、灯光定义列表文件、片段实例列表文件、几何元数据列表文件、几何定义列表文件、材质列表文件、纹理贴图列表文件、物体ID列表文件、属性类别列表文件、值列表文件、属性类别‑值对列表文件、属性类别‑值对偏移列表文件。独立文件之间单向引用,形成完整BIM的整体描述。本发明提供的存储方法具有文件体积小、存储速度快、传输性能好、绘制效率高、扩展性强等特点,满足BIM模型轻量化系统使用要求。

Figure 202111520331

The invention relates to an extended storage method for a BIM model, which includes processing a BIM model scene, extracting data and storing it in the form of an independent file. The independent file includes a scene file, an overall scene attribute file, an asset file list file, Camera Instance List File, Camera Definition List File, Light Instance List File, Light Definition List File, Fragment Instance List File, Geometry Metadata List File, Geometry Definition List File, Material List File, Texture Map List File, Object ID List File, Attribute category list file, value list file, attribute category-value pair list file, attribute category-value pair offset list file. One-way references between independent files form an overall description of the complete BIM. The storage method provided by the invention has the characteristics of small file size, fast storage speed, good transmission performance, high drawing efficiency, strong expansibility, etc., and meets the use requirements of the BIM model lightweight system.

Figure 202111520331

Description

Extended storage method of BIM (building information modeling) model
Technical Field
The invention relates to the field of BIM model storage, in particular to an extended storage method of a BIM model.
Background
BIM, also called Building Information Modeling, refers to the digital expression of physical and functional characteristics of buildings and facilities thereof in computers, provides shared Information resources in the whole life cycle of Building engineering, provides basic Information for various decisions, and is widely used in the Building industry.
The BIM model of the large building is constructed in tens of thousands, the volume of the model file is huge, and the BIM model mainly comprises information of two aspects: geometric model information and BIM attribute information. The geometric model has huge information volume, and has high requirements on computer performance and network bandwidth when being directly used. The light weight treatment is required to be carried out, so that the light weight treatment can be conveniently used in practice. The BIM attribute information needs to be oriented to different stages of BIM application, including the whole life cycle of buildings such as design, construction, cost accounting, operation and maintenance, the interested attributes in different stages are different, and the attribute information has to have good expandability so as to meet the diversified requirements on the attributes.
The BIM storage formats in the prior art comprise rvt, dgn, fbx, obj, step and other formats, and due to format characteristics, the BIM storage formats have the defects of closed method, redundant information, slow analysis speed, long rendering time, difficulty in loading and transmission, single scene, difficulty in expansion and the like, and are inconvenient to use.
Disclosure of Invention
Technical problem to be solved
In view of the above disadvantages and shortcomings of the prior art, the invention provides an extended storage method of a BIM model, which solves the technical problems of huge volume of BIM files of large buildings, slow analysis speed, long rendering time consumption, difficult loading and transmission and difficult extension.
(II) technical scheme
In order to achieve the above object, an embodiment of the present invention provides an extended storage method for a BIM model:
processing the BIM model scene according to a pre-constructed Json format and/or a database, acquiring and classifying the scene, the scene overall attribute, the material and the BIM attribute information data of the BIM model, and storing the classified data in the form of an independent Json file or database;
processing a BIM model scene according to a pre-constructed binary format, acquiring and classifying camera definition, camera instance, light definition, light instance, fragment instance, geometric metadata and geometric data of the BIM model, and storing the classified data in the form of an independent binary file;
processing a BIM model scene according to a pre-constructed texture mapping list, acquiring and classifying texture mapping data of the BIM model, and storing the classified data in the form of an independent mapping file;
storing file names, file types and file sizes corresponding to the independent Json file or database, the independent binary file and the independent map file according to a pre-constructed asset file list and generating an independent Json file;
performing unidirectional reference between independent files according to a pre-constructed unidirectional reference relationship;
the independent file includes: a standalone Json file or database, a standalone binary file, and a standalone map file.
Optionally, the independent file specifically includes:
a scene file, a scene overall attribute file, an asset file list file, a camera instance list file, a camera definition list file, a light instance list file, a light definition list file, a segment instance list file, a geometric metadata list file, a geometric definition list file, a material list file, a texture map list file, and a BIM attribute list file;
the BIM attribute list file specifically includes:
an object ID list file, an attribute category list file, a value list file, an attribute category-value pair list file, and an attribute category-value pair offset list file.
Optionally, the one-way reference between the independent files includes:
the fragment instance list file carries out unidirectional reference on data stored in the BIM attribute list file, the geometric metadata list file and the material list file;
the geometric metadata list file performs one-way reference on data stored in the geometric definition list file;
the texture map list file is used for carrying out one-way reference on data stored in the texture map list file;
the camera instance list file performs one-way reference on data stored in the camera definition list file;
the light instance list file performs one-way reference on data stored in the light definition list file;
the scene integral attribute file carries out one-way reference on data stored in the camera instance list file and the light instance list file;
the scene file carries out unidirectional reference on data stored in an asset file list file, a scene integral attribute file list file and a fragment instance list file;
the attribute class-value pair offset list file performs one-way reference on data stored in the object ID list file;
and the attribute category-value pair list file carries out unidirectional reference on the data stored in the attribute category list file, the value list file and the attribute category-value pair offset list file.
Optionally, the scene overall attribute data stored in the scene overall attribute file includes one or more of the following items:
file version, rendering state, navigation mode, scene overall bounding box, scene up direction, scene front direction, scene right direction, length unit, default camera number, camera-model transformation, geometric reference.
Optionally, the specific content stored in the asset file list file includes:
the file name, the file type, the original size of the file and the compressed size of the file of the asset file are related;
the file type comprises a format type and a service type.
Optionally, the camera definition list file stores camera definition data including one or more of:
projection mode, position, target, up direction, aspect ratio, field angle, clipping plane and parallel projection scaling factor;
the camera instance data stored by the camera instance list file comprises one or more of the following data:
visibility, camera definition number, pose transformation, instance node path ID;
the light definition data stored in the light definition list file comprises one or more of the following items:
the light example data stored in the light example list file comprises one or more of the following items of position, direction, RGB components of light color, intensity, spotlight angle, size and type:
visibility, light definition number, pose transformation, instance node path ID;
the fragment instance data stored by the fragment instance list file includes one or more of:
visibility, material ID, geometry ID, object ID, pose transformation, bounding box;
the geometry metadata stored by the geometry metadata list file comprises one or more of the following items:
fragment type, primitive number, packID, EntityID;
the geometry data stored by the geometry definition list file comprises one or more of the following items:
geometry type, vertex attributes, patch index, line index.
Optionally, the binary format includes:
organizing the binary file content in a manner of entry type and entry offset;
the entry type includes:
combining the data of the basic data types according to the objects stored in the entries to generate specific entry types;
the basic data types include at least:
unsigned integer unt 8, integer int32, unsigned integer unt 32, variable length integer varint, string, and single precision floating point float 32;
the entry offset comprising:
the offset value of the location of the entry in the binary file relative to the start of the file.
Optionally, the combining the data of the basic data types according to the object stored in the entry to generate a specific entry type specifically includes:
combining data of one or more basic data types to generate a specific item type of an object;
nesting the specific item types of the plurality of objects to generate the specific item type of the complex object.
Optionally, the material object data stored in the material list file includes one or more of the following items:
material object type, diffuse reflection, highlight, ambient light, self-luminescence, gloss, reflectance, opacity, metallization, diffuse reflection mapping, highlight mapping, normal mapping, bump mapping, and transparency mapping.
Optionally, the picture format of the texture map stored in the texture map list file at least includes:
jpg, jpeg, webp, bmp, tif, tiff, hdr, gif, tga and/or png.
(III) advantageous effects
The invention provides an extended storage method of a BIM (building information modeling) model, which is characterized in that data in the BIM model are extracted and classified, the classified data are stored in independent files, and the independent files are subjected to unidirectional reference to realize the integral description of a BIM model scene.
(1) The geometric model is represented by a discrete grid, is stored in a binary format and is split into a plurality of small files, so that asynchronous transmission and loading are facilitated, the geometric model can be directly mapped to a GPU (graphics processing unit) memory, and the geometry, a camera and light all use instantiation technology, so that the data volume is greatly reduced, the transmission and drawing efficiency is improved, and the light-weight use requirement is met;
(2) the geometric objects support triangular meshes, line sets and point cloud types, the BIM attributes support json file storage and database storage, the flexibility is high, the attribute categories can be dynamically added, and the expandability is high;
(3) all files support a compression format, the files have independent version fields, compatibility among different versions is supported, and the files are free to use.
Drawings
FIG. 1 is a schematic diagram of the overall structure of an embodiment of the present invention;
fig. 2 is a schematic diagram of a related structure of a BIM attribute list file in the embodiment of fig. 1.
Detailed Description
For the purpose of better explaining the present invention and to facilitate understanding, the present invention will be described in detail by way of specific embodiments with reference to the accompanying drawings. It is to be understood that the following specific examples are illustrative of the invention only and are not to be construed as limiting the invention. In addition, it should be noted that, in the case of no conflict, the embodiments and features in the embodiments in the present application may be combined with each other; for convenience of description, only portions related to the invention are shown in the drawings.
As shown in fig. 1, the present embodiment provides an extended storage method of a BIM model, and the BIM storage method of the present embodiment is named as a3d format, which includes:
processing the BIM model scene according to a pre-constructed Json format and/or a database, acquiring and classifying the scene, the scene overall attribute, the material, the BIM attribute information data and the like of the BIM model, and storing the classified data in the form of an independent Json file or database;
the Json format may be a common JavaScript Object Notification lightweight data exchange format.
Processing a BIM model scene according to a pre-constructed binary format, acquiring and classifying camera definition, camera instance, light definition, light instance, fragment instance, geometric metadata, geometric data and the like of the BIM model, and storing the classified data in the form of an independent binary file;
processing a BIM model scene according to a pre-constructed texture mapping list, acquiring texture mapping data and the like of the BIM model, classifying the texture mapping data and the like, and storing the classified data in the form of an independent mapping file;
and storing the file names, file types and file sizes corresponding to the independent Json file or database, the independent binary file and the independent map file according to a pre-constructed asset file list, and generating the independent Json file.
And performing unidirectional reference between the independent files according to a pre-constructed unidirectional reference relationship.
The independent file includes: an independent Json file or database, an independent binary file, an independent map file, and the like.
And the independent files are referred in a single direction to form the integral description of the BIM scene.
In some specific embodiments, the plurality of independent files form a file set, and the BIM model is stored by the file set.
According to the extended storage method of the BIM, the BIM model scene is processed according to various pre-constructed formats and lists, data is extracted and classified, and the data is stored in an independent file mode, and a unidirectional reference relation exists between independent files, so that integral description of complete BIM is formed. The storage method provided by the invention has the advantages of small file volume, high storage speed, good transmission performance, high drawing efficiency, strong expansibility and the like, and meets the use requirements of a BIM model lightweight system.
As shown in fig. 1 and fig. 2, in the present embodiment, the independent files at least include a scene file, a scene whole attribute file, an asset file list file, a camera instance list file, a camera definition list file, a light instance list file, a light definition list file, a fragment instance list file, a geometric metadata list file, a geometric definition list file, a material list file, a texture map list file, a BIM attribute list file, and the like;
the BIM attribute list file specifically includes an object ID list file, an attribute category list file, a value list file, an attribute category-value pair list file, and an attribute category-value pair offset list file.
One or more independent files can be set according to specific requirements, and the setting is not limited herein.
And the independent files are referred to in a single direction to form a complete BIM model scene.
In some other embodiments, the one-way reference between the plurality of independent files is embodied as:
the fragment instance list file performs unidirectional reference on data stored in a BIM attribute list file, a geometric metadata list file and/or a material list file;
the geometry metadata list file makes unidirectional reference to data stored in the geometry definition list file;
the texture map list file carries out one-way reference on data stored in the texture map list file;
the camera instance list file makes unidirectional reference to data stored in a camera definition list file;
the light instance list file performs one-way reference on data stored in the light definition list file;
the scene integral attribute file carries out one-way reference on data stored in the camera instance list file and/or the light instance list file;
the scene file carries out unidirectional reference on data stored in an asset file list file, a scene integral attribute file list file and/or a fragment instance list file;
the attribute class-value pair offset list file makes unidirectional reference to the data stored in the object ID list file;
the attribute class-value pair list file unidirectionally references data stored in the attribute class list file, the value list file, and/or the attribute class-value pair offset list file.
In practical application, the one-way reference is realized by a reference mode with identification number reference, name reference and the like, instantiation is realized by reference, the size of a file is reduced, the classified management of data is realized, and chaos is avoided.
Specifically, in this embodiment, the scene overall attribute data stored in the scene overall attribute file at least includes the following data: file version, rendering state, navigation mode, scene overall bounding box, scene up direction, scene front direction, scene right direction, length unit, default camera number, camera-model transformation, geometric reference, and the like.
The rendering state includes whether it is a double-sided rendering geometry.
Of course, in some other embodiments, the scene whole attribute data may further include a self-defined value, which is determined according to the requirement, and is not limited herein.
Specifically, the specific content stored in the asset file list file includes a file name, a file type, a file original size, and a file compressed size of the asset file;
in this embodiment, the file type includes a format type and a service type, and a file parsing processing mode may be determined according to the file type.
The format types are related to file formats, including binary package formats, attribute category formats, ID formats, value formats, attribute category-value pair offset formats, geometric metadata list formats, fragment list formats, and the like.
The service type may include a geometric type, a light definition type, an instance data type, a camera definition type, a geometric metadata type, a fragment data type, and the like, and further include a service type directly determined by a file format, for example, an attribute format is a service type directly determined by a file format.
All the geometry, light and camera types are also regarded as entity types, and are organized in a form of definition + instantiation, where the definition is where the entity is actually stored, and the instantiation is to instantiate the defined entity.
The binary format is a custom format, and comprises the following steps: organizing the binary file content in a manner of entry type and entry offset;
the entry type includes: combining the data of the basic data types according to the objects stored in the entries to generate specific entry types;
the base data types may include one or more of:
unsigned integer unt 8, integer int32, unsigned integer unt 32, variable length integer varint, string, and single precision floating point float 32;
the entry offset comprising:
the offset value of the location of the entry in the binary file relative to the start of the file.
The combining the data of the basic data types according to the objects stored in the entries to generate a specific entry type specifically includes: combining data of one or more basic data types to generate a specific item type of an object; nesting the specific item types of the plurality of objects to generate the specific item type of the complex object.
Specifically, the camera definition list file, each entry representing one camera definition, stores camera definition data including at least the following data: projection mode, position, target, upward direction, aspect ratio, field angle, clipping plane, parallel projection scaling factor, etc.;
the camera instance list file, each entry representing a camera instance, stores camera instance data including at least the following data: visibility, camera definition number, pose transformation, instance node path ID, etc.;
each item of the light definition list file represents a light definition, and the stored light definition data at least comprises the following data: position, direction, RGB components of light color, intensity, spotlight angle, size and type, etc.;
each item of the light instance list file represents a light instance, and the stored light instance data at least comprises the following data: visibility, light definition number, pose transformation, instance node path ID, etc.;
each entry of the fragment instance list file represents a fragment instance, and the stored fragment instance data at least comprises the following data: visibility, material ID, geometry ID, object ID, pose transformation, bounding box, etc.;
the geometry metadata list file, each entry representing a geometry element, stores geometry metadata including at least the following data: fragment type, primitive number, packID, EntityID, etc.;
the geometric definition list file, each item representing a geometric object, stores geometric data including at least the following data: geometry type, vertex attributes, patch index, line index, etc.
Specifically, in this embodiment, there are a plurality of geometric definition list files, which can be read and written in parallel, read and written asynchronously, transmitted in parallel, and transmitted asynchronously. In other embodiments, there may be one or more geometric definition list files, and the geometric definition list files are not limited herein.
In this embodiment, the generating the basic data type of the specific entry type includes:
unsigned integer unt 8, integer int32, unsigned integer unt 32, variable length integer varint, string, single precision floating point 32, and the like. And the data of the one or more basic data types are combined into a specific item type of one object, and the specific item types of the one or more objects are nested and combined to generate a specific item type of the complex object.
In other embodiments, other basic types of data may be added or deleted as desired.
The material object data stored in the material list file at least comprises the following data: material object type, diffuse reflection, highlight, ambient light, self-luminescence, glossiness, reflectance, opacity, metallization, diffuse reflection mapping, highlight mapping, normal mapping, bump mapping, transparency mapping, and the like.
And the diffuse reflection map, the highlight map, the normal map, the concave-convex map and the transparency map are texture data. In other embodiments, other texture data is included, as determined by a specific BIM model, and is not limited herein.
The picture formats of the texture maps stored in the texture map list file comprise jpg, jpeg, webp, bmp, tif, tiff, hdr, gif, tga and/or png and the like.
In practical applications, the texture map is determined by a specific BIM model, which is not limited herein.
Of course, in practical applications, there are other data and picture formats that are not listed, and are determined according to specific requirements, and are not required or limited herein.
In this embodiment, the independent file includes: json type and/or database, binary type and generic picture type, i.e. a stand-alone Json file and/or database, a stand-alone binary file and a stand-alone map file, etc.
In other embodiments, other file types may exist, and are not limited herein.
As shown in fig. 2, fig. 2 shows a related structure of the BIM attribute list file in the embodiment of fig. 1, and in an alternative implementation, the independent files include a scene file, a scene whole attribute file, an asset file list file, a camera instance list file, a camera definition list file, a light instance list file, a light definition list file, a fragment instance list file, a geometric metadata list file, a geometric definition list file, a material list file, a texture map list file, and a BIM attribute list file.
The BIM attribute list file comprises an object ID list file, an attribute category list file, a value list file, an attribute category-value pair list file and an attribute category-value pair offset list file.
The above independent files may be stored as a file set, and specifically, the files of the file set may exist in a form of single file compression or multiple file combination compression, where the texture map file may be placed in a separate directory, and the entire file set may also be compressed into a compressed file as a whole.
The scene file, the scene integral attribute file, the asset file list file and the material list file are independent Json files in a Json format, and the camera definition list file, the camera instance list file, the light instance list file, the fragment instance list file, the geometric metadata list and the geometric definition list file are self-defined independent binary files.
The storage modes of the object ID list file, the attribute category list file, the value list file, the attribute category-value pair list file and the attribute category-value pair offset list file can be independent json file forms or database forms, and can be selected according to practical application, and the storage modes are not limited here. The object ID list file, the attribute category list file, the value list file, the attribute category-value pair list file, and the attribute category-value pair offset list file are referenced to one another.
In practical application, a plurality of different attribute categories exist, and a user can expand the attribute categories according to requirements.
In this embodiment, the customized binary format includes: the content included in the binary file is organized by the type of the items and the offset of the items, the number of the items is selected according to actual requirements, and the size of each item is independent. The customized binary file can freely contain entries according to requirements, and high expandability is achieved.
The entry type refers to the type of the object stored in the entry, such as a camera type, a light type, a geometric type, and the like.
The entry offset refers to an offset value of the location of the entry in the binary file relative to the start location of the file.
Of course, custom binaries refer to basic data types including: unsigned integer unt 8, integer int32, unsigned integer unt 32, variable length integer varint, string, and single precision floating point float 32. In practical applications, data of one or more basic data types are combined to form a specific entry type according to the characteristics of a specific stored object.
The objects in the binary file are each composed of one or more combinations of data of a basic data type.
For example, in other embodiments, a vertex coordinate data object consists of three single precision floating point numbers float32, although in actual practice there may be a particular entry type where the object is represented by a single datum.
The specific data combination method of the basic data type needs to be determined according to actual needs, and is not limited here.
In a specific application, the combination mode of the objects in the binary file supports nesting, that is, data combination of one or more basic data types generates a specific entry type of one object, and nested combination of specific entry types of a plurality of objects generates more complex object specific entry types.
In this embodiment, the binary file is composed of a file header, entry summary information, an entry type, and entry data.
The file header at least comprises: file type, version number, entry summary information offset.
The item summary information at least comprises: an entry data offset, an entry type list offset.
The entry types at least include: type total, class name list, type number list.
The entry data at least includes: total number of entries, and contents of entries.
In the camera definition list file, each entry represents a camera definition; in the camera instance list file, each entry represents one camera instance; in the light definition list file, each item represents a light definition; in the light instance list file, each item represents a light instance; in the fragment instance list file, each entry represents an instance of a renderable object; in the geometry metadata list file, each entry represents a geometry; in the geometry definition list file, each entry represents a geometry object.
In practical application, the geometric definition list file can be one or more, and when the geometric definition list file is large, the geometric definition list file can be split into a plurality of Pack files, and the Pack files are named according to the unique Pack ID.
In some embodiments, the geometric elements and geometric objects include triangular meshes, lines, and point types, and triangular mesh geometric objects contain vertex attributes, patch indices, and the like; the line geometric object comprises data such as vertex attribute, line index and the like; the point geometric object contains data such as vertex attributes.
The material list file comprises a material object list, the material object type comprises a Phong material and a PBR material, the Phong material object comprises data such as diffuse reflection, highlight, ambient light, self-luminescence, glossiness, reflectivity, opacity, metallescence and the like, and meanwhile, the material object list file can comprise texture data such as a diffuse reflection map, a highlight map, a normal map, a concave-convex map, a transparency map and the like.
According to the extended storage method of the BIM model, the BIM model is processed, the geometric model is represented by adopting a discrete grid, is stored by using a binary format and is split into a plurality of small files, asynchronous transmission and loading are facilitated, the small files can be directly mapped to a GPU (graphics processing unit) video memory, and the geometry, the camera and the light all use instantiation technology, so that the data volume is greatly reduced, the transmission and drawing efficiency is improved, and the light-weight use requirement is met; the geometric objects support triangular meshes, line sets and point cloud types, the BIM attributes support json file storage and database storage, the flexibility is high, the attribute categories can be dynamically added, and the expandability is high; all files support a compression format, the files have independent version fields, compatibility among different versions is supported, and the files are free to use. Solves the technical problems of huge BIM file volume, slow resolving speed, long rendering time consumption, difficult loading and transmission and difficult expansion of large buildings
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the terms first, second, third and the like are for convenience only and do not denote any order. These words are to be understood as part of the name of the component.
Furthermore, it should be noted that in the description of the present specification, the description of the term "one embodiment", "some embodiments", "examples", "specific examples" or "some examples", etc., means that a specific feature, structure, material or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, the claims should be construed to include preferred embodiments and all changes and modifications that fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention should also include such modifications and variations.

Claims (10)

1.一种BIM模型的扩展存储方法,其特征在于,1. an extended storage method of a BIM model, is characterized in that, 依据预先构建的Json格式和/或数据库,对BIM模型场景进行处理,获取BIM模型的场景、场景整体属性、材质、BIM属性信息数据并分类,将所述分类后数据,以独立Json文件或数据库的形式进行存储;According to the pre-built Json format and/or database, the BIM model scene is processed, and the scene, overall scene attribute, material, and BIM attribute information data of the BIM model are obtained and classified, and the classified data is stored in an independent Json file or database. stored in the form of 依据预先构建的二进制格式,对BIM模型场景进行处理,获取BIM模型的相机定义、相机实例、灯光定义、灯光实例、片段实例、几何元数据和几何数据并分类,将所述分类后数据,以独立二进制文件的形式进行存储;According to the pre-built binary format, the BIM model scene is processed, the camera definition, camera instance, light definition, light instance, fragment instance, geometric metadata and geometric data of the BIM model are obtained and classified, and the classified data is classified into stored in the form of independent binary files; 依据预先构建的纹理贴图列表,对BIM模型场景进行处理,获取BIM模型的纹理贴图数据并分类,将所述分类后数据,以独立贴图文件的形式进行存储;According to the pre-built texture map list, the BIM model scene is processed, the texture map data of the BIM model is obtained and classified, and the classified data is stored in the form of an independent map file; 依据预先构建的资产文件列表,对所述独立Json文件或数据库、独立二进制文件和独立贴图文件对应的文件名称、文件类型和文件大小进行存储并生成独立Json文件;According to the pre-built asset file list, store the file name, file type and file size corresponding to the independent Json file or database, the independent binary file and the independent texture file, and generate the independent Json file; 依据预先构建的单向引用关系,进行独立文件之间的单向引用;According to the pre-built one-way reference relationship, carry out one-way reference between independent files; 所述独立文件包括:独立Json文件或数据库、独立二进制文件和独立贴图文件。The independent files include: independent Json files or databases, independent binary files and independent texture files. 2.如权利要求1所述的BIM模型的扩展存储方法,其特征在于,2. the extended storage method of BIM model as claimed in claim 1, is characterized in that, 所述独立文件,具体包括:The independent document specifically includes: 场景文件、场景整体属性文件、资产文件列表文件、相机实例列表文件、相机定义列表文件、灯光实例列表文件、灯光定义列表文件、片段实例列表文件、几何元数据列表文件、几何定义列表文件、材质列表文件、纹理贴图列表文件和BIM属性列表文件;Scene File, Scene Global Properties File, Asset File List File, Camera Instance List File, Camera Definition List File, Light Instance List File, Light Definition List File, Fragment Instance List File, Geometry Metadata List File, Geometry Definition List File, Materials List file, texture map list file and BIM property list file; 所述BIM属性列表文件,具体包括:The BIM property list file specifically includes: 物体ID列表文件、属性类别列表文件、值列表文件、属性类别-值对列表文件、属性类别-值对偏移列表文件。Object ID list file, attribute class list file, value list file, attribute class-value pair list file, attribute class-value pair offset list file. 3.如权利要求1所述的BIM模型的扩展存储方法,其特征在于,3. the extended storage method of BIM model as claimed in claim 1, is characterized in that, 所述独立文件之间的单向引用,包括:One-way references between the independent files, including: 所述片段实例列表文件,对BIM属性列表文件、几何元数据列表文件、材质列表文件中存储的数据进行单向引用;The fragment instance list file performs one-way reference to the data stored in the BIM attribute list file, the geometric metadata list file, and the material list file; 所述几何元数据列表文件,对几何定义列表文件中存储的数据进行单向引用;The geometric metadata list file performs one-way reference to the data stored in the geometric definition list file; 所述材质列表文件,对纹理贴图列表文件中存储的数据进行单向引用;The material list file performs one-way reference to the data stored in the texture map list file; 所述相机实例列表文件,对相机定义列表文件中存储的数据进行单向引用;The camera instance list file makes a one-way reference to the data stored in the camera definition list file; 所述灯光实例列表文件,对灯光定义列表文件中存储的数据进行单向引用;The light instance list file performs one-way reference to the data stored in the light definition list file; 所述场景整体属性文件,对相机实例列表文件、灯光实例列表文件中存储的数据进行单向引用;The scene overall attribute file makes a one-way reference to the data stored in the camera instance list file and the light instance list file; 所述场景文件,对资产文件列表文件、场景整体属性文件列表文件、片段实例列表文件中存储的数据进行单向引用;The scene file performs one-way reference to the data stored in the asset file list file, the scene overall attribute file list file, and the fragment instance list file; 所述属性类别-值对偏移列表文件,对所述物体ID列表文件中存储的数据进行单向引用;The attribute category-value pair offset list file makes a one-way reference to the data stored in the object ID list file; 所述属性类别-值对列表文件,对所述属性类别列表文件、值列表文件和属性类别-值对偏移列表文件中存储的数据进行单向引用。The attribute class-value pair list file makes a one-way reference to the data stored in the attribute class list file, the value list file and the attribute class-value pair offset list file. 4.如权利要求2所述的BIM模型的扩展存储方法,其特征在于,4. the extended storage method of BIM model as claimed in claim 2, is characterized in that, 所述场景整体属性文件存储的场景整体属性数据,包括以下一项或多项:The scene overall attribute data stored in the scene overall attribute file includes one or more of the following: 文件版本、渲染状态、导航方式、场景总体包围盒、场景上方向、场景前方向、场景右方向、长度单位、默认相机编号、相机-模型变换、几何参考。File version, render state, navigation method, overall scene bounding box, scene up direction, scene front direction, scene right direction, length unit, default camera number, camera-model transformation, geometry reference. 5.如权利要求2所述的BIM模型的扩展存储方法,其特征在于,5. the extended storage method of BIM model as claimed in claim 2, is characterized in that, 所述资产文件列表文件存储的具体内容包括:The specific content stored in the asset file list file includes: 涉及资产文件的文件名称、文件类型、文件原始大小、文件压缩后大小;The file name, file type, original file size, and compressed file size of asset files involved; 所述文件类型,包括格式类型和业务类型。The file type includes format type and service type. 6.如权利要求2所述的BIM模型的扩展存储方法,其特征在于,6. The expansion storage method of BIM model as claimed in claim 2, is characterized in that, 所述相机定义列表文件存储的相机定义数据,包括以下一项或多项:The camera definition data stored in the camera definition list file includes one or more of the following: 投影模式、位置、目标、上方向、横纵比、视场角、裁剪平面和平行投影缩放系数;Projection mode, position, target, up direction, aspect ratio, field of view, clipping plane and parallel projection zoom factor; 所述相机实例列表文件存储的相机实例数据,包括以下一项或多项数据:The camera instance data stored in the camera instance list file includes one or more of the following data: 可见性、相机定义编号、位姿变换、实例节点路径ID;Visibility, camera definition number, pose transformation, instance node path ID; 所述灯光定义列表文件存储的灯光定义数据,包括以下一项或多项:The light definition data stored in the light definition list file includes one or more of the following: 位置、方向、灯光颜色的RGB分量、强度、聚光角度、大小和类型;position, direction, RGB components of light color, intensity, spot angle, size and type; 所述灯光实例列表文件存储的灯光实例数据,包括以下一项或多项:The light instance data stored in the light instance list file includes one or more of the following: 可见性、灯光定义编号、位姿变换、实例节点路径ID;Visibility, light definition number, pose transformation, instance node path ID; 所述片段实例列表文件存储的片段实例数据,包括以下一项或多项:The segment instance data stored in the segment instance list file includes one or more of the following: 可见性、材质ID、几何元ID、物体ID、位姿变换、包围盒;Visibility, Material ID, Geometry ID, Object ID, Pose Transformation, Bounding Box; 所述几何元数据列表文件存储的几何元数据,包括以下一项或多项:The geometric metadata stored in the geometric metadata list file includes one or more of the following: 片段类型、图元数量、PackID、EntityID;Fragment type, number of primitives, PackID, EntityID; 所述几何定义列表文件存储的几何数据,包括以下一项或多项:The geometry data stored in the geometry definition list file includes one or more of the following: 几何类型、顶点属性、面片索引、线索引。Geometry types, vertex attributes, patch indices, line indices. 7.如权利要求1所述的BIM模型的扩展存储方法,其特征在于,7. The extended storage method of BIM model as claimed in claim 1, wherein, 所述二进制格式,包括:The binary format includes: 以条目类型和条目偏移的方式,对二进制文件内容进行组织;Organize binary file contents by entry type and entry offset; 所述条目类型,包括:The entry types, including: 根据条目中存储的对象,对基本数据类型的数据进行组合,生成特定的条目类型;According to the objects stored in the entry, combine the data of the basic data type to generate a specific entry type; 所述基本数据类型至少包括:The basic data types include at least: 无符号整数uint8、整数int32、无符号整数uint32、变长整数varint、字符串string和单精度浮点float32;Unsigned integer uint8, integer int32, unsigned integer uint32, variable-length integer varint, string string and single-precision floating-point float32; 所述条目偏移,包括:The entry offset, including: 条目在二进制文件中的位置相对于文件起始位置的偏移值。The offset of the entry's position in the binary file relative to the beginning of the file. 8.如权利要求7所述的BIM模型的扩展存储方法,其特征在于,8. The extended storage method of a BIM model as claimed in claim 7, characterized in that, 所述根据条目中存储的对象,对基本数据类型的数据进行组合,生成特定的条目类型,具体包括:According to the object stored in the entry, the data of the basic data type is combined to generate a specific entry type, which specifically includes: 将一个或多个基本数据类型的数据组合,生成一个对象的特定条目类型;combine data from one or more primitive data types to produce a specific entry type of an object; 所述多个对象的特定条目类型进行嵌套,生成一个复杂对象的特定条目类型。The specific item types of the multiple objects are nested to generate a specific item type of a complex object. 9.如权利要求2所述的BIM模型的扩展存储方法,其特征在于,9. The extended storage method of BIM model as claimed in claim 2, wherein, 所述材质列表文件存储的材质对象数据,包括以下一项或多项:The material object data stored in the material list file includes one or more of the following: 材质对象类型、漫反射、高光、环境光、自发光、光泽度、反射度、不透明度、金属度、漫反射贴图、高光贴图、法线贴图、凹凸贴图和透明度贴图。Material Object Type, Diffuse, Specular, Ambient, Emissive, Glossiness, Reflectance, Opacity, Metallicity, Diffuse Map, Specular Map, Normal Map, Bump Map, and Transparency Map. 10.如权利要求2所述的BIM模型的扩展存储方法,其特征在于,10. The extended storage method of a BIM model according to claim 2, wherein, 所述纹理贴图列表文件存储的纹理贴图的图片格式至少包括:The image format of the texture map stored in the texture map list file includes at least: jpg、jpeg、webp、bmp、tif、tiff、hdr、gif、tga和/或png。jpg, jpeg, webp, bmp, tif, tiff, hdr, gif, tga and/or png.
CN202111520331.4A 2021-12-13 2021-12-13 An Extended Storage Method for BIM Models Active CN114201448B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111520331.4A CN114201448B (en) 2021-12-13 2021-12-13 An Extended Storage Method for BIM Models

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111520331.4A CN114201448B (en) 2021-12-13 2021-12-13 An Extended Storage Method for BIM Models

Publications (2)

Publication Number Publication Date
CN114201448A true CN114201448A (en) 2022-03-18
CN114201448B CN114201448B (en) 2025-12-05

Family

ID=80653137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111520331.4A Active CN114201448B (en) 2021-12-13 2021-12-13 An Extended Storage Method for BIM Models

Country Status (1)

Country Link
CN (1) CN114201448B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115062188A (en) * 2022-06-14 2022-09-16 中国建筑第五工程局有限公司 Method for storing building digital twin data
CN115757904A (en) * 2022-11-18 2023-03-07 山东山大华天软件有限公司 Lightweight data access method and system suitable for multi-scene decentralized model browsing
CN115795629A (en) * 2022-12-29 2023-03-14 以见科技(上海)有限公司 Data conversion method, data conversion system, and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109344223A (en) * 2018-09-18 2019-02-15 青岛理工大学 A building information model management system and method based on cloud computing technology
CN110245368A (en) * 2018-03-09 2019-09-17 北京东晨工元科技发展有限公司 A kind of the structuring processing and storage method of BIM data
CN110726411A (en) * 2019-09-29 2020-01-24 北京大学 An indoor emergency pathfinding method for building information model based on meshing
CN111008422A (en) * 2019-11-29 2020-04-14 北京建筑大学 A method and system for making a real scene map of a building
CN112487106A (en) * 2020-11-26 2021-03-12 万翼科技有限公司 Data layering method based on building information model and related device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110245368A (en) * 2018-03-09 2019-09-17 北京东晨工元科技发展有限公司 A kind of the structuring processing and storage method of BIM data
CN109344223A (en) * 2018-09-18 2019-02-15 青岛理工大学 A building information model management system and method based on cloud computing technology
CN110726411A (en) * 2019-09-29 2020-01-24 北京大学 An indoor emergency pathfinding method for building information model based on meshing
CN111008422A (en) * 2019-11-29 2020-04-14 北京建筑大学 A method and system for making a real scene map of a building
CN112487106A (en) * 2020-11-26 2021-03-12 万翼科技有限公司 Data layering method based on building information model and related device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115062188A (en) * 2022-06-14 2022-09-16 中国建筑第五工程局有限公司 Method for storing building digital twin data
CN115757904A (en) * 2022-11-18 2023-03-07 山东山大华天软件有限公司 Lightweight data access method and system suitable for multi-scene decentralized model browsing
CN115795629A (en) * 2022-12-29 2023-03-14 以见科技(上海)有限公司 Data conversion method, data conversion system, and electronic device

Also Published As

Publication number Publication date
CN114201448B (en) 2025-12-05

Similar Documents

Publication Publication Date Title
US20250166286A1 (en) Reduced Acceleration Structures for Ray Tracing Systems
CN113287154B (en) Conversion of infrastructure model geometry to tile format
US8612040B2 (en) Automated derivative view rendering system
CN114201448A (en) Extended storage method of BIM (building information modeling) model
US8565514B2 (en) Markup language for interactive geographic information system
US20130257856A1 (en) Determining a View of an Object in a Three-Dimensional Image Viewer
Naiman AstroBlend: An astrophysical visualization package for Blender
Li et al. A novel OpenMVS-based texture reconstruction method based on the fully automatic plane segmentation for 3D mesh models
CN104050232B (en) Computer-generated arbitrary hierarchical tagging of animated assets
Hollander et al. Manylods: Parallel many‐view level‐of‐detail selection for real‐time global illumination
JP7601944B2 (en) Method and system for generating polygon meshes that approximate surfaces using root finding and iteration on mesh vertex positions - Patents.com
CN115062188A (en) Method for storing building digital twin data
Pütz et al. The mesh tools package–introducing annotated 3d triangle maps in ros
Weibel et al. Generalization, on-the-fly
Minto et al. Online access and sharing of reality-based 3D models
Huang et al. Real-time map rendering and interaction: a stylized hierarchical symbol model
CN114357208B (en) Three-dimensional model feature information management method, device, electronic equipment and medium
Nys et al. An extension of CityJSON to support point clouds
CN118541678A (en) Unreal engine graphics construction method and device, computer readable storage medium
CN113434514B (en) Voxelization index and output method of offshore oil and gas field point cloud model
Lu Unreal engine nanite foliage shadow imposter
Brůha et al. A procedural footprint enhancement of global topographic surface with multiple levels of detail
Santana Núñez et al. Visualization of large point cloud in unity
WILLCOCKS Sparse volumetric deformation
Gulmurodov et al. 3D models development of tourism facilities

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
GR01 Patent grant
GR01 Patent grant