Data synchronization method and system based on BIM-CIM platform, terminal and storage medium

By realizing bidirectional synchronization of data on the BIM-CIM platform, using the CIM platform to obtain and convert terrain data, and building and converting BIM models on the BIM platform, the problem of data synchronization in the existing technology is solved, and efficient coordination and dynamic synchronization effects are achieved.

CN120196684AActive Publication Date: 2025-06-24SHENZHEN UNIV

Patent Information

Application Number
CN202510669763.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-23
Publication Date
2025-06-24
Estimated Expiration
2045-05-23

AI Technical Summary

Technical Problem

In the case of data sharing through the BIM-CIM platform in the prior art, the data flow of BIM-CIM cannot be synchronized in real time in two-way, resulting in difficulty in collaborative communication.

Method used

By obtaining the target area position on the CIM platform, inversely calculate the target tile according to the preset tile arrangement rules, and converting its terrain data into coordinate point data. Then connect these coordinate point data on the BIM platform, build a terrain plane and generate a BIM model, and convert the BIM model into three-dimensional visual data through preset conversion rules. Finally, edit the building properties of the three-dimensional visual data on the CIM platform and send it to the BIM platform for synchronous updates.

Benefits of technology

It realizes efficient collaboration between the CIM platform and the BIM middle platform and dynamic synchronization of building data, solving the problem that data flow cannot be synchronized in real time and in two-way.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120196684A_ABST
    Figure CN120196684A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data processing, and discloses a data synchronization method and system based on a BIM-CIM platform, a terminal and a storage medium, and the method comprises the steps: obtaining a target region position based on a CIM platform, carrying out the back calculation of the target region position according to a preset tile arrangement rule, obtaining a target tile, and carrying out the back calculation of the target tile; converting the topographic data of the target tile according to the central point of the target area position to obtain a plurality of coordinate point data; based on a BIM platform, connecting the plurality of coordinate point data to obtain a plurality of terrain planes, constructing the terrain planes to obtain a BIM model, and converting the BIM model according to a preset conversion rule to obtain three-dimensional visual data; and based on a CIM platform, building attributes of the three-dimensional visual data are edited to obtain target attributes, and the target attributes are sent to the BIM platform for synchronous updating. According to the invention, through a bidirectional data transmission mechanism, efficient collaboration between platforms and dynamic synchronization of building data are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and particularly to a data synchronization method, system, terminal and computer-readable storage medium based on a BIM-CIM platform. Background Art

[0002] With the rapid advancement of the construction of new smart cities and national infrastructure, the demand for efficient and accurate urban design and management is increasing day by day. In this context, the integrated application of Building Information Modeling (BIM) and Geographic Information System (GIS) has become the forefront of urban management innovation. The BIM technology has changed the way of designing, constructing and managing construction projects by providing a detailed three-dimensional digital model, enabling project participants to collaborate efficiently in a virtual environment and ensuring the accurate transmission and management of information. City Information Modeling (CIM) is based on technologies such as BIM, GIS, and Internet of Things (IoT), integrating multi-dimensional and multi-scale information model data and urban perception data above and below the ground, inside and outside the building, historical status and future of the city, etc., to build an organic complex of urban information in a three-dimensional digital space.

[0003] However, BIM has the characteristics of large data volume, diverse formats, and rich semantic descriptions of component details. At present, it is still difficult to achieve collaborative interoperability between CIM platforms and BIM, resulting in the inability to synchronize data streams in real time and bidirectionally in the case of data sharing through the BIM-CIM platform, which has become an urgent problem to be solved.

[0004] Therefore, the prior art still needs to be improved and developed. Summary of the Invention

[0005] The main purpose of the present invention is to provide a data synchronization method, system, terminal and computer-readable storage medium based on a BIM-CIM platform, aiming to solve the problem that the data stream of BIM-CIM cannot be synchronized in real time and bidirectionally in the case of data sharing through the BIM-CIM platform in the prior art.

[0006] To achieve the above purpose, the present invention provides a data synchronization method based on a BIM-CIM platform, and the data synchronization method based on the BIM-CIM platform includes the following steps: Based on the CIM platform, obtain the location of the target area, perform inverse calculation on the location of the target area according to the preset tile arrangement rule to obtain the target tile, and convert the terrain data of the target tile according to the center point of the location of the target area to obtain multiple coordinate point data; Based on the BIM platform, connect multiple pieces of the coordinate point data to obtain multiple terrain planes, construct the multiple terrain planes to obtain a BIM model, and convert the BIM model according to the preset conversion rule to obtain three-dimensional visualization data; Based on the CIM platform, edit the building attributes of the three-dimensional visualization data to obtain target attributes, and send the target attributes to the BIM platform for synchronous update.

[0007] Optionally, in the data synchronization method based on the BIM-CIM platform, wherein, based on the CIM platform, obtain the location of the target area, perform inverse calculation on the location of the target area according to the preset tile arrangement rule to obtain the target tile, and convert the terrain data of the target tile according to the center point of the location of the target area to obtain multiple coordinate point data, specifically including: Based on the CIM platform, obtain the selection instruction of the user and the geographic data, and select the geographic data according to the selection instruction to obtain the location of the target area; Perform inverse calculation on the location of the target area according to the preset tile arrangement rule to obtain the target tile, and analyze the terrain data of the target tile to obtain terrain information; Convert the terrain information according to the center point of the location of the target area to obtain multiple coordinate point data.

[0008] Optionally, in the data synchronization method based on the BIM-CIM platform, wherein, perform inverse calculation on the location of the target area according to the preset tile arrangement rule to obtain the target tile, and analyze the terrain data of the target tile to obtain terrain information, specifically including: Obtain the coordinate information and tile data of the location of the target area, perform rectangular calculation on the coordinate information to obtain the tile row and column numbers of the circumscribed matrix; Obtain the maximum level information in the digital elevation model, and determine the tile range according to the maximum level information and the tile row and column numbers; Construct according to the tile row and column numbers, the maximum level information and the tile range to generate a tile access path; Decode the tile data according to the tile access path to obtain the target tile, and analyze the terrain data of the target tile to obtain terrain information.

[0009] Optionally, in the data synchronization method based on the BIM-CIM platform, the preset conversion rules include octree indexing rules; The conversion of the BIM model according to the preset conversion rules to obtain three-dimensional visualization data specifically includes: Perform format conversion on the data of the BIM model according to the octree indexing rules to obtain an IFC file, and extract semantic information and non-semantic information from the IFC file; Convert the semantic information and the non-semantic information to obtain a transfer file, and perform chunking on the IFC file according to the transfer file to generate multiple multi-level tile files; Construct three-dimensional visualization data based on the multiple multi-level tile files; Among them, the three-dimensional visualization data is used for display on the CIM platform.

[0010] Optionally, in the data synchronization method based on the BIM-CIM platform, the semantic information includes construction relationships, attributes, and types, and the non-semantic information includes geometric expressions and coordinate references; The conversion of the semantic information and the non-semantic information to obtain a transfer file, and the chunking of the IFC file according to the transfer file to generate multiple multi-level tile files specifically includes: Convert the construction relationships, the attributes, the types, the geometric expressions, and the coordinate references to obtain a transfer file; Perform chunking on the IFC file according to the spatial index of the transfer file to generate multiple multi-level tile files.

[0011] Optionally, in the data synchronization method based on the BIM-CIM platform, the building attributes include dimensions and materials; Based on the CIM platform, edit the building attributes of the three-dimensional visualization data to obtain target attributes, and send the target attributes to the BIM platform for synchronous update, specifically including: Based on the CIM platform, establish a correspondence relationship between the UIDs corresponding to the dimensions and the materials and the data of the CIM platform to obtain a correspondence table; The CIM platform edits the dimensions and the materials to obtain target attributes; Send the target attributes to the BIM platform for synchronous update according to the correspondence table.

[0012] Optionally, in the above-mentioned BIM-CIM platform-based data synchronization method, based on the CIM platform, the building attributes of the three-dimensional visualization data are edited to obtain target attributes, and the target attributes are sent to the BIM platform for synchronous update. After that, it further includes: Based on the BIM platform, the dimensions and materials are edited to obtain the current target attributes; Through the preset update mechanism and the corresponding relationship table, the current target attributes are sent to the CIM platform for synchronous update; Among them, the preset update mechanism includes a full-volume update mechanism and a component-level dynamic request mechanism.

[0013] In addition, to achieve the above object, the present invention further provides a BIM-CIM platform-based data synchronization system. Among them, the BIM-CIM platform-based data synchronization system: A coordinate generation module, configured to obtain a target area position based on the CIM platform, perform inverse calculation on the target area position according to a preset tile arrangement rule to obtain target tiles, and convert the terrain data of the target tiles according to the center point of the target area position to obtain a plurality of coordinate point data; A data conversion module, configured to connect a plurality of the coordinate point data based on the BIM platform to obtain a plurality of terrain planes, construct the plurality of terrain planes to obtain a BIM model, and convert the BIM model according to a preset conversion rule to obtain three-dimensional visualization data; A synchronous update module, configured to edit the building attributes of the three-dimensional visualization data based on the CIM platform to obtain first target attributes, and send the first target attributes to the BIM platform for update synchronization.

[0014] In addition, to achieve the above object, the present invention further provides a computer-readable storage medium. Among them, the computer-readable storage medium stores a BIM-CIM platform-based data synchronization program, and when the BIM-CIM platform-based data synchronization program is executed by a processor, the steps of the above-mentioned BIM-CIM platform-based data synchronization method are implemented.

[0015] In the present invention, based on the CIM platform, the position of the target area is obtained, the position of the target area is inversely calculated according to the preset tile arrangement rule to obtain the target tile, and the terrain data of the target tile is converted according to the center point of the position of the target area to obtain a plurality of coordinate point data; based on the BIM platform, a plurality of the coordinate point data are connected to obtain a plurality of terrain planes, a plurality of the terrain planes are constructed to obtain a BIM model, and the BIM model is converted according to the preset conversion rule to obtain three-dimensional visualization data; based on the CIM platform, the building attributes of the three-dimensional visualization data are edited to obtain target attributes, and the target attributes are sent to the BIM platform for synchronous update. Through the two-way data transfer mechanism, the present invention realizes the efficient collaboration between the CIM platform and the BIM middle platform and the dynamic synchronization of building data. Brief Description of the Drawings

[0016] Figure 1 is a flowchart of a preferred embodiment of the data synchronization method based on the BIM-CIM platform of the present invention; Figure 2 is a structural diagram of a preferred embodiment of the data synchronization method based on the BIM-CIM platform of the present invention; Figure 3 is a flowchart of the conversion of coordinate point data in a preferred embodiment of the data synchronization method based on the BIM-CIM platform of the present invention; Figure 4 is a flowchart of the generation of three-dimensional visualization data in a preferred embodiment of the data synchronization method based on the BIM-CIM platform of the present invention; Figure 5 is a structural diagram of the BIM-CIM database in a preferred embodiment of the data synchronization method based on the BIM-CIM platform of the present invention; Figure 6 is a structural diagram of a preferred embodiment of the data synchronization system based on the BIM-CIM platform of the present invention; Figure 7 is a structural diagram of a preferred embodiment of the terminal of the device of the present invention. Detailed Description of the Preferred Embodiments

[0017] To make the objectives, technical solutions and advantages of the present invention clearer and more explicit, the following further describes the present invention in detail with reference to the accompanying drawings and by way of examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0018] Currently, BIM technology has changed the way of designing, constructing, and managing construction projects by providing detailed three-dimensional digital models, enabling project participants to collaborate efficiently in a virtual environment and ensuring the accurate transmission and management of information. GIS technology, on the other hand, provides the analysis and management of geospatial data from a macroscopic perspective, supporting environmental analysis and the decision-making process. In recent years, the implementation of the City Information Model has not only promoted the deep integration of BIM and GIS data but also provided a new perspective for the management and operation of city-level engineering projects. CIM is based on technologies such as BIM, GIS, and the Internet of Things (IoT), integrating multi-dimensional and multi-scale information model data and urban perception data above and below the ground, inside and outside buildings, historical and current situations, and the future of the city, constructing an organic complex of urban information in a three-dimensional digital space. This integrated application strengthens data sharing and interoperability, laying a solid data foundation for the refined governance of the city. Therefore, a data synchronization method based on the BIM-CIM platform is needed to achieve efficient collaboration between the CIM platform and the BIM middle platform and dynamic synchronization of building data through a two-way data transfer mechanism, avoiding the problems of difficulties in collaborative modeling and information circulation between BIM and CIM.

[0019] The data synchronization method based on the BIM-CIM platform according to the preferred embodiment of the present invention is as Figure 1 and Figure 2 shown. The data synchronization method based on the BIM-CIM platform includes the following steps: Step S10: Based on the CIM platform, obtain the target area location, perform inverse calculation on the target area location according to the preset tile arrangement rule to obtain the target tile, and convert the terrain data of the target tile according to the center point of the target area location to obtain a plurality of coordinate point data.

[0020] As Figure 3 shown, the step S10 includes: Step S11: Based on the CIM platform, obtain the selection instruction and geographical data of the user, and select the geographical data according to the selection instruction to obtain the target area location; Step S12: Perform inverse calculation on the target area location according to the preset tile arrangement rule to obtain the target tile, and analyze the terrain data of the target tile to obtain terrain information; Step S13: Convert the terrain information according to the center point of the target area location to obtain a plurality of coordinate point data.

[0021] Specifically, based on the CIM platform, obtain the user's selection instruction and geographical data, select the geographical data according to the selection instruction to obtain the target area location (determine the boxed area, and the user determines the target area location by box-selecting with the mouse; export the terrain data corresponding to the target tile, where the target area location is the area box-selected by the user, and this area will contain several tiles (varying according to the box-selection range), and the target tile only includes 3D Tiles); perform inverse calculation on the target area location according to the preset tile arrangement rule to obtain the target tile (inverse calculate the target tile corresponding to the boxed area through the tile arrangement rule), and analyze the terrain data of the target tile to obtain terrain information (read the terrain data and analyze the terrain information contained in the terrain data); convert the terrain information according to the center point of the target area location to obtain multiple coordinate point data (convert the terrain information into coordinate point data (XYZ point data), and export the terrain data corresponding to the target tile, where X, Y, and Z respectively represent the horizontal axis, vertical axis, and vertical axis of the coordinate axis).

[0022] As Figure 3 shown, step S12 includes: Step S121, obtain the coordinate information and tile data of the target area location, perform rectangular calculation on the coordinate information to obtain the tile row and column numbers of the circumscribed matrix; Step S122, obtain the maximum level information in the digital elevation model, and determine the tile range according to the maximum level information and the tile row and column numbers; Step S123, construct according to the tile row and column numbers, the maximum level information, and the tile range to generate a tile access path; Step S124, decode the tile data according to the tile access path to obtain the target tile, and analyze the terrain data of the target tile to obtain terrain information.

[0023] Specifically, obtain the coordinate information and tile data of the target area position, perform rectangular calculation on the coordinate information to obtain the tile row and column numbers of the circumscribed matrix (before tile calculation and decoding processing, it is necessary to extract and process the coordinates of the selected area, including obtaining the coordinates of the XYZ point data of the selected area, calculating the vertex information of the maximum circumscribed rectangle, and resolving its corresponding tile row and column numbers, that is, obtaining the tile row and column numbers of the circumscribed matrix); obtain the maximum level information in the digital elevation model, and determine the tile range according to the maximum level information and the tile row and column numbers (obtain the maximum level information of the local digital elevation model (DEM, Digital Elevation Model), and determine the tile range at the maximum level in combination with the tile row and column number information); perform construction according to the tile row and column numbers, the maximum level information, and the tile range to generate a tile access path (and generate a tile access path (URL, Uniform Resource Locator) in combination with the local DEM maximum level information); decode the tile data (tile terrain data file) according to the tile access path to obtain the target tile, and parse the terrain data of the target tile to obtain terrain information.

[0024] As an example, preset a custom data structure, store the coordinate information of the XYZ point data of the selected area, the vertex coordinates of the circumscribed rectangle, the tile row and column numbers, and the URL in the custom data structure, read the custom data structure, expand the tile terrain data file (Terrian, Terrain Data) and its related features (such as decoded geometric information and attribute information), and finally construct the tile decoding result (target tile).

[0025] In this embodiment, by parsing the coordinates of the XYZ point data of the selected area, extracting and storing key information such as the rectangular range and the level and row and column numbers of the tile, generating a tile access path (URL), completing the acquisition and decoding operations of the tile, and at the same time performing inverse calculation on the tile coordinates based on the tile data and expanding the application features of the tile, finally outputting the central coordinates of the selected area and the tile file data to provide support for subsequent processing and rendering.

[0026] Step S20: Based on the BIM platform, connect the multiple coordinate point data to obtain multiple terrain planes, construct the multiple terrain planes to obtain a BIM model, and convert the BIM model according to a preset conversion rule to obtain three-dimensional visualization data.

[0027] As Figure 4 shown, the step S20 includes: Step S21: Based on the BIM platform, connect the multiple coordinate point data to obtain multiple terrain planes, construct the multiple terrain planes to obtain a BIM model; Step S22: According to the octree indexing rule, convert the data of the BIM model into an IFC file, and extract semantic information and non-semantic information from the IFC file. Step S23: Convert the semantic information and the non-semantic information to obtain a transfer file, and perform block processing on the IFC file according to the transfer file to generate multiple multi-level tile files. Step S24: Construct three-dimensional visualization data based on the multiple multi-level tile files.

[0028] Specifically, the preset conversion rule includes the octree indexing rule. Based on the BIM platform, connect multiple coordinate point data to obtain multiple terrain planes (read the tile terrain file, parse the horizontal (u), vertical coordinate (v) and relative height value (h) of multiple coordinate point data, and convert these coordinate point data into specific longitude, latitude and height values through linear interpolation calculation; screen the parsed XYZ point data, retain the valid coordinate point data within the selected range, and calculate the maximum circumscribed rectangle (Bbox, Bounding Box) of the selected area, project it onto the coordinate system, and screen the valid vertices within the projected range; calculate the relative coordinates of the screened vertices according to the center point coordinates of the selected range, convert all valid point data into standardized XYZ format point data, and transmit it to the BIM middle platform for terrain modeling), construct multiple terrain planes to obtain a BIM model; according to the octree indexing rule, convert the data of the BIM model into an IFC file (convert the format of the terrain model and building design data, convert the model from the format of the IFC file to the three-dimensional model transmission format (glTF, GL Transmission Format), and establish a unified spatial index for the glTF file according to the tile organization rule), extract semantic information and non-semantic information from the IFC file; convert the semantic information and the non-semantic information to obtain a transfer file (spatial index file), and perform block processing on the IFC file according to the transfer file to generate multiple multi-level tile files, where the three-dimensional visualization data is used for display on the CIM platform.

[0029] As an example, construct a BIM model by constructing multiple terrain planes. For example: read and parse the tile terrain file, extract the u, v, h data of the vertices, where u and v represent the horizontal and vertical positions of the vertices within the tile, calculate the specific longitude and latitude of the vertices through linear interpolation using the longitude and latitude range of the tile (from minU to maxU, from minV to maxV), h represents the relative height of the vertices, and combine the minimum and maximum height ranges of the tile to calculate the actual height of the vertices through linear interpolation. The interpolation formula is as follows: ; ; ; Among them, minU is the minimum longitude of the tile, maxU is the maximum longitude of the tile, minV is the minimum latitude of the tile, maxV is the maximum latitude of the tile, minHeight is the minimum height of the tile, and maxHeight is the maximum height of the tile.

[0030] Through the above interpolation formula, calculate the actual longitude, latitude and height of each coordinate, convert these data into standard XYZ point data, screen the parsed XYZ point data, and only retain the valid points within the selected range. By calculating the maximum circumscribed rectangle (Bbox) of the selected range and projecting it into the coordinate system, screen the vertices within the projected range. At the same time, calculate the center point coordinates of the selected area, and calculate the relative coordinates of each vertex relative to the center point: Relative abscissa = vertex abscissa - center abscissa; Relative ordinate = vertex ordinate - center ordinate; Among them, convert the screened vertex coordinates and relative coordinates into standardized XYZ point data and transmit them to the BIM middle platform. After receiving these terrain data, the BIM middle platform fits and generates a terrain model, constructs a curved surface or a meshed terrain foundation to support building design modeling. During the modeling process, the BIM middle platform can dynamically adjust terrain parameters (such as slope, height or local terrain characteristics) to optimize the adaptability of building design. Further, after parsing the tile terrain file, extract vertex information, convert it into standardized XYZ format point data through interpolation calculation, perform effective data screening in combination with the selected range, calculate the relative coordinates of each vertex, and transmit the processed terrain data to the BIM middle platform for dynamic terrain modeling and optimizing building design.

[0031] In this embodiment, convert the terrain model and building design data in the BIM platform into 3DTiles format three-dimensional visualization data, and load it into the CIM platform for display. Through unified format conversion rules and index organization methods, segment the terrain model and building design data to generate tile files and index files that conform to the 3DTiles specification to achieve efficient three-dimensional visualization loading and dynamic interaction.

[0032] The step S23 includes: Step S231, convert the construction relationship, the attribute, the type, the geometric expression and the coordinate reference to obtain a transmission file; Step S232: Perform chunking processing on the IFC file according to the spatial index of the transmission file to generate multiple multi-level tile files.

[0033] Specifically, the semantic information includes construction relationships, attributes, and types, and the non-semantic information includes geometric expressions and coordinate references. Convert the construction relationships, the attributes, the types, the geometric expressions, and the coordinate references (after exporting the terrain and building models in the BIM platform to the IFC format, use the tools in the IFC open-source tool library to parse the IFC file, extract the semantic information (such as component relationships, attributes, types) and non-semantic information (such as geometric expression methods and coordinate references) of the model. After completing the extraction of semantic and geometric information, uniformly convert the model data to the glTF format, and at the same time perform the conversion from the local coordinate system to the geographic coordinate system (such as WGS84) to ensure that the model is aligned with the terrain and the real geographic space) to obtain a transmission file; perform chunking processing on the IFC file according to the spatial index of the transmission file to generate multiple multi-level tile files (adopt the octree indexing method to divide the model into multiple logical tiles, and the levels of the index correspond to the multi-level of detail (LOD) of the model. Generate tile files of different levels according to the spatial range and resolution of each tile. Through the indexing rules, perform spatial segmentation on the model data, respectively output the binary geometric data files of each tile, and generate the top-level multi-level tile file for tile indexing and loading).

[0034] In this embodiment, if all the data in the previous steps is directly stored as a single glTF file, it will cause excessive draw calls during the loading phase, resulting in problems such as excessive CPU scheduling pressure and rendering stuttering. Therefore, after the model is converted to the glTF file, it is necessary to perform chunking processing on the model based on a unified octree spatial index to generate multi-level tile files. Under the guidance of the index file of the multi-level tile files, the CIM platform can efficiently load and dynamically display the tiles to ensure the smoothness and interactivity of 3D visualization.

[0035] Step S30: Based on the CIM platform, edit the building attributes of the 3D visualization data to obtain target attributes, and send the target attributes to the BIM platform for synchronous update.

[0036] As Figure 5 shown, the step S30 includes: Step S31: Based on the CIM platform, establish a correspondence relationship between the UIDs corresponding to the dimensions and the materials and the data of the CIM platform to obtain a correspondence table; Step S32: The CIM platform edits the dimensions and the materials to obtain target attributes; Step S33: Send the target attribute to the BIM platform for synchronous update according to the corresponding relationship table.

[0037] Specifically, the building attributes include dimensions and materials (loading BIM building data with a unique identifier (UID, Unique Identifier) in the CIM platform). Based on the CIM platform, establish a corresponding relationship between the UIDs corresponding to the dimensions and the materials and the data in the CIM platform (establish a corresponding relationship table between the CIM platform and the building data in the BIM middle platform according to the UIDs) to obtain a corresponding relationship table; the CIM platform edits the dimensions and the materials (the user edits the building attributes in the CIM platform, and after completion, sends the modified content and the corresponding UID to the BIM middle platform through a response request (POST). After receiving the POST request, the BIM middle platform locates the corresponding building data from the database according to the UID) to obtain the target attribute; send the target attribute to the BIM platform for synchronous update according to the corresponding relationship table. Further, the BIM middle platform updates the building data, writes the modified content into the database, and returns a status information of successful update to the CIM platform.

[0038] In this embodiment, when loading the BIM building model in the CIM platform, each building has a unique UID, which is used to identify the building instance and corresponds to the building database in the BIM middle platform. After the CIM platform finishes loading, the user can edit the building attributes, such as modifying the name, material, geometric dimensions, functional attributes, etc. After completion, the CIM platform encapsulates the updated content and UID of the building data through a POST request and sends the modified information to the interface of the BIM middle platform. After receiving the request, the BIM middle platform searches for the corresponding building instance in the building database through the UID and updates its attributes. After the update is completed, the BIM middle platform returns the update result to the CIM platform to notify whether the edit operation is successful.

[0039] For example, when the CIM platform loads a building model, it establishes a mapping relationship with the building database of the BIM middle platform through the UID to ensure the uniqueness of building data. When a user edits the building attributes in the CIM platform, such as modifying the building name, material, geometric dimensions, etc., the CIM platform encapsulates the edited attributes into a POST request and sends the modified content and the UID to the BIM middle platform. After receiving the POST request, the BIM middle platform searches for the corresponding building data in the database according to the UID and updates the attributes. After the BIM middle platform completes the data update, it feeds back the update result to the CIM platform to ensure the successful synchronization of the modified information. When performing quick editing or submitting multiple modifications, to avoid performance issues caused by repeated requests, the system deduplicates the POST requests. When the CIM platform sends a request, it adds it to the request queue. After receiving the request, the BIM middle platform determines whether there is a duplicate update operation for the UID to avoid repeatedly modifying the database and improve the synchronization efficiency.

[0040] Further, after the step S30, it further includes editing the size and the material based on the BIM platform to obtain the current target attributes; through a preset update mechanism and the corresponding relationship table (when the CIM platform loads building components, a corresponding relationship between the BIM middle platform and the CIM platform is established through the UID), sending the current target attributes to the CIM platform for synchronous update (when the BIM platform edits the model attributes of a building and synchronizes them to the CIM platform through a full - volume update method after completion); wherein, the preset update mechanism includes a full - volume update mechanism and a component - level dynamic request mechanism, that is, when a user clicks on a building component in the CIM platform, dynamic component attribute information is obtained from the BIM middle platform through a GET request, the building data is modified in the CIM platform, the modified attributes are submitted to the BIM middle platform through a POST request, and the database record of the corresponding component is updated through the UID to achieve reverse data update; on the basis of full - volume update and dynamic synchronization, a buffer mechanism is adopted to ensure the smooth progress of data transmission and synchronization.

[0041] For example, after the building attributes are edited on the BIM platform, the complete data such as the geometric information, material, and functional attributes of the model are transmitted to the CIM platform through the full-update mechanism. The CIM platform stores these data in the corresponding building thematic entity library through the UID and displays the updated model in real time on the visualization interface. For complex building components, their unique attribute information (such as construction records, maintenance plans, etc.) is still stored in the BIM middle platform. When the user clicks on a building component on the CIM platform, the CIM platform sends an attribute request to the BIM middle platform through a GET request, specifically including request parameters (such as UID). The BIM middle platform locates the corresponding component in the database according to the UID and returns its detailed attribute data for the CIM platform to display dynamically. When the attributes of a building component are modified on the CIM platform (such as adjusting the size, modifying the material), the modified attributes are submitted to the BIM middle platform in the form of a POST request. The request format includes the UID and the updated attribute content. After receiving the POST request, the BIM middle platform locates the corresponding component through the UID and updates the record in the database to complete the reverse synchronization of the attributes. During the fast editing and large-scale synchronization processes, to prevent display problems caused by data conflicts or delays, the system introduces a buffering mechanism: when the editing on the BIM platform is completed, the data is first stored in the buffer and then written to the CIM platform after the full update is completed; when the CIM platform submits modified data through a POST request, the buffer temporarily stores the updated content and clears the buffer after the BIM middle platform confirms the completion of the update to ensure data consistency.

[0042] In this embodiment, after editing the building attributes on the BIM platform, the basic data is synchronized to the CIM platform through the full-update mechanism. At the same time, through the component-level dynamic request mechanism, that is, the dynamic GET request, the real-time loading of component-level attributes is realized, and the CIM platform is supported to modify the data of the BIM middle platform in reverse through a POST request. Through the buffering mechanism and the hierarchical update strategy, the data collaboration efficiency between the BIM and CIM platforms is optimized, realizing the two-way synchronization and dynamic management of the building information model, and ensuring the integrity and consistency of the data.

[0043] Furthermore, as Figure 6 shown, based on the above data synchronization method based on the BIM-CIM platform, the present invention also correspondingly provides a data synchronization system based on the BIM-CIM platform. Among them, the data synchronization system based on the BIM-CIM platform includes: A coordinate generation module 51, configured to obtain the target area position based on the CIM platform, perform inverse calculation on the target area position according to the preset tile arrangement rule to obtain the target tile, and convert the terrain data of the target tile according to the center point of the target area position to obtain a plurality of coordinate point data; A data conversion module 52, configured to connect multiple pieces of the coordinate point data based on a BIM platform to obtain multiple terrain planes, construct the multiple terrain planes to obtain a BIM model, and convert the BIM model according to a preset conversion rule to obtain three-dimensional visualization data; A synchronization and update module 53, configured to edit the building attributes of the three-dimensional visualization data based on a CIM platform to obtain first target attributes, and send the first target attributes to the BIM platform for update synchronization.

[0044] Further, as Figure 7 shown, based on the above data synchronization method and system based on the BIM-CIM platform, the present invention also correspondingly provides a terminal, which includes a processor 10, a memory 20, and a display 30. Figure 7 Only some components of the terminal are shown, but it should be understood that it is not required to implement all the shown components, and more or fewer components can be alternatively implemented.

[0045] The memory 20 may be an internal storage unit of the terminal in some embodiments, such as a hard disk or a memory of the terminal. The memory 20 may also be an external storage device of the terminal in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. equipped on the terminal. Further, the memory 20 may also include both the internal storage unit and the external storage device of the terminal. The memory 20 is used to store application software installed on the terminal and various types of data, such as program codes installed on the terminal. The memory 20 may also be used to temporarily store data that has been output or will be output. In one embodiment, a data synchronization program 40 based on the BIM-CIM platform is stored on the memory 20, and the data synchronization program 40 based on the BIM-CIM platform can be executed by the processor 10, thereby implementing the data synchronization method based on the BIM-CIM platform in the present application.

[0046] The processor 10 may be a central processing unit (CPU), a microprocessor, or other data processing chips in some embodiments, and is used to run the program codes stored in the memory 20 or process data, such as executing the data synchronization method based on the BIM-CIM platform.

[0047] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 30 is used to display the information of the terminal and to display a visual user interface. The terminals communicate with each other through a system bus.

[0048] In one embodiment, when the processor 10 executes the data synchronization program 40 based on the BIM-CIM platform in the memory 20, the following steps are implemented: Based on the CIM platform, obtain the target area location, perform inverse calculation on the target area location according to the preset tile arrangement rule to obtain the target tile, and convert the terrain data of the target tile according to the center point of the target area location to obtain a plurality of coordinate point data; Based on the BIM platform, connect a plurality of the coordinate point data to obtain a plurality of terrain planes, construct the plurality of terrain planes to obtain a BIM model, and convert the BIM model according to the preset conversion rule to obtain three-dimensional visualization data; Based on the CIM platform, edit the building attributes of the three-dimensional visualization data to obtain the target attributes, and send the target attributes to the BIM platform for synchronous update; Among them, the step of, based on the CIM platform, obtaining the target area location, performing inverse calculation on the target area location according to the preset tile arrangement rule to obtain the target tile, and converting the terrain data of the target tile according to the center point of the target area location to obtain a plurality of coordinate point data specifically includes: Based on the CIM platform, obtain the selection instruction and geographical data of the user, and select the geographical data according to the selection instruction to obtain the target area location; Perform inverse calculation on the target area location according to the preset tile arrangement rule to obtain the target tile, and analyze the terrain data of the target tile to obtain terrain information; Convert the terrain information according to the center point of the target area location to obtain a plurality of coordinate point data; Among them, the step of performing inverse calculation on the target area location according to the preset tile arrangement rule to obtain the target tile, and analyzing the terrain data of the target tile to obtain terrain information specifically includes: Obtain the coordinate information and tile data of the target area location, perform rectangular calculation on the coordinate information to obtain the tile row and column numbers of the circumscribed matrix; Obtain the maximum level information in the digital elevation model, and determine the tile range according to the maximum level information and the tile row and column numbers; Construct according to the tile row and column numbers, the maximum level information, and the tile range to generate a tile access path; Decode the tile data according to the tile access path to obtain a target tile, and parse the terrain data of the target tile to obtain terrain information.

[0049] Among them, the preset conversion rules include the octree indexing rule; The conversion of the BIM model according to the preset conversion rules to obtain three-dimensional visualization data specifically includes: Convert the data of the BIM model according to the octree indexing rule to obtain an IFC file, and extract semantic information and non-semantic information from the IFC file; Convert the semantic information and the non-semantic information to obtain a transfer file, and perform block processing on the IFC file according to the transfer file to generate multiple multi-level tile files; Construct three-dimensional visualization data based on multiple multi-level tile files; Among them, the three-dimensional visualization data is used for display on the CIM platform.

[0050] Among them, the semantic information includes construction relationships, attributes, and types, and the non-semantic information includes geometric expressions and coordinate references; The conversion of the semantic information and the non-semantic information to obtain a transfer file, and the block processing of the IFC file according to the transfer file to generate multiple multi-level tile files specifically includes: Convert the construction relationships, the attributes, the types, the geometric expressions, and the coordinate references to obtain a transfer file; Perform block processing on the IFC file according to the spatial index of the transfer file to generate multiple multi-level tile files.

[0051] Among them, the building attributes include dimensions and materials; Based on the CIM platform, edit the building attributes of the three-dimensional visualization data to obtain target attributes, and send the target attributes to the BIM platform for synchronous update, specifically including: Based on the CIM platform, establish a correspondence relationship between the UIDs corresponding to the dimensions and the materials and the data of the CIM platform to obtain a correspondence table; The CIM platform edits the dimensions and the materials to obtain target attributes; Send the target attributes to the BIM platform for synchronous update according to the correspondence table; Among them, based on the CIM platform, the building attributes of the 3D visualization data are edited to obtain target attributes, and the target attributes are sent to the BIM platform for synchronous update. After that, it further includes: Based on the BIM platform, the dimensions and the materials are edited to obtain the current target attributes; Through the preset update mechanism and the corresponding relationship table, the current target attributes are sent to the CIM platform for synchronous update; Among them, the preset update mechanism includes a full - volume update mechanism and a component - level dynamic request mechanism.

[0052] The present invention also provides a computer - readable storage medium. Among them, the computer - readable storage medium stores a data synchronization program based on the BIM - CIM platform. When the data synchronization program based on the BIM - CIM platform is executed by a processor, the steps of the data synchronization method based on the BIM - CIM platform as described above are implemented.

[0053] In summary, the present invention provides a data synchronization method, system, terminal, and storage medium based on the BIM - CIM platform. The method includes: based on the CIM platform, obtaining the target area location, performing inverse calculation on the target area location according to the preset tile arrangement rule to obtain target tiles, and converting the terrain data of the target tiles according to the center point of the target area location to obtain a plurality of coordinate point data; based on the BIM platform, connecting the plurality of coordinate point data to obtain a plurality of terrain planes, constructing the plurality of terrain planes to obtain a BIM model, and converting the BIM model according to the preset conversion rule to obtain 3D visualization data; based on the CIM platform, editing the building attributes of the 3D visualization data to obtain target attributes, and sending the target attributes to the BIM platform for synchronous update. The present invention realizes the efficient collaboration between the CIM platform and the BIM middle platform and the dynamic synchronization of building data through a two - way data transfer mechanism.

[0054] It should be noted that in this article, the terms "include", "comprise" or any other variant thereof are intended to cover non - exclusive inclusion, so that a process, method, article or terminal system including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such a process, method, article or terminal system. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article or terminal system including that element.

[0055] Of course, those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware (such as a processor, a controller, etc.) through a computer program. The program can be stored in a computer-readable storage medium that can be read by a computer. When the program is executed, it can include the processes of the above method embodiments. The computer-readable storage medium can be a memory, a magnetic disk, an optical disc, etc.

[0056] It should be understood that the application of the present invention is not limited to the above examples. For those of ordinary skill in the art, improvements or transformations can be made according to the above description. All such improvements and transformations should fall within the protection scope of the appended claims of the present invention.

Claims

1. A data synchronization method based on the BIM-CIM platform, characterized in that, The data synchronization method based on the BIM-CIM platform includes: Based on the CIM platform, obtain the target area location, perform inverse calculation on the target area location according to the preset tile arrangement rule to obtain the target tile, and convert the terrain data of the target tile according to the center point of the target area location to obtain a plurality of coordinate point data; Based on the BIM platform, connect a plurality of the coordinate point data to obtain a plurality of terrain planes, construct the plurality of terrain planes to obtain a BIM model, and convert the BIM model according to the preset conversion rule to obtain three-dimensional visualization data; Based on the CIM platform, edit the building attributes of the three-dimensional visualization data to obtain target attributes, and send the target attributes to the BIM platform for synchronous update.

2. The data synchronization method based on the BIM-CIM platform according to claim 1, wherein The step of, based on the CIM platform, obtaining the target area location, performing inverse calculation on the target area location according to the preset tile arrangement rule to obtain the target tile, and converting the terrain data of the target tile according to the center point of the target area location to obtain a plurality of coordinate point data specifically includes: Based on the CIM platform, obtain the selection instruction of the user and the geographical data, and select the geographical data according to the selection instruction to obtain the target area location; Perform inverse calculation on the target area location according to the preset tile arrangement rule to obtain the target tile, and analyze the terrain data of the target tile to obtain terrain information; Convert the terrain information according to the center point of the target area location to obtain a plurality of coordinate point data.

3. The data synchronization method based on the BIM-CIM platform according to claim 2, wherein The step of performing inverse calculation on the target area location according to the preset tile arrangement rule to obtain the target tile, and analyzing the terrain data of the target tile to obtain terrain information specifically includes: Obtain the coordinate information and tile data of the target area location, perform rectangular calculation on the coordinate information to obtain the tile row and column numbers of the circumscribed matrix; Obtain the maximum level information in the digital elevation model, and determine the tile range according to the maximum level information and the tile row and column numbers; Construct according to the tile row and column numbers, the maximum level information and the tile range to generate a tile access path; Decode the tile data according to the tile access path to obtain the target tile, and analyze the terrain data of the target tile to obtain terrain information.

4. The data synchronization method based on the BIM-CIM platform according to claim 1, wherein The preset conversion rule includes the octree indexing rule; The step of converting the BIM model according to the preset conversion rule to obtain three-dimensional visualization data specifically includes: Convert the data format of the BIM model according to the octree indexing rule to obtain an IFC file, and extract the semantic information and non-semantic information from the IFC file; Convert the semantic information and the non-semantic information to obtain a transmission file, and perform block processing on the IFC file according to the transmission file to generate a plurality of multi-level tile files; Construct three-dimensional visualization data according to the plurality of multi-level tile files; Among them, the three-dimensional visualization data is used for display on the CIM platform.

5. The data synchronization method based on the BIM-CIM platform according to claim 4, wherein The semantic information includes construction relationships, attributes, and types, and the non-semantic information includes geometric expressions and coordinate references; The conversion of the semantic information and the non-semantic information to obtain a transmission file, and the chunking process of the IFC file according to the transmission file to generate multiple multi-level tile files specifically includes: Converting the construction relationship, the attribute, the type, the geometric expression, and the coordinate reference to obtain a transmission file; Chunking the IFC file according to the spatial index of the transmission file to generate multiple multi-level tile files.

6. The data synchronization method based on the BIM-CIM platform according to claim 1, wherein The building attributes include dimensions and materials; Based on the CIM platform, editing the building attributes of the three-dimensional visualization data to obtain target attributes, and sending the target attributes to the BIM platform for synchronous update, specifically including: Based on the CIM platform, establishing a correspondence relationship between the UIDs corresponding to the dimensions and the materials and the data of the CIM platform to obtain a correspondence table; The CIM platform edits the dimensions and the materials to obtain target attributes; Sending the target attributes to the BIM platform for synchronous update according to the correspondence table.

7. The data synchronization method based on the BIM-CIM platform according to claim 6, wherein After the editing of the building attributes of the three-dimensional visualization data based on the CIM platform to obtain target attributes and sending the target attributes to the BIM platform for synchronous update, it further includes: Based on the BIM platform, editing the dimensions and the materials to obtain the current target attributes; Sending the current target attributes to the CIM platform for synchronous update through a preset update mechanism and the correspondence table; Wherein, the preset update mechanism includes a full update mechanism and a component-level dynamic request mechanism.

8. A data synchronization system based on a BIM-CIM platform, characterized in that, The data synchronization system based on the BIM-CIM platform includes: A coordinate generation module, configured to obtain a target area position based on the CIM platform, perform inverse calculation on the target area position according to a preset tile arrangement rule to obtain a target tile, and convert the terrain data of the target tile according to the center point of the target area position to obtain a plurality of coordinate point data; A data conversion module, configured to connect a plurality of the coordinate point data based on the BIM platform to obtain a plurality of terrain planes, construct the plurality of terrain planes to obtain a BIM model, and convert the BIM model according to a preset conversion rule to obtain three-dimensional visualization data; A synchronization update module, configured to edit the building attributes of the three-dimensional visualization data based on the CIM platform to obtain first target attributes, and send the first target attributes to the BIM platform for update synchronization.

9. A terminal, characterized in that, The terminal includes: a memory, a processor, and a data synchronization program based on the BIM-CIM platform stored on the memory and executable on the processor. When the data synchronization program based on the BIM-CIM platform is executed by the processor, the steps of the data synchronization method based on the BIM-CIM platform according to any one of claims 1-7 are implemented.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a data synchronization program based on the BIM-CIM platform. When the data synchronization program based on the BIM-CIM platform is executed by a processor, the steps of the data synchronization method based on the BIM-CIM platform according to any one of claims 1-7 are implemented.

Citation Information

Patent Citations

  • Collection and lightweight system and method for three-dimensional space data based on CIM (common information model) platform

    CN116089555A

Cited By

  • A full-cycle space-time digital backplane dynamic maintenance and data fusion method

    CN122508017A