CN107229426B - BIM model data compression and restoration method and device - Google Patents

BIM model data compression and restoration method and device Download PDF

Info

Publication number
CN107229426B
CN107229426B CN201710437446.4A CN201710437446A CN107229426B CN 107229426 B CN107229426 B CN 107229426B CN 201710437446 A CN201710437446 A CN 201710437446A CN 107229426 B CN107229426 B CN 107229426B
Authority
CN
China
Prior art keywords
information
geometric
component
numbers
geometric information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710437446.4A
Other languages
Chinese (zh)
Other versions
CN107229426A (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.)
Shenzhen Th Sware Technology Co ltd
Original Assignee
Shenzhen Th Sware Technology 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 Shenzhen Th Sware Technology Co ltd filed Critical Shenzhen Th Sware Technology Co ltd
Priority to CN201710437446.4A priority Critical patent/CN107229426B/en
Publication of CN107229426A publication Critical patent/CN107229426A/en
Application granted granted Critical
Publication of CN107229426B publication Critical patent/CN107229426B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0608Saving storage space on storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0635Configuration or reconfiguration of storage systems by changing the path, e.g. traffic rerouting, path reconfiguration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0643Management of files

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a BIM model data compression and reduction method and device, and belongs to the technical field of BIM models. The method comprises the following steps: acquiring all components in the BIM model data, and assigning numbers to the components, wherein the same components are assigned with the same numbers; compressing and storing corresponding geometric information according to the numbers to form a component number dictionary, wherein a piece of corresponding geometric information is compressed and stored for the same number; compressing and storing non-geometric information and vector information corresponding to all numbers to form a member number list. The invention assigns numbers to the components in the BIM model data, the same components are assigned with the same number, when the geometric information corresponding to the numbers is stored, the same number only stores one piece of corresponding geometric information, and the non-geometric information corresponding to all the numbers forms a component number dictionary for storage, thereby avoiding the repeated storage of the geometric information with the same number, and greatly reducing the amount of compressed and stored data.

Description

BIM model data compression and restoration method and device
Technical Field
The invention relates to the technical field of BIM (building information modeling) models, in particular to a BIM model data compression and reduction method and device.
Background
The BIM model is a short name of a Building Information model (Building Information Modeling), is a Building full-life-cycle informatization management technology, can digitize Building Information, and takes the digital Information model as a basis to carry out simulation construction in each stage, and has five basic characteristics of visualization, harmony, simulation, optimization, drawing property and the like. The final representation of the BIM model is a visualized multi-dimensional, multi-functional, multi-purpose computer graphics model. The model is ultimately presented on the display device in the form of a multi-dimensional, multi-functional, multi-purpose model computer graphic. The existing BIM model data file stores complete geometric information and non-geometric information, the data volume is large, the data volume cannot be effectively compressed by adopting technologies such as ZIP (zero interference detection) and the like, the data volume is large, a large bandwidth is occupied in the transmission process, and the transmission rate is seriously influenced by the BIM model data file under the condition of poor network speed.
Disclosure of Invention
The invention mainly aims to provide a BIM data compression and reduction method and a device, and aims to solve the problems that in the prior art, the BIM data volume is large, so that a large bandwidth is occupied in the transmission process, and data transmission is not facilitated.
In a first aspect, the present invention provides a BIM model data compression method, including:
acquiring all components in the BIM model data, and assigning numbers to the components, wherein the same components are assigned with the same numbers;
compressing and storing corresponding geometric information according to the numbers to form a component number dictionary, wherein a piece of corresponding geometric information is compressed and stored for the same number;
compressing and storing non-geometric information and vector information corresponding to all numbers to form a member number list.
In a second aspect, the present invention provides a BIM model data compression apparatus, including:
the component numbering module is used for acquiring all components in the BIM model data and assigning numbers to the components, wherein the same components are assigned with the same numbers;
the component number dictionary forming module is used for compressing and storing corresponding geometric information according to the serial numbers to form a component number dictionary, wherein the same serial numbers are compressed and stored with a piece of corresponding geometric information; and
and the component number list forming module is used for compressing and storing the non-geometric information and the vector information corresponding to all the numbers to form a component number list.
In a third aspect, the present invention provides a BIM model data restoring method, including:
respectively decompressing a component number list and a component number dictionary;
reading the geometric information corresponding to the number in a component number dictionary according to the component number list, wherein the component number list comprises: non-geometric information and vector information corresponding to all numbers, the component number dictionary comprising: the geometric information corresponding to the serial number;
and generating the geometric shape and the non-geometric information of the component according to the geometric information and the non-geometric information corresponding to the serial number, and restoring the spatial position information of the component according to the vector information.
In a fourth aspect, the present invention provides a BIM model data restoring apparatus, including:
the decompression module is used for respectively decompressing the component number list and the component number dictionary;
a geometric information reading module, configured to read geometric information corresponding to a number from a component number dictionary according to the component number list, where the component number list includes: non-geometric information and vector information corresponding to all numbers, the component number dictionary comprising: the geometric information corresponding to the serial number; and
and the component generating module is used for generating the geometric shape and the non-geometric information of the component according to the geometric information and the non-geometric information corresponding to the serial number, and restoring the spatial position information of the component according to the vector information.
On one hand, the BIM model data compression method and device provided by the invention endow the members in the BIM model data with numbers, the same members with the same numbers, when the geometric information corresponding to the numbers is stored, the same numbers only store one part of corresponding geometric information, and the non-geometric information corresponding to all the numbers forms a member number dictionary for storage, so that the repeated storage of the geometric information with the same numbers is avoided, and the data compression and storage quantity is greatly reduced.
On the other hand, according to the BIM model data restoration method and device provided by the invention, the member number list is decompressed to obtain the member number and the corresponding non-geometric information and vector information, the geometric information in the member number dictionary is read through the member number list, so that the geometric shape and the non-geometric information of the member are generated, the spatial position information of the member is restored, the geometric information with the same number does not need to be stored one by one, the corresponding geometric information can be read by using the member number list, and the repeated geometric information is prevented from occupying the transmission data volume and the data storage space.
Drawings
Fig. 1 is a flowchart of a method for compressing BIM model data according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for compressing storage geometry information in a BIM model data compression method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a BIM data compression apparatus according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for restoring BIM model data according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a BIM model data reduction apparatus according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, an embodiment of the present invention provides a BIM model data compression method, including:
step 101, acquiring all components in the BIM model data, and assigning numbers to the components, wherein the same components are assigned with the same numbers.
And 102, compressing and storing the corresponding geometric information according to the numbers to form a component number dictionary, wherein a piece of corresponding geometric information is compressed and stored for the same number.
And 103, compressing and storing the non-geometric information and the vector information corresponding to all the numbers to form a component number list.
In step 101, BIM model data is obtained, where the BIM model data is original BIM model data, and includes all components, and geometric information, non-geometric information, and spatial position information of each component, where the geometric information of a component includes geometric shape definition information and geometric shape information, the geometric shape definition information is a definition of a geometric shape, such as a triangular component, whose geometric shape definition information is length information of three sides of a triangle and angle degree information of three vertices, and the geometric shape information is a geometric shape of the component in the BIM model data. After the BIM model data is acquired, all the members in the BIM model data are assigned with numbers according to the same numbering rule, and the same members are assigned with the same numbers, where the same members are members with the same geometric shape information, for example, all the triangular members in the BIM model data are assigned with the number 1, and the triangular members with the number 1 are only the same geometric information, but the non-geometric information may be different, and the same members are collected by assigning numbers.
In step 102, the same members are grouped by assigning numbers to the members in the previous step, and since the same members are assigned with the same numbers and the corresponding geometric information is the same, the corresponding geometric information is compressed and stored according to the numbers to form a member number dictionary, which is specifically a member number dictionary that maps the numbers and the corresponding geometric information, and the corresponding geometric information can be found through the numbers, wherein the same numbers are compressed and stored for one piece of corresponding geometric information without repeatedly storing the geometric information corresponding to the same numbers, so that the operation of repeatedly storing the geometric information of a plurality of same members is reduced, and a large amount of repeated data is reduced.
In step 103, the component number dictionary only stores the geometric information of the component individually, because the geometric information of the same component is the same, but the non-geometric information and the vector information of the same component may be different, so that the non-geometric information and the vector information of the component need to be stored one by one to ensure the accuracy and integrity of the BIM model data, all the non-geometric information and the vector information corresponding to the numbers are compressed and stored, and the numbers of the component and the corresponding non-geometric information and vector information form a mapping relationship, thereby forming a component number list.
In the embodiment of the invention, the members in the BIM model data are assigned with numbers, the same members are assigned with the same number, when the geometric information corresponding to the numbers is stored, the same number only stores one piece of corresponding geometric information, and the non-geometric information corresponding to all the numbers forms a member number dictionary for storage, so that the repeated storage of the geometric information with the same number is avoided, and the data compression and storage amount is greatly reduced.
Further, in the BIM model data, spatial position information of the member is acquired, and the spatial position information is converted into vector information.
Specifically, in the BIM model data, the spatial position information corresponding to each component includes the spatial position of the component in the BIM model data, and when the BIM model data is compressed, the spatial position information may be converted into vector information to be expressed in order to further reduce the data amount.
As shown in fig. 2, an embodiment of the present invention provides a method for compressing storage geometry information in a BIM model data compression method, including:
step 201, acquiring the data volume of the geometric information.
In step 202, only the storage geometry definition information is compressed when the data amount is lower than the preset data amount.
And step 203, when the data volume is higher than the preset data volume, simultaneously compressing and storing the geometric shape definition information and the geometric shape information.
In the embodiment of the present invention, in the BIM model data, the geometric information of the component includes geometric definition information and geometric definition information, the geometric definition information is a definition of a geometric shape, for example, a triangular component, the geometric definition information is length information of three sides of the triangle and included angle degree information of three vertices, and the geometric information is a geometric shape of the component in the BIM model data, for a simple component, because the geometric shape is simpler, the geometric shape of the component can be directly restored by the geometric definition information, for a complex component, only definition information such as side length, number, angle and the like in the component can be known by the geometric definition information, but the geometric shape cannot be constructed from the geometric definition information, so the geometric information of the complex component is indispensable, in order to further reduce the data volume, a component with the data volume of the geometric information lower than the preset data volume can be considered as a component with a simple structure, a component with the data volume of the geometric information higher than the preset data volume can be considered as a component with a complex structure, only the geometric shape definition information can be compressed and stored for the component with the simple structure, and the geometric shape definition information and the geometric shape information can be compressed and stored for the component with the complex structure, so that the integrity and the accuracy of the data can be effectively ensured while the data storage volume is further reduced.
As shown in fig. 3, an embodiment of the present invention provides a BIM model data compression apparatus, including:
a component numbering module 31, configured to acquire all components in the BIM model data, and assign numbers to the components, where the same components are assigned with the same numbers;
a component number dictionary forming module 32, configured to compress and store corresponding geometric information according to the number to form a component number dictionary, where a piece of corresponding geometric information is compressed and stored for the same number; and
and a component number list forming module 33, configured to compress and store all the non-geometric information and vector information corresponding to the numbers to form a component number list.
The component numbering module 31 obtains BIM model data, which is original BIM model data and includes all components, and geometric information, non-geometric information, and spatial position information of each component, where the geometric information of a component includes geometric shape definition information and geometric shape information, the geometric shape definition information is a definition of a geometric shape, such as a triangular component, and the geometric shape definition information is length information of three sides of the triangle and angle degree information of three vertices, and the geometric shape information is a geometric shape of the component in the BIM model data. After the BIM model data is acquired, all the members in the BIM model data are assigned with numbers according to the same numbering rule, and the same members are assigned with the same numbers, where the same members are members with the same geometric shape information, for example, all the triangular members in the BIM model data are assigned with the number 1, and the triangular members with the number 1 are only the same geometric information, but the non-geometric information may be different, and the same members are collected by assigning numbers.
The component numbering dictionary forming module 32 is configured to set the same components by assigning numbers to the components in the previous step, and since the same components are assigned with the same numbers and the corresponding geometric information is the same, compress and store the corresponding geometric information according to the numbers to form a component numbering dictionary, and the component numbering dictionary is a component numbering dictionary in which the numbers and the corresponding geometric information form a mapping relationship, and can search the corresponding geometric information through the numbers, wherein the same numbers compress and store one piece of corresponding geometric information without repeatedly storing the geometric information corresponding to the same numbers, so that operations of repeatedly storing the geometric information of a plurality of same components are reduced, and a large amount of repeated data are reduced.
The component number list forming module 33, the component number dictionary only stores the geometric information of the component individually, because the geometric information of the same component is the same, but the non-geometric information and the vector information thereof may be different, so that the non-geometric information and the vector information of the component need to be stored one by one to ensure the accuracy and integrity of the BIM model data, compress and store all the non-geometric information and vector information corresponding to the numbers, and form a mapping relationship between the numbers of the component and the corresponding non-geometric information and vector information, thereby forming the component number list.
In the embodiment of the invention, the members in the BIM model data are assigned with numbers, the same members are assigned with the same number, when the geometric information corresponding to the numbers is stored, the same number only stores one piece of corresponding geometric information, and the non-geometric information corresponding to all the numbers forms a member number dictionary for storage, so that the repeated storage of the geometric information with the same number is avoided, and the data compression and storage amount is greatly reduced.
Further, the component number list forming module 33 includes:
and the vector information conversion module is used for acquiring the spatial position information of the component in the BIM model data and converting the spatial position information into vector information.
Specifically, in the BIM model data, the spatial position information corresponding to each component includes the spatial position of the component in the BIM model data, and when the BIM model data is compressed, the spatial position information may be converted into vector information to be expressed in order to further reduce the data amount.
As shown in fig. 4, a BIM model data restoring method provided in an embodiment of the present invention includes:
step 401, respectively decompressing a component number list and a component number dictionary;
step 402, reading the geometric information corresponding to the number in the component number dictionary according to a component number list, wherein the component number list comprises: all the numbers correspond to non-geometric information and vector information, and the component number dictionary comprises: numbering corresponding geometric information;
and step 403, generating the geometric shape and the non-geometric information of the component according to the geometric information and the non-geometric information corresponding to the serial numbers, and restoring the spatial position information of the component according to the vector information.
In step 401, respectively decompressing the component number list and the component number dictionary, wherein the component number dictionary is a component number dictionary in which a mapping relationship is formed between a number and corresponding geometric information because the same component is given the same number and the corresponding geometric information is the same, and the corresponding geometric information can be found through the number, wherein a copy of the corresponding geometric information is compressed and stored for the same number; the component number list includes non-geometric information and vector information of each component, because the geometric information of the same component is the same, but the non-geometric information and the vector information of the same component may be different, the non-geometric information and the vector information of the component need to be stored one by one.
In step 402, reading the geometric information corresponding to the number from the component number dictionary according to the component number list, wherein the component number list includes the numbers of all the components, so that reading the geometric information corresponding to the number from the component number dictionary by using the component number list can ensure that each component can acquire the corresponding geometric information, and the component number list includes: all the numbers correspond to non-geometric information and vector information, and the component number dictionary comprises: the corresponding geometric information is numbered.
Further, sorting the component number list according to the numbers;
for the same number, corresponding geometric information is read circularly in the component number dictionary.
Specifically, because the component number list includes a plurality of identical numbers, the identical numbers can be gathered in a sorting mode, which is helpful for circularly reading the corresponding geometric information in the component number dictionary, thereby avoiding the process of searching according to the numbers each time, increasing the speed of reading the geometric information, and improving the reduction efficiency of the BIM model data.
In step 403, after reading the corresponding geometric information from the component number dictionary and the non-geometric information in the component number list, the geometric shape and the non-geometric information of the component are generated, and the spatial position information of the component is restored according to the vector information.
Further, when the geometric information includes: generating a geometric shape of the member based on the geometric shape definition information when the geometric shape definition information is received;
when the geometric information includes: the geometry information is generated based on the geometry information and the geometry definition information.
In the embodiment of the present invention, in the BIM model data, the geometric information of the component includes geometric definition information and geometric definition information, the geometric definition information is a definition of a geometric shape, for example, a triangular component, the geometric definition information is length information of three sides of the triangle and included angle degree information of three vertices, and the geometric information is a geometric shape of the component in the BIM model data, for a simple component, because the geometric shape is simpler, the geometric shape of the component can be directly restored by the geometric definition information, for a complex component, only definition information such as side length, number, angle and the like in the component can be known by the geometric definition information, but the geometric shape cannot be constructed from the geometric definition information, so the geometric information of the complex component is indispensable, for a simple structure component, the geometric information only comprises geometric shape definition information, and the geometric shape of the component can be generated according to the geometric shape definition information, and for a complex component, the geometric information comprises: the geometry definition information and the geometry information need to generate the geometry of the member based on the geometry definition information and the geometry information.
In the embodiment of the invention, the component number list is decompressed to obtain the component number and the corresponding non-geometric information and vector information, the geometric information in the component number dictionary is read through the component number list, so that the geometric information and the non-geometric information of the component are generated, the spatial position information of the component is restored, the geometric information with the same number does not need to be stored one by one, the corresponding geometric information can be read by utilizing the component number list, and the repeated geometric information is prevented from occupying the transmission data volume and the data storage space.
As shown in fig. 5, a BIM model data restoring apparatus provided in an embodiment of the present invention includes:
a decompression module 51 for decompressing the component number list and the component number dictionary, respectively;
a geometric information reading module 52, configured to read geometric information corresponding to a number from a component number dictionary according to a component number list, where the component number list includes: all the numbers correspond to non-geometric information and vector information, and the component number dictionary comprises: numbering corresponding geometric information; and
and a component generating module 53, configured to generate the geometric shape and the non-geometric information of the component according to the geometric information and the non-geometric information corresponding to the serial number, and restore the spatial position information of the component according to the vector information.
The decompression module 51 decompresses the component number list and the component number dictionary respectively, and since the same components are given the same numbers and the corresponding geometric information is the same, the component number dictionary is specifically a component number dictionary in which the numbers and the corresponding geometric information form a mapping relationship, and the corresponding geometric information can be found through the numbers, wherein a part of the corresponding geometric information is compressed and stored for the same numbers; the component number list includes non-geometric information and vector information of each component, because the geometric information of the same component is the same, but the non-geometric information and the vector information of the same component may be different, the non-geometric information and the vector information of the component need to be stored one by one.
The geometric information reading module 52 reads the geometric information corresponding to the number from the component number dictionary according to the component number list, and since the component number list includes the numbers of all the components, reading the geometric information corresponding to the number from the component number dictionary by using the component number list can ensure that each component can acquire the corresponding geometric information, and the component number list includes: all the numbers correspond to non-geometric information and vector information, and the component number dictionary comprises: the corresponding geometric information is numbered.
Further, the geometric information reading module 52 includes:
a list sorting module 521, configured to sort the component number list according to the number; and
and a cyclic reading module 522, configured to cyclically read the corresponding geometric information in the component number dictionary for the same number.
Specifically, because the component number list includes a plurality of identical numbers, the identical numbers can be gathered in a sorting mode, which is helpful for circularly reading the corresponding geometric information in the component number dictionary, thereby avoiding the process of searching according to the numbers each time, increasing the speed of reading the geometric information, and improving the reduction efficiency of the BIM model data.
The component generating module 53 reads the corresponding geometric information from the component number dictionary and the non-geometric information in the component number list, generates the geometric shape and the non-geometric information of the component, and restores the spatial position information of the component according to the vector information.
In the embodiment of the invention, the component number list is decompressed to obtain the component number and the corresponding non-geometric information and vector information, the geometric information in the component number dictionary is read through the component number list, so that the geometric information and the non-geometric information of the component are generated, the spatial position information of the component is restored, the geometric information with the same number does not need to be stored one by one, the corresponding geometric information can be read by utilizing the component number list, and the repeated geometric information is prevented from occupying the transmission data volume and the data storage space.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A BIM model data compression method is characterized by comprising the following steps:
acquiring all components in the BIM model data, and assigning numbers to the components, wherein the components with the same geometric shape are assigned with the same number;
compressing and storing corresponding geometric information according to the numbers to form a component number dictionary, wherein a piece of corresponding geometric information is compressed and stored for the same number;
compressing and storing non-geometric information and vector information corresponding to all numbers to form a member number list; and compressing and storing corresponding geometric information according to the numbers to form a component number dictionary, wherein the step of compressing and storing a piece of corresponding geometric information for the same number comprises the following steps:
acquiring the data volume of the geometric information;
when the data volume is lower than the preset data volume, only compressing and storing the geometric shape definition information;
and when the data volume is higher than the preset data volume, simultaneously compressing and storing the geometric shape definition information and the geometric shape information.
2. The BIM model data compression method of claim 1, wherein the step of compressing and storing all non-geometric information and vector information corresponding to numbers to form a member number list comprises:
and in the BIM model data, acquiring spatial position information of the component, and converting the spatial position information into vector information.
3. An apparatus for BIM model data compression, the apparatus comprising:
the component numbering module is used for acquiring all components in the BIM model data and assigning numbers to the components, wherein the same components are assigned with the same numbers;
the component numbering dictionary forming module is used for compressing and storing corresponding geometric information according to the serial numbers to form a component numbering dictionary, wherein the same serial numbers are compressed and stored with a piece of corresponding geometric information to obtain the data volume of the geometric information, when the data volume is lower than the preset data volume, only the geometric shape definition information is compressed and stored, and when the data volume is higher than the preset data volume, the geometric shape definition information and the geometric shape information are compressed and stored at the same time; and
and the component number list forming module is used for compressing and storing the non-geometric information and the vector information corresponding to all the numbers to form a component number list.
4. The BIM model data compression apparatus of claim 3, wherein the component number list formation module comprises:
and the vector information conversion module is used for acquiring the spatial position information of the member in the BIM model data and converting the spatial position information into vector information.
5. A BIM model data reduction method is characterized by comprising the following steps:
respectively decompressing a component number list and a component number dictionary;
reading the geometric information corresponding to the number in a component number dictionary according to the component number list, wherein the component number list comprises: non-geometric information and vector information corresponding to all numbers, the component number dictionary comprising: the geometric information corresponding to the serial number;
and generating the geometric shape and the non-geometric information of the component according to the geometric information and the non-geometric information corresponding to the serial number, and restoring the spatial position information of the component according to the vector information.
6. The BIM model data reduction method of claim 5, further comprising:
sorting the component number list according to the numbers, wherein the same components are assigned with the same numbers;
and circularly reading corresponding geometric information in the component number dictionary for the same number.
7. The BIM model data reduction method of claim 5, further comprising:
when the geometric information includes: generating a geometric shape of the member based on the geometric shape definition information when the geometric shape definition information is received;
when the geometric information includes: and generating the geometric shape of the member based on the geometric shape definition information and the geometric shape information.
8. A BIM model data reduction apparatus, comprising:
the decompression module is used for respectively decompressing the component number list and the component number dictionary;
a geometric information reading module, configured to read geometric information corresponding to a number from a component number dictionary according to the component number list, where the component number list includes: non-geometric information and vector information corresponding to all numbers, the component number dictionary comprising: the geometric information corresponding to the serial number; and
and the component generating module is used for generating the geometric shape and the non-geometric information of the component according to the geometric information and the non-geometric information corresponding to the serial number, and restoring the spatial position information of the component according to the vector information.
9. The BIM model data reduction apparatus of claim 8, wherein the geometric information reading module comprises:
the list sorting module is used for sorting the component number list according to the serial numbers, and the same components are endowed with the same serial numbers; and the cyclic reading module is used for cyclically reading the corresponding geometric information in the component number dictionary according to the same number.
CN201710437446.4A 2017-06-09 2017-06-09 BIM model data compression and restoration method and device Active CN107229426B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710437446.4A CN107229426B (en) 2017-06-09 2017-06-09 BIM model data compression and restoration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710437446.4A CN107229426B (en) 2017-06-09 2017-06-09 BIM model data compression and restoration method and device

Publications (2)

Publication Number Publication Date
CN107229426A CN107229426A (en) 2017-10-03
CN107229426B true CN107229426B (en) 2020-09-11

Family

ID=59934846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710437446.4A Active CN107229426B (en) 2017-06-09 2017-06-09 BIM model data compression and restoration method and device

Country Status (1)

Country Link
CN (1) CN107229426B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110610538A (en) * 2019-09-02 2019-12-24 长江工程监理咨询有限公司(湖北) Three-dimensional model loading method and device and electronic equipment
CN111930694B (en) * 2020-07-17 2023-07-28 深圳市万翼数字技术有限公司 Electronic file processing method, electronic device and processing server
CN111898052B (en) * 2020-07-29 2024-05-14 国网上海市电力公司 WEB terminal online display method of lightweight BIM model

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005666A (en) * 2015-07-28 2015-10-28 同济大学建筑设计研究院(集团)有限公司 Conversion method of architectural structure model

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9400855B2 (en) * 2010-03-02 2016-07-26 Illinois Tool Works Inc. Method, computer program product and apparatus for providing a building options configurator
CN106600679B (en) * 2015-10-20 2019-11-08 星际空间(天津)科技发展有限公司 A kind of method that three-dimensional modeling data simplifies
CN106354824A (en) * 2016-08-30 2017-01-25 广联达科技股份有限公司 Data management method and data management device
CN106682257B (en) * 2016-11-16 2023-08-25 上海建工集团股份有限公司 Construction facility BIM component library construction method
CN106776963B (en) * 2016-12-05 2019-11-29 同济大学 The online method for visualizing of light-weighted BIM big data and system
CN106777751A (en) * 2016-12-30 2017-05-31 译筑信息科技(上海)有限公司 Architecture information processing method and processing device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005666A (en) * 2015-07-28 2015-10-28 同济大学建筑设计研究院(集团)有限公司 Conversion method of architectural structure model

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"基于BIM的植物构件信息模型数据库的建立及应用";林洪杰等;《第二届全国BIM学术会议论文集》;20161112;第19-23页 *
"基于Revit的BIM构件标准化关键技术研究";宋楠楠;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》;20150115;第01卷;C038-95 *

Also Published As

Publication number Publication date
CN107229426A (en) 2017-10-03

Similar Documents

Publication Publication Date Title
Zhu et al. Lossless point cloud geometry compression via binary tree partition and intra prediction
Pajarola et al. Compressed progressive meshes
CN107229426B (en) BIM model data compression and restoration method and device
US9245383B2 (en) Accelerated three-dimensional intersection testing using compressed volumes
CN111797210A (en) Information recommendation method, device and equipment based on user portrait and storage medium
CN110021070B (en) Method, equipment and system for converting FBX three-dimensional model into glTF three-dimensional model
CN110489692B (en) WebGL instantiation-based method and system for realizing component-level operation
WO2019050519A1 (en) Systems and methods for lightweight precise 3d visual format
Lescoat et al. Spectral mesh simplification
WO2013123636A1 (en) Method and apparatus for mesh simplification
CN111159492A (en) Track point retrieval method and device, storage medium and terminal
CN113797554B (en) Game engine resource processing method and device, storage medium and electronic equipment
KR102608160B1 (en) Point cloud geometry upsampling
JP2013026659A (en) Super-resolution image processing device and dictionary creating device for super-resolution image processing
CN107016732A (en) Positioned using the 3D objects of descriptor
KR101470505B1 (en) Apparatus for compressing spatial data and method thereof, and apparatus for decompressing spatial data and method thereof
CN111967478A (en) Feature map reconstruction method and system based on weight inversion, storage medium and terminal
CN111583268A (en) Point cloud virtual selection and cutting method, device and equipment
Song et al. Development of a lightweight CAE middleware for CAE data exchange
CN114998699A (en) Distortion recovery method and device for compressed point cloud and electronic equipment
CN115375812A (en) CAD data rendering method and device, electronic equipment and storage medium
CN109947702A (en) Index structuring method and device, electronic equipment
CN113240788A (en) Three-dimensional data transmission and reception method, apparatus, and computer-readable storage medium
CN113076631A (en) Robot simulator generation method, robot model simulation method and device
Li et al. A streaming technology of 3D design and manufacturing visualization information sharing for cloud-based collaborative systems

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